OSDN Git Service

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