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