]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
install.texi (Configuration): Properly link the host specific instructions also when...
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
e69aa433
GP
12001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2
3 * doc/install.texi (Configuration): Properly link the host
4 specific instructions also when generating HTML.
5
a727094f
JW
6Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
7
8 * flow.c (redirect_edge_and_branch_force): Test
9 target->global_live_at_start.
10
732910b9
RH
112001-07-26 Richard Henderson <rth@redhat.com>
12
13 * simplify-rtx.c (avoid_constant_pool_reference): Export.
14 * rtl.h (avoid_constant_pool_reference): Declare it.
15 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
16 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
17
01f62f01
JH
18Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
19
20 * rtl.h (cleanup_barriers): Declare.
21 * jump.c (cleanup_barriers): New function.
22 * toplev.c (rest_of_compilation): Call cleanup_barriers
23 before loop optimizer and after bb_reorder.
24
25 * flow.c (back_edge_of_syntactic_loop_p): New.
26 (split_edge): Use it.
27
aa069f77
RO
282001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
29
30 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
31
c96208fa
DC
32Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
33
34 * cse.c (cse_process_notes): Replace any registers if the address
35 remains valid.
36
11f68165
JW
37Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
38
39 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
40 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
41 (propagate_block): Update prototype.
42 * flow.c (update_life_info): Simplify the CFG and
43 recalculate the global regs which are alive when
44 removing dead code during a global update.
45 (propagate_block): Return non-zero if an INSN is
46 deleted.
47
62c62a4f
RO
482001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
49
50 * Makefile.in (LIBICONV): Define.
51
06e937ed
CM
522001-07-26 Catherine Moore <clm@redhat.com>
53
54 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
55 of conditional to avoid tree checking errors.
56
f3029065
KH
572001-07-26 Kazu Hirata <kazu@hxi.com>
58
59 * regmove.c (regmove_optimize): Don't replace a reg with
60 another reg of a different mode.
61
4a121cc3
AM
622001-07-26 Andrew MacLeod <amacleod@redhat.com>
63
64 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
65 limit length of dependancy flush list.
66 * params.h (MAX_PENDING_LIST_LENGTH): Define.
67 * sched-int.h (struct deps): Add pending_flush_length field.
68 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
69 has 1 element in it.
70 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
71 (sched_analyze): After a jump, if the pending memory flush list is too
72 large, flush the pending lists.
73 (init_deps): Initialize pending_flush_length to 0.
74 * doc/invoke.texi (max_pending_list_length): Document parameter.
75
440aabf8
NB
762001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
77
78 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
79 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
80 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
81
cef0d199
NB
822001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
83
84 * cpphash.h (struct_lexer_state): Delete was_skipping.
85 Move skipping here from struct cpp_reader.
86 * cpplex.c (parse_identifier): Update.
87 (_cpp_lex_token): Don't skip tokens in a directive.
88 * cpplib.c (struct if_stack): Update.
89 (start_directive, end_directive): Don't change skipping state.
90 (_cpp_handle_directive): Update.
91 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
92 (do_else, do_endif): Update; only check for excess tokens if not
93 in a skipped conditional block.
94 (push_conditional): Update for new struct if_stack.
95
5b16f556
GS
962001-07-26 Graham Stott <grahams@redhat.com>
97
98 * function.c (locate_and_pad_parm): Also pad initial offset
99 so that the total argument size also includes the padding.
100
1012001-07-26 Graham Stott <grahams@redhat.com>
102
103 * gensupport.c (alter_output_for_insn): Correct enable checking failure
104 change XSTR to XTMPL.
105
106 (process_one_cond_exec): Likewise
107
17eee61c
RH
1082001-07-25 Richard Henderson <rth@redhat.com>
109
110 * varasm.c (assemble_variable): Create DECL_RTL before setting
111 TREE_ASM_WRITTEN.
112
c4f81e4a
JH
113Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
114
115 * predict.c (estimate_probability): Avoid duplicated predictions.
116
117 * loop.c (find_and_verify_loops): Grok multiple barriers.
118
02e3f1a8
RK
119Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
120
472385a2
RK
121 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
122
02e3f1a8
RK
123 * dbxout.c: Consistently use putc instead of fputc.
124 (print_wide_int): New function; call instead of direct fprintf.
125 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
126 (dbxout_type_fields, dbxout_type_method_1): Likewise.
127 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
128 (print_int_cst_octal): Likewise.
129 (print_octal): Show we wrote characters.
130 (dbxout_type): Set have_used_extensions in more places.
131
f2d28b14
CM
1322001-07-25 Catherine Moore <clm@redhat.com>
133
134 * config/v850/v850.c (v850_va_arg): Use addr
135 instead of valist to build incr.
136
6e64a52a
JH
137Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
138
139 * flow.c (delete_dead_jumptables): New function.
140 (life_analyzis): Call it.
02e3f1a8
RK
141 * bb-reorder.c (skip_insns_after_block): Handle contradictory
142 sequences.
6e64a52a 143
7f206d8f
RH
1442001-07-25 Richard Henderson <rth@redhat.com>
145
146 * except.c (reachable_handlers): Handle a region being removed
147 out from under a RESX.
148
56f19d92
RH
1492001-07-25 Richard Henderson <rth@redhat.com>
150
151 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
02e3f1a8 152 swap GE/GT if it is an fp comparison.
56f19d92
RH
153
1542001-07-25 Andrew Haley <aph@cambridge.redhat.com>
3237ac18
AH
155
156 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
157 operands.
158
42f28de9
JL
159Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
160
ea0eceb1
JL
161 * ssa.c (rename_insn_1): Do not wrap an assignment to a
162 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
163 glitch.
164
42f28de9
JL
165 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
166 throw an exception.
167 (visit_expression): When attempting to simplify an expression,
168 retrieve any modes for arguments before they are simplified
169 to constants.
170
7c2b017c
AM
1712001-07-25 Andrew MacLeod <amacleod@redhat.com>
172 Janis Johnson <janis@us.ibm.com>
173
174 * stmt.c (expand_goto): A nonlocal goto can be a call too.
175 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
176 pointer parameters to match documented usage of nonlocal_goto.
177 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
178 parameters to their correct order.
179 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
180 parameters to their correct order.
181
ff3daa88
AM
1822001-07-25 Andrew MacLeod <amacleod@redhat.com>
183
184 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
185
a368a2fa
JH
1862001-07-25 Jan Hubicka <jh@suse.cz>
187 Richard Henderson <rth@redhat.com>
188
189 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
190 the sequence.
191 (make_edges): New argument update_p; populate the edge cache if set.
192 (find_basic_blocks): Update make_edges invocation.
193
303e979a
JS
1942001-07-24 Joel Sherrill <joel@OARcorp.com>
195
196 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
197
7adb4be8
JS
1982001-07-24 Joel Sherrill <joel@OARcorp.com>
199
200 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
201 -Acpu and -Amachine.h.
202 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
203 Corrected header to say ELF not a.out.
204 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
205 when given -msoft-float.
206
2072001-07-24 Joel Sherrill <joel@OARcorp.com>
bb8602be
JS
208
209 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
210 extra multilib parts like arm-elf.
211 (i960-*-coff*, i960-*-rtems): Should not use collect2.
212 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
213 crtfini.o as extra multilib parts.
214
e08f13ee
JS
2152001-07-24 Joel Sherrill <joel@OARcorp.com>
216
217 * configure.in: Add rtems as a supported thread model.
218 * gthr-rtems.h: Add missing entry point __gthread_active_p.
219 * configure: Rebuilt.
220
0c237688
LB
2212001-07-24 Lars Brinkhoff <lars@nocrew.org>
222
223 * stor-layout.c (get_mode_alignment): make it work when
224 BITS_PER_UNIT is not a power of two.
225 * builtins.c (get_pointer_alignment): Likewise.
226
5a2aa3bd
RH
2272001-07-24 Richard Henderson <rth@redhat.com>
228
229 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
230 the retrieved constant into the expected mode.
231
ca9fef16
JH
232Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
233
234 * flow.c (try_simplify_condjump): Avoid duplicated edges.
235 (verify_flow_info): Check for duplicated edges; clarify
236 error reporting.
237
238 * flow.c (block_label): Update basic_block_for_insn.
239 (commit_edge_insertions): Call compute_bb_for_insn.
240
241 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
242 returns too.
243
244 * flow.c (redirect_edge_and_branch,
245 try_optimize_cfg): Use redirect_edge_succ_nodup
246 (redirect_edge_succ_nodup): New.
247 * basic_block.h (redirect_edge_succ_nodup): Declare.
248
249 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
250 after gcse.
251
40fc4e6a
JH
252Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
253
254 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
255 (try_crossjump_to_edge): Update commetns.
256 (try_crossjump_bb): Likewise.
257
e7139885
RH
2582001-07-24 Richard Henderson <rth@redhat.com>
259
260 * combine.c (distribute_notes): Move set of need_refresh
261 for noop_move_p down to catch all cases.
262
6f862f2f
JH
263Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
264
265 * recog.c (split_all_insns_noflow): New.
266 * rtl.h (split_all_insns_noflow): Declare.
267 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
268 * m68hc11.c (m68hc11_reorg): Likewise.
269 * sh.c (machine_dependent_reorg): Likewise.
270 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
271 call.
272
615cd49b
AH
2732001-07-18 Andrew Haley <aph@cambridge.redhat.com>
274
bb8602be
JS
275 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
276 (ashlsi3_n splitter): Likewise.
277 (lshrsi3_n splitter): Likewise.
615cd49b 278
bb8602be
JS
279 (GOTaddr2picreg): Make const SImode.
280 (sym_label2reg): Likewise.
281 (symGOT2reg): Likewise.
282 (symGOTOFF2reg) Likewise.
615cd49b 283
bb8602be 284 (casesi_worker_0): Make unspec SImode.
615cd49b 285
2b9d17c7
AH
2862001-07-18 Andrew Haley <aph@cambridge.redhat.com>
287
bb8602be
JS
288 * config/sh/sh.c (barrier_align): Check that an operand really is
289 an insn before extracting its INSN_CODE.
2b9d17c7 290
cfe1cd40
AH
2912001-07-24 Andrew Haley <aph@cambridge.redhat.com>
292
293 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
294 dangling else.
295
296 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
297 for SImode to prevent overflow.
298
46d2e8d7
RO
2992001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
300
301 * config/mips/irix6-libc-compat.c: New file.
302 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
303 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
304 passing workaround.
305
cd6e5291
LB
3062001-07-24 lars brinkhoff <lars@nocrew.org>
307
308 * rtl.texi (REG_POINTER): Document.
309 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
310 QFmode, HFmode, TQFmode, QCmode, and HCmode.
311
8f54d2ff
JH
312Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
313
314 * flow.c (delete_noop_moves): Do not confuse libcall regions.
315
6a7ca996
RH
3162001-07-23 Richard Henderson <rth@redhat.com>
317
318 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
319
ba412630
KH
3202001-07-23 Kazu Hirata <kazu@hxi.com>
321
322 * config/h8300/h8300-protos.h: Add a prototype for
323 general_operand_dst_push.
324 * config/h8300/h8300.c (general_operand_dst_push): New.
325 * config/h8300/h8300.h (OK_FOR_T): New.
326 (EXTRA_CONSTRAINT): Use it.
327 * config/h8300/h8300.md (movqi_push): Remove and integrate into
328 the existing movqi pattern.
329 (movhi_push): Likewise.
330
82efa2e5
KH
331 * reload.c: Fix comment typos.
332
21715220
JH
333Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
334
335 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
336
dd96fbc5
L
3372001-07-23 H.J. Lu (hjl@gnu.org)
338
339 * doc/extend.texi: Update __builtin_return_address and
340 __builtin_frame_address.
341
c50e5bc0
RH
3422001-07-23 Richard Henderson <rth@redhat.com>
343
344 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
345 before CSE.
346 * config/i386/i386.md: New setcc+movzbl peephole2.
347
9099cc4f
NB
3482001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
349
350 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
351 * objc/objc-act.c: Include debug.h.
352 (synth_module_prologue): Save and restore debug hooks too.
353
68eb4fb9
LB
3542001-07-23 lars brinkhoff <lars@nocrew.org>
355
356 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
357 and C4X_FLOAT_FORMAT.
358 (BOOL_TYPE_SIZE): Document.
359
57de7530
CP
360Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
361
362 * unroll.c (loop_iterations): Fix miscalculation of initial
363 giv offset.
364
6e7b03e1
AH
3652001-07-13 Andrew Haley <aph@redhat.com>
366
bb8602be
JS
367 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
368 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
369 * config/sh/sh.c (sh_can_redirect_branch): New function.
370 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
371 * reorg.c (steal_delay_list_from_target): Use
372 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
6e7b03e1 373
0dd94abd
JH
374Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
375
376 * flow.c (try_simplify_condjump): Unlink insn chain on
377 fallthru edge; use can_fallthru.
378
0005550b
JH
379Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
380
381 * basic-block.h (find_sub_basic_block): Declare.
382 * flow.c (make_edges): New arguments MIN and MAX;
383 (find_sub_basic_blocks): Revamp to use make_edges
384 and purge_dead_edges.
385 (find_basic_blocks): Update call of find_sub_basic_block.
386
387 * recog.c (split_all_insns): Always expect CFG to be consistent;
388 call find_sub_basic_blocks in case something has changed.
389 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
390 has been built.
391
392 * basic-block.h (delete_noop_moves): Declare.
393 * combine.c (combine_instructions): Call it.
394 (recog_for_combine): Tolerate noop moves
395 (distribute_notes): Force refresh when register dies at noop move.
396 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
397 too.
398 (life_analysis): Update delete_noop_moves call.
399 (set_noop_p): Move too ...
400 * rtlanal.c (noop_move_p): ... here.
401 * rtl.h (noop_move_p): Declare.
402
403 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
404 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
405 after combine.
406 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
407 (cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
408
e0120d6e
HPN
4092001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
410
411 * reload.c (push_reload): Fix typo in comment.
412 (find_reloads_address): Ditto.
413 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
414
b02eea61
RH
4152001-07-22 Richard Henderson <rth@redhat.com>
416
417 * flow.c: Grammar check and clarify a lot of comments.
418 (try_simplify_condjump): Rename variables to be clearer.
419 (try_forward_edges): Skip complex and fallthru edges.
420 Rearrange tests to avoid duplicate checks.
421 (flow_find_cross_jump): Likewise.
422 (outgoing_edges_match): Allow match if neither branch has
423 probability data. Loosen probability match to 5%.
424 (try_crossjump_to_edge): Hoist repeated indirection into
425 local variables.
426 (try_crossjump_bb): Don't check complex edges. Eliminate
427 redundant crossjump tests.
428 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
429 checks before more expensive checks.
430
1f2f8b29
RH
4312001-07-22 Richard Henderson <rth@redhat.com>
432
433 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
434 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
435 arguments.
436
97660e20
RH
4372001-07-22 Richard Henderson <rth@redhat.com>
438
439 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
440 (const_sint32_operand): Likewise.
441 * m68k.md (anon mulsi pattern): Use const_int_operand not
442 const_sint32_operand.
443 (umulsi3_highpart): Zero extend a constant input.
444 (smulsi3_highpart): Don't bother checking SImode constant.
445 (const_umulsi3_highpart): Give op3 DImode.
446 (const_smulsi3_highpart): Likewise.
447
0b6301ae
RH
4482001-07-22 Richard Henderson <rth@redhat.com>
449
450 * flow.c (split_block): Make sure bb_note is included in the
451 new block when splitting before a label.
452
6b24c259
JH
453Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
454
455 * basic-block.h (redirect_edge_and_branch_force,
456 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
457 * flow.c (redirect_edge_and_branch_force,
458 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
459 (redirect_edge_and_branch_force): Fix copying of lifeness information.
460 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
461 * ifcvt.c (dead_or_predictable): Take BB as an new destionation
462 instead of label; update CFG after transformation.
463 (find_if_case_1): Update call, use redirect_edge_and_branch_force
464 for finishing the transformation; handle even case where ELSE
465 does not follow THEN.
466 (find_if_case_2): Update call of dead_or_predictable; simplify
467 CFG update.
468
469 * emit-rtl.c (split_branch_probability): New global variable.
470 (try_split): Take care to set split_branch_probability and
471 create REG_BR_PROB note for new jump insns.
472 * md.texi (define_split): Document new feature.
473
474 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
475
544f03b4
NB
4762001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
477
478 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
479 (asm_out_file): Remove redundant declaration.
480 (assemble_asm): Remove old #if 0 block.
481 (assemble_variable): Remove end of function; debug output is
482 now handled with global_decl. Remove old #if 0 block. Update.
483 Remove saved_in_section and associated no-op code.
484 * Makefile.in (varasm.o): Correct dependencies.
485
bad1f214
AO
486Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
487
488 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
489 the definition in defaults.h.
490
0045d504
JH
491Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
492
493 * jump.c: Update comments.
494 (delete_barrier_successors, delete_unreferenced_labels,
495 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
496 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
497 jump_optimize, jump_optimize_minimal): Kill.
498 (rebuild_jump_labels): Move code from jump_optimize_1.
499 (purge_line_number_notes): Likewise.
500 (copy_loop_headers): Likewise.
501 * reg-stack.c: Update comment.
502 * stmt.c: Likewise.
503 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
504 JUMP_AFTER_REGSCAN): Kill.
505 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
506 purge_line_number_notes and copy_loop_headers.
507
3914abb4
NB
5082001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
509 Richard Henderson <rth@redhat.com>
510
511 * dbxout.c (dbxout_global_decl): New.
512 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
513 * sdbout.c (sdbout_finish): New.
514 (sdbout_debug_hooks): Use it, add comments.
515 (sdbout_global_decl): Defer initialised public vars to
516 sdbout_finish.
517 * varasm.c (assemble_variable): Don't output debug information
518 for file-scope variables.
519
be7560ea
RH
5202001-07-22 Richard Henderson <rth@redhat.com>
521
522 * config/alpha/alpha.c (get_trap_mode_suffix): New.
523 (get_round_mode_suffix): New.
524 (print_operand): Use them for [/]. Remove support for [&'`()+].
525 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
526 * config/alpha/alpha.md (attr round_suffix): New.
527 (attr trap_suffix): New.
528 (all insns): Set them appropriately. Use %/ instead of the
529 myriad punctuators.
530
65ecca65
NB
5312001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
532
533 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
534
4e812700
RH
5352001-07-22 Richard Henderson <rth@redhat.com>
536
537 * regrename.c (regrename_optimize): Compute nregs for each
538 potential target register.
539
f7e10587
NB
5402001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
541 Richard Henderson <rth@redhat.com>
542
543 * dbxout.c (dbxout_global_decl): New.
544 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
545 * sdbout.c (sdbout_finish): New.
546 (sdbout_debug_hooks): Use it, add comments.
547 (sdbout_global_decl): Defer initialised public vars to
548 sdbout_finish.
549 * varasm.c (assemble_variable): Don't output debug information
550 for file-scope variables.
551
919b1aec
L
5522001-07-21 H.J. Lu (hjl@gnu.org)
553
554 * config/mips/mips.c (mips_cpu): Moved into ...
555 (override_options): Here.
556
557 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
558 mips_tune.
559 (mips_cpu): Removed.
560
0477256c
SC
5612001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
562
563 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
564 ("iorqi3"): Likewise.
565 ("xorqi3"): Likewise.
566 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
567 ("*subhi3_sp): Likewise.
568 ("*subhi3"): Likewise.
569 ("extendhisi2"): Accept D, X and Y as source operand to avoid
570 reload problems.
571
c4372ef4
NS
5722001-07-21 Nathan Sidwell <nathan@codesourcery.com>
573
574 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
575 * config/freebsd.h: Likewise.
576 * config/linux.h: Likewise.
577 * config/openbsd.h: Likewise.
578 * config/alpha/linux-elf.h: Likewise.
579 * config/arm/linux-elf.h: Likewise.
580 * config/d30v/d30v.h: Likewise.
581 * config/fr30/fr30.h: Likewise.
582 * config/ia64/aix.h: Likewise.
583 * config/ia64/ia64.h: Likewise.
584 * config/mips/linux.h: Likewise.
585 * config/pj/pj.h: Likewise.
586 * config/rs6000/linux.h: Likewise.
587 * config/sparc/linux.h: Likewise.
588 * config/sparc/linux64.h: Likewise.
589
90376ae2
BK
5902001-07-20 Bruce Korb <bkorb@gnu.org>
591
592 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
593 because getc() and char* may disagree on signedness.
594
50b996bf
RH
5952001-07-20 Richard Henderson <rth@redhat.com>
596
597 * doc/rtl.texi (REG_DEAD): Update for current semantics.
598
e9644cfe
RH
599 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
600 insns to delete in the presence of cc0 in a jump insn.
601
ed6ba1a5
RZ
602Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
603 Jan Hubicka <jh@suse.cz>
604
605 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
606 of doing the change by hand.
607
371b8fc0
JH
608Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
609
610 * rtlanal.c (set_noop_p): Return true for noop jumps.
611
612 * expr.c (emit_single_push_insn): Add call to push expander.
613 * expr.h (optab_index): Add OTI_push
614 (push_optab): New constant.
615 * genopinit.c (optabs): Add push_optab.
616 * optabs.c (init_optab): Init push optab.
617 * md.texi (push??1): Document
618
00d0458c
SC
6192001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
620
621 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
622 expand to emit the pattern; put a REG_INC note for push/pop
623 instructions.
624 ("movdf", "movdf_internal"): Likewise.
625 ("movsi", "movsi_internal"): Likewise.
626 ("movsf", "movsf_internal"): Likewise.
627 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
628
d74e9142
SC
6292001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
630
631 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
632 gen_highpart.
633
1c432a87
DB
6342001-07-20 Daniel Berlin <dan@cgsoftware.com>
635
636 * params.def: Change default max inline insns to 100.
637
9def18da
DN
6382001-07-20 Diego Novillo <dnovillo@redhat.com>
639
640 * combine.c (combine_simplify_rtx): Generate a new shift operation
641 when simplifying the first operand of a (neg (ashift)) expression.
642
d4845339
RH
6432001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
644
645 * regclass.c (N_REG_INTS): Use only 32 bits per element.
646
6472001-07-20 Kelley Cook <kelley.cook@home.com>
dbd210ef
KC
648
649 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
650 information. Move rest into ...
651 (*-*-solaris): ... here. Eliminate redundant information and
652 reword necessary packages section. Delete 4.x assembler bug info.
653 (sparc-sun-*): Merge into ...
654 (sparc-sun-sunos*): here.
655
3a97685a
CM
6562001-07-20 Catherine Moore <clm@redhat.com>
657
97660e20
RH
658 * config/v850/v850.md (casesi): Generate LABEL_REF
659 with Pmode.
3a97685a 660
d24b3457
JH
661Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
662
663 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
664 * i386.c (ix86_zero_extend_to_Pmode): Make global.
665 * i386.md (strclrsi expander): Use it.
666
bc8d3f91
JH
667Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
668
669 * integrate.c (copy_insn_list): handle
670 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
671 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
672 identically as to CODE_LABEL.
673
674 * fold-const (fold): Convert A/B/C to A/(B*C) and
675 A/(B/C) to (A/B)*C
676
677 * except.c (connect_post_landing_pads): Delete the RESX insns.
678
1f28c666
AH
6792001-07-20 Aldy Hernandez <aldyh@redhat.com>
680
97660e20 681 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
1f28c666
AH
682
683 * config/mips/mips.md (nmadd/nmsub): Use macro.
684
002ee64f
NS
6852001-07-20 Nathan Sidwell <nathan@codesourcery.com>
686
687 * cppinit.c (remove_dup_dir): Make static.
688 (remove_dup_dirs): Make static. Only warn about preempting a
689 system directory with a non-system directory.
690
038fb2bc
GK
6912001-07-19 Geoffrey Keating <geoffk@redhat.com>
692
693 * ifcvt.c (noce_try_store_flag_constants): Correct order
694 of parameters to trunc_int_for_mode.
695
be672de8
MM
6962001-07-19 Mark Mitchell <mark@codesourcery.com>
697
698 * reorg.c (fill_simple_delay_slots): If an instruction might throw
699 an exception that will be caught within this function, do not fill
700 its delay slot with any subsequent instruction.
701
6dd12198
SE
7022001-07-19 Steve Ellcey <sje@cup.hp.com>
703
704 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
705 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
706 pointer extension instruction.
707 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
708 * simplify-rtx.c (simplify_unary_operation) Likewise.
709 * explow.c (convert_memory_address) Check value of
710 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
711 less than zero.
712 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
713 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
714 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
715 Add Multilib Support.
716 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
717 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
718 Add Multilib Support.
719 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
720 support.
721 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
722 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
723 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
724
0248ce05
AO
7252001-07-19 Alexandre Oliva <aoliva@redhat.com>
726
727 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
728 old and new operands in `<', `3' and `b'.
729
e1772ac0
NB
7302001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
731
732 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
733 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
734 (toplev.o): Don't depend on xcoffout.h.
735 * c-decl.c: Include debug.h
736 (duplicate_decls): Use debug hook.
737 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
738 (dbx_debug_hooks, xcoff_debug_hooks): Update.
739 (dbxout_types): Remove.
740 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
741 * debug.c (do_nothing_debug_hooks): Update.
742 (debug_true_tree, debug_nothing_rtx): New.
743 * debug.h (struct rtx_def): New.
744 (struct gcc_debug_hooks): New hooks ignore_block,
745 outlining_inline_function and label.
746 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
747 dwarf2out_frame_finish): New.
748 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
749 Make static, update prototype.
750 (dwarf2_debug_hooks): Update.
751 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
752 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
753 * dwarfout.c (dwarf_debug_hooks): Update.
754 * emit-rtl.c: Include debug.h.
755 (remove_unnecessary_notes): Use debug hook.
756 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
757 (final_scan_insn): Use debug hook.
758 * integrate.c (output_inline_function): Use debug hook.
759 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
760 (sdb_debug_hooks): Update.
761 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
762 * toplev.c: Don't include xcoffout.h.
763 (note_outlining_of_inline_function, debug_ignore_block): Remove.
764 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
765 Remove.
766 * tree.h (dwarf2out_do_frame): Remove.
767
77f43519
CM
7682001-07-19 Catherine Moore <clm@cygnus.com>
769
97660e20 770 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
77f43519 771
d54ef62c
GK
7722001-07-19 Geoffrey Keating <geoffk@redhat.com>
773
c77fbfbe
GK
774 * reload1.c (eliminate_regs_in_insn): When updating a set
775 to the frame pointer to the hardware frame pointer, perform
776 the update always not just when REPLACE is set.
777
eb4d554e
GK
778 * reload1.c (choose_reload_regs): Don't inherit a reload
779 that crosses multiple registers if registers past the first
780 don't fit in the desired class.
781
d54ef62c
GK
782 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
783 when negating constants.
784
7d46d516
TM
7852001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
786
787 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
788 * doc/tree.texi: Ditto.
789
5442cf15
MK
7902001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
791 Jakub Jelinek <jakub@redhat.com>
792
793 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
794 (extract_cie_info): Handle "eh" augmentation properly,
795 remember eh_ptr.
796 (struct frame_state, __frame_state_for): New.
797
432fa9f2
RO
7982001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
799
800 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
801 HANDLE_SYSV_PRAGMA): Define.
802 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
803 previous args.
804 (copy_object): Caller changed.
805
bfabbc3c
AS
8062001-07-19 Andreas Schwab <schwab@suse.de>
807
808 * configure.in (assembler dwarf2 debug_line support): Define nop
809 insn for m68k.
810 * configure: Regenerated.
811
2b85879e
NB
8122001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
813
814 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
815 dwarfout.h.
816 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
817 to conditionally compiled block.
818 (dbx_debug_hooks, xcoff_debug_hooks): Update.
819 * dbxout.h (dbxout_function): Remove.
820 * debug.c (do_nothing_debug_hooks): Update.
821 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
822 global_decl, deferred_inline_function.
823 * dwarf2out.c (dwarf2_debug_hooks): Update.
824 (dwarf2out_global_decl): New.
825 * dwarfout.c: Don't include dwarfout.h.
826 (dwarfout_global_decl, dwarfout_function_decl,
827 dwarfout_deferred_inline_function): New.
828 (dwarf_debug_hooks): Update.
829 * dwarfout.h: Remove.
830 * final.c: Don't include dwarfout.h.
831 * sdbout.c (sdbout_global_decl): New.
832 (sdbout_debug_hooks): Update.
833 * toplev.c: Don't include dwarfout.h.
834 (check_global_declarations, rest_of_compilation): Use new debug hooks.
835 (note_deferral_of_defined_inline_function): Remove.
836 * toplev.h (note_deferral_of_defined_inline_function): Remove.
837 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
838 * ch/lex.c: Don't include dwarfout.h.
839 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
840 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
841 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
842 * cp/optimize.c: Include debug.h.
843 (maybe_clone_body): Use debug hook.
844 * cp/semantics.c: Include debug.h.
845 (expand_body): Use debug hook.
846 * po/POTFILES.in: Remove dwarfout.h.
847
c60e94a7
NB
8482001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
849
850 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
851 * c-parse.in (yyerror, _yylex): Similarly.
852 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
853 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
854 Update comments.
855 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
856 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
857
8458e954
JS
8582001-07-18 Jeff Sturm <jsturm@one-point.com>
859
860 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
861 in-class declaration at -g1. Fixes c++/2814.
862
d989f648
RH
8632001-07-18 Richard Henderson <rth@redhat.com>
864
865 * doc/md.texi (reload_in/out): Document restrictions in predicates
866 and constraints for these patterns. Document empty string matching
867 ALL_REGS.
868
20c93f7c
RO
8692001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
870
871 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
872
dc42616f
JH
873Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
874
875 * cse.c: Undo my previous patch.
876
f91abfce
TT
8772001-07-18 Tom Tromey <tromey@redhat.com>
878
879 For PR java/2812:
880 * configure: Rebuilt.
881 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
882 instead.
883 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
884
0728902f
RH
885Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
886 Jan Hubicka <jh@suse.cz>
887
888 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
889 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
890 * jump.c (mark_jump_label): Do not forward branches.
891
f06fbeea
JH
892Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
893
894 * cse.c (delete_trivially_dead_insns): Delete the libcall block
895 when return value is unused.
896
222f7ba9
JH
897Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
898
899 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
900
8b52df45
NP
901Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
902
903 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
904 on error. We can't blindly return the result of
905 pthread_mutex_trylock because it returns a positive number on
906 error, while we must return -1 on error.
907 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
908 fixes.
909 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
910
895b2cfe
AJ
9112001-07-18 Andreas Jaeger <aj@suse.de>
912
913 * integrate.c (output_inline_function): Correct type of debug_hooks.
914
493efd37
TM
9152001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
916
917 * combine.c (combine_simplify_rtx): DIV can be treated
918 associatively for floats if unsafe math optimisations are enabled.
919
a7c07f1e
RH
9202001-07-17 Richard Henderson <rth@redhat.com>
921
922 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
923
3affaf29
RH
9242001-07-17 Richard Henderson <rth@redhat.com>
925
926 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
927 don't force the function address into a register.
928 (expand_call, emit_library_call_value_1): Update callers.
929 * builtins.c (expand_builtin_apply): Likewise.
930 * expr.h (prepare_call_address): Update decl.
931
001da62a
CC
9322001-07-17 Chandrakala Chavva <cchavva@redhat.com>
933
3affaf29
RH
934 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
935 config directory.
936 * config/i386/chorus.h: Move up.
937 * config/sparc/chorus.h: Likewise.
938 * config/rs6000/chorus.h: Likewise.
939 * config/chorus.h: Moved here.
001da62a 940
01efb963 9412001-07-17 Andreas Schwab <schwab@suse.de>
895b2cfe 942
2bd2bdd9
CC
943 * configure.in (assembler eh_frame optimization): Handle big
944 endian.
945 * configure: Regenerated.
01efb963 946
b7e9703c
JH
947Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
948
949 * expr.c (epxand_expr): Convert divisions into multiplications by
950 reciprocals if -ffast-math.
951
653e276c
NB
9522001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
953
954 * dbxout.c (dbxout_really_begin_function): Rename to
955 dbxout_begin_function.
956 (dbx_debug_hooks, xcoff_debug_hooks): Update.
957 (dbxout_begin_function): Remove.
958 (dbxout_function): Update.
959 (dbxout_source_line): Update prototype.
960 * dbxout.h (dbxout_begin_function): Remove.
961 * debug.c (do_nothing_debug_hooks): Update.
962 (debug_nothing_tree): Update.
963 (debug_nothing_charstar_rtx): Remove.
964 * debug.h (union tree_node): Declare.
965 (struct rtx_def): Remove.
966 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
967 begin_function. Change source_line prototype.
968 (debug_nothing_tree): New.
969 (debug_nothing_charstar_rtx): Delete.
970 (dwarf2out_begin_prologue): Moved from ...
971 * tree.h: ... here.
972 * dwarf2out.c (dwarf2_debug_hooks): Update.
973 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
974 debug info, call dwarf2out_source_line.
975 (dwarf2out_souce_line): Update prototype.
976 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
977 Change prototype, make static.
978 (dwarfout_source_line): Update prototype.
979 (dwarf_debug_hooks): Update.
980 * dwarfout.h (dwarfout_begin_function): Remove.
981 * final.c (final_start_function, final_scan_insn): Use appropriate
982 debug hooks, update to use notice_source_line.
983 (output_source_line): Rename notice_source_line. Don't call the
984 source_line debug hook.
985 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
986 make static, update prototype.
987 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
988 prototype.
989 (sdbout_end_prologue): New.
990 (sdbout_source_line): Update prototype.
991 (sdbout_debug_hooks): Update.
992 (sdbout_symbol): Remove unused var.
993 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
994 Delete.
995 * varasm.c: Include debug.h.
996 (assemble_start_function): Use begin_function debug_hook.
997 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
998 update with prototype.
999 (xcoffout_source_line): Update prototype.
1000 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
1001 update prototype.
1002 (xcoffout_source_line): Update prototype.
1003
91a18fe0
RH
10042001-07-17 Richard Henderson <rth@redhat.com>
1005
1006 * c-typeck.c (build_binary_op): Do not shorten unsigned
1007 right shift after sign extension.
1008
4ba5f925
JH
1009Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
1010
1011 * combine.c (combine_simplify_rtx): Attempt to simplify
1012 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
1013
1014 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
1015 (simplify_binary_operation, simplify_unary_operation,
1016 simplify_relational_operation): Use it.
1017
1018 * combine.c (combine_simplify_rtx): Don't do associative law
1019 on divisions; allow associative law on floats.
1020
3aa8ab7b
L
10212001-07-17 H.J. Lu <hjl@gnu.org>
1022 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1023
1024 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
1025 ASM_OUTPUT_WEAK_ALIAS are defined.
1026 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
1027 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
1028 Moved ...
1029 * config/mips/iris5.h: ... here.
1030 (HANDLE_SYSV_PRAGMA): Defined as 1.
1031 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
1032 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
1033 symbol.
1034
4b01f8d8
JM
10352001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
1036
1037 * c-parse.in (all_prefix_attributes): New variable.
1038 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
1039 (maybe_resetattrs): New production.
1040 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
1041 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
1042 notype_initdcl, nested_function, notype_nested_function,
1043 component_decl, components, components_notype,
1044 component_declarator, component_notype_declarator,
1045 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
1046 ivars, mydecl, myparm): Update. Avoid prefix attributes just
1047 after a comma being applied to more than one declarator.
1048 * doc/extend.texi (Attribute Syntax): Update. Remove
1049 documentation of bugs that are no longer present.
1050
7a38df19
EC
10512001-07-13 Eric Christopher <echristo@redhat.com>
1052
1053 * config/mips/mips.h: Change TUNE_MIPS* options to use
1054 mips_tune.
1055 (EXTRA_SPECS): Add cc1_cpu_spec.
1056 * config/mips/mips.md (muldf3): Fix typo.
1057
6d5f49b2
RH
10582001-07-16 Richard Henderson <rth@redhat.com>
1059
1060 * config/m68k/m68k.c: Include expr.h and reload.h.
1061 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
1062 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
1063
0021de69
DB
10642001-07-16 Daniel Berlin <dan@cgsoftware.com>
1065 Richard Henderson <rth@redhat.com>
1066
1067 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
1068 (insn_live_p): Fix fall off end of function.
1069 (dead_libcall_p): Remove COUNTS argument; update callers.
1070 (delete_trivially_dead_insns): Remove unused variables.
1071
b3bb6456
AJ
10722001-07-17 Andreas Jaeger <aj@suse.de>
1073
1074 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
1075 x86-64 pic support.
1076
1077 * lcm.c (optimize_mode_switching): Avoid warning for unused
51589632 1078 variable if !NORMAL_MODE.
b3bb6456
AJ
1079
1080 * flow.c (try_crossjump_to_edge): Remove unused variable.
1081
55105156
BK
10822001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1083
1084 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
1085 atexit declaration in stdlib.h.
1086
10872001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
1088
1089 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
1090
4793dca1
JH
1091Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
1092
1093 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
1094 * except.c (finish_eh_generation): Update call of cleanup_cfg;
1095 do rebuild_jump_labels instead of jump_optimize
1096 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
1097 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
1098 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
1099
1100 * flow.c: Include timevar.h
1101 (find_basic_block): Push/pop timevar;
1102 (cleanup_cfg): Likewise.
1103 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
1104 * Makefile: Add dependencies on timevar.h
1105
1106 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
1107 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
1108
1109 * rtl.h (delete_trivially_dead_insns): Add new parameter.
1110 * toplev.c (rest_of_compilation): Update calls.
1111 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
1112 (delete_trivially_dead_insns): ... here; accept new argument
1113 preserve_basic_blocks; preserve basic blocks if set.
1114
1115 * reg-stack.c (stack_regs_mentioned): Return 0 if
1116 stack_regs_mentioned_data is not initialized.
1117 (reg_to_stack): Make stack_regs_mentioned survive after the
1118 reg-stack is completted; do not call cleanup_cfg.
1119 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
1120 make cleanup_cfg after bb-reorder to output to debug file.
1121
b85946fc
RH
11222001-07-16 Richard Henderson <rth@redhat.com>
1123
1124 * regclass.c (init_reg_sets): Use only 32 bits per initializer
1125 from int_reg_class_contents.
1126
4e2db584
RH
11272001-07-16 Richard Henderson <rth@redhat.com>
1128
1129 * hard-reg-set.h (regs_invalidated_by_call): Declare.
1130 * regclass.c (regs_invalidated_by_call): Move from cse.c.
1131 (init_reg_sets_1): Move initialization from cse_main.
1132 * cse.c (regs_invalidated_by_call): Move to regclass.c.
1133 (cse_main): Move its initialization also.
1134 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
1135 * flow.c (propagate_one_insn): Likewise.
1136 * gcse.c (compute_hash_table): Likewise.
1137 (compute_kill_rd, compute_store_table): Likewise.
1138 * sched-deps.c (sched_analyze_1): Likewise.
1139
cccf0ae8
R
1140Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
1141
1142 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
1143 gen_rtx_SET.
1144
94fc7dea
SE
11452001-07-16 Steve Ellcey <sje@cup.hp.com>
1146
1147 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
1148 in if statement so we don't access undefined memory.
1149
978cf2fc
DB
11502001-07-16 Daniel Berlin <dan@cgsoftware.com>
1151
b3bb6456 1152 * gcse.c: Update comment at top.
ccef9ef5
DB
1153 Update comment on mem handling.
1154 mem_last_set, mem_first_set, mem_set_in_block: gone.
1155 Declaration of reg_set_info: gone.
1156 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
1157 pointless with load_killed_in_block_p (they are *more*
1158 conservative then it, not less, and less accurate).
b3bb6456 1159 (oprs_not_set_p): Ditto.
ccef9ef5
DB
1160 (alloc_gcse_mem): Don't allocate mem_set_in_block
1161 (free_gcse_mem): Don't free it, either.
1162 (record_last_mem_set_info): Update comment in front, remove
1163 mem_*set_* stuff. Note the reason we don't handle stores directly
1164 here.
1165 (compute_hash_table): Update comments to reflect reality. Remove
1166 mem_*set_* references.
1167 (reset_opr_set_tables): Remove mem_*set_* references.
1168 (mark_call): Ditto.
b3bb6456 1169 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
ccef9ef5
DB
1170 (mark_clobber): Ditto (on both parts, we double set here too).
1171 (expr_killed_p): Remove mem_set_in_block test.
1172 (compute_transp): Remove mem_set_in_block test.
1173
978cf2fc 1174 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
b3bb6456 1175 of edge, and removal of phi alternative to dump file.
978cf2fc
DB
1176 (ssa_ccp_substitute_constants): Add note about register now being
1177 constant, and which uses were replaced in what insns to dump file.
1178
23190837
AJ
11792001-07-16 Andreas Jaeger <aj@suse.de>
1180
1181 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
1182 variables of type HOST_WIDEST_INT.
1183
1184 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
1185 (__bb_exit_func): Correct type of count_max to avoid overflow.
1186 (num_digits): Handle long long argument.
1187
1188 * combine.c (gen_lowpart_for_combine): Remove unused variable.
1189
f4dc8d96
NB
11902001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
1191
1192 * output.h (sdb_begin_function_line): Restore as an extern
1193 variable.
1194 * sdbout.c (sdb_begin_function_line): Make extern.
1195
9e9f3ede
RH
11962001-07-15 Richard Henderson <rth@redhat.com>
1197
1198 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
1199 * genrecog.c (maybe_both_true_mode): New.
1200 (maybe_both_true_2): Use it.
1201 (write_switch): Don't put Pmode in a switch.
1202 * rtl.c (mode arrays): Don't explicitly size them.
1203
22fb740d
JH
1204Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
1205
1206 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
1207 handling; move unconditional splitting before mode switching.
1208
1209 * i386.md (type): Add fistp type.
1210 (i387, length_attr, scheduling definitions): Handle this type.
1211 (fix_trunc?f?i2): Revamp to use mode switching.
1212 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
1213 * i386.h (fp_cw_mode): New enum
1214 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
1215 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
1216
135d50f1
RK
1217Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1218
1219 * Makefile.in (integrate.o): Add debug.h.
1220 * integrate.c (debug.h): Add.
1221 (output_inline_function): Save, reset, and restore debug_hooks.
1222
b762a0ef
RH
12232001-07-15 Richard Henderson <rth@redhat.com>
1224
1225 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
1226 instead of COMPARE for the EQUIV expression.
1227
c319629b
RH
12282001-07-15 Richard Henderson <rth@redhat.com>
1229
1230 * flow.c (redirect_edge_and_branch_force): Initialize
1231 global_live_at_start and global_live_at_end.
1232 (allocate_bb_life_data): Export.
1233 * basic-block.h (allocate_bb_life_data): Declare.
1234 * toplev.c (rest_of_compilation): Call it.
1235
25e21aed
RH
12362001-07-15 Richard Henderson <rth@redhat.com>
1237
1238 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
1239 (alpha_tablejump_best_label): New.
1240 * config/alpha/alpha-protos.h: Declare them.
1241 * config/alpha/alpha.md: Use braced strings for code blocks.
1242 (tablejump_osf): Break out add with r29.
1243 (tablejump_osf_internal): Remove.
1244 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
1245 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
1246
03598dea
JH
1247Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
1248
1249 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
1250 of the movable.
1251
1252 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
1253
1254 * i386-protos.h (ix86_split_fp_branch): Update prototype.
1255 (ix86_fp_jump_nontrivial_p): New.
1256 * i386.md (fp_jcc_?): Update call of split_fp_branch;
1257 use ix86_fp_jump_nontrivial_p.
1258 * i386.c (ix86_fp_jump_nontrivial_p): New.
1259 (ix86_split_fp_branch): Accept code instead of rtx.
1260 (ix86_expand_compare): Expand comparison early in case
1261 doing so is resonably cheap.
1262
b8313db6
NC
12632001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
1264
1265 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
1266 not 'machine'.
1267 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
1268 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
1269
e2a12aca
NB
12702001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
1271
1272 * dbxout.c (dbxout_source_line): Make static, update prototype.
1273 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
1274 (dbxout_init, dbxout_finish, dbxout_source_line,
1275 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
1276 * dbxout.h (dbxout_source_line): Delete.
1277 * debug.c (debug_nothing_file, debug_nothing_file_int,
1278 debug_nothing_file_charstar_rtx): New.
1279 (do_nothing_debug_hooks): Update.
1280 (debug_nothing_void, debug_nothing_charstar_rtx,
1281 dwarf2out_end_epilogue): New.
1282 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
1283 * debug.h (struct rtx_def): Declare.
1284 (gcc_debug_hooks): New hooks source_line, end_epilogue
1285 and end_function.
1286 (debug_nothing_void, debug_nothing_charstar_rtx,
1287 dwarf2out_end_epilogue): New.
1288 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
1289 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
1290 (dwarf2_debug_hooks): Update.
1291 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
1292 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
1293 * dwarf2out.h (dwarf2out_source_line): Remove.
1294 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
1295 Make static, update prototype.
1296 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
1297 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
1298 (dwarf_debug_hooks): Update.
1299 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
1300 dwarfout_end_function): Remove.
1301 * final.c (profile_function): Use debug hooks for ending functions
1302 and epilogues.
1303 (output_source_line, final_end_function): Update prototype,
1304 use debug hooks.
1305 (final_start_function, final_scan_insn): Update.
1306 * output.h (sdb_begin_function_line): Remove.
1307 (final_end_function): Update prototype.
1308 * sdbout.c (sdb_begin_function_line): Make static.
1309 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
1310 (sdbout_source_line): New.
1311 (sdbout_end_epilogue, sdbout_end_function): Make static, update
1312 prototypes.
1313 (sdb_debug_hooks): Update.
1314 (sdbout_init, sdbout_source_line,
1315 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
1316 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
1317 * toplev.c (compile_file, rest_of_compilation): Update.
1318 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
1319 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
1320 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
1321 Update for prototype changes.
1322 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
1323 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
1324
be7b80f4
RH
13252001-07-15 Richard Henderson <rth@redhat.com>
1326
1327 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
1328 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
1329 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
1330 * config/alpha/alpha.c: Likewise.
1331 * config/alpha/alpha.md: Likewise.
1332 * config/alpha/alpha32.h: Likewise.
1333 * config/alpha/vms.h: Likewise.
1334 (OPEN_VMS): Remove.
1335
736f566a
RH
13362001-07-14 Richard Henderson <rth@redhat.com>
1337
1338 * config/alpha/alpha.md: Use define_constants for unspec values.
1339 Substitute throughout.
1340
e6290e74
TJ
13412001-07-14 Tim Josling <tej@melbpc.org.au>
1342
1343 * tree.def (EXPON_EXPR) remove. Never supported anyway.
1344
3794967f
JDA
13452001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
1346
1347 * pa.md: Remove unused constraints from define_split's.
1348
35cbdf6f
RH
13492001-04-14 Richard Henderson <rth@redhat.com>
1350
1351 * ifcvt.c (find_cond_trap): Test for exit block.
1352
1e5fd094
JH
1353Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
1354
1355 Re-install recently reverted patch.
1356 * emit-rtl.c (try_split): Update mark_jump_label call.
1357 * flow.c (find_sub_basic_blocks): Likewise.
1358 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
1359 jump_back_p): Kill.
1360 (mark_all_labels): Kill second parameter.
1361 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
1362 (rebuild_jump_labels, jump_optimize_minimal): Update call
1363 of jump_optimize_1.
1364 (jump_optimize_1): Kill crossjumping code.
1365 (mark_jump_label): Kill cross_jump parameter.
1366 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
1367 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
1368 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
1369 splitting.
1370 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
1371 DFI_bpro.
1372 (dump_file_info): Likewise.
1373 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
1374 reorganize passes to do reg-stack first, bb-reorder second.
1375 * invoke.texi (-d letters doc): Remove the jump2 pass.
1376
999c0669
RH
13772001-07-14 Richard Henderson <rth@redhat.com>
1378
1379 * ifcvt.c (find_cond_trap): New.
1380 (find_if_header): Call it.
1381 (merge_if_block): Relax existing jump sanity check.
1382 * jump.c (jump_optimize_1): Remove conditional trap handling.
1383
7d8b1412
AM
13842001-07-14 Alan Modra <amodra@bigpond.net.au>
1385
1386 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
1387 millicode.
1388 (insn_refs_are_delayed): Correct comment.
1389 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
1390 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
1391 instead of r31. Make associated insn !TARGET_64BIT, and
1392 provide an additional 64-bit insn that clobbers r2.
1393 (divsi3): Likewise.
1394 (udivsi3): Likewise.
1395 (modsi3): Likewise.
1396 (umodsi3): Likewise.
1397
1ed672dd
JH
1398Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
1399
1400 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
1401
1402 * flow.c (redirect_edge_and_branch_force, split_edge,
1403 try_crossjump_to_edge): Use set_block_for_new_insns.
1404 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
1405
c51f3aa1
L
14062001-07-13 H.J. Lu (hjl@gnu.org)
1407
1408 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
1409 the correct patch.
1410
ca18be57
GK
14112001-07-13 Geoffrey Keating <geoffk@redhat.com>
1412
1413 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
1414
59387d2e
JM
14152001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
1416
1417 * c-common.c (decl_attributes): Take a pointer to the node to
1418 which attributes are to be attached, and a flags argument.
1419 * c-common.h (enum attribute_flags): New.
1420 (decl_attributes): Update prototype.
1421 * c-decl.c (start_decl, push_parm_decl, finish_struct,
1422 finish_enum, start_function): Update calls to decl_attributes.
1423 * c-parse.in (component_declarator, component_notype_declarator,
1424 label): Update calls to decl_attributes.
1425
48ccfb40
DC
1426Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
1427
1428 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
1429 * config/avr/avr.c (legitimate_address_p): Return value changed
1430 from letter to register classes. For better debugging.
1431
5a4aeb03
KH
14322001-07-13 Kazu Hirata <kazu@hxi.com>
1433
1434 * jump.c (reversed_comparison_code_parts): Fix comment typos.
1435
92e78e59
L
14362001-07-13 H.J. Lu (hjl@gnu.org)
1437
1438 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
1439
f1cf4606
ME
14402001-07-13 Marc Espie <espie@cvs.openbsd.org>
1441
1442 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
1443 correctly for shared configurations.
1444 * config/t-libgcc-pic: New.
1445 * config/{i386,m68k,sparc}/t-openbsd: New.
1446 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
1447 Support -shared. Support debugging libraries with -g.
1448 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
1449 frame information does not emit pointer diffs.
1450 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
1451 emit pointer diffs.
1452
998d20d2
GK
14532001-07-13 Geoffrey Keating <geoffk@redhat.com>
1454
1455 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
1456
1568d79b
DE
14572001-07-13 David Edelsohn <edelsohn@gnu.org>
1458
1459 * combine.c (try_combine): Ensure const_int pow2 is positive.
1460
9628a767
HP
14612001-07-13 Hartmut Penner <hpenner@de.ibm.com>
1462
23190837
AJ
1463 * config.gcc: Add configuration for s/390.
1464 * config/s390/s390.c: New. Subroutines for code generation.
9628a767
HP
1465 * config/s390/s390.h: New. Definitions for s/390.
1466 * config/s390/s390-protos.h: New. Prototypes.
1467 * config/s390/linux.h: New. Definitions for linux for s/390.
1468 * config/s390/linux64.h: New. Definitions for linux for zSeries.
23190837
AJ
1469 * config/s390/t-linux: New. Makefile fragment.
1470 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
9628a767 1471 * config/s390/fixdfdi.h: New. Fix L_fix*di.
23190837 1472
f3ba35e4
JH
1473Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
1474
1475 * emit-rtl.c (try_split): Update mark_jump_label call.
1476 * flow.c (find_sub_basic_blocks): Likewise.
1477 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
1478 jump_back_p): Kill.
1479 (mark_all_labels): Kill second parameter.
1480 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
1481 (rebuild_jump_labels, jump_optimize_minimal): Update call
1482 of jump_optimize_1.
1483 (jump_optimize_1): Kill crossjumping code.
1484 (mark_jump_label): Kill cross_jump parameter.
1485 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
1486 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
1487 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
1488 splitting.
1489 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
1490 DFI_bpro.
1491 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
1492 reorganize passes to do reg-stack first, bb-reorder second.
1493 * invoke.texi (-d letters doc): Remove the jump2 pass.
1494
448d17f9
SE
14952001-07-12 Steve Ellcey <sje@cup.hp.com>
1496
1497 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
1498
6691db8e
JH
1499Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
1500
1501 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
1502 basic blocks.
1503 (verify_flow_info): Make diagnostics prettier.
1504
c35e85f9
JH
1505Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
1506
1507 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
1508
1509 * flow.c (outgoing_edges_match): Return early if condition reversal
1510 failed.
1511
51c6b247
RS
15122001-07-06 Richard Sandiford <rsandifo@redhat.com>
1513
1514 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
1515 (mips_move_2words): When splitting a move into two instructions,
1516 prefix the second address operand with '%D'.
1517
a5a42b92
NB
15182001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
1519
1520 * Makefile.in (final.o): Depend on debug.h.
1521 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
1522 (dbx_debug_hooks): Add new hooks.
1523 (xcoff_debug_hooks): New.
1524 * debug.c (debug_nothing_file_int_int): New.
1525 (do_nothing_debug_hooks): Update.
1526 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
1527 (debug_nothing_file_int_int): New.
1528 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
1529 static, update prototype.
1530 (dwarf2_debug_hooks): Update.
1531 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
1532 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
1533 static, update prototype.
1534 (dwarf_debug_hooks): Update.
1535 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
1536 * final.c: Include debug.h.
1537 (final_scan_insn): Use debug hooks when beginning and ending blocks.
1538 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
1539 static, update prototype.
1540 (sdb_debug_hooks): Update.
1541 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
1542 * toplev.c: Distinguish between xcoff and dbx.
1543
1544 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
1545 Call all debug hooks, not just dwarf ones.
1546
c177db4b
TW
15472001-07-11 Timothy Wall <twall@redhat.com>
1548
4e2db584
RH
1549 * config.gcc: Add configuration for AIX5/IA64.
1550 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
1551 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
c177db4b 1552 support prefix/suffix code.
4e2db584
RH
1553 * config/ia64/t-aix: New. Makefile fragment.
1554 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
c177db4b 1555
4d893612
KH
15562001-07-11 Kazu Hirata <kazu@hxi.com>
1557
1558 * recog.c (validate_change): Fix a comment typo.
1559
7f905405
NB
15602001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
1561
1562 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
1563 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
1564 hooks directly.
1565 * dbxout.c (dbx_debug_hooks): Add new hooks.
1566 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
1567 make static.
1568 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
1569 make static.
1570 * dbxout.h (dbxout_start_new_source_file,
1571 dbxout_resume_previous_source_file): Delete.
1572 * debug.c (do_nothing_debug_hooks): Add new hooks.
1573 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
1574 (debug_nothing_int_charstar, debug_nothing_int): New.
1575 * debug.h (gcc_debug_hooks): New hooks define, undef,
1576 start_source_file and end_source_file.
1577 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
1578 (debug_nothing_int_charstar, debug_nothing_int): New.
1579 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
1580 the conditionally compiled section.
1581 (dwarf2out_start_source_file, dwarf2out_end_source_file,
1582 dwarf2out_define, dwarf2out_undef): Make static.
1583 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
1584 dwarf2out_define, dwarf2out_undef): Remove.
1585 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
1586 (dwarfout_start_source_file, dwarfout_end_source_file,
1587 dwarfout_define, dwarfout_undef): Make static.
1588 (dwarfout_start_source_file_check,
1589 dwarfout_end_source_file_check): New.
1590 (dwarfout_define, dwarfout_finish): Update.
1591 * dwarfout.h (dwarfout_start_new_source_file,
1592 dwarfout_resume_previous_source_file, dwarfout_define,
1593 dwarfout_undef): Remove.
1594 * sdbout.c (sdb_debug_hooks): Add new hooks.
1595 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
1596 make static.
1597 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
1598 make static, take an arg.
1599 * sdbout.h (sdbout_start_new_source_file,
1600 sdbout_resume_previous_source_file): Delete.
1601 * toplev.c (debug_start_source_file, debug_end_source_file,
1602 debug_define, debug_undef): Delete.
1603 * toplev.h (debug_start_source_file, debug_end_source_file,
1604 debug_define, debug_undef): Delete.
1605
1606 * java/jcf-parse.c: Include debug.h.
1607 (parse_class_file): Update to use debug hooks directly.
1608 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
1609
ba4828e0
RK
1610Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1611
1612 * alias.c (set_mem_alias_set): New function.
1613 * rtl.h (set_mem_alias_set): Declare it.
1614 * builtins.c (expand_builtin_return_addr): Call it instead of
1615 using MEM_ALIAS_SET accessor.
1616 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
1617 (get_memory_rtx, expand_builtin_va_arg): Likewise.
1618 (expand_builtin_va_copy):Likewise.
1619 * caller-save.c (setup_save_areas): Likewise.
1620 * calls.c (compute_argument_addresses): Likewise.
1621 * explow.c (set_mem_attributes): Likewise.
1622 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
1623 (expand_assignment, store_constructor_field, store_field): Likewise.
1624 (expand_expr_unaligned): Likewise.
1625 * function.c (assign_stack_temp_for_type): Likewise.
1626 (put_reg_into_stack, gen_mem_addressof): Likewise.
1627 * ifcvt.c (noce_try_cmove_arith): Likewise.
1628 * reload1.c (reload, alter_reg): Likewise.
1629 * config/alpha/alpha.c (get_aligned_mem): Likewise.
1630 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
1631 (alpha_expand_unaligned_store): Likewise
1632 (alpha_expand_unaligned_load_words): Likewise.
1633 (alpha_expand_unaligned_store_words): Likewise.
1634 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
1635 (alpha_expand_epilogue): Likewise.
1636 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
1637 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
1638 * config/i386/i386.c (legitimize_pic_address): Likewise.
1639 * config/i960/i960.c (setup_incoming_varargs): Likewise.
1640 * config/ia64/ia64.c (spill_restore_mem): Likewise.
1641 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
1642 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
1643 * config/mips/mips.c (mips_va_arg): Likewise.
1644 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
1645 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
1646 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
1647 (setup_incoming_varargs, rs6000_va_arg): Likewise.
1648 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
1649 (rs6000_emit_epilogue): Likewise.
1650 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
1651 * config/sparc/sparc.c (sparc_va_arg): Likewise.
1652 * config/v850/v850.c (v850_va_arg): Likewise.
1653
46fac664
JH
1654Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
1655
1656 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
1657 when fallthru edge is present.
1658 (mege_blocks): Handle case where creation of jump insn
1659 is required.
1660
1661 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
1662 CLEANUP_POST_REGSTACK): New constants.
1663 * except.c (finish_eh_generation): Update call of cleanup_cfg,
1664 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
1665 * output.h (cleanup_cfg): Update prototype.
1666 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
23190837 1667 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
46fac664
JH
1668 cleanup_cfg call; kill missleading comment.
1669 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
1670 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
1671 parameter; control optimizations performed using it.
1672 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
1673 try_crossjump_bb): New functions.
1674
9acc24a5
JDA
16752001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1676
1677 * pa.c (pa_output_function_prologue): Delete prototype. Make function
1678 extern.
1679 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
1680 pa_output_function_prologue.
1681 * pa-protos.h (pa_output_function_prologue): New prototype.
1682
9312aecc
JDA
16832001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1684
1685 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
1686 and low to get correct sign extension in low+high test.
1687
dec2b703
JJ
16882001-07-11 Janis Johnson <janis@us.ibm.com>
1689
4b9664e2
JJ
1690 * gcov.c (arcdata): Use gcov_type to fix branch percentage
1691 for large hit count.
1692
dec2b703
JJ
1693 * profile.c (branch_prob): Fix .bbg info for computed gotos
1694 and C++ EH code.
1695
40b18c0a
MM
16962001-07-11 Mark Mitchell <mark@codesourcery.com>
1697
23190837 1698 * stmt.c (parse_output_constraint): New function, split out
40b18c0a
MM
1699 from ...
1700 (expand_asm_operands): ... here. Use parse_output_constraint.
1701 * tree.h (parse_output_constraint): Declare it.
1702
a615c28a
RH
17032001-07-11 Richard Henderson <rth@redhat.com>
1704
1705 * bitmap.c: Comment some functions; fiddle whitespace.
1706 (bitmap_free): Don't export.
1707 (bitmap_element_allocate): Use memset.
1708 * bitmap.h (bitmap_free): Don't declare.
1709
5a660bff
DB
17102001-07-11 Daniel Berlin <dan@cgsoftware.com>
1711
1712 * gcse.c, lcm.c, sched-deps.c:
1713 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
1714
1715 * flow.c (flow_loops_find): Free dom if we found no loops, since
1716 we aren't going to save it.
1717
1718 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
1719 done.
1720
1a9485cf
JL
1721Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
1722
1723 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
1724
c8383050
RK
1725Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1726
1727 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
1728 #ifndef DWARF2_DEBUGGING_INFO.
1729
bd77ba51
RS
17302001-07-11 Richard Sandiford <rsandifo@redhat.com>
1731
1732 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
1733
b5265b32
RS
17342001-07-11 Richard Sandiford <rsandifo@redhat.com>
1735
1736 * config/mips/mips.c (gen_int_relational): Tell the caller not to
1737 reverse a branch if a NE comparison is implemented with GTU.
1738
b87c8c8c
RS
17392001-07-11 Richard Sandiford <rsandifo@redhat.com>
1740 H.J. Lu <hjl@gnu.org>
1741
1742 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
1743 constant addresses.
1744 (call_internal2): Likewise.
1745 (call_value_internal1): Likewise.
1746 (call_value_internal2): Likewise.
1747 (call_value_multiple_internal1): Likewise.
1748 (call_value_multiple_internal2): Likewise.
1749
0407c02b
KH
17502001-07-10 Kazu Hirata <kazu@hxi.com>
1751
1752 * calls.c (emit_library_call_value_1): Fix a comment typo.
1753 * dwarf2out.c (mem_loc_descriptor): Likewise.
1754 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
1755
a1b2ebc0
DB
17562001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
1757
608fe35b 1758 * simplify-rtx.c (simplify_subreg): Fix typo in comment
a1b2ebc0 1759
07217645
RK
1760Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1761
1762 * recog.c (offsettable_address_p): Handle LO_SUM case.
1763 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
1764 instead of plus_constant.
23190837 1765
91667711
SC
17662001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1767
1768 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
1769 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
1770
d7624dc0
RK
1771Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1772
1773 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
1774 adjust_address_nv instead of plus_constant.
1775
a51d908e
NB
17762001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
1777
1778 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
1779 dwarf2out.o): Depend on debug.h, wrap long lines.
1780 * dbxout.c: Include debug.h.
1781 (dbx_debug_hooks): New.
1782 (dbxout_init): Make static, take just 2 args.
1783 (dbxout_finish): Make static.
1784 * dbxout.h (dbxout_init, dbxout_finish): Delete.
1785 * debug.c: New file.
1786 * debug.h: New file.
1787 * dwarf2out.c: Include debug.h.
1788 (dwarf2_debug_hooks): New.
1789 (dwarf2out_init): Make static.
1790 (dwarf2out_finish): Make static, take 2 args.
1791 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
1792 * dwarfout.c: Include debug.h.
1793 (dwarf_debug_hooks): New.
1794 (dwarfout_init): Make static.
1795 (dwarfout_finish): Make static, take 2 args.
1796 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
1797 * sdbout.c: Include debug.h.
1798 (sdb_debug_hooks): New.
1799 (sdbout_init): Make static, take 2 args.
1800 * sdbout.h (sdbout_init): Delete.
1801 * toplev.c: Include debug.h.
1802 (debug_hooks): New.
1803 (compile_file): Set deubg_hooks based on command line options.
1804 Use the hooks unconditionally rather than conditional compilation.
1805
af5c573a
JL
1806Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
1807
1808 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
1809 first_insn_after_basic_block_note instead.
1810
1811 * df.c (df_bb_refs_unlink): #if 0 out for now.
1812
18132001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
1814
1815 * ssa.h: Add prototype for ssa_const_prop
1816 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
1817 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
1818 (ssa_fast_dce): Remove unused variable
1819
64dfaa76
GDR
18202001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1821
1822 * diagnostic.c (finish_diagnostic): Rename to
1823 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
1824 calls thourghout.
1825
84db136d
JM
18262001-07-10 Jason Merrill <jason_merrill@redhat.com>
1827
8aaf55ac
JM
1828 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
1829 .loc support.
1830
84db136d 1831 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
23190837 1832 (dump_file): Only pad the demangled name with spaces if the
84db136d
JM
1833 mangled name was padded with spaces.
1834
fd052ec3
BS
18352001-07-10 Bernd Schmidt <bernds@redhat.com>
1836
1837 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
1838 edge detection.
1839
62926f0b
RK
1840Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1841
10c2a453
RK
1842 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
1843 extraction if no direct load if either EXPAND_CONST_ADDRESS or
1844 EXPAND_INITIALIZER.
1845
62926f0b
RK
1846 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
1847 whether can put offset inside LO_SUM to check mode alignment, not size.
1848
acdcefcc
GDR
18492001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1850
1851 * doc/tm.texi (Misc): Fix thinko.
1852
07167a18
JM
18532001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
1854
1855 * regmove.c (replace_in_call_usage): Fix warnings.
1856 * sched-deps.c (add_dependence): Fix warnings.
1857 * simplify-rtx.c (simplify_subreg): Likewise.
1858 Return NULL_RTX instead of NULL.
1859
1860 * reg-stack.c (emit_swap_insn): Eliminate warnings.
1861 (subst_asm_stack_regs): Likewise.
1862
1863 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
1864 warnings.
1865
1866 * dwarf2out.c (output_call_frame_info): Declare i as int.
1867 (build_abbrev_table): Declare n_alloc as int.
1868 (dwarf2out_finish): Initialize die.
1869 * except.c: Declare sjlj_funcdef_number as unsigned.
1870 (connect_post_landing_pads): Declare j as unsigned.
1871 (convert_to_eh_region_ranges): Initialize call_site.
1872 (output_function_exception_table): Initialize tt_format_size.
1873 * expr.c (move_by_pieces_1): Initialize to1.
1874 (store_constructor): Initialize minelt and maxelt.
1875 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
1876 * function.c (instantiate_decls): Avoid signed/unsigned warning.
1877
1878 * c-decl.c (combine_parm_decls): Unused, remove.
1879 * c-tree.h: Remove prototype for combine_parm_decls.
1880
1881 * reload.c (push_reload): Fix warning.
1882 (regno_clobbered_p): Likewise.
1883 * reload1.c (replace_pseudos_in_call_usage): Likewise.
1884 (reload_combine): Likewise.
1885
1886 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
1887 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
1888 warnings.
1889 * bitmap.c (bitmap_operation): Change user.
1890 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
1891
4608d36c
EC
18922001-07-10 Eric Christopher <echristo@redhat.com>
1893
1894 * config/mips/mips.c (override_options): Fix typo.
1895
f6155fda
SS
18962001-07-09 Stan Shebs <shebs@apple.com>
1897
1898 * target.h (struct gcc_target): New fields init_builtins and
1899 expand_builtin.
1900 * target-def.h (TARGET_INIT_BUILTINS): New macro.
1901 (TARGET_EXPAND_BUILTIN): New macro.
1902 (TARGET_INITIALIZER): Add them.
1903 * builtins.c: Include target.h.
1904 (expand_builtin): Use targetm.expand_builtin.
1905 (default_init_builtins): New function.
1906 (default_expand_builtin): New function.
1907 * expr.h (default_init_builtins): Declare.
1908 (default_expand_builtin): Declare.
1909 * c-common.c (c_common_nodes_and_builtins): Use
1910 targetm.init_builtins.
1911 * defaults.h (MD_INIT_BUILTINS): Remove.
1912 * Makefile.in (builtins.o): Depend on target.h.
1913
1914 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
1915 (TARGET_EXPAND_BUILTIN): Define.
1916 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
1917 (MD_EXPAND_BUILTIN): Remove.
1918
1919 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
1920 (TARGET_EXPAND_BUILTIN): Define.
1921 (c4x_init_builtins): Make endlink arg a local.
1922 (c4x_print_operand): Fix typos in adjust_address usages.
1923 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
1924 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
1925 (MD_EXPAND_BUILTIN): Remove.
1926
1927 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
1928 (TARGET_EXPAND_BUILTIN): Define.
1929 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
1930 (ix86_init_builtins): Call new function only if TARGET_MMX.
1931 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
1932 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
1933 (MD_EXPAND_BUILTIN): Remove.
1934
1935 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
1936 (TARGET_EXPAND_BUILTIN): Define.
1937 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
1938 (MD_EXPAND_BUILTIN): Remove.
1939
1940 * doc/tm.texi: Document these changes.
1941
2b1d9dc0
DN
19422001-07-09 Diego Novillo <dnovillo@redhat.com>
1943
1944 * basic-block.h (tree_node): Forward declare if needed.
1945 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
1946 (BLOCK_HEAD_TREE): Define.
1947 (BLOCK_END_TREE): Define.
1948 (struct loops): Rename field 'tree' to 'tree_root'.
4608d36c 1949 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
2b1d9dc0
DN
1950 'end_tree'.
1951 (flow_loops_tree_build): Rename reference to field 'tree' to
1952 'tree_root'.
1953 (flow_loops_level_compute): Ditto.
1954 * predict.c (estimate_bb_frequencies): Ditto.
1955 * tree.h (struct tree_common): Add field 'aux'.
1956
70bdc2ff
SS
19572001-07-09 Stan Shebs <shebs@apple.com>
1958
1959 * config/darwin.c (darwin_encode_section_info): Don't mark any
1960 DECL_EXTERNAL node as defined.
1961
d777856d
JDA
19622001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1963
1964 * pa.c (pa_init_machine_status, pa_mark_machine_status,
1965 pa_free_machine_status, hppa_init_pic_save): Delete.
1966 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
1967 (hppa_profile_hook): Use hppa_pic_save_rtx.
1968 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
1969 hppa_init_pic_save): Delete.
1970 (hppa_pic_save_rtx): Declare.
1971 * pa.md (call, call_value, sibcall, sibcall_value,
1972 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
1973
aa3c0d59
KH
19742001-07-09 Kazu Hirata <kazu@hxi.com>
1975
1976 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
1977 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
1978
af076e58
AJ
19792001-07-09 Andreas Jaeger <aj@suse.de>
1980
1981 * output.h: Add declaration of final_forward_branch_p.
1982
1983 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
1984
1985 * varray.c: Include errors.h for internal_error and trim_filename
1986 declarations.
1987
1988 * Makefile.in (varray.o): Add errors.h.
1989
fb7e77d7
TM
19902001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
1991
1992 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
1993 * optabs.c (have_add2_insn): Check whether the add insn chosen
1994 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
1995 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
1996
0b47e4c1
JL
1997Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
1998
1999 * Makefile.in (OBJS): Add ssa-ccp.o
2000 (ssa-ccp.o): Add dependencies.
2001 * toplev.c (DFI_ssa_ccp): New dump file enum.
2002 (dump_file): Add entry for dumping after SSA CCP.
2003 (flag_ssa_ccp): New flag variable.
2004 (f_options): Add -fssa-ccp.
2005 (rest_of_compilation): Run SSA CCP if requested.
2006 * timevar.def (TV_SSA_CCP): New timevar.
2007 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
2008 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
2009 Fix minor typo in SSA DCE documentation.
2010 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
2011 Add documentation for new dump option. Renumber dump files
2012 appropriately.
2013
5222e470
JH
2014Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
2015
2016 * emit-rtl.c (gen_highpart_mode): New.
2017 * rtl.h (gen_highpart_mode): Declare.
2018 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
2019 operand can be VOIDmode constant.
2020
2b2c8b3e
JH
2021Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
2022
2023 * flow.c (redirect_edge_and_branch_force): New.
2024 (can_fallthru): Ensure that basic blocks are succeeding.
2025 (try_optimize_cfg): Do not delete basic block if it is the last one.
2026
2027 * flow.c (try_redirect_by_replacing_jump): Do not remove
2028 jumps with side effects, unlink chain on fallthru edge;
2029 set block for new jump instruction; avoid basic block to
2030 over by line number note.
2031
2032 * flow.c (try_simplify_condjump): Verify that the condjump
2033 is not always falling trought.
2034
2035 Re-install patch:
2036 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
2037
2038 * flow.c (forwarder_block_p): Fix for fallthru blocks.
2039 (try_redirect_by_replacing_jump): Update properly the count
2040 and frequency information.
2041
60a97cd4
RK
2042Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2043
823e3574
RK
2044 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
2045 address that is a LO_SUM specially.
2046 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
2047
60a97cd4
RK
2048 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
2049
2050 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
2051 (operand_subword): Use them.
2052 (change_address_1): Renamed from change_address; new arg VALIDATE.
2053 * expr.h: Reflect above changes; change_address now macro.
2054 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
2055 making MEM.
2056 * cselib.c (add_mem_for_addr): Likewise.
2057 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
2058 * regmove.c (try_apply_stack_adjustment): Likewise.
2059 * reload.c (push_reload, make_memloc): Likewise.
2060 * reload1.c (eliminate_regs): Likewise.
2061 * simplify-rtx.c (simplify_replace_rtx): Likewise.
2062 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
2063 adjust_addess.
2064 * combine.c (make_extraction, simplify_shift_const): Likewise.
2065 (gen_lowpart_for_combine): Likewise.
2066 * cse.c (gen_lowpart_if_possible): Likewise.
2067 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
2068 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
2069 * optabs.c (gen_move_insn): Likewise.
2070 * reload1.c (alter_reg): Likewise.
2071 * simplify-rtx.c (simplify_subreg): Likewise.
2072 * stmt.c (expand_anon_union_decl): Likewise.
2073 * recog.c (validate_replace_rtx_1): Likewise.
2074 (expr.h): Include.
2075 * Makefile.in (recog.o): Add $(EXPR_H).
2076 * explow.c (stabilize): Call replace_equiv_address.
2077 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
2078 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
2079
053a35af
AH
20802001-07-03 Andrew Haley <aph@redhat.com>
2081
2082 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
2083 the mode of the memory location.
2084
db42058b
BT
20852001-07-09 Bo Thorsen <bo@suse.co.uk>
2086
2087 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
2088
17b53c33
NB
20892001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
2090
2091 * final.c (output_addr_const): Use target opening and
2092 closing parentheses.
2093 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
2094 defaults, add to TARGET_ASM_OUT.
2095 * target.h (struct gcc_target): Add open_paren and close_paren.
2096 * doc/md.texi: Update.
2097 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
2098 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
2099 TARGET_ASM_CLOSE_PAREN.
60a97cd4 2100 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
17b53c33 2101 Override.
60a97cd4 2102 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
17b53c33 2103 Override.
60a97cd4
RK
2104 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
2105 * config/a29k/a29k.h: Similarly.
2106 * config/alpha/alpha.h: Similarly.
2107 * config/arc/arc.h: Similarly.
2108 * config/arm/aof.h: Similarly.
2109 * config/arm/aout.h: Similarly.
2110 * config/avr/avr.h: Similarly.
2111 * config/c4x/c4x.h: Similarly.
2112 * config/clipper/clipper.h: Similarly.
2113 * config/convex/convex.h: Similarly.
2114 * config/d30v/d30v.h: Similarly.
2115 * config/dsp16xx/dsp16xx.h: Similarly.
2116 * config/elxsi/elxsi.h: Similarly.
2117 * config/fr30/fr30.h: Similarly.
2118 * config/h8300/h8300.h: Similarly.
2119 * config/i370/i370.h: Similarly.
2120 * config/i386/i386.h: Similarly.
2121 * config/i860/i860.h: Similarly.
2122 * config/i960/i960.h: Similarly.
2123 * config/ia64/ia64.h: Similarly.
2124 * config/m32r/m32r.h: Similarly.
2125 * config/m68hc11/m68hc11.h: Similarly.
2126 * config/m68k/m68k.h: Similarly.
2127 * config/m88k/m88k.h: Similarly.
2128 * config/mcore/mcore.h: Similarly.
2129 * config/mips/mips.h: Similarly.
2130 * config/mn10200/mn10200.h: Similarly.
2131 * config/mn10300/mn10300.h: Similarly.
2132 * config/ns32k/ns32k.h: Similarly.
2133 * config/pa/pa.h: Similarly.
2134 * config/pdp11/pdp11.h: Similarly.
2135 * config/pj/pj.h: Similarly.
2136 * config/romp/romp.h: Similarly.
2137 * config/rs6000/rs6000.h: Similarly.
2138 * config/sh/sh.h: Similarly.
2139 * config/sparc/sparc.h: Similarly.
2140 * config/v850/v850.h: Similarly.
2141 * config/vax/vax.h: Similarly.
2142 * config/we32k/we32k.h: Similarly.
17b53c33 2143
b41df7f6
JM
21442001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
2145
2146 * doc/c-tree.texi: Document representation of attributes.
2147
648c546a
JM
21482001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
2149
2150 * doc/tm.texi: Update some places for the rename of target to
2151 targetm. Fix typo.
2152
12a68f1f
JM
21532001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
2154
2155 * target.h (struct gcc_target): Add insert_attributes.
2156 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
2157 (TARGET_INITIALIZER): Update.
2158 * tree.c, tree.h (default_insert_attributes): New function.
2159 Update comments on other default functions to refer to targetm,
2160 not target.
2161 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
2162 TARGET_INSERT_ATTRIBUTES.
2163 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
2164 * c-common.c (decl_attributes): Use targetm.insert_attributes.
2165 Don't use PRAGMA_INSERT_ATTRIBUTES.
2166 * Makefile.in (c-common.o): Depend on $(TARGET_H).
2167 * c-decl.c (start_decl, start_function): Don't call
2168 SET_DEFAULT_DECL_ATTRIBUTES.
2169 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
2170 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
2171 declare.
2172 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
2173 (c4x_check_attribute): Avoid modifying attribute list itself.
2174 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
2175 Make static.
2176 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
2177 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
2178 declare.
2179 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
2180 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
2181 Make static.
2182 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
2183 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
2184 declare.
2185 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
2186 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
2187 Adjust parameters. Make static.
2188
f7a4cec0
JM
21892001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
2190
2191 * c-common.c (decl_attributes): Only take a single attributes
2192 parameter.
2193 * c-common.h (decl_attributes): Update prototype.
2194 * c-decl.c (start_decl, start_function): Only take a single
2195 attributes parameter. Update calls to decl_attributes.
2196 (finish_struct, finish_enum): Update calls to decl_attributes.
2197 (push_parm_decl): Expect unified list of attributes. Update call
2198 to decl_attributes.
2199 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
2200 notype_nested_function, component_declarator,
2201 component_notype_declarator, label): Update calls to
2202 decl_attributes.
2203 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
2204 lists that are passed to push_parm_decl.
2205 * c-tree.h (start_function, start_decl): Update prototypes.
2206 * config/sh/sh-protos.h, config/sh/sh.c
2207 (sh_pragma_insert_attributes): Only take a single attributes
2208 parameter.
2209 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
2210 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
2211 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
2212 build_module_descriptor, generate_static_references,
2213 generate_strings, build_selector_translation_table,
2214 generate_descriptor_table, generate_protocols,
2215 generate_ivars_list, generate_dispatch_table,
2216 generate_protocol_list, generate_category,
2217 generate_shared_structures, really_start_method, add_objc_decls,
2218 generate_classref_translation_entry): Update calls to start_decl
2219 and start_function.
2220 (build_tmp_function_decl, start_method_def): Unify attribute lists
2221 that are passed to push_parm_decl.
2222
b4c25db2
NB
22232001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
2224
2225 * final.c (no_asm_to_stream): New.
2226 (final_scan_insn): Use target structures for prologue ends
2227 and epilogue starts.
2228 * output.h (no_asm_to_stream): New.
2229 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
2230 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
2231 (TARGET_ASM_OUT): Update.
2232 * target.h (struct gcc_target): New members function_end_prologue
2233 and function_begin_epilogue.
60a97cd4
RK
2234 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
2235 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
2236 * config/alpha/alpha.c (output_end_prologue): Rename to
b4c25db2
NB
2237 alpha_output_function_end_prologue. Use in target struct
2238 and make static.
60a97cd4
RK
2239 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
2240 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
2241 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
b4c25db2
NB
2242 ia64_output_function_end_prologue. Use in target struct
2243 and make static.
2244 (ia64_function_prologue, ia64_funciton_epilogue): Rename
2245 mistyped prototypes.
60a97cd4
RK
2246 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
2247 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
2248 Delete.
2249 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
b4c25db2 2250 an use in target struct, make static.
60a97cd4
RK
2251 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
2252 Delete.
b4c25db2 2253
45c8268d
RH
22542001-07-08 Richard Henderson <rth@redhat.com>
2255
2256 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
2257
d5d6a58b
RH
22582001-07-08 Richard Henderson <rth@redhat.com>
2259
2260 * config/i386/i386.md: Remove constraints strings from define_split
2261 and define_peephole2 patterns.
2262 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
2263 (eh_return): Use them.
2264
7c16328b
RH
22652001-07-08 Richard Henderson <rth@redhat.com>
2266
2267 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
2268 Document MD_FALLBACK_FRAME_STATE_FOR.
2269
8dd5d49d
SC
22702001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2271
2272 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
2273 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
2274 elimination.
2275 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
2276
13daf3c1
NC
22772001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
2278
2279 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
2280 of the label inside NAME as opposed to just the end of NAME.
2281
8289c43b
NB
22822001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
2283
2284 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
2285 * config/alpha/alpha.c (alpha_init_machine_status,
2286 alpha_mark_machine_status, alpha_free_machine_status): Delete.
2287 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
2288 (vms_valid_decl_attribute_p): Make static, conditionally compile.
2289 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
2290
f6897b10
SS
22912001-07-06 Stan Shebs <shebs@apple.com>
2292
2293 * target.h (targetm): Rename global from "target", so as not to
2294 conflict with local variables.
2295 * c-decl.c: Ditto.
2296 * c-typeck.c: Ditto.
2297 * final.c: Ditto.
2298 * tree.c: Ditto.
2299 * cp/decl.c: Ditto.
2300 * cp/decl2.c: Ditto.
2301 * cp/typeck.c: Ditto.
2302 * 1750a/1750a.c: Ditto.
2303 * a29k/a29k.c: Ditto.
2304 * arc/arc.c: Ditto.
2305 * arm/arm.c: Ditto.
2306 * avr/avr.c: Ditto.
2307 * clipper/clipper.c: Ditto.
2308 * convex/convex.c: Ditto.
2309 * d30v/d30v.c: Ditto.
2310 * dsp16xx/dsp16xx.c: Ditto.
2311 * elxsi/elxsi.c: Ditto.
2312 * fr30/fr30.c: Ditto.
2313 * h8300/h8300.c: Ditto.
2314 * i370/i370.c: Ditto.
2315 * i386/i386.c: Ditto.
2316 * i860/i860.c: Ditto.
2317 * i960/i960.c: Ditto.
2318 * ia64/ia64.c: Ditto.
2319 * m32r/m32r.c: Ditto.
2320 * m68hc11/m68hc11.c: Ditto.
2321 * m68k/m68k.c: Ditto.
2322 * m88k/m88k.c: Ditto.
2323 * mips/mips.c: Ditto.
2324 * ns32k/ns32k.c: Ditto.
2325 * pa/pa.c: Ditto.
2326 * pdp11/pdp11.c: Ditto.
2327 * romp/romp.c: Ditto.
2328 * rs6000/rs6000.c: Ditto.
2329 * sh/sh.c: Ditto.
2330 * sparc/sparc.c: Ditto.
2331 * vax/vax.c: Ditto.
2332 * we32k/we32k.c: Ditto.
2333 * doc/tm.texi: Update the manual to match.
2334
84fc8b47
RH
23352001-07-06 Richard Henderson <rth@redhat.com>
2336
2337 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
2338 DWARF2_UNWIND_INFO not just whether it is defined.
2339
4531c1c7
DN
23402001-07-06 Diego Novillo <dnovillo@redhat.com>
2341
2342 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
2343 call to simplify_binary_operation returns a new pattern.
2344
39bd2948
RL
23452001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
2346
2347 * glimits.h (__SHRT_MAX__): New.
2348 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
2349 (SHRT_MAX): Define in terms of __SHRT_MAX__.
2350
8fa2140d
JM
23512001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
2352
2353 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
2354 avoid warnings.
2355
87e08c69
RH
23562001-07-06 Richard Henderson <rth@redhat.com>
2357
2358 * bitmap.c (bitmap_release_memory): Move adjacent to the
2359 allocation functions.
2360 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
2361 the implementation. Binary search for the set bit.
2362 (bitmap_union_of_diff): Allocate the temporary on the stack
2363 instead of using xmalloc.
2364
0dab343a
RH
23652001-07-06 Richard Henderson <rth@redhat.com>
2366
2367 * genrecog.c (validate_pattern): Warn for constraints in
2368 define_{expand,split,peephole2}. Remove strict_low_part
2369 before looking up match_dup.
2370
15c0d35d
DD
23712001-07-06 DJ Delorie <dj@redhat.com>
2372
2373 * doc/gcc.texi (Makefile): Rename to be a more general purpose
2374 chapter about various build hints and history. Add section
2375 talking about the various types of native and cross builds.
2376
00478a05
NB
23772001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
2378
2379 * Makefile.in (final.o): Depend on target.h.
2380 * final.c: Include target.h.
2381 (default_function_pro_epilogue): New.
2382 (final_start_function): Use target structure for function prologues.
2383 (final_end_function): Use target structure for function epilogues.
2384 * fold-const.c (real_hex_to_f): Constify s and p.
2385 * output.h (default_function_pro_epilogue): New.
2386 * real.h (real_hex_to_f): Update prototype.
2387 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
2388 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
2389 (TARGET_INITIALIZER): Update.
2390 * target.h (gcc_target): Add struct asm_out.
2391 * doc/tm.texi: Update.
2392
2393config:
2394 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
2395 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
2396 in cpu/cpu.c, or rename old functions consistently. Take
2397 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
2398 redundant macros and prototypes. Make new functions static.
2399
2400 * 1750a/1750a.c: Similarly.
2401 * 1750a/1750a.h: Similarly.
2402 * a29k/a29k-protos.h: Similarly.
2403 * a29k/a29k.c: Similarly.
2404 * a29k/a29k.h: Similarly.
2405 * arc/arc-protos.h: Similarly.
2406 * arc/arc.c: Similarly.
2407 * arc/arc.h: Similarly.
2408 * arm/arm-protos.h: Similarly.
2409 * arm/arm.c: Similarly.
2410 * arm/arm.h: Similarly.
2411 * avr/avr-protos.h: Similarly.
2412 * avr/avr.c: Similarly.
2413 * avr/avr.h: Similarly.
2414 * clipper/clipper-protos.h: Similarly.
2415 * clipper/clipper.c: Similarly.
2416 * clipper/clipper.h: Similarly.
2417 * convex/convex.c: Similarly.
2418 * convex/convex.h: Similarly.
2419 * d30v/d30v-protos.h: Similarly.
2420 * d30v/d30v.c: Similarly.
2421 * d30v/d30v.h: Similarly.
2422 * d30v/d30v.md: Similarly.
2423 * dsp16xx/dsp16xx-protos.h: Similarly.
2424 * dsp16xx/dsp16xx.c: Similarly.
2425 * dsp16xx/dsp16xx.h: Similarly.
2426 * elxsi/elxsi.c: Similarly.
2427 * elxsi/elxsi.h: Similarly.
2428 * fr30/fr30.c: Similarly.
2429 * fr30/fr30.md: Similarly.
2430 * h8300/h8300-protos.h: Similarly.
2431 * h8300/h8300.c: Similarly.
2432 * h8300/h8300.h: Similarly.
2433 * i370/i370-protos.h: Similarly.
2434 * i370/i370.c: Similarly.
2435 * i370/i370.h: Similarly.
2436 * i386/i386.c: Similarly.
2437 * i386/osf1elf.h: Similarly.
2438 * i386/osfrose.h: Similarly.
2439 * i860/i860-protos.h: Similarly.
2440 * i860/i860.c: Similarly.
2441 * i860/i860.h: Similarly.
2442 * i960/i960-protos.h: Similarly.
2443 * i960/i960.c: Similarly.
2444 * i960/i960.h: Similarly.
2445 * ia64/ia64-protos.h: Similarly.
2446 * ia64/ia64.c: Similarly.
2447 * ia64/ia64.h: Similarly.
2448 * m32r/m32r-protos.h: Similarly.
2449 * m32r/m32r.c: Similarly.
2450 * m32r/m32r.h: Similarly.
2451 * m68hc11/m68hc11-protos.h: Similarly.
2452 * m68hc11/m68hc11.c: Similarly.
2453 * m68hc11/m68hc11.h: Similarly.
2454 * m68k/crds.h: Similarly.
2455 * m68k/dpx2.h: Similarly.
2456 * m68k/m68k-protos.h: Similarly.
2457 * m68k/m68k.c: Similarly.
2458 * m68k/m68k.h: Similarly.
2459 * m68k/news.h: Similarly.
2460 * m88k/m88k-protos.h: Similarly.
2461 * m88k/m88k.c: Similarly.
2462 * m88k/m88k.h: Similarly.
2463 * mips/mips-protos.h: Similarly.
2464 * mips/mips.c: Similarly.
2465 * mips/mips.h: Similarly.
2466 * ns32k/merlin.h: Similarly.
2467 * ns32k/ns32k.c: Similarly.
2468 * ns32k/ns32k.h: Similarly.
2469 * ns32k/tek6000.h: Similarly.
2470 * pa/pa-protos.h: Similarly.
2471 * pa/pa.c: Similarly.
2472 * pa/pa.h: Similarly.
2473 * pdp11/2bsd.h: Similarly.
2474 * pdp11/pdp11-protos.h: Similarly.
2475 * pdp11/pdp11.c: Similarly.
2476 * pdp11/pdp11.h: Similarly.
2477 * romp/romp-protos.h: Similarly.
2478 * romp/romp.c: Similarly.
2479 * romp/romp.h: Similarly.
2480 * rs6000/rs6000-protos.h: Similarly.
2481 * rs6000/rs6000.c: Similarly.
2482 * rs6000/rs6000.h: Similarly.
2483 * rs6000/sysv4.h: Similarly.
2484 * sh/sh-protos.h: Similarly.
2485 * sh/sh.c: Similarly.
2486 * sh/sh.h: Similarly.
2487 * sparc/sparc-protos.h: Similarly.
2488 * sparc/sparc.c: Similarly.
2489 * sparc/sparc.h: Similarly.
2490 * vax/vax.c: Similarly.
2491 * vax/vax.h: Similarly.
2492 * vax/vms.h: Similarly.
2493 * we32k/we32k.c: Similarly.
2494 * we32k/we32k.h: Similarly.
2495
b62c8881
JL
2496Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
2497
2498 * basic-block.h (first_insn_after_basic_block_note): Declare.
2499 * flow.c (first_insn_after_basic_block_note): Define. Moved
2500 from...
2501 * ssa.c (first_insn_after_basic_block_note): Remove.
2502 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
2503 necessary.
2504 (ssa_eliminate_dead_code): Properly update the CFG and PHI
2505 nodes when we find a dead conditional branch. Insert BARRIERs
2506 after any blocks with no successors, but which do not have
2507 any BARRIERs.
2508
9d99ca5b
ZW
25092001-07-06 Zack Weinberg <zackw@stanford.edu>
2510
2511 * varray.c (varray_check_failed): Use internal_error.
2512
fc6aa0a9
AH
25132001-07-05 Andrew Haley <aph@redhat.com>
2514
2515 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
2516 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
2517 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
2518
6331d1c1
JM
25192001-07-02 Jason Merrill <jason_merrill@redhat.com>
2520
2521 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
2522 reference if the target constant is also a SYMBOL_REF.
2523
7dac2f89
EC
25242001-07-05 Eric Christopher <echristo@redhat.com>
2525
6331d1c1
JM
2526 * config/mips/mips.h (MASK_MIPS3900): Remove.
2527 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
2528 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
2529 (TARGET_MIPS3900): Change to use mips_arch.
2530 (TARGET_MIPS4000): New.
2531 (TARGET_MIPS4100): New.
2532 (TARGET_MIPS4300): New.
2533 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
2534 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
2535 for -mipsX.
2536 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
2537 (ISA_HAS_BRANCHLIKELY): To here.
2538 (CC1_CPU_SPEC): New.
2539 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
2540 (mips_arch_string): Declare.
2541 (mips_arch): Declare.
2542 (TARGET_OPTIONS): Add -march and -mtune.
2543
2544 * config/mips/mips.c (mips_arch_string): New.
2545 (mips_arch): New.
2546 (override_options): Handle -march for codegen and -mtune
2547 for scheduling. Use mips_arch. Move tx39 target default here.
2548 (mips_parse_cpu): Move error message to override_options.
2549
2550 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
2551
2552 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
2553
2554 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
2555 (MIPS Options): Ditto. Change mcpu entry to historical text.
7dac2f89
EC
2556
25572001-07-05 H.J. Lu (hjl@gnu.org)
2558
4e2db584
RH
2559 * config/mips/mips.c (mips_parse_cpu): New function to parse
2560 -march=*/-mcpu=*.
7dac2f89 2561
a2497896
JW
25622001-07-05 Jim Wilson <wilson@redhat.com>
2563
2564 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
2565 * config/ia64/t-ia64: Likewise.
2566 (LIB1ASMFUNCS): Update comment.
2567
9da6e781
DE
25682001-07-05 David Edelsohn <edelsohn@gnu.org>
2569
2570 * doc/install.texi (Install GCC: Binaries): Fix typo.
2571
43a72755
SC
25722001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2573
7dac2f89
EC
2574 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
2575 reference using the stack pointer, adjust it since we push Y
43a72755
SC
2576 temporarily.
2577 ("*ashrsi3"): Likewise.
2578 ("*lshrsi3"): Likewise.
2579
35f0a736
SC
25802001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2581
2582 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
2583 when -fomit-frame-pointer is used.
2584
35428bb9
JO
25852001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
2586
2587 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
2588 (try_redirect_by_replacing_jump): Reverse updating properly the
2589 count and frequency information. Reverse removing cc0 setter.
2590 (forwarder_block_p): Reverse fixing for fallthru blocks.
2591
0259b07a
DD
25922001-07-05 DJ Delorie <dj@redhat.com>
2593
2594 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
2595 (translate_options): If the above is defined, use it to map
2596 given options to new options.
2597 * doc/tm.texi: Document it.
2598
081ca317
BL
25992001-07-05 Brad Lucier <lucier@math.purdue.edu>
2600 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2601
2602 * doc/invoke.texi (Optimize Options): Document that -fgcse may
2603 cause programs using computed gotos to run more slowly.
2604
021c4bfd
RO
26052001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2606
2607 * doc/install.texi (Specific): Markup, spelling and typo fixes.
2608 Fixed sorting.
2609 Consistently require binutils 2.11.2, not prereleases.
2610 (Specific, decstation-*): Canonicalize as mips-dec-*.
2611 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
2612 always necessary.
2613 (Specific, m68k-altos): Removed reference to README.altos, deleted.
2614 (Specific, mips-*): Reword MIPS C compiler requirements.
2615 (Specific, powerpc*-*-*): New, mention --with-cpu once.
2616 (Specific, sunv5): Removed, obsolete.
2617
aafdcfcd
NS
26182001-07-05 Nathan Sidwell <nathan@codesourcery.com>
2619
2620 * dwarf2out.c (output_loc_list): Use an all ones mask for
2621 .text asm output and don't rely on long long
2622 literals. Reformat some long lines.
2623
6c7f693e
AJ
26242001-07-05 Andreas Jaeger <aj@suse.de>
2625
2626 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
2627 section.
2628
cc260610
DB
26292001-07-04 Daniel Berlin <dan@cgsoftware.com>
2630
2631 * dwarf2out.c (dwarf2out_define): Update comment.
2632 (dwarf2out_undef): Ditto.
2633 (dwarf2out_start_source_file): Ditto.
2634 (dwarf2out_end_source_file): Ditto.
2635 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
2636 since we never call the start/end debug hook for the primary file.
2637
cc32b876
KH
26382001-07-04 Kazu Hirata <kazu@hxi.com>
2639
2640 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
2641 from shll.
2642
dbead49c
NS
26432001-07-04 Nathan Sidwell <nathan@codesourcery.com>
2644
2645 * cppinit.c (remove_dup_dirs): Inform if a system include
4e2db584 2646 directory is being reordered.
dbead49c
NS
2647 * doc/invoke.texi (Directory Options): GCC warns if you hide a
2648 system include.
2649 * doc/cpp.texi (Search Paths): Likewise.
2650 * doc/gcc.texi (Interoperation): Remove information about
2651 -I/usr/include.
2652
0cf97c8b
NS
26532001-07-04 Nathan Sidwell <nathan@codesourcery.com>
2654
2655 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
2656 (VARRAY_TOP_CHAR_PTR): Likewise.
2657
bbed13b1
KG
26582001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2659
2660 * gcc.c (process_command): Don't assign elements of a const char*.
2661
2b1b6bf9
RK
2662Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2663
2664 * emit-rtl.c (change_address): Don't abort if invalid address while
2665 reload is in progress.
2666
84a5b4f8
DB
26672001-07-04 Daniel Berlin <dan@cgsoftware.com>
2668
2669 * c-lex.c (cb_file_change): Pass line number to
6c7f693e 2670 debug_start_source_file.
84a5b4f8
DB
2671 (cb_undefine): Pass correct line number to debug_undef.
2672
2673 * toplev.c (debug_start_source_file): Add line number to
2674 parameters. Pass it along to dwarf2out_start_source_file.
2675 (decode_g_option): Stop resetting debug level back to normal when
2676 we change debug formats, unless the current level is
2677 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
2678 3).
6c7f693e 2679
84a5b4f8
DB
2680 * toplev.h (debug_start_source_file): Add line number to
2681 parameters.
6c7f693e 2682
2b1b6bf9
RK
2683 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
2684 parameters.
84a5b4f8
DB
2685
2686 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
2687 parameters.
6c7f693e 2688 Output debug_macinfo data for starting file if requested.
84a5b4f8
DB
2689 (dwarf2out_end_source_file): Output debug_macinfo data for ending
2690 file if requested.
2b1b6bf9
RK
2691 (dwarf2out_define): Output debug_macinfo data for defining a macro
2692 if requested.
84a5b4f8
DB
2693 (dwarf2out_undef): Output debug_macinfo data for undefining a
2694 macro if requested.
2695 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
2696 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
2697 (macinfo_section_label): New. DWARF2 macro info section label.
2698 (dwarf2out_init): If we want macro info, output the start label
2699 for the section.
2700 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
2701 attribute to the compilation unit die pointing to the macro info.
2702
27032001-07-04 Daniel Berlin <dan@cgsoftware.com>
2704
2705 * dwarf2out.c (new_loc_list): Move to inside #ifdef
2706 DWARF2_DEBUGGING_INFO.
2707 (add_loc_descr_to_loc_list): Ditto.
2708 (output_loc_list): Ditto.
2709 Also, fix thinko in curr not being initialized.
2710 (gen_internal_sym): Ditto.
6c7f693e 2711
792760b9
RK
2712Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2713
2714 * emit-rtl.c (replace_equiv_address): New function.
2715 * expr.h (replace_equiv_address): New declaration.
2716 * explow.c (validize_mem): Call it instead of change_address and
2717 also call if -fforce-addr and address is constant.
2718 * expr.c: Replace more calls to change_address with adjust_address
2719 and/or replace_equiv_address or to validize_mem.
2720 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
2721 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
2722 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
2723 * config/i370/i370.md, config/i860/i860.md: Likewise.
2724 * config/i960/i960.md, config/mips/mips.c: Likewise.
2725 * config/mips/mips.md, config/pa/pa.md: Likewise.
2726 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
2727 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
2728
266aae9b
KG
27292001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2730
2731 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
2732
2733 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
2734 function.
2735
0671eaf6
JM
27362001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
2737
2738 * doc/include: New directory.
2739 * doc/fdl.texi: Move to doc/include/fdl.texi.
2740 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
2741 * doc/include/funding.texi, doc/include/gpl.texi: New files.
2742 * doc/gcc.texi: Use funding.texi and gpl.texi.
2743 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
2744 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
2745 Update dependencies and use -I $(docdir)/include.
2746
77b6797a
AG
27472001-07-04 Anthony Green <green@redhat.com>
2748
2749 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
2750
e9d21442
GP
27512001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2752
2753 * doc/install.texi (sparc64-*-*): Remove garbage.
2754
d2037d01
JM
2755Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
2756
2757 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
2758 Fix typo in last change to use adjust_address.
2759
37324a54
GP
27602001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2761
2762 * doc/install.texi (Specific): Update information for *-*-solaris*.
2763
17ab7c59
RK
2764Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2765
2766 * explow.c (plus_constant_wide): Reinitialize Y for restart.
2767
70fb5453
SS
27682001-07-03 Stan Shebs <shebs@apple.com>
2769
0cf97c8b 2770 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
70fb5453
SS
2771 case for flag_no_mach_text_sections.
2772 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
0cf97c8b
NS
2773 * config/darwin.c (flag_no_mach_text_sections): Remove.
2774 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
70fb5453 2775
b72f00af
RK
2776Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2777
2778 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
2779 and avoid checking for constant as first operand.
2780 * recog.c (find_constant_term_loc): No longer static.
2781 (adj_offettable_operand): Delete.
2782 * rtl.h (adj_offsettable_operand): Delete declaration.
2783 (find_constant_term): Add declaration.
2784 * caller-save.c: Replace calls to adj_offsettable_operand with calls
2785 to adjust_address.
2786 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
2787 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
2788 * config/i386/i386.c, config/i386/i386.md: Likewise.
2789 * config/i860/i860.c, config/i960/i960.c: Likewise.
2790 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
2791 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
2792 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
2793 * config/mips/mips.c, config/mips/mips.md: Likewise.
2794 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
2795 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
2796 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
2797 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
2798 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
2799 * config/ns32k/ns32k.md: Likewise.
2800
3b324340
ZW
28012001-07-03 Zack Weinberg <zackw@stanford.edu>
2802
2803 * rtl.c (copy_rtx): Handle 'T' format letter.
2804 * gensupport.c (collect_insn_data): Likewise.
2805 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
2806
bf4eebe0
NC
28072001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2808
2809 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
2810 -B option. Use 'dir' not 'foo' as example directory name.
2811
c1911346
RO
28122001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2813
2814 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2815 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
2816
f89dec57
JM
28172001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
2818
2819 * doc/cppinternals.texi: Improve formatting and logical markup.
2820
5b7c7046
AJ
28212001-07-03 Andreas Jaeger <aj@suse.de>
2822
2823 * Makefile.in (insn-recog.o): Add dependency on reload.h.
2824
2825 * genrecog.c (write_header): Include reload.h for prototypes in
2826 insn-recog.c.
2827
f5f4be42
NB
28282001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
2829
2830config:
2831 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
2832 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
2833 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
2834 i386_pe_valid_type_attribute_p): Add.
2835 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
2836 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
2837
ed8908e7
RK
2838Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2839
2840 * explow.c (plus_constant_wide, case LO_SUM): New case.
2841 (plus_constant_for_output_wide): Delete.
2842 * rtl.h (plus_constant_for_output): Delete.
2843 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
2844 instead of plus_constant_for_output.
2845 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
2846 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
2847 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
2848 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
2849 * config/sparc/sparc.md: Likewise.
2850 Convert some change_address calls to adjust_address.
2851
aee96fe9
JM
28522001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
2853
2854 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
2855 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
2856 documentation of -std and -Wwrite-strings.
2857
8bf4dfc2
GK
28582001-07-02 Geoffrey Keating <geoffk@redhat.com>
2859
2860 * cse.c (canon_hash): Don't register registers in very small
2861 register classes, as extending their lifetime might cause
2862 reload to fail.
2863
f8d1529b
JH
2864Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
2865
2866 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
2867
2868 * flow.c (forwarder_block_p): Fix for fallthru blocks.
2869 (try_redirect_by_replacing_jump): Update properly the count
2870 and frequency information.
2871
0826f1d8
JL
2872Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
2873
2874 * toplev.c (dump_file_index): Move SSA dumps just after first
2875 jump dump.
2876 (dump_file): Corresponding changes.
2877 (rest_of_compilation): Move SSA path to just after the first
2878 jump pass.
2879 * doc/gcc.texi (Passes): Update due to movement of SSA path.
2880 * doc/invoke.texi: Update dump file #s as they were completely
2881 out of date with reality.
2882
918a6124
GK
28832001-07-02 Geoffrey Keating <geoffk@redhat.com>
2884
2885 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
2886
2887 * expr.c (emit_move_insn_1): Deal with non-default
2888 STACK_PUSH_CODE.
2889
2890 * expr.c (emit_single_push_insn): Fix warning.
2891
28922001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
2893
2894 * expr.c (emit_move_insn_1): Avoid modifying
2895 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
2896
f4ef873c
RK
2897Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2898
2899 * emit-rtl.c (adjust_address): New function.
2900 * expr.h (adjust_address): Add declaration.
2901 * builtins.c: Replace some calls to change_address with calls to it
2902 or to validize_mem.
2903 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
2904 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
2905 * config/arm/arm.c, config/convex/convex.c: Likewise.
2906 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
2907 * config/i386/i386.c, config/i386/i386.md: Likewise.
2908 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
2909 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
2910 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
2911 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
2912 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
2913
becbcf96
JW
29142001-07-02 Jim Wilson <wilson@redhat.com>
2915
2916 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
2917
29182001-07-02 Steve Ellcey <sje@cup.hp.com>
2919
4e2db584
RH
2920 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
2921 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
becbcf96 2922
a01eb545
ZW
29232001-07-02 Zack Weinberg <zackw@stanford.edu>
2924
2925 * cppinit.c (lang_defaults): New table.
2926 (set_lang): Just read from lang_defaults into the live options
2927 structure.
2928
51817b10
ZW
29292001-07-02 Zack Weinberg <zackw@stanford.edu>
2930
2931 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
2932 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
2933 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
2934
eea81d3e
RO
29352001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2936
2937 * doc/install.texi: Various spelling and markup fixes.
2938 (Installing GCC): Component specific installation instructions are
2939 gone.
2940 Fix reference.
2941 Warn about removing old install dir in the presence of shared libs.
2942 (Configuration): Invoke with options target to match configure
2943 --help.
2944 Consistently refer to gas, gld pathnames.
2945 Invert --enable-multilib documentation.
2946 Remove references to old compiler versions.
2947
faf041ed
RK
2948Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2949
2950 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
2951
213ba345
RO
29522001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2953
2954 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
2955 section.
2956 (Specific, mips*-sgi-irix5): Note IDO download.
2957 Reworded MIPS C hints.
2958 Use GNU as instead of GAS.
2959 Markup fixes.
2960 Removed SGI Freeware reference, IRIX 6 only.
2961 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
2962 Note N64 library requirement/workaround.
2963 Update O32 hints.
2964 Complete list of structure passing bug victims.
2965
b9063b3d
GP
29662001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2967
2968 * doc/install.texi: Remove CVS Id.
2969
766890e1
AJ
29702001-07-02 Andreas Jaeger <aj@suse.de>
2971
2972 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
2973 (find_inherently_necessary): Remove unused variable.
2974
6be77748
NS
29752001-07-02 Nathan Sidwell <nathan@codesourcery.com>
2976
2977 * c-common.h (TDI_inlined): New ast dump phase.
2978 (dump_flag_name): New function.
2979 * c-dump.c (dump_files): Add inlined phase.
2980 (dump_flag_name): Define.
2981 * doc/invoke.texi (-fdump-ast-inlined): Document.
2982
3aa12a58
RK
2983Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2984
2985 * stor-layout.c (layout_decl): Revert change to handling of alignment
2986 in packed types.
2987
21266f81
RK
2988Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2989
2990 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
2991 for FIELD_DECL.
2992
1cc5e432
GK
29932001-07-01 Geoffrey Keating <geoffk@redhat.com>
2994
2995 * doc/tm.texi (FUNCTION_ARG): Document that the last call
2996 is special.
2997
3746c4a2
NS
29982001-07-01 Nathan Sidwell <nathan@codesourcery.com>
2999
3000 * tlink.c (recompile_files): Remove COMPILER_PATH and
3001 LIBRARY_PATH from the environment.
3002
b8363a24
ZW
30032001-07-01 Zack Weinberg <zackw@stanford.edu>
3004
3005 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
3006 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
3007 enumerators.
3008 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
3009
3010 * c-parse.in (OBJC_STRING): Kill.
3011 (objc_string): Decompose to [objc_string] '@' STRING.
3012 (reswords): Take the leading '@' off all the Objective C keywords.
3013 (objc_rid_sans_at): Kill.
3014 (init_reswords): Don't initialize it.
3015 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
3016 (_yylex): Kill reconsider label. Look ahead one token after
3017 an '@'; if we get an identifier, check whether it's an
3018 Objective C @-keyword. If so, return the keyword. Otherwise,
3019 put back the token and return the '@' as a terminal.
3020
3021 * cpplib.c (lex_macro_node): Remove unnecessary check for
3022 leading '@' on identifier. Clarify control flow and commentary.
3023
be8ac49a
RK
3024Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3025
3026 * cse.c (new_label_ref): Variable deleted.
3027 (insert): Remove set of new_label_ref.
3028 (check_for_label_ref): New function.
3029 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
3030
528aeb48 3031See ChangeLog.5 for earlier changes.