]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
configure.in (CROSS): Define NATIVE_CROSS.
[gcc.git] / gcc / ChangeLog
CommitLineData
343f59d9
AM
12002-05-23 Alan Modra <amodra@bigpond.net.au>
2
3 * configure.in (CROSS): Define NATIVE_CROSS.
4 * configure: Regenerate.
5 * gcc.c (STARTFILE_PREFIX_SPEC): Define.
6 (startfile_prefix_spec): New var.
7 (static_specs): Add startfile_prefix_spec.
8 (do_spec_2): Split out from..
9 (do_spec): ..here.
10 (main): Process startfile_prefix_spec.
11 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
12 dynamic linker.
13 (STARTFILE_PREFIX_SPEC): Define.
14 (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
15 absolute paths.
16
df383483
KH
172002-05-22 Kazu Hirata <kazu@cs.umass.edu>
18
19 * cpperror.c: Fix formatting.
20 * cppexp.c: Likewise.
21 * cppfiles.c: Likewise.
22 * cpphash.c: Likewise.
23 * cpphash.h: Likewise.
24 * cppinit.c: Likewise.
25 * cpplex.c: Likewise.
26 * cpplib.c: Likewise.
27 * cppmacro.c: Likewise.
28 * cppmain.c: Likewise.
29 * cppspec.c: Likewise.
30
2dd36f90
JJ
312002-05-22 Jakub Jelinek <jakub@redhat.com>
32
33 * combine.c (force_to_mode): Use gen_int_mode.
34 Don't clear CONST_INT bits outside of mode.
35
8dc02d7f
RH
362002-05-22 Richard Henderson <rth@redhat.com>
37
38 * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
39 * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
40
45f79783
JJ
412002-05-22 Jakub Jelinek <jakub@redhat.com>
42
43 PR c/6643
44 * emit-rtl.c (widen_memory_access): Only call compare_tree_int
45 if DECL_SIZE_UNIT is INTEGER_CST.
46
19f71cd7
RH
472002-05-22 Richard Henderson <rth@redhat.com>
48
49 * flow.c (life_analysis): Delete broken reg_label check.
50
d5bcfcce
RH
512002-05-22 Richard Henderson <rth@redhat.com>
52
53 * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
54 * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.
55
985d311b 56Wed May 22 18:39:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
5ff94354
R
57
58 * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
59 (embed-bb.c): New rule.
985d311b 60 * t-sh64 (LIB2FUNCS_EXTRA): Don't change.
5ff94354
R
61 * config/sh/embed_bb.c: Delete.
62
985d311b
R
63Wed May 22 18:25:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
64
65 * c-common.c (cb_register_builtins): Don't indent '#' of #define.
66
f6d45746
KH
672002-05-22 Kazu Hirata <kazu@cs.umass.edu>
68
69 * config/h8300/h8300.md (*andorqi3): New.
70
e5f3b786
NB
712002-05-22 Neil Booth <neil@daikokuya.demon.co.uk>
72
73 PR preprocessor/6517
74 * Makefile.in: Update.
75 * c-common.c (c_common_post_options): Add preprocessor
76 errors to the error count.
77 * c-lang.c (c_post_options): Kill.
78 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
79 * hooks.h: Add header guards.
80 * langhooks-def.h: Include hooks.h.
81 (LANG_HOOKS_POST_OPTIONS): Update.
82 * langhooks.h (struct lang_hooks): Update post_options.
83 * toplev.c (parse_options_and_default_flags): Update.
84objc:
85 * objc-lang.c (objc_post_options): Kill.
86 (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
87
4c526be3
BK
882002-05-21 Bruce Korb <bkorb@gnu.org>
89
90 * fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
021c1f34
BK
91 * fixinc/inclhack.def(thread_keyword): use c_fix = format.
92 * fixinc/fixincl.x: regen.
4c526be3 93
f87c27b4
KH
942002-05-21 Kazu Hirata <kazu@cs.umass.edu>
95
96 * cfgbuild.c: Fix formatting.
97 * cfg.c: Likewise.
98 * cfgcleanup.c: Likewise.
99 * cfglayout.c: Likewise.
100 * cfgloop.c: Likewise.
101 * cfgrtl.c: Likewise.
102
3d78f2e9
RH
1032002-05-21 Richard Henderson <rth@redhat.com>
104
105 * c-common.h (enum rid): Add RID_THREAD.
106 * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
107 (grokdeclarator): Grok __thread.
108 * c-parse.in (reswords): Add __thread.
109 (rid_to_yy): Add RID_THREAD.
110
111 * tree.h (DECL_THREAD_LOCAL): New.
112 (struct tree_decl): Add thread_local_flag.
113 * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
114 * tree.c (staticp): TLS variables are not static.
115
116 * target-def.h (TARGET_HAVE_TLS): New.
117 * target.h (have_tls): New.
118 * output.h (SECTION_TLS): New.
119 * varasm.c (assemble_variable): TLS variables can't be common for now.
120 (default_section_type_flags): Handle .tdata and .tbss.
121 (default_elf_asm_named_section): Handle SECTION_TLS.
122 (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.
123
124 * flags.h (flag_tls_default): Declare.
125 * toplev.c (flag_tls_default): Define.
126 (display_help): Display help for it.
127 (decode_f_option): Set it.
128
129 * doc/extend.texi (Thread-Local): New node describing language-level
130 thread-local storage.
131 * doc/invoke.texi (-ftls-model): Document.
132
133 * fixinc/inclhack.def (thread_keyword): New.
134 * fixinc/fixincl.x: Rebuild.
135
a151daf0
JL
1362002-05-21 Jeffrey A Law <law@redhat.com>
137
c7539aa0
JL
138 * optabs.c (expand_binop): For double-word integer multiplies,
139 do not compute intermediate results into something that is
140 not a register (such as a SUBREG or MEM).
141
a151daf0
JL
142 * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
143 (ix86_sched_reorder): Make sure to initialize scheduling
144 data even when there's only one insn in the ready queue.
145
96b1f73b
VM
1462002-05-21 Vladimir Makarov <vmakarov@redhat.com>
147
148 * genautomata.c (reserv_sets_hash_value): Fix a typo.
149
dceb2b75
VM
1502002-05-21 Vladimir Makarov <vmakarov@redhat.com>
151
152 * genautomata.c (reserv_sets_hash_value): Define hash_value as
153 set_el_t. Transform the hash value into unsigned.
154 (output_cycle_reservs): Fix bug with output of repeated `nothing'.
155 (transform_3): Add code to process `(A,B)+(D,E)'.
156
159d5964
NY
1572002-05-21 NIIBE Yutaka <gniibe@m17n.org>
158
159 * reload1.c (do_output_reload): Run delete_output_reload
160 only if optimizing.
161
cf5124f6
RS
1622002-05-21 Roger Sayle <roger@eyesopen.com>
163
164 PR middle-end/6600
165 * expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
166 larger than INTEGER_CST. (store_by_pieces_1): Use it here...
167 (can_store_by_pieces): ... and here to limit the largest mode used.
168 Add a comment to document this function.
169
380e6ade
RH
1702002-05-21 Richard Henderson <rth@redhat.com>
171
172 * flow.c (life_analysis): Fix test for deleted label.
173
1f95326c
NB
1742002-05-21 Neil Booth <neil@daikokuya.demon.co.uk>
175
176 * doc/tm.texi: Fix typo.
177
2a1dc0d8
ZW
1782002-05-21 Zack Weinberg <zack@codesourcery.com>
179
180 * c-common.c (c_common_init): Set options->unsigned_char from
181 flag_signed_char.
182 (cb_register_builtins): Define __STRICT_ANSI__ and
183 __CHAR_UNSIGNED__ here...
184 * cppinit.c (init_builtins): Not here.
185 (cpp_create_reader): unsigned_char option defaults to 0, not
186 !DEFAULT_SIGNED_CHAR.
187 (COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
188 and -funsigned-char.
189
190 * cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
191 * cpphash.c (_cpp_init_hashtable): Don't set it.
192 * cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
193 directly. Clarify comment.
194
d29146f2 1952002-05-21 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2a1dc0d8 196
f5eb2fc8
ZD
197 * bb-reorder.c (make_reorder_chain_1): Use prev_bb/next_bb to get to
198 neighbouring basic blocks. Use ENTRY_BLOCK_PTR->next_bb instead of
199 BASIC_BLOCK (0). Use EXIT_BLOCK_PTR->prev_bb instead of
200 BASIC_BLOCK (n_basic_blocks - 1).
d29146f2 201 * cfganal.c (can_fallthru, flow_call_edges_add,
f5eb2fc8 202 flow_preorder_transversal_compute): Too.
d29146f2 203 * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
f5eb2fc8
ZD
204 find_sub_basic_blocks): Too.
205 * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Too.
d29146f2 206 * cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
f5eb2fc8
ZD
207 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Too.
208 * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Too.
d29146f2
ZD
209 * combine.c (this_basic_block): Type changed to basic_block.
210 (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
211 nonzero_bits, num_sign_bit_copies, get_last_value_validate,
f5eb2fc8
ZD
212 get_last_value, distribute_notes, distribute_links): Too.
213 * final.c (compute_alignments): Too.
214 * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Too.
215 * function.c (thread_prologue_and_epilogue_insns): Too.
216 * gcse.c (compute_code_hoist_vbeinout): Too.
217 * global.c (build_insn_chain): Too.
218 * ifcvt.c (find_if_block, find_cond_trap): Too.
219 * predict.c (last_basic_block_p, note_prediction_to_br_prob): Too.
220 * regmove.c (regmove_optimize): Too.
221 * resource.c (find_basic_block): Too.
222 * sched-ebb.c (schedule_ebbs): Too.
223 * ssa-dce.c (find_control_dependence, find_pdom): Too.
d29146f2 224
68bd6dd6
AJ
2252002-05-21 Andreas Jaeger <aj@suse.de>
226
227 * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
228
35a76aac
RH
2292002-05-21 Richard Henderson <rth@redhat.com>
230
231 * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
232 unspec names, not numbers.
233
2870428f
JM
2342002-05-21 Joseph S. Myers <jsm28@cam.ac.uk>
235
236 * doc/sourcebuild.texi: Mention snapshot-README and
237 snapshot-index.html as needing updating for new front ends.
238
b0ad77d5
KG
2392002-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
240
241 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
242 disabling checking, and avoid multiple evaluation of RTX.
243
279be7c8
RE
2442002-05-21 Richard Earnshaw <rearnsha@arm.com>
245
246 * bitmap.c (bitmap_find_bit): Return early if we have the correct
247 element cached.
248
193a563a
JH
249Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
250
251 * profile.c (gen_edge_profiler): Set alias set before the memory is
252 used.
253
31825e57
DM
2542002-05-20 David S. Miller <davem@redhat.com>
255
256 * cselib.c (max_value_regs): New.
257 (cselib_lookup, cselib_invalidate_regno): Initialize it when
258 adding new entries to the REG_VALUES table and we are dealing with
259 a hard register.
260 (clear_table): Initialize it.
261 (cselib_invalidate_regno): Use it to determine which hard
262 registers to scan when mode is not VOIDmode.
263
68bd6dd6 2642002-05-20 Duraid Madina <duraid@fl.net.au>
29d83d60
DM
265
266 * tradcpp.c (fixup_newlines): Use old-style function header.
267
e0a09fda
KW
2682002-05-20 Krister Walfridsson <cato@df.lth.se>
269
270 * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
271
e0c13c70
L
2722002-05-20 H.J. Lu (hjl@gnu.org)
273
274 Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
275
276 * config/mips/mips.h (DFMODE_NAN): Defined.
277 (SFMODE_NAN): Likewise.
278
4c11675d 2792002-05-20 Dale Johannesen <dalej@apple.com>
e0c13c70 280
2a1dc0d8
ZW
281 * combine.c (cant_combine_insn_p): Back out my
282 previous patch.
4c11675d 283
6a4d6760
KH
2842002-05-20 Kazu Hirata <kazu@cs.umass.edu>
285
286 * params.c: Fix formatting.
287 * params.h: Likewise.
288 * predict.c: Likewise.
289 * prefix.c: Likewise.
290 * print-rtl.c: Likewise.
291 * print-tree.c: Likewise.
292 * profile.c: Likewise.
293
5715ca64
L
2942002-05-20 H.J. Lu (hjl@gnu.org)
295
296 * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
297
00b89f01
NC
2982002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
299
300 * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
301 switches straight on to the assembler, do not abbreviate them.
302 * config/arm/elf.h (ASM_SPEC): As above.
303 * config/arm/semi.h (ASM_SPEC): As above.
304 * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
305 * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
306 -mcpu=xscale on to the assembler by default.
307 * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
308
1441374b
RH
3092002-05-20 Richard Henderson <rth@redhat.com>
310
311 * cse.c (canon_hash): Reorder do_not_record test. Always
312 allow pic_offset_table_rtx.
313
c0fe508e
TM
3142002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
315
316 * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
317 (expand_binop): Ditto (3 times).
318
f362c762
MM
3192002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
320
321 * Makefile.in (distclean): Remove QMTest stuff.
322 (QMTEST_PATH): New variable.
323 (QMTESTFLAGS): Likewise.
324 (QMTESTRUNFLAGS): Likewise.
325 (QMTEST): Likewise.
326 (QMTEST_GPP_TESTS): Likewise.
327 (QMTEST_DIR): Likewise.
328 (QMTEST_DIR/context): New target.
329 (qmtest-g++): Likeise.
330 (qmtest-gui): Likewise.
331 (QMTEST_DIR/gpp-expected.qmr): Likewise.
332
16861f33
AH
3332002-05-19 Aldy Hernandez <aldyh@redhat.com>
334
2a1dc0d8
ZW
335 * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
336 an altivec register if TARGET_ALTIVEC.
16861f33 337
2a1dc0d8
ZW
338 * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
339 to ALTIVEC_VECTOR_MODE.
340 (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
341 (rs6000_va_arg): Vectors may go in registers if they are not
342 altivec vectors.
16861f33 343
23459e15
KH
3442002-05-19 Kazu Hirata <kazu@cs.umass.edu>
345
346 * protoize.c: Fix formatting.
347
174cc7d1
RH
3482002-05-19 Richard Henderson <rth@redhat.com>
349
350 * gensupport.c (init_include_reader): Merge into ...
351 (process_include): ... here. Simplify composite path creation.
352 Plug memory leaks. Fix file/line number tracking. Do not
353 process_define_cond_exec. Return void.
354 (process_rtx): Don't check process_include return value.
355
918ed612
ZD
3562002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
357
358 * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
359 fields.
360 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
361 traversing basic block chain.
362 (create_basic_block_structure, create_basic_block): Declaration changed.
363 (link_block, unlink_block): Declare.
364 * cfg.c (entry_exit_blocks): Initialize new fields.
365 (link_block, unlink_block): New.
366 (expunge_block_nocompact): Unlink basic block.
367 (dump_flow_info): Print prev_bb/next_bb fields.
368 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
369 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
370 * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
371 * cfgrtl.c (create_basic_block_structure, create_basic_block,
372 split_block, force_nonfallthru_and_redirect, split_edge): Modified.
373 (verify_flow_info): Check that list agrees with numbering.
374
e0322d5c
NB
3752002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
376
377 * c-common.c (preprocessing_asm): New macro.
378 * c-lex.h (builtin_define, builtin_assert): Use pfile.
379doc:
380 * tm.texi: Update.
381config/alpha:
382 * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
383 (CPP_SPEC): Simplify.
384 (TARGET_CPU_CPP_BUILTINS): Update.
385 * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
386 (CPP_SPEC): Simplify.
387 * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
388 (TARGET_OS_CPP_BUILTINS): Update.
389 * osf.h (CPP_XFLOAT_SPEC): Kill.
390 (TARGET_OS_CPP_BUILTINS): Update.
391 (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
392 * osf5.h (CPP_XFLOAT_SPEC): Kill.
393 * vms.h (CPP_SUBTARGET_SPEC): Kill.
394 (TARGET_OS_CPP_BUILTINS): Update.
395
121f5c2c
RH
3962002-05-19 Richard Henderson <rth@redhat.com>
397
398 * varasm.c (default_binds_local_p): Fix typo.
399
651c5ed9
MM
4002002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
401
402 * config/avr/avr.c (machine_dependent_reorg): Sign extend the
403 CONST_INT operand to the correct mode after adding 1 to it.
404
bce0deb2
MM
4052002-05-19 Mark Mitchell <mark@codesourcery.com>
406
407 * config.gcc (powerpc-wrs-windiss*): New target.
408
4aa74a4f
FS
4092002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
410
411 * config/rs6000/rs6000.md (ashrdi3_no_power): New.
412 (ashrdi3): Use it.
413
a15135c9
MM
4142002-05-18 Mark Mitchell <mark@codesourcery.com>
415
416 * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
417 alphasort.
418 * config.in: Regenerated.
419 * configure: Regenerated.
420
47754fd5
RH
4212002-05-19 Richard Henderson <rth@redhat.com>
422
423 * target-def.h (TARGET_BINDS_LOCAL_P): New.
424 * target.h (struct gcc_target): Move boolean fields to the end.
425 Add binds_local_p.
426 * varasm.c (default_binds_local_p): New.
427 * output.h: Declare it.
428
429 * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
430 * config/cris/cris.c (cris_encode_section_info): Likewise.
431 * config/i386/i386.c (i386_encode_section_info): Likewise.
432 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
433 * config/sh/sh.c (sh_encode_section_info): Likewise.
434
435 * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
436 (TARGET_BINDS_LOCAL_P): New.
437
fc881338
RH
4382002-05-19 Richard Henderson <rth@redhat.com>
439
440 * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
441 FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
442 MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
443
444 * toplev.c (display_help): Kill -a -ax help.
445
68bd6dd6 446 * config/1750a/1750a.h, config/alpha/alpha.h,
fc881338
RH
447 config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
448 config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
449 config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
450 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
451
452 * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
453 * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
454
455 * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
456 (ix86_output_function_block_profiler): Kill.
457 * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
458 (m68hc11_function_block_profiler): Kill.
459 * config/m68hc11/m68hc11-protos.h: Update.
460 * config/m88k/m88k.c (output_block_profiler): Kill.
461 (output_function_block_profiler): Kill.
462 * config/m88k/m88k-protos.h: Update.
463
772c5265
RH
4642002-05-19 Richard Henderson <rth@redhat.com>
465
466 * system.h (STRIP_NAME_ENCODING): Poison it.
467 * output.h (STRIP_NAME_ENCODING): Remove.
468 (default_strip_name_encoding): Declare.
469 * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
470 * target.h (strip_name_encoding): New.
471 * varasm.c (default_strip_name_encoding): New.
472
473 * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
474 config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
475 config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
476 config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
477 config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
478 config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
479 config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
480 config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
481 config/v850/v850.h: Use the hook, not the macro.
482
483 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
484 config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
485 config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
486 config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
487 config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
488 config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
68bd6dd6 489 config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
772c5265
RH
490 config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
491 config/v850/v850.c, config/v850/v850.h:
492 Move STRIP_NAME_ENCODING to out-of-line function and add
493 TARGET_STRIP_NAME_ENCODING.
494
495 * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
496 config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
497 with TARGET_STRIP_NAME_ENCODING referencing existing function;
498 make function static.
499
500 * xcoffout.c: Include target.h
501 * Makefile.in (xcoffout.o): Update.
502
503 * config/avr/avr.c (avr_encode_section_info): Correct prototype.
504 * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
505 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
506 reloc argument unused.
507 * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
508
509 * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
510 STRIP_NAME_ENCODING docs.
511
8f9eb495
AJ
5122002-05-19 Andreas Jaeger <aj@suse.de>
513
514 * gengenrtl.c: Add prototype for excluded_rtx.
515
516 * real.h: Add prototype for exact_real_truncate.
517
fb49053f
RH
5182002-05-18 Richard Henderson <rth@redhat.com>
519
520 * system.h (ENCODE_SECTION_INFO): Poison it.
521 * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
522 * target.h (encode_section_info): New.
523 * varasm.c (make_decl_rtl, output_constant_def): Use it.
524 * hooks.c (hook_tree_int_void): New.
525 * hooks.h: Declare it.
526
527 * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
528 config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
529 config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
530 config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
531 config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
532 config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
533 config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
534 config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
535 config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
536 config/mcore/mcore-protos.h, config/mcore/mcore.c,
537 config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
538 config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
539 config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
540 config/stormy16/stormy16.c, config/stormy16/stormy16.h:
541 Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
542 referencing existing function. Make function static.
543
544 * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
8f9eb495 545 config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
fb49053f
RH
546 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
547 config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
548 config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
8f9eb495 549 config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
fb49053f
RH
550 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
551 config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
552 config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
553 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
8f9eb495 554 config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
fb49053f
RH
555 config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
556 config/xtensa/xtensa.c, config/xtensa/xtensa.h:
557 Move ENCODE_SECTION_INFO to out-of-line function and add
558 TARGET_ENCODE_SECTION_INFO.
559
560 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
561 (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
562
563 * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
564 from SUBTARGET_*
565 (switch_to_section): Replace in_rdata case with in_readonly_data.
566
567 * config/h8300/h8300.c (h8300_encode_label): Make static.
568 * config/h8300/h8300-protos.h: Update.
569
570 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
571 from rs6000_encode_section_info; make static.
572 (rs6000_xcoff_encode_section_info): New.
573
574 * config/v850/v850.c (v850_encode_data_area): Make static.
575 * config/v850/v850-protos.h: Update.
576
577 * config/vax/vax.c: Include flags.h.
578 (vms_select_section): Fix typo.
579
580 * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
581 ENCODE_SECTION_INFO docs.
582
9fe08fd0
RH
5832002-05-18 Richard Henderson <rth@redhat.com>
584
585 * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
586 REGISTER_TARGET_PRAGMAS.
587 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
588
410b770f
RH
589 * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
590
b64a1b53
RH
5912002-05-18 Richard Henderson <rth@redhat.com>
592
593 * system.h (SELECT_RTX_SECTION): Poison.
594 * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
595 * target.h (select_rtx_section): New.
596 * varasm.c (output_constant_pool): Use it.
597 (default_select_rtx_section, default_elf_select_rtx_section): New.
598 * output.h: Declare them.
599
600 * config/darwin.h (SELECT_RTX_SECTION): Move ...
601 * config/darwin.c (machopic_select_rtx_section): ... here.
602 * config/darwin-protos.h: Update.
603
604 * config/nextstep.h (SELECT_RTX_SECTION): Move ...
605 * config/nextstep.c (machopic_select_rtx_section): ... here.
606 (nextstep_select_section): Rename variable to avoid macro clash.
607 * config/nextstep-protos.h: Update.
608
609 * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
610 config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
611 config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
8f9eb495 612 config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
b64a1b53
RH
613 config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
614 config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
8f9eb495 615 config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
b64a1b53
RH
616 config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
617 config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
618 (SELECT_RTX_SECTION): Remove.
619
620 * config/darwin.h, config/elfos.h, config/nextstep.h,
621 config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
622 config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
623 config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
624 config/sparc/lynx.h, config/xtensa/xtensa.c
625 (TARGET_ASM_SELECT_RTX_SECTION): New.
626
627 * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
628 * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
629 * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
630 * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
631 (ia64_aix_select_rtx_section): New.
632 * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
633 redefining.
634 * config/mips/mips.c (mips_select_rtx_section): Make static.
8f9eb495 635 Support ELF SHF_MERGE features.
b64a1b53
RH
636 * config/mips/mips-protos.h: Update.
637 * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
638 * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
639 (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
640 make static, fall back to default_elf_select_rtx_section.
641 * config/rs6000/rs6000-protos.h: Update.
642 * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
643 * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
644 * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
645 * config/romp/romp.c (romp_select_rtx_section): New.
646 * config/s390/s390.c (s390_select_rtx_section): New.
647 * config/xtensa/xtensa.c: Include output.h. Shuffle local function
648 declarations before target macro definition.
649 (xtensa_emit_call): Use static buffer.
650 (xtensa_select_rtx_section): New.
651 * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
652 (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
653 (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
654
655 * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
656 SELECT_RTX_SECTION docs.
657
658Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz>
5f90a099
JH
659
660 * i386.md (movsi/movdi): Fix template.
661 (sse2 patterns): Set attributes consistently.
662
663 * i386.md (pushqi2, ashrqi_*): Fix constraint.
664
6835a09c
TM
6652002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
666
667 * optabs.c (complex_part_zero_p): New.
668 * (expand_cmplxdiv_straight): Use it.
669 * (expand_cmplxdiv_wide): Ditto.
670 * (expand_binop): Ditto.
671
d48bc59a
RH
6722002-05-18 Richard Henderson <rth@redhat.com>
673
674 * final.c (HAVE_READONLY_DATA_SECTION): New.
675 (shorten_branches): Use it instead of ifdefs.
676 * varasm.c (enum in_section): Add in_readonly_data.
677 (text_section, data_section): Tidy.
678 (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
679
680 * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
681 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
682 (READONLY_DATA_SECTION): Don't undef.
683
684 * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
685 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
686 config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
687
688 * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
689 config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
690 config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
691 config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
692
693 * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
694 config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
695 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
696 config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
697 config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
698 config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
699 config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
700 config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
701 CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
702
703 * config/elfos.h, config/netware.h, config/1750a/1750a.h,
704 config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
705 config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
706 config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
707 config/pa/pa64-hpux.h, config/sparc/litecoff.h
708 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
709
710 * config/elfos.h, config/netware.h, config/svr3.h,
711 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
712 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
713 config/h8300/h8300.h, config/i386/i386-interix.h,
714 config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
715 config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
716
717 * config/elfos.h, config/netware.h, config/svr3.h,
718 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
719 config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
720 config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
721 config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
722
723 * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
724 config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
725 config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
726 config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
727 config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
728 config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
729 config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
730 config/rs6000/sysv4.h, config/v850/v850.h
731 (EXTRA_SECTIONS): Remove in_const/in_rdata.
732 (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
733
734 * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
735 config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
736 config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
737 config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
738 * config/alpha/alpha.c (alpha_start_function): Likewise.
739 (alpha_write_linkage): Likewise.
740 * config/m32r/m32r.c (m32r_select_section): Likewise.
741 * config/m88k/m88k.c (m88k_select_section): Likewise.
742 * config/mips/mips.c (mips_select_rtx_section): Likewise.
743 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
744 (rs6000_elf_select_section): Likewise.
745 * config/v850/v850.c (v850_select_section): Likewise.
746
747 * config/1750a/1750a.h, config/i860/sysv3.h
748 (READONLY_DATA_SECTION_ASM_OP): New.
749 READONLY_DATA_SECTION_ASM_OP.
750 * config/i386/interix.c, config/i386/winnt.c
751 (i386_pe_unique_section): Always use .rdata prefix.
752 * config/pa/som.h (readonly_data): Always switch to read-only section.
753 (READONLY_DATA_SECTION): Predicate on flag_pic.
754 * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
755 * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
756 (READONLY_DATA_SECTION): Update.
757
e964a556
JT
7582002-05-18 Jason Thorpe <thorpej@wasabisystems.com>
759
760 * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
8f9eb495 761 is used without -Wformat.
e964a556
JT
762 * c-common.h (warn_format_zero_length): Declare extern.
763 * c-decl.c (warn_options): Add "format-zero-length".
764 * c-format.c (warn_format_zero_length): Declare.
765 (set_Wformat): Set warn_format_zero_length for -Wformat.
766 (check_format_info): Only warn about zero-length formats if
767 warn_format_zero_length is true. Include the format type
768 name in the warning message.
769 * doc/invoke.texi: Document -Wformat-zero-length.
770 * testsuite/gcc.dg/format/zero-length-1.c: New test.
771
d92b4486
KH
7722002-05-18 Kazu Hirata <kazu@cs.umass.edu>
773
774 * timevar.c: Fix formatting.
775 * tlink.c: Likewise.
776 * toplev.c: Likewise.
777 * tree-dump.c: Likewise.
778 * tree-inline.c: Likewise.
779
43612ffb
NB
7802002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
781
782 * cppinit.c (cpp_post_options): If preprocessed, turn off
783 traditional. If traditional, turn off column numbers.
784 * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
785 * cpptrad.c (handle_newline): Update line_base.
786 (skip_comment): Handle -Wcomment.
787
f24a153a
ZW
7882002-05-17 Zack Weinberg <zack@codesourcery.com>
789
790 * cppinit.c (struct builtin): Remove unused fields.
791 (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
792 (operator_array): New - was second half of builtin_array.
793 (init_builtins): Simplify loop over builtin_array/operator_array.
794
12403335
NB
7952002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
796
797 * defaults.h (UNIQUE_SECTION): Remove.
798 * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
799
1f8c3c5b
RH
8002002-05-17 Richard Henderson <rth@redhat.com>
801
802 * expr.c (init_expr_once): Don't use start/end_sequence.
803 Use rtx_alloc instead of emit_insn.
804 * toplev.c (lang_dependent_init): Run init_expr_once here ...
805 (lang_independent_init): ... not here.
806
4664f4c4
JT
8072002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
808
809 * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
810
93febe68
MM
8112002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
812
813 * config/avr/avr.c (avr_regs_to_save): New function. Also check
814 for fixed registers, possibly used for global register variables.
815 (initial_elimination_offset, avr_output_function_prologue,
816 avr_output_function_epilogue): Move common code to avr_regs_to_save.
817
004cb263
NB
8182002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
819
820 * Makefile.in: Update for cpptrad.c.
821 * cpphash.h (struct cpp_buffer): New members for buffer
822 overlays.
823 (struct cpp_reader): New members for traditional output.
824 (_cpp_read_logical_line, _cpp_overlay_buffer): New.
825 * cppinit.c (cpp_create_reader): Set trad_line.
826 (cpp_destroy): Free trad_out_base if used.
827 (cpp_read_main_file): Overlay an empty buffer if traditional.
828 (cpp_finish_options): Don't do builtins.
829 (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
830 (cpp_handle_option): Handle it.
831 * cpplex.c (continue_after_nul): New.
832 (_cpp_lex_direct): Use handle_nul.
833 * cpplib.h (struct cpp_options): New traditional option.
834 * cpptrad.c: New file.
835
bdcae02b
NB
8362002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
837
838 * c-common.c (c_common_init_options): Use C89 for Objective-C,
839 and set the options flag.
840 * cppinit.c (lang_flags): Remove objc.
841 (lang_defaults): Remove OBJC and OBJCXX.
842 (set_lang): Update.
843 (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
844 (cpp_handle_option): Remove -+ and -lang-objc++.
845 For ObjC, just set a flag.
846 (print_help): Update.
847 * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
848
0fca60ab
RO
8492002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
850
851 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
852 bootstrap with -mips3.
853
dd3f0101
KH
8542002-05-17 Kazu Hirata <kazu@cs.umass.edu>
855
856 * final.c: Fix formatting.
857 * fix-header.c: Likewise.
858 * flow.c: Likewise.
859 * fold-const.c: Likewise.
860 * function.c: Likewise.
861
5ca9299f
DM
8622002-05-17 David S. Miller <davem@redhat.com>
863
864 PR c/6689, PR optimization/6615
865 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
866 and make it a pointer to rtx. Update comments.
867 (update_equiv_regs): When scanning for equivalences, record
868 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
869 it while making the equiv replacements.
870
508bc172
RO
8712002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
872
873 * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
874
5cd983a6
KK
8752002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
876
877 * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
878 when encoding visibility into SYMBOL_REF_FLAG.
879
ce0f3925
RS
8802002-05-17 Richard Sandiford <rsandifo@redhat.com>
881
882 * expr.c (force_operand): Fix reversed move.
883
06809951
GP
8842002-05-17 Kurt Wall <kwall@kurtwerks.com>
885
886 * doc/install.texi (Testing): Mention two common DejaGnu warnings
887 that can be ignored.
888
8892002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
890
891 * doc/install.texi (Final install): Recommend to install into a
892 "clean" target directory.
893
1d5d7a21
RH
8942002-05-17 Richard Henderson <rth@redhat.com>
895
896 * config/ia64/ia64.md: Use braced strings instead of quoted strings
897 for code blocks. Tidy whitespace.
898
ae46c4e0
RH
8992002-05-17 Richard Henderson <rth@redhat.com>
900
901 * hooks.c (hook_tree_bool_false): New.
902 * hooks.h: Declare it.
903 * target-def.h (TARGET_ASM_SELECT_SECTION): New.
904 (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
905 * target.h (select_section, unique_section): New.
906 (in_small_data_p): New.
907 * varasm.c (resolve_unique_section): Use hooks instead of macros.
908 (variable_section, output_constant_def_contents): Likewise.
909 (default_select_section, default_unique_section): New.
910 (categorize_decl_for_section, default_elf_select_section): New.
911 * output.h: Declare them.
912
913 * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
914 (TARGET_ASM_SELECT_SECTION): New.
915 (SELECT_SECTION): Move ...
916 * config/darwin.c (machopic_select_section): ... here.
917 * config/darwin-protos.h: Update.
918
919 * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
920 (SELECT_SECTION): Move ...
921 * config/nextstep.c (nextstep_select_section): ... here.
922 * config/nextstep-protos.h: Update.
923
924 * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
925 (TARGET_ASM_SELECT_SECTION): New.
926 * config/svr3.h (SELECT_SECTION): Remove.
927
928 * config/alpha/alpha.c (unicosmk_unique_section): Make static.
929 (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
930 (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
931 (alpha_encode_section_info): Use it.
932 * config/alpha/alpha-protos.h: Update.
933 * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
934 (SELECT_SECTION, UNIQUE_SECTION): Remove.
935 (TARGET_ASM_SELECT_SECTION): New.
936 * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
937
938 * config/arm/pe.h (UNIQUE_SECTION): Remove.
939 (TARGET_ASM_UNIQUE_SECTION): New.
940
941 * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
942 (avr_unique_section): Rename from unique_section; make static.
943 * config/avr/avr-protos.h: Update.
944 * config/avr/avr.h (UNIQUE_SECTION): Remove.
945
946 * config/c4x/c4x.h (SELECT_SECTION): Remove.
947
948 * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
949 (TARGET_ASM_UNIQUE_SECTION): New.
950 * config/i386/i386-interix.h: Likewise.
951 * config/i386/win32.h: Likewise.
952 * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
953 * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
954 * config/i386/sco5.h (SELECT_SECTION): Remove.
955 (TARGET_ASM_SELECT_SECTION): New.
956 * config/i386/svr3gas.h (SELECT_SECTION): Remove.
957
958 * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
959 instead of SELECT_SECTION.
960 * config/m68k/dpx2.h: Likewise.
961 * config/rs6000/lynx.h: Likewise.
962
963 * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
964 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
965 * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
966 (ia64_in_small_data_p): New.
967 (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
968 (ia64_aix_select_section, ia64_aix_unique_section): New.
969 * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
970 (SELECT_SECTION, UNIQUE_SECTION): Remove.
971
972 * config/m32r/m32r.h (SELECT_SECTION): Remove.
973 (TARGET_ASM_SELECT_SECTION): New.
974 * config/m32r/m32r.c (m32r_select_section): Take align argument.
975 * config/m32r/m32r-protos.h: Update.
976
977 * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
978 (SELECT_SECTION): Move ...
979 * config/m88k/m88k.c (m88k_select_section): ... here.
980
981 * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
982 * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
983 * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
984 (mcore_unique_section): Make static.
985 * config/mcore/mcore-protos.h: Update.
986
987 * config/mips/elf.h (UNIQUE_SECTION): Remove.
988 (TARGET_ASM_UNIQUE_SECTION): New.
989 * config/mips/elf64.h: Likewise.
990 * config/mips/iris6gld.h: Likewise.
991 * config/mips/linux.h: Likewise.
992 * config/mips/mips-protos.h: Update.
993 * config/mips/mips.c (mips_select_section): Add align argument.
994 * config/mips/mips.h (SELECT_SECTION): Remove.
995 (TARGET_ASM_SELECT_SECTION): New.
996
997 * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
998 * config/mmix/mmix.c (mmix_select_section): Remove.
999 (mmix_unique_section): Remove.
1000 * config/mmix/mmix-protos.h: Update.
1001
1002 * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
1003 (SELECT_SECTION): Move ...
1004 * config/pa/pa.c (pa_select_section): ... here.
1005 * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
1006
1007 * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
1008 from rs6000_select_section and make static.
1009 (rs6000_elf_unique_section): Similarly.
1010 (rs6000_xcoff_select_section): From xcoff.h.
1011 (rs6000_xcoff_unique_section): Likewise.
1012 * config/rs6000/rs6000-protos.h: Update.
1013 * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
1014 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
1015 * config/rs6000/xcoff.h: Likewise.
1016
1017 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
1018 (SELECT_SECTION): Move ...
1019 * config/sparc/sparc.c (sparc_aout_select_section): ... here.
1020
1021 * config/v850/v850.h (SELECT_SECTION): Move ...
1022 * config/v850/v850.c (v850_select_section): ... here.
1023 (TARGET_ASM_SELECT_SECTION): New.
1024
1025 * config/vax/vms.h (SELECT_SECTION): Move ...
1026 * config/vax/vax.c (vms_select_section): ... here.
1027 (TARGET_ASM_SELECT_SECTION): New.
1028
1029 * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
1030 for the target hooks.
1031
eaeb23a7
NC
10322002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
1033
1034 * config/arm/arm.c (emit_multi_reg_push): Do not set
1035 RTX_FRAME_RELATED_P on the SEQUENCE.
1036
a00fe19f
RH
10372002-05-16 Richard Henderson <rth@redhat.com>
1038
1039 * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
1040 splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
1041
5ccff482
RH
10422002-05-16 Richard Henderson <rth@redhat.com>
1043
1044 * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
1045
068d7739
RH
1046 * config/ia64/ia64.c (saveable_obstack): Do not declare.
1047
0b17ab2f
RH
10482002-05-16 Richard Henderson <rth@redhat.com>
1049
1050 * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
1051 cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
1052 conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
1053 gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
1054 local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
1055 recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
1056 reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
1057 sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
1058 Revert "Basic block renumbering removal", and two followup patches.
1059
8ae86b3c
JT
10602002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
1061
1062 * lcm.c (optimize_mode_switching): Revert previous change.
1063
4e9f27af
ZD
10642002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1065
1066 * sched-rgn.c (schedule_insns): Initialize large_region_blocks
1067 with only extant block numbers.
1068
3cdc1dbc
JT
10692002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
1070
1071 * lcm.c (optimize_mode_switching): Fix typo.
1072
fbfb3b09
ZD
10732002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1074
1075 * flow.c (calculate_global_regs_live): Queue blocks in program order.
1076
b4b0fb02
RO
10772002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1078
1079 * doc/install.texi (Configuration): Document PWDCMD.
1080
63b827c5
DJ
10812002-05-16 Dale Johannesen <dalej@apple.com>
1082
1083 * combine.c (cant_combine_insn_p): Reenable combinations
1084 involving hard regs unless CLASS_LIKELY_SPILLED_P.
1085
748d29c1
NB
10862002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
1087
1088 * c-common.c (cb_register_builtins): Handle more built-ins
1089 here rather than in gcc.c specs.
1090 * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
1091 (cpp_options): Pass -O flags even when only preprocessing.
1092 * toplev.c (set_fast_math_flags): New prototype.
1093 (fast_math_flags_set_p): New.
1094 (set_no_fast_math_flags): Remove.
1095 (decode_f_option): Update.
1096 * toplev.h (set_fast_math_flags): Update.
1097 (fast_math_flags_set_p): New.
1098 (set_no_fast_math_flags): Remove.
1099config:
1100 * c4x/c4x.c (c4x_override_options): Update.
1101
5279d739
ZW
11022002-05-16 Zack Weinberg <zack@codesourcery.com>
1103
1104 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
1105 Default-define here.
1106 (builtin_define_with_value): Can now wrap the expansion in
1107 quotation marks if such is wanted.
a00fe19f 1108 (cb_register_builtins): Update calls to builtin_define_with_value.
5279d739
ZW
1109 Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
1110 here.
1111 (c_common_init): Set options->stdc_0_in_system_headers.
1112 * c-lex.h: Update prototype of builtin_define_with_value.
1113 * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
1114 and REGISTER_PREFIX.
1115
1116 * cppinit.c (VERS, ULP, C, X): Kill.
1117 (builtin_array): Remove entries for __VERSION__,
1118 __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
1119 __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
1120 a constant.
1121 (init_builtins): Kill off a bunch of now-dead code.
1122 (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
1123 -fno-leading-underscore.
1124 (cpp_handle_option): Remove code to set user_label_prefix.
1125 (cpp_post_options): Likewise.
1126
1127 * cpplib.h (struct cpp_options): Remove user_label_prefix.
1128 (stdc_0_in_system_headers): New.
1129 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
1130 stdc_0_in_system_headers) too to decide the value of __STDC__.
1131
1132 * tradcpp.c (user_label_prefix): Kill.
a00fe19f 1133 (main): Remove code handling -f(no-)leading-underscore.
5279d739
ZW
1134 (initialize_builtins): Don't define __REGISTER_PREFIX__
1135 or __USER_LABEL_PREFIX__.
1136 (install_value): Wrap compound statement in dummy loop so the
1137 macro works properly in an if statement.
1138
1139
62e6ca55
JJ
11402002-05-16 Janis Johnson <janis187@us.ibm.com>
1141
1142 * loop.h (struct loop_info): Add member has_prefetch.
1143 * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
1144 (prescan_loop): Initialize has_prefetch.
1145 (struct prefetch_info): Change prefetch_in_loop and
1146 prefetch_before_loop from bit fields to ints.
1147 (emit_prefetch_instructions): Several small fixes.
1148 (check_dbra_loop): Don't reverse loop that uses prefetch.
1149
1e6347d8
RO
11502002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1151
1152 * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
1153 * configure.in: Likewise.
1154 * fixinc/check.tpl: Likewise.
1155 * fixinc/fixinc.dgux: Likewise.
1156 * fixinc/fixinc.svr4: Likewise.
1157 * fixinc/fixinc.winnt: Likewise.
1158 * fixinc/fixincl.sh: Likewise.
1159 * fixproto: Likewise.
1160 * configure: Regenerate.
1161
355e4ec4
ZD
11622002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1163
1164 Basic block renumbering removal:
1165 * basic_block.h (struct basic_block_def): Renamed index to sindex,
1166 added prev_bb and next_bb fields.
1167 (n_basic_blocks): Renamed to num_basic_blocks.
1168 (last_basic_block): New, index of last basic block.
1169 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
1170 traversing basic block chain.
1171 (BLOCK_NUM): index -> sindex.
1172 (create_basic_block_structure, create_basic_block): Declaration changed.
1173 (debug_num2bb): Declare.
1174 (expunge_block_nocompact): Declaration removed.
1175 (link_block, unlink_block, compact_blocks): Declare.
1176 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
1177 * cfg.c (entry_exit_blocks): Initialize new fields.
1178 (clear_edges, alloc_block, expunge_block, cached_make_edge,
1179 redirect_edge_pred, dump_flow_info, dump_edge_info,
1180 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
1181 free_aux_for_edges): Modified.
1182 (link_block, unlink_block, compact_blocks, debug_num2bb): New.
1183 (expunge_block_nocompact): Removed.
1184 * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
1185 find_unreachable_blocks, create_edge_list, print_edge_list,
1186 verify_edge_list, flow_edge_list_print, remove_fake_successors,
1187 remove_fake_edges, flow_reverse_top_sort_order_compute,
1188 flow_depth_first_order_compute, flow_preorder_transversal_compute,
1189 flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
1190 flow_dfs_compute_reverse_execute): Modified.
1191 * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
1192 find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
1193 Modified.
1194 * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
1195 merge_blocks_move_predecessor_nojumps,
1196 merge_blocks_move_successor_nojumps, merge_blocks,
1197 outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
1198 try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
1199 * cfglayout.c (skip_insns_after_block, label_for_bb,
1200 record_effective_endpoints, scope_to_insns_finalize,
1201 fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
1202 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
1203 cfg_layout_duplicate_bb): Modified.
1204 * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
1205 flow_loop_entry_edges_find, flow_loop_exit_edges_find,
1206 flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
1207 flow_loops_find, flow_loop_outside_edge_p): Modified.
1208 * cfgrtl.c (create_basic_block_structure, create_basic_block,
1209 flow_delete_block, compute_bb_for_insn, split_block,
1210 try_redirect_by_replacing_jump, redirect_edge_and_branch,
1211 force_nonfallthru_and_redirect, tidy_fallthru_edge,
1212 back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
1213 commit_edge_insertions, commit_edge_insertions_watch_calls,
1214 dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
1215 purge_all_dead_edges): Modified.
1216 * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
1217 try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
1218 get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
1219 Modified.
1220 * conflict.c (conflict_graph_compute): Modified.
1221 * df.c (FOR_ALL_BBS): Removed.
1222 (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
1223 df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
1224 df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
1225 * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
1226 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
1227 calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
1228 * final.c (compute_alignments, final_scan_insn): Modified.
1229 * flow.c (verify_local_live_at_start, update_life_info,
1230 update_life_info_in_dirty_blocks, free_basic_block_vars,
1231 delete_noop_moves, calculate_global_regs_live,
1232 initialize_uninitialized_subregs, allocate_bb_life_data,
1233 regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
1234 mark_used_reg, count_or_remove_death_notes): Modified.
1235 * function.c (thread_prologue_and_epilogue_insns): Modified.
1236 * gcse.c (struct null_pointer_info): Change typo of current_block
1237 to basic_block.
1238 (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
1239 oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
1240 compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
1241 alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
1242 expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
1243 classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
1244 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
1245 pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
1246 pre_delete, one_pre_gcse_pass, compute_transpout,
1247 invalidate_nonnull_info, delete_null_pointer_checks_1,
1248 free_code_hoist_mem, compute_code_hoist_vbeinout,
1249 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
1250 compute_ld_motion_mems, store_ops_ok, find_moveable_store,
1251 compute_store_table, build_store_vectors, insert_insn_start_bb,
1252 insert_store, replace_store_insn, free_store_memory, store_motion):
1253 Modified.
1254 * global.c (global_alloc, global_conflicts, mark_elimination,
1255 build_insn_chain): Modified.
1256 * graph.c (print_rtl_graph_with_bb): Modified.
1257 * haifa-sched.c (sched_init): Modified.
1258 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
1259 (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
1260 if_convert): Modified.
1261 * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
1262 compute_insert_delete, pre_edge_lcm, compute_available,
1263 compute_farthest, compute_nearerout, compute_rev_insert_delete,
1264 pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
1265 Modified.
1266 * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
1267 * loop.c (loop_dump_aux): Modified.
1268 * predict.c (combine_predictions_for_insn, estimate_probability,
1269 last_basic_block_p, process_note_prediction, process_note_predictions,
1270 note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
1271 expensive_function_p, estimate_bb_frequencies,
1272 compute_function_frequency): Modified.
1273 * print-rtl.c (print_rtx): Modified.
1274 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
1275 get_exec_counts, compute_branch_probabilities, compute_checksum,
1276 branch_prob, find_spanning_tree): Modified.
1277 * recog.c (split_all_insns, peephole2_optimize): Modified.
1278 * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
1279 convert_regs_1, convert_regs_2, convert_regs): Modified.
1280 * regclass.c (scan_one_insn, regclass): Modified.
1281 * regmove.c (mark_flags_life_zones, regmove_optimize,
1282 combine_stack_adjustments): Modified.
1283 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
1284 * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
1285 * reorg.c (dbr_schedule): Modified.
1286 * resource.c (find_basic_block, init_resource_info): Modified.
1287 * sbitmap.c (sbitmap_intersection_of_succs,
1288 sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1289 sbitmap_union_of_preds): Modified.
1290 * sched-deps.c (init_dependency_caches): Modified.
1291 * sched-ebb.c (schedule_ebbs): Modified.
1292 * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
1293 find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
1294 * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
1295 * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
1296 ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
1297 ssa_const_prop): Modified.
1298 * ssa-dce.c (set_control_dependent_block_to_edge_map_,
1299 find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
1300 * ssa.c (remove_phi_alternative, find_evaluations,
1301 compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
1302 insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
1303 make_regs_equivalent_over_bad_edges,
1304 make_equivalent_phi_alternatives_equival,
1305 compute_conservative_reg_partition,
1306 coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
1307 rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
1308 Modified.
1309
5a566bed
MM
13102002-05-16 Mark Mitchell <mark@codesourcery.com>
1311
1312 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
1313
48f6efae
NC
13142002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
1315
1316 * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
1317 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
1318 (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
1319 calling CONSTANT_POOL_ADDRESS_P.
1320 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
1321 to decide whether to define __arm__ or __thumb.
355e4ec4 1322 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
48f6efae
NC
1323 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
1324
b166fadd
NB
13252002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
1326
1327 * config/arc/arc.h (CPP_PREDEFINES): Remove.
1328 (CPP_SPEC): Update.
1329 (TARGET_CPU_CPP_BUILTINS): New.
1330
601328bb
NB
13312002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
1332
1333 * cpphash.h (cpp_macro): Move here, and make expansion a union.
1334 * cppmacro.c (cpp_macro): Remove.
1335 (enter_macro_context, replace_args, warn_of_redefinition,
1336 _cpp_create_definition, cpp_macro_definition): Update.
1337
ff48be5c
JM
13382002-05-16 Jason Merrill <jason@redhat.com>
1339
1340 * config/mips/mips.c (mips_output_external): Don't do sdata
1341 optimization for a variable with DECL_COMDAT set.
1342
805c42ba
AH
13432002-05-15 Aldy Hernandez <aldyh@redhat.com>
1344
355e4ec4
ZD
1345 * config/rs6000/altivec.h: Cleanups for tighter typechecking.
1346 Cleanups for accepting modifiers on pointers.
1347 Fix predicate typos.
1348 Allow long pointers as well as int pointers.
805c42ba 1349
34fb9ba5
RH
13502002-05-15 Richard Henderson <rth@redhat.com>
1351
1352 * varasm.c (merge_weak): Remove special case for extern and common.
1353
62e118f5
MH
13542002-05-15 Matt Hiller <hiller@redhat.com>
1355
1356 * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
355e4ec4 1357 XFAILing.
62e118f5
MH
1358 * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
1359 * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
1360 * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
1361 * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
1362 * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
1363 * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
1364
fefac463
AH
13652002-05-15 Aldy Hernandez <aldyh@redhat.com>
1366
355e4ec4 1367 * reload1.c (forget_old_reloads_1): Do not use subreg offset.
fefac463 1368
5f004351
AH
13692002-05-15 Aldy Hernandez <aldyh@redhat.com>
1370
355e4ec4
ZD
1371 * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
1372 ("altivec_mfvscr"): Read from VSCR.
1373
1374 Add vscr sets for the following insns: altivec_vctuxs,
1375 altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
1376 altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
1377 altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
1378 altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
1379 altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
1380 altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
1381 altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
1382 altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
1383 altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
1384 altivec_vsum2sws, altivec_vsumsws.
1385
1386 * config/rs6000/rs6000.h: Add VSCR fixed register.
1387 (CALL_REALLY_USED_REGISTERS): Add vscr.
1388 (CALL_USED_REGISTERS): Same.
1389 (FIXED_REGISTERS): Same.
1390 (REG_ALLOC_ORDER): Same.
1391 (reg_class): Add VSCR_REGS.
1392 (REG_CLASS_NAMES): Same.
1393 (REG_CLASS_CONTENTS): Same.
1394 (VSCR_REGNO): New.
1395 (REGISTER_NAMES): Add vscr.
1396 (DEBUG_REGISTER_NAMES): Same.
1397 (ADDITIONAL_REGISTER_NAMES): Same.
1398 (FIRST_PSEUDO_REGISTER): Increment.
1399 (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
5f004351 1400
033afd11
RH
14012002-05-15 Jakub Jelinek <jakub@redhat.com>
1402
1403 * fold-const.c (fold): Fix a typo.
1404
14052002-05-15 Eric Botcazou <ebotcazou@multimania.com>
1406
1407 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
1408 comparison against the highest or lowest integer value before
1409 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
1410 transformation and that of an unsigned comparison against 0
1411 right after.
1412
14285ace
RH
14132002-05-15 Richard Henderson <rth@redhat.com>
1414
1415 * varasm.c (merge_weak): Error for any weakening after definition.
1416 Adjust weakening after use warning to catch more cases.
1417 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
1418 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
1419
194734e9
JH
1420Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
1421
1422 * invoke.texi (-malign-double): Re-add lost warning.
1423
1424 * i386-protos.h (x86_output_mi_thunk): Declare.
1425 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
1426 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
1427
1428 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
1429 when flag_asynchronous_unwind_tables is set.
1430
1431 * flags.h (flag_reorder_functions): Declare.
1432 * function.c (prepare_function_start): Initialize frequnecy.
14285ace 1433 * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
194734e9
JH
1434 * Makefile.in (predict.o): Add dependency on target.h and params.h
1435 * defaults.h (HOT_TEXT_SECTION_NAME,
1436 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
1437 * predict.c (choose_function_section): New function.
1438 (estimate_bb_frequencies): Use it.
1439 * toplev.c (flag_reorder_functions): New global variable.
1440 (lang_independent_options): New.
1441 (parse_options_and_default_flags): Set.
1442 * varasm.c (assemble_start_function): Bypass functdion alignment
1443 for never executed functions.
1444 * invoke.texi (-freorder-blocks, -freorder-functions): Document.
1445 (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
1446 * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
1447 Document.
1448
1449 Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
1450
1451 * predict.c: Inlude profile.h
1452 (MIN_COUNT): Rename to MIN_COUNT_FRACTION
1453 (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
1454 Use the information about maximal counter in the program.
1455
1456 Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
1457
1458 * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
1459 probably_never_executed_bb_p): New functions.
1460 * cfgcleanup.c (outgoing_edges_match): Use them.
1461 * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
1462 (maybe_hot_bb_p, probably_cold_bb_p,
1463 probably_never_executed_bb_p): New functions.
1464
1465 * function.h (function): Add new field function_frequency.
1466 * predict.c (compute_function_frequency): New function.
1467 (estimate_probability): Call it.
1468
61ad9a34
JJ
14692002-03-09 Jakub Jelinek <jakub@redhat.com>
1470
1471 PR optimization/5172, optimization/5200
1472 * gcse.c (gcse_main): Disable store_motion.
1473
a11eba95
ZW
14742002-05-14 Zack Weinberg <zack@codesourcery.com>
1475
1476 * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
1477 (c_common_nodes_and_builtins): Use it.
1478 (builtin_define_with_value): New function.
1479 (cb_register_builtins): Define __SIZE_TYPE__,
1480 __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
1481 using builtin_define_with_value. Use consistent notation when
1482 defining __GXX_WEAK__.
1483 (WCHAR_TYPE_SIZE): Don't redefine.
1484 (combine_strings): Don't use WCHAR_TYPE_SIZE.
1485
1486 * cppdefault.h: Don't provide defaults for SIZE_TYPE,
1487 PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
1488 * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
1489 * tradcpp.c (initialize_builtins): Likewise.
1490 * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
1491
1492 * c-lex.h (builtin_define_with_value): Prototype.
1493 * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
1494 NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
1495 * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
1496
1497 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
1498 config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
1499 config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
1500 config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
1501 config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
1502 config/sparc/linux64.h, config/sparc/netbsd-elf.h,
1503 config/sparc/sol2-bi.h, config/sparc/sparc.h:
1504 Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
1505 to __SIZE_TYPE__ etc from all spec strings. When this makes
1506 extra specs empty, delete them.
1507
1c31ecf6
JDA
15082002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
1509
1510 * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
1511 for PA8000 or generating dwarf2 call frame information.
1512 (output_call): Remove DO_FRAME_NOTES check from return pointer
1513 optimization.
1514 (following_call): Return 0 when scheduling for PA8000 or generating
1515 dwarf2 call frame information. Revise comment.
1516
ac9cfada
NB
15172002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1518
1519config/alpha:
1520 * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
1521 and __IEEE_FP_INEXACT as appropriate.
1522 (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
1523 (CPP_SPEC): Remove ieee defines.
1524 * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
1525
9b690711
RH
15262002-05-14 Richard Henderson <rth@redhat.com>
1527
1528 * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
1529 (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
1530
e6471be6
NB
15312002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1532
e6471be6
NB
1533 * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
1534 (CPP_SPEC): Update.
1535 (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
1536 CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
1537 CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
1538 CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
1539 (EXTRA_SPECS): Update.
1540 * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
1541 arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
1542 arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
1543 define TARGET_OS_CPP_BUILTINS if necessary.
1544
e5f5feea
NB
15452002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1546
1547 * gcc.c (cpp_options): Must pass -m* and -f* options
1548 to the front end even when only preprocessing.
1549 (cc1_options): Remove redundant -lang-c.
1550 * tradcpp.c (main): Ignore -m options.
1551objc:
1552 * lang-specs.h: Similarly.
1553
317638a8
VM
15542002-05-14 Vladimir Makarov <vmakarov@redhat.com>
1555
1556 * genautomata.c (transform_3): Add code for transformation
1557 `(A,B,...)+C -> A+C,B,...'.
1558
4d604303
JH
1559Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
1560
1561 * final.c (end_final): Do not output profile_arcs constructor, when
1562 no functions are instrumented.
1563
b18b06ed
JH
1564Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
1565
1566 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
1567
a12f97f0
GP
15682002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1569
1570 * doc/install.texi: Remove special markup originally required for
1571 HTML generation with texi2html.
1572
c1ae3eb4
AS
15732002-05-14 Andreas Schwab <schwab@suse.de>
1574
1575 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
1576 SELECT_SECTION.
1577 (UNIQUE_SECTION): Define to get small data correctly.
1b18fc2c
AS
1578
1579 * varasm.c (resolve_unique_section): Add third parameter
1580 flag_function_or_data_sections and use it instead of
1581 flag_function_sections.
1582 (assemble_start_function): Pass flag_function_sections.
1583 (asm_emit_uninitialised): Pass flag_data_sections.
1584 (assemble_variable): Likewise.
1585
8ee41eaf
RH
15862002-05-14 Richard Henderson <rth@redhat.com>
1587
1588 * config/i386/i386.md: Use define_constants for unspec numbers.
1589 * config/i386/i386.c: Likewise.
1590
e6471be6
NB
15912002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1592
1593 * doc/contrib.texi: Update my entry.
1594
c297b764
MM
15952002-05-13 Mark Mitchell <mark@codesourcery.com>
1596
1597 * fixinc/inclhack.def (winidss_valist): Limit applicability.
1598 * fixinc/fixincl.x: Regenerated.
1599 * fixinc/tests/base/math.h: Update.
1600 * fixinc/tests/base/testing.h: Likewise.
1601
0b42c8f8
ZW
16022002-05-13 Zack Weinberg <zack@codesourcery.com>
1603
1604 * genattr.c (gen_attr): Don't emit a comma after the last
1605 enumerator.
1606
546c093e
RH
16072002-05-13 Richard Henderson <rth@redhat.com>
1608
1609 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
1610 by non-local gotos.
1611 * recog.c (peephole2_optimize): Likewise.
1612
85be8c2d
AP
16132002-05-13 Andris Pavenis <pavenis@lanet.lv>
1614
1615 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
1616 input to O_BINARY.
1617
765b8f90
JL
16182002-05-13 Jeffrey A Law (law@redhat.com)
1619
fe4b3c79
JL
1620 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
1621 Update prototype and callers.
1622 (propagate_one_insn): Stack pointer adjustments kill MEMs on
1623 the mem_set_list which reference the stack pointer, as do
1624 calls to constant functions as they may clobber outgoing
1625 argument space.
1626
16133d00
JL
1627 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
1628
765b8f90
JL
1629 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1630 (ia32_multipass_dfa_lookahead): New function.
1631
63826d5b
NB
16322002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1633
1634 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
1635 (translate_options): Remove 'V'.
1636 (process_command): Similarly.
1637doc:
1638 * invoke.texi: Remove documentation of 'V'.
1639
dcb41ced
UW
16402002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1641
1642 * config/s390/linux.h: Revert 2002-04-22 changes.
1643
8dfea428
SM
16442002-05-13 Scott Marks <SMarks@mobile-mind.com>
1645
1646 * config/fr30/fr30.md: Only allow splits of immediate loads
1647 if the destination is a register.
1648
12a41c22
NB
16492002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1650
1651 * Makefile.in (c-common.o, cppinit.o): Update.
1652 * c-common.c: Include except.h.
1653 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
1654 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
1655 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
1656 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
1657 CPP_PREDEFINES): Handle here.
1658config:
1659 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
1660 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
1661 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
1662 TARGET_OS_CPP_BUILTINS.
1663 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
1664 (CPP_SPEC, EXTRA_SPECS): Update.
1665 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
1666 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
1667 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
1668 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
1669 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
1670doc:
1671 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
1672 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
1673
5692c7bc
ZW
16742002-05-12 Zack Weinberg <zack@codesourcery.com>
1675
1676 * emit-rtl.c (global_rtl): Update comment.
1677 (const_double_htab, const_double_htab_hash,
1678 const_double_htab_hash, lookup_const_double): New.
1679 (const_int_htab_hash, const_int_htab_eq): Remove const
1680 qualifiers, which cause tons of warnings with RTL checking on.
1681 (gen_rtx_CONST_DOUBLE): Deleted.
1682 (const_double_from_real_value): New function - bears some
1683 resemblance to the former immed_real_const_1.
1684 (immed_double_const): Moved here from varasm.c and
1685 simplified.
1686 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
1687 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
1688 (gen_rtx): Use immed_double_const.
1689 (init_emit_once): Initialize the const_double_htab. Use
1690 REAL_VALUE_FROM_INT where possible. Can now use
1691 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
1692 * varasm.c (struct varasm_status): Remove x_const_double_chain.
1693 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
1694 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
1695 (init_varasm_status, mark_varasm_status): Don't touch
1696 x_const_double_chain.
1697
1698 * output.h: Delete prototype for clear_const_double_mem.
1699 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
1700 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
1701 const_double_from_real_value, not immed_real_const_1, and use
1702 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
1703 CONST_DOUBLE_ATOF.
1704 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
1705 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
1706 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
1707 (gen_rtx_REG): Second arg is unsigned.
1708
1709 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
1710 (excluded_rtx): New, return true for CONST_DOUBLE.
1711 (genmacro): Write nothing for excluded codes.
1712 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
1713 * expr.c (expand_expr): Likewise.
1714 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
1715 CONST_DOUBLE_CHAIN.
1716 * toplev.c (rest_of_compilation): Don't call
1717 clear_const_double_mem.
1718
1719 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
1720 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
1721 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
1722 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
1723 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
1724 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
1725 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
1726 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
1727
31397a7b
KG
17282002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1729
1730 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
1731
1b70d38a
TT
17322002-05-12 Tom Tromey <tromey@redhat.com>
1733
1734 * tree.h (copy_node): Don't mention TREE_PERMANENT.
1735
9a5834ae
ZW
17362002-05-12 Zack Weinberg <zack@codesourcery.com>
1737
1738 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
1739 (scan_comma_elt): New function. Accepts whitespace in comma lists.
1740 * gensupport.h: Prototype new routines.
1741 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
1742 use of printf.
1743 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
1744 (next_comma_elt): Use scan_comma_elt.
1745
1746 * config/i386/i386.md: Use new attribute notation to break up
1747 long lines in define_attr forms.
1748
51286de6
RH
17492002-05-12 Richard Henderson <rth@redhat.com>
1750
1751 * expr.c (compress_float_constant): New.
1752 (emit_move_insn): Use it.
1753 (float_extend_from_mem): New.
1754 (init_expr_once): Initialize it.
1755 * real.c (exact_real_truncate): New.
1756
1757 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
1758 dropped into memory; penalize for size.
1759 (RTX_COSTS): FLOAT_EXTEND is free.
1760 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
1761 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
1762
6412341e
RH
17632002-05-12 Richard Henderson <rth@redhat.com>
1764
1765 * profile.h (profile_info): Add missing extern to declaration.
1766 * profile.c (profile_info): Define it.
1767
12877f09
JDA
17682002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1769
1770 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
1771 used for DImode and TImode.
1772
387f9e32
NB
17732002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
1774
1775 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
1776 fake a newline.
1777
e1a0f69c
ZW
17782002-05-11 Zack Weinberg <zack@codesourcery.com>
1779
1780 * config/rs6000/rs6000.c (rs6000_default_long_calls,
1781 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
1782 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
1783 (rs6000_override_options): Handle -m(no-)longcall.
1784 (init_cumulative_args, output_mi_thunk): Check for both
1785 longcall and shortcall attributes on the function.
1786 (rs6000_attribute_table): Add "shortcall".
1787 (rs6000_handle_longcall_attribute): Update comment.
1788 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
1789 altivec_expand_ternop_builtin): Add default clauses to switches
1790 to silence warnings.
1791
1792 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
1793 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
1794 (TARGET_OPTIONS): Add longcall and no-longcall.
1795
1796 * config/rs6000/rs6000.md (call_nonlocal_sysv,
1797 call_value_nonlocal_sysv): Split by alternatives. One pair
1798 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
1799 the call cookie. The other pair accepts only LR/CTR and has
1800 no restriction.
1801
1802 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
1803 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
1804 tmake_file.
1805 * config/rs6000/rs6000-c.c: New file.
1806 * config/rs6000/t-rs6000-c-rule: New file.
1807 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
1808 Prototype rs6000_pragma_longcall.
1809
1810 * doc/extend.texi: Document shortcall attribute.
1811 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
1812
9c64026d
JDA
18132002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1814
1815 * reorg.c (dbr_schedule): Remove unnecessary test.
1816
6c81a490
JH
1817Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
1818
1819 * i386.md (testsi to testqi spliters): New.
1820
1821 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
1822
1823 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
1824
1825 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
1826
1827 * basic-block.h: New flag EDGE_CAN_FALLTHRU
1828 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
1829 that can be made fallthru.
1830
1831 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
1832
1833 * cfglayout.c (cleanup_unconditional_jumps): New static function.
1834 (cfg_layout_initialize): Use it.
4c476cf3 1835
e4447d94
MM
18362002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
1837
1838 * config/avr/avr.c (avr_mcu_types): Update supported devices.
1839 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
1840 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1841
3a538a66
KH
18422002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1843
1844 * dbxout.c: Fix formatting.
1845 * dependence.c: Likewise.
1846 * df.c: Likewise.
1847 * diagnostic.c: Likewise.
1848 * doloop.c: Likewise.
1849 * dominance.c: Likewise.
1850 * doschk.c: Likewise.
1851 * dwarf2asm.c: Likewise.
1852 * dwarf2out.c: Likewise.
1853 * dwarfout.c: Likewise.
1854
2292e8fc
RH
18552002-05-10 Richard Henderson <rth@redhat.com>
1856
1857 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
1858 Convert integers constants as needed. Replace "nwords" field with
1859 "sizeof_bb".
1860 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
1861 * function.h: Fix typo in comment.
1862 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
1863
dbfb1116
RS
18642002-05-10 Roger Sayle <roger@eyesopen.com>
1865
1866 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
1867 into the equivalent (signed char)c > 0.
1868
79a497cd
JJ
18692002-05-10 Janis Johnson <janis187@us.ibm.com>
1870
1871 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
1872 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
1873 (struct prefetch_info): Fix spelling of member bytes_accessed.
1874 (emit_prefetch_instructions): Make dump messages more regular;
1875 restructure code to add more dump messages; use new macros for
1876 heuristics. (There are no code generation changes in any of this).
1877
6c45cb0d
DM
18782002-05-10 David S. Miller <davem@redhat.com>
1879
7440af14
DM
1880 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
1881 (struct rtx_def): Update unchanging flag comment.
1882 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
1883 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
1884 to be handled to INSN too.
1885 (dbr_schedule): Likewise.
1886 * resource.c (next_insn_no_annul): Likewise.
1887
6c45cb0d
DM
1888 * cse.c (rtx_cost): Remove multiplication by power of 2 special
1889 casing.
1890
29f21e4f
GP
18912002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1892
1893 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
1894 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
1895 (possibly) work around broken /bin/sh.
1896
e4ba88da
RO
18972002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1898
1899 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
1900 . as N64/N32 libgcc_s.so subdirs.
1901
4f4778ee
DM
19022002-05-10 David S. Miller <davem@redhat.com>
1903
1904 * config/sparc/sparc.md: Use define_constants for unspec numbers.
cf40ea15
DM
1905
1906 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
1907 more accurately.
1908 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
1909 comment.
1910 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
1911 * doc/rtl.texi: Document these macros more accurately.
1912 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
1913 JUMP_INSNs and CALL_INSNs.
1914 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
1915 or INSN_FROM_TARGET_P if the code is appropriate.
1916
1a499b92
MM
19172002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
1918
1919 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
1920 before using SYMBOL_REF_FLAG (addr).
1921
1922 * config/avr/avr-protos.h (avr_io_address_p): Declare.
1923 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
1924 Make non-static. Update all callers.
1925 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
1926 New insns to clear/set/test a single bit in I/O address space.
1927
65212b66
KG
19282002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1929
1930 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
1931
3df89291
NB
19322002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1933
1934 * Makefile.in: Update.
1935 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
1936 builtin_define_std): New.
1937 (c_common_init): Register CPP builtins callback.
1938 * c-common.h (flag_iso, flag_undef): New.
1939 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
1940 * c-lex.c: Don't include target.h.
1941 (cb_register_builtins): Move to c-common.c.
1942 (init_c_lex): Don't register hook here.
1943 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
1944 (cpp_define, cpp_assert): Remove.
1945 * gcc.c (cc1_options): Pass -undef to front end.
1946 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
1947 (TARGET_INITIALIZER): Update.
1948 * target.h (struct cpp_reader): Don't predeclare.
1949 (struct gcc_target): Remove cpp builtin hook.
1950 * tree.c (default_register_cpp_builtins): Remove.
1951doc:
1952 * tm.texi: Update.
1953
32fa4565
NB
19542002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1955
1956 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
1957
23357c55
RO
19582002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1959
1960 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
1961 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
1962
5aa26af0
JJ
19632002-05-09 Jakub Jelinek <jakub@redhat.com>
1964
1965 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
1966 * config/sparc/libgcc-sparc-glibc.ver: New file.
1967 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
1968 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
1969
2937267b
JJ
19702002-05-09 Jakub Jelinek <jakub@redhat.com>
1971
1972 PR target/6429
1973 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
1974 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
1975 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
1976 base multilibs.
1977 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
1978 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
1979 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1980 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1981
086c0f96
RH
19822002-05-09 Richard Henderson <rth@redhat.com>
1983
1984 * config/ia64/ia64.md: Use define_constants for unspec numbers.
1985 * config/ia64/ia64.c: Likewise.
1986
a8b4881f
RS
19872002-05-09 Richard Sandiford <rsandifo@redhat.com>
1988
1989 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
1990 (save_restore_insns): Likewise.
1991 (mips_expand_prologue, mips_expand_epilogue): Update callers.
1992 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
1993
890d52e8
JL
1994Thu May 9 11:50:09 2002 Jeffrey A Law (law@cygnus.com)
1995
af2728a4
JL
1996 * athlon.md, k6.md, pentium.md, ppro.md): New files.
1997 * i386.md: Move scheduling information into new files.
1998
890d52e8
JL
1999 * i386.md (type attribute): Add "rotate" for rotate insns.
2000 (rotate insns): Set type to "rotate".
2001 (various attributes and function units): Treat rotate like shift.
2002 (pent_pair attribute): Only rotates by one bit position are
2003 pairable.
2004 (sbb insns): Explicitly set pent_pair attribute on a couple
2005 that were missing it.
2006
f78ec36a
R
2007Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
2008
2009 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
2010 make sure that buffer starts on odd word address.
2011 (sh_va_arg): Skip odd fp registers when reading a double precision
2012 value.
2013
ff431459
NB
20142002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
2015
2016 * tree.h (preserve_data, object_permanent_p, type_precision):
2017 Remove.
2018
c3bf3e6e
NB
20192002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
2020
2021 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
2022 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
2023doc:
2024 * cpp.texi: Update for removal of obsolete features.
2025
02263a8a
JH
2026Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
2027 Jeffrey A Law (law@redhat.com)
2028
2029 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
2030 the DFA interface for Pentium processors.
2031 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
2032 (attr_pent_pair, ix86_pent_find_pair): Remove.
2033 (ix86_sched_reorder_pentium): Remove.
2034 (ix86_sched_reorder): Remove reordering for Pentium.
2035 * i386.md (Pentium scheduling): Rewrite using DFA description.
2036
3e638a90
JH
2037Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
2038
2039 * cfganal.c (can_fallthru): Fix fast path.
2040 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
2041 with edges to the next block.
2042
b7c9bf28
JH
2043Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
2044 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
2045
2046 * final.c (end_final): Use C trees to output data structures for profiling.
2047
2048 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
5692c7bc
ZW
2049 (profile.o): New dependency profile.h
2050 (final.o): New dependency profile.h
2051 * profile.h: New file. New global structure profile_info.
2052 * final.h (count_edges_instrumented_now): Declare.
2053 (current_function_cfg_checksum): Declare.
2054 (function_list): New structure.
2055 (functions_head, functions_tail): New static variables.
2056 (end_final): Emits more data, removed some -ax stuff.
2057 (final): Stores function names and chcksums.
2058 * gcov-io.h (__write_gcov_string): New function.
2059 (__read_gcov_string): New function.
2060 * gcov.c (read_profile): New function.
2061 (create_program_flow_graph): Uses read_profile instead of reading
b7c9bf28 2062 da_file.
5692c7bc
ZW
2063 (read_files): Removed da_file checking, it's done by read_profile now.
2064 * libgcc2.c (bb_function_info): New structure.
2065 (bb): New field in structure, removed some -ax stuff.
2066 (__bb_exit_func): Changed structure of da_file.
2067 * profile.c (count_edges_instrumented_now): New global variable.
2068 (current_function_cfg_checksum): New global variable.
2069 (max_counter_in_program): New global variable.
2070 (get_exec_counts): New function.
2071 (compute_checksum): New function.
2072 (instrument_edges): Sets count_edges_instrumented_now.
2073 (compute_branch_probabilities): Uses get_exec_counts instead of
b7c9bf28 2074 reading da_file.
5692c7bc
ZW
2075 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
2076 (init_branch_prob): Removed da_file checking, done in get_exec_counts
b7c9bf28 2077 now.
5692c7bc 2078 (end_branch_prob): Removed da_file checking, done in get_exec_counts
b7c9bf28 2079 now.
5692c7bc 2080 * gcov.texi: Updated information about gcov file format.
b7c9bf28 2081
786de7eb
KH
20822002-05-09 Kazu Hirata <kazu@cs.umass.edu>
2083
2084 * sbitmap.c: Fix formatting.
2085 * scan.c: Likewise.
2086 * scan-decls.c: Likewise.
2087 * sched-deps.c: Likewise.
2088 * sched-ebb.c: Likewise.
2089 * sched-rgn.c: Likewise.
2090 * sched-vis.c: Likewise.
2091 * sdbout.c: Likewise.
2092 * sibcall.c: Likewise.
2093 * simplify-rtx.c: Likewise.
2094 * ssa.c: Likewise.
2095 * ssa-ccp.c: Likewise.
2096 * ssa-dce.c: Likewise.
2097 * stmt.c: Likewise.
2098 * stor-layout.c: Likewise.
2099 * stringpool.c: Likewise.
2100
b7764693
DM
21012002-05-09 David S. Miller <davem@redhat.com>
2102
2103 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
2104
4e7d5d27
DM
21052002-05-07 David S. Miller <davem@redhat.com>
2106
2107 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
2108 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
2109 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
2110 library implementation clobbers the output before the inputs
2111 are fully consumed, use stack temporary for the output.
2112
f979570e
JT
21132002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
2114
2115 * config/netbsd.h (CPP_SPEC): Remove.
2116 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
2117 * config/i386/netbsd.h (CPP_SPEC): Define.
2118 * config/ns32k/netbsd.h (CPP_SPEC): Define.
2119 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
2120 * config/sparc/netbsd.h (CPP_SPEC): Define.
2121 * config/vax/netbsd.h (CPP_SPEC): Define.
2122
a6a2274a
KH
21232002-05-08 Kazu Hirata <kazu@cs.umass.edu>
2124
2125 * read-rtl.c: Fix formatting.
2126 * real.c: Likewise.
2127 * recog.c: Likewise.
2128 * regclass.c: Likewise.
2129 * regmove.c: Likewise.
2130 * reg-stack.c: Likewise.
2131 * reload1.c: Likewise.
2132 * reload.c: Likewise.
2133 * resource.c: Likewise.
2134 * rtlanal.c: Likewise.
2135 * rtl.c: Likewise.
2136 * rtl-error.c: Likewise.
2137
461b48d5
JDA
21382002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
2139
2140 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
2141 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
2142
95d075ff
BS
21432002-05-08 Bernd Schmidt <bernds@redhat.com>
2144
2145 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
2146 use __SSE2__ macro instead.
2147 * config/i386/xmmintrin.h: Likewise.
2148
2d4cc6a7
JJ
21492002-05-08 Janis Johnson <janis187@us.ibm.com>
2150
2151 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
2152 and use it in all invocations of these macros. Clean up comments.
2153 * rtl.c (rtl_check_failed_flag): Add an argument for the name
2154 of the flag access macro whose check failed.
2155 * doc/rtl.texi (Flags): Document additional flag uses.
2156
3f8ffc7c
RS
21572002-05-08 Robert Spier <rspier@pobox.com>
2158 Neil Booth <neil@daikokuya.demon.co.uk>
2159
2160 PR preprocessor/6521
2161 * cppfiles.c (handle_missing_header): Don't do anything
2162 different for <> includes.
2163doc:
2164 * cppopts.texi: Update documentation for -MG.
2165
b9e2d17b
NB
21662002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
2167
2168 * cpplex.c (cpp_interpret_charconst): Truncate as well as
2169 sign-extend.
2170doc:
2171 * cpp.texi: Clarify multichar charconst valuation.
2172
8d8269fa
MM
21732002-05-08 Mark Mitchell <mark@codesourcery.com>
2174
2175 * doc/invoke.texi: Document -mwindiss option.
2176
29b91443
JM
21772002-05-08 Jason Merrill <jason@redhat.com>
2178
2179 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
2180
2181 * dwarf2out.c (gen_type_die): Abort on broken recursion.
2182
2183 PR c++/6381
2184 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
2185 REAL_CST.
2186
6c76b950
NC
21872002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
2188
2189 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
2190 little-endian multilibs to override arm/thumb multilibs.
a5c76ee6 2191 Do not build hardware floating point multilibs, nor apcs-26
6c76b950
NC
2192 multilibs for the Thumb.
2193
f90bf7ca
MM
21942002-05-08 Mark Mitchell <mark@codesourcery.com>
2195
2196 PR c/6569.
2197 * varasm.c (mark_weak): New function.
2198 (merge_weak): Use it. Do not call declare_weak.
2199 (declare_weak): Use merge_weak.
2200
1e150f2c
JH
2201Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
2202
2203 * cse.c (dead_libcall_p): Update counts.
2204 (delete_trivially_dead_insns): Update call of dead_libcall_p.
2205
969d70ca
JH
2206Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
2207
2208 * cfglayout.c (function_tail_eff_head): Rename to ...
2209 (function_footer): ... this one.
2210 (unlink_insn_chain): New functions.
2211 (label_for_bb): Only call block_label and emit debug message.
2212 (record_effective_endpoints): Actually unlink the headers and footers.
2213 (fixup_reorder_cahin): Re-insert the unlinked sequences.
2214 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
2215 * cfglayout.h (struct reorder_block_def): New fields footer/header;
2216 remove eff_head/eff_end.
2217 * rtl.h (set_first_insn): Declare.
2218 * emit-rtl.c (set_first_insn): New function.
2219
2220 * cfglayout.c (fixup_reorder_chain): Dump duplicated
2221 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
2222 cfg_layout_duplicate_bb): New global function.
2223 (duplicate_insn_chain): New static function.
2224 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
2225 cfg_layout_duplicate_bb): Declare.
2226 (struct reorder_block_def): Add "original" field.
2227 * emit-rtl.c (emit_copy_of_insn_after): New function.
2228 * rtl.h (emit_copy_of_insn_after): Declare.
2229
2230 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
2231 (fixup_reorder_chain): properly handle edges to exit block.
2232
2233Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2234 Jan Hubicka <jh@suse.cz>
2235
2236 * basic-block.h (note_prediction_to_br_prob): declare.
2237 * c-semantics.c: Inlucde predit.h
2238 (expand_stmt): predict GOTO_STMT as not taken.
2239 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
2240 (cleanup_cfg): Do not free tail_recursion_list.
2241 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
2242 (flow_delete_block): Kill predictions past end of basic block.
2243 * output.h (delete_unreachable_blocks): Declare.
2244 * predict.c (predicted_by_p, process_note_predictions,
2245 process_note_prediction, last_block_p): New function.
2246 (estimate_probability): Bypass loop on PRED_CONTINUE;
2247 do not handle noreturn heuristics; kill PRED_RETURN; add
2248 PRED_EARLY_RETURN.
2249 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
2250 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
2251 * predict.h (IS_TAKEN): New constant.
2252 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
2253 * rtl.c (NOTE_INSN_PREDICTION): New.
2254 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
2255 New macro.
2256 (insn_note): add NOTE_INSN_PREDICTION.
2257 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
2258 CFG; free tail_recursion_label_list.
2259 * stmt.c: Include predict.h;
2260 (return_prediction): New.
2261 (expand_value_return): Use it.
2262 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
2263
41f8d041
RS
22642002-05-08 Richard Sandiford <rsandifo@redhat.com>
2265
2266 * config/mips/mips.md: Name the unspecs with define_constant.
2267 (*HILO_delay): Rename to 'hilo_delay' (no star).
2268 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
2269 (reload_outdi, reload_outsi): Likewise.
2270
9cabb1d8
KH
22712002-05-07 Kazu Hirata <kazu@cs.umass.edu>
2272
2273 * toplev.c: Fix formatting.
2274
4c76f856
JJ
22752002-05-07 Janis Johnson <janis187@us.ibm.com>
2276
2277 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
2278 * configure.in (ac_rtlflag_checking): New.
2279 * doc/install.texi (--enable-checking): Document RTL flag checking.
2280
44a147ad
NB
22812002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
2282
2283 * c-common.c (c_common_init): Set options->unsigned_wchar.
2284 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
2285 group target dependencies.
2286 (init_builtins, cpp_handle_option): Update.
2287 * cpplex.c (cpp_interpret_charconst): Update.
2288 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
2289 signed_char to unsigned_char, group target dependencies.
2290 * defaults.h (WCHAR_UNSIGNED): Remove.
2291 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
2292config:
2293 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
2294 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
2295 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
2296 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
2297 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
2298doc:
2299 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
2300
cace4f93
MM
23012002-05-07 Mark Mitchell <mark@codesourcery.com>
2302
2303 * fixinc/inclhack.def (windiss_math1): New fix.
2304 (windiss_math2): Likewise.
2305 (windiss_valist): Likewise.
2306 * fixinc/fixincl.x: Regenerated.
2307
e2ff6cee
AJ
23082002-05-07 Andreas Jaeger <aj@suse.de>
2309
2310 * genautomata.c (output_internal_min_issue_delay_func): Add
2311 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
2312 (output_internal_trans_func): Likewise.
2313
bdad4be5
JL
2314Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
2315
2316 * pa.c (hppa_profile_hook): Use force_reg to get the address
2317 of the profile hook into an appropriate pseudo register.
2318
a1ffecd9
MM
23192002-05-07 Mark Mitchell <mark@codesourcery.com>
2320
2321 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
2322 (LINK_START_SPEC): Handle it.
2323 (LINK_OS_SPEC): Likewise.
2324 (CPP_SPEC): Likewise.
2325 (STARTFILE_SPEC): Likewise.
2326 (LIB_SPEC): Likewise.
2327 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
2328 all platforms.
2329 (CRTSAVRES_DEFAULT_SPEC): New macro.
2330 (LIB_WINDISS_SPEC): New macro.
2331 (CPP_OS_WINDISS_SPEC): Likewise.
2332 (STARTFILE_WINDISS_SPEC): Likewise.
2333 (ENDFILE_WINDISS_SPEC): Likewise.
2334 (LINK_START_WINDISS_SPEC): Likewise.
2335 (LINK_OS_WINDISS_SPEC): Likewise.
2336 * config/rs6000/windiss.h: New file.
e2ff6cee 2337
df966bff
AH
23382002-05-07 Aldy Hernandez <aldyh@redhat.com>
2339
a5c76ee6 2340 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
df966bff 2341
db84f1bd
DM
23422002-05-06 David S. Miller <davem@redhat.com>
2343
2344 * config/sparc/sparc.md (shift insns): Do not mask off
2345 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
2346 take care of it.
2347
818c0c94
RH
23482002-05-06 Richard Henderson <rth@redhat.com>
2349
2350 PR c++/6212
2351 * expr.c (highest_pow2_factor_for_type): New.
2352 (expand_assignment): Use it.
2353
61e0b50f
AH
23542002-05-06 Aldy Hernandez <aldyh@redhat.com>
2355
818c0c94
RH
2356 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
2357 unspec_volatile.
2358 ("altivec_mfvscr"): Same.
61e0b50f 2359
5a63e069
JJ
23602002-05-06 Janis Johnson <janis187@us.ibm.com>
2361
2362 * rtl.h (struct rtx_def): Update comments.
2363 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
2364 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
2365 RTL_FLAG_CHECK macros with list of expected RTL codes.
2366 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
2367 (rtl_check_failed_flag): New.
2368 * reload1.c (reload): Use REG macro before changing rtx to MEM.
2369 (reload_cse_noop_set_p): Check rtx code before using access macro.
2370 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
2371 before using access macro.
2372
4afe3952
JJ
23732002-05-06 Janis Johnson <janis187@us.ibm.com>
2374
2375 * doc/rtl.texi (Flags): Update to reflect current usage.
2376
1f77b5da
RS
23772002-05-06 Roger Sayle <roger@eyesopen.com>
2378
2379 PR opt/3995
2380 * fold-const.c (sign_bit_p): New function.
2381 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
818c0c94 2382 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
1f77b5da
RS
2383 Reapply fold when converting (A & C) == C into (A & C) != 0.
2384 (fold_binary_op_with_conditional_arg): Fix typo in comment.
2385
a5a49440
NB
23862002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
2387
2388 * c-common.c (warn_multichar): New.
2389 (c_common_init): Set CPP's warn_multichar.
2390 * c-common.h (warn_multichar): New.
2391 * c-decl.c (warn_multichar): Remove.
2392 * c-lex.c (lex_charconst): Update.
2393 * c-tree.h (warn_multichar): Remove.
2394 * cppexp.c (eval_token): Sign-extend charconst value.
2395 * cppinit.c (cpp_create_reader): Set warn_multichar.
2396 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
2397 each character. Update prototype. Sign-extend the result.
2398 * cpplib.h: Fix conditions.
2399 (struct cpp_options): Add new warning flag.
2400 (cpp_interpret_charconst): Update prototype.
2401doc:
2402 * cpp.texi: Update documentation.
2403
83e0be55
VM
24042002-05-06 Vladimir Makarov <vmakarov@redhat.com>
2405
2406 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
2407 Fix typo in usage of allof instead of unit.
2408
688ec718
RH
24092002-05-06 Richard Henderson <rth@redhat.com>
2410
2411 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
2412 and any jump or call for IN.
2413
f6536266
BS
24142002-05-06 Bernd Schmidt <bernds@redhat.com>
2415
e2ff6cee 2416 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
f6536266
BS
2417 -msse2.
2418 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
e2ff6cee 2419
0316d49b
RS
24202002-05-06 Roger Sayle <roger@eyesopen.com>
2421
2422 * fold-const.c (lshift-double): Cast the high word to an unsigned
2423 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
2424 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
2425 avoid compiler warning. (fold): Remove redundant code from
2426 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
2427
5d50fab3
JL
24282002-05-06 Jeff Law <law@redhat.com>
2429
2430 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
2431 * pa.c (pa_adjust_cost): Remove all true dependency cost
2432 adjustments. Also remove support for non-DFA scheduling.
2433 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
2434 to adjust true dependency costs. Update various comments.
2435 (7100lc, 7200, 7300 scheduling): Simplify by combining the
2436 FP ALU & MPY units into a single unit.
2437
a17a104c
CM
24382002-05-06 Catherine Moore <clm@redhat.com>
2439
2440 * config/v850/v850.c (compute_register_save_size): Make sure
818c0c94 2441 to count all of the registers that will be saved.
a17a104c 2442
7799175f
JH
2443Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
2444
2445 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
2446
0ac941a0
DM
24472002-05-06 David S. Miller <davem@redhat.com>
2448
2449 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
2450 allow result to overlap input operands in memory.
2451
95ff5d3f
NB
24522002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2453
2454doc:
2455 * cpp.texi: Update multichar charconst docs.
2456
639e8b0c
NB
24572002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2458
2459 * cpplex.c (cpp_interpret_charconst): Sign-extend each
2460 character. Don't ignore excess characters. Treat
2461 multicharacter character constants as signed.
2462 (cpp_parse_escape): Clarify diagnostic.
2463
84ea5bc1
JJ
24642002-05-05 Jakub Jelinek <jakub@redhat.com>
2465
2466 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
2467 use add instead of shift.
2468 (ashldi3_sp64): Likewise.
2469 (ashlsi3_const1, ashldi3_const1): Remove.
2470 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
2471 * config/sparc/sparc.c (const1_operand): New.
2472
40cd22f2
JT
24732002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
2474
2475 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
2476
cac01076
JJ
24772002-05-05 Jakub Jelinek <jakub@redhat.com>
2478
2479 PR target/6561
2480 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
2481
98791e3a
RH
24822002-05-05 Richard Henderson <rth@redhat.com>
2483
2484 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
2485 memory latency adjustments.
2486 (alpha_variable_issue): Remove.
2487 (alpha_use_dfa_pipeline_interface): New.
2488 (alpha_multipass_dfa_lookahead): New.
2489 * config/alpha/alpha.md: Remove define_function_unit scheduling;
2490 include new dfa scheduling.
2491 (attr type): Add none.
2492 (blockage): Use it.
2493 * config/alpha/ev4.md: New.
2494 * config/alpha/ev5.md: New.
2495 * config/alpha/ev6.md: New.
2496
309527ce
DM
24972002-05-05 David S. Miller <davem@redhat.com>
2498
2499 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
2500
68252e27
KH
25012002-05-05 Kazu Hirata <kazu@cs.umass.edu>
2502
2503 * cse.c: Fix formatting.
2504 * emit-rtl.c: Likewise.
2505
30cc9d00
VM
25062002-05-05 Vladimir Makarov <vmakarov@redhat.com>
2507
2508 * genautomata.c (initiate_states): Add additional guard to
2509 initialize `units_array'.
2510
deb09eff
VM
25112002-05-05 Vladimir Makarov <vmakarov@redhat.com>
2512
2513 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
2514 process_unit_to_form_the_same_automaton_unit_lists,
2515 form_the_same_automaton_unit_lists
2516 check_unit_distributions_to_automata): New prototypes and
2517 functions.
2518 (check_automata): Rename it into `check_automata_insn_issues'.
2519 (unit_decl): New fields `the_same_automaton_unit' and
2520 `the_same_automaton_message_reported_p'.
2521 (unit_decl_t): New typedef.
2522 (the_same_automaton_lists): New gloval variable.
2523 (unit_regexp, unit_set_el, units_array, units_cmp,
2524 output_get_cpu_unit_code_func): Use the typedef.
2525 (evaluate_max_reserv_cycles): Increment
2526 `description->max_insn_reserv_cycles'.
2527 (initiate_states): Don't increment `max_cycles_num'.
2528 (transform_insn_regexps): Move code around transformation of
2529 regexps from `generate'.
2530 (generate): Remove call of `transform_insn_regexps'.
2531 (expand_automata): Call `transform_insn_regexps' and
2532 `check_unit_distributions_to_automata'. Check errors before
2533 `generate'.
2534
2535 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
2536 automaton `ultrasparc3_1'.
e2ff6cee 2537
2443d4e1
NB
25382002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
2539
2540 * c-common.c (c_common_init): Set up CPP arithmetic.
2541 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
2542 something reasonable for the host.
2543 (sanity_checks): Add checks.
2544 (cpp_read_main_file): Call sanity_checks() from here...
2545 (cpp_post_options): ... not here.
2546 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
2547 * cpplib.h (struct cpp_options): New member int_precision.
2548
791a949f
FS
25492002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2550
2551 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
2552
091fb516
DM
25532002-05-04 David S. Miller <davem@redhat.com>
2554
f60ebeb7
DM
2555 * config/sparc/linux.h, config/sparc/linux64.h
2556 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
2557
214c6394
DM
2558 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
2559 more RTX codes.
2560 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
2561
091fb516
DM
2562 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
2563 of SETs.
2564
f2fdc802
TJ
25652002-05-05 Tim Josling <tej@melbpc.org.au>
2566
e2ff6cee 2567 * treelang; New directory for new sample language treelang.
f2fdc802 2568
3d90d290
NB
25692002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2570
2571 * Makefile.in (c-lex.o): Update.
2572 * c-lex.c: Include target.h.
2573 (cb_register_builtins): New.
2574 (init_c_lex): Set builtins callback.
2575 * c-lex.h (cpp_define, cpp_assert): New prototypes.
2576 * cppinit.c (init_builtins): Use callback, including for
2577 GXX_WEAK.
2578 * cpplib.h (struct cpp_callbacks): New member.
2579 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
2580 (TARGET_INITIALIZER): Update.
2581 * target.h (struct gcc_target): New hook.
2582 * tree.c (default_register_cpp_builtins): New.
2583 * tree.h (default_register_cpp_builtins): New.
2584doc:
2585 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
2586
625458d0
NB
25872002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2588
2589 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
2590 (cpp_post_options): Move sanity checks to...
2591 (sanity_checks): New.
2592 * cpplex.c (maybe_read_ucs): Fix prototype.
2593 (parse_string, cpp_parse_escape): Cast for %c format specifier.
2594 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
2595 if necessary.
2596
916b60b7
BS
25972002-05-04 Bernd Schmidt <bernds@redhat.com>
2598
2599 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
2600 builtins. Use V2DI patterns instead of TI for logical operations.
2601 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
2602 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
2603 (ix86_expand_builtins): Change the pattern used for movntdq.
2604 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
2605 sse2_nandv2di3): New patterns.
2606 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
2607 on operands.
2608 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
2609 (cvtdq2pd): Correct mode on operand 1.
2610 (sse2_umulsidi3): Describe without unspec.
2611 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
2612 machine modes.
2613 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
2614 (ashlv2di3): Likewise, from sse2_ashlv2di3.
2615 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
2616 ashlv4si3, ashlv2di3): Use SImode for shift count.
2617 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
2618 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
2619 New patterns.
2620 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
2621 New typedefs.
2622 (__m128i, __m128d): New macros.
2623 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
2624 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
2625 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
2626 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
2627 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
e2ff6cee 2628 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
916b60b7
BS
2629 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
2630 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
e2ff6cee 2631 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
916b60b7
BS
2632 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
2633 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
2634 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
2635 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
2636 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
2637 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
2638 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
2639 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
2640 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
2641 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
2642 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
2643 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
2644 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
2645 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
2646 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
2647 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
2648 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
2649 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
2650 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
2651 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
2652 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
2653 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
2654 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
2655 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
2656 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
2657 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
2658 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
2659 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
2660 functions.
e2ff6cee 2661 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
916b60b7
BS
2662 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
2663
c26fbbca
KH
26642002-05-04 Kazu Hirata <kazu@cs.umass.edu>
2665
2666 * dwarf2out.c: Fix formatting.
2667 * varasm.c: Likewise.
2668
0387639b
DE
26692002-05-04 David Edelsohn <edelsohn@gnu.org>
2670
2671 PR c/6543
2672 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
2673 clobber and use result as temporary value.
2674
8a28dbcc
JH
2675Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
2676
2677 * expr.c (force_operand): Use expand_simple_* to handle more
2678 cases.
2679
4268e8bb
NB
26802002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2681
2682 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
2683 and sign-extension.
2684 (lex_charconst): Update for change in prototype of
2685 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
2686 appropriately.
2687 * cpphash.h (BITS_PER_CPPCHAR_T): New.
2688 * cppinit.c (cpp_create_reader): Initialize them for no
2689 change in semantics.
2690 (cpp_post_options): Add sanity checks.
2691 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
2692 and truncation issues. Calculate in type cppchar_t.
2693 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
2694 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
2695 run-time dependent precision correctly. Return whether the
2696 result is signed or not.
2697 * cpplib.c (dequote_string): Use cppchar_t; update.
2698 * cpplib.h (cppchar_signed_t): New.
2699 struct cpp_options): New precision members.
2700 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
ae1a07e0 2701 * cppexp.c (eval_token): Update.
4268e8bb 2702
af54350e
DM
27032002-05-03 David S. Miller <davem@redhat.com>
2704
2ce04b6b
DM
2705 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
2706 * config/sparc/sparc.c (sparc_rtx_costs): New function
2707 implementing RTX_COSTS and CONST_COSTS.
2708 * config/sparc/sparc.h (CONST_COSTS): Delete.
2709 (RTX_COSTS_CASES): Define.
2710 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
2711 the work.
2712
a1d9bd0c
DM
2713 * config/sparc/sparc.md (DFA schedulers): Split out...
2714 * config/sparc/cypress.md, config/sparc/hypersparc.md,
2715 config/sparc/sparclet.md, config/sparc/supersparc.md,
2716 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
2717
e87bb82e
DM
2718 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
2719 checks on it, always defined for Sparc.
2720
af54350e
DM
2721 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
2722 Tweak, and add more detailed comments.
2723
935bfb44
ZW
27242002-05-03 Zack Weinberg <zack@codesourcery.com>
2725
2726 * Re-apply patch accidentally reverted with
2727 DFA scheduler merge: remove all rules and variables to slurp
2728 source files out of libiberty and rebuild them with HOST_CC.
2729 ($(HOST_PREFIX_1)varray.o): New rule.
2730 (genattrtab rule): Word wrap.
2731
fa7a0712
JT
27322002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2733
2734 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
2735 (CPP_SUBTARGET_SPEC): Define.
2736 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
2737 cpp_subtarget specs.
2738 (CPP_SPEC): Redefine to include %(cpp_subtarget).
2739
14c93978
DM
27402002-05-03 David S. Miller <davem@redhat.com>
2741
2742 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
2743 * target.h (struct gcc_target): Delete cycle_display member.
2744
14d118d6
DM
2745 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
2746 (rtx_needs_barrier): Delete reference to cycle_display unspec.
2747 (ia64_sched_reorder2): Mention need for cycle display handling
2748 once such notes exist.
935bfb44 2749
b3ae1ccd
RH
27502002-05-03 Richard Henderson <rth@redhat.com>
2751
2752 * real.c (etoasc): Strip most trailing zeros for clarity.
2753 * sched-vis.c: Include real.h.
2754 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
2755 * Makefile.in (sched-vis.o): Add real.h.
2756
8f39865a
DM
27572002-05-03 David S. Miller <davem@redhat.com>
2758
2759 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
2760 no longer needed.
2761
b44140e7
AH
27622002-05-03 Aldy Hernandez <aldyh@redhat.com>
2763
935bfb44
ZW
2764 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
2765 when we get an out of range literal.
2766 (altivec_expand_ternop_builtin): Same.
2767 (altivec_expand_unop_builtin): Same.
2768 (altivec_expand_builtin): Same, for dss.
2769 (altivec_expand_builtin): Use trees instead of rtl when
2770 determining literal argument validity.
b44140e7 2771
aaaed752
DM
27722002-05-03 David S. Miller <davem@redhat.com>
2773
2774 Delete cycle display scheduling hook.
2775 * config/ia64/ia64.c (ia64_cycle_display,
2776 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
2777 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
2778 and use emit_insn_before instead of ia64_emit_insn_before.
2779 * config/ia64/ia64.md (unspec usage): Delete cycle display.
2780 (cycle_display): Delete insn pattern.
2781 * config/sparc/sparc.md (unspec usage): Delete cycle display.
2782 (cycle_display): Delete insn pattern.
2783 * config/sparc/sparc.c (sparc_cycle_display,
2784 TARGET_SCHED_CYCLE_DISPLAY): Delete.
2785 * doc/md.texi (cycle_display): Don't mention.
2786 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
935bfb44 2787
b37c2614
RH
27882002-05-03 Richard Henderson <rth@redhat.com>
2789
2790 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
2791 * recog.h: Declare them.
2792
2793 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
2794 * config/sparc/sparc.md: Use store_data_bypass_p instead.
2795 * config/sparc/sparc-protos.h: Update.
935bfb44 2796
e1c1132e
JT
27972002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2798
2799 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
2800 -D__arch64__. Add -D_LP64.
2801 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
2802 from sparc.h.
2803 (CPP_ARCH64_SPEC): Likewise.
2804 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
2805 (NO_BUILTIN_SIZE_TYPE): Undef.
2806
0b2fb0d7
VM
28072002-05-03 Vladimir Makarov <vmakarov@redhat.com>
2808
2809 * genautomata.c (min_issue_delay_pass_states): Change return type
2810 in the prototype.
2811 (min_issue_delay_pass_states): Change the algorithm.
2812 (min_issue_delay): Set up min_insn_issue_delay for the state.
2813 (output_min_issue_delay_table): Interchange the nested loops and
2814 and initiate min_insn_issue_delay for states.
935bfb44 2815
3d4ce12a
JH
2816Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
2817
2818 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
2819 jump is simplejump.
2820
2821Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
37ad04a5
JH
2822
2823 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
2824 sequence.
2825
b5482208
RH
28262002-05-03 Richard Henderson <rth@redhat.com>
2827
2828 PR opt/6534
2829 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
2830 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
2831 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
2832 code before JUMP, not EARLIEST.
2833
5a3085c5
JM
28342002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
2835
2836 * c-format.c (check_format_info_main): Don't check for presence of
2837 parameter for * width until after operand number has been read,
2838 and only check for it if format parameters are available.
2839 Fixes PR c/6547.
2840
40039424
JT
28412002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2842
2843 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
2844 (LINK_SPEC): Undef before defining.
2845
8157303b
JJ
28462002-05-03 Jakub Jelinek <jakub@redhat.com>
2847
2848 PR preprocessor/6489
2849 * tradcpp.c (fixup_newlines): New.
2850 (main, finclude): Use it.
2851
66319f5c
RS
28522002-05-03 Richard Sandiford <rsandifo@redhat.com>
2853
2854 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
2855 * config/mips/mips.c (mips_unique_section): Strip encoding from
2856 decl name.
2857
ce8076ad
JJ
28582002-05-03 Jakub Jelinek <jakub@redhat.com>
2859
2860 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
2861 mode.
2862
975c6e4e
RO
28632002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2864
2865 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
2866 (Specific): Removed buildstats references.
2867 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
2868 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
2869 Accomodate Solaris versions beyond 8.
2870 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
2871 (Specific, *-*-solaris2.8): Removed, obsolete.
2872
d70e94ec
JJ
28732002-05-03 Jakub Jelinek <jakub@redhat.com>
2874
2875 PR target/6542
2876 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
2877 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
2878 fill leaf_reg_remap with identity.
2879 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
2880
6b148bd9
KH
28812002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2882
2883 * config/h8300/crti.asm: Remove trailing spaces.
2884 * config/h8300/h8300.c: Likewise.
2885 * config/h8300/lib1funcs.asm: Likewise.
2886
609688f3
JM
28872002-05-02 Jason Merrill <jason@redhat.com>
2888
2889 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
2890 * c-decl.c (c_init_decl_processing): Use it.
2891 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
2892 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
2893 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
2894
3b03c671
KH
28952002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2896
2897 * regrename.c: Fix formatting.
2898 * tree.c: Likewise.
2899
3b4961bd
JH
2900Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
2901
2902 * i386.md (attribute memory): Handle compares properly.
2903
19cba4a0
JH
2904Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
2905
3b4961bd 2906 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
19cba4a0
JH
2907 to none.
2908
797a6ac1
KH
29092002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2910
2911 * function.c: Fix formatting.
2912
6d0de005
JH
29132002-05-02 Jan Hubicka <jh@suse.cz>
2914
2915 * haifa-sched.c (schedule_insn): Print table of instructions and
2916 reservations.
2917 (sched_block): Do not print ready list at verbosity level 1.
2918 * sched-vis.c (print_insn): Make global.
2919 * sched-ebb.c (ebb_print_insn): Rename from...
2920 (print_insn): ... this one.
2921 * sched-int.h (print_insn): Declare
2922
0bfb9a69
RH
29232002-05-02 Richard Henderson <rth@redhat.com>
2924
2925 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
2926 emitted by cycle_display.
2927
6b976d99
LR
29282002-05-02 Loren J. Rittle <ljrittle@acm.org>
2929
2930 * doc/install.texi (*-*-freebsd*): Update to latest status.
2931
0a295052
JJ
29322002-05-02 Jakub Jelinek <jakub@redhat.com>
2933
2934 PR target/6540
2935 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
2936 * config/float-sparc.h: Assume 128-bit long double if
2937 __LONG_DOUBLE_128__ is defined.
2938
842d5d6c
VM
29392002-05-02 Vladimir Makarov <vmakarov@redhat.com>
2940
2941 * genattrtab.c (write_function_unit_info): Add a dummy element
2942 when num_units == 0.
2943
3d7a6309
HB
29442002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2945
2946 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
2947 TYPE_MODE (double_type_node) instead of DFmode.
2948
1b6763cf
JH
2949Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
2950
2951 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
2952 jumps post reload.
2953 * toplev.c (rest_of_compilation): Revert Richard's patch.
2954
b303008e
JDA
29552001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
2956
2957 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
2958
6ed7412a
CM
29592002-05-02 Catherine Moore <clm@redhat.com>
2960
2961 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
2962
e0a2f705
KH
29632002-05-02 Kazu Hirata <kazu@hxi.com>
2964
b32d6163 2965 * combine.c: Fix comment typos.
e0a2f705
KH
2966 * expr.c: Likewise.
2967 * genautomata.c: Likewise.
2968 * stmt.c: Likewise.
2969 * tree.h: Likewise.
2970
38e23049
JM
29712002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
2972
2973 * doc/install.texi: State GNAT version requirements.
2974
40f4a97d
NC
29752002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2976
2977 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
2978 of the frame pointer or arg pointer register which strict register
2979 checking is not enabled.
2980
0d6d6892
AH
29812002-05-02 Aldy Hernandez <aldyh@redhat.com>
2982
b5482208 2983 * gcc.dg/altivec-8.c: New.
0d6d6892 2984
b5482208
RH
2985 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
2986 PRE_INC and PRE_DEC for altivec modes.
0d6d6892 2987
abaa8559
BK
29882002-05-01 Bruce Korb <bkorb@gnu.org>
2989
2990 * fixinc/check.tpl(set-writable): make sure the function exists first
2991 * fixinc/inclhack.def(alpha_assert): fix test_text
2992 * fixinc/tests/base/assert.h: add in missing result
2993
ecab2143
JL
29942002-05-01 Jeff Law <law@redhat.com>
2995
2996 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
2997 'T' constraint.
2998
ea619b46
JB
29992002-05-01 Joel Brobecker <brobecker@gnat.com>
3000
3001 * dbxout.c (dbxout_type): Emit size information for range types,
3002 as well, but only when using GDB extensions.
3003
c72931a6
RH
30042002-05-01 Richard Henderson <rth@redhat.com>
3005
3006 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
3007 target-independent gnu binutils date test.
3008
2150ad33
RH
30092002-05-01 Richard Henderson <rth@redhat.com>
3010
3011 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
3012 info before expunging the block.
3013
1651cc96
JJ
30142002-05-01 Jakub Jelinek <jakub@redhat.com>
3015
3016 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
3017 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
3018 -M -or -MM is in effect.
3019
8998d5bf
ZW
30202002-05-01 Zack Weinberg <zack@codesourcery.com>
3021
3022 * config.gcc: Correct test of --enable-obsolete. Obsolete all
3023 A29k configurations.
3024 * doc/install.texi: Update to match.
3025
a81eed10
FS
30262002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3027
3028 PR bootstrap/6514
3029 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
3030 for duplicates. Always loop over whole list.
3031
8d53318f
RK
3032Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3033
3034 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
3035
4109b118
JS
30362002-05-01 Joel Sherrill <joel@OARcorp.com>
3037
3038 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
3039 support routines.
3040
c4a9c570
JS
30412002-05-01 Joel Sherrill <joel@OARcorp.com>
3042
3043 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
3044
ea112fc4
DE
30452002-05-01 David Edelsohn <edelsohn@gnu.org>
3046
3047 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
3048 (nabs_nopower): Same.
3049 (floatdisf2): New pattern.
3050 (absdi2): Convert to define_insn_and_split.
3051 (nabsdi2): Same.
3052 (trunctfsf2): Same.
3053 (floatditf2): Same.
3054 (floatsitf2): Same.
3055 (fix_trunctfdi2): Same.
3056 (fix_trunctfsi2): Same.
3057
dda78254
JM
30582002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
3059
3060 * doc/install.texi: Update Texinfo version requirement
3061 documentation.
3062
26aeede4
JJ
30632002-05-01 Jakub Jelinek <jakub@redhat.com>
3064
3065 PR target/6512, PR target/5628
3066 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
3067 when memory is not aligned.
3068 (movdf_insn_v9only_vis): Likewise.
3069 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
3070 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
3071 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
3072
9b7bc465
AH
30732002-05-01 Aldy Hernandez <aldyh@redhat.com>
3074
8998d5bf 3075 * gcc.dg/altivec-7.c: New.
9b7bc465 3076
8998d5bf 3077 * config/rs6000/altivec.h: Cleanup.
9b7bc465 3078
08b57fb3
AH
30792002-04-30 Aldy Hernandez <aldyh@redhat.com>
3080
8998d5bf
ZW
3081 * doc/invoke.texi (Option Summary): Add -mvrsave=.
3082 (RS/6000 and PowerPC Options): Document -mvrsave=.
08b57fb3 3083
8998d5bf
ZW
3084 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
3085 (rs6000_altivec_vrsave_string): Same.
3086 (rs6000_override_options): Call rs6000_parse_vrsave_option.
3087 (rs6000_parse_vrsave_option): New.
3088 (rs6000_stack_info): Only generate vrsave instructions when
3089 TARGET_ALTIVEC_VRSAVE.
08b57fb3 3090
8998d5bf
ZW
3091 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
3092 (rs6000_altivec_vrsave_string): Define extern.
3093 (rs6000_altivec_vrsave): Same.
3094 (TARGET_ALTIVEC_VRSAVE): New.
08b57fb3 3095
8e8c38cd
RH
30962002-04-30 Richard Henderson <rth@redhat.com>
3097
3098 PR opt/6516
3099 * toplev.c (rest_of_compilation): Don't run cross-jump before
3100 bb-reorder.
3101
4be9e9cb
TR
31022002-04-30 Tom Rix <trix@redhat.com>
3103
8998d5bf 3104 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
4be9e9cb
TR
3105 check which_alternative.
3106
1eeeb6a4
KH
31072002-04-30 Kazu Hirata <kazu@hxi.com>
3108
3109 * cpplex.c: Fix comment formatting.
3110 * function.c: Likewise.
3111 * integrate.c: Likewise.
3112 * regrename.c: Likewise.
3113 * sibcall.c: Likewise.
3114 * simplify-rtx.c: Likewise.
3115 * tree-inline.c: Likewise.
3116
ed9d6ff9
JDA
31172002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
3118
3119 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
3120 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
3121 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
3122 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
3123 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
3124 * pa/x-ada: New file. Define ADA_CFLAGS.
3125
1f2641b6
HPN
31262002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
3127
3128 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
3129 from MMIX_LAST_REGISTER_FILE_REGNUM.
3130 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
3131 (struct machine_function): New member highest_saved_stack_register
3132 previously static variable in mmix.c.
3133 (MACHINE_DEPENDENT_REORG): Define.
3134 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
3135 (MMIX_OUTPUT_REGNO): New.
3136 (mmix_target_asm_function_prologue): Move calculation of last used
3137 saved-stack-register into...
3138 (mmix_machine_dependent_reorg): New function. Update to also handle
3139 !TARGET_ABI_GNU.
3140 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
3141 register names, simplify somewhat by new variable regno.
3142 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
3143 register.
3144 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
3145 emitting register names.
3146 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
3147 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
3148 Remove fixed FIXME.
3149 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
3150 Declare.
3151
3152 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
3153
73985940
RH
31542002-04-30 Richard Henderson <rth@redhat.com>
3155
3156 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
3157 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
3158 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
3159 emit_tfmode_cvt): New.
3160 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
3161 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
3162 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
3163 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
3164 * config/sparc/sparc-protos.h: Update.
3165
2b46bc67
JJ
31662002-04-30 Janis Johnson <janis187@us.ibm.com>
3167
3168 * install.texi (Final install): Add to the list of info to include
3169 in a report of a successful bootstrap, and add link to 3.1 list.
3170
3d34cd91
JH
3171Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
3172
3173 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
3174 (mode): Add vector modes
3175 (i387): Kill attribute.
3176 (unit): New attribute.
3177 (length_immediate): Grok new types.
3178 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
3179 (modrm): Use "unit".
3180 (memory): Handle MMX/SSE properly.
3181 (scheduling descriptions): Kill uses of fop1.
3182 (sse, mmx, fp patterns): Set type and mode properly.
3183
3193c415
JL
3184Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com)
3185
30482eb0
JL
3186 * pa.c (override_options): Default to PA8000 scheduling.
3187 * doc/invoke.texi (HP-PA options): Mention newly added 7300
3188 scheduling parameter.
3189
3193c415
JL
3190 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
3191 handling of double precision multiplies.
3192
3193 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
3194 fpdiv and fpsqrt instructions.
3195 (7200 & 7300 scheduling): Fix typo in handling of
3196 store-load and store-store penalties.
3197
c0a34cb7
GP
31982002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3199
3200 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
3201 mips. Add two missing commas.
3202
8bce0628
PC
32032002-04-30 Paolo Carlini <pcarlini@unitus.it>
3204
3205 * doc/contrib.texi (Contributors): Update Paolo Carlini's
3206 and Benjamin Kosnik's entries.
3207
84643cbf
DM
32082002-04-29 David S. Miller <davem@redhat.com>
3209
3210 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
3211 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
3212 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
3213 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
3214
da6886f6
FS
32152002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3216
3217 * combine.c (find_split_point): Use gen_int_mode.
3218
fae15c93
VM
32192002-04-29 Vladimir Makarov <vmakarov@redhat.com>
3220
3221 Merging code from dfa-branch:
8998d5bf 3222
fae15c93
VM
3223 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
3224
3225 * genautomata.c (output_reserv_sets): Fix typo.
3226
3227 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
3228
3229 * genautomata.c (output_reserv_sets): Remove
3230 next_cycle_output_flag.
3231
3232 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
3233
8998d5bf
ZW
3234 * sched-rgn.c (init_ready_list): Make the DFA code handle
3235 USE/CLOBBER insns in the same way as the traditional
3236 scheduler.
3237 (new_ready): Similarly..
fae15c93
VM
3238
3239 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
3240
3241 * haifa-sched.c (schedule_block): Change the DFA state only after
3242 issuing insn.
3243
3244 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
3245
3246 * pa.c (hppa_use_dfa_pipeline_interface): New function.
3247 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
3248 (override_options): Add PA7300 scheduling support.
3249 (pa_adjust_cost): Update various comments. Properly
3250 handle anti and output dependencies when using the
3251 DFA scheduler.
3252 (pa_issue_rate): Add PA7300 scheduling support.
3253 (pa_can_combine_p): Call extract_insn before calling
3254 constrain_operands (taken from mainline tree).
3255 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
3256 * pa.md (cpu attr): Add 7300. Rewrite pipeline
3257 descriptions using DFA descriptions. Add PA7300
3258 scheduling support.
3259
3260 2002-03-30 David S. Miller <davem@redhat.com>
3261
3262 Add UltraSPARC-III DFA scheduling support.
3263 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
3264 Update FP conditional move on register insn patterns to use it, as
3265 appropriate.
3266 (define_attr cpu): Add ultrasparc3.
3267 (define_attr us3load_type): New, update integer load patterns to
3268 set it, as appropriate.
3269 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
3270 (rest): Add UltraSPARC3 scheduling description.
3271 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
3272 (PROCESSOR_ULTRASPARC3): New.
3273 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
3274 ({ASM,CPP}_CPU_SPEC): Likewise.
3275 (REGISTER_MOVE_COST): Likewise.
3276 (RTX_COSTS): Likewise.
3277 * config/sparc/sparc.c (sparc_override_options,
3278 sparc_initialize_trampoline, sparc64_initialize_trampoline,
3279 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3280 sparc_issue_rate): Likewise.
3281 * config/sparc/sol2.h: Likewise.
3282 * config/sparc/sol2-sld-64.h: Likewise.
3283 * config/sparc/linux64.h: Likewise.
8998d5bf 3284
fae15c93
VM
3285 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
3286
3287 * doc/md.texi: Add comments about usage the latency time for the
3288 different dependencies and about case when two or more conditions
3289 in different define_insn_reservations returns TRUE for an insn.
3290
3291 * doc/md.texi: Add reference for automaton based pipeline
3292 description.
8998d5bf 3293
fae15c93
VM
3294 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
3295
3296 * doc/passes.texi: Add missed information about genattrtab.
3297
3298 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
3299
3300 * genautomata.c (output_automata_list_transition_code): Check
3301 automata_list on NULL.
3302
3303 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
3304
3305 * genautomata.c (output_insn_code_cases,
3306 output_automata_list_min_issue_delay_code,
3307 output_automata_list_transition_code,
3308 output_automata_list_state_alts_code): Comment the functions.
3309
3310 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
3311
3312 * genautomata.c (automata_list_el_t): New typedef.
3313 (get_free_automata_list_el,free_automata_list_el,
3314 free_automata_list, automata_list_hash, automata_list_eq_p,
3315 initiate_automata_lists, automata_list_start, automata_list_add,
3316 automata_list_finish, finish_automata_lists,
3317 output_insn_code_cases, output_automata_list_min_issue_delay_code,
3318 output_automata_list_transition_code,
3319 output_automata_list_state_alts_code, add_automaton_state,
3320 form_important_insn_automata_lists): New functions and prototypes.
3321 (insn_reserv_decl): Add members important_automata_list and
3322 processed_p.
3323 (ainsn): Add members important_p.
3324 (automata_list_el): New structure.
3325 (first_free_automata_list_el, current_automata_list,
3326 automata_list_table): New global variables.
3327 (create_ainsns): Initiate member important_p.
3328 (output_internal_min_issue_delay_func): Generate the switch and
3329 call output_insn_code_cases.
3330 (output_internal_trans_func, output_internal_state_alts_func):
3331 Ditto.
3332 (generate): Call initiate_automata_lists.
3333 (automaton_states): New global variable.
3334 (expand_automata): Call form_important_insn_automata_lists.
3335 (write_automata): Call finish_automata_lists.
8998d5bf 3336
fae15c93
VM
3337 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
3338
3339 * genautomata.c (add_excls, add_presence_absence): Check that
8998d5bf 3340 cpu units in the sets belong the same automaton.
fae15c93
VM
3341
3342 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
3343 about that cpu units in the sets belong the same automaton.
3344
3345 * doc/md.texi: Ditto.
8998d5bf 3346
2799d721
VM
3347 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
3348 Nitin Gupta <niting@noida.hcltech.com>
8998d5bf 3349
fae15c93
VM
3350 * config/sh/sh.c (sh_use_dfa_interface): New function.
3351
3352 (sh_issue_rate): New Function.
3353 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
3354 TARGET_SCHED_ISSUE_RATE: define.
3355
3356 * config/sh/sh.md: Add DFA based pipeline description for SH4.
3357
8998d5bf
ZW
3358 (define_attr insn_class): New attribute used for DFA
3359 scheduling.
fae15c93
VM
3360 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
3361 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
3362 cmpeqdi_t): Likewise.
3363
3364 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
8998d5bf 3365 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
fae15c93
VM
3366 ex_group.
3367 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
8998d5bf 3368
fae15c93
VM
3369 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
3370
3371 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
3372 break.
3373
3374 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
3375
3376 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
3377 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
3378 necessary.
3379 (output_dfa_start_func): Initiate new variable insn_codes_length,
3380 (write_automata): Output definition of the new variable.
8998d5bf 3381
fae15c93
VM
3382 2001-10-02 David S. Miller <davem@redhat.com>
3383
3384 * haifa-sched.c (advance_one_cycle): New function.
3385 (schedule_block): Use it.
3386 (queue_to_ready): Use it, and also make sure to advance the DFA
3387 state on all stall cycles, not just those where insn_queue links
3388 are found.
3389
3390 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
3391
3392 * haifa-sched.c (max_issue): Remove last_p argument. Only return
3393 non-zero if the highest-priority instruction could be scheduled.
3394 (choose_ready): Remove last argument from max_issue call.
3395
3396 2001-09-28 David S. Miller <davem@redhat.com>
3397
3398 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
3399 ultrasparc and 3 for other multi-issue sparcs.
3400
3401 2001-09-27 David S. Miller <davem@redhat.com>
3402
3403 * config/sparc/sparc.md (cycle_display): New pattern.
3404 * config/sparc/sparc.c (sparc_cycle_display): New.
3405 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
3406
3407 2001-09-25 David S. Miller <davem@redhat.com>
3408
3409 Convert all of Sparc scheduling to DFA
3410 * config/sparc/sparc.md: Kill all define_function_unit
3411 directives and replace with DFA equivalent.
3412 * config/sparc/sparc.c (ultrasparc_adjust_cost,
3413 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
3414 ultra_fpmode_conflict_exists, ultra_find_type,
3415 ultra_build_types_avail, ultra_flush_pipeline,
3416 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
3417 ultrasparc_variable_issue, ultrasparc_sched_init,
3418 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
3419 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
3420 ultra_cur_hist, ultra_cycles_elapsed): Kill.
3421 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3422 ultrasparc_store_bypass_p): New.
3423 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
3424 Declare.
3425
3426 2001-09-24 David S. Miller <davem@redhat.com>
3427
3428 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
3429 ready->vec[foo] not ready[foo].
3430
3431 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
3432
3433 * doc/md.texi: Correct examples for define_insn_reservations
3434 `mult' and `div'.
3435
3436 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
3437
3438 * genautomata.c (create_automata): Print message about creation of
3439 each automaton.
3440 (generate): Remove printing meease about creation of
3441 automata.
3442
3443 2001-09-05 David S. Miller <davem@redhat.com>
3444
3445 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
3446 * config/sparc/linux64.h: Likewise.
3447
3448 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
3449
3450 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
3451 schedule_block, sched_init, sched_finish): Add missed calls of
3452 use_dfa_pipeline_interface.
3453
3454 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
3455 Ditto.
3456
3457 * sched-vis.c (get_visual_tbl_length): Ditto.
8998d5bf 3458
fae15c93
VM
3459 2001-08-27 Richard Henderson <rth@redhat.com>
3460
3461 * genattr.c (main): Emit state_t even when not doing scheduling.
3462
3463 2001-08-27 Richard Henderson <rth@redhat.com>
3464
3465 * genautomata.c (expand_automata): Always create a description.
3466
3467 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
3468
8998d5bf 3469 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
fae15c93
VM
3470 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
3471 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
3472 RTL constructions.
3473
3474 * genattr.c (main): New variable num_insn_reservations. Increase
3475 it if there is DEFINE_INSN_RESERVATION. Output automaton based
3476 pipeline hazard recognizer interface.
3477
3478 * genattrtab.h: New file.
3479
3480 * genattrtab.c: Include genattrtab.h.
3481 (attr_printf, check_attr_test, make_internal_attr,
3482 make_numeric_value): Move protypes into genattrtab.h. Define them
3483 as external.
3484 (num_dfa_decls): New global variable.
3485 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
3486 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
3487 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
3488 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
3489
3490 * genautomata.c: New file.
3491
3492 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
3493
8998d5bf 3494 * sched-int.h: (curr_state): Add the external definition for
fae15c93
VM
3495 automaton pipeline interface.
3496 (haifa_insn_data): Add comments for members blockage and units.
3497
3498 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3499 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3500 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3501 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3502 TARGET_SCHED_DFA_POST_CYCLE_INSN,
3503 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3504 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
3505 macros.
3506 (TARGET_SCHED): Use the new macros.
3507
3508 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
3509 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
3510 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
3511 dfa_bubble): New members in gcc_target.sched.
3512
8998d5bf 3513 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
fae15c93
VM
3514 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
3515 (insn_queue): Redefine it as pointer to array.
3516 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
3517 INSN_QUEUE_SIZE.
3518 (max_insn_queue_index_macro_value): New variable.
3519 (curr_state, dfa_state_size, ready_try): New varaibles for
3520 automaton interface.
3521 (ready_element, ready_remove, max_issue): New function prototypes
3522 for automaton interface.
3523 (choose_ready): New function prototype.
3524 (insn_unit, blockage_range): Add comments.
3525 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
3526 FUNCTION_UNITS_SIZE == 0.
3527 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
3528 actual_hazard, potential_hazard): Add comments.
3529 (insn_cost): Use cost -1 as undefined value. Remove
3530 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
3531 pipeline interface.
3532 (ready_element, ready_remove): New functions for automaton
3533 interface.
3534 (schedule_insn): Add new code for automaton pipeline interface.
3535 (queue_to_ready): Add new code for automaton pipeline interface.
3536 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
3537 (debug_ready_list): Print newline when the queue is empty.
3538 (max_issue): New function for automaton pipeline interface.
3539 (choose_ready): New function.
3540 (schedule_block): Add new code for automaton pipeline interface.
3541 Print ready list before scheduling each insn.
3542 (sched_init): Add new code for automaton pipeline interface.
3543 Initiate insn cost by -1.
3544 (sched_finish): Free the current automaton state and finalize
3545 automaton pipeline interface.
3546
3547 * sched-rgn.c: Include target.h.
3548 (init_ready_list, new_ready, debug_dependencies): Add new code for
3549 automaton pipeline interface.
3550
3551 * sched-vis.c: Include target.h.
3552 (get_visual_tbl_length): Add code for automaton interface.
3553 (target_units, print_block_visualization): Add comments.
3554
8998d5bf 3555 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
fae15c93
VM
3556 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
3557 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
3558 (getruntime.o, genautomata.o): New entries.
3559 (genattrtab.o): Add new dependency file genattrtab.h.
3560 (genattrtab): Add new dependencies. Link it with `libm.a'.
3561 (getruntime.o, hashtab.o): New entries for canadian cross.
3562
3563 * doc/md.texi: Description of automaton based model.
3564
3565 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
3566 Add comments.
3567 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3568 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3569 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3570 TARGET_SCHED_DFA_POST_CYCLE_INSN,
3571 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3572 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3573 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
3574 hook descriptions.
3575 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
3576 MAX_DFA_ISSUE_RATE): New macro descriptions.
3577
3578 * doc/contrib.texi: Add dfa based scheduler contribution.
3579
3580 * doc/gcc.texi: Add more information about genattrtab.
3581
a2ff290c
RK
3582Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3583
3584 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
3585 adjust_address_nv call.
3586
f97903cc
JJ
35872002-04-29 Janis Johnson <janis187@us.ibm.com>
3588
3589 * doc/install.texi (Testing): Provide additional information, and
3590 a stronger encouragement, for running the testsuites.
3591
f41a6bf1
DD
35922002-04-29 DJ Delorie <dj@redhat.com>
3593
3594 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
3595 given in upper case.
3596
d8af0868
RO
35972002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3598
3599 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
3600 Solaris 2 <widec.h> if missing.
3601 * fixinc/fixincl.x: Regenerate.
3602 * fixinc/tests/base/widec.h: New file.
3603
1034407f
NC
36042002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
3605
3606 * toplev.c (f_options): Add "profile" switch so that
3607 -fno-profile can be used to disable -p.
3608
fbe5eb6d
BS
36092002-04-29 Bernd Schmidt <bernds@redhat.com>
3610
3611 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
3612 UV2DImode.
3613 * tree.c (build_common_tree_nodes_2): Likewise.
3614 * tree.h (enum tree_index): Likewise.
3615 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
3616
3617 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
3618 entries.
3619 (init_mmx_sse_builtins): Initialize SSE2 builtins.
3620 (ix86_expand_builtin): Add support for SSE2 builtins.
3621 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
3622 (VALID_SSE_REG_MODE): Use it.
3623 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
3624 (enum ix86_builtins): Add SSE2 builtins.
3625 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
3626 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
3627 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
3628 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
3629 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
3630 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
3631 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
3632 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
3633 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
3634 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
3635 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
3636 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
3637 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
3638 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
3639 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
3640 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
3641 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
3642 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
3643 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
3644 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
3645 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
3646 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
3647 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
3648 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
3649 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
3650 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
3651 lfence_insn): New patterns.
3652 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
3653 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
3654
44aefada
JH
3655Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
3656
3657 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
3658
d5482cdc
GP
36592002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3660
3661 * doc/contrib.texi (Contributors): Add Paolo Carlini and
3662 Janis Johnson.
3663 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
3664 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
3665 and CPU instead of cpu.
3666
2c4b77f3
JH
3667Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
3668
3669 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
3670 variables.
3671 (lang_independent_options): Add -fif-conversion, -fif-conversion2
3672 (rest_of_compilation): Do if conversion only when asked for.
3673 (parse_options_and_default_flags): Set new variables to 1 for -O1
3674 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
3675
3de72741
JH
3676Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
3677
3678 * i386.c (dbx64_register_map): Fix typo.
3679
8aa18a7d
JH
3680Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
3681
3682 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
3683 real_one_half, real_bb_freq_max): New static variables.
3684 (debug_profile_bbauxs): Kill.
3685 (process_note_predictions): Kill unused variable.
3686 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
3687 volatile double.
3688 (propagate_freq): Use REAL_ARITHMETICS.
3689 (estimate_bb_frequencies): Likevise; init new static variables.
3690 * Makefile.in (predict.o): Add dependency on real.h
3691
1bbad4c6
DM
36922002-04-28 David S. Miller <davem@redhat.com>
3693
3694 PR target/6500
3695 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
3696 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
3697 several {reads,writes} instead.
3698 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
3699 Define.
3700
3ef3f384
DM
37012002-04-27 David S. Miller <davem@redhat.com>
3702
3703 PR target/6494
3704 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
3705 of the stack bias.
3706
3707 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
3708 including signal.h and sys/ucontext.h, not needed.
3709
ec493bcb
HPN
37102002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
3711
3712 * varasm.c (output_constant_def): Correct test for not calling
3713 ENCODE_SECTION_INFO for INTEGER_CST.
3714
60284a59
NB
37152002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
3716
3717 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
3718 keep most cases as function eval_token.
3719 (eval_token): New function.
3720 (_cpp_parse_expr): Read token here for improved diagnostics.
3721 Don't use op_as_text. Detect bad ':' here.
3722 (reduce): Don't detect bad ':' here.
3723 (op_as_text): Remove.
3724 * cpphash.h (_cpp_test_assertion): Change prototype.
3725 * cpplib.c (_cpp_test_assertion): Change prototype.
3726
349a4b40
RH
37272002-04-28 Richard Henderson <rth@redhat.com>
3728
3729 PR c/5154
8998d5bf 3730 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
349a4b40
RH
3731 (ggc_mark_rtx_children): New.
3732
7a03f82f
JJ
37332002-04-28 Jakub Jelinek <jakub@redhat.com>
3734
3735 PR target/6496
3736 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
3737 after call peepholes for UltraSPARC.
3738 (call + jump 64-bit peepholes): Remove.
3739
80103f96
FS
37402002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3741
3742 PR c/6497
3743 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
3744 result as temporary value.
3745
06990986
JJ
37462002-04-28 Jakub Jelinek <jakub@redhat.com>
3747
3748 PR c++/6396
3749 * toplev.c (rest_of_compilation): Only run regrename and copy
3750 propagation if optimizing.
3751
a20fd5ac
JJ
37522002-04-28 Jakub Jelinek <jakub@redhat.com>
3753
3754 PR optimization/6475
3755 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
3756 register of REGNO_DECL (i).
3757 * Makefile.in (reload1.o): Add $(TREE_H).
3758
87ed109f
NB
37592002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
3760
3761 * cppexp.c (lex): Update to use state.skip_eval.
3762 (struct op): Remove prio and flags members.
3763 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
3764 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
3765 (LEFT_ASSOC): New macro.
3766 (optab): New table of operator priorities and flags.
3767 (SHIFT): Update.
3768 (_cpp_parse_expr): Clean up logic. Return bool. Use a
3769 malloc-ed parser stack.
3770 (reduce): New; reduce the operator stack.
3771 (_cpp_expand_op_stack): Expand the operator stack as necessary.
3772 * cpphash.h (struct op): Predeclare.
3773 (struct cpp_reader): New members op_stack, op_limit.
3774 (struct lexer_state): New member skip_eval.
3775 (_cpp_parse_expr): Update.
3776 (_cpp_expand_op_stack): New.
3777 * cpplib.c (do_if): Update.
3778 * cppinit.c (cpp_create_reader): Create op stack.
3779 (cpp_destroy): And destroy it.
3780 * cpplib.h (CPP_LAST_CPP_OP): Correct.
3781 (TTYPE_TABLE): Correct.
3782
45806a3f
FS
37832002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3784
3785 PR c/6343
3786 * c-decl.c (duplicate_decls): Call merge_weak.
3787 * c-pragma.c (apply_pragma_weak): Warn about misuse.
3788 * output.h (merge_weak): Prototype merge_weak.
3789 * varasm.c (merge_weak): New function.
3790 (declare_weak): Make sure we don't give an error on VAR_DECLs.
3791 Mark RTL with SYMBOL_REF_WEAK.
3792
a6227154
KG
37932002-04-27 Kurt Garloff <garloff@suse.de>
3794
3795 * tree-inline.c (inlinable_function_p): Improve heuristics
3796 by using a smoother function to cut down allowable inlinable size.
3797 * param.def: Add parameters max-inline-insns-single,
3798 max-inline-slope, min-inline-insns that determine the exact
3799 shape of the above function.
3800 * param.h: Likewise.
3801
94a50397
RH
38022002-04-26 Richard Henderson <rth@redhat.com>
3803
3804 * c-parse.in (malloced_yyss, malloced_yyvs): New.
3805 (yyoverflow): Re-add. Set them.
3806 (free_parser_stacks): New.
3807 * c-common.h: Declare it.
3808 * c-lex.c (c_common_parse_file): Call it.
3809
9c0a0632
RH
38102002-04-26 Richard Henderson <rth@redhat.com>
3811
3812 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
3813 for fallthru search.
3814
b875d2ee
EC
38152002-04-26 Eric Christopher <echristo@redhat.com>
3816
3817 PR optimization/3700
3818 * config/mips/mips.c (mips_issue_rate): Define. New function.
3819 (TARGET_SCHED_ISSUE_RATE): Use.
3820
1db828df
DM
38212002-04-25 David S. Miller <davem@redhat.com>
3822
3823 PR target/6422
3824 * reorg.c (optimize_skip): Do not allow exception causing
3825 instructions to be considered for delay slots.
3826 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
3827 (relax_delay_slots): Do not try to consider exception causing
3828 instructions as redundant.
3829
ae5d234e
RH
38302002-04-26 Richard Henderson <rth@redhat.com>
3831
3832 PR c/5225
3833 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
3834
7d793e9b
MM
38352002-04-26 Mark Mitchell <mark@codesourcery.com>
3836
3837 PR bootstrap/6445
3838 * config/i386/i386.md (untyped_call): Return the value in a float
3839 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
3840 TARGET_80387.
3841
b13ab42c
AO
38422002-04-26 Alexandre Oliva <aoliva@redhat.com>
3843
3844 * tree.c (tree_int_cst_lt): Compare constants whose types differ
3845 in unsigned-ness correctly.
3846
5e56f909
JDA
38472002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
3848
3849 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
3850 portable runtime model.
3851
bde3c0c0
RH
38522002-04-26 Richard Henderson <rth@redhat.com>
3853
a6227154 3854 * c-parse.in (yyoverflow): Revert.
bde3c0c0 3855
5276df18
DE
38562002-04-26 David Edelsohn <edelsohn@gnu.org>
3857 Richard Henderson <rth@redhat.com>
3858
3859 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
3860 result as temporary value.
3861
b84a3874
RH
38622002-04-26 Richard Henderson <rth@redhat.com>
3863
3864 PR c/3581
3865 * c-common.c (fix_string_type): Split out of ...
3866 (combine_strings): ... here. Take a varray, not a tree list.
3867 (c_expand_builtin_printf): Use fix_string_type.
3868 * c-common.h: Update decls.
3869 * c-parse.in (string): Remove. Update all uses to use STRING
3870 instead, and not call combine_strings.
3871 (yylexstring): New.
3872 (_yylex): Use it.
3873 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
3874 (build_asm_stmt): Likewise.
3875 * objc/objc-act.c (my_build_string): Use fix_string_type.
3876 (build_objc_string_object): Build varray for combine_strings.
3877
d8ae8cd4
BT
38782002-04-26 Bo Thorsen <bo@suse.co.uk>
3879
3880 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
3881 x86-64.
3882
f8b954fc
NB
38832002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
3884
3885 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
3886 (HAVE_NO_R_OPERAND): Remove.
3887 (HAVE_VALUE): Remove.
3888 (op_to_prio): Update.
3889 (UNARY): Don't alter flags.
3890 (_cpp_parse_expr): want_value used to indicate whether
3891 a number or unary operator is expected next. Distinguish
3892 unary and binary +/-.
3893 (op_as_text): Update for unary operators.
3894
6052bef0
RH
38952002-04-25 Richard Henderson <rth@redhat.com>
3896
3897 PR c/2161
3898 * c-parse.in (yyoverflow): New.
3899
5c5b2283
RH
39002002-04-25 Richard Henderson <rth@redhat.com>
3901
3902 PR c/2098
3903 * c-common.c (shorten_compare): Simplfy conditions leading to
3904 the generation of a warning.
3905
28ce94d4
RH
39062002-04-25 Richard Henderson <rth@redhat.com>
3907
3908 PR c/2035
3909 * expmed.c (extract_bit_field): Fall through to generic code rather
3910 than aborting on subreg special case.
3911
6bfd0c63
DM
39122002-04-25 David S. Miller <davem@redhat.com>
3913
3914 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
3915 for DECL being NULL.
3916
7a430e3b
SC
39172002-04-25 Steve Christiansen <smc@us.ibm.com>
3918
3919 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
3920
45c42d7d
EB
39212002-04-25 Eric Botcazou <ebotcazou@multimania.com>
3922
3923 * c-decl.c (grokdeclarator): Remove outdated ??? note
3924 on invalid declaration of flexible array members.
3925
eb7715a4
RH
39262002-04-25 Richard Henderson <rth@redhat.com>
3927
3928 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
3929
cf5ee720
UW
39302002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3931
3932 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
3933 needed by the compiler, even if they are used as global regs.
3934
d604bca3
MH
39352002-04-25 Matt Hiller <hiller@redhat.com>
3936
3937 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
3938 functions.
3939 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
3940 of the corresponding functions.
3941 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
3942 New prototypes.
b875d2ee 3943
d604bca3
MH
39442002-04-25 Matt Hiller <hiller@redhat.com>
3945
3946 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
3947
3948 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
3949 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
3950 registers, adjust comment accordingly.
3951 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
3952 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
3953 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
3954 for coprocessor registers.
3955 (ADDITIONAL_REGISTER_NAMES): Include
3956 ALL_COP_ADDITIONAL_REGISTER_NAMES.
b875d2ee 3957
d604bca3
MH
3958 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
3959 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
3960 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
3961 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
3962 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
3963
3964 (mips_char_to_class): Adjust comment to include coprocessor
3965 constraint letters.
3966
3967 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
3968 New functions.
3969 (mips_reg_names, mips_regno_to_class): Include coprocessor
3970 information.
3971 (mips_sw_reg_names): Ditto, make non-static.
3972 (mips_move_1word): Handle moves to and from coprocessor registers.
3973 (mips_move_2words): Handle moves to and from coprocessor
3974 registers.
3975 (mips_class_max_nregs, mips_register_move_cost): Handle
3976 coprocessor register classes.
3977 (override_options): Initialize mips_char_to_class and
3978 mips_hard_regno_mode_ok properly for coprocessor registers.
3979
3980 * config/mips/mips.md (movdi_internal, movdi_internal2,
3981 movsi_internal1, movsi_internal2): Add constraint-sets for
3982 coprocessor registers.
3983 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
3984 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
3985 isn't mips.
3986 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
3987 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
3988 isn't mips.
3989 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
3990 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
3991 isn't mips.
3992 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
3993 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
3994 isn't mips.
b875d2ee 3995
d604bca3
MH
3996 * doc/tm.texi: Document feature.
3997
b9a26d09
NB
39982002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3999
4000 * integrate.c (function_attribute_inlinable_p): Simplify.
4001 Check the table pointer is not NULL.
4002
ab5973b7
SB
40032002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
4004
4005 * doc/c-tree.texi: Fix typo in introduction.
4006
ff45c01e
NB
40072002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
4008
4009 * c-common.h (c_common_parse_file): Update.
4010 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
4011 * c-lex.c (YYDEBUG): Get from c-lex.h.
4012 (c_common_parse_file): Update.
4013 * c-lex.h (YYDEBUG, yydebug): New.
4014 * c-parse.in (YYDEBUG): Get from c-lex.h.
4015 (c_set_yydebug): Remove.
4016 * c-tree.h (c_set_yydebug): Remove.
4017 * langhooks-def.h (lhd_do_nothing_i): New.
4018 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
4019 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
4020 * langhooks.c (lhd_do_nothing_i): New.
4021 (lhd_set_yydebug): Remove.
4022 * langhooks.h (struct lang_hooks): Update.
4023 * toplev.c (set_yydebug): New.
4024 (compile_file): Update call to parse_file hook.
4025 (decode_d_option): Update.
4026objc:
4027 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
4028
fcae219a
R
4029Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
4030
4031 * loop.c (load_mems): Don't change the interface of called functions.
4032
4033 * calls.c (expand_call): Take current_function_pretend_args_size
4034 into account when setting argblock for sibcalls.
4035
d0fea45a
MH
40362002-04-24 Matt Hiller <hiller@redhat.com>
4037
4038 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
4039 * c-lex.c: Ditto.
4040
4041 * cpplex.c (skip_line_comment): Process comment one multibyte
4042 character at a time rather than one char at a time, if
4043 appropriate.
4044 (parse_string): Process string one multibyte character at a time
4045 rather than one char at a time, if appropriate.
4046 * c-lex.c (lex_string): Lex and copy multibyte strings
4047 appropriately.
4048 * cpplib.h (cppchar_t): Change to unsigned.
4049
2d1b5436
RH
40502002-04-24 Richard Henderson <rth@redhat.com>
4051
4052 PR c/3467
4053 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
4054 for c99.
4055
5e039e6b
R
4056Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
4057
4058 * sh.c (sh_va_arg): If argument was passed by reference,
4059 dereference the pointer.
309d8365
R
4060
4061 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
51214775
R
4062
4063 * sh.md (divsi3_i4_media): Use match_operand for input values
4064 rather than hard registers.
4065 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
4066 unnecessarily through hard registers. Keep copies of pseudo
4067 registers outside of the libcall sequence.
4068
4069 * sh.md (casesi_shift_media): Add modes.
b700634a
R
4070
4071 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
4072 values in memory.
4073
349ae713
NB
40742002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
4075
4076 * attribs.c (c_common_attribute_table): Move table and handlers
4077 to c-common.c.
4078 (format_attribute_table, lang_attribute_table,
4079 lang_attribute_common): Remove.
4080 (init_attributes): Replace NULL pointers with pointers to the
4081 empty table.
4082 (handle_packed_attribute, handle_nocommon_attribute,
4083 handle_common_attribute, handle_noreturn_attribute,
4084 handle_noinline_attribute, handle_always_inline_attribute,
4085 handle_used_attribute, handle_unused_attribute,
4086 handle_const_attribute, handle_transparent_union_attribute,
4087 handle_constructor_attribute, handle_destructor_attribute,
4088 handle_mode_attribute, handle_section_attribute,
4089 handle_aligned_attribute, handle_weak_attribute,
4090 handle_alias_attribute, handle_visibility_attribute,
4091 handle_no_instrument_function_attribute, handle_malloc_attribute,
4092 handle_no_limit_stack_attribute, handle_pure_attribute,
4093 handle_deprecated_attribute, handle_vector_size_attribute,
4094 vector_size_helper): Move to c-common.c.
4095 * c-common.c (c_common_attribute_table,
4096 handle_packed_attribute, handle_nocommon_attribute,
4097 handle_common_attribute, handle_noreturn_attribute,
4098 handle_noinline_attribute, handle_always_inline_attribute,
4099 handle_used_attribute, handle_unused_attribute,
4100 handle_const_attribute, handle_transparent_union_attribute,
4101 handle_constructor_attribute, handle_destructor_attribute,
4102 handle_mode_attribute, handle_section_attribute,
4103 handle_aligned_attribute, handle_weak_attribute,
4104 handle_alias_attribute, handle_visibility_attribute,
4105 handle_no_instrument_function_attribute, handle_malloc_attribute,
4106 handle_no_limit_stack_attribute, handle_pure_attribute,
4107 handle_deprecated_attribute, handle_vector_size_attribute,
4108 vector_size_helper): Move from attribs.c.
4109 * c-common.h (c_common_attribute_table,
4110 c_common_format_attribute_table): New.
4111 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
4112 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
4113 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
4114 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
4115 (LANG_HOOKS_INITIALIZER): Update.
4116 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
4117 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
4118 * target.h: Update comment.
4119 * tree.c (default_target_attribute_table): Remove.
4120 * tree.h (default_target_attribute_table, format_attribute_table,
4121 lang_attribute_table, lang_attribute_common): Remove.
4122objc:
4123 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
4124 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
4125
84f0ace0
JM
41262002-04-24 Jason Merrill <jason@redhat.com>
4127
4128 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
4129 * dwarf2out.c (dwarf_attr_name): Support it.
4130 (gen_array_type_die): Emit it.
4131 (lookup_type_die): No special handling for VECTOR_TYPE.
4132 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
4133
120eaf28
RH
41342002-04-24 Richard Henderson <rth@redhat.com>
4135
4136 * config/mips/mips.md (movdi_usd): Renumber.
4137
e732178c
DM
41382002-04-24 David S. Miller <davem@redhat.com>
4139
4140 PR target/6420
4141 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
4142 32-bit Sparc and current_function_returns_struct is true.
4143
e879eb2f
JH
4144Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
4145
4146 * loop.c (canonicalize_condition): Use gen_int_mode.
4147
4287a893
AH
41482002-04-24 Aldy Hernandez <aldyh@redhat.com>
4149
4150 * config/rs6000/altivec.h: Cleanup file. Add non individual
4151 variants.
4152 (vec_vaddubm): New.
4153 (vec_vadduhm): New.
4154 (vec_vadduwm): New.
4155 (vec_vaddfp): New.
4156 (vec_vaddcuw): New.
4157 (vec_vaddubs): New.
4158 (vec_vaddsbs): New.
4159 (vec_vadduhs): New.
4160 (vec_vadduws): New.
4161 (vec_vaddsws): New.
4162 (vec_vand): New.
4163 (vec_vandc): New.
4164 (vec_vavgub): New.
4165 (vec_vavgsb): New.
4166 (vec_vavguh): New.
4167 (vec_vavgsh): New.
4168 (vec_vavguw): New.
4169 (vec_vavgsw): New.
4170 (vec_vrfip): New.
4171 (vec_vcmpbfp): New.
4172 (vec_vcmpequb): New.
4173 (vec_vcmpequh): New.
4174 (vec_vcmpequw): New.
4175 (vec_vcmpeqfp): New.
4176 (vec_vcmpgefp): New.
4177 (vec_vcmpgtub): New.
4178 (vec_vcmpgtsb): New.
4179 (vec_vcmpgtuh): New.
4180 (vec_vcmpgtsh): New.
4181 (vec_vcmpgtuw): New.
4182 (vec_vcmpgtsw): New.
4183 (vec_vcmpgtfp): New.
4184 (vec_vcmpgefp): New.
4185 (vec_vcfux): New.
4186 (vec_vcfsx): New.
4187 (vec_vctsxs): New.
4188 (vec_vctuxs): New.
4189 (vec_vexptefp): New.
4190 (vec_vrfim): New.
4191 (vec_lvx): New.
4192 (vec_lvebx): New.
4193 (vec_lvehx): New.
4194 (vec_lde): Add vector float variant.
4195 (vec_lvewx): New.
4196 (vec_lvxl): New.
4197 (vec_vlogefp): New.
4198 (vec_vmaddfp): New.
4199 (vec_vmhaddshs): New.
4200 (vec_vmaxub): New.
4201 (vec_vmaxsb): New.
4202 (vec_vmaxuh): New.
4203 (vec_vmaxsh): New.
4204 (vec_vmaxuw): New.
4205 (vec_vmaxsw): New.
4206 (vec_vmaxsw): New.
4207 (vec_vmaxfp): New.
4208 (vec_vmrghb): New.
4209 (vec_vmrghh): New.
4210 (vec_vmrghw): New.
4211 (vec_vmrglb): New.
4212 (vec_vmrglh): New.
4213 (vec_vmrglw): New.
4214 (vec_vminub): New.
4215 (vec_vminsb): New.
4216 (vec_vminuh): New.
4217 (vec_vminsh): New.
4218 (vec_vminuw): New.
4219 (vec_vminsw): New.
4220 (vec_vminfp): New.
4221 (vec_vmladduhm): New.
4222 (vec_vmhraddshs): New.
4223 (vec_msumubm): New.
4224 (vec_vmsummbm): New.
4225 (vec_vmsumuhm): New.
4226 (vec_vmsumshm): New.
4227 (vec_vmsumuhs): New.
4228 (vec_vmsumshs): New.
4229 (vec_vmuleub): New.
4230 (vec_vmulesb): New.
4231 (vec_vmuleuh): New.
4232 (vec_vmulesh): New.
4233 (vec_vmuloub): New.
4234 (vec_mulosb): New.
4235 (vec_vmulouh): New.
4236 (vec_vmulosh): New.
4237 (vec_vnmsubfp): New.
4238 (vec_vnor): New.
4239 (vec_vor): New.
4240 (vec_vpkuhum): New.
4241 (vec_vpkuwum): New.
4242 (vec_vpkpx): New.
4243 (vec_vpkuhus): New.
4244 (vec_vpkshss): New.
4245 (vec_vpkuwus): New.
4246 (vec_vpkswss): New.
4247 (vec_vpkshus): New.
4248 (vec_vpkswus): New.
4249 (vec_vperm): New.
4250 (vec_vrefp): New.
4251 (vec_vrlb): New.
4252 (vec_vrlh): New.
4253 (vec_vrlw): New.
4254 (vec_vrfin): New.
4255 (vec_vrsqrtefp): New.
4256 (vec_vsel): New.
4257 (vec_vslb): New.
4258 (vec_vslh): New.
4259 (vec_vslw): New.
4260 (vec_vsldoi): New.
4261 (vec_vsl): New.
4262 (vec_vslo): New.
4263 (vec_vspltb): New.
4264 (vec_vsplth): New.
4265 (vec_vspltw): New.
4266 (vec_vspltisb): New.
4267 (vec_vspltish): New.
4268 (vec_vspltisw): New.
4269 (vec_vsrb): New.
4270 (vec_vsrh): New.
4271 (vec_vsrw): New.
4272 (vec_vsrab): New.
4273 (vec_vsrah): New.
4274 (vec_vsraw): New.
4275 (vec_vsr): New.
4276 (vec_vsro): New.
4277 (vec_stvx): New.
4278 (vec_stvebx): New.
4279 (vec_stvehx): New.
4280 (vec_stvewx): New.
4281 (vec_stvxl): New.
4282 (vec_vsububm): New.
4283 (vec_vsubuhm): New.
4284 (vec_vsubuwm): New.
4285 (vec_vsubfp): New.
4286 (vec_vsubcuw): New.
4287 (vec_vsububs): New.
4288 (vec_vsubsbs): New.
4289 (vec_vsubuhs): New.
4290 (vec_vsubshs): New.
4291 (vec_vsubuws): New.
4292 (vec_vsubsws): New.
4293 (vec_vsum4ubs): New.
4294 (vec_vsum4sbs): New.
4295 (vec_vsum4shs): New.
4296 (vec_vsum2sws): New.
4297 (vec_vsumsws): New.
4298 (vec_vrfiz): New.
4299 (vec_vupkhsb): New.
4300 (vec_vupkhpx): New.
4301 (vec_vupkhsh): New.
4302 (vec_vupklsb): New.
4303 (vec_vupklpx): New.
4304 (vec_vupklsh): New.
4305 (vec_vxor): New.
4306
cff27795
EB
43072002-04-23 Eric Botcazou <ebotcazou@multimania.com>
4308
4309 PR c/5430
4310 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
4311 added literals from substracted literals.
4312 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
4313 (fold) [associate]: Preserve MINUS_EXPR if needed.
4314
952bca84
ZW
43152002-04-23 Zack Weinberg <zack@codesourcery.com>
4316
4317 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
4318 are obsoleted.
4319
50cb2154
TT
43202002-04-23 Tom Tromey <tromey@redhat.com>
4321
4322 * gcc.c: Added --resource. For PR java/6314.
4323
271f61fb
DB
43242002-04-23 David O'Brien <obrien@FreeBSD.org>
4325
9566d1e9 4326 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
271f61fb
DB
4327 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
4328 these libraries.
4329
bdabbc80
DB
43302002-04-23 David O'Brien <obrien@FreeBSD.org>
4331
4332 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
4333
74411039
JH
4334Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
4335
4336 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
4337 workaround.
4338 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
4339 (ix86_expand_clrstr): Fix typo.
4340 * loop.c (gen_load_of_final_value): New.
4341 (loop_givs_rescan, strength_reduce, check_dbra_loop):
4342 Use it.
4343
1a887f86
RS
43442002-04-23 Roger Sayle <roger@eyesopen.com>
4345
4346 * builtins.c (builtin_memset_gen_str): New function.
4347 (expand_builtin_memset): Optimize the case of constant length, but
4348 unknown value.
4349
8d3441e0
AH
43502002-04-23 Aldy Hernandez <aldyh@redhat.com>
4351
cff27795
EB
4352 * config/rs6000/altivec.h (vec_step): Remove extraneous
4353 parentheses.
4354 (vec_ctu): Cast return.
8d3441e0 4355
f6f315fe
AM
43562002-04-23 Alan Modra <amodra@bigpond.net.au>
4357
4358 PR target/6413
4359 * function.h: (struct function): Add profile_label_no field.
4360 (current_function_profile_label_no): Define.
4361 * function.c: (profile_label_no): New static var.
4362 (expand_function_start): Increment it, and copy to
4363 current_function_profile_label_no.
4364 * output.h (profile_label_no): Delete.
4365 * final.c (profile_label_no): Delete.
4366 (profile_function): Use current_function_profile_label_no.
4367 (final_end_function): Don't increment profile_label_no here.
4368 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
4369 profile_label_no with current_function_profile_label_no.
4370 * config/pa/pa.c (current_function_number): Delete.
4371 (pa_output_function_prologue): Don't output profile label here.
4372 (hppa_profile_hook): Use label_no param rather than
4373 current_function_number.
4374 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
4375 * config/pa/pa.h: .. here.
4376 (FUNCTION_PROFILER): Output profile label here.
4377
d239cdc0
EC
43782002-04-22 Eric Christopher <echristo@redhat.com>
4379
4380 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
4381 patch of 2002-04-09 due to binutils issues.
4382 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
4383
04428ad4
AH
43842002-04-22 Aldy Hernandez <aldyh@redhat.com>
4385
cff27795
EB
4386 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
4387 constraint to 'o' for m=r and r=m alternatives.
4388 ("*movv8hi_internal1"): Same.
4389 ("*movv16qi_internal1"): Same.
4390 ("*movv4sf_internal1"): Same.
04428ad4 4391
2adc7f12
JJ
43922002-04-22 Janis Johnson <janis187@us.ibm.com>
4393
4394 * rtl.h (RTX_FLAG): New macro.
4395 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
4396 * final.c (alter_subreg): Use macro to access rtx flag.
4397 * integrate.c (copy_rtx_and_substitute): Use new access macro.
4398 * print-rtl.c (print_rtx): Use new access macro.
4399
4400 * cse.c (insert): Check rtx code before accessing flag.
4401
4402 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
4403 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
4404 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
4405 convert_const_symbol_ref, make_canonical, make_alternative_compare,
4406 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
4407 simplify_test_exp, optimize_attrs, simplify_by_exploding,
4408 find_and_mark_used_attributes, unmark_used_attributes,
4409 add_values_to_cover, simplify_with_current_value,
4410 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
4411 copy_rtx_unchanging, main): Use new access macros.
4412
b7c89afe
TR
44132002-04-22 Tom Rix <trix@redhat.com>
4414
4415 * expmed.c (init_expmed): Generate shifted constant once.
4416
9340544b
ZW
44172002-04-22 Zack Weinberg <zack@codesourcery.com>
4418
4419 * c-lex.c (lex_charconst): Call convert to get constant in
4420 proper type; don't just smash the type field.
4421 Fixes PR c/6300.
4422
4423 * config.gcc: Add list of obsolete configurations. Disallow
4424 building these without --enable-obsolete.
4425 * doc/install.texi: Document --enable-obsolete and obsoletion
4426 policy. Mention obsoletion of individual targets in
4427 appropriate places.
4428
f942d7a5
RH
44292002-04-22 Richard Henderson <rth@redhat.com>
4430
4431 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
4432
44332002-04-22 Mark Mitchell <mark@codesourcery.com>
8ed8f731
MM
4434
4435 PR f/6138.
4436 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
4437 (walk_fixup_memory_subreg): Likewise.
4438 (fixup_var_refs_insn): Adjust accordingly.
4439 (fixup_var_refs_1): Likewise.
4440
232b0b45
UW
44412002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
4442
4443 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
4444 LIBPATH_ARCH64_SPEC): Define.
4445 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
4446 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
4447 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
4448 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
4449
1b61552b
JS
44502002-04-22 Joel Sherrill <joel@OARcorp.com>
4451
4452 * gthr-rtems.h: Correct prototypes to remove warnings.
4453
0fe854a7
RH
44542002-04-22 Richard Henderson <rth@redhat.com>
4455
4456 PR c/6344
4457 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
4458
4459 * gcse.c (free_insn_expr_list_list): New.
4460 (clear_modify_mem_tables): Use it. Fix bit set usage.
4461 (canon_list_insert): Use EXPR_LISTs for expressions.
4462 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
4463
af0d16cd
NB
44642002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
4465
4466 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
4467 file change and include code to _cpp_pop_buffer.
4468 * cpphash.h (struct pending_option): Predeclare.
4469 (struct cpp_reader): New member next_include_file.
4470 (_cpp_pop_file_buffer): Update.
4471 (_cpp_push_next_buffer): Update, rename.
4472 * cppinit.c (cpp_destroy): Free include chain and pending here.
4473 (cpp_finish_options): Simplify.
4474 (_cpp_push_next_buffer): Rename and clean up.
4475 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
4476 Clarify.
4477 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
4478
0d918572
AH
44792002-04-22 Aldy Hernandez <aldyh@redhat.com>
4480
0fe854a7
RH
4481 * config/rs6000/altivec.h (vec_xor): Add variant for both args
4482 being vector signed int.
4483 (vec_andc): Same.
4484 (vec_xor): Add variant for both args being vector signed char.
4485 Remove redundant variant.
4486 (vec_andc): Same.
0d918572 4487
77e2c290
DM
44882002-04-21 David S. Miller <davem@redhat.com>
4489
4490 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
4491 compare mode in output RTL.
4492
ee2ca2a2
DE
44932002-04-22 David Edelsohn <edelsohn@gnu.org>
4494
4495 * config/rs6000/rs6000.c (rs6000_override_options): Correct
4496 style and formatting of previous patch.
4497
894bdff6
AM
44982002-04-22 Alan Modra <amodra@bigpond.net.au>
4499
4500 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
4501 flag_pic for ABI_AIX.
4502
562a5c27
NB
45032002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
4504
4505 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
4506 * cppfiles.c (read_include_file): Similarly.
4507 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
4508 uxstrdup ustrchr, ufputs): Similarly.
4509 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
4510 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
4511 cpp_ideq, parse_identifier, parse_number): Similarly.
4512 * cpplib.c (struct directive, dequote_string, D, run_directive,
4513 cpp_push_buffer): Similarly.
4514 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
4515 _cpp_create_definition, check_trad_stringification,
4516 cpp_macro_definition): Similarly.
4517
9ac3b1be
NB
45182002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
4519
4520 * cppmacro.c (funlike_invocation_p): Don't step back
4521 over CPP_EOF.
4522
9dda4cc8
DE
45232002-04-21 David Edelsohn <edelsohn@gnu.org>
4524
4525 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
4526 labelno.
4527
20764052
JM
45282002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
4529
4530 * doc/invoke.texi: Remove Chill references.
4531 * doc/gcc.texi: Update last modified date.
4532
26b29884
KH
45332002-04-20 Kazu Hirata <kazu@hxi.com>
4534
4535 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
4536 push and pop. Replace add.l with add.w.
4537
59184677
TM
45382002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4539
4540 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
4541 multiply instructions for H8/300H case.
4542
b1113e0a
TM
45432002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4544
4545 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
4546 Bum three instructions from each routine.
4547
b03e38e1
NB
45482002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
4549
4550 * Makefile.in: Update.
4551 * decl.c (push_c_function_context, pop_c_function_context,
4552 mark_c_function_context): Rename for consistency.
4553 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
4554 * c-tree.h (push_c_function_context, pop_c_function_context,
4555 mark_c_function_context): Rename for consistency.
4556 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4557 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4558 * function.c (init_lang_status, save_lang_status,
4559 restore_lang_status, mark_lang_status, free_lang_status):
4560 Move to langhooks.h.
4561 (push_function_context_to, pop_function_context_from,
4562 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
4563 Update.
4564 * function.h (init_lang_status, save_lang_status,
4565 restore_lang_status, mark_lang_status, free_lang_status):
4566 Move to langhooks.h.
4567 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
4568 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
4569 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
4570 LANG_HOOKS_FUNCTION_INITIALIZER): New.
4571 (LANG_HOOKS_INITIALIZER): Update.
4572 (lhd_do_nothing_f): New.
4573 * langhooks.h (struct lang_hooks_for_functions): New.
4574 (struct lang_hooks): New hooks.
4575 * langhooks.c (lhd_do_nothing_f): New.
4576objc:
4577 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4578 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4579
db430d26
DM
45802002-04-19 David S. Miller <davem@redhat.com>
4581
4582 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
4583 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
4584
0f2a3457
JJ
45852002-04-19 Jakub Jelinek <jakub@redhat.com>
4586
4587 PR optimization/3756
4588 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
4589 x = ((int) y < 0) ? cst1 : cst2.
4590
ce5e43d0
JJ
45912002-04-19 Jakub Jelinek <jakub@redhat.com>
4592
4593 PR c/6358
4594 * function.c: Reapply patch for c/6358.
4595 (expand_function_end): Copy decl_rtl's mode, not
4596 current_function_return_rtx mode.
4597
45982002-04-19 Joel Sherrill <joel@OARcorp.com>
9eb83f6c
JS
4599
4600 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
4601 targets.
4602
40e7f8ea
TT
46032002-04-19 Tom Tromey <tromey@redhat.com>
4604
4605 * doc/install.texi (Specific): Update status of Solaris 2.8.
4606 For PR libgcj/6158.
4607
62a12b27
AS
46082002-04-19 Andreas Schwab <schwab@suse.de>
4609
4610 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
4611 (PUT_REAL): Restore old definition.
4612
1405141b
DN
46132002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
4614 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4615
4616 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
4617 binutils 2.11.2 and higher generate smaller binaries than Sun's
4618 native tools.
4619
303a3927
MM
46202002-04-19 Mark Mitchell <mark@codesourcery.com>
4621
4622 PR c++/6352
4623 * toplev.c (rest_of_compilation): Do not defer functions for which
4624 TREE_SYMBOL_REFERENCED has already been set.
4625
de80110b
JH
4626Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
4627
4628 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
4629 alternative.
4630
ab393bf1
NB
46312002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
4632
4633 * builtins.c: Include langhooks.h.
4634 (lang_type_promotes_to): Remove.
4635 (expand_builtin_va_arg): Use new hook.
4636 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
4637 (simple_type_promotes_to): Move to c-typeck.c.
4638 * c-common.h (simple_type_promotes_to): Remove.
4639 * c-decl.c (duplicate_decls, grokdeclarator): Update.
4640 * c-format.c: Include langhooks.h.
4641 (check_format_types): Update.
4642 * c-tree.h (c_type_promotes_to): New.
4643 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
4644 (type_lists_compatible_p): Update.
4645 * langhooks-def.h (lhd_type_promotes_to): New.
4646 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
4647 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4648 * langhooks.c (lhd_type_promotes_to): New.
4649 * langhooks.h (struct lang_hooks_for_types): New hook.
4650 * tree.h (lang_type_promotes_to): Remove.
4651objc:
4652 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
4653
0cd3301b
RH
46542002-04-18 Richard Henderson <rth@redhat.com>
4655
58533fa2 4656 * function.c: Revert patch for c/6358.
0cd3301b
RH
4657
46582002-04-18 Richard Henderson <rth@redhat.com>
4659
58533fa2
RH
4660 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
4661 blocks. Handle multiple references to the TRAP block. Handle
4662 non-adjacent THEN and OTHER blocks.
0cd3301b 4663
58533fa2
RH
46642002-04-18 Richard Henderson <rth@redhat.com>
4665
4666 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
4667 crash with no type for by-mode libcalls.
4668
4669 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
0cd3301b 4670
57174693
BW
46712002-04-18 Bob Wilson <bob.wilson@acm.org>
4672
4673 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4674 __xtensa_nonlocal_goto): Use a syscall instructions to flush
4675 the register windows.
4676
46468cd9
ZW
46772002-04-18 Zack Weinberg <zack@codesourcery.com>
4678
4679 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
4680 appropriate. Document need for extended precision even when
4681 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
4682 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
4683 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
4684 instead of relying on later syntax error when REAL_WIDTH > 5.
4685 * real.c: Define NE based only on whether or not we have a
4686 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
4687 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
4688 define GET_REAL and PUT_REAL as simple memcpy operations; no
4689 need to byteswap or round.
4690 Use #error instead of #ifdef-ing out the entire file, for
4691 prompt error detection.
4692
4693 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
4694
2f82dbf8
DM
46952002-04-18 David S. Miller <davem@redhat.com>
4696
4697 * config/sparc/sparc.h (BRANCH_COST): Define.
4698
4699 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
4700 does it.
4701
566576e7
HPN
47022002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
4703
4704 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
4705 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
4706 propagate_block calls after relaxation loop using new variable
4707 stabilized_prop_flags.
4708
51dcde6f
RH
47092002-04-18 Richard Henderson <rth@redhat.com>
4710
4711 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
4712 (ia64_va_arg): Expect variable sized types by reference.
4713 * config/ia64/ia64-protos.h: Update.
46468cd9 4714 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
51dcde6f
RH
4715 ia64_function_arg_pass_by_reference.
4716
26406018
RH
47172002-04-18 Richard Henderson <rth@redhat.com>
4718
46468cd9
ZW
4719 * ifcvt.c: Include except.h.
4720 (block_has_only_trap): Break out from find_cond_trap.
4721 (find_cond_trap): Use it. Always delete the trap block.
4722 (merge_if_block): Allow then block null. Be less simplistic about
4723 what insns can end a block.
4724 * Makefile.in (ifcvt.o): Depend on except.h.
96b453dc 4725
26406018
RH
4726 * config/ia64/ia64.md (trap, conditional_trap): New.
4727
a3acf46d
JJ
47282002-04-18 Jakub Jelinek <jakub@redhat.com>
4729
4730 PR c/6358
4731 * function.c (assign_parms): Assign hard current_function_return_rtx
4732 register here...
4733 (expand_function_end): ...not here.
4734
7a228918
NB
47352002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4736
4737 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4738 * c-tree.h (c_incomplete_type_error): New.
4739 * c-typeck.c (require_complete_type, build_component_ref): Update.
4740 (incomplete_type_error): Rename.
4741 * langhooks-def.h (lhd_incomplete_type_error): New.
4742 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
4743 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4744 * langhooks.c (lhd_incomplete_type_error): New.
4745 * langhooks.h (struct lang_hooks_for_types): New hook.
4746 * tree.c (size_in_bytes): Use new hook.
4747 * tree.h (incomplete_type_error): Remove.
4748objc:
4749 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4750
f18664c1
ZW
47512002-04-18 Zack Weinberg <zack@codesourcery.com>
4752
4753 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
4754 TARGET_FLOAT_FORMAT blocks.
4755
8ecab453
GP
47562002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4757
4758 * doc/install.texi (Downloading the source): Do not mention Chill
4759 any longer, but mention Ada.
4760 (Configuration): Do not mention Chill any longer.
4761
528d8489
HPN
47622002-04-18 Hans-Peter Nilsson <hp@axis.com>
4763
4764 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
4765
91da27c5
JH
4766Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
4767
4768 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
4769 in last patch.
4770
a32db605
JJ
47712002-04-18 Jakub Jelinek <jakub@redhat.com>
4772
4773 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
4774 instead of unsigned_type.
4775
5a28d8cc
JH
4776Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
4777
4778 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
4779 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
4780 later.
4781
3d980b9f
BS
47822002-04-18 Bernd Schmidt <bernds@redhat.com>
4783
4784 * attribs.c (vector_type_node_list): New static variable.
4785 (handle_vector_size_attribute): Use it to avoid generating a
4786 new type node each time we are called.
4787
2e676d78
BS
4788 * combine.c (subst): Avoid trying to make a vector mode subreg of
4789 an integer constant.
4790 (gen_lowpart_for_combine): Likewise.
46468cd9 4791
58c2956c
RS
47922002-04-18 Roger Sayle <roger@eyesopen.com>
4793 Jakub Jelinek <jakub@redhat.com>
4794
4795 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
4796 for integer constant c (if x has unsigned type or sign bit is not
4797 set in c). This folds the zero/sign extension into the bit-wise and
4798 operation.
4799
692efa8e
JJ
48002002-04-18 Jakub Jelinek <jakub@redhat.com>
4801
4802 PR middle-end/6205
4803 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
4804 otherwise xorps.
4805
1372d4ce
NY
48062002-04-17 NIIBE Yutaka <gniibe@m17n.org>
4807
4808 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
4809
169ce44d
NC
48102002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
4811
4812 * gcc.c (read_specs): Detect and fail if an attempt is made to
4813 rename a spec string to an already existing string.
4814
b30d2115
UW
48152002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4816
4817 * config/s390/s390.c (legitimize_pic_address): Do not generate
4818 illegal address constant without CONST.
4819
d6964c30
KG
48202002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4821
4822 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
4823 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
4824
7c82a1ed
UW
48252002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4826
4827 PR optimization/6305
4828 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
4829 to make sure previous reloads are taken into account. Generate
4830 better code if one operand is an in-range immediate constant.
4831
58db9d1a
AH
48322002-04-16 Andrew Haley <aph@cambridge.redhat.com>
4833
4834 * doc/install.texi (Building): libgcj requires GNU make.
4835
2a732575
JJ
48362002-04-17 Jakub Jelinek <jakub@redhat.com>
4837
4838 PR bootstrap/6315
4839 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
4840 even if hard quad and register is not floating.
4841 (movtf reg<-mem split): Disallow splitting if hard quad and
4842 register is floating.
4843 (movtf mem<-reg split): Likewise.
4844 * config/sparc/sparc.c (fp_register_operand): New predicate.
4845 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
4846
75a65e46
ZW
48472002-04-17 Zack Weinberg <zack@codesourcery.com>
4848
4849 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
4850 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
4851 (unprotoize.o): Ditto. Build from protoize.c. Define
4852 UNPROTOIZE on command line.
4853 * protoize.c: Include cppdefault.h. Delete include_defaults.
4854 (in_system_include_dir): Use cpp_include_defaults (defined in
4855 cppdefault.o).
4856 * unprotoize.c: Delete file.
4857
650f0e97
AH
48582002-04-17 Aldy Hernandez <aldyh@redhat.com>
4859
46468cd9
ZW
4860 * config/rs6000/altivec.h (vec_ld): Add array variants.
4861 (vec_lde): Same.
4862 (vec_ldl): Same.
650f0e97 4863
71a0ab0c 48642002-04-17 Alan Matsuoka <alanm@redhat.com>
46468cd9 4865 Aldy Hernandez <aldyh@redhat.com>
71a0ab0c 4866
46468cd9
ZW
4867 * config/rs6000/altivec.h: Define __ALTIVEC__.
4868 (bool): New.
4869 (__pixel): New.
4870 (pixel): New.
4871 (vec_cfux): New.
4872 (vec_vmaddfp): New.
4873 (vec_vsldoi): New.
4874 Add parentheses to all macro arguments.
71a0ab0c 4875
ff2c46ac
RH
48762002-04-16 Richard Henderson <rth@redhat.com>
4877
4878 PR c++/6320
4879 * except.c (remove_eh_handler): Insert inner regions at beginning
4880 of sibling chain. Refactor expressions.
4881
f1ba94dd
RH
48822002-04-16 Richard Henderson <rth@redhat.com>
4883
f0871dfe
RH
4884 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
4885 * config/sparc/sol2-gas-bi.h: New file.
4886 * config.gcc (sparc*-solaris): Add it as needed.
4887 * configure.in (AS_SPARC64_FLAG): Remove check.
4888 * config.in, configure: Regenerate.
4889
4890 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
4891
48922002-04-16 Richard Henderson <rth@redhat.com>
4893
4894 * config/mips/mips.c (override_options): Don't override N32 for
4895 a 64-bit ISA.
409d3c60 4896
f1ba94dd
RH
4897 PR 6202
4898 * config/mips/mips.md (can_delay): Split out of existing define_delays.
4899 (HILO_delay): Set can_delay false.
4900
178c3eff
DJ
49012002-04-16 Dale Johannesen <dalej@apple.com>
4902
4903 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
4904 instruction addresses.
4905 (rs6000_output_function_epilogue): Likewise.
4906
7d6f6369
PC
49072002-04-16 Paolo Carlini <pcarlini@unitus.it>
4908
4909 * c-parse.in (poplevel, compstmt_start,
4910 compstmt_primary_start): Add ending ';', in accordance
4911 with POSIX.
4912
8947df0c
RH
49132002-04-16 Richard Henderson <rth@redhat.com>
4914
4915 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
4916 Adjust tm_file order to get TARGET_DEFAULT set properly.
4917 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
4918 * doc/install.texi (sparc-solaris): Update.
4919
3148ad6d
DJ
49202002-04-16 Dale Johannesen <dalej@apple.com>
4921
4922 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
4923 comparison operands do not match each other or if modes of
4924 conditions do not match result.
4925
014cb9b6 49262002-04-16 Hartmut Penner <hpenner@de.ibm.com>
562a69be 4927
014cb9b6
HP
4928 PR target/6305
4929 * config/s390/s390.md (mulsidi3): Set both subregs of the
46468cd9 4930 multiword register.
562a69be 4931
014cb9b6 49322002-04-16 Aldy Hernandez <aldyh@redhat.com>
4c8c0dec 4933
8947df0c 4934 * config/rs6000/altivec.h (vec_addc): Type check.
4c8c0dec 4935
a9772b60
JJ
49362002-04-16 Jakub Jelinek <jakub@redhat.com>
4937
4938 PR middle-end/6279
4939 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
4940
4941 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
4942
861829ed
RH
49432002-04-15 Richard Henderson <rth@redhat.com>
4944
4945 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
4946 call_really_used_regs too.
4947
bcf2fe9c
RH
49482002-04-15 Richard Henderson <rth@redhat.com>
4949
4950 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
4951
629111c7
DM
49522002-04-15 David S. Miller <davem@redhat.com>
4953
4954 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
4955 as being CLOBBERed.
4956
98ef3137
JJ
49572002-04-16 Jakub Jelinek <jakub@redhat.com>
4958
4959 PR c/6290
4960 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
4961 CONST_VECTOR is { 0, ... 0 }.
4962
0aa911c5
LR
49632002-04-15 Loren J. Rittle <ljrittle@acm.org>
4964
4965 * doc/install.texi (Installing GCC: Configuration): Clarify
4966 the only supported ways to configure gcc.
4967
83248d49 49682002-04-15 Roland McGrath <roland@frob.com>
46468cd9 4969
83248d49
RM
4970 * config.gcc (alpha*-*-gnu*): New target configuration.
4971 * config/alpha/gnu.h: New file for it.
4972 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
4973
b2123dc0
MM
49742002-04-16 Mark Mitchell <mark@codesourcery.com>
4975
4976 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
4977 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
4978 * tree.h (expand_start_stmt_expr): Update prototype.
4979 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
4980 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
4981 on the STMT_EXPR created for the inline function.
46468cd9 4982
8fe2d853
RH
49832002-04-15 Richard Henderson <rth@redhat.com>
4984
4985 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
4986 config/i386/linux-aout.h, config/i386/linux-oldld.h,
4987 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
4988 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
4989 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
4990 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
4991 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
4992 Define __gnu_linux__, not gnu_linux.
4993 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
4994
07cdae91
MM
49952002-04-15 Mark Mitchell <mark@codesourcery.com>
4996
4997 Remove Chill front end.
4998 * gcc.c (default_compilers): Remove Chill entries.
4999 * ch: Remove directory.
5000 * doc/frontends.texi: Remove information about Chill.
5001 * doc/sourcebuild.texi: Likewise.
5002 * doc/standards.texi: Likewise.
5003
41823c5e
DR
50042002-04-15 Douglas B Rupp <rupp@gnat.com>
5005
5006 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
5007 (LONGLONG_STANDALONE): Define.
5008
eb29ddb6
DM
50092002-04-15 David S. Miller <davem@redhat.com>
5010
5011 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
5012 Call emit_library_call with LCT_NORMAL.
5013 (sparc_initialize_trampoline): Use LCT_foo instead of
5014 magic constant in emit_library_call invocations.
5015 (sparc64_initialize_trampoline): Likewise.
5016 (sparc_profile_hook): Likewise.
5017 * config/sparc/sparc.md: Likewise.
5018
5019 * config/sparc/sparc.c (sparc_extra_constraint_check):
5020 Fix type of argument 'c'.
5021 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
5022 Likewise.
5023
bd6bec6b
GDR
50242002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
5025
5026 * diagnostic.h (output_buffer_state): Redefine.
5027 (output_format_decoder): New macro.
5028 (output_prefixing_rule): Likewise.
5029 (output_line_cutoff): Likewise.
5030 (diagnostic_format_decoder): Adjust.
5031 (diagnostic_prefixing_rule): Likewise.
5032 (diagnostic_line_cutoff): Likewise.
5033 (diagnostic_state): Likewise.
5034 (diagnostic_kind_count): Likewise.
5035 (diagnostic_buffer): Now a macro.
5036
5037 * diagnostic.c (diagnostic_buffer): Remove definition.
5038 (output_is_line_wrapping): Adjust.
5039 (set_real_maximum_length): Likewise.
5040 (output_set_maximum_length): Likewise.
5041 (init_output_buffer): Likewise.
5042 (lhd_print_error_function): Likewise.
5043 (output_do_verbatim): Likewise.
5044
ebef4e8c
NB
50452002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
5046
5047 * cpperror.c (print_location): Don't print include chain
5048 if line == 0.
5049 (cpp_begin_message): Update to use DL_ macros.
5050 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
5051 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5052 cpp_notice, cpp_notice_from_errno): Remove.
5053 (cpp_error, cpp_error_with_line): Update to take a diagnostic
5054 level.
5055 (cpp_errno): New.
5056 * cppexp.c (CPP_ICE): Remove.
5057 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
5058 lex, integer_overflow, _cpp_parse_expr): Update.
5059 * cppfiles.c (read_include_file, find_include_file,
5060 handle_missing_header, _cpp_read_file, remap_filename): Update.
5061 * cpphash.h (enum error_type): Remove.
5062 (_cpp_begin_message): Update.
5063 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
5064 cpp_handle_option, cpp_post_options): Update.
5065 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
5066 skip_whitespace, parse_identifier, parse_slow, parse_string,
5067 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
5068 cpp_interpret_charconst): Update.
5069 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
5070 lex_macro_node, do_undef, glue_header_name, parse_include,
5071 do_include_common, read_flag, do_line, do_linemarker, do_ident,
5072 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
5073 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
5074 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
5075 _cpp_pop_buffer, do_diagnostic): Update.
5076 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
5077 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
5078 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
5079 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5080 cpp_notice, cpp_notice_from_errno): Remove.
5081 (cpp_error, cpp_error_with_line): Update to take a diagnostic
5082 level.
5083 (cpp_errno): New.
5084 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
5085 collect_args, enter_macro_context, save_parameter, parse_params,
5086 _cpp_create_definition, check_trad_stringification,
5087 cpp_macro_definition): Update.
5088 * cppmain.c (cpp_preprocess_file): Update.
5089 * fix-header.c (read_scan_file): Update.
5090
c19a3859
AS
50912002-04-14 Andreas Schwab <schwab@suse.de>
5092
5093 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
5094
10fdbed6
JD
50952002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
5096
5097 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
5098
77660a9a
MM
50992002-04-13 Mark Mitchell <mark@codesourcery.com>
5100
5101 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
5102 not gnu_hurd.
5103
e0ff1ded
HPN
51042002-04-13 Hans-Peter Nilsson <hp@axis.com>
5105
5106 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
5107
2341c7ea
JS
51082002-04-13 Joel Sherrill <joel@OARcorp.com>
5109
5110 * config/sparc/t-elf: Enable v8 multilibs. Impacts
5111 sparc-elf and sparc-rtems targets.
5112
d29350c0
MM
51132002-04-13 Mark Mitchell <mark@codesourcery.com>
5114
5115 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
5116 defined, and __gnu_hurd__ wherever __GNU__ is defined.
5117 * arm/linux-elf.h: Likewise.
5118 * cris/aout.h: Likewise.
5119 * cris/linux.h: Likewise.
5120 * i370/linux.h: Likewise.
5121 * i386/gnu.h: Likewise.
5122 * i386/linux-aout.h: Likewise.
5123 * i386/linux-oldld.h: Likewise.
5124 * i386/linux.h: Likewise.
5125 * i386/linux64.h: Likewise.
5126 * ia64/linux.h: Likewise.
5127 * m68k/linux-aout.h: Likewise.
5128 * m68k/linux.h: Likewise.
5129 * mips/linux.h: Likewise.
5130 * pa/pa-linux.h: Likewise.
5131 * pj/linux.h: Likewise.
5132 * rs6000/sysv4.h: Likewise.
5133 * s390/linux.h: Likewise.
5134 * sh/linux.h: Likewise.
5135 * sparc/linux-aout.h: Likewise.
5136 * sparc/linux.h: Likewise.
5137 * sparc/linux64.h: Likewise.
5138 * xtensa/linux.h: Likewise.
5139
fc552851
RS
51402002-04-13 Richard Sandiford <rsandifo@redhat.com>
5141
5142 * stmt.c (check_unique_operand_names): Expect operand names to
5143 be strings rather than identifiers. Use simple_cst_equal to
5144 compare them.
5145 (resolve_operand_name_1): Make same identifier to string change here.
5146 * c-parse.in (asm_operand): Convert a named operand into a string.
5147 * cp/parse.y (asm_operand): Likewise.
5148
1d405c5e
AS
51492002-04-13 Andreas Schwab <schwab@suse.de>
5150
5151 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
5152
c740732f
MM
51532002-04-12 Mark Mitchell <mark@codesourcery.com>
5154
5155 Revert these changes:
5156
5157 2002-04-06 Mark Mitchell <mark@codesourcery.com>
5158
5159 PR c++/5571
5160 * stor-layout.c (layout_decl): Reset the RTL for the decl.
5161
3fc602a0
RH
51622002-04-12 Richard Henderson <rth@redhat.com>
5163
5164 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
5165 (sparc*-*-solaris): Clean up header files.
5166 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
5167 and plan on generating 64-bit code.
5168 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
5169 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
5170 * config/sparc/sol2-sld-64.h: Rename ...
5171 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
5172 for AS_SPARC64_FLAG not defined.
5173 * config/sparc/sol2-gld-bi.h: New.
5174 * config/sparc/sol2-sld.h: Remove.
5175 * config/sparc/sol26-sld.h: New.
5176 * config/sparc/sol2.h: Tidy comments.
5177 * doc/install.texi: Document sparc-solaris configury changes.
5178
2f15e255
RH
51792002-04-12 Richard Henderson <rth@redhat.com>
5180
5181 * recog.c (offsettable_address_p): Match the logic in adjust_address.
5182
5183 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
5184 in 64-bit mode only. Use only for 32-bit or MEDLOW.
5185
cc8475cb
RO
51862002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5187
5188 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
5189
6f133a4a
JL
5190Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
5191
ef1b8858 5192 * pa.c (pa_can_combine_p): Call extract_insn before calling
6f133a4a
JL
5193 constrain_operands.
5194
1329e600
DR
51952002-04-12 Douglas B Rupp <rupp@gnat.com>
5196
5197 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
5198 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
5199 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
2d424b9f 5200 (CPP_PREDEFINES): Handle __declspec.
1329e600
DR
5201 * config/i386/t-interix (USER_H): Remove.
5202
0339d239
DD
52032002-04-12 DJ Delorie <dj@redhat.com>
5204
5205 * integrate.c (compare_blocks): Make comparisons safe for when
5206 sizeof(int) < sizeof(char *).
5207 (find_block): Likewise.
5208
cc4d5fec
JH
52092002-04-12 Jan Hubicka <jh@suse.cz>
5210 David Edelsohn <edelsohn@gnu.org>
5211
5212 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
5213 registers.
5214 (symbol_ref_operand): New.
5215 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
5216 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
5217
93215a1b
AS
52182002-04-12 Andreas Schwab <schwab@suse.de>
5219
5220 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
5221 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
5222 overrides the definition in config/svr4.h.
46468cd9 5223
1d80248e
EN
52242002-04-12 Eric Norum <eric.norum@usask.ca>
5225
5226 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
5227 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
5228 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
5229 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
5230 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
5231 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
5232 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
5233 definitions to config/rtems.h and make the targets more similar.
5234
fa1591cb
RK
5235Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5236
fa06ab5c
RK
5237 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
5238 POINTERS_EXTEND_UNSIGNED.
5239 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
5240 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
5241
fa1591cb
RK
5242 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
5243 not specified.
5244
12e85a0e
R
5245Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
5246
5247 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
5248 depends on TARGET_SHMEDIA, not TARGET_SH5.
5249
1ab3e58a
HPN
52502002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
5251
5252 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
5253 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
5254
18778292
R
5255Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
5256
5257 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
5258 no r0 clobber.
5259
9002507c
AS
52602002-04-12 Andreas Schwab <schwab@suse.de>
5261
5262 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
5263
9be40833
RH
52642002-04-12 Richard Henderson <rth@redhat.com>
5265
5266 PR bootstrap/4191
5267 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
5268
5269 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
5270 modes spanning multiple hard regs.
46468cd9 5271
9be40833
RH
5272 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
5273
3d9268b6
JDA
52742002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5275
5276 * pa.c (pa_output_function_prologue): Don't accumulate the total
5277 number of code bytes when using TARGET_64BIT, or gas, SOM and not
5278 the portable runtime.
5279 (output_deferred_plabels): Handle 64bit plabels.
5280 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
5281 generating pic code using the GAS assembler for object formats that
5282 are not SOM (ie., ELF32 and ELF64).
5283 (output_millicode_call): Check attribute type if attribute length is 28.
5284 Likewise use $PIC_pcrel$0. Only call get_attr_length and
5285 dbr_sequence_length once.
5286 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
5287 dbr_sequence_length once.
5288 * pa.h (TARGET_SOM): Define if not defined.
5289 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
5290 with GAS and not SOM.
5291 (jump, call_internal_reg, call_value_internal_reg): Likewise.
5292 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
5293
d360fd18
DB
52942002-04-11 David O'Brien <obrien@FreeBSD.org>
5295
5296 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
5297 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
5298 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
5299 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
5300 elfos.h and dbxelf.h values are fine now.
5301 * config/i386/freebsd.h, config/alpha/freebsd.h
5302 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
5303
5b8fcab6
DB
53042002-04-11 David O'Brien <obrien@FreeBSD.org>
5305
5306 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
5307 or set Acpu or Amachine. Reformat.
5308 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5309 define.
5310 (LINK_SPEC): Do not need to undef.
5311 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
5312 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
5313 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5314 define.
5315 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
5316 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
5317 (LINK_SPEC): Do not need to undef.
5318 (DONT_USE_BUILTIN_SETJMP): Do not define.
5319 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
5320 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
5321 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
5322 Remove trailing spaces.
5323 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
5324 __ELF__, or set Acpu or Amachine. Reformat.
5325 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5326 define.
5327
fee42cc1
DB
53282002-04-11 David O'Brien <obrien@FreeBSD.org>
5329
5330 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
5331 all other *-*-freebsd* targets.
5332
77a403e4
RH
53332002-04-11 Richard Henderson <rth@redhat.com>
5334
5335 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
5336
cf0005c6
DB
53372002-04-11 David O'Brien <obrien@FreeBSD.org>
5338
5339 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
5340 Include {cpu}/{cpu}.h thru tm_file.
5341 (alpha*-*-linux*ecoff): Remove target.
5342 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
5343 (LINK_SPEC): Remove, is not OS independent.
5344 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
5345 (LINK_SPEC): Do not need to #undef any longer.
5346 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
5347 any longer.
5348 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
5349 __ELF__.
5350 (LINK_SPEC): Moved here from alpha/elf.h.
5351 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
5352 SUB_CPP_PREDEFINES.
5353 * config/alpha/linux-ecoff.h: Remove.
5354 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
5355 (CPP_SPEC): Define _POSIX_SOURCE as needed.
5356 (CPP_SUBTARGET_SPEC): Do not define.
5357 (LINK_SPEC): Do not need to #undef any longer.
5358 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
5359 * config/alpha/vms.h: Likewise.
5360
9be40833 53612002-04-11 Richard Sandiford <rsandifo@redhat.com>
7825d1cf
RS
5362
5363 * doc/extend.texi: Remove old claim that typedefs cannot have
5364 an alignment attribute.
5365
010f87c4
JJ
53662002-04-11 Jakub Jelinek <jakub@redhat.com>
5367
5368 PR optimization/6177
5369 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
5370 bitpos is 0 and bitsize CONCAT size.
5371
578fc63d
JJ
53722002-04-11 Jakub Jelinek <jakub@redhat.com>
5373
5374 PR c/6223
5375 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
5376
bf9b85ce
DB
53772002-04-10 David O'Brien <obrien@FreeBSD.org>
5378
5379 * config/alpha/freebsd.h: Minor reformatting.
5380 (CPP_SPEC): Define ELF and add cpp_subtarget.
5381 (ASM_SPEC): No longer needed.
5382
7425707d
RH
53832002-04-11 Richard Henderson <rth@redhat.com>
5384
5385 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
5386 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
5387 (dimode mem/zero splitter): New.
5388
1a05e874
HPN
53892002-04-11 Hans-Peter Nilsson <hp@axis.com>
5390
5391 * config/cris/cris.c (cris_override_options): Tweak error message
5392 for PIC not implemented.
5393
5394 * config/cris/cris.h: Tweak comments related to parameter-passing.
5395
5396 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
5397
6f3d0447
RH
53982002-04-10 Richard Henderson <rth@redhat.com>
5399
5400 * except.c (add_ehl_entry): Allow duplicates after landing pad
5401 creation.
5402
174bf2b1
DE
54032002-04-10 David Edelsohn <edelsohn@gnu.org>
5404
5405 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
5406
03f10472
TM
54072002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
5408
5409 * c-decl.c (c_init_decl_processing): Move generation of
5410 decls for g77_integer_type_node and friends from here ...
5411 * c-common.c (c_common_nodes_and_builtins): ... to here.
5412
2f460a0a
UW
54132002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
5414
5415 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
5416 is only used as frame pointer when frame_pointer_needed is true.
5417
0be5cf85
RE
54182002-04-10 Richard Earnshaw <rearnsha@arm.com>
5419
5420 PR target/817
5421 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
5422 for the fact that the pool entry uses two words.
5423 (movdf_hard_insn): Similarly. Also, ADR instruction can span
5424 1k bytes.
5425 (movdf_soft_insn): Similarly.
5426 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
5427 for the fact that the pool entry uses three words.
5428
bf6d4777
RS
54292002-04-10 Richard Sandiford <rsandifo@redhat.com>
5430
5431 * config/mips/mips.c (mips_va_arg): When using the struct version
5432 of the EABI va_list, allow arguments in the register save area to
5433 take up less room than a stack argument.
5434
c2e9dc85
RH
54352002-04-10 Richard Henderson <rth@redhat.com>
5436
5437 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
5438 if EXPAND_INITIALIZER.
5439
bc8e8e97
RH
54402002-04-09 Richard Henderson <rth@redhat.com>
5441
5442 * config/alpha/alpha.md (movdi_er_maybe_g): New.
5443 * config/alpha/alpha.c (alpha_expand_mov): Use it.
5444
a6a063b8
AM
54452002-04-10 Alan Modra <amodra@bigpond.net.au>
5446
5447 PR optimization/6233
5448 * rtlanal.c (pure_call_p): New function.
5449 * rtl.h (pure_call_p): Declare.
5450 * loop.c (prescan_loop): Use it to set has_nonconst_call.
5451 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
5452
7b2e1077
EC
54532002-04-09 Eric Christopher <echristo@redhat.com>
5454
5455 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
5456 information to .comm directive.
5457
d8a50944
RH
54582002-04-09 Richard Henderson <rth@redhat.com>
5459
5460 PR c/5078
5461 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
5462
6a58eee9
RH
54632002-04-09 Richard Henderson <rth@redhat.com>
5464
5465 * basic-block.h (flow_delete_block_noexpunge): Declare.
5466 (expunge_block_nocompact): Declare.
5467 * cfg.c (expunge_block_nocompact): Split out from ...
5468 (expunge_block): ... here.
5469 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
5470 (flow_delete_block_noexpunge): Split out from ...
5471 (flow_delete_block): ... here.
5472 * cfgcleanup.c (delete_unreachable_blocks): Compact while
5473 removing dead blocks.
5474 * except.c (exception_handler_labels): Remove.
5475 (exception_handler_label_map): New.
5476 (struct eh_region): Add aka member.
5477 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
5478 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
5479 (for_each_eh_label, for_each_eh_label_1): New.
5480 (init_eh): Register exception_handler_label_map.
5481 (free_eh_status): Use free_region.
5482 (find_exception_handler_labels): Use the map, not the list.
5483 (remove_exception_handler_label): Likewise.
5484 (maybe_remove_eh_handler): Likewise.
5485 (remove_eh_handler): Use the region aka bitmap.
5486 * except.h (exception_handler_labels): Remove.
5487 (for_each_eh_label): Declare.
5488 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
5489 * loop.c (invalidate_loops_containing_label): New.
5490 (find_and_verify_loops): Use it. Use for_each_eh_label.
5491 * sched-rgn.c (is_cfg_nonregular): Use
5492 current_function_has_exception_handlers.
5493
b47374fa
RH
54942002-04-09 Richard Henderson <rth@redhat.com>
5495
5496 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
5497 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
5498 Do not return changed status.
5499 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
5500 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
5501 New functions that do return changed status.
5502 * sbitmap.h: Update decls.
5503 * gcse.c, lcm.c: Use _cg functions as needed.
5504
1951818c
R
5505Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
5506
5507 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
5508 (sh64-*-elf*, sh-*-rtemself*): Likewise.
5509 * config/sh/embed_bb.c: New file.
5510 * config/sh/embed-elf.h: New file.
5511 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
5512 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
5513 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5514 __PTRDIFF_TYPE__ .
5515 (SUBTARGET_CPP_PTR_SPEC): Don't define.
5516 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
5517 Add subtarget_asm_endian_spec.
5518 (ASM_SPEC): Use subtarget_asm_endian_spec.
5519 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
5520 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
5521 (WCHAR_UNSIGNED): Define.
5522 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
5523 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5524 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
5525 Fix value.
5526 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
5527 (sh_adjust_cost): Likewise.
5528 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5529 __PTRDIFF_TYPE__ .
5530 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
5531 (WCHAR_TYPE_SIZE): Likewise.
5532 (ASM_SPEC): Use subtarget_asm_endian_spec.
5533 (SH_ELF_WCHAR_TYPE): #undef/ #define.
5534 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
5535 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
5536 (MAX_WCHAR_TYPE_SIZE): Don't #define .
5537 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
5538 (USER_LABEL_PREFIX): Don't #undef /#define .
5539 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5540 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
5541 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
5542 (ASM_SPEC): Likewise.
5543 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
5544 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
5545 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
5546 (LIB2FUNCS_EXTRA): Define.
5547 * t-sh64 (LIB2FUNCS_EXTRA): Define.
5548 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
5549 (LIB1ASMFUNCS_CACHE): Define.
5550 (LIB2FUNCS_EXTRA): Redefine empty.
5551
34295799
RH
55522002-04-08 Richard Henderson <rth@redhat.com>
5553
5554 * reorg.c (get_branch_condition): Use reversed_comparison_code.
5555
e8766a39
SC
55562002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5557
5558 * config/m68hc11/larith.asm (__map_data_section): Fix condition
5559 and optimize for size.
5560 (__do_global_ctors): Fix pointer comparison.
5561 (__do_global_dtors): Likewise.
5562
f451b552
DM
55632002-04-09 David S. Miller <davem@redhat.com>
5564
5565 * config/sparc/sparc.c (sparc_extra_constraint_check): New
5566 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
5567 allow reloading pseudos.
5568 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
5569 * config/sparc/sparc-protos.h: Declare it.
5570
5571 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
5572 unsigned comparison warning.
5573 (output_restore_regs): Mark leaf_function as unused.
5574
1ce7f3c2
RK
5575Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5576
5577 * expr.c (is_aligning_offset): New function.
5578 (expand_expr, case COMPONENT_EXPR): Call it.
5579
7a31a340
DM
55802002-04-08 David S. Miller <davem@redhat.com>
5581
5582 PR target/6082
5583 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
5584
5585 Make init_priority work on Sparc when using GNU ld.
5586 * config/sparc/linux.h, config/sparc/linux64.h,
5587 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
5588 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
5589 * config/sparc/sol2-gld.h: New file to do the same.
5590 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
5591 sparc/sol2-gld.h to tm_file.
5592
5593 PR optimization/4328
5594 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
5595 * doc/md.texi: Document it.
5596 * config/sparc/sparc.md (movdi_insn_sp64_novis,
5597 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
5598 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
5599 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
5600 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
5601
11579f33
AJ
56022002-04-08 Andreas Jaeger <aj@suse.de>
5603
5604 * stmt.c (expand_asm_operands): Revert last patch from Richard
5605 Henderson.
5606
b57215d9
GP
56072002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5608
5609 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
5610 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
5611
56122002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5613
5614 * doc/contrib.texi (Contributors): Add David O'Brien.
5615
534d0cc0
AM
56162002-04-08 Alan Modra <amodra@bigpond.net.au>
5617
5618 * configure.in (auto-build.h): Use target_alias and build_alias
5619 when running configure.
5620 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
5621 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
5622 * configure: Regenerate.
5623
19fe522a
DM
56242002-04-07 David S. Miller <davem@redhat.com>
5625
5626 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
5627
bf2d0b8e
JDA
56282002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5629
5630 PR 5933
5631 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
5632 generating 32-bit pic code.
5633
477cdac7
JT
56342002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
5635
5636 * cppinit.c (cpp_create_reader): Initialize
5637 discard_comments_in_macro_exp.
5638 (COMMAND_LINE_OPTIONS): Add "-CC" option.
5639 (cpp_handle_option): Handle "-CC" option.
5640 * cpplex.c (save_comment): If saving a C++ comment in
5641 a directive, convert it to a C comment.
5642 (_cpp_lex_direct): Pass second comment start character to
5643 save_comment to indicate comment type.
5644 * cpplib.c (_cpp_handle_directive): If processing
5645 a "#define" directive and discard_comments_in_macro_exp
5646 is false, re-enable saving of comments.
5647 (lex_macro_node): If discard_comments_in_macro_exp is false,
5648 discard any comments before the macro identifier.
5649 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
5650 member.
5651 * cppmacro.c (cpp_get_token): If expanding a macro while
5652 processing a directive, discard any comments we might encounter.
5653 (parse_params): If discard_comments_in_macro_exp is false,
5654 ignore comments in the macro parameter list.
5655 * gcc.c (cpp_unique_options): Add "-CC" option.
5656 (option_map): Map "--comments-in-macros" to "-CC".
5657 * doc/cppopts.texi: Document "-CC" option.
5658 * f/lang-specs.h: Add "-CC" option.
5659 * testsuite/gcc.dg/cpp/maccom1.c: New test.
5660 * testsuite/gcc.dg/cpp/maccom2.c: New test.
5661 * testsuite/gcc.dg/cpp/maccom3.c: New test.
5662 * testsuite/gcc.dg/cpp/maccom4.c: New test.
5663 * testsuite/gcc.dg/cpp/maccom5.c: New test.
5664 * testsuite/gcc.dg/cpp/maccom6.c: New test.
5665
f1526122
JDA
56662002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
5667
5668 PR middle-end/6180
5669 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
5670
b1896e61
MM
56712002-04-06 Mark Mitchell <mark@codesourcery.com>
5672
0154eaa8
MM
5673 PR c++/5571
5674 * stor-layout.c (layout_decl): Reset the RTL for the decl.
5675
b1896e61
MM
5676 PR opt/5120
5677 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
5678 RTX_UNCHANGING_P for the functions arguments when a tail call
5679 is made.
5680
b0148884
JM
56812002-04-06 Jason Merrill <jason@redhat.com>
5682
5683 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
5684 (parse_options_and_default_flags): Set them appropriately.
5685 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
5686
392fc5b0
HPN
56872002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
5688
5689 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
5690 here.
5691
5692 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
5693 semicolon.
5694
5695 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
5696 types come in by-reference. Fix typo in comment.
5697
2d69e3cb
DM
56982002-04-05 David S. Miller <davem@redhat.com>
5699
5700 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
5701 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
5702 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
5703 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
5704
57052002-04-05 David S. Miller <davem@redhat.com>
5706
5707 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
5708 are not going to emit return instructions, emit at least a nop
5709 for the sake of sane backtraces.
5710
5f9fb0e3
RH
57112002-04-05 Richard Henderson <rth@redhat.com>
5712
5713 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
5714
49f37a0d
JJ
57152002-04-05 Jakub Jeilnek <jakub@redhat.com>
5716
5717 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
5718
974a3101
AO
57192002-04-05 Alexandre Oliva <aoliva@redhat.com>
5720
5721 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
5722 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
5723 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
5724
2e04a694
AS
57252002-04-05 Andreas Schwab <schwab@suse.de>
5726
a40179bd 5727 * c-convert.c: Include c-common.h.
2e04a694
AS
5728 * Makefile.in (c-convert.o): Updated.
5729
1f785b7c
JJ
57302002-04-05 Jakub Jelinek <jakub@redhat.com>
5731
5732 * mklibgcc.in: Use separate libgcc.map for each multilib.
5733 * Makefile.in (distclean): Don't remove libgcc.map here.
5734
4d2fb38b
JJ
57352002-04-05 Jakub Jelinek <jakub@redhat.com>
5736
5737 * Makefile.in (s-mlib): Handle --disable-multilib by separate
5738 genmultilib invocation.
5739
bb63e5a0
RS
57402002-04-04 Richard Sandiford <rsandifo@redhat.com>
5741
5742 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
5743 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
5744 to num_gprs for symmetry.
5745 * config/mips/mips.c: Adjust accordingly.
5746
8ab80eaa
NB
57472002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
5748
5749 * c-common.c (truthvalue_conversion): Rename, update.
5750 * c-common.h (c_common_truthvalue_conversion): New.
5751 * c-convert.c (convert): Update.
5752 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5753 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
5754 * c-typeck.c (build_binary_op, build_unary_op,
5755 build_conditional_expr): Update.
5756 * fold-const.c (constant_boolean_node, fold): Use langhook.
5757 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
5758 * langhooks.h (struct lang_hooks): New hook.
5759 * stmt.c (expand_decl_cleanup): Use langhook.
5760 * tree.h (truthvalue_conversion): Remove.
5761objc:
5762 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5763
a2e9374a
AM
57642002-04-05 Alan Modra <amodra@bigpond.net.au>
5765
5766 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
5767 Add rules to make null object file.
5768
64d08263
JB
57692002-04-04 Jim Blandy <jimb@redhat.com>
5770
5771 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
5772 macro formal parameter names.
5773
aa7634dd
DM
57742002-04-04 David S. Miller <davem@redhat.com>
5775
5776 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
5777
ecc114f7
RH
57782002-04-04 Richard Henderson <rth@redhat.com>
5779
5780 PR middle-end/5099
5781 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
5782 Support copies into and out of memory. Don't accept allows_reg
5783 and allows_mem as gospel.
5784
c4484b8f
RH
57852002-04-04 Richard Henderson <rth@redhat.com>
5786
5787 PR opt/6165
5788 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
5789 (write_dependence_p): Likewise.
5790
39002160
RH
57912002-04-04 Richard Henderson <rth@redhat.com>
5792
5793 * predict.c (estimate_bb_frequencies): Do frequency calculation
5794 with a volatile temporary.
5795
f53ebe71
UW
57962002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
5797
5798 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
5799
15e0ecab
JJ
58002002-04-04 Jakub Jelinek <jakub@redhat.com>
5801
5802 PR c++/6119
5803 * final.c (final_start_function): Don't bump profile_label_no here...
5804 (final_end_function): ...but here.
5805
ffd386b0
JJ
58062002-04-04 Jakub Jelinek <jakub@redhat.com>
5807
5808 * config/sparc/sparc.md (pic): New attribute.
5809 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
5810 into stack slots.
5811 (split after do_builtin_setjmp_setup): New.
5812
8b156b3e
JJ
58132002-04-04 Jakub Jelinek <jakub@redhat.com>
5814
5815 PR fortran/6106
5816 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
5817 change.
5818
014c0998
JJ
58192002-04-04 Jakub Jelinek <jakub@redhat.com>
5820
5821 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
5822 UNITS_PER_WORD for zero sized aggregates.
5823
4d8611d9
DM
58242002-04-03 David S. Miller <davem@redhat.com>
5825
5826 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
5827 one-character spec for this, just use %(link_gcc_c_sequence).
5828
b03ad99d
DM
58292002-04-03 David S. Miller <davem@redhat.com>
5830
5831 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
5832 handling.
5833
823fbbce
JDA
58342002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5835
5836 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
5837 (DWARF_FRAME_RETURN_COLUMN): Move.
5838 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5839 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
5840 * pa.c (except.h, predict.h): Include.
5841 (FRP): Delete.
5842 (store_reg_modify, set_reg_plus_d): Revise prototypes.
5843 (output_ascii): Add cast.
5844 (store_reg_modify): Revise to add frame notes.
5845 (set_reg_plus_d): Likewise.
5846 (compute_frame_size): Include space for eh data registers in frame if
5847 the current function calls eh_return.
5848 (hppa_expand_prologue): Ensure register %r2 is saved if the current
5849 function calls eh_return. Save eh data registers if the current
5850 function calls eh_return. Fix code to add frame notes. Emit
5851 blockage to prevent insns with frame notes being scheduled in the
5852 delay slot of calls.
5853 (hppa_expand_epilogue): Restore eh data registers and do final stack
5854 adjustment if the current function calls eh_return. Don't add frame
5855 notes.
5856 (output_call): Revise for change in length of call insn. Don't do
5857 return pointer adjustment for an unconditional jump in the delay slot
5858 of a call when using frame notes.
5859 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
5860 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
5861 (ARG_POINTER_CFA_OFFSET): Define.
5862 * pa.md (return_external_pic): New pattern.
5863 (prologue): Correct formatting. Use return_external_pic if current
5864 function calls eh_return.
5865 (call_internal_symref, call_value_internal_symref,
5866 sibcall_internal_symref, sibcall_value_internal_symref): Change default
5867 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
5868 respectively.
5869 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
5870
5871 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
5872 list of targets to check using "nop" insn.
5873 * configure: Rebuilt.
5874
4078e224
AM
58752002-04-04 Alan Modra <amodra@bigpond.net.au>
5876
5877 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
5878
bbd7687d
DM
58792002-04-03 David S. Miller <davem@redhat.com>
5880
5881 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
5882 library sequence passed to the linker.
5883 (LINK_COMMAND_SPEC): Use it.
5884 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
5885 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
5886 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
5887
659e5a7a
JM
58882002-04-03 Jason Merrill <jason@redhat.com>
5889
5890 * except.c (struct eh_status): Remove protect_list.
5891 (begin_protect_partials, end_protect_partials): Remove.
5892 (add_partial_entry): Remove.
5893 * except.h: Remove prototypes.
5894
5895 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
5896 expand_decl_cleanup_eh.
5897
5898 PR c++/5636
5899 * tree.h (CLEANUP_EH_ONLY): New macro.
5900 * stmt.c (expand_decl_cleanup_eh): New fn.
5901 (expand_cleanups): Check CLEANUP_EH_ONLY.
5902 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
5903 Use expand_decl_cleanup_eh.
5904 (expand_stmt): Adjust.
5905 * c-common.h: Adjust prototype.
5906
053d3344
HPN
59072002-04-04 Hans-Peter Nilsson <hp@axis.com>
5908
5909 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
5910 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
5911 (cris_target_asm_function_epilogue): Ditto.
5912 (cris_initial_frame_pointer_offset): Ditto.
5913 (cris_simple_epilogue): Ditto.
5914 (cris_expand_builtin_va_arg): Variable-size types come in
5915 by-reference.
5916
61ab5260
DM
59172002-04-03 David S. Miller <davem@redhat.com>
5918
5919 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
5920 little-endian.
5921 (set_fast_math): Correct 'fsr' type.
5922
ef4f94ac
RH
59232002-04-03 Richard Henderson <rth@redhat.com>
5924
36c2272c 5925 PR opt/3569
ef4f94ac
RH
5926 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
5927 * toplev.c (check_global_declarations): Use it.
5928 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
5929 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5930 (LANG_HOOKS_DECLS): Add it.
5931 * langhooks.c (lhd_warn_unused_global_decl): New.
5932 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5933 * c-objc-common.c (c_warn_unused_global_decl): New.
5934 * c-tree.h (c_warn_unused_global_decl): Declare.
5935 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5936
599bba86
NB
59372002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
5938
5939 * langhooks-def.h (lhd_set_decl_assembler_name,
5940 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
5941 (LANG_HOOKS_INITIALIZER): Update.
5942 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
5943 * langhooks.h (struct lang_hooks): New hook.
5944 * tree.c (set_decl_assembler_name): Move to langhooks.c.
5945 (lang_set_decl_assembler_name): Remove.
5946 (init_obstacks): Don't set hook.
5947 (decl_assembler_name): New function.
5948 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
5949 (decl_assembler_name): New.
5950 (lang_set_decl_assembler_name): Remove.
5951
cf7b8b0d
JJ
59522002-04-03 Jakub Jelinek <jakub@redhat.com>
5953
5954 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
5955 works properly with .hidden symbols.
5956 * configure: Rebuilt.
5957 * config.in: Rebuilt.
5958 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
5959 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
5960 properly with .hidden symbols.
5961
faf6db38
JJ
59622002-04-03 Jakub Jelinek <jakub@redhat.com>
5963
5964 PR middle-end/6102
5965 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
5966 USE argument.
5967
68c17f30
RH
59682002-04-03 Richard Henderson <rth@redhat.com>
5969
5970 PR opt/4120
5971 * sched-rgn.c (sets_likely_spilled): New.
5972 (sets_likely_spilled_1): New.
5973 (add_branch_dependences): Use it.
5974
6584b4aa
RH
59752002-04-02 Richard Henderson <rth@redhat.com>
5976
5977 PR opt/4311
5978 * loop.h (LOOP_FIRST_PASS): New.
5979 * loop.c (strength_reduce): Mind it when deciding to unroll.
5980 * toplev.c (rest_of_compilation): Set it.
5981
0acf409f
DM
59822002-04-02 David S. Miller <davem@redhat.com>
5983
5984 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
5985 mems_ok_for_ldd_peep when the order of the loads being examined
5986 is reversed.
5987 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
5988 existing comment to increase comprehension of this situation.
5989
85654444
ZW
59902002-04-02 Zack Weinberg <zack@codesourcery.com>
5991
5992 * config/sh/sh.md: Don't use union real_extract.
5993
543828ca
RH
59942002-04-02 Richard Henderson <rth@redhat.com>
5995
5996 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
5997
39ed301b
DB
59982002-04-02 David O'Brien <obrien@FreeBSD.org>
5999
6000 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
6001 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
6002 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
6003 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
6004 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
6005 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
6006 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
6007 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
6008 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
6009 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
6010 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
6011 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
6012 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
6013 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
6014 Include as many configury headers via tm_file as possible. This
6015 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
6016 * config/openbsd-oldgas.h: New file.
6017 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
6018 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
6019 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
6020 config/i386/i386-coff.h, config/i386/i386-interix.h,
6021 config/i386/iscdbx.h, config/i386/linux-aout.h,
6022 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
6023 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
6024 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
6025 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
6026 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
6027 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
6028 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
6029 config/i386/vxi386.h: Do not directly include configury headers.
6030 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
6031 Directly include configury headers that are no longer automatically
6032 included by the above headers.
6033 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
6034 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
6035 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
6036 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
6037 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
6038 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
6039 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
6040 (TARGET_VERSION): Define.
6041 * config/i386/beos-elf.h, config/i386/freebsd.h,
6042 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
6043 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
6044 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
6045 config/i386/sco5.h, config/i386/sysv4.h
6046 (TARGET_VERSION): Do not need to protect.
6047 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
6048 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
6049 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
6050 config/i386/i386-interix.h, config/i386/linux-aout.h,
6051 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
6052 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
6053 (YES_UNDERSCORES): Do not define - not needed.
6054 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
6055 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
6056 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
6057 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
6058 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
6059 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
6060 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
6061 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
6062
9432c136
EB
60632002-04-02 Eric Botcazou <ebotcazou@multimania.com>
6064 Richard Henderson <rth@redhat.com>
6065
6066 PR c/5484
6067 * function.c (assign_temp): Accept either type or decl argument.
6068 Detect variables whose size is too large to fit into an integer.
6069 * stmt.c (expand_decl): Pass the decl, not the type.
6070
058b1275
DB
60712002-04-02 David O'Brien <obrien@FreeBSD.org>
6072
6073 * protoize.c: Match include directory usage with cppdefault.c.
6074
5add6d1a 60752002-04-03 Jeffrey A Law (law@redhat.com)
9be40833 6076 Hans-Peter Nilsson <hp@bitrange.com>
5add6d1a
JL
6077
6078 * combine.c (simplify_comparison): Avoid narrowing a comparison
6079 with a paradoxical subreg when doing so would drop signficant bits.
6080
1e533e4b
SE
60812002-04-02 Steve Ellcey <sje@cup.hp.com>
6082
6083 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
6084 if POINTERS_EXTEND_UNSIGNED is defined.
6085
7a145e92
RH
60862002-04-02 Richard Henderson <rth@redhat.com>
6087
6088 PR opt/3967
6089 * local-alloc.c (contains_replace_regs): LO_SUM may contain
6090 replace regs.
6091
3a079822
RH
60922002-04-02 Richard Henderson <rth@redhat.com>
6093
6094 * doc/standards.texi: Document required freestanding libc entry points.
6095
c94ccb87
AM
60962002-04-02 Alan Modra <amodra@bigpond.net.au>
6097
6098 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
6099 associated splitter. Remove MQ constraint.
6100 (ctrdi_internal4): Correct CCmode clobber.
6101
fe660a1a
JDA
61022002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
6103
6104 * milli64.S ($$dyncall): New function.
6105 * t-linux (LIB1ASMFUNCS): Revise module list.
6106 (LIB1ASMSRC): Use pa/milli64.S.
6107
eadc0202
RH
61082002-04-02 Richard Henderson <rth@redhat.com>
6109
6110 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
6111 rename solaris_sys_varargs_h.
6112
a1471322
RK
6113Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6114
6115 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
6116 the same mode as its component.
6117
c8b94768
RH
61182002-04-02 Richard Henderson <rth@redhat.com>
6119
6120 PR opt/190
6121 * final.c (this_is_asm_operands): Export.
6122 * output.h (this_is_asm_operands): Declare.
6123 * config/i386/i386.c (print_operand): Error odd asm operands.
6124
161eb4fc
RH
61252002-04-02 Richard Henderson <rth@redhat.com>
6126
6127 PR opt/420
6128 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
6129
b88a94c6
RH
61302002-04-01 Richard Henderson <rth@redhat.com>
6131
6132 PR target/1538
6133 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
6134 * fixinc/fixincl.x: Rebuild.
6135
72e32876
RH
61362002-04-01 Richard Henderson <rth@redhat.com>
6137
6138 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
6139 (atomic_alloc, atomic_free): New.
6140 (SIZE, MASK_FOR, PTR_IN): New.
6141 (emergency_reg_state, emergency_reg_state_free): New.
6142 (emergency_labeled_state, emergency_labeled_state_free): New.
6143 (reg_state_alloced, labeled_state_alloced): New.
6144 (alloc_reg_state, free_reg_state): New.
6145 (alloc_label_state, free_label_state, free_label_states): New.
6146 (push, pop, dup_state_stack, free_state_stack): Use them.
6147 (desc_label_state): Likewise.
6148 (uw_frame_state_for): Free label states and state stack.
6149 (uw_update_reg_address): Eliminate warnings.
6150
84d76074
VM
61512002-04-01 Vladimir Makarov <vmakarov@redhat.com>
6152
6153 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
9be40833 6154 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
84d76074 6155
dffd7eb6
NB
61562002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
6157
6158 * c-decl.c (grokdeclarator): Update.
6159 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
6160 * c-tree.h (c_mark_addressable): New.
6161 * c-typeck.c (default_function_array_conversion, build_unary_op,
6162 build_array_ref, convert_for_assignment): Update.
6163 (mark_addressable): Rename.
6164 * calls.c (try_to_integrate, expand_call): Use langhook.
6165 * expr.c (expand_expr): Use langhook.
6166 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
6167 * langhooks.h (struct lang_hooks): New hook.
6168 * stmt.c (expand_asm_operands): Use langhook.
6169 * tree.h (mark_addressable): Remove.
6170objc:
6171 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
6172
544ef5b5
BW
61732002-04-01 Bob Wilson <bob.wilson@acm.org>
6174
9be40833
RH
6175 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
6176 in previous change.
544ef5b5 6177
bcf88f9b
BW
61782002-04-01 Bob Wilson <bob.wilson@acm.org>
6179
6180 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
6181 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
6182
ceef8ce4
NB
61832002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
6184
6185 * c-common.c (unsigned_conversion_warning, convert_and_check,
6186 unsigned_type, signed_type, shorten_compare,
6187 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
6188 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
6189 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
6190 New.
6191 * c-decl.c (grokdeclarator): Update.
6192 * c-format.c (check_format_types): Update.
6193 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
6194 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
6195 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
6196 * convert.c (convert_to_integer): Use new hooks.
6197 * expmed.c (make_tree): Use new hooks.
6198 * expr.c (store_expr): Use new hooks.
6199 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
6200 all_ones_mask_p, unextend, fold): Use new hooks.
6201 * langhooks.h (struct lang_hooks_for_types): New hooks.
6202 * tree.h (signed_or_unsigned_type, signed_type,
6203 unsigned_type): Remove.
6204objc:
6205 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
6206 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
6207
1d9ad0e0
RH
62082002-03-31 Richard Henderson <rth@redhat.com>
6209
6210 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
6211 (desc_frgr_mem): Fix reference to f16-f31.
6212
d544bc39
KG
62132002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6214
6215 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
6216 RTVEC_ELT): Const-ify.
d8750784
KG
6217 * varray.h (VARRAY_CHECK): Const-ify.
6218 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
6219 ggc_mark_rtvec, ggc_mark): Const-ify.
d544bc39 6220
b18101c7
NB
62212002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
6222
6223 * diagnostic.c: Include langhooks-def.h.
6224 * Makefile.in (diagnostic.o): Update.
6225
48a7a235
NB
62262002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
6227
6228 * c-common.c (c_unsafe_for_reeval): Rename.
6229 * c-common.h (c_unsafe_for_reeval): Rename.
6230 * c-decl.c (finish_incomplete_decl): Rename.
6231 (c_init_decl_processing): Don't set langhook.
6232 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
6233 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
6234 * c-objc-common.c (c_objc_common_init): Don't set langhook.
6235 * c-tree.h (finish_incomplete_decl): Rename.
6236 * langhooks-def.h (lhd_unsafe_for_reeval): New.
6237 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
6238 (LANG_HOOKS_INITIALIZER): Update.
6239 * langhooks.c (lhd_unsafe_For_reeval): New.
6240 * langhooks.h (struct langhooks): New hooks.
6241 * toplev.c (incomplete_decl_finalize_hook): Remove.
6242 (wrapup_global_declarations): Update.
6243 * tree.c (lang_unsafe_for_reeval): Remove.
6244 (unsafe_for_reeval): Update.
6245 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
6246 Remove.
6247objc:
6248 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
6249 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
6250
7cb32822
NB
62512002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
6252
6253 * diagnostic.c (print_error_function): Remove.
6254 (default_print_error_function): Rename.
6255 (report_error_function): Update.
6256 * diagnostic.h (print_error_function): Remove.
6257 (default_print_error_function): Remove.
6258 * langhooks-def.h (struct diagnostic_context): Predeclare.
6259 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
6260 (LANG_HOOKS_INITIALIZER): Update.
6261 * langhooks.h (struct diagnostic context): Predeclare.
6262 (struct lang_hooks): New hook.
6263
1db02437
FS
62642002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6265
6266 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
6267 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
6268 !flag_pic.
6269 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
6270 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
6271 of PIC_OFFSET_TABLE_REGNUM thruout.
6272 * config/rs6000/rs6000.md: Likewise.
6273 * config/rs6000/darwin.h: Likewise.
6274
3bf1e984
RK
6275Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6276
6277 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
6278 unsigned HOST_WIDE_INT, not unsigned int.
6279
0864c526
JJ
62802002-03-31 Jakub Jelinek <jakub@redhat.com>
6281
6282 PR middle-end/6096, middle-end/6098, middle-end/6099
6283 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
6284 CODE_LABELs.
6285 (fill_slots_from_thread): Likewise.
6286
105b2084
JJ
62872002-03-31 Jakub Jelinek <jakub@redhat.com>
6288
6289 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
6290 floating fields in float regs.
6291 (function_arg_record_value_2): Likewise.
6292
db08fddf
HPN
62932002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
6294
6295 * config/mmix/mmix.md (define_constants): Remove misleading
6296 FIXME. Add MMIX_fp_rO_OFFSET.
6297 ("nonlocal_goto_receiver"): Don't have stack-frame address of
6298 saved rO as part of the pattern. Remove FIXME.
6299 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
6300 here, at output-time.
6301
4f31cce8
JJ
63022002-03-31 Jakub Jelinek <jakub@redhat.com>
6303
6304 PR middle-end/6100
6305 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
6306 REG_BR_PRED.
6307 (output_v9branch): Likewise.
6308
ba2b7435
AO
63092002-03-31 Alexandre Oliva <aoliva@redhat.com>
6310
6311 * gcc.c: Revert previous patch for now.
6312 * config/i386/djgpp.h: Likewise.
6313
aa66aa5f 63142002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
8f840f57
HPN
6315
6316 * config/mmix/crti.asm (_init): Register _fini with atexit.
6317 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
6318
41ba8a20
RH
63192002-03-31 Richard Henderson <rth@redhat.com>
6320
6321 PR target/3997
6322 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
6323 (ASM_OUTPUT_DEF_FROM_DECLS): New.
6324
adc186ef
RH
63252002-03-31 Richard Henderson <rth@redhat.com>
6326
6327 * libgcc2.c (__bb_exit_func): Make static.
6328
9be40833 6329 * config/alpha/alpha.md (trap): New.
a7648399 6330
9602f5a0
RH
63312002-03-31 Richard Henderson <rth@redhat.com>
6332
6333 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
6334 promoted argument types; build trap.
6335 (expand_builtin_trap): New.
6336 (expand_builtin): Use it.
6337 * stmt.c (expand_nl_goto_receivers): Likewise.
6338 * expr.h (expand_builtin_trap): Declare.
6339 * libfuncs.h (LTI_abort, abort_libfunc): New.
6340 * optabs.c (init_optabs): Init abort_libfunc.
6341
1a0a7539
AO
63422002-03-31 Alexandre Oliva <aoliva@redhat.com>
6343
6344 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
6345 (LINK_COMMAND_SPEC): ... from here.
7b2e1077 6346 (init_gcc_specs): Duplicate it here too, omitting
1a0a7539
AO
6347 shared_name in the second copy.
6348 (init_spec): Test for duplicate
6349 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
6350
b5de1a27
DM
63512002-03-30 David S. Miller <davem@redhat.com>
6352
6353 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
6354 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
6355
78414d74 63562002-03-30 Roger Sayle <roger@eyesopen.com>
9be40833 6357 Richard Henderson <rth@redhat.com>
78414d74 6358
9be40833
RH
6359 * regmove.c (combine_stack_adjustments_for_block): Avoid
6360 emitting a stack adjustment of zero bytes. Let delete_insn
6361 update bb->head.
78414d74 6362
33074e5f
RH
63632002-03-30 Richard Henderson <rth@redhat.com>
6364
6365 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
6366 (sparc_emitting_epilogue): New.
6367 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
6368 * config/sparc/sparc-protos.h: Update.
6369 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
6370 (TARGET_SWITCHES): Update.
6371 * config/sparc/sparc.md (return): Remove.
6372 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
6373 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
6374 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
6375 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
6376 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
6377 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
6378 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
6379 Remove MASK_EPILOGUE.
6380 * doc/invoke.texi: Update.
6381
606cc056
DB
63822002-03-30 Daniel Berlin <dan@dberlin.org>
6383
6384 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
6385 CPP will start the file for us.
7b2e1077 6386
bdbe5b8d
RH
63872002-03-30 Richard Henderson <rth@redhat.com>
6388
6389 PR target/5446
6390 * config/ia64/ia64.c (group_barrier_needed_p): Special case
6391 prologue_allocate_stack.
6392 (ia64_single_set): Use insn codes for recognition of special
6393 cases, not rtl matching.
6394 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
6395
4ab95d82
JH
6396Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
6397
6398 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
6399
89a8b315
RH
64002002-03-30 Richard Henderson <rth@redhat.com>
6401
6402 PR target/6032
6403 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
6404 or -fomit-frame-pointer with profiling.
6405 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6406 (FUNCTION_PROFILER): Do nothing.
6407 (PROFILE_HOOK): New.
6408 * config/sparc/sparc.c (sparc_override_options): Don't check
6409 code models for profiling.
6410 (sparc_function_profiler): Remove.
6411 (sparc_profile_hook): New.
6412 * config/sparc/sparc-protos.h: Update.
6413
30984c57
JJ
64142002-03-30 Jakub Jelinek <jakub@redhat.com>
6415
6416 PR optimization/6086
6417 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
6418 of SUBREG of volatile MEM or because the MEM was mode dependent,
6419 return CLOBBER instead of unmodified SUBREG.
6420
1540f9eb
JH
6421Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
6422
89a8b315
RH
6423 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
6424 when not optimizing.
1540f9eb
JH
6425
6426 * toplev.c (rest_of_compilation): Cann mark_constant_function
6427 only when optimizing.
6428
89a8b315
RH
6429 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
6430 are NULL.
1540f9eb
JH
6431
6432 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
6433 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
6434 (try_optimize_cfg): clear all AUX fields.
6435
6436 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
6437 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
6438 (ix86_address_cost): Be prepared for SUBREGed registers.
6439 (legitimate_address_p): Accept SUBREGed registers.
6440
70d95bac
RH
64412002-03-29 Richard Henderson <rth@redhat.com>
6442
6443 PR target/5672
6444 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
6445
d3294cd9
FS
64462002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6447
6448 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
6449 for aggregate and TFmode types.
6450
a106c875
HPN
64512002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
6452
6453 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
6454
7d7a5d6f
RH
64552002-03-29 Richard Henderson <rth@redhat.com>
6456
6e2d670b 6457 PR target/5886
7d7a5d6f
RH
6458 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
6459 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
6460
30c99a84
RH
64612002-03-29 Richard Henderson <rth@redhat.com>
6462
6e2d670b 6463 PR target/6041
30c99a84
RH
6464 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
6465 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
6466 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
6467 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
6468 conditional.
6469 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
6470
02a566dc
DJ
64712002-03-29 Dale Johannesen <dalej@apple.com>
6472
6473 * loop.c (combine_movables): Do allow combination of pseudos.
6474
bc3a44db
LR
64752002-03-29 Loren J. Rittle <ljrittle@acm.org>
6476
6477 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
6478 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
6479 No functional change except ...
6480 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
6481 * doc/install.texi (*-*-freebsd*): Document port configuration.
6482
b0c48229
NB
64832002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
6484
6485 * Makefile.in (convert.o, calls.o, expmed.o): Update.
6486 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
6487 Use new hooks.
6488 * builtin-types.def (BT_PTRMODE): Update.
6489 * c-common.c (type_for_size): Rename c_common_type_for_size.
6490 (type_for_mode): Similarly.
6491 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
6492 Use new hook.
6493 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
6494 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
6495 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
6496 Redefine.
6497 * c-typeck.c (common_type, comptypes, default_conversion):
6498 Use new hooks.
6499 * calls.c: Include langhooks.h.
6500 (emit_library_call_value_1): Use new hooks. Avoid redundant
6501 calls.
6502 * convert.c: Include langhooks.h
6503 (convert_to_pointer, convert_to_integer): Use new hooks.
6504 * except.c (init_eh): Similarly.
6505 * expmed.c: Include langhooks.h.
6506 (expand_mult_add): Use new hooks.
6507 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
6508 try_casesi): Similarly.
6509 * fold-const.c (optimize_bit_field_compare, make_range,
6510 decode_field_reference, fold_truthop, fold): Similarly.
6511 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
6512 put_var_into_stack): Similarly.
6513 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
6514 LANG_HOOKS_TYPE_FOR_SIZE): New.
6515 (LANG_HOOKS_TYPES_INITIALIZER): Update.
6516 * langhooks.h (lang_hooks_for_types): New hooks.
6517 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
6518 * tree.c (get_unwidened, get_narrower): Similarly.
6519 * tree.h (type_for_mode, type_for_size): Remove.
6520 * varasm.c (force_const_mem): Use new hooks.
6521 * utils2.c (nonbinary_modular_operation): Update.
6522objc:
6523 * objc-act.c (handle_impent): Update.
6524 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
6525 Redefine.
6526
e206a74f
SE
65272002-03-29 Steve Ellcey <sje@cup.hp.com>
6528
6529 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
6530 * config/ia64/ia64.c (basereg_operand): New.
6531 * config/ia64/ia64-protos.h (basereg_operand): Declare.
6532 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
6533
7d9b6378
HPN
65342002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
6535
6536 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
6537 unwind information when frame_pointer_needed.
6538 (mmix_assemble_integer): Tweak wording in comment.
6539
f1e639b1
NB
65402002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
6541
6542 * Makefile.in (except.o): Update.
6543 * except.c: Include langhooks.h.
6544 (init_eh): Use langhook.
6545 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
6546 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
6547 (LANG_HOOKS_INITIALIZER): Update.
6548 * langhooks.h (lang_hooks_for_types): New.
6549 (struct lang_hooks): Add it.
6550 * tree.c (make_lang_type_fn, make_lang_type): Remove.
6551 * tree.h (make_lang_type_fn, make_lang_type): Remove.
6552config:
6553 * alpha/alpha.c: Include langhooks.h.
6554 (alpha_build_va_list): Use langhook.
6555 * d30v/d30v.c: Include langhooks.h.
6556 (d30v_build_va_list): Use langhook.
6557 * i386/i386.c: Include langhooks.h.
6558 (ix86_build_va_list): Use langhook.
6559 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
6560 * s390/s390.c: Include langhooks.h.
6561 (s390_build_va_list): Use langhook.
6562 * stormy16/stormy16.c: Include langhooks.h.
6563 (stormy16_build_va_list): Use langhook.
6564
f17f9332
JJ
65652002-03-29 Jakub Jelinek <jakub@redhat.com>
6566
6567 PR c++/5964
6568 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
6569 attributes.
6570 (length): Compute variable length for branches/calls/jumps here.
6571 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
6572 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
6573 define branch_type attribute.
6574 (divsi3_sp32): Maximum length is 6 not 7.
6575 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
6576 call_address_untyped_struct_value_sp32,
6577 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
6578 * config/sparc/sparc.c (empty_delay_slot): New function.
6579 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
6580 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
6581
0a0440c9
JJ
65822002-03-29 Jakub Jelinek <jakub@redhat.com>
6583
6584 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
6585 nonzero_bits if not needed.
6586 (nonzero_bits) [XOR]: Likewise.
6587 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
6588 reg_last_set_mode and mode are both MODE_INT, but not equal.
6589 (record_value_for_reg): Compute reg_last_set_nonzero_bits
6590 in nonzero_bits_mode for MODE_INT modes.
6591
c9045f47
RH
65922002-03-28 Richard Henderson <rth@redhat.com>
6593
6594 PR target/5715
6595 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
6596 to GAS. Correct drift between alternatives.
6597
f8ed1958
RH
65982002-03-28 Richard Henderson <rth@redhat.com>
6599
6600 PR target/6087
6601 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
6602
54e20385
LR
66032002-03-28 Alexandre Oliva <aoliva@redhat.com>
6604
6605 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
6606 emulation to the linker.
6607
66082002-03-28 Loren J. Rittle <ljrittle@acm.org>
6609
6610 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
6611 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
6612
8bc52806
JL
6613Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
6614
6615 * combine.c (simplify_and_const_int): Make sure to apply mask
6616 when force_to_mode returns a constant integer. PR3311.
6617
279dccc5
JDA
66182002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
6619
6620 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
6621
62aaa62c
GP
66222002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6623
6624 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
6625 and Objective-C Dialect Options.
6626
b8de5050
RH
66272002-03-28 Richard Henderson <rth@redhat.com>
6628
6629 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
6630 comparison should be done vs !=0 not >0 return code. Tidy cases.
6631
619708cc
RH
66322002-03-28 Richard Henderson <rth@redhat.com>
6633
6634 * c-decl.c (finish_function): New arg can_defer_p. Pass it
6635 on to c_expand_body.
6636 * c-tree.h (finish_function): Update decl.
6637 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
6638
b1d874d7
JH
6639Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
6640
6641 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
6642
f5eb5fd0
JH
6643Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
6644
6645 * rtlanal.c: Include flags.h
6646 (may_trap_p): Do not mark FP operations if trapping
6647 if !flag_trapping_math
6648 * Makefile.in (rtlanal.o): Add dependency on flag.h
6649 * ifcvt.c (noce_operand_ok): Avoid the lameness.
6650
81b4c798
ZW
66512002-03-27 Zack Weinberg <zack@codesourcery.com>
6652
6653 * mips.md: Use dconst1, not 1.0, as first argument of
6654 REAL_VALUE_LDEXP. Don't use union real_extract.
6655
55a2ea2a
AM
66562002-03-28 Alan Modra <amodra@bigpond.net.au>
6657
6658 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
6659 rather than $target. Heed program_prefix and
6660 program_transform_name. Search for gas in cross-compiler case too.
6661 "test -x" rather than "test -f".
6662 (gcc_cv_ld): Likewise.
6663 (gcc_cv_nm): Heed program_prefix and program_transform_name.
6664 (gcc_cv_objdump): Likewise.
6665 * configure: Regenerate.
6666
7ffb4fd2
NB
66672002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6668
6669 * Makefile.in (attribs.o): Update.
6670 * attribs.c: Include langhooks.h.
6671 (decl_attributes): Use langhook.
6672 * c-decl.c (insert_default_attributes): Rename.
6673 * c-tree.h (c_insert_default_attributes): New.
6674 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
6675 (LANG_HOOKS_INITIALIZER): Update.
6676 * langhooks.h (struct lang_hooks): New hook.
6677 * tree.h (insert_default_attributes): Remove.
6678objc:
6679 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
6680
e4dbaed5
AS
66812002-03-27 Andreas Schwab <schwab@suse.de>
6682
6683 * config/i386/i386.c (classify_argument): Also check for
6684 QUAL_UNION_TYPE.
6685
18b467f1
RO
66862002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6687
6688 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
6689 any more.
6690
d337d653
JH
6691Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
6692
6693 * i960.md (ret): Set PC.
6694 (nonlocal_goto): Fix expander.
6695 * builtins.c (epxand_builin_longjmp): Check that we've emitted
6696 some jump or call.
6697
218aa620
JH
6698Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
6699
6700 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
6701 of libcall regions.
6702
e27a4eaf
ZD
6703Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6704
6705 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
6706 assigning to BLOCK_FOR_INSN directly.
6707
8a12f34c
JH
6708Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
6709
6710 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
6711
c9d892a8
NB
67122002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6713
6714 * c-common.c (c_expand_expr): Fix prototype.
6715 * c-common.h (c_expand_expr): Always declare, update.
6716 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6717 * c-objc-common.c (c_objc_common_init): No global hook.
6718 * expr.c (expand_expr): Use langhook.
6719 * expr.h (enum expand_modifier): Conditionally declare.
6720 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
6721 (LANG_HOOKS_INITIALIZER): Update.
6722 * langhooks.c (lhd_expand_expr): New.
6723 * langhooks.h (struct lang_hooks): New hook.
6724 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
6725 (lang_independent_init): Don't default hook.
6726objc:
6727 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6728
6dad5a56
RH
67292002-03-27 Richard Henderson <rth@redhat.com>
6730
6731 PR target/6054
6732 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
6733 TARGET_CONST_GP. Simplify conditions.
6734
59f96879
RH
67352002-03-27 Richard Henderson <rth@redhat.com>
6736
6737 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
6738 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
6739 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
6740
f3f1190d
DS
67412002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
6742
6743 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
6744 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
6745 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
6746 Remove unnecessary masks.
6747 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
6748 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
6749 -mwindows, -mdll switches and their negations.
6750
31c816cf
NB
67512002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6752
6753 * gcc-common.c (lang_mark_false_label_stack): Remove.
6754 * ggc.h (lang_mark_false_label_stack): Similarly.
6755
7b2e1077 67562002-03-26 Vladimir Makarov <vmakarov@redhat.com>
aee8f532
VM
6757
6758 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
6759
6760 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
6761 or __rtems_ is defined.
6762
1ef9531b
RH
67632002-03-26 Richard Henderson <rth@redhat.com>
6764
6765 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
6766 if a non-trivial load was emitted.
6767 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
6768 in high+extra+low case.
6769
300d4093
RH
67702002-03-26 Richard Henderson <rth@redhat.com>
6771
6772 * config.gcc (sparc*-solaris): Use float_format=sparc.
6773
b3689904
RH
67742002-03-26 Richard Henderson <rth@redhat.com>
6775
6776 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6777 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
6778 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
6779 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
6780 (WINT_TYPE_SIZE): Fix at 32.
6781
1eefb6c1
RH
67822002-03-26 Richard Henderson <rth@redhat.com>
6783
6784 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
6785 until after eh landing pad generation.
6786 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
6787 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
6788
361ea006
RH
67892002-03-26 Richard Henderson <rth@redhat.com>
6790
6791 * expr.h (ADD_PARM_SIZE): One more convert for INC.
6792
1de38a88
PE
67932002-03-26 Phil Edwards <pme@gcc.gnu.org>
6794
6795 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
6796 and warning switches.
6797 (cc1_options): Likewise.
6798
d7e60e95 67992002-03-26 Hans Boehm <Hans_Boehm@hp.com>
361ea006 6800
d7e60e95
HB
6801 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
6802 Restore more of the signal context. Set no_reg_stack_frame.
6803 * config/ia64/unwind-ia64.c (unw_state_record):
6804 Add no_reg_stack_frame, comments.
6805 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
6806 (uw_update_context): Adjust bsp when unwinding from leaf,
6807 but not signal frame.
6808
7032923b
DE
68092002-03-26 David Edelsohn <edelsohn@gnu.org>
6810
6811 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
6812
8be56275
BW
68132002-03-26 Bob Wilson <bob.wilson@acm.org>
6814
6815 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
6816
56fbb855
RE
68172002-03-26 Richard Earnshaw <rearnsha@arm.com>
6818
6819 PR target/5621
6820 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
6821 "Add a pool_range attribute", which was lost during the ARM/Thumb
6822 merge.
6823
3437320b
BW
68242002-03-26 Bob Wilson <bob.wilson@acm.org>
6825
6826 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
6827 a register into the MAC16 accumulator.
6828
173028e5
AC
68292002-03-26 Andrew Cagney <ac131313@redhat.com>
6830
6831 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
6832 (Warning Options): Document -Wswitch-enum.
6833 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
6834 -Wswitch.
6835 (warn_switch_enum): Define variables.
6836 * flags.h (warn_switch_enum): Declare variables.
6837 * stmt.c (expand_end_case_type): When warn_switch_enum /
6838 -Wswitch-enum, perform switch checks.
6839 Fix PR c/5044.
7b2e1077 6840
e14365a7
RE
68412002-03-26 Richard Earnshaw <rearnsha@arm.com>
6842
6843 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
6844 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
6845 (reload_muladdsi_compare0_scratch): Delete.
6846
46fc709d
LR
68472002-03-26 Loren J. Rittle <ljrittle@acm.org>
6848
6849 * doc/install.texi (*-*-freebsd*): Update.
6850
f36dea3c
RH
68512002-03-26 Richard Henderson <rth@redhat.com>
6852
8e5fe23f
RH
6853 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
6854 (SUB_PARM_SIZE): Cast DEC to ssizetype.
6855
6856 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
6857 types from the normal argument frame.
6858
f36dea3c
RH
6859 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
6860 variable sized objects by reference.
6861 (sparc_va_arg): Receive them by reference too.
6862
1447dc69
HP
68632002-03-26 Hartmut Penner <hpenner@de.ibm.com>
6864
6865 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
7b2e1077 6866 code to not restoring global registers.
1447dc69 6867
4f0ade92
NB
68682002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
6869
6870 * Makefile.in (ggc-common.o): Update.
6871 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
6872 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6873 * c-tree.h (c_mark_tree): New.
6874 * ggc-common.c: Include langhooks.h.
6875 (gcc_mark_trees): Use new langhook.
6876 * ggc-callbacks.c: Delete file.
6877 * ggc.h (lang_mark_tree): Remove.
6878 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
6879 (LANG_HOOKS_INITIALIZER): Update.
6880 * langhooks.h (struct lang_hooks): New hook.
6881objc:
6882 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6883
caba570b
ZW
68842002-03-25 Zack Weinberg <zack@codesourcery.com>
6885
6886 * doc/cpp.texi: Exclude entire Top node from printed manual.
6887 Move option index after directive index. Insert page breaks
6888 before GFDL and concept index. Index environment variables
6889 with command line options.
6890 * doc/cppenv.texi: Use @vtable for environment variable list.
6891 Add paragraph explaining semantics of empty elements in path
6892 variables. Exclude a cross-reference to Fishkill from the
6893 manpage. Remove an unnecessary cross-reference of the entry
6894 right above the referer. Don't use @anchor in text that goes
6895 into manpage.
6896 * doc/cppopts.texi: Cross-reference the environment variables
6897 section, not the specific environment variable, for consistency.
6898
6b2e80b7
RH
68992002-03-25 Richard Henderson <rth@redhat.com>
6900
6901 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
6902 anywhere in the block. Don't refer to insns that have been
6903 removed from the chain. Iterate backward through the new insns.
6904 Don't refer to edges that have been removed.
6905
67e469d7
AM
69062002-03-26 Alan Modra <amodra@bigpond.net.au>
6907
6908 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
6909 test for overflow of constant.
6910
f2356393
RE
69112002-03-25 Richard Earnshaw <rearnsha@arm.com>
6912
6913 PR target/2623
6914 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
6915 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
6916 these patterns on arm_archv4.
6917
355426ab
DS
69182002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
6919
6920 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
6921 int".
6922
15e5ad76
ZW
69232002-03-25 Zack Weinberg <zack@codesourcery.com>
6924
6925 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
6926 float_handled, float_handler, float_signal, set_float_handler,
6927 and do_float_handler. Set handler for SIGFPE to crash_signal.
6928 * toplev.h: Don't prototype do_float_handler.
6929
6930 * c-lex.c: Fold parse_float into lex_number. Make warning
6931 about portability of hex float constants more informative, and
6932 don't issue it on top of a syntax error.
6933 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
6934 their callers.
6935 * real.h: Define REAL_VALUE_ABS here...
6936 * simplify-rtx.c: ... not here. Fold check_fold_consts,
6937 simplify_unary_real, simplify_binary_real, and
6938 simplify_binary_is2orm1 into their callers.
6939 * tree.c: Fold build_real_from_int_cst_1 into caller.
6940
6941 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
6942
6943 * tsystem.h: Include float.h here...
6944 * libgcc2.c: ... not here.
6945
56ae9405
NC
69462002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
6947
6948 Fixes for: PR bootstrap/3591, target/5676
6949 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
6950 defined. Do not disable exceptions or rtti.
6951 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
6952 mcore.h. Disable exceptions and rtti, since they are not
6953 supported by EPOC.
6954
c88770e9
NB
69552002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
6956
6957 * c-decl.c (maybe_build_cleanup): Remove.
6958 * expr.c (expand_expr): Use langhook.
6959 * langhooks-def.h (lhd_return_null_tree,
6960 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
6961 (LANGHOOKS_INITIALIZER): Update.
6962 * langhooks.c (lhd_return_null_tree): New.
6963 * langhooks.h (struct lang_hooks): New hook.
6964 * tree-inline.c (initialize_inlined_parameters): Use langhook.
6965 * tree.h (maybe_build_cleanup): Remove.
6966
2ed1f154
JJ
69672002-03-25 Jakub Jelinek <jakub@redhat.com>
6968
6969 * regrename.c (build_def_use): Move recog_memoized
6970 before extract_insn.
6971
6ddae612
JJ
69722002-03-25 Jakub Jelinek <jakub@redhat.com>
6973
6974 PR target/6043
6975 * expr.c (emit_group_store): Handle storing into CONCAT.
6976
ea475b23
JJ
69772002-03-25 Jakub Jelinek <jakub@redhat.com>
6978
6979 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
6980 corresponding MATCH_DUP.
6981
e7d482b9
RH
69822002-03-24 Richard Henderson <rth@redhat.com>
6983
cd39fc13
RH
6984 * unroll.c (unroll_loop): Zero label_map.
6985
e7d482b9
RH
6986 * gcse.c: Include except.h.
6987 * Makefile.in (gcse.o): Update.
6988
1bd6476f
RH
69892002-03-24 Richard Henderson <rth@redhat.com>
6990
6991 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
6992 Do resolve_unique_section before shared data clause.
6993
2e6c150a
RH
69942002-03-24 Richard Henderson <rth@redhat.com>
6995
6996 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
6997
b29afcf8
RH
69982002-03-24 Richard Henderson <rth@redhat.com>
6999
15e5ad76 7000 * recog.c (peephole2_optimize): Split blocks when EH insns are
b29afcf8
RH
7001 generated in the middle of a block. Do global life update if
7002 zapped EH edges.
7003
05ed1296
RH
70042002-03-24 Richard Henderson <rth@redhat.com>
7005
7006 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
7007
3ddbb8a9
NB
70082002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
7009
7010 preprocessor/3951
15e5ad76 7011 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
3ddbb8a9
NB
7012 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
7013 (init_dependency_output): Don't make no_output decision here.
7014
740b77b6
AC
70152002-03-24 Andrew Cagney <ac131313@redhat.com>
7016
7017 * stmt.c (check_for_full_enumeration_handling): Remove tests of
7018 warn_switch. Update description.
7019 (expand_end_case_type): Call check_for_full_enumeration_handling
7020 when warn_switch.
7021
7590cfd0
SC
70222002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7023
7024 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
7025 (m68hc11_split_move): Call it to see if the source and destination
7026 operands use the same direction auto inc/dec mode, otherwise make the
c61f581f 7027 source an offsetable memory operand and generate an add.
7590cfd0 7028
2e3d3481
SC
70292002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7030
7031 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
7032 register for operand 2.
7033 ("*subsi3_zero_extendqi"): Likewise.
7034 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
7035 bits so that it is compatible with a pop.
7036 ("*andhi3_gen"): Likewise.
7037 ("xorhi3"): Likewise.
7038
2784528c
NB
70392002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
7040
7041 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
7042 -pedantic here...
7043 (cpp_post_options): ... not here.
7044
aaf93206
NB
70452002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
7046 Aldy Hernandez <aldyh@redhat.com>
7047
7048 Removal of separate preprocessor cpp0.
7049
7050 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
7051 cpp0, install-common): Update.
7052 * c-common.c (flag_preprocess_only): New.
7053 (c_common_init): Preprocess for -E.
7054 * c-common.h (flag_preprocess_only): New.
7055 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
7056 * c-objc-common.c (c_init_decl_processing): Exit quickly
7057 for NULL return from c_common_init.
7058 * cpplib.h (cpp_preprocess_file): New.
7059 * cppmain.c (main, general_init, pfile, progname): Remove.
7060 (do_preprocessing): Rename cpp_preprocess_file, don't call
7061 cpp_finish. Don't close stdout here.
7062 (setup_callbacks): Update prototype.
7063 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
7064 Update.
7065 * tradcpp.c (main): Ignore -quiet.
7066objc:
7067 * lang-specs.h (default_compilers): Preprocess with cc1obj.
7068
c6e6f5c1
RH
70692002-03-24 Richard Henderson <rth@redhat.com>
7070
7071 PR optimization/5742
7072 * machmode.def: Add inner mode field to complex modes.
7073 * config/mips/mips.c (mips_function_value): Always define. Add
7074 new argument to handle libcalls.
7075 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
7076 (FUNCTION_VALUE): Likewise.
7077 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
7078 * config/mips/mips-protos.h: Update.
7079
d88e57d1
RH
70802002-03-23 Richard Henderson <rth@redhat.com>
7081
7082 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
7083 * config/sparc/sparc-protos.h: Update.
7084 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
7085
6dfaf9ba
RH
70862002-03-23 Richard Henderson <rth@redhat.com>
7087
7088 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
7089 _start or _init begins the text segment.
7090
0c769cf8
DE
70912002-03-23 David Edelsohn <edelsohn@gnu.org>
7092
7093 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
7094 not HOST_WIDEST_INT.
7095 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
7096
64e92a26
RE
70972002-03-23 Richard Earnshaw <rearnsha@arm.com>
7098
7099 PR java/5489
7100 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
7101 operand argument to output_return_instruction.
15e5ad76 7102 * arm.c (arm_print_operand, case 'd'): If the operand is
64e92a26
RE
7103 const_true_rtx then just return.
7104 (arm_print_operand, case 'D'): If the operand is const_true_rtx
7105 then abort.
7106
d6961341
AC
71072002-03-23 Andrew Cagney <ac131313@redhat.com>
7108
7109 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
7110 (Warning Options): Document -Wswitch-default.
7111 * toplev.c (W_options): Add -Wswitch-default. Update comment on
7112 -Wswitch.
7113 (warn_switch_default): Define variable.
7114 (warn_switch): Update comment.
7115 * flags.h (warn_switch_default): Declare variable.
7116 (warn_switch): Update comment.
7117 * stmt.c (expand_end_case): Check for and, when
7118 warn_switch_no_default, warn of a missing default case.
15e5ad76 7119
d4c5ac1f
AM
71202002-03-23 Alan Modra <amodra@bigpond.net.au>
7121
bbaa9790
AM
7122 * real.h (N): Special case 128 bit doubles.
7123
d4c5ac1f
AM
7124 * combine.c (simplify_comparison): When widening modes, ignore
7125 sign extension on CONST_INTs.
7126
84bf8c2c
BW
71272002-03-22 Bob Wilson <bob.wilson@acm.org>
7128
7129 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
7130 passed to adjust_address. Fix comment formatting.
7131
7132
b216cd4a
ZW
71332002-03-22 Zack Weinberg <zack@codesourcery.com>
7134
7135 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
7136 Always make REAL_VALUE_TYPE a struct containing an array of
7137 HOST_WIDE_INT, not a double. Tidy up the code deciding how
7138 big it is. Don't declare or use union real_extract.
7139
7140 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
7141 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
7142 (print_operand), config/arm/arm.c (output_move_double),
7143 config/arm/arm.md (consttable_4, consttable_8),
7144 config/romp/romp.c (output_fpops), config/s390/s390.h
7145 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
7146 (xtensa_output_literal): Don't use union real_extract.
7147
7148 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
7149 (sfmode_constant_to_ulong), config/ns32k/merlin.h
7150 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
7151 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
7152 (PRINT_OPERAND): Don't use local version of union
7153 real_extract.
7154
7155 * config/convex/convex.c (check_float_value), config/vax/vax.c
7156 (vax_float_literal), config/m88k/m88k.md (divdf3),
7157 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
7158 config/pdp11/pdp11.c (output_move_quad): Don't do host
7159 arithmetic on target floating point quantities.
7160
7161 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
7162 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
7163
7164 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
7165 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
7166
7167 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
7168 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
7169 INFINITY.
7170 * print-rtl.c (print_rtx): Disable code which needs
7171 floating-point emulator.
7172 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
7173 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
7174 depending on HOST_FLOAT_FORMAT to be defined properly.
7175
7176 * config/1750a/1750a.c (get_double, float_label): Delete.
7177 (print_operand): Delete huge commented-out chunk. Use
7178 REAL_VALUE_TO_DECIMAL.
7179 * config/1750a/1750a-protos.h: Delete prototypes of deleted
7180 functions.
7181 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
7182 IEEE_FLOAT_FORMAT.
7183 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
7184 Use REAL_VALUE_TO_DECIMAL as ELF version does.
7185 * config/m88k/m88k.c (real_power_of_2_operand,
7186 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
7187 real_extract out of the union; run the input through
7188 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
7189 from that into the union.
7190 * config/pdp11/pdp11.c (output_move_double): Rearrange
7191 parentheses to make automatic indenter happy.
7192
7193 * doc/tm.texi (Cross-compilation): Rename node to "Floating
7194 Point" and rewrite to describe current situation. Also adjust
7195 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
7196 match code.
7197 * doc/rtl.texi: Adjust cross reference.
7198
a8cacfd2
BW
71992002-03-22 Bob Wilson <bob.wilson@acm.org>
7200
7201 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
7202 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
7203 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
7204 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
7205 prevent use of sp as a reload register.
7206 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
7207 non_acc_reg_operand.
7208 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
7209 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
7210 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
7211 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
7212
d4e6133f
NB
72132002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
7214
b216cd4a
ZW
7215 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
7216 * cpplex.c (unterminated): Delete.
7217 (parse_string): No string literal may extend over multiple
7218 lines. Suppress the error when preprocessing assembly.
d4e6133f
NB
7219 * cppmain.c (scan_translation_unit): Strings are single-line.
7220
b216cd4a 7221 * doc/cpp.texi: Update to match.
d4e6133f 7222
65e6c005
JJ
72232002-03-22 Jakub Jelinek <jakub@redhat.com>
7224
7225 PR optimization/5854
7226 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
7227 Shut up warnings.
7228 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
7229 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
7230 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
7231 const0 if scratch register was not allocated.
7232 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
7233 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
7234 with GEN_INT (...).
7235 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
7236 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
7237 with GEN_INT (...) everywhere. Remove constraints in define_split
7238 patterns.
7239 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
7240 require scratch register for setting 0 into regs/non-pushable memory.
7241
7f48c9e1
AO
72422002-03-22 Alexandre Oliva <aoliva@redhat.com>
7243
7244 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
7245 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
7246
909de5da
PE
72472002-03-22 Phil Edwards <pme@gcc.gnu.org>
7248
7249 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
7250 * cppinit.c (cpp_create_reader): On by default.
7251 (cpp_handle_option): Handle -W[no-]endif-labels.
7252 (cpp_post_options): Also enable if -pedantic.
7253 * cpplib.c (do_else): Use it.
7254 (do_endif): Likewise.
7255 * doc/cppopts.texi: Document new option.
7256 * doc/invoke.texi: Document new option.
7257
d8bf17f9
LB
72582002-03-22 Lars Brinkhoff <lars@nocrew.org>
7259
7260 * config/i386/i386.c, config/i386/i386.md: Change all occurences
7261 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
7262
70e0ccd0
AO
72632002-03-22 Alexandre Oliva <aoliva@redhat.com>
7264
7265 * flow.c (calculate_global_regs_live): Clear aux fields of
7266 ENTRY and EXIT.
7267
68882f0f
JJ
72682002-03-22 Jakub Jelinek <jakub@redhat.com>
7269
7270 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
7271 REG or MEM subregs, pass rtx * instead of rtx to it.
7272 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
7273 rtx * instead of rtx to alter_subreg.
7274 * config/m32r/m32r.c (gen_split_move_double): Likewise.
7275 * config/pj/pj.c (pj_output_rval): Likewise.
7276
648fe28b
RH
72772002-03-22 Richard Henderson <rth@redhat.com>
7278
7279 PR target/3177
7280 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
7281 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
7282 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
7283 (ia64_expand_prologue): Look at int_regs, not words, for number
7284 of incomming int regs.
7285
e8dcd824
AM
72862002-03-22 Andrew MacLeod <amacleod@redhat.com>
7287
7288 * expr.c (expand_expr): A RESULT_DECL is part of a call.
7289
96327cdc
JH
7290Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
7291
7292 * toplev.c (flag_loop_optimize, flag_crossjumping):
7293 New static variables.
7294 (rest_of_compilation): Conditionalize crossjumping and
7295 loop optimizer.
7296 (parse_options_and_default_flags): Default loop_optimize and
7297 crossjumping.
7298 (lang_independent_options): Add -fcrossjumping and -floop-optimize
7299 * invoke.texi (crossjumping, loop-optimize): Document.
7300
bc185257
RS
73012002-03-22 Richard Sandiford <rsandifo@redhat.com>
7302
7303 * real.c (eiisneg): Move outside #ifdef NANS.
7304
0a2ed1f1
JH
7305Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
7306
7307 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
7308 frequencies match; avoid match on different loop depths.
7309 (try_crossjump_to_bb): Kill tests that no longer brings time
7310 savings.
7311 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
7312 updating code.
7313 (split_edge): Likewise.
7314
7315 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
7316 variable.
7317
7318 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
7319 * cfgrtl.c: Include insn-config.h
7320 (split_block) Dirtify block in presence of conditional execution
7321
4d72536e
RS
73222002-03-22 Richard Sandiford <rsandifo@redhat.com>
7323
7324 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
7325 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
7326 (function_arg): Constify CUMULATIVE_ARGS.
7327 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
7328 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
7329 (UNITS_PER_DOUBLE): New macro.
7330 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
7331 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
7332 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
7333 fp_regs and stack_words.
7334 (EABI_FLOAT_VARARGS_P): New macro.
7335 * config/mips/mips.c (struct mips_arg_info): New.
7336 (mips_arg_info): New function.
7337 (function_arg_advance): Use it. Add adjustment instructions here
7338 rather than in function_arg.
7339 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
7340 for VOIDmode at the beginning of the function.
7341 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
7342 (function_arg_pass_by_reference): Likewise.
7343 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
7344 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
7345 (mips_va_start): Likewise. Use the new stack_words field of
7346 CUMULATIVE_ARGS to set up overflow area. Reformat.
7347 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
7348 doubles and other types, aligning the overflow pointer for non-doubles
7349 too. Remove some code duplication. Replace hard-coded constants.
7350
e6f884cd
RS
73512002-03-22 Richard Sandiford <rsandifo@redhat.com>
7352
7353 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
7354 (CLASS_UNITS): Undefine.
7355 (CLASS_MAX_NREGS): Use FP_INC.
7356 * config/mips/mips.c (compute_frame_size): Likewise.
7357 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
7358
10cf9bde
NB
73592002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
7360
7361 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
7362 prototype, and handle lexing numbers and identifiers.
7363 (parse_identifier): Update to new form of parse_slow.
7364 (parse_number): Fast path only, use parse_slow otherwise.
7365 (_cpp_lex_direct): Update calls to parse_number.
7366
fbc2782e
DD
73672002-03-21 DJ Delorie <dj@redhat.com>
7368
7369 * bb-reorder.c (make_reorder_chain_1): Protect against
7370 when redundant edges are omitted.
7371 * predict.c (dump_prediction): Likewise.
7372
fba39eaf
RH
73732002-03-21 Richard Henderson <rth@redhat.com>
7374
7375 PR target/5996
7376 * fixinc/inclhack.def (solaris_stdio_tag): New.
7377 * fixinc/fixincl.x: Regenerate.
7378
eba80994
EB
73792002-03-21 Eric Botcazou <ebotcazou@multimania.com>
7380
7381 PR c/5597
7382 * c-typeck.c (process_init_element): Flag non-static
7383 initialization of a flexible array member as illegal.
7384
2a78758b
AM
73852002-03-22 Alan Modra <amodra@bigpond.net.au>
7386
7387 * config/rs6000/t-linux64: New.
7388 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
7389 t-ppccomm. Use t-rs6000 and t-linux64.
7390 (powerpc64-*-gnu* <tmake_file>): Likewise.
bac015e7
AM
7391 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
7392 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
7393 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
2a78758b 7394
2cb921f4
AH
73952002-03-21 Aldy Hernandez <aldyh@redhat.com>
7396
eba80994
EB
7397 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
7398 flag_really_no_inline instead of optimize == 0.
2cb921f4 7399
eba80994 7400 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
2cb921f4 7401
eba80994 7402 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
2cb921f4 7403
eba80994 7404 * flags.h (flag_really_no_inline): New.
2cb921f4 7405
659e5a7a 7406 * c-common.c (c_common_post_options): Initialize
eba80994 7407 flag_really_no_inline.
2cb921f4 7408
eba80994 7409 * toplev.c (flag_really_no_inline): New.
2cb921f4 7410
239b8b9d
JJ
74112002-03-21 Jakub Jelinek <jakub@redhat.com>
7412
7413 * config/avr/avr.md (length): Fix length computation for
7414 conditional branches.
7415
43577e6b
NB
74162002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
7417
7418 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
7419 sdbout.o, profile.o): Update.
7420 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
7421 langhook.
7422 * c-common.h (gettags): Move here from tree.h.
7423 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
7424 insert_block, getdecls, kept_level_p, global_bindings_p): New.
7425 * dbxout.c (dbxout_init): Use getdecls langhook.
7426 * expr.c (expand_expr): Use insert_block langhook.
7427 * fold-const.c: Include langhooks.h.
7428 (fold_range_test, fold_binary_op_with_conditional_arg,
7429 fold): Use global_bindings_p langhook.
7430 * integrate.c (expand_inline_function): Use insert_block langhook.
7431 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
7432 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
7433 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
7434 LANG_HOOKS_GETDECLS): New.
7435 (LANG_HOOKS_INITIALIZER): Update.
7436 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
7437 langhook.
7438 * langhooks.h (struct lang_hooks_for_decls): New.
7439 (struct lang_hooks): Update.
7440 * profile.c: Include langhooks.h.
7441 (output_func_start_profiler): Use new langhooks.
7442 * sdbout.c: Include langhooks.h.
7443 (sdbout_init, sdbout_finish): Use getdecls langhook.
7444 * stmt.c: Include langhooks.h.
7445 (expand_fixup, fixup_gotos): Use new langhooks.
7446 * stor-layout.c: Include langhooks.h.
7447 (variable_size): Use global_bindings_p langhook.
7448 * toplev.c (compile_file): Use getdecls langhook.
7449 * tree-inline.c (remap_block): Use insert_block langhook.
7450 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
7451 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
7452
5b19b10c
RH
74532002-03-21 Richard Henderson <rth@redhat.com>
7454
7455 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
7456 constants in .data when -fpic.
7457
e05af335
GP
74582002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7459
7460 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
7461 where appropriate.
7462
60ffc997
TT
74632002-03-21 Tom Tromey <tromey@redhat.com>
7464
7465 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
7466
75897075
RK
7467Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7468
a73afd69 7469 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
46399021 7470
75897075
RK
7471 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
7472
312687cf
EB
74732002-03-21 Eric Botcazou <ebotcazou@multimania.com>
7474 Richard Henderson <rth@redhat.com>
7475
7476 PR c/5354
7477 * c-common.c (c_expand_expr): Preserve result of a statement
7478 expression if needed.
7479
f0e1f482
JJ
74802002-03-21 Jakub Jelinek <jakub@redhat.com>
7481
7482 PR bootstrap/4195
7483 * genrecog.c (maybe_both_true_mode): Remove.
7484 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
7485 * machmode.def (Pmode): Likewise.
7486
c14b9960
JW
7487Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
7488
7489 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
7490 (nonlocal_mentioned_p_1): New function.
7491 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
7492 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
7493 (mark_constant_function): Recognize pure functions.
7494 * rtl.h (global_reg_mentioned_p): New prototype.
7495 * rtlanal.c (global_reg_mentioned_p,
7496 global_reg_mentioned_p_1): New function.
7497
aaa4d130
RO
74982002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7499
7500 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
7501 UNIX assert.h.
7502 * fixinc/fixincl.x: Regenerate.
7503
e5c4bd1b
JM
75042002-03-20 Jason Merrill <jason@redhat.com>
7505
7506 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
7507
852b81bb
MM
75082002-03-20 Michael Meissner <meissner@redhat.com>
7509
7510 * doc/invoke.texi (Optimize Options): Document that -O2 sets
7511 -fstrict-aliasing.
7512
86d8c251
BW
75132002-03-20 Bob Wilson <bob.wilson@acm.org>
7514
7515 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
7516 ".literal_position" directive before the constant pool.
7517
0a39c350
GP
75182002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7519
7520 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
7521 Add Craig Rodrigues.
7522 Add Brad Lucier to testers.
7523
71a83373
JJ
75242002-03-20 Jakub Jelinek <jakub@redhat.com>
7525
7526 PR target/4792
7527 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
7528 to if_then_else.
7529 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
7530 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
7531 instead of insn_extract.
7532
a29b099d
JJ
75332002-03-20 Jakub Jelinek <jakub@redhat.com>
7534
7535 PR bootstrap/4192
71a83373 7536 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
a29b099d
JJ
7537
7538 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
7539 stmt if some case has been output.
7540
048b1c95
JJ
75412002-03-20 Jakub Jelinek <jakub@redhat.com>
7542
7543 PR c/5972
7544 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
7545 movsfcc_1, movdfcc_1): Add %O2.
7546 * config/i386/i386.c (print_operand): Handle %ON.
7547 Print . before float condition codes in Sun as cmov syntax.
7548 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
7549 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
7550 no longer true.
7551
f4864588
PB
75522002-03-20 Philip Blundell <pb@nexus.co.uk>
7553
7554 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
7555 return instruction if PC was popped.
7556
3a307de4
BW
75572002-03-20 Bob Wilson <bob.wilson@acm.org>
7558
7559 * config/xtensa/xtensa.md: Remove unused type attributes.
7560 (adddi_carry, subddi_carry): Change type attribute to "multi".
7561
048b1c95 75622002-03-19 Dale Johannesen <dalej@apple.com>
ed7d44bc
DJ
7563
7564 PR optimization/5999, middle-end/5731
7565 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
7566 multiplications by reciprocals.
7567
7afff7cf
NB
75682002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
7569
7570 * Makefile.in: Update.
7571 * c-common.c: Include langhooks.h.
7572 (inline_forbidden_p): Use new hook.
7573 * diagnostic.c: Include langhooks.h.
7574 (format_with_decl, announce_function,
7575 default_print_error_function): Use new hook.
7576 * dwarf2out.c (dwarf2_name): Use new hook.
7577 * function.c: Include langhooks.h.
7578 (init_function_start): Use new hook.
7579 * langhooks-def.h (lhd_decl_printable_name): New.
7580 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
7581 (LANGHOOKS_INITIALIZER): Update.
7582 * langhooks.c (lhd_decl_printable_name): New.
7583 * langhooks.h (struct lang_hooks): New hook.
7584 * toplev.c (decl_name, decl_printable_name): Remove.
7585 (open_dump_file): Use new hook.
7586 (process_options): Remove old hook.
7587 * tree.h (decl_printable_name): Remove.
7588objc:
7589 * objc-act.c (objc_init): Remove old hook.
7590 (objc_printable_name): Export.
7591 * objc-act.h (objc_printable_name): New.
7592 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
7593
f78ce0b7
JB
75942002-03-19 Jim Blandy <jimb@redhat.com>
7595
7596 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
7597 the start_source_file debug hook, not the current line number.
7598
15b5aef3
RH
75992002-03-19 Richard Henderson <rth@redhat.com>
7600
7601 * flow.c (EH_USES): Provide default.
7602 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
7603 * doc/tm.texi (EH_USES): New.
7604
7605 * config/ia64/ia64.c (ia64_eh_uses): New.
7606 * config/ia64/ia64-protos.h: Update.
7607 * config/ia64/ia64.h (EH_USES): New.
7608
02a7a3fd
RH
76092002-03-19 Richard Henderson <rth@redhat.com>
7610
7611 * varasm.c (output_constant_def): Fix stupid typo.
7612
93f82d60
RH
76132002-03-19 Richard Henderson <rth@redhat.com>
7614
2842be05 7615 PR 5879
93f82d60
RH
7616 * except.c (current_function_has_exception_handlers): New.
7617 * except.h: Declare it.
7618 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
7619 Combine tests that disable all sibcalls for the function.
7620
ed4fbfa0
OH
76212002-03-19 Olivier Hainque <hainque@act-europe.fr>
7622
7623 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
7624 for INTEGER_CST.
7625
ebf0e888
RH
76262002-03-19 Richard Henderson <rth@redhat.com>
7627
1e82682b 7628 PR 5977, 5991
ebf0e888
RH
7629 * config/ia64/ia64.c: Revert 2002-03-01 patch.
7630 * config/ia64/ia64.h (INIT_EXPANDERS): New.
7631
e37b38d7
JB
76322002-03-19 Jim Blandy <jimb@redhat.com>
7633
7634 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
7635 name, even if the replacement list contains no tokens, as required
7636 by Dwarf.
7637
2a4ea326
JM
76382002-03-19 Jason Merrill <jason@redhat.com>
7639
f9d09ae5
JM
7640 * varasm.c (globalize_decl): Get the name from the RTL, not
7641 DECL_ASSEMBLER_NAME.
7642
2a4ea326
JM
7643 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
7644
99b96edb
BW
76452002-03-19 Bob Wilson <bob.wilson@acm.org>
7646
7647 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
7648 subdi_carry): Define.
7649
3774b567
DE
76502002-03-19 David Edelsohn <edelsohn@gnu.org>
7651
7652 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
7653 about -fpic/-fPIC if extra_warnings set.
7654
21ef78aa
DE
76552002-03-19 David Edelsohn <edelsohn@gnu.org>
7656
7657 * expr.c (expand_expr): Sign-extend CONST_INT generated from
7658 TREE_STRING_POINTER.
0c2fdcdf 7659 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
21ef78aa 7660
91d4b3fd
RK
7661Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7662
7663 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
7664 in favor of SP if FRAME_POINTER_REQUIRED is false.
7665
2496c7bd
LB
76662002-03-19 Lars Brinkhoff <lars@nocrew.org>
7667
7668 * emit-rtl.c (gen_int_mode): New function.
7669 * rtl.h: Prototype for it.
7670 * combine.c (make_extraction, simplify_comparison), expmed.c
7671 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
7672 (convert_modes, store_field), optabs.c (expand_fix),
7673 simplify-rtx.c (neg_const_int, simplify_unary_real),
7674
7675 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
7676 Use it instead of GEN_INT (trunc_int_for_mode (...)).
7677
f735a153
JJ
76782002-03-19 Jakub Jelinek <jakub@redhat.com>
7679
7680 PR c/5656
7681 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
7682 convert_parm_for_inlining.
7683 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
7684 Define.
7685 * langhooks-def.h: Likewise.
7686 * objc/objc-lang.c: Likewise.
7687 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
7688 function.
7689 * tree-inline.c (initialize_inlined_parameters):
7690 Call convert_parm_for_inlining lang hook if needed.
7691 * c-typeck.c (c_convert_parm_for_inlining): New function.
7692 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
7693
1929c971
MM
76942002-03-18 Mark Mitchell <mark@codesourcery.com>
7695
b216cd4a 7696 * calls.c (precompute_arguments): Do not assume that temporaries
1929c971
MM
7697 can be destroyed after expanding the argument.
7698 (expand_call): Likewise.
7699
c79ca0ac
EC
77002002-03-15 Eric Christopher <echristo@redhat.com>
7701
7702 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
7703 Fix register preference on last change.
7704 * config/mips/mips.c (mips_return_in_memory): New function.
7705 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
7706 * config/mips/mips-protos.h: Declare.
7707 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
7708 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
7709
07e2e444
AO
77102002-03-18 Alexandre Oliva <aoliva@redhat.com>
7711
1bfbbbcf
AO
7712 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
7713 a register too.
7714 (anddi3, iorsi3): Likewise.
7715
c066429e
AO
7716 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
7717 use %gprel for symbols that are going to be placed in linkonce
7718 sections.
7719
07e2e444
AO
7720 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
7721 RETURN_ADDRESS_POINTER_REGNUM to $ra.
7722 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
7723 not needed. Disregard leaf_function_p().
7724 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
7725 mips16 frame pointer.
7726 * config/mips/mips.md (store ra): Only to small SP offsets.
7727 2001-08-22 Graham Stott <grahams@redhat.com>
7728 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
7729 return a REG rtx for the return address register.
7730
eb8e00ea
BW
77312002-03-18 Bob Wilson <bob.wilson@acm.org>
7732
7733 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
7734 constant-pool addresses as "mode-dependent".
7735 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
7736
cbb92744
JJ
77372002-03-18 Jakub Jelinek <jakub@redhat.com>
7738
7739 PR target/5740
7740 * expr.c (emit_group_load): Use extract_bit_field if
7741 needed for CONCAT arguments.
7742
657d9449
RE
77432002-03-18 Richard Earnshaw <rearnsha@arm.com>
7744
91f3a802 7745 PR target/4863
657d9449
RE
7746 * arm.md (tablejump): Make this a define_expand. For PIC add the
7747 offset to the base of the table.
7748 (thumb_tablejump): Matcher for Thumb tablejump insn.
7749 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
7750 as the difference of two labels.
7751 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
7752 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
7753 tables in the code.
7754 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
7755 * arm.c (get_jump_table_size): If the table is not in the text
7756 section, return zero.
c79ca0ac 7757
5d5603e2
BS
77582002-03-18 Bernd Schmidt <bernds@redhat.com>
7759
7760 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
7761 of gen_rtx_SUBREG.
7762 (arm_reload_out_hi): Use gen_lowpart instead of
7763 gen_rtx_SUBREG to access QImode components.
7764 * config/arm/arm.md: Disable zero_extend split for QImode
7765 subregs in BIG_ENDIAN mode.
7766 (storehi_bigend): Match use of least significant byte.
7767 (storeinthi): Remove extraneous SUBREG.
66c17b64 7768 Add missing construction of operands[2].
5d5603e2
BS
7769 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
7770 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
7771 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
7772
df15fbc7
AH
77732002-03-18 Aldy Hernandez <aldyh@redhat.com>
7774
2496c7bd
LB
7775 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
7776 any_operand.
df15fbc7 7777
b83b7fa3
RH
77782002-03-17 Richard Henderson <rth@redhat.com>
7779
7780 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
7781 explicitly.
7782
6f7c00fe
HPN
77832002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7784
7785 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
7786 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
7787
155038f2
KG
77882002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7789
720d42fa
KG
7790 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
7791
155038f2
KG
7792 * predict.c (estimate_bb_frequencies): Delete unused variables.
7793
e6542f4e
RH
77942002-03-17 Richard Henderson <rth@redhat.com>
7795
7796 * config/ia64/ia64.c (ia64_attribute_table): Move before
7797 targetm definition. Make static.
7798
52dabb6c
NB
77992002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
7800
7801 * c-common.h (yyparse, c_common_parse_file): New.
7802 * c-lang.c: Include c-common.h.
7803 (LANG_HOOKS_PARSE_FILE): Redefine.
7804 * c-lex.c: Include c-common.h.
7805 (yyparse): Rename c_common_parse_file. Call yyparse.
7806 * c-parse.in (yyparse): Remove macro.
7807 * c-tree.h (yyparse_1): Remove.
7808 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
7809 (LANG_HOOKS_INITIALIZER): Update.
7810 * langhooks.h (struct lang_hoooks): New hook parse_file.
7811 * toplev.c (compile_file): Use parse_file hook.
7812 * tree.h (yyparse): Remove.
e6542f4e 7813 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
52dabb6c 7814
b5ffe606
HPN
78152002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7816
ba82f58b
HPN
7817 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
7818 float_truncate, not fix.
7819 ("*truncdfsf2_real"): Ditto.
7820 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
7821
b5ffe606
HPN
7822 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
7823
c8d1b2b7
AO
78242002-03-16 Alexandre Oliva <aoliva@redhat.com>
7825
cfb773f9
AO
7826 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
7827 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
7828 where appropriate. Make the second reference to
7829 leaf_function_p a function call, as intended. Reindented.
7830
4dffef52
AO
7831 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
7832 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
7833
4f5bd6d7
AO
7834 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
7835 add register to non-constant into sp.
7836
c8d1b2b7
AO
7837 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
7838 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
7839 (mips16_gp_pseudo_rtx): Lose.
7840 (INIT_EXPANDERS): Deleted.
7841 * config/mips/mips.c (mips_init_machine_status): New.
7842 (mips_free_machine_status): New.
7843 (mips_mark_machine_status): New.
7844 (override_options): Set them.
7845 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
7846 (struct machine_function): ... new. Replaced all references.
7847 (mips_add_gc_roots): Don't mark them.
7848 (embedded_pic_fnaddr_reg): New, extracted from...
7849 (embedded_pic_offset): ... here.
7850 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
7851 (movsi): Likewise.
7852
b3124fac
NB
78532002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7854
7855 * cppinit.c: Revert -MD removal.
7856
121449b6
SC
78572002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7858
7859 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
7860 soft registers by default for 68HC12.
7861 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
7862 when compiling with -fomit-frame-pointer.
7863 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
7864 (expand_epilogue): Likewise.
7865 (m68hc11_gen_rotate): Use exg when rotating by 8.
7866
840e2ff1
SC
78672002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7868
7869 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
7870 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
7871 (splits): Remove unused add splits.
7872 ("*addhi3_68hc12"): Tune constraints.
7873 ("addhi_sp"): Try to use X instead of Y in all cases and if the
7874 constant fits in 8-bits and D is dead use abx/aby instructions.
7875 ("*addhi3"): Remove extern declaration of ix_reg.
7876 ("*subsi3"): Optimize and provide new split.
7877 ("subhi3"): Cleanup.
7878 ("*subhi3_sp"): Avoid saving X if we know it is dead.
7879 (arith splits): For 68hc12 save the address register on the stack
7880 and do the arithmetic operation with a pop.
7881
3c9a5efe
SC
78822002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7883
7884 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
7885 allocating QImode in address registers.
7886 ("*movqi_m68hc11"): Likewise.
7887
e41f3392
JH
7888Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
7889
7890 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
7891
576786b0
NB
78922002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7893
7894 * cppinit.c (print_help): Display -MD and -MMD.
7895 Don't display usage string. Update assertion syntax and
7896 typo.
7897 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
7898 (cpp_handle_option): Update.
7899
1ac458d4
CD
79002002-03-15 Chris Demetriou <cgd@broadcom.com>
7901
7902 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
7903 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
7904 and define it so that regardless of target CPU size,
7905 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
7906 of "int" rather than "long."
7907
1fcd592b
RH
79082002-03-15 Richard Henderson <rth@redhat.com>
7909
7910 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
7911 size as a tree.
7912
a0df6910
SC
79132002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7914
7915 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
7916 ("tstqi" split): Avoid using memory for tstqi on address register.
7917 (splits): Remove constraints.
7918 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
7919 ("cmpdf", "cmpsf"): Remove since not used.
7920 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
7921 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
7922
015a2e59
SC
79232002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7924
7925 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
7926 ("neghi2"): Tighten constraints.
7927 ("one_cmplsi2"): Optimize and simplify split.
7928 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
7929
cd28557c
SC
79302002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7931
7932 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
7933 and split of AND operation to clear the upper bits.
7934 ("*logicalsi3_zextqi"): Likewise.
7935 ("*logicallhi3_zexthi_ashift8"): Likewise.
7936 ("*logicalsi3_silshr16"): Likewise.
7937 ("logicalsi3_silshl16"): Likewise.
7938 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
7939
932657df
SC
79402002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7941
7942 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
7943 (m68hc11_indirect_p): New function.
7944 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
7945 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
7946 TARGET_M6812.
7947 (asm_print_register): Likewise.
7948 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
7949 (m68hc11_indirect_p): Declare.
7950 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
7951 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
7952 (TARGET_SWITCHES): New option -mrelax.
7953 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
7954 destination.
7955 ("iorsi3", "xorsi3"): Likewise.
7956 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
7957 ("*andhi3_mem"): New to handle destination in memory with bclr
7958 and a scratch register.
7959 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
7960 ("*andhi3_const"): New when operand2 is constant.
7961 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
7962 ("*andhi3_gen"): Cleanup of the old "andhi3".
7963 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
7964 ("xorqi3"): Update constraints.
7965
fdffea1a
SC
79662002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7967
7968 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
7969 for reg_equiv_memory_loc when the operand is a register that does
7970 not get a hard register (stack location).
7971 (tst_operand): After reload, accept all memory operand.
7972 (symbolic_memory_operand): Fix detection of symbolic references.
7973 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
7974 accept symbols and any constant.
7975
6272bc68
SC
79762002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7977
7978 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
7979 note on the insn that sets the soft frame register.
7980 (must_parenthesize): ix and iy are also reserved names.
7981 (print_operand_address): One more place where parenthesis are required
7982 to avoid confusion with register names.
7983 (m68hc11_gen_movhi): Allow push of stack pointer.
7984 (m68hc11_check_z_replacement): Fix handling of parallel with a
7985 clobber.
7986 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
7987 the replacement register is.
7988 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
7989 and D8_REGS classes.
7990 (MODES_TIEABLE_P): All modes are tieable except QImode.
7991
1d2d9def
SC
79922002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7993
7994 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
7995 (___subdi3): Likewise.
7996 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
7997 (__map_data_section): Optimize 68hc11 case.
7998
a0ccf503
SC
79992002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8000
8001 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
8002 than a shift to avoid adding a register with itself.
8003 (m68hc11_memory_move_cost): Take into account NO_REGS.
8004 (m68hc11_register_move_cost): Update and use memory move cost
8005 for soft registers.
8006 (m68hc11_address_cost): Make cost of valid offset not 0 so that
8007 it gives more opportunities to cse to optimize.
8008 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
8009 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
8010
6e4ae815
MM
80112002-03-15 Mark Mitchell <mark@codesourcery.com>
8012
8013 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
8014 * c-common.def (CLEANUP_STMT): New tree node.
8015 * c-common.h (CLEANUP_DECL): New macro.
8016 (CLEANUP_EXPR): Likewise.
8017 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
8018 * expr.c (expand_expr): Tidy.
8019 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
8020 * tree-inline.c (initialize_inlined_parameters): Clean up
8021 new local variables.
8022
a42519be
JJ
80232002-03-15 Jakub Jelinek <jakub@redhat.com>
8024
8025 PR bootstrap/4128
8026 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
8027 before movrXX only, use reg_overlap_mentioned_p.
8028 Only special case NE if just one insn can be generated.
8029
15409448
JM
80302002-03-15 Jason Merrill <jason@redhat.com>
8031
8032 * varasm.c (assemble_variable): Call resolve_unique_section before
8033 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
8034 of error_mark_node.
8035
3a4edb44
RE
80362002-03-15 Richard Earnshaw <rearnsha@arm.com>
8037
8038 PR target/5170
8039 * arm.md (split pattern for thumb shiftable immediates): Add comment
8040 explaining non-obvious test.
8041
32defa36
RE
80422002-03-15 Richard Earnshaw <rearnsha@arm.com>
8043
8044 PR target/5712
8045 * arm.md (movaddr, movaddr_insn): Delete.
8046
5cc90635
JM
80472002-03-15 Jason Merrill <jason@redhat.com>
8048
8049 * toplev.c (wrapup_global_declarations): Clarify variable handling.
8050 -fkeep-static-consts doesn't apply to comdats.
8051
ecb0eece
RH
80522002-03-14 Richard Henderson <rth@redhat.com>
8053
8054 * c-decl.c: Include c-pragma.h.
8055 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
8056 (finish_function): Tidy.
8057 * c-pragma.c: Include c-common.h.
8058 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
8059 (handle_pragma_weak): Use them.
8060 (init_pragma): Register pending_weaks.
8061 * c-pragma.h (maybe_apply_pragma_weak): Declare.
8062 * print-tree.c (print_node): Print DECL_WEAK.
8063 * varasm.c (mark_weak_decls): Remove.
8064 (remove_from_pending_weak_list): Remove.
8065 (add_weak): Remove.
8066 (asm_emit_uninitialised): Call globalize_decl for weak commons.
8067 (weak_decls): Make a tree_list.
8068 (declare_weak): Cons weak_decls directly.
8069 (globalize_decl): Remove weak_decls elements directly.
8070 (weak_finish): Simplify weak_decls walk. Don't weaken unused
8071 symbols. Don't pretend to handle aliases.
8072 (init_varasm_once): Update weak_decls registry.
8073 * Makefile.in: Update dependencies.
8074
98d2b17e
RH
80752002-03-14 Richard Henderson <rth@redhat.com>
8076
8077 PR target/5312
8078 * config/ia64/ia64.c: Include tm_p.h last.
8079 (gen_nop_type): Remove duplicate definition.
8080 (cycle_end_fill_slots): Set sched_data for second L slot.
8081 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
8082 (nop_cycles_until): Fix typos.
8083
f2f4927e
JJ
80842002-03-15 Jakub Jelinek <jakub@redhat.com>
8085
8086 PR optimization/5891
8087 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
8088
5025a549
DM
80892002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
8090
8091 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
8092 descriptors correctly.
8093
03e9dbc9
MM
80942002-03-14 Michael Meissner <meissner@redhat.com>
8095
8096 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
8097 100, allowing MAX_UNROLLED_INSNS to be overridden.
8098
8099 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
8100 --param.
8101
8102 * unroll.c (params.h): Include.
8103 (MAX_UNROLLED_INSNS): Delete, now in params.h.
8104
8105 * doc/invoke.texi (--param max-unroll-insns): Document.
8106
8107 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
8108
12249385
RE
81092002-03-14 Richard Earnshaw <rearnsha@arm.com>
8110
8111 * arm.md: Fix warnings about constraints in peepholes and splits.
8112
f0cce04a
ZW
81132002-03-14 Zack Weinberg <zack@codesourcery.com>
8114
8115 * cpphash.h (struct lexer_state): Remove line_extension member.
8116 * cpplib.c (dequote_string, do_linemarker): New functions.
8117 (linemarker_dir): New data object.
8118 (DIRECTIVE_TABLE): No longer need to interpret #line in
8119 preprocessed source. Delete obsolete comment about return
8120 values of handlers.
8121 (end_directive, directive_diagnostics, _cpp_handle_directive):
8122 Don't muck with line_extension.
8123 (directive_diagnostics): No need to issue warnings for
8124 linemarkers here.
8125 (_cpp_handle_directive): Issue warnings for linemarkers here,
8126 when appropriate. Dispatch linemarkers to do_linemarker, not
8127 do_line.
8128 (do_line): Code to handle linemarkers split out to do_linemarker.
8129 Convert escape sequences in filename argument, both places.
8130
8131 * cppmacro.c (quote_string): Rename cpp_quote_string and
8132 export. All callers changed.
8133 * cpplib.h (cpp_quote_string): Prototype.
8134 * cppmain.c (print_line): Call cpp_quote_string on to_file
8135 before printing it.
8136
8137 * doc/cpp.texi: Document that escapes are now interpreted in
8138 #line and in linemarkers, and that non-printing characters are
8139 converted to octal escapes when linemarkers are generated.
8140
8141Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
83a49407
JH
8142
8143 * emit-rtl.c (try_split): Use delete_insns.
8144 * recog.c (split_all_insns): Fix terminating condition.
8145
c882c7ac
RE
81462002-03-14 Richard Earnshaw <rearnsha@arm.com>
8147 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
8148
8149 PR target/5828
8150 * arm.c (arm_output_epilogue): Fix floating-point register save
8151 adjustment when using a frame pointer.
8152
3f26edaa
RS
81532002-03-14 Richard Sandiford <rsandifo@redhat.com>
8154
8155 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
8156 * config/mips/mips.c (compute_frame_size): Retrofit them here.
8157 (save_restore_insns, mips_expand_epilogue): And here.
8158 (build_mips16_call_stub): And here.
8159 (mips_function_value): Use the new macros to decide whether a single
8160 or complex float can be returned in floating-point registers. Return
8161 a parallel rtx in the complex case.
8162
1e3881c2
JH
8163Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
8164
8165 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
8166 call after liveness analysis.
8167
8168 * recog.c (split_insn): Use delete_insn_and_edges.
8169
8170 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
8171 instructions to have branch prediction notes.
8172 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
8173
200ef634
GK
81742002-03-14 Geoffrey Keating <geoffk@redhat.com>
8175
8176 * configure.in: Don't pass -Wno-long-long to a ADA compiler
8177 that doesn't support it.
8178 * configure: Regenerate.
8179
0b82d204
JJ
81802002-03-13 Jakub Jelinek <jakub@redhat.com>
8181
8182 PR target/5626
8183 * config/sparc/sparc.md (normal_branch, inverted_branch,
8184 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
8185 inverted_fp_branch): Adjust calls to output_cbranch.
8186 Set length attribute.
8187 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
8188 output_v9branch. Set length attribute.
8189 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
8190 predicates.
8191 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
8192 (output_cbranch): Likewise. Handle far branches.
8193 (output_v9branch): Handle far branches.
8194 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
8195 Adjust prototypes.
8196 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
8197 noov_compare64_op predicates.
8198
7a8de19b
JM
81992002-03-13 Jason Merrill <jason@redhat.com>
8200
8201 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
8202 into the function and constify it.
8203 * gthr-dce.h, gthr-solaris.h: Likewise.
8204
2a55fd42
DE
82052002-03-13 David Edelsohn <edelsohn@gnu.org>
8206
8207 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
8208 * config/rs6000/rs6000.c (rs6000_va_arg): Use
8209 std_expand_builtin_va_arg if not ABI_V4.
8210
19c5b1cf
JM
82112002-03-13 Jason Merrill <jason@redhat.com>
8212
8213 * varasm.c (globalize_decl): New fn.
8214 (assemble_start_function): Use it.
8215 (asm_emit_uninitialized): Use it.
8216 (assemble_alias): Use it.
8217 (assemble_variable): Use it.
8218
2a15f5e1
HPN
82192002-03-13 Hans-Peter Nilsson <hp@axis.com>
8220
8221 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
f0cce04a 8222 2002-03-12 internal visibility change.
2a15f5e1
HPN
8223 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
8224 visibility into SYMBOL_REF_FLAG.
8225
c0a3eeac
UW
82262002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8227
8228 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
8229 VOIDmode operand. Add compile-time optimization for constant results.
8230
a1652cee
JM
82312002-03-12 Jason Merrill <jason@redhat.com>
8232
8233 * c-typeck.c (convert_for_assignment): Don't allow conversions
8234 between pointers and references. Only allow lvalues to convert to
8235 reference.
8236
c52a375d
HP
82372002-03-13 Hartmut Penner <hpenner@de.ibm.com>
8238
f0cce04a
ZW
8239 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
8240 before prologue, to avoid scheduling problems.
c52a375d 8241
e387e99b
JJ
82422002-03-13 Jakub Jelinek <jakub@redhat.com>
8243
8244 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
8245 (ELIMINABLE_REGS): Add sfp->sp.
8246 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
8247
82482002-03-13 Jakub Jelinek <jakub@redhat.com>
09948ece
JJ
8249
8250 PR optimization/5892
8251 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
8252
4061c1a3
JJ
82532002-03-13 Jakub Jelinek <jakub@redhat.com>
8254
8255 * loop.c (basic_induction_var): Don't call convert_modes if mode
8256 classes are different.
8257
5b43fed1
RH
82582002-03-12 Richard Henderson <rth@redhat.com>
8259
9f53e965
RH
8260 PR optimization/5901
8261 * function.c (reposition_prologue_and_epilogue_notes): Position
8262 the markers after/before the last/first insn not deleted.
8263
82642002-03-12 Richard Henderson <rth@redhat.com>
8265
8266 PR optimization/5878
5b43fed1
RH
8267 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
8268 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
8269 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
8270
8271 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
8272 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
8273 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
8274
8275 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
8276 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
8277 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
8278 also. Don't set it if not flag_pic.
8279 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
8280 to be INVALID_REGNUM when not used.
8281
4e9bb42b
AH
82822002-03-13 Aldy Hernandez <aldyh@redhat.com>
8283
5b43fed1
RH
8284 * expmed.c (store_bit_field): Reset alias set for memory.
8285 (extract_bit_field): Same.
4e9bb42b 8286
2f9834e8
KG
82872002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8288
8289 * c-common.c (c_tree_code_type, c_tree_code_length,
8290 c_tree_code_name, add_c_tree_codes): Delete.
8291 * c-common.h (add_c_tree_codes): Delete.
8292 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
8293 Define.
8294 * c-objc-common.c (c_objc_common_init): Don't call
8295 add_c_tree_codes, instead set lang_unsafe_for_reeval.
8296 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
8297 objc_tree_code_name, add_objc_tree_codes): Delete.
8298 (objc_init): Don't call add_objc_tree_codes.
8299 * objc/objc-lang.c (tree_code_type, tree_code_length,
8300 tree_code_name): Define.
8301 * toplev.c (lang_independent_init): Don't set
8302 tree_code_length[IDENTIFIER_NODE].
8303 * tree.c (tree_code_type, tree_code_length, tree_code_name):
8304 Delete definitions, moved to language front-ends.
8305 * tree.def (IDENTIFIER_NODE): Hardwire the length.
8306 * tree.h (tree_code_type, tree_code_length, tree_code_name):
8307 Const-ify.
8308 (tree_code_length): Change type to unsigned char.
8309
36ad2436
RH
83102002-03-12 Richard Henderson <rth@redhat.com>
8311
8312 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
8313 internal visibility change.
8314
0ae02efa
BW
83152002-03-12 Bob Wilson <bob.wilson@acm.org>
8316
8317 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
8318 validize_mem() instead of change_address to avoid clobbering
8319 memory attributes.
8320
35bb2bee
NB
83212002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
8322
8323 * c-lex.h (position_after_whitespace): Remove.
8324
62ae2529
JJ
83252002-03-12 Jakub Jelinek <jakub@redhat.com>
8326
8327 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
8328 (lex_string): Use unsigned char pointers.
8329
6a45951f
UW
83302002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8331
8332 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
8333 is not a valid memory_operand.
8334
e2fb85da
BW
83352002-03-12 Bob Wilson <bob.wilson@acm.org>
8336
8337 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
8338 * config/xtensa/lib1funcs.asm: Fix copyright to include
8339 special case for libgcc files.
8340 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
8341 (__divsi3): Likewise.
8342 (__umodsi3): Likewise.
8343 (__modsi3): Likewise.
8344 * config/xtensa/lib2funcs.S: Fix copyright to include
8345 special case for libgcc files.
8346
5b8619f8
TR
83472002-03-12 Tom Rix <trix@redhat.com>
8348
8349 * collect2.c (resolve_lib_name): Move outside of
f0cce04a 8350 OBJECT_FORMAT_COFF ifdef.
5b8619f8
TR
8351 (ignore_library): Same.
8352
089c8f97
BW
83532002-03-12 Bob Wilson <bob.wilson@acm.org>
8354
8355 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
8356
958c70ff
BW
83572002-03-12 Bob Wilson <bob.wilson@acm.org>
8358
8359 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
8360 to function_section before writing out the constant pool.
8361
a65c591c
DE
83622002-03-12 David Edelsohn <edelsohn@gnu.org>
8363
8364 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
8365 zero_constant.
8366 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
8367
83682002-03-12 Alan Modra <amodra@bigpond.net.au>
8369
8370 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
8371 (adddi3): Likewise.
8372 (movdf): Likewise.
8373 (movdi): Likewise.
8374 (cmpsi splitter): Likewise.
8375 (modsi3): Fail if <= 0.
8376 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
8377 redundant test when HOST_BITS_PER_WIDE_INT != 32.
8378 (reg_or_sub_cint64_operand): Likewise.
8379 (num_insns_constant_wide): Optimize sign extension.
8380 (rs6000_legitimize_address): Likewise.
8381
17720332
AM
83822002-03-12 Andrew MacLeod <amacleod@redhat.com>
8383
8384 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8385 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8386
cd49f073
AM
83872002-03-12 Andrew MacLeod <amacleod@redhat.com>
8388
8389 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
8390 address calculation.
8391
6a4e49c1
UW
83922002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8393
8394 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
8395 scratch register to DImode / TImode.
8396 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
8397 register used does not overlap the target.
8398
54b6670a
KG
83992002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8400
8401 * Makefile.in (debug.o): Depend on debug.h.
8402 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
8403 * debug.c (do_nothing_debug_hooks): Likewise.
8404 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
8405 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
8406 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
8407 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
8408 * dwarfout.c (dwarf_debug_hooks): Likewise.
8409 * integrate.c (output_inline_function): Likewise.
8410 * objc/objc-act.c (synth_module_prologue): Likewise.
8411 * sdbout.c (sdb_debug_hooks): Likewise.
8412 * toplev.c (debug_hooks): Likewise.
8413 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
8414
2465bf76
KG
84152002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8416
8417 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
8418 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
8419 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
8420 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
8421 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
8422 * defaults.h (POINTER_SIZE): Define.
8423 * doc/tm.texi (POINTER_SIZE): Document default.
8424
53f3e9ca
KG
84252002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8426
8427 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
8428
44d3eb5b
RH
84292002-03-11 Richard Henderson <rth@redhat.com>
8430
8431 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
8432 if rebuild_label_notes_after_reload.
8433
4a085d2e
HPN
84342002-03-12 Hans-Peter Nilsson <hp@axis.com>
8435
8436 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
8437 emit pic register load if "internal" visibility.
8438 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
8439 (cris_expand_builtin_va_arg): Do all computations on trees.
8440
bc204393
RH
84412002-03-11 Richard Henderson <rth@redhat.com>
8442
8443 * rtlanal.c: Include recog.h.
8444 (keep_with_call_p): Fix thinko.
8445 * Makefile.in (rtlanal.o): Update dependencies.
8446
6b8b9d7b
CM
84472002-03-11 Chris Meyer <cmeyer@gatan.com>
8448
8449 * genflags.c (gen_insn): Use IS_VSPACE.
8450 * genoutput.c (output_insn_data): Likewise.
8451 (process_template): Likewise.
8452
6c40858f
RH
84532002-03-11 Richard Henderson <rth@redhat.com>
8454
8455 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
8456
40adaa27
NB
84572002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
8458
8459 * Makefile.in: Update.
6c40858f 8460 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
40adaa27 8461 Update documentation.
6c40858f
RH
8462 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
8463 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
40adaa27 8464
049b03f4
ZW
84652002-03-11 Zack Weinberg <zack@codesourcery.com>
8466
8467 * Makefile.in: Give texi2pod its input file as a command line
8468 argument, not on stdin.
8469
61eece67
DN
84702002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
8471 Daniel Berlin <dan@dberlin.org>
8472
8473 C++ alias analysis improvement.
f0cce04a 8474 * alias.c (record_component_aliases): Record aliases for base
61eece67
DN
8475 classes too.
8476
a65c591c
DE
84772002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
8478
ff080aba
UW
8479 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
8480
1682dbb1
DR
84812002-03-11 Douglas B Rupp <rupp@gnat.com>
8482
fa2d765a
DR
8483 * toplev.c (vms_fopen): Remove, not needed.
8484
6f1fd286
DR
8485 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
8486
b230e057
DR
8487 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
8488
cb9a8e97
DR
8489 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
8490 for FP, already done later.
8491
1682dbb1
DR
8492 * toplev.c (debug_args): Add entry for VMS_DEBUG.
8493 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
8494
3fcaac1d
RS
84952002-03-11 Richard Sandiford <rsandifo@redhat.com>
8496
8497 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
8498 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
8499 LARGEST_EXPONENT_IS_NORMAL for the given mode.
8500 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
8501 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
8502 (ediv, emul, eldexp, esqrt): Likewise.
8503 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
8504 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
8505 (saturate): New function.
8506 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
8507 (make_nan): Use a saturation value instead of a NaN if
8508 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
8509 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
8510 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
8511 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
8512 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
8513 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
8514 !ROUND_TOWARDS_ZERO.
8515 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
8516 (ROUND_TOWARDS_ZERO): Document.
8517
d25558be
AJ
85182002-03-11 Andreas Jaeger <aj@suse.de>
8519
8520 * cfg.c (dump_flow_info): Remove unused variable.
8521
c71f9ae7
HPN
85222002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
8523
8524 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
8525 computations on trees.
8526
561c9153
RH
85272002-03-10 Richard Henderson <rth@redhat.com>
8528
932b4e3e 8529 PR 5693:
561c9153
RH
8530 * reload.c (copy_replacements_1): New.
8531 (copy_replacements): Use it to recurse through the rtx.
8532
26b738be
RH
85332002-03-10 Richard Henderson <rth@redhat.com>
8534
8535 * loop.c (strength_reduce): Compute number of iterations as
8536 unsigned HOST_WIDE_INT.
8537
8d8a083e
RH
85382002-03-10 Richard Henderson <rth@redhat.com>
8539
8540 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
8541 to move away from the end of the block.
8542
32810ba3
NB
85432002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
8544
8545 PR preprocessor/5899
8546 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
d25558be 8547
2b03d201
KG
85482002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8549
f90c544c
KG
8550 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
8551
2b03d201
KG
8552 * attribs.c (decl_attributes): Fix signed/unsigned warning.
8553
3ec1b4cb
HPN
85542002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
8555
8556 * config/mmix/mmix.c: Improve comments.
8557 (mmix_target_asm_function_prologue): Drop variable
8558 empty_stack_frame. Don't allocate unused slot above fp.
8559 (mmix_target_asm_function_epilogue): Mirror prologue changes.
8560 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
8561 brace in first column.
8562 (enum reg_class): Ditto.
8563 (FIRST_PARM_OFFSET): Now 0.
8564 (USER_LABEL_PREFIX): Remove #if 0:d definition.
8565
27e486c5
KG
85662002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8567
8568 * combine.c (make_extraction): Fix error in last change.
8569
0139adca
KG
85702002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8571
8572 * c4x.c (c4x_fp_reglist): Const-ify.
8573 * cris.c (cris_print_operand): Likewise.
8574 * i386.c (ix86_va_arg): Likewise.
8575 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
8576 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
8577 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
8578 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
8579 * mcore.h (regno_reg_class): Likewise.
8580 * mips.c (gen_int_relational): Likewise.
8581 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
8582 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
a4334c36 8583 * pdp11.c (move_costs): Likewise.
0139adca
KG
8584 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
8585 * s390.c (s390_branch_condition_mnemonic, regclass_map):
8586 Likewise.
8587 * s390.h (regclass_map): Likewise.
8588 * sh.c (shift_amounts): Likewise.
a4334c36 8589 * sh.md (rotlsi3): Likewise.
0139adca 8590
889b90a1
GK
85912002-03-09 Geoffrey Keating <geoffk@redhat.com>
8592
8593 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
8594 (ne0+5): Use new clobber to generate proper shift pattern.
8595 Patch by Michael Matz <matz@kde.org>.
8596
2877e0ae
AS
85972002-03-09 Andreas Schwab <schwab@suse.de>
8598
8599 * gcc.c (validate_all_switches): Also handle `%W{...}'.
8600
79b51cd7
GK
86012002-03-09 Geoffrey Keating <geoffk@redhat.com>
8602
8603 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
8604
e0f1be5c
JJ
86052002-03-09 Jakub Jelinek <jakub@redhat.com>
8606
8607 PR middle-end/5877
8608 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
8609 even for non-representable constants.
8610
0a7ec763
RK
8611Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8612
93fe8e92
RK
8613 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
8614 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
8615 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
8616 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
8617 (pop_function_context): Compute MAY_SHARE parameter for
8618 fixup_var_refs.
8619 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
8620 (gen_mem_addressof): Call fixup_var_refs with new parm.
8621
0a7ec763
RK
8622 * combine.c (make_extraction): Don't make extension of CONST_INT.
8623
a85cd407
AO
86242002-03-09 Alexandre Oliva <aoliva@redhat.com>
8625
9445b814
AO
8626 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
8627 in o32 and o64 ABIs.
8628 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
8629 but getting fixed-size structs passed in registers regardless of
8630 padding in o32 and o64 ABIs.
8631
a85cd407
AO
8632 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
8633 offset before loading address of argument passed by transparent
8634 reference.
8635
c51fbe40
JDA
86362002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
8637
8638 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
8639
918e70dd
AO
86402002-03-09 Alexandre Oliva <aoliva@redhat.com>
8641
8642 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
8643 marker such that registers after it are saved.
8644
3070dd00
KG
86452002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8646
8647 * sparc.c (arith_4096_operand): Fix error in last change.
8648
e25d11b0
AO
86492002-03-08 Alexandre Oliva <aoliva@redhat.com>
8650
8651 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
8652 defaults for MEABI.
8653
41daaf0e
AH
86542002-03-08 Aldy Hernandez <aldyh@redhat.com>
8655
5b43fed1
RH
8656 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
8657 vectors.
41daaf0e 8658
fa139b00
AH
86592002-03-08 Aldy Hernandez <aldyh@redhat.com>
8660
5b43fed1 8661 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
fa139b00 8662
c51d95ec
JH
8663Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
8664
8665 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
8666 removed; fix return value.
8667 * combine.c (combine_instructions): Dirtify blocks where we failed to
8668 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
8669 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
8670
3b25fbfe
KG
86712002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8672
8673 * gcse.c (insert_insn_end_bb): Fix typo in last change.
8674
189ae0f4
JH
8675Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
8676
8677 * recog.c (peephole2_optimize): Re-distribute EH edges.
8678
24965e7a
NB
86792002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
8680
8681 * expr.c (expand_expr): Use unsave lang hook.
8682 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
8683 (LANG_HOOKS_INITIALIZER): Update.
8684 * langhooks.h (struct lang_hooks): New hook unsave.
8685 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
8686 (unsave_expr_1): Remove unused lang_unsave_expr_now.
8687 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
8688 (unsave_expr_now): Remove.
8689 * tree.h (unsave_expr_now, lang_unsave,
8690 lang_unsave_expr_now): Remove.
8691 (lhd_unsave): New.
8692
1e4e95d6
AJ
86932002-03-08 Andreas Jaeger <aj@suse.de>
8694
8695 * flow.c (propagate_block_delete_insn): Remove unused variable.
8696
054ef905
KH
86972002-03-08 Kazu Hirata <kazu@hxi.com>
8698
8699 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
8700 insn length for memory load/store.
8701
5304400d 87022002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
1e4e95d6 8703
5304400d
CR
8704 * doc/install.texi (--with-libiconv-prefix): Document.
8705
81034129
MB
87062002-03-08 Michael Y. Brukman <myb2@cornell.edu>
8707
8708 * doc/sourcebuild.texi: Fix typo.
8709
71db7d03
JJ
87102002-03-08 Jakub Jelinek <jakub@redhat.com>
8711
8712 PR c/3711
8713 * builtins.c (std_expand_builtin_va_arg): Do all computations on
8714 trees.
8715
127c1ba5
RK
8716Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8717
8718 * rtl.c (copy_most_rtx): Move from here ...
8719 * emit-rtl.c (copy_most_rtx): ... to here.
8720
8a13c092
AO
87212002-03-08 Alexandre Oliva <aoliva@redhat.com>
8722
5faae4f7
AO
8723 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
8724 SUBTARGET_CPP_SIZE_SPEC.
8725 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
8726
8a13c092
AO
8727 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
8728
4ec59de2
MH
87292002-03-07 Matt Hiller <hiller@redhat.com>
8730
8731 * gensupport.c (first_dir_md_include): Renamed from include;
8732 change all references.
8733 (last_dir_md_include): Renamed from last_include; change all
8734 references.
8735 (init_md_reader): Unconditionally initialize base_dir whether or
8736 not filename is a relative path.
8737
12f61e77
AO
87382002-03-07 Alexandre Oliva <aoliva@redhat.com>
8739
95356058
AO
8740 * config/fp-bit.c (_unord_f2): Compile it in even if
8741 US_SOFTWARE_GOFAST is enabled.
8742
12f61e77
AO
8743 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
8744 NULL_RTX. Set all HFmode operations as NULL_RTX.
8745 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
8746 NULL_RTX, try reversing the comparison and the operands.
8747
6d7a1c4c
UW
87482002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8749
8750 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
8751 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
8752 and MATCH_OP_DUP.
8753
66d54344
JH
8754Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
8755
8756 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
8757
068473ec
JH
8758Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8759
8760 * basic-block.h (fixup_abnormal_edges): Declare.
8761 * reload1.c (fixup_abnormal_edges): New function.
8762 * reg-stack.c (convert_regs): Use it.
8763
8764 * gcse.c (insert_insn_end_bb): Handle trapping insns.
8765
8766 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
8767
71925bc0
RS
87682002-03-07 Richard Sandiford <rsandifo@redhat.com>
8769
8770 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
8771 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
8772 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
8773 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
8774 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
8775 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
8776 unless x and y could be infinite.
8777 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
8778 Check that the common type of both arguments is a real, even for
8779 targets without unordered comparisons. Allow an integer argument
8780 to be compared against a real.
8781 (expand_tree_builtin): Use expand_unordered_cmp.
8782 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
8783 * cse.c (fold_rtx): Likewise. Fix indentation.
8784 * fold-const.c (fold_real_zero_addition_p): New.
8785 (fold): Use it, and the new HONOR_... macros.
8786 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
8787 * jump.c (reversed_comparison_code_parts): After searching for
8788 the true comparison mode, use HONOR_NANS to decide whether it
8789 can be safely reversed.
8790 (reverse_condition_maybe_unordered): Remove IEEE check.
8791 * simplify-rtx.c (simplify_binary_operation): Use the new macros
8792 to decide which simplifications are valid. Allow the following
8793 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
8794 and (a - -b) to (a + b).
8795 (simplify_relational_operation): Use HONOR_NANS.
8796 * doc/tm.texi: Document the MODE_HAS_... macros.
8797
145d3bf2
RE
87982002-03-07 Richard Earnshaw <rearnsha@arm.com>
8799
8800 * combine.c (simplify_comparison): If simplifying a logical shift
8801 right and compare with constant, force the comparison to unsigned.
8802
76a773f3
AH
88032002-03-07 Aldy Hernandez <aldyh@redhat.com>
8804
5b43fed1 8805 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
76a773f3 8806
5b43fed1
RH
8807 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
8808 -mabi=no-altivec
8809 (alt_reg_names): Remove % for vrsave.
76a773f3 8810
ab55f58c
RH
88112002-03-06 Richard Henderson <rth@redhat.com>
8812
5ddec02e 8813 PR optimization/5844
ab55f58c
RH
8814 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
8815 if used indicates we've already emitted one copy of an operand.
8816 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
8817 (gen_split): Supply a non-null used.
8818
e16e3291
UW
88192002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8820
5b43fed1 8821 * reload1.c (reload): Unshare all rtl after reload is done.
e16e3291 8822
1e4e95d6 8823 * simplify-rtx.c (simplify_plus_minus): Do not abort,
e16e3291
UW
8824 but simply fail if the expression is too complex to simplify.
8825 (simplify_gen_binary): Handle simplify_plus_minus failures.
8826
2ca6672b
JH
8827Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
8828
8829 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
8830 consistently call delete_trivially_dead_insns after CSE and GCSE;
8831 fix DFI_life dumping; do jump threading after liveness; do crossjumping
8832 after liveness2; update comment in last crossjumping.
8833 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
8834
31d0dd4f
JL
8835Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
8836
d094b0b3
JL
8837 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
8838 after completing fast dead code elimination.
8839
31d0dd4f
JL
8840 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
8841 COMPARE operator.
1e4e95d6 8842
f2b958b1
PE
88432002-03-06 Phil Edwards <pme@gcc.gnu.org>
8844
8845 * version.c: Fix misplaced leading blanks on first line.
8846
a2877a09
JH
8847Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
8848
8849 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
8850
fe477d8b
JH
8851Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
8852
8853 * cfgcleanup.c (mentions_nonequal_regs): New function.
8854 (thread_jump): Use it.
8855 * toplev.c (rest_of_compilation): Run jump threading after
8856 liveness.
8857
2041cde4
JJ
88582002-03-06 Jakub Jelinek <jakub@redhat.com>
8859
8860 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
8861 patch.
8862
82d68d46
JH
8863Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
8864
8865 * predict.c (estimate_bb_frequencies): Do not reload the
8866 frequencies from notes.
8867
3dec4024
JH
8868Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
8869
8870 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
8871 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
8872
8873 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
8874 delete_noop_moves): Return indeger.
8875 * flow.c (ndead): New variable.
8876 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
8877 BB argument; update callers.
8878 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
8879 (life_analysis): Do not call purge_all_dead_edges.
8880 (update_life_info): Return number of deleted insns; print statistics.
8881 (update_life_info_in_dirty_blocks): likewise.
8882 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
8883 return number of insns deleted.
8884
8885 * cse.c: Include timevar.h
8886 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
8887 iterate until stabilizes; print statistics; return number of killed
8888 insns.
8889 * Makefile.in: (cse.o): Add timevar.h dependency
8890 * rtl.h (delete_trivially_dead_insns): New.
8891 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
8892 * toplev.c (rest_of_compilation): Update callers.
8893
8894 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
8895 (try_optimize_cfg): Do not update liveness.
8896 (cleanup-cfg): Loop until try_optimize_cfg and dead code
8897 removal stabilizes; use delete_trivially_dead_insns.
8898
8899 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
8900
c7544dd8
ZW
89012002-03-05 Zack Weinberg <zack@codesourcery.com>
8902
8903 * cppmain.c (setup_callbacks): Disable #pragma and #ident
8904 callbacks when processing assembly language.
8905
50b424a9
JDA
89062002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8907
8908 * pa.h (ASM_FILE_END): Define.
8909 * som.h (ASM_FILE_END): Delete.
8910
8911 * pa.c (function_arg): Don't pass floats in general registers in
8912 indirect calls if TARGET_ELF32.
8913
6185f217
RH
89142002-03-05 Richard Henderson <rth@redhat.com>
8915
8916 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
8917
3020a4b2
DS
89182002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
8919
8920 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
8921
65649daa
JJ
89222002-03-05 Jakub Jelinek <jakub@redhat.com>
8923
8924 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
8925 -r command line. Don't hide any symbols if not building
8926 shared libgcc.
8927
5a1a3e5e
JH
8928Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
8929
8930 * cfg.c (dump_flow_info): Warn about profile mismatches.
8931 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
8932 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
8933
170c56da
JJ
89342002-03-05 Jakub Jelinek <jakub@redhat.com>
8935
8936 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
8937 wide volatile memory by parts.
8938
6d051694
JJ
89392002-03-05 Jakub Jelinek <jakub@redhat.com>
8940
8941 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
8942 is NULL.
8943
28bcfd4d
RH
89442002-03-05 Richard Henderson <rth@redhat.com>
8945
5b43fed1 8946 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
28bcfd4d 8947
75227a33
GK
89482002-03-04 Geoffrey Keating <geoffk@redhat.com>
8949
8950 * toplev.c (documented_lang_options): Document more
8951 language-specific options.
8952 * doc/invoke.texi (Warning Options): Correct documentation for
8953 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
8954 * c-decl.c (c_decode_option): Use a table to handle warning options.
8955
4f1aac42
HPN
89562002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
8957
8958 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
8959 parameter to mmix_encode_section_info.
8960 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
8961 relocatably. Always produce ELF, not mmo if linking relocatably.
8962 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
8963 first is non-zero, don't add symbol prefix.
8964 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
8965 prototype accordingly.
8966
12345543
KW
89672002-03-04 Krister Walfridsson <cato@df.lth.se>
8968
8969 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
8970
8e97db8f
JM
89712002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
8972
8973 * configure.in: Increase required makeinfo version to 4.1.
8974 * configure: Regenerate.
8975
06487868
GK
89762002-03-04 Geoffrey Keating <geoffk@redhat.com>
8977
8978 * .cvsignore: Remove *.info* and genrtl*; these files are generated
8979 elsewhere now.
8980
cff42170
JM
89812002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
8982
8983 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
8984 * doc/invoke.texi: Fix @math uses.
8985
974a7f56
JH
8986Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8987
8988 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
8989 removal
8990
3b7d0e98
AH
89912002-03-03 Aldy Hernandez <aldyh@redhat.com>
8992
5b43fed1
RH
8993 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
8994 (powerpc-*-eabisimaltivec*): Same.
3b7d0e98 8995
5b43fed1 8996 * config/rs6000/t-ppcendian: New.
3b7d0e98 8997
65f2f288
HB
89982002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8999
9000 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
9001 nonimmediate_src_operand and nonimmediate_lsrc_operand to
9002 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
9003
8ce0a8a5
RH
90042002-03-03 Richard Henderson <rth@redhat.com>
9005
9006 * toplev.c (rest_of_decl_compilation): Revert last two changes.
9007
ba31d94e
ZW
90082002-03-03 Zack Weinberg <zack@codesourcery.com>
9009
9010 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
9011 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
9012 tree.c, config/m68k/m68k.c:
9013 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
9014 REAL_ARITHMETIC blocks unconditional. Delete some further
9015 #ifdef blocks predicated on REAL_ARITHMETIC.
9016 * flags.h, toplev.c: Delete remaining references to
9017 flag_pretend_float.
9018
9019 * doc/invoke.texi: Remove documentation of -fpretend-float.
9020 * doc/tm.texi: Describe the various REAL_* macros as provided by
9021 real.h, not by the target configuration files.
9022
9023 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
9024 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
9025 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
9026 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
9027 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
9028 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
9029 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
9030 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
9031 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
9032 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
9033 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
9034 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
9035 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
9036 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
9037 config/xtensa/xtensa.h:
9038 Do not define, undefine, or mention in comments any of
9039 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
9040 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
9041 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
9042 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
9043 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
9044 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
9045 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
9046 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
9047 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
9048
9a571cfd
KG
90492002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9050
e81dd381
KG
9051 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
9052 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
9053 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
9054 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
9055 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
9056 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
9057 Delete.
9058 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 9059 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 9060
9a571cfd
KG
9061 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
9062 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
9063 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
9064
ca7558fc
KG
90652002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9066
9067 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
9068 lieu of explicit sizeof/sizeof.
9069 * i386.c (override_options, ix86_init_mmx_sse_builtins,
9070 ix86_expand_builtin): Likewise.
9071 * mips.c (mips_add_gc_roots): Likewise.
9072 * mmix.c (mmix_output_condition): Likewise.
9073 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
9074 altivec_init_builtins): Likewise.
9075 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
9076 * cppexp.c (Nsuff, parse_number): Likewise.
9077 * cppinit.c (builtin_array_end): Likewise.
9078 * gcc.c (n_default_compilers, process_command): Likewise.
9079 * genpreds.c (output_predicate_decls): Likewise.
9080 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
9081 * lcm.c (N_ENTITIES): Likewise.
9082 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 9083
41c78c88
RH
90842002-03-03 Richard Henderson <rth@redhat.com>
9085
9086 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
9087 for types or labels.
9088
9e9b71e6
RH
90892002-03-03 Richard Henderson <rth@redhat.com>
9090
9091 * c-decl.c (start_decl): Initialized variables are not common.
9092
c26a6db8
PB
90932002-03-02 Per Bothner <per@bothner.com>
9094
9095 * gcc.c (option_map): Suport new --bootclasspath option.
9096 --CLASSPATH is now just an alias for --classpath.
9097
9e8aab55
RH
90982002-03-02 Richard Henderson <rth@redhat.com>
9099
9100 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
9101 load if "internal" visibility.
9102 * doc/extend.texi: Document visibility meanings.
9103
b3bbd220
RH
91042002-03-02 Richard Henderson <rth@redhat.com>
9105
9106 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
9107 to functions as well.
9108
b14707c3
RH
91092002-03-02 Richard Henderson <rth@redhat.com>
9110
9111 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
9112 (handle_visibility_attribute): Don't call assemble_visibility.
9113 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
9114 without asmspec. Invoke assemble_alias when needed.
9115 * varasm.c (maybe_assemble_visibility): New.
9116 (assemble_start_function, assemble_variable, assemble_alias): Use it.
9117
b2003250
RH
91182002-03-02 Richard Henderson <rth@redhat.com>
9119
9120 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
9121 invoke ENCODE_SECTION_INFO with first call flag.
9122
9123 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
9124 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 9125 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
9126 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
9127 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
9128 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
9129 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
9130 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
9131 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
9132 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
9133 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9134 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
9135 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
9136 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
9137 config/mcore/mcore-protos.h, config/mcore/mcore.c,
9138 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
9139 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 9140 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
9141 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
9142 config/sh/sh.h, config/sparc/sparc.h,
9143 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
9144 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
9145 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
9146 FIRST argument. As needed, examine it and do nothing.
9147
ba31d94e 9148 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
9149 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
9150 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
9151
9152 * config/arm/t-pe (pe.o): Add dependencies.
9153
5c60f03d
KG
91542002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9155
9156 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
9157 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
9158 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
9159 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
9160 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
9161 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
9162 * defaults.h (BITS_PER_UNIT): Define.
9163 * doc/tm.texi (BITS_PER_UNIT): Document default value.
9164
86855e8c
KH
91652002-03-02 Kazu Hirata <kazu@hxi.com>
9166
9167 * config/h8300/h8300-protos.h: Add a prototype for
9168 compute_a_shift_length.
9169 * config/h8300/h8300.c (h8300_asm_insn_count): New.
9170 (compute_a_shift_length): Likewise.
9171 (h8300_adjust_insn_length): Do not adjust insn length of shift
9172 insns.
9173 * config/h8300/h8300.md (anonymous shift patterns): Use
9174 compute_a_shift_length.
9175
f6041ed8
RK
9176Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9177
35aa3c1c
RK
9178 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
9179 trunc_int_for_mode.
9180
f6041ed8
RK
9181 * emit-rtl.c (offset_address): Call update_temp_slot_address.
9182
27b41650
KG
91832002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9184
9185 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
9186 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
9187 * flags.h (flag_zero_initialized_in_bss): Declare.
9188 * toplev.c (flag_zero_initialized_in_bss): New flag.
9189 (lang_independent_options): Add flag_zero_initialized_in_bss.
9190 * tree.c (initializer_zerop): New function.
9191 * tree.h (initializer_zerop): Declare.
9192 * varasm.c (assemble_variable): If we can emit bss, put zero
9193 initializers in the bss section.
9194
ca734b39
AM
91952002-03-02 Alan Modra <amodra@bigpond.net.au>
9196
9197 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
9198 like more than one symbol per .weak directive.
9199
49b72306
RH
92002002-03-01 Richard Henderson <rth@redhat.com>
9201
9202 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
9203 adjust argument_pointer by pretend_args_size.
9204 (ia64_va_start): Adjust va_start address by -pretend_args_size.
9205
fbf0fe41
KH
92062002-03-01 Kazu Hirata <kazu@hxi.com>
9207
9208 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
9209
0010687d
JH
9210Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
9211
9212 * toplev.c (rest_of_compilation): Delete dead jumptables before
9213 loop.
9214 * flow.c (delete_dead_jumptables): Make global.
9215 * rtl.h (delete_dead_jumptables): Declare.
9216
9429c84c
DE
92172002-03-01 David Edelsohn <edelsohn@gnu.org>
9218
9219 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
9220 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
0c2fdcdf 9221 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
9429c84c 9222
f0b6f9a6
KH
92232002-03-01 Kazu Hirata <kazu@hxi.com>
9224
9225 * config/h8300/h8300-protos.h: Fix formatting.
9226 * config/h8300/h8300.c: Likewise.
9227 * config/h8300/h8300.h: Likewise.
9228
bc8db8a1
KH
92292002-03-01 Kazu Hirata <kazu@hxi.com>
9230
9231 * config/h8300/h8300.c (print_operand): Support 16-bit
9232 constant addresses.
9233 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
9234
32b069d3
RH
92352002-02-28 Richard Henderson <rth@redhat.com>
9236
9237 * expmed.c (store_bit_field): Prevent generation of CONCATs;
9238 pun complex values as integers; use gen_lowpart instead of
9239 gen_rtx_SUBREG.
9240 (extract_bit_field): Likewise.
9241
79c4e63f
AM
92422002-03-01 Alan Modra <amodra@bigpond.net.au>
9243 David Edelsohn <edelsohn@gnu.org>
9244
9245 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
9246 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
9247 (SUPPORTS_WEAK): Likewise.
9248 * output.h (add_weak): Add tree param.
9249 * varasm.c (add_weak): Likewise. Save decl.
9250 (struct weak_syms): Add decl field.
9251 (mark_weak_decls): New function.
9252 (init_varasm_once): ggc_add_root mark_weak_decls.
9253 (assemble_start_function): Use ASM_WEAKEN_DECL.
9254 (assemble_variable): Likewise.
9255 (assemble_alias): Likewise.
9256 (declare_weak): Pass decl to add_weak.
9257 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
9258 (remove_from_pending_weak_list): Declare and define for
9259 ASM_WEAKEN_DECL.
9260 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
9261 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
9262 * defaults.h (SUPPORTS_WEAK): Likewise.
9263 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
9264 .weak for code sym. Do emit .size for descriptor sym.
9265 (ASM_DECLARE_FUNCTION_SIZE): Define.
9266 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
9267 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
9268 .lglobl unless TARGET_XCOFF. Formatting fixes.
9269 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
9270 .weak for code sym.
9271 (HANDLE_PRAGMA_WEAK): Remove.
9272 (ASM_WEAKEN_LABEL): Remove.
9273 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
9274
6f30f1f1
JM
92752002-03-01 Jason Merrill <jason@redhat.com>
9276
9277 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
9278 (TARGET_EXPR_CLEANUP): New macro.
9279
7879b81e
SE
92802002-02-28 Steve Ellcey <sje@cup.hp.com>
9281
9282 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
9283 to take ptr_extend into account as third type of extension.
9284 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
9285 fields used by SUBREG_PROMOTED_UNSIGNED_P.
9286 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
9287 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
9288 * calls.c (precompute_arguments): Use new macro.
9289 (expand_call): Ditto.
9290 * combine.c (nonzero_bits): Ditto.
9291 (record_promoted_value): Ditto.
9292 * expr.c (store_expr): Ditto.
9293 (expand_expr): Ditto.
9294 * function.c (assign_parms): Ditto.
9295
42d579d8
AO
92962002-02-28 Alexandre Oliva <aoliva@redhat.com>
9297
9298 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
9299 override -shared and -shared-libgcc.
9300
e0054185
DB
93012002-02-28 David O'Brien <obrien@FreeBSD.org>
9302
9303 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
9304 of "ultrasparc".
9305 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
9306 to be broken.
9307
abda4f1c
RH
93082002-02-28 Richard Henderson <rth@redhat.com>
9309
9310 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
9311 4 cycle latency from MM producers.
9312 (ia64_internal_sched_reorder): Likewise with pipeline flush.
9313
c0f08649
JJ
93142002-02-28 Jakub Jelinek <jakub@redhat.com>
9315
9316 * mklibgcc.in: Don't use GNU make extension.
9317
f79f2651
NB
93182002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9319
9320 * c-parse.in (STATIC): New terminal.
9321 (scspec): New non-terminal. Update productions accordingly.
9322 (program): Remove bogus ifc / end ifc.
9323 (array_declarator): Simplify production using STATIC.
9324
001e3fee
JM
93252002-02-28 Jim Meyering <meyering@lucent.com>
9326
9327 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
9328 \a still means TARGET_BELL.
9329
89076bb3
RH
93302002-02-28 Richard Henderson <rth@redhat.com>
9331
9332 * haifa-sched.c (sched_emit_insn): New.
9333 (schedule_block): Use last_scheduled_insn to track last insn.
9334 * sched-int.h (sched_emit_insn): Prototype.
9335 * config/ia64/ia64.c (last_issued): Remove.
9336 (ia64_variable_issue): Don't set it.
9337 (nop_cycles_until): Use sched_emit_insn.
9338
e3aaacf4
AM
93392002-02-28 Andrew MacLeod <amacleod@redhat.com>
9340
9341 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
9342 extended constants.
9343
7f473594
KH
93442002-02-28 Kazu Hirata <kazu@hxi.com>
9345
9346 * config/h8300/h8300.c: Fix formatting.
9347 * config/h8300/h8300.h: Likewise.
9348
b96c434c
MM
93492002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
9350
9351 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
9352 which may overwrite the high byte of the frame pointer.
9353
9b420a6a
BT
93542002-02-28 Bo Thorsen <bo@suse.de>
9355
9356 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
9357 (STARTFILE_SPEC): Add 64 bit files.
9358 (ENDFILE_SPEC): Likewise.
9359
6f30f1f1 93602002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
9361
9362 * c-decl.c (finish_function): Only warn about missing return
9363 statement with -Wreturn-type.
9364
70da1d03
JH
9365Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
9366
9367 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
9368
9369 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
9370 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
9371
38c1593d
JH
9372Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
9373
9374 * basic-block.h (BB_REACHABLE): Renumber.
9375 (BB_DIRTY, BB_NEW): New flags.
9376 (clear_bb_flags): Declare.
9377 (update_life_info_in_dirty_blocks): Declare.
9378 * cfg.c (clear_bb_flags): New function.
9379 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
9380 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
9381 reorder_insns, emit_insn_after): Mark block as dirty.
9382 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
9383 (update_life_info_in_dirty_blocks): New function.
9384 * recog.c (apply_change_group): Dirtify block.
9385
9386 * cse.c (cse_insn): Reorder emitting of jump insn to keep
9387 cfg consistent.
9388 * gcse.c (delete_null_pointer_checks): Likewise.
9389
9390 * toplev.c (dump_file_index): Move cse2 after bp,
9391 add DFI_null
9392 (dump_file_info): Similary.
9393 (rest_of_compilation): Avoid most of CFG rebuilds;
9394 do first if converision after null pointer checks, do cse2
9395 after branch prediction; avoid full liveness rebuild after
9396 initializing subregs.
9397 * invoke.texi (-d options): Document -du, renumber.
9398
9399 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
9400 (notice_new_block): Do not set BB_UPDATE_LIFE.
9401 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
9402 merge_blocks_move_successor_nojumps, merge_blocks,
9403 try_crossjump_to_edge): Likewise.
9404 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
9405 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
9406 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
9407 (merge_of_block): Do not use life_data_ok.
9408 (find_if_case_1): Do not use SET_UPDATE_LIFE.
9409 (if_convert): Use BB_DIRTY mechanizm to update life.
9410 * lcm.c (optimize_mode_switching): Update
9411 update_life_info_in_dirty_blocks
9412
63e1b1c4
NB
94132002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9414
9415 * Makefile.in (integrate.o): Update.
9416 * c-decl.c (copy_lang_decl): Rename.
9417 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9418 * integrate.c: Include langhooks.h.
9419 (copy_decl_for_inlining): Update to use langhook.
9420 * langhooks-def.h (lhd_do_nothing_t,
9421 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
9422 (LANG_HOOKS_INITIALIZER): Update.
9423 * langhooks.c (lhd_do_nothing_t): New.
9424 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
9425 * tree.h (copy_lang_decl): Remove.
9426objc:
9427 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9428
f472fa29
AM
94292002-02-27 Andrew MacLeod <amacleod@redhat.com>
9430
ba31d94e 9431 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
9432 POST_DEC, and POST_MODIFY.
9433
273cf2e4
ZW
94342002-02-27 Zack Weinberg <zack@codesourcery.com>
9435
9436 * c-typeck.c (digest_init): Remove unused parameter; all
9437 callers changed.
9438
4e07d762
GK
94392002-02-27 Geoffrey Keating <geoffk@redhat.com>
9440
9441 * expmed.c (expand_shift): Correctly test for low part of a
9442 subreg.
9443
6bc627b3
UW
94442002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
9445
9446 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
9447 insn UIDs with insn addresses.
9448
f458d1d5
ZW
94492002-02-27 Zack Weinberg <zack@codesourcery.com>
9450
9451 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
9452 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
9453 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
9454 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
9455 gcc.c, toplev.c: Delete code implementing -traditional mode.
9456
9457 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
9458 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
9459 Document removal of -traditional mode for compilation, and
9460 remove documentation only relevant to that mode.
9461
9462 * config/nextstep.h, config/ptx4.h, config/svr4.h,
9463 config/convex/convex.h, config/d30v/d30v.h,
9464 config/i386/dgux.h, config/i386/osf1elf.h,
9465 config/i386/osfelf.h, config/i386/osfrose.h,
9466 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
9467 config/m68k/hp310.h, config/m88k/dgux.h,
9468 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
9469 config/m88k/m88k.h, config/m88k/openbsd.h,
9470 config/mips/abi64.h, config/mips/osfrose.h,
9471 config/mips/svr4-5.h, config/mips/svr4-t.h,
9472 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
9473 config/stormy16/stormy16.h: Remove all references to
9474 -traditional from target specs. Delete all mention of the
9475 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
9476 delete a couple of commented-out definitions of
9477 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
9478 to -traditional.
9479
9480 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
9481 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
9482
e0b3a8ff
ZW
94832002-02-27 Zack Weinberg <zack@codesourcery.com>
9484
9485 * mklibgcc.in: Don't use \n in a line subject to
9486 interpretation by echo.
9487
5c6a85b7
GS
94882002-02-27 Graham Stott <grahams@redhat.com>
9489
72b05af1
GS
9490 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
9491 Constify NAME.
9492
7d104885
GS
9493 * loop.c (prescan_loop): Handle PARALLEL.
9494
8ed805d2
GS
9495 * unroll.c (loop_iterations): Return 0 if the add_val for
9496 a BIV is REG.
9497
fd478a0a
GS
9498 * final.c (output_operand_lossage): Constify PFX_STR.
9499
5c6a85b7
GS
9500 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
9501
cd98ad03
JH
9502Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
9503
9504 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
9505 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
9506
639ae55b
JH
9507Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
9508
9509 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
9510
e808ec9c
NB
95112002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
9512
9513 * cpplex.c (_cpp_lex_token): Handle directives in macro
9514 arguments.
9515 * cpplib.c (_cpp_handle_directive): Save and restore state
9516 if parsing macro args when entering a directive.
9517 * cppmacro.c (collect_args): No need to handle directives
9518 in macro arguments.
9519 (enter_macro_context, replace_args): Use the original macro
9520 definition in case it was redefined whilst collecting arguments.
9521doc:
9522 * cpp.texi: Update.
9523
f585a356
DE
95242002-02-26 David Edelsohn <edelsohn@gnu.org>
9525
9526 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
9527 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
9528 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
9529 method on AIX.
9530 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
9531 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
9532 (load_toc_v4_PIC_2): Same.
9533
95342002-02-26 Alan Modra <amodra@bigpond.net.au>
9535
9536 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
9537
d699058e
RH
95382002-02-26 Richard Henderson <rth@redhat.com>
9539
9540 * config/alpha/alpha.md (ashldi_se): Re-enable.
9541
eadccfbb
RH
95422002-02-26 Richard Henderson <rth@redhat.com>
9543
9544 * config/alpha/alpha.c (alpha_encode_section_info): Examine
9545 MODULE_LOCAL_P; improve commentary.
9546
7080ada1
ZW
95472002-02-26 Zack Weinberg <zack@codesourcery.com>
9548
9549 * doc/cpp.texi: Clarify documentation of relationship between
9550 #line and #include.
9551
b42cff6b
KH
95522002-02-26 Kazu Hirata <kazu@hxi.com>
9553
9554 * config/h8300/h8300-protos.h: Update the prototype for
9555 compute_logical_op_length. Add the prototype for
9556 compute_logical_op_cc.
9557 * config/h8300/h8300.c (compute_logical_op_length): Figure out
9558 code from operands.
9559 (compute_logical_op_cc): New.
9560 * config/h8300/h8300.md: Combine all the logical op patterns
9561 in HImode and SImode. Use compute_logical_op_cc.
9562
831c4e87
KC
95632002-02-26 Kelley Cook <kelleycook@comcast.net>
9564
9565 * config/i386/i386.c (print_operand): Don't append ATT-style
9566 length suffixs to x87 opcodes when in Intel mode.
9567
ff88fe10
RS
95682002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
9569
9570 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
9571 (init_emit_once): Update calls.
9572 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
9573 (init_syntax_once): Prototype.
9574
d4108589
JDA
95752002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
9576
9577 * pa-linux.h (LIB_SPEC): Update definition.
9578 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
9579
e013f3c7
RH
95802002-02-26 Richard Henderson <rth@redhat.com>
9581
9582 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
9583 if we emitted a stop bit.
9584
9e944a16
JJ
95852002-02-26 Jakub Jelinek <jakub@redhat.com>
9586
9587 * configure.in (libgcc_visibility): Substitute.
9588 * configure: Rebuilt.
9589 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
9590 defined symbols .hidden.
9591
47bd70b5
JJ
95922002-02-26 Jakub Jelinek <jakub@redhat.com>
9593
9594 * attribs.c (c_common_attribute_table): Add visibility.
9595 (handle_visibility_attribute): New function.
9596 * varasm.c (assemble_visibility): New function.
9597 * output.h (assemble_visibility): Add prototype.
9598 * tree.h (MODULE_LOCAL_P): Define.
9599 * crtstuff.c (__dso_handle): Use visibility attribute.
9600 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
9601 for MODULE_LOCAL_P symbols too.
9602 * config/ia64/ia64.c (ia64_encode_section_info): Handle
9603 MODULE_LOCAL_P symbols the same way as local symbols.
9604 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
9605 into .sdata/.sbss by the user.
9606 * doc/extend.texi (Function Attributes): Document visibility
9607 attribute.
9608
6d73371a
JJ
96092002-02-26 Jakub Jelinek <jakub@redhat.com>
9610
9611 PR debug/5770
9612 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
9613 STRING_CST initializer spanning the whole variable without
9614 embedded zeros.
9615 If expand_expr returned MEM, don't use it.
9616
06e224f7
AO
96172002-02-26 Alexandre Oliva <aoliva@redhat.com>
9618
9619 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
9620 generate a die for the lexical block.
9621
40367e2d
KH
96222002-02-26 Kazu Hirata <kazu@hxi.com>
9623
9624 * config/h8300/h8300-protos.h: Add a prototype for
9625 compute_logical_op_length.
9626 * config/h8300/h8300.c (compute_logical_op_length): New.
9627 * config/h8300/h8300.md (anonymous logical patterns): Use
9628 compute_logical_op_length for length.
9629
0e98f924
AH
96302002-02-26 Aldy Hernandez <aldyh@redhat.com>
9631
831c4e87
KC
9632 * dwarf2out.c (modified_type_die): Do not call type_main_variant
9633 for vectors.
9634 (gen_type_die): Same.
0e98f924 9635
831c4e87 9636 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 9637
a50cfd52
DE
96382002-02-26 Daniel Egger <degger@fhm.edu>
9639
831c4e87
KC
9640 * config/rs6000/rs6000.md: Swap define_insn attributes to
9641 fix incorrect generation of merge high instructions instead
9642 of merge low.
a50cfd52 9643
b7997284
AH
96442002-02-26 Aldy Hernandez <aldyh@redhat.com>
9645
831c4e87
KC
9646 * c-typeck.c (really_start_incremental_init): Use
9647 bitsize_zero_node for vectors.
b7997284 9648
376aec5d
AH
96492002-02-26 Aldy Hernandez <aldyh@redhat.com>
9650
831c4e87
KC
9651 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
9652 ("*set_vrsave_internal"): Same.
376aec5d 9653
3b40e71b
RH
96542002-02-25 Richard Henderson <rth@redhat.com>
9655
9656 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
9657 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
9658
232b8f52
JJ
96592002-02-25 Jakub Jelinek <jakub@redhat.com>
9660
9661 PR target/5755
9662 * config/i386/i386.c (ix86_return_pops_args): Only pop
9663 fake structure return argument if it was passed on the stack.
9664
67282790
JM
96652002-02-25 Jason Merrill <jason@redhat.com>
9666
9667 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
9668 RESULT_DECL.
9669
5c181756
AO
96702002-02-25 Alexandre Oliva <aoliva@redhat.com>
9671
9672 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
9673 link with shared_name only.
9674 * doc/invoke.texi (Link Options): Document new behavior.
9675
6786d201
AH
96762002-02-25 Aldy Hernandez <aldyh@redhat.com>
9677
831c4e87 9678 * c-typeck.c (push_init_level): Handle vectors.
6786d201 9679
7d6040e8
AO
96802002-02-25 Alexandre Oliva <aoliva@redhat.com>
9681
9682 * config/sparc/sparc.c (const64_high_operand): Zero-extend
9683 operands of SPARC_SETHI_P.
9684 (input_operand): Likewise.
9685 (sparc_emit_set_const32): Likewise.
9686 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
9687 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
9688 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
9689 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
9690 (movdi_insn_sp64_vis): Likewise.
9691 (movdi split, movdf split): Use SETHI32.
9692 * doc/md.texi: Document SPARC constraints L, M and N.
9693
b188f760
AH
96942002-02-25 Aldy Hernandez <aldyh@redhat.com>
9695
831c4e87
KC
9696 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
9697 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 9698
831c4e87
KC
9699 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
9700 gen_get_vrsave_internal.
b188f760 9701
8041889f
RK
9702Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9703
9704 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
9705
a47ed310
NB
97062002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
9707
9708 * cpplex.c (cpp_interpret_charconst): Get signedness or
9709 otherwise of wide character constants correct.
9710 * cppexp.c (lex): Get signedness of wide charconsts correct.
9711
cb8f73be
RK
9712Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9713
9714 * optabs.c (widen_operand): Only call convert_modes for
9715 promoted SUBREG if signedness matches.
9716 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
9717
2450e0b8
NB
97182002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9719
9720 * cpplib.c (glue_header_name): Use local buffer to build up
9721 header name.
9722
70b6aaed
NB
97232002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9724
9725 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
9726
6be580c7
KH
97272002-02-23 Kazu Hirata <kazu@hxi.com>
9728
9729 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
9730 H8/300[HS] separately.
9731 * config/h8300/h8300.md: Remove the early clobber constraint
9732 from bit field patterns.
9733
35dad9f1
KH
97342002-02-23 Kazu Hirata <kazu@hxi.com>
9735
9736 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
9737 register_operand.
9738 (mulhisi3): Likewise.
9739 (umulqisi3): Likewise.
9740 (umulhisi3): Likewise.
9741
ab8e2228
NB
97422002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9743
9744 * cppinit.c (output_deps): Correct test for stdout output.
9745 (init_dependency_output): Cure warning.
9746
ac6f8a15
RK
9747Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9748
9749 * expr.c (store_expr): When converting expression to promoted
9750 equivalent type, allow using SUBREG_REG of TARGET as the target
9751 of the expansion of EXP.
9752 * loop.c (basic_induction_var, case SUBREG): Always look inside.
9753 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
9754 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
9755 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
9756 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
9757
f282ffb3
JM
97582002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
9759
9760 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
9761 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
9762 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
9763
44c5edc0
JJ
97642002-02-23 Jakub Jelinek <jakub@redhat.com>
9765
9766 PR optimization/5747
9767 * loop.c (scan_loop): Update reg info if move_movables created new
9768 pseudos.
9769
f98e43c0
DE
97702002-02-23 David Edelsohn <edelsohn@gnu.org>
9771
9772 * gcc.c (init_gcc_spec): Revert last change.
9773
e72247f4
DE
97742002-02-23 David Edelsohn <edelsohn@gnu.org>
9775
9776 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
9777 gpc_reg_operand constraint.
9778
97792002-02-23 Alan Modra <amodra@bigpond.net.au>
9780
9781 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
9782 Simplify comparison of `low'.
9783 (add_operand): Fix formatting.
9784 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 9785 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
9786 (rs6000_stack_info): Remove redundant test setting push_p.
9787 (output_toc): Fix formatting.
9788 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
9789 cc_reg_not_cr0_operand constraint.
9790 (booldi3, boolcdi3 splitters): Same.
9791
a5c30531
AH
97922002-02-23 Aldy Hernandez <aldyh@redhat.com>
9793
831c4e87 9794 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 9795
43710f9f
DE
97962002-02-22 David Edelsohn <edelsohn@gnu.org>
9797
9798 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
9799 gcc invoked with -shared-libgcc.
9800
3256b817
JJ
98012002-02-22 Jakub Jelinek <jakub@redhat.com>
9802
9803 PR c++/5748
9804 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
9805 decl if any of elements was TREE_USED.
9806
9e0625a3
AO
98072002-02-22 Alexandre Oliva <aoliva@redhat.com>
9808
9809 * config/sparc/sol2.h: Don't include sys/mman.h.
9810 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
9811 (arith_4096_operand): Don't throw high bits away.
9812 (const64_operand): Take sign extension of CONST_INTs into account.
9813 (const64_high_operand, sparc_emit_set_const32): Likewise.
9814 (GEN_HIGHINT64): Likewise.
9815 (sparc_emit_set_const64_quick1): Likewise.
9816 (const64_is_2insns): Likewise.
9817 (print_operand): Use trunc_int_for_mode for sign extension.
9818 * config/sparc/sparc.h (SMALL_INT32): Likewise.
9819 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
9820 chars. Assume CONST_INT is already properly sign-extended.
9821 (movdi split): Sign-extend each SImode part.
9822 (andsi3 split): Don't mask high bits off, so that result
9823 remains properly sign-extend.
9824 (iorsi3 split): Likewise.
9825 (xorsi3 split): Likewise.
9826
54fec3d5
RS
98272002-02-22 Richard Sandiford <rsandifo@redhat.com>
9828
9829 * fold-const.c (fold): Fix typo in comments.
9830
667ada9b
DN
98312002-02-21 Diego Novillo <dnovillo@redhat.com>
9832
9833 * Makefile.in (langhooks.o): Update dependencies.
9834
29ac78d5
DN
98352002-02-21 Diego Novillo <dnovillo@redhat.com>
9836
9837 * langhooks.c: Include flags.h.
9838
6aa77e6c
AH
98392002-02-21 Aldy Hernandez <aldyh@redhat.com>
9840
9841 * testsuite/gcc.dg/attr-alwaysinline.c: New.
9842
9843 * c-common.c (c_common_post_options): Set inline trees by
9844 default.
9845
9846 * doc/extend.texi (Function Attributes): Document always_inline
9847 attribute.
9848 Update documentation about inlining when not optimizing.
9849
9850 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
9851
9852 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
9853 unless DECL_ALWAYS_INLINE.
9854
9855 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
9856 unless DECL_ALWAYS_INLINE.
9857 (c_disregard_inline_limits): Disregard if always_inline set.
9858
9859 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
9860 Disregard if always_inline set.
9861 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
9862 unless DECL_ALWAYS_INLINE.
9863
9864 * attribs.c (handle_always_inline_attribute): New.
9865 (c_common_attribute_table): Add always_inline.
9866
9867 * config/rs6000/altivec.h: Add prototypes for builtins
9868 requiring the always_inline attribute.
9869
c410d49e
EC
98702002-02-21 Eric Christopher <echristo@redhat.com>
9871
9872 * expmed.c (store_bit_field): Try to simplify the subreg
9873 before generating a new one when when the mode size of
9874 value is less than maxmode.
9875
e3c8ea67
RH
98762002-02-21 Richard Henderson <rth@redhat.com>
9877
9878 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
9879 than gen_rtx_PLUS to form the sum.
9880 * explow.c (force_reg): Rearrange to not allocate new pseudo
9881 when force_operand returns a register.
9882 * expr.c (expand_assignment): Allow offset_rtx expansion to
9883 return a sum. Do not force addresses into registers.
9884 (expand_expr): Likewise.
9885 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
9886 to canonicalize arithmetic that didn't simpify.
9887 (simplify_plus_minus): New argument force; update
9888 all callers. Don't split CONST unless we can do something with it,
9889 and wouldn't lose the constness of the operands.
9890
9891 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
9892 that we generated earlier.
9893
c1a046e5
TT
98942002-02-21 Tom Tromey <tromey@redhat.com>
9895
9896 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9897 (output_line_info): Use constant `1', with a long explanatory
9898 comment.
9899 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
9900
31fbaad4
R
9901Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
9902
9903 * jump.c (redirect_jump): If old label has no UID, don't try to
9904 delete it.
9905
a7f52356
R
9906Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
9907
9908 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
9909 If input is constant, do shifts at compile time.
9910
924fcc4e
JM
99112002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
9912
9913 * doc/extend.texi: Fix some more overfull hboxes.
9914
e5a20888
JJ
99152002-02-21 Jakub Jelinek <jakub@redhat.com>
9916
9917 PR optimization/4994
9918 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
9919 register moves.
9920
99212002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
9922
9923 PR c++/4574
9924 * expr.h (expand_and): Add mode argument.
9925 * expmed.c (expand_and): Add mode argument.
9926 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
9927 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
9928 * except.c (expand_builtin_extract_return_addr): Likewise.
9929 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
9930 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
9931 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
9932 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
9933 * config/c4x/c4x.md: Use GEN_INT (x) instead of
9934 gen_rtx (CONST_INT, VOIDmode, x).
9935
7133e992
JJ
99362002-02-21 Jakub Jelinek <jakub@redhat.com>
9937
9938 PR c/4697:
9939 * stmt.c (warn_if_unused_value): Move side effects test once more.
9940
e2ec05a6
TG
99412002-02-20 Torbjorn Granlund <tege@swox.com>
9942
9943 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 9944 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 9945
9dd791c8
AO
9946Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
9947
9948 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
9949 SUBREG or ZERO_EXTEND.
9950
7ab56274
R
9951Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
9952
9953 * sh.h (current_function_anonymous_args): Remove.
9954 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
9955 of current_function_varargs and current_function_stdarg is set.
9956 * sh.c (sh_expand_prologue): Check current_function_varargs /
9957 current_function_stdarg / TARGET_SH5 instead of
9958 current_function_anonymous_args.
9959
9960 * sh64.h (TARGET_VERSION): Define.
9961
b1765bde
DE
99622002-02-20 David Edelsohn <edelsohn@gnu.org>
9963
9964 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
9965 VRSAVE_REGNO on TARGET_ALTIVEC.
9966
99672002-02-20 Alan Modra <amodra@bigpond.net.au>
9968
9969 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
9970 bits of SImode const_int.
9971 (includes_rshift_p): Likewise.
9972 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 9973 mode.
b1765bde
DE
9974 (rs6000_output_function_epilogue): Pad traceback table to word.
9975 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
9976 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
9977 mask64_operand with correct mode.
b1765bde
DE
9978 (FUNCTION_ARG_REGNO_P): Correct parentheses.
9979
149d6f9e
JJ
99802002-02-20 Jakub Jelinek <jakub@redhat.com>
9981
9982 PR debug/4461
9983 * varasm.c (get_pool_constant_mark): New.
9984 * rtl.h (get_pool_constant_mark): Add prototype.
9985 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
9986 be represented if it has not been output.
9987
4161da12
AO
99882002-02-20 Alexandre Oliva <aoliva@redhat.com>
9989
9990 * combine.c (do_SUBST): Sanity check substitutions of
9991 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
9992 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
9993 CONST_INT into its operand.
9994 (known_cond): Likewise, for ZERO_EXTEND.
9995 * simplify-rtx.c (simplify_unary_operation): Fix condition to
9996 allow for simplification of wide modes. Reject CONST_INTs in
9997 ZERO_EXTEND when their actual mode is not given.
9998
3704ef74
AO
99992002-02-20 Alexandre Oliva <aoliva@redhat.com>
10000
10001 * c-decl.c (pushdecl): If no global declaration is found for an
10002 extern declaration in block scope, try a limbo one.
10003
7552da58
JJ
100042002-02-20 Jakub Jelinek <jakub@redhat.com>
10005
10006 PR c++/4401
10007 * c-common.c (pointer_int_sum): Moved from...
10008 * c-typeck.c (pointer_int_sum): ...here.
10009 * c-common.h (pointer_int_sum): Add prototype.
10010
00fae85d
JJ
100112002-02-20 Jakub Jelinek <jakub@redhat.com>
10012
10013 PR c++/5713
10014 * c-decl.c (duplicate_decls): Return 0 if issued error about
10015 redeclaration.
10016
4636c87e
JJ
100172002-02-20 Roger Sayle <roger@eyesopen.com>
10018 Jakub Jelinek <jakub@redhat.com>
10019
10020 PR c/4389
10021 * tree.c (host_integerp): Ensure that the constant integer is
10022 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
10023 when pos is zero or non-zero respectively. Clarify comment.
10024 * c-format.c (check_format_info_recurse): Fix host_integerp
10025 usage; the pos argument should be zero when assigning to a
10026 signed HOST_WIDE_INT.
10027
59bef189
RH
100282002-02-20 Richard Henderson <rth@redhat.com>
10029
10030 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
10031 of the operand, rather than assuming TImode.
10032 (ix86_expand_binop_builtin): Cope with commutative patterns
10033 using nonimmediate_operand for both operands.
10034 (ix86_expand_timode_binop_builtin): Likewise.
10035 (ix86_expand_store_builtin): Validate operand 1.
10036 (ix86_expand_unop1_builtin): Likewise.
10037
9338ffe6 100382002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 10039
9338ffe6
PB
10040 PR 5705
10041 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
10042
f322b423
RH
100432002-02-20 Richard Henderson <rth@redhat.com>
10044
10045 PR c/5615
10046 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
10047
d94084f7
TT
100482002-02-20 Tom Tromey <tromey@redhat.com>
10049
10050 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10051 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10052 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10053 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
10054 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
10055 unconditionally.
10056
37fa124a
AM
10057Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
10058
10059 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
10060 for (const_int 0) in X not just INTVAL.
10061
6e5bb5ad
JM
100622002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
10063
10064 * doc/extend.texi: Avoid or reduce overfull hboxes.
10065
420e7dfa
DN
100662002-02-20 Diego Novillo <dnovillo@redhat.com>
10067
10068 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
10069 operations if the field does not start at a mode boundary.
10070
1b7a2af6
JS
100712001-02-20 Joel Sherrill <joel@OARcorp.com>
10072
10073 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
10074 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
10075 Also done for -Acpu and -Amachine.
10076
56cd5b95
NB
100772002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
10078
10079 * cppinit.c (init_dependency_output): Take deps output file
10080 from -o if none given with -MF. Suppress normal output.
c410d49e 10081 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
10082 * doc/cpp.texi, doc/invoke.texi: Update.
10083
042cdf71
ZW
100842002-02-19 Zack Weinberg <zack@codesourcery.com>
10085
10086 * toplev.c (output_quoted_string): Write unprintable
10087 characters with octal escapes.
10088
c1f11548
DE
100892002-02-19 David Edelsohn <edelsohn@gnu.org>
10090
10091 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
10092 really_call_used[VRSAVE_REGNO] if not Altivec.
10093
100942002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 10095
c1f11548
DE
10096 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
10097 MODE_MASK.
10098 (constant_pool_expr_1): Fix formatting.
10099 (rs6000_legitimize_reload_address): Likewise.
10100
c964d90e
RK
10101Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10102
10103 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
10104 now that we have one.
10105
ae34ac46
ZW
101062002-02-19 Zack Weinberg <zack@codesourcery.com>
10107
10108 * tree.h (struct tree_common): Remove aux. Add unused_0 at
10109 end of first block of bitfields (which was only seven bits);
10110 rename dummy to unused_1; remove comment which is no longer true.
10111
293c28ee
GS
101122002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
10113
10114 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
10115
7b8781c8
PB
101162002-02-19 Philip Blundell <pb@nexus.co.uk>
10117
0cb6c58d 10118 PR 5399
7b8781c8
PB
10119 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
10120 if generating PIC.
10121
10122 PR 5054
10123 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
10124 arm_is_longcall_p rather than inspecting call-type cookie
10125 directly.
10126 (call_value_insn) [TARGET_THUMB]: Likewise.
10127
5c464583
GS
101282002-02-19 Graham Stott <grahams@redhat.com>
10129
10130 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
10131
71c061e6
DE
101322002-02-19 David Edelsohn <edelsohn@gnu.org>
10133
10134 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
10135 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 10136 (FP_SAVE_INLINE): Delete.
71c061e6
DE
10137
10138 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
10139 * config/rs6000/eabi.asm: Remove ABI save restore routines.
10140 * config/rs6000/t-ppccomm: Build crtsavres.o.
10141 * config/rs6000/crtsavres.asm: New file.
10142
3a7731fd
PB
101432002-02-19 Philip Blundell <philb@gnu.org>
10144
10145 * config/arm/arm.c (use_return_insn): Don't reject interrupt
10146 functions.
10147 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
10148 (output_return_instruction): Allow interrupt functions to return with
10149 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
10150 (arm_expand_prologue): Subtract 4 before stacking LR in an
10151 interrupt function.
10152
14f583b8
PB
101532002-02-19 Philip Blundell <pb@nexus.co.uk>
10154
10155 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
10156 decl, not just FUNCTION_DECL.
10157 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
10158 (arm_assemble_integer): Likewise.
10159 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
10160 marked local.
c410d49e 10161
4cb7482c
MG
101622002-02-19 matthew green <mrg@eterna.com.au>
10163
10164 * config.gcc (sparc-*-netbsdelf*): Enable target.
10165 (sparc64-*-netbsd*): New target.
10166 * config/sparc/netbsd-elf.h: New file.
10167 * config/sparc/t-netbsd64: New file.
10168
2df3a718
GS
101692002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
10170
10171 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
10172
77f6c1eb
RS
101732002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
10174
10175 * doc/invoke.texi: explicitly list the style guidelines that
10176 -Weffc++ checks for.
10177
fd973d56
JH
10178Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
10179
10180 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
10181
30518e45
NB
101822002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
10183
10184 PR other/5718
10185 * gcc.c (cpp_unique_options): Treat -o as indicating object file
10186 only if not -E. If -E, pass -o through to the preprocessor.
10187
39ea5704
KH
101882002-02-19 Kazu Hirata <kazu@hxi.com>
10189
10190 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
10191 register number with an appropriate macro.
10192
7355dba7
BM
101932002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10194
10195 * doc/rtl.texi (Constants): Close @code tag.
10196
91c8aa9e
AH
101972002-02-19 Aldy Hernandez <aldyh@redhat.com>
10198
10199 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
10200 ("mmx_uavgv4hi3"): Same.
10201 ("pmulhrwv4hi3"): Same.
10202
10203 * tree-inline.c (walk_tree): Handle vectors.
10204
10205 * c-common.c (constant_expression_warning): Handle vectors.
10206 (overflow_warning): Same.
10207
10208 * sched-deps.c (sched_analyze_2): Handle vectors.
10209
10210 * rtlanal.c (rtx_unstable_p): Handle vectors.
10211 (rtx_varies_p): Same.
10212 (count_occurrences): Same.
10213 (regs_set_between_p): Same.
10214 (modified_between_p): Same.
10215 (modified_in_p): Same.
10216 (volatile_insn_p): Same.
10217 (volatile_refs_p): Same.
10218 (side_effects_p): Same.
10219 (may_trap_p): Same.
10220 (inequality_comparisons_p): Same.
10221 (replace_regs): Same.
10222 (computed_jump_p_1): Same.
10223
10224 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
10225 argument.
10226 (inner_mode_array): New.
10227 (copy_rtx): Handle vectors.
10228 (copy_most_rtx): Same.
10229 (rtx_equal_p): Same.
10230 (get_mode_alignment): Adjust for vectors.
10231
10232 * resource.c (mark_referenced_resources): Handle vectors.
10233 (mark_set_resources): Same.
10234
10235 * reload1.c (eliminate_regs): Handle vectors.
10236 (elimination_effects): Same.
10237 (scan_paradoxical_subregs): Same.
10238
10239 * reload.c (subst_reg_equivs): Handle vectors.
10240
10241 * regrename.c (scan_rtx): Handle vectors.
10242
10243 * regclass.c (reg_scan_mark_refs): Handle vectors.
10244
10245 * recog.c (find_single_use_1): Handle vectors.
10246
10247 * local-alloc.c (equiv_init_varies_p): Handle vectors.
10248 (contains_replace_regs): Same.
10249 (memref_referenced_p): Same.
10250
10251 * integrate.c (copy_rtx_and_substitute): Handle vectors.
10252 (subst_constants): Same.
10253
10254 * genattrtab.c (attr_copy_rtx): Handle vectors.
10255 (encode_units_mask): Same.
10256 (clear_struct_flag): Same.
10257 (count_sub_rtxs): Same.
10258
10259 * gcse.c (want_to_gcse_p): Handle vectors.
10260 (oprs_unchanged_p): Same.
10261 (hash_expr_1): Same.
10262 (oprs_not_set_p): Same.
10263 (expr_killed_p): Same.
10264 (compute_transp): Same.
10265 (store_ops_ok): Same.
10266
10267 * function.c (purge_addressof_1): Do not allow paradoxical subregs
10268 of vectors.
10269 (fixup_var_refs_1): Same.
10270 (instantiate_virtual_regs_1): Same.
10271
10272 * fold-const.c (operand_equal_p): Handle vectors.
10273 (fold): Same.
10274 (rtl_expr_nonnegative_p): Same.
10275
10276 * flow.c (mark_used_regs): Handle vectors.
10277
10278 * df.c (df_uses_record): Handle vectors.
10279
10280 * cselib.c (cselib_subst_to_values): Handle vectors.
10281 (cselib_mem_conflict_p): Same.
10282 (hash_rtx): Same.
10283
10284 * cse.c (canon_reg): Handle vectors.
10285 (fold_rt): Same.
10286 (cse_process_notes): Same.
10287 (count_reg_usage): Same.
10288 (canon_hash): Same.
10289
10290 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
10291
10292 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
10293
10294 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
10295 (gen_rtx): Handle CONST_VECTOR.
10296 (gen_const_vector_0): New.
10297 (copy_rtx_if_shared): CONST_VECTORs can be shared.
10298 (reset_used_flags): Same.
10299 (copy_insn_1): Same.
10300 (initializer_constant_valid_p): Handle VECTOR_CST.
10301
10302 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
10303
10304 * doc/rtl.texi (Constants): Document const_vector.
10305 (CONST0_RTX): Update for vectors.
10306 (RTL sharing): Same.
10307
10308 * print-tree.c (print_node): Add case for VECTOR_CST.
10309
10310 * tree.h (TREE_VECTOR_CST_ELTS): New.
10311 (struct tree_vector): New.
10312 (union tree_node): Add vector node.
10313 (build_vector): Add prototype.
10314
10315 * tree.def (VECTOR_CST): New.
10316
10317 * tree.c (build_vector): New.
10318
10319 * expmed.c (make_tree): Handle CONST_VECTOR.
10320
10321 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
10322 (CONST_VECTOR_ELT): New.
10323 (CONST_VECTOR_NUNITS): New.
10324
10325 * machmode.h (GET_MODE_INNER): New.
10326 (DEF_MACHMODE): Accept 8th arg.
10327
10328 * machmode.def: Add 8th argument for vector inner mode.
10329 Add inner vector modes for vectors.
10330
10331 * rtl.def (VEC_CONST): Remove.
10332 (CONST_VECTOR): New.
10333
10334 * expr.c (clear_storage): Allow vectors.
10335 (is_zeros_p): Handle VECTOR_CST.
10336
10337 * varasm.c (output_constant_pool): Handle vectors.
10338 (rtx_const): Add veclo and vechi fields.
10339 (kind): Add RTX_VECTOR.
10340 (decode_rtx_const): Add case for vector.
10341
10342 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 10343
91c8aa9e
AH
10344 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
10345 constants. Force easy vector constants into memory.
10346 (easy_vector_constant): New.
10347 (emit_easy_vector_constant): New.
10348 (rs6000_legitimize_reload_address): Do not generate bad reloads on
10349 darwin.
10350
10351 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
10352 instruction does.
10353 ("altivec_lvxl"): Same.
10354 (altivec_lvebx): Same.
10355 (altivec_lvehx): Same.
10356 (altivec_lvewx): Same.
10357 ("*movv4si_const0"): New.
10358 ("*movv4sf_const0"): New.
10359 ("*movv8hi_const0"): New.
10360 ("*movv16qi_const0"): New.
10361
d4d6d0ce
KH
103622002-02-18 Kazu Hirata <kazu@hxi.com>
10363
10364 * config/h8300/h8300.c (notice_update_cc): Use
10365 cc_status.value2.
10366
4915d3aa
KH
103672002-02-18 Kazu Hirata <kazu@hxi.com>
10368
10369 * config/h8300/h8300.md (divmod patterns): Change the
10370 constraints for operands[1] to register_operand.
10371
82be00ee
KH
103722002-02-18 Kazu Hirata <kazu@hxi.com>
10373
10374 * config/h8300/h8300-protos.h: Remove the prototype for
10375 p_operand.
10376 * config/h8300/h8300.c (p_operand): Remove.
10377 * config/h8300/h8300.md: Replace p_operand with
10378 const_int_operand.
10379
1768c26f
PB
103802002-02-18 Philip Blundell <pb@nexus.co.uk>
10381
10382 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
10383 comment.
10384 (output_return_instruction): Allow use of LDR to unstack
10385 return addresss even for interrupt handlers or when
10386 interworking. If compiling for ARMv5, use interworking-safe
10387 return instructions by default. Remove duplicated code and
10388 lengthy "strcat" sequences.
10389
ccd84f51
FS
103902002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10391
10392 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
10393 (LINK_EH_SPEC): Define.
10394 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
10395
2c153108
UW
103962002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
10397
10398 * config/s390/s390.c (s390_emit_prologue): Do not set the
10399 frame_related flag for call-clobbered registers.
10400
e95d6b23
JH
10401Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
10402
10403 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
10404 (construct_container): Fix handling of SSE operands.
10405 (ix86_expand_builtin): Fix handling of 64bit pointers.
10406 (mmx_maskmovq_rex): New pattern.
10407
c43a12b5
JH
10408Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
10409
10410 * regrename.c (kill_set_value): Handle subregs properly.
10411
aeb85a15
DB
104122002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
10413
10414 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 10415 from objc_class_name.
aeb85a15 10416
a615ca3e
RH
104172002-02-17 Richard Henderson <rth@redhat.com>
10418
10419 * config/alpha/alpha.c (some_small_symbolic_operand,
10420 some_small_symbolic_operand_1, split_small_symbolic_operand,
10421 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
10422 Handle small SYMBOL_REFs anywhere, not just inside memories.
10423 * config/alpha/alpha-protos.h: Update.
10424 * config/alpha/alpha.h (PREDICATE_CODES): Update.
10425 * config/alpha/alpha.md (small symbolic operand splitter): Update.
10426
ddb28441
RM
104272002-02-17 Roland McGrath <roland@frob.com>
10428
10429 * config.gcc (powerpc-*-gnu-gnualtivec*,
10430 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
10431 * config/rs6000/gnu.h: New file.
10432 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
10433 Grok "gnu" in rs6000_abi_name.
10434 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
10435 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
10436 Grok -mcall-gnu analogous to -mcall-linux et al.
10437 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
10438 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
10439 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
10440
f6f8ada3
JJ
104412002-02-17 Jakub Jelinek <jakub@redhat.com>
10442
10443 PR c/3444:
10444 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
10445 shortening.
10446
e16b32fc
PT
104472002-02-17 Philipp Thomas <pthomas@suse.de>
10448
10449 * config/cris/cris.h: Undefine STARTFILE_SPEC and
10450 ENDFILE_SPEC before (re)defining them.
10451
f9477efd
KH
104522002-02-17 Kazu Hirata <kazu@hxi.com>
10453
10454 * config/h8300/h8300.c: Fix formatting.
10455 * config/h8300/h8300.h: Likewise.
10456
404ae494
PT
104572002-02-17 Philipp Thomas <pthomas@suse.de>
10458
10459 * doc/tm.texi: Explain why empty strings should not be
10460 marked for translation.
10461
a52453cc
PT
104622002-02-17 Philipp Thomas <pthomas@suse.de>
10463
10464 * final.c (output_operand_lossage): Changed to accept
10465 printf style arguments. Change calls where necessary.
10466 * output.h (output_operand_lossage): Change declaration
10467 accordingly. Update copyright.
10468 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
10469 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
10470 Update copyright date where necessary.
c410d49e 10471
a52453cc
PT
10472 * config/i386/i386.c (print_operand): Likewise. Remove use of
10473 sprintf.
10474
10475 * config/cris/cris.c (cris_operand_lossage): Likewise.
10476 Rename parameter so that exgettext recognizes it as
10477 translatable message.
10478 (LOSE_AND_RETURN): Rename parameter to msgid.
10479
1c11abc4
KH
104802002-02-17 Kazu Hirata <kazu@hxi.com>
10481
10482 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
10483 hard coded register number with an appropriate macro.
10484 (HARD_REGNO_MODE_OK): Likewise.
10485 (ARG_POINTER_REGNUM): Likewise.
10486 (STATIC_CHAIN_REGNUM): Likewise.
10487 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
10488 * config/h8300/h8300.md (define_constants): Define more
10489 register numbers.
10490
a5d17ff3
PT
104912002-02-17 Philipp Thomas <pthomas@suse.de>
10492
10493 * config/i386/i386.h: Don't mark empty strings for translation.
10494
1a7289c4
L
104952002-02-16 H.J. Lu <hjl@gnu.org>
10496
10497 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
10498
afb58288
ZW
104992002-02-16 Zack Weinberg <zack@codesourcery.com>
10500
10501 * cppinit.c (merge_include_chains): Check for brack being
10502 NULL before attempting to merge it with qtail.
10503
d2af4dbd
AC
105042002-02-16 Andrew Cagney <ac131313@redhat.com>
10505
10506 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
10507 DBX_DEBUG.
10508
2e1ed1e3
JDA
105092002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10510
10511 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
10512
604c75b2
JDA
105132002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10514
10515 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
10516 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
10517 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
10518
1a42b072
RK
10519Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10520
7303604f 10521 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
10522 now only if !TARGET_FIX.
10523 (*movsi_nt_vms_fix): New pattern.
10524
c2ea1ac6
DR
105252002-02-16 Douglas B Rupp <rupp@gnat.com>
10526
10527 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
10528 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
10529 (alpha_sa_mask, alpha_sa_size): Reflect above change.
10530 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
10531 (alpha_start_function, alpha_expand_epilogue): Likewise.
10532 (unicosmk_gen_dsib): Likewise.
10533
725e58b1
RK
10534Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10535
10536 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
10537
13e58269
UW
105382002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
10539
c410d49e 10540 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
10541 check_and_change_labels, s390_final_chunkify): Delete.
10542 (s390_split_branches, s390_chunkify_pool): New functions.
10543 (s390_function_prologue): Call them.
c410d49e 10544
13e58269
UW
10545 * config/s390/s390.h (S390_REL_MAX): Delete.
10546 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
10547
c410d49e 10548 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
10549 attribute calculation.
10550
10551
34d1b01d
DE
105522002-02-15 David Edelsohn <edelsohn@gnu.org>
10553
10554 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
10555 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
10556
be5cc51a
JDA
105572002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
10558
10559 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
10560 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
10561 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
10562
ee96ce90
RS
105632002-02-15 Richard Sandiford <rsandifo@redhat.com>
10564
10565 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
10566
05fa709d
RS
105672002-02-15 Richard Sandiford <rsandifo@redhat.com>
10568
10569 * reload.c (find_dummy_reload): Check that an output register
10570 is valid for its mode.
10571
4606272b
AO
105722002-02-14 Alexandre Oliva <aoliva@redhat.com>
10573
9a360704
AO
10574 * combine.c (known_cond): After replacing the REG of a SUBREG, try
10575 to simplify it.
10576
4606272b
AO
10577 * function.c (assign_parms): Demote promoted argument passed by
10578 transparent reference.
10579
e62d89a1
JS
105802001-02-14 Joel Sherrill <joel@OARcorp.com>
10581
10582 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
10583 -Acpu() and -Amachine() to eliminate warnings.
10584
6c4cf695
UW
105852002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
10586
10587 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
10588
037f11ef
KH
105892002-02-14 Kazu Hirata <kazu@hxi.com>
10590
10591 * config/h8300/h8300-protos.h: Update the prototype for
10592 const_costs.
10593 * config/h8300/h8300.c (const_costs): Treat SET as a little
10594 more expensive operation.
10595 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
10596 reference to const_costs.
10597
fdc76b09
HPN
105982002-02-14 Hans-Peter Nilsson <hp@axis.com>
10599
10600 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
10601
d76e6800
JJ
106022002-02-14 Jakub Jelinek <jakub@redhat.com>
10603
10604 PR c/5503:
10605 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
10606 use arguments from newtype.
10607
5ae590d7
EC
106082002-02-13 Eric Christopher <echristo@redhat.com>
10609
10610 * config/mips/mips.c (override_options): Add check for march/mipsX
10611 on the same command line. Fix error message in cpu processing.
10612 Remove architecture and ISA checks.
10613
b8513691
AH
106142002-02-14 Aldy Hernandez <aldyh@redhat.com>
10615
831c4e87 10616 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 10617
831c4e87 10618 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 10619
78c875e8
AH
106202002-02-14 Aldy Hernandez <aldyh@redhat.com>
10621
831c4e87
KC
10622 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
10623 alternatives.
10624 ("*movv8hi_internal1"): Same.
10625 ("*movv16qi_internal1"): Same.
10626 ("*movv4sf_internal1"): Same.
78c875e8 10627
831c4e87
KC
10628 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
10629 not push_reload for altivec modes.
78c875e8 10630
d76e6800 106312002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
10632
10633 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
10634 all RTEMS targets including removal of #includes from config/*/rtems*.h
10635 file and adding them to tm_file setting. Added xm_defines=POSIX to
10636 many targets.
10637 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
10638 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
10639 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
10640 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
10641 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
10642 config/m68k/rtemself.h: Ditto.
10643 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
10644 config/mips/rtems64.h: Ditto.
10645 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
10646 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
10647 Ditto.
10648 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
10649 config/sparc/rtemself.h: Ditto.
10650 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
10651 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
10652 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
10653 more like arm-elf.
10654 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
10655 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
10656 target made more similar to i386-elf.
10657 * config/i386/t-rtems-i386: Added soft float support and multilibs.
10658 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
10659 be similar to config/m68k/t-m68kelf.
10660 * gthr-rtems.h: Encapsulate with extern "C" for C++.
10661
8686336f
JH
10662Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
10663
10664 * regmove.c (kill_value): Handle subregs.
10665
558740bf
JH
10666Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
10667
10668 * i386.md (mul patterns): Allow memory operand to be first;
10669 add expanders where needed; fix constraints.
10670 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
10671 Allow memory operand to be the first.
10672
10673 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
10674 operands.
10675
21117a17
JJ
106762002-02-13 Jakub Jelinek <jakub@redhat.com>
10677
10678 PR c/5681:
10679 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
10680 GET_MODE (x).
10681
ec65b2e3
JJ
106822002-02-13 Jakub Jelinek <jakub@redhat.com>
10683
10684 PR optimization/5547:
10685 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
10686 all valid IA-32 address modes involving non-scaled %ebx and
10687 GOT/GOTOFF as displacement.
10688
ce50cae8
UW
106892002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
10690
10691 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
10692 after emitting ltorg insns.
10693
10694 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
10695 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
10696 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
10697 *abssf2): Fix "op_type" attribute.
10698
09eb789b
DR
106992002-02-13 Douglas B Rupp <rupp@gnat.com>
10700
2dbe67bb
DR
10701 * mkconfig.sh: Avoid using a subshell redirect.
10702 ($output.T): Change to $(output)T.
10703 (ENABLE_NLS): Remove unneeded undef.
10704
ea5b9a1f
DR
10705 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
10706 * config/alpha/x-vms (libsubdir): Define.
10707
3deb00ce
DR
10708 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
10709 register frame procedures. Optimize retrieving context.
10710
09eb789b
DR
10711 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
10712 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
10713 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
10714
1abade85
RK
10715Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10716
10717 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
10718 Make same change as for find_base_value.
10719
c283e63f
KH
107202002-02-13 Kazu Hirata <kazu@hxi.com>
10721
10722 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
10723 of QImode and SImode.
10724
86039100
KH
107252002-02-13 Kazu Hirata <kazu@hxi.com>
10726
10727 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
10728 length computation of movsi.
10729 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
10730
e1429da0
KH
107312002-02-13 Kazu Hirata <kazu@hxi.com>
10732
10733 * config/h8300/h8300.md (subqi3): Tighten the predicate for
10734 operands[2] to register_operand.
10735
aebfea10
JH
10736Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
10737
10738 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
10739
0ec4e2a8
AH
107402002-02-12 Aldy Hernandez <aldyh@redhat.com>
10741
831c4e87
KC
10742 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
10743 for altivec_lvx* and altivec_stvx*.
10744 ("*movv4si_internal"): Add constraint for loading from GPRs.
10745 ("*movv8hi_internal1"): Same.
10746 ("*movv16qi_internal1"): Same.
10747 ("*movv4sf_internal1"): Same.
0ec4e2a8 10748
831c4e87 10749 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 10750
831c4e87
KC
10751 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
10752 altivec_register_operand.
0ec4e2a8 10753
b007569d
HPN
107542002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
10755
10756 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
10757 handle SYMBOL_REF.
10758
e6834654
SS
107592002-02-13 Stan Shebs <shebs@apple.com>
10760
831c4e87
KC
10761 * c-typeck.c (digest_init): Handle vectors.
10762 (really_start_incremental_init): Same.
10763 (pop_init_level): Same.
10764 (process_init_element): Same.
e6834654 10765
831c4e87 10766 * varasm.c (output_constant): Same.
e6834654 10767
831c4e87
KC
10768 * expr.c (clear_storage): Same.
10769 (store_constructor): Same.
e6834654 10770
d9b3eb63
EC
107712002-02-12 Eric Christopher <echristo@redhat.com>
10772
10773 * explow.c (hard_function_value): Add comment explaining
10774 signed/unsigned comparison.
10775
56d44285
JJ
107762002-02-12 Jakub Jelinek <jakub@redhat.com>
10777
10778 * jump.c (never_reached_warning): Add finish argument.
10779 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
10780 real insn after end.
10781 * rtl.h (never_reached_warning): Adjust prototype.
10782 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
10783 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
10784 never_reached_warning.
10785
fc209487
GS
107862002-02-12 Graham Stott <grahams@redhat.com>
10787
10788 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
10789
1e41e866
KH
107902002-02-12 Kazu Hirata <kazu@hxi.com>
10791
10792 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
10793 logical shifts on H8/300.
10794 (shift_alg_si): Improve several shifts on H8/300.
10795 (get_shift_alg): Likewise.
10796
a36a47ad
GS
107972002-02-12 Graham Stott <grahams@redhat.com>
10798
10799 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
10800
0aacc8ed
RK
10801Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10802
10803 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
10804 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
10805
a02ac966
HPN
108062002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
10807
10808 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
10809 non-CONST_INT through default_assemble_integer.
10810 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
10811 <case 8>: Abort for CONST_DOUBLE.
10812
d6e06ddc
JDA
108132002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
10814
10815 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
10816 is specified.
10817 * config/pa/pa-linux.h (LIB_SPEC): Delete.
10818 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
10819
515342a8
AH
108202002-02-11 Andrew Haley <aph@cambridge.redhat.com>
10821
10822 * config/stormy16/stormy16.md (zero_extendqihi2): New.
10823
cddd8b72
AO
108242002-02-11 Alexandre Oliva <aoliva@redhat.com>
10825
66df7a98
AO
10826 * regrename.c (regrename_optimize): Don't accept a
10827 part-clobbered register if the replaced register is not part
10828 clobbered.
10829
841404cd
AO
10830 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
10831 take padding into account when computing the argument value.
10832
1d1ade42
AO
10833 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
10834
cddd8b72
AO
10835 * combine.c (try_combine): Apply substitutions in
10836 CALL_INSN_FUNCTION_USAGE too.
10837
5c665b88
AH
108382002-02-11 Aldy Hernandez <aldyh@redhat.com>
10839
77f6c1eb
RS
10840 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
10841 __builtin_altivec_abs*.
10842 (bdesc_abs): New.
5c665b88 10843
77f6c1eb
RS
10844 * config/rs6000/rs6000.h (rs6000_builtins): Add
10845 ALTIVEC_BUILTIN_ABS*.
5c665b88 10846
77f6c1eb
RS
10847 * config/rs6000/altivec.h: Use const char for builtins expecting
10848 literals.
10849 (vec_abs): New versions for C and C++.
10850 (vec_abss): Same.
5c665b88 10851
3494f1b4
KH
108522002-02-10 Kazu Hirata <kazu@hxi.com>
10853
10854 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
10855 using Pmode.
10856
72431aef
KH
108572002-02-10 Kazu Hirata <kazu@hxi.com>
10858
10859 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
10860 constant definition from h8300.md.
10861 (FRAME_POINTER_REGNUM): Likewise.
10862 * config/h8300/h8300.md (define_constants): Add FP_REG.
10863
87e4ee91
KH
108642002-02-10 Kazu Hirata <kazu@hxi.com>
10865
10866 * config/h8300/h8300.c (print_operand): Remove redundant code.
10867
9c188705
KH
108682002-02-10 Kazu Hirata <kazu@hxi.com>
10869
10870 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
10871 * config/h8300/h8300.c (byte_reg): Make it static.
10872
fba78abb
RH
108732002-02-10 Richard Henderson <rth@redhat.com>
10874
10875 PR c/5623
10876 * c-typeck.c (incomplete_type_error): Handle flexible array members.
10877
65739e62
RH
108782002-02-10 Richard Henderson <rth@redhat.com>
10879
10880 PR c++/5624
10881 * tree.c (append_random_chars): Don't abort if main_input_filename
10882 does not exist.
10883
247cb9df
HPN
108842002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
10885
10886 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
10887
232bd029
KH
108882002-02-10 Kazu Hirata <kazu@hxi.com>
10889
65739e62 10890 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
10891 (pushhi1): Likewise.
10892
276ef573
JDA
108932002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
10894
10895 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
10896 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
10897
617e9ee5
DB
108982002-02-09 David O'Brien <obrien@FreeBSD.org>
10899
10900 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
10901 remove MASK_VIS.
10902 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
10903
6dfa4005
KH
109042002-02-09 Kazu Hirata <kazu@hxi.com>
10905
10906 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
10907 a half of an SImode register on H8/300.
10908
749e7b80
JH
10909Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
10910
10911 * i386.md (movdi_2): Add missing '!'.
10912
ca77d87c
KH
109132002-02-09 Kazu Hirata <kazu@hxi.com>
10914
10915 * config/h8300/h8300.h: Fix formatting. Remove commented-out
10916 definitions.
10917
16c96304
KH
109182002-02-09 Kazu Hirata <kazu@hxi.com>
10919
10920 * config/h8300/h8300.md (length): Correct the distance valid
10921 for the short branch.
10922
a364bc90
KH
109232002-02-09 Kazu Hirata <kazu@hxi.com>
10924
10925 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
10926
e4ec2cac
AO
109272002-02-09 Alexandre Oliva <aoliva@redhat.com>
10928
a138247b
AO
10929 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
10930 registers in SImode.
10931 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
10932 part-clobbered.
10933
2b1fd83f
AO
10934 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
10935 patch.
d9b3eb63 10936
fa5322fa
AO
10937 Contribute sh64-elf.
10938 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
10939 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
10940 (sh_cannot_modify_jumps_p): New function.
10941 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
10942 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
10943 (sh_ms_bitfield_layout_p): New function.
10944 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
10945 Zack Weinberg <zack@codesourcery.com>
10946 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
10947 expand_simple_binop instead of expand_binop.
10948 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
10949 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
10950 use of .quad and .uaquad.
10951 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
10952 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
10953 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10954 * config/sh/sh.md (movdi_const, movdi_const_32bit,
10955 movdi_const_16bit): Make sure all CONSTs have modes.
10956 (sym2PIC): Ditto, but by adjusting all callers.
10957 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
10958 if the prologue calls the SHmedia argument decoder or register
10959 saver.
10960 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10961 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
10962 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
10963 (sh_expand_epilogue): Don't emit USE of return target register.
10964 (prepare_move_operands): Legitimize DImode PIC addresses.
10965 (sh_media_register_for_return): Skip tr0, used to initialize the
10966 PIC register.
10967 (sh_expand_prologue): Remove explicit USE of return register.
10968 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
10969 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
10970 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
10971 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
10972 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
10973 EXTRA_CONSTRAINT_T.
10974 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
10975 (MOVI_SHORI_BASE_OPERAND_P): New.
10976 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
10977 (EXTRA_CONSTRAINT_T): Define in terms of them.
10978 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
10979 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
10980 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
10981 alternatives supporting TARGET_REGS.
10982 (UNSPEC_GOTPLT): New constant.
10983 (movdi split): Move incrementing of LABEL_NUSES...
10984 (movdi_const, movdi_const_32bit): Here. Use
10985 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
10986 (movdi_const_16bit): New.
10987 (call, call_value) [flag_pic]: Use GOTPLT.
10988 (call_pop, call_value_pop): New expands.
10989 (call_pop_compact, call_pop_rettramp): New insns.
10990 (call_value_pop_compact, call_value_pop_rettramp): New insns.
10991 (sibcall) [flag_pic]: Use GOT.
10992 (builtint_setjmp_receiver): Remove bogus, unused expand.
10993 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
10994 (*pt, *ptb, ptrel): New insns.
10995 (sym2GOT): Handle DImode GOT.
10996 (sym2GOTPLT, symGOTPLT2reg): New expands.
10997 (sym2PIC): New expand.
10998 (shcompact_return_tramp): Use GOTPLT to return trampoline.
10999 (shcompact_return_tramp_i): Use return register explicitly.
11000 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
11001 disable flag_reorder_blocks.
11002 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
11003 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
11004 clobbers, for clarity.
11005 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
11006 restoring of r0 in macl as MAYBE_DEAD.
11007 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
11008 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
11009 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
11010 alter_subreg all over.
11011 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
11012 reload, instead of emitting instructions that would require
11013 reloading.
11014 (casesi_load_media): Add missing modes.
11015 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
11016 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
11017 as used if the argument decoder is called.
11018 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
11019 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
11020 Pmode, then extend it to DImode if necessary.
11021 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
11022 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
11023 constants in FPU-enabled SHmedia, let them be loaded from memory.
11024 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
11025 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
11026 Adjust whitespace in assembly output templates.
11027 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
11028 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
11029 mode of if_then_else.
11030 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
11031 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
11032 sh.h.
11033 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
11034 Joern Rennecke <amylaar@redhat.com>
11035 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
11036 (SUBTARGET_CPP_PTR_SPEC): New.
11037 (SUBTARGET_CPP_SPEC): Remove.
11038 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
11039 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
11040 Fix typo in previous checkin.
11041 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
11042 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
11043 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
11044 Alexandre Oliva <aoliva@redhat.com>
11045 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
11046 what single FP register can hold for SHmedia target.
11047 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
11048 Alexandre Oliva <aoliva@redhat.com>
11049 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
11050 Do not split into SUBREG.
11051 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
11052 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
11053 and added new functions as specified in SH5 ABI r9.
11054 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
11055 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
11056 8-byte boundary.
11057 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
11058 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
11059 gen_consttable_4 and gen_consttable_8. Emit multiple labels
11060 and consttable_window_ends.
11061 2001-06-03 Graham Stott <grahams@redhat,com>
11062 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
11063 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
11064 * config/sh/sh.c (print_operand): Handle floating-point pair,
11065 vector and matrix registers.
11066 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
11067 vector modes into account.
11068 * config/sh/sh.md (movv2sf): Split move between registers into
11069 movdf.
11070 (movv4sf, movv16sf): Introduce insns that get split only after
11071 reload.
11072 * config/sh/shmedia.h: Fix Copyright dates.
11073 * config/sh/ushmedia.h: Likewise. Move loop counter
11074 declarations into conditionals that uses them.
11075 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
11076 loop boundary.
11077 * config/sh/sshmedia.h: Fix Copyright dates.
11078 (sh_media_PUTCFG): Fix constraints.
11079 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
11080 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
11081 ptrmemfunc_vbit_in_delta for SH5.
11082 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
11083 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
11084 * invoke.texi: Likewise.
11085 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
11086 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
11087 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
11088 GCC_pop_shmedia_regs_nofpu): New global symbols.
11089 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
11090 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
11091 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
11092 compact function with nonlocal labels.
11093 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
11094 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
11095 (initial_elimination_offset): Account for their stack space.
11096 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
11097 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
11098 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
11099 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
11100 least one of the operands to be a register.
11101 (movv2sf): Likewise. Renamed to movv2sf_i.
11102 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
11103 prepare_move_operands() before emitting SHmedia insns.
11104 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
11105 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
11106 Don't save nor initialize r12. Don't mis-align the stack.
11107 Pad the code with a nop.
11108 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
11109 stack.
11110 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
11111 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
11112 [__SHMEDIA__]: Implement.
11113 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
11114 * config/sh/sh.md: Set latency of `pt' closer to reality.
11115 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
11116 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
11117 Set move, load and store type attributes.
11118 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
11119 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
11120 profiling.
11121 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
11122 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
11123 * config/sh/sh.c (sh_media_register_for_return): New function.
11124 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
11125 branch-target register.
11126 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
11127 * config/sh/sh.md (return_media_i): Use any call-clobbered
11128 branch-target register.
11129 (return_media): If r18 wasn't copied in the prologue, copy it
11130 here.
11131 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
11132 Clear class FP0_REGS.
11133 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
11134 from elf.h.
11135 2001-03-08 DJ Delorie <dj@redhat.com>
11136 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
11137 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
11138 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
11139 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
11140 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
11141 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
11142 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
11143 return value correctly for call_cookie.
11144 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
11145 * config/sh/crt1.asm (start): Modified so as to call
11146 ___setup_argv_and_call_main.
11147 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
11148 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
11149 SHmedia mode.
11150 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
11151 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
11152 (STRIP_NAME_ENCODING): Use it.
11153 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
11154 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
11155 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
11156 prepare_scc_operands().
11157 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
11158 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
11159 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
11160 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
11161 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
11162 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
11163 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
11164 used in shcompact_incoming_args.
11165 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
11166 change.
11167 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
11168 mode.
11169 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
11170 Adjust accordingly.
11171 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
11172 Simplify. Adjust. Add sanity check.
11173 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
11174 FPU_SINGLE_BIT.
11175 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
11176 TARGET_SHCOMPACT.
11177 (udivsi3, divsi3): Use them.
11178 (force_mode_for_call): New insn.
11179 (call, call_value, sibcall_value): Emit it before SHcompact
11180 calls.
11181 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
11182 * config/sh/sh.md (call, call_value, sibcall): Make sure the
11183 call cookie is non-NULL before taking its value.
11184 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
11185 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
11186 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
11187 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
11188 block.
11189 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
11190 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
11191 temporary for stack adjusts. Use MACL and MACH to pass
11192 arguments to shcompact_incoming_args.
11193 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
11194 clobber r1.
11195 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
11196 (nested_trampoline): Load static chain address into r1.
11197 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
11198 2001-01-07 Alexandre Oliva <aoliva@redhat.com
11199 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
11200 fp_arith_reg_operand().
11201 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
11202 * config/sh/sh.md (casesi): Sign-extend the first two operands,
11203 and use signed compares for them.
11204 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
11205 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
11206 ones properly aligned.
11207 (find_barrier): Account for extra alignment needed for 8-byte wide
11208 constants.
11209 (machine_dependent_reorg): Require a label for the second 4-byte
11210 constant after an 8-byte one.
11211 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
11212 change.
11213 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
11214 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
11215 last_float when switching float modes.
11216 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
11217 auto-increment for general-purpose registers.
11218 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
11219 result.
11220 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
11221 for stack adjust.
11222 * config/sh/sh.c (sh_builtin_saveregs): Support using all
11223 registers for varargs.
11224 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
11225 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
11226 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
11227 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
11228 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
11229 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
11230 call_cookie accordingly.
11231 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
11232 (SHCOMPACT_BYREF): Likewise.
11233 (SHCOMPACT_FORCE_ON_STACK): New macro.
11234 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
11235 (sh_builtin_saveregs): Likewise.
11236 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11237 shcompact_incoming_args): Use new shift values. Support
11238 sequences of consecutive and non-consecutive pushes/pops.
11239 * config/sh/sh.md (return): Don't explicitly use PR_REG.
11240 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
11241 * config/sh/sh.h (TEXT_SECTION): Define.
11242 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
11243 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
11244 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
11245 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
11246 return values on FPU-enabled SHmedia.
11247 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
11248 FPU-enabled SHmedia.
11249 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
11250 value is returned in a non-FP reg and is not returned by
11251 reference.
11252 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
11253 jump_ind.
11254 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
11255 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
11256 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
11257 quad-aligned to be passed by callee-copy reference.
11258 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
11259 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
11260 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
11261 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
11262 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
11263 copying low-numbered FP regs to r7 and r8.
11264 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
11265 FP regs to general-purpose regs only if the copy was passed on the
11266 stack.
11267 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
11268 copying FP reg to r9.
11269 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
11270 copy FP regs to general-purpose regs only in outgoing calls.
11271 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1e4e95d6 11272 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
fa5322fa
AO
11273 HOST_WIDE_INT.
11274 * config/sh/sh.h (struct sh_args): Document all fields.
11275 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
11276 passed partially on the stack should not consider making
11277 sibcalls.
11278 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
11279 stack_regs only for incoming calls. When passing FP args,
11280 make sure there are FP regs available before modifying
11281 call_cookie.
11282 (SHCOMPACT_BYREF): Pass double args in general-purpose
11283 registers by reference.
11284 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
11285 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
11286 attempt to generate sibcalls if the caller got any arguments
11287 by reference.
11288 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
11289 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
11290 to 8-byte boundaries.
11291 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
11292 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
11293 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
11294 stored in the stack.
11295 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
11296 for the offsets to have the ISA bit set.
11297 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
11298 invocation. Use beq instead of bgt to mark end of sequence of
11299 loads.
11300 (shcompact_incoming_args): Fix store of r2. Use beq instead of
11301 bgt to mark end of sequence of stores.
11302 * config/sh/sh.c (arith_operand): Don't check whether
11303 CONST_OK_FOR_J for now.
11304 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
11305 instead of long for conversion.
11306 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
11307 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
11308 before passing it to fprintf.
11309 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
11310 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
11311 Call set_fpscr before reading/writing SR.
11312 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
11313 Call set_fpscr.
11314 * config/sh/lib1funcs.asm: Add `.align 2' directives before
11315 SHmedia code.
11316 (FMOVD_WORKS): Define on SH5 with FPU.
11317 (set_fpscr): Define on SH5. Remove separate _fpscr_values
11318 setting.
11319 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
11320 _fpscr_values.
11321 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
11322 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
11323 address.
11324 (ia_main_table): Ditto.
11325 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
11326 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
11327 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
11328 the definitions from sh.h.
11329 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
11330 TARGET_SH5.
11331 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
11332 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
11333 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
11334 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
11335 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
11336 Increment LABEL_NUSES.
d9b3eb63 11337
fa5322fa
AO
11338 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
11339 TARGET_SH5.
11340 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
11341 defined.
11342 * config/sh/elf.h (SIZE_TYPE): Likewise.
11343 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
11344 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11345 shcompact_incoming_args): Load switch table addresses using
11346 datalabel.
11347 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
11348 (NO_BUILTIN_SIZE_TYPE): Define.
11349 (SIZE_TYPE): Don't define.
11350 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
11351 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
11352 definition of __SH5__=32 for -m5-compact-nofpu.
11353 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
11354 ADDR_DIFF_VEC.
11355 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
11356 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
11357 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
11358 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
11359 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
11360 (INSN_LENGTH_ALIGNMENT): Likewise.
11361 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11362 * config/sh/sh.md (call, call_value, sibcall): Simplify
11363 copying of non-branch-target register.
11364 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1e4e95d6 11365 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
fa5322fa
AO
11366 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
11367 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11368 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
11369 floating-point values as structs.
11370 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
11371 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
11372 general-purpose register.
11373 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
11374 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
11375 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
11376 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
11377 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
11378 (ENCODE_SECTION_INFO): Enclose variables and constants in
11379 DATALABEL unspecs.
11380 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
11381 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
11382 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
11383 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
11384 only for LABEL_REFs. For SYMBOL_REFs, prepend
11385 SH_DATALABEL_ENCODING to the symbol name.
11386 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
11387 convert_mode().
11388 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
11389 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
11390 UNSPEC_DATALABEL.
11391 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
11392 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
11393 (DATALABEL_REF_P): Don't require CONST.
11394 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
11395 REL label.
11396 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
11397 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
11398 right.
11399 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
11400 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
11401 Use shallow_copy_rtx and PUT_MODE to change the mode of
11402 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
11403 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
11404 on SHmedia using GENERAL_REGs.
11405 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11406 bltu_media_i): Fix reversion of conditions.
11407 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
11408 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
11409 * config/sh/sh.c (output_far_jump): Save r13 in macl.
11410 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
11411 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
11412 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
11413 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
11414 (GCC_nested_trampoline): Likewise.
11415 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
11416 * config/sh/sh.c (gen_datalabel_ref): Define.
11417 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
11418 (INITIALIZE_TRAMPOLINE): Likewise.
11419 (TRAMPOLINE_ADJUST_ADDRESS): Define.
11420 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
11421 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
11422 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
11423 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
11424 (ic_invalidate): Adjust for SH5.
11425 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
11426 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
11427 _nested_trampoline.
11428 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
11429 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
11430 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
11431 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
11432 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
11433 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
11434 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
11435 * config/sh/sh.c (target_reg_operand): Match only target-branch
11436 registers and pseudos that aren't virtual registers.
11437 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11438 Copy operands that don't match target_reg_operand to pseudos.
11439 (call_media, call_value_media, sibcall_media): Use
11440 target_reg_operand instead of target_operand.
11441 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 11442 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
11443 * config/sh/sh.c (target_reg_operand): Match hardware registers
11444 other than branch-target registers.
11445 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
11446 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
11447 (fpscr_values) [SH5 == 32]: Define.
11448 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
11449 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11450 Handle function addresses coming in SUBREGs.
11451 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
11452 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11453 shcompact_return_trampoline): Use datalabel where appropriate.
11454 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
11455 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
11456 general-purpose register to copy one branch-target register to
11457 another.
11458 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
11459 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
11460 SYMBOL_REFs with VOIDmode.
11461 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11462 bltu_media_i): New insns.
11463 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
11464 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
11465 (INIT_CUMULATIVE_ARGS): Likewise.
11466 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
11467 * machmode.def (V16SFmode): New mode.
11468 * c-common.c (type_for_mode): Support V2SF and V16SF.
11469 * tree.c (build_common_tree_nodes_2): Likewise.
11470 * tree.h (tree_index): Likewise.
11471 * calls.c (emit_call_1): Take args_so_far. Adjust all
11472 callers. Introduce CALL_POPS_ARGS.
11473 * tm.texi (CALL_POPS_ARGS): Document.
11474 * config/sh/crt1.asm: Implement in SHmedia mode.
11475 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
11476 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
11477 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
11478 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
11479 Implement divsi and udivsi in SHmedia mode. Introduce
11480 SHcompact trampolines.
11481 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
11482 only in SHmedia64.
11483 (regno_reg_class): Rewrite.
11484 (fp_reg_names): Remove.
11485 (sh_register_names, sh_additional_register_names): New.
11486 (print_operand): Added `u'. Support SUBREGs in addresses.
11487 Add parentheses around shifted CONSTs.
11488 (output_file_start): Output .mode and .abi directives.
11489 (shiftcosts, addsubcosts, multcosts): Adjust.
11490 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
11491 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
11492 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
11493 bytes, not registers. Take into account the need for the
11494 SHcompact incoming args trampoline. Adjust all callers.
11495 (sh_expand_prologue): Take stack_regs into account. Call
11496 incoming args trampoline. Keep stack aligned as per SH5 ABI.
11497 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
11498 stack aligned as per SH5 ABI.
11499 (sh_builtin_saveregs): Support SH5 ABI.
11500 (sh_build_va_list, sh_va_start): Likewise.
11501 (initial_elimination_offset): Take alignment into account.
11502 Compute location of PR according to the SH5 stack frame.
11503 (arith_reg_operand): Reject branch-target registers.
11504 (shmedia_6bit_operand): New.
11505 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
11506 (target_reg_operand): Match DImode only. Accept SUBREGs.
11507 (target_operand): New.
11508 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
11509 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
11510 SIBCALL_REGS for SHmedia.
11511 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
11512 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
11513 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
11514 (TARGET_SWITCHES): New SH5 flags.
11515 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
11516 VALID_REGISTER_P to disable unsupported registers.
11517 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
11518 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
11519 (FUNCTION_ARG_PADDING): Define.
11520 (FASTEST_ALIGNMENT): Adjust.
11521 (SH_REGISTER_NAMES_INITIALIZER): New.
11522 (sh_register_names): Declare.
11523 (DEBUG_REGISTER_NAMES): Define.
11524 (REGISTER_NAMES): Define based on sh_register_names.
11525 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
11526 (sh_additional_register_names): Declare.
11527 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
11528 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
11529 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
11530 (REGISTER_NATURAL_MODE): Define.
11531 (FIRST_PSEUDO_REGISTER): Adjust.
11532 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
11533 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
11534 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
11535 (VECTOR_MODE_SUPPORTED_P): Define.
11536 (REG_CLASS_CONTENTS): Adjust.
11537 (SMALL_REGISTER_CLASSES): Adjust.
11538 (REG_ALLOC_ORDER): Adjust.
11539 (INDEX_REG_CLASS): Adjust.
11540 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
11541 (CONST_OK_FOR_LETTER_P): Adjust.
11542 (PREFERRED_RELOAD_CLASS): Adjust.
11543 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
11544 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
11545 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
11546 (FIRST_FP_PARM_REG): Adjust.
11547 (CALL_POPS_ARGS): Define.
11548 (FUNCTION_ARG_REGNO_P): Adjust.
11549 (struct sh_args): New fields.
11550 (GET_SH_ARG_CLASS): Adjust.
11551 (INIT_CUMULATIVE_ARGS): Adjust.
11552 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
11553 (FUNCTION_ARG_ADVANCE): Adjust.
11554 (FUNCTION_ARG): Adjust.
11555 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
11556 (FUNCTION_ARG_CALLEE_COPIES): Define.
11557 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
11558 (STRICT_ARGUMENT_NAMING): Define.
11559 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
11560 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
11561 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
11562 (SETUP_INCOMING_VARARGS): Adjust.
11563 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
11564 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
11565 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
11566 (SUBREG_OK_FOR_INDEX_P): Adjust.
11567 (EXTRA_CONSTRAINT_S): Update.
11568 (EXTRA_CONSTRAINT_T): New.
11569 (EXTRA_CONSTRAINT): Adjust.
11570 (GO_IF_LEGITIMATE_INDEX): Adjust.
11571 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
11572 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
11573 (MOVE_MAX): Adjust.
11574 (MAX_MOVE_MAX): Define.
11575 (Pmode): Adjust.
11576 (CONST_COSTS): Adjust.
11577 (REGISTER_MOVE_COST): Adjust.
11578 (BRANCH_COST): Adjust.
11579 (TEXT_SECTION_ASM_OP): Adjust.
11580 (DBX_REGISTER_NUMBER): Adjust.
11581 (ASM_OUTPUT_DOUBLE_INT): New.
11582 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
11583 (PREDICATE_CODES): Adjust.
11584 (PROMOTE_MODE): Adjust.
11585 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
11586 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
11587 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
11588 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
11589 (DR0_REG, DR2_REG, DR4_REG): Renumber.
11590 (TR0_REG, TR1_REG, TR2_REG): New.
11591 (XD0_REG): Renumber.
11592 (UNSPEC_COMPACT_ARGS): New.
11593 (type): Added pt and ptabs.
11594 (length): Default to 4 on SHmedia. Default pt length to 12
1e4e95d6 11595 and 20 on SHmedia32 and SHmedia64, respectively.
fa5322fa
AO
11596 (pt): New function unit.
11597 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
11598 Add whitespace between operands of SHmedia instructions.
11599 (movdicc): Fix.
11600 (adddi3_media, addsi3_media): Adjust constraints.
11601 (subsi3) [SHmedia]: Force operand 1 into a register.
11602 (udivsi3_i1_media, udivsi3_i4_media): New.
11603 (udivsi3): Support SHmedia.
11604 (divsi3_i1_media, divsi3_i4_media): New.
11605 (divsi3): Support SHmedia.
11606 (anddi3, iordi3, xordi3): Adjust constraints.
11607 (zero_extendhidi2, zero_extendqidi2): New.
11608 (extendsidi2, extendhidi2, extendqidi2): New.
11609 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
11610 (pop_e, pop_fpul, pop_4): Likewise.
11611 (movsi_media): Support FP and BT registers.
11612 (movsi_media_nofpu): New. Adjust splits to DImode.
11613 (lduw, ldub): Renamed to zero_extend* above.
11614 (movqi_media): Fix typo.
11615 (movdi_media): Support FP and BT registers.
11616 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
11617 (movdi_const_32bit): New.
11618 (shori_media): Require immediate operand. Use `u' for output.
11619 (movdf_media, movsf_media): Simplified.
11620 (movdf_media_nofpu, movsf_media_nofpu): New.
11621 (movdf, movsf): Adjust
11622 (movv2sf, movv2sf, movv16sf): New.
11623 (beq_media, beq_media_i): Adjust constraints. Don't use
11624 scratch BT register.
11625 (bne_media, bne_media_i): Likewise.
11626 (bgt_media, bgt_media_i): Likewise.
11627 (bge_media, bge_media_i): Likewise.
11628 (bgtu_media, bgtu_media_i): Likewise.
11629 (bgeu_media, bgeu_media_i): Likewise.
11630 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
11631 bunordered): Emit jump insn. Force operands to registers when
11632 needed.
11633 (jump_media, jump): Simplify.
11634 (call_compact, call_compact_rettramp): New.
11635 (call_value_compact, call_value_compact_rettramp): New.
11636 (call_media, call_value_media): Simplify.
11637 (sibcall_compact, sibcall_media): New.
11638 (call, call_value): Adjust for SHmedia and SHcompact.
11639 (sibcall, sibcall_value, untyped_call): Likewise.
11640 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
11641 (indirect_jump): Adjust for SHmedia.
11642 (casesi_jump_media): New.
11643 (nop): Re-enable for SHmedia.
11644 (call_site): Restrict to SH1.
11645 (casesi): Adjust for SHmedia.
11646 (casesi_shift_media, casesi_load_media): New.
11647 (return): Explicitly use PR register. Call return trampoline
11648 on SHcompact.
11649 (return_i): Explicitly use PR register.
11650 (shcompact_return_tramp, shcompact_return_tramp_i): New.
11651 (return_media): Adjust.
11652 (shcompact_incoming_args): New.
11653 (epilogue): Adjust.
11654 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11655 (movstrsi): Disable on SH5.
11656 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
11657 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
11658 (subsf3, subsf3_media): Likewise.
11659 (mulsf3, mulsf3_media, mac_media): Likewise.
11660 (divsf3, divsf3_media): Likewise.
11661 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
11662 (floatsisf2, fux_truncsfsi2): Likewise.
11663 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
11664 constraints.
11665 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
11666 (cmpunsf_media, cmpsf): Likewise.
11667 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
11668 (abssf2, abssf2_media): Likewise.
11669 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
11670 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
11671 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
11672 (floatsidf2, fix_truncdfsi2): Likewise.
11673 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
11674 constraints.
11675 (cmpeqdf_media, cmpgtdf_media): Likewise.
11676 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
11677 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
11678 (absdf2, absdf2_media): Likewise.
11679 (extendsfdf2, extendsfdf2_media): Likewise.
11680 (truncsfdf2, truncsfdf2_media): Likewise.
11681 * config/sh/sh64.h: New file.
11682 * config/sh/t-sh64: New file.
11683 * config/sh/shmedia.h: New file.
11684 * config/sh/ushmedia.h: New file.
11685 * config/sh/sshmedia.h: New file.
11686 * configure.in: Added sh64-*-elf.
11687 * configure: Rebuilt.
11688 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
11689 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
11690 (reg_class_from_letter): Use `b' for TARGET_REGS.
11691 (print_operand): Support `%M', `%m', `AND' and
11692 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
11693 (andcosts): Adjust for SHmedia.
11694 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
11695 Likewise.
11696 (target_reg_operand): New function.
11697 * config/sh/sh-protos.h (target_reg_operand): Declare.
11698 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
11699 FP registers on SH5.
11700 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
11701 on SH4.
11702 (TARGET_REGISTER_P): New macro.
11703 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
11704 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
11705 (EXTRA_CONSTRAINT_S): New macro.
11706 (EXTRA_CONSTRAINT): Adjust.
11707 (FLOAT_TYPE_SIZE): Define to 32.
11708 (Pmode): DImode on SHmedia.
11709 (CONST_COSTS): Adjust for SHmedia literals.
11710 (PREDICATE_CODES): Added target_reg_operand.
11711 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
11712 * config/sh/sh.md: Remove all attrs from SHmedia insns.
11713 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
11714 (cmpdi): Accept SHmedia.
11715 (movdicc_false, movdicc_true): New insns.
11716 (movdicc): New expand.
11717 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
11718 no_new_pseudos.
11719 (addsi3_media): Match `S' constraint.
11720 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
11721 (negdi2): Expand for SHmedia.
11722 (one_cmpldi2): New expand.
11723 (zero_extendsidi2): Change from expand to insn.
11724 (extendsidi2): Add constraints.
11725 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
11726 LD/ST address. Fix SI immediate loading split.
11727 (movhi_media, movqi_media, lduw, ldub): New insns.
11728 (movhi, movqi): Accept SHmedia.
11729 (shori_media, movdi_media): Relax input constraints. Split
11730 symbolic constants.
11731 (movdf_media, movsf_media): New insn. New split to movdi.
11732 (movdf, movsf): Match on SHmedia.
11733 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
11734 bgeu_media): New insns and splits. New insns with `_i' suffix.
11735 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
11736 (bunordered): New expand.
11737 (jump_compact): Renamed from `jump'.
11738 (jump_media): New insn.
11739 (jump): New expand.
11740 (call_media, call_value_media): New insns.
11741 (call, call_value): Adjust.
11742 (indirect_jump_compact): Renamed from `indirect_jump'.
11743 (indirect_jump_media): New insn.
11744 (indirect_jump): New expand.
11745 (untyped_call, return): Accept SHmedia.
11746 (return_media): New insn.
11747 (prologue, epilogue, blockage): Accept SHmedia.
11748 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11749 (sunordered): New expand.
11750 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
11751 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
11752 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
11753 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
11754 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
11755 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
11756 abssf2_media): New insns.
11757 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
11758 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
11759 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
11760 floatdidf2, floatsidf2_media, fix_truncdfdi2,
11761 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
11762 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
11763 absdf2_media): New insns.
11764 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
11765 (extendsfdf2_media, truncdfsf2_media): New insns.
11766 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
11767 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
11768 * config/sh/sh.h (CONST_OK_FOR_J): Document.
11769 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
11770 * config/sh/sh.md (adddi3): New expand.
11771 (adddi3_media, adddi3z_media): New insns.
11772 (adddi3_compact): Renamed from adddi3.
11773 (addsi3_media): Use add.l r63 to add constant zero.
11774 (subdi3): New expand.
11775 (subdi3_media): New insn.
11776 (subdi3_compact): Renamed from subdi3.
11777 (mulsidi3): New expand.
11778 (mulsidi3_media): New insn.
11779 (mulsidi3_compact): Renamed from mulsidi3.
11780 (umulsidi3): New expand.
11781 (umulsidi3_media): New insn.
11782 (umulsidi3_compact): Renamed from umulsidi3.
11783 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
11784 (ashlsi3, ashrsi3, lshrsi3): Use them.
11785 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
11786 (ashldi3, ashrdi3, lshrdi3): Use them.
11787 (zero_extendsidi2): New expand.
11788 (extendsidi2): New insn.
11789 (movsi_media): New insn. Split to movdi to load constants.
11790 (movsi): Enable for shmedia.
11791 (movdi_media): New insn. Use shori_media to load wide constants.
11792 (short_media): New insn.
11793 (movdi): Enable for shmedia.
11794 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
11795 * config/sh/sh.h (CPP_SPEC): Added `m5'.
11796 (SUBTARGET_CPP_SPEC): Added `!m5'.
11797 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
11798 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
11799 to all other SH variants.
11800 (TARGET_DEFAULT): Set to SH1_BIT.
11801 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
11802 (BITS_PER_WORD): Raise to 64 on shmedia.
11803 (MAX_BITS_PER_WORD): Change to 64.
11804 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
11805 (INT_TYPE_SIZE): Keep as 32.
11806 (UNITS_PER_WORD): Raise to 8 on shmedia.
11807 (MIN_UNITS_PER_WORD): Keep as 4.
11808 (POINTER_SIZE): Raise to 64 on shmedia.
11809 (CONST_OK_FOR_J): New macro.
11810 (CONST_OK_FOR_LETTER_P): Use it.
11811 (processor_type): Add PROCESSOR_SH5.
11812 * config/sh/sh.md: Conditionalize all expands, insns and
11813 splits to TARGET_SH1.
11814 (cpu): Added sh5.
11815 (addsi3_compact): Renamed from...
11816 (addsi3): Now an expand.
11817 (addsi3_media, subsi3_media): New insns.
11818 (subsi3): Don't negate constants with SHmedia.
11819
e4ec2cac
AO
11820 * hooks.c: New file.
11821 * hooks.h: New file.
11822 * Makefile.in (HOOKS_H): New.
11823 (TARGET_DEF_H): Added $(HOOKS_H).
11824 (OBJS): Added hooks.o.
11825 (cfgcleanup.o, bb-reorder.o): Added target.h.
11826 (hooks.o): Added dependencies.
11827 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
11828 (TARGET_INITIALIZER): this.
11829 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
11830 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
11831 * bb-reorder.c: Include target.h.
11832 (reorder_basic_blocks): Skip if cannot modify jumps.
11833 * cfgcleanup.c: Include target.h.
11834 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
11835
246a46e0
CD
118362002-02-08 Chris Demetriou <cgd@broadcom.com>
11837
831c4e87
KC
11838 * config/mips/mips.md (casesi_internal, casesi_internal_di):
11839 Protect jump delay slot instructions with .set noreorder and
11840 .set nomacro.
246a46e0
CD
11841
118422002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
11843
11844 * config/mips/mips.md (casesi_internal_di): Calculate
11845 the index into the target offset table correctly.
11846
fdf473ae
RH
118472002-02-08 Richard Henderson <rth@redhat.com>
11848
11849 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
11850 * final.c (output_addr_const): Accept and discard SUBREG.
11851 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
11852 mark them unknown instead.
11853 (simplify_subtraction): Handle RTX_UNKNOWN.
11854 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
11855
c50503ac
DE
118562002-02-08 David Edelsohn <edelsohn@gnu.org>
11857
11858 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
11859
3660d217
RH
118602002-02-08 Richard Henderson <rth@redhat.com>
11861
11862 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
11863
56547299
AJ
118642002-02-08 Andreas Jaeger <aj@suse.de>
11865
11866 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
11867 * config/i386/t-linux64: New file.
11868
1cf537c5
JJ
118692002-02-08 Jakub Jelinek <jakub@redhat.com>
11870
11871 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
11872 * c-parse.in (compstmt): Clear last_expr_type.
11873
5c7f5a5f
RH
118742002-02-07 Richard Henderson <rth@redhat.com>
11875
11876 * loop.c (strength_reduce): Sink final_value when not
11877 eliminating a biv.
11878
b1138bf3
DB
118792002-02-07 David O'Brien <obrien@FreeBSD.org>
11880
11881 * config/sparc/freebsd.h: Fix mismatched spec {.
11882
b6878a45
RH
118832002-02-07 Richard Henderson <rth@redhat.com>
11884
11885 * cfgrtl.c: Include recog.h and insn-config.h.
11886 (keep_with_call_p): Fix general_operand invocation.
11887 * Makefile.in (cfgrtl.o): Update dependencies.
11888
ae19f5ef
KH
118892002-02-07 Kazu Hirata <kazu@hxi.com>
11890
11891 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
11892 comment. Accept HImode only if TARGET_H8300.
11893
b137f9fc
EC
118942002-02-07 Eric Christopher <echristo@redhat.com>
11895
11896 * config/mips/crtn.asm: Cleanup #ifdefs.
11897
118982002-02-07 Eric Christopher <echristo@redhat.com>
11899
11900 * config/mips/crti.asm: Add changes for mips16. mips16 uses
11901 register 7 as RA instead of $31.
11902 * config/mips/crtn.asm: Ditto.
11903 * config/mips/mips.c (mips_move_2words): Add case for
11904 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
11905 (compute_frame_size): Fix typo.
11906 (save_restore_insns): Ditto. Make documentation about using
11907 register $7 as return register more precise.
11908 (mips_expand_epilogue): Fix comment. Add code to work around not
11909 being able to add to the stack pointer directly.
11910 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
11911 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
11912 epilogue.
11913
768070a0
TR
119142002-02-07 Tom Rix <trix@redhat.com>
11915
b137f9fc 11916 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
11917 immediates in ldu and stdu DS opcode field.
11918 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
11919 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
11920 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
11921
225909c3
JS
119222002-02-07 Jeff Sturm <jsturm@one-point.com>
11923
11924 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
11925 offset for stack bias.
11926
15fae023
L
119272002-02-07 H.J. Lu <hjl@gnu.org>
11928
11929 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
11930
fde5badd
UW
119312002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
11932
11933 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
11934
162f023b
JH
11935Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
11936
11937 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
11938 * i386.c (x86_order_regs_for_local_alloc): New global function.
11939 * i386.h (REG_ALLOC_ORDER): CLeanup.
11940 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
11941
9b462c42
RH
119422002-02-07 Richard Henderson <rth@redhat.com>
11943
85aa876c 11944 PR optimization/2463
9b462c42
RH
11945 * alias.c (find_base_value): Recall base values for fixed hard regs.
11946 * loop.c (loop_regs_update): Don't use single_set on non-insns.
11947
06e455a9
AO
119482002-02-07 Alexandre Oliva <aoliva@redhat.com>
11949
11950 * config/mips/mips.md (define_delay) [mips16]: Adjust required
11951 length.
11952
edd1967d
RH
119532002-02-06 Richard Henderson <rth@redhat.com>
11954
11955 PR c/5609
11956 * stmt.c (resolve_operand_name_1): Take more care with mixed
11957 named and unnamed operands.
11958
a2cd028f
JJ
119592002-02-06 Janis Johnson <janis187@us.ibm.com>
11960 Jan Hubicka <jh@suse.cz>
11961
11962 * loop.c (remove_constant_addition): Avoid clobbering a shared
11963 CONST expression.
11964
e8487c04
UW
119652002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11966
11967 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
11968 * config/s390/t-linux64: New file.
11969 * config/s390/libgcc-glibc.ver: New file.
11970
58d10f89
UW
119712002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11972
11973 * config/s390/linux64.h: Delete file.
11974 * config/s390/s390x.h: New file.
11975 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
11976 as target header file.
11977 * config/s390/linux.h (TARGET_VERSION): Define depending on
11978 DEFAULT_TARGET_64BIT.
11979 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
11980 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
11981 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
11982 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
11983 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
11984 (EXTRA_SPEC): New define.
11985 * config/s390/s390.h (TARGET_VERSION): Define depending on
11986 DEFAULT_TARGET_64BIT.
11987 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
11988
5ce89b2e
JM
119892002-02-06 Jason Merrill <jason@redhat.com>
11990
11991 * c-decl.c (finish_function): Warn about a non-void function with
11992 no return statement and no abnormal exit.
11993 (current_function_returns_abnormally): New variable.
11994 (start_function): Clear it.
11995 (struct c_language_function): Add returns_abnormally.
11996 (push_c_function_context): Save it.
11997 (pop_c_function_context): Restore it.
11998 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
11999 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
12000 an explicit return type.
12001 * c-tree.h: Declare current_function_returns_abnormally.
12002 (C_FUNCTION_IMPLICIT_INT): New macro.
12003 * c-typeck.c (build_function_call): Set it.
12004 (c_expand_return): Set current_function_returns_value even if the
12005 value is erroneous.
12006
caaf2272
JJ
120072002-02-06 Jakub Jelinek <jakub@redhat.com>
12008
12009 PR c/5420:
12010 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
12011 unsafe for reevaluation.
12012
d5129288
JJ
120132002-02-06 Jakub Jelinek <jakub@redhat.com>
12014
12015 PR c/5482:
12016 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
12017 EXPR_STMT, but COMPOUND_STMT, recurse into it.
12018
7fb75099
RH
120192002-02-06 Richard Henderson <rth@redhat.com>
12020
12021 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
12022 be a general_operand. Dest for function value must be a pseudo.
12023
d3a8b6a6
NC
120242002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
12025
12026 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
12027 as SYMBOL_REFs from the constant pool.
12028
3c1299c5
AO
120292002-02-06 Alexandre Oliva <aoliva@redhat.com>
12030
12031 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
12032 passed by invisible reference.
12033
c2c9f6c9
RH
120342002-02-05 Richard Henderson <rth@redhat.com>
12035
12036 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
12037
a824924d
HPN
120382002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
12039
12040 Implement using "base addresses" in insn operands as default.
12041 * config/mmix/mmix.c (mmix_conditional_register_usage): if
12042 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
12043 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
12044 used to read the rtx value.
12045 (mmix_target_asm_function_epilogue): Fix spacing.
12046 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
12047 (mmix_legitimate_address): Ditto.
12048 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
12049 should be loaded with a GETA insn. Don't allocate needless extra
12050 char for nul termination and fix misleading comment.
12051 (mmix_print_operand_address): Handle constants if
12052 TARGET_BASE_ADDRESSES.
12053 (mmix_output_register_setting): Use base addressing if
12054 TARGET_BASE_ADDRESSES and the number of insns is 3.
12055 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
12056 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
12057 to use R as constraint, add LDA to match s.
12058 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
12059 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
12060 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
12061 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
12062 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
12063 order with other fixed registers.
12064 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
12065 other parameter/call-clobbered registers.
12066 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
12067 -mbase-addresses, -mno-base-addresses.
12068 (MMIX Options): Ditto.
12069
73c342b9
JDA
120702002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
12071
12072 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
12073
ef238c58
AH
120742002-02-06 Aldy Hernandez <aldyh@redhat.com>
12075
831c4e87 12076 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 12077
ad08e60e
JT
120782002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
12079
12080 * config/netbsd.h (WCHAR_TYPE): Define.
12081 (WCHAR_TYPE_SIZE): Ditto.
12082 (WINT_TYPE): Ditto.
12083 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
12084 (WCHAR_UNSIGNED): Ditto.
12085 (WCHAR_TYPE_SIZE): Ditto.
12086 (WINT_TYPE): Ditto.
12087 * config/arm/netbsd.h: Likewise.
12088 * config/i386/netbsd-elf.h: Likewise.
12089 * config/i386/netbsd.h: Likewise.
12090 * config/m68k/netbsd-elf.h: Likewise.
12091 * config/m68k/netbsd.h: Likewise.
12092 * config/ns32k/netbsd.h: Likewise.
12093 * config/sparc/netbsd.h: Likewise.
12094 * config/vax/netbsd.: Likewise.
12095
f913c102
AO
120962002-02-05 Alexandre Oliva <aoliva@redhat.com>
12097
12098 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
12099 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
12100 (TARGET_INITIALIZER): this.
12101 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
12102 (BITFIELD_NBYTES_LIMITED): Markup fix.
12103 * tree.h (default_ms_bitfield_layout_p): Declare.
12104 (record_layout_info): Added prev_field.
12105 * tree.c (default_ms_bitfield_layout_p): New fn.
12106 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
12107 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
12108 * stor-layout.c: Include target.h.
12109 (start_record_layout): Initialize prev_field.
12110 (place_field): Handle MS bit-field layout, and disregard
12111 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
12112 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
12113 * Makefile.in (stor-layout.o): Adjust dependencies.
12114
c13db5d1
JM
121152002-02-05 Jason Merrill <jason@redhat.com>
12116
c13db5d1
JM
12117 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
12118
4505024e
AJ
121192002-02-05 Andreas Jaeger <aj@suse.de>
12120
12121 * crtstuff.c: Fix comments.
12122
794ad79d
RH
121232002-02-05 Richard Henderson <rth@redhat.com>
12124
2e279a9b
RH
12125 PR fortran/3393
12126 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
12127 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
12128
794ad79d
RH
12129 PR fortran/3392
12130 * config/mips/mips.c (function_arg): Handle TImode.
12131 (function_arg_advance): Likewise.
12132
8f909017
AH
121332002-02-05 Aldy Hernandez <aldyh@redhat.com>
12134
c13db5d1
JM
12135 * config/rs6000/altivec.h (vec_step_help): Rename to
12136 __vec_step_help.
8f909017 12137
66daa9e3
AH
121382002-02-05 Aldy Hernandez <aldyh@redhat.com>
12139
c13db5d1 12140 * config/rs6000/altivec.h: Fix typos.
66daa9e3 12141
2696e97b
JT
121422002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
12143
12144 * config/arm/netbsd.h: Correct a comment.
12145
3deb2758
AH
121462002-02-05 Aldy Hernandez <aldyh@redhat.com>
12147
c13db5d1
JM
12148 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
12149 building void typed builtins.
3deb2758 12150
c13db5d1
JM
12151 * config/rs6000/altivec.h (vec_ld*): Fix typos.
12152 (vec_step): Implement for C++.
3deb2758 12153
c13db5d1 12154Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
12155
12156 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
12157
ebbb0a63
RH
121582002-02-04 Richard Henderson <rth@redhat.com>
12159
12160 * combine.c (nonzero_bits): Re-introduce special case for
12161 sp/fp/ap wrt REGNO_POINTER_ALIGN.
12162
ae4b4a02
AH
121632002-02-05 Aldy Hernandez <aldyh@redhat.com>
12164
c13db5d1
JM
12165 * doc/extend.texi: Warn about unsupported usage of altivec
12166 builtins.
ae4b4a02 12167
c13db5d1
JM
12168 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
12169 (altivec_predicate_*): New.
ae4b4a02 12170
c13db5d1
JM
12171 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
12172 Add C++ version of vec_*() functions.
ae4b4a02 12173
c13db5d1
JM
12174 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
12175 (bdesc_2arg): Remove altivec predicates.
12176 (altivec_expand_builtin): Handle predicates.
12177 (altivec_init_builtins): Handle predicates.
12178 (altivec_expand_predicate_builtin): New.
ae4b4a02 12179
f6bcf44c
JDA
121802002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12181
12182 * pa.c (DO_FRAME_NOTES): Move forward.
12183 (store_reg): Revise handling of frame notes.
12184 (load_reg): Likewise.
12185 (set_reg_plus_d): Likewise.
12186 (hppa_expand_prologue): Likewise.
12187 (hppa_expand_epilogue): Likewise.
b137f9fc 12188
703b0080
JDA
121892002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12190
12191 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
12192
6f9fdf4d
JJ
121932002-02-04 Jakub Jelinek <jakub@redhat.com>
12194
12195 PR c/4475, c++/3780:
12196 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
12197 * c-common.h (SWITCH_TYPE): Define.
12198 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
12199 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
12200 Rename spareness variable to sparseness.
12201 (expand_end_case_type): Renamed from expand_end_case, use orig_type
12202 if non-NULL instead of TREE_TYPE (orig_index).
12203 * tree.h (expand_end_case_type): Renamed from expand_end_case.
12204 (expand_end_case): Define using expand_end_case_type.
12205 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
12206 to expand_end_case_type.
12207 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
12208
79109502
JDA
122092002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12210
12211 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
12212 (BIGGEST_ALIGNMENT): Change to 128.
12213
e62a5987
JDA
122142002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12215
12216 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
12217
219f24a4
JDA
122182002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
12219
12220 * pa.md (call_internal_reg_64bit): Remove unused variable.
12221
3cb66fd7
NC
122222002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
12223
12224 * config/arm/arm.h (machine_function): Add uses_anonymous_args
12225 field.
831c4e87 12226 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 12227 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
12228 replace uses with cfun->machine->uses_anonymous_args.
12229 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
12230
12231 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
12232 any geenral register.
b137f9fc 12233
5d5603e2 122342001-02-04 Bernd Schmidt <bernds@redhat.com>s
24c545ff
BS
12235
12236 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
12237 the entry block.
12238
563c12b0
RH
122392002-02-04 Richard Henderson <rth@redhat.com>
12240
12241 * combine.c (force_to_mode): Remove STACK_BIAS code.
12242 (nonzero_bits): Likewise. Replace sp/fp special case with
12243 REGNO_POINTER_ALIGN.
12244
12245 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
12246 (HARD_FRAME_POINTER_REGNUM): New.
12247 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
12248 (FIXED_REGS, CALL_USED_REGS): Update.
12249 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
12250 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
12251 (HARD_REGNO_NREGS): Update for SFP.
12252 (STACK_POINTER_OFFSET): Include bias here ...
12253 (FIRST_PARM_OFFSET): ... not here.
12254 (STACK_BIAS): Remove.
12255 (INIT_EXPANDERS): New.
12256 (STARTING_FRAME_OFFSET): Do not include bias.
12257 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12258 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
12259 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
12260 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
12261 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
12262 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
12263 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
12264 (MUST_SAVE_REGISTER): Likewise.
12265 (sparc_flat_function_prologue): Likewise.
12266 (sparc_flat_function_epilogue): Likewise.
12267 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
12268 (sparc_init_modes): SFP is GENERAL_REGS.
12269 (sparc_builtin_saveregs): SFP does not have bias applied.
12270
14691f8d
RH
122712002-02-04 Richard Henderson <rth@redhat.com>
12272
12273 * config/alpha/alpha.c (current_function_is_thunk): Don't check
12274 current_function_is_thunk.
12275 (alpha_sa_mask): Distinguish between current_function_is_thunk
12276 called from ASM_OUTPUT_MI_THUNK and not.
12277 (alpha_does_function_need_gp): Thunks always need gp.
12278 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
12279 (alpha_output_mi_thunk_osf): New.
12280 * config/alpha/alpha-protos.h: Update.
12281 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
12282
af702de8
RS
122832002-02-04 Richard Sandiford <rsandifo@redhat.com>
12284
12285 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
12286 function types, not when they're taken away.
12287
5b1cacd8
JL
12288Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
12289
12290 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
12291 CODE_LABEL and jump table when replacing a table jump with a
12292 simple jump.
12293
f3e9edff
UW
122942002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12295
12296 * config/s390/s390-protos.h (legitimize_la_operand,
12297 s390_secondary_input_reload_class, s390_plus_operand,
12298 s390_expand_plus_operand): Add prototypes.
12299
12300 config/s390/s390.c (s390_secondary_input_reload_class,
12301 s390_plus_operand, s390_expand_plus_operand): New functions.
12302
12303 (struct s390_address): New member 'pointer'.
12304 (s390_decompose_address): Compute it.
12305 (legitimate_la_operand_p): Use it.
12306 (legitimize_la_operand): New function.
12307 (movti, movdi, movdf splitters): Call it.
12308
12309 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
12310 (PREDICATE_CODES): Add s390_plus_operand.
12311
12312 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
12313 (la_ccclobber): Allow GENERAL_REGS as output operand.
12314
12315 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
12316 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
12317 (*la_64, *la_31, reload_indi, reload_insi): ... these.
12318
3c9a08ec
UW
123192002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12320
12321 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
12322 register names for regular asm () construct.
12323
ac300a45
JJ
123242002-02-04 Jakub Jelinek <jakub@redhat.com>
12325
12326 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
12327 registers.
12328
fa852403
JJ
123292002-02-04 Jakub Jelinek <jakub@redhat.com>
12330
12331 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
12332 pat for recog.
12333
fecaac37
HP
123342002-02-04 Hartmut Penner <hpenner@de.ibm.com>
12335
831c4e87
KC
12336 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
12337 constant pool to be identical by string address and index.
fecaac37 12338
10c45943
AG
123392002-02-04 Anthony Green <green@redhat.com>
12340
12341 * output.h (SECTION_OVERRIDE): Define.
12342 * varasm.c (named_section): Obey SECTION_OVERRIDE.
12343
69474c3c
JT
123442002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
12345
12346 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
12347 by existing arm*-*-netbsd* (a.out) target.
12348 (ns32k-*-netbsdelf*): Likewise.
12349 (sparc-*-netbsdelf*): Likewise.
12350 (vax-*-netbsdelf*): Likewise.
12351
939a46f6 123522002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
12353
12354 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
12355 headers and libobjc headers.
12356
123572002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
12358
12359 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
12360 (_mingw.h): Remove duplicate include.
12361
2fd95d71
JT
123622002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
12363
12364 * config.gcc: Set cpu_type to m68k for 68010, as well.
12365 (m68010-*-netbsdelf*): New...
12366 (m68k*-*-netbsdelf*): ...targets.
12367 * config/m68k/netbsd-elf.h: New file.
12368
0ea6f6a0
KH
123692002-02-02 Kazu Hirata <kazu@hxi.com>
12370
12371 * config/h8300/h8300.c (hand_list): Move inside function_arg.
12372
cbf1b2da
KH
123732002-02-02 Kazu Hirata <kazu@hxi.com>
12374
12375 * config/h8300/h8300.c (h8_push_ops): Move inside
12376 h8300_init_once.
12377 (h8_pop_ops): Likewise.
12378 (h8_move_ops): Likewise.
12379
0869f126
KH
123802002-02-02 Kazu Hirata <kazu@hxi.com>
12381
12382 * config/h8300/h8300.c (os_task): Make it static.
12383 (monitor): Likewise.
12384 (pragma_saveall): Likewise.
12385
90e65b70
AO
123862002-02-02 Alexandre Oliva <aoliva@redhat.com>
12387
12388 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
12389 constant is a valid sign-extension for Pmode.
12390
9cbcd983
KH
123912002-02-02 Kazu Hirata <kazu@hxi.com>
12392
12393 * config/h8300/h8300.c: Fix formatting.
12394
7a27efc4
KH
123952002-02-02 Kazu Hirata <kazu@hxi.com>
12396
12397 * config/h8300/h8300.md: Fix formatting.
12398
54175a44
KH
123992002-02-02 Kazu Hirata <kazu@hxi.com>
12400
12401 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
12402 predicates of operands[1]. Split the patterns for each
12403 processor variant.
12404
eceb1755
KH
124052002-02-02 Kazu Hirata <kazu@hxi.com>
12406
12407 * config/h8300/h8300.md (xor patterns): Tighten the predicates
12408 of operands[1] to register_operand.
12409
0fef3fd0
NB
124102002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12411
12412 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
12413 * cpphash.c (_cpp_init_hashtable): Similarly.
12414 * cppinit.c (cpp_create_reader): Default the signed_char flag.
12415 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
12416 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
12417 (cpp_handle_option): Handle the new options.
12418 * cpplex.c (cpp_interpret_charconst): Use new flag.
12419 * cpplib.h (struct cpp_options): New member signed_char.
12420 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
12421 (cpp_options): Handle -fsigned-char and -funsigned-char.
12422 (static_specs): Remove signed_char_spec.
12423 (do_spec1): Don't handle %c.
12424 * system.h: Poison SIGNED_CHAR_SPEC.
12425 * tradcif.y (yylex): Use flag_signed_char.
12426 * tradcpp.h (flag_signed_char): New.
12427 * tradcpp.c (flag_signed_char): New.
12428 (main): Handle new command-line options.
12429 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
12430config:
12431 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
12432 * avr/avr.h: Remove old comments.
12433 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
12434 (CC1_SPEC): Pass -fsigned-char if -mic*.
12435 (SIGNED_CHAR_SPEC): Remove.
12436doc:
12437 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
12438
0617ed52
EC
124392002-02-01 Eric Christopher <echristo@redhat.com>
12440
12441 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
12442 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
12443 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
12444 (ASM_OUTPUT_REG_POP): Ditto.
12445
dfd48d76
NB
124462002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12447
12448 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
12449 patch.
12450
4a23409e
JJ
124512002-02-02 Jakub Jelinek <jakub@redhat.com>
12452
12453 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
12454
d3c52658
JJ
124552002-02-02 Jakub Jelinek <jakub@redhat.com>
12456
12457 PR c/5304:
12458 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
12459 unconditionally.
12460
02c5a3bd
JJ
124612002-02-01 Janis Johnson <janis187@us.ibm.com>
12462
12463 * cfganal.c: Include tm_p.h.
12464 (keep_with_call_p): Fix the test that determines if a register holds
12465 the return value of a call.
12466
3968de80
DD
124672002-02-01 DJ Delorie <dj@redhat.com>
12468
12469 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
12470 we are given conflicting registers, switch to the other one we
12471 had allocated for us.
12472 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
12473 as TImode so we know when the "other" register is available.
12474
1338ea6c
DB
124752002-02-01 David O'Brien <obrien@FreeBSD.org>
12476
12477 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
12478 sparc/sparc_bi.h.
12479
f015be23
JJ
124802002-02-01 Janis Johnson <janis187@us.ibm.com>
12481
12482 * cfganal.c (keep_with_call_p): New function.
12483 (flow_call_edges_add): Prevent splitting a block between a call and
12484 a single-set instruction that should be kept in the same block.
12485
63708ffc
CR
124862002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
12487
12488 * doc/install.texi (avr): Update outdated URL.
12489
5ee4950e
AH
124902002-01-30 Andrew Haley <aph@cambridge.redhat.com>
12491
831c4e87
KC
12492 * config/stormy16/stormy16.md (pushqi): New.
12493 (popqi): New.
12494 (pushhi): New.
12495 (pophi): New.
12496 (movhi): Remove stack operands.
12497 (movqi): Likewise.
12498 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
12499 nonimmediate_nonstack_operand.
12500 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
12501 New.
12502 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
12503 New.
5ee4950e 12504
b88c0704
JM
125052002-01-31 Jason Merrill <jason@redhat.com>
12506
12507 * Makefile.in (c-parse.c): Handle .output file.
12508 * objc/Make-lang.in (objc-parse.c): Likewise.
12509
ac282977
AO
125102002-02-01 Alexandre Oliva <aoliva@redhat.com>
12511
12512 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
12513 the -me[lb] option is given. Don't output the default flag
12514 twice.
12515
bebc7e8b
ZW
125162002-01-31 Zack Weinberg <zack@codesourcery.com>
12517
12518 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
12519 the primary source file; this has not been done yet.
12520 * c-decl.c (c_expand_body): Reset input_filename from
12521 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
12522
5809eb5f
KH
125232002-01-31 Kazu Hirata <kazu@hxi.com>
12524
12525 * rtlanal.c (subreg_regno_offset): Do not use
12526 SUBREG_REGNO_OFFSET.
12527 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
12528 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
12529
8512bbd7
JM
125302002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12531
12532 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
12533 version rather than GNATS version in --version output.
12534
74cb3cc8
RS
125352002-01-31 Richard Sandiford <rsandifo@redhat.com>
12536
12537 * ifcvt.c (noce_process_if_block): Make a copy of the destination
12538 when copying back from a temporary.
12539
874b5b14
RH
125402002-01-30 Richard Henderson <rth@redhat.com>
12541
12542 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
12543 and new_dest are the same.
12544
e803a64b
RH
125452002-01-30 Richard Henderson <rth@redhat.com>
12546
89cf7be5 12547 PR opt/5076
e803a64b
RH
12548 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
12549 * rtl.c (note_insn_name): Update.
12550 * emit-rtl.c (remove_unnecessary_notes): Kill it.
12551 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
12552 to perform loop rotation.
12553 (expand_exit_loop_top_cond): New.
12554 * tree.h (expand_exit_loop_top_cond): Declare it.
12555 * c-semantics.c (genrtl_while_stmt): Use it.
12556 (genrtl_for_stmt): Likewise.
12557
0b51254d
AO
125582002-01-30 Alexandre Oliva <aoliva@redhat.com>
12559
12560 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
12561 arguments to 64-bit boundaries on 64-bit ABIs.
12562
71cef493
SE
125632002-01-30 Steve Ellcey <sje@cup.hp.com>
12564
12565 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
12566
6169e5fd
JM
125672002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12568
12569 * c-decl.c (grokdeclarator): Handle type being a typedef for an
12570 invalid type.
12571
86f808dc
DB
125722002-01-30 David O'Brien <obrien@FreeBSD.org>
12573
12574 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
12575 * config/sparc/sparc_bi.h: Remove file.
12576 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
12577
5748ebeb
RH
125782002-01-30 Richard Henderson <rth@redhat.com>
12579
12580 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
12581
20d32cc2
ZW
125822002-01-30 Zack Weinberg <zack@codesourcery.com>
12583
12584 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
12585
b88c0704 125862002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
12587
12588 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
12589 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
12590 (reg_save): Use DW_CFA_offset_extended_sf instead.
12591
12592 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
12593
37060e78
JJ
125942002-01-29 Jakub Jelinek <jakub@redhat.com>
12595
12596 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
12597 in cselib_lookup.
12598
d18dba68
AH
125992002-01-29 Aldy Hernandez <aldyh@redhat.com>
12600
bebc7e8b
ZW
12601 * rs6000.md ("*call_value_local32"): Remove constraints.
12602 ("*call_value_local64"): Same.
12603 ("*call_value_indirect_nonlocal_aix32"): Same.
12604 ("*call_value_nonlocal_aix32"): Same.
12605 ("*call_value_indirect_nonlocal_aix64"): Same.
12606 ("*call_value_nonlocal_aix64"): Same.
12607 ("*call_value_nonlocal_sysv"): Same.
d18dba68 12608
80a8aac6
RH
126092002-01-29 Richard Henderson <rth@redhat.com>
12610
12611 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
12612
12beba6f
RH
126132002-01-29 Richard Henderson <rth@redhat.com>
12614
12615 * expr.c (force_operand): Ignore flag_pic for detecting pic
12616 address loads.
12617 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
12618 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
12619 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
12620 instead of open-coded loop.
12621 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
12622 be fixed when in use.
12623
2583081e
RH
126242002-01-29 Richard Henderson <rth@redhat.com>
12625
12626 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
12627 * sched-rgn.c (propagate_deps): Update them.
12628 * sched-deps.c (sched_analyze_insn): Update them. Flush the
12629 clobbers list when either gets too long.
12630
3b8d200e
JJ
126312002-01-29 Jakub Jelinek <jakub@redhat.com>
12632
12633 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
12634 and INDEX_REGS the same as GENERAL_REGS.
12635 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12636
2d3115eb
NB
126372002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
12638
bebc7e8b 12639 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 12640
ecbe845e
UW
126412002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
12642
bebc7e8b 12643 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 12644 movstrsix_31): Remove, replace by ...
bebc7e8b 12645 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
12646 movstrsi_long): ... these. New.
12647 (movstrdi, movstrsi): Adapt.
12648
12649 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 12650 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
12651 Remove unnecessary CC clobber.
12652 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
12653 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
12654
12655 (divmoddi4): Don't partially initialize TImode register.
12656
0b32fca5
GK
126572002-01-29 Geoffrey Keating <geoffk@redhat.com>
12658
12659 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
12660
08ef5437
RH
126612002-01-29 Richard Henderson <rth@redhat.com>
12662
12663 * flow.c (print_rtl_and_abort): Remove.
12664 (print_rtl_and_abort_fcn): Remove.
12665 (verify_local_live_at_start): Use dump_bb instead.
12666 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
12667 (verify_wide_reg_1): Return 2 on mode test failure.
12668
8469e54e
NB
126692002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
12670
12671 PR c/3325, c/3326, c/2511, c/3347
12672 * c-decl.c (enum_decl_context): Remove BITFIELD.
12673 (grokdeclarator): Take bitfield width as an input.
12674 Ensure bitfields are given the correct type. Perform
12675 bitfield width validation with build_bitfield_integer_type
12676 rather than waiting for finish_struct.
12677 (grok_typename, grok_typename_in_parm_context, start_decl,
12678 push_parmdecl, grokfield, start_function): Update calls to
12679 grokdeclarator.
12680 (build_bitfield_integer_type): New function.
12681 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 12682 and build_bitfield_integer_type.
8469e54e
NB
12683 * tree.c (build_nonstandard_integer_type): New function.
12684 * tree.h (build_nonstandard_integer_type): New prototype.
12685objc:
12686 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
12687
ffdeea47
JJ
126882002-01-29 Jakub Jelinek <jakub@redhat.com>
12689
12690 PR other/1502:
12691 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
12692 don't ignore unrecognized -W* options.
12693 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
12694 * cpplib.h (cpp_handle_option): Adjust prototype.
12695 * c-decl.c (c_decode_options): Pass 0 as last argument to
12696 cpp_handle_option.
12697
12698 PR c/2896:
12699 * gcc.c (cpp_unique_options): Split from cpp_options.
12700 (cpp_options): Source cpp_unique_options.
12701 (default_compilers): Use cpp_unique_options instead of cpp_options
12702 when used together with cc1_options.
12703 (static_specs): Add cpp_unique_options.
12704 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
12705 when used together with cc1_options.
12706
1a275226
KH
127072002-01-29 Kazu Hirata <kazu@hxi.com>
12708
12709 * config/h8300/h8300-protos.h: Update the prototype of
12710 output_a_shift.
12711 * config/h8300/h8300.c (output_a_shift): Remove an unused
12712 argument 'insn'. Remove redundant code.
12713 * config/h8300/h8300.md: Adust to the new prototype of
12714 output_a_shift.
12715
a11d9dfc
KH
127162002-01-29 Kazu Hirata <kazu@hxi.com>
12717
12718 * config/h8300/h8300-protos.h: Update the prototypes of
12719 emit_a_rotate and expand_a_rotate.
12720 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
12721 first argument to 'enum rtx_code'.
12722 (expand_a_rotate): Likewise.
12723
871f73e3
KH
127242002-01-28 Kazu Hirata <kazu@hxi.com>
12725
12726 * config/h8300/h8300-protos.h: Update the prototype of
12727 output_simode_bld.
12728 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
12729 'log2'.
12730 * config/h8300/h8300.md: Adjust to the new prototype.
12731
5fc4b751
KH
127322002-01-28 Kazu Hirata <kazu@hxi.com>
12733
12734 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
12735 redundant code.
12736
2d67bd7b
JDA
127372002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
12738
12739 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
12740 is a fixed register before returning pic_offset_table_rtx.
12741 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
12742 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
12743
5a852b3e
JM
127442002-01-28 Jason Merrill <jason@redhat.com>
12745
6bb28965 12746 * dwarf2.h: Sync with src version.
5a852b3e 12747
3bca17dd
PK
127482002-01-28 Paul Koning <pkoning@equallogic.com>
12749
12750 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
12751 BT_FN_VOID_PTR_VAR.
12752 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
12753 * doc/extend.texi (__builtin_prefetch): Update documentation:
12754 first argument is now const void ptr.
12755
7dc3f8c0
KH
127562002-01-28 Kazu Hirata <kazu@hxi.com>
12757
12758 * config/h8300/h8300-protos.h: Remove an unused prototype.
12759
e83cb5f0
RZ
127602002-01-28 Roman Zippel <zippel@linux-m68k.org>
12761
12762 * toplev.c (lang_independent_init): Round up identifier size.
12763
5721cd84
RE
127642002-01-28 Richard Earnshaw <rearnsha@arm.com>
12765
12766 * config.gcc: Revert previous change.
12767
d534119e
AP
127682002-01-28 Andris Pavenis <pavenis@latnet.lv>
12769
12770 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
12771
5a721dab
RE
127722002-01-28 Richard Earnshaw <rearnsha@arm.com>
12773
12774 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
12775 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
12776 other non-elf netbsd config frags.
12777 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
12778 collect2 will does that.
12779 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
12780 shared-lib frobbing will work.
12781
da1775d6
KH
127822002-01-28 Kazu Hirata <kazu@hxi.com>
12783
12784 * config/h8300/h8300.h: Fix formatting.
12785 * config/h8300/h8300.md: Likewise.
12786
8f2e963b
LR
127872002-01-28 Loren J. Rittle <ljrittle@acm.org>
12788
12789 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
12790 the old, removed AAA_standards fix.
12791 * fixinc/fixincl.x: Rebuilt.
12792
fdae5767
HPN
127932002-01-28 Hans-Peter Nilsson <hp@axis.com>
12794
12795 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
12796 atexit call in crtbegin, hooked in after call to frame_dummy;
12797 register EH before registering __fini__start.
12798
2a2ecb63
AH
127992002-01-28 Aldy Hernandez <aldyh@redhat.com>
12800
12801 * config/rs6000/altivec.h: Remove spurious semicolons.
12802
8ed43adf
KH
128032002-01-27 Kazu Hirata <kazu@hxi.com>
12804
12805 * config/h8300/h8300.md: Replace dead bit extraction patterns
12806 with ones that work.
12807
917afb0c
RK
12808Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12809
12810 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
12811 if not STRICT_ALIGNMENT.
12812 * rtl.h (MEM_ALIGN): Likewise.
12813
f70a54cb
CR
128142002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
12815
12816 * doc/invoke.texi (-fdump-translation-unit): Revert this
12817 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
12818
d8fd4914
KH
128192002-01-27 Kazu Hirata <kazu@hxi.com>
12820
12821 * config/h8300/h8300.md (define_constants): New.
12822 (anonymous patterns) Use defined constants appropriately.
12823
15e0e275
KH
128242002-01-27 Kazu Hirata <kazu@hxi.com>
12825
12826 * config/h8300/h8300.c (function_arg): Remove redundant code.
12827
37a0f8a5
RH
128282002-01-26 Richard Henderson <rth@redhat.com>
12829
12830 * sched-deps.c (reg_pending_uses_head): New.
12831 (reg_pending_barrier): Rename from reg_pending_sets_all.
12832 (find_insn_list): Don't mark inline.
12833 (find_insn_mem_list): Remove.
12834 (add_dependence_list, add_dependence_list_and_free): New.
12835 (flush_pending_lists): Replace only_write param with separate
12836 for_read and for_write parameters. Update all callers. Use
12837 add_dependence_list_and_free.
12838 (sched_analyze_1): Do not add reg dependencies here; just set
12839 the pending bits. Use add_dependence_list.
12840 (sched_analyze_2): Likewise.
12841 (sched_analyze_insn): Replace schedule_barrier_found with
12842 reg_pending_barrier. Add all dependencies for pending reg
12843 uses, sets, and clobbers.
12844 (sched_analyze): Don't add reg dependencies for calls, just
12845 set pending bits. Use regs_invalidated_by_call. Treat
12846 sched_before_next_call as a normal list, not a fake insn.
12847 (init_deps): No funny init for sched_before_next_call.
12848 (free_deps): Free pending mems lists. Don't zero reg_last.
12849 (init_deps_global): Init reg_pending_uses.
12850 (finish_deps_global): Free it.
12851 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
12852 (find_insn_mem_list): Remove.
12853 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
12854 (propagate_deps): Use them. Zero temp mem lists.
12855
cea3bd3e
RH
128562002-01-26 Richard Henderson <rth@redhat.com>
12857
12858 * Makefile.in (CRTSTUFF_CFLAGS): New.
12859 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
12860 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
12861 crtstuff.c instead of alpha assembly version.
12862 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
12863 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
12864 not FORCE_{INIT,FINI}_SECTION_ALIGN.
12865 (__do_global_dtors_aux): Mark used.
12866 (frame_dummy, __do_global_ctors_aux): Mark used.
12867 (fini_dummy, init_dummy): Remove.
12868
12869 * config/alpha/crtbegin.asm: Remove file.
12870 * config/alpha/crtend.asm: Remove file.
12871 * config/alpha/t-crtbe: Remove file.
12872 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
12873 (LINK_EH_SPEC): New.
12874
12875 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
12876 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
12877 calling constructors.
12878 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
12879
12880 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
12881 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
12882 CRT_END_INIT_DUMMY hack.
12883 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
12884 FORCE_{INIT,FINI}_SECTION_ALIGN.
12885
12886 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
12887 FORCE_{INIT,FINI}_SECTION_ALIGN.
12888
12889 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
12890 invocation sequence.
12891 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
12892
12893 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
12894 (FORCE_CODE_SECTION_ALIGN): New.
12895
60ffa0e5
RH
128962002-01-26 Richard Henderson <rth@redhat.com>
12897
12898 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
12899
61334ebe
RH
129002002-01-26 Richard Henderson <rth@redhat.com>
12901
12902 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
12903 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
12904
1d788fb6
KH
129052002-01-26 Kazu Hirata <kazu@hxi.com>
12906
12907 * config/h8300/h8300.md: Remove bit extraction patterns that
12908 cannot be triggered.
12909 Restrict each bit extraction pattern to a variant on which the
12910 pattern is tested.
12911
87611f88
JM
129122002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
12913
12914 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
12915
cd74ec59
KH
129162002-01-26 Kazu Hirata <kazu@hxi.com>
12917
12918 * config/h8300/h8300.md: Remove bit test patterns that cannot
12919 be triggered.
12920 Restrict each bit test pattern to a variant on which the
12921 pattern is tested.
12922
93051e0f
KG
129232002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12924
12925 * builtins.c (expand_builtin_strncat): Remove redundant check for
12926 INTEGER_CST.
12927
216c995f
DB
129282002-01-25 David O'Brien <obrien@FreeBSD.org>
12929
12930 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
12931 default setting.
12932 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
12933 existing setting.
12934
33c7f925
GK
129352002-01-25 Geoffrey Keating <geoffk@redhat.com>
12936
12937 * dbxout.c (dbxout_init): Use assemble_name rather than just
12938 stripping off the first character.
12939 (dbxout_source_file): Likewise.
12940
6cd444b4
DD
129412002-01-25 DJ Delorie <dj@redhat.com>
12942
12943 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
12944 using rtx_equal_p, not by comparing pointers.
12945
751551d5
SE
129462002-01-25 Steve Ellcey <sje@cup.hp.com>
12947
12948 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
12949 for PIC_OFFSET_TABLE_REGNUM.
12950 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
12951
e564e618
DB
129522002-01-25 David O'Brien <obrien@FreeBSD.org>
12953
12954 * config.gcc (x86_64-*-freebsd*): New target.
12955 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
12956 value.
12957 (i[34567]86-*-freebsd*): Don't include svr4.h.
12958 * config/i386/freebsd64.h: New file.
12959
ff3aaf17
DR
129602002-01-25 Douglas B Rupp <rupp@gnat.com>
12961
4857d29d
DR
12962 * config/alpha/x-vms (version): Make static.
12963
12964 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
12965 in previous checkin.
12966
ff3aaf17
DR
12967 * Makefile.in (install-headers-cp): New target.
12968 * config.gcc (alpha-dec-*vms*): Install headers with
12969 install-headers-cp
12970
48d79c43
JH
12971Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
12972
12973 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
12974 avoid it's copies.
12975
995b5904
RK
12976Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12977
12978 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
12979 of compare_tree_int.
12980 (expand_builtin_strncat): Likewise.
12981 * c-decl.c (finish_struct): Use tree_low_cst.
12982 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
12983 * tree.c (compare_tree_int): Likewise.
12984
75eefe3f
UW
129852002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
12986
12987 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
12988 adjustments even if they are implemented by more than two insns.
12989
5a133afd
JH
12990Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
12991
995b5904 12992 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
12993 * df.h (struct ref): Kill B.
12994 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
12995
12996 * basic-block.h (PROP_EQUAL_NOTES): New flag.
12997 * flow.c (propagate_one_insn): Use it.
12998 (mark_used_regs): Handle NIL.
12999
ead39bdf 130002002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
13001
13002 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
13003 to help folding.
13004
01a2ccd0
DE
130052002-01-25 David Edelsohn <edelsohn@gnu.org>
13006
13007 * rs6000.md (prefetch): Make address V4SI mode so that the address
13008 is restricted to legitimate form for instruction.
13009
fd29f6ea
BW
130102002-01-25 Bob Wilson <bob.wilson@acm.org>
13011
13012 * doc/install.texi (xtensa-*-elf): New target.
13013 (xtensa-*-linux*): New target.
13014 * doc/contrib.texi: Add myself.
13015
55492b32
NC
130162002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
13017
13018 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
13019 purpose register to hold an SImode (or smaller) value.
13020
72c7c913
JJ
130212002-01-25 Jakub Jelinek <jakub@redhat.com>
13022
13023 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
13024 registry only.
13025 * crtstuff.c: Likewise.
13026
c4df4ceb
KH
130272002-01-25 Kazu Hirata <kazu@hxi.com>
13028
13029 * config/h8300/h8300.md (negation patterns): Tighten
13030 predicates to register_operand.
13031
70e531f5
AH
130322002-01-24 Aldy Hernandez <aldyh@redhat.com>
13033
3bca17dd
PK
13034 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
13035 mode, not Pmode.
70e531f5 13036
3bca17dd 13037 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 13038
a4f76ef9
AO
130392002-01-24 Alexandre Oliva <aoliva@redhat.com>
13040
13041 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
13042 modes.
13043
9bf25b09
KH
130442002-01-24 Kazu Hirata <kazu@hxi.com>
13045
13046 * config/h8300/h8300.c (print_operand): Remove support for
13047 operand character 'A'.
13048 * config/h8300/h8300.md (three anonymous patterns): Replace
13049 operand character 'A' with either 'T' or 'S'.
13050
974af6a5
KH
130512002-01-24 Kazu Hirata <kazu@hxi.com>
13052
13053 * config/h8300/h8300.c (print_operand): Remove support for
13054 operand character 'U'.
13055
7a5bb7b8
AP
130562002-01-24 Andris Pavenis <pavenis@latnet.lv>
13057
3bca17dd 13058 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 13059
92a4639e
NC
130602002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
13061
13062 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
13063 values to be assigned to the stack pointer.
13064
467cb2da
HP
130652002-01-14 Hartmut Penner <hpenner@de.ibm.com>
13066
bebc7e8b 13067 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
13068 to const_double needs to be done right for big-endian systems.
13069
3b6cb920
JM
130702002-01-24 Jason Merrill <jason@redhat.com>
13071
b08dd119 13072 PR c++/2432
3b6cb920
JM
13073 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
13074 to can_throw_internal.
13075
f3077311
RH
130762002-01-23 Richard Henderson <rth@redhat.com>
13077
13078 * fold-const.c (fold): Change UINT_MAX test to check vs precision
13079 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
13080
e1d71275
AO
130812002-01-24 Alexandre Oliva <aoliva@redhat.com>
13082
13083 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
13084 (symGOT2reg): Use them, then set as GOT value as unchanging.
13085 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
13086 as a temporary, if possible.
13087 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
13088 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
13089
dc271dbe
KH
130902002-01-23 Kazu Hirata <kazu@hxi.com>
13091
13092 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
13093 accept to accept 0x80 as operands[2].
13094
1a9017f9
AO
130952002-01-24 Alexandre Oliva <aoliva@redhat.com>
13096
13097 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
13098
6932f033
RH
130992002-01-23 Richard Henderson <rth@redhat.com>
13100
13101 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
13102
709619d9
AH
131032002-01-23 Aldy Hernandez <aldyh@redhat.com>
13104
3bca17dd
PK
13105 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
13106 (parmlist_or_identifiers_1): Verify that only a parmlist follows
13107 an attribute.
709619d9 13108
3d709fd3
RH
131092002-01-23 Richard Henderson <rth@redhat.com>
13110
13111 * expr.c (move_by_pieces_1): Extend size before negation.
13112
88a446c0
RH
13113 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
13114 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
13115 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
13116 * config/m68k/t-m68kelf: Likewise.
13117
03984308
BW
131182002-01-23 Bob Wilson <bob.wilson@acm.org>
13119
13120 * config/xtensa/elf.h: New file.
13121 * config/xtensa/lib1funcs.asm: New file.
13122 * config/xtensa/lib2funcs.S: New file.
13123 * config/xtensa/linux.h: New file.
13124 * config/xtensa/t-xtensa: New file.
13125 * config/xtensa/xtensa-config.h: New file.
13126 * config/xtensa/xtensa-protos.h: New file.
13127 * config/xtensa/xtensa.c: New file.
13128 * config/xtensa/xtensa.h: New file.
13129 * config/xtensa/xtensa.md: New file.
13130 * config.gcc (xtensa-*-elf*): New target.
13131 (xtensa-*-linux*): New target.
13132 * cse.c (canon_hash): Compare rtx pointers instead of register
13133 numbers. This is required for the Xtensa port.
13134 * integrate.c (copy_insn_list): Handle case where the static
13135 chain is in memory and the memory address has to be copied to
13136 a register.
13137 * doc/invoke.texi (Option Summary): Add Xtensa options.
13138 (Xtensa Options): New node.
13139 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
13140
c3d5c3fa
ZW
131412002-01-23 Zack Weinberg <zack@codesourcery.com>
13142
a63bea75
ZW
13143 * diagnostic.c (internal_error): Do ICE suppression only
13144 when ENABLE_CHECKING is not defined.
13145
c3d5c3fa
ZW
13146 * c-typeck.c (require_complete_type): Return error_mark_node
13147 if type is error_mark_node.
13148
1398974c
JJ
131492002-01-23 Janis Johnson <janis187@us.ibm.com>
13150
13151 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
13152 -Os and issue a warning.
13153
807633e5
ZW
131542002-01-23 Zack Weinberg <zack@codesourcery.com>
13155
13156 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
13157 current (lack of) need for host configuration by hand.
13158
13159 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
13160 references. Documentation of some target macros moved from
13161 hostconfig.texi to tm.texi.
13162
cf8002d0
WC
131632002-01-23 Will Cohen <wcohen@redhat.com>
13164
13165 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
13166 defined.
13167
d1e76310
KH
131682002-01-23 Kazu Hirata <kazu@hxi.com>
13169
13170 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
13171 operand[3].
13172
b2115575
JM
131732002-01-23 Jason Merrill <jason@redhat.com>
13174
f893c16e
JM
13175 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
13176
b2115575
JM
13177 * function.c (assign_parms): Don't put args of inline functions
13178 into registers when not optimizing.
13179
6bacc7b0
NC
131802002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
13181
13182 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
13183 (prologue_use): New pattern.
13184 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
13185 preference to gen_rtx_USE.
13186 (thumb_expand_prologue): Use gen_prologue_use in preference to
13187 gen_rtx_USE.
13188 (thumb_expand_epilogue): Use gen_prologue_use in preference to
13189 gen_rtx_USE.
13190
a415f7bc
HPN
131912002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
13192
13193 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
13194
5372b3fb
NB
131952002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
13196
13197 PR c/3504
13198 * doc/extend.texi: Correct documentation of __alignof__.
13199
bd571ffc
ZW
132002002-01-22 Zack Weinberg <zack@codesourcery.com>
13201
13202 * params.h: Rename arguments of DEFPARAM so that it will be
13203 recognized as a translation keyword.
13204
333c8841
AH
132052002-01-22 Aldy Hernandez <aldyh@redhat.com>
13206
bd571ffc
ZW
13207 * extend.texi: Document altivec functions.
13208 Fix N-bit adjectives in X86 builtin documentation.
333c8841 13209
38979c65
AO
132102002-01-22 Alexandre Oliva <aoliva@redhat.com>
13211
13212 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
13213 auto_inc_dec values.
13214
7458a9f0
RE
132152002-01-22 Richard Earnshaw <rearnsha@arm.com>
13216
13217 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
13218 after backslash.
13219 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
13220
129bd0c4
AO
132212002-01-22 Alexandre Oliva <aoliva@redhat.com>
13222
13223 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
13224
8b9b74a9
RH
132252002-01-22 Richard Henderson <rth@redhat.com>
13226
13227 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
13228 copy_insn not copy_rtx.
13229
d0c9db30
AM
132302002-01-23 Alan Modra <amodra@bigpond.net.au>
13231
13232 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
13233 "nonzero" as that might add "1" bits. Ensure "constop" is
13234 properly sign extened.
13235 (force_to_mode): Tweak for sign extended constop.
13236
1e7e480e
RH
132372002-01-22 Richard Henderson <rth@redhat.com>
13238
13239 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
13240 for_each_rtx instead of assuming we're already looking at the MEM.
13241 (split_small_symbolic_mem_operand): Likewise.
13242 * config/alpha/alpha.h (PREDICATE_CODES): Update.
13243 * config/alpha/alpha.md (small symbolic memory splitters): Update.
13244
132452002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
13246
13247 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
13248 sequence number for the literal.
13249 (divmoddi_internal_er): Likewise.
13250
b7f2fb96
CR
132512002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
13252
13253 PR java/4972
13254 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
13255 in LIBICONV variable.
13256 * configure: Regenerated.
13257
f66a0046
KW
132582002-01-22 Krister Walfridsson <cato@df.lth.se>
13259
13260 * dependence.c (build_def_use): Remove array_idx.
13261
e3b0efd1
KW
13262 * dwarfout.c (last_filename): Remove.
13263 (output_compile_unit_die): Remove last_filename.
13264
d8086cbb
RS
132652002-01-22 Roger Sayle <roger@eyesopen.com>
13266 Richard Henderson <rth@redhat.com>
13267
13268 PR opt/3640
13269 * fold-const.c (fold): Optimize unsigned comparisons against
13270 UINT_MAX (and similar unsigned constants).
13271
e8d52ba0
JJ
132722002-01-22 Janis Johnson <janis187@us.ibm.com>
13273
d8086cbb 13274 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 13275 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 13276 against the predicate.
11303d15 13277
e8d52ba0
JJ
13278 PR target/5379
13279 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
13280 for the address operand.
13281
cc7b420e
RH
132822002-01-22 Richard Henderson <rth@redhat.com>
13283
13284 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
13285
816e265a
CR
132862002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
13287
13288 PR other/5450
cc7b420e
RH
13289 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
13290 preprocessor flags.
816e265a 13291
7c884404
JT
132922002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
13293
13294 * config.gcc (x86_64-*-netbsd*): New target.
13295 * config/i386/netbsd64.h: New file.
13296
2b672c08
AH
132972002-01-22 Aldy Hernandez <aldyh@redhat.com>
13298
d8086cbb 13299 * regrename.c (kill_value): Fix typo.
2b672c08
AH
13300
133012002-01-22 Aldy Hernandez <aldyh@redhat.com>
13302
d8086cbb 13303 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 13304
d8086cbb 13305 * config/rs6000/rs6000.h: Same.
2b672c08 13306
d8086cbb
RS
13307 * function.c (instantiate_virtual_regs): Remove
13308 STARTING_FRAME_PHASE.
13309 (assign_stack_local_1): Same.
13310 Calculate frame phase.
2b672c08 13311
4b02997f
NC
133122002-01-22 Nick Clifton <nickc@redhat.com>
13313
13314 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
13315 variable declaration to outer scope in order to simplify
13316 future extensions.
13317 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
13318 arm_hard_regno_mode_ok.
13319 * config/arm/arm-protos.h: Add a prototype for
13320 arm_hard_regno_mode_ok.
13321 * config/arm/arm.c (soft_df_operand): Remove now redundant
13322 check for DImode values using IP_REGNUM.
13323 (nonimmediate_soft_df_operand): Remove now redundant check for
13324 DImode values using IP_REGNUM.
13325 (arm_hard_regno_mode_ok): New function. New check: make sure
13326 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
13327
13328 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
13329 note with a USE.
13330 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
13331
8a827ab2
JM
133322002-01-22 Jason Merrill <jason@redhat.com>
13333
13334 * c-semantics.c (genrtl_compound_stmt): Only check nesting
13335 consistency if this COMPOUND_STMT is scoped.
13336
cf403648
KH
133372002-01-22 Kazu Hirata <kazu@hxi.com>
13338
13339 * predict.c: Fix formatting.
13340 * print-tree.c: Likewise.
13341 * protoize.c: Likewise.
13342 * real.h: Likewise.
13343 * rtl.h: Likewise.
13344 * sbitmap.h: Likewise.
13345 * scan.c: Likewise.
13346 * sched-deps.c: Likewise.
13347 * sched-vis.c: Likewise.
13348 * sdbout.c: Likewise.
13349 * sibcall.c: Likewise.
13350 * ssa.c: Likewise.
13351 * ssa-ccp.c: Likewise.
13352 * ssa-dce.c: Likewise.
13353 * stmt.c: Likewise.
13354 * stor-layout.c: Likewise.
13355 * system.h: Likewise.
13356
aea9695c
RK
13357Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13358
a8765ae7
RK
13359 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
13360 if fits in bounds of base type.
13361
aea9695c
RK
13362 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
13363 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
13364 (add_bound_info, default): If can't find a context, make a
13365 SAVE_EXPR.
13366 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
13367
58bf601b
HPN
133682002-01-22 Hans-Peter Nilsson <hp@axis.com>
13369
13370 * c-typeck.c (parser_build_binary_op): If result from
13371 build_binary_op is ERROR_MARK just return error_mark_node without
13372 further processing.
13373
f982f805
JT
133742002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
13375
13376 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
13377 Split a.out-specific bits into...
13378 * config/netbsd-aout.h: ...this.
13379 * config/netbsd-elf.h: New file.
13380 * config/alpha/netbsd-elf.h: Remove.
13381 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
13382 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 13383 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
13384 (ENDFILE_SPEC): Likewise.
13385 (LINK_SPEC): Likewise.
13386 (CPP_SPEC): Likewise.
13387 (ASM_SPEC): Likewise.
13388 (LIB_SPEC): Likewise.
13389 (SWITCH_TAKES_ARG): Likewise.
13390 (TARGET_MEM_FUNCTIONS): Likewise.
13391 (CPP_PREDEFINES): Redefine.
13392 (ASM_FINAL_SPEC): Remove redefinition.
13393 (ASM_COMMENT_START): Redefine.
13394 (FUNCTION_PROFILER): Define.
13395 (TARGET_VERSION): Redefine.
13396 Comment and formatting cleanup.
13397 * config/i386/netbsd.h: Include <netbsd-aout.h>.
13398 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
13399 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
13400 big- or little-endian.
13401 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
13402 * config.gcc (*-*-netbsd*): Add definitions common to all
13403 NetBSD configs.
13404 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
13405 gnu_ld definitions. Add netbsd-elf.h to and remove
13406 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
13407 tmake_file, and don't lose previous tmake_file contents.
13408 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
13409 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
13410 gnu_ld definitions. Add netbsd-elf.h to tm_file.
13411 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
13412 (mipsel-*-netbsd*): Rename this to...
13413 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
13414 mips/little.h to tm_file for mips*el-*.
13415 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
13416 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
13417 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
13418
2e396476
JDA
134192002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13420
13421 * pa-protos.h (reg_before_reload_operand): New function prototype.
13422 * pa.c (reg_before_reload_operand): New function implementation.
13423 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
13424 contraints to "*m".
13425
3b5708e7
FS
134262002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13427
13428 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
13429
85e79f96
JDA
134302002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13431
13432 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
13433 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
13434 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
13435 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
13436 (ENDFILE_SPEC): Undefine.
13437 (STARTFILE_SPEC): Redefine for PA.
13438
38abadee
FS
134392002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13440
13441 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
13442
94f1d97c
DJ
134432002-01-21 Daniel Jacobowitz <drow@mvista.com>
13444
13445 * config.gcc: Add entries to supported PowerPC --with-cpu
13446 types.
13447
0333394e
JJ
134482002-01-21 Jakub Jelinek <jakub@redhat.com>
13449
13450 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
13451 true for 64-bit mode only SSE registers in 32-bit mode.
13452
e9d1b155
KH
134532002-01-21 Kazu Hirata <kazu@hxi.com>
13454
13455 * unwind-dw2.c: Fix formatting.
13456 * unwind-dw2-fde.c: Likewise.
13457 * unwind-dw2-fde.h: Likewise.
13458 * unwind-pe.h: Likewise.
13459 * varasm.c: Likewise.
13460 * varray.h: Likewise.
13461
07338cf8
HPN
134622002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
13463
13464 Remove workaround for register stack overwrite bug in mmix.
13465 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
13466 support for TARGET_REG_STACK_FILL_BUG.
13467 * config/mmix/mmix.h: Remove member has_call_without_parameters.
13468 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
13469 Delete.
13470 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
13471 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
13472 -mno-reg-stack-fill-bug-workaround.
13473 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
13474 machine member has_call_without_parameters.
13475 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
13476 -mreg-stack-fill-bug-workaround and
13477 -mno-reg-stack-fill-bug-workaround.
13478 (MMIX Options): Ditto.
13479
7192cbf1
KH
134802002-01-21 Kazu Hirata <kazu@hxi.com>
13481
13482 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
13483 as appropriate.
13484 Remove redundant code.
13485
d1552d7b
JM
134862002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
13487
13488 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
13489 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13490 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
13491 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
13492 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
13493 out target macro definitions and non-target-specific comments
13494 mostly taken from old versions of the manual.
13495
ed168e45
KH
134962002-01-20 Kazu Hirata <kazu@hxi.com>
13497
13498 * config/h8300/h8300.h: Fix comment formatting.
13499 * config/ia64/aix.h: Likewise.
13500 * config/ia64/ia64-protos.h: Likewise.
13501 * config/ia64/ia64.c: Likewise.
13502 * config/ia64/ia64.h: Likewise.
13503 * config/ia64/ia64intrin.h: Likewise.
13504 * config/ia64/linux.h: Likewise.
13505 * config/ia64/unwind-aix.c: Likewise.
13506 * config/ia64/unwind-ia64.c: Likewise.
13507
005e3e05
KH
135082002-01-20 Kazu Hirata <kazu@hxi.com>
13509
13510 * config/h8300/h8300.c: Revise comments about shift code.
13511
64bead4c
KH
135122002-01-20 Kazu Hirata <kazu@hxi.com>
13513
13514 * config/h8300/h8300.c (function_arg): Update a comment.
13515
ed863595
KH
135162002-01-20 Kazu Hirata <kazu@hxi.com>
13517
13518 * config/h8300/h8300.md: Update the comments at the beginning
13519 of the file.
13520
5904dc87
KH
135212002-01-20 Kazu Hirata <kazu@hxi.com>
13522
13523 * config/i370/i370.c: Fix comment formatting.
13524 * config/i370/i370.h: Likewise.
13525 * config/i370/i370.md: Likewise.
13526 * config/i370/linux.h: Likewise.
13527
9702143f
RK
13528Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13529
cbafacd1
RK
13530 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
13531
9702143f
RK
13532 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
13533 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
13534 in incomplete case.
13535
6b6996b8
GS
135362002-01-20 Graham Stott <grahams@redhat.com>
13537
13538 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
13539
eab854f6
JDA
135402002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
13541
13542 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
13543
5b029315
TR
135442002-01-19 Tom Rix <trix@redhat.com>
13545
13546 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
13547
1d690052
AH
135482002-01-18 Aldy Hernandez <aldyh@redhat.com>
13549
d8086cbb 13550 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 13551
d8086cbb
RS
13552 * function.c (assign_stack_local_1): Adjust x_frame_offset with
13553 STARTING_FRAME_PHASE.
13554 (STARTING_FRAME_PHASE): New.
13555 (instantiate_virtual_regs): Check saneness of
13556 STARTING_FRAME_PHASE.
1d690052 13557
d8086cbb 13558 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 13559
4dd8c093
AO
135602002-01-19 Alexandre Oliva <aoliva@redhat.com>
13561
13562 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
13563
6f2a28d7
CR
135642002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
13565
13566 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
13567 be used for bootstrapping GCC 3.0.
13568
8763a465
KH
135692002-01-18 Kazu Hirata <kazu@hxi.com>
13570
13571 * config/h8300/h8300.md: Fix an insn length.
13572
3ef42a0c
KH
135732002-01-18 Kazu Hirata <kazu@hxi.com>
13574
13575 * bitmap.h: Fix comment formatting.
13576 * combine.c: Likewise.
13577 * cppfiles.c: Likewise.
13578 * c-pragma.h: Likewise.
13579 * c-typeck.c: Likewise.
13580 * df.c: Likewise.
13581 * dwarf2out.c: Likewise.
13582 * function.c: Likewise.
13583 * gcc.c: Likewise.
13584 * genattrtab.c: Likewise.
13585 * gthr-win32.h: Likewise.
13586 * haifa-sched.c: Likewise.
13587 * predict.c: Likewise.
13588 * rtlanal.c: Likewise.
13589 * rtl.h: Likewise.
13590 * unwind-dw2-fde.h: Likewise.
13591 * unwind-pe.h: Likewise.
13592 * vmsdbgout.c: Likewise.
13593
dd4dc3cd
RK
13594Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13595
13596 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
13597 if type_required and passed decl.
13598
5fb4cf24
AH
135992002-01-17 Aldy Hernandez <aldyh@redhat.com>
13600
d8086cbb
RS
13601 * config.gcc (cpu_type): Include altivec.h in powerpc
13602 extra_headers.
13603 Same for darwin.
5fb4cf24 13604
d8086cbb 13605 * config/rs6000/altivec.h: New.
5fb4cf24 13606
2705baf5
DE
136072002-01-17 David Edelsohn <edelsohn@gnu.org>
13608
13609 * doc/install.texi (*-ibm-aix*): Update assembler and exception
13610 handling information.
13611 * doc/trouble.texi (Interoperation): Add libstdc++ information
13612 for AIX.
13613 (Misunderstandings): Add template instantiation and static template
13614 member information for AIX.
13615
dbd680e1
JM
136162002-01-17 Jason Merrill <jason@redhat.com>
13617
821adc5e
JM
13618 * dbxout.c (dbxout_type): Support const and volatile.
13619
dbd680e1
JM
13620 * except.c (add_partial_entry): Remove backwards compatibility code.
13621 (end_protect_partials): Likewise.
13622
d0e82870
JJ
136232002-01-17 Jakub Jelinek <jakub@redhat.com>
13624
13625 * config/ia64/ia64.md (prologue_use): New.
13626 * config/ia64/ia64.c (ia64_expand_prologue): Use
13627 gen_prologue_use instead of gen_rtx_USE.
13628 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
13629 as CODE_FOR_pred_rel_mutex.
13630 (ia64_sched_reorder2): Likewise.
13631
f9f45c65
EC
136322002-01-16 Eric Christopher <echristo@redhat.com>
13633
13634 * config/mips/r3900.h: Reformat.
13635 (SUBTARGET_CPP_SIZE_SPEC): Remove.
13636 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
13637 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
13638 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
13639 * config/mips/t-elf: Remove mips3 multilib.
13640
c66c8b0e
L
136412002-01-16 H.J. Lu <hjl@gnu.org>
13642
13643 * config/mips/linux.h: Include "mips/abi64.h".
13644
5f083b72
L
136452002-01-16 H.J. Lu <hjl@gnu.org>
13646
13647 * config/mips/t-linux: New.
13648
13649 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
13650
13651 * config/mips/linux.h: Don't include "gofast.h".
13652 (INIT_SUBTARGET_OPTABS): Removed.
13653
af3c90a6
KH
136542002-01-16 Kazu Hirata <kazu@hxi.com>
13655
13656 * config/h8300/h8300-protos.h: Replace emit_a_shift with
13657 output_a_shift.
13658 * config/h8300/h8300.c: Likewise.
13659 * config/h8300/h8300.md: Likewise.
13660
a1bf0a16
KH
136612002-01-16 Kazu Hirata <kazu@hxi.com>
13662
13663 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
13664 spaces after an opcode name.
13665 (pushqi1_h8300hs): Likewise.
13666 (pushhi1_h8300hs): Likewise.
13667
88ab0d1c
KH
136682002-01-16 Kazu Hirata <kazu@hxi.com>
13669
13670 * doc/extend.texi: Replace "option" with "attribute"
13671 appropriately.
13672
51c561e3
JJ
136732002-01-16 Jakub Jelinek <jakub@redhat.com>
13674
13675 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
13676 (and:DI () (const_int -8)).
13677 (split_small_symbolic_mem_operand): Split
13678 (mem (and:DI () (const_int -8)).
13679
b8c1a6b8
JJ
136802002-01-16 Jakub Jelinek <jakub@redhat.com>
13681
13682 PR target/5309:
d8086cbb 13683 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
13684 same way as TYPE_IMUL.
13685 (ultrasparc_sched_reorder): Likewise.
13686 * config/sparc/sparc.md (type): Add comment to update
13687 ultrasparc_sched_reorder when making changes.
13688
1e4e4df2
KH
136892002-01-16 Kazu Hirata <kazu@hxi.com>
13690
13691 * doc/invoke.texi: Change the dump file name of block
13692 reordering pass from 28.bbro to 29.bbro.
13693 Mention -dk option.
13694
14d920c0
JH
13695Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
13696
13697 * i386.md (minsf splitter): Fix pasto.
13698
2e99323f
NC
136992002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
13700
13701 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
13702 to frame pointer initialisation instruction.
13703 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
13704 initialisation instruction.
ab8081c1
NC
13705 (soft_df_operand): Do not accept the IP register.
13706 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 13707
c4031a04
JJ
137082002-01-16 Jakub Jelinek <jakub@redhat.com>
13709
13710 PR target/5357:
13711 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
13712 MASK_V8 being both set.
13713
44b8152b
UW
137142002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
13715
13716 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
13717 insn for GOT register; add REG_MAYBE_DEAD notes instead.
13718 config/s390/s390.md (call, call_value): Add GOT register to
13719 CALL_INSN_FUNCTION_USAGE where needed.
13720 (call_exp, call_value_exp): New.
13721
1d6e90ac
NC
137222002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
13723
13724 * config/arm/arm.c: General formatting tidy up.
13725
137262002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
13727
13728 * calls.c (try_to_integrate): Use "(size_t)" intermediate
13729 cast and when casting an integer literal to "rtx" pointer.
13730 (expand_call): Likewise.
13731 * flow.c (try_pre_increment): Likewise.
13732 (find_use_as_address): Likewise.
13733 * integrate.c (expand_iline_function): Likewise.
13734 * regmove.c (try_auto_increment): Likewise.
13735
1d6e90ac 137362002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
13737
13738 * sched-rgn.c (passed): Use sbitmap_free.
13739 (header): Likewise.
13740 (inner): Likewise.
13741 (in_queue): Likewise.
13742 (in_stack): Likewise.
13743
31fce3c4
EC
137442002-01-15 Eric Christopher <echristo@redhat.com>
13745
13746 * flow.c (propagate_one_insn): Change to use fatal_insn.
13747
c99d986a
KH
137482002-01-15 Kazu Hirata <kazu@hxi.com>
13749
13750 * expmed.c (extract_fixed_bit_field): Remove unused code.
13751 * system.h: Poison SLOW_ZERO_EXTEND.
13752 * doc/tm.texi: Remove.
13753 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
13754 * config/arm/arm.h: Likewise.
13755 * config/avr/avr.h: Likewise.
13756 * config/clipper/clipper.h: Likewise.
13757 * config/convex/convex.h: Likewise.
13758 * config/d30v/d30v.h: Likewise.
13759 * config/dsp16xx/dsp16xx.h: Likewise.
13760 * config/elxsi/elxsi.h: Likewise.
13761 * config/fr30/fr30.h: Likewise.
13762 * config/h8300/h8300.h: Likewise.
13763 * config/i370/i370.h: Likewise.
13764 * config/i386/i386.h: Likewise.
13765 * config/m68k/m68k.h: Likewise.
13766 * config/mips/mips.h: Likewise.
13767 * config/ns32k/ns32k.h: Likewise.
13768 * config/pdp11/pdp11.h: Likewise.
13769 * config/pj/pj.h: Likewise.
13770 * config/s390/s390.h: Likewise.
13771 * config/sh/sh.h: Likewise.
13772 * config/stormy16/stormy16.h: Likewise.
13773 * config/v850/v850.h: Likewise.
13774 * config/vax/vax.h: Likewise.
13775 * config/we32k/we32k.h: Likewise.
13776
acfab996
AH
137772002-01-15 Aldy Hernandez <aldyh@redhat.com>
13778
d8086cbb
RS
13779 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
13780 (altivec_lvsl): Change constraint to b.
13781 (altivec_lvsr): Same.
13782 (altivec_lvebx): Same.
13783 (altivec_lvehx): Same.
13784 (altivec_lvewx): Same.
13785 (altivec_lvxl): Same.
13786 (altivec_lvx): Same.
13787 (altivec_stvx): Add parallel.
13788 (altivec_stvxl): Same.
13789 (altivec_stvehx): Same.
13790 (altivec_stvebx): Same.
13791 (altivec_stvebx): Same.
acfab996 13792
5e505bc9
AH
137932002-01-15 Aldy Hernandez <aldyh@redhat.com>
13794
d8086cbb 13795 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 13796
d8086cbb 13797 * config/rs6000/altivec.h: Delete.
5e505bc9 13798
d8086cbb 13799 * config/rs6000/altivec-defs.h: Add.
5e505bc9 13800
5c41fdfb
JDA
138012002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
13802
13803 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
13804 and UMOD modes.
13805
13806 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
13807 less than or equal to eight bytes.
13808
13809 * vax.md (andsi3): Remove constraints and change SET destination
13810 operand type to nonimmediate_operand.
13811 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
13812 when it is a CONST_INT.
13813
de097a2d
JM
138142002-01-15 Jason Merrill <jason@redhat.com>
13815
13816 * c-common.def (FILE_STMT): New code.
13817 * c-common.c (statement_code_p): It's a statement.
13818 * c-common.h (stmt_tree_s): Add x_last_filename.
13819 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
13820 (last_expr_filename): New macro.
13821 * c-semantics.c (begin_stmt_tree): Initialize it.
13822 (add_stmt): If the filename changed, also insert a
13823 FILE_STMT.
13824 (expand_stmt): Handle seeing one.
13825
4a913dd6
EC
138262002-01-15 Eric Christopher <echristo@redhat.com>
13827
13828 * flow.c (propagate_one_insn): Add error message and print out
13829 insn for debugging.
13830
006946e4
JM
138312002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13832
13833 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
13834 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
13835 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
13836 TRAMPOLINE_ALIGNMENT.
13837 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
13838 to be in bits.
13839 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
13840 PCC_BITFIELD_TYPE_MATTERS.
13841 * config/interix.h (STDC_VALUE): Remove. Use
13842 STDC_0_IN_SYSTEM_HEADERS.
13843 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
13844 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
13845 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
13846
751a1458
CR
138472002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
13848
13849 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
13850 not work on this platform currently.
13851
57771fe8
JM
138522002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13853
13854 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
13855 readonly_warning in _().
13856
0e83ceb1 138572002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 13858
0e83ceb1 13859 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 13860
8e2e89f7
KH
138612002-01-15 Kazu Hirata <kazu@hxi.com>
13862
0e83ceb1
DR
13863 * config/h8300/h8300.c (print_operand): Remove support for
13864 unused operand characters.
13865
8e2e89f7
KH
13866 * read-rtl.c: Fix formatting.
13867 * real.c: Likewise.
13868 * recog.c: Likewise.
13869 * regclass.c: Likewise.
13870 * regmove.c: Likewise.
13871 * reg-stack.c: Likewise.
13872 * reload1.c: Likewise.
13873 * rtlanal.c: Likewise.
13874
b531087a
KH
138752002-01-15 Kazu Hirata <kazu@hxi.com>
13876
13877 * config/i386/i386.c: Fix formatting.
13878
7c94ce7f
JJ
138792002-01-15 Jakub Jelinek <jakub@redhat.com>
13880
13881 * c-typeck.c (process_init_element): Don't save_expr
13882 COMPOUND_LITERAL_EXPR if just its initializer will be used.
13883
6041bf2f
DE
138842002-01-15 David Edelsohn <edelsohn@gnu.org>
13885
13886 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
13887 emit optional traceback table if optimize_size or TARGET_ELF.
13888 * config/rs6000/rs6000.md (prefetch): New.
13889
8559c8c0
AJ
138902002-01-15 Andreas Jaeger <aj@suse.de>
13891
13892 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
13893
70f122f2
KH
138942002-01-15 Kazu Hirata <kazu@hxi.com>
13895
13896 * mips-tfile.c: Fix formatting.
13897
6a7b4ca6
JH
13898Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
13899
13900 * unroll.c (final_reg_note_copy): Fix previous commit.
13901
e7afe229
KH
139022002-01-14 Kazu Hirata <kazu@hxi.com>
13903
13904 * config/h8300/h8300-protos.h: Remove the prototype for
13905 eq_operator.
13906 * config/h8300/h8300.c (eq_operator): Remove.
13907
7d378549
RH
139082002-01-14 Richard Henderson <rth@redhat.com>
13909
13910 * config/i386/i386.md (prefetch): Tidy.
13911 (prefetch_3dnow): Fix locality operand.
13912
ab093b81
RH
139132002-01-14 Richard Henderson <rth@redhat.com>
13914
13915 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
13916 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
13917
d300f51f
HPN
139182002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
13919
13920 * reload1.c (reload_combine): Pass reg_sum replacement through
13921 copy_rtx in loop performing multiple changes.
13922
655dd289
JJ
139232002-01-14 Jakub Jelinek <jakub@redhat.com>
13924
13925 * except.c (remove_unreachable_regions): New.
13926 (free_eh_status): Clear exception_handler_labels.
13927 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
13928 (find_exception_handler_labels): Don't add the same label more than
13929 once.
13930 (remove_exception_handler_label): Don't die if
13931 find_exception_handler_labels hasn't been called for the current
13932 function yet.
13933
1fba46a7
JH
13934Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
13935
13936 * toplev.c (rest_of_compilation): Rebuild jump labels after
13937 gcse.
13938
0975678f
JM
139392002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
13940
13941 * doc/extend.texi: Move documentation of X86 built-in functions
13942 here.
13943 * doc/invoke.texi: From here.
13944 * doc/sourcebuild.texi: Document location of documentation for
13945 machine built-in functions.
13946
969815c7
CF
139472002-01-13 Christopher Faylor <cgf@redhat.com>
13948
13949 * cppfiles.c (TEST_THRESHOLD): New macro.
13950 (SHOULD_MMAP): Ditto.
13951 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
13952 be used.
13953
494c950b
JH
13954Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
13955
13956 * unroll.c (final_reg_note_copy): Properly handle
13957 REG_LABEL
13958 (unroll_loops): Fix LOOP_CONDITION heuristics.
13959
69a0611f
GK
139602002-01-14 Geoffrey Keating <geoffk@redhat.com>
13961
13962 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
13963 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
13964
b90e45ae
JH
13965Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
13966
13967 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
13968 threaded loop.
13969
8377288b
TR
139702002-01-14 Tom Rix <trix@redhat.com>
13971
13972 * config/rs6000/rs6000.md: Fix typo with sradi.
13973
9f37ccb1
UW
139742002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
13975
13976 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
13977 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
13978 (clrstrdi, clrstrsi): Adapt callers.
13979
13980 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
13981
8559c8c0 13982 (movti splitter): Never use register 0 as base register.
9f37ccb1 13983
6c2d03d0
HP
139842002-01-14 Hartmut Penner <hpenner@de.ibm.com>
13985
8559c8c0
AJ
13986 * combine.c (simplify_shift_const): Always generate new rtx
13987 for shift expression instead of reusing given expression.
6c2d03d0 13988
d3e98208
RK
13989Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13990
13991 * config/alpha/alpha.c (alpha_expand_mov): Don't call
13992 alpha_legitimize_address unless mode is Pmode.
13993
9f339dde
GK
139942002-01-13 Geoffrey Keating <geoffk@redhat.com>
13995
13996 * doc/md.texi (Modifiers): Document the '*' constraint for the
13997 user.
13998
13999 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
14000 * doc/extend.texi (Function Attributes): 'interrupt' is valid
14001 for xstormy16 too.
14002
02a10130
RH
140032002-01-13 Richard Henderson <rth@redhat.com>
14004
14005 * reload.c (find_reloads): Use a hard reg destination as reload reg
14006 for an input reload of the source.
14007
61d47787
GP
140082002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14009
14010 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
14011 more generic.
14012
f0df8029
DR
14013Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
14014
14015 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
14016 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
14017
d2a37256
DR
14018 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
14019
a9e8a5ee
RK
14020Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14021
14022 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
14023
bc06712d
TR
140242002-01-12 Tom Rix <trix@redhat.com>
14025
8559c8c0 14026 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
14027 TARGET_POWERPC64.
14028
7cbe9bb7
RH
140292002-01-12 Richard Henderson <rth@redhat.com>
14030
38b29e64
RH
14031 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
14032
58605ba0
RH
14033 * doc/invoke.texi: Update Alpha options.
14034
7cbe9bb7
RH
14035 * doc/invoke.texi: Update i386 built-in function lists.
14036
9d560860
JH
14037Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
14038
14039 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
14040 referencing outside.
14041
bb93b973
RK
14042Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14043
14044 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
14045 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
14046 offsets, and change line folding.
14047 * optabs.c (expand_binop): Remove warnings.
14048 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 14049
f9f6b7df
GS
140502002-01-12 Graham Stott <grahams@redhat.com>
14051
14052 * attribs.c (handle_deprecated_attribute): constify WHAT.
14053 * diagnostic.c (warn_deprecated_use): Add braces, fixes
14054 dangling else warning and constify WHAT.
14055 * except.h (struct function, struct inline_remap): Move
14056 struct tag forward defs before all prototypes.
14057 (duplicate_eh_regions): Whitespace.
14058
4a692617
NC
140592002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
14060
14061 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
14062 MODE_BASE_REG_CLASS.
14063 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
14064
e37af218
RH
140652002-01-12 Richard Henderson <rth@redhat.com>
14066
14067 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
14068 (ix86_expand_vector_move): New.
14069 (bdesc_2arg): Remove andps, andnps, orps, xorps.
14070 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
14071 Remove old prefetch builtins. Special case the logicals removed above.
14072 (ix86_expand_builtin): Likewise.
14073 (safe_vector_operand): Use V4SFmode, not TImode.
14074 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
14075 (ix86_expand_timode_binop_builtin): New.
14076 * config/i386/i386-protos.h: Update.
14077 * config/i386/i386.h (enum ix86_builtins): Update.
14078 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
14079 Use ix86_expand_vector_move in vector move expanders.
14080 (movti_internal, movti_rex64): Add xorps alternative.
14081 (sse_clrv4sf): Rename and adjust from sse_clrti.
14082 (prefetch): Don't work so hard.
14083 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
14084 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
14085 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
14086
6f1a6c5b
RH
140872002-01-11 Richard Henderson <rth@redhat.com>
14088
14089 * config/i386/mmintrin.h: New file.
14090 * config/i386/xmmintrin.h: New file.
14091 * config.gcc (i?86-*-*): Add extra_headers.
14092 * simplify-rtx.c (simplify_unary_operation): Handle saturating
14093 truncation codes.
14094 (simplify_binary_operation): Handle saturating arithmetic codes.
14095 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
14096 not the lowpart subreg.
14097 (ix86_expand_builtin): Return a TImode dummy register instead of 0
14098 on error.
14099 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
14100
cdb574d3
MH
141012002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14102
14103 * conflict.c (conflict_graph_compute): Free regsets when finished.
14104 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 14105
cf11ac55
HB
141062002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14107
14108 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
14109 every where we allocate a register.
14110
76ac938b
MH
141112002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14112
14113 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
14114 * lcm.c (compute_earliest, compute_farthest): Likewise.
14115
a84b4898
JJ
141162002-01-11 Janis Johnson <janis187@us.ibm.com>
14117
14118 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
14119
aaef1c12
JJ
141202002-01-11 Janis Johnson <janis187@us.ibm.com>
14121
14122 * doc/rtl.texi (Insns): Fix 2 typos.
14123
5d22c1a5
JM
141242002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
14125
14126 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
14127 options. Use @table @gcctabopt for MMIX options. Add index
14128 entries for MMIX options. Start new paragraph with first
14129 heading of the machine-dependent options.
14130
3e92902c
CR
141312002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
14132
14133 PR other/5299
14134 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
14135 * combine.c (force_to_mode): Same.
14136 * reload1.c (clear_reload_reg_in_use): Same.
14137
96ae8197
NC
141382002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
14139
14140 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
14141 and 'subtargets'.
14142
9b780582
AJ
141432002-01-11 Andreas Jaeger <aj@suse.de>,
14144 Brad Lucier <lucier@math.purdue.edu>
14145
14146 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
14147 mcpu.
14148
12300dad
DR
14149Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
14150
14151 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
14152 Protect with IN_LIBGCC.
14153 (LINK_EH_SPEC): Add required trailing space.
14154
27511a9a
NP
14155Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
14156
9b780582 14157 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
14158 under the filename which contains them.
14159 (check_identifier, finish_decl_top_level,
14160 lookup_name_current_level_global, shadow_record_fields): Remove.
14161
4daeab16
AJ
141622002-01-11 Andreas Jaeger <aj@suse.de>
14163
14164 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
14165 march.
14166
40571d67
RH
141672002-01-10 Richard Henderson <rth@redhat.com>
14168
14169 * config/alpha/alpha.c (print_operand): Add 'J'.
14170 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
14171 new operand with the sequence number for the lituse. When splitting
14172 the insns, use gen_movdi_er_high_g and generate a sequence number.
14173 (gen_movdi_er_high_g): Print the sequence number if non-zero.
14174
6525c0e7
AH
141752002-01-10 Aldy Hernandez <aldyh@redhat.com>
14176
d8086cbb
RS
14177 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
14178 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
14179 stvxl.
14180 (altivec_expand_builtin): Same.
14181 (altivec_expand_stv_builtin): New.
14182
14183 * config/rs6000/rs6000.h (rs6000_builtins): Same.
14184
14185 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
14186 ("altivec_lvehx"): New.
14187 ("altivec_lvewx"): New.
14188 ("altivec_lvxl"): New.
14189 ("altivec_lvx"): New.
14190 ("altivec_stvx"): New.
14191 ("altivec_stvebx"): New.
14192 ("altivec_stvehx"): New.
14193 ("altivec_stvewx"): New.
14194 ("altivec_stvxl"): New.
6525c0e7 14195
cda94cbb
RH
141962002-01-10 Richard Henderson <rth@redhat.com>
14197
14198 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
14199 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
14200 care not to delete instructions twice.
14201
df2c9a44
ZW
142022002-01-10 Zack Weinberg <zack@codesourcery.com>
14203
14204 * toplev.c: Don't declare environ (it's not used anywhere).
14205 * configure.in: Don't check for declaration of environ.
14206 * config/i386/xm-mingw32.h: Don't #define environ.
14207 * config.in, configure: Regenerate.
14208
5dd8a9b1
ZW
142092002-01-10 Zack Weinberg <zack@codesourcery.com>
14210
14211 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
14212 * configure: Regenerate.
14213
14214 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
14215 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
14216 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
14217 alpha/xm-vms.h.
14218 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
14219 LIMITS_H_TEST here, not in m68k/x-next.
14220 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
14221 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
14222
14223 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
14224 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
14225 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
14226
14227 * config/i386/x-djgpp: Renamed i386/t-djgpp.
14228 * config/m88k/x-dolph: Renamed m88k/t-dolph.
14229 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
14230 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
14231 replacement of quadlib.asm with quadlib.c.
14232
14233 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
14234 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
14235 config/rs6000/xm-beos.h: Delete file.
14236
14237 * config.gcc: Update to match above changes.
14238
d10dd44c
KH
142392002-01-10 Kazu Hirata <kazu@hxi.com>
14240
14241 * config/h8300/h8300.h: Fix comment typos.
14242 * config/h8300/h8300.md: Likewise.
14243 * config/h8300/lib1funcs.asm: Likewise.
14244
04894c5a
DJ
142452002-01-10 Dale Johannesen <dalej@apple.com>
14246
14247 PR optimization/5269
14248 * unroll.c (precondition_loop_p): Make *increment be the correct
14249 sign when n_iterations known, to avoid confusing caller.
14250
adc9fe67
KH
142512002-01-10 Kazu Hirata <kazu@hxi.com>
14252
14253 * doc/extend.texi (deprecated): Fix a typo.
14254
b446e5a2
JH
14255Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
14256
14257 * basic-block.h (update_br_prob_note): Declare.
14258 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
14259 (try_forward_edges): Care negative frequencies and update note.
14260 (outgoing_edges_match): Tweek conditional merging heuristics.
14261 (try_crossjump_to_edge): use update_br_prob_note.
14262 * cfglayout.c (fixup_reorder_chain): Likewise.
14263 * cfrtl.c (update_br_prob_note): New.
14264 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
14265
14266 * i386.c (ix86_decompose_address): Return -1 if address contains
14267 shift.
14268 (legitimate_address_p): Require ix86_decompose_address to return 1.
14269
14270 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
14271 (cprop_insn): Likewise.
14272
a01da83b
KH
142732002-01-10 Kazu Hirata <kazu@hxi.com>
14274
14275 * toplev.c: Fix formatting.
14276 * tree.c: Likewise.
14277 * tree-dump.c: Likewise.
14278 * unroll.c: Likewise.
14279 * unwind-dw2.c: Likewise.
14280 * unwind-dw2-fde.c: Likewise.
14281 * unwind-dw2-fde-glibc.c: Likewise.
14282 * unwind-sjlj.c: Likewise.
14283
9f85bca7
JM
142842002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14285
14286 * doc/invoke.texi: Document PDP-11 options.
14287
f48f56b1
KH
142882002-01-10 Kazu Hirata <kazu@hxi.com>
14289
14290 * config/h8300/h8300.h: Fix formatting.
14291
ead39bdf 142922002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
14293
14294 Add __attribute__ ((deprecated)).
14295 * extend.texi: Document __attribute__ ((deprecated)).
14296 * invoke.texi: Document -Wno-deprecated-declarations.
14297 * testsuite/g++.dg/other/deprecated.C: New C++ test.
14298 * testsuite/gcc.dg/deprecated.c: New C test.
14299 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
14300 (c_common_attribute_table): Add "deprecated" entry.
14301 (handle_deprecated_attribute): New function.
14302 * c-decl.c (deprecated_states): New enum.
14303 deprecated_state: State of "deprecated" handling.
14304 (start_decl): Set deprecated_state based on attributes.
14305 (grokdeclarator): Test for deprecated uses, propagate attribute.
14306 * c-typeck.c (build_component_ref): Test for deprecated fields.
14307 (build_external_ref): Test for deprecated primaries.
14308 * diagnostic.c (warn_deprecated_use) New function to issue
14309 warnings about __attribute__ ((depricated)) references.
14310 * flags.h (warn_deprecated_decl): Extern declared for
14311 -W[no-]deprecated-declarations option.
14312 * print-tree.c (print_node): Show deprecated flag status.
14313 * toplev.c (warn_deprecated_decl): Defined.
14314 (W_options): Added "deprecated-declaration".
14315 * toplev.h (warn_deprecated_use): Extern declared.
14316 * tree.h (struct tree_common): Define deprecated_flag.
14317 (TREE_DEPRECATED): New macro to access flag.
14318 * cp/call.c (build_call): Test for deprecated calls.
14319 * cp/class.c (add_implicitly_declared_members): Set global
14320 flag to tell grokdeclarator to not issue deprecated warnings.
14321 * cp/cp-tree.h: Add extern for adding_implicit_members.
14322 * cp/decl.c (deprecated_states): New enum.
14323 (start_decl): Set deprecated_state based on attributes.
14324 (grokdeclarator): Test for deprecated uses, propagate attribute.
14325 * cp/lex.c (do_identifier): Test for deprecated primaries.
14326 * cp/typeck.c (build_component_ref): Test for deprecated fields.
14327
ead39bdf 143282002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
14329
14330 Fix to assign attributes to inline member functions.
14331 * cp/decl.c (start_method): Handle attrlist.
14332
47073a38
KH
143332002-01-10 Kazu Hirata <kazu@hxi.com>
14334
14335 * combine.c (expand_field_assignment): Use subreg_lsb().
14336
d288e53d
DE
143372002-01-10 David Edelsohn <edelsohn@gnu.org>
14338
14339 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
14340 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
14341 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
14342 Recurse for any operand of AND as long as constant is non-zero.
14343
08a02ffa
KH
143442002-01-10 Kazu Hirata <kazu@hxi.com>
14345
14346 * config/h8300/h8300.md: Remove constraints from expanders.
14347
c203e7fe
KH
143482002-01-10 Kazu Hirata <kazu@hxi.com>
14349
14350 * varasm.c: Fix formatting.
14351 * varray.c: Likewise.
14352 * vmsdbgout.c: Likewise.
14353 * xcoffout.c: Likewise.
14354
bcb3bc6d
JH
14355Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
14356
14357 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 14358 update edge probabilities to match.
bcb3bc6d 14359
0a553c7e
JM
143602002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14361
14362 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
14363 dependencies.
14364 * doc/languages.texi, doc/sourcebuild.texi: New files.
14365 * doc/configfiles.texi: Make a subsubsection. Update.
14366 * doc/configterms.texi: Add @node. Remove warning that this isn't
14367 instructions for building GCC.
14368 * doc/makefile.texi: Make a subsection.
14369 * doc/gccint.texi: Update.
14370
adc7fcb8
JH
14371Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
14372
14373 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
14374
5a4dd0b3
NP
14375Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
14376
14377 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
14378
3987b9db
JH
14379Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
14380
14381 * optabs.c (expand_fix): Look for wider integer modes first.
14382
14383 * i386.md (mov?f): Avoid the fake const double trick for medium
14384 memory model.
14385 (min?f*/max?f*): Prohibit memory operands for i387 variant.
14386 (fop_df_4): Disable for SSE compilation.
14387
ceb15948 143882002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
14389
14390 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 14391 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 14392
e1623399
RH
143932002-01-10 Richard Henderson <rth@redhat.com>
14394
14395 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
14396
c4abb293
RH
143972002-01-10 Richard Henderson <rth@redhat.com>
14398
14399 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
14400 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
14401
d2604ae9
KH
144022002-01-10 Kazu Hirata <kazu@hxi.com>
14403
14404 * combine.c (can_combine_p): Fix a comment typo.
14405
766c7ad1
ZW
144062002-01-09 Zack Weinberg <zack@codesourcery.com>
14407
14408 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
14409 empty list correctly. Change loop index $t to $f for
14410 consistency with rest of Makefile.
14411
95385cbb
AH
144122002-01-08 Aldy Hernandez <aldyh@redhat.com>
14413
14414 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
14415 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14416
14417 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
14418 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
14419 (altivec_init_builtins): Same.
14420 (altivec_expand_unop_builtin): Return NULL_RTX on error.
14421 (altivec_expand_binop_builtin): Same.
14422 (altivec_expand_ternop_builtin): Same.
14423 (bdesc_dst): New.
14424
14425 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
14426 ("altivec_vctuxs"): Fix typo.
14427 ("altivec_vnmsubfp"): Same.
14428 ("altivec_dssall"): New.
14429 ("altivec_mfvscr"): New.
14430 ("altivec_dss"): New.
14431 ("altivec_lvsl"): New.
14432 ("altivec_lvsr"): New.
14433 ("altivec_dstt"): New.
14434 ("altivec_dstst"): New.
14435 ("altivec_dststt"): New.
14436 ("altivec_dst"): New.
14437
14438 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
14439 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14440
e4ac76b4
RH
144412002-01-09 Richard Henderson <rth@redhat.com>
14442
14443 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
14444
c893e4a4
HPN
144452002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
14446
14447 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
14448 function.
14449 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
14450 prototype.
7387c700 14451 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 14452
f4f4d0f8
KH
144532002-01-09 Kazu Hirata <kazu@hxi.com>
14454
14455 * read-rtl.c: Fix formatting.
14456 * real.c: Likewise.
14457 * regclass.c: Likewise.
14458 * regrename.c: Likewise.
14459 * reg-stack.c: Likewise.
14460 * reload1.c: Likewise.
14461 * reload.c: Likewise.
14462 * rtl.c: Likewise.
14463
cc863bea
KH
144642002-01-09 Kazu Hirata <kazu@hxi.com>
14465
14466 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
14467 to extract items in the expr_list chain.
14468
7b4dfe3d
RH
144692002-01-09 Richard Henderson <rth@redhat.com>
14470
14471 * config/vax/vax.c (vax_rtx_cost): Never abort.
14472
1d969638
RH
14473 * config/vax/vax.h (REAL_ARITHMETIC): Define.
14474
7d5ab30e
JH
144752002-01-09 Jan Hubicka <jh@suse.cz>
14476
14477 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
14478
9503f3d1
RH
144792002-01-09 Richard Henderson <rth@redhat.com>
14480
14481 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
14482 Unify code from various alternatives.
14483
42bd17b7
RH
144842002-01-09 Richard Henderson <rth@redhat.com>
14485
14486 * regrename.c (copy_value): Ignore the copy if the source register
14487 is present in the value chain with a narrower mode.
14488
bdca3c33
HB
144892002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14490
cda94cbb
RH
14491 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
14492 for the c4x target. Also improve layout.
bdca3c33 14493
c73a5e94
RH
144942002-01-09 Richard Henderson <rth@redhat.com>
14495
14496 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
14497 * config/m32r/m32r.md (and ior xor splitters): Swap operands
14498 to match insn patterns.
14499
dd0a18c0
RH
145002002-01-09 Richard Henderson <rth@redhat.com>
14501
14502 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
14503 (copyprop_hardreg_forward_1): Likewise.
14504
1fd9ac1e
JDA
145052002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14506
14507 * pa.md (decrement_and_branch_until_zero): Change predicate for
14508 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
14509
5cb265ec
BM
145102002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14511
14512 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
14513 gets undefined. For Darwin.
14514
fcd8fa8b
HB
145152002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14516
14517 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
14518
bd3ab23a
MH
145192002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14520
14521 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
14522
21e16bd6
RH
145232002-01-08 Richard Henderson <rth@redhat.com>
14524
14525 * regrename.c (copy_value): Ignore overlapping copies.
14526
a5376276
RH
145272002-01-08 Richard Henderson <rth@redhat.com>
14528
14529 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
14530 as needed to avoid shared structure.
14531
18cf8dda
KH
145322002-01-08 Kazu Hirata <kazu@hxi.com>
14533
14534 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
14535 H8/300H and H8/S.
14536
16c484c7
JM
145372002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14538
14539 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
14540 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
14541 documentation of obsolete macros.
14542 * system.h: Poison these macros.
14543 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
14544 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
14545 config/c4x/c4x.h, config/clipper/clipper.h,
14546 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
14547 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
14548 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
14549 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
14550 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
14551 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
14552 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
14553 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
14554 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
14555 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
14556 config/sparc/sparc.h, config/stormy16/stormy16.h,
14557 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
14558 definitions and commented out definitions of obsolete macros.
14559 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
14560 of MAX_INT_TYPE_SIZE.
14561
14b3e8ef
UW
145622002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
14563
14564 * config/s390/s390.c (s390_preferred_reload_class): Never
14565 return ADDR_REGS if it isn't a subset of the given class.
14566 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
14567 FP_REGS, but all superclasses as well.
14568
14569 * config/s390/s390.c (s390_function_profiler): Fix thinko.
14570
14571 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
14572 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
14573 must not be a const_int.
14574
a693284d
RH
145752002-01-08 Richard Henderson <rth@redhat.com>
14576
14577 * Makefile.in (toplev.o): Depend on options.h.
14578 (gcc.o): Depend on specs.h.
14579
b3ca30df
JJ
145802002-01-08 Jakub Jelinek <jakub@redhat.com>
14581
14582 * expr.c (store_expr): Convert VOIDmode constants back to target's
14583 mode.
14584
24dbb440
GP
145852002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14586
14587 * doc/invoke.texi: Markup gcc as @command. Refer to
14588 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
14589 of http://gcc.gnu.org/thanks.html.
14590
234e114c
DJ
145912002-01-08 Dale Johannesen <dalej@apple.com>
14592
14593 * config/rs6000/rs6000.md: Add missing int register
14594 target case to movdf_low.
14595
0d24f4d1
ZW
145962002-01-08 Zack Weinberg <zack@codesourcery.com>
14597
14598 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
14599 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
14600 (cppinit.o): Depend on except.h.
14601 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
14602 s-specs): New rules.
14603
14604 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
14605 Don't create specs.h/options.h/gencheck.h here. Remove
14606 unnecessary variable settings from last argument of AC_OUTPUT.
14607 * config.in, configure: Regenerate.
14608 * intl.c: Hardcode package name as "gcc".
14609
14610 * cppinit.c: Include except.h.
14611 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
14612 appropriate.
14613 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
14614 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
14615 (!)USING_SJLJ_EXCEPTIONS.
14616 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
14617
ed722f66
JM
146182002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14619
14620 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
14621 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
14622 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
14623 documentation of obsolete macros.
14624 * system.h: Poison these macros.
14625 * config/d30v/d30v.h, config/ns32k/encore.h,
14626 config/stormy16/stormy16.h: Remove definitions and commented out
14627 definitions of obsolete macros.
14628
31e5e29a
NP
14629Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
14630
14631 * objc/objc-act.c (handle_class_ref): Mark the declaration of
14632 %sobjc_class_ref_%s as used - to prevent unwanted compiler
14633 warnings.
14634
bc1fa59c
UW
146352002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
14636
14637 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
14638 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
14639 to insn adjusting stack/frame pointer.
0d24f4d1 14640 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
14641 accept operands that cause the insn to be non-splittable.
14642
a8086abf
GS
146432002-01-08 Graham Stott <grahams@redhat.com>
14644
14645 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
14646 (C_TYPE_FIELDS_VOLATILE): Likewise.
14647 (C_TYPE_BEING_DEFINED): Likewise.
14648 (C_IS_RESERVED_WORD): Likewise.
14649 (C_TYPE_VARIABLE_SIZE): Likewise.
14650 (C_DECL_VARIABLE_SIZE): Likewise.
14651 (C_MISSING_PROTOTYPE_WARNED): Likewise.
14652 (C_SET_EXP_ORIGINAL_CODE): Likewise.
14653 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
14654 parenthesis.
14655 (C_DECL_ANTICIPATED): Likewise.
14656 (c_build_type_variant): Add parenthesis.
14657
3f595aa1
JM
146582002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14659
14660 * gcc.c (option_map): Remove --version.
14661 (process_command): Handle -fversion following the GNU Coding
14662 Standards. Partially addresses PR other/704.
14663
5bc5a8f9
GS
146642002-01-08 Graham Stott <grahams@redhat.com>
14665
14666 * combine.c (combine_instructions): Fix typo.
14667
16ec4ebf
GS
146682002-01-08 Graham Stott <grahams@redhat.com>
14669
14670 * debug.h: Use "tree" and "rtx" throughout.
14671
14672 * debug.c: Likewise.
14673
4b69f385
NC
146742002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
14675
14676 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
14677 constant pool, use the pool's version of the symbol instead.
14678
57d1019b
RH
146792002-01-07 Richard Henderson <rth@redhat.com>
14680
14681 * regrename.c (find_oldest_value_reg): Ignore the value chain if
14682 the original register was copied in a mode with a fewer number of
14683 hard registers than the desired mode.
14684 (copyprop_hardreg_forward_1): Likewise.
14685 (debug_value_data): Fix loop test.
14686 * toplev.c (parse_options_and_default_flags): Reenable
14687 -fcprop-registers at -O1.
14688
146892002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 14690
0d24f4d1
ZW
14691 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
14692 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 14693
0d24f4d1
ZW
14694 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
14695 predicates.
fa066a23 14696
0d24f4d1 14697 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 14698
8f949e7e
JDA
146992002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
14700
14701 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
14702 (pa_output_function_prologue): Output local label at the beginning of
14703 the prologue when profiling.
14704 (hppa_profile_hook): Use the local label rather than the function label.
14705 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
14706
c62f2db5
AH
147072002-01-07 Aldy Hernandez <aldyh@redhat.com>
14708
0d24f4d1
ZW
14709 * config/rs6000/rs6000.c (print_operand): Remove extra space.
14710 (altivec_expand_unop_builtin): Fix thinko.
14711 (altivec_expand_binop_builtin): Same.
14712 (altivec_expand_ternop_builtin): Same.
14713 (altivec_expand_builtin): Same.
c62f2db5 14714
b5235ba7
RH
147152002-01-07 Richard Henderson <rth@redhat.com>
14716
14717 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
14718
7d8ac293
JM
147192002-01-07 Jason Merrill <jason@redhat.com>
14720
14721 * unwind-dw2.c (execute_cfa_program): Use < again.
14722
571a03b8
JJ
147232002-01-07 Jakub Jelinek <jakub@redhat.com>
14724
14725 * predict.c (combine_predictions_for_insn): Avoid division by zero.
14726
2e951384
JJ
147272002-01-07 Jakub Jelinek <jakub@redhat.com>
14728
14729 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
14730 Don't allow -1 - x -> ~x simplifications in the first pass.
14731
20e26713
AH
147322002-01-07 Aldy Hernandez <aldyh@redhat.com>
14733
0d24f4d1
ZW
14734 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
14735 arguments.
14736 (altivec_expand_binop_builtin): Same.
14737 (altivec_expand_unop_builtin): Same.
14738 (print_operand): Fix typo.
14739 (bdesc_1arg): Add vupk* variants.
20e26713 14740
0d24f4d1 14741 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 14742
0d24f4d1 14743 * rs6000.md: Add altivec_vupk* variants.
20e26713 14744
4dd57c18
JM
147452002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
14746
14747 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
14748 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
14749 and last update dates.
14750
0341c5d2
JJ
147512002-01-07 Janis Johnson <janis187@us.ibm.com>
14752
14753 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
14754
c7f3e0b0
MM
147552002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
14756
14757 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
14758 * config/avr/avr.h (CPP_SPEC): Likewise.
14759 (LINK_SPEC): Likewise.
14760 (CRT_BINUTILS_SPECS): Likewise.
14761 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
14762 * doc/invoke.texi (AVR Options): Document them.
14763
6ba4d630
JH
14764Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
14765
14766 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
14767 LABEL_NUSES.
14768
6253d571
GS
147692002-01-07 Graham Stott <grahams@redhat.com>
14770
0d24f4d1
ZW
14771 * config/i386/i386.h: Update copyright date.
14772 (HALF_PIC_PTR): Add parenthesis.
14773 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
14774 (CONSTANT_ALIGNMENT): Add parenthesis.
14775 (DATA_ALIGNMENT): Likewise.
14776 (LOCAL_ALIGNMENT): Likewise.
14777 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
14778 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
14779 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
14780 (HARD_REGNO_NREGS): Add paranethesis.
14781 (VALID_SSE_REG_MODE): Whitespace.
14782 (VALID_MMX_REG_MODE): Whitespace.
14783 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
14784 (ix86_hard_regno_mode_ok): Add parenthesis.
14785 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
14786 (RETURN_IN_MEMORY): Whitespace.
14787 (N_REG_CLASSES): Add parenthesis.
14788 (INTEGER_CLASS_P): Add parenthesis and wrap.
14789 (FLOAT_CLASS_P): Likewise.
14790 (SSE_CLASS_P): Likewise.
14791 (MMX_CLASS_P): Likewise.
14792 (MAYBE_INTEGER_CLASS_P): Likewise.
14793 (MAYBE_FLOAT_CLASS_P): Likewise.
14794 (MAYBE_SSE_CLASS_P): Likewise.
14795 (MAYBE_MMX_CLASS_P): Likewise.
14796 (Q_CLASS_P): Likewise.
14797 (GENERAL_REGNO_P): Uppercase macro parameter.
14798 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
14799 (FP_REGNO_P): Likewise.
14800 (ANY_FP_REGNO_P): Uppercase macro parameter.
14801 (SSE_REGNO_P): Likewise.
14802 (SSE_REGNO): Likewise.
14803 (SSE_REG_P): Likewise.
14804 (SSE_FLOAT_MODE_P): Likewise.
14805 (MMX_REGNO_P): Likewise.
14806 (MMX_REG_P):Likewise.
14807 (STACK_REG_P): Likewise.
14808 (NON_STACK_REG_P): Likewise.
14809 (STACK_TOP_P): Likewise.
14810 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
14811 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
14812 (SECONDARY_MEMORY_NEEDED): Likewise.
14813 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
14814 (MD_ASM_CLOBBERS): Whitespace and wrap.
14815 (MUST_PASS_IN_STACK): Whitespace and wrap.
14816 (RETURN_POPS_ARGS): Add parenthesis.
14817 (INIT_CUMULATIVE_ARGS): Likewise.
14818 (FUNCTION_ARG): Likewise.
14819 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
14820 (SETUP_INCOMING_VARARGS): Likewise.
14821 (BUILD_VA_LIST_TYPE): Add parenthesis.
14822 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
14823 parenthsis.
14824 (EXPAND_BUILTIN_VA_ARG): Likewise.
14825 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
14826 (INITIALIZE_TRAMPOLINE): Add parenthesis.
14827 (INITIAL_ELIMINATION_OFFSET): Likewise.
14828 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
14829 (REGNO_OK_FOR_BASE_P): Likewise.
14830 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
14831 (REGNO_OK_FOR_DIREG_P): Likewise.
14832 (REG_OK_FOR_INDEX_P): Whitespace.
14833 (REG_OK_FOR_BASE_P): Whitespace.
14834 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
14835 parenthesis.
14836 (FIND_BASE_TERM): Fix typo.
14837 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
14838 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
14839 (SYMBOLIC_CONST; Whitespace.
14840 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
14841 (ENCODE_SECTION_INFO): Whitespace.
14842 (FINALIZE_PIC): Remove do { ... } while (0).
14843 (PROMOTE_MODE): Wrap in do { ... } while (0).
14844 (CONST_COSTS): Whitespace.
14845 (RTX_COSTS): Add paramethesis, whitespace and wrap.
14846 (REGISTER_MOVE_COST): Add parenthesis.
14847 (MEMORY_MOVE_COST): Likewise.
14848 (EXTRA_CC_MODES): Whitespace.
14849 (SELECT_CC_MODE): Add parenthesis and whitespace.
14850 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
14851 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
14852 (ASM_OUTPUT_LABEL): Add paramethesis.
14853 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
14854 (ASM_OUTPUT_REG_POP): Likewise.
14855 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
14856 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 14857
07933f72
GS
14858 * config/i386/i386.c: Update copyright.
14859 (CHECK_STACK_LIMIT): Add parenthesis.
14860 (AT_BP): Uppercase macro parameter.
14861 (x86_64_int_parameter_registers): Constify.
14862 (x86_64_int_return_registers): Likewise.
14863 (ix86_compare_op0): Use rtx.
14864 (construct_container): Constify INTREG parameter.
14865 (function_arg): Use rtx.
14866
0b4d32c9
GS
14867 * diagnostic.h: Update copyright date.
14868 (output_buffer_state): Add parenthesis.
14869 (output_buffer_format_args): Likewise.
14870
6253d571
GS
14871 * combine.c (combine_instructions): Replace XEXP (links, 0)
14872 with link.
14873
68f3f6f1
L
148742002-01-06 H.J. Lu <hjl@gnu.org>
14875
14876 * cfgcleanup.c (thread_jump): Fix 2 typos.
14877
148782002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 14879
0d24f4d1 14880 * config.gcc: Add support for --enable-altivec.
480f7f3a 14881
13b8c631
CR
148822002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14883
14884 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
14885
58ad89b1
JJ
148862002-01-06 Jakub Jelinek <jakub@redhat.com>
14887
14888 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
14889 __objc_class_name_*.
14890
e403b4bc
CR
148912002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14892
14893 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
14894
e41c7831
RH
148952002-01-06 Richard Henderson <rth@redhat.com>
14896
14897 * reorg.c (emit_delay_sequence): Remove death notes, not merely
14898 nop them out. Increment label reference count for REG_LABEL.
14899 (fill_slots_from_thread): Frob label reference count around
14900 delete_related_insns.
14901
3b3b1e32
RH
149022002-01-05 Richard Henderson <rth@redhat.com>
14903
14904 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
14905 jump threading.
14906
c28abdf0
RH
149072002-01-05 Richard Henderson <rth@redhat.com>
14908
14909 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
14910 * integrate.c (output_inline_function): Likewise.
14911 * toplev.c (rest_of_compilation): Do it here instead. Move call
14912 to remove_unnecessary_notes after emitting abstract instance.
14913 Force an emitted nested function to have its parent emited as well.
14914 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
14915 for null.
14916 (rtl_for_decl_location): Do not look at reload data structures
14917 before reload has run.
14918
c4f2c499
KH
149192002-01-05 Kazu Hirata <kazu@hxi.com>
14920
14921 * cse.c: Fix formatting.
14922 * dwarf2asm.c: Likewise.
14923 * dwarf2out.c: Likewise.
14924 * explow.c: Likewise.
14925 * expmed.c: Likewise.
14926 * function.c: Likewise.
14927 * gcov.c: Likewise.
14928 * gencheck.c: Likewise.
14929 * genrecog.c: Likewise.
14930 * ggc-common.c: Likewise.
14931 * ggc-page.c: Likewise.
14932 * global.c: Likewise.
14933
cf0d9408
KH
149342002-01-05 Kazu Hirata <kazu@hxi.com>
14935
14936 * combine.c: Fix formatting.
14937
bedca03a
CR
149382002-01-05 Craig Rodrigues <crodrigu@bbn.com>
14939
14940 PR middle-end/1557
14941 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
14942
0134bf2d
DE
149432002-01-05 David Edelsohn <edelsohn@gnu.org>
14944
14945 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
14946 as 1 for __powerpc64__ as well.
14947
14948 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
14949
14950 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
14951 return it.
14952
9ca88d5a
DB
149532002-01-05 Daniel Berlin <dan@dberlin.org>
14954
14955 * lcm.c: Revert change, due to performance regression it causes on
14956 SPEC because it's slightly more conservative (sigh, I hate
14957 edge-based LCM).
0d24f4d1 14958
1c570418
JH
14959Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
14960
14961 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
14962
d83bb9f7
NB
149632002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
14964
14965 * doc/cppinternals.texi: Update.
14966
3e0f61ac
HPN
149672002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
14968
14969 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
14970 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
14971 negatives.
14972 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
14973 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
14974 kludge for pre-october-14th mmix versions to handle new-found bug
14975 with PUSHJ/PUSHGO and the register stack.
14976 * config/mmix/mmix.h (struct machine_function): Rename member
14977 has_call_value_without_parameters to has_call_without_parameters.
14978 All referers changed.
14979 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
14980 TARGET_MASK_BRANCH_PREDICT): New macros.
14981 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
14982 -mno-reg-stack-fill-bug-workaround.
14983 * config/mmix/mmix.md ("call"): Set struct machine member
14984 has_call_without_parameters.
14985
4deaa2f8
JH
14986Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
14987
14988 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
14989
9f16e871
JH
14990Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
14991
14992 * cfgcleanup.c: Include tm_p.h
14993 (mark_effect): Fix handling of hard register; fix handling of SET
14994
96eb1157
KH
149952002-01-04 Kazu Hirata <kazu@hxi.com>
14996
14997 * config/h8300/h8300.md (anonymous patterns): Check that
14998 operands are registers before using REGNO on them.
14999
48180d68
RM
150002002-01-03 Roland McGrath <roland@frob.com>
15001
15002 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
15003
b0832fe1
JJ
150042002-01-04 Jakub Jelinek <jakub@redhat.com>
15005
15006 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
15007 * c-common.h (genrtl_expr_stmt_value): Likewise.
15008 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
15009 (expand_expr_stmt_value): Add maybe_last argument.
15010 Don't warn about statement with no effect if it is the last statement
15011 in expression statement.
15012 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
15013 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
15014 expand_expr_stmt_value.
15015 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
15016 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
15017 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
15018 as maybe_last to expand_expr_stmt_value.
15019
c1e14513
JL
15020Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
15021
0d24f4d1
ZW
15022 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
15023 be passed in, do not build it.
15024 (c_begin_if_stmt): New function.
15025 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
15026 * c-common.h (c_expand_start_cond): Update prototype.
15027 (c_begin_if_stmt): Prototype new function.
15028 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
15029 * c-parse.in (if_prefix): Use c_begin_if_stmt,
15030 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 15031
b6ec437a
WC
150322002-01-04 William Cohen <wcohen@redhat.com>
15033
15034 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
15035 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
15036 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
15037 * config/pa/som.h (ASM_FILE_START): Likewise.
15038
ead39bdf 150392002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
15040
15041 * lcm.c: Include df.h.
15042 Add available_transfer_function prototype.
15043 (compute_available): Rework to use iterative dataflow framework.
15044 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
15045 with bb_info in df.h
15046 (available_transfer_function): New function.
15047
15048 * Makefile.in (lcm.o): add df.h to dependencies.
15049
551cc6fd
RH
150502002-01-04 Richard Henderson <rth@redhat.com>
15051
15052 * config/alpha/alpha.c (some_operand): Accept HIGH.
15053 (input_operand): Likewise; accept simple references to globals.
15054 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
15055 (alpha_const_double_ok_for_letter_p): Likewise.
15056 (alpha_extra_constraint): Likewise.
15057 (alpha_preferred_reload_class): Likewise. Do not force
15058 symbolic constants to memory.
15059 (alpha_legitimate_address_p): Accept simple references
15060 to small_symbolic_operand.
15061 (alpha_legitimize_address): New arg scratch. Be prepared to be
15062 called when no_new_pseudos. Emit simple symbolic references.
15063 Split integers into low, high, and rest.
15064 (alpha_expand_mov): Use alpha_legitimize_address.
15065 (some_small_symbolic_mem_operand): New.
15066 (split_small_symbolic_mem_operand): New.
15067 * config/alpha/alpha-protos.h: Update.
15068 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
15069 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
15070 (EXTRA_CONSTRAINT): Likewise.
15071 (PREFERRED_RELOAD_CLASS): Likewise.
15072 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
15073 (PREDICATE_CODES): Update.
15074 * config/alpha/alpha.md: New post-reload splitters to convert
15075 simplfied symbolic operands to the form that references $29.
15076 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
15077 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
15078
1eaea054
RH
150792002-01-03 Richard Henderson <rth@redhat.com>
15080
15081 * local-alloc.c (function_invariant_p): Update commentary.
15082
c4cc12b7
L
150832002-01-04 H.J. Lu <hjl@gnu.org>
15084
15085 * toplev.c (rest_of_compilation): Fix a typo when calling
15086 cleanup_cfg.
15087
173bf5be
KH
150882002-01-03 Kazu Hirata <kazu@hxi.com>
15089
15090 * c-common.c: Fix formatting.
15091 * diagnostic.c: Likewise.
15092 * doloop.c: Likewise.
15093 * dwarf2out.c: Likewise.
15094
187462ac
KH
150952002-01-03 Kazu Hirata <kazu@hxi.com>
15096
15097 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
15098 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
15099
5d8ebbd8
NB
151002002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
15101
15102 * cpperror.c: Update comments and copyright.
15103 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
15104 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
15105
518c1311
JDA
151062002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15107
15108 * collect2.c (main): Use strcmp when testing for "-shared".
15109
d15a58c0
NB
151102002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
15111
15112 * cppmacro.c: Don't include intl.h. Update comments.
15113 (new_number_token): Allocate enough buffer for 64-bit unsigned
15114 integers; update prototype.
15115 * cppmain.c: Update comments.
15116
70f4f91c
WC
151172002-01-03 William Cohen <wcohen@redhat.com>
15118
15119 * function.h (struct function): Add profile.
15120 (current_function_profile): New.
15121 doc/extend.texi: Update documentation.
15122 * final.c (final_start_function): Use current_function_profile
15123 instead of profile_flag.
15124 (profile_after_prologue): Likewise.
15125 * function.c (expand_function_start): Likewise.
15126 (expand_function_start): Likewise.
c4cc12b7 15127 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
15128 (alpha_does_function_need_gp): Likewise.
15129 (alpha_expand_prologue): Likewise.
15130 * config/arm/arm.c (arm_expand_prologue): Likewise.
15131 thumb_expand_prologue: Likewise.
15132 * config/d30v/d30v.c (d30v_stack_info): Likewise.
15133 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
15134 (fr30_expand_prologue): Likewise.
15135 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
15136 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
15137 * config/i386/i386.h (FINALIZE_PIC): Likewise.
15138 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
15139 * config/i960/i960.c (i960_output_function_prologue): Likewise.
15140 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
15141 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
15142 (m32r_expand_prologue): Likewise.
15143 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
15144 (m88k_expand_prologue): Likewise.
15145 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
15146 * config/mips/mips.c (compute_frame_size): Likewise.
15147 (mips_expand_prologue): Likewise.
15148 (mips_can_use_return_insn): Likewise.
15149 * config/pa/elf.h (ASM_FILE_START): Likewise.
15150 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
15151 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
15152 * config/pa/som.h (ASM_FILE_START): Likewise.
15153 * config/romp/romp.c (romp_using_r14): Likewise.
15154 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
15155 (rs6000_stack_info): Likewise.
15156 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 15157 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
15158 * config/v850/v850.c (compute_register_save_size): Likewise.
15159
cb1ac742
JJ
151602002-01-03 Jakub Jelinek <jakub@redhat.com>
15161
15162 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
15163 gen_lowpart_common fails, use gen_lowpart_SUBREG.
15164
61d951df 151652002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 15166
61d951df
TC
15167 * darwin.c (machopic_output_possible_stub_label): Don't generate
15168 stub routines for pseudo-stubs which we've just defined.
15169
505ddab6
KH
151702002-01-03 Kazu Hirata <kazu@hxi.com>
15171
15172 * builtins.c: Fix formatting.
15173 * c-typeck.c: Likewise.
15174 * combine.c: Likewise.
15175 * expr.c: Likewise.
15176 * loop.c: Likewise.
15177
b7e30d8a
AS
151782002-01-03 Andreas Schwab <schwab@suse.de>
15179
15180 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
15181 and return true if _cpp_push_next_buffer pushed a new include
15182 file.
15183 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
15184 _cpp_pop_file_buffer did not push a new file.
15185 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
15186
ff81832f
EC
151872002-01-02 Eric Christopher <echristo@redhat.com>
15188
15189 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
15190 FIND_REG_INC_NOTE call. Update copyright.
15191 * loop.c (canonicalize_condition): Ditto.
15192 * reorg.c (delete_scheduled_jump): Ditto.
15193
8e42ace1
KH
151942002-01-03 Kazu Hirata <kazu@hxi.com>
15195
15196 * gcse.c: Fix formatting.
15197
fb2bf631
GS
151982002-01-03 Graham Stott <grahams@redhat.com>
15199
15200 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
15201 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 15202 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
15203
15204 * system.h: Move forward defs for struct tags rtx_def, union_tree,
15205 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 15206 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
15207
152082002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
15209
15210 * tree.h: Update copyright date.
15211 (IS_EXPR_CODE_CLASS): Add parenthesis.
15212 (TREE_SET_CODE): Add whitespace.
15213 (TREE_CHECK): Add parenthesis.
15214 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
15215 (CST_OR_CONSTRUCTOR_CHECK):
15216 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
15217 (TREE_SYMBOL_REFERENCED): Whitespace.
15218 (INT_CST_LT): Likewise.
15219 (INT_CST_LT_UNSIGNED): Likewise.
15220 (tree_real_cst): Unwrap comment.
15221 (tree_string): Likewise.
15222 (tree_complex): Likewise.
15223 (IDENTIFIER_POINTER): correct cast.
15224 (SAVE_EXPR_CONTEXT): Whitespace.
15225 (EXPR_WFL_FILENAME_NODE): Likewise.
15226 (EXPR_WFL_FILENAME): Remove parenthesis.
15227 (DECL_ORIGIN): Add parenthesis.
15228 (DECL_FROM_INLINE): Use NULL_TREE.
15229 (build_int_2): Whitespace.
15230 (build_type_variant): Add parenthesis.
15231
15232 * gcc/jcf-parse.c: Update copyright date.
15233 (yyparse): Constify resource_filename.
15234
f52eda29
GS
152352002-01-03 Graham Stott <grahams@redhat.com>
15236
15237 * rtl.h: Update copyright date.
15238 (RTL_CHECK1): Wrap long line.
15239 (RTL_CHECK2): Likewise.
15240 (RTL_CHECKC1): Wrap long line and whitespace.
15241 (RTL_CHECKC2): Likewise.
15242 (XWINT): Whitespace.
15243 (XINT): Likewise.
15244 (XSTR): Likewise.
15245 (XEXP): Likewise.
15246 (XVEC): Likewise.
15247 (XMODE): Likewise.
15248 (XBITMAP): Likewise.
15249 (XTREE): Likewise.
15250 (XBBDEF): Likewise.
15251 (XTMPL): Likewise.
15252 (X0WINT): Likewise.
15253 (X0INT):Likewise.
15254 (X0UINT): Likewise.
15255 (X0STR): Likewise.
15256 (X0EXP): Likewise.
15257 (X0VEC): Likewise.
15258 (X0MODE): Likewise.
15259 (X0BITMAP): Likewise.
15260 (X0TREE): Likewise.
15261 (X0BBDEF): Likewise.
15262 (X0ADVFLAGS): Likewise.
15263 (X0CSELIB): Likewise.
15264 (X0MEMATTR): Likewise.
15265 (XCWINT): Likewise.
15266 (XCINT): Likewise.
15267 (XCUINT): Likewise.
15268 (XCSTR): Likewise.
15269 (XCEXP): Likewise.
15270 (XCVEC): Likewise.
15271 (XCMODE): Likewise.
15272 (XCBITMAP): Likewise.
15273 (XCTREE): Likewise.
15274 (XCBBDEF): Likewise.
15275 (XCADVFLAGS): Likewise.
15276 (XCCSELIB): Likewise.
15277 (XC2EXP): Likewise.
15278 (INSN_UID): Likewise.
15279 (PREV_INSN): Likewise.
15280 (PATTERN): Likewise.
15281 (INSN_CODE): Likewise.
15282 (PUT_REG_NOTE_KIND): Likewise.
15283 (CODE_LABEL_NUMBER): Likewise.
15284 (NOTE_SOURCE_FILE): Likewise.
15285 (NOTE_BLOCK): Likewise.
15286 (NOTE_EH_HANDLER): Likewise.
15287 (NOTE_RANGE_INFO): Likewise.
15288 (NOTE_LIVE_INFO): Likewise.
15289 (NOTE_BASIC_BLOCK): Likewise.
15290 (NOTE_EXPECTED_VALUE): Likewise.
15291 (NOTE_LINE_NUMBER): Likewise.
15292 (LABEL_NAME): Likewise.
15293 (LABEL_NUSES): Likewise.
15294 (LABEL_ALTERNATE_NAME): Likewise.
15295 (ADDRESSOF_DECL): Likewise.
15296 (JUMP_LABEL): Likewise.
15297 (LABEL_NEXTREF): Likewise.
15298 (REGNO): Likewise.
15299 (ORIGINAL_REGNO: Likewise.
15300 (HARD_REGISTER_NUM_P): Add parenthesis.
15301 (SUBREG_REG): Whitespace.
15302 (SUBREG_BYTE): Likewise.
15303 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
15304 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
15305 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
15306 (ASM_OPERANDS_INPUT_VEC): Likewise.
15307 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
15308 (ASM_OPERANDS_INPUT): Likewise.
15309 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
15310 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
15311 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
15312 (ASM_OPERANDS_INPUT_MODE): Likewise.
15313 (ASM_OPERANDS_SOURCE_FILE): Likewise.
15314 (ASM_OPERANDS_SOURCE_LINE): Likewise.
15315 (MEM_SET_IN_STRUCT_P): Minor reformat.
15316 (TRAP_CONDITION): Whitespace.
15317 (TRAP_CODE): Likewise.
15318 (COND_EXEC_TEST): Likewise.
15319 (COND_EXEC_CODE): Likewise.
15320 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
15321 (PHI_NODE_P): Add parenthesis.
15322 (plus_constant): Whitespace and add parenthesis.
15323
e03f5d43
KH
153242002-01-03 Kazu Hirata <kazu@hxi.com>
15325
15326 * config/avr/avr.c: Fix comment typos.
15327 * config/c4x/c4x.md: Likewise.
15328 * config/dsp16xx/dsp16xx.h: Likewise.
15329 * config/dsp16xx/dsp16xx.md: Likewise.
15330 * config/i386/i386.md: Likewise.
15331 * config/ia64/ia64.c: Likewise.
15332 * config/m32r/m32r.h: Likewise.
15333 * config/m68hc11/m68hc11.md: Likewise.
15334 * config/mmix/mmix.c: Likewise.
15335 * config/mn10200/mn10200.c: Likewise.
15336 * config/romp/romp.c: Likewise.
15337 * config/sh/sh.c: Likewise.
15338 * config/stormy16/stormy16.c: Likewise.
15339 * config/stormy16/stormy16.h: Likewise.
15340 * config/stormy16/stormy16.md: Likewise.
15341
97e300e9
GS
153422002-01-03 Graham Stott <grahams@redhat.com>
15343
15344 * loop.h: Update copyright date.
0d24f4d1
ZW
15345 (LOOP_MOVABLES): Fix typo.
15346 (LOOP_REGS): Likewise.
15347 (LOOP_IVS): Likewise.
ff81832f 15348
745b26b3
GS
153492002-01-03 Graham Stott <grahams@redhat.com>
15350
15351 * cppinit.c: Update copyright date.
15352 Don't include output.h
15353 * Makefile.in: Update copyright date.
15354 Update dependency.
15355
0a379b7a
CR
153562002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
15357
15358 PR c/5226
15359 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
15360 (-pthread) Add to RS/6000 options.
15361
a8154559
KH
153622002-01-02 Kazu Hirata <kazu@hxi.com>
15363
15364 * except.c: Fix comment typos.
15365 * loop.c: Likewise.
15366 * varasm.c: Likewise.
15367 * doc/tm.texi: Fix a typo.
15368
e6ecc89b
JJ
153692002-01-02 Jakub Jelinek <jakub@redhat.com>
15370
15371 * c-typeck.c (output_init_element): Allow initializing static storage
15372 duration objects with compound literals.
15373
d1094b40
RH
153742002-01-02 Richard Henderson <rth@redhat.com>
15375
15376 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
15377 after abusing it.
15378
0c5d8c82
KG
153792002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15380
5e65297b
KG
15381 * gcc.c (default_compilers): Const-ify.
15382 * mips-tdump.c (stab_names): Likewise.
15383 * mips-tfile.c (map_coff_types, map_coff_storage,
15384 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
15385 pseudo_ops_t, pseudo_ops): Likewise.
15386 * protoize.c (default_include): Likewise
15387
0c5d8c82
KG
15388 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
15389 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
15390 Add array size in declaration.
15391 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
15392 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
15393 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
15394 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
15395 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
15396 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
15397 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
15398 emtens, make_nan): Const-ify.
15399 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
15400 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
15401
817e13c4
JM
154022002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
15403
15404 * config.gcc (ia64-*-*): Set extra_headers.
15405 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
15406 * config/alpha/t-osf: Remove.
15407 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
15408
98095e2b
DE
154092002-01-02 David Edelsohn <edelsohn@gnu.org>
15410
15411 * config/rs6000/t-aix43: Revert previous change.
15412
a4200657
JM
154132002-01-02 Jason Merrill <jason@redhat.com>
15414
15415 * c-decl.c (c_expand_body): Call outlining_inline_function when
15416 emitting an inline function out of line.
15417
54ba1f0d
RH
154182002-01-02 Richard Henderson <rth@redhat.com>
15419
15420 * dwarf2out.c (limbo_die_node): Add created_for member.
15421 (new_die): New argument created_for. Update all callers.
15422 (mark_limbo_die_list): New.
15423 (dwarf2out_init): Register limbo_die_list as a root.
15424 (dwarf2out_finish): Force insert limbo dies into their function
15425 context.
15426
323728aa
NS
154272002-01-02 Nathan Sidwell <nathan@codesourcery.com>
15428
15429 PR c++/5089
15430 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
15431
aefc5826
KH
154322002-01-02 Kazu Hirata <kazu@hxi.com>
15433
15434 * config/h8300/fixunssfsi.c: Update copyright.
15435 Fix comment typos.
15436 Fix formatting.
15437 * config/h8300/h8300.c: Update copyright.
15438 Eliminate warnings.
15439
b1c9bc51
KH
154402002-01-02 Kazu Hirata <kazu@hxi.com>
15441
15442 * config/romp/romp.c: Fix comment formatting.
15443 * config/romp/romp.h: Likewise.
15444 * config/romp/romp.md: Likewise.
15445 * config/s390/s390.c: Likewise.
15446 * config/stormy16/stormy16.c: Likewise.
15447 * config/stormy16/stormy16.h: Likewise.
15448
1574ef13
AO
154492002-01-02 Alexandre Oliva <aoliva@redhat.com>
15450
15451 * c-common.h (genrtl_expr_stmt_value): Declare.
15452 * c-semantics.c (genrtl_goto_stmt): Redirect to...
15453 (genrtl_goto_stmt_value): ... this new function. Pass new
15454 argument down to expand_expr_stmt_value, taking
15455 TREE_ADDRESSABLE into account.
15456 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
15457 STMT_EXPR as addressable, i.e., one whose result we want.
15458 * expr.c (expand_expr): Don't save expression statement value
15459 of labeled_blocks or loop_exprs.
15460 * stmt.c (expand_expr_stmt): Redirect to...
15461 (expand_expr_stmt_value): ... this new function. Use new
15462 argument to tell whether to save expression value.
15463 (expand_end_stmt_expr): Reset last_expr_type and
15464 last_expr_value if we don't have either.
15465 * tree-inline.c (declare_return_variable): Mark its use
15466 statement as addressable.
15467 * tree.h: Document new use of TREE_ADDRESSABLE.
15468 (expand_expr_stmt_value): Declare.
15469
252b88f7
TR
154702002-01-01 Tom Rix <trix@redhat.com>
15471
15472 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
15473 rs6000_emit_allocate_stack.
15474
29f7a208
JM
154752002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
15476
15477 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
15478 ${srcdir}/ginclude/ to every entry in extra_headers.
15479 * configure: Regenerate.
15480 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
15481 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
15482 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
15483 * ginclude/proto.h: Rename to config/convex/proto.h.
15484
2cc2d4bb
RK
15485Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15486
15487 * attribs.c (handle_vector_size_attribute): Use host_integerp
15488 and tree_int_cst; remove warnings.
15489 * caller-save.c (insert_restore): Add cast to get rid of warning.
15490 (insert_save): Likewise.
15491 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
15492 * regmove.c (find_matches): Add temporary var to kill a warning.
15493
f01c9bcd
DR
154942002-01-01 Douglas B Rupp <rupp@gnat.com>
15495
16b61764
DR
15496 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
15497 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
15498 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
15499 (vms-dwarf2eh.o): Add Makefile rule.
15500 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
15501 * config/alpha/vms-dwarf2eh.asm: New file.
15502
f01c9bcd
DR
15503 * gcc.c (delete_if_ordinary): Delete all versions.
15504
91312b81
HPN
155052002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
15506
15507 * config/mmix/mmix.md: Update FIXME to not mention
15508 define_constants.
15509 (MMIX_rJ_REGNUM): New define_constants constant.
15510 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
15511 "*movdicc_real"): Adjust contraints formatting.
15512 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
15513 for branch prediction.
15514 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
15515 output template.
15516 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
15517 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
15518 number. Delete related FIXMEs.
15519 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
15520 from number to MMIX_rJ_REGNUM.
15521 (TARGET_MASK_BRANCH_PREDICT): New.
15522 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
15523 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
15524 value. Add -mbranch-predict and -mno-branch-predict.
15525 (TARGET_VERSION): Drop date.
15526 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
15527 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
15528 for finding out global symbols.
15529 (mmix_asm_output_labelref): Revert condition for global symbol.
15530 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
15531 (mmix_print_operand_punct_valid_p): A '+' is valid.
15532
619acae7 15533See ChangeLog.6 for earlier changes.
This page took 2.03095 seconds and 5 git commands to generate.