OSDN Git Service

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