]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
(spe_evrlwi): Add missing third operand to assembler template.
[gcc.git] / gcc / ChangeLog
CommitLineData
78872ad9
NC
12002-10-01 Nick Clifton <nickc@redhat.com>
2
3 * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
4 to assembler template.
5
3c655f42
RH
62002-10-01 Richard Henderson <rth@redhat.com>
7
8 * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
9 for TLS debug info to !DECL_EXTERNAL.
10
ec20cffb
JT
112002-10-01 Matt Thomas <matt@3am-software.com>
12 Jason Thorpe <thorpej@wasabisystems.com>
13
14 * config.gcc (vax-*-netbsdelf*): Enable configuration.
15 * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
16 if not already defined.
17 * config/vax/elf.h: New file.
18 * config/vax/netbsd-elf.h: New file.
19 * config/vax/vax.c: Include "debug.h".
20 (vax_output_function_prologue): Add dwarf2 support. Use
21 MAIN_NAME_P when checking for VMS_TARGET stack adjust.
22 * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
23 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
24 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
25 (VAX_ISTREAM_SYNC): Remove.
26 (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
27 (JUMP_TABLES_IN_TEXT_SECTION): Define.
28 (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
29 (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
30 and assemble_name.
31 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
32 (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
33 (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
34 (INCOMING_RETURN_ADDR_RTX): Define.
35 * config/vax/vax.md (VUNSPEC_BLOCKAGE)
36 (VUNSPEC_SYNC_ISTREAM): Define.
37 (blockage): Use VUNSPEC_BLOCKAGE.
38 (sync_istream): New insn.
39
402002-10-01 Richard Henderson <rth@redhat.com>
41
42 * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
43 (*call_value_pop, call, call_value): Add dwarf2 EH support.
44 (*call): New insn.
45
73a73768
NS
462002-10-01 Nathan Sidwell <nathan@codesourcery.com>
47
48 PR c/8083
49 * c-typeck.c (build_c_cast): Warn about type punning which breaks
50 type based aliasing.
51
0645ba8f
MM
522002-10-01 Mark Mitchell <mark@codesourcery.com>
53
54 * stor-layout.c (update_alignment_for_field): New function.
55 (place_union_field): Use it.
56 (place_field): Likewise.
57
f7e466a3
NS
582002-10-01 Nathan Sidwell <nathan@codesourcery.com>
59
73a73768 60 PR other/8077
f7e466a3
NS
61 * gcc.c (cc1_options): Add space on -auxbase-strip.
62
bc9ec51b
JW
632002-10-01 Jim Wilson <wilson@redhat.com>
64
65 * config/v850/v850.h (EPILOGUE_USES): Define.
66
a646f6cc
AH
672002-09-30 Andrew Haley <aph@redhat.com>
68
69 * flow.c (insn_dead_p): When using non-call-exceptions, don't
70 eliminate insns that may trap.
71 * cse.c (insn_live_p): Likewise.
72
3f7967e3
RS
732002-10-01 Richard Sandiford <rsandifo@redhat.com>
74
75 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
76 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
77 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
78 * config/mips/mips.md: Apply same renaming here.
79
41f9efba
RS
802002-10-01 Richard Sandiford <rsandifo@redhat.com>
81
82 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
83 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
84 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
85 * config/mips/mips.md (define_attr cpu): Remove r4320.
86 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
87
366356d3
RS
882002-10-01 Richard Sandiford <rsandifo@redhat.com>
89
90 * config/mips/mips.c (mips16_strings): New variable.
91 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
92 symbol in mips16_strings. Free the list.
93 (mips_encode_section_info): Keep track of local strings.
94
8ab907e8
RS
952002-10-01 Richard Sandiford <rsandifo@redhat.com>
96
97 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
98 (sordered_df, sordered_sf): Remove.
99 * config/mips/mips.c (get_float_compare_codes): New fn.
100 (gen_int_relational, gen_conditional_move): Use it.
101
d12b8c85
RS
1022002-10-01 Richard Sandiford <rsandifo@redhat.com>
103
104 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
105 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
106 * config/mips/mips.c (fcc_register_operand): New function.
107 (mips_emit_fcc_reload): New function, extracted from reload_incc.
108 (override_options): Allow TFmode values in float registers
109 if ISA_HAS_8CC.
110 * cnfig/mips/mips.md (reload_incc): Change destination prediate
111 to fcc_register_operand. Remove misleading source constraint.
112 Use mips_emit_fcc_reload.
113 (reload_outcc): Duplicate reload_incc.
114
7e765675
UW
1152002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
116
117 * longlong.h: Partially synchronize with GMP-4.1 version:
118 Use i370 definitions also for s390.
119 Add generic definition of umul_ppmm in terms of smul_ppmm.
120 [s390] (umul_ppmm): Remove.
121 [s390] (smul_ppmm): Fix incorrect assembler constraints.
122 [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
123
89f6025d
BW
1242002-09-30 Bob Wilson <bob.wilson@acm.org>
125
126 * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
127 Add new RL_REGS register class.
128 (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
129 Call xtensa_preferred_reload_class for both input and output reloads.
130 * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
131 (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
132 instead of either AR_REGS or GR_REGS classes.
133 (xtensa_secondary_reload_class): Use new RL_REGS class.
134 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
135
7830ba7b
JDA
1362002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
137
138 * pa.c (hppa_encode_label): Don't drop '*' from function labels.
139 (pa_strip_name_encoding): Strip '@' and '*', in that order.
140 * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
141 there is a '*' prefix in NAME.
142
344b78b8
JH
143Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
144
145 * reload.c (push_reload): Handle subregs and secondary memory.
146 * reload1.c (gen_reload): Likewise.
147
148 * jump.c (reg_or_subregno): New function.
149 * rtl.h (reg_or_subregno): Declare
150 * unroll.c (find_splittable_givs): Handle subregs.
151
17bbb839
MM
1522002-09-30 Mark Mitchell <mark@codesourcery.com>
153
154 * store-layout.c (finish_record_layout): Add free_p parameter.
155 (layout_type): Pass it.
156 * tree.h (finish_record_layout): Update prototype.
92e89ef0 157
48ddd46c
JH
158Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
159
160 * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
161
162 * gcse.c (cprop_jump): Check that the register has not
163 been modified
164 (cprop_jump): Likewise.
165
b93a0fe6
RE
1662002-09-30 Richard Earnshaw <rearnsha@arm.com>
167
168 * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
169 (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
170 that we have a SImode access, and only then if reload hasn't completed;
171 for all other cases, use LO_REGS.
172
98ee7e6c
RH
1732002-09-29 Richard Henderson <rth@redhat.com>
174
175 * real.c (real_from_string): Apply sign last. Tidy exponent handling.
176
ccf7aef4
RH
1772002-09-29 Richard Henderson <rth@redhat.com>
178
b5371c18 179 PR c/8002
ccf7aef4
RH
180 * combine.c (force_to_mode): Handle FLOAT_MODE destinations
181 for CONST_INT.
182
d454e75a
DE
1832002-09-29 David Edelsohn <edelsohn@gnu.org>
184
185 * real.h (ibm_extended_format): Declare.
186 * real.c (encode_ibm_extended, decode_ibm_extended): New
187 functions.
188
89b06540
KG
1892002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
190
191 * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
192
193 * ia64.c (ia64_hpux_asm_file_end): Const-ify.
194
6ca6193b
JDA
1952002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
196
197 * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
198
991b6592
KH
1992002-09-29 Kazu Hirata <kazu@cs.umass.edu>
200
201 * builtins.def: Fix comment formatting.
202 * c-common.def: Likewise.
203 * cfgcleanup.c: Likewise.
204 * combine.c: Likewise.
205 * gengtype.c: Likewise.
206 * params.def: Likewise.
207 * predict.def: Likewise.
208 * rtl.def: Likewise.
209 * stab.def: Likewise.
210 * stor-layout.c: Likewise.
211 * tree.def: Likewise.
212 * config/darwin.c: Likewise.
213 * config/darwin.h: Likewise.
214 * config/dbxcoff.h: Likewise.
215 * config/elfos.h: Likewise.
216 * config/fp-bit.c: Likewise.
217 * config/freebsd-spec.h: Likewise.
218 * config/interix.h: Likewise.
219 * config/libgloss.h: Likewise.
220 * config/linux-aout.h: Likewise.
221 * config/linux.h: Likewise.
222 * config/lynx-ng.h: Likewise.
223 * config/lynx.h: Likewise.
224 * config/netbsd-aout.h: Likewise.
225 * config/netbsd.h: Likewise.
226 * config/netware.h: Likewise.
227 * config/psos.h: Likewise.
228 * config/ptx4.h: Likewise.
229
43aa4e05
KH
2302002-09-28 Kazu Hirata <kazu@cs.umass.edu>
231
232 * ChangeLog.4: Fix typos.
233 * ChangeLog.6: Likewise.
234 * FSFChangeLog.10: Likewise.
235 * genattrtab.c: Fix comment typos.
236 * haifa-sched.c: Likewise.
237 * real.c: Likewise.
238 * tree.h: Likewise.
239 * config/arm/arm.c: Likewise.
240 * config/arm/crti.asm: Likewise.
241 * config/arm/crtn.asm: Likewise.
242 * config/frv/frv.c: Likewise.
243 * config/frv/frv.md: Likewise.
244 * config/h8300/h8300.md: Likewise.
245 * config/i386/rtemself.h: Likewise.
246 * config/ia64/unwind-ia64.c: Likewise.
247 * config/ip2k/ip2k.h: Likewise.
248 * config/m88k/m88k.c: Likewise.
249 * config/m88k/m88k.md: Likewise.
250 * config/mips/sr71k.md: Likewise.
251 * config/mmix/mmix.c: Likewise.
252 * config/rs6000/rs6000.c: Likewise.
253 * config/sh/sh.md: Likewise.
254
13e8651c
TR
2552002-09-26 Theodore A. Roth <troth@verinet.com>
256
92e89ef0
ZW
257 * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
258 * config/avr/avr.md: Ditto.
13e8651c 259
57147be1
ZW
2602002-09-27 Alexander N. Kabaev <ak03@gte.com>
261
262 PR preprocessor/8055
263 * cppmacro.c (stringify_arg): Do not overflow the buffer
264 with the terminating NUL when the argument to be stringified
265 has no tokens.
266
5d0f3df7
RH
2672002-09-27 Richard Henderson <rth@redhat.com>
268
269 * unroll.c (simplify_cmp_and_jump_insns): New.
270 (unroll_loop): Use it. Use simplify_gen_foo+force_operand
271 instead of expand_simple_foo.
272
3dfda826
RH
2732002-09-27 Richard Henderson <rth@redhat.com>
274
275 PR optimization/7520
276 * cfganal.c (flow_active_insn_p): New.
277 (forwarder_block_p): Use it.
278
23b8ba81
RH
2792002-09-27 Richard Henderson <rth@redhat.com>
280
281 * emit-rtl.c (active_insn_p): Revert last change.
282
dce81a1a
JJ
2832002-09-27 Jakub Jelinek <jakub@redhat.com>
284
285 * doc/extend.texi (tls_model): Document.
286 * varasm.c (decl_tls_model): New.
287 * c-common.c (handle_tls_model_attribute): New.
288 (c_common_attribute_table): Add tls_model.
289 * config/alpha/alpha.c (alpha_encode_section_info): Use
290 decl_tls_model.
291 * flags.h (enum tls_model, flag_tls_default): Move...
292 * tree.h (enum tls_model, flag_tls_default): ...here.
293 (decl_tls_model): New prototype.
294 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
295 * config/i386/i386.c (ix86_encode_section_info): Likewise.
296 * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
297 Allow !flag_pic.
298
0e9e1e0a
KH
2992002-09-27 Kazu Hirata <kazu@cs.umass.edu>
300
301 * LANGUAGES: Follow spelling conventions.
302 * rtl.def: Likewise.
303 * sbitmap.c: Likewise.
304 * sched-int.h: Likewise.
305 * sched-rgn.c: Likewise.
306 * sibcall.c: Likewise.
307 * simplify-rtx.c: Likewise.
308 * ssa.c: Likewise.
309 * stab.def: Likewise.
310 * stmt.c: Likewise.
311 * stor-layout.c: Likewise.
312 * target.h: Likewise.
313 * timevar.c: Likewise.
314 * toplev.c: Likewise.
315 * tree-dump.c: Likewise.
316 * tree-inline.c: Likewise.
317 * tree.c: Likewise.
318 * tree.def: Likewise.
319 * tree.h: Likewise.
320 * unroll.c: Likewise.
321 * varasm.c: Likewise.
322 * vmsdbgout.c: Likewise.
323 * treelang/treelang.texi: Likewise.
324 * treelang/treetree.c: Likewise.
325
b9b575e6
KH
3262002-09-27 Kazu Hirata <kazu@cs.umass.edu>
327
328 * config/h8300/h8300.c (compute_saved_regs): Use a macro
329 instead of a hard register number.
330 (get_shift_alg): Use an enumerated type instead of numbers.
331 (h8300_shift_needs_scratch_p): Likewise.
332
99a32567
DM
3332002-09-26 David S. Miller <davem@redhat.com>
334
335 PR optimization/7335
336 * calls.c (emit_library_call_value_1): Passing args by reference
337 converts a CONST function into a PURE one.
338
67cef334
DE
3392002-09-26 David Edelsohn <edelsohn@gnu.org>
340
341 * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
342 text_section.
57147be1 343 * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
67cef334
DE
344 text section.
345 * config/rs6000/rs6000.c (rs6000_override_options): Allow
346 function-sections and data-sections functionality on AIX.
347
3482002-09-26 David Edelsohn <edelsohn@gnu.org>
349 Dale Johannesen <dalej@apple.com>
350
351 * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
352 in RTL for sub-word loads from memory.
353
c2310f51
RH
3542002-09-26 Richard Henderson <rth@redhat.com>
355
356 PR c/7160
357 * sched-deps.c (sched_analyze_insn): Make clobber insns depend
358 on call insns.
359
7847d627
RH
3602002-09-26 Richard Henderson <rth@redhat.com>
361
362 * emit-rtl.c (const_double_htab_eq): Remove unused variable.
363
cde0ce6e
CL
3642002-09-26 Chris Lattner <sabre@nondot.org>
365
366 * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
367 handling undefined values.
368
03a62672
RH
3692002-09-26 Richard Henderson <rth@redhat.com>
370
5fd452e8 371 PR opt/7520
03a62672
RH
372 * emit-rtl.c (active_insn_p): Consider a clobber of the
373 function return value to be active even after reload.
374
b5a77fef
AM
3752002-09-27 Alan Modra <amodra@bigpond.net.au>
376
377 * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
378 by absolute loop increment, not loop increment.
379
40f03658
KH
3802002-09-26 Kazu Hirata <kazu@cs.umass.edu>
381
382 * c-common.h: Follow spelling conventions.
383 * cpplex.c: Likewise.
384 * cpplib.h: Likewise.
385 * gthr-dce.h: Likewise.
386 * gthr-posix.h: Likewise.
387 * optabs.c: Likewise.
388 * output.h: Likewise.
389 * profile.c: Likewise.
390 * protoize.c: Likewise.
391 * ra-rewrite.c: Likewise.
392 * real.c: Likewise.
393 * recog.c: Likewise.
394 * reg-stack.c: Likewise.
395 * regclass.c: Likewise.
396 * regmove.c: Likewise.
397 * reload.c: Likewise.
398 * reload.h: Likewise.
399 * reload1.c: Likewise.
400 * reorg.c: Likewise.
401 * resource.c: Likewise.
402 * rtl.h: Likewise.
403 * rtlanal.c: Likewise.
404
ee8a73d6
SE
4052002-09-26 Steve Ellcey <sje@cup.hp.com>
406
407 * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
408 for symbol address.
409
2eb2bbdc
EC
4102002-09-24 Eric Christopher <echristo@redhat.com>
411
57147be1
ZW
412 * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
413 * config/mips/elf64.h: Ditto.
2eb2bbdc 414
0ab38418
EC
4152002-09-24 Eric Christopher <echristo@redhat.com>
416
57147be1 417 * except.c (expand_builtin_extract_return_address): Handle case
0ab38418
EC
418 where Pmode != ptr_mode.
419
68bb91b1
SE
4202002-09-26 Steve Ellcey <sje@cup.hp.com>
421
422 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
423
5429802d
SE
4242002-09-26 Steve Ellcey <sje@cup.hp.com>
425
426 * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
427
855c3a2e
IS
4282002-09-26 Igor Shevlyakov <igor@microunity.com>
429
430 * combine.c (simplify_set): Don't call to force_to_mode if size
431 of integer type is larger than HOST_BITS_PER_WIDE_INT.
432
2d556baf
JJ
4332002-09-26 Janis Johnson <janis187@us.ibm.com>
434
435 * Makefile.in (qmtest-g++): Fix file path.
436
1717e19e
UW
4372002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
438
0ab38418 439 * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
1717e19e
UW
440 A + (-const) on RTX level, even for unsigned types.
441
6cabe79e
UW
4422002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
443
444 * reload.c (dup_replacements): New function.
445 (find_reloads): Use it to duplicate replacements at the top level
446 of match_dup operands.
447
0855247a
MB
4482002-09-26 Miles Bader <miles@gnu.org>
449
450 * v850.md ("length"): Change default value to 4.
451
6335b0aa
KH
4522002-09-26 Kazu Hirata <kazu@cs.umass.edu>
453
454 * ChangeLog.1: Follow spelling conventions.
455 * ChangeLog.4: Likewise.
456 * ChangeLog.6: Likewise.
457 * FSFChangeLog.11: Likewise.
458 * doc/cpp.texi: Likewise.
459 * doc/invoke.texi: Likewise.
460 * doc/tm.texi: Likewise.
461
09818236
NC
4622002-09-26 Nick Clifton <nickc@redhat.com>
463
464 * config.gcc: Add x prefix to v850e case for handling
465 --with-cpu=v850e.
466
8a3996fd
DM
4672002-09-25 David S. Miller <davem@redhat.com>
468
469 PR target/7842
470 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
471 extend.
472
8580f7a0
RH
4732002-09-25 Richard Henderson <rth@redhat.com>
474
475 * emit-rtl.c (const_double_htab_eq): Distinguish integer and
476 fp CONST_DOUBLE; use real_identical.
477
956d9305
MM
4782002-09-25 Mark Mitchell <mark@codesourcery.com>
479
480 * doc/invoke.texi: Add more -Wabi examples.
481
3ccbe819
RS
4822002-09-25 Richard Sandiford <rsandifo@redhat.com>
483
484 * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
485
2106e42a
DC
4862002-09-24 Denis Chertykov <denisc@overta.ru>
487
488 * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
489 cases of optimizing "add sp,w" to "inc sp".
490
58e60158
AN
4912002-09-24 Adam Nemet <anemet@lnxw.com>
492
57147be1
ZW
493 * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
494 epilogue for naked functions.
58e60158 495
59be6073 4962002-09-24 Adam Nemet <anemet@lnxw.com>
57147be1 497 Nick Clifton <nickc@redhat.com>
59be6073
AN
498
499 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
500 (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
501 is defined.
502
100c7420
UW
5032002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
504
505 * config/s390/s390.c (preferred_la_operand_p): New function.
506 * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
507 * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
508 ("*la_64_cc", "*la_31_cc", splitters): ... these.
509 ("*la_31"): Deactivate for TARGET_64BIT.
510 ("*la_31_and", "*la_31_and_cc"): New.
511
9fc63af5
KG
5122002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
513
514 * real.h (real_value): Make `exp' explicitly signed.
515
43a88a8c
KH
5162002-09-24 Kazu Hirata <kazu@cs.umass.edu>
517
518 * config/elfos.h: Follow spelling conventions.
519 * config/alpha/alpha.h: Likewise.
520 * config/arc/arc.h: Likewise.
521 * config/arm/arm.md: Likewise.
522 * config/avr/avr.h: Likewise.
523 * config/cris/cris.md: Likewise.
524 * config/d30v/d30v.h: Likewise.
525 * config/frv/frv.c: Likewise.
526 * config/frv/frv.h: Likewise.
527 * config/h8300/h8300.c: Likewise.
528 * config/h8300/h8300.h: Likewise.
529 * config/h8300/h8300.md: Likewise.
530 * config/i386/cygwin.h: Likewise.
531 * config/i386/i386.h: Likewise.
532 * config/i386/sysv3.h: Likewise.
533 * config/i960/i960.h: Likewise.
534 * config/ia64/ia64.h: Likewise.
535 * config/ia64/ia64.md: Likewise.
536 * config/ip2k/ip2k.h: Likewise.
537 * config/m32r/m32r.h: Likewise.
538 * config/m68k/m68k.h: Likewise.
539 * config/m88k/m88k.h: Likewise.
540 * config/mcore/mcore.c: Likewise.
541 * config/mcore/mcore.h: Likewise.
542 * config/mcore/mcore.md: Likewise.
543 * config/mips/mips.h: Likewise.
544 * config/mmix/mmix.h: Likewise.
545 * config/mmix/mmix.md: Likewise.
546 * config/ns32k/netbsd.h: Likewise.
547 * config/ns32k/ns32k.h: Likewise.
548 * config/ns32k/ns32k.md: Likewise.
549 * config/pa/pa.h: Likewise.
550 * config/romp/romp.h: Likewise.
551 * config/rs6000/rs6000.h: Likewise.
552 * config/rs6000/rs6000.md: Likewise.
553 * config/sparc/sparc.h: Likewise.
554 * config/stormy16/stormy-abi: Likewise.
555 * config/stormy16/stormy16.h: Likewise.
556 * config/vax/vax.h: Likewise.
557
b4f94ac1
ZW
5582002-09-23 Zack Weinberg <zack@codesourcery.com>
559
560 * version.c (version_string): Now const char[].
561 * version.h: Update to match.
562
9ef1b13a
RH
5632002-09-23 Richard Henderson <rth@redhat.com>
564
565 * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
566 MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
567 (TARGET_SWITCHES): Don't reference them.
568 * config/i386/i386.c (override_options): Use target_flags_explicit
569 to examine bits set by the user.
570
ca9d6748 5712002-09-23 Dale Johannesen <dalej@apple.com>
9ef1b13a 572
ca9d6748
DJ
573 * dbxout.c (dbxout_parms): Set current_sym_code for params
574 passed on stack by invisible reference.
575
97d48e5a
RE
5762002-09-23 Richard Earnshaw <rearnsha@arm.com>
577
578 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
579 at least one byte of space.
580
46c83bce
MM
5812002-09-23 Mark Mitchell <mark@codesourcery.com>
582
583 * c-common.h (flag_abi_version): Fix typo in comment.
584 * doc/invoke.texi (flag_abi_version): Document default value.
585
acb5d088
HPN
5862002-09-23 Hans-Peter Nilsson <hp@axis.com>
587
588 * doc/extend.texi (Extended Asm): Clarify that overlap between
589 asm-declared register variables used in an asm and the asm clobber
590 list is not allowed.
591 * stmt.c (decl_conflicts_with_clobbers_p): New function.
592 (expand_asm_operands): Keep track of clobbered registers. Call
593 decl_conflicts_with_clobbers_p for each input and output operand.
594 If no conflicts found before, also do conflict sanity check when
595 emitting clobbers.
596
ddf0fc72
RH
5972002-09-23 Richard Henderson <rth@redhat.com>
598
599 * c-common.c (cpp_define_data_format): Remove.
600 (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
601 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
602 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
603 * doc/cpp.texi: Don't document them either.
604 (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
605 __LONG_LONG_MAX__): Document.
606 (__TARGET_FLOAT_FORMAT__): Remove.
607
a520ff95
RH
6082002-09-23 Richard Henderson <rth@redhat.com>
609
610 * real.c (do_multiply): Normalize U before addition.
611
2d3e278d
MM
6122002-09-23 Mark Mitchell <mark@codesourcery.com>
613
614 * c-common.c (flag_abi_version): New variable.
615 * c-common.h (flag_abi_version): Declare it.
616 * c-opts.c (missing_arg): Add -fabi-version.
617 (c_common_decode_option): Process -fabi-version.
618 * doc/invoke.texi (-fabi-version): Document it.
619 (-Wabi): Add information about bit-fields in unions.
b4f94ac1 620
173b51b5
JT
6212002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
622
623 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
624 unless -fno-pic or -fno-PIC is specified.
625
c219e1da
JDA
6262002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
627
628 * c-common.c (preprocessing_trad_p): Define.
629 * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
630 (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
631 * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
632 * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
633 * pa-linux.h (CPP_PREDEFINES): Delete.
634 (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
635 * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
636 * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
637 (TARGET_OS_CPP_BUILTINS): Define.
638 * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
639 (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
640 (SUBTARGET_SWITCHES): Provide default definition.
641 (TARGET_OPTIONS): Reformat. Use N_() macro.
642 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
643 CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
644 EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
645 (TARGET_CPU_CPP_BUILTINS): Define.
646 (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
647 * doc/invoke.texi (msio, mwsio): Document new hppa options.
648 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
649 preprocessing_trad_p().
650
65a824f6
JT
6512002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
652
653 * doc/install.texi: Document behavior of --with-headers and
654 --with-libs when arguments are omitted.
655
cc2902df
KH
6562002-09-22 Kazu Hirata <kazu@cs.umass.edu>
657
658 * dbxout.c: Follow spelling conventions.
659 * defaults.h: Likewise.
660 * df.c: Likewise.
661 * diagnostic.h: Likewise.
662 * doloop.c: Likewise.
663 * dwarf2out.c: Likewise.
664 * dwarfout.c: Likewise.
665 * emit-rtl.c: Likewise.
666 * except.c: Likewise.
667 * explow.c: Likewise.
668 * expmed.c: Likewise.
669 * expr.c: Likewise.
670 * expr.h: Likewise.
671 * flags.h: Likewise.
672 * flow.c: Likewise.
673 * fold-const.c: Likewise.
674 * function.c: Likewise.
675 * function.h: Likewise.
676 * gcc.c: Likewise.
677 * gcov-io.h: Likewise.
678 * gcov.c: Likewise.
679 * gcse.c: Likewise.
680 * genattrtab.c: Likewise.
681 * genconfig.c: Likewise.
682 * genrecog.c: Likewise.
683 * ggc-page.c: Likewise.
684 * ggc.h: Likewise.
685 * global.c: Likewise.
686 * gthr-win32.h: Likewise.
687 * integrate.c: Likewise.
688 * jump.c: Likewise.
689 * langhooks.c: Likewise.
690 * langhooks.h: Likewise.
691 * line-map.h: Likewise.
692 * local-alloc.c: Likewise.
693 * longlong.h: Likewise.
694 * loop.c: Likewise.
695 * loop.h: Likewise.
696
ef49d42e
JH
697Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
698
699 * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
700
701Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
702
703 * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
704 for -Os/TARGET_64BIT too.
705
da7d8304
KH
7062002-09-21 Kazu Hirata <kazu@cs.umass.edu>
707
708 * ChangeLog: Follow spelling conventions.
709 * ChangeLog.0: Likewise.
710 * ChangeLog.1: Likewise.
711 * ChangeLog.2: Likewise.
712 * ChangeLog.3: Likewise.
713 * ChangeLog.4: Likewise.
714 * ChangeLog.5: Likewise.
715 * ChangeLog.6: Likewise.
716 * FSFChangeLog.10: Likewise.
717 * FSFChangeLog.11: Likewise.
718 * alias.c: Likewise.
719 * basic-block.h: Likewise.
720 * c-aux-info.c: Likewise.
721 * c-common.c: Likewise.
722 * c-common.h: Likewise.
723 * c-decl.c: Likewise.
724 * c-format.c: Likewise.
725 * c-semantics.c: Likewise.
726 * c-typeck.c: Likewise.
727 * calls.c: Likewise.
728 * cfganal.c: Likewise.
729 * cfgloop.c: Likewise.
730 * collect2.c: Likewise.
731 * combine.c: Likewise.
732 * conflict.c: Likewise.
733 * cppexp.c: Likewise.
734 * cppfiles.c: Likewise.
735 * cpphash.h: Likewise.
736 * cppinit.c: Likewise.
737 * cpplex.c: Likewise.
738 * cpplib.c: Likewise.
739 * cpplib.h: Likewise.
740 * cppmacro.c: Likewise.
741 * cse.c: Likewise.
742
330cc6c7
RE
7432002-09-21 Richard Earnshaw <rearnsha@arm.com>
744
745 * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
746 LINK_SPEC.
747 (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
748 * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
749 (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
750
5b437e0f
RE
7512002-09-21 Richard Earnshaw <rearnsha@arm.com>
752
9ee4fa29
RE
753 PR opt/7930
754 * cse.c (fold_rtx): Calculate old_cost before we fold each
5b437e0f
RE
755 operand.
756
2a15d344
RH
7572002-09-21 Richard Henderson <rth@redhat.com>
758
759 * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
760 __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
761 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
762 __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
763 __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
764 * doc/cpp.texi: Don't document them.
765
3fdacdf9
RH
7662002-09-21 Richard Henderson <rth@redhat.com>
767
768 * c-common.c (builtin_define_float_constants): Use real_format
769 to get the floating-point parameters.
770
3dc85dfb
RH
7712002-09-21 Richard Henderson <rth@redhat.com>
772
773 * real.c (struct real_format): Move to real.h.
774 (real_format_for_mode): Rename from fmt_for_mode; update all users;
775 initialize with ieee defaults.
776 (real_to_target_fmt, real_from_target_fmt): New.
777 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
778 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
b4f94ac1 779 ieee_quad_format, i370_single_format, i370_double_format,
3dc85dfb
RH
780 c4x_single_format, c4x_extended_format): Rename from s/_format//.
781 (ieee_quad_format): Fix emin.
782 (format_for_size, init_real_once): Remove.
783 * real.h (struct real_format): Move from real.c.
784 (real_format_for_mode): Declare.
785 (real_to_target_fmt, real_from_target_fmt): Declare.
786 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
787 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
788 ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
789 i370_single_format, i370_double_format, c4x_single_format,
790 c4x_extended_format): Declare.
791 * toplev.c (do_compile): Don't call init_real_once.
792
793 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
794 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
795
796 * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
797 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
798 * config/alpha/alpha.c (override_options): Set real_format_for_mode
799 for VAX, if enabled.
800
801 * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
802 for C4X.
803
804 * config/i370/i370.h (OVERRIDE_OPTIONS): New.
805 * config/i370/i370.c (override_options): New.
806 * config/i370/i370-protos.h: Update.
807
808 * config/i386/i386.c (override_options): Set real_format_for_mode
809 for Intel 80-bit extended.
810 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
811
812 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
813 (OVERRIDE_OPTIONS): Move code...
814 * config/i960/i960.c (i960_initialize): ... here. Set
815 real_format_for_mode for Intel 80-bit extended.
816
817 * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
818 for Intel 80-bit extended, if enabled.
819
820 * config/m68k/m68k.c (override_options): Set real_format_for_mode
b4f94ac1 821 for Motorola 96-bit extended.
3dc85dfb
RH
822
823 * config/vax/vax.h (OVERRIDE_OPTIONS): New.
824 * config/vax/vax.c (override_options): New.
825 * config/vax/vax-protos.h: Update.
826
42a6388c
AM
8272002-09-21 Alan Modra <amodra@bigpond.net.au>
828
84d7dd4a
AM
829 * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
830 #if TARGET_MACHO.
831
42a6388c
AM
832 * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
833 insns. Supply missing clobber of scratch reg.
834
a0ab749a
KH
8352002-09-20 Kazu Hirata <kazu@cs.umass.edu>
836
837 * config/m32r/m32r.c: Follow spelling conventions.
838 * config/m32r/m32r.h: Likewise.
839 * config/m32r/m32r.md: Likewise.
840 * config/m68k/m68k.c: Likewise.
841 * config/m88k/m88k.c: Likewise.
842 * config/mcore/mcore.c: Likewise.
843 * config/mips/mips.c: Likewise.
844 * config/mips/mips.h: Likewise.
845 * config/mmix/mmix.c: Likewise.
846 * config/mn10200/mn10200.c: Likewise.
847 * config/ns32k/ns32k.h: Likewise.
848 * config/pa/pa.c: Likewise.
849 * config/pa/pa64-linux.h: Likewise.
850 * config/pdp11/pdp11.h: Likewise.
851 * config/romp/romp.c: Likewise.
852 * config/romp/romp.h: Likewise.
853 * config/rs6000/eabi.asm: Likewise.
854 * config/rs6000/linux64.h: Likewise.
855 * config/rs6000/rs6000.c: Likewise.
856 * config/rs6000/rs6000.h: Likewise.
857 * config/rs6000/rs6000.md: Likewise.
858 * config/rs6000/sysv4.h: Likewise.
859 * config/rs6000/xcoff.h: Likewise.
860
2f0da74c
JW
8612002-09-20 Jim Wilson <wilson@redhat.com>
862
863 * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
864
dea73790
JJ
8652002-09-20 Jakub Jelinek <jakub@redhat.com>
866
867 * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
868 * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
869 UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
870 (legitimate_address_p): Likewise.
871 (legitimize_address): Use @gotntpoff and @indntpoff.
872 (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
873 (output_addr_const_extra): Likewise.
874
a9b2f059
JW
8752002-09-20 Jim Wilson <wilson@redhat.com>
876
877 * combine.c (try_combine): When split an instruction pair, where the
878 first has a sign_extend src, verify that the src and dest modes match.
879
1f7422bd
RH
8802002-09-20 Richard Henderson <rth@redhat.com>
881
882 * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
883 (override_options): Do not initialize them.
884 (mips_const_double_ok): Allow no fp constants except zero,
885 and not even that for mips16.
886 (const_float_1_operand): Use dconst1.
887 * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
888 movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
889 Don't allow arbitrary constants; fix predicates and C constraint.
890
56941bf2
NB
8912002-09-20 Neil Booth <neil@daikokuya.co.uk>
892
893 * cppmacro.c: Don't warn about function-like macros without
27eba309 894 '(' during pre-expansion.
56941bf2 895
66a0dfeb
JW
8962002-09-20 Jim Wilson <wilson@redhat.com>
897
898 * config/v850/v850.c (current_function_anonymous_args): Delete.
899 (expand_prologue): Use current_function_args_info.anonymous_args.
900 (expand_epilogue): Delete use of current_function_anonymous_args.
901 * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
902 (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
903 (current_function_anonymous_args): Delete extern declaration.
904 (SETUP_INCOMING_VARARGS): Set anonymous_args field.
905
97b23853
GK
9062002-09-20 Geoffrey Keating <geoffk@apple.com>
907
f51eee6a
GK
908 * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
909 to load_macho_picbase.
910 * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
911 (load_macho_picbase): Take the symbol to use as a parameter.
912 (macho_correct_pic): New insn.
913 (builtin_setjmp_reciever): On Darwin, restore the PIC register.
914
97b23853
GK
915 * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
916 RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
917 (CAN_ELIMINATE): Likewise.
918 (INITIAL_ELIMINATION_OFFSET): Likewise.
919 (TOC_REGISTER): Likewise.
920
46b33600
RH
9212002-09-20 Richard Henderson <rth@redhat.com>
922
923 * real.c (real_hash): New.
924 * real.h: Declare it.
925 * cse.c (canon_hash): Use it.
926 * cselib.c (hash_rtx): Likewise.
927 * emit-rtl.c (const_double_htab_hash): Likewise.
928 * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
929 * varasm.c (struct rtx_const): Reduce vector size; separate
930 integer and fp vectors.
931 (HASHBITS): Remove.
932 (const_hash_1): Rename from const_hash. Use real_hash. Do not
933 take modulus MAX_HASH_TABLE.
934 (const_hash): New. Do take modulus MAX_HASH_TABLE.
935 (output_constant_def): Do not take modulus MAX_HASH_TABLE.
936 (SYMHASH): Don't use HASHBITS.
937 (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
938 Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
939 (simplify_subtraction): Fix kind comparison.
940 (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
941 Use a union to pun integer array.
942 * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
943 only hash two words of integral CONST_DOUBLE.
944
40ad65d0
SE
9452002-09-20 Steve Ellcey <sje@cup.hp.com>
946
947 * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
948 (STARTFILE_PREFIX_SPEC): New.
949 (LINK_SPEC): Modify.
950 (LIB_SPEC): Modify.
951 (LIBGCC_SPEC): New.
952
600f3392
JJ
9532002-09-20 Jakub Jelinek <jakub@redhat.com>
954
955 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
956 UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
957
c1ff6200
JD
9582002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
959
960 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
961 Add clobber of the condition code register.
962
60b78700
RH
9632002-09-20 Richard Henderson <rth@redhat.com>
964
965 * real.c (do_fix_trunc): Static.
966 (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
967 encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
968 encode_i370_single, encode_i370_double, encode_c4x_single,
969 encode_c4x_extended): Add default abort case.
970
0ee6fdb5
RH
9712002-09-20 Richard Henderson <rth@redhat.com>
972
973 * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
974 MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
975 (struct realvaluetype): Remove.
976 (REAL_VALUE_TYPE): Use struct real_value.
977 (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
978 (test_real_width): New.
979 * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
980 (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
981 (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
982 real_isneg, real_isnegzero, real_identical, exact_real_inverse,
983 real_to_integer, real_to_integer2, real_to_decimal,
984 real_to_hexadecimal, real_from_string, real_from_integer,
985 real_inf, real_nan, real_2expN, real_convert, real_to_target,
986 real_from_target): Likewise.
987 * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
988 * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
989
66d93b5a
RH
9902002-09-20 Richard Henderson <rth@redhat.com>
991
992 * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
993 IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
994 * defaults.h: ... here.
995 * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
996 config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
997 config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
998 config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
999
6ee3db61
HPN
10002002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
1001
1002 * config/mmix/mmix.md ("negdf2"): Rewrite.
1003 ("*expanded_negdf2"): New.
1004
ff076520
JW
10052002-09-19 Jim Wilson <wilson@redhat.com>
1006
1007 * combine.c (simplify_set): When optimizing a subreg src with a
1008 cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
1009
307f767b
DJ
10102002-09-19 Dale Johannesen <dalej@apple.com>
1011 * combine.c (make_extraction): Don't create
1012 invalid subreg.
1013
cc7ab9b7
UW
10142002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
1015
b4f94ac1 1016 * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
cc7ab9b7
UW
1017 and STRICT_LOW_PART within SET_DEST.
1018 * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
1019 splitters, replacing pre-reload splitters.
b4f94ac1 1020 ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
cc7ab9b7
UW
1021 "*zero_extendqihi2_31"): New insns.
1022 ("*zero_extendqihi2_64"): Do not clobber CC.
1023
b64ddb88
SE
10242002-09-19 Steve Ellcey <sje@cup.hp.com>
1025
1026 * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
1027 (DTORS_SECTION_ASM_OP): Ditto.
1028 (READONLY_DATA_SECTION_ASM_OP): Moved.
1029 (DATA_SECTION_ASM_OP): New.
1030 (SDATA_SECTION_ASM_OP): New.
1031 (BSS_SECTION_ASM_OP): New.
1032 (SBSS_SECTION_ASM_OP): New.
1033 (TEXT_SECTION_ASM_OP): New.
1034
9cd10576
KH
10352002-09-19 Kazu Hirata <kazu@cs.umass.edu>
1036
1037 * config/fp-bit.c: Follow spelling conventions.
1038 * config/d30v/d30v.c: Likewise.
1039 * config/d30v/d30v.h: Likewise.
1040 * config/fr30/fr30.c: Likewise.
1041 * config/fr30/fr30.h: Likewise.
1042 * config/fr30/fr30.md: Likewise.
1043 * config/frv/frv.c: Likewise.
1044 * config/frv/frv.h: Likewise.
1045 * config/h8300/h8300.c: Likewise.
1046 * config/h8300/lib1funcs.asm: Likewise.
1047 * config/i370/i370.c: Likewise.
1048 * config/i386/i386.h: Likewise.
1049 * config/i386/i386.md: Likewise.
1050 * config/i386/pentium.md: Likewise.
1051 * config/i386/winnt.c: Likewise.
1052 * config/i960/i960.c: Likewise.
1053 * config/ia64/ia64.h: Likewise.
1054 * config/ip2k/ip2k.c: Likewise.
1055 * config/ip2k/ip2k.h: Likewise.
1056 * config/ip2k/ip2k.md: Likewise.
1057 * config/ip2k/libgcc.S: Likewise.
1058
fff08fd8
SC
10592002-09-19 Stephen Clarke <stephen.clarke@superh.com>
1060
1061 * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
1062 (GOTOFF_P): Extend to allow gotoff plus constant.
1063
bf3d27e6
RH
10642002-09-18 Richard Henderson <rth@redhat.com>
1065
1066 * ifcvt.c (noce_process_if_block): Correctly detect X modified
b4f94ac1 1067 with INSN_B before COND_EARLIEST. Don't check A and B for
bf3d27e6
RH
1068 modification in condition range. Reorder INSN_B for A==B properly.
1069 (if_convert): Iterate until no matches for a block.
1070
1b1f20ca
RH
10712002-09-18 Richard Henderson <rth@redhat.com>
1072
1073 * calls.c (store_one_arg): Rename default_align to parm_align;
1074 always adjust parm_align for downward padding.
1075
724838b9
RH
10762002-09-18 Richard Henderson <rth@redhat.com>
1077
1078 * toplev.c (backend_init): Move init_real_once invocation ...
1079 (do_compile): ... here.
1080
2c67b7c6
RH
10812002-09-18 Richard Henderson <rth@redhat.com>
1082
1083 * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
1084 RTX_UNCHANGING_P markers for successful tail-recursive replacement.
1085
15769ca3
RH
10862002-09-18 Richard Henderson <rth@redhat.com>
1087
1088 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
1089
678b7733
AM
10902002-09-19 Alan Modra <amodra@bigpond.net.au>
1091
1092 * config/rs6000/rs6000.md: (floatdisf2): Rename to
1093 floatdisf2_internal1.
1094 (floatdisf2): New define_expand.
1095 (floatdisf2_internal2): Likewise.
1096
c402b6bf
RH
10972002-09-18 Richard Henderson <rth@redhat.com>
1098
b4f94ac1 1099 * real.c (sticky_rshift_significand): Collect sticky as
c402b6bf
RH
1100 unsigned long, not bool.
1101
dea09b1b
UW
11022002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
1103
1104 * config/s390/s390.c (s390_address_cost): New function.
1105 config/s390/s390-protos.h (s390_address_cost): Add prototype.
1106 config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
1107 (RTX_COST): Use COSTS_N_INSNS.
1108
e4850f36
DR
11092002-09-18 Douglas Rupp <rupp@gnat.com>
1110 Donn Terry <donnte@microsoft.com>
1111
1112 * stor-layout.c (place_field): Handle alignment of whole
1113 structures when MSVC compatible bitfields are involved.
1114 Change method of computing location of MS bitfields to
1115 be compatible with #pragma pack(n).
1116
1117 * tree.h (record_layout_info): Add new field
1118 remaining_in_alignment.
1119
1120 * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
43a88a8c 1121 (pragma pack): Add paragraph on MSVC bit-field packing.
e4850f36 1122
872e50d3
RE
11232002-09-18 Richard Earnshaw (reanrsha@arm.com)
1124
1125 PR optimization/7967
1126 * arm.md (ne_zeroextractsi): Add clobber of the condition code
1127 register.
1128
5e7a8ee0
KH
11292002-09-18 Kazu Hirata <kazu@cs.umass.edu>
1130
9cd10576 1131 * config/s390/s390.c: Follow spelling conventions.
5e7a8ee0
KH
1132 * config/sh/lib1funcs.asm: Likewise.
1133 * config/sh/sh.c: Likewise.
1134 * config/sh/sh.h: Likewise.
1135 * config/sparc/sparc.c: Likewise.
1136 * config/sparc/sparc.h: Likewise.
1137 * config/sparc/sparc.md: Likewise.
1138 * config/stormy16/stormy16.c: Likewise.
1139 * config/stormy16/stormy16.h: Likewise.
1140 * config/v850/v850.c: Likewise.
1141 * config/v850/v850.h: Likewise.
1142 * config/vax/vax.c: Likewise.
1143 * config/vax/vax.h: Likewise.
1144
00a892b8
NC
11452002-09-18 Nick Clifton <nickc@redhat.com>
1146
1147 * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
1148 * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
1149 * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
1150
bfb53001
ZW
11512002-09-17 Zack Weinberg <zack@codesourcery.com>
1152
1153 * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
1154 statement that the only translation is to en_UK.
1155
825dda42
KH
11562002-09-17 Kazu Hirata <kazu@cs.umass.edu>
1157
1158 * config/alpha/alpha.c: Follow spelling conventions.
1159 * config/alpha/alpha.h: Likewise.
1160 * config/alpha/alpha.md: Likewise.
1161 * config/arc/arc.h: Likewise.
1162 * config/arm/arm.c: Likewise.
1163 * config/arm/arm.h: Likewise.
1164 * config/arm/arm.md: Likewise.
1165 * config/arm/pe.c: Likewise.
1166 * config/arm/unknown-elf.h: Likewise.
1167 * config/avr/avr.c: Likewise.
1168 * config/avr/avr.h: Likewise.
1169 * config/c4x/c4x.c: Likewise.
1170 * config/cris/cris.c: Likewise.
1171 * config/cris/cris.h: Likewise.
1172
8e16ab99 11732002-09-17 Samuel Figueroa <figueroa@apple.com>
825dda42 1174
8e16ab99
SF
1175 * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
1176 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
1177 * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
1178
ac19be7e 11792002-09-17 Dale Johannesen <dalej@apple.com>
825dda42 1180
ac19be7e
DJ
1181 * cfgcleanup.c (try_forward_edges): Do not forward a
1182 branch to just after a loop exit before loop optimization;
1183 this interfered with doloop detection.
1184
f1acdf8b
NC
11852002-09-17 Nick Clifton <nickc@redhat.com>
1186
1187 * config/arm/arm.c (output_return_instruction): Do not
1188 writeback the stack pointer when it is being loaded.
1189 (arm_output_epilogue): Likewise.
1190
24491a09
KH
11912002-09-17 Kazu Hirata <kazu@cs.umass.edu>
1192
1193 * optabs.c (prepare_cmp_insn): Let emit_library_call_value
1194 generate a pseudo reg that receives the result of a libcall.
1195 (prepare_float_lib_cmp): Likewise.
1196
e6c247e0
SE
11972002-09-17 Steve Ellcey <sje@cup.hp.com>
1198
b4f94ac1 1199 * config/ia64/elf.h: Remove CPP_PREDEFINES.
e6c247e0 1200
1074d9d4
NP
1201Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
1202
1203 Fix PR/7014 and related objc bugs:
1204 * c-typeck.c (comp_target_types): Added a reflexive argument.
1205 Pass it to ObjC when/if calling objc_comptypes(). Updated all
1206 callers to provide the appropriate reflexive argument.
1207 * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
1208 typechecking for all cases of comparisons and assignments,
1209 particularly the obscure and less common ones involving protocols.
1210
256e9fd2
NC
12112002-09-17 Nick Clifton <nickc@redhat.com>
1212
1213 * machmode.def (V1DImode): New mode. A single element vector.
1214 * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
1215 (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
1216 * tree.c (build_common_tree_nodes_2): Build
1217 unsigned_V1DI_type_node and V1D1_type_node.
1218 * c-common.c (c_common_type_for_mode): Return
1219 unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
1220 * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
1221
838c4534
NP
1222Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
1223
1224 * doc/objc.texi (Constant string objects): Extended documentation
1225 to make clear that the constant string class ivar layout is
1226 completely fixed.
b4f94ac1 1227
07532fad
RS
12282002-09-17 Roger Sayle <roger@eyesopen.com>
1229
1230 * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
1231 NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
1232
cb38fd88
RH
12332002-09-16 Richard Henderson <rth@redhat.com>
1234
1235 * expr.c (emit_block_move): Set memory block size as appropriate
1236 for the copy.
1237
bd055118
RH
12382002-09-16 Richard Henderson <rth@redhat.com>
1239
1240 PR fortran/3924
b4f94ac1 1241 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
bd055118 1242
8c317c5f
RH
12432002-09-16 Richard Henderson <rth@redhat.com>
1244
1245 * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
1246 as well as OFFSET for BITPOS.
1247
3780101d
JG
12482002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
1249
b4f94ac1
ZW
1250 * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
1251 * config/i386/i386.c (processor_alias_table): Add winchip-c6,
3780101d 1252 winchip2 and c3.
b4f94ac1 1253 * doc/invoke.texi: Mention new aliases.
3780101d 1254
9dff28ab
JDA
12552002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1256
1257 * calls.c (store_one_arg): Set default alignment for BLKmode arguments
1258 to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
1259 downward.
1260 * function.c (pad_below): Always compile.
1261 (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
1262 alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
1263 Pad below when the argument is not in a register and the padding
1264 direction is downward.
1265
1266 * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
1267 (PAD_VARARGS_DOWN): Define.
1268 * pa.c (function_arg_padding): Revise padding directions to make them
1269 compatible with the 32 and 64-bit runtime architecture documentation.
1270 (hppa_va_arg): Add code to handle variable and size zero arguments
1271 passed by reference on TARGET_64BIT. Reformat.
1272 (function_arg): Use a PARALLEL for BLKmode and aggregates args on
1273 TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
1274 wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
1275 Add comments.
1276 * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
1277 (RETURN_IN_MEMORY): Return size zero types in memory.
1278 (FUNCTION_VALUE): Return TFmode in general registers.
1279 (MUST_PASS_IN_STACK): Define.
1280 (FUNCTION_ARG_BOUNDARY): Simplify.
1281 (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
1282 by reference.
1283 (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
1284
94313f35
RH
12852002-09-16 Richard Henderson <rth@redhat.com>
1286
1287 * real.c (do_fix_trunc): New.
1288 (real_arithmetic): Call it.
1289 * simplify-rtx.c (simplify_unary_operation): Handle FIX
1290 with a floating-point result mode.
1291
1472e41c
RH
12922002-09-16 Richard Henderson <rth@redhat.com>
1293
1294 * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
1295 (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
1296 * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
1297 (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
1298 * builtins.c (fold_builtin_nan): New.
1299 (fold_builtin): Call it.
1300 * real.c (real_nan): Parse a non-empty string.
1301 (round_for_format): Fix NaN significand truncation.
1302 * real.h (real_nan): Return bool.
1303 * doc/extend.texi: Document new builtins.
1304
f354b828
JM
13052002-09-16 Jason Merrill <jason@redhat.com>
1306 Danny Smith <dannysmith@users.sourceforge.net>
1307
1308 * config/i386/winnt.c (ix86_handle_dll_attribute): Set
1309 DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
1310 (i386_pe_mark_dllimport): Not here.
1311
85341ddd
NS
13122002-09-16 Nathan Sidwell <nathan@codesourcery.com>
1313
1314 * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
1315
045572c7
GK
13162002-09-16 Geoffrey Keating <geoffk@redhat.com>
1317
1318 * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
1319 warnings about unused operands when HOST_BITS_PER_WIDE_INT is
1320 < 64.
1321 (rs6000_emit_cmove): Use real_isinf not target_isinf.
1322
d57551c7
KH
13232002-09-16 Kazu Hirata <kazu@cs.umass.edu>
1324
1325 * calls.c (emit_library_call_value_1): Don't refer to
1326 hard_libcall_value.
1327 * optabs.c (prepare_float_lib_cmp): Likewise.
1328
36a5eadd
GK
13292002-09-16 Geoffrey Keating <geoffk@apple.com>
1330
1331 * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
1332 mangling.
1333
1334 The following changes are merged from pch-branch:
1335
1336 * doc/gty.texi (GTY Options): Document %a.
1337 * gengtype.c (do_scalar_typedef): New function.
1338 (process_gc_options): Handle `length' option.
1339 (set_gc_used_type): A pointer to an array of structures doesn't
1340 qualify as a pointer to a structure.
1341 (output_escaped_param): Add `%a' escape.
1342 (write_gc_structure_fields): Allow 'desc' on array of unions.
1343 (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
1344 do_scalar_typedef.
1345
1346 * gengtype.c (enum rtx_code): Make global.
1347 (rtx_format): Make global.
1348 (rtx_next): New.
1349 (gen_rtx_next): New.
1350 (write_rtx_next): New.
1351 (adjust_field_rtx_def): Skip fields marked by chain_next.
1352 (open_base_files): Delete redundant prototype.
1353 (write_enum_defn): New.
1354 (output_mangled_typename): Correct abort call.
1355 (write_gc_marker_routine_for_structure): Handle chain_next and
1356 chain_prev options.
1357 (finish_root_table): Don't output redundant \n.
1358 (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
1359 * c-tree.h (union lang_tree_node): Add chain_next option.
1360
1361 * gengtype.h (NUM_PARAM): New definition.
1362 (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
1363 * gengtype.c (find_param_structure): New.
1364 (adjust_field_type): Handle param<n>_is option.
1365 (process_gc_options): Detect use_params option. Update callers.
1366 (set_gc_used_type): Add 'param' parameter, update callers. Handle
1367 'use_params' option.
1368 (open_base_files): Add splay-tree.h to list of files included.
1369 (output_mangled_typename): New.
1370 (write_gc_structure_fields): Update 'param' parameter to support
1371 multiple parameters. Change name mangling. Allow parameterized
1372 fields to have an apparent scalar type. Handle param<n>_is options,
1373 use_param option.
1374 (write_gc_marker_routine_for_structure): Update for change to name
1375 mangling. Better guess the output file for parameterized types.
1376 (write_gc_types): Update for change to name mangling.
1377 (write_gc_root): Update for change to name mangling. Handle (ignore)
1378 param<n>_is options.
1379 * doc/gty.texi (GTY Options): Add description of param<n>_is
1380 options, use_params option.
1381 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
1382 * gengtype-lex.l: Produce token for param<n>_is.
1383 * gengtype-yacc.y: Parse param<n>_is.
1384
1385 * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
1386
1387 * rtl.c: Update comment describing rtx_format.
1388 * rtl.h (union rtunion): Separate definition and typedef.
1389 (struct rtx_def): Use gengtype to mark.
1390 * Makefile.in (gengtype.o): Also depend on rtl.def.
1391 * ggc.h (ggc_mark_rtx_children): Delete prototype.
1392 (ggc_mark_rtx): Change to alias of gengtype-generated routine.
1393 * ggc-common.c (ggc_mark_rtx_children): Delete.
1394 (ggc_mark_rtx_children_1): Delete.
1395 (gt_ggc_m_rtx_def): Delete.
1396 * gengtype.c (adjust_field_rtx_def): New.
1397 (adjust_field_type): Call adjust_field_rtx_def.
1398 (write_gc_structure_fields): Add 'default' case to switch if none
1399 is specified; remove unused code.
1400
1401 * tree.h (struct tree_exp): Update for change to meaning
1402 of special.
1403 * gengtype.c (adjust_field_tree_exp): New function.
1404 (adjust_field_type): Handle `tree_exp' special here.
1405 (write_gc_structure_fields): Don't handle `tree_exp' special here.
1406 Handle new `dot' option.
1407
1408 * gengtype.h: Make `info' a pointer-to-const.
1409 * gengtype-yacc.y (yacc_ids): Use xasprintf.
1410
1411 * gengtype.c (write_gc_structure_fields): Remove implementation
1412 of `always' option, add `default' option.
1413 * doc/gty.texi (GTY Options): Remove documentation of `always',
1414 add `default'.
1415
a7f6d760
HPN
14162002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
1417
1418 * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
1419
245ff137
KG
14202002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1421
7c3414b6
KG
1422 * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
1423
245ff137
KG
1424 * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
1425 instead of the *-protos.h file directly.
1426 * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
1427 * darwin.c (machopic_output_stub): Move prototype ...
1428 * darwin-protos.h (machopic_output_stub): ... here.
1429 * rs6000-protos.h (machopic_output_stub): Don't declare.
1430
ac520ec9
RH
14312002-09-16 Richard Henderson <rth@redhat.com>
1432
1433 * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
1434
efdc7e19
RH
14352002-09-16 Richard Henderson <rth@redhat.com>
1436
1437 * real.c, real.h: Rewrite from scratch.
1438
1439 * Makefile.in (simplify-rtx.o): Depend on TREE_H.
1440 (paranoia): New target.
1441 * builtins.c (fold_builtin_inf): Use new real.h interface.
1442 * c-common.c (builtin_define_with_hex_fp_value): Likewise.
1443 * c-lex.c (interpret_float): Likewise.
1444 * emit-rtl.c (gen_lowpart_common): Likewise.
1445 * optabs.c (expand_float): Use real_2expN.
1446 * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
1447 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
1448 (FLOAT_WORDS_BIG_ENDIAN): New.
1449 * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
1450 directly to REAL_VALUE_NEGATIVE.
1451 * loop.c (canonicalize_condition): Likewise.
1452 * simplify-rtx.c: Include tree.h.
1453 (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
1454 with floating-point result modes.
1455 * toplev.c (backend_init): Call init_real_once.
1456
1457 * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
1458 * tree.c (build_real): Likewise.
1459 * config/alpha/alpha.c, config/vax/vax.c (float_strings,
1460 float_values, inited_float_values, check_float_value): Remove.
1461 * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
1462 config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
1463 * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
1464 (VAX_HALFWORD_ORDER): Remove.
1465
a41c6c53
UW
14662002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
1467
1468 * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
1469 (s390_load_address): ... this new function.
1470 (s390_decompose_address): Allow the argument pointer and all
1471 virtual registers as 'pointer' registers.
1472 (s390_expand_plus_operand): Use s390_load_address.
1473 config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
1474 ("force_la_31"): New insn pattern.
1475 config/s390/s390-protos.h (legitimize_la_operand): Remove.
1476 (s390_load_address): Add prototype.
1477
1478 * config/s390/s390.c: Include "optabs.h".
1479 (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
b4f94ac1 1480 config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
a41c6c53
UW
1481 s390_expand_cmpstr): Add prototypes.
1482 config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
1483 ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
1484 for operands 0 and 1 to "memory_operand". Add type attribute.
1485 ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
1486 for operands 0 and 1 to "memory_operand". Add type attribute.
1487 ("movstrdi_long", "movstrsi_long"): Remove.
1488 ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
1489 ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
1490 ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
1491 ("clrstrsico"): Remove, replace by ...
1492 ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
1493 ("clrstrsi_64"): Rename to "clrstr_long_64".
1494 ("clrstrsi_31"): Rename to "clrstr_long_31".
1495 ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
1496 ("cmpstr_const"): Remove, replace by ...
1497 ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
1498 ("cmpstr_64"): Rename to "cmpstr_long_64".
1499 ("cmpstr_31"): Rename to "cmpstr_long_31".
1500
8d9afc4e
KH
15012002-09-16 Kazu Hirata <kazu@cs.umass.edu>
1502
1503 * ABOUT-NLS: Follow spelling conventions.
1504 * ChangeLog: Likewise.
1505 * ChangeLog.1: Likewise.
1506 * ChangeLog.2: Likewise.
1507 * ChangeLog.3: Likewise.
1508 * ChangeLog.4: Likewise.
1509 * ChangeLog.5: Likewise.
1510 * ChangeLog.6: Likewise.
1511 * FSFChangeLog.10: Likewise.
1512 * FSFChangeLog.11: Likewise.
1513 * c-common.c: Likewise.
1514 * c-lex.c: Likewise.
1515 * c-objc-common.c: Likewise.
1516 * cppexp.c: Likewise.
1517 * cppinit.c: Likewise.
1518 * cpplex.c: Likewise.
1519 * doloop.c: Likewise.
1520 * flow.c: Likewise.
1521 * function.c: Likewise.
1522 * integrate.c: Likewise.
1523 * loop.c: Likewise.
1524 * reg-stack.c: Likewise.
1525 * reload.h: Likewise.
1526 * ssa.c: Likewise.
1527
981f6289
KH
15282002-09-15 Kazu Hirata <kazu@cs.umass.edu>
1529
1530 * ChangeLog: Follow spelling conventions.
1531 * ChangeLog.0: Likewise.
1532 * ChangeLog.1: Likewise.
1533 * ChangeLog.2: Likewise.
1534 * ChangeLog.4: Likewise.
1535 * ChangeLog.6: Likewise.
1536 * config.gcc: Likewise.
1537 * dwarfout.c: Likewise.
1538 * reload1.c: Likewise.
1539 * simplify-rtx.c: Likewise.
1540 * unwind-sjlj.c: Likewise.
1541 * config/avr/avr.h: Likewise.
1542 * config/d30v/d30v.h: Likewise.
1543 * config/frv/frv.c: Likewise.
1544 * config/frv/frv.h: Likewise.
1545 * config/ip2k/ip2k.h: Likewise.
1546 * config/m88k/m88k-move.sh: Likewise.
1547 * config/stormy16/stormy16.c: Likewise.
1548 * config/stormy16/stormy16.h: Likewise.
1549 * doc/extend.texi: Likewise.
1550 * doc/interface.texi: Likewise.
1551 * doc/invoke.texi: Likewise.
1552 * doc/md.texi: Likewise.
1553 * doc/rtl.texi: Likewise.
1554 * doc/tm.texi: Likewise.
1555 * doc/trouble.texi: Likewise.
1556 * ginclude/float.h: Likewise.
1557 * treelang/treelang.texi: Likewise.
1558
8764eef7
KG
15592002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1560
bb6155b5
KG
1561 * i386-protos.h (i386_pe_dllexport_name_p,
1562 i386_pe_dllimport_name_p, i386_pe_unique_section,
1563 i386_pe_declare_function_type, i386_pe_record_external_function,
1564 i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
1565 prototype.
1566 * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
1567 * i386/t-interix (winnt.o): Likewise.
1568
8764eef7
KG
1569 * v850-protos.h (v850_output_addr_const_extra): Prototype.
1570
a24f7c1a
JT
15712002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
1572
1573 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
1574 MIPS ABI CPP macros.
1575 (TARGET_CPU_CPP_BUILTINS): Redefine.
1576 (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
1577 (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
1578
bd25febf
KG
15792002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1580
1581 * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
1582
05713b80
KH
15832002-09-15 Kazu Hirata <kazu@cs.umass.edu>
1584
1585 * ChangeLog: Follow spelling conventions.
1586 * ChangeLog.0: Likewise.
1587 * ChangeLog.1: Likewise.
1588 * ChangeLog.2: Likewise.
1589 * ChangeLog.3: Likewise.
1590 * ChangeLog.4: Likewise.
1591 * ChangeLog.5: Likewise.
1592 * ChangeLog.6: Likewise.
1593 * FSFChangeLog.10: Likewise.
1594 * FSFChangeLog.11: Likewise.
1595 * c-common.c: Likewise.
1596 * c-common.h: Likewise.
1597 * c-format.c: Likewise.
1598 * c-opts.c: Likewise.
1599 * cpplib.c: Likewise.
1600 * langhooks.h: Likewise.
1601 * real.c: Likewise.
1602 * reg-stack.c: Likewise.
1603 * toplev.c: Likewise.
1604 * config/arm/arm.c: Likewise.
1605 * config/arm/arm.md: Likewise.
1606 * config/arm/linux-gas.h: Likewise.
1607 * config/arm/netbsd.h: Likewise.
1608 * config/c4x/c4x.c: Likewise.
1609 * config/c4x/c4x.h: Likewise.
1610 * config/c4x/c4x.md: Likewise.
1611 * config/c4x/libgcc.S: Likewise.
1612 * config/fr30/fr30.md: Likewise.
1613 * config/frv/frv.md: Likewise.
1614 * config/ia64/ia64.md: Likewise.
1615 * config/mips/mips.h: Likewise.
1616 * config/mn10300/mn10300.c: Likewise.
1617 * config/stormy16/stormy16.c: Likewise.
1618 * config/v850/v850.md: Likewise.
1619 * doc/extend.texi: Likewise.
1620 * doc/invoke.texi: Likewise.
1621 * doc/md.texi: Likewise.
1622
b0c2b2f9
JT
16232002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
1624
1625 * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
1626 library if -pthread is specified.
1627
a0494c05
JT
16282002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
1629
1630 * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
1631 for --enable-threads=yes and --enable-threads=posix.
1632
56149abc
KH
16332002-09-15 Kazu Hirata <kazu@cs.umass.edu>
1634
1635 * config/sparc/cypress.md: Replace Sparc with SPARC.
1636 * config/sparc/freebsd.h: Likewise.
1637 * config/sparc/gmon-sol2.c: Likewise.
1638 * config/sparc/hypersparc.md: Likewise.
1639 * config/sparc/lb1spc.asm: Likewise.
1640 * config/sparc/lb1spl.asm: Likewise.
1641 * config/sparc/linux.h: Likewise.
1642 * config/sparc/linux64.h: Likewise.
1643 * config/sparc/lynx.h: Likewise.
1644 * config/sparc/sol2.h: Likewise.
1645 * config/sparc/sparc-modes.def: Likewise.
1646 * config/sparc/sparc.c: Likewise.
1647 * config/sparc/sparc.h: Likewise.
1648 * config/sparc/sparc.md: Likewise.
1649 * config/sparc/sparclet.md: Likewise.
1650 * config/sparc/supersparc.md: Likewise.
1651 * config/sparc/sysv4.h: Likewise.
1652 * config/sparc/vxsim.h: Likewise.
1653 * config/sparc/vxsparc64.h: Likewise.
1654
3eaf7a3c
MM
16552002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
1656
1657 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
1658
4912a07c
KH
16592002-09-14 Kazu Hirata <kazu@cs.umass.edu>
1660
1661 * ChangeLog: Follow spelling conventions.
1662 * ChangeLog.0: Likewise.
1663 * ChangeLog.2: Likewise.
1664 * ChangeLog.3: Likewise.
1665 * ChangeLog.4: Likewise.
1666 * ChangeLog.5: Likewise.
1667 * ChangeLog.6: Likewise.
1668 * cppfiles.c: Likewise.
1669 * cppinit.c: Likewise.
1670 * cpplib.h: Likewise.
1671 * cse.c: Likewise.
1672 * debug.h: Likewise.
1673 * df.c: Likewise.
1674 * dominance.c: Likewise.
1675 * hashtable.c: Likewise.
1676 * hashtable.h: Likewise.
1677 * loop.c: Likewise.
1678 * config/arm/README-interworking: Likewise.
1679 * config/arm/arm.c: Likewise.
1680 * config/arm/arm.h: Likewise.
1681 * config/arm/arm.md: Likewise.
1682 * config/dsp16xx/dsp16xx.h: Likewise.
1683 * config/frv/frv.c: Likewise.
1684 * config/frv/frv.h: Likewise.
1685 * config/ip2k/ip2k.h: Likewise.
1686 * config/rs6000/rs6000.c: Likewise.
1687 * config/stormy16/stormy-abi: Likewise.
1688 * config/stormy16/stormy16.h: Likewise.
1689 * config/v850/v850.c: Likewise.
1690
3dc60fc7
KH
16912002-09-14 Kazu Hirata <kazu@cs.umass.edu>
1692
1693 * loop.c: Fix a comment typo.
1694
a920aefe
KH
16952002-09-14 Kazu Hirata <kazu@cs.umass.edu>
1696
1697 * config/fr30/fr30.h: Fix comment typos.
1698 * config/frv/frv.c: Likewise.
1699 * config/i386/xmmintrin.h: Likewise.
1700 * config/mips/mips.c: Likewise.
1701 * config/sh/sh.c: Likewise.
1702
88cad84b
KH
17032002-09-14 Kazu Hirata <kazu@cs.umass.edu>
1704
1705 * haifa-sched.c: Follow spelling conventions.
1706 * regclass.c: Likewise.
1707 * regrename.c: Likewise.
1708 * config/fp-bit.c: Likewise.
1709 * config/frv/frv.h: Likewise.
1710 * config/m88k/m88k.c: Likewise.
1711 * config/mcore/mcore.c: Likewise.
1712 * config/rs6000/darwin.h: Likewise.
1713 * config/rs6000/gnu.h: Likewise.
1714 * config/rs6000/linux.h: Likewise.
1715 * config/rs6000/linux64.h: Likewise.
1716 * config/rs6000/rs6000.c: Likewise.
1717 * config/rs6000/rs6000.h: Likewise.
1718 * config/sh/sh.c: Likewise.
1719 * config/sparc/sparc.c: Likewise.
1720 * config/sparc/ultra1_2.md: Likewise.
1721
f197f1cf
SC
17222002-09-14 Stephane Carrez <stcarrez@nerim.fr>
1723
1724 * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
1725 memory operand when source is 0 (K constraint).
1726 ("movsi_internal"): Likewise.
1727 ("movdf_internal"): Likewise.
1728 ("movsf_internal"): Likewise.
1729
b629ba0c
AM
17302002-09-14 Alan Modra <amodra@bigpond.net.au>
1731
1732 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
1733 targetm.binds_local_p to set SYMBOL_REF_FLAG.
1734 (rs6000_xcoff_encode_section_info): Likewise.
1735 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1736
2e485129
TR
17372002-09-10 Theodore A. Roth <troth@verinet.com>
1738
1739 * gcc/config/avr/avr.h: Set default options for C++ for avr.
1740
907aee69
RH
17412002-09-13 Richard Henderson <rth@redhat.com>
1742
1743 * Makefile.in (toplev.o): Depend on real.h.
1744 (print-rtl.o, varasm.o, ifcvt.o): Likewise.
1745
374b0b7d
AM
17462002-09-14 Alan Modra <amodra@bigpond.net.au>
1747
1748 * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
1749 * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
1750 * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
1751
690eed2c
NS
17522002-09-13 Nathan Sidwell <nathan@codesourcery.com>
1753
1754 * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
1755
32b4f6f4
SE
17562002-09-13 Steve Ellcey <sje@cup.hp.com>
1757
1758 * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
1759 ia64*-*-linux*): Set extra_parts.
1760 * config/ia64/t-aix (EXTRA_PARTS): Remove.
1761 * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
1762
3db11b5c
KH
17632002-09-13 Kazu Hirata <kazu@cs.umass.edu>
1764
1765 * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
1766 * config/h8300/h8300.c: Likewise.
1767 * config/h8300/h8300.h: Likewise.
1768 * config/h8300/h8300.md: Likewise.
1769 * doc/invoke.texi: Likewise.
1770
b6894857
KH
17712002-09-13 Kazu Hirata <kazu@cs.umass.edu>
1772
1773 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
1774
6c6e776d 17752002-09-13 Matt Austern <austern@apple.com>
b6894857 1776
6c6e776d
MA
1777 * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
1778 * cp/call.c: Change call-by-const-reference mechanism to use
1779 non_cast_lvalue_p when deciding whether the create a temporary.
1780 We need a temporary when passing, e.g. (long) x by const ref.
1781 * testsuite/g++.dg/other/constref[12].C: New, regression tests for
1782 passing a cast expression to a function by const reference.
b4f94ac1 1783
d5909a79
RH
17842002-09-13 Richard Henderson <rth@redhat.com>
1785
1786 * config/alpha/alpha.md (attr type): Add callpal.
1787 (imb, trap, load_tp, set_tp): Use it.
1788 * config/alpha/ev4.md (ev4_callpal): New.
1789 * config/alpha/ev5.md (ev5_callpal): New.
1790 * config/alpha/ev6.md (ev6_ibr): Handle callpal.
1791 * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
1792 (alphaev5_insn_pipe): Likewise.
1793
e0073fa8
AJ
17942002-09-13 Andreas Jaeger <aj@suse.de>
1795
1796 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
1797
1f298625
SE
17982002-09-13 Steve Ellcey <sje@cup.hp.com>
1799
1800 * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
1801 LIB2ADDEH): New, set to NULL.
1802 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
1803
1a7e1470
SE
18042002-09-13 Steve Ellcey <sje@cup.hp.com>
1805
1806 * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
1807 (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
1808 (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
1809 Add declarations.
1810 (_U_Qfneg): Remove.
1811
d56c04ce
DD
18122002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
1813
1814 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
8d9afc4e
KH
1815 for H8/300, H8S aa:8 mode.
1816 (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
d56c04ce
DD
1817 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
1818 for H8/300 aa:8 mode.
1819
4456530d
HP
18202002-09-13 Hartmut Penner <hpenner@de.ibm.com>
1821
1822 * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
1823 insns.
1824
4d2d910c
RH
18252002-09-12 Richard Henderson <rth@redhat.com>
1826
1827 * Makefile.in (HOST_PRINT): Use print-rtl1.o
1828 (print-rtl.o): Don't define GENERATOR_FILE.
1829 (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
1830 * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
1831 unless GENERATOR_FILE.
1832
7606e68f
SS
18332002-09-12 Stan Shebs <shebs@apple.com>
1834
6ab9a3f4
SS
1835 * config/darwin.h (USER_LABEL_PREFIX): Define here...
1836 * config/i386/darwin.h: ... instead of here.
1837
7606e68f
SS
1838 * target.h (struct gcc_target): New field
1839 terminate_dw2_eh_frame_info.
1840 * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
1841 (TARGET_INITIALIZER): Add it.
1842 * dwarf2out.c (output_call_frame_info): Use target hook.
1843 * dwarf2asm.c (dw2_asm_output_delta): Use macro
1844 ASM_OUTPUT_DWARF_DELTA if defined.
1845 * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
1846 (ASM_OUTPUT_DWARF_DELTA): Ditto.
1847 (ASM_OUTPUT_DWARF_OFFSET): Ditto.
1848 (ASM_OUTPUT_DWARF_PCREL): Ditto.
1849 * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
1850 (powerpc-*-darwin*): Ditto.
1851 * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
1852 to work correctly for Darwin.
1853 * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
1854 (STARTFILE_SPEC): Add crtbegin.o.
1855 (ENDFILE_SPEC): Define.
1856 (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
1857 (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
1858 (ASM_OUTPUT_DWARF_DELTA): Define.
1859 (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
1860 * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
1861
20b71b17
AM
18622002-09-13 Alan Modra <amodra@bigpond.net.au>
1863
1864 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
1865 nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
1866 * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
1867
d48fd218
ZW
18682002-09-12 Zack Weinberg <zack@codesourcery.com>
1869
1870 * toplev.c: Move default definition of USER_LABEL_PREFIX...
1871 * defaults.h: ... here.
1872
92bc3c1a
RH
18732002-09-12 Richard Henderson <rth@redhat.com>
1874
1875 * vax.c: Include tree.h earlier.
1876
3f64e543
SS
18772002-09-12 Stan Shebs <shebs@apple.com>
1878
1879 * config/darwin.c (machopic_finish): Remove #if 0 chunks.
1880 (machopic_operand_p): Ditto.
1881
52bd31bb
KH
18822002-09-12 Kazu Hirata <kazu@cs.umass.edu>
1883
1884 * config/arm/arm.c (arm_compute_initial_elimination_offset):
1885 Fix a comment typo.
1886
387c9294
KH
18872002-09-12 Kazu Hirata <kazu@cs.umass.edu>
1888
1889 * toplev.c (do_abort): Fix a comment typo.
1890
e34bb004
KH
18912002-09-12 Kazu Hirata <kazu@cs.umass.edu>
1892
1893 * cselib.c: Fix comment formatting.
1894 * gengtype.c: Likewise.
1895
d0029ebd
KH
18962002-09-12 Kazu Hirata <kazu@cs.umass.edu>
1897
1898 * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
1899 (udivmodhi4): Likewise.
1900
c3c637e3 19012002-09-12 Graham Stott <graham.stott@btinternet.com>
d48fd218 1902 Roger Sayle <roger@eyesopen.com>
c3c637e3
GS
1903
1904 * i386.c (any_fp_register_operand, fp_register_operand,
1905 register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
1906 New predicate functions.
1907 * i386-protos.h: Add their prototypes.
1908 * i386.h: Add them to PREDICATE_CODES.
1909 * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
1910 "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
1911 "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
1912 "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
1913 "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
1914 "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
1915 "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
1916 "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
1917 "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
1918 "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
1919 "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
1920 Use these new predicates to simplify and correct the use of
1921 FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
1922
db4c55f6
JM
19232002-09-12 Jason Merrill <jason@redhat.com>
1924
236a2ac8
JM
1925 * diagnostic.c (output_add_identifier): New fn.
1926 * diagnostic.h: Declare it.
1927
db4c55f6
JM
1928 * calls.c (store_one_arg): Use size_in_bytes to determine the
1929 amount of space to push.
1930
13c0bc20
JJ
19312002-09-12 Jakub Jelinek <jakub@redhat.com>
1932
1933 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
1934
0a3bdf9d
UW
19352002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
1936
1937 * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
1938 * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
1939 (s390_select_ccmode): Likewise.
1940 (s390_branch_condition_mask): Likewise.
1941 (optimization_options): Do not set flag_branch_on_count.
1942 (s390_split_branches): Handle doloop branches.
1943 (s390_chunkify_pool): Likewise.
1944 * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
1945 ("doloop_end"): New expander.
1946 ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
1947 associated splitters): New.
1948
4f968d93
HP
19492002-09-11 Hartmut Penner <hpenner@de.ibm.com>
1950
1951 * fold-const.c (make_range): Only narrow to signed range if
1952 the signed range is smaller than the unsigned range.
1953
35aff10b
AM
19542002-09-12 Alan Modra <amodra@bigpond.net.au>
1955
1956 * emit-rtl.c (set_mem_size): New function.
1957 * expr.h (set_mem_size): Declare.
1958 * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
1959 (expand_block_move): Instead, use adjust_address and
1960 replace_equiv_address to generate proper aliasing info.
1961 Move common code out of conditionals. Localize vars.
1962
874f6a6d 19632002-09-09 Eric Botcazou ebotcazou@libertysurf.fr
d48fd218 1964
874f6a6d
EB
1965 * optabs.c (expand_binop): Minor cleanup.
1966 (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
1967
d1df930b
DN
19682002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
1969
1970 * print-tree.c (print_node): Print the restrict qualifier.
1971
9026a957
JJ
19722002-09-11 Janis Johnson <janis187@us.ibm.com>
1973
1974 * doc/install.texi: Fix typos.
1975
3fd9d606
ZW
19762002-09-11 Zack Weinberg <zack@codesourcery.com>
1977
1978 * Makefile.in: Remove all references to s-under and underscore.c.
1979 * collect2.c, tlink.c: Change all uses of prepends_underscore
1980 to look directly at USER_LABEL_PREFIX.
1981
5b5198f7
DE
19822002-09-11 David Edelsohn <edelsohn@gnu.org>
1983
1984 * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
1985 alignment to csect.
1986 (rs6000_xcoff_unique_section): Only set section name for public
1987 data.
1988 (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
1989 * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
1990 duplicate definition.
1991
77de9af2
JDA
19922002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
1993
1994 * pa.md (extzv): Check predicates before emitting extzv_32.
1995 (insv): Likewise.
1996
33b679d1
UW
19972002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
1998
1999 * config/s390/s390.h (MOVE_MAX): Define to correct value.
2000 (MAX_MOVE_MAX): Define.
2001 (MOVE_BY_PIECES_P): Define.
2002 (CLEAR_BY_PIECES_P): Define.
2003
bfae8040
DC
20042002-09-10 Denis Chertykov <denisc@overta.ru>
2005
2006 * config/avr/avr.md (movstrhi): Use right operands for conversion.
2007
7730c3ff
RE
20082002-09-10 Richard Earnshaw <rearnsha@arm.com>
2009
2010 PR c/7873
2011 * arm.md (insv): Use reg_or_int_operand for operand[3].
2012
5add3202
DE
20132002-09-10 David Edelsohn <edelsohn@gnu.org>
2014
2015 * rs6000.c (rs6000_assemble_visibility): Protect declaration
2016 inside macro. Correct function definition typo.
2017 (rs6000_xcoff_section_type_flags): New function.
2018 (TARGET_SECTION_TYPE_FLAGS): Remove definition.
2019 (rs6000_elf_section_type_flags): Call default_section_type_flags_1
2020 with appropriate PIC test.
2021 (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
2022 determine readonly.
2023 (rs6000_binds_local_p): Combine PIC flags.
2024 * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
2025 * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
2026
90389422
PB
20272002-09-09 Per Bothner <per@bothner.com>
2028
2029 * print-tree.c (print_node): In a STRING_CST, escape non-ascii
2030 characters, and only print TREE_STRING_LENGTH chars.
2031
686f3bf0
SE
20322002-09-09 Steve Ellcey <sje@cup.hp.com>
2033
2034 * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
2035 (ASM_FILE_END) New.
2036 * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
2037 * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
2038 * config/ia64/ia64.c (ia64_asm_output_external): Create list
2039 of external functions if TARGET_HPUX_LD is true.
2040 (ia64_hpux_add_extern_decl): New, routine to put names on
2041 list of external functions.
2042 (ia64_hpux_asm_file_end): Put out declarations for external
2043 functions if and only if they are used.
2044
0c263f4e
JDA
20452002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2046
2047 * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
2048 on TARGET_64BIT before pic register restore.
2049
e2a6476e
DE
20502002-09-09 David Edelsohn <edelsohn@gnu.org>
2051
2052 * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
2053 (TARGET_HAVE_TLS): New description.
2054
b73b1546
JJ
20552002-09-09 Janis Johnson <janis187@us.ibm.com>
2056
2057 * doc/extend.texi (Statement Exprs): Fix broken link.
2058
a9738643
DC
20592002-09-09 Denis Chertykov <denisc@overta.ru>
2060
2061 * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
2062 right conversion of operands[1].
2063
05b9aaaa
UW
20642002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
2065
2066 * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
2067 commutative. Use "nonimmediate_operand" instead of "register_operand"
2068 as predicate for operand 0. Move to after the "*tmXX_mem" insns.
2069
2070 ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
2071 as commutative.
2072
2073 ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
2074 mark as commutative. Use "nonimmediate_operand" instead of
2075 "register_operand" as predicate for operand 1.
2076
2077 ("movstrictsi"): Fix typo in insn name.
2078
7ec70495
JH
20792002-09-09 Jan Hubicka <jh@suse.cz>
2080
2081 * i386.c (index_register_operand): New.
2082 * i386.h (predicate_codes): Add new predicate.
2083 * i386.md (lea_general_*): Use index_regsiter_operand
2084 (ashift to lea splitter): Do not produce invalid leas
2085 (ashift to mov+ashift split): New.
2086
b2fc915b
NC
20872002-09-09 Nick Clifton <nickc@redhat.com>
2088
2089 * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
2090 Fix folding marks.
2091
0b0ad147 20922002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
d48fd218 2093 J"orn Rennecke <joern.rennecke@superh.com>
0b0ad147
TM
2094
2095 * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2096
2bcc50d0
AM
20972002-09-09 Alan Modra <amodra@bigpond.net.au>
2098
2099 * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
2100 (function_ok_for_sibcall): Use binds_local_p. Respect longcall
2101 attributes.
2102
c1b4f089
KG
21032002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2104
2105 * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
2106
b9203463
RH
21072002-09-08 Richard Henderson <rth@redhat.com>
2108
2109 * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
2110 (DW_OP_GNU_push_tls_address): New.
2111 (DW_OP_lo_user): Fix.
2112 * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
2113 (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
2114 (size_of_loc_descr): Likewise.
2115 (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
2116 (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
2117 (loc_descriptor_from_tree): Handle TLS variables.
2118 (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
2119 (add_location_or_const_value_attribute): ... not here. Defer
2120 to loc_descriptor_from_tree for TLS variables.
2121
2122 * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
2123 * config/i386/i386.c (i386_output_dwarf_dtprel): New.
2124 * config/i386/i386-protos.h: Update.
2125
7df98878
RS
21262002-09-08 Roger Sayle <roger@eyesopen.com>
2127
2128 PR optimization/6405
2129 * unroll.c (loop_iterations): last_loop_insn should be the previous
2130 non-note instruction before loop->end.
2131 * loop.c (strength_reduce): The conditional jump is the last
2132 non-note instruction before loop->end (as above).
2133
f40f4c8e
RS
21342002-09-08 Roger Sayle <roger@eyesopen.com>
2135
2136 * combine.c (try_combine): Handle the case that undobuf.other_insn
2137 has been turned into a return or unconditional jump, by inserting
2138 a BARRIER if necessary.
2139 (simplify_set): Test if a condition code setter has a constant
2140 comparison at compile time, if so convert this insn to a no-op move
2141 and update/simplify the condition code user (undobuf.other_insn).
2142
e2f97e26
KW
21432002-09-08 Krister Walfridsson <cato@df.lth.se>
2144
2145 * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
2146 (CLEAR_INSN_CACHE): Define.
2147
4b7e68e7
KH
21482002-09-08 Kazu Hirata <kazu@cs.umass.edu>
2149
2150 * basic-block.h: Fix comment formatting.
2151 * c-common.c: Likewise.
2152 * c-common.h: Likewise.
2153 * c-lex.c: Likewise.
2154 * c-pretty-print.c: Likewise.
2155 * cfglayout.c: Likewise.
2156 * cfgloop.c: Likewise.
2157 * defaults.h: Likewise.
2158 * et-forest.c: Likewise.
2159 * explow.c: Likewise.
2160 * function.h: Likewise.
2161 * gcov.c: Likewise.
2162 * genattrtab.c: Likewise.
2163 * gengtype.c: Likewise.
2164 * ifcvt.c: Likewise.
2165 * libgcc2.c: Likewise.
2166 * loop.c: Likewise.
2167 * profile.c: Likewise.
2168 * ra-build.c: Likewise.
2169 * real.c: Likewise.
2170 * rtl.h: Likewise.
2171 * tracer.c: Likewise.
2172 * tree-inline.c: Likewise.
2173 * varasm.c: Likewise.
2174
2567406a
JH
21752002-09-08 Jan Hubicka <jh@suse.cz>
2176
2177 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
2178 handling.
2179
2180 * loop.c (loop_gics_reduce): Emit addition after.
2181
bd79540a
AM
21822002-09-08 Alan Modra <amodra@bigpond.net.au>
2183
2184 * varasm.c (default_assemble_visibility): Rename from
2185 assemble_visibility.
2186 * output.h: Here too.
2187 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
2188 * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
2189
32ff9c74
AM
21902002-09-08 Alan Modra <amodra@bigpond.net.au>
2191
2192 * reload.c (find_reloads <p constraint>): Pass operand_mode to
2193 find_reloads_address.
2194
6588987e
KH
21952002-09-08 Kazu Hirata <kazu@cs.umass.edu>
2196
2197 * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
2198 (anonymous pattern): Likewise.
2199
0100732e
SS
22002002-09-07 Scott Snyder <snyder@fnal.gov>
2201
2202 PR target/7374
2203 * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
2204
77043c7c
RS
22052002-09-07 Roger Sayle <roger@eyesopen.com>
2206
2207 * basic-block.h (struct loop): Remove unused cont_dominator field.
2208
5dd78220
IS
22092002-09-07 Igor Shevlyakov <igor@microunity.com>
2210
d48fd218 2211 * varasm.c (decode_rtx_const): Don't check undefined field for
5dd78220
IS
2212 CONST_VECTOR.
2213
b96a3fa3
GN
22142002-09-07 Glen Nakamura <glen@imodulo.com>
2215
7fa86a10 2216 PR opt/7814
b96a3fa3
GN
2217 * sched-deps.c (sched_analyze_insn): Make sure to add insn
2218 to reg_last->sets after flushing the dependency lists to guarantee
2219 that subsequent clobbers will be dependent on it.
2220
ad9df12f 22212002-09-07 Igor Shevlyakov <igor@microunity.com>
2567406a 2222
ad9df12f
IS
2223 * combine.c (simplify_shift_const): Calculate rotate count
2224 correctly for vector operands.
2225
54c93c30
AE
22262002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
2227
2228 * c-typeck.c (c_tree_expr_nonnegative_p): New function.
2229 (build_binary_op): Call c_tree_expr_nonnegative_p rather than
2567406a 2230 tree_expr_nonnegative_p.
54c93c30
AE
2231 (build_conditional_expr): Likewise.
2232 * c-tree.h (c_tree_expr_nonnegative_p): Declare.
2233
36eea25f
RH
22342002-09-07 Richard Henderson <rth@redhat.com>
2235
3aa4cad7
RH
2236 * builtins.def (inf, inff, infl): Mark const.
2237 (huge_val, huge_valf, huge_vall): Likewise.
2238 (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
2239
36eea25f
RH
2240 * real.c (ereal_inf): Clear E before use.
2241
5c102b48
KH
22422002-09-07 Kazu Hirata <kazu@cs.umass.edu>
2243
2244 * config/h8300/h8300.md (udivmodqi4): Split the pattern into
2245 an expander and an anonymous pattern. Zero out the upper half
2246 of the dividend in the expander.
2247 (udivmodqi4): Likewise.
2248
8bd06267
KH
22492002-09-07 Kazu Hirata <kazu@cs.umass.edu>
2250
2251 * config/h8300/h8300.c: Fix formatting.
2252 * config/h8300/h8300.h: Likewise.
2253 * config/h8300/h8300.md: Likewise.
2254
39587bb9
ZD
22552002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2256
2257 * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
2258 information.
2259
92d9256d
GS
22602002-09-07 Graham Stott <graham.stott@btinternet.con>
2261
2262 * rtlanal.c (dead_or_set_regno_p): Fix typo.
2263
93638d7a
AM
22642002-09-07 Alan Modra <amodra@bigpond.net.au>
2265
fea76d82
AM
2266 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2267
93638d7a
AM
2268 * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
2269 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2270 (TARGET_ASM_OUT): Add the above here.
2271 * target.h (struct gcc_target): Add "visibility" field.
2272 * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
2273 * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
2274 (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2275 (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
2276
370ce32a
ZL
22772002-09-06 Ziemowit Laski <zlaski@apple.com>
2278
2279 * c-lang.c (objc_is_id): New stub.
2280 * c-tree.h (objc_is_id): New forward declaration.
2281 * c-typeck.c (build_c_cast): Do not strip protocol
2282 qualifiers from 'id' type.
2283 * objc/objc-act.c (objc_comptypes): Correct handling
2284 of protocol qualifiers.
2285 (objc_is_id): New.
2286
942579db
JL
2287Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
2288
54c93c30 2289 * pentium.md (pentium-firstvboth): Fix typo.
942579db 2290
c4dfc70c
DD
22912002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
2292
2293 * h8300.c (enum shift_alg): Move to earlier in h8300.c.
2294 (enum shift_type, enum h8_cpu): Likewise.
2295 (INL, ROT, LOP, SPC macros): Likewise.
2296 (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
2297 const designator.
2298 (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
2299 space efficient algorithms when optimize for codesize.
2300
5873a4c1
NP
2301Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
2302
2303 Fix PR/1727 and long-standing failing testcase
2304 objc/formal-protocol-6.m.
2305 * objc-act.c (build_protocol_expr): If compiling for the GNU
2306 runtime, create a list of Protocol statically allocated instances
2307 if it doesn't exist, then add the Protocol object to this same
2308 list.
2309 (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
2310 instead of TREE_CHAIN.
2311
e30d4c82
NP
2312Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2313
2314 * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
2315 10k. Fixed category dumping - print out category names with the
2316 proper syntax. Print '@end\n' and not '\n@end' at the end of the
2317 interface.
22d4398d 2318 (finish_objc): Fixed the -gen-decls option. It was printing out
e30d4c82
NP
2319 only the last class. Dump an interface declaration of all classes
2320 being compiled instead.
2321
fcd53748
JT
23222002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
2323
2567406a
JH
2324 * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
2325 prototype.
fcd53748
JT
2326 * config/arm/arm.c (arm_gen_return_addr_mask): New function.
2327 * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
2328 if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
2329 rather than GEN_INT.
2330 * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
2331 (return_addr_mask, *check_arch2): New.
2332
96fd3851
UW
23332002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
2334
2567406a 2335 * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
96fd3851 2336 "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
2567406a 2337 "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
96fd3851
UW
2338 "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
2339 "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
2567406a 2340 "adddf3", "*adddf3", "*adddf3_ibm",
96fd3851
UW
2341 "addsf3", "*addsf3", "*addsf3_ibm",
2342 "muldi3", "mulsi3", "mulsidi3",
2343 "muldf3", "*muldf3", "*muldf3_ibm",
2344 "mulsf3", "*mulsf3", "*mulsf3_ibm",
2345 "*anddi3_cc", "*anddi3_cconly", "anddi3",
2346 "*andsi3_cc", "*andsi3_cconly", "andsi3",
2347 "*iordi3_cc", "*iordi3_cconly", "iordi3",
2348 "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
2349 "*xordi3_cc", "*xordi3_cconly", "xordi3",
2350 "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
2351 instead of "register_operand" as predicate for "%0" operand.
2352
22252625
JJ
23532002-09-06 Jakub Jelinek <jakub@redhat.com>
2354
2355 * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
2356 unconditionally when gcc_cv_as_flags64 checks are gone.
2357 * configure: Rebuilt.
2358
bc401279
AM
23592002-09-06 Alan Modra <amodra@bigpond.net.au>
2360
2361 * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
2362 2002-07-26 change. Comment.
2363
b3fbfc07
KG
23642002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2365
2366 * frv.c (frv_unique_section, frv_select_section,
2367 frv_select_rtx_section): Delete.
2368 (frv_in_small_data_p): New.
2369 (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
2370 TARGET_ASM_SELECT_RTX_SECTION): Delete.
2371 (TARGET_IN_SMALL_DATA_P): Define.
2372
41e34bab
DJ
23732002-09-05 Dale Johannesen <dalej@apple.com>
2374
2375 * reload1.c (reload): Retain only those memory clobbers
2376 added for variable-array handling.
2377
dc0ba55a
JT
23782002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
2379
2380 * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
2567406a 2381 return-in-memory rules.
dc0ba55a
JT
2382 * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
2383
dd19d142
DE
23842002-09-05 David Edelsohn <edelsohn@gnu.org>
2385
2386 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
2387 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
2388
3717da94
JT
23892002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
2390
2391 * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
2392 not a compile-time constant for the non-IBM case.
2393 * config/arm/arm-protos.h (arm_float_words_big_endian): New
2567406a 2394 prototype.
3717da94 2395 * config/arm/arm.c (arm_float_words_big_endian): New function.
b5b620a4 2396 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
2567406a
JH
2397 if TARGET_VFP and not TARGET_HARD_FLOAT.
2398 (ARM_FLAG_VFP, TARGET_VFP): Define.
3717da94
JT
2399 (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
2400
225cee28
DE
24012002-09-05 David Edelsohn <edelsohn@gnu.org>
2402
2403 * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
2404 URLs. Fix AIX wording.
2405
c72bfda7
SS
24062002-09-05 Stan Shebs <shebs@apple.com>
2407
2408 * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
2409 -fPIC equivalent on Darwin.
2410
3578cf63
R
2411Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
2412
2413 * sh.c (sh_expand_builtin): Return early if encountering an
2414 error_mark for a type.
2415
7974fe63
UW
24162002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2417
2418 * config/s390/s390.c (s390_expand_plus_operand): Do not require
2419 double-word scratch register.
2420 config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
2421
2567406a 2422 ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
7974fe63
UW
2423 "*cli"): Replace s_operand by memory_operand.
2424 ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
2425
f8cb5851
KH
24262002-09-05 Kazu Hirata <kazu@cs.umass.edu>
2427
2428 * config/h8300/h8300.c (asm_file_start): Add a missing
2429 semicolon.
2430
5fc0e5df
KW
24312002-09-04 Krister Walfridsson <cato@df.lth.se>
2432
2433 * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
2434 * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
2435 (ix86_output_addr_diff_elt) Likewise.
2436 (x86_output_mi_thunk) Likewise.
2437 * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
2438
f4b488fd
KG
24392002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2440
2441 * frv.c (frv_encode_section_info): Fix error in last change.
2442
0e5dbd9b
DE
24432002-09-04 David Edelsohn <edelsohn@gnu.org>
2444
2445 * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
2446 (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
2447 (TARGET_BINDS_LOCAL_P): Define.
2448 (rs6000_override_options): Save original flag_pic value.
2449 (rs6000_elf_select_section): Call default_elf_select_section_1.
2450 (rs6000_elf_unique_section): Call default_unique_section_1.
2451 (rs6000_elf_in_small_data_p): New function.
2452 (rs6000_xcoff_asm_named_section): Determine storage mapping class.
2453 (rs6000_xcoff_select_section): Update based on defaults.
2454 (rs6000_xcoff_unique_section): Set to basic name if not common.
2455 (rs6000_binds_local_p): New function.
2456 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
2457 targetm.have_srodata_section if SDATA_EABI.
2458 (TARGET_IN_SMALL_DATA_P): Define.
2459
f57f9cb8
DJ
24602002-09-04 Dale Johannesen <dalej@apple.com>
2461
2462 * varasm.c (struct rtx_const, decode_rtx_const):
2463 Make veclo and vechi fields not share storage.
2464
ed6cc1f5
R
2465Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
2466
2467 * loop.c (scan_loop): Don't mark separate insns out of a libcall
2468 for moving.
2469 (move_movables): Abort if we see the first insn of a libcall.
2470
ab5e2615
RH
24712002-09-04 Richard Henderson <rth@redhat.com>
2472
2473 * builtin-types.def (BT_FN_FLOAT): New.
2474 (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
2475 * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
2476 BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
2477 * builtins.c (fold_builtin_inf): New.
2478 (fold_builtin): Call it.
2479 * real.c (ereal_inf): New.
2480 * real.h: Declare it.
2481 * doc/extend.texi: Document new builtins.
2482
9beb7d20
RH
24832002-09-04 Richard Henderson <rth@redhat.com>
2484
2485 * cse.c (cse_insn): Avoid subreg games if the equivalence
2486 is already in the proper mode.
2487
29984e05
EB
24882002-09-04 Eric Botcazou <ebotcazou@multimania.com>
2489
2490 PR c/7102
2491 * optabs.c (expand_binop): Convert CONST_INTs in all cases.
2492
8d46398e
JDA
24932002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2494
2495 * pa.md (setccfp0, setccfp1): New patterns.
2496
14966b94
KG
24972002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2498
2499 * frv-protos.h (frv_init_builtins, frv_expand_builtin,
2500 frv_select_section, frv_select_rtx_section,
2501 frv_encode_section_info, frv_unique_section): Delete.
2502 * frv.c: Update for target hooks.
2503 * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
2504 SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
2505 EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
2506
c8bf1a1a
KG
25072002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2508
2509 * ip2k-protos.h (function_prologue, function_epilogue,
2510 encode_section_info): Update to match target hook specification.
2511 * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
2512 (function_prologue, function_epilogue, encode_section_info):
2513 Update to match target hook specification.
2514 * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
2515 ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
2516 (NOTICE_UPDATE_CC): Cast to void.
2517 * ip2k.md: Add defaults in switch statements.
2518
0484cb35
JJ
25192002-09-04 Janis Johnson <janis187@us.ibm.com>
2520
2521 * doc/trouble.texi (Interoperation): Update information about C++ ABI
2522 issues.
2523
3e62bd08
JT
25242002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
2525
2526 * config/sparc/t-netbsd64: Disable multilib for now.
2527
275b6d80
DE
25282002-09-04 David Edelsohn <edelsohn@gnu.org>
2529
2530 * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
2531 * target.h (gcc_target): Add have_srodata_section member.
2532 * varasm.c (section_category): Add SECCAT_SRODATA.
2533 (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
2534 READONLY_SDATA_SECTION defined.
2535 (decl_readonly_section_1): True for SECCAT_SRODATA also.
2536 (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
2537 (default_unique_section_1): Likewise.
2538
015b1ad1
JDA
25392002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2540
2541 * expr.c (emit_group_load): Revise to allow splitting TCmode source
2542 into DImode pieces.
2543
2544 * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
2545 * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
2546 for floating-point register class.
2547 * pa.c (function_arg): Fix handling of modes wider than one word for
2548 TARGET_64BIT.
2549
b10f2187
R
2550Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
2551
2552 * combine.c (make_compound_operation): Don't generate zero / sign
2553 extensions in floating point modes.
2554
478c9e72
JJ
25552002-09-04 Janis Johnson <janis187@us.ibm.com>
2556
2557 * doc/c-tree.texi: Fix overfull hboxes.
2558 * doc/cppopts.texi: Ditto.
2559 * doc/extend.texi: Ditto.
2560 * doc/gty.texi: Ditto.
2561 * doc/invoke.texi: Ditto.
2562 * doc/makefile.texi: Ditto.
2563 * doc/rtl.texi: Ditto.
2564 * doc/standards.texi: Ditto.
2565 * doc/tm.texi: Ditto.
2566
77e8a0cc
RH
25672002-09-04 Richard Henderson <rth@redhat.com>
2568
2569 * c-common.c (builtin_define_with_hex_fp_value): New.
2570 (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
2571
a9c60612
JJ
25722002-09-04 Janis Johnson <janis187@us.ibm.com>
2573
2574 * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
2575 (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
2576 -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
2577 Warn that these options can break ABI compatibility.
2578
4b67a274
RH
25792002-09-04 Richard Henderson <rth@redhat.com>
2580
2581 * real.c (ereal_to_decimal): Add digits parameter.
2582 * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
2583 * c-pretty-print.c (pp_c_real_literal): Update call.
2584 * print-rtl.c (print_rtx): Likewise.
2585 * print-tree.c (print_node_brief, print_node): Likewise.
2586 * sched-vis.c (print_value): Likewise.
2587 * config/arc/arc.c (arc_print_operand): Likewise.
2588 * config/c4x/c4x.c (c4x_print_operand): Likewise.
2589 * config/i370/i370.h (PRINT_OPERAND): Likewise.
2590 * config/i386/i386.c (print_operand): Likewise.
2591 * config/i960/i960.c (i960_print_operand): Likewise.
2592 * config/ip2k/ip2k.c (asm_output_float): Likewise.
2593 * config/m32r/m32r.c (m32r_print_operand): Likewise.
2594 * config/m68hc11/m68hc11.c (print_operand): Likewise.
2595 * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
2596 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
2567406a 2597 * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
4b67a274
RH
2598 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
2599 * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
2600 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2601 * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
2602 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
2603 * config/mips/mips.c (print_operand): Likewise.
2604 * config/ns32k/ns32k.c (print_operand): Likewise.
2605 * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
2606 * config/vax/vax.h (PRINT_OPERAND): Likewise.
2607 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
2608
01abf342
BW
26092002-09-04 Bob Wilson <bob.wilson@acm.org>
2610
2611 * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
2612 xtensa_multibss_section_type_flags.
2613 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
2614
cd42d3df
RH
26152002-09-04 Richard Henderson <rth@redhat.com>
2616
2617 * doc/install-old.texi: Don't mention enquire.
2618 * doc/sourcebuild.texi: Update float.h description.
2619
502e6d5a
R
2620Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
2621
2622 * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
2623
2cc9fb4c
DE
26242002-09-03 David Edelsohn <edelsohn@gnu.org>
2625
2626 * varasm.c (default_section_type_flags): Append _1 to name with
2627 shlib parameter. Use original name to call new function with
2628 implicit flag_pic.
2629 (decl_readonly_section): Likewise.
2630 (default_elf_select_section): Likewise.
2631 (default_unique_section): Likewise.
2632 (default_bind_local_p): Likewise.
2633 (categorize_decl_for_section): Add shlib parameter to use in place
2634 of implicit flag_pic.
2635 * output.h: Declare new functions with _1 and shlib argument.
2636
7c19f816
JJ
26372002-09-03 Janis Johnson <janis187@us.ibm.com>
2638
8c085f6f
JJ
2639 * doc/install.texi: Fix typos, formatting problems, and obvious
2640 overfull/underfull boxes.
2641
7c19f816
JJ
2642 * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
2643 * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
2644 include its file, compat.texi.
2645 * doc/compat.texi: New file with new chapter, Binary Compatibility.
2646
79ba5e3b
NB
26472002-09-03 Neil Booth <neil@daikokuya.co.uk>
2648
2649 Debian BTS Bug #157416
2650 * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
2651 * cpplib.c (destringize_and_run): Kludge around getting
2652 tokens from in-progress macros.
2653 (_cpp_do__Pragma): Simplify.
2654
57016b47
SE
26552002-09-03 Steve Ellcey <sje@cup.hp.com>
2656
2657 * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
2658 (CPP_CPU_SPEC): Remove.
2659 (TARGET_CPU_CPP_BUILTINS): New.
2660 * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
2661 (CPP_SPEC): Remove.
2662 (TARGET_OS_CPP_BUILTINS): New.
2663 * config/ia64/linux.h (CPP_PREDEFINES): Remove.
2664 (TARGET_OS_CPP_BUILTINS): New.
2665 * config/ia64/aix.h (CPP_SPEC): Move some stuff to
2666 TARGET_OS_CPP_BUILTINS.
2667 (CPP_PREDEFINES): Remove.
2668 (CPLUSPLUS_CPP_SPEC): Remove.
2669 (TARGET_OS_CPP_BUILTINS): New.
2670
d57a4b98
RH
26712002-09-03 Richard Henderson <rth@redhat.com>
2672
2673 * Makefile.in (USER_H): Add ginclude/float.h.
2674 (FLOAT_H): Remove.
2675 (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
2676 (mostlyclean): Don't remove float.h intermediate files.
2677 (distclean): Don't remove float.h.
2678 * config.gcc: Remove all float_format references.
2679 * configure.in (float_format, float_h_file): Remove.
2680
2681 * c-common.c: Include tree-inline.h.
2682 (builtin_define_with_int_value): New.
2683 (builtin_define_type_precision): Use it.
2684 (builtin_define_float_constants): New.
2685 (cb_register_builtins): Use it. Define __FLT_RADIX__ and
2686 __FLT_EVAL_METHOD__.
2687 * defaults.h (TARGET_FLT_EVAL_METHOD): New.
2688 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
2689 * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
2690 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
2691 (TARGET_FLT_EVAL_METHOD): New.
2692
2693 * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
2694 config/float-i386.h, config/float-i64.h, config/float-m68k.h,
2695 config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
2696 * ginclude/float.h: New.
2697
527347f0
SS
26982002-09-03 Stan Shebs <shebs@apple.com>
2699
2700 * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
2701 (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
2702 (PREFERRED_DEBUGGING_TYPE): Ditto.
2703 (ASM_OUTPUT_IDENT): Remove empty definition.
2704
34c1864f
SE
27052002-09-03 Steve Ellcey <sje@cup.hp.com>
2706
2707 * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
2708 cxx_target.
2709 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
2710 handling routine for builtin pragma.
2711 * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
2712 Registered pragma handling routine.
2713 * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
2714 (ia64_hpux_add_pragma_builtin) New subroutine used by above.
2715 If builtin pragma seen for math routine and C89 conformance is
2716 requested use different math function in order to set errno.
2717 * t-ia64 (ia64-c.o): Add new rule for new file.
2718
9b7c75b9
UW
27192002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2720
2721 * config/s390/s390.md ("movti"): Add Q->Q alternative.
2722 ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
2723 "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
2567406a
JH
2724
2725 ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
9b7c75b9
UW
2726 "*movsf_ss"): Remove.
2727
710ba35f
JDA
27282002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2729
2730 * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
2731 Delete macros.
2732
ff970081
AD
27332002-09-03 Arati Dikey <aratid@kpit.com>
2734
2735 * h8300.c (asm_file_start): Corrected optimization comment.
2736
b50d021d
SS
27372002-09-03 Stan Shebs <shebs@apple.com>
2738
2739 * c-lang.c (recognize_objc_keyword): Remove, no longer used.
2740 * c-tree.h (recognize_objc_keyword): Remove decl.
2741 * c-typeck.c (comp_target_types): Update a comment.
2742
b808c04c
UW
27432002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2744
2745 * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
2746 and register validity checks.
2747 (general_s_operand): Adapt to s390_decompose_address interface change.
2748 (q_constraint): Likewise.
2749 (s390_expand_plus_operand): Likewise.
2750 (legitimiate_address_p): Likewise.
2751 (legitimate_la_operand_p): Likewise.
2752 (legitimize_la_operand): Likewise.
2753 (print_operand_address): Likewise.
2754 (print_operand): Likewise.
2755
ee453219
NP
2756Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
2757
2758 PR objc/5956:
2759 * objc/objc-act.c (build_typed_selector_reference): Fix typo which
2567406a
JH
2760 was causing the new selector never to match the existing ones
2761 (Patch by Alexander Malmberg <alexander@malmberg.org>).
ee453219 2762
d82283d5
GS
27632002-09-03 Graham Stott <graham.stott@btinternet.com>
2764
2765 * config/i386/i386.md ("femms"): Add "memory" attr "none".
2766
27672002-09-03 Graham Stott <graham.stott@btinternet.com>
c7a009a2
GS
2768
2769 * expr.c (expand_expr): Remove extraneous comment and code.
2770
98c0d8d1
RH
27712002-08-31 Richard Henderson <rth@redhat.com>
2772
2773 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
2774
a5f3f0ab
JDA
27752002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
2776
2777 * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
2778
38ec83b1
RH
27792002-08-30 Richard Henderson <rth@redhat.com>
2780
c9989d09 2781 PR opt/7515
38ec83b1
RH
2782 * c-objc-common.c: Include target.h.
2783 (c_cannot_inline_tree_fn): Don't auto-inline functions that
2784 don't bind locally. Factor setting DECL_UNINLINABLE.
2785 * Makefile.in (c-objc-common.o): Update.
2786
4c64396e
JJ
27872002-08-30 Janis Johnson <janis187@us.ibm.com>
2788
2789 * doc/install.texi (Configuration, Building): Fix a typo and
2790 some formatting directives.
2791
4226378a
PK
27922002-08-30 Paul Koning <pkoning@equallogic.com>
2793
2794 * doc/c-tree.texi (RDIV_EXPR): Fix typo.
2795 * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
2796 implemented" note.
2797 * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
2798 for alphabetic order.
2799 * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
2800 VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
2801 (VAX_HALFWORD_ORDER): Document.
2802 (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
2803 IEEE float format.
2804 (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
2805 (ASM_OUTPUT_LABEL_REF): Fix font.
2806 (CASE_VECTOR_SHORTEN_MODE): Ditto.
2807
b8074dbe
DC
28082002-08-30 Denis Chertykov <denisc@overta.ru>
2809
2810 * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
2811 stuff.
2812 (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
2813 CONST_DOUBLE constants.
2567406a 2814
55f49e3d
JT
28152002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
2816
2817 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
2818 related defines to...
2819 (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
2820 * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
2821 as a no-op.
2822
e1944073
KW
28232002-08-30 Krister Walfridsson <cato@df.lth.se>
2824
2825 * config/arm/arm.c (arm_asm_output_labelref): New function.
2826 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
2827 * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
2828
6e92b3a1
RB
28292002-08-29 Rodney Brown <rbrown64@csc.com.au>
2830
2831 * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
2832 memory exhausted" workarounds.
2833
9d533cb5
GDR
28342002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
2835
2836 * diagnostic.c (fancy_abort): Don't repeat "internal error".
2837 * toplev.c (crash_signal): Likewise.
2838
1f676100
NP
2839Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
2840
2841 * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
2842 * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
2843 Extended, updated documentation.
2844 (-Wundeclared-selector): Documented.
2845
23532de9
JT
28462002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
2847
2848 * config/chorus.h: Consistently define *_DEBUGGING_INFO with
2849 the value 1. Do not undef before defining.
2850 * config/darwin.h: Likewise.
2851 * config/dbx.h: Likewise.
2852 * config/dbxcoff.h: Likewise.
2853 * config/dbxelf.h: Likewise.
2854 * config/elfos.h: Likewise.
2855 * config/interix.h: Likewise.
2856 * config/lynx-ng.h: Likewise.
2857 * config/lynx.h: Likewise.
2858 * config/netware.h: Likewise.
2859 * config/psos.h: Likewise.
2860 * config/svr3.h: Likewise.
2861 * config/alpha/alpha.h: Likewise.
2862 * config/alpha/elf.h: Likewise.
2863 * config/alpha/vms.h: Likewise.
2864 * config/arc/arc.h: Likewise.
2865 * config/arm/aout.h: Likewise.
2866 * config/arm/coff.h: Likewise.
2867 * config/c4x/c4x.h: Likewise.
2868 * config/h8300/h8300.h: Likewise.
2869 * config/i386/cygwin.h: Likewise.
2870 * config/i386/djgpp.h: Likewise.
2871 * config/i386/gas.h: Likewise.
2872 * config/i386/gstabs.h: Likewise.
2873 * config/i386/i386-coff.h: Likewise.
2874 * config/i386/i386-interix.h: Likewise.
2875 * config/i386/sco5.h: Likewise.
2876 * config/i386/svr3dbx.h: Likewise.
2877 * config/i386/sysv3.h: Likewise.
2878 * config/i386/win32.h: Likewise.
2879 * config/i386/x86-64.h: Likewise.
2880 * config/i960/i960.h: Likewise.
2881 * config/ia64/ia64.h: Likewise.
2882 * config/ip2k/ip2k.h: Likewise.
2883 * config/m32r/m32r.h: Likewise.
2884 * config/m68k/3b1.h: Likewise.
2885 * config/m68k/3b1g.h: Likewise.
2886 * config/m68k/ccur-GAS.h: Likewise.
2887 * config/m68k/coff.h: Likewise.
2888 * config/m68k/hp2bsd.h: Likewise.
2889 * config/m68k/hp310g.h: Likewise.
2890 * config/m68k/hp320g.h: Likewise.
2891 * config/m68k/hp3bsd.h: Likewise.
2892 * config/m68k/hp3bsd44.h: Likewise.
2893 * config/m68k/linux-aout.h: Likewise.
2894 * config/m68k/m68k-aout.h: Likewise.
2895 * config/m68k/mot3300.h: Likewise.
2896 * config/m68k/netbsd.h: Likewise.
2897 * config/m68k/openbsd.h: Likewise.
2898 * config/m68k/pbb.h: Likewise.
2899 * config/m68k/plexus.h: Likewise.
2900 * config/m68k/sun2.h: Likewise.
2901 * config/m68k/sun3.h: Likewise.
2902 * config/m68k/tower-as.h: Likewise.
2903 * config/m68k/vxm68k.h: Likewise.
2904 * config/m88k/aout-dbx.h: Likewise.
2905 * config/m88k/m88k-aout.h: Likewise.
2906 * config/mcore/mcore-elf.h: Likewise.
2907 * config/mcore/mcore-pe.h: Likewise.
2908 * config/mips/elf.h: Likewise.
2909 * config/mips/elf64.h: Likewise.
2910 * config/mips/iris5gas.h: Likewise.
2911 * config/mips/iris6.h: Likewise.
2912 * config/mips/mips.h: Likewise.
2913 * config/mips/sni-gas.h: Likewise.
2914 * config/mmix/mmix.h: Likewise.
2915 * config/ns32k/netbsd.h: Likewise.
2916 * config/pa/pa64-hpux.h: Likewise.
2917 * config/romp/romp.h: Likewise.
2918 * config/rs6000/sysv4.h: Likewise.
2919 * config/rs6000/xcoff.h: Likewise.
2920 * config/sh/coff.h: Likewise.
2921 * config/sh/elf.h: Likewise.
2922 * config/sparc/linux64.h: Likewise.
2923 * config/sparc/liteelf.h: Likewise.
2924 * config/sparc/netbsd.h: Likewise.
2925 * config/sparc/openbsd.h: Likewise.
2926 * config/sparc/pbd.h: Likewise.
2927 * config/sparc/sp64-elf.h: Likewise.
2928 * config/sparc/sp86x-elf.h: Likewise.
2929 * config/sparc/sparc.h: Likewise.
2930 * config/vax/vax.h: Likewise.
2931 * config/vax/vaxv.h: Likewise.
2932
5e98fba2
DD
29332002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
2934
2935 * h8300.c (shift_alg_hi): Various tweaks to improve performance
2936 of HImode shifts.
2937 (get_shift_alg): Corresponding changes.
2938
43852342
JDA
29392002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2940
2941 * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
2942
44bb111a
RH
29432002-08-29 Richard Henderson <rth@redhat.com>
2944
2945 * expr.h (enum block_op_methods): New.
2946 (emit_block_move): Update prototype.
2947 * expr.c (block_move_libcall_safe_for_call_parm): New.
2948 (emit_block_move_via_loop): New.
2949 (emit_block_move): Use them. New argument METHOD.
2950 (emit_push_insn): Always respect the given alignment.
2951 (expand_assignment): Update call to emit_block_move.
2952 (store_expr, store_field, expand_expr): Likewise.
2953 * builtins.c (expand_builtin_apply): Likewise.
2954 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2955 * function.c (expand_function_end): Likewise.
2956 * config/sh/sh.c (sh_initialize_trampoline): Likewise.
2957 * config/sparc/sparc.c (sparc_va_arg): Likewise.
2958 * calls.c (expand_call, emit_library_call_value_1): Likewise.
2959 (save_fixed_argument_area): Use emit_block_move with
2960 BLOCK_OP_CALL_PARM instead of move_by_pieces.
2961 (restore_fixed_argument_area): Likewise.
2962 (store_one_arg): Fix alignment parameter to emit_push_insn.
2963
08b3d104
JDA
29642002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2965
2966 * install.texi (hppa64-hp-hpux11*): Document installation procedure.
2967
ce4e9970 29682002-08-29 Catherine Moore <clm@redhat.com>
8376061d
CM
2969
2970 * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
2971 NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
2972 (PREDICATE_CODES): Include new predicates.
2973 (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
2974 (TARGET_SWITCHES): Add strict-align.
2975 (TARGET_STRICT_ALIGN): New.
2567406a 2976 (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
8376061d
CM
2977 * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
2978 Define.
2979 (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
2980 v850_muldi3.
2981 * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
2982 L_callt_save_r2_r31, L_return_r2_r31,
2983 L_save_all_interrupt): Change addi to add.
2984 (L_save_interrupt, L_return_interrupt): Rework.
2985 (__return_r31): Correct .size directive.
2986 (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
2987 (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
2988 New routines.
2989 * config/v850/v850.c (expand_prologue): Call
2990 gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
2991 gen_callt_return_interrupt and gen_callt_save_all_interrupt.
2992 (reg_or_int9_operand): New predicate.
2993 (reg_or_const_operand): New routine.
2994 * config/v850/v850.md (return_interrupt): Changed from
2995 restore_interrupt.
2996 (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
2997 (callt_save_interrupt): Change save sequence.
2998 (callt_return_interrupt): New.
2999 (save_interrupt): Don't use runtime function for LONG_CALLS
3000 and TARGET_PROLOG_FUNCTION.
3001 (save_all_interrupt): Likewise.
3002 (mulsi3): Use new predicate.
3003 (moviscc): Disallow some combination of constants.
3004 Fix define_split for sasf insns, so that it will not generate bad
3005 code if operand0 and operand5 are the same.
3006 * config/v850/v850-protos.h: Prototype new predicates.
3007
585e661a
GDR
30082002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
3009
3010 * c-common.c (builtin_define_type_precision): New function.
3011 (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
3012 wchar_t is unsigned in C++.
3013 * doc/cpp.texi (Common Predefined Macros): Document
3014 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
3015 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
3016 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
3017
bd8f9aec
SP
30182002-08-28 Sylvain Pion <pion@cs.nyu.edu>
3019
3020 * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
3021 section. Mention that it is enabled by -Wall.
3022 (-Wall): Mention that there can be language-specific warnings as well.
3023 (-Wctor-dtor-privacy): Mention that it is enabled by default.
3024 (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
3025
58ab7171
R
3026Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
3027
3028 * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
3029 if it is ever live.
3030
3031 * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
3032 attribute for SHCOMPACT.
3033
3034 * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
3035 appropriately.
3036 (FUNCTION_BOUNDARY): Specify only the minimum alignment required
3037 by the ABI.
3038
3039 * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
3040
27f4b67e
JT
30412002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
3042
3043 * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
3044 "MASK_GAS|MASK_ABICALLS".
3045 * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
3046 (TARGET_DEFAULT): Remove.
3047 (MACHINE_TYPE): Undefine before defining.
3048 (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
3049
eca7f13c
MM
30502002-08-27 Mark Mitchell <mark@codesourcery.com>
3051
3052 * c-common.c (warn_abi): New variable.
3053 * c-common.h (warn_abi): Likewise.
3054 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
3055 (c_common_decode_option): Handle it.
7ee425e4 3056 * doc/invoke.texi: Document -Wabi.
2567406a 3057
ece4ce85
NP
3058Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
3059
3060 * c-common.c (warn_undeclared_selector): New variable.
3061 * c-common.h (warn_undeclared_selector): Idem.
3062 * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
3063 to on when -Wundeclared-selector is found.
3064 (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
3065 * objc/objc-act.c (build_selector_expr): If
3066 warn_undeclared_selector is set, check that the selector has
3067 already been defined, and emit a warning if not.
3068
b4378319 30692002-08-27 Nick Clifton <nickc@redhat.com>
54c93c30
AE
3070 Catherine Moore <clm@redhat.com>
3071 Jim Wilson <wilson@cygnus.com>
3072
3073 * config.gcc: Add v850e-*-* target.
3074 Add --with-cpu= support for v850.
3075 * config/v850/lib1funcs.asm: Add v850e callt functions.
3076 * config/v850/v850.h: Add support for v850e target.
3077 * config/v850/v850.c: Add functions to support v850e target.
3078 * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
3079 * config/v850/v850.md: Add patterns for v850e instructions.
3080 * doc/invoke.texi: Document new v850e command line switches.
b4378319 3081
ef261fee
R
3082Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
3083 Aldy Hernandez <aldyh at redhat dot com>
3084
3085 * doc/tm.texi: Applied numerous fixes to the automaton based
3086 scheduler descrition.
3087
c60ee6f5
JH
3088Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
3089
3090 * i386.c (classify_argument): Handle variable sized objects.
3091
1985ef90
JH
3092Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
3093
3094 * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
3095
7acc97e0
JH
3096Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
3097
3098 * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
3099
23327dae
JH
3100Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
3101
3102 * i386.c (classify_argument): Properly compute word size of the analyzed object.
3103
c49439f1
R
3104Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
3105
3106 * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
3107 mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
3108 accordingly.
3109 (attribute insn_class): Provide default definitions based on type.
3110 Remove all insn-specific settings.
3111 (various function units): Remove old SH4 scheduling.
3112 (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
3113 New attributes. Set them where appropriate.
3114 (cpu unit FS): Don't define / use.
3115 (F3, load_store): New cpu units.
3116 (F01): New reservation.
3117 (all insn_reservations): Make dependent on sh4 pipeline model.
3118 Fix latencies.
3119 (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
3120 (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
3121 (mt insn_reservation): Use type mt_group.
3122 (insn_reservation load_store): Split into sh4_load, sh4_load_si,
3123 sh4_fload and sh4_store.
3124 (insn_reservation branch_zero and branch): Replace with sh4_branch.
3125 (insn_reservation branch_far): Replace with sh4_return.
3126 (insn_reservation return_from_exp): Rename to:
3127 (sh4_return_from_exp). Change to be just d_lock*5.
3128 (insn_reservation lds_to_pr): Rename to:
3129 (sh4_lds_to_pr). Change to be just d_lock*2.
3130 (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
3131 d_lock*2.
3132 (insn_reservation prload_mem): Rename to:
3133 (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
3134 (insn_reservation fpscr_store): Rename to:
3135 (fpscr_load). Change to d_lock,nothing,F1*3.
3136 (insn_reservation fpscr_store_mem): Rename to:
3137 (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
3138 (insn_reservation multi): Change to
3139 d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
3140 (insn_reservation fp_arith): Change to issue,F01,F2.
3141 (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
3142 (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
3143 (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
3144 (insn_reservation fp_double_cmp): Change to
3145 d_lock,(d_lock+F01),F1+F2,F2.
3146 (insn_reservation dp_div): Change to
3147 issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
3148 * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
3149 (sh_adjust_cost, SHcompact): Differentiate between different
3150 kinds of dependencies. Drop factor of ten for superscalar.
3151 Use new instruction types. Add new exception rules.
3152
3153 * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
3154
3155 * sh.md (mperm_w): Add DONE.
3156
f34fc46e
DE
31572002-08-27 David Edelsohn <edelsohn@gnu.org>
3158
3159 * longlong.h: Import current PowerPC defintion from GMP-4.1.
3160
3161 * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
3162
3163 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
3164
dcb44500
R
3165Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
3166
3167 * sh.h (MAX_FIXED_MODE_SIZE): Define.
3168
3ec07554
GDR
31692002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
3170
3171 * doc/cpp.texi (Common Predefined Macros): Don't mess with table
2567406a 3172 delimiter.
3ec07554 3173
35885eab
GDR
31742002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3175
3176 * c-common.c (cpp_define_data_format): New function.
3177 (cb_register_builtins): Call it.
3178
3179 * doc/cpp.texi (Common Predefined Macros): Document
3180 __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
3181 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
3182 __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
3183 __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
3184 __TARGET_USES_VAX_H_FLOAT__.
3185
d632dee9
ZL
31862002-08-26 Ziemowit Laski <zlaski@apple.com>
3187
3188 * objc/objc-act.c (get_super_receiver): If inside a class method
3189 of a category, cast the receiver to 'id' before accessing the 'isa'
3190 field so that <objc/objc-class.h> is not needed. For NeXT runtime.
3191
c3cc6b78
UW
31922002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
3193
2567406a 3194 * config/s390/s390-protos.h (s390_function_prologue,
c3cc6b78
UW
3195 s390_function_epilogue): Remove.
3196 config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
3197 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
3198
3199 config/s390/s390.c (s390_machine_dependent_recorg): New function.
3200 config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
3201 config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
3202 config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
3203 to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
3204
2567406a 3205 config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
c3cc6b78
UW
3206 assume BASE_REGISTER and RETURN_REGNUM need to be saved.
3207 (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
3208 function is not a leaf function. Use save_gprs and restore_gprs.
3209 (s390_emit_epilogue): Likewise.
3210 (save_gprs, restore_gprs): New functions.
3211 (struct s390_frame): Remove return_reg_saved_p member.
3212 (save_fprs_p): Remove.
3213 (s390_optimize_prolog): New function.
3214 (s390_legitimate_reload_constant): Remove now unnecessary check.
3215
3216 (s390_function_count): Remove.
3217 (s390_output_symbolic_const): Replace s390_function_count by
3218 current_function_funcdef_no.
3219 (s390_output_constant_pool): Likewise.
3220
3221 (legitimize_pic_address): Use regs_ever_live to track PIC register
3222 instead of current_function_uses_pic_offset_table.
3223 (s390_emit_prologue): Likewise.
3224 config/s390/s390.md ("call", "call_value"): Likewise.
3225
3f662186
NB
32262002-08-26 Neil Booth <neil@daikokuya.co.uk>
3227
3228 * c-opts.c (find_opt): Don't complain about wrong languages
3229 here. Return exact matches even for wrong language.
3230 (c_common_decode_option): Complain about wrong languages
3231 here.
3232
b6128b8c
SH
32332002-08-24 Stuart Hastings <stuart@apple.com>
3234
3235 * function.h (struct function): Add flag
3236 all_throwers_are_sibcalls.
3237 * except.c (set_nothrow_function_flags): Replaces
3238 nothrow_function_p. Set new flag.
3239 * except.h (set_nothrow_function_flags): Replaces
3240 nothrow_function_p.
3241 * dwarf2out.c (struct dw_fde_struct): Add flag
3242 all_throwers_are_sibcalls.
3243 (output_call_frame_info): Test it.
3244 (dwarf2out_begin_prologue) Propagate it from cfun to
3245 dw_fde_struct.
3246 * toplev.c (rest_of_compilation): Update calls to
3247 nothrow_function_p.
3248
280cf02a
ZW
32492002-08-23 Zack Weinberg <zack@codesourcery.com>
3250
3251 * ggc-page.c (compute_inverse): Short circuit calculation for
3252 object sizes larger than half a page.
3253
c6664446
DE
32542002-08-23 David Edelsohn <edelsohn@gnu.org>
3255
3256 * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
3257 DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
3258 default.
3259 (rs6000_elf_unique_section): Likewise.
3260
da57d233
KG
32612002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3262
3263 * ns32k.c (ns32k_globalize_label): Delete.
3264 * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
3265
56a7189a
AM
32662002-08-23 Alan Modra <amodra@bigpond.net.au>
3267
3268 * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
3269 for loading delta with num_insns_constant_wide. Calculate
3270 delta_low, delta_high without using a conditional.
3271
d65b1d77
JM
32722002-08-22 Jason Merrill <jason@redhat.com>
3273
3274 * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
3275 * c-common.def: Adjust.
3276 * c-dump.c (c_dump_tree): Adjust.
3277 * c-semantics.c (genrtl_return_stmt): Adjust.
3278 * c-pretty-print.c (pp_c_statement): Adjust.
3279 * tree-inline.c (copy_body_r): Adjust.
3280
8537ed68
ZW
32812002-08-22 Zack Weinberg <zack@codesourcery.com>
3282
3283 * ggc-page.c: Avoid division in ggc_set_mark.
3284 (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
3285 compute_inverse): New.
3286 (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
3287 (init_ggc): Initialize inverse_table.
3288
8567c70f
TT
32892002-08-22 Tom Tromey <tromey@redhat.com>
3290
3291 * doc/install.texi (Configuration): Document --datadir.
3292
fde59d4b
AO
32932002-08-22 Alexandre Oliva <aoliva@redhat.com>
3294
3295 * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
3296
44ddc79a
HPN
32972002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
3298
3299 * gengtype-lex.l (ID): Allow underscore as first character.
3300
b275d088
DE
33012002-08-21 David Edelsohn <edelsohn@gnu.org>
3302
3303 * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
3304 function.
3305 (rs6000_xcoff_asm_named_section): Rename.
3306 * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3307
57ce46bb
TT
33082002-08-21 Tom Tromey <tromey@redhat.com>
3309
3310 For PR java/6005 and PR java/7611:
3311 * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
3312 (fold): Likewise.
3313 * langhooks.c (lhd_can_use_bit_fields_p): New function.
3314 * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
3315 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
3316 (LANG_HOOKS_INITIALIZER): Use it.
3317 * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
3318 field.
3319
27d30956
SS
33202002-08-21 Stan Shebs <shebs@apple.com>
3321
3322 * tree.c (finish_vector_type): Fix a typo in a comment.
3323 * Makefile.in: Fix "the the" stutters in comments.
3324 * genautomata.c: Ditto.
3325 * ifcvt.c: Ditto.
3326 * regrename.c: Ditto.
3327 * config/alpha/alpha.c: Ditto.
3328 * config/alpha/vms-crt0-64.c: Ditto.
3329 * config/alpha/vms-crt0.c: Ditto.
3330 * config/alpha/vms-psxcrt0-64.c: Ditto.
3331 * config/alpha/vms-psxcrt0.c: Ditto.
3332 * config/d30v/d30v.h: Ditto.
3333 * config/fr30/fr30.h: Ditto.
3334 * config/rs6000/rs6000.c: Ditto.
3335 * config/stormy16/stormy16.h: Ditto.
3336 * doc/md.texi: Ditto.
8537ed68 3337
d873d827
JDA
33382002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3339
3340 * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
3341
b462d4ab
JM
33422002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
3343
3344 * c-decl.c (grokdeclarator): Make invalid combinations with long,
3345 short, signed or unsigned into hard errors. Fixes PR c/4319.
3346 Also make duplicate modifiers such as "short short" into hard
3347 errors.
3348
b65d23aa 33492002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
8537ed68 3350 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b65d23aa
AP
3351
3352 * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
3353 to the actual end. Add '@end table' and '@table @code'.
8537ed68 3354
3823f0b2
GK
33552002-08-20 Geoffrey Keating <geoffk@redhat.com>
3356
8d25d915
GK
3357 * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
3358
3823f0b2
GK
3359 * unroll.c (biv_total_increment): Don't try to compute the total
3360 increment for FP BIVs.
3361
5eb99654
KG
33622002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3363
3364 * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
3365 * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
3366 ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3367 * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
3368 * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
3369 * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
3370 (GLOBAL_ASM_OP): Define.
3371 * arm.c (aof_globalize_label): New function.
3372 (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
3373 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3374 * c4x.c (c4x_globalize_label): New function.
3375 (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
3376 * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
3377 (GLOBAL_ASM_OP): Define.
3378 * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3379 * darwin-protos.h (darwin_globalize_label): Declare.
3380 * darwin.c (darwin_globalize_label): New function.
3381 * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
3382 (ASM_GLOBALIZE_LABEL): Delete.
3383 (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
3384 * dsp16xx.c (asm_output_common): Use target hook.
3385 * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3386 * frv.h (ASM_GLOBALIZE_LABEL): Delete.
3387 (GLOBAL_ASM_OP): Define.
3388 * i370.c (i370_globalize_label): New function.
3389 (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
3390 * i370.h (ASM_GLOBALIZE_LABEL): Delete.
3391 * i386.c (ix86_asm_file_end): Use target hook.
3392 * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
3393 (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3394 * ia64.c (ia64_asm_output_external): Likewise.
3395 * ia64/sysv4.h: Update comment.
3396 * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3397 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3398 * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
3399 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3400 * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
3401 * mmix-protos.h (mmix_asm_globalize_label): Delete.
3402 * mmix.c (mmix_asm_globalize_label): Likewise.
3403 * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
3404 (GLOBAL_ASM_OP): Define.
3405 * ns32k.c (ns32k_globalize_label): New function.
3406 * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
3407 (ASM_GLOBALIZE_LABEL): Delete.
3408 * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
3409 (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
3410 * pa.c (pa_globalize_label): New function.
3411 * pa.h (ASM_GLOBALIZE_LABEL): Delete.
3412 (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
3413 * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
3414 (GLOBAL_ASM_OP): Define.
3415 (TARGET_ASM_GLOBALIZE_LABEL): Undef.
3416 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3417 * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
3418 (GLOBAL_ASM_OP): Define.
3419 * v850.c (v850_output_aligned_bss): Use target hook.
3420 * vax.c (vms_globalize_label): New function.
3421 (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
3422 * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
3423 (GLOBAL_ASM_OP): Define.
3424 * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
3425 * doc/tm.texi: Update docs.
3426 * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
3427 target hook.
3428 * final.c (output_alternate_entry_point): Likewise.
3429 * hooks.c (hook_FILEptr_constcharptr_void): New function.
3430 * hooks.h (hook_FILEptr_constcharptr_void): Declare.
3431 * output.h (assemble_global): Delete.
3432 (default_globalize_label): Declare.
3433 * system.h (ASM_GLOBALIZE_LABEL): Poison.
3434 * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3435 (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
3436 * target.h (gcc_target): Add globalize_label member.
3437 * varasm.c (asm_output_bss, asm_output_aligned_bss,
3438 globalize_decl): Use target hook.
3439 (assemble_global): Delete.
3440 (default_globalize_label): New function.
3441
f8f28a75
KG
34422002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3443
3444 * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
3445
92b5aacd
DP
34462002-08-20 Devang Patel <dpatel@apple.com>
3447 * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
8537ed68 3448
761c70aa
KG
34492002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3450
3451 * arc.c (output_shift): Use stdio instead of asm_fprintf.
3452 * arm.c (thumb_output_function_prologue): Likewise.
3453 * avr.c (print_operand): Likewise.
3454 * c4x.c (c4x_print_operand): Likewise.
3455 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
3456 ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
3457 * cris.c (cris_target_asm_function_prologue,
3458 cris_asm_output_mi_thunk): Likewise.
3459 * h8300.c (print_operand): Likewise.
3460 * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3461 * ip2k.c (print_operand): Likewise. Fix format specifier.
3462 * m68hc11.c (asm_print_register, print_operand,
3463 print_operand_address): Use stdio instead of asm_fprintf.
3464 (print_operand_address): Fix format specifier.
3465 * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
3466 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
3467 asm_fprintf.
3468 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3469 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3470 * m68k.c (m68k_output_function_prologue,
3471 m68k_output_function_epilogue, print_operand): Likewise.
3472 * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
3473 Likewise. Fix format specifier.
3474 * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3475 * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3476 * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3477
5ce6f47b
EC
34782002-08-15 Eric Christopher <echristo@redhat.com>
3479 Jeff Knaggs <jknaggs@redhat.com>
3480
3481 * config.gcc (mipsisa64sr71k-elf): New target.
3482 * config/mips/sr71k.md: New file.
3483 * config/mips/mips.md: Use it.
3484 (rot*): Add sr71k specifics.
3485 * config/mips/t-sr71k: New file.
3486 * config/mips/mips.h (sr71k): New cpu.
3487 (TARGET_SR71K): Use it.
3488 (TUNE_SR71K): Ditto.
3489 (GENERATE_BRANCHLIKELY): Ditto.
3490 (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
3491 ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
3492 * config/mips/mips.c (sr71k): New cpu.
3493 (mips_use_dfa_pipeline_interface): Use.
3494
34952002-08-15 Eric Christopher <echristo@redhat.com>
8537ed68 3496 Richard Sandiford <rsandifo@redhat.com>
5ce6f47b
EC
3497 Aldy Hernandez <aldyh@redhat.com>
3498 Graham Stott <grahams@redhat.com>
3499 Michael Meissner <meissner@redhat.com>
3500 Gavin Romig-Koch <gavin@redhat.com>
3501 Ken Raeburn <raeburn@cygnus.com>
3502 Alexandre Oliva <aoliva@redhat.com>
3503
3504 * config.gcc (mips64vr-elf): New target.
3505 * config/mips/5400.md: New file.
3506 * config/mips/5500.md: Ditto.
3507 * config/mips/mips.md: Use them.
3508 (frsqrt): New.
3509 * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
3510 cpus.
3511 (mips_issue_rate): Use them.
3512 (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
3513 (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
3514 * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
3515 cpus.
3516 (TARGET_MIPSx): Use them.
3517 (TUNE_MIPSx): Ditto.
3518 (GETNATE_MULT3_SI): Ditto.
3519 (ISA_HAS_BRANCHLIKELY): Ditto.
3520 (ISA_HAS_CONDMOVE): Ditto.
3521 (ISA_HAS_NMADD_NMSUB): Ditto.
3522 (ISA_HAS_MULHI): New. Ditto.
3523 (ISA_HAS_MULS): Ditto.
3524 (ISA_HAS_MSAC): Ditto.
3525 (ISA_HAS_MACC): Ditto.
3526 (ISA_HAS_ROTR_SI): Ditto.
3527 (ISA_HAS_ROTR_DI): Ditto.
3528 (RTX_COSTS): Use.
3529
48209ce5
JDA
35302002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
3531
3532 * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
3533 at head.
3534 (remove_dup_nonsys_dirs): New function.
3535 (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
3536 (merge_include_chains): Remove non-system include directories from
3537 quote and bracket include chains when they duplicate equivalent system
3538 directories.
3539 * doc/cpp.texi (-I): Update.
8537ed68
ZW
3540 * doc/cppopts.texi (-I): Update.
3541 * doc/install.texi (--with-local-prefix): Further document usage of
48209ce5
JDA
3542 this option.
3543 * doc/invoke.texi (-I): Update.
3544
4ca79136
RH
35452002-08-20 Richard Henderson <rth@redhat.com>
3546
3547 * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
3548 (emit_block_move): Split out subroutines.
3549 (emit_block_move_via_movstr): New.
3550 (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
3551 (emit_block_move_libcall_fn): New. Construct function prototype for
3552 bcopy as well.
3553 (clear_storage): Split out subroutines.
3554 (clear_storage_via_clrstr): New.
3555 (clear_storage_via_libcall): New. Emit bzero as a normal call also.
3556 (clear_storage_libcall_fn): New. Construct function prototype for
3557 bzero as well.
3558 (emit_push_insn): Use emit_block_move.
3559 (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
3560 (store_constructor): Likewise.
3561
9f05cef3
ZL
35622002-08-19 Ziemowit Laski <zlaski@apple.com>
3563
3564 * objc/objc-act.c (building_objc_message_expr): Rename to
3565 current_objc_message_selector.
3566
1bd5981b
ZL
35672002-08-19 Ziemowit Laski <zlaski@apple.com>
3568
3569 * objc/objc-act.c (build_ivar_chain): Remove.
3570 (objc_copy_list): Likewise.
3571 (get_class_ivars): Inline call to removed build_ivar_chain
3572 function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
3573 slot; use that slot (rather than CLASS_IVARS) when accessing
3574 ivars for base classes. Call copy_list and chainon instead of
3575 objc_copy_list.
3576 (build_private_template): Call get_class_ivars instead of
3577 build_ivar_chain.
3578 (start_class): Allocate room for the CLASS_OWN_IVARS slot.
5ce6f47b 3579 (continue_class): Call get_class_ivars instead of
1bd5981b
ZL
3580 build_ivar_chain.
3581 (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
3582 of DECL_BIT_FIELD (which may have been cleared).
3583 * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
3584
2bf087c0
KG
35852002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3586
3587 * genautomata.c (output_translate_vect, output_state_ainsn_table,
3588 output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
3589 in output file.
3590 (output_internal_min_issue_delay_func): Initialize variable in
3591 output file.
3592
3fcd079e
AO
35932002-08-19 Alexandre Oliva <aoliva@redhat.com>
3594
3595 * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
3596 (stage2_build, stage3_build, stage4_build): Likewise, to CC.
3597
71012d97
GK
35982002-08-19 Geoffrey Keating <geoffk@redhat.com>
3599 Steve Ellcey <sje@cup.hp.com>
3600
3601 * machmode.h (SCALAR_INT_MODE_P): New macro to test for
3602 scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
3603 * explow.c (trunc_int_for_mode): Abort when the mode is not
3604 a scaler integer mode.
3605 * combine.c (expand_compound_operation): Don't expand Vector
3606 or Complex modes into shifts.
3607 (expand_field_assignment): Don't do bitwise arithmatic and
3608 shifts on Vector or Complex modes.
3609 (simplify_comparison): Don't call trunc_int_for_mode
3610 for VOIDmode.
3611 * recog.c (general_operand): Likewise.
3612 (immediate_operand): Likewise.
3613 (nonmemory_operand): Likewise.
3614
af8cb5c5
DE
36152002-08-19 David Edelsohn <edelsohn@gnu.org>
3616
3617 * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
3618 multi-instruction SImode constant. Add REG_EQUAL note.
3619 * config/rs6000/rs6000.md (movsi splitter): Use
5ce6f47b 3620 rs6000_emit_set_const.
af8cb5c5 3621
9bc146b3
KG
36222002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3623
3624 * tree-inline.c (initialize_inlined_parameters): Wrap variable in
3625 the macro test controlling its use.
3626
66df2ac2
L
36272002-08-18 H.J. Lu (hjl@gnu.org)
3628
3629 * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
3630 crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
3631 gnu_ld=yes.
3632 (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
3633 i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
3634 s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
3635 xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
3636 here.
3637 (cris-*-linux*): Remove setting thread_file here.
3638
463f1b2b
NB
36392002-08-18 Neil Booth <neil@daikokuya.co.uk>
3640
3641 PR preprocessor/7602
3642 * cppinit.c (path_include): Treat the system environment
3643 variables as being cxx_aware.
3644
2984fe64
JM
36452002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
3646
3647 * c-decl.c (flexible_array_type_p): New function.
3648 (grokdeclarator, finish_struct): Use it.
3649 * doc/extend.texi: Document constraints on use of structures with
3650 flexible array members.
3651
fded6d78
RS
36522002-08-17 Richard Sandiford <rsandifo@redhat.com>
3653
3654 * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
3655 config/mips/t-r3900 (MULTILIB_MATCHES): Define.
3656 * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
3657
8aa5074e
SS
36582002-08-16 Stan Shebs <shebs@apple.com>
3659
3660 * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
3661 for ObjC with -fnext-runtime.
3662 * doc/cpp.texi: Document it.
3663
f97a5bda
JJ
36642002-08-16 Janis Johnson <janis187@us.ibm.com>
3665
3666 * doc/install.texi (Final installation): Replace links to individual
3667 build status pages with a link to a common page that lists them all.
3668
d3075b6c
SP
36692002-08-16 Sylvain Pion <pion@cs.nyu.edu>
3670
3671 * doc/invoke.texi: Fix typo.
3672
fdf68669
DE
36732002-08-16 David Edelsohn <edelsohn@gnu.org>
3674
3675 * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
3676
36772002-08-16 Andrew Haley <aph@redhat.com>
d436bff8
AH
3678
3679 * tree-inline.c: Add includes for Java inliner.
3680 (remap_decl): Don't handle anonymous types for Java.
3681 (remap_block): Add handling for Java trees.
3682 (copy_scope_stmt): Conditionalize for non-Java use only.
3683 (copy_body_r): Handle Java trees. Add handling for
3684 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
3685 (initialize_inlined_parameters): Handle Java trees.
3686 (declare_return_variable): Likewise.
3687 (expand_call_inline): Handle Java trees.
3688 (walk_tree): Likewise.
3689 (copy_tree_r): Don't handle SCOPE_STMTs for Java.
3690 (add_stmt_to_compound): New function.
3691
204250d2
RH
36922002-08-15 Richard Henderson <rth@redhat.com>
3693
3694 * Makefile.in (LOOSE_WARN): Remove -fno-common.
3695 (NOCOMMON_FLAG): New substitution point.
3696 (GCC_WARN_CFLAGS): Include it.
3697 * configure.in (ac_checking): Set nocommon_flag.
3698 (nocommon_flag): New substitution point.
3699
25587e40
AO
37002002-08-15 Alexandre Oliva <aoliva@redhat.com>
3701
3702 * c-tree.h (skip_evaluation): Move declaration...
3703 * c-common.h: ... here.
3704 * c-typeck.c (build_external_ref): Don't assemble_external nor
3705 mark a tree as used if skip_evaluation is set.
3706 * c-parse.in (typeof): New non-terminal to set skip_evaluation
3707 around TYPEOF.
3708 (typespec_nonreserved_nonattr): Use it.
3709
702ada3d
DR
37102002-08-15 Douglas B Rupp <rupp@gnat.com>
3711
3712 * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
3713 (xcoff_debug_hooks): Update end_prologue.
3714 * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
3715 * debug.h (end_prologue): Add file arg.
3716 (end_epilogue): Add line and file args.
3717 (dwarf2out_end_epilogue): Add line and file args.
3718 (vmsdbgout_after_prologue): Remove.
3719 * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
3720 (dwarf2_debug_hooks): Update end_prologue.
3721 * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
3722 (dwarfout_end_prologue): Add file arg.
3723 * final.c (vmsdbgout_after_prologue): Remove
3724 (final_end_function): Update end_epilogue call.
3725 (final_scan_insn): Update end_prologue call.
3726 * sdbout.c (sdbout_end_epilogue): Add line and file args.
3727 (sdbout_end_prologue): Add file arg.
3728 (sdb_debug_hooks): Update end_prologue.
3729 (sdb_begin_prologue): Update sdbout_end_prologue call.
3730 * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
3731 vmsdbgout_end_function.
3732 (vmsdbgout_end_prologue): New function renamed from
3733 vmsdbgout_after_prologue. Call vmsdbgout_source_line.
3734 (vmsdbgout_end_function): New function.
3735 (vmsdbgout_end_epilogue): Add line and file args. Call
3736 vmsdbgout_source_line.
3737 (write_pclines): Write only valid line numbers.
3738 (write_srccorr): Don't write source correlation records if 0 lines.
3739 * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
3740
9ef30f83
SE
37412002-08-15 Steve Ellcey <sje@cup.hp.com>
3742
3743 * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
3744 (_Unwind_Internal_Ptr): 32 bit version for use in
3745 read_encoded_value_with_base.
3746 * gcc/unwind-pe.h (read_encoded_value_with_base): Use
3747 _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
3748 right size.
3749
f7043461
KG
37502002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3751
3752 * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
3753 signed/unsigned warnings.
3754
3755 * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
3756 record_reg_classes): Likewise.
3757
3758 * reload.c (reload_inner_reg_of_subreg, push_reload,
3759 find_reloads_address_1): Likewise.
3760
b4d330e1
DE
37612002-08-15 David Edelsohn <edelsohn@gnu.org>
3762
3763 * rs6000.c (output_mi_thunk): Return to function section on
3764 TARGET_ELF.
3765
3766 * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
3767
61f02ff5
UW
37682002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
3769
3770 * config/s390/s390.c (legitimize_address): Optimize loading
3771 of large displacements.
3772
1330f7d5
DR
37732002-08-14 Douglas B Rupp <rupp@gnat.com>
3774
3775 * config/alpha/alpha-protos.h: Update.
3776
3777 * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
3778 (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
3779 (alpha_linkage_symbol_p): New static function.
3780 (print_operand_address): Print linkage operand.
3781
3782 (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
3783 variables.
3784 (reloc_kind): New enum.
3785 (struct alpha_funcs): New struct.
3786 (struct alpha_links): Add reloc_kind field. Rename links_kind field.
3787
3788 (alpha_need_linkage): Rewrite.
3789 (alpha_use_linkage): New global function.
3790 (alpha_write_linkage): Rewrite and make static.
3791 (alpha_write_one_linkage): Rewrite
3792
3793 (alpha_start_function): Remove procedure descriptor output.
3794 (alpha_end_function): Write linkages at end of each function.
3795
3796 * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
3797 (call_vms_1, call_value_vms_1): Rewrite.
3798
3799 * config/alpha/vms.h (ASM_FILE_END): Remove.
3800
d1f1cc6a
RH
38012002-08-14 Richard Henderson <rth@redhat.com>
3802
3803 * ggc-page.c (RTL_SIZE): New.
3804 (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
3805 * rtl.def (BARRIER, NOTE): Pad to 9 slots.
3806
23626154
RH
38072002-08-14 Richard Henderson <rth@redhat.com>
3808
3809 * calls.c: Include target.h.
3810 * Makefile.in (calls.o): Update.
3811
3812 * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
3813 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
3814
fd350d24
RH
38152002-08-14 Richard Henderson <rth@redhat.com>
3816
3817 * Makefile.in (LOOSE_WARN): Add -fno-common.
3818 * c-common.h (constant_string_class_name): Add missing extern.
3819
182d89a3
NB
38202002-08-15 Neil Booth <neil@daikokuya.co.uk>
3821
3822 PR preprocessor/7358
3823 * c-opts.c (check_deps_environment_vars): Ignore main file
3824 for SUNPRO_DEPENDENCIES.
3825 * cppfiles.c (stack_include_file): Ignore main file if
3826 appropriate.
3827 * cpplib.h (struct cpp_options): New member in deps.
3828 * doc/cppenv.texi: Update.
3829
8bfb1467
NB
38302002-08-14 Neil Booth <neil@daikokuya.co.uk>
3831
3832 PR preprocessor/7526
3833 * cpplib.c (run_directive): Kludge so _Pragma dependency works.
3834
41685063
NS
38352002-08-14 Nathan Sidwell <nathan@codesourcery.com>
3836
3837 * doc/invoke.texi (-a): Remove documentation.
3838 (-fprofile-arcs): Remove reference to -a, -ax options.
3839 * doc/gcov.texi (Gcov Data Files): Data might be merged.
3840
77893a23
GDR
38412002-08-14 Gabriel Dos Reis <gdr@nerim.net>
3842
3843 Fix PR/7566
3844 * c-semantics.c (genrtl_case_label): Don't (mis)use
5ce6f47b 3845 warning_with_decl.
77893a23 3846
260f91c2
DJ
38472002-08-14 Dale Johannesen <dalej@apple.com>
3848
8537ed68 3849 * explow.c (emit_stack_restore): Emit memory clobbers
260f91c2
DJ
3850 preceding the stack pop, to prevent the scheduler from
3851 moving refs to variable arrays below this pop.
3852 * reload1.c (reload): Preserve these clobbers for sched2.
3853 * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
3854
cd79e210
NB
38552002-08-14 Neil Booth <neil@daikokuya.co.uk>
3856
3857 * c-opts.c (c_common_post_options): Correct test.
3858
3eb75a73
KG
38592002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3860
3861 * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
3862 order in call to fprintf.
3863
be3a0ce2
RO
38642002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3865
3866 * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
3867
ccfc6cc8
UW
38682002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
3869
5ce6f47b 3870 * reload.c (find_reloads): Handle constraint letters marked by
ccfc6cc8
UW
3871 EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
3872 (alternative_allows_memconst): Likewise.
3873 * reload1.c (maybe_fix_stack_asms): Likewise.
5ce6f47b 3874 * recog.c (asm_operand_ok, preprocess_constraints,
ccfc6cc8
UW
3875 constrain_operands): Likewise.
3876 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
3877 * local-alloc.c (block_alloc, requires_inout): Likewise.
3878 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
3879
3880 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
3881 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
3882 * doc/tm.texi: Document these two new target macros.
3883
3884 * config/s390/s390.c (s390_expand_plus_operand): Accept already
3885 valid operands.
3886 (q_constraint): New function.
3887 config/s390/s390-protos.h (q_constraint): Declare it.
3888 config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
3889 (EXTRA_MEMORY_CONSTRAINT): New macro.
3890
3891 * config/s390/s390.md: Throughout the machine description,
3892 replace all instances of the constraint combinations 'Qo'
3893 or 'oQ' with simply 'Q'.
3894
d6ee9f6f
SC
38952002-08-14 Stephane Carrez <stcarrez@nerim.fr>
3896
3897 * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
3898 * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
3899 (LIBGCC2_CFLAGS): Compile with -mrelax.
3900
8a0b86f5
SC
39012002-08-14 Stephane Carrez <stcarrez@nerim.fr>
3902
3903 * doc/invoke.texi: Document -minmax for 68HC12.
3904
3905 * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
3906 ("uminqi3"): Likewise.
3907 ("uminhi3", "umaxhi3"): Likewise.
3908
3909 * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
3910 (TARGET_MIN_MAX): Define.
3911 (TARGET_SWITCHES): New option -minmax/-mnominmax.
3912
d6381f4e
SC
39132002-08-14 Stephane Carrez <stcarrez@nerim.fr>
3914
3915 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
3916 (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
3917
3918 * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
3919 (ret, declare, farsym): New gas macros.
3920 (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
3921 ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
3922 and declare the symbol far when compiled with -mlong-calls.
5ce6f47b 3923 (__far_trampoline): New for 68HC12 trampoline code to invoke a
d6381f4e
SC
3924 far handler using jsr/bsr.
3925
3926 * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
3927 (jsr): New macro to transform a 'jsr' into a 'call'.
3928
058edcdb
SC
39292002-08-14 Stephane Carrez <stcarrez@nerim.fr>
3930
3931 * doc/invoke.texi: Document -mlong-calls for 68HC12.
3932
3933 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
3934 -mlong-calls is specified.
5ce6f47b 3935 (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
058edcdb
SC
3936 assembler directives.
3937 (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
3938 (TARGET_SWITCHES): Add -mlong-calls options.
3939 (current_function_far): Declare.
3940
3941 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
3942 into account the page register saved on the stack.
3943 (m68hc11_override_options): Take into account -mlong-calls option.
3944 (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
3945
3946 * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
3947 if the function is going to be in 68HC12 banked memory (-mlong-calls).
3948 ("*return_16bit"): Likewise.
3949 ("*return_void"): Likewise.
3950 ("call", "call_value"): Use call for a far function call.
3951
c79043f3
NB
39522002-08-14 Neil Booth <neil@daikokuya.co.uk>
3953
3954 * toplev.c (parse_options_and_default_flags): Don't call
3955 post_options here.
3956 (general_init): Initialize GC, pools and tree hash here,
3957 instead of lang_independent_init.
3958 (lang_independent_init): Rename backend_init.
3959 (do_compile): Call post_options hook; exit early if there
3960 have been errors after switch processing.
3961 (toplev_main): Update.
3962
6bf346d4
GDR
39632002-08-14 Gabriel Dos Reis <gdr@nerim.net>
3964
3965 * c-pretty-print.h: Guard against multiple inclusion.
3966 Robustify macros.
3967 (pp_c_attributes): Declare.
3968 * c-pretty-print.c (pp_c_attributes): New function.
3969
cbf2f479
KG
39702002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3971
3972 * m68k.c (m68k_output_function_prologue,
3973 m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
3974 and NEWS/MOTOROLA.
3975 * genattrtab.c: Remove dpx2 comment.
3976 * libgcc2.c (__enable_execute_stack): Delete versions for
3977 NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
3978 sony_news/SYSTYPE_BSD.
3979 * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
3980 __gmicro__, __i860__, __NeXT__ and __pyr__.
3981 * rtl.h: Remove convex comment.
3982 * varasm.c: Likewise.
3983
d3969c34
KG
39842002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3985
3986 * c-opts.c (lang_flags): Const-ify.
3987 * ra-build.c (undef_table): Likewise.
3988 * ra.c (eliminables): Likewise.
3989
df89f8e7
GDR
39902002-08-14 Gabriel Dos Reis <gdr@nerim.net>
3991
3992 * tree.h: Guard against multiple inclusion.
3993
cf87d551
HPN
39942002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
3995
3996 * reload1.c (reload_cse_simplify): Before checking
3997 REG_FUNCTION_VALUE_P, check REG_P.
3998
a43c8986
GK
39992002-08-13 Geoffrey Keating <geoffk@redhat.com>
4000
4001 * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
4002
29337351
NB
40032002-08-13 Neil Booth <neil@daikokuya.co.uk>
4004
4005 * c-opts.c (c_common_init_options): Extra braces needed.
4006
8202c8c4
R
4007Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4008
4009 * sh.c (sh_init_builtins): Add PARAMS to declaration.
4010 (sh_media_init_builtins, sh_expand_builtin): Likewise.
4011 (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
4012 (sh_expand_binop_v2sf): Likewise.
4013 * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
4014 (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
4015 (sh_initialize_trampoline): Likewise.
4016
07893d4f
UW
40172002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
4018
4019 * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
4020 new condition code modes.
4021 s390.c (s390_match_ccmode_set): Handle those new CC modes.
4022 (s390_select_ccmode): Likewise.
4023 (s390_branch_condition_mask): Likewise.
4024
4025 * s390-protos.h (s390_tm_ccmode): Declare.
4026 s390.c (s390_tm_ccmode): New function.
4027 (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
4028
4029 * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
4030 ("*cmpsi_tm2"): Rename to "*tmsi_ext".
4031 ("*cmpqi_tm2"): Rename to "*tmqi_ext".
4032
4033 ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
4034 "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
4035 "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
4036 ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
4037 "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
4038
4039 ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
5ce6f47b 4040 "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
07893d4f
UW
4041 "*cmpqi_ccs_0"): Remove, replace by ...
4042 ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
5ce6f47b 4043 "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
07893d4f
UW
4044 "*tstqi", "*tstqi_cconly"): ... these new patterns.
4045
4046 ("*cmpsidi_ccs"): Remove, replace by ...
4047 ("*cmpsi_ccs_sign"): ... this new pattern.
4048 ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
4049
4050 ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
4051 ("*cli"): ... this new pattern.
4052
4053 ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
4054 "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
4055 New patterns.
4056 ("adddi3_64"): Rename to "*adddi3_64".
4057 ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
4058 ("adddi3"): Adapt expander.
4059
4060 ("*addsi3_cc"): Allow "general_operand" for operand 2.
5ce6f47b 4061 ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
07893d4f
UW
4062 "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
4063
4064 ("addhi3", "addqi3"): Remove, replace by ...
4065 ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
4066
4067 ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
4068 "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
4069 ("subdi3"): Replace by insn and splitter "*subdi3_31".
4070 ("subdi3"): New expander.
4071
4072 ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
4073
4074 ("subhi3", "subqi3"): Remove, replace by ...
4075 ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
4076
4077 ("*muldi3_sign"): New pattern.
4078 ("muldi3"): Do not clobber CC.
4079 ("mulsi3"): Likewise.
4080 ("mulsi_6432"): Likewise.
4081
db62867b
DC
40822002-08-13 Denis Chertykov <denisc@overta.ru>
4083
4084 * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
8537ed68 4085 which can change CC0.
db62867b 4086
8ba46434
R
4087Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
4088
4089 * gcse.c (adjust_libcall_notes): New function.
4090 (do_local_cprop): Use it. Add fourth parameter. Changed caller.
4091
8733892f
NS
40922002-08-13 Nathan Sidwell <nathan@codesourcery.com>
4093
4094 * libgcc2.c (L_bb): Remove unneeded #includes.
4095 (__global_counters, __gthreads_active): Remove unused globals.
4096 (__bb_exit_func): Merge counts into files rather than appending.
4097 * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
4098 (ALL_CFLAGS): ... to here.
4099
f4769721
DC
41002002-08-13 Denis Chertykov <denisc@overta.ru>
4101
4102 * config/ip2k/ip2k.c (commands_in_file): Variable removed.
4103 (function_epilogue): Don't calculate function size.
4104 (ip2k_set_compare): Don't use lookup_const_double.
4105 (asm_file_start): Initialization of commands_in_file removed.
4106 (asm_file_end): Output of commands_in_file removed.
5ce6f47b 4107
f4769721
DC
4108 * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
4109 __INT_MAX__.
4110
c31cddfd
NB
41112002-08-13 Neil Booth <neil@daikokuya.co.uk>
4112
4113 * c-opts.c (c_common_init_options): Check option array is
4114 sorted if checking enabled.
4115
f076f0ce
GDR
41162002-08-13 Gabriel Dos Reis <gdr@nerim.net>
4117
4118 * c-pretty-print.c: #include "c-tree.h".
4119 (pp_c_simple_type_specifier): Tweak.
4120 (pp_c_storage_class_specifier): New.
4121 (pp_c_function_specifier): Likewise.
4122 (pp_c_declaration_specifiers): Likewise.
4123 (pp_c_init_declarator): Likewise.
4124 (pp_c_declaration): Likewise.
4125 (pp_c_direct_declarator): Stub.
4126 (pp_c_declarator): Likewise.
4127 (pp_c_parameter_declaration): Likewise.
4128
f4ff5a69
NB
41292002-08-13 Neil Booth <neil@daikokuya.co.uk>
4130
4131 * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
4132 handle_deferred_opts, sanitize_cpp_opts, defer_opt,
4133 struct deferred_opt): New.
4134 (COMMAND_LINE_OPTIONS): Add -M*.
4135 (missing_arg): Update.
4136 (c_common_decode_option): Handle -M*.
4137 (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
4138 don't call cpp_post_options.
4139 (c_common_finish, check_deps_environment_vars): Update.
4140 * cppfiles.c (stack_include_file, handle_missing_header): Update.
4141 * cpphash.h (CPP_PRINT_DEPS): Remove.
4142 * cppinit.c: Don't include version.h.
4143 (cpp_create_reader): Don't call deps_init. Initialize
4144 warn_long_long.
4145 (cpp_read_main_file): Init deps if necessary.
4146 (cpp_destroy): Conditionally free deps.
4147 (cpp_finish): Update.
4148 (no_tgt): Remove.
4149 (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
4150 (cpp_post_options): Rename post_options.
4151 * cpplib.h (struct cpp_options): Remove some dependency options;
4152 move others to a new structure.
4153 (cpp_post_options): Remove.
4154 (cpp_finish): Comment.
4155 * fix-header.c (read_scan_file): Don't call cpp_post_options.
4156
34116c2a
HPN
41572002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
4158
4159 * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
4160 ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
4161 MMIX_rR_REGNUM as clobbered.
4162 * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
4163
9b32718c
GDR
41642002-08-12 Gabriel Dos Reis <gdr@nerim.net>
4165
4166 * diagnostic.h (output_formatted_scalar): Rename from
5ce6f47b 4167 output_formatted_integer.
9b32718c
GDR
4168 * diagnostic.def: Add DK_DEBUG.
4169 * diagnostic.c (output_decimal): Adjust.
4170 (output_long_decimal): Likewise.
4171 (output_unsigned_decimal): Likewise.
4172 (output_octal): Likewise.
4173 (output_long_octal): Likewise.
4174 (output_hexadecimal): Likewise.
4175 (output_long_hexadecimal): Likewise.
4176 * c-pretty-print.c (pp_c_type_specifier): New function.
4177 (pp_c_specifier_qualifier_list): Likewise.
4178 (pp_c_abstract_declarator): Likewise.
4179 (pp_c_char): Replace pp_format_integer with pp_format_scalar.
4180
032613df
DE
41812002-08-12 David Edelsohn <edelsohn@gnu.org>
4182
4183 * doc/trouble.texi (Disappointments): Add static constructor and
4184 destructor dependency information for AIX.
4185
a3737481
NB
41862002-08-12 Neil Booth <neil@daikokuya.co.uk>
4187
4188 * cpphash.h (struct printer): New from cppmain.c.
4189 (cpp_reader): New member.
4190 * cppmain.c (struct printer): Move to cpphash.h.
4191 (options, print): Remove.
4192 (account_for_newlines, print_line, maybe_print_line,
4193 cpp_preprocess_file, setup_callbacks, scan_translation_unit,
4194 scan_translation_unit_trad, cb_line_change, cb_ident,
4195 cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
4196 cb_def_pragma): Make reentrant.
4197
d71f7700
KG
41982002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4199
4200 * real.c (ieee_64): Always define.
4201 (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4202 (dec_h): Not used yet, hide it.
4203 (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
4204 macro controlling use.
4205 (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4206
c16576e6
JH
4207Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
4208
4209 * i386.md (tablejump): Sign extend the operand.
4210 * i386.c (classify_argument): Fix missed case from previous patch.
4211
460bd0e3
NB
42122002-08-12 Neil Booth <neil@daikokuya.co.uk>
4213
4214 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
4215 to c-copts.c.
4216 (warn_multichar): Die.
4217 (cb_register_builtins): Export.
4218 * c-common.h (warn_multichar, preprocess_file): Remove.
4219 (cb_register_builtins): New.
4220 * c-lang.c (c_init): Remove.
4221 (LANG_HOOKS_INIT): Use c_objc_common_init.
4222 * c-lex.c (init_c_lex): Don't canonicalize filename.
4223 * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
4224 (preprocess_file): Make static. Update for cpplib.
4225 (c_common_decode_option): Remove warn_multichar. Use in_fname.
4226 (c_common_post_options): Set some cpp options here.
4227 (c_common_init): Move from c-common.c.
4228 * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
4229 * cpplib.h (struct cpp_options): Remove in_fname.
4230 (cpp_preprocess_file): Update.
4231 * cppmain.c (cpp_preprocess_file): Update for new prototypes.
4232
f3f268dd
KG
42332002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4234
4235 * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
4236
f0201fba
KG
42372002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4238
4239 * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
4240 backslash in comment preceeding macro definition.
4241 * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
4242 * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
4243 * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
4244
e56fc090
HPN
42452002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
4246
4247 * expr.c (store_expr): In condition for checking if value is
4248 generated in TARGET, move call to expr_size last.
4249
76c3e73e
NB
42502002-08-11 Neil Booth <neil@daikokuya.co.uk>
4251
4252 * c-common.c (c_common_init): Call preprocess_file instead.
4253 (c_common_finish): Move to c-opts.c.
4254 * c-common.h (preprocess_file): new.
4255 * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
4256 check_deps_environment_vars, c_common_finish): New.
4257 (c_common_decode_option): Update for out_fname and dependencies.
4258 * cppinit.c (init_dependency_output, output_deps): Remove.
4259 (cpp_destroy): Update prototype.
4260 (cpp_add_dependency_target): New.
4261 (cpp_read_main_file): Don't overlay a buffer.
4262 (cpp_finish): Take a deps output stream and write deps to it.
4263 Return the error count.
4264 (cpp_post_options): Don't canonicalize out_fname, or do anything
4265 with dependencies.
4266 * cpplib.h (struct cpp_options): Remove out_fname and
4267 preprocess_only.
4268 (cpp_add_dependency_target): New.
4269 (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
4270 * cppmain.c (cpp_preprocess_file): Update prototype. Don't
4271 set preprocess_only. Don't handle the output stream directly.
4272
e0c32c62
KG
42732002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4274
4275 * dsp16xx.c (print_operand): Fix format specifier.
4276 * dsp16xx.md: Avoid automatic aggregate initialization.
4277 * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
4278 * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
4279 integer constant modifier.
4280 * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
4281 * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
4282 guards.
4283 * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
4284 * v850.c (v850_select_section): Mark parameter with
4285 ATTRIBUTE_UNUSED.
4286 * global.c (global_alloc): Const-ify.
4287 * ra-colorize.c (hardregset_to_string): Fix format specifier.
4288
7ae8cf75
KG
42892002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4290
4291 * darwin-c.c (darwin_pragma_options): Const-ify.
4292 * darwin.c (machopic_non_lazy_ptr_name,
4293 machopic_validate_stub_or_non_lazy_ptr): Likewise.
4294 (machopic_indirect_data_reference): Wrap variables in macros
4295 controlling their use.
4296 (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
4297 (machopic_select_section): Use parentheses around && within ||.
4298 * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
4299
8819cab5
KG
43002002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4301
4302 * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
4303 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
4304 ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
4305 ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
4306 mdr_try_remove_redundant_insns, track_w_reload,
4307 mdr_try_wreg_elim): Make function static to match prototype.
4308 * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
4309 parameter with ATTRIBUTE_UNUSED.
4310
ab2877a3
KG
43112002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4312
4313 * arc.c (arc_init): Don't use ISO C style function definitions.
4314 * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
4315 arm_get_strip_length, arm_strip_name_encoding): Likewise.
4316 * avr.h (progmem_section): Likewise.
4317 * h8300.c h8300_asm_insn_count): Likewise.
4318 * m32r.c (init_idents): Likewise.
4319 * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
4320 * sh.c (sh_cfun_interrupt_handler_p): Likewise.
4321 * xtensa.c (xtensa_build_va_list): Likewise.
4322
08767a6f
NB
43232002-08-11 Neil Booth <neil@daikokuya.co.uk>
4324
4325 * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
4326 * c-opts.c (parse_option): Rename find_opt.
4327 (set_std_c99): New function.
4328 (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
4329 (missing_arg): Remove OPT_std_bad. Handle -o.
4330 (c_common_decode_option): Handle input and output file names,
4331 -o and -remap. Clean up -std= handling.
4332 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
4333 (cpp_handle_option): Similarly. Don't handle filenames.
4334
db01f480
JH
4335Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
4336
4337 * i386.c (classify_argument): Fix computing of field's offsets.
4338
a7701995
AJ
43392002-08-11 Andreas Jaeger <aj@suse.de>
4340
4341 PR target/7531:
4342 * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
4343
2516f236
ZL
43442002-08-10 Ziemowit Laski <zlaski@apple.com>
4345
4346 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
4347 reference to clk_objective_c with flag_objc.
4348 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
4349 Likewise.
4350 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
4351
f749a36b
NB
43522002-08-10 Neil Booth <neil@daikokuya.co.uk>
4353
4354 * c-opts.c (set_std_cxx98, set_std_c89): New.
4355 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4356 (c_common_decode_option): Handle new switches from cppinit.c.
4357 Add -std=gnu++98.
4358 * cppinit.c (set_lang): Rename cpp_set_lang. Export.
4359 (no_arg, no_num): Remove.
4360 (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
4361 switches apart from -lang-objc and lang-asm.
4362 (cpp_handle_option): Similarly.
4363 * cpplib.h (cpp_set_lang): New.
4364 * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
4365 -std=gnu++98.
4366 * objc/lang-specs.h: Remove -ansi.
4367
77abb5d8
JH
4368Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
4369 Graham Stott
4370
4371 * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
4372 errors.
4373
fac37dc4
KG
43742002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4375
d950dee3
KG
4376 * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
4377 emit_jump_insn): Fix uninitialized variable.
4378 * gcov.c (init_line_info): Likewise.
4379 * genautomata.c (transform_3): Add braces around ambiguous
4380 else.
4381 * ifcvt.c (cond_exec_process_insns): Mark parameter with
4382 ATTRIBUTE_UNUSED.
4383 * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
4384 * regrename.c (copyprop_hardreg_forward): Fix uninitialized
4385 variable.
4386
fac37dc4
KG
4387 * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
4388 warnings in output files.
4389
0f7866e7
ZL
43902002-08-09 Ziemowit Laski <zlaski@apple.com>
4391
4392 * c-common.c (flag_objc): New.
4393 * c-common.h (c_language_kind): Get rid of clk_objective_c
4394 enum value.
4395 (flag_objc): New extern declaration.
4396 * c-decl.c (implicitly_declare): Call objc_check_decl
4397 instead of maybe_objc_check_decl.
4398 (finish_decl): Likewise.
4399 (grokfield): Likewise.
4400 (finish_struct): Likewise.
4401 * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
4402 (maybe_objc_comptypes): Rename to objc_comptypes.
a7701995 4403 (maybe_building_objc_message_expr): Rename to
0f7866e7
ZL
4404 objc_message_selector.
4405 * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
4406 replace with flag_objc as needed.
4407 * c-opts.c (c_common_init_options): Likewise.
4408 (c_common_decode_option): Likewise.
4409 * c-parse.in (init_reswords): Likewise.
4410 * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
4411 (maybe_objc_comptypes): Rename to objc_comptypes.
a7701995 4412 (maybe_building_objc_message_expr): Rename to
0f7866e7
ZL
4413 objc_message_selector.
4414 * c-typeck.c (comptypes): Call objc_comptypes instead of
4415 maybe_objc_comptypes, and/or objc_message_selector instead of
4416 maybe_building_objc_message_expr.
4417 (comp_target_types): Likewise.
4418 (convert_for_assignment): Likewise.
4419 (warn_for_assignment): Likewise.
4420 * cppinit.c (init_builtins): Set __OBJC__ manifest constant
4421 independently of those for other languages.
4422 * objc/objc-act.c (maybe_objc_comptypes): Delete.
4423 (maybe_objc_check_decl): Delete.
a7701995 4424 (maybe_building_objc_message_expr): Rename to
0f7866e7
ZL
4425 objc_message_selector.
4426 * objc/objc-lang.c (objc_init_options): Use clk_c instead of
4427 clk_objective_c; set flag_objc flag.
4428
c512fd7b
TM
44292002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4430
4431 * ifcvt.c (find_if_case_2): Test correct basic block for size.
4432
5e1bf043 44332002-08-09 Dale Johannesen <dalej@apple.com>
c512fd7b 4434
5e1bf043
DJ
4435 * config/rs6000/rs6000.md: Add sibcall patterns.
4436 * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
4437 * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
4438 Rewritten to handle sibcalls.
4439 * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
4440 * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
4441
2043c38e
NS
44422002-08-08 Nathan Sidwell <nathan@codesourcery.com>
4443
4444 * profile.c (da_file_name): New static var.
4445 (init_branch_prob): Initialize it.
4446 (end_branch_prob): Remove da file.
4447
4448 * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
41685063 4449 * configure.in (coverage_flags): Default to nothing.
2043c38e
NS
4450 * configure: Rebuilt.
4451
4b7091eb
NB
44522002-08-09 Neil Booth <neil@daikokuya.co.uk>
4453
4454 * Makefile.in (c-opts.o): Update
4455 * c-opts.c: Include intl.h.
4456 (print_help): Move from cppinit.c. Remove unused options.
4457 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4458 (missing_arg): Complain for switches without an argument.
4459 (c_common_decode_option): Reject missing joined arguments.
4460 Handle new switches from cppinit.c.
4461 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4462 (cpp_handle_option): Similarly.
4463 (print_help): Moved to c-opts.c.
4464 * cpplib.h (struct cpp_options): Remove help_only.
4465 * gcc.c (cpp_unique_options): Remove -$.
4466 * doc/cppopts.texi: Undocument -h.
4467
9e20be0c
JJ
44682002-08-08 Jakub Jelinek <jakub@redhat.com>
4469
4470 * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
4471 legitimate constant.
4472 (legitimate_pic_operand_p): Neither pic operand.
4473 (legitimate_address_p): But legitimate address.
4474 (get_thread_pointer): Generate MEM/u instead of CONST around
4475 UNSPEC_TP.
4476 (print_operand): Remove printing of UNSPEC_TP.
4477 (print_operand_address): And print it here.
4478
7b9be5c7 44792002-08-08 Devang Patel <dpatel@apple.com>
9e20be0c 4480
a7701995
AJ
4481 * objc/objc-act.c (build_selector_translation_table): Issue warning,
4482 when -Wselector is used,if method for which selector is being
7b9be5c7 4483 created does not exist.
a7701995 4484
5615d8fd
SC
44852002-08-08 Stephen Clarke <stephen.clarke@superh.com>
4486
4487 * config/sh/sh.c (prepare_move_operands): Only call
4488 target_reg_operand if TARGET_SHMEDIA.
a7701995 4489
3b85fe5f
JJ
44902002-08-08 Jakub Jelinek <jakub@redhat.com>
4491
4492 * config/rs6000/rs6000.h, config/rs6000/aix.h,
4493 config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
4494 two patches.
4495 * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
4496
e10c79fe
LB
44972002-08-08 Lars Brinkhoff <lars@nocrew.org>
4498 Richard Henderson <rth@redhat.com>
4499
4500 * emit-rtl.c (gen_rtx_REG): After reload, only return
4501 frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
4502
aa2a83dc
JJ
45032002-08-08 Jakub Jelinek <jakub@redhat.com>
4504
4505 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
4506 * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
4507 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
4508 macro.
4509
aeaf4d25
AN
45102002-08-08 Adam Nemet <anemet@lnxw.com>
4511
4512 * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
4513 register.
4514 (thumb_expand_prologue): Likewise.
4515 (thumb_output_function_prologue): Likewise.
4516 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
4517 the additional push of the PIC register.
4518
22aa533e
NS
45192002-08-08 Nathan Sidwell <nathan@codesourcery.com>
4520
4521 * configure.in (enable_coverage): New enable switch.
4522 * configure: Rebuilt.
4523 * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
4524 (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
4525 (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
4526 (mostlyclean): Remove coverage files.
4527 * doc/install.texi: Document enable_coverage.
4528
4529 * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
4530 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
4531 * f/Make-lang.in (f.mostlyclean): Remove coverage files.
4532 * java/Make-lang.in (java.mostlyclean): Remove coverage files.
4533 * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
4534 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
4535 files.
a7701995 4536
18bdccaa
NB
45372002-08-08 Neil Booth <neil@daikokuya.co.uk>
4538
4539 * c-opts.c (cpp_opts): New.
4540 (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
4541 (c_common_decode_options): Handle cpplib switches.
4542 (c_common_init_options): Set cpp_opts.
4543 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4544 (cpp_handle_option): Similarly.
4545
774b5662
DE
45462002-08-08 David Edelsohn <edelsohn@gnu.org>
4547
4548 * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
4549 (TARGET_ALTIVEC_ABI): Same.
4550 (TARGET_ALTIVEC_VRSAVE): Same.
4551
4552 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
4553 icode not CODE_FOR_nothing. Change switch to if.
4554
957e9e48
AM
45552002-08-08 Alan Modra <amodra@bigpond.net.au>
4556
4557 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
4558
daf06049
JJ
45592002-08-08 Jakub Jelinek <jakub@redhat.com>
4560
4561 * stor-layout.c (place_union_field): For bitfields if
4562 PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
4563 TYPE_USER_ALIGN.
4564
043d39a6
JDA
45652002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4566
4567 * pa.c (struct deferred_plabel): Constify name field.
4568
34bb92e3
NB
45692002-08-07 Neil Booth <neil@daikokuya.co.uk>
4570
4571 * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
4572
3ec5d64d
JDA
45732002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4574
4575 * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
4576 local_prefix are the same.
4577 * configure: Rebuilt.
4578
ad9335eb
JJ
45792002-08-07 Jakub Jelinek <jakub@redhat.com>
4580 Richard Henderson <rth@redhat.com>
4581
4582 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
4583 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
4584 ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
4585 (place_field): Likewise.
4586 * config/i386/i386.c (x86_field_alignment): Don't check
4587 DECL_USER_ALIGN here.
4588 * config/rs6000/rs6000.c (rs6000_field_alignment): New.
4589 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
4590 prototype.
4591 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
4592 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
4593 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
4594 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
4595 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
4596 * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
4597
0b6f2917
NB
45982002-08-07 Neil Booth <neil@daikokuya.co.uk>
4599
4600 * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
4601 * c-common.c: Don't include tree-inline.h.
4602 (c_common_init_options, c_common_post_options): Move to c-opts.c.
4603 * c-common.h (c_common_decode_option): New.
4604 * c-decl.c (c_decode_option): Remove.
4605 * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
4606 * c-opts.c: New file.
4607 * c-tree.h (c_decode_option): Remove.
4608 * doc/passes.texi: Update.
4609 * objc/objc-act.c (objc_decode_option): Remove.
4610 * objc/objc-act.h (objc_decode_option): Remove.
4611 * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
4612 c_common_decode_option.
4613
e49ec17d
CD
46142002-08-07 Chris Demetriou <cgd@broadcom.com>
4615
4616 * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
4617 dependency on TARGET_DOUBLE_FLOAT.
4618
ac1ca451
SC
46192002-08-07 Stephen Clarke <stephen.clarke@superh.com>
4620
4621 * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
4622 overwrite callee-save registers. Fix comment.
4623
af34e51e
CD
46242002-08-06 Chris Demetriou <cgd@broadcom.com>
4625
4626 * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
4627 in target_flags based on ISA, if it was not set on the command
4628 line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
4629 support Branch Likely instructions.
4630 * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
4631 (TARGET_BRANCHLIKELY): Likewise.
4632 (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
4633 (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
4634 ISA_HAS_BRANCHLIKELY.
4635 (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
4636 * doc/invoke.texi: Document new MIPS -mbranch-likely and
4637 -mno-branch-likely options.
4638
2631af95
KG
46392002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4640
f538618e
KG
4641 * ip2k.c (ip2k_set_compare): Add missing iteration variable.
4642
2631af95
KG
4643 * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
4644 $(GCONFIG_H).
4645
1ae0ccb6
AH
46462002-08-06 Aldy Hernandez <aldyh@redhat.com>
4647
8537ed68
ZW
4648 * c-decl.c (duplicate_decls): Error out for incompatible TLS
4649 declarations.
1ae0ccb6 4650
8537ed68 4651 * testsuite/gcc.dg/tls/diag-3.c: New.
1ae0ccb6 4652
8d3e27d1 46532002-08-06 Dale Johannesen <dalej@apple.com>
db4c55f6 4654
8d3e27d1 4655 * c-common.c (fname_decl): Use line number 0 for
8537ed68 4656 __func__, to avoid confusing debuggers.
8d3e27d1 4657
8b219a76
NS
46582002-08-06 Nathan Sidwell <nathan@codesourcery.com>
4659
4660 * gcov.c: Tidy.
4661 (struct line_info, struct coverage): New structures.
4662 (gcov_file_name, gcov_file): Remove globals.
4663 (output_data): Take source file parameter. Fix memory leak. Break
4664 up into ...
4665 (init_line_info, output_line_info, make_gcov_file_name,
4666 accumulate_branch_counts): ... here.
4667 (calculate_branch_probs, function_summary): Adjust.
4668 (main): Adjust.
4669 (function_*): Remove global variables.
4670
317e98c0
NB
46712002-08-06 Neil Booth <neil@daikokuya.co.uk>
4672
4673 * dwarf2out.c: Remove unused macros.
4674
81d41e74
NB
46752002-08-06 Neil Booth <neil@daikokuya.co.uk>
4676
4677 * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
4678
58551c23
NB
46792002-08-06 Neil Booth <neil@daikokuya.co.uk>
4680
4681 * cppinit.c (struct lang_flags): Rename trigraphs std.
4682 (set_lang): Update.
4683 * cpplib.h (struct cpp_options): New member std.
4684 * cppmacro.c (_cpp_builtin_macro_text): Use std.
4685 (collect_args): Flag whether to swallow a possible future
4686 comma pasted with varargs.
4687 (replace_args): Use this flag.
4688 * doc/cpp.texi: Update varargs extension documentation.
4689
daeabcd0
JJ
46902002-08-06 Jakub Jelinek <jakub@redhat.com>
4691
4692 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
4693
39e3a681
JJ
46942002-08-06 Jakub Jelinek <jakub@redhat.com>
4695
9812691e
JJ
4696 * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
4697 and MODE_CLASS_INT modes.
39e3a681 4698
609a87f3
JJ
46992002-08-06 Jakub Jelinek <jakub@redhat.com>
4700
4701 * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
4702 --{enable,disable}-threads is given to configure.
4703 (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
4704 x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
4705 powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
4706 s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
4707 Remove thread_file setting here.
4708
ff4c5e7b
DE
47092002-08-06 David Edelsohn <edelsohn@gnu.org>
4710
4711 * doc/install.texi (Binaries): Update Bull Freeware URL.
4712
54f3aa9e
GP
47132002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4714
4715 * doc/gcc.texi (Top): Rename Index to Keyword Index.
4716
d19202ba
NS
47172002-08-05 Nathan Sidwell <nathan@codesourcery.com>
4718
4719 * gcov.c (output_data): Round to % to nearest, tweak formatting.
4720
1bed5ee3
JJ
47212002-08-05 Jakub Jelinek <jakub@redhat.com>
4722
4723 * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
4724 of the operands into MINUS_EXPR if code is PLUS_EXPR.
4725
84512347
DR
47262002-08-05 Douglas B Rupp <rupp@gnat.com>
4727
4728 * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
4729 * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
4730 drectve_section): Define.
4731 * config/i386/t-interix: Replace interix.o rule with winnt.o.
4732 * config/i386/interix.c: Remove.
4733
b835f6f1
GK
47342002-08-05 Geoffrey Keating <geoffk@redhat.com>
4735
4736 * attribs.c: Don't include obstack.h.
4737 * builtins.c: Likewise.
4738 * cfganal.c: Likewise.
4739 * cfgbuild.c: Likewise.
4740 * cfgcleanup.c: Likewise.
4741 * emit-rtl.c: Likewise.
4742 * loop.c: Likewise.
4743 * stmt.c: Likewise.
4744
4745 * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
4746
fd291392
GDR
47472002-08-05 Gabriel Dos Reis <gdr@nerim.net>
4748
4749 * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
4750
054b7507
CD
47512002-08-04 Chris Demetriou <cgd@broadcom.com>
4752
4753 * doc/invoke.texi: Remove duplicated paragraph describing
4754 TARGET_SWITCHES.
4755
6d9f628e
GK
47562002-08-04 Geoffrey Keating <geoffk@redhat.com>
4757
4758 * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
4759 * collect2.h (permanent_obstack): Delete declaration.
4760 * collect2.c (permanent_obstack): Delete definition.
4912a07c 4761 (main): Don't initialize permanent_obstack. Use xstrdup instead.
6d9f628e
GK
4762 * expr.c: Don't include obstack.h.
4763 (permanent_obstack): Delete declaration.
4764 * function.c: Don't include obstack.h.
4765 (permanent_obstack): Delete declaration.
4766 * integrate.c: Don't include obstack.h.
4767 (function_maybepermanent_obstack): Delete declaration.
4768 * print-tree.c (debug_tree): Use x*alloc not permalloc.
4769 * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
4770 * tlink.c (pfgets): Use xstrdup not permanent_obstack.
4771 * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
4772 * tree.h: Rename init_obstacks to init_ttree. Remove declarations
4773 of permalloc, expralloc, perm_calloc.
4774 * tree.c (permanent_obstack): Delete definition.
4775 (init_ttree): Rename from init_obstacks.
4776 (permalloc): Delete.
4777 (perm_calloc): Delete.
4778 (dump_tree_statistics): Don't print information about
4779 permanent_obstack.
4780 * varasm.c (assemble_start_function): Use xstrdup instead of
4781 permalloc/strcpy.
4782 (assemble_variable): Likewise.
4783 * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
4784 permalloc.
4785 (unicosmk_add_extern): Likewise.
4786 * config/c4x/c4x.c (c4x_external_ref): Likewise.
4787 (c4x_global_label): Likewise.
4788 * config/frv/frv.c (frv_encode_section_info): Likewise.
4789 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
4790 (i386_pe_record_exported_symbol): Likewise.
4791 * config/mips/mips.c (mips_output_external): Likewise.
4792 (mips_output_external_libcall): Likewise.
4793 * config/pa/pa.c: (permanent_obstack): Delete declaration.
4794 (output_call): Use ggc_strdup instead of allocating on
4795 permanent_obstack.
4796 * config/romp/romp.c: Include ggc.h.
4797 (get_symref): Don't declare permanent_obstack, use ggc_strdup
4798 intead of permanent_obstack.
4799 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
4800 instead of permalloc.
4801 * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
4802 instead of permalloc
4803 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
4804 instead of permalloc.
4805 * config/vax/vax.c (vms_check_external): Use xmalloc instead of
4806 permalloc.
4807
36a05131
BS
48082002-08-04 Bernd Schmidt <bernds@redhat.com>
4809
4810 Contribute a port developed primarily by Michael Meissner,
4811 Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
4812 * config.gcc: Add frv-elf target.
4813 * config/frv/cmovd.c: New file.
4814 * config/frv/cmovh.c: New file.
4815 * config/frv/cmovw.c: New file.
4816 * config/frv/frv-abi.h: New file.
4817 * config/frv/frv-asm.h: New file.
4818 * config/frv/frv-modes.def: New file.
4819 * config/frv/frv-protos.h: New file.
4820 * config/frv/frv.c: New file.
4821 * config/frv/frv.h: New file.
4822 * config/frv/frv.md: New file.
4823 * config/frv/frvbegin.c: New file.
4824 * config/frv/frvend.c: New file.
4825 * config/frv/lib1funcs.asm: New file.
4826 * config/frv/media.h: New file.
4827 * config/frv/modi.c: New file.
4828 * config/frv/t-frv: New file.
4829 * config/frv/uitod.c: New file.
4830 * config/frv/uitof.c: New file.
4831 * config/frv/ulltod.c: New file.
4832 * config/frv/ulltof.c: New file.
4833 * config/frv/umodi.c: New file.
4834 * config/frv/xm-frv.h: New file.
86a0cbcb
BS
4835
4836 * config/frv/media.h: Removed again.
4837
37b8715b
NS
48382002-08-04 Nathan Sidwell <nathan@codesourcery.com>
4839
4840 * gcov.c (bb_file_time): New static variable.
4841 (object_directory): May also be object file.
4842 (preserve_paths): New static variable.
4843 (print_usage): Adjust.
4844 (options): Adjust.
4845 (process_args): Adjust.
4846 (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
4847 file. Find modification date on bb file.
4848 (read_profile): Don't rewind a NULL file.
4849 (format_hwint): New static function.
4850 (function_summary): Use format_hwint.
4851 (output_data): SOURCE_FILE_NAME is never relative to
4852 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
4853 mangling. Adjust output format to make it more machine readable.
4854 * doc/gcov.texi: Document & clarify semantics.
a7701995 4855
d500c5d7
JM
48562002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
4857
4858 * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
4859
ea67fe71
NS
48602002-08-04 Nathan Sidwell <nathan@codesourcery.com>
4861
4862 * gcc.c (cc1_options): Pass output file as auxbase when
4863 appropriate.
4864 * profile.c (init_branch_prob): FILENAME has already had ending
4865 stripped.
4866 * final.c (end_final): Likewise.
4867 * toplev.c (aux_base_name): New global.
4868 (compile_file): Pass aux_base_name to init init_branch_prob and
4869 end_final.
4870 (independent_decode_option, case 'a'): New auxinfo options.
4871 (case 'd'): Protect against mising basename.
4872 (do_compile): Initialize aux_base_name.
4873 * toplev.h (aux_base_name): New global.
4874 * doc/invoke.texi: Adjust documentation.
4875
b23c054d
NS
48762002-08-04 Nathan Sidwell <nathan@codesourcery.com>
4877
4878 * config/i386/i386.c (x86_field_alignment): Remove duplicate test
4879 of TARGET_ALIGN_DOUBLE.
4880
04c1334c 48812002-08-04 Gabriel Dos Reis <gdr@nerim.net>
a7701995 4882
04c1334c
GDR
4883 * diagnostic.c (inform): New function.
4884 * diagnostic.h (inform): Declare.
a7701995 4885
e34eaae5
DE
48862002-08-03 David Edelsohn <edelsohn@gnu.org>
4887
4888 * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
4889 (movhi_internal): Same.
4890 (movqi_internal): Same.
4891 (movdi_internal64): Same.
4892
4893 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
4894
4895 * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
4896 (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
4897 (COMMON_ASM_OP): Define.
4898 (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
4899 Use ALIGN parameter.
4900 (LOCAL_COMMON_ASM_OP): Define.
4901 (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
4902
e7b489c8
RS
49032002-08-03 Roger Sayle <roger@eyesopen.com>
4904
4905 * builtins.def: Define new builtin functions exp, expf, expl,
4906 log, logf and logl (and their __builtin_* variants).
4907 * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
4908 Define exp_optab and log_optab.
4909 * optabs.c (init_optans): Initialize exp_optab and log_optab.
4910 * genopinit.c (optabs): Implement exp_optab and log_optab
4911 using exp?f2 and log?f2 patterns.
4912 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
4913 and BUILT_IN_LOG* using exp_optab and log_optab respectively.
4914 (expand_builtin): Ignore the new builtins (and all cos and
4915 sin variants) when not optimizing. Expand new builtins via
4916 expand_builtin_mathfn when flag_unsafe_math_optimizations.
4917
4918 * doc/extend.texi: Document new exp and log builtins.
4919 * doc/md.texi: Document new exp?f2 and log?f2 patterns
4920 (and previously undocumented cos?f2 and sin?f2 patterns).
4921
de8920be
JM
49222002-08-03 Jason Merrill <jason@redhat.com>
4923
4924 * explow.c (int_expr_size): New fn.
4925 * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
4926 * expr.h: Declare it.
4927
ba462c8e
KW
49282002-08-02 Krister Walfridsson <cato@df.lth.se>
4929
4930 * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
4931 gengtype-* dependencies.
4932
2017ed61
EC
49332002-08-02 Eric Christopher <echristo@redhat.com>
4934
4935 * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
4936 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
4937 #ifndef to #undef.
4938 (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
4939
055dd007
DE
49402002-08-02 David Edelsohn <edelsohn@gnu.org>
4941
4942 PR optimize/7067
4943 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
4944 small if optimizing for size.
4945
771a2a66
DJ
49462002-08-02 Daniel Jacobowitz <drow@mvista.com>
4947
4948 * configure.in (FORBUILD): Use $build_alias.
4949 * configure: Regenerated.
4950
ac8ab9fe
RS
49512002-08-02 Richard Sandiford <rsandifo@redhat.com>
4952
4953 * config.gcc: Don't include mips/abi64.h in $tm_file.
4954 * hard-reg-set.h (call_really_used_regs): Declare.
4955 * config/mips/abi64.h: Remove file.
4956 * config/mips/linux.h,
4957 * config/mips/iris6.h: Don't include it.
4958 * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
4959 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
4960 (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
4961 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
4962 FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
4963 Bring across definitions from abi64.h.
4964 (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
4965 (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
4966 (struct mips_args): Use it.
4967 * config/mips/mips.c (mips_conditional_register_usage): Define.
4968
a77a9a18
JM
49692002-08-02 Jason Merrill <jason@redhat.com>
4970
4971 * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
4972 * langhooks.c (lhd_expr_size): Define default.
4973 * langhooks.h (struct lang_hooks): Add expr_size.
4974 * explow.c (expr_size): Call it.
4975 * expr.c (store_expr): Don't copy an expression of size zero.
4976 (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
4977 to store.
4978 * Makefile.in (builtins.o): Depend on langhooks.h.
4979
a6be5aee
KG
49802002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4981
4982 * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
4983 * ra-debug.c: Include "tm_p.h".
4984 * ra-rewrite.c (is_partly_live_1): Change return type to bool.
4985
e3e16ee3
TM
49862002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
4987
4988 * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
4989 when not honoring signalling NaNs.
4990 (simplify_ternary_operation): a == b has a definite value
4991 when not honoring NaNs.
4992
b9d8832d
JM
49932002-08-02 Jason Merrill <jason@redhat.com>
4994
4995 * gdbinit.in (pct): New macro.
4996
825abef4
SS
49972002-08-01 Stan Shebs <shebs@apple.com>
4998 Andreas Tobler <toa@pop.agri.ch>
4999
5000 * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
5001 plays nice with Darwin headers.
bf2e488f 5002 (_BSD_RUNE_T_DEFINED_): Likewise.
825abef4 5003
56da7207
ZW
50042002-08-01 Zack Weinberg <zack@codesourcery.com>
5005
5006 * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
5007 * cppinit.c (cpp_post_options): Likewise.
5008
5009 * cppexp.c (cpp_classify_number): Suppress -Wtraditional
5010 warning about 'LL' suffix (but not 'ULL' etc) when
5011 -Wno-long-long is in effect.
5012
5013 * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
5014 Check for failing time()/localtime(), issue a warning, and
5015 make __TIME__ and __DATE__ expand to fallback strings.
5016
5017 * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
5018 and __TIME__ when the date and time cannot be determined.
5019
f4857b9b
AM
50202002-08-02 Alan Modra <amodra@bigpond.net.au>
5021
5022 * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
5023
77ca7b2e
DJ
50242002-08-01 Daniel Jacobowitz <drow@mvista.com>
5025
5026 * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
5027
5b552f76
CD
50282002-08-01 Chris Demetriou <cgd@broadcom.com>
5029
5030 * config.gcc (mipsisa64sb1-*-elf*): New configuration.
5031 (mipsisa64sb1el-*-elf*): Likewise.
5032 * config/mips/mips.c (mips_cpu_info_table): Add sb1.
5033 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
5034 (TARGET_SB1, TUNE_SB1): New macros.
5035 * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
5036 -mtune flags.
5037
54fbf6a1
DE
50382002-08-01 David Edelsohn <edelsohn@gnu.org>
5039
5040 * varasm.c (asm_emit_uninitialized): Return false if global BSS
5041 and ASM_EMIT_BSS not supported by target.
5042 (assemble_variable): Do not duplicate uninitialized logic.
5043 Fall through if asm_emit_uninitialized failed.
5044
3d16b407
CD
50452002-08-01 Chris Demetriou <cgd@broadcom.com>
5046
5047 * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
5048
fb52d8de
AM
50492002-08-02 Alan Modra <amodra@bigpond.net.au>
5050
80926cc1
AM
5051 * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
5052 (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
5053
fb52d8de
AM
5054 * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
5055 HOST_BITS_PER_WIDE_INT == 64.
5056
a4b5414c
KG
50572002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5058
5059 * df.c (df_insn_table_realloc): Change parameter to unsigned.
5060 * optabs.c (expand_binop): Make variable unsigned.
5061 * simplify-rtx.c (simplify_subreg): Likewise.
5062 * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
5063
a03e67c3
FS
50642002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5065
5066 * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
5067
de273d3f
RH
50682002-08-01 Richard Henderson <rth@redhat.com>
5069
56da7207 5070 * toplev.c (parse_options_and_default_flags): Don't set
de273d3f
RH
5071 flag_reorder_blocks for -Os.
5072
5073 * config/avr/avr.c (avr_optimization_options): Remove.
5074 * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
5075 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
5076 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
5077
4e4d733e
L
50782002-08-01 H.J. Lu <hjl@gnu.org>
5079 Richard Henderson <rth@redhat.com>
5080
5081 * output.h (DECL_READONLY_SECTION): Remove.
5082 (decl_readonly_section): Declare.
5083 * varasm.c (decl_readonly_section): New.
5084 (default_section_type_flags, default_select_section): Use it.
5085 * config/arm/pe.c (arm_pe_unique_section): Likewise.
5086 * config/i386/interix.c (i386_pe_unique_section): Likewise.
5087 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
5088 * config/mcore/mcore.c (mcore_unique_section): Likewise.
5089 * config/mips/mips.c (mips_unique_section): Likewise.
5090
32e9b960
RH
50912002-08-01 Richard Henderson <rth@redhat.com>
5092
5093 * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
5094 refers to a subroutine parameter.
5095
81e602b5
JJ
50962002-08-01 Jakub Jelinek <jakub@redhat.com>
5097
5098 * varasm.c (assemble_visibility): Strip name encoding.
5099
ac14c725
ID
51002002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
5101
5102 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
5103 (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
5104 when there is no frame pointer.
5105 (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
5106 registers properly.
5107 * config/ns32k/__unorddf2.c: New file.
5108 * config/ns32k/__unordsf2.c: New file.
5109 * config/ns32k/t-ns32k: New file.
5110 * config.gcc (ns32k-*-netbsd*): Use it.
5111
17072732
AH
51122002-08-01 Aldy Hernandez <aldyh@redhat.com>
5113
5114 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
5115
c288218a
NB
51162002-08-01 Neil Booth <neil@daikokuya.co.uk>
5117
5118 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
5119
43bfc248
BK
51202002-08-01 Benjamin Kosnik <bkoz@redhat.com>
5121
5122 * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
5123
479f2cea
RS
51242002-08-01 Richard Sandiford <rsandifo@redhat.com>
5125
5126 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
5127
02280659
ZD
51282002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5129
5130 * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
5131 n_sets): Removed.
5132 (expr_hash_table, set_hash_table): Type changed to ...
5133 (struct hash_table): New type.
5134 (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
5135 insert_expr_in_table, insert_set_in_table, compute_hash_table,
5136 dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
5137 compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
5138 (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
5139 (alloc_hash_table): New.
5140 (free_set_hash_table, free_expr_hash_table): Merged to ...
5141 (free_hash_table): New.
5142 (compute_set_hash_table, compute_expr_hash_table): Merged to ...
5143 (compute_hash_table_work): New.
5144 (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
5145 find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
5146 pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
5147 one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
5148 hoist_code, one_code_hoisting_pass,
5149 trim_ld_motion_mems): Altered due to changed type of hash tables.
5150
905173eb
ZW
51512002-08-01 Zack Weinberg <zack@codesourcery.com>
5152
5153 * final.c (output_alternate_entry_point):
5154 If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
5155
83321d36
KG
51562002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5157
ad0f1765
KG
5158 * objc/objc-act.c (encode_complete_bitfield): Add prototype and
5159 avoid ISO C style function definition.
5160
83321d36
KG
5161 * expr.c (expand_assignment): Delete unused variable.
5162
73e42cf3
TM
51632002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
5164
5165 * c-common.c (cb_register_builtins): Set
5166 __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
5167 is given, and to 0 otherwise.
5168 * combine.c (simplify_if_then_else): HONOR_NANS
5169 implies FLOAT_MODE_P.
5170
78df51fe
NB
51712002-08-01 Neil Booth <neil@daikokuya.co.uk>
5172
5173 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
5174 (cpp_handle_option): Don't handle it.
5175 (print_help): Update.
5176 * doc/cppopts.texi: Update.
5177
abecfc8f
NB
51782002-08-01 Neil Booth <neil@daikokuya.co.uk>
5179
5180 * c-common.c (cb_register_builtins): If C++, define
5181 __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
5182 * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
5183cp:
5184 * lang-specs.h: Simplify in accordance with new code in
5185 c-common.c.
5186
4078b403
NB
51872002-08-01 Neil Booth <neil@daikokuya.co.uk>
5188
5189 * c-common.c: Define all C/ObjC/C++ warning and flag variables.
5190 * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
5191 * c-decl.c: Move all warning and flag variables to c-common.c.
5192 * c-format.c: Move all warning variables to c-common.c.
5193 * c-tree.h: Move all warning and flag declarations to c-common.h.
5194 * objc/objc-act.c: Move all warning variables to c-common.c.
5195 (flag_warn_protocol): Rename warn_protocol.
5196
692f5611
JDA
51972002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
5198
5199 * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
5200
c7a009a2 52012002-07-31 Graham Stott <graham.stott@btinternet.com>
480e7ded 5202
905173eb 5203 * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
480e7ded
GS
5204 .section prefix.
5205
b069de3b
SS
52062002-07-31 Stan Shebs <shebs@apple.com>
5207
5208 * config.gcc (i[34567]86-*-darwin*): New configuration.
5209 * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
5210 defining.
5211 (TARGET_ENCODE_SECTION_INFO): Ditto.
5212 (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
5213 * config/darwin.c (machopic_indirect_data_reference): Remove
5214 setting of RTX_UNCHANGING_P.
5215 (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
5216 not to be applied to sums.
5217 * config/i386/t-darwin: New file.
5218 * config/i386/darwin.h: New file.
5219 * config/i386/i386.h (TARGET_MACHO): Add default definition.
5220 * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
5221 * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
5222 label and not the GOT add.
5223 (constant_address_p): For Mach-O, seeing a CONST is enough.
5224 (legitimate_pic_address_disp_p): Add a Mach-O case.
5225 (legitimate_address_p): Also test machopic_operand_p if Mach-O.
5226 (legitimize_pic_address): Use generic Mach-O code to legitimize.
5227 (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
5228 if outputting a difference.
5229 (ix86_output_addr_diff_elt): Add Mach-O case.
5230 (ix86_expand_move): Similarly.
5231 (ix86_expand_call): Similarly.
5232 (current_machopic_label_num): New global.
5233 (machopic_output_stub): New function.
5234 (ix86_value_regno): New function.
5235 (ix86_function_value): Use it instead of VALUE_REGNO.
5236 (ix86_libcall_value): Ditto.
5237 * config/i386/unix.h (VALUE_REGNO): Remove.
5238
1de4ecb6
GS
52392002-07-31 Graham Stott <grahas@btinternet.com>
5240
5241 * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
905173eb 5242 hash for LABEL_REF's.
1de4ecb6 5243
23368455
GS
52442002-07-31 Graham Stott <grahams@btinternet.com>
5245
5246 * config/rs6000/rs6000.c (spe_init_builtins,
5247 altivec_init_builtins, rs6000_common_init_builtins):
905173eb 5248 Replace ANSI with K&R function def.
23368455 5249
ad72b533
DE
52502002-07-31 David Edelsohn <edelsohn@gnu.org>
5251
5252 * rs6000.c (validate_condition_mode): Test flag_finite_math_only
5253 for CCFPmode.
5254
302359da
RS
52552002-07-31 Richard Sandiford <rsandifo@redhat.com>
5256
5257 * config/mips/crtn.asm: Don't use __mips16 to determine the
5258 return-address offset. Define RA to a suitable temporary
5259 register for the return address.
5260
ead0c1d5
RS
52612002-07-31 Richard Sandiford <rsandifo@redhat.com>
5262
5263 * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
5264 constraints to 'd'.
5265
3fb9d48a
CD
52662002-07-30 Chris Demetriou <cgd@broadcom.com>
5267
5268 * config/mips/elf.h (STARTFILE_SPEC): Define differently if
5269 default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
5270 patch on 2002-07-29.)
5271 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5272
072cdaed
KG
52732002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5274
506a61b1
KG
5275 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
5276 fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
5277 ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
5278 openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
5279 s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
5280 (ASM_GLOBALIZE_LABEL): Delete.
5281 (GLOBAL_ASM_OP): Define.
5282
072cdaed 5283 * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
905173eb 5284
072cdaed
KG
5285 * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
5286 * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
5287
6fd14075
GK
52882002-07-30 Geoffrey Keating <geoffk@redhat.com>
5289
5290 * doc/extend.texi (Hints implementation): Document that GCC
5291 mostly ignores `register'.
5292
2e8f2e8f
TM
52932002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
5294
5295 * flags.h: Declare flag_finite_math_only.
5296 Use it in definition of HONOR_NANS and
5297 HONOR_INFINITIES.
5298 * c-common.c (cb_register_builtins): Emit
5299 __FINITE_MATH_ONLY__ when flag_finite_math_only
5300 is set.
5301 * combine.c (simplify_if_then_else): If
5302 flag_finite_math_only is set, a == b has a
5303 definite value.
5304 * toplev.c: Initialize flag_finite_math_only.
5305 (set_flags_fast_math): Set it on -ffast-math.
5306 (flag_fast_math_set_p): Test it.
5307 * doc/invoke.texi: Document -ffinite-math-only.
5308
a538e580
RH
53092002-07-30 Richard Henderson <rth@redhat.com>
5310
5311 * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
5312 (noce_process_if_block): Likewise.
5313
26e20555
BS
53142002-07-30 Bernd Schmidt <bernds@redhat.com>
5315
5316 * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
5317 Bail out early if false_expr is NULL and we'd crash due to this.
79cbc1f7
BS
5318 * genemit.c (gen_expand): Recognize return insns even if the return
5319 appears in a parallel.
d8088c6f
BS
5320 * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
5321 * config/fp-bit.c: Likewise.
5322 * doc/tm.texi: Document it.
905173eb 5323
0559cc77
DE
53242002-07-30 David Edelsohn <edelsohn@gnu.org>
5325 Zack Weinberg <zack@codesourcery.com>
5326
5327 * rs6000.c (rs6000_expand_unop_builtin): Check icode not
5328 CODE_FOR_nothing. Change switch to if.
5329 (rs6000_expand_binop_builtin): Same.
5330 (rs6000_expand_builtin): Expand builtin if target support enabled.
5331 (rs6000_init_builtins): Init builtin if target support enabled.
5332 (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
5333
60b8aa94
FS
53342002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5335
5336 * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
5337
714fb710
RS
53382002-07-30 Richard Sandiford <rsandifo@redhat.com>
5339
5340 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
5341
c608a684
R
5342Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
5343
5344 * sh.md (cond_delay_slot): New attribute.
5345 (cbranch delay): Use it for anulled-true case.
5346 (stuff_delay_slot): New pattern.
5347 * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
5348 delay slot insn.
5349 (gen_far_branch): Emit stuff_delay_slot pattern.
5350
0a756401
R
5351Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
5352
5353 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
5354
68e82b83
KH
53552002-07-30 Kazu Hirata <kazu@cs.umass.edu>
5356
5357 * fold-const.c: Fix comment typos.
5358 * gcse.c: Likewise.
5359 * reload1.c: Likewise.
5360
fe6b547a
AH
53612002-07-29 Aldy Hernandez <aldyh@redhat.com>
5362
5363 * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
5364 for TARGET_SPE.
5365
7ff4a7ef
GDR
53662002-07-30 Gabriel Dos Reis <gdr@nerim.net>
5367
5368 * c-pretty-print.h (pp_c_statement): Declare.
5369 * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
5370 (pp_c_statement): Define.
5371
4ad5e05d
KG
53722002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5373
5374 * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
5375 darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
5376 ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
5377 mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
5378 rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
5379 v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
5380
5381 * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
5382 * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
5383
1e6a3e1e
GDR
53842002-07-30 Gabriel Dos Reis <gdr@nerim.net>
5385
5386 * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
5387 (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
5388 COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
5389 (pp_c_expression): Update.
5390
1dcd444b
KG
53912002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5392
5393 * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
5394 concat in lieu of xmalloc/strcpy/memcpy/sprintf.
5395 * alpha/vms-ld.c (main): Likewise.
5396 * dsp16xx.c (double_reg_to_memory): Likewise.
5397 * mcore.c (mcore_expand_prolog): Likewise.
5398 * cppfiles.c (read_name_map): Likewise.
5399 * gensupport.c (process_rtx, identify_predicable_attribute,
5400 alter_test_for_insn): Likewise.
5401 * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
5402
e62f4abc
RS
54032002-07-29 Roger Sayle <roger@eyesopen.com>
5404
5405 * builtins.c (expand_builtin): Change the default behavior to
905173eb 5406 only issue an error if the builtin function doesn't have a
e62f4abc
RS
5407 fallback library call. Remove several cases handled by the
5408 new default.
5409
0cd2fb44
JDA
54102002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
5411
5412 * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
5413 floating point format of the target is IEEE.
5414 * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
5415 format of the target is DEC.
5416
b642261e
RH
54172002-07-29 Richard Henderson <rth@redhat.com>
5418
5419 * unroll.c (verify_addresses): Remove.
5420 (find_splittable_givs): Never split DEST_ADDR givs.
5421
cba57c9d
GK
54222002-07-29 Geoffrey Keating <geoffk@redhat.com>
5423
5424 * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
5425 is exhaustive.
5426 (Files): Improve documentation on generated source files.
5427
5428 * doc/extend.texi (Translation implementation): Document what
5429 diagnostics look like.
5430 (Identifiers implementation): Document that there's normally no
5431 limit on identifier names.
5432 (Integers implementation): Document two's complement.
8d9afc4e 5433 (Hints implementation): Document that GCC honors 'inline', mostly.
cba57c9d
GK
5434 (Preprocessing directives implementation): Document that GCC
5435 requires the current time.
5436
76a8ecba
GDR
54372002-07-30 Gabriel Dos Reis <gdr@nerim.net>
5438
5439 * c-pretty-print.h (struct c_pretty_print_info): Add new member.
5440 (pp_initializer): New macro.
5441 (pp_c_initializer): Declare.
5442 * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
5443 (pp_c_initializer): Define.
5444 (pp_c_initializer_list): New function.
5445 (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
5446 VECTOR_CST, CONSTRUCTOR.
5447 (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
905173eb 5448 IMAGPART_EXPR.
76a8ecba
GDR
5449 (pp_c_cast_expression): Handle FLOAT_EXPR.
5450 (pp_c_assignment_expression): Handle INIT_EXPR.
5451 (pp_c_expression): Update.
5452
4307be72
NB
54532002-07-30 Neil Booth <neil@daikokuya.co.uk>
5454
5455 * objc/objc-act.c (objc_init): Return immediately if filename
5456 is NULL.
5457
6d439235
EC
54582002-07-29 Eric Christopher <echristo@redhat.com>
5459
905173eb
ZW
5460 * config/mips/elf.h: Remove ecoff.h and gofast includes.
5461 (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
5462 (SDB_DEBUGGING_INFO): Undefine.
5463 (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
6d439235
EC
5464 (PUT_SDB_SIZE): Remove.
5465 (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
905173eb
ZW
5466 (STARTFILE_SPEC): Add isa3264 define.
5467 * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
5468 * config/mips/ecoff.h: Remove. and here...
5469 * config/mips/iris3.h: and here...
5470 * config/mips/sni-svr4.h: and here...
5471 * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
6d439235
EC
5472 Add assembler -mmdebug options for non-dwarf debugging.
5473 * config/mips/r3900.h: Remove debug info defines.
905173eb
ZW
5474 * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
5475 * config/mips/isa3264.h: Ditto.
5476 * config/mips/t-isa3264: Fix up for file removal and gofast configure
5477 change.
5478 * config/mips/t-elf: Ditto.
5479 * config/mips/t-ecoff: Ditto.
5480 * config/mips/t-r3900: Ditto.
5481 * config/mips/t-iris5-6: Ditto.
5482 * config/mips/t-isa3264: Ditto.
5483 * config/mips/t-linux: Remove.
5484 * config/mips/t-netbsd: Remove.
5485 * config/mips/t-mips: New file.
5486 * config/mips/t-gofast: Ditto.
5487 * config/mips/netbsd.h: Remove unnecessary undefines.
5488 * config/mips/linux.h: Remove #include of mips.h.
5489 * config.gcc: Add mips.h include for elf targets. Remove tm_file
5490 for ecoff. Add gofast configure option for mips.
6d439235 5491
4357a6c3
CD
54922002-07-29 Chris Demetriou <cgd@broadcom.com>
5493
5494 * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
5495 linker scripts use STARTUP directives consistently.
5496 * configure: Regenerate.
5497 * config.in: Regenerate.
5498 * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
5499 on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
5500 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5501 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
5502 HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
5503 will be the same.
5504
9a5cd606
AH
55052002-07-29 Aldy Hernandez <aldyh@redhat.com>
5506
5507 * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
5508
a23acaa6
AH
55092002-07-29 Aldy Hernandez <aldyh@redhat.com>
5510
5511 * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
5512
10ed84db
AH
55132002-07-29 Aldy Hernandez <aldy@quesejoda.com>
5514
5515 * config/rs6000/rs6000.md: Move altivec patterns from here...
5516
5517 * config/rs6000/altivec.md: ...to here.
5518
c3021e5d
AH
55192002-07-29 Aldy Hernandez <aldyh@redhat.com>
5520
5521 * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
5522
6f1087be
RH
55232002-07-29 Richard Henderson <rth@redhat.com>
5524
5525 * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
5526 set_mem_attributes and add BITPOS argument. Subtract it from
5527 OFFSET when same is adjusted.
5528 (set_mem_attributes): New wrapper function.
5529 * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
5530 remove offset adjustment hack.
5531 * expr.h (set_mem_attributes_minus_bitpos): Declare.
5532
61ccbcfd
GDR
55332002-07-29 Gabriel Dos Reis <gdr@nerim.net>
5534
5535 * Makefile.in (C_OBJS): Include c-pretty-print.o
5536 (c-pretty-print.o): Add depency rule.
5537 * pretty-print.h: Add more macros.
5538 * c-pretty-print.c: New file.
5539 * c-pretty-print.h: Likewise.
5540
09101f56
AH
55412002-07-29 Aldy Hernandez <aldyh@redhat.com>
5542
5543 * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
5544 constants to __ev64_s32__.
5545 (__internal_ev_mwhgsmian): Same.
5546 (__internal_ev_mwhgsmfan): Same.
5547 (__internal_ev_mwhgssfan): Same.
5548 (__internal_ev_mwhgumiaa): Same.
5549 (__internal_ev_mwhgsmiaa): Same.
5550 (__internal_ev_mwhgsmfaa): Same.
5551 (__internal_ev_mwhgssfaa): Same.
5552
af673a52
DE
55532002-07-29 David Edelsohn <edelsohn@gnu.org>
5554
5555 * varasm.c (assemble_variable): Narrow test for uninitialized
5556 without BSS target support.
5557
6c208acd
NS
55582002-07-29 Nathan Sidwell <nathan@codesourcery.com>
5559
5560 * profile.c: Add file comment describing the overall algorithm and
5561 structures.
5562 (struct edge_info): Add comments.
5563 (struct bb_info): Add comments.
5564 * basic-block.h (EDGE_*): Add comments.
5565 * doc/gcov.texi (Gcov Data Files): Document bit flags.
5566
624f0d60
BW
55672002-07-29 Bob Wilson <bob.wilson@acm.org>
5568
5569 * config/xtensa/elf.h, config/xtensa/linux.h
5570 (TARGET_OS_CPP_BUILTINS): Define.
5571 (CPP_PREDEFINES): Remove.
5572 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
5573 (CPP_SPEC): Remove.
5574
2199e5fa
ZW
55752002-07-29 Zack Weinberg <zack@codesourcery.com>
5576
5577 * gensupport.c: Include hashtab.h.
5578 (insn_elision, condition_table, hash_c_test, cmp_c_test,
5579 maybe_eval_c_test): New routines and data structures to
5580 support insn elision.
5581 (init_md_reader): Read and initialize the condition_table.
5582 (read_md_rtx): Discard insn patterns whose C test is provably
5583 always false.
5584 * gensupport.h: Declare new functions and data structures.
5585
5586 * genconditions.c, dummy-conditions.c: New files.
5587 * Makefile.in: Build genconditions; run it to construct
5588 insn-conditions.c; build that and link it into most gen*
5589 programs.
5590 (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
5591 (GEN): Delete, unused.
5592 (STAGESTUFF): Update.
5593
5594 * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
5595 CODE_FOR_nothing for all elided patterns.
5596 (main): Tweaked to support this.
5597 * genflags.c (gen_proto): Emit a static inline generator
5598 function here for all elided patterns, which simply returns
5599 NULL_RTX.
5600 (gen_insn): Do not define HAVE_xxx for elided patterns.
5601 (main): Tweaked to support this. No need to forward-declare
5602 struct rtx_def.
5603 * genrecog.c: Do not bother emitting the C test if it's known
5604 to be true at compile time.
5605
6ab185d6
MS
56062002-07-29 Mike Stump <mrs@apple.com>
5607
6d439235 5608 * config.gcc (target_gtfiles): Initialize, as otherwise cross
2199e5fa 5609 compilers hosted on powerpc-apple-darwin6.0 won't even build.
6ab185d6 5610
72b075d1
RE
56112002-07-29 Richard Earnshaw <rearnsha@arm.com>
5612
5613 * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
5614 remove clobber of LR.
5615 (sibcall_insn, sibcall_value_insn): Update accordingly.
5616 (sibcall_epilogue): Remove debugging comment from assembler stream.
5617
f63c45ec
GDR
56182002-07-29 Gabriel Dos Reis <gdr@nerim.net>
5619
5620 * pretty-print.h: Define more macros.
5621 * diagnostic.h (output_formatted_integer): Moved from...
5622 * diagnostic.c: ... here.
5623
c27c15db
KG
56242002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5625
5626 * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
5627
99086d59
ZW
56282002-07-28 Zack Weinberg <zack@codesourcery.com>
5629
5630 * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
5631 arguments. Always use ".-symbol" as expression argument.
5632 * doc/tm.texi: Update to match. Document requirement for
5633 ".size symbol, .-symbol" to be acceptable to assembler.
5634
5635 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
5636 config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
5637 config/i386/freebsd-aout.h, config/i386/sco5.h,
5638 config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
5639 config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
5640
dd86aabf
KG
56412002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5642
6fd327e9
KG
5643 * Makefile.in (gengtype-lex.c): Fix error in last change.
5644
8155cedd
KG
5645 * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
5646 backslash.
5647
dd86aabf
KG
5648 * Makefile.in (vmsdbgout.o): Depend on function.h.
5649
5650 * vmsdbgout.c: Include function.h.
5651
d4348177
AM
56522002-07-28 Alan Modra <amodra@bigpond.net.au>
5653
5654 * prefix.c (update_path): Don't strip single `.' path components
5655 unless stripping a later `..' component. Exit loop as soon as
5656 a valid path is found.
5657
c2ef6d34
RS
56582002-07-27 Roger Sayle <roger@eyesopen.com>
5659
5660 * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
5661 argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
5662 BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
5663 floating point unordered comparisons (e.g. __builtin_isgreater)
5664 as const, and leave the remaining GCC_BUILTINs unchanged.
5665
5666 * c-decl.c (builtin_function): No need to explicitly mark
5667 BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
5668
52bfebf0
RS
56692002-07-27 Roger Sayle <roger@eyesopen.com>
5670
5671 * Makefile.in: rtlanal.o now depends upon real.h.
5672
5673 * flags.h [flag_signaling_nans]: New flag.
5674 [HONOR_SNANS]: New macro.
5675
5676 * toplev.c [flag_signaling_nans]: Initialize to false.
99086d59 5677 (f_options): Add processing for "-fsignaling-nans".
52bfebf0
RS
5678 (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
5679 (process_options): flag_signaling_nans implies flag_trapping_math.
5680
5681 * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
5682 when -fsignaling-nans. First step to implementing WG14's N965.
5683
5684 * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
5685 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
5686 [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
5687
5688 * simplify-rtx.c (simplify_relational_operation): Conditionalize
5689 transforming abs(x) < 0.0 into false on !HONOR_SNANS.
5690
5691 * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
5692 required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
99086d59
ZW
5693 UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
5694 -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
52bfebf0
RS
5695 not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
5696
5697 * doc/invoke.texi: Document new -fsignaling-nans compiler option.
5698
e66f55b8
KG
56992002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5700
5701 * Makefile.in (gengtype-lex.c): Work around a bug in flex.
5702 * gengtype-lex.l (YY_USE_PROTOS): Undef.
5703 (YY_DECL): Define.
5704
a3926fe1
RS
57052002-07-27 Roger Sayle <roger@eyesopen.com>
5706
5707 * doc/invoke.texi: Document that both -fno-builtin-foo and
5708 -fno-builtin are supported by the g++ front-end.
5709
ef69da62
SS
57102002-07-27 Stan Shebs <shebs@apple.com>
5711
5712 * configure.in: Rename config_gtfiles to target_gtfiles.
5713 * configure: Regenerate.
5714 * doc/gty.texi: Update reference.
5715 * config.gcc (powerpc-*-darwin*): Set target_gtfiles
5716 instead of appending to it.
5717
a4b0320c
AH
57182002-07-25 Aldy Hernandez <aldyh@redhat.com>
5719
5720 * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
5721 vectors are split into two registers.
5722 (function_arg): Same.
5723
c427db5d
R
5724Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
5725
5726 * pa.md (extv): Check predicates before emitting extv_32.
5727
57ac7be9
AM
57282002-07-27 Alan Modra <amodra@bigpond.net.au>
5729
5730 * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
5731 (rs6000_traceback): New var.
5732 (rs6000_override_options): Set rs6000_traceback.
5733 (rs6000_output_function_epilogue): Implement traceback options.
5734 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
5735 (rs6000_traceback_name): Declare.
5736
5737 * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
5738 label reference when NO_PROFILE_COUNTERS.
5739
8e51619a
JM
57402002-07-26 Jason Merrill <jason@redhat.com>
5741
5742 * function.c (assign_parms): Handle frontend-directed pass by
5743 invisible reference.
5744
b41f25cf
NB
57452002-07-26 Neil Booth <neil@daikokuya.co.uk>
5746
5747 * doc/cppopts.texi: Update.
5748
c2734e05
NB
57492002-07-26 Neil Booth <neil@daikokuya.co.uk>
5750
5751 * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
5752 warnings on assertions.
5753
c372b0fa
NB
57542002-07-26 Neil Booth <neil@daikokuya.co.uk>
5755
5756 * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
5757 RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
5758 RID_COMPL): Remove.
5759 * c-parse.in (rid_to_yy): Similarly.
5760
558ee214
JM
57612002-07-26 Jason Merrill <jason@redhat.com>
5762
5763 * c-dump.c: Resurrect.
5764 * tree-dump.c: Move C-specific stuff to c-dump.c.
5765 * c-common.h: Declare c_dump_tree.
5766 * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
5767 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
5768 (c-dump.o): New rule.
5769
ce71f754
AM
57702002-07-26 Alan Modra <amodra@bigpond.net.au>
5771
5772 * config/rs6000/rs6000.md: Enable patterns using rlwinm for
5773 PowerPC64. Replace "T" and "S" constraints with "n" when the
5774 predicate will do. Formatting fixes.
5775 (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
5776 as for extzvsi_internal1.
5777
e179e7d7
NB
57782002-07-25 Neil Booth <neil@daikokuya.co.uk>
5779
5780 * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
5781 DERIV_END_LABEL_FMT): Remove.
5782 (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
5783
a2056183
NB
57842002-07-25 Neil Booth <neil@daikokuya.co.uk>
5785
5786 * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
5787 Remove.
5788
308c142a
SS
57892002-07-25 Stan Shebs <shebs@apple.com>
5790
5791 * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
5792 local var dwarfp.
5793 (output_compiler_stub): Remove unused locals.
5794 (output_call): Always initialize line number.
5795
59324685
R
5796Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
5797
5798 * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
5799 * sh.md (truncdiqi2, movqi_media): Likewise.
5800
77bbd421
NB
58012002-07-25 Neil Booth <neil@daikokuya.co.uk>
5802
5803 * gcse.c (obstack_chunk_alloc): Remove.
5804 (gcse_alloc): Fix to count allocated bytes.
5805 * collect2.c (SYMBOL__MAIN): Remove.
5806
7bad45b0
NB
58072002-07-25 Neil Booth <neil@daikokuya.co.uk>
5808
5809 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
5810 HAVE_TARGET_EXECUTABLE_SUFFIX.
5811
184166b5
R
5812Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
5813
5814 * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
5815 SIZE, EXPR and OFFSET.
5816
40cb04f1
RH
58172002-07-25 Richard Henderson <rth@redhat.com>
5818
5819 * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
5820 in ARRAY_REF of DECL_P case.
5821
a27fb29b
RS
58222002-07-25 Richard Sandiford <rsandifo@redhat.com>
5823
5824 * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
5825 description. Document -mips32, -mips64, and the associated -march
5826 values. Describe the "mipsN" arguments to -march. Say that the
5827 -mipsN options are equivalent to -march. Reword the description
5828 of default type sizes.
5829 * toplev.h (target_flags_explicit): Declare.
5830 * toplev.c (target_flags_explicit): New var.
5831 (set_target_switch): Update target_flags_explicit.
5832 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
5833 * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
5834 * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
5835 * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
5836 * config/mips/mips.h (mips_cpu_info): New struct.
5837 (mips_cpu_string, mips_explicit_type_size_string): Remove.
5838 (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
5839 (MIPS_CPP_SET_PROCESSOR): New macro.
5840 (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
5841 Define _MIPS_ARCH and _MIPS_TUNE.
5842 (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
5843 (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
5844 MIPS_ISA_DEFAULT were already defined.
5845 (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
5846 (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
5847 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
5848 (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
5849 (ABI_GAS_ASM_SPEC): Remove.
5850 (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
5851 (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
5852 Invoke %(asm_abi_default_spec) if no ABI was specified.
5853 (CC1_SPEC): Remove ISA -> register-size rules.
5854 (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
5855 * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
5856 (mips_cpu_string, mips_explicit_type_size_string): Remove.
5857 (mips_cpu_info_table): New array.
5858 (mips_set_architecture, mips_set_tune): New fns.
5859 (override_options): Rework to make -mipsN equivalent to -march.
5860 Detect more erroneous cases, including those removed from CC1_SPEC.
5861 Don't change the ABI based on architecture, or vice versa.
5862 Unify logic with GAS.
5863 (mips_asm_file_start): Get architecture name from mips_arch_info.
5864 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
5865 (mips_parse_cpu): Take the name of the option as argument. Handle
5866 'from-abi'. Raise an error if the option is wrong.
5867 (mips_cpu_info_from_isa): New fn.
5868
6bbdc759
RS
58692002-07-25 Richard Sandiford <rsandifo@redhat.com>
5870
5871 * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
5872 (tablejump_mips162): Likewise.
5873
80a62484
R
5874Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
5875
5876 * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
5877 int_mode_for_mode.
5878
ea793912
GDR
58792002-07-25 Gabriel Dos Reis <gdr@nerim.net>
5880
5881 * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
99086d59 5882 complaining.
ea793912
GDR
5883 * c-common.h (c_sizeof): Adjust definition.
5884 (c_alignof): Likewise.
5885 * c-tree.h (c_sizeof_nowarn): Now macro.
5886 * c-typeck.c (c_sizeof_nowarn): Remove definition.
5887
2d615444
NB
58882002-07-25 Neil Booth <neil@daikokuya.co.uk>
5889
5890 * c-decl.c (c_decode_option): No need to handle switches
5891 cpplib handles.
5892
2be2ac70
ZW
58932002-07-24 Zack Weinberg <zack@codesourcery.com>
5894
5895 * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
5896 ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
5897 * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
5898 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
5899
5900 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
5901 config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
5902 config/cris/aout.h, config/i386/freebsd-aout.h,
5903 config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
5904 config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
5905 config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
5906 config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
5907 config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
5908 config/xtensa/elf.h, config/xtensa/linux.h:
5909 Use the new macros.
5910 Where possible, remove redundant definitions of SIZE_ASM_OP,
5911 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
5912
518878e1
AH
59132002-07-24 Aldy Hernandez <aldyh@redhat.com>
5914
5915 * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
5916 TARGET_ISEL, and TARGET_FPRS.
99086d59 5917
518878e1
AH
5918 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
5919 -mabi=spe, -mabi=no-spe, and -misel=.
5920
5921 * config/rs6000/rs6000-protos.h: Add output_isel.
5922 Move vrsave_operation prototype here.
5923
5924 * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
5925 (smaxsi3): Same.
5926 (uminsi3): Same.
5927 (umaxsi3): Same.
5928 (abssi2_nopower): Disallow when TARGET_ISEL.
5929 (*ne0): Same.
5930 (negsf2): Change to expand and rename old pattern to *negsf2.
5931 (abssf2): Change to expand and rename old pattern to *abssf2.
99086d59 5932
518878e1
AH
5933 New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
5934 fixunssfsi2.
5935
5936 Change patterns that check for TARGET_HARD_FLOAT or
5937 TARGET_SOFT_FLOAT to also check TARGET_FPRS.
5938
5939 * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
5940 rs6000_isel, rs6000_fprs, rs6000_isel_string.
5941 (rs6000_override_options): Add 8540 case to
5942 processor_target_table.
5943 Set rs6000_isel for the 8540.
5944 Call rs6000_parse_isel_option.
5945 (enable_mask_for_builtins): New.
5946 (rs6000_parse_isel_option): New.
5947 (rs6000_parse_abi_options): Add spe and no-spe.
5948 (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
5949 (rs6000_legitimize_address): Check for TARGET_FPRS when checking
5950 for TARGET_HARD_FLOAT.
5951 Add case for SPE_VECTOR_MODE.
5952 (rs6000_legitimize_reload_address): Handle SPE vector modes.
5953 (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
5954 vector modes.
5955 Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
5956 (rs6000_emit_move): Check for TARGET_FPRS.
5957 Add cases for SPE vector modes.
5958 (function_arg_boundary): Return 64 for SPE vector modes.
5959 (function_arg_advance): Check for TARGET_FPRS and
5960 Handle SPE vectors.
5961 (function_arg): Same.
5962 (setup_incoming_varargs): Check for TARGET_FPRS.
5963 (rs6000_va_arg): Same.
5964 (struct builtin_description): Un-constify mask field. Move up in
5965 file.
5966 (bdesc_2arg): Un-constify and add SPE builtins.
5967 (bdesc_1arg): Same.
5968 (bdesc_spe_predicates): New.
5969 (bdesc_spe_evsel): New.
5970 (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
5971 (rs6000_expand_binop_builtin): Same.
5972 (bdesc_2arg_spe): New.
5973 (spe_expand_builtin): New.
5974 (spe_expand_predicate_builtin): New.
5975 (spe_expand_evsel_builtin): New.
5976 (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
5977 (rs6000_init_builtins): Initialize SPE builtins. Call
5978 rs6000_common_init_builtins.
5979 (altivec_init_builtins): Move all non-altivec builtin code to...
5980 (rs6000_common_init_builtins): ...here. New function.
5981 (branch_positive_comparison_operator): Allow NE code for SPE.
5982 (ccr_bit): Return correct ccr bit for SPE fp.
5983 (print_operand): Emit crnor in 'D' case for SPE.
5984 New case 't'.
5985 Add SPE code for 'y' case.
5986 (rs6000_generate_compare): Generate rtl for SPE fp.
5987 (output_cbranch): Handle SPE hard floats.
5988 (rs6000_emit_cmove): Handle isel.
5989 (rs6000_emit_int_cmove): New.
5990 (output_isel): New.
5991 (rs6000_stack_info): Adjust stack frame so GPRs are saved in
5992 64-bits for SPE.
5993 (debug_stack_info): Add SPE info.
5994 (gen_frame_mem_offset): New.
5995 (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
5996 Change mode of frame pointer, when saving it, to Pmode.
5997 (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
5998 Misc cleanups and use gen_frame_mem_offset when appropriate.
5999
6000 * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
6001 (TARGET_SPE_ABI): New.
6002 (TARGET_SPE): New.
6003 (TARGET_ISEL): New.
6004 (TARGET_FPRS): New.
6005 (FIXED_SCRATCH): New.
6006 (RTX_COSTS): Add PROCESSOR_PPC8540.
6007 (ASM_CPU_SPEC): Add case for 8540.
6008 (TARGET_OPTIONS): Add isel= case.
6009 (rs6000_spe_abi): New.
6010 (rs6000_isel): New.
6011 (rs6000_fprs): New.
6012 (rs6000_isel_string): New.
6013 (UNITS_PER_SPE_WORD): New.
6014 (LOCAL_ALIGNMENT): Adjust for SPE.
6015 (HARD_REGNO_MODE_OK): Same.
6016 (DATA_ALIGNMENT): Same.
6017 (MEMBER_TYPE_FORCES_BLK): New.
6018 (FIRST_PSEUDO_REGISTER): Set to 113.
6019 (FIXED_REGISTERS): Add SPE registers.
6020 (reg_class): Same.
6021 (REG_CLASS_NAMES): Same.
6022 (REG_CLASS_CONTENTS): Same.
6023 (REGNO_REG_CLASS): Same.
6024 (REGISTER_NAMES): Same.
6025 (DEBUG_REGISTER_NAMES): Same.
6026 (ADDITIONAL_REGISTER_NAMES): Same.
6027 (CALL_USED_REGISTERS): Same.
6028 (CALL_REALLY_USED_REGISTERS): Same.
6029 (SPE_ACC_REGNO): New.
6030 (SPEFSCR_REGNO): New.
6031 (SPE_SIMD_REGNO_P): New.
6032 (HARD_REGNO_NREGS): Adjust for SPE.
6033 (VECTOR_MODE_SUPPORTED_P): Same.
6034 (REGNO_REG_CLASS): Same.
6035 (FUNCTION_VALUE): Same.
6036 (LIBCALL_VALUE): Same.
6037 (LEGITIMATE_OFFSET_ADDRESS_P): Same.
6038 (SPE_VECTOR_MODE): New.
6039 (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
6040 the GPRs. Set FIXED_SCRATCH fixed in SPE case.
6041 (rs6000_stack): Add spe_gp_size, spe_padding_size,
6042 spe_gp_save_offset.
6043 (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
6044 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
6045 (SPE_CONST_OFFSET_OK): New.
6046 (rs6000_builtins): Add SPE builtins.
6047
6048 * testsuite/gcc.dg/ppc-spe.c: New.
99086d59 6049
518878e1
AH
6050 * config/rs6000/eabispe.h: New.
6051
6052 * config/rs6000/spe.h: New.
6053
6054 * config/rs600/spe.md: New.
6055
6056 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
6057 __SIMD__ for TARGET_SPE.
6058
6059 * config.gcc: Add powerpc-*-eabispe* case.
6060 Add spe.h to user headers for powerpc.
6061
8d1b7ba1
CD
60622002-07-24 Chris Demetriou <cgd@broadcom.com>
6063
6064 * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
6065 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6066 * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
6067
8ad8135a
RH
60682002-07-24 Richard Henderson <rth@redhat.com>
6069
6070 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
6071 form when not optimizing.
6072
dc44a4d8
DM
60732002-07-24 David Mosberger <davidm@hpl.hp.com>
6074
6075 * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
6076 thread_pointer_rtx as unchanging.
6077
c5605318
MM
60782002-07-24 Michael Matz <matz@suse.de>
6079
6080 * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
6081 (free_reg): Use it.
6082
3ade30ea
RE
60832002-07-24 Richard Earnshaw <rearnsha@arm.com>
6084
6085 * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
6086 pattern.
6087 (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
6088 (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
6089
8a3ad737
CD
60902002-07-24 Chris Demetriou <cgd@broadcom.com>
6091
6092 * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
6093 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6094 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
6095
7e51e626
JH
6096Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
6097
6098 * toplev.c (rest_of_compilation): Dump loops before clobbering
6099 the structure.
6100
5df533b3
JH
6101Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
6102
6103 * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
6104
79258dce
RS
61052002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
6106
6107 PR optimization/7291
6108 * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
6109 problem on x86_64.
6110
26ff2117
GDR
61112002-07-24 Gabriel Dos Reis <gdr@nerim.net>
6112
6113 * pretty-print.h: Add macros from cp/error.c
6114
0ba1b2ff
AM
61152002-07-24 Alan Modra <amodra@bigpond.net.au>
6116
6117 * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
6118 (mask64_2_operand): Declare.
6119 (build_mask64_2_operands): Declare.
6120 (and64_2_operand): Declare.
6121 (extract_MB): Declare.
6122 (extract_ME): Declare.
6123 * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
6124 CONST_DOUBLE code.
6125 (mask_operand_wrap): New insn predicate.
6126 (mask64_2_operand): Likewise.
6127 (and64_2_operand): Likewise.
6128 (build_mask64_2_operands): New function.
6129 (extract_MB): New function.
6130 (extract_ME): New function.
6131 (print_operand <case m,M>): Use extract_MB and extract_ME.
6132 (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
6133 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
6134 (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
6135 mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
6136 * config/rs6000/rs6000.md (andsi3_internal3): New
6137 (andsi3_internal3+1): Enable split for powerpc64.
6138 (andsi3_internal3+2): New split.
6139 (andsi3_internal4): Renamed old andsi3_internal3.
6140 (andsi3_internal5): New.
6141 (andsi3_internal5+1): Enable split for powerpc64.
6142 (andsi3_internal5+2): New split.
6143 (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
6144 (anddi3): Handle 't' constraint.
6145 (anddi3+1): New split.
6146 (anddi3_internal2): Handle 't' constraint.
6147 (anddi3_internal2+1): New split.
6148 (anddi3_internal3): Handle 't' constraint.
6149 (anddi3_internal3+1): New split.
6150
097657c3
AM
61512002-07-24 Alan Modra <amodra@bigpond.net.au>
6152
6153 * config/rs6000/rs6000.md: Remove scratch reg on insns using
6154 addze and similar (plus (comparison r1 r2) r3) insns. Add
6155 missing scratch reg in one case. Formatting fixes.
6156
a69cbaac
NB
61572002-07-24 Neil Booth <neil@daikokuya.co.uk>
6158
6159 * cppexp.c (parse_defined): Mark macro used.
6160 * cpphash.h (struct cpp_macro): New member "used".
6161 (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
6162 (struct cpp_reader): New member.
6163 * cppinit.c (cpp_finish_options): Set first_unused_line.
6164 (cpp_finish): Warn of unused macros if requested.
6165 (OPT_TABLE): New switches.
6166 (cpp_handle_option): Handle them.
6167 * cpplib.c (do_undef): Warn if macro unused.
6168 (do_ifdef, do_ifndef): Mark macro used.
6169 * cpplib.h (struct cpp_options): New member.
6170 * cppmacro.c (_cpp_warn_if_unused_macro): New.
6171 (enter_macro_context): Mark macro used.
6172 (_cpp_create_definition): Mark macro unused; warn if unused
6173 when redefined.
6174 * cpptrad.c (scan_out_logcial_line, push_replacement_text):
6175 Mark macros used.
6176 * doc/cppopts.texi: Update.
6177
c0667597
NB
61782002-07-23 Neil Booth <neil@daikokuya.co.uk>
6179
6180 * dwarf2out.c (SECTION_ASM_OP,
6181 ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6182 * system.h (SECTION_ASM_OP): Poison.
6183 * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
6184 * config/alpha/alpha-interix.h, config/mips/linux.h
6185 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6186 * config/mmix/mmix-protos.h, config/mmix/mmix.c
6187 (mmix_asm_output_define_label_difference_symbol): Remove.
6188 * config/mmix/mmix.h
6189 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
b841421a 6190 * doc/tm.texi: Remove documentation.
c0667597 6191
bf7cd754
R
6192Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
6193
6194 * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
6195 (constrain_operands): Likewise.
6196 * regclass.c (record_reg_classes): Likewise.
6197 * reload.c (find_reloads): Likewise.
6198 * doc/md.texi: Likewise.
451f86fd
R
6199
6200 * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
6201 * simplify-rtx.c (simplify_subreg): When converting to a non-int
6202 mode, try to convert to an integer mode of matching size first.
1d5fa6b4
R
6203
6204 * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
6205 from individual subregs, check that each subreg has been generated
6206 sucessfully.
6207
10d6af32
NB
62082002-07-23 Neil Booth <neil@daikokuya.co.uk>
6209
6210 * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
6211 * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
6212 FOR_EACH_BB_IN_SBITMAP): Remove.
6213 * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
6214 * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
6215 LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
6216 * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
6217 PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
6218 * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
6219
6aaae39a
GDR
62202002-07-23 Gabriel Dos Reis <gdr@nerim.net>
6221
6222 * pretty-print.h: New file.
6223
45e574d0
JDA
62242002-07-23 Paul Koning <pkoning@equallogic.com>
6225
6226 * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
6227 (LARGEST_EXPONENT_IS_NORMAL): Ditto.
6228 (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
6229 (TARGET_G_FLOAT): Default to 0 if not defined.
99086d59 6230 (ieeetoe): New, common routine to convert target format floats
45e574d0
JDA
6231 to internal form.
6232 (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
6233 vs. others.
6234 (e113toe): Change to use ieeetoe.
6235
62362002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6237
6238 * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
6239 IBM.
6240 (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
6241 (e64toe): Remove special cases for DEC and IBM. Remove support for
6242 ARM_EXTENDED_IEEE_FORMAT.
6243 (e24toe): Remove special cases for DEC.
6244 (significand_size): Simplify. Indent.
6245 (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
6246 (etoieee, toieee): New.
6247 (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
6248 etoieee and toieee for IEEE arithmetic.
6249
3764f879
GDR
62502002-07-23 Gabriel Dos Reis <gdr@nerim.net>
6251
6252 * doc/extend.texi: Say ISO C90, not ISO C89.
6253 * doc/invoke.texi: Likewise.
6254 * doc/standards.texi: Likewise.
6255
aa0f70e6
SE
62562002-07-23 Steve Ellcey <sje@cup.hp.com>
6257
6258 * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
6259 Fix permutation of conversion and plus/mult.
6260 * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
6261 ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
6262 (expand_builtin_strncpy) Ditto.
6263 (expand_builtin_memset) Ditto.
6264
fa72b064
GDR
62652002-07-23 Gabriel Dos Reis <gdr@nerim.net>
6266
6267 Fix PR/7363:
6268 * c-common.c (c_sizeof_or_alignof_type): New function.
6269 (c_alignof): Remove definition.
6270 * c-common.h (c_sizeof, c_alignof): Define as macros.
6271 (c_sizeof_or_alignof_type): Declare.
6272 (my_friendly_assert): Moved from cp/cp-tree.h
6273 * c-typeck.c (c_sizeof): Remove definition.
6274
2b773ee2
JH
62752002-07-23 Jan Hubicka <jh@suse.cz>
6276
6277 * gcse.c (try_replace_reg): Use num_changes_pending.
6278 * recog.c (num_changes_pending): New function.
6279 (validate_replace_src): Use validate_repalce_src_group.
6280 (validate_replace_src_group): New.
6281 * recog.h (validate_repalce_src_group): New.
6282 (num_changes_pending): Likewise.
6283
a0dc500c
R
6284Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
6285
6286 * calls.c (emit_library_call_value_1): If
6287 FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
6288 libcall, const call nor pure call.
6289
d22eda7b
NB
62902002-07-23 Neil Booth <neil@daikokuya.co.uk>
6291
6292 * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
6293
b5e66e65
NB
62942002-07-23 Neil Booth <neil@daikokuya.co.uk>
6295
6296 * vmsdbgout.c (SECTION_ASM_OP): Remove.
6297
c3a600c0
NB
62982002-07-23 Neil Booth <neil@daikokuya.co.uk>
6299
6300 * config/i386/i386.c (AT_BP): Remove.
6301
4fa31c2a
NB
63022002-07-23 Neil Booth <neil@daikokuya.co.uk>
6303
6304 * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
6305 Default definition.
6306 * gcse.c: Don't define obstack_chunk_free.
6307 * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
6308 flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
6309 integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
6310 reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
6311 Don't define obstack macros.
6312
fd576c86
SC
63132002-07-22 Stephane Carrez <stcarrez@nerim.fr>
6314
6315 PR target/6744
6316 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
6317 ASM_OPERANDS instructions.
6318
b791ff31
SC
63192002-07-22 Stephane Carrez <stcarrez@nerim.fr>
6320
6321 PR target/7361
6322 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
6323 constant addresses only on 68HC12.
6324
4a941115
NB
63252002-07-22 Neil Booth <neil@daikokuya.co.uk>
6326
6327 * cppfiles.c (stack_include_file): Correct test of whether
6328 a dependency should be output.
6329
7488cc6d
DE
63302002-07-22 David Edelsohn <edelsohn@gnu.org>
6331
6332 * collect2.c (is_ctor_dtor): Add other possible JOINER values.
6333
b41caf7c
RE
63342002-07-22 Richard Earnshaw <rearnsha@arm.com>
6335
6336 * arm.md (movqi): If optimizing and we can create pseudos, use
6337 a ZERO_EXTEND to load from memory, then copy the result into the
6338 target.
6339 (movhi): Likewise, but only for ARMv4.
6340
492e9934
NB
63412002-07-22 Neil Booth <neil@daikokuya.co.uk>
6342
6343 * ssa-ccp.c (PHI_PARMS): Remove.
6344
f01f01a6
RS
63452002-07-22 Richard Sandiford <rsandifo@redhat.com>
6346
6347 * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
6348 on big-endian targets.
6349
c2ae8aef
KG
63502002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6351
6352 * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
6353 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
6354 HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
6355 New formatting macros.
6356
6357 * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
6358
eab2120d
R
6359Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
6360
6361 * rtlanal.c (subreg_regno_offset): Return correct offset for
6362 big endian paradoxical subregs.
0d541696
R
6363
6364 * optabs.c (expand_vector_unop): Don't expand using sub_optab
6365 if we got the wrong mode.
bb9b3805
R
6366
6367 * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
6368 * genrecog.c (write_switch, write_cond): Use it.
6369 * genemit.c (gen_exp): Likewise.
6370
e96eb215
JJ
63712002-07-22 Jakub Jelinek <jakub@redhat.com>
6372
6373 * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
6374
cf3c4f56
JJ
63752002-07-22 Jakub Jelinek <jakub@redhat.com>
6376
6377 * c-decl.c (build_compound_literal): Defer compound literal decls
6378 until until file end to emit them only if they are actually used.
6379
533c4863
KG
63802002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6381
6382 * ra-build.c (check_conflict_numbers): Hide unused function.
6383 (livethrough_conflicts_bb): Avoid automatic aggregate
6384 initialization.
6385 (parts_to_webs_1): Avoid `U' integer constant modifier.
6386 (conflicts_between_webs): Wrap a variable in the macro controlling
6387 its usage.
6388 * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
6389 (dump_igraph, dump_graph_cost): Avoid string concatenation
6390 (dump_static_insn_cost): Avoid automatic aggregate
6391 initialization.
6392 * ra-rewrite.c (insert_stores): Avoid automatic aggregate
6393 initialization.
6394 (dump_cost): Avoid string concatenation
6395
8943a0b4
RH
63962002-07-21 Richard Henderson <rth@redhat.com>
6397
6398 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
6399 GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
6400
b1aef35b
RH
64012002-07-21 Richard Henderson <rth@redhat.com>
6402
6403 * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
6404 that are not unrolled completely.
6405
5e1afb11
RH
64062002-07-21 Richard Henderson <rth@redhat.com>
6407
6408 * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
6409 * loop.c (strength_reduce): Update.
6410 * toplev.c (rest_of_compilation): Do unrolling in the first
6411 loop pass, not the second.
6412
c67a1cf6
RH
64132002-07-21 Richard Henderson <rth@redhat.com>
6414
6415 * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
6416 when flag_argument_noalias == 2.
6417 * alias.c (nonoverlapping_memrefs_p): Handle that.
6418 * print-rtl.c (print_mem_expr): Likewise.
6419
b68daef4
HS
64202002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
6421
6422 * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
6423 instead of __negdi2 directly.
6424
060a58c5
NB
64252002-07-21 Neil Booth <neil@daikokuya.co.uk>
6426
6427 * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
6428 * function.c (SYMBOL__MAIN): Remove definition.
6429 * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
99086d59 6430 * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
060a58c5
NB
6431 * profile.c (GCOV_INDEX_TO_BB): Remove.
6432 * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
6433 * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
6434
2f8dd115
NB
64352002-07-21 Neil Booth <neil@daikokuya.co.uk>
6436
6437 * c-lex.c (GET_ENVIRONMENT): Remove.
6438 * collect2.c (GET_ENV_PATH_LIST): Remove.
6439 (prefix_from_env): Use GET_ENVIRONMENT.
6440 * cppinit.c (GET_ENV_PATH_LIST): Remove.
6441 (init_standard_includes): Use GET_ENVIRONMENT.
6442 * defaults.h (GET_ENVIRONMENT): Define here if not already.
6443 * gcc.c (GET_ENV_PATH_LIST): Remove.
6444 (make_relative_prefix, process_command): Update.
6445 * protoize.c (GET_ENV_PATH_LIST): Remove.
6446 (do_processing): Update.
6447
56508306
GDR
64482002-07-21 Gabriel Dos Reis <gdr@nerim.net>
6449
6450 * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
6451 (grokdeclarator): Likewise.
6452 * c-format.c (C_STD_NAME): Likewise.
6453 * c-lex.c (interpret_integer): Likewise.
6454 * c-typeck.c (build_array_ref): Likewise.
6455 * cpplex.c (_cpp_lex_direct): Likewise.
6456 * toplev.c (documented_lang_options): Likewise.
6457
e2f62855
NB
64582002-07-21 Neil Booth <neil@daikokuya.co.uk>
6459
6460 * c-format.c (T99_I, T99_UI): Remove.
6461
c89d1dfd
NB
64622002-07-21 Neil Booth <neil@daikokuya.co.uk>
6463
6464 * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
6465
46690369
JH
6466Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
6467
6468 * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
6469 do_local_cprop.
6470
60ffc1b8
AJ
64712002-07-21 Andreas Jaeger <aj@suse.de>
6472
99086d59 6473 * reload1.c (fixup_abnormal_edges): Remove unused variable.
60ffc1b8 6474
c05ffc49
BS
64752002-07-21 Bernd Schmidt <bernds@redhat.com>
6476
6477 Improvements for the ifcvt pass from Michael Meissner, with patches
6478 by Richard Sandiford <rsandifo@redhat.com>
6479 * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
6480 * ifcvt.c (cond_exec_changed_p): New static variable.
6481 (last_active_insn): New function, renamed from last_active_insn_p
6482 and changed to return the last active insn in a basic block. All
6483 callers updated.
6484 (block_fallthru): New function.
6485 (cond_exec_process_insns): New argument CE_INFO. Pass it to
6486 IFCVT_MODIFY_INSN. All callers updated.
6487 Return false if START or END are NULL.
6488 Handle case where we're processing an insn that is already
6489 conditional.
6490
6491 (noce_process_if_block): CE_INFO argument rather than
6492 multiple args containing the involved basic blocks. All callers
6493 changed.
6494 (process_if_block, merge_if_block, find_if_block,
6495 cond_exec_process_if_block): Likewise.
6496
6497 (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
6498 changed.
6499 Use new function last_active_insn to simplify some code.
6500 New code to handle multiple tests.
6501 Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
6502 cond_exec_changed_p to TRUE.
6503
6504 (process_if_block): New code to handle multiple tests.
6505 (merge_if_block): Likewise.
6506 (find_if_header): New arg PASS. Changed to return the currently
6507 processed basic block or NULL instead of true/false. All callers
6508 changed.
6509 Call IFCVT_INIT_EXTRA_FIELDS.
6510 (block_jumps_and_fallthru_p): New function.
6511 (find_if_block): Discover opportunities to convert multiple tests.
6512 Add additional debugging output.
6513 Update the ce_info structure before returning.
6514
6515 (if_convert): Run multiple passes of if-conversion.
6516 * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
6517 IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
6518 IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
6519 these macros.
6520
ae860ff7
JH
6521Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
6522
6523 * gcse.c: Include cselib.h
6524 (constptop_register): Break out from ...
6525 (cprop_insn): ... here; kill basic_block argument.
6526 (do_local_cprop, local_cprop_pass): New functions.
6527 (one_cprop_pass): Call local_cprop_pass.
6528
0da65b89
RS
65292002-07-20 Roger Sayle <roger@eyesopen.com>
6530
6531 * simplify-rtx.c (simplify_relational_operation): Optimize
6532 abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
6533
47cc673a
MM
65342002-07-20 Michae Matz <matz@suse.de>
6535
6536 * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
6537
68e65275
NB
65382002-07-20 Neil Booth <neil@daikokuya.co.uk>
6539
6540 * cppexp.c (struct op): Add token pointer.
6541 (check_promotion, CHECK_PROMOTION): New.
6542 (optab): Update.
6543 (_cpp_parse_expr): Update, use token pointer of struct op.
6544 (reduce): Warn about change of sign owing to promotion.
6545 * cppinit.c (cpp_handle_option): New warning if -Wall.
6546 * cpplib.h (struct cpp_options): New member.
6547
e3485bbc
DE
65482002-07-19 David Edelsohn <edelsohn@gnu.org>
6549
6550 * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
6551 fpu list. Separate Power4 compare and delayed_compare. Correct
6552 Power4 fpcompare.
6553 (fix_truncdfsi2_internal): Restore FPR preference.
6554 * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
6555 mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
6556
449655a6
MV
65572002-07-19 Momchil Velikov <velco@fadata.bg>
6558
6559 * reload1.c (reload_as_needed): Duplicate oldpat.
6560
8b583747
AM
65612002-07-20 Alan Modra <amodra@bigpond.net.au>
6562
6563 PR optimization/7130
6564 * loop.h (struct loop_info): Add "preconditioned".
6565 * unroll.c (unroll_loop): Set it.
6566 * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
6567
0dc36574
ZW
65682002-07-19 Zack Weinberg <zack@codesourcery.com>
6569
6570 * rtl.def (CODE_LABEL): Remove slot 8.
6571 * rtl.h (struct rtx_def): Document new uses of jump and call fields.
6572 (LABEL_ALTERNATE_NAME): Delete.
6573 (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
6574 * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
6575
6576 * final.c (output_alternate_entry_point): New.
6577 (final_scan_insn): Use it instead of
6578 ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
6579 of a case label being an alternate entry point.
6580
6581 * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
6582 * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
6583 Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
6584 (field deleted).
6585 * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
6586
6587 * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
6588 LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
6589 * doc/tm.texi: Delete documentation of
6590 ASM_OUTPUT_ALTERNATE_LABEL_NAME.
6591
59267987
RO
65922002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6593
6594 * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
6595 (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
6596 (LINK_SPEC): Define.
6597 (STARTFILE_SPEC): Define.
6598 (ENDFILE_SPEC): Define.
6599
6600 * config/mips/iris6-o32.h (LINK_SPEC): Move ...
6601 * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
6602
6603 * config/mips/iris6-o32-gas.h: New file.
6604 * config.gcc (mips-sgi-irix6*o32): Use it.
6605
6606 * config/mips/t-iris5-gas: New file.
6607 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
6608
75aef48a
NB
66092002-07-19 Neil Booth <neil@daikokuya.co.uk>
6610
6611 * cppexp.c (ALWAYS_EVAL): Remove.
6612 (optab, reduce): Always evaluate.
6613 (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
6614 only if not skipping evaluation.
6615
72a5503d
MM
66162002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
6617
6618 * config/avr/avr.c (debug_hard_reg_set): Remove.
6619
059ba716
CD
66202002-07-19 Chris Demetriou <cgd@broadcom.com>
6621
6622 * gcc.c (cpp_options): Include "%1" (cc1_spec).
6623
544823b6
RH
66242002-07-19 Richard Henderson <rth@redhat.com>
6625
6626 * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
6627
c35383cb
AM
66282002-07-19 Alan Modra <amodra@bigpond.net.au>
6629
6630 * prefix.c (update_path): Don't zap single `.' path components
6631 unless followed by another `.' and fix typo last patch.
6632
ad28cff7
NB
66332002-07-18 Neil Booth <neil@daikokuya.co.uk>
6634
6635 * cppexp.c (cpp_num_mul): Remove unused parameter.
6636 (UNARY, BINARY, OTHER, binary_handler): Remove.
6637 (ALWAYS_EVAL): New.
6638 (optab): Update.
6639 (reduce): Refactor to a large switch, don't use a function
6640 pointer.
6641
139b7f86
BT
66422002-07-18 Bo Thorsen <bo@berlioz.suse.de>
6643
6644 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
6645
e69d1422
R
6646Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
6647
6648 * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
6649 (sh_expand_binop_v2sf): Likewise.
6650 * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
6651 (int_gpr_dest, trunc_hi_operand): New functions.
6652 * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
6653 trunc_hi_operand.
6654 (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
6655 * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
6656 (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
6657 (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
6658 (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
6659 (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
6660 (extendhisi2_media+1, extendqisi2_media+1): Likewise.
6661 (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
6662 (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
6663 (movsf_ie+1): Likewise.
6664 (loaddi_trunc): Use int_gpr_dest predicate.
6665 (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
6666 (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
6667 (casesi_worker_0+[12], casesi_worker): Likewise.
6668 (shcompact_preserve_incoming_args): Likewise.
6669 (mov_nop): Use any_register_operand predicate.
6670 (mperm_w0): Use trunc_hi_operand predicate.
6671
47a4976f
JDA
66722002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
6673
6674 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
6675 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
6676 numbering.
6677
f3a4e54e
JDA
66782002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
6679
6680 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
6681
30484ccf
RH
66822002-07-18 Richard Henderson <rth@redhat.com>
6683
6684 PR optimization/7147
6685 * ifcvt.c (noce_get_condition): Make certain that the condition
6686 is valid at JUMP.
6687
d042370e
R
6688Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
6689
6690 * sh.c (barrier_align, push): Shut up compiler warnings.
6691 (initial_elimination_offset,sh_media_init_builtins): Likewise.
6692 (reg_no_subreg_operand): Delete.
6693
61fee9b3
BT
66942002-07-17 Bo Thorsen <bo@suse.de>
6695
6696 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
6697 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
6698 (STARTFILE_SPEC): Remove hardcoded library paths.
6699 (ENDFILE_SPEC): Likewise.
6700
f305679f
JH
6701Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
6702
6703 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
6704
6705 * gcse.c (try_replace_reg): Do not return false positives.
6706
99bcb625
AM
67072002-07-18 Alan Modra <amodra@bigpond.net.au>
6708
f6f23ad2
AM
6709 * prefix.c: (update_path): Strip ".." components when prior dir
6710 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
6711
99bcb625
AM
6712 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
6713 (ASM_OUTPUT_REG_POP): Likewise.
6714
09eeeacb
AM
67152002-07-18 Alan Modra <amodra@bigpond.net.au>
6716
6717 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
6718 adjustments to first_reg for profiling case.
6719 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
6720 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
6721 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
6722 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
6723 (ASM_OUTPUT_REG_POP): Define.
6724 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
6725 (ASM_OUTPUT_REG_POP): Undef.
6726
74d06cf2
NB
67272002-07-17 Neil Booth <neil@daikokuya.co.uk>
6728
6729 * cpplib.c (do_sccs): Handle #sccs on all systems.
6730 * system.h (SCCS_DIRECTIVE): Poison.
6731 * config/darwin.h, config/freebsd.h, config/netbsd.h,
6732 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
6733 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
6734 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
6735 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
6736 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
6737 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
6738 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
6739 Remove all references to SCCS_DIRECTIVE.
6740 * doc/cpp.texi, doc/tm.texi: Update.
6741
61dde664
R
6742Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
6743
6744 * regrename.c (maybe_mode_change): New function.
6745 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
6746
97f51ac4
RB
67472002-07-17 Rodney Brown <rbrown64@csc.com.au>
6748
6749 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
6750 suppress addition when either ct or cf are zero.
6751
f1a73cfe 67522002-06-17 Eric Botcazou <ebotcazou@multimania.com>
30484ccf 6753 Glen Nakamura <glen@imodulo.com>
f1a73cfe
EB
6754
6755 PR optimization/6713
6756 * loop.c (loop_givs_rescan): Explicitly delete the insn that
6757 sets a non-replaceable giv after issuing the new one.
6758
23ff0223
NB
67592002-07-17 Neil Booth <neil@daikokuya.co.uk>
6760
6761 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
6762 eval_token): Clarify and correct use of "bool" variables.
6763 * cpplib.h (struct cpp_options): Similarly.
6764 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
6765 * cpptrad.c (recursive_macro): Similarly.
6766
ac09192a
R
6767Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
6768
d28586ab 6769 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
ac09192a 6770 SHmedia code.
68cef009
R
6771
6772 * sh.md (cmpgtudi_media): Remove spurious @.
701e3726
R
6773
6774 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
6775 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
ca903bba
R
6776
6777 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
6778 * sh-protos.h (sh_initialize_trampoline): Declare.
6779 * sh.c (sh_initialize_trampoline): New function.
6780 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
6781 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
6782 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
6783 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
6784 * sh.md (initialize_trampoline, double_shori): New patterns.
6785 (initialize_trampoline_compact): Likewise.
6786 (shmedia32_initialize_trampoline_big): Remove.
6787 (shmedia32_initialize_trampoline_little): Likewise.
0ac78517
R
6788
6789 * sh-protos.h (binary_float_operator): Remove declaration.
6790 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
6791 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
6792 (unary_float_operator, sh_expand_unop_v2sf): New functions.
6793 (sh_expand_binop_v2sf): Likewise.
6794 (zero_vec_operand): Delete.
6795 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
6796 all non-shared ones.
6797 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
6798 Enable nsb and byterev.
6799 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
6800 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
6801 in general regs.
6802 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
6803 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
6804 immediate operands.
6805 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
6806 Add DF_HI_REGS.
6807 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
6808 lowpart fp regs - only for big endian for now.
da7d8304 6809 (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
0ac78517
R
6810 when FPU is in use.
6811 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
6812 (LOAD_EXTEND_OP): NIL for SImode.
6813 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
6814 general and fp registers is 4.
6815 PREDICATE_CODES: Amend binary_float_operator entry.
6816 Remove zero_vec_operand. Add unary_float_operator.
6817 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
6818 subreg SET_DEST.
6819 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
6820 (truncdiqi2): Do sign extension.
6821 (movsi_media, movdi_media): Allow to use r63 to an fp register.
6822 (movdf_media, movsf_media): Likewise.
6823 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
6824 Collapse to one define_insn_and_split. Allow immediate sources.
6825 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
6826 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
6827 (movv4sf): Allow immediate sources.
6828 (movsf_media_nofpu+1): Don't split moves to FP registers.
6829 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
6830 (movv8qi_i+3): Check against CONST0_RTX.
6831 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
6832 for input and output operands. Fix argument 3 to gen_mextr_rl.
6833 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
6834 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
6835 (mshf0_w, fipr, ftrv): Likewise.
6836 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
6837
e9d7b180
JD
68382002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
6839
6840 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
6841 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
6842 * arm.c: Similarly.
6843
8214bf98
RS
68442002-07-17 Richard Sandiford <rsandifo@redhat.com>
6845
6846 * config/mips/mips-protos.h (mips_sign_extend): Declare.
6847 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
6848 (TARGET_SWITCHES): Remove debugh.
6849 (ISA_HAS_TRUNC_W): New macro.
6850 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
6851 (PREDICATE_CODES): Remove se_nonimmediate_operand.
6852 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
6853 any SImode move_operand.
6854 (se_nonimmediate_operand): Remove.
6855 (mips_sign_extend): New.
6856 (mips_move_2words): Use it for sign-extended source operands.
6857 (override_options): Allow integers to be put into single FPRs.
6858 (mips_secondary_reload_class): Handle integers in float registers.
6859 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
6860 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
6861 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
6862 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
6863 (fix_truncdfdi2): Provide only a single alternative, in which the
6864 integer is in a float register. Depend on TARGET_FLOAT64 rather
6865 than TARGET_64BIT.
6866 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
6867 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
6868 (movdi_internal2): Don't allow the source operand to be sign-extended.
6869 Add alternatives for float registers.
6870 (*movdi_internal2_extend): New. Version of movdi_internal2 that
6871 allows sign-extension.
6872 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
6873 (movsi_internal2): Rename to movsi_internal. Add alternatives for
6874 float registers. Remove TARGET_DEBUG_H_MODE test.
6875 (movhi_internal1): Rename to movhi_internal. Don't check
6876 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
6877 (movqi_internal1): Rename to movqi_internal and remove
6878 TARGET_DEBUG_H_MODE dependency.
6879 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
6880
7ab0121e
JW
68812002-07-16 Jim Wilson <wilson@redhat.com>
6882
6883 * toplev.c (lang_dependent_init): Create function context for
6884 init_expr_once.
6885
349ccf2e
HPN
68862002-07-16 Hans-Peter Nilsson <hp@axis.com>
6887
6888 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
6889 --gc-sections if -r.
6890 * config/cris/cris.h: Ditto.
6891
06ec023f
RB
68922002-07-16 Rodney Brown <rbrown64@csc.com.au>
6893
6894 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
6895 the comparison directly gives a mask suppress addition when cf is
6896 zero by complementing the mask.
6897
39cef914
NN
68982002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
6899
6900 * Makefile.in: Delete references to enquire.
6901 * enquire.c: Move to contrib.
6902
92c1a778
SS
69032002-07-16 Stan Shebs <shebs@apple.com>
6904
2aa9948d
SS
6905 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
6906 config/rs6000/darwin.h.
6907 (ASM_OUTPUT_SKIP): Ditto.
6908 (TEXT_SECTION_ASM_OP): Ditto.
6909 (DATA_SECTION_ASM_OP): Ditto.
6910 (ASM_APP_ON): Define.
6911 (ASM_APP_OFF): Define.
6912 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
6913 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
6914
6915 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
92c1a778
SS
6916 (machopic_function_base_name): Declare result to be const.
6917 (machopic_non_lazy_ptr_name): Ditto.
6918 (machopic_stub_name): Ditto.
2aa9948d 6919 * config/darwin-protos.h: Ditto for the prototypes.
92c1a778 6920
daaab00a
JH
6921Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
6922
6923 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
6924
63c574cc
JH
6925Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
6926
6927 * i386.md (prefetch): Fix for 64bit mode.
6928 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
6929
2a500b9e
JH
6930Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
6931
6932 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
6933 * i386.c (x86_machine_dependent_reorg): New function.
6934 * i386-protos.h (x86_machine_dependent_reorg): Declare.
6935
e5faf155
ZW
69362002-07-16 Zack Weinberg <zack@codesourcery.com>
6937
6938 * builtins.c (std_expand_builtin_va_start): Remove unused
6939 first argument.
6940 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
6941 std_expand_builtin_va_start with just two arguments.
6942 * expr.h: Update prototypes.
6943
6944 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
6945 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
6946 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
6947 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
6948 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
6949 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
6950 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
6951 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
6952 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
6953 argument from all implementations of EXPAND_BUILTIN_VA_START
6954 and all uses of std_expand_builtin_va_start.
6955
dbf65c2f
R
6956Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
6957
6958 * regrename.c (copy_value): Don't record high part copies.
6959
6acb6d3e 69602002-07-16 Steve Ellcey <sje@cup.hp.com>
99b823ca 6961
6acb6d3e
SE
6962 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
6963 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
6964 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
6965
5d7c2819
ID
69662002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
6967
6968 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
6969
6970 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
6971 into addsi3 using register class "x" and "y".
6972
6973 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
6974 "earlyclobber" constraint modifier for some alternative.
e5faf155 6975
5d7c2819
ID
6976 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
6977 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
6978 unordered.
6979 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
6980
6981 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
6982 (TARGET_SWITCHES): Add -mieee-compare option.
6983 (OVERRIDE_OPTIONS): 32332 is a subset of
6984 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
43a88a8c 6985 (TARGET_SWITCHES): Fix description of bit-field option.
5d7c2819
ID
6986 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
6987 -mieee-compare option. Remove 32332 flag.
6988
5da4f548 69892002-07-16 Steve Ellcey <sje@cup.hp.com>
5d7c2819
ID
6990
6991 * explow.c (convert_memory_address): Remove special handling
5da4f548 6992 when POINTERS_EXTEND_UNSIGNED < 0.
5d7c2819 6993 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
5da4f548
SE
6994 (movedi_symbolic): Fix typo.
6995 (load_fptr): Remove mode restriction so it works for SI and DI.
6996 (load_fptr_internal1): Ditto.
6997 (load_gprel): Ditto.
6998 (load_symptr_internal1): Ditto.
6999 (call_pic): Ditto.
5d7c2819 7000 * config/ia64.c (call_operand): Modify mode check.
5da4f548
SE
7001 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
7002 (ia64_expand_move): Ditto.
7003 (ia64_assemble_integer): Handle SImode function pointers.
7004 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
7005 (ia64_expand_op_and_fetch): Ditto.
7006 (ia64_expand_compare_and_swap): Ditto.
7007 (ia64_expand_lock_test_and_set): Ditto.
7008 (ia64_expand_lock_release): Ditto.
7009
1575c31e
JD
70102002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7011
7012 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
7013
70142002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7015 Richard Earnshaw <rearnsha@arm.com>
7016
e5faf155 7017 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
1575c31e
JD
7018 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
7019
3894f59e
RE
70202002-07-16 Richard Earnshaw <rearnsha@arm.com>
7021
7022 * arm.md (stack_tie): New insn. Use an idiom that the alias code
7023 understands to be a memory clobber.
7024 * arm.c (arm_expand_prologue): Use it.
7025
e0b89be2 70262002-07-16 Daniel Berlin <dberlin@dberlin.org>
54b2a7f8
DB
7027
7028 * ra-rewrite.c: #include reload.h, insn-config.h
7029 * ra-build.c: #include reload.h
7030 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
e5faf155 7031 depend on reload.h, insn-config.h.
54b2a7f8 7032
cffa2189
R
7033Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
7034
7035 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
7036 the same size as a word.
7037
7038 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
7039 BYTES_BIG_ENDIAN into account.
7040
052c96b1
JH
7041Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
7042
7043 * i386.md (prefetch): Fix for 64bit mode.
7044 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7045
7046 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
7047
ae32926b
MM
70482002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
7049
7050 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
7051
6c535c69
ZW
70522002-07-15 Zack Weinberg <zack@codesourcery.com>
7053
7054 * ginclude/varargs.h: Replace with stub which issues #error.
7055 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
7056 __builtin_va_start.
7057
7058 * builtins.def (BUILT_IN_VARARGS_START): Delete.
7059 (BUILT_IN_VA_START): New.
7060 * builtins.c (expand_builtin_va_start): Eliminate first
7061 argument and code to implement pre-ISO varargs.
7062 (std_expand_builtin_va_start): Ignore first argument; it is
7063 always 1.
7064 (expand_builtin): Handle BUILT_IN_VA_START and
7065 BUILT_IN_STDARG_START identically. Delete
7066 BUILT_IN_VARARGS_START case.
7067
7068 * function.c (assign_parms): Delete hide_last_arg and all
7069 its uses.
7070 (mark_varargs): Delete function.
7071 * function.h (struct function): Delete 'varargs' bit.
7072 (current_function_varargs): Delete macro.
7073 * tree.h: Don't declare mark_varargs.
7074
7075 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
7076 (c_expand_body): Don't call mark_varargs.
7077 * c-objc-common.c: Handle BUILT_IN_VA_START and
7078 BUILT_IN_STDARG_START identically. Delete
7079 BUILT_IN_VARARGS_START case.
7080 * c-tree.h: Don't declare c_mark_varargs.
7081 * c-parse.in: Remove grammar rules for '&...' (which has been
7082 commented out since before 2.7.2) and for '...' in K+R
7083 argument declarations.
7084
7085 * builtins.c, function.c, integrate.c, sibcall.c,
7086 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
7087 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
7088 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
7089 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
7090 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
7091 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
7092 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
7093 config/stormy16/stormy16.c: Delete all references to
7094 current_function_varargs, and code predicated on that flag.
7095
7096 * config/alpha/alpha.c (alpha_va_start),
7097 config/arc/arc.c (arc_va_start),
7098 config/i386/i386.c (ix86_va_start),
7099 config/mips/mips.c (mips_va_start),
7100 config/mn10300/mn10300.c (mn10300_va_start),
7101 config/rs6000/rs6000.c (rs6000_va_start),
7102 config/s390/s390.c (s390_va_start),
7103 config/sh/sh.c (sh_va_start),
7104 Ignore first argument; it is always 1.
7105
7106 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
7107 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
7108 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
7109 Delete m68hc11_va_start.
7110 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
7111 No need to define EXPAND_BUILTIN_VA_START.
7112
7113 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
7114 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
7115
6d80a854
EB
71162002-07-15 Eric Botcazou <ebotcazou@multimania.com>
7117
7118 PR optimization/7153
7119 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
7120 dies in more than one insn.
7121
043cfcbe
JT
71222002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
7123
7124 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
7125
ed8d2920 71262002-07-15 Michael Matz <matz@suse.de>,
6c535c69 7127 Daniel Berlin <dberlin@dberlin.org>,
ed8d2920
MM
7128 Denis Chertykov <denisc@overta.ru>
7129
7130 Add a new register allocator.
7131
7132 * ra.c: New file.
7133 * ra.h: New file.
7134 * ra-build.c: New file.
7135 * ra-colorize.c: New file.
7136 * ra-debug.c: New file.
7137 * ra-rewrite.c: New file.
7138
7139 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
7140 (ra-rewrite.o): New .o files for libbackend.a.
7141 (GTFILES): Add basic-block.h.
7142
7143 * toplev.c (flag_new_regalloc): New.
7144 (f_options): New option "new-ra".
7145 (rest_of_compilation): Call initialize_uninitialized_subregs()
7146 only for the old allocator. If flag_new_regalloc is set, call
7147 new allocator, instead of local_alloc(), global_alloc() and
7148 friends.
7149
7150 * doc/invoke.texi: Document -fnew-ra.
7151 * basic-block.h (FOR_ALL_BB): New.
7152 * config/rs6000/rs6000.c (print_operand): Write small constants
7153 as @l+80.
7154
7155 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
7156 (df_reg_table_realloc): Make size at least as large as max_reg_num().
7157 (df_insn_table_realloc): Size argument now is absolute, not relative.
7158 Changed all callers.
7159
7160 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
7161 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
7162
7163 2002-06-20 Michael Matz <matz@suse.de>
7164
7165 * df.h (struct ref.id): Make unsigned.
7166 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
7167
7168 2002-06-13 Michael Matz <matz@suse.de>
7169
7170 * df.h (DF_REF_MODE_CHANGE): New flag.
7171 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
7172 involving subregs with invalid mode changes, when
7173 CLASS_CANNOT_CHANGE_MODE is defined.
7174
7175 2002-05-07 Michael Matz <matz@suse.de>
7176
7177 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
7178
7179 2002-05-03 Michael Matz <matz@suse.de>
7180
7181 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
7182
7183 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
7184
7185 * regclass.c (regclass): Work with all regs which have sets or
7186 refs.
7187 (reg_scan_mark_refs): Count regs inside (clobber ...).
7188
7189 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
7190
7191 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
7192 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
7193 add new refs.
7194 (df_bb_refs_update): Don't clear insns_modified here, ...
7195 (df_analyse): ... but here.
7196
7197 * sbitmap.c (dump_sbitmap_file): New.
7198 (debug_sbitmap): Use it.
7199
7200 * sbitmap.h (dump_sbitmap_file): Add prototype.
7201
7202 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
7203
7204 * df.c (df_insn_modify): Grow the UID table if necessary, rather
7205 than assume all emits go through df_insns_modify.
7206
7207 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
7208
7209 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
7210 increase REG_N_REFS (like flow does), so that regclass doesn't
7211 think a reg is useless, and thus, not calculate a class, when it
7212 really should have.
7213
7214 2001-01-28 Daniel Berlin <dberlin@redhat.com>
7215
7216 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
7217 dataflow analysis.
7218
794a292d
JJ
72192002-07-15 Jakub Jelinek <jakub@redhat.com>
7220
7221 PR middle-end/7245
7222 * config/i386/i386.c (const_int_1_31_operand): New.
7223 * config/i386/i386.h (PREDICATE_CODES): Add it.
7224 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
7225 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
7226 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
7227
05d49501
AM
72282002-07-14 Alan Modra <amodra@bigpond.net.au>
7229
7230 PR target/7282
7231 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
7232 (floatunssidf2): Likewise.
7233 (floatsidf_ppc64): New insn_and_split.
7234 (floatunssidf_ppc64): Likewise.
7235
e89617fe
AJ
72362002-07-14 Andreas Jaeger <aj@suse.de>
7237
7238 * config.gcc (sh64): Remove unused
7239 target_requires_64bit_host_wide_int.
7240
78762e3b
RS
72412002-07-12 Roger Sayle <roger@eyesopen.com>
7242
7243 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
7244 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
7245 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
7246 whether clear_by_pieces should be used to clear storage.
7247 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
7248
7249 * doc/tm.texi: Document these two new target macros.
7250
f7a454e9
SC
72512002-07-12 Stephane Carrez <stcarrez@nerim.fr>
7252
7253 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
7254 the scratch register.
7255 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
7256 of it, forbid reload to use it.
7257
26af4041
MM
72582002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
7259
7260 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
7261 usage on 64-bit hosts, return value was truncated to 32 bits.
7262
226cfe61
R
7263Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
7264
7265 * simplify-rtx.c (simplify_subreg): Handle floating point
7266 CONST_DOUBLEs. When an integer subreg of a smaller mode than
7267 the element mode is requested, compute a subreg with an
7268 integer mode of the same size as the element mode first.
7269
25c25947
R
7270Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7271
7272 * combine.c (try_combine): When converting a paradoxical subreg
7273 to an extension, take LOAD_EXTEND_OP into account.
7274
789b7de5
RO
72752002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7276
7277 * config.gcc (mips-sgi-irix6*o32): New configuration.
7278
7279 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
7280 configurations.
7281 * configure: Regenerate.
7282
7283 * config/mips/iris6-o32-as.h: New file.
7284 * config/mips/iris6-o32.h: New file.
e89617fe 7285
789b7de5
RO
7286 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
7287 (NM_FLAGS): Define.
7288 (HAVE_AS_SHF_MERGE): Undefine.
7289
7290 * config/mips/t-iris5-as: New file.
7291 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
7292
7293 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
7294 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
7295 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
7296 dp-bit.c, fp-bit.c): Move ...
7297 * config/mips/t-iris5-6: ... here.
7298 New file, shared by IRIX 5 and IRIX 6.
7299 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
7300 mips-sgi-irix5*): Use it.
7301
7302 * config/mips/iris6.h: Remove duplicate comment.
7303
7304 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
7305 !TARGET_IRIX6]: Define.
7306 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
7307
7308 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
7309
a18c2c5f
JDA
73102002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7311
7312 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
7313 and delete code to force constant to register.
7314 * pa-protos.h (adddi3_operand): Add prototype.
7315 * pa.c (adddi3_operand): New function.
7316
e65a2d65
RS
73172002-07-11 Roger Sayle <roger@eyesopen.com>
7318
7319 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
7320 non-ANSI builtin functions.
7321
a06e3c40
R
7322Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
7323
7324 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
7325 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
7326 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
7327 (gen_const_vector_0): Use it.
7328
47abc309
JDA
73292002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7330
7331 * pa.md (adddi3): For 32-bit targets, force constants to a register
7332 if they don't fit in an 11-bit immediate. Change insn predicate to
7333 arith11_operand. Remove comment.
7334 * pa.c (cint_ok_for_move): Fix comment.
7335 (emit_move_sequence): Don't directly split DImode constants on 32-bit
7336 targets.
7337
8ac9d31f
TJ
73382002-07-11 Tim Josling <tej@melbpc.org.au>
7339
e89617fe 7340 Remove front end hard coding from gengtype.c.
8ac9d31f
TJ
7341
7342 * Makefile.in
7343 (STAGESTUFF): add gtyp-gen.h
7344 (GTFILES): Remove front end specific files.
7345 (GTFILES_FILES_LANGS): New, from configure..
7346 (GTFILES_FILES_FILES): Likewise.
7347 (GTFILES_LANG_DIR_NAMES): Likewise.
7348 (GTFILES_SRCDIR): Likewise.
7349 (gtyp-gen.h): Build from configure information.
7350 (s-gtype): Remove command line parameters from gengtype.
7351 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
7352 (mostlyclean): Delete files generated by and for gengtype.
7353
7354 * c-config-lang.in: New file.
7355
7356 * configure.in (all_gtfiles_files_langs): New. Accumulate files
7357 for each language.
7358 (all_gtfiles_files_files): New. Accumulate language for each file
7359 accumulated.
7360 (gtfiles): Pick up value for C.
7361 (srcdir): AC-SUBST this variable.
7362 (all_gtfiles_files_langs): AC-SUBST this variable.
7363 (all_gtfiles_files_files): AC-SUBST this variable.
e89617fe 7364
8ac9d31f 7365 * configure: Regenerate.
e89617fe 7366
8ac9d31f
TJ
7367 * gengtype-lex.l (parse_file): Make parameter const.
7368
7369 * gengtype.c (toplevel): include gtyp-gen.h.
7370 (BASE_FILE_<language> unnamed enum): Delete.
7371 (lang_names): Delete (replaced by gtyp-gen.h)
7372 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
7373 all references.
7374 (NUM_GT_FILES): New.
7375 (NUM_LANG_FILES): New.
7376 (srcdir_len): New.
7377 (NUM_BASE_FILES): Change calculation.
7378 (open_base_files): Change prototype to avoid warning.
7379 (startswith): Delete.
7380 (get_file_basename): Iterate through generated language list not
7381 hard coded list.
7382 (get_base_file_bitmap): Use generated list of files and languages.
7383 (close_output_files): Add prototype to rmove warning.
7384 (main): Iterate through list of generated files from gtyp-gen.h
7385 rather than command line paramaters. Ignore duplicated file
e89617fe 7386 names.
8ac9d31f
TJ
7387
7388 * gengtype.h (parse_file): Amend prototype for const parameter.
e89617fe 7389
8ac9d31f
TJ
7390 * doc/sourcebuild.texi: Document gtfiles variable.
7391
7392 * doc/gty.texi: Document changes to gtfiles variable for front
7393 ends.
7394
7395 * objc/config-lang.in (gtfiles): Add files needed for objc front
7396 end.
7397
0e603223
RS
73982002-07-10 Roger Sayle <roger@eyesopen.com>
7399
7400 PR c/2454
7401 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
7402 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
7403
c5358a5d
RS
74042002-07-10 Roger Sayle <roger@eyesopen.com>
7405 Zack Weinberg <zack@codesourcery.com>
7406
7407 * builtins.def: Make the argument types of abort and exit
7408 independent of the front-end.
7409
a35f8b74
AM
74102002-07-11 Alan Modra <amodra@bigpond.net.au>
7411
7412 * config/rs6000/linux64.h (ASM_SPEC): Define.
7413
89e7058f
AH
74142002-07-10 Aldy Hernandez <aldyh@redhat.com>
7415
6c535c69
ZW
7416 * config/rs6000/rs6000.c (emit_frame_save): New.
7417 (rs6000_frame_related): Replace reg2 before reg.
7418 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
7419 and eh_return registers.
89e7058f 7420
086bbd21
TM
74212002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
7422
7423 Revert all patches for optimization of Complex .op. Real.
7424 * complex_part_zero_p: Remove
7425 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
7426 with x.
7427 * expand_cmplxdiv_wide: Ditto.
7428 * expand_binop: Ditto.
7429
126dbce0
MM
74302002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
7431
7432 * config/avr/avr.md: Fix two 0x80000000 constants to make them
7433 negative also on 64-bit hosts.
7434
7435 Default to -fno-reorder-blocks when optimizing for size.
7436 * config/avr/avr-protos.h (avr_optimization_options): Declare.
7437 * config/avr/avr.c (avr_optimization_options): New function.
7438 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
7439
7440 Optimize returning from simple functions.
7441 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
7442 * config/avr/avr.c (avr_simple_epilogue): New function.
7443 * config/avr/avr.md (return): New insn.
7444
21c318ba
DR
74452002-07-10 Douglas B Rupp <rupp@gnat.com>
7446
7447 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
7448 HAS_INIT_SECTION to protection.
7449
537834c8
MM
74502002-07-10 Mark Mitchell <mark@codesourcery.com>
7451
7452 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
7453 deprecated.
7454
80ba02b1
R
7455Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
7456
7457 * combine.c (gen_lowpart_for_combine): Handle vector modes.
7458 Supply non-VOID mode to simplify_gen_subreg.
7459
ae3aa00d
JH
7460Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
7461
7462 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
7463
029f3983
JL
74642002-07-10 Jeffrey A Law <law@redhat.com>
7465
7a464913
JL
7466 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
7467 as appropriate.
7468
6c535c69
ZW
7469 * mn10200.c (expand_epilogue): Fix test to determine which scratch
7470 register to use.
029f3983 7471
ff27a429
R
7472Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
7473
7474 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
7475 Get mode from dest.
7476 If simplify_gen_subreg fails, try next equivalent.
7477
e6986399
GDR
74782002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
7479
7480 * diagnostic.h: #include location.h
7481 (location_t): Move definition to..
7482 * location.h: ... here. New file.
7483 * tree.h: #include location.h
7484 (DECL_SOURCE_LOCATION): New macro.
7485 (DECL_SOURCE_FILE): Use.
7486 (DECL_SOURCE_LINE): Likewise.
7487 (struct tree_decl): REplace filename and linenum with locus.
7488 * Makefile.in (TREE_H): add location.h
7489 (diagnostic.o): Depends on gt-location.h
7490 (gt-location.h): Depends on s-gtype
7491
7990b46f
MK
74922002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
7493
7494 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
7495 TARGET_OS_CPP_BUILTINS.
7496 * config/rs6000/aix31.h: Likewise.
7497 * config/rs6000/aix41.h: Likewise.
7498 * config/rs6000/aix43.h: Likewise.
7499 * config/rs6000/aix51.h: Likewise.
7500 * config/rs6000/beos.h: Likewise.
7501 * config/rs6000/darwin.h: Likewise.
7502 * config/rs6000/eabi.h: Likewise.
7503 * config/rs6000/eabisim.h: Likewise.
7504 * config/rs6000/linux.h: Likewise.
7505 * config/rs6000/linux64.h: Likewise.
7506 * config/rs6000/lynx.h: Likewise.
7507 * config/rs6000/mach.h: Likewise.
7508 * config/rs6000/rtems.h: Likewise.
7509 * config/rs6000/sysv4.h: Likewise.
7510 * config/rs6000/vxppc.h: Likewise.
efa39e99
DP
7511
75122002-07-09 Devang Patel <dpatel@apple.com>
7513 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
7514 Do not allow ObjC objects as a parameter type for Objective-C methods.
7515 My previous patch restricted 'struct' also.
e89617fe 7516
cd98faa1
NB
75172002-07-09 Neil Booth <neil@daikokuya.co.uk>
7518
7519 * cpperror.c (cpp_error): Default to directive_line within
7520 directives here.
7521 * cppexp.c (cpp_interpret_integer): Only use traditional
7522 number semantics in directives.
7523 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
7524 (do_include_common): Similarly.
7525 * cpptrad.c (scan_out_logical_line): Implement accurate
7526 quoting of <> in #include.
7527 * doc/cpp.texi: Update.
7528
2ad65b0e 7529Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
6c535c69 7530 J"orn Rennecke <joern.rennecke@superh.com>
2ad65b0e
SC
7531
7532 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
7533 * sh.md (attribute issues): Replace with:
7534 (attribute pipe_model). All users changed.
7535 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
7536 All users changed.
7537 (function units sh5issue, sh5fds): New.
7538 (attribute is_mac_media): New.
7539 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
7540 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
7541 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
7542 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
7543 (call_media, call_value_media, sibcall_media): Likewise.
7544 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
7545 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
7546 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
7547 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
7548 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
7549 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
7550 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
7551 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
7552 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
7553 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
7554 (truncdfsf2_media): Likewise.
7555 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
7556 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
7557
b6d33983
R
7558Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
7559
7560 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
7561 * sh.c (general_extend_operand, inqhi_operand): New functions.
7562 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
7563 alternatives using 'N' modifier. Add type.
7564 (adddi3z_media): Likewise. Enable generator function generation.
7565 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
7566 exact predicates / constraints. Add type.
7567 (subsi3): Allow 0 for SHMEDIA.
7568 (udivsi3_i4_media): Use match_operand for input values
7569 rather than hard registers.
7570 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
7571 unnecessarily through hard registers. Keep copies of pseudo
7572 registers outside of the libcall sequence.
7573 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
7574 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
7575 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
7576 (extendhidi2, extendqidi2): Likewise.
7577 (andsi3_compact): Name.
7578 (andcdi3): Enable generator function generation.
7579 (zero_extendhisi2, zero_extendqisi2): Rename to
7580 (zero_extendhisi2_compact, zero_extendqisi2_compact).
7581 (extendhisi2, extendqisi2): Rename to
7582 (extendhisi2_compact, extendqisi2_compact).
7583 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
7584 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
7585 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
7586 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
7587 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
7588 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
7589 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
7590 (shmedia32_initialize_trampoline_big): Likewise.
7591 (shmedia32_initialize_trampoline_little): Likewise.
7592 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
7593 (negdi2): Remove spurious T clobber.
7594 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
7595 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
7596 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
7597 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
7598 (ic_invalidate_line_media): Write back data cache before invalidating
7599 instruction cache. Add type.
7600 (movsf_media): Sign-extend when the destination is a general
7601 purpose register. Add type.
7602 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
7603 (casesi_worker_0+1): Only increment ref count for proper label.
7604 (casesi_worker_0+2): Likewise.
7605
7ca0873c
MM
76062002-07-09 Mark Mitchell <mark@codesourcery.com>
7607
7608 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
7609
26b10ae0 76102002-07-09 Steve Ellcey <sje@cup.hp.com>
7ca0873c 7611
26b10ae0
SE
7612 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
7613 from Pmode to ptr_mode.
7614 (get_exception_pointer): Ditto.
7615 (connect_post_landing_pads): Ditto.
7616 (dw2_build_landing_pads): Ditto.
7617
0c3a2ea0
SE
76182002-07-08 Steve Ellcey <sje@cup.hp.com>
7619 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
7620 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
7621 (handle_pragma_redefine_extname): Change to use new function.
7622
26c34780
RS
76232002-07-08 Roger Sayle <roger@eyesopen.com>
7624
7625 * combine.c (combine_simplify_rtx): Add an explicit cast
7626 to avoid signed/unsigned comparison warning.
7627 (simplify_if_then_else): Likewise.
7628 (extended_count): Likewise.
7629 (simplify_shift_const): Likewise.
7630 (simplify_comparison): Likewise.
7631
1d4047e0
RS
76322002-07-08 Richard Sandiford <rsandifo@redhat.com>
7633
7634 * config/mips/mips.md: Add imadd type. Update scheduler description
7635 to use imadd as well as imul.
7636 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
7637 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
7638 (*mul_sub_si): Likewise for first alternative. Change second
7639 alternative from imul to multi.
7640
5351f1ca
NB
76412002-07-07 Neil Booth <neil@daikokuya.co.uk>
7642
7643 * c-common.c (c_common_post_options): Update prototype;
7644 don't init backends if preprocessing only.
7645 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
7646 * langhooks.h (struct lang_hooks): Update post_options to
7647 return a boolean.
7648 * toplev.c (parse_options_and_default_flags, do_compile,
7649 lang_independent_init): Update prototypes. Allow the
7650 front end to specify that there is no need to initialize
7651 the back end.
7652 (general_init): Move call to hex_init here...
7653 (toplev_main): ...from here. Pass flag for back end init
7654 suppression.
7655
c8cc4417
R
7656Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
7657
7658 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
7659 (PREDICATE_CODES): Add entries for equality_comparison_operator,
7660 greater_comparison_operator and less_comparison_operator.
7661 * sh.c (print_operand): Add '\'' code. Make 'o' handle
7662 more operators.
7663 (equality_comparison_operator): New function.
7664 (greater_comparison_operator, less_comparison_operator): Likewise.
7665 * sh.md (beq_media_i): Disable generator function generation.
7666 Use match_operator to handle a whole class of comparisons. Add
7667 modifier in output template to provide branch prediction. Add type.
7668 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
7669 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
7670 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
7671 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
7672
957ec0f9
HPN
76732002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
7674
7675 Emit MMIX function prologue and epilogue as rtl.
7676 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
7677 not unprototyped get_hard_reg_initial_val.
7678 ("call_value", "nonlocal_goto_receiver"): Ditto.
7679 ("return"): Make define_expand. Move real insn to...
7680 ("*expanded_return"): New pattern.
7681 ("prologue", "epilogue"): New define_expands.
7682 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
7683 (struct machine_function): New member in_prologue.
7684 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
7685 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
7686 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
7687 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
7688 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
7689 (LOCAL_REGNO): Define. Adjust comment.
7690 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
7691 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
7692 leaf_function_p.
7693 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
7694 the prologue.
7695 (mmix_target_asm_function_prologue): Make static. Just mark that
7696 the prologue is being emitted. Move guts to...
7697 (mmix_expand_prologue): New function. Adjust for emitting
7698 prologue as rtl. For sizes, use HOST_WIDE_INT only.
7699 (mmix_target_asm_function_epilogue): Make static. Simply emit a
7700 \n. Move guts to...
7701 (mmix_expand_epilogue): New function. Adjust for emitting
7702 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
7703 (mmix_target_asm_function_end_prologue): Mark that the prologue
7704 has ended.
7705 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
7706 (mmix_conditional_register_usage): Improve comments.
7707 (mmix_local_regno): New function.
7708 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
7709 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
7710 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
7711 (mmix_get_hard_reg_initial_val): Ditto.
7712
7ab5c789
AJ
77132002-07-06 Andreas Jaeger <aj@suse.de>
7714
7715 * toplev.c (set_fast_math_flags): Don't use ISO C style function
7716 definitions.
7717 * gengtype.c (open_base_files): Likewise.
7718 (close_output_files): Likewise.
7719 * tracer.c (find_best_predecessor): Likewise.
7720 (find_best_successor): Likewise.
7721 (ignore_bb_p): Likewise.
7722
df061a43
RS
77232002-07-05 Roger Sayle <roger@eyesopen.com>
7724
7725 PR c++/7099
7726 * builtin-attrs.def: Define new attribute lists for use in
7727 builtins.def.
7728 * builtins.def [DEF_BUILTIN]: Modify to take an additional
7729 ATTRS argument, an enumerated value defined in builtin-attrs.def
7730 that represents the attribute list for the builtins. Modify
7731 all builtin functions to pass an appropriate attribute list.
7732 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
7733 their required noreturn attributes.
7734 * tree.h (enum_builtin_function): Ignore the additional parameter
7735 to DEF_BUILTIN.
7736 * builtins.c (built_in_names): Likewise.
7737 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
7738 argument with a tree representing the functions attribute list.
7739 Pass this "attrs" argument to builtin_function. No longer handle
7740 the noreturn_p processing manually.
7741 (built_in_attributes): Move the definitions from builtin-attrs.def
7742 before c_common_nodes_and_builtins.
7743 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
7744 DEF_BUILTIN, passing it to both builtin_function and the changed
7745 builtin_function_2.
7746
7747 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
7748 __builtin__exit and __builtin__Exit.
7749
e5eb8de8
SC
77502002-07-05 Stephane Carrez <stcarrez@nerim.fr>
7751
7752 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
7753 QI mode registers in soft registers.
7ab5c789 7754 ("zero_extendqihi2"): Do not take into account soft registers
e5eb8de8
SC
7755 for register allocation (use '*' constraint).
7756
4c8aed14
SC
77572002-07-05 Stephane Carrez <stcarrez@nerim.fr>
7758
7759 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
7760 it is dead.
7761 ("*ashrsi3"): Likewise.
7762 ("*lshrsi3"): Likewise.
7763
99ed68ea
VM
77642002-07-05 Vladimir Makarov <vmakarov@redhat.com>
7765
7766 * genautomata.c (output_max_insn_queue_index_def): Take latencies
7767 into account.
7768
4c8aed14 77692002-07-05 Stephane Carrez <stcarrez@nerim.fr>
581fd392
SC
7770
7771 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
7772 address computation and memory moves.
7773
9833f679
MM
77742002-07-03 Mark Mitchell <mark@codesourcery.com>
7775
7776 PR c++/6706
7777 * dwarfout.c (output_reg_number): Fix warning message.
7778 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
7779 before using it.
7ab5c789 7780
81bca2f5
RO
77812002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7782
7783 * gcc/gcc.c (asm_debug): Move initialization ...
7784 (init_spec): ... here.
7785
17f44f02
NS
77862002-07-05 Nathan Sidwell <nathan@codesourcery.com>
7787
7788 * c-parse.in (extdef): Append ';'.
7789 (old_style_parm_decls): Append ';'.
7790
da77408f
DJ
77912002-07-04 Daniel Jacobowitz <drow@mvista.com>
7792
7793 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
7794 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
7795 to gcc_cv_as_gstabs_flag.
7796 * configure: Rebuilt.
7797
ec52b446
GK
77982002-07-04 Geoffrey Keating <geoffk@redhat.com>
7799
7800 * ggc.h (ggc_add_root): Document as obsolete.
7801
8721e3df
R
7802Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
7803
7804 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
7805 (mshflo_w): Likewise.
7806
3767c0fd
R
7807Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
7808
7809 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
7810 vector mode subregs of constants to finding integer mode
7811 subregs of constants.
7812 * cse.c (cse_insn): Use simplify_gen_subreg.
7813 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
7814 From a vector mode expression of different size than the
7815 target mode.
7816
4e314d1f
EC
78172002-07-03 Eric Christopher <echristo@redhat.com>
7818
7819 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
7820 * config/mips/mips.h: Remove deprecated -m<processor> options
7821 and cc1_cpu_spec associated.
7822 (CONSTANT_ADDRESS_P): Fix last patch.
7823 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
7824 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
7825 sunge_sf): Remove.
7826
6f0361e3
SS
78272002-07-03 Stan Shebs <shebs@apple.com>
7828
7829 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
7830 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
7831 (CPP_SPEC): Remove insertion of APPLE_CC definition.
7832
3129af4c
RS
78332002-07-03 Roger Sayle <roger@eyesopen.com>
7834
7835 * combine.c (struct_undo): Change types of recorded substitutions
7836 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
7837 (do_SUBST_INT): Change types of the substitution from unsigned int
7838 to int, to avoid compilation warning from SUBST_INT's only caller.
7839
7840 (make_extraction): Add cast to avoid compilation warning.
7841 (force_to_mode): Remove cast to avoid compilation warning.
7842
c7375e61
EB
78432002-07-03 Eric Botcazou <ebotcazou@multimania.com>
7844 Jeff Law <law@redhat.com>
7845
7846 * i386.md (length_immediate attribute): Fix typo.
7847 (length_address attribute): Likewise.
7848 (modrm attribute): Set it to 0 for immediate call instructions.
7849 (jcc_1 pattern): Set modrm attribute to 0.
7850 (jcc_2 pattern ): Likewise.
7851 (jump pattern): Likewise.
7852 (doloop_end_internal pattern): Explicitly set length.
7853 (leave pattern): Fix typo.
7854 (leave_rex64 pattern): Likewise.
7855
61c07d3c
DE
78562002-07-03 David Edelsohn <edelsohn@gnu.org>
7857
7858 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
7859 in FPR as preference.
7860 (fctiwz): Same.
7861 (floatdidf2, fix_truncdfdi2): Same.
7862 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
7863 (floatditf2): Same.
7864 (floatsitf2, fix_trunctfsi2): SImode in GPR.
7865 (ctrdi): Remove FPR alternative and splitter.
7866
78672002-07-03 Will Cohen <wcohen@redhat.com>
77966be3
WC
7868
7869 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
7870
34a80643
R
7871Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
7872
7873 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
7874 than UNITS_PER_WORD, unless this is little endian and the first unit
7875 in this word. Let extract_bit_field decide how to load an element.
7876 Force arguments to matching mode.
7877 (expand_vector_unop): Likewise.
7878
7879 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
7880 consist of word_mode elements.
7881 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
7882 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
7883 (build_unary_op): Allow vector types for BIT_NOT_EPR.
7884 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
7885 CONST_VECTOR.
7886 * optabs.c (expand_vector_binop): Try to perform operation in
7887 smaller vector modes with same inner size. Add handling of AND, IOR
7888 and XOR. Reject expansion to inner-mode sized scalars when using
7889 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
7890 (expand_vector_unop): Try to perform operation in smaller vector
7891 modes with same inner size. Add handling of one's complement.
7892 When there is no vector negate operation, try a vector subtract
7893 operation. Use simplify_gen_subreg on constants.
7894 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
7895 constants into smaller vectors with same inner mode, and to
7896 integer CONST_DOUBLEs.
7897
622d3731
KG
78982002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7899
7900 * c-parse.in (parsing_iso_function_signature): New variable.
7901 (extdef_1): New, copied from...
7902 (extdef): ... here. Reset parsing_iso_function_signature.
7903 (old_style_parm_decls): Reset parsing_iso_function_signature.
7904 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
7905 Warn about ISO C style function definitions.
7906 (nested_function, notype_nested_function): Reset
7907 parsing_iso_function_signature.
7908 (parmlist_2): Set parsing_iso_function_signature.
7909
7910 * doc/invoke.texi (-Wtraditional): Document new behavior.
7911
9bb46191
CD
79122002-07-02 Chris Demetriou <cgd@broadcom.com>
7913
7914 * config.gcc (mips*el-*-*): Use tm_defines to set
7915 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
7916 * config/mips/little.h: Remove.
7917
e1c2dd26 79182002-07-02 Devang Patel <dpatel@apple.com>
c40da518 7919
c40da518 7920 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
31e25abd
CD
7921 object as parameter. Prevent something like 'NSObject' to be
7922 used as the type for a method argument.
c40da518 7923
0879540b
NB
79242002-07-03 Neil Booth <neil@daikokuya.co.uk>
7925
7926 * cpptrad.c: Update comment.
7927
b6fb43ab 79282002-07-02 Neil Booth <neil@daikokuya.co.uk>
4e314d1f 7929
b6fb43ab
NB
7930 * doc/cpp.texi: Update for traditional preprocessing changes.
7931 * goc/cppopts.texi: Similarly.
7932
c1c5187c
ZL
79332002-07-02 Ziemowit Laski <zlaski@apple.com>
7934
7935 * c-parse.in (designator): Enable designated initializers if ObjC.
7936 (objcmessageexpr): Remove references to objc_receiver_context.
7937 * objc/objc-act.h (objc_receiver_context): Remove decl.
7938 * objc/objc-act.c (objc_receiver_context): Remove.
7939 (lookup_objc_ivar): Test objc_method_context instead of
7940 objc_receiver_context.
7941
52702ae1
R
7942Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
7943
7944 * sh.c (print_operand, case 'N'): Allow zero vector.
7945 (arith_reg_or_0_operand): Likewise.
7946 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
4e314d1f 7947 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
52702ae1
R
7948 IOR, XOR, PLUS and SET and take their respective constant
7949 ranges into account.
7950 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
7951 * sh.md (subdi3, subdi3_media): Allow zero operand.
7952 (movv8qi_i+3): Only vector that is not split is the zero vector.
7953 Fix operand 3 to simplify_subreg.
7954 (movv2si_i): Split alternative 1.
7955 (mshfhi_l_di_rev+1): New splitter.
7956
49e7b251
NB
79572002-07-02 Neil Booth <neil@daikokuya.co.uk>
7958
ba57a9c0 7959 PR preprocessor/7029
49e7b251
NB
7960 * cppinit.c (cpp_handle_option): Suppress warnings with an
7961 implicit "-w" for "-M" and "-MM".
7962 * doc/cppopts.texi: Update.
7963
a3acdc0c
RS
79642002-07-01 Roger Sayle <roger@eyesopen.com>
7965
7966 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
7967 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
7968 builtin_function.
7969
0b558962
AM
79702002-07-02 Alan Modra <amodra@bigpond.net.au>
7971
7972 * README.Portability: Fix typos.
7973
9a81c5b7
HPN
79742002-07-01 Hans-Peter Nilsson <hp@axis.com>
7975
7976 PR target/7177
7977 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
7978 of indirections for register inside sign-extended mem part.
7979
6a2dd09a
RS
79802002-07-01 Roger Sayle <roger@eyesopen.com>
7981
7982 * tree.h: Modify builtin_function interface to take an extra
7983 argument ATTRS, which is a tree representing an attribute list.
7984
7985 * c-decl.c (builtin_function): Accept additional parameter.
7986 * objc/objc-act.c (builtin_function): Likewise.
7987 * f/com.c (builtin_function): Likewise.
7988 * java/decl.c (builtin_function): Likewise.
7989 * ada/utils.c (builtin_function): Likewise.
7990 * cp/decl.c (builtin_function): Likewise.
7991 (builtin_function_1): Likewise.
7992
7993 * c-common.c (c_common_nodes_and_builtins): Pass an additional
7994 NULL_TREE argument to builtin_function. (builtin_function_2):
7995 Likewise.
7996 * cp/call.c (build_java_interface_fn_ref): Likewise.
7997 * objc/objc-act.c (synth_module_prologue): Likewise.
7998 * java/decl.c (java_init_decl_processing): Likewise.
7999 * f/com.c (ffe_com_init_0): Likewise.
8000
8001 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
8002 NULL_TREE argument to builtin_function.
8003 * config/arm/arm.c (def_builtin): Likewise.
8004 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
8005 * config/i386/i386.c (def_builtin): Likewise.
8006 * config/ia64/ia64.c (def_builtin): Likewise.
8007 * config/rs6000/rs6000.c (def_builtin): Likewise.
8008
e20569ae
ZW
80092002-07-01 Zack Weinberg <zack@codesourcery.com>
8010
8011 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
8012 * config/mips/t-isa3264: Likewise.
8013 * config/mmix/t-mmix: Likewise.
8014
f1b690f1
JDA
80152002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
8016
8017 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
8018
6bfa5aac
RS
80192002-07-01 Roger Sayle <roger@eyesopen.com>
8020
8021 PR opt/4046
8022 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
8023 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
8024 B are truth values.
8025
9a5c1b9d
NN
80262002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
8027
8028 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
8029
d3fc4dbc
MK
80302002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
8031
3b2124df
MK
8032 * README.Portability (Function prototypes): Give an example of
8033 declaring and defining a function with no arguments.
8034
d3fc4dbc
MK
8035 * README.Portability (Function prototypes): Document new
8036 variable-argument function macros.
8037
c1b92d09
R
8038Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
8039
8040 * sh.c (langhooks.h): Include.
8041 (sh_init_builtins, sh_media_init_builtins): New functions.
8042 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
8043 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
8044 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
8045 (builtin_description): New struct tag.
8046 (signature_args, bdesc): New arrays.
8047 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
8048 (print_operand): Add 'N' modifier.
8049 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
8050 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
8051 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
8052 (CONST_COSTS): Add special case for SHmedia AND.
8053 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
8054 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
8055 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
8056 target_operand can also be const or unspec.
8057 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
8058 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
8059 (attribute type): Add new types.
8060 (anddi3): Add splitter.
8061 (movdi_const_16bit+1): Add code to handle vector constants and
8062 bitmasks efficiently.
8063 (shori_media): Have generator function made.
8064 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
8065 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
8066 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
8067 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
8068 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
8069 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
8070 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
8071 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
8072 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
8073 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
8074 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
8075 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
8076 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
8077 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
8078 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
8079 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
8080 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
8081 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
8082 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
8083 (ftrv): Likewise.
8084
8085 (fpu_switch+1, fpu_switch+2): Remove constraint.
8086
97ebc06f
AH
80872002-07-01 Aldy Hernandez <aldyh@redhat.com>
8088
6c535c69
ZW
8089 * tree.c (build_function_type_list): Update function comment.
8090 Rename first argument to return_type.
97ebc06f 8091
353a10d0
NB
80922002-07-01 Neil Booth <neil@daikokuya.co.uk>
8093
8094 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
8095 tradcif.y and related files.
8096
e34cabb3
NB
80972002-07-01 Neil Booth <neil@daikokuya.co.uk>
8098
8099 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
8100
8bf3ccbb
KG
81012002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8102
8103 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
8104
44eedb75 8105See ChangeLog.7 for earlier changes.
This page took 1.256519 seconds and 5 git commands to generate.