OSDN Git Service

a6552e424f7961a2c78af88f3ed1d7bd7fcc5af9
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Sat Oct 19 10:46:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
2
3         * mmintrin.h (__m64): typedef it to v2si.
4         (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
5         _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
6         _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
7         _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
8         _mm_or_si64, _mm_xor_si64): Add neccesary casts.
9         * xmmintrin.h (_mm_setzero_si64): Likewise.
10
11         * i386.h (ALIGN_MODE_128): Update comment; add missing modes
12         (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
13
14         PR target/7693
15         Patch by Shawn Wagner
16         * mmintrin.h: Replace pi64 by si64.
17
18 2002-10-18  David Edelsohn  <edelsohn@gnu.org>
19
20         * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
21         Use length of 4 not *.
22         (movdf_hardfloat64): Same.  Support DFmode moves to/from CTR/LR.
23         (movdf_softfloat64): Likewise.
24         (movdi_internal32): Use length of 4 not *.
25         (movti_power): Same.
26         (ctrsi, ctrdi): Same.
27
28 2002-10-18  Zack Weinberg  <zack@codesourcery.com>
29
30         * c-decl.c (start_decl): Point users of the old initialized-
31         typedef extension at __typeof__.
32
33 2002-10-18  Richard Henderson  <rth@redhat.com>
34
35         * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
36         (real_to_decimal): Re-implement using the logic from the
37         gcc 3.2 etoasc.  Comment heavily.
38         (div_significands): Simplify loop startup and comparison logic.
39
40 2002-10-18  Mark Mitchell  <mark@codesourcery.com>
41
42         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
43         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
44         (TARGET_ASM_OUT): Add them.
45         * target.h (asm_out): Add output_mi_thunk and
46         output_mi_vcall_thunk.
47         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
48         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
49         * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
50         * config/arm/arm.c (arm_output_mi_thunk): Define.
51         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
52         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
53         * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
54         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
55         * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
56         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
57         * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
58         prototype.
59         (x86_output_mi_vcall_thunk): Declare.
60         * config/i386/i386.c (override_options): Clear
61         output_mi_vcall_thunk in 64-bit mode.
62         (ix86_fntype_regparm): New function.
63         (ix86_return_pops_args): Use it.
64         (ia32_this_parameter): New function.
65         (x86_output_mi_vcall_thunk): New function.
66         (x86_output_mi_thunk): Use it
67         * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
68         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
69         * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
70         * config/i960/i960.c (i960_output_mi_thunk): New function.
71         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
72         * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
73         * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
74         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
75         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
76         * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
77         * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
78         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
79         * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
80         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
81         * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
82         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
83         * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
84         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
85         * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
86         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
87         * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
88         * config/s390/s390.c (s390_output_mi_thunk): Define.
89         * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
90         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
91         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
92         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
93         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
94         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
95         * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
96         * config/vax/vax.c (vax_output_mi_thunk): Define.
97         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
98         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
99         * doc/tm.texi: Adjust documentation.
100
101 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
102
103         * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
104         __enable_execute_stack function.
105         * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
106         as NETBSD_ENABLE_EXECUTE_STACK.
107         * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
108         * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
109         * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
110         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
111         * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
112
113 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
114
115         * config/i386/i386.c (x86_initialize_trampoline): Emit a call
116         to __enable_execute_stack with the address of the trampoline
117         if TRANSFER_FROM_TRAMPOLINE is defined.
118         * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
119         constant if building libgcc2.
120
121 2002-10-17  Roger Sayle  <roger@eyesopen.com>
122
123         * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
124
125 2002-10-17  Geoffrey Keating  <geoffk@apple.com>
126
127         * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
128         in CTR/LR/MQ.
129         * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
130         to/from CTR/LR/MQ.
131         (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
132         (movsf_softfloat): Likewise.
133
134 2002-10-17  Janis Johnson  <janis187@us.ibm.com>
135
136         * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
137
138 2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
139
140         * config/alpha/alpha.c (alpha_initialize_trampoline): Use
141         tramp, not addr, to pass the trampoline address to
142         __enable_execute_stack.
143
144 Thu Oct 17 18:40:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
145
146         * mmintrin.h: Guard by __MMX__
147         * xmmintrin.h: Guard by __SSE__
148
149         PR other/8062
150         * xmmintrin.h (_MM_SHUFFLE2): New macro.
151         (_mm_load*_?d): New functions.
152         (_mm_set*_?d): New functions.
153         (_mm_store*_?d): New functions.
154
155 Wed Oct 16 15:01:29 CEST 2002  Jan Hubicka  <jh@suse.cz>
156
157         Really commit patch announced at Oct 14
158         PR c/7344
159         * predict.c (can_predict_insn_p): New function.
160         (estimate_probability): Avoid unnecesary work.
161         (process_note_prediction): Likewise.
162         * toplev.c (rest_of_compilation): Account early branch prediction pass
163         as TV_BRANCH_PROB.
164
165         PR other/8048
166         Found by Ian Ollmann
167         * xmmintrin.h (_mm_shuffle_pd): Fix typo.
168         (_mm_load?_pd): Likewise.
169         (_mm_store?_pd): Likewise.
170
171         PR target/7386
172         * i386.c (builtin_description):Drop cmpg[te]s[sd].
173         * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
174         swapped alternative.
175
176         PR opt/7630
177         * reload1.c (reload_inner_reg_of_subreg): New argument output;
178         (push_reload): Update call.
179
180 2002-10-17  Richard Sandiford  <rsandifo@redhat.com>
181
182         * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
183         if using mips/elf.h or mips/elf64.h.
184         * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
185         * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
186
187 2002-10-16  Aldy Hernandez  <aldyh@redhat.com>
188
189         * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
190         SI.
191
192 2002-10-16  Ulrich Weigand  <uweigand@de.ibm.com>
193
194         * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
195         (LPREFIX): Likewise.
196         (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
197         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
198         ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
199         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
200         GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
201
202         * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
203         ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
204         ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
205         BSS_SECTION_ASM_OP): Move from linux.h.
206         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
207         Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
208
209         * config/s390/s390.c (s390_function_profiler): Use
210         ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
211
212 2002-10-15  Richard Henderson  <rth@redhat.com>
213
214         * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
215         as arguments.  Bound DIGITS by the available buffer size.
216         (real_to_hexadecimal): Likewise.
217         * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
218         (REAL_VALUE_TO_DECIMAL): Remove.
219         * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
220         sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
221         config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
222         config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
223         config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
224         config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
225         config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
226         use real_to_decimal directly, and with the proper arguments.
227         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
228
229 2002-10-15  Jim Wilson  <wilson@redhat.com>
230
231         * reload1.c (merge_assigned_reloads): After converting overlapping
232         reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
233
234         * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
235
236 Tue Oct 15 22:08:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
237
238         * expr.c (do_tablejump): Fix typo in my previous commit.
239
240 2002-10-15  Richard Sandiford  <rsandifo@redhat.com>
241
242         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
243
244 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
245
246         * config/s390/s390.c (s390_split_branches): Add return
247         value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
248
249         (find_base_register_in_addr): New function.
250         (find_base_register_ref): New function.
251         (replace_base_register_ref): New function.
252
253         (struct constant_pool): Add members pool_insn, insns, and anchor.
254         Remove member last_insn.
255         (s390_start_pool): Initialize them.
256         (s390_end_pool): Emit pool placeholder insn.
257         (s390_add_pool_insn): New function.
258         (s390_find_pool): Use insns bitmap instead of addresses.
259         (s390_dump_pool): Replace placeholder insn.  Emit anchor.
260         Replace unspec 104 by local-pool-relative references.
261         (s390_output_constant_pool): Output anchor label if required.
262         (s390_output_symbolic_const): Handle unspec 104 and 105.
263         (s390_add_pool): Remove, replace by ...
264         (s390_add_constant, s390_find_constant): ... these new functions.
265         (s390_add_anchor): New function.
266
267         (s390_chunkify_pool): Delete, replace by ...
268         (s390_chunkify_start, s390_chunkify_finish,
269         s390_chunkify_cancel): ... these new functions.
270         (s390_optimize_prolog): Add parameter TEMP_REGNO.
271         Recompute register live data for special registers.
272         (s390_fixup_clobbered_return_reg): New function.
273         (s390_machine_dependent_reorg): Rewrite to use new
274         s390_chunkify_... routines.
275
276         config/s390/s390.md ("reload_base"): Rename to ...
277         ("reload_base_31"): ... this.
278         ("reload_base_64"): New insn.
279         ("reload_base2"): Remove.
280         ("reload_anchor"): New insn.
281         ("pool"): New insn.
282
283         s390.c (s390_pool_overflow): Remove.
284         s390.h (s390_pool_overflow): Likewise.
285         s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
286
287 Tue Oct 15 16:51:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
288
289         * sh.md (movv8qi_i+2): Don't split if source is -1.
290
291 2002-10-15  Janis Johnson  <janis187@us.ibm.com>
292
293         * doc/install.texi: Formatting changes for conformance to HTML 4.01.
294
295 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
296
297         PR opt/7409
298         * loop.c (loop_regs_scan): Mark registers used for function
299         argument passing as MAY_NOT_OPTIMIZE.
300
301 Mon Oct 14 20:33:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
302
303         * i386.md (movv2di_internal): New pattern.
304         (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
305         (movv2di): New expander.
306         * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
307
308         * i386.c (ix86_expand_timode_binop_builtin): Delete.
309         (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
310         (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
311         (ix86_expand_builtin): Likewise.
312         * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
313         sse_andti3,
314         sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
315         sse_andnti3,
316         sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
317         sse_orti3,
318         sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
319         sse_xorti3): Kill.
320         (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
321          sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
322         (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
323          *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
324         (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
325          *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
326
327         * xmmintrin.h (__m128i): Define as __v2di.
328
329         PR c++/6419
330         (expand_expr): Use DECL_RTL_SET_P.
331
332 2002-10-14  Roger Sayle  <roger@eyesopen.com>
333
334         * combine.c (simplify_set):  Treat MODE_CC registers like cc0.
335
336 2002-10-14  Roger Sayle  <roger@eyesopen.com>
337             Zack Weinberg <zack@codesourcery.com>
338
339         * config/i386/i386.c (k6_cost): Correct typo.
340
341 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
342
343         PR optimization/6631
344         * alias.c (objects_must_conflict_p): Check honor_readonly when
345         examining TYPE_READONLY.
346         * function.c (assign_stack_temp_for_type): Likewise.
347
348 2002-10-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
349
350         * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
351         Swap zero extension arguments.
352         (umaxhi3): Fix instruction class.
353         PR target/7211
354         (prefetch): Fix prefetch instructions.
355         PR target/7238
356         (pkwb): Fix output constraint.
357
358 2002-10-14  Alexandre Oliva  <aoliva@redhat.com>
359
360         * config/mips/mips.c (print_operand): Increase buffer size for
361         real numbers.
362
363 2002-10-14  Richard Henderson  <rth@redhat.com>
364
365         PR opt/8165
366         * gcse.c (adjust_libcall_notes): Revert last change.
367         * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
368
369 2002-10-14  Andrew Haley  <aph@redhat.com>
370
371         * tree-inline.c (remap_block): All local class initialization
372         flags go in the outermost scope.
373         (expand_call_inline): Call java_inlining_map_static_initializers.
374         (expand_call_inline): Call java_inlining_merge_static_initializers.
375         * java/lang.c (merge_init_test_initialization): New.
376         (java_inlining_merge_static_initializers): New.
377         (inline_init_test_initialization): New.
378         (java_inlining_map_static_initializers): New.
379
380         * tree-inline.c (expand_call_inline): Convert retvar to expected
381         type.
382
383 2002-10-14  Graham Stott  <graham.stott@btinternet.com>
384
385         * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
386
387 2002-10-14  Aldy Hernandez  <aldyh@redhat.com>
388
389         * stmt.c: Fix typo in comment.
390
391 Mon Oct 14 11:35:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
392
393         * c-common.c (c_common_type_for_mode): Add V2HImode case.
394         * tree.c (build_common_tree_nodes_2): Initialize
395         unsigned_V2HI_type_node and V2HI_type_node.
396         * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
397         (unsigned_V2HI_type_node, V2HI_type_node): Define.
398
399 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
400
401         * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
402         Handle TARGET_64BIT.
403
404 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
405
406         * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
407         * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
408         (MULTILIB_DIRNAMES): Remove long32.
409         (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
410         (MULTILIB_REDUNDANT_DIRS): Remove.
411
412 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
413
414         * doc/tm.texi (DRIVER_SELF_SPECS): Document.
415         * gcc.c (driver_self_specs): New variable.
416         (do_self_spec): New function.
417         (main): Use it to process driver_self_specs.
418
419 2002-10-13  Richard Henderson  <rth@redhat.com>
420
421         * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
422
423 2002-10-12  Neil Booth  <neil@daikokuya.co.uk>
424
425         PR preprocessor/7862
426         PR preprocessor/8190
427         * gcc.c (cpp_unique_options): Don't delete .d files.
428         Remove stray whitespace.
429
430 2002-10-12  Naohiko Shimizu  <pshimizu@fa2.so-net.ne.jp>
431
432         * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
433         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
434         * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
435         (pdp11_output_function_epilogue, output_ascii): Likewise.
436         (output_addr_const_pdp11): Likewise.
437         * pdp11.md (movdi): Use offsetable memory for floating store.
438         (lshrsi3, negsi2): Delete irrelevant comment.
439
440 2002-10-11  Geoffrey Keating  <geoffk@apple.com>
441
442         * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
443         not the address of the REG.
444         (struct cse_reg_info): Make subreg_ticked unsigned.
445
446 2002-10-11  Janis Johnson  <janis187@us.ibm.com>
447
448         * doc/compat.texi: Add info about C++ libraries.
449
450 2002-10-11  Richard Henderson  <rth@redhat.com>
451
452         PR opt/8165
453         * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
454
455 2002-10-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
456
457         * cfganal.c (dfs_enumerate_from): Use PARAMS.
458         * genautomata.c (output_insn_code_cases): Likewise.
459         * real.c (real_format): Likewise.
460         * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
461         ensure value is promoted before doing subtraction.
462
463 Fri Oct 11 22:22:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
464
465         * calls.c (expand_call): Simplify noreturn call.
466
467         PR c/7344
468         * cfgbuild.c (make_edges): Create edge cache when we do have
469         large jumptable.
470         * expr.c (do_tablejump): Note size of maximal jumptable.
471         * function.c (prepare_function_start): Zero out size.
472         * function.h (function): Add max_jumptable_ents.
473
474         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
475
476 Fri Oct 11 12:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
477
478         * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
479         register for mperm_w operation.
480
481 Fri Oct 11 10:56:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
482
483         * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
484         an integer, use simplify_gen_subreg.
485
486 2002-10-10  Aldy Hernandez  <aldyh@redhat.com>
487
488         * extend.texi (Vector Extensions): Remove comment about single
489         element vectors.
490
491 2002-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
492
493         * fold-const.c (size_htab_hash): Use htab_hash_pointer.
494         * function.c (insns_for_mem_hash): Likewise.
495         * varasm.c (STRHASH): Likewise.
496
497 2002-10-10  Stuart Hastings  <stuart@apple.com>
498
499         * cse.c (struct cse_reg_info): Add subreg_ticked.
500         (SUBREG_TICKED): New.
501         (get_cse_reg_info): Initialize SUBREG_TICKED.
502         (mention_regs): Use it.
503         (invalidate): Set SUBREG_TICKED.
504         (invalidate_for_call): Likewise.
505         (addr_affects_sp_p): Likewise.
506
507 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
508
509         * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
510         into proper operand.
511
512 2002-10-10  Denis Chertykov  <denisc@overta.ru>
513
514         * config/ip2k/ip2k.c (function_epilogue): Optimize stack
515         deallocation.
516         * config/ip2k/libgcc.S: Combine routines used by function
517         epilogue.
518
519 2002-10-10  Jim Wilson  <wilson@redhat.com>
520
521         * cse.c (fold_rtx): Don't perform associative optimization for DIV and
522         UDIV.
523
524 2002-10-10  David Edelsohn  <edelsohn@gnu.org>
525
526         * config/rs6000/aix52.h: New file.
527         * config/rs6000/t-aix52: New File.
528         * config.gcc (rs6000-ibm-aix5.1.*): New entry.
529         (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
530
531 Thu Oct 10 19:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
532
533         PR target/5610
534         * invoke.texi (-msse-math): Kill
535         (-msse): Add note to mfpmath=sse.
536
537 Thu Oct 10 17:08:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
538
539         PR target/7723
540         * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
541
542 2002-10-10  Neil Booth  <neil@daikokuya.co.uk>
543
544         PR preprocessor/8179
545         * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
546         as cc1_options.
547         (default_compilers): Pass debug options when preprocessing
548         stdin.
549
550 2002-10-06  Richard Henderson  <rth@redhat.com>
551
552         * toplev.c (rest_of_compilation): Revert opt/2960 change.
553
554 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
555
556         PR c/7353
557         * c-decl.c (start_decl): Unconditionally issue error for
558         'typedef foo = bar'.
559         (finish_decl): Remove special case for TYPE_DECL with initializer.
560
561         * doc/extend.texi: Delete "Naming Types" section.  Change all
562         cross-references to that section to refer to "Typeof" instead.
563         Add the useful safe-max()-macro example from "Naming Types" to
564         "Typeof", rewritten using that extension.  Add some compatibility
565         notes to "Typeof."
566
567 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
568
569         * loop.c: Revert 2002-08-15 change.
570         (LOOP_REGNO_NREGS): Ensure type is int.
571
572 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
573
574         * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
575         which copies first FPR and clears second.
576         (extendsftf2): Same.
577         (floatditf2): Fix typo.
578         (floatsitf2): Same.
579         (fix_trunctfdi2): Same.
580         (fix_trunctfsi2): Same.
581
582 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
583
584         * conflict.c (arc_hash): Change return type to hashval_t.
585         * cselib.c (get_value_hash): Likewise.
586         * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
587         state_hash, automata_list_hash): Likewise.
588         * read-rtl.c (def_hash): Likewise.
589         * tree.c (type_hash_hash): Likewise.
590
591 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
592
593         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
594         prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
595
596 Wed Oct  9 15:54:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
597
598         * sh.md (ffssi2): Fix emitted code.
599
600 2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
601
602         * cse.c (insn_live_p): Pass insn pattern, not full insn
603         to may_trap_p.
604
605 2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
606
607         * cppmacro.c (paste_tokens): Only allow / to paste with =.
608
609 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
610
611         * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
612         64-bit hosts.
613         (movtf_internal): Reference correct displacement for second value
614         in memory.
615         (movtf splitter): Correct generation of constants in 64-bit mode.
616
617 2002-10-09  Alan Modra  <amodra@bigpond.net.au>
618
619         * libgcc2.c (__floatdisf): Properly cure double rounding.
620
621 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
622
623         * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
624         * doc/cpp.texi (Common Predefined Macros): Document.
625
626 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
627
628         PR doc/7484
629         * doc/invoke.texi (Option Summary): List
630         -Wmissing-declarations as a C only option.
631
632 2002-10-08  Jakub Jelinek  <jakub@redhat.com>
633
634         * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
635         mno-app-regs|mcmodel=medany.
636         (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
637         (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
638         (CRTSTUFF_T_CFLAGS): Define.
639
640 2002-10-08  Roger Sayle  <roger@eyesopen.com>
641
642         PR target/8087
643         * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
644         pool references that are constructed using LO_SUM.
645
646 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
647
648         * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
649         -Wall.
650         * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
651         message.
652         * flags.h (warn_strict_aliasing): Declare.
653         * toplev.c (warn_strict_aliasing): Define.
654         (lang_independent_options): Add it.
655         * doc/invoke.texi (-Wstrict-aliasing): Document it.
656
657 2002-10-08  Zack Weinberg  <zack@codesourcery.com>
658
659         * system.h (GCCBUGURL): Delete.
660         * version.c (bug_report_url): New.  Add commentary about
661         modifying both these strings in modified distributions.
662         * version.h: Declare bug_report_url.
663
664         * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
665         bug_report_url.
666
667 2002-10-08  Nick Clifton  <nickc@redhat.com>
668
669         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
670         convert uint64_t into __ev64_opaque__.
671         (__ev_set_acc_s64): Likewise, but using signed types.
672
673 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
674
675         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
676         ("*doloop_di_long"): Likewise.
677
678 Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
679
680         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
681
682 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
683
684         * config/mips/mips.md (define_attr cpu): Add r4111.
685
686 2002-10-08  Anthony Green  <green@redhat.com>
687
688         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
689
690 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
691
692         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
693         for REAL_VALUE_TO_DECIMAL output.
694
695 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
696
697         * config/rs6000/rs6000.c (rs6000_override_options): Set
698         real_format_for_mode for IBM extended format, if enabled.
699         (easy_fp_constant): Add TFmode.
700         (rs6000_legitimize_address): Add TFmode.
701         (rs6000_legitimate_address): Same.
702         (function_arg_advance): TFmode uses two FPRs.
703         (rs6000_emit_prologue): Fix warning.
704         (rs6000_output_function_epilogue): Add TFmode.
705         (output_toc): Add TFmode.
706         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
707         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
708         * rs6000.md (movtf splitter): Load TFmode constant.
709
710 2002-10-07  Dale Johannesen  <dalej@apple.com>
711
712         * rtl.h:  Add NOTE_PRECONDITIONED.
713         * unroll.c:  Set it.
714         * loop.c:  Set loop_info->preconditioned from it.
715         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
716
717 2002-10-07  Richard Henderson  <rth@redhat.com>
718
719         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
720         new rtx for comparing the argument pointer against zero.
721         (i960_va_start): Similarly.
722
723 2002-10-07  Richard Henderson  <rth@redhat.com>
724
725         * config/i960/i960.md (*): Use TFmode, not XFmode.
726         * config/i960/i960.c (*): Likewise.
727         (i960_arg_size_and_align): Remove XFmode alignment hack.
728         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
729         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
730         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
731         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
732
733 2002-10-07  Richard Henderson  <rth@redhat.com>
734
735         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
736         entry points; use void return value and argument list.
737
738 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
739
740         * t-pdp11: Add MULTILIB support for msoft-float.
741         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
742
743         * t-pdp11: Add LIB2FUNCS_EXTRA.
744         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
745         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
746         'fldd' to 'ldd', rename 'fstd' to 'std'.
747         (pdp11_output_function_epilogue): Likewise.
748         (output_move_quad): Make the comment gas compatible.
749         (output_ascii): Add preceding 0 to the octal constant.
750         (print_operand_address): Add pre_modify, post_modify.
751         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
752         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
753         with the indication of Paul Koning.
754         (PRINT_OPERAND): Fix floating constant.
755         * pdp11.md (movdi): Restrict matching pattern.
756         (movqi): Generalize the matching pattern.
757         (movdf): Restrict matching pattern.
758         (zero_extendqihi2): Change constant representation.
759         (floatsidf2): Fix wrong operands.
760         (addqi3): Fix wrong instruction name.
761         (subqi3): Fix wrong instruction name.
762         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
763         (xorsi3): Fix wrong insn.
764         (one_cmplqi2): Add two operand pattern.
765         (lsrsi3): New.
766         (negsi2): New.
767         (call): Add register indirect case.
768         (mod): Fix wrong subreg.
769
770 2002-09-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
771             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
772
773         PR c/7411
774         * expr.c (expand_expr) [PLUS]: Simplify after the operands
775         have been expanded in EXPAND_NORMAL mode.
776
777 2002-10-06  Richard Henderson  <rth@redhat.com>
778
779         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
780
781 2002-10-06  Richard Henderson  <rth@redhat.com>
782
783         PR optimization/2960
784         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
785         optimize_size.
786
787 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
788
789         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
790         previously definitions.
791
792 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
793
794         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
795         * c-opts.c (find_opt): Similarly.
796
797 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
798
799         * gcc.c (set_multilib_dir): Don't access *end.
800         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
801         (print_multilib_info): Don't show paths starting with ".:".
802         * genmultilib: Add new option, "yes" if multilibs are enabled.
803         Update comments.  If multilibs not enabled, print .:${osdirout}
804         for each directory.  If multilibs are enabled, always print
805         ${dirout}:${osdirout}, even if the two are the same.
806         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
807         Pass all MULTILIB_* variables to genmultilib even if
808         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
809
810 2002-10-04  Bruce Korb  <bkorb@gnu.org>
811
812         * fixinc/inclhack.def(hpux11_abs):  use format fix
813         * fixinc/fixincl.x: regenerate
814         * fixinc/tests/base/stdlib.h: accommodate new fix test
815
816 Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
817
818         * c-common.c (cb_register_builtins):  Use really_no_inline.
819
820 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
821
822         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
823         copied instruction if the note is not loop invariant.
824
825 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
826
827         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
828
829 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
830
831         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
832         and -mhp-ld options to list of options.  Add -mgnu-ld
833         and -mhp-ld option descriptions.
834
835 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
836
837         * fixinc/inclhack.def (hpux11_abs):  New.
838         (stdio_va_list): change __va_list__ to __gnuc_va_list.
839         * fixinc/fixincl.x: Rebuild.
840
841 2002-10-04  Roger Sayle  <roger@eyesopen.com>
842
843         * config/i386/i386.h (processor_costs): Add new fields fadd,
844         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
845         (RTX_COSTS): Use these fields to determine the RTX costs
846         of floating point addition/subtraction, multiplication,
847         division, fabs, negation and square root respectively.
848         * config/i386/i386.c (size_cost): Provide instruction sizes
849         for these new fields.
850         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
851         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
852         counts for these new fields for all x86 processor variants.
853
854 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
855
856         * mips.c (mips_const_double_ok): Delete unused variable.
857
858         * gengtype.c (rtx_next): Change type to int.
859
860 2002-10-04  Andreas Jaeger  <aj@suse.de>
861
862         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
863
864 2002-10-04  Richard Henderson  <rth@redhat.com>
865
866         * real.h (SIGNIFICAND_BITS): Add one more word.
867         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
868         * real.c (times_pten): New.
869         (real_to_decimal, real_from_string): Use it.
870         (sticky_rshift_significand): Use & to find modulus.
871         (rshift_significand, lshift_significand): Likewise.
872         (do_divide): Apply sticky bit after normalization.
873         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
874
875 2002-10-03  Andreas Jaeger  <aj@suse.de>
876
877         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
878         to unsigned long, adjust printf format string.
879         (output_mangled_typename): Likewise.
880
881 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
882
883         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
884         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
885         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
886         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
887         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
888         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
889         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
890         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
891
892 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
893
894         * doc/invoke.texi (-Wabi): Document mangling bug.
895
896 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
897
898         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
899         name for the tbtab label that depends on the function asm name.
900         Don't output tbtab label unless optional_tbtab.
901         (output_mi_thunk): Formatting.
902
903 2002-10-03  Richard Henderson  <rth@redhat.com>
904
905         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
906         * config/m68k/m68k.c (override_options): ... here.
907         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
908         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
909         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
910         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
911
912 2002-10-03  Richard Henderson  <rth@redhat.com>
913
914         * real.h (struct real_value): Use ENUM_BITFIELD.
915
916 2002-10-03  Richard Henderson  <rth@redhat.com>
917
918         * config/i960/i960.md (call, call_value): Use emit_call_insn.
919
920 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
921
922         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
923
924 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
925
926         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
927         * config/pa/pa.h (MASK_GNU_LD): New.
928         (TARGET_GNU_LD): New.
929         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
930         on gnu-ld and MASK_GNU_LD.
931         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
932
933 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
934
935         * i386.c (athlon_cost): Fix the move costs.
936
937 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
938
939         * final.c (final): Use symbol name as function name for profiling.
940         * profile.c (get_exec_counts): Likewise.
941         (branch_prob): Likewise.
942
943 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
944
945         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
946
947 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
948
949         * gcc.c (print_multi_os_directory): New variable.
950         (option_map): Support --print-multi-os-directory.
951         (struct prefix_list): Add os_multilib field.
952         (multilib_os_dir): New variable.
953         (static_specs): Add multilib_options.
954         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
955         subdirs if non-zero.
956         (read_specs, execute): Update callers.
957         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
958         pass 1 as multilib option.
959         (display_help): Include --print-multi-os-directory.
960         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
961         (process_command): Update callers.  Handle --print-multi-os-directory.
962         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
963         set.
964         (main): Update find_a_file and add_prefix callers.
965         Handle print_multi_os_directory.
966         (struct mdswitchstr): New.
967         (mdswitches, n_mdswitches): New variables.
968         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
969         present on the command line nor their mutually incompatible
970         switches.
971         (default_arg): Optimize.
972         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
973         array.
974         (print_multilib_info): Only print GCC multilib dir name, not OS
975         multilib dirname.
976         * genmultilib: Add osdirnames parameter.  Output multilib_options
977         variable.  If osdirnames is specified, output dirnames as
978         dirname:osdirname.
979         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
980         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
981         to compute libgcc_s soname and install path.
982         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
983         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
984         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
985         argument.
986
987         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
988         (SHLIB_SLIBDIR_SUFFIXES): Remove.
989         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
990         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
991         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
992         and -m64.
993         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
994         (SHLIB_SLIBDIR_SUFFIXES): Remove.
995         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
996         (STARTFILE_ARCH_SPEC): Remove.
997         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
998         (SHLIB_SLIBDIR_SUFFIXES): Remove.
999         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
1000         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
1001         (SHLIB_SLIBDIR_SUFFIXES): Remove.
1002
1003 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
1004
1005         * predict.c (choose_function_section): Avoid choice for linkonce functions.
1006
1007 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
1008
1009         * i386.md (lea to mul peep2): Fix condition.
1010
1011 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1012
1013         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
1014         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
1015
1016 2002-10-02  Richard Henderson  <rth@redhat.com>
1017
1018         PR opt/7124
1019         * config/i386/i386.c (ix86_register_move_cost): Increase cost
1020         for secondary_memory_needed pairs.
1021
1022 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
1023
1024         * doc/vms.texi: Blow away false include file section.
1025
1026 2002-10-02  Roger Sayle  <roger@eyesopen.com>
1027
1028         PR optimization/6627
1029         * toplev.c (force_align_functions_log): New global variable.
1030         * flags.h (force_align_functions_log): Add extern prototype.
1031         * varasm.c (assemble_start_function): Use it to force minimum
1032         function alignment.
1033         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
1034         minimum function alignment to one byte.
1035         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
1036         the least significant bit of vtable member function pointers.
1037         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
1038         here from cp/cp-tree.h.
1039
1040 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
1041
1042         * i386.c (print_operand_address): Use RIP addressing for offsetted
1043         label refs too.
1044
1045 2002-09-30  David S. Miller  <davem@redhat.com>
1046
1047         PR middle-end/7151
1048         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
1049         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
1050
1051 2002-10-01  Roger Sayle  <roger@eyesopen.com>
1052
1053         * unroll.c (loop_iterations): Revert 2002-09-08 change.
1054
1055 2002-10-01  Richard Henderson  <rth@redhat.com>
1056
1057         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
1058         (real_to_hexadecimal): Likewise.
1059         * print-rtl.c (print_rtx): If we are linked with real.c, don't
1060         dump the XWINT fields of a floating point CONST_DOUBLE.
1061
1062 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
1063
1064         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
1065
1066 2002-10-01  Richard Henderson  <rth@redhat.com>
1067
1068         * calls.c (precompute_register_parameters): Force non-legitimate
1069         constants into pseudos.
1070
1071 2002-10-01  Nick Clifton  <nickc@redhat.com>
1072
1073         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
1074         to assembler template.
1075
1076 2002-10-01  Richard Henderson  <rth@redhat.com>
1077
1078         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
1079         for TLS debug info to !DECL_EXTERNAL.
1080
1081 2002-10-01  Matt Thomas  <matt@3am-software.com>
1082             Jason Thorpe  <thorpej@wasabisystems.com>
1083
1084         * config.gcc (vax-*-netbsdelf*): Enable configuration.
1085         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
1086         if not already defined.
1087         * config/vax/elf.h: New file.
1088         * config/vax/netbsd-elf.h: New file.
1089         * config/vax/vax.c: Include "debug.h".
1090         (vax_output_function_prologue): Add dwarf2 support.  Use
1091         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
1092         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
1093         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
1094         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
1095         (VAX_ISTREAM_SYNC): Remove.
1096         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
1097         (JUMP_TABLES_IN_TEXT_SECTION): Define.
1098         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
1099         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
1100         and assemble_name.
1101         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1102         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
1103         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
1104         (INCOMING_RETURN_ADDR_RTX): Define.
1105         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
1106         (VUNSPEC_SYNC_ISTREAM): Define.
1107         (blockage): Use VUNSPEC_BLOCKAGE.
1108         (sync_istream): New insn.
1109
1110 2002-10-01  Richard Henderson  <rth@redhat.com>
1111
1112         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
1113         (*call_value_pop, call, call_value): Add dwarf2 EH support.
1114         (*call): New insn.
1115
1116 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
1117
1118         PR c/8083
1119         * c-typeck.c (build_c_cast): Warn about type punning which breaks
1120         type based aliasing.
1121
1122 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
1123
1124         * stor-layout.c (update_alignment_for_field): New function.
1125         (place_union_field): Use it.
1126         (place_field): Likewise.
1127
1128 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
1129
1130         PR other/8077
1131         * gcc.c (cc1_options): Add space on -auxbase-strip.
1132
1133 2002-10-01  Jim Wilson  <wilson@redhat.com>
1134
1135         * config/v850/v850.h (EPILOGUE_USES): Define.
1136
1137 2002-09-30  Andrew Haley  <aph@redhat.com>
1138
1139         * flow.c (insn_dead_p): When using non-call-exceptions, don't
1140         eliminate insns that may trap.
1141         * cse.c (insn_live_p): Likewise.
1142
1143 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
1144
1145         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
1146         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
1147         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
1148         * config/mips/mips.md: Apply same renaming here.
1149
1150 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
1151
1152         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
1153         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
1154         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
1155         * config/mips/mips.md (define_attr cpu): Remove r4320.
1156         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
1157
1158 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
1159
1160         * config/mips/mips.c (mips16_strings): New variable.
1161         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
1162         symbol in mips16_strings.  Free the list.
1163         (mips_encode_section_info): Keep track of local strings.
1164
1165 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
1166
1167         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
1168         (sordered_df, sordered_sf): Remove.
1169         * config/mips/mips.c (get_float_compare_codes): New fn.
1170         (gen_int_relational, gen_conditional_move): Use it.
1171
1172 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
1173
1174         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
1175         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
1176         * config/mips/mips.c (fcc_register_operand): New function.
1177         (mips_emit_fcc_reload): New function, extracted from reload_incc.
1178         (override_options): Allow TFmode values in float registers
1179         if ISA_HAS_8CC.
1180         * cnfig/mips/mips.md (reload_incc): Change destination prediate
1181         to fcc_register_operand.  Remove misleading source constraint.
1182         Use mips_emit_fcc_reload.
1183         (reload_outcc): Duplicate reload_incc.
1184
1185 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
1186
1187         * longlong.h: Partially synchronize with GMP-4.1 version:
1188         Use i370 definitions also for s390.
1189         Add generic definition of umul_ppmm in terms of smul_ppmm.
1190         [s390] (umul_ppmm): Remove.
1191         [s390] (smul_ppmm): Fix incorrect assembler constraints.
1192         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
1193
1194 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
1195
1196         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
1197         Add new RL_REGS register class.
1198         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
1199         Call xtensa_preferred_reload_class for both input and output reloads.
1200         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
1201         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
1202         instead of either AR_REGS or GR_REGS classes.
1203         (xtensa_secondary_reload_class): Use new RL_REGS class.
1204         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
1205
1206 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1207
1208         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
1209         (pa_strip_name_encoding): Strip '@' and '*', in that order.
1210         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
1211         there is a '*' prefix in NAME.
1212
1213 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
1214
1215         * reload.c (push_reload): Handle subregs and secondary memory.
1216         * reload1.c (gen_reload): Likewise.
1217
1218         * jump.c (reg_or_subregno): New function.
1219         * rtl.h (reg_or_subregno): Declare
1220         * unroll.c (find_splittable_givs): Handle subregs.
1221
1222 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
1223
1224         * store-layout.c (finish_record_layout): Add free_p parameter.
1225         (layout_type): Pass it.
1226         * tree.h (finish_record_layout): Update prototype.
1227
1228 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
1229
1230         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
1231
1232         * gcse.c (cprop_jump): Check that the register has not
1233         been modified
1234         (cprop_jump): Likewise.
1235
1236 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
1237
1238         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
1239         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
1240         that we have a SImode access, and only then if reload hasn't completed;
1241         for all other cases, use LO_REGS.
1242
1243 2002-09-29  Richard Henderson  <rth@redhat.com>
1244
1245         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
1246
1247 2002-09-29  Richard Henderson  <rth@redhat.com>
1248
1249         PR c/8002
1250         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
1251         for CONST_INT.
1252
1253 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
1254
1255         * real.h (ibm_extended_format): Declare.
1256         * real.c (encode_ibm_extended, decode_ibm_extended): New
1257         functions.
1258
1259 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1260
1261         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
1262
1263         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
1264
1265 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1266
1267         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
1268
1269 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
1270
1271         * builtins.def: Fix comment formatting.
1272         * c-common.def: Likewise.
1273         * cfgcleanup.c: Likewise.
1274         * combine.c: Likewise.
1275         * gengtype.c: Likewise.
1276         * params.def: Likewise.
1277         * predict.def: Likewise.
1278         * rtl.def: Likewise.
1279         * stab.def: Likewise.
1280         * stor-layout.c: Likewise.
1281         * tree.def: Likewise.
1282         * config/darwin.c: Likewise.
1283         * config/darwin.h: Likewise.
1284         * config/dbxcoff.h: Likewise.
1285         * config/elfos.h: Likewise.
1286         * config/fp-bit.c: Likewise.
1287         * config/freebsd-spec.h: Likewise.
1288         * config/interix.h: Likewise.
1289         * config/libgloss.h: Likewise.
1290         * config/linux-aout.h: Likewise.
1291         * config/linux.h: Likewise.
1292         * config/lynx-ng.h: Likewise.
1293         * config/lynx.h: Likewise.
1294         * config/netbsd-aout.h: Likewise.
1295         * config/netbsd.h: Likewise.
1296         * config/netware.h: Likewise.
1297         * config/psos.h: Likewise.
1298         * config/ptx4.h: Likewise.
1299
1300 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
1301
1302         * ChangeLog.4: Fix typos.
1303         * ChangeLog.6: Likewise.
1304         * FSFChangeLog.10: Likewise.
1305         * genattrtab.c: Fix comment typos.
1306         * haifa-sched.c: Likewise.
1307         * real.c: Likewise.
1308         * tree.h: Likewise.
1309         * config/arm/arm.c: Likewise.
1310         * config/arm/crti.asm: Likewise.
1311         * config/arm/crtn.asm: Likewise.
1312         * config/frv/frv.c: Likewise.
1313         * config/frv/frv.md: Likewise.
1314         * config/h8300/h8300.md: Likewise.
1315         * config/i386/rtemself.h: Likewise.
1316         * config/ia64/unwind-ia64.c: Likewise.
1317         * config/ip2k/ip2k.h: Likewise.
1318         * config/m88k/m88k.c: Likewise.
1319         * config/m88k/m88k.md: Likewise.
1320         * config/mips/sr71k.md: Likewise.
1321         * config/mmix/mmix.c: Likewise.
1322         * config/rs6000/rs6000.c: Likewise.
1323         * config/sh/sh.md: Likewise.
1324
1325 2002-09-26  Theodore A. Roth  <troth@verinet.com>
1326
1327         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
1328         * config/avr/avr.md: Ditto.
1329
1330 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
1331
1332         PR preprocessor/8055
1333         * cppmacro.c (stringify_arg): Do not overflow the buffer
1334         with the terminating NUL when the argument to be stringified
1335         has no tokens.
1336
1337 2002-09-27  Richard Henderson  <rth@redhat.com>
1338
1339         * unroll.c (simplify_cmp_and_jump_insns): New.
1340         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
1341         instead of expand_simple_foo.
1342
1343 2002-09-27  Richard Henderson  <rth@redhat.com>
1344
1345         PR optimization/7520
1346         * cfganal.c (flow_active_insn_p): New.
1347         (forwarder_block_p): Use it.
1348
1349 2002-09-27  Richard Henderson  <rth@redhat.com>
1350
1351         * emit-rtl.c (active_insn_p): Revert last change.
1352
1353 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
1354
1355         * doc/extend.texi (tls_model): Document.
1356         * varasm.c (decl_tls_model): New.
1357         * c-common.c (handle_tls_model_attribute): New.
1358         (c_common_attribute_table): Add tls_model.
1359         * config/alpha/alpha.c (alpha_encode_section_info): Use
1360         decl_tls_model.
1361         * flags.h (enum tls_model, flag_tls_default): Move...
1362         * tree.h (enum tls_model, flag_tls_default): ...here.
1363         (decl_tls_model): New prototype.
1364         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
1365         * config/i386/i386.c (ix86_encode_section_info): Likewise.
1366         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
1367         Allow !flag_pic.
1368
1369 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
1370
1371         * LANGUAGES: Follow spelling conventions.
1372         * rtl.def: Likewise.
1373         * sbitmap.c: Likewise.
1374         * sched-int.h: Likewise.
1375         * sched-rgn.c: Likewise.
1376         * sibcall.c: Likewise.
1377         * simplify-rtx.c: Likewise.
1378         * ssa.c: Likewise.
1379         * stab.def: Likewise.
1380         * stmt.c: Likewise.
1381         * stor-layout.c: Likewise.
1382         * target.h: Likewise.
1383         * timevar.c: Likewise.
1384         * toplev.c: Likewise.
1385         * tree-dump.c: Likewise.
1386         * tree-inline.c: Likewise.
1387         * tree.c: Likewise.
1388         * tree.def: Likewise.
1389         * tree.h: Likewise.
1390         * unroll.c: Likewise.
1391         * varasm.c: Likewise.
1392         * vmsdbgout.c: Likewise.
1393         * treelang/treelang.texi: Likewise.
1394         * treelang/treetree.c: Likewise.
1395
1396 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
1397
1398         * config/h8300/h8300.c (compute_saved_regs): Use a macro
1399         instead of a hard register number.
1400         (get_shift_alg): Use an enumerated type instead of numbers.
1401         (h8300_shift_needs_scratch_p): Likewise.
1402
1403 2002-09-26  David S. Miller  <davem@redhat.com>
1404
1405         PR optimization/7335
1406         * calls.c (emit_library_call_value_1): Passing args by reference
1407         converts a CONST function into a PURE one.
1408
1409 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
1410
1411         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
1412         text_section.
1413         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
1414         text section.
1415         * config/rs6000/rs6000.c (rs6000_override_options): Allow
1416         function-sections and data-sections functionality on AIX.
1417
1418 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
1419             Dale Johannesen  <dalej@apple.com>
1420
1421         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
1422         in RTL for sub-word loads from memory.
1423
1424 2002-09-26  Richard Henderson  <rth@redhat.com>
1425
1426         PR c/7160
1427         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
1428         on call insns.
1429
1430 2002-09-26  Richard Henderson  <rth@redhat.com>
1431
1432         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
1433
1434 2002-09-26  Chris Lattner  <sabre@nondot.org>
1435
1436         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
1437         handling undefined values.
1438
1439 2002-09-26  Richard Henderson  <rth@redhat.com>
1440
1441         PR opt/7520
1442         * emit-rtl.c (active_insn_p): Consider a clobber of the
1443         function return value to be active even after reload.
1444
1445 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
1446
1447         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
1448         by absolute loop increment, not loop increment.
1449
1450 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
1451
1452         * c-common.h: Follow spelling conventions.
1453         * cpplex.c: Likewise.
1454         * cpplib.h: Likewise.
1455         * gthr-dce.h: Likewise.
1456         * gthr-posix.h: Likewise.
1457         * optabs.c: Likewise.
1458         * output.h: Likewise.
1459         * profile.c: Likewise.
1460         * protoize.c: Likewise.
1461         * ra-rewrite.c: Likewise.
1462         * real.c: Likewise.
1463         * recog.c: Likewise.
1464         * reg-stack.c: Likewise.
1465         * regclass.c: Likewise.
1466         * regmove.c: Likewise.
1467         * reload.c: Likewise.
1468         * reload.h: Likewise.
1469         * reload1.c: Likewise.
1470         * reorg.c: Likewise.
1471         * resource.c: Likewise.
1472         * rtl.h: Likewise.
1473         * rtlanal.c: Likewise.
1474
1475 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
1476
1477         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
1478         for symbol address.
1479
1480 2002-09-24  Eric Christopher  <echristo@redhat.com>
1481
1482         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
1483         * config/mips/elf64.h: Ditto.
1484
1485 2002-09-24  Eric Christopher  <echristo@redhat.com>
1486
1487         * except.c (expand_builtin_extract_return_address): Handle case
1488         where Pmode != ptr_mode.
1489
1490 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
1491
1492         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
1493
1494 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
1495
1496         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
1497
1498 2002-09-26  Igor Shevlyakov <igor@microunity.com>
1499
1500         * combine.c (simplify_set): Don't call to force_to_mode if size
1501         of integer type is larger than HOST_BITS_PER_WIDE_INT.
1502
1503 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
1504
1505         * Makefile.in (qmtest-g++): Fix file path.
1506
1507 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
1508
1509         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
1510         A + (-const) on RTX level, even for unsigned types.
1511
1512 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
1513
1514         * reload.c (dup_replacements): New function.
1515         (find_reloads): Use it to duplicate replacements at the top level
1516         of match_dup operands.
1517
1518 2002-09-26  Miles Bader  <miles@gnu.org>
1519
1520         * v850.md ("length"): Change default value to 4.
1521
1522 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
1523
1524         * ChangeLog.1: Follow spelling conventions.
1525         * ChangeLog.4: Likewise.
1526         * ChangeLog.6: Likewise.
1527         * FSFChangeLog.11: Likewise.
1528         * doc/cpp.texi: Likewise.
1529         * doc/invoke.texi: Likewise.
1530         * doc/tm.texi: Likewise.
1531
1532 2002-09-26  Nick Clifton  <nickc@redhat.com>
1533
1534         * config.gcc: Add x prefix to v850e case for handling
1535         --with-cpu=v850e.
1536
1537 2002-09-25  David S. Miller  <davem@redhat.com>
1538
1539         PR target/7842
1540         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
1541         extend.
1542
1543 2002-09-25  Richard Henderson  <rth@redhat.com>
1544
1545         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
1546         fp CONST_DOUBLE; use real_identical.
1547
1548 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
1549
1550         * doc/invoke.texi: Add more -Wabi examples.
1551
1552 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
1553
1554         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
1555
1556 2002-09-24  Denis Chertykov  <denisc@overta.ru>
1557
1558         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
1559         cases of optimizing "add sp,w" to "inc sp".
1560
1561 2002-09-24  Adam Nemet  <anemet@lnxw.com>
1562
1563         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
1564         epilogue for naked functions.
1565
1566 2002-09-24  Adam Nemet  <anemet@lnxw.com>
1567             Nick Clifton  <nickc@redhat.com>
1568
1569         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
1570         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
1571         is defined.
1572
1573 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
1574
1575         * config/s390/s390.c (preferred_la_operand_p): New function.
1576         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
1577         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
1578         ("*la_64_cc", "*la_31_cc", splitters): ... these.
1579         ("*la_31"): Deactivate for TARGET_64BIT.
1580         ("*la_31_and", "*la_31_and_cc"): New.
1581
1582 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1583
1584         * real.h (real_value): Make `exp' explicitly signed.
1585
1586 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
1587
1588         * config/elfos.h: Follow spelling conventions.
1589         * config/alpha/alpha.h: Likewise.
1590         * config/arc/arc.h: Likewise.
1591         * config/arm/arm.md: Likewise.
1592         * config/avr/avr.h: Likewise.
1593         * config/cris/cris.md: Likewise.
1594         * config/d30v/d30v.h: Likewise.
1595         * config/frv/frv.c: Likewise.
1596         * config/frv/frv.h: Likewise.
1597         * config/h8300/h8300.c: Likewise.
1598         * config/h8300/h8300.h: Likewise.
1599         * config/h8300/h8300.md: Likewise.
1600         * config/i386/cygwin.h: Likewise.
1601         * config/i386/i386.h: Likewise.
1602         * config/i386/sysv3.h: Likewise.
1603         * config/i960/i960.h: Likewise.
1604         * config/ia64/ia64.h: Likewise.
1605         * config/ia64/ia64.md: Likewise.
1606         * config/ip2k/ip2k.h: Likewise.
1607         * config/m32r/m32r.h: Likewise.
1608         * config/m68k/m68k.h: Likewise.
1609         * config/m88k/m88k.h: Likewise.
1610         * config/mcore/mcore.c: Likewise.
1611         * config/mcore/mcore.h: Likewise.
1612         * config/mcore/mcore.md: Likewise.
1613         * config/mips/mips.h: Likewise.
1614         * config/mmix/mmix.h: Likewise.
1615         * config/mmix/mmix.md: Likewise.
1616         * config/ns32k/netbsd.h: Likewise.
1617         * config/ns32k/ns32k.h: Likewise.
1618         * config/ns32k/ns32k.md: Likewise.
1619         * config/pa/pa.h: Likewise.
1620         * config/romp/romp.h: Likewise.
1621         * config/rs6000/rs6000.h: Likewise.
1622         * config/rs6000/rs6000.md: Likewise.
1623         * config/sparc/sparc.h: Likewise.
1624         * config/stormy16/stormy-abi: Likewise.
1625         * config/stormy16/stormy16.h: Likewise.
1626         * config/vax/vax.h: Likewise.
1627
1628 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
1629
1630         * version.c (version_string): Now const char[].
1631         * version.h: Update to match.
1632
1633 2002-09-23  Richard Henderson  <rth@redhat.com>
1634
1635         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
1636         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
1637         (TARGET_SWITCHES): Don't reference them.
1638         * config/i386/i386.c (override_options): Use target_flags_explicit
1639         to examine bits set by the user.
1640
1641 2002-09-23  Dale Johannesen  <dalej@apple.com>
1642
1643         * dbxout.c (dbxout_parms):  Set current_sym_code for params
1644         passed on stack by invisible reference.
1645
1646 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
1647
1648         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
1649         at least one byte of space.
1650
1651 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
1652
1653         * c-common.h (flag_abi_version): Fix typo in comment.
1654         * doc/invoke.texi (flag_abi_version): Document default value.
1655
1656 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
1657
1658         * doc/extend.texi (Extended Asm): Clarify that overlap between
1659         asm-declared register variables used in an asm and the asm clobber
1660         list is not allowed.
1661         * stmt.c (decl_conflicts_with_clobbers_p): New function.
1662         (expand_asm_operands): Keep track of clobbered registers.  Call
1663         decl_conflicts_with_clobbers_p for each input and output operand.
1664         If no conflicts found before, also do conflict sanity check when
1665         emitting clobbers.
1666
1667 2002-09-23  Richard Henderson  <rth@redhat.com>
1668
1669         * c-common.c (cpp_define_data_format): Remove.
1670         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
1671         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
1672         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
1673         * doc/cpp.texi: Don't document them either.
1674         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
1675         __LONG_LONG_MAX__): Document.
1676         (__TARGET_FLOAT_FORMAT__): Remove.
1677
1678 2002-09-23  Richard Henderson  <rth@redhat.com>
1679
1680         * real.c (do_multiply): Normalize U before addition.
1681
1682 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
1683
1684         * c-common.c (flag_abi_version): New variable.
1685         * c-common.h (flag_abi_version): Declare it.
1686         * c-opts.c (missing_arg): Add -fabi-version.
1687         (c_common_decode_option): Process -fabi-version.
1688         * doc/invoke.texi (-fabi-version): Document it.
1689         (-Wabi): Add information about bit-fields in unions.
1690
1691 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
1692
1693         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
1694         unless -fno-pic or -fno-PIC is specified.
1695
1696 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1697
1698         * c-common.c (preprocessing_trad_p): Define.
1699         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
1700         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
1701         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
1702         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
1703         * pa-linux.h (CPP_PREDEFINES): Delete.
1704         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
1705         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
1706         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
1707         (TARGET_OS_CPP_BUILTINS): Define.
1708         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
1709         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
1710         (SUBTARGET_SWITCHES): Provide default definition.
1711         (TARGET_OPTIONS): Reformat.  Use N_() macro.
1712         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
1713         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
1714         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
1715         (TARGET_CPU_CPP_BUILTINS): Define.
1716         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
1717         * doc/invoke.texi (msio, mwsio): Document new hppa options.
1718         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
1719         preprocessing_trad_p().
1720
1721 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
1722
1723         * doc/install.texi: Document behavior of --with-headers and
1724         --with-libs when arguments are omitted.
1725
1726 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
1727
1728         * dbxout.c: Follow spelling conventions.
1729         * defaults.h: Likewise.
1730         * df.c: Likewise.
1731         * diagnostic.h: Likewise.
1732         * doloop.c: Likewise.
1733         * dwarf2out.c: Likewise.
1734         * dwarfout.c: Likewise.
1735         * emit-rtl.c: Likewise.
1736         * except.c: Likewise.
1737         * explow.c: Likewise.
1738         * expmed.c: Likewise.
1739         * expr.c: Likewise.
1740         * expr.h: Likewise.
1741         * flags.h: Likewise.
1742         * flow.c: Likewise.
1743         * fold-const.c: Likewise.
1744         * function.c: Likewise.
1745         * function.h: Likewise.
1746         * gcc.c: Likewise.
1747         * gcov-io.h: Likewise.
1748         * gcov.c: Likewise.
1749         * gcse.c: Likewise.
1750         * genattrtab.c: Likewise.
1751         * genconfig.c: Likewise.
1752         * genrecog.c: Likewise.
1753         * ggc-page.c: Likewise.
1754         * ggc.h: Likewise.
1755         * global.c: Likewise.
1756         * gthr-win32.h: Likewise.
1757         * integrate.c: Likewise.
1758         * jump.c: Likewise.
1759         * langhooks.c: Likewise.
1760         * langhooks.h: Likewise.
1761         * line-map.h: Likewise.
1762         * local-alloc.c: Likewise.
1763         * longlong.h: Likewise.
1764         * loop.c: Likewise.
1765         * loop.h: Likewise.
1766
1767 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
1768
1769         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
1770
1771 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
1772
1773         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
1774         for -Os/TARGET_64BIT too.
1775
1776 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
1777
1778         * ChangeLog: Follow spelling conventions.
1779         * ChangeLog.0: Likewise.
1780         * ChangeLog.1: Likewise.
1781         * ChangeLog.2: Likewise.
1782         * ChangeLog.3: Likewise.
1783         * ChangeLog.4: Likewise.
1784         * ChangeLog.5: Likewise.
1785         * ChangeLog.6: Likewise.
1786         * FSFChangeLog.10: Likewise.
1787         * FSFChangeLog.11: Likewise.
1788         * alias.c: Likewise.
1789         * basic-block.h: Likewise.
1790         * c-aux-info.c: Likewise.
1791         * c-common.c: Likewise.
1792         * c-common.h: Likewise.
1793         * c-decl.c: Likewise.
1794         * c-format.c: Likewise.
1795         * c-semantics.c: Likewise.
1796         * c-typeck.c: Likewise.
1797         * calls.c: Likewise.
1798         * cfganal.c: Likewise.
1799         * cfgloop.c: Likewise.
1800         * collect2.c: Likewise.
1801         * combine.c: Likewise.
1802         * conflict.c: Likewise.
1803         * cppexp.c: Likewise.
1804         * cppfiles.c: Likewise.
1805         * cpphash.h: Likewise.
1806         * cppinit.c: Likewise.
1807         * cpplex.c: Likewise.
1808         * cpplib.c: Likewise.
1809         * cpplib.h: Likewise.
1810         * cppmacro.c: Likewise.
1811         * cse.c: Likewise.
1812
1813 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
1814
1815         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
1816         LINK_SPEC.
1817         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
1818         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
1819         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
1820
1821 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
1822
1823         PR opt/7930
1824         * cse.c (fold_rtx): Calculate old_cost before we fold each
1825         operand.
1826
1827 2002-09-21  Richard Henderson  <rth@redhat.com>
1828
1829         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
1830         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
1831         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
1832         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
1833         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
1834         * doc/cpp.texi: Don't document them.
1835
1836 2002-09-21  Richard Henderson  <rth@redhat.com>
1837
1838         * c-common.c (builtin_define_float_constants): Use real_format
1839         to get the floating-point parameters.
1840
1841 2002-09-21  Richard Henderson  <rth@redhat.com>
1842
1843         * real.c (struct real_format): Move to real.h.
1844         (real_format_for_mode): Rename from fmt_for_mode; update all users;
1845         initialize with ieee defaults.
1846         (real_to_target_fmt, real_from_target_fmt): New.
1847         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1848         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1849         ieee_quad_format, i370_single_format, i370_double_format,
1850         c4x_single_format, c4x_extended_format): Rename from s/_format//.
1851         (ieee_quad_format): Fix emin.
1852         (format_for_size, init_real_once): Remove.
1853         * real.h (struct real_format): Move from real.c.
1854         (real_format_for_mode): Declare.
1855         (real_to_target_fmt, real_from_target_fmt): Declare.
1856         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1857         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1858         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
1859         i370_single_format, i370_double_format, c4x_single_format,
1860         c4x_extended_format): Declare.
1861         * toplev.c (do_compile): Don't call init_real_once.
1862
1863         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1864         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1865
1866         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
1867         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
1868         * config/alpha/alpha.c (override_options): Set real_format_for_mode
1869         for VAX, if enabled.
1870
1871         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
1872         for C4X.
1873
1874         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
1875         * config/i370/i370.c (override_options): New.
1876         * config/i370/i370-protos.h: Update.
1877
1878         * config/i386/i386.c (override_options): Set real_format_for_mode
1879         for Intel 80-bit extended.
1880         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1881
1882         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
1883         (OVERRIDE_OPTIONS): Move code...
1884         * config/i960/i960.c (i960_initialize): ... here.  Set
1885         real_format_for_mode for Intel 80-bit extended.
1886
1887         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
1888         for Intel 80-bit extended, if enabled.
1889
1890         * config/m68k/m68k.c (override_options): Set real_format_for_mode
1891         for Motorola 96-bit extended.
1892
1893         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
1894         * config/vax/vax.c (override_options): New.
1895         * config/vax/vax-protos.h: Update.
1896
1897 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
1898
1899         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
1900         #if TARGET_MACHO.
1901
1902         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
1903         insns.  Supply missing clobber of scratch reg.
1904
1905 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
1906
1907         * config/m32r/m32r.c: Follow spelling conventions.
1908         * config/m32r/m32r.h: Likewise.
1909         * config/m32r/m32r.md: Likewise.
1910         * config/m68k/m68k.c: Likewise.
1911         * config/m88k/m88k.c: Likewise.
1912         * config/mcore/mcore.c: Likewise.
1913         * config/mips/mips.c: Likewise.
1914         * config/mips/mips.h: Likewise.
1915         * config/mmix/mmix.c: Likewise.
1916         * config/mn10200/mn10200.c: Likewise.
1917         * config/ns32k/ns32k.h: Likewise.
1918         * config/pa/pa.c: Likewise.
1919         * config/pa/pa64-linux.h: Likewise.
1920         * config/pdp11/pdp11.h: Likewise.
1921         * config/romp/romp.c: Likewise.
1922         * config/romp/romp.h: Likewise.
1923         * config/rs6000/eabi.asm: Likewise.
1924         * config/rs6000/linux64.h: Likewise.
1925         * config/rs6000/rs6000.c: Likewise.
1926         * config/rs6000/rs6000.h: Likewise.
1927         * config/rs6000/rs6000.md: Likewise.
1928         * config/rs6000/sysv4.h: Likewise.
1929         * config/rs6000/xcoff.h: Likewise.
1930
1931 2002-09-20  Jim Wilson  <wilson@redhat.com>
1932
1933         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
1934
1935 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
1936
1937         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
1938         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
1939         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
1940         (legitimate_address_p): Likewise.
1941         (legitimize_address): Use @gotntpoff and @indntpoff.
1942         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
1943         (output_addr_const_extra): Likewise.
1944
1945 2002-09-20  Jim Wilson  <wilson@redhat.com>
1946
1947         * combine.c (try_combine): When split an instruction pair, where the
1948         first has a sign_extend src, verify that the src and dest modes match.
1949
1950 2002-09-20  Richard Henderson  <rth@redhat.com>
1951
1952         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
1953         (override_options): Do not initialize them.
1954         (mips_const_double_ok): Allow no fp constants except zero,
1955         and not even that for mips16.
1956         (const_float_1_operand): Use dconst1.
1957         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
1958         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
1959         Don't allow arbitrary constants; fix predicates and C constraint.
1960
1961 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
1962
1963         * cppmacro.c: Don't warn about function-like macros without
1964         '(' during pre-expansion.
1965
1966 2002-09-20  Jim Wilson  <wilson@redhat.com>
1967
1968         * config/v850/v850.c (current_function_anonymous_args): Delete.
1969         (expand_prologue): Use current_function_args_info.anonymous_args.
1970         (expand_epilogue): Delete use of current_function_anonymous_args.
1971         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
1972         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
1973         (current_function_anonymous_args): Delete extern declaration.
1974         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
1975
1976 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
1977
1978         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
1979         to load_macho_picbase.
1980         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
1981         (load_macho_picbase): Take the symbol to use as a parameter.
1982         (macho_correct_pic): New insn.
1983         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
1984
1985         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
1986         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
1987         (CAN_ELIMINATE): Likewise.
1988         (INITIAL_ELIMINATION_OFFSET): Likewise.
1989         (TOC_REGISTER): Likewise.
1990
1991 2002-09-20  Richard Henderson  <rth@redhat.com>
1992
1993         * real.c (real_hash): New.
1994         * real.h: Declare it.
1995         * cse.c (canon_hash): Use it.
1996         * cselib.c (hash_rtx): Likewise.
1997         * emit-rtl.c (const_double_htab_hash): Likewise.
1998         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
1999         * varasm.c (struct rtx_const): Reduce vector size; separate
2000         integer and fp vectors.
2001         (HASHBITS): Remove.
2002         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
2003         take modulus MAX_HASH_TABLE.
2004         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
2005         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
2006         (SYMHASH): Don't use HASHBITS.
2007         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
2008         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
2009         (simplify_subtraction): Fix kind comparison.
2010         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
2011         Use a union to pun integer array.
2012         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
2013         only hash two words of integral CONST_DOUBLE.
2014
2015 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
2016
2017         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
2018         (STARTFILE_PREFIX_SPEC): New.
2019         (LINK_SPEC): Modify.
2020         (LIB_SPEC): Modify.
2021         (LIBGCC_SPEC): New.
2022
2023 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
2024
2025         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
2026         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
2027
2028 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
2029
2030         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
2031         Add clobber of the condition code register.
2032
2033 2002-09-20  Richard Henderson  <rth@redhat.com>
2034
2035         * real.c (do_fix_trunc): Static.
2036         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
2037         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
2038         encode_i370_single, encode_i370_double, encode_c4x_single,
2039         encode_c4x_extended): Add default abort case.
2040
2041 2002-09-20  Richard Henderson  <rth@redhat.com>
2042
2043         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
2044         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
2045         (struct realvaluetype): Remove.
2046         (REAL_VALUE_TYPE): Use struct real_value.
2047         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
2048         (test_real_width): New.
2049         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
2050         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
2051         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
2052         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
2053         real_to_integer, real_to_integer2, real_to_decimal,
2054         real_to_hexadecimal, real_from_string, real_from_integer,
2055         real_inf, real_nan, real_2expN, real_convert, real_to_target,
2056         real_from_target): Likewise.
2057         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
2058         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
2059
2060 2002-09-20  Richard Henderson  <rth@redhat.com>
2061
2062         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
2063         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
2064         * defaults.h: ... here.
2065         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
2066         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
2067         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
2068         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
2069
2070 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
2071
2072         * config/mmix/mmix.md ("negdf2"): Rewrite.
2073         ("*expanded_negdf2"): New.
2074
2075 2002-09-19  Jim Wilson  <wilson@redhat.com>
2076
2077         * combine.c (simplify_set): When optimizing a subreg src with a
2078         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
2079
2080 2002-09-19  Dale Johannesen <dalej@apple.com>
2081         * combine.c (make_extraction): Don't create
2082         invalid subreg.
2083
2084 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
2085
2086         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
2087         and STRICT_LOW_PART within SET_DEST.
2088         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
2089         splitters, replacing pre-reload splitters.
2090         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
2091         "*zero_extendqihi2_31"): New insns.
2092         ("*zero_extendqihi2_64"): Do not clobber CC.
2093
2094 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
2095
2096         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
2097         (DTORS_SECTION_ASM_OP): Ditto.
2098         (READONLY_DATA_SECTION_ASM_OP): Moved.
2099         (DATA_SECTION_ASM_OP): New.
2100         (SDATA_SECTION_ASM_OP): New.
2101         (BSS_SECTION_ASM_OP): New.
2102         (SBSS_SECTION_ASM_OP): New.
2103         (TEXT_SECTION_ASM_OP): New.
2104
2105 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
2106
2107         * config/fp-bit.c: Follow spelling conventions.
2108         * config/d30v/d30v.c: Likewise.
2109         * config/d30v/d30v.h: Likewise.
2110         * config/fr30/fr30.c: Likewise.
2111         * config/fr30/fr30.h: Likewise.
2112         * config/fr30/fr30.md: Likewise.
2113         * config/frv/frv.c: Likewise.
2114         * config/frv/frv.h: Likewise.
2115         * config/h8300/h8300.c: Likewise.
2116         * config/h8300/lib1funcs.asm: Likewise.
2117         * config/i370/i370.c: Likewise.
2118         * config/i386/i386.h: Likewise.
2119         * config/i386/i386.md: Likewise.
2120         * config/i386/pentium.md: Likewise.
2121         * config/i386/winnt.c: Likewise.
2122         * config/i960/i960.c: Likewise.
2123         * config/ia64/ia64.h: Likewise.
2124         * config/ip2k/ip2k.c: Likewise.
2125         * config/ip2k/ip2k.h: Likewise.
2126         * config/ip2k/ip2k.md: Likewise.
2127         * config/ip2k/libgcc.S: Likewise.
2128
2129 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
2130
2131         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
2132         (GOTOFF_P): Extend to allow gotoff plus constant.
2133
2134 2002-09-18  Richard Henderson  <rth@redhat.com>
2135
2136         * ifcvt.c (noce_process_if_block): Correctly detect X modified
2137         with INSN_B before COND_EARLIEST.  Don't check A and B for
2138         modification in condition range.  Reorder INSN_B for A==B properly.
2139         (if_convert): Iterate until no matches for a block.
2140
2141 2002-09-18  Richard Henderson  <rth@redhat.com>
2142
2143         * calls.c (store_one_arg): Rename default_align to parm_align;
2144         always adjust parm_align for downward padding.
2145
2146 2002-09-18  Richard Henderson  <rth@redhat.com>
2147
2148         * toplev.c (backend_init): Move init_real_once invocation ...
2149         (do_compile): ... here.
2150
2151 2002-09-18  Richard Henderson  <rth@redhat.com>
2152
2153         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
2154         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
2155
2156 2002-09-18  Richard Henderson  <rth@redhat.com>
2157
2158         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
2159
2160 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
2161
2162         * config/rs6000/rs6000.md: (floatdisf2): Rename to
2163         floatdisf2_internal1.
2164         (floatdisf2): New define_expand.
2165         (floatdisf2_internal2): Likewise.
2166
2167 2002-09-18  Richard Henderson  <rth@redhat.com>
2168
2169         * real.c (sticky_rshift_significand): Collect sticky as
2170         unsigned long, not bool.
2171
2172 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
2173
2174         * config/s390/s390.c (s390_address_cost): New function.
2175         config/s390/s390-protos.h (s390_address_cost): Add prototype.
2176         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
2177         (RTX_COST): Use COSTS_N_INSNS.
2178
2179 2002-09-18  Douglas Rupp  <rupp@gnat.com>
2180             Donn Terry  <donnte@microsoft.com>
2181
2182         * stor-layout.c (place_field): Handle alignment of whole
2183         structures when MSVC compatible bitfields are involved.
2184         Change method of computing location of MS bitfields to
2185         be compatible with #pragma pack(n).
2186
2187         * tree.h (record_layout_info): Add new field
2188         remaining_in_alignment.
2189
2190         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
2191         (pragma pack): Add paragraph on MSVC bit-field packing.
2192
2193 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
2194
2195         PR optimization/7967
2196         * arm.md (ne_zeroextractsi): Add clobber of the condition code
2197         register.
2198
2199 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
2200
2201         * config/s390/s390.c: Follow spelling conventions.
2202         * config/sh/lib1funcs.asm: Likewise.
2203         * config/sh/sh.c: Likewise.
2204         * config/sh/sh.h: Likewise.
2205         * config/sparc/sparc.c: Likewise.
2206         * config/sparc/sparc.h: Likewise.
2207         * config/sparc/sparc.md: Likewise.
2208         * config/stormy16/stormy16.c: Likewise.
2209         * config/stormy16/stormy16.h: Likewise.
2210         * config/v850/v850.c: Likewise.
2211         * config/v850/v850.h: Likewise.
2212         * config/vax/vax.c: Likewise.
2213         * config/vax/vax.h: Likewise.
2214
2215 2002-09-18  Nick Clifton  <nickc@redhat.com>
2216
2217         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
2218         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
2219         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
2220
2221 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
2222
2223         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
2224         statement that the only translation is to en_UK.
2225
2226 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
2227
2228         * config/alpha/alpha.c: Follow spelling conventions.
2229         * config/alpha/alpha.h: Likewise.
2230         * config/alpha/alpha.md: Likewise.
2231         * config/arc/arc.h: Likewise.
2232         * config/arm/arm.c: Likewise.
2233         * config/arm/arm.h: Likewise.
2234         * config/arm/arm.md: Likewise.
2235         * config/arm/pe.c: Likewise.
2236         * config/arm/unknown-elf.h: Likewise.
2237         * config/avr/avr.c: Likewise.
2238         * config/avr/avr.h: Likewise.
2239         * config/c4x/c4x.c: Likewise.
2240         * config/cris/cris.c: Likewise.
2241         * config/cris/cris.h: Likewise.
2242
2243 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
2244
2245         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
2246         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
2247         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
2248
2249 2002-09-17  Dale Johannesen  <dalej@apple.com>
2250
2251         * cfgcleanup.c (try_forward_edges):  Do not forward a
2252         branch to just after a loop exit before loop optimization;
2253         this interfered with doloop detection.
2254
2255 2002-09-17  Nick Clifton  <nickc@redhat.com>
2256
2257         * config/arm/arm.c (output_return_instruction): Do not
2258         writeback the stack pointer when it is being loaded.
2259         (arm_output_epilogue): Likewise.
2260
2261 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
2262
2263         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
2264         generate a pseudo reg that receives the result of a libcall.
2265         (prepare_float_lib_cmp): Likewise.
2266
2267 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
2268
2269         * config/ia64/elf.h: Remove CPP_PREDEFINES.
2270
2271 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2272
2273         Fix PR/7014 and related objc bugs:
2274         * c-typeck.c (comp_target_types): Added a reflexive argument.
2275         Pass it to ObjC when/if calling objc_comptypes().  Updated all
2276         callers to provide the appropriate reflexive argument.
2277         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
2278         typechecking for all cases of comparisons and assignments,
2279         particularly the obscure and less common ones involving protocols.
2280
2281 2002-09-17  Nick Clifton  <nickc@redhat.com>
2282
2283         * machmode.def (V1DImode): New mode.  A single element vector.
2284         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
2285         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
2286         * tree.c (build_common_tree_nodes_2): Build
2287         unsigned_V1DI_type_node and V1D1_type_node.
2288         * c-common.c (c_common_type_for_mode): Return
2289         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
2290         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
2291
2292 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2293
2294         * doc/objc.texi (Constant string objects): Extended documentation
2295         to make clear that the constant string class ivar layout is
2296         completely fixed.
2297
2298 2002-09-17  Roger Sayle  <roger@eyesopen.com>
2299
2300         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
2301         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
2302
2303 2002-09-16  Richard Henderson  <rth@redhat.com>
2304
2305         * expr.c (emit_block_move): Set memory block size as appropriate
2306         for the copy.
2307
2308 2002-09-16  Richard Henderson  <rth@redhat.com>
2309
2310         PR fortran/3924
2311         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
2312
2313 2002-09-16  Richard Henderson  <rth@redhat.com>
2314
2315         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
2316         as well as OFFSET for BITPOS.
2317
2318 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
2319
2320         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
2321         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
2322         winchip2 and c3.
2323         * doc/invoke.texi: Mention new aliases.
2324
2325 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2326
2327         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
2328         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
2329         downward.
2330         * function.c (pad_below):  Always compile.
2331         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
2332         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
2333         Pad below when the argument is not in a register and the padding
2334         direction is downward.
2335
2336         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
2337         (PAD_VARARGS_DOWN): Define.
2338         * pa.c (function_arg_padding): Revise padding directions to make them
2339         compatible with the 32 and 64-bit runtime architecture documentation.
2340         (hppa_va_arg):  Add code to handle variable and size zero arguments
2341         passed by reference on TARGET_64BIT.  Reformat.
2342         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
2343         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
2344         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
2345         Add comments.
2346         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
2347         (RETURN_IN_MEMORY): Return size zero types in memory.
2348         (FUNCTION_VALUE): Return TFmode in general registers.
2349         (MUST_PASS_IN_STACK): Define.
2350         (FUNCTION_ARG_BOUNDARY): Simplify.
2351         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
2352         by reference.
2353         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
2354
2355 2002-09-16  Richard Henderson  <rth@redhat.com>
2356
2357         * real.c (do_fix_trunc): New.
2358         (real_arithmetic): Call it.
2359         * simplify-rtx.c (simplify_unary_operation): Handle FIX
2360         with a floating-point result mode.
2361
2362 2002-09-16  Richard Henderson  <rth@redhat.com>
2363
2364         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
2365         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
2366         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
2367         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
2368         * builtins.c (fold_builtin_nan): New.
2369         (fold_builtin): Call it.
2370         * real.c (real_nan): Parse a non-empty string.
2371         (round_for_format): Fix NaN significand truncation.
2372         * real.h (real_nan): Return bool.
2373         * doc/extend.texi: Document new builtins.
2374
2375 2002-09-16  Jason Merrill  <jason@redhat.com>
2376             Danny Smith  <dannysmith@users.sourceforge.net>
2377
2378         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
2379         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
2380         (i386_pe_mark_dllimport): Not here.
2381
2382 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
2383
2384         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
2385
2386 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
2387
2388         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
2389         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
2390         < 64.
2391         (rs6000_emit_cmove): Use real_isinf not target_isinf.
2392
2393 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
2394
2395         * calls.c (emit_library_call_value_1): Don't refer to
2396         hard_libcall_value.
2397         * optabs.c (prepare_float_lib_cmp): Likewise.
2398
2399 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
2400
2401         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
2402         mangling.
2403
2404         The following changes are merged from pch-branch:
2405
2406         * doc/gty.texi (GTY Options): Document %a.
2407         * gengtype.c (do_scalar_typedef): New function.
2408         (process_gc_options): Handle `length' option.
2409         (set_gc_used_type): A pointer to an array of structures doesn't
2410         qualify as a pointer to a structure.
2411         (output_escaped_param): Add `%a' escape.
2412         (write_gc_structure_fields): Allow 'desc' on array of unions.
2413         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
2414         do_scalar_typedef.
2415
2416         * gengtype.c (enum rtx_code): Make global.
2417         (rtx_format): Make global.
2418         (rtx_next): New.
2419         (gen_rtx_next): New.
2420         (write_rtx_next): New.
2421         (adjust_field_rtx_def): Skip fields marked by chain_next.
2422         (open_base_files): Delete redundant prototype.
2423         (write_enum_defn): New.
2424         (output_mangled_typename): Correct abort call.
2425         (write_gc_marker_routine_for_structure): Handle chain_next and
2426         chain_prev options.
2427         (finish_root_table): Don't output redundant \n.
2428         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
2429         * c-tree.h (union lang_tree_node): Add chain_next option.
2430
2431         * gengtype.h (NUM_PARAM): New definition.
2432         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
2433         * gengtype.c (find_param_structure): New.
2434         (adjust_field_type): Handle param<n>_is option.
2435         (process_gc_options): Detect use_params option.  Update callers.
2436         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
2437         'use_params' option.
2438         (open_base_files): Add splay-tree.h to list of files included.
2439         (output_mangled_typename): New.
2440         (write_gc_structure_fields): Update 'param' parameter to support
2441         multiple parameters.  Change name mangling.  Allow parameterized
2442         fields to have an apparent scalar type.  Handle param<n>_is options,
2443         use_param option.
2444         (write_gc_marker_routine_for_structure): Update for change to name
2445         mangling.  Better guess the output file for parameterized types.
2446         (write_gc_types): Update for change to name mangling.
2447         (write_gc_root): Update for change to name mangling.  Handle (ignore)
2448         param<n>_is options.
2449         * doc/gty.texi (GTY Options): Add description of param<n>_is
2450         options, use_params option.
2451         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
2452         * gengtype-lex.l: Produce token for param<n>_is.
2453         * gengtype-yacc.y: Parse param<n>_is.
2454
2455         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
2456
2457         * rtl.c: Update comment describing rtx_format.
2458         * rtl.h (union rtunion): Separate definition and typedef.
2459         (struct rtx_def): Use gengtype to mark.
2460         * Makefile.in (gengtype.o): Also depend on rtl.def.
2461         * ggc.h (ggc_mark_rtx_children): Delete prototype.
2462         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
2463         * ggc-common.c (ggc_mark_rtx_children): Delete.
2464         (ggc_mark_rtx_children_1): Delete.
2465         (gt_ggc_m_rtx_def): Delete.
2466         * gengtype.c (adjust_field_rtx_def): New.
2467         (adjust_field_type): Call adjust_field_rtx_def.
2468         (write_gc_structure_fields): Add 'default' case to switch if none
2469         is specified; remove unused code.
2470
2471         * tree.h (struct tree_exp): Update for change to meaning
2472         of special.
2473         * gengtype.c (adjust_field_tree_exp): New function.
2474         (adjust_field_type): Handle `tree_exp' special here.
2475         (write_gc_structure_fields): Don't handle `tree_exp' special here.
2476         Handle new `dot' option.
2477
2478         * gengtype.h: Make `info' a pointer-to-const.
2479         * gengtype-yacc.y (yacc_ids): Use xasprintf.
2480
2481         * gengtype.c (write_gc_structure_fields): Remove implementation
2482         of `always' option, add `default' option.
2483         * doc/gty.texi (GTY Options): Remove documentation of `always',
2484         add `default'.
2485
2486 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
2487
2488         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
2489
2490 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2491
2492         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
2493
2494         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
2495         instead of the *-protos.h file directly.
2496         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
2497         * darwin.c (machopic_output_stub): Move prototype ...
2498         * darwin-protos.h (machopic_output_stub): ... here.
2499         * rs6000-protos.h (machopic_output_stub): Don't declare.
2500
2501 2002-09-16  Richard Henderson  <rth@redhat.com>
2502
2503         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
2504
2505 2002-09-16  Richard Henderson  <rth@redhat.com>
2506
2507         * real.c, real.h: Rewrite from scratch.
2508
2509         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
2510         (paranoia): New target.
2511         * builtins.c (fold_builtin_inf): Use new real.h interface.
2512         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
2513         * c-lex.c (interpret_float): Likewise.
2514         * emit-rtl.c (gen_lowpart_common): Likewise.
2515         * optabs.c (expand_float): Use real_2expN.
2516         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
2517         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
2518         (FLOAT_WORDS_BIG_ENDIAN): New.
2519         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
2520         directly to REAL_VALUE_NEGATIVE.
2521         * loop.c (canonicalize_condition): Likewise.
2522         * simplify-rtx.c: Include tree.h.
2523         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
2524         with floating-point result modes.
2525         * toplev.c (backend_init): Call init_real_once.
2526
2527         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
2528         * tree.c (build_real): Likewise.
2529         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
2530         float_values, inited_float_values, check_float_value): Remove.
2531         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
2532         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
2533         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
2534         (VAX_HALFWORD_ORDER): Remove.
2535
2536 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
2537
2538         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
2539         (s390_load_address): ... this new function.
2540         (s390_decompose_address): Allow the argument pointer and all
2541         virtual registers as 'pointer' registers.
2542         (s390_expand_plus_operand): Use s390_load_address.
2543         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
2544         ("force_la_31"): New insn pattern.
2545         config/s390/s390-protos.h (legitimize_la_operand): Remove.
2546         (s390_load_address): Add prototype.
2547
2548         * config/s390/s390.c: Include "optabs.h".
2549         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
2550         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
2551         s390_expand_cmpstr): Add prototypes.
2552         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
2553         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
2554         for operands 0 and 1 to "memory_operand".  Add type attribute.
2555         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
2556         for operands 0 and 1 to "memory_operand".  Add type attribute.
2557         ("movstrdi_long", "movstrsi_long"): Remove.
2558         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
2559         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
2560         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
2561         ("clrstrsico"): Remove, replace by ...
2562         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
2563         ("clrstrsi_64"): Rename to "clrstr_long_64".
2564         ("clrstrsi_31"): Rename to "clrstr_long_31".
2565         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
2566         ("cmpstr_const"): Remove, replace by ...
2567         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
2568         ("cmpstr_64"): Rename to "cmpstr_long_64".
2569         ("cmpstr_31"): Rename to "cmpstr_long_31".
2570
2571 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
2572
2573         * ABOUT-NLS: Follow spelling conventions.
2574         * ChangeLog: Likewise.
2575         * ChangeLog.1: Likewise.
2576         * ChangeLog.2: Likewise.
2577         * ChangeLog.3: Likewise.
2578         * ChangeLog.4: Likewise.
2579         * ChangeLog.5: Likewise.
2580         * ChangeLog.6: Likewise.
2581         * FSFChangeLog.10: Likewise.
2582         * FSFChangeLog.11: Likewise.
2583         * c-common.c: Likewise.
2584         * c-lex.c: Likewise.
2585         * c-objc-common.c: Likewise.
2586         * cppexp.c: Likewise.
2587         * cppinit.c: Likewise.
2588         * cpplex.c: Likewise.
2589         * doloop.c: Likewise.
2590         * flow.c: Likewise.
2591         * function.c: Likewise.
2592         * integrate.c: Likewise.
2593         * loop.c: Likewise.
2594         * reg-stack.c: Likewise.
2595         * reload.h: Likewise.
2596         * ssa.c: Likewise.
2597
2598 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
2599
2600         * ChangeLog: Follow spelling conventions.
2601         * ChangeLog.0: Likewise.
2602         * ChangeLog.1: Likewise.
2603         * ChangeLog.2: Likewise.
2604         * ChangeLog.4: Likewise.
2605         * ChangeLog.6: Likewise.
2606         * config.gcc: Likewise.
2607         * dwarfout.c: Likewise.
2608         * reload1.c: Likewise.
2609         * simplify-rtx.c: Likewise.
2610         * unwind-sjlj.c: Likewise.
2611         * config/avr/avr.h: Likewise.
2612         * config/d30v/d30v.h: Likewise.
2613         * config/frv/frv.c: Likewise.
2614         * config/frv/frv.h: Likewise.
2615         * config/ip2k/ip2k.h: Likewise.
2616         * config/m88k/m88k-move.sh: Likewise.
2617         * config/stormy16/stormy16.c: Likewise.
2618         * config/stormy16/stormy16.h: Likewise.
2619         * doc/extend.texi: Likewise.
2620         * doc/interface.texi: Likewise.
2621         * doc/invoke.texi: Likewise.
2622         * doc/md.texi: Likewise.
2623         * doc/rtl.texi: Likewise.
2624         * doc/tm.texi: Likewise.
2625         * doc/trouble.texi: Likewise.
2626         * ginclude/float.h: Likewise.
2627         * treelang/treelang.texi: Likewise.
2628
2629 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2630
2631         * i386-protos.h (i386_pe_dllexport_name_p,
2632         i386_pe_dllimport_name_p, i386_pe_unique_section,
2633         i386_pe_declare_function_type, i386_pe_record_external_function,
2634         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
2635         prototype.
2636         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
2637         * i386/t-interix (winnt.o): Likewise.
2638
2639         * v850-protos.h (v850_output_addr_const_extra): Prototype.
2640
2641 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
2642
2643         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
2644         MIPS ABI CPP macros.
2645         (TARGET_CPU_CPP_BUILTINS): Redefine.
2646         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
2647         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
2648
2649 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2650
2651         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
2652
2653 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
2654
2655         * ChangeLog: Follow spelling conventions.
2656         * ChangeLog.0: Likewise.
2657         * ChangeLog.1: Likewise.
2658         * ChangeLog.2: Likewise.
2659         * ChangeLog.3: Likewise.
2660         * ChangeLog.4: Likewise.
2661         * ChangeLog.5: Likewise.
2662         * ChangeLog.6: Likewise.
2663         * FSFChangeLog.10: Likewise.
2664         * FSFChangeLog.11: Likewise.
2665         * c-common.c: Likewise.
2666         * c-common.h: Likewise.
2667         * c-format.c: Likewise.
2668         * c-opts.c: Likewise.
2669         * cpplib.c: Likewise.
2670         * langhooks.h: Likewise.
2671         * real.c: Likewise.
2672         * reg-stack.c: Likewise.
2673         * toplev.c: Likewise.
2674         * config/arm/arm.c: Likewise.
2675         * config/arm/arm.md: Likewise.
2676         * config/arm/linux-gas.h: Likewise.
2677         * config/arm/netbsd.h: Likewise.
2678         * config/c4x/c4x.c: Likewise.
2679         * config/c4x/c4x.h: Likewise.
2680         * config/c4x/c4x.md: Likewise.
2681         * config/c4x/libgcc.S: Likewise.
2682         * config/fr30/fr30.md: Likewise.
2683         * config/frv/frv.md: Likewise.
2684         * config/ia64/ia64.md: Likewise.
2685         * config/mips/mips.h: Likewise.
2686         * config/mn10300/mn10300.c: Likewise.
2687         * config/stormy16/stormy16.c: Likewise.
2688         * config/v850/v850.md: Likewise.
2689         * doc/extend.texi: Likewise.
2690         * doc/invoke.texi: Likewise.
2691         * doc/md.texi: Likewise.
2692
2693 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
2694
2695         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
2696         library if -pthread is specified.
2697
2698 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
2699
2700         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
2701         for --enable-threads=yes and --enable-threads=posix.
2702
2703 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
2704
2705         * config/sparc/cypress.md: Replace Sparc with SPARC.
2706         * config/sparc/freebsd.h: Likewise.
2707         * config/sparc/gmon-sol2.c: Likewise.
2708         * config/sparc/hypersparc.md: Likewise.
2709         * config/sparc/lb1spc.asm: Likewise.
2710         * config/sparc/lb1spl.asm: Likewise.
2711         * config/sparc/linux.h: Likewise.
2712         * config/sparc/linux64.h: Likewise.
2713         * config/sparc/lynx.h: Likewise.
2714         * config/sparc/sol2.h: Likewise.
2715         * config/sparc/sparc-modes.def: Likewise.
2716         * config/sparc/sparc.c: Likewise.
2717         * config/sparc/sparc.h: Likewise.
2718         * config/sparc/sparc.md: Likewise.
2719         * config/sparc/sparclet.md: Likewise.
2720         * config/sparc/supersparc.md: Likewise.
2721         * config/sparc/sysv4.h: Likewise.
2722         * config/sparc/vxsim.h: Likewise.
2723         * config/sparc/vxsparc64.h: Likewise.
2724
2725 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
2726
2727         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
2728
2729 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2730
2731         * ChangeLog: Follow spelling conventions.
2732         * ChangeLog.0: Likewise.
2733         * ChangeLog.2: Likewise.
2734         * ChangeLog.3: Likewise.
2735         * ChangeLog.4: Likewise.
2736         * ChangeLog.5: Likewise.
2737         * ChangeLog.6: Likewise.
2738         * cppfiles.c: Likewise.
2739         * cppinit.c: Likewise.
2740         * cpplib.h: Likewise.
2741         * cse.c: Likewise.
2742         * debug.h: Likewise.
2743         * df.c: Likewise.
2744         * dominance.c: Likewise.
2745         * hashtable.c: Likewise.
2746         * hashtable.h: Likewise.
2747         * loop.c: Likewise.
2748         * config/arm/README-interworking: Likewise.
2749         * config/arm/arm.c: Likewise.
2750         * config/arm/arm.h: Likewise.
2751         * config/arm/arm.md: Likewise.
2752         * config/dsp16xx/dsp16xx.h: Likewise.
2753         * config/frv/frv.c: Likewise.
2754         * config/frv/frv.h: Likewise.
2755         * config/ip2k/ip2k.h: Likewise.
2756         * config/rs6000/rs6000.c: Likewise.
2757         * config/stormy16/stormy-abi: Likewise.
2758         * config/stormy16/stormy16.h: Likewise.
2759         * config/v850/v850.c: Likewise.
2760
2761 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2762
2763         * loop.c: Fix a comment typo.
2764
2765 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2766
2767         * config/fr30/fr30.h: Fix comment typos.
2768         * config/frv/frv.c: Likewise.
2769         * config/i386/xmmintrin.h: Likewise.
2770         * config/mips/mips.c: Likewise.
2771         * config/sh/sh.c: Likewise.
2772
2773 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
2774
2775         * haifa-sched.c: Follow spelling conventions.
2776         * regclass.c: Likewise.
2777         * regrename.c: Likewise.
2778         * config/fp-bit.c: Likewise.
2779         * config/frv/frv.h: Likewise.
2780         * config/m88k/m88k.c: Likewise.
2781         * config/mcore/mcore.c: Likewise.
2782         * config/rs6000/darwin.h: Likewise.
2783         * config/rs6000/gnu.h: Likewise.
2784         * config/rs6000/linux.h: Likewise.
2785         * config/rs6000/linux64.h: Likewise.
2786         * config/rs6000/rs6000.c: Likewise.
2787         * config/rs6000/rs6000.h: Likewise.
2788         * config/sh/sh.c: Likewise.
2789         * config/sparc/sparc.c: Likewise.
2790         * config/sparc/ultra1_2.md: Likewise.
2791
2792 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
2793
2794         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
2795         memory operand when source is 0 (K constraint).
2796         ("movsi_internal"): Likewise.
2797         ("movdf_internal"): Likewise.
2798         ("movsf_internal"): Likewise.
2799
2800 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
2801
2802         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
2803         targetm.binds_local_p to set SYMBOL_REF_FLAG.
2804         (rs6000_xcoff_encode_section_info): Likewise.
2805         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2806
2807 2002-09-10  Theodore A. Roth  <troth@verinet.com>
2808
2809         * gcc/config/avr/avr.h: Set default options for C++ for avr.
2810
2811 2002-09-13  Richard Henderson  <rth@redhat.com>
2812
2813         * Makefile.in (toplev.o): Depend on real.h.
2814         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
2815
2816 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
2817
2818         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
2819         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
2820         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
2821
2822 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
2823
2824         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
2825
2826 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2827
2828         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
2829         ia64*-*-linux*): Set extra_parts.
2830         * config/ia64/t-aix (EXTRA_PARTS): Remove.
2831         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
2832
2833 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
2834
2835         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
2836         * config/h8300/h8300.c: Likewise.
2837         * config/h8300/h8300.h: Likewise.
2838         * config/h8300/h8300.md: Likewise.
2839         * doc/invoke.texi: Likewise.
2840
2841 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
2842
2843         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
2844
2845 2002-09-13  Richard Henderson  <rth@redhat.com>
2846
2847         * config/alpha/alpha.md (attr type): Add callpal.
2848         (imb, trap, load_tp, set_tp): Use it.
2849         * config/alpha/ev4.md (ev4_callpal): New.
2850         * config/alpha/ev5.md (ev5_callpal): New.
2851         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
2852         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
2853         (alphaev5_insn_pipe): Likewise.
2854
2855 2002-09-13  Andreas Jaeger  <aj@suse.de>
2856
2857         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
2858
2859 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2860
2861         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
2862         LIB2ADDEH): New, set to NULL.
2863         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
2864
2865 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
2866
2867         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
2868         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
2869         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
2870         Add declarations.
2871         (_U_Qfneg): Remove.
2872
2873 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
2874
2875         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
2876         for H8/300, H8S aa:8 mode.
2877         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
2878         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
2879         for H8/300 aa:8 mode.
2880
2881 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
2882
2883         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
2884         insns.
2885
2886 2002-09-12  Richard Henderson  <rth@redhat.com>
2887
2888         * Makefile.in (HOST_PRINT): Use print-rtl1.o
2889         (print-rtl.o): Don't define GENERATOR_FILE.
2890         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
2891         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
2892         unless GENERATOR_FILE.
2893
2894 2002-09-12  Stan Shebs  <shebs@apple.com>
2895
2896         * config/darwin.h (USER_LABEL_PREFIX): Define here...
2897         * config/i386/darwin.h: ... instead of here.
2898
2899         * target.h (struct gcc_target): New field
2900         terminate_dw2_eh_frame_info.
2901         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2902         (TARGET_INITIALIZER): Add it.
2903         * dwarf2out.c (output_call_frame_info): Use target hook.
2904         * dwarf2asm.c (dw2_asm_output_delta): Use macro
2905         ASM_OUTPUT_DWARF_DELTA if defined.
2906         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
2907         (ASM_OUTPUT_DWARF_DELTA): Ditto.
2908         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
2909         (ASM_OUTPUT_DWARF_PCREL): Ditto.
2910         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
2911         (powerpc-*-darwin*): Ditto.
2912         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
2913         to work correctly for Darwin.
2914         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
2915         (STARTFILE_SPEC): Add crtbegin.o.
2916         (ENDFILE_SPEC): Define.
2917         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
2918         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
2919         (ASM_OUTPUT_DWARF_DELTA): Define.
2920         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2921         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
2922
2923 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
2924
2925         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
2926         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
2927         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
2928
2929 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
2930
2931         * toplev.c: Move default definition of USER_LABEL_PREFIX...
2932         * defaults.h: ... here.
2933
2934 2002-09-12  Richard Henderson  <rth@redhat.com>
2935
2936         * vax.c: Include tree.h earlier.
2937
2938 2002-09-12  Stan Shebs  <shebs@apple.com>
2939
2940         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
2941         (machopic_operand_p): Ditto.
2942
2943 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2944
2945         * config/arm/arm.c (arm_compute_initial_elimination_offset):
2946         Fix a comment typo.
2947
2948 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2949
2950         * toplev.c (do_abort): Fix a comment typo.
2951
2952 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2953
2954         * cselib.c: Fix comment formatting.
2955         * gengtype.c: Likewise.
2956
2957 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
2958
2959         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
2960         (udivmodhi4): Likewise.
2961
2962 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
2963             Roger Sayle  <roger@eyesopen.com>
2964
2965         * i386.c (any_fp_register_operand, fp_register_operand,
2966         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
2967         New predicate functions.
2968         * i386-protos.h:  Add their prototypes.
2969         * i386.h: Add them to PREDICATE_CODES.
2970         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
2971         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
2972         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
2973         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
2974         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
2975         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
2976         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
2977         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
2978         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
2979         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
2980         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
2981         Use these new predicates to simplify and correct the use of
2982         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
2983
2984 2002-09-12  Jason Merrill  <jason@redhat.com>
2985
2986         * diagnostic.c (output_add_identifier): New fn.
2987         * diagnostic.h: Declare it.
2988
2989         * calls.c (store_one_arg): Use size_in_bytes to determine the
2990         amount of space to push.
2991
2992 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
2993
2994         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
2995
2996 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
2997
2998         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
2999         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
3000         (s390_select_ccmode): Likewise.
3001         (s390_branch_condition_mask): Likewise.
3002         (optimization_options): Do not set flag_branch_on_count.
3003         (s390_split_branches): Handle doloop branches.
3004         (s390_chunkify_pool): Likewise.
3005         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
3006         ("doloop_end"): New expander.
3007         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
3008         associated splitters): New.
3009
3010 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
3011
3012         * fold-const.c (make_range): Only narrow to signed range if
3013         the signed range is smaller than the unsigned range.
3014
3015 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
3016
3017         * emit-rtl.c (set_mem_size): New function.
3018         * expr.h (set_mem_size): Declare.
3019         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
3020         (expand_block_move): Instead, use adjust_address and
3021         replace_equiv_address to generate proper aliasing info.
3022         Move common code out of conditionals.  Localize vars.
3023
3024 2002-09-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
3025
3026         * optabs.c (expand_binop): Minor cleanup.
3027         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
3028
3029 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
3030
3031         * print-tree.c (print_node): Print the restrict qualifier.
3032
3033 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
3034
3035         * doc/install.texi: Fix typos.
3036
3037 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
3038
3039         * Makefile.in: Remove all references to s-under and underscore.c.
3040         * collect2.c, tlink.c: Change all uses of prepends_underscore
3041         to look directly at USER_LABEL_PREFIX.
3042
3043 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
3044
3045         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
3046         alignment to csect.
3047         (rs6000_xcoff_unique_section): Only set section name for public
3048         data.
3049         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
3050         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
3051         duplicate definition.
3052
3053 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3054
3055         * pa.md (extzv): Check predicates before emitting extzv_32.
3056         (insv): Likewise.
3057
3058 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
3059
3060         * config/s390/s390.h (MOVE_MAX): Define to correct value.
3061         (MAX_MOVE_MAX): Define.
3062         (MOVE_BY_PIECES_P): Define.
3063         (CLEAR_BY_PIECES_P): Define.
3064
3065 2002-09-10  Denis Chertykov  <denisc@overta.ru>
3066
3067         * config/avr/avr.md (movstrhi): Use right operands for conversion.
3068
3069 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
3070
3071         PR c/7873
3072         * arm.md (insv): Use reg_or_int_operand for operand[3].
3073
3074 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
3075
3076         * rs6000.c (rs6000_assemble_visibility): Protect declaration
3077         inside macro.  Correct function definition typo.
3078         (rs6000_xcoff_section_type_flags): New function.
3079         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
3080         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
3081         with appropriate PIC test.
3082         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
3083         determine readonly.
3084         (rs6000_binds_local_p): Combine PIC flags.
3085         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
3086         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
3087
3088 2002-09-09  Per Bothner  <per@bothner.com>
3089
3090         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
3091         characters, and only print TREE_STRING_LENGTH chars.
3092
3093 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
3094
3095         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
3096         (ASM_FILE_END) New.
3097         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
3098         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
3099         * config/ia64/ia64.c (ia64_asm_output_external): Create list
3100         of external functions if TARGET_HPUX_LD is true.
3101         (ia64_hpux_add_extern_decl): New, routine to put names on
3102         list of external functions.
3103         (ia64_hpux_asm_file_end): Put out declarations for external
3104         functions if and only if they are used.
3105
3106 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3107
3108         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
3109         on TARGET_64BIT before pic register restore.
3110
3111 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
3112
3113         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
3114         (TARGET_HAVE_TLS): New description.
3115
3116 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
3117
3118         * doc/extend.texi (Statement Exprs): Fix broken link.
3119
3120 2002-09-09  Denis Chertykov  <denisc@overta.ru>
3121
3122         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
3123         right conversion of operands[1].
3124
3125 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
3126
3127         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
3128         commutative.  Use "nonimmediate_operand" instead of "register_operand"
3129         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
3130
3131         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
3132         as commutative.
3133
3134         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
3135         mark as commutative.  Use "nonimmediate_operand" instead of
3136         "register_operand" as predicate for operand 1.
3137
3138         ("movstrictsi"): Fix typo in insn name.
3139
3140 2002-09-09  Jan Hubicka  <jh@suse.cz>
3141
3142         * i386.c (index_register_operand): New.
3143         * i386.h (predicate_codes): Add new predicate.
3144         * i386.md (lea_general_*): Use index_regsiter_operand
3145         (ashift to lea splitter): Do not produce invalid leas
3146         (ashift to mov+ashift split): New.
3147
3148 2002-09-09  Nick Clifton  <nickc@redhat.com>
3149
3150         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
3151         Fix folding marks.
3152
3153 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
3154             J"orn Rennecke <joern.rennecke@superh.com>
3155
3156         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
3157
3158 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
3159
3160         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
3161         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
3162         attributes.
3163
3164 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3165
3166         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
3167
3168 2002-09-08  Richard Henderson  <rth@redhat.com>
3169
3170         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
3171         (DW_OP_GNU_push_tls_address): New.
3172         (DW_OP_lo_user): Fix.
3173         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
3174         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
3175         (size_of_loc_descr): Likewise.
3176         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
3177         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
3178         (loc_descriptor_from_tree): Handle TLS variables.
3179         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
3180         (add_location_or_const_value_attribute): ... not here.  Defer
3181         to loc_descriptor_from_tree for TLS variables.
3182
3183         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
3184         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
3185         * config/i386/i386-protos.h: Update.
3186
3187 2002-09-08  Roger Sayle  <roger@eyesopen.com>
3188
3189         PR optimization/6405
3190         * unroll.c (loop_iterations): last_loop_insn should be the previous
3191         non-note instruction before loop->end.
3192         * loop.c (strength_reduce): The conditional jump is the last
3193         non-note instruction before loop->end (as above).
3194
3195 2002-09-08  Roger Sayle  <roger@eyesopen.com>
3196
3197         * combine.c (try_combine): Handle the case that undobuf.other_insn
3198         has been turned into a return or unconditional jump, by inserting
3199         a BARRIER if necessary.
3200         (simplify_set):  Test if a condition code setter has a constant
3201         comparison at compile time, if so convert this insn to a no-op move
3202         and update/simplify the condition code user (undobuf.other_insn).
3203
3204 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
3205
3206         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
3207         (CLEAR_INSN_CACHE): Define.
3208
3209 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
3210
3211         * basic-block.h: Fix comment formatting.
3212         * c-common.c: Likewise.
3213         * c-common.h: Likewise.
3214         * c-lex.c: Likewise.
3215         * c-pretty-print.c: Likewise.
3216         * cfglayout.c: Likewise.
3217         * cfgloop.c: Likewise.
3218         * defaults.h: Likewise.
3219         * et-forest.c: Likewise.
3220         * explow.c: Likewise.
3221         * function.h: Likewise.
3222         * gcov.c: Likewise.
3223         * genattrtab.c: Likewise.
3224         * gengtype.c: Likewise.
3225         * ifcvt.c: Likewise.
3226         * libgcc2.c: Likewise.
3227         * loop.c: Likewise.
3228         * profile.c: Likewise.
3229         * ra-build.c: Likewise.
3230         * real.c: Likewise.
3231         * rtl.h: Likewise.
3232         * tracer.c: Likewise.
3233         * tree-inline.c: Likewise.
3234         * varasm.c: Likewise.
3235
3236 2002-09-08  Jan Hubicka  <jh@suse.cz>
3237
3238         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
3239         handling.
3240
3241         * loop.c (loop_gics_reduce):  Emit addition after.
3242
3243 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
3244
3245         * varasm.c (default_assemble_visibility): Rename from
3246         assemble_visibility.
3247         * output.h: Here too.
3248         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
3249         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
3250
3251 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
3252
3253         * reload.c (find_reloads <p constraint>): Pass operand_mode to
3254         find_reloads_address.
3255
3256 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
3257
3258         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
3259         (anonymous pattern): Likewise.
3260
3261 2002-09-07  Scott Snyder  <snyder@fnal.gov>
3262
3263         PR target/7374
3264         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
3265
3266 2002-09-07  Roger Sayle  <roger@eyesopen.com>
3267
3268         * basic-block.h (struct loop): Remove unused cont_dominator field.
3269
3270 2002-09-07  Igor Shevlyakov <igor@microunity.com>
3271
3272         * varasm.c (decode_rtx_const): Don't check undefined field for
3273         CONST_VECTOR.
3274
3275 2002-09-07  Glen Nakamura  <glen@imodulo.com>
3276
3277         PR opt/7814
3278         * sched-deps.c (sched_analyze_insn): Make sure to add insn
3279         to reg_last->sets after flushing the dependency lists to guarantee
3280         that subsequent clobbers will be dependent on it.
3281
3282 2002-09-07  Igor Shevlyakov <igor@microunity.com>
3283
3284         * combine.c (simplify_shift_const): Calculate rotate count
3285         correctly for vector operands.
3286
3287 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
3288
3289         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
3290         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
3291         tree_expr_nonnegative_p.
3292         (build_conditional_expr): Likewise.
3293         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
3294
3295 2002-09-07  Richard Henderson  <rth@redhat.com>
3296
3297         * builtins.def (inf, inff, infl): Mark const.
3298         (huge_val, huge_valf, huge_vall): Likewise.
3299         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
3300
3301         * real.c (ereal_inf): Clear E before use.
3302
3303 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
3304
3305         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
3306         an expander and an anonymous pattern.  Zero out the upper half
3307         of the dividend in the expander.
3308         (udivmodqi4): Likewise.
3309
3310 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
3311
3312         * config/h8300/h8300.c: Fix formatting.
3313         * config/h8300/h8300.h: Likewise.
3314         * config/h8300/h8300.md: Likewise.
3315
3316 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3317
3318         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
3319         information.
3320
3321 2002-09-07  Graham Stott  <graham.stott@btinternet.com>
3322
3323        * rtlanal.c (dead_or_set_regno_p): Fix typo.
3324
3325 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
3326
3327         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
3328
3329         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
3330         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
3331         (TARGET_ASM_OUT): Add the above here.
3332         * target.h (struct gcc_target): Add "visibility" field.
3333         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
3334         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
3335         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
3336         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
3337
3338 2002-09-06  Ziemowit Laski <zlaski@apple.com>
3339
3340         * c-lang.c (objc_is_id): New stub.
3341         * c-tree.h (objc_is_id): New forward declaration.
3342         * c-typeck.c (build_c_cast): Do not strip protocol
3343         qualifiers from 'id' type.
3344         * objc/objc-act.c (objc_comptypes): Correct handling
3345         of protocol qualifiers.
3346         (objc_is_id): New.
3347
3348 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
3349
3350         * pentium.md (pentium-firstvboth): Fix typo.
3351
3352 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
3353
3354         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
3355         (enum shift_type, enum h8_cpu): Likewise.
3356         (INL, ROT, LOP, SPC macros): Likewise.
3357         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
3358         const designator.
3359         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
3360         space efficient algorithms when optimize for codesize.
3361
3362 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3363
3364         Fix PR/1727 and long-standing failing testcase
3365         objc/formal-protocol-6.m.
3366         * objc-act.c (build_protocol_expr): If compiling for the GNU
3367         runtime, create a list of Protocol statically allocated instances
3368         if it doesn't exist, then add the Protocol object to this same
3369         list.
3370         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
3371         instead of TREE_CHAIN.
3372
3373 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3374
3375         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
3376         10k.  Fixed category dumping - print out category names with the
3377         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
3378         interface.
3379         (finish_objc): Fixed the -gen-decls option.  It was printing out
3380         only the last class.  Dump an interface declaration of all classes
3381         being compiled instead.
3382
3383 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
3384
3385         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
3386         prototype.
3387         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
3388         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
3389         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
3390         rather than GEN_INT.
3391         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
3392         (return_addr_mask, *check_arch2): New.
3393
3394 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
3395
3396         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
3397         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
3398         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
3399         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
3400         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
3401         "adddf3", "*adddf3", "*adddf3_ibm",
3402         "addsf3", "*addsf3", "*addsf3_ibm",
3403         "muldi3", "mulsi3", "mulsidi3",
3404         "muldf3", "*muldf3", "*muldf3_ibm",
3405         "mulsf3", "*mulsf3", "*mulsf3_ibm",
3406         "*anddi3_cc", "*anddi3_cconly", "anddi3",
3407         "*andsi3_cc", "*andsi3_cconly", "andsi3",
3408         "*iordi3_cc", "*iordi3_cconly", "iordi3",
3409         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
3410         "*xordi3_cc", "*xordi3_cconly", "xordi3",
3411         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
3412         instead of "register_operand" as predicate for "%0" operand.
3413
3414 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
3415
3416         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
3417         unconditionally when gcc_cv_as_flags64 checks are gone.
3418         * configure: Rebuilt.
3419
3420 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
3421
3422         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
3423         2002-07-26 change.  Comment.
3424
3425 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3426
3427         * frv.c (frv_unique_section, frv_select_section,
3428         frv_select_rtx_section): Delete.
3429         (frv_in_small_data_p): New.
3430         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
3431         TARGET_ASM_SELECT_RTX_SECTION): Delete.
3432         (TARGET_IN_SMALL_DATA_P): Define.
3433
3434 2002-09-05  Dale Johannesen  <dalej@apple.com>
3435
3436         * reload1.c (reload):  Retain only those memory clobbers
3437         added for variable-array handling.
3438
3439 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
3440
3441         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
3442         return-in-memory rules.
3443         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
3444
3445 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
3446
3447         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
3448         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
3449
3450 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
3451
3452         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
3453         not a compile-time constant for the non-IBM case.
3454         * config/arm/arm-protos.h (arm_float_words_big_endian): New
3455         prototype.
3456         * config/arm/arm.c (arm_float_words_big_endian): New function.
3457         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
3458         if TARGET_VFP  and not TARGET_HARD_FLOAT.
3459         (ARM_FLAG_VFP, TARGET_VFP): Define.
3460         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
3461
3462 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
3463
3464         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
3465         URLs.  Fix AIX wording.
3466
3467 2002-09-05  Stan Shebs  <shebs@apple.com>
3468
3469         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
3470         -fPIC equivalent on Darwin.
3471
3472 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
3473
3474         * sh.c (sh_expand_builtin): Return early if encountering an
3475         error_mark for a type.
3476
3477 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
3478
3479         * config/s390/s390.c (s390_expand_plus_operand): Do not require
3480         double-word scratch register.
3481         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
3482
3483         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
3484         "*cli"): Replace s_operand by memory_operand.
3485         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
3486
3487 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
3488
3489         * config/h8300/h8300.c (asm_file_start): Add a missing
3490         semicolon.
3491
3492 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
3493
3494         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
3495         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
3496         (ix86_output_addr_diff_elt) Likewise.
3497         (x86_output_mi_thunk) Likewise.
3498         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
3499
3500 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3501
3502         * frv.c (frv_encode_section_info): Fix error in last change.
3503
3504 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
3505
3506         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
3507         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
3508         (TARGET_BINDS_LOCAL_P): Define.
3509         (rs6000_override_options): Save original flag_pic value.
3510         (rs6000_elf_select_section): Call default_elf_select_section_1.
3511         (rs6000_elf_unique_section): Call default_unique_section_1.
3512         (rs6000_elf_in_small_data_p): New function.
3513         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
3514         (rs6000_xcoff_select_section): Update based on defaults.
3515         (rs6000_xcoff_unique_section): Set to basic name if not common.
3516         (rs6000_binds_local_p): New function.
3517         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
3518         targetm.have_srodata_section if SDATA_EABI.
3519         (TARGET_IN_SMALL_DATA_P): Define.
3520
3521 2002-09-04  Dale Johannesen  <dalej@apple.com>
3522
3523         * varasm.c (struct rtx_const, decode_rtx_const):
3524         Make veclo and vechi fields not share storage.
3525
3526 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
3527
3528         * loop.c (scan_loop): Don't mark separate insns out of a libcall
3529         for moving.
3530         (move_movables): Abort if we see the first insn of a libcall.
3531
3532 2002-09-04  Richard Henderson  <rth@redhat.com>
3533
3534         * builtin-types.def (BT_FN_FLOAT): New.
3535         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
3536         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
3537         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
3538         * builtins.c (fold_builtin_inf): New.
3539         (fold_builtin): Call it.
3540         * real.c (ereal_inf): New.
3541         * real.h: Declare it.
3542         * doc/extend.texi: Document new builtins.
3543
3544 2002-09-04  Richard Henderson  <rth@redhat.com>
3545
3546         * cse.c (cse_insn): Avoid subreg games if the equivalence
3547         is already in the proper mode.
3548
3549 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
3550
3551         PR c/7102
3552         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
3553
3554 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3555
3556         * pa.md (setccfp0, setccfp1): New patterns.
3557
3558 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3559
3560         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
3561         frv_select_section, frv_select_rtx_section,
3562         frv_encode_section_info, frv_unique_section): Delete.
3563         * frv.c: Update for target hooks.
3564         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
3565         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
3566         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
3567
3568 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3569
3570         * ip2k-protos.h (function_prologue, function_epilogue,
3571         encode_section_info): Update to match target hook specification.
3572         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
3573         (function_prologue, function_epilogue, encode_section_info):
3574         Update to match target hook specification.
3575         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
3576         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
3577         (NOTICE_UPDATE_CC): Cast to void.
3578         * ip2k.md: Add defaults in switch statements.
3579
3580 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
3581
3582         * doc/trouble.texi (Interoperation): Update information about C++ ABI
3583         issues.
3584
3585 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
3586
3587         * config/sparc/t-netbsd64: Disable multilib for now.
3588
3589 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
3590
3591         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
3592         * target.h (gcc_target): Add have_srodata_section member.
3593         * varasm.c (section_category): Add SECCAT_SRODATA.
3594         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
3595         READONLY_SDATA_SECTION defined.
3596         (decl_readonly_section_1): True for SECCAT_SRODATA also.
3597         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
3598         (default_unique_section_1): Likewise.
3599
3600 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3601
3602         * expr.c (emit_group_load): Revise to allow splitting TCmode source
3603         into DImode pieces.
3604
3605         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
3606         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
3607         for floating-point register class.
3608         * pa.c (function_arg): Fix handling of modes wider than one word for
3609         TARGET_64BIT.
3610
3611 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
3612
3613         * combine.c (make_compound_operation): Don't generate zero / sign
3614         extensions in floating point modes.
3615
3616 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
3617
3618         * doc/c-tree.texi: Fix overfull hboxes.
3619         * doc/cppopts.texi: Ditto.
3620         * doc/extend.texi: Ditto.
3621         * doc/gty.texi: Ditto.
3622         * doc/invoke.texi: Ditto.
3623         * doc/makefile.texi: Ditto.
3624         * doc/rtl.texi: Ditto.
3625         * doc/standards.texi: Ditto.
3626         * doc/tm.texi: Ditto.
3627
3628 2002-09-04  Richard Henderson  <rth@redhat.com>
3629
3630         * c-common.c (builtin_define_with_hex_fp_value): New.
3631         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
3632
3633 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
3634
3635         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
3636         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
3637         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
3638         Warn that these options can break ABI compatibility.
3639
3640 2002-09-04  Richard Henderson  <rth@redhat.com>
3641
3642         * real.c (ereal_to_decimal): Add digits parameter.
3643         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
3644         * c-pretty-print.c (pp_c_real_literal): Update call.
3645         * print-rtl.c (print_rtx): Likewise.
3646         * print-tree.c (print_node_brief, print_node): Likewise.
3647         * sched-vis.c (print_value): Likewise.
3648         * config/arc/arc.c (arc_print_operand): Likewise.
3649         * config/c4x/c4x.c (c4x_print_operand): Likewise.
3650         * config/i370/i370.h (PRINT_OPERAND): Likewise.
3651         * config/i386/i386.c (print_operand): Likewise.
3652         * config/i960/i960.c (i960_print_operand): Likewise.
3653         * config/ip2k/ip2k.c (asm_output_float): Likewise.
3654         * config/m32r/m32r.c (m32r_print_operand): Likewise.
3655         * config/m68hc11/m68hc11.c (print_operand): Likewise.
3656         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
3657         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
3658         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
3659         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
3660         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
3661         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3662         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
3663         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3664         * config/mips/mips.c (print_operand): Likewise.
3665         * config/ns32k/ns32k.c (print_operand): Likewise.
3666         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
3667         * config/vax/vax.h (PRINT_OPERAND): Likewise.
3668         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
3669
3670 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
3671
3672         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
3673         xtensa_multibss_section_type_flags.
3674         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
3675
3676 2002-09-04  Richard Henderson  <rth@redhat.com>
3677
3678         * doc/install-old.texi: Don't mention enquire.
3679         * doc/sourcebuild.texi: Update float.h description.
3680
3681 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
3682
3683         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
3684
3685 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
3686
3687         * varasm.c (default_section_type_flags): Append _1 to name with
3688         shlib parameter.  Use original name to call new function with
3689         implicit flag_pic.
3690         (decl_readonly_section): Likewise.
3691         (default_elf_select_section): Likewise.
3692         (default_unique_section): Likewise.
3693         (default_bind_local_p): Likewise.
3694         (categorize_decl_for_section): Add shlib parameter to use in place
3695         of implicit flag_pic.
3696         * output.h: Declare new functions with _1 and shlib argument.
3697
3698 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
3699
3700         * doc/install.texi: Fix typos, formatting problems, and obvious
3701         overfull/underfull boxes.
3702
3703         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
3704         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
3705         include its file, compat.texi.
3706         * doc/compat.texi: New file with new chapter, Binary Compatibility.
3707
3708 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
3709
3710         Debian BTS Bug #157416
3711         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
3712         * cpplib.c (destringize_and_run): Kludge around getting
3713         tokens from in-progress macros.
3714         (_cpp_do__Pragma): Simplify.
3715
3716 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
3717
3718         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
3719         (CPP_CPU_SPEC): Remove.
3720         (TARGET_CPU_CPP_BUILTINS): New.
3721         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
3722         (CPP_SPEC): Remove.
3723         (TARGET_OS_CPP_BUILTINS): New.
3724         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
3725         (TARGET_OS_CPP_BUILTINS): New.
3726         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
3727         TARGET_OS_CPP_BUILTINS.
3728         (CPP_PREDEFINES): Remove.
3729         (CPLUSPLUS_CPP_SPEC): Remove.
3730         (TARGET_OS_CPP_BUILTINS): New.
3731
3732 2002-09-03  Richard Henderson  <rth@redhat.com>
3733
3734         * Makefile.in (USER_H): Add ginclude/float.h.
3735         (FLOAT_H): Remove.
3736         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
3737         (mostlyclean): Don't remove float.h intermediate files.
3738         (distclean): Don't remove float.h.
3739         * config.gcc: Remove all float_format references.
3740         * configure.in (float_format, float_h_file): Remove.
3741
3742         * c-common.c: Include tree-inline.h.
3743         (builtin_define_with_int_value): New.
3744         (builtin_define_type_precision): Use it.
3745         (builtin_define_float_constants): New.
3746         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
3747         __FLT_EVAL_METHOD__.
3748         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
3749         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
3750         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
3751         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
3752         (TARGET_FLT_EVAL_METHOD): New.
3753
3754         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
3755         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
3756         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
3757         * ginclude/float.h: New.
3758
3759 2002-09-03  Stan Shebs  <shebs@apple.com>
3760
3761         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
3762         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
3763         (PREFERRED_DEBUGGING_TYPE): Ditto.
3764         (ASM_OUTPUT_IDENT): Remove empty definition.
3765
3766 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
3767
3768         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
3769         cxx_target.
3770         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
3771         handling routine for builtin pragma.
3772         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
3773         Registered pragma handling routine.
3774         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
3775         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
3776         If builtin pragma seen for math routine and C89 conformance is
3777         requested use different math function in order to set errno.
3778         * t-ia64 (ia64-c.o): Add new rule for new file.
3779
3780 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3781
3782         * config/s390/s390.md ("movti"): Add Q->Q alternative.
3783         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
3784         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
3785
3786         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
3787         "*movsf_ss"): Remove.
3788
3789 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3790
3791         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
3792         Delete macros.
3793
3794 2002-09-03   Arati Dikey  <aratid@kpit.com>
3795
3796         * h8300.c (asm_file_start): Corrected optimization comment.
3797
3798 2002-09-03  Stan Shebs  <shebs@apple.com>
3799
3800         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
3801         * c-tree.h (recognize_objc_keyword): Remove decl.
3802         * c-typeck.c (comp_target_types): Update a comment.
3803
3804 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3805
3806         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
3807         and register validity checks.
3808         (general_s_operand): Adapt to s390_decompose_address interface change.
3809         (q_constraint): Likewise.
3810         (s390_expand_plus_operand): Likewise.
3811         (legitimiate_address_p): Likewise.
3812         (legitimate_la_operand_p): Likewise.
3813         (legitimize_la_operand): Likewise.
3814         (print_operand_address): Likewise.
3815         (print_operand): Likewise.
3816
3817 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3818
3819         PR objc/5956:
3820         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
3821         was causing the new selector never to match the existing ones
3822         (Patch by Alexander Malmberg <alexander@malmberg.org>).
3823
3824 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
3825
3826         * config/i386/i386.md ("femms"): Add "memory" attr "none".
3827
3828 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
3829
3830         * expr.c (expand_expr): Remove extraneous comment and code.
3831
3832 2002-08-31  Richard Henderson  <rth@redhat.com>
3833
3834         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
3835
3836 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3837
3838         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
3839
3840 2002-08-30  Richard Henderson  <rth@redhat.com>
3841
3842         PR opt/7515
3843         * c-objc-common.c: Include target.h.
3844         (c_cannot_inline_tree_fn): Don't auto-inline functions that
3845         don't bind locally.  Factor setting DECL_UNINLINABLE.
3846         * Makefile.in (c-objc-common.o): Update.
3847
3848 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
3849
3850         * doc/install.texi (Configuration, Building): Fix a typo and
3851         some formatting directives.
3852
3853 2002-08-30  Paul Koning <pkoning@equallogic.com>
3854
3855         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
3856         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
3857         implemented" note.
3858         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
3859         for alphabetic order.
3860         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
3861         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
3862         (VAX_HALFWORD_ORDER): Document.
3863         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
3864         IEEE float format.
3865         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
3866         (ASM_OUTPUT_LABEL_REF): Fix font.
3867         (CASE_VECTOR_SHORTEN_MODE): Ditto.
3868
3869 2002-08-30  Denis Chertykov  <denisc@overta.ru>
3870
3871         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
3872         stuff.
3873         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
3874         CONST_DOUBLE constants.
3875
3876 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
3877
3878         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
3879         related defines to...
3880         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
3881         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
3882         as a no-op.
3883
3884 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
3885
3886         * config/arm/arm.c (arm_asm_output_labelref): New function.
3887         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
3888         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
3889
3890 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
3891
3892         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
3893         memory exhausted" workarounds.
3894
3895 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
3896
3897         * diagnostic.c (fancy_abort): Don't repeat "internal error".
3898         * toplev.c (crash_signal): Likewise.
3899
3900 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3901
3902         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
3903         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
3904         Extended, updated documentation.
3905         (-Wundeclared-selector): Documented.
3906
3907 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
3908
3909         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
3910         the value 1.  Do not undef before defining.
3911         * config/darwin.h: Likewise.
3912         * config/dbx.h: Likewise.
3913         * config/dbxcoff.h: Likewise.
3914         * config/dbxelf.h: Likewise.
3915         * config/elfos.h: Likewise.
3916         * config/interix.h: Likewise.
3917         * config/lynx-ng.h: Likewise.
3918         * config/lynx.h: Likewise.
3919         * config/netware.h: Likewise.
3920         * config/psos.h: Likewise.
3921         * config/svr3.h: Likewise.
3922         * config/alpha/alpha.h: Likewise.
3923         * config/alpha/elf.h: Likewise.
3924         * config/alpha/vms.h: Likewise.
3925         * config/arc/arc.h: Likewise.
3926         * config/arm/aout.h: Likewise.
3927         * config/arm/coff.h: Likewise.
3928         * config/c4x/c4x.h: Likewise.
3929         * config/h8300/h8300.h: Likewise.
3930         * config/i386/cygwin.h: Likewise.
3931         * config/i386/djgpp.h: Likewise.
3932         * config/i386/gas.h: Likewise.
3933         * config/i386/gstabs.h: Likewise.
3934         * config/i386/i386-coff.h: Likewise.
3935         * config/i386/i386-interix.h: Likewise.
3936         * config/i386/sco5.h: Likewise.
3937         * config/i386/svr3dbx.h: Likewise.
3938         * config/i386/sysv3.h: Likewise.
3939         * config/i386/win32.h: Likewise.
3940         * config/i386/x86-64.h: Likewise.
3941         * config/i960/i960.h: Likewise.
3942         * config/ia64/ia64.h: Likewise.
3943         * config/ip2k/ip2k.h: Likewise.
3944         * config/m32r/m32r.h: Likewise.
3945         * config/m68k/3b1.h: Likewise.
3946         * config/m68k/3b1g.h: Likewise.
3947         * config/m68k/ccur-GAS.h: Likewise.
3948         * config/m68k/coff.h: Likewise.
3949         * config/m68k/hp2bsd.h: Likewise.
3950         * config/m68k/hp310g.h: Likewise.
3951         * config/m68k/hp320g.h: Likewise.
3952         * config/m68k/hp3bsd.h: Likewise.
3953         * config/m68k/hp3bsd44.h: Likewise.
3954         * config/m68k/linux-aout.h: Likewise.
3955         * config/m68k/m68k-aout.h: Likewise.
3956         * config/m68k/mot3300.h: Likewise.
3957         * config/m68k/netbsd.h: Likewise.
3958         * config/m68k/openbsd.h: Likewise.
3959         * config/m68k/pbb.h: Likewise.
3960         * config/m68k/plexus.h: Likewise.
3961         * config/m68k/sun2.h: Likewise.
3962         * config/m68k/sun3.h: Likewise.
3963         * config/m68k/tower-as.h: Likewise.
3964         * config/m68k/vxm68k.h: Likewise.
3965         * config/m88k/aout-dbx.h: Likewise.
3966         * config/m88k/m88k-aout.h: Likewise.
3967         * config/mcore/mcore-elf.h: Likewise.
3968         * config/mcore/mcore-pe.h: Likewise.
3969         * config/mips/elf.h: Likewise.
3970         * config/mips/elf64.h: Likewise.
3971         * config/mips/iris5gas.h: Likewise.
3972         * config/mips/iris6.h: Likewise.
3973         * config/mips/mips.h: Likewise.
3974         * config/mips/sni-gas.h: Likewise.
3975         * config/mmix/mmix.h: Likewise.
3976         * config/ns32k/netbsd.h: Likewise.
3977         * config/pa/pa64-hpux.h: Likewise.
3978         * config/romp/romp.h: Likewise.
3979         * config/rs6000/sysv4.h: Likewise.
3980         * config/rs6000/xcoff.h: Likewise.
3981         * config/sh/coff.h: Likewise.
3982         * config/sh/elf.h: Likewise.
3983         * config/sparc/linux64.h: Likewise.
3984         * config/sparc/liteelf.h: Likewise.
3985         * config/sparc/netbsd.h: Likewise.
3986         * config/sparc/openbsd.h: Likewise.
3987         * config/sparc/pbd.h: Likewise.
3988         * config/sparc/sp64-elf.h: Likewise.
3989         * config/sparc/sp86x-elf.h: Likewise.
3990         * config/sparc/sparc.h: Likewise.
3991         * config/vax/vax.h: Likewise.
3992         * config/vax/vaxv.h: Likewise.
3993
3994 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
3995
3996         * h8300.c (shift_alg_hi): Various tweaks to improve performance
3997         of HImode shifts.
3998         (get_shift_alg): Corresponding changes.
3999
4000 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4001
4002         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
4003
4004 2002-08-29  Richard Henderson  <rth@redhat.com>
4005
4006         * expr.h (enum block_op_methods): New.
4007         (emit_block_move): Update prototype.
4008         * expr.c (block_move_libcall_safe_for_call_parm): New.
4009         (emit_block_move_via_loop): New.
4010         (emit_block_move): Use them.  New argument METHOD.
4011         (emit_push_insn): Always respect the given alignment.
4012         (expand_assignment): Update call to emit_block_move.
4013         (store_expr, store_field, expand_expr): Likewise.
4014         * builtins.c (expand_builtin_apply): Likewise.
4015         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4016         * function.c (expand_function_end): Likewise.
4017         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
4018         * config/sparc/sparc.c (sparc_va_arg): Likewise.
4019         * calls.c (expand_call, emit_library_call_value_1): Likewise.
4020         (save_fixed_argument_area): Use emit_block_move with
4021         BLOCK_OP_CALL_PARM instead of move_by_pieces.
4022         (restore_fixed_argument_area): Likewise.
4023         (store_one_arg): Fix alignment parameter to emit_push_insn.
4024
4025 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4026
4027         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
4028
4029 2002-08-29  Catherine Moore  <clm@redhat.com>
4030
4031         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
4032         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
4033         (PREDICATE_CODES): Include new predicates.
4034         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
4035         (TARGET_SWITCHES):  Add strict-align.
4036         (TARGET_STRICT_ALIGN): New.
4037         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
4038         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
4039         Define.
4040         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
4041         v850_muldi3.
4042         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
4043         L_callt_save_r2_r31, L_return_r2_r31,
4044         L_save_all_interrupt): Change addi to add.
4045         (L_save_interrupt, L_return_interrupt): Rework.
4046         (__return_r31):  Correct .size directive.
4047         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
4048         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
4049         New routines.
4050         * config/v850/v850.c (expand_prologue): Call
4051         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
4052         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
4053         (reg_or_int9_operand): New predicate.
4054         (reg_or_const_operand): New routine.
4055         * config/v850/v850.md (return_interrupt): Changed from
4056         restore_interrupt.
4057         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
4058         (callt_save_interrupt): Change save sequence.
4059         (callt_return_interrupt): New.
4060         (save_interrupt): Don't use runtime function for LONG_CALLS
4061         and TARGET_PROLOG_FUNCTION.
4062         (save_all_interrupt): Likewise.
4063         (mulsi3): Use new predicate.
4064         (moviscc): Disallow some combination of constants.
4065         Fix define_split for sasf insns, so that it will not generate bad
4066         code if operand0 and operand5 are the same.
4067         * config/v850/v850-protos.h: Prototype new predicates.
4068
4069 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
4070
4071         * c-common.c (builtin_define_type_precision): New function.
4072         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
4073         wchar_t is unsigned in C++.
4074         * doc/cpp.texi (Common Predefined Macros): Document
4075         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
4076         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
4077         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
4078
4079 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
4080
4081         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
4082         section.  Mention that it is enabled by -Wall.
4083         (-Wall): Mention that there can be language-specific warnings as well.
4084         (-Wctor-dtor-privacy): Mention that it is enabled by default.
4085         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
4086
4087 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
4088
4089         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
4090         if it is ever live.
4091
4092         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
4093   &n