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