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