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