OSDN Git Service

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