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