OSDN Git Service

* cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2003-01-28  Roger Sayle  <roger@eyesopen.com>
2
3         * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
4
5 2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
6
7         * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
8         class contains a floating-point register, return the size of the
9         mode in half words.
10
11 Tue Jan 28 12:15:13 CET 2003  Jan Hubicka  <jh@suse.cz>
12
13         * i386.c (ix86_carry_flag_operator):  New predicate.
14         (fcmov_operator): Fix whitespace.
15         (ix86_expand_carry_flag_compare):  Deal with floating point.
16         (ix86_expand_int_movcc): Deal with fp; update insn expansion
17         (ix86_expand_int_addcc): Likewise.
18         (ix86_expand_strlensi_unroll_1): likewsie.
19         * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
20         * i386.md (add?i_carry_rex64): Use new predicate.
21         (sub?i3_carry_rex64): Likewise.
22         (x86_mov?icc_0_m1*): Likewise.
23
24 2003-01-28  Andreas Schwab  <schwab@suse.de>
25
26         * cfgloopmanip.c (create_preheader): Initialize src to avoid
27         warning.
28
29         * expmed.c (emit_store_flag): Fix cast to avoid sign
30         comparison warning.
31
32         * combine.c (force_to_mode): Add cast to fix warning when
33         STORE_FLAG_VALUE is negative.
34
35 2003-01-27  Richard Henderson  <rth@redhat.com>
36
37         * Makefile.in (cse.o): Depend on TARGET_H.
38         * cse.c (rtx_cost): Use targetm.rtx_costs.
39         * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
40         * doc/tm.texi: Update.
41         
42         * target.h (targetm.rtx_costs): New.
43         * target-def.h (TARGET_RTX_COSTS): New.
44         * hooks.c (hook_bool_rtx_int_int_intp_false): New.
45         * hooks.h: Update.
46
47         * config/alpha/alpha.c (alpha_rtx_cost_data): New.
48         (alpha_rtx_costs, TARGET_RTX_COSTS): New.
49         * config/alpha/alpha.h (PROCESSOR_MAX): New.
50         (CONST_COSTS, RTX_COSTS): Remove.
51
52         * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
53         config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
54         config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
55         config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
56         config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
57         config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
58         config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
59         config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
60         config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
61         config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
62         config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
63         config/mn10200/mn10200.h, config/mn10300/mn10300.c,
64         config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
65         config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
66         config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
67         config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
68         config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
69         config/stormy16/stormy16.c, config/stormy16/stormy16.h,
70         config/v850/v850.c, config/v850/v850.h,
71         config/xtensa/xtensa.c, config/xtensa/xtensa.h
72         (CONST_COSTS, RTX_COSTS): Move code ...
73         (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
74
75         * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
76         (arm_rtx_costs, TARGET_RTX_COSTS): New.
77         * config/arm/arm-protos.h: Update.
78         * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
79
80         * config/avr/avr.h (CONST_COSTS): Move code ...
81         * config/avr/avr.c (avr_rtx_costs): ... here.
82         (default_rtx_costs): Make static.
83         * config/avr/avr-protos.h: Update.
84
85         * config/h8300/h8300.c (const_costs): Make static.
86         (h8300_and_costs, h8300_shift_costs): Likewise.
87         * config/h8300/h8300-protos.h: Update.
88
89         * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
90         (CONST_COSTS): Move code ...
91         * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here.  Rename from
92         default_rtx_costs; update for signature change.
93         * config/ip2k/ip2k-protos.h: Update.
94
95         * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
96         (CONST_COSTS): Move code ...
97         * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
98         (TARGET_RTX_COSTS): New.
99         (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
100         * config/m68hc11/m68hc11-protos.h: Update.
101
102         * config/m68k/m68k.c (const_int_cost): Make static.
103         * config/m68k/m68k-protos.h: Update.
104
105         * config/mcore/mcore.c (mcore_const_costs): Make static.
106         (mcore_and_cost, mcore_ior_cost): Likewise.
107         * config/mcore/mcore-protos.h: Update.
108
109         * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
110         (mmix_rtx_cost_recalculated): Remove.
111         * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
112         * config/mmix/mmix-protos.h: Update.
113
114         * config/sh/sh.c (shiftcosts): Make static.
115         (addsubcosts, andcosts, multcosts): Likewise.
116         * config/sh/sh-protos.h: Update.
117
118         * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
119         (sparc_rtx_costs): Make static; update for change in signature.
120         * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
121         * config/sparc/sparc-protos.h: Update.
122
123         * config/v850/v850.c (const_costs): Make static.
124         * config/v850/v850-protos.h: Update.
125
126         * config/vax/vax.h (RTX_COSTS): Remove.
127         (CONST_COSTS): Move code ...
128         * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
129         from vax_rtx_cost.
130         (vax_rtx_costs, TARGET_RTX_COSTS): New.
131
132 2003-01-27  Richard Henderson  <rth@redhat.com>
133
134         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.  Really.
135         * config/vax/vax-protos.h: Update.  Really.
136
137 2003-01-28  Alexandre Oliva  <aoliva@redhat.com>
138
139         * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
140         (UNITS_PER_FPVALUE): Defined as the width of a long double, or
141         zero if no hardware floating point.
142         (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
143         (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
144         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
145         (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
146         (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
147         * config/mips/mips.c (mips_arg_info): Pass TFmode values in
148         even FP registers on N32 and N64.
149         (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
150         (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
151         (mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
152         even-register-like alignment to 128-bit arguments.
153         (save_restore_insns): Use UNITS_PER_HWFPVALUE.
154         (mips_function_value): Likewise.  Return TFmode in $f0 and $f2
155         on N32 or N64.
156         * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
157         * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
158         (TPBIT): Set to tp-bit.c.
159         (tp-bit.c): Create out of fp-bit.c.
160
161 2003-01-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
162
163         * c-parse.in: Remove '%expect 32' directive in objc mode.
164
165 2003-01-27  Nathan Sidwell  <nathan@codesourcery.com>
166
167         * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
168         (LIBGCOV): New variable.
169         (libgcc.mk): Add LIBGCOV.
170         (LIBGCC_DEPS): Add libgcov.c.
171         (libgcov.a): New target.
172         (clean): Remove libgcov.a.
173         (install-libgcc): Do libgcov too.
174         (stage1-start, stage2-start, stage3-start, stage4-start): Deal
175         with libgcov.a.
176         * libgcc2.c (L_gcov): Move into ...
177         * libgcov.c: ... here. New file.
178         * mklibgcc.in: Add libgcov rules.
179         * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
180
181         * doc/invoke.texi (profile-arcs, test-coverage): Update and
182         clarify.
183         
184         * profile.c (index_counts_file): Remove duplicate check for open file.
185
186 2003-01-27  Jerry Quinn  <jlquinn@optonline.net>
187
188         * gcc/doc/invoke.texi (Optimization Options): Group together
189         optional and experimental flags.  Move trapv and bounds-check
190         out of this section.  Group floating point flags together.
191         (Code Gen Options): Move trapv and bounds-check to here.
192
193 2003-01-27  Josef Zlomek  <zlomekj@suse.cz>
194
195         * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
196
197 2003-01-27  Richard Earnshaw  <rearnsha@arm.com>
198
199         PR optimization/9090
200         * function.c (purge_addressof_1): After pushing an addressed register
201         onto the stack, simplify the result.
202
203 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
204
205         * doc/extend.texi: Fix typo.
206
207 2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
208
209         * doc/cppopts.texi: Fix typo.
210         * doc/objc.texi: Likewise.
211         * doc/passes.texi: Likewise.
212
213 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
214
215         * real.c (ibm_extended_format): Add 53 to minimum exponent.
216         (encode_ibm_extended): Adjust.
217
218 2003-01-26  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
219
220         * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
221         timevar_id enumerations.
222
223 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
224
225         * combine.c: Fix formatting.
226
227 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
228
229         * doc/gccint.texi: Update the copyright.
230
231 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
232
233         * doc/cpp.texi: Fix typos.
234         * doc/extend.texi: Likewise.
235         * doc/gty.texi: Likewise.
236         * doc/install.texi: Likewise.
237         * doc/passes.texi: Likewise.
238         * doc/rtl.texi: Likewise.
239         * doc/tm.texi: Likewise.
240
241 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
242
243         * config/ia64/fde-glibc.c: Fix comment typos.
244         * config/ia64/hpux.h: Likewise.
245         * config/ia64/ia64.c: Likewise.
246         * config/ia64/ia64.h: Likewise.
247         * config/ia64/unwind-ia64.c: Likewise.
248
249 2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
250
251         * config/i386/i386-modes.def: Fix comment typos.
252         * config/i386/i386.c: Likewise.
253         * config/i386/i386.md: Likewise.
254
255 2003-01-26  Steven Bosscher  <s.bosscher@student.tudelft.nl>
256
257         * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
258         config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
259         ASM_FINISH_DECLARE_OBJECT before defining it.
260         * toplev.c (rest_of_decl_compilation):  Don't define
261         ASM_FINISH_DECLARE_OBJECT.  Only use it if it is defined.
262         (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
263         parameters for DWARF2 targets because they _are_ used.
264
265 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
266
267         * fp-bit.h: Define macros for TFmode floating-point constants
268         in IBM-extended TFmode types.
269         (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
270         widths.
271         * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
272         TFmode type.
273
274         * config/fp-bit.h: Define macros for TFmode floating-point
275         constants in IEEE quad TFmode type.  Declare functions according
276         to L_ macros.
277         (TMODES): Define if __LDBL_MANT_DIG__ is 113.
278         (TFtype, TItype, UTItype): Define if TMODES is defined.
279         (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
280         (F_T_BITOFF, D_T_BITOFF): Define.
281         (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
282         guaranteed to be wide enough.
283         * config/fp-bit.c: Check for L_ macros for tf functions.
284         (__thenan_tf): New.
285         (nan): Adjust.
286         (pack_d, unpack_d): Support IEEE 854 quad type.
287         (_fpmul_parts): Support TFmode.  Compute exponent adjustment
288         from FRAC_NBITS, FRAC_BITS and NGARDS.
289         (usi_to_float): Cast constants to be shifted to fractype
290         instead of assuming long long is wide enough.
291         (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
292
293 2003-01-26  Andreas Jaeger  <aj@suse.de>
294
295         * df.c: Remove prototype of unused function df_regno_rtl_debug.
296
297 2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
298
299         * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
300         (DBBIT_FUNCS): Added _df_to_tf.
301         (TPBIT_FUNCS): New.
302         (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
303         (LIBGCC_DEPS): Added TPBIT.
304         * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
305
306         * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
307         been able to move the result to target.
308
309         * expr.c (emit_group_store): Initialize dst with CONST0_RTX
310         for the appropriate mode.
311
312         * calls.c (emit_library_call_value_1): Handle return values
313         in a PARALLEL.
314
315         * rtl.c (get_mode_alignment): Moved to...
316         * stor-layout.c: ... here.
317
318         * print-rtl.c (print_rtx): Don't print MEM details in
319         GENERATOR_FILEs.
320
321 2003-01-26  Michael Hayes  <mph@paradise.net.nz>
322
323         * df.h: Update comments, tidy formatting.
324         (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
325         REVERSE, UNION, INTERSECTION.  All uses updated.
326         (OLD_DF_INTERFACE): Remove.
327         (struct insn_info): Remove commented out insn field.
328         * df.c: Update comments, tidy formatting.
329         (df_def_table_realloc): Remove.
330
331
332 2003-01-26  Alan Modra  <amodra@bigpond.net.au>
333
334         * calls.c (save_fixed_argument_area): Tidy.
335         (restore_fixed_argument_area): Tidy.  Set alignment of stack_area.
336         (expand_call): Comment typo fixes.  Don't init low_to_save.  Start
337         call chain loop at 1 if !try_tail_call.  Formatting.
338         (emit_library_call_value_1): Don't init low_to_save or high_to_save.
339         Use save_fixed_argument_area and restore_fixed_argument_area.
340
341 2003-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
342
343         * df.c (df_uses_record): Handle CC0.
344
345 2003-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
346
347         * reload.c (maybe_memory_address_p): New function.
348         (find_reloads_address): Use it instead of memory_address_p.
349
350 2003-01-25  Kaz Kojima  <kkojima@gcc.gnu.org>
351
352         * final.c (shorten_branches): Align the address of code label
353         when computing initial lengths and addresses.
354
355 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
356
357         * config/m68hc11/m68hc11.md: Fix a comment typo.
358
359 2003-01-25  Andreas Jaeger  <aj@suse.de>
360
361         * config/i386/i386.c (x86_output_mi_thunk): Correct test for
362         TARGET_MACHO.
363
364 2003-01-25  Roger Sayle  <roger@eyesopen.com>
365
366         * gcse.c (bypass_last_basic_block): New global variable.
367         (bypass_block):  Use redirect_edge_and_branch_force to redirect
368         fall-through edges.  Use bypass_last_basic_block to determine
369         which blocks have valid PRE information.
370         (bypass_conditional_jumps): Initialize bypass_last_basic_block.
371
372 Sat Jan 25 22:31:59 CET 2003  Jan Hubicka  <jh@suse.cz>
373
374         * gcse.c (local_cprop_pass): Update reg_sets table when needed.
375
376 Sat Jan 25 21:04:33 CET 2003  Jan Hubicka  <jh@suse.cz>
377                               Eric Botcazou <ebotcazou@libertysurf.fr>
378         PR opt/8492
379         * gcse.c (one_cprop_pass): Delete unreachable blocks.
380
381 2003-01-25  Richard Henderson  <rth@redhat.com>
382
383         * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
384         from ia64_aix_select_rtx_section.
385         (ia64_rwreloc_select_section): Simlarly; use default*_1 function
386         instead of saving and restoring flag_pic.
387         (ia64_rwreloc_unique_section): Similarly.
388         * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
389         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
390         * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
391         TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
392
393 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
394
395         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
396         comment.
397
398 2002-01-25  Richard Henderson  <rth@redhat.com>
399
400         * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
401
402 2002-01-25  Kelley Cook <kelleycook@comcast.net>
403
404         * ggc-simple.c (debug_ggc_tree): Add PTR cast.
405
406 2003-01-25  Segher Boessenkool  <segher@koffie.nl>
407
408         * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
409         type for bitmaps.  Use unsigned long.
410         (nBITMAP_WORD_BITS): New macro.
411         (BITMAP_WORD_BITS): New macro.
412         (rest of file): Use it.
413         * bitmap.c: Use it.
414
415 2003-01-25  Richard Henderson  <rth@redhat.com>
416
417         2002-02-19  Robert Lipe  <robertlipe@usa.net>
418         * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
419
420 2002-01-25  Roger Sayle  <roger@eyesopen.com>
421
422         * builtins.c (purge_builtin_constant_p): Scan insn stream
423         sequentially rather than by basic block.
424         * function.c (purge_addressof): Simplify test with INSN_P.
425
426 2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
427
428         * combine.c (simplify_comparison, case AND): Remove a redundant test.
429
430 2002-01-25  Roger Sayle  <roger@eyesopen.com>
431
432         * function.h (struct function): New field calls_constant_p.
433         (current_function_calls_constant_p): New macro for above.
434         * function.c (prepare_function_start): Initialize calls_eh_return
435         and calls_constant_p.
436         * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
437         * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
438         when the current_function_calls_constant_p.
439         * integrate.c (expand_inline_function): Set calls_constant_p if
440         the function being inlined has calls_constant_p set.
441
442 2002-01-25  Roger Sayle  <roger@eyesopen.com>
443
444         * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
445         optimizing, even if flag_gcse is true.
446         * toplev.c (rest_of_compilation): purge_builtin_constant_p
447         only needs to be called when "optimize > 0 && flag_gcse".
448
449 2003-01-25  Roger Sayle  <roger@eyesopen.com>
450
451         * stmt.c (emit_case_bit_tests): New routine to implement suitable
452         switch statements using the equivalent of "if ((1<<x) & cst) ... ".
453         (case_bit_test_cmp): New comparison function for "qsort" to order
454         case_bit_tests by decreasing number of destination nodes.
455         (lshift_cheap_p): New function to determine if "1 << x" is cheap.
456         (expand_end_case_type): Use emit_case_bit_tests to implement
457         suitable switch statments.
458         (CASE_USE_BIT_TESTS): New target macro to disable the above.
459         * Makefile.in (stmt.o): Add dependency on optab.h.
460         * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
461
462 2003-01-23  Andreas Schwab  <schwab@suse.de>
463
464         * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
465         __do_global_ctors_aux hidden global and don't put it in
466         .init_array.
467         * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
468         instead so that it comes first.
469
470 Sat Jan 25 16:11:22 CET 2003  Jan Hubicka  <jh@suse.cz>
471
472         * df.c (read_modify_subreg_p):  When osize == UNITS_PER_WORD,
473         subreg is read/modify.
474
475 Sat Jan 25 15:55:08 CET 2003  Jan Hubicka  <jh@suse.cz>
476
477         * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
478         do libcall for large blocks.
479         * i386.md (comi patterns): Set type to ssecomi.
480         (sse2_unpck?pd): Fix mode of vec_select.
481
482         * cse.c: Include except.h
483         (cse_set_around_loop):  Do not create new basic blocks.
484         * Makefile.in (cse.o): Add dependnecy on except.h
485
486 Sat Jan 25 12:05:17 CET 2003  Jan Hubicka  <jh@suse.cz>
487
488         * builtins.c (fold_trunc_transparent_mathfn): New function.
489         (fold_builtin): Use it.
490         * convert.c (convert_to_real): Re-enable code to convert
491         math functions; add support for floor familly functions.
492
493 2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
494
495         * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
496         dependencies on coretypes.h and $(TM_H).
497
498 Sat Jan 25 11:10:03 CET 2003  Jan Hubicka  <jh@suse.cz>
499
500         * builtins.c (fold_trunc_transparent_mathfn):  Undo accidental commit.
501
502 2002-01-24  Stuart Hastings  <stuart@apple.com>
503
504         * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
505
506 2003-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
507
508         * config/c4x/c4x.md (UNSPEC_BU): New constants.
509         (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
510         (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
511         (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
512         (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST):  Likewise.
513         (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP):  Likewise.
514         (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST):  Likewise.
515         (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE):  Likewise.
516
517 Fri Jan 24 23:44:12 CET 2003  Jan Hubicka  <jh@suse.cz>
518
519         * emit-rtl.c (reg_attrs_htab): New static variable.
520         (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
521         functions.
522         (reg_rtx): Do not maintain regno_decl.
523         (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
524         set_mem_attrs_from_reg): New global function.
525         (init_emit): Do not initialize regno_decl.
526         (init_emit_once): initialize reg_attrs_htab.
527         * final.c (alter_subreg): Do not replace REG by SUBREG.
528         (gen_mem_expr_from_op): Improve output.
529         (output_asm_operands): Likewise.
530         * function.c (assign_params): Do not set REGNO_DECL.
531         * function.h (struct function): Kill regno_decl.
532         (REGNO_DECL): Kill.
533         * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
534         * print_rtl.c (print_rtx): Output REG information.
535         * regclass.c (reg_scan_mark_refs): Update attrs.
536         * reload1.c (alter_reg): Likewise.
537         * simplify_rtx.c (simplify_subreg): Likewise.
538         * stmt.c (expand_decl): Likewise.
539         * rtl.def (REG): Add new field.
540         * rtl.h (struct reg_attrs): New.
541         (rtunion_def): At rtreg.
542         (X0MEMATTR): Add checking.
543         (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
544         (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
545         Declare.
546         * tree.h (SET_DECL_RTL): Call set_decl_rtl.
547
548 2003-01-24  Bob Wilson  <bob.wilson@acm.org>
549
550         * config/xtensa/xtensa.c: Remove unused include of machmode.h.
551         (xtensa_emit_call, print_operand): Fix printf format strings
552         to avoid compile warnings.
553         (xtensa_function_prologue, xtensa_function_epilogue): Change type
554         of "size" argument to HOST_WIDE_INT to fix compile warnings.
555         * config/xtensa/xtensa-protos.h
556         (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
557
558 Fri Jan 24 23:03:32 CET 2003  Jan Hubicka  <jh@suse.cz>
559
560         * builtins.c (DEF_BUILTIN): Accept 10 arguments.
561         (implicit_built_in_decls): New global array.
562         (mathfn_built_in): New global function.
563         (fold_trunc_transparent_mathfn): New static function
564         (expand_builtin_strstr, expand_bultin_strchr,
565         expand_builtin_strpbrk, expand_builtin_strcpy,
566         expand_builtin_strncpy, expand_bultin_strcmp,
567         expand_bultin_strncat, expand_builtin_fputs): Use
568         implicint_built_in_decls.
569         (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
570         * builtins.def: Fix comments.
571         (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
572         DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
573         DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
574         DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
575         (DEF_C99_C90RES_BULTIN): New.
576         (*f, *l builtins): Update.
577         * c-common.c (DEF_BUILTIN): Initialize implicit array.
578         (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
579         * convert.c (strip_float_extensions): New global function.
580         * tree.h (DEF_BUILTIN): Accept 10 arguments.
581         (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
582         Declare.
583         * java/builtins.c (define_builtin): Handle implicit.
584         (DEF_BUILTIN): Update.
585         * tm.texi (TARGET_C99_FUNCTIONS): Document.
586         * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
587         * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
588         when using glibc2.
589
590 2003-01-24  Bob Wilson  <bob.wilson@acm.org>
591
592         * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
593         extra_parts, and fixincludes.  Add xtensa/t-elf tmake_file.
594         (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
595         * config/xtensa/crti.asm: New file.
596         * config/xtensa/crtn.asm: New file.
597         * config/xtensa/t-elf: New file.
598         * config/xtensa/t-linux: New file.
599         * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
600         Move various CFLAGS settings to new t-elf file.
601
602 2003-01-24  Richard Henderson  <rth@redhat.com>
603
604         PR optimization/4382
605         * tree-inline.c (find_builtin_longjmp_call_1): New.
606         (find_builtin_longjmp_call): New.
607         (inlinable_function_p): Use it.
608
609 2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
610
611         * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
612         * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
613         * config/i386/i386.c (function_arg_pass_by_reference): New.
614         (ix86_va_arg): Support arguments passed by reference.
615
616 2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
617
618         * cfgloopanal.c: New file.
619         * cfgloopmanip.c: New file.
620         * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
621         (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
622         cfglayout.o): Add dependency on cfgloop.h.
623         (cfgloop.o): Add flags.h dependency.
624         * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
625         (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
626         (struct loop, struct loops, flow_loops_find, flow_loops_update,
627         flow_loops_free, flow_loops_dump, flow_loop_dump,
628         flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
629         LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
630         LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
631         flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
632         loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
633         find_common_loop, verify_loop_structure): Declarations moved to ...
634         * cfgloop.h: New file.
635         * bb-reorder.c (reorder_basic_blocks): Modified.
636         * cfglayout.c: Include cfgloop.h.
637         (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
638         cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
639         (break_superblocks): New static function.
640         (cfg_layout_finalize): Use it.
641         (cfg_layout_split_block): New function.
642         * cfglayout.h (struct reorder_block_def): Add copy and duplicated
643         fields.
644         (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
645         changed.
646         (cfg_layout_split_block): Declare.
647         * cfgloop.c: Include cfgloop.h and flags.h.
648         (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
649         get_loop_body): Avoid signed versus unsigned comparison warnings.
650         (make_forwarder_block, flow_loops_find, loop_preheader_edge,
651         loop_latch_edge): Modified.
652         (verify_loop_structure): Modified to use flags stored in loop structure;
653         check irreducible loops.
654         (cancel_loop, cancel_loop_tree): New functions.
655         (estimate_probability): Use loop analysis code for predictions.
656         (estimate_loops_at_level):  Avoid signed versus unsigned comparison
657         warnings.
658         * doloop.c: Include cfgloop.h.
659         * loop.c: Include cfgloop.h.
660         * predict.c: Include cfgloop.h.
661         * toplev.c: Include cfgloop.h.
662         * unroll.c: Include cfgloop.h.
663         * tracer.c (tracer): Modified.
664
665 2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
666
667         * config/h8300/h8300.c (get_shift_alg): Fix a typo.
668
669 2003-01-24  Ulrich Weigand  <uweigand@de.ibm.com>
670
671         * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
672         * configure: Regenerate.
673
674         * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
675         (tls_symbolic_reference_mentioned_p): Add prototype.
676         (s390_tls_get_offset): Add prototype.
677         (emit_pic_move): Remove prototype, replace by ...
678         (emit_symbolic_move): .. this new prototype.
679
680         * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
681         (tls_model_chars): New global variable.
682         (s390_encode_section_info): Encode TLS model.
683         Use targetm.binds_local_p to check for local symbols.
684         (s390_strip_name_encoding): New function.
685         (TARGET_STRIP_NAME_ENCODING): Define.
686
687         (get_thread_pointer): New function.
688         (legitimize_tls_address): New function.
689         (legitimize_address): Call it.
690         (emit_pic_move): Remove, replace by ...
691         (emit_symbolic_move): ... this new function.
692
693         (larl_operand): Handle TLS operands.
694         (legitimate_constant_p): Likewise.
695         (s390_decompose_address): Likewise.
696         (s390_cannot_force_const_mem): New function.
697         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
698
699         (s390_output_symbolic_const): Handle TLS unspecs.
700         (print_operand): New code 'J'.
701         (machine_function): Add struct member 'some_ld_name'.
702         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
703
704         (enum s390_builtin): New type.
705         (code_for_builtin_64, code_for_builtin_31): New global variables.
706         (s390_init_builtins, s390_expand_builtin): New functions.
707         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
708
709         * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
710         (ASM_OUTPUT_LABELREF): Define.
711         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
712
713         * config/s390/s390.md: Define TLS UNSPEC constants.
714         ("movdi", "movsi"): Handle TLS operands.
715         ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
716         ("*tls_load_64", "*tls_load_31"): New insns.
717         ("call_value_tls", "call_value_tls_exp"): New expanders.
718         ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
719         "bas_tls_64", "bas_tls_31"): New insns.
720
721 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
722
723         * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
724         spe ABI is configured, if requested.
725
726 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
727
728         * doc/passes.texi: Fix typo.
729
730 2003-01-24  Andreas Schwab  <schwab@suse.de>
731
732         * stor-layout.c (excess_unit_span): Only define if used.
733
734 2003-01-24  Jerry Quinn  <jlquinn@optonline.net>
735
736         * gcc/doc/invoke.texi (Optimization Options): List -O levels
737         for each optimization flag.
738
739 2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
740
741         * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
742
743 2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
744
745         * doc/bugreport.texi: Use @command instead of @code for commands.
746         * doc/collect2.texi: Likewise.
747         * doc/headerdirs.texi: Likewise.
748         * doc/invoke.texi: Likewise.
749         * doc/standards.texi: Likewise.
750         * doc/tm.texi: Likewise.
751         * doc/trouble.texi: Likewise.
752
753 2003-01-24  Nick Clifton  <nickc@redhat.com>
754
755         * config/arm/arm.c (use_return_insn): Do not use a single return
756         instruction for interrupt handelrs which have to create a stack
757         frame.
758         (arm_expand_prologue): Do not pre-bias the return address of
759         interrupt handlers which create a stack frame.
760
761 2003-01-24  Nick Clifton  <nickc@redhat.com>
762
763         * Add sh2e support:
764
765         2002-08-12  Alexandre Oliva  <aoliva@redhat.com>
766
767                 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
768                 med_cbranches.  Fix logic in short_cbranches.
769
770         2002-04-03  Alexandre Oliva  <aoliva@redhat.com>
771
772                 * config/sh/sh.md (delay for cbranch): Don't annul delay
773                 slots on SH2e.
774                 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
775                 cbranch with unfilled delay slot on SH2e.
776                 (output_branch): Fill with a nop the delay slot of a
777                 branch that required a delay slot but didn't get one.
778
779         2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
780
781                 * doc/invoke.texi (SH options): Document -m2e.
782                 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
783                 * config/sh/lib1funcs.asm: Likewise.
784                 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
785                 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
786                 not __sh1__.
787                 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
788                 SH2E up.
789                 (SH3E_BIT): Renamed to...
790                 (SH_E_BIT): ... this.  Replace all uses.
791                 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
792                 Replace all uses of TARGET_SH3E with TARGET_SH2E.
793                 (TARGET_SWITCHES): Added 2e.
794                 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
795                 (processor_type): Added PROCESSOR_SH2E.
796                 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
797                 TARGET_SH2E, except in sqrtsf2_i.
798                 (attribute cpu): Added sh2e.
799                 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
800                 (MULTILIB_MATCHES): Use m2e multilib for m3e.
801                 * config.gcc: Add sh2e target support.
802
803 2003-01-24  Phil Edwards  <pme@gcc.gnu.org>
804
805         Rename -W to -Wextra.
806         * c-decl.c:  Update comments.
807         * c-typeck.c:  Likewise.
808         * flags.h:  Likewise.
809         * function.c:  Likewise.
810         * stmt.c:  Likewise.
811         * toplev.c:  Update comments.
812         (W_options):  Add 'extra'.
813         (display_help):  Remove '-W'.
814         (decode_W_option):  Special warn_uninitialized treatment in the case
815         of -Wextra.
816         * doc/invoke.texi:  Update with new entries.
817
818 2003-01-23  Richard Henderson  <rth@redhat.com>
819
820         * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
821         in no-else-block case.  Add commentary.
822
823 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
824
825         * configure.in: Revert last change.
826
827 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
828
829         * configure.in: Don't include ansidecl.h in tconfig.h.
830         * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
831         * unwind-dw2-fde.h (last_fde): Use __attribute__, not
832         ATTRIBUTE_UNUSED.
833
834         * configure: Regenerate.
835
836 2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
837
838         PR java/6748
839         * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
840         regs->nip. Fix rt_sigreturn frame layout. Add support for newer
841         kernels.
842
843 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
844
845         * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
846
847 2003-01-23  Ulrich Weigand  <uweigand@de.ibm.com>
848
849         * genattrtab.c (write_attr_get): Mark 'insn' paramter
850         as ATTRIBUTE_UNUSED.
851
852 2003-01-23  Richard Earnshaw  <rearnsha@arm.com>
853
854         * arm.c (thumb_base_register_rtx_p): New function.
855         (thumb_index_register_rtx_p): New function.
856         (thumb_legitimate_address_p): New function.
857         (thumb_legitimate_offset_p): New function.
858         * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
859         (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
860         definitions.
861         (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
862         (THUMB_LEGITIMATE_OFFSET): Delte.
863         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
864         * arm-protos.h (thumb_legitimate_address_p): Add prototype.
865         (thumb_legitimate_offset_p): Likewise.
866
867 2003-01-23  Andreas Schwab  <schwab@suse.de>
868
869         * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
870
871 2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
872
873         * fixinc/Makefile.in (FL_LIST): Revert last change.
874
875 2003-01-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
876
877         PR other/7341
878         * invoke.texi (ftest-coverage): Fix broken cross-reference.
879         Change @code to @command for gcov command.
880
881         * gcc.texi: Adjust title of gcov section.
882         Adjust copyright.
883         * gcov.texi: Likewise.
884
885 2003-01-22  Roger Sayle  <roger@eyesopen.com>
886
887         PR optimization/8423
888         * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
889         its argument is constant, or 0 if !flag_gcse.
890         * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
891         if it's argument is constant.
892         * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
893         (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
894         (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
895         * builtins.c (purge_builtin_constant_p): New function to force
896         instantiation of any remaining CONSTANT_P_RTX nodes.
897         * rtl.h (purge_builtin_constant_p): Prototype here.
898         * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
899         pass after GCSE and before loop.
900         (flag_gcse): No longer static.
901         * flags.h (flag_gcse): Prototype here.
902
903 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
904
905         * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
906         introduced by last change.
907
908 2003-01-22  Andreas Schwab  <schwab@suse.de>
909
910         * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
911
912 2003-01-22  Kazu Hirata  <kazu@cs.umass.edu>
913
914         * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
915         request a scratch reg on H8S when the shift count is 8.
916
917 2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
918
919         * config/s390/s390-protos.h (preferred_la_operand_p):
920         Remove second parameter.
921         * config/s390/s390.c (preferred_la_operand_p): Likewise.
922         * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
923         (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
924         * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
925         Add peepholes to transform ADD to LOAD ADDRESS.
926
927 2003-01-22  Richard Earnshaw  <rearnsha@arm.com>
928
929         * arm.c (arm_address_register_rtx_p): New function.
930         (arm_legitimate_address_p): New function.
931         (arm_legitimate_index_p): New function.
932         (legitimize_pic_address): Use arm_legitimate_index_p.
933         * arm-protos.h (arm_legtimate_address_p): Add prototype.
934         * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
935         (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
936
937 2003-01-22  Hartmut Penner  <hpenner@de.ibm.com>
938
939         * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
940         * config/s390/2064.md (define_bypass): Correct 'Load' and
941         'Load-address' bypass values.
942
943 2003-01-22  Andreas Schwab  <schwab@suse.de>
944
945         * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
946
947 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
948
949         * genautomata.c (output_internal_insn_latency_func,
950         output_print_reservation_func): Short circuit when there is no
951         automaton to generate code for.
952
953 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
954
955         * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
956         (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
957
958 2003-01-21  Geoffrey Keating  <geoffk@apple.com>
959
960         * config/rs6000/rs6000.md: Remove warning.
961         (builtin_setjmp_receiver): Likewise.
962         * config/darwin.c (update_stubs): Slightly improve terrible hack
963         with identifiers.  Add comment pointing out problems with it.
964         (update_non_lazy_ptrs): Likewise.
965
966 2003-01-21  Richard Henderson  <rth@redhat.com>
967
968         * dwarf2out.c (lookup_filename): Fix printf format warning.
969         * system.h (fread_unlocked, fwrite_unlocked): Undef.
970
971         * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
972         (fixincl.o-warn, gnu-regex.o-warn): New.
973         * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
974         * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
975         * fixinc/fixincl.c (process): Fix printf format warning.
976
977 2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
978
979         * dwarf2out (output_file_names): Don't crash if called
980         with empty file_table.
981
982 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
983
984         * genautomata.c (output_internal_insn_latency_func): Add
985         missing break statement to generated code.
986
987 2003-01-21  Roger Sayle  <roger@eyesopen.com>
988
989         * stmt.c (same_case_target_p): New function to determine whether
990         two case labels branch to the same target.  Split out from...
991         (group_case_nodes): ... here.  Use same_case_target_p instead.
992         (strip_default_case_nodes): Remove explicit case nodes
993         that branch to the default destination.
994         (expand_end_case_type): Call strip_default_case_nodes after
995         group_case_nodes, to simplify the case-list before we count it.
996         Only generate table_label RTX when actually needed.  Try to share
997         thiscase->exit_label and thiscase->data.case_stmt.default_label
998         when a switch has no explicit default case.  Simplify test for
999         constant index.
1000
1001 2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
1002
1003         * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
1004         \t.
1005         (*negsf2_h8300hs): Likewise.
1006         (*addsi3_lshiftrt_16_zexthi): Likewise.
1007         (*iorhi3_lshiftrt_8): Likewise.
1008
1009 2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
1010
1011         * dwarf2out.c (fde_table_in_use): Mark GTY.
1012         (dwarf2out_cfi_label_num): New variable, marked GTY.
1013         (dwarf2out_cfi_label): Use it instead of static label_num.
1014         * emit-rtl.c (label_num): Mark GTY.
1015
1016 2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
1017
1018         * config/h8300/h8300.c (output_plussi): Support H8/300.
1019         (compute_plussi_length): Likewise.
1020         (compute_plussi_cc): Likewise.
1021         * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
1022         output assembly instructions.
1023
1024 2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1025
1026         * calls.c (fix_unsafe_tree): Prototype.
1027
1028         * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
1029         (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
1030         insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
1031         c-parse.o-warn): Add -Wno-error.
1032         (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
1033
1034         * configure.in (--enable-werror): Add new flag.
1035         * doc/install.texi (--enable-werror): Document.
1036         * configure: Regenerate.
1037
1038         * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
1039
1040 2003-01-21  Andreas Schwab  <schwab@suse.de>
1041
1042         * genautomata.c (output_internal_insn_latency_func): Fix missing
1043         close paren in output.
1044
1045 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
1046
1047         * genautomata.c: Space savings in generated code:
1048         (output_dfa_insn_code_func): Split out the table-enlargement
1049         path to an out-of-line static function, dfa_insn_code_enlarge.
1050         (output_internal_insn_latency_func): Use a lookup table for the
1051         default latencies.
1052         (output_print_reservation_func): Use a lookup table for the
1053         strings.
1054
1055 2003-01-21  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
1056
1057         PR opt/7507
1058         * calls.c (fix_unsafe_tree): Split out from ...
1059         (expand_call): ... here.  Use it on the function address too.
1060
1061 2003-01-20  Richard Henderson  <rth@redhat.com>
1062
1063         * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
1064
1065 2003-01-20  Richard Henderson  <rth@redhat.com>
1066
1067         PR opt/7154
1068         * stmt.c (expand_asm_operands): Validize memory operands.
1069
1070 2003-01-20  Richard Henderson  <rth@redhat.com>
1071
1072         PR opt/8848
1073         * ifcvt.c (noce_process_if_block): Correct arguments to
1074         modified_between_p for no-else-block case.
1075
1076 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
1077
1078         * config/h8300/h8300.c (const_costs): Remove a warning.
1079         (output_plussi): Likewise.
1080         (compute_plussi_length): Likewise.
1081         (compute_plussi_cc): Likewise.
1082
1083 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
1084
1085         * config/h8300/h8300.md (addsi_h8300): Remove the last
1086         alternative.
1087
1088 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
1089
1090         * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
1091
1092 2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1093
1094         * system.h (__NO_STRING_INLINES): Define.
1095
1096 2003-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1097
1098         * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
1099         is not a scalar int mode.
1100
1101 2003-01-20  Roger Sayle  <roger@eyesopen.com>
1102
1103         * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
1104         insn's notes following a substitution inside a libcall.
1105
1106 2003-01-20  Zack Weinberg  <zack@codesourcery.com>
1107
1108         * configure.in: Check for system-provided 'uchar' type.
1109         * configure, config.in: Regenerate.
1110         * cpphash.h: Only typedef 'uchar' if the system doesn't.
1111
1112 2003-01-20  Richard Henderson  <rth@redhat.com>
1113
1114         * expr.h (MUST_PASS_IN_STACK): Move implementation...
1115         * calls.c (default_must_pass_in_stack): ... here.
1116
1117 2003-01-20  Vladimir Makarov  <vmakarov@redhat.com>
1118
1119         * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
1120
1121         * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
1122
1123         * genattr.c (main): Output default definition of AUTOMATON_ALTS.
1124         Wrap up definition of `insn_alts'.
1125
1126         * genattrtab.c (main): Wrap up `insn_alts'.
1127
1128 2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1129
1130         * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
1131         prototyping.
1132         * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
1133
1134         * config.in, configure: Regenerate.
1135
1136 2003-01-20  Nick Clifton  <nickc@redhat.com>
1137
1138         * config/arm/arm.md (sibcall_epilogue): Add an
1139         UNSPEC_PROLOGUE_USE to prevent the link register from being
1140         considered dead.
1141
1142 Mon Jan 20 14:36:23 CET 2003  Jan Hubicka  <jh@suse.cz>
1143
1144         * i386.md (SSE cmov splitter):  Handle memory operand in operand 5.
1145
1146 2003-01-20  Andreas Schwab  <schwab@suse.de>
1147
1148         * system.h: Don't declare strsignal if the decl test hasn't been
1149         run yet.
1150
1151 2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
1152
1153         * config/h8300/h8300.c (notice_update_cc): Don't assume that
1154         recog_data.operands[0] is always associated with cc0.
1155
1156 2003-01-19  David Edelsohn  <edelsohn@gnu.org>
1157
1158         * collect2.c (ldgetname): Expand declaration to prototype.
1159         * read-rtl.c (atoll): Add prototype.
1160         * system.h (strsignal): Also declare if no declaration found.
1161
1162 2003-01-19  Alexandre Oliva  <aoliva@redhat.com>
1163
1164         * config.gcc (mips64*-*-linux*): Added.
1165         * config/mips/linux64.h, config/mips/t-linux64: New file.
1166         * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
1167         * config/mips/mips.c (override_options): Use it.
1168         * config/mips/mips.h (TARGET_SWITCHES): Added...
1169         (SUBTARGET_TARGET_SWITCHES): New, empty by default.
1170         * Makefile.in (SPECS): New.
1171         (STAGESTUFF, specs, mostlyclean, install-common): Use it.
1172         * gcc.c (process_command): Move self-spec processing past spec
1173         file loading.
1174         * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
1175         * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
1176         CRTSTUFF_T_CFLAGS.
1177         (SPECS): Document.
1178         * doc/invoke.texi (-mabi-fake-default): Document.
1179
1180 2003-01-19  Stephane Carrez  <stcarrez@nerim.fr>
1181
1182         * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
1183         z_reg, z_reg_qi): Declare static and GTY().
1184         (da_reg): Remove.
1185         (create_regs_rtx): Don't create da_reg.
1186         ("gt-m68hc11.h"): Include for GTY roots.
1187         * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
1188         and GTY() here.
1189         (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
1190         (m68hc11_soft_tmp_reg): Likewise.
1191         * config/m68hc11/m68hc11-protos.h: Remove above declarations.
1192
1193 2003-01-18  Kazu Hirata  <kazu@cs.umass.edu>
1194
1195         * basic-block.h: Fix comment formatting.
1196         * calls.c: Likewise.
1197         * combine.c: Likewise.
1198         * convert.c: Likewise.
1199         * gcov.c: Likewise.
1200         * haifa-sched.c: Likewise.
1201         * libgcc2.c: Likewise.
1202         * loop.c: Likewise.
1203         * profile.c: Likewise.
1204         * system.h: Likewise.
1205
1206 2003-01-18  Roger Sayle  <roger@eyesopen.com>
1207
1208         * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
1209
1210 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1211
1212         * ra-build.c (undef_to_size_word): Avoid `switch' warning.
1213
1214 2003-01-17  Dale Johannesen  <dalej@apple.com>
1215
1216         * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
1217           (*floatunssidf2_internal):  Ditto.
1218
1219 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
1220
1221         * alias.c: Fix comment typos.
1222         * basic-block.h: Likewise.
1223         * c-common.c: Likewise.
1224         * c-common.h: Likewise.
1225         * c-decl.c: Likewise.
1226         * c-opts.c: Likewise.
1227         * c-pragma.c: Likewise.
1228         * c-pretty-print.h: Likewise.
1229         * cfg.c: Likewise.
1230         * cfganal.c: Likewise.
1231         * cfgbuild.c: Likewise.
1232         * cfgcleanup.c: Likewise.
1233         * cfglayout.c: Likewise.
1234         * cfgrtl.c: Likewise.
1235         * convert.c: Likewise.
1236         * cpphash.h: Likewise.
1237         * cpplex.c: Likewise.
1238         * cpplib.h: Likewise.
1239         * df.h: Likewise.
1240         * diagnostic.c: Likewise.
1241         * diagnostic.h: Likewise.
1242         * dwarf2.h: Likewise.
1243
1244 2003-01-17  Stan Shebs  <shebs@apple.com>
1245
1246         * config/darwin-protos.h: Forward-declare struct cpp_reader.
1247
1248 2003-01-17  Douglas B Rupp  <rupp@gnat.com>
1249
1250         * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
1251         mistake in last checkin.
1252
1253 2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
1254
1255         * et-forest.c: Fix comment typos.
1256         * et-forest.h: Likewise.
1257         * except.c: Likewise.
1258         * expr.c: Likewise.
1259         * flags.h: Likewise.
1260         * flow.c: Likewise.
1261         * gcc.c: Likewise.
1262         * gcse.c: Likewise.
1263         * genattrtab.c: Likewise.
1264         * genautomata.c: Likewise.
1265         * gengtype.c: Likewise.
1266         * genrecog.c: Likewise.
1267         * global.c: Likewise.
1268         * gthr-rtems.h: Likewise.
1269
1270 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1271
1272         * i386.c (x86_function_profiler): Fix format specifier.
1273
1274 2003-01-17  Richard Henderson  <rth@redhat.com>
1275
1276         * gengtype.c (walk_type): Allow paramN_is.
1277
1278 2003-01-17  Nick Clifton  <nickc@redhat.com>
1279
1280         * config/i960/t-960bare (i960-c.o): Add missing newline escape.
1281
1282 2003-01-16  Richard Henderson  <rth@redhat.com>
1283
1284         * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
1285
1286 2003-01-16  Richard Henderson  <rth@redhat.com>
1287
1288         * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
1289         (alpha_next_sequence_number): Likewise.
1290         (alpha_this_literal_sequence_number): Likewise.
1291         (alpha_this_gpdisp_sequence_number): Likewise.
1292         (struct alpha_funcs, alpha_funcs_num): Likewise.
1293         (struct alpha_links): Fix branch merge error.
1294         (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
1295
1296 2003-01-17  Alexandre Oliva  <aoliva@redhat.com>
1297
1298         * config/mips/mips.h: Don't use #elif.  Reported by Kaveh
1299         R. Ghazi.
1300
1301 2003-01-16  Kazu Hirata  <kazu@cs.umass.edu>
1302
1303         * ifcvt.c: Fix comment typos.
1304         * lcm.c: Likewise.
1305         * libgcc2.c: Likewise.
1306         * local-alloc.c: Likewise.
1307         * loop.c: Likewise.
1308         * predict.c: Likewise.
1309         * ra-build.c: Likewise.
1310         * ra.c: Likewise.
1311         * ra-colorize.c: Likewise.
1312         * ra.h: Likewise.
1313         * ra-rewrite.c: Likewise.
1314         * regmove.c: Likewise.
1315         * reload.h: Likewise.
1316         * rtlanal.c: Likewise.
1317         * toplev.c: Likewise.
1318         * tree.h: Likewise.
1319         * unwind-dw2-fde-glibc.c: Likewise.
1320         * vmsdbgout.c: Likewise.
1321
1322 2003-01-16  Richard Henderson  <rth@redhat.com>
1323
1324         * dwarf2out.c (struct file_table): Remove.
1325         (FILE_TABLE_INCREMENT): Remove.
1326         (file_table): Make a varray; mark for GC.  Update all users.
1327         (file_table_last_lookup_index): Extract from struct file_table.
1328         (output_file_names): Fix unsigned compare warnings.
1329         (add_name_attribute): Remove inline marker.
1330         (add_comp_dir_attribute): Split out from gen_compile_unit_die.
1331         (lookup_filename): Don't manage size of file_table.
1332         (init_file_table): Allocate file_table with GC.
1333         (dwarf2out_init): Don't record main_input_filename here.
1334         (dwarf2out_finish): Do it here instead.
1335
1336 2003-01-16  Bruce Korb  <bkorb@gnu.org>
1337
1338         * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
1339
1340 2003-01-16  Kaz Kojima  <kkojima@gcc.gnu.org>
1341
1342         * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
1343         instead of rotldi3_mextr.
1344
1345 2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>
1346
1347         * haifa-sched.c (move_insn): Restore moving all schedule group.
1348         (set_priorities): Restore taking SCHED_GROUP_P into account.
1349
1350         * sched-deps.c (add_dependence): Restore processing the last group
1351         insn.
1352         (remove_dependence, group_leader): Restore the functions.
1353         (set_sched_group_p): Restore adding dependencies from previous insn
1354         in the group.
1355         (compute_forward_dependences): Restore usage of group_leader.
1356
1357         * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
1358         account.
1359
1360         * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
1361         account.
1362         (can_schedule_ready_p): Ditto.
1363         (add_branch_dependences): Restore skipping over the group insns.
1364
1365 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
1366
1367         * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
1368         68HC12 pre/post inc/dec side effects.
1369
1370 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
1371
1372         * config/m68hc11/m68hc11.h (MASK_M6812): Define.
1373
1374 Thu Jan 16 21:50:25 2003  J"orn Rennecke <amylaar@onetel.net.uk>
1375
1376         * sh.md (mshflo_w_x): Fix description of operation.
1377
1378 2003-01-16  Zack Weinberg  <zack@codesourcery.com>
1379
1380         * config/rs6000/rs6000.h: Mention Altivec registers in
1381         commentary.  Fix typo.
1382
1383 2003-01-16  David Edelsohn  <edelsohn@gnu.org>
1384
1385         * config/rs6000/rs6000.md (movti_string): Remove clobber.
1386         * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
1387         generate PARALLEL with clobber for TARGET_POWER.
1388
1389 2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1390
1391         * ra-colorize.c (colorize_one_web): Initialize variable.
1392         * regmove.c (fixup_match_1): Likewise.
1393         * reload1.c (reload_as_needed): Likewise.
1394         * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
1395
1396 2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
1397
1398         * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
1399
1400 2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1401
1402         * dbxout.c (lastfile, cwd): Fix `unused' warning.
1403         * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
1404         dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
1405         is_main_source, file_table, decl_die_table_in_use,
1406         abbrev_die_table_in_use, line_info_table_in_use,
1407         separate_line_info_table_in_use, pubname_table_in_use,
1408         arange_table_in_use, ranges_table_in_use,
1409         current_function_has_inlines): Likewise.
1410         * flow.c (life_analysis): Likewise.
1411         * genemit.c (gen_insn): Likewise.
1412         * protoize.c (cplus_suffix): Likewise.
1413
1414         * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
1415         * arm.h (ROUND_UP_WORD): Likewise.
1416
1417         * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
1418         warning.
1419         * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
1420         init_emit_once): Likewise.
1421         * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
1422         Likewise.
1423         * function.c (assign_stack_temp_for_type): Likewise.
1424         * loop.c (loop_invariant_p): Likewise.
1425         * recog.c (push_operand): Likewise.
1426         * regclass.c (init_reg_sets_1): Likewise.
1427         * reload.c (update_auto_inc_notes): Likewise.
1428         * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
1429         * stmt.c (expand_asm_operands): Likewise.
1430         * stor-layout.c (start_record_layout): Likewise.
1431
1432 2003-01-16  Herman A.J. ten Brugge <hermantenbrugge@home.nl>
1433
1434         * config/c4x/c4x.md (epilogue): Correct last patch.
1435
1436 2003-01-15  Richard Henderson  <rth@redhat.com>
1437
1438         * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
1439         also check that GP is being used.
1440         (alpha_find_lo_sum_using_gp): New.
1441         (alpha_does_function_need_gp): Use get_attr_usegp.
1442         * config/alpha/alpha-protos.h: Update.
1443         * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
1444         as needed.
1445
1446 2003-01-15  Roger Sayle  <roger@eyesopen.com>
1447
1448         * gcse.c (one_cprop_pass): Change function arguments to take both
1449         cprop_jumps and bypass_jumps flags instead of just alter_jumps.
1450         (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
1451         (bypass_jumps): New function to perform separate jump bypassing pass.
1452         * rtl.h (bypass_jumps): Add function prototype.
1453         * timevar.def (TV_BYPASS): New timing variable.
1454         * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
1455         (dump_file): New entry for the bypass RTL dump file.
1456         (rest_of_compilation): Insert new jump bypassing optimization
1457         pass after loop.
1458         * doc/passes.texi: Document new pass.
1459
1460 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1461
1462         * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
1463         ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
1464         * pa.h (TARGET_SOM_SDEF): Define.
1465         * pa-hpux11.h (TARGET_SOM_SDEF): Define.
1466
1467 2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
1468
1469         * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
1470         allocate 4-bytes of locals on 68HC11.
1471         (expand_epilogue): Likewise.
1472         (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
1473
1474 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
1475
1476         * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
1477         and -mshort-double to the assembler to specify the ABI.
1478         (LINK_SPEC): Likewise.
1479         (CPP_SPEC): Pass HCS12 specific define.
1480         (MASK_M68S12): New define.
1481         (TARGET_M68S12): Likewise.
1482         (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
1483         (TARGET_VERSION): Update.
1484         * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
1485         (LINK_SPEC): Update.
1486         (ASM_SPEC): Update.
1487         * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
1488         * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
1489
1490 2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
1491
1492         * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
1493         the return code.
1494
1495 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
1496
1497         * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
1498         flag before setting it.
1499
1500 2003-01-15  Roger Sayle  <roger@eyesopen.com>
1501
1502         * c-semantics.c (genrtl_while_stmt):  Improve initial RTL generation
1503         when loop condition is known true, i.e.  "while (1) { ... }".
1504         (genrtl_for_stmt): Similarly for "for" statements.
1505
1506 2003-01-15  Roger Sayle  <roger@eyesopen.com>
1507
1508         * real.c (real_sqrt): Return a bool result indicating whether
1509         a floating point exception or trap should be raised.
1510         * real.h (real_sqrt): Update function prototype.
1511         * builtins.c (fold_builtin): Only fold non-trapping square
1512         roots unless we're ignoring errno and trapping math.
1513
1514 2003-01-15  John David Anglin  <dave.anglin@nrc.gc.ca>
1515
1516         * expr.h (emit_conditional_add): Add PARAMS to declaration.
1517         * gengtype-lex.l (malloc, realloc): Move defines after include of
1518         system.h.  Remove duplicate include of system.h.
1519
1520 2003-01-15  Roger Sayle  <roger@eyesopen.com>
1521
1522         PR middle-end/9009
1523         * optabs.c (expand_unop):  When manipulating the FP sign bit
1524         using integer operations, account for targets with different
1525         integer and FP word orders.
1526         (expand_abs): Likewise.
1527
1528 2003-01-15  David Edelsohn  <edelsohn@gnu.org>
1529
1530         * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
1531         file extension in section name.
1532
1533 2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
1534
1535         * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
1536         constant offset.
1537
1538 2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
1539
1540         * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
1541         (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
1542         (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
1543         (ARM_PRINT_OPERAND_ADDRESS): Likewise.
1544
1545 Wed Jan 15 12:23:21 CET 2003  Jan Hubicka  <jh@suse.cz>
1546
1547         PR f/9258
1548         * global.c (struct allocno): Add no_stack_reg.
1549         (global_conflicts): Set no_stack_reg.
1550         (find_reg): Use it.
1551
1552         * convert.c (convert_to_real): Fold - and abs only when profitable.
1553         * fold-const.c (fold): Fold truncates in - and abs.
1554
1555 2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
1556
1557         Segher Boessenkool  <segher@koffie.nl>
1558
1559         * predict.c (real_inv_br_prob_base): New variable.
1560         (propagate_freq): Use multiply by reciprocal instead of
1561         division.  Don't divide by 1.0 at all.
1562         (estimate_bb_frequencies): Similar.
1563
1564 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
1565
1566         * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
1567         * configure: Rebuilt.
1568
1569 2003-01-15  Hartmut Penner  <hpenner@de.ibm.com>
1570
1571         * config/s390/s390.c (s390_safe_attr_type): New function.
1572         (s390_use_dfa_pipeline_interface): New function, return true for z900.
1573         (s390_issue_rate): New function.
1574         (s390_agen_dep_p): New function.
1575         (addr_generation_dependency_p): Use 's390_safe_attr_type'.
1576         (s390_adjust_cost): Return 'cost' if new DFA is used.
1577         (s390_adjust_priority): Delete function.
1578         * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
1579         * config/s390/s390.md (atype attribute): Attribute 'atype' default
1580         determined by 'op_type'.
1581         (type attribute): Added more type attributes.
1582         * config/s390/2064.md: New DFA description for z900 pipeline.
1583
1584 2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
1585
1586         * config/i386/i386.c (ix86_expand_vector_move): Validize constant
1587         forced to memory.  Fixes PR bootstrap/9036.
1588
1589         * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
1590         to set $gp before the call.
1591
1592 2003-01-14  Richard Henderson  <rth@redhat.com>
1593
1594         * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
1595         for force_const_mem.
1596
1597 2003-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1598
1599         * genattr.c (main): Rearrange output to avoid prototype warning.
1600         * genautomata.c (transform_3): Fix ambiguous-else warning.
1601         * local-alloc.c (requires_inout): Add parentheses around
1602         assignment used as truth-value.
1603         * timevar.c: Move system includes above local includes.  Include
1604         toplev.h
1605         * Makefile.in (timevar.o): Depend on toplev.h.
1606
1607 2003-01-14  Denis Chertykov  <denisc@overta.ru>
1608
1609         * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
1610         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1611
1612         * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
1613         attributes.
1614         (TARGET_ATTRIBUTE_TABLE): New macro.
1615         (valid_machine_type_attribute): Remove.
1616         (valid_machine_decl_attribute): Remove.
1617         (ip2k_handle_progmem_attribute): New function.
1618         (ip2k_handle_fndecl_attribute): New function.
1619
1620 2003-01-10  Andrew Haley  <aph@redhat.com>
1621
1622         * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
1623         registers to be in correct order.  Add rip.
1624
1625 2003-01-14  Kazu Hirata  <kazu@cs.umass.edu>
1626
1627         * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
1628         (*iorsi3_and_lshiftrt_9_sb): Likewise.
1629
1630 Tue Jan 14 00:45:33 CET 2003  Jan Hubicka  <jh@suse.cz>
1631
1632         * convert.c (strip_float_extensions):  Look for narrowest type handling
1633         FP constants.
1634
1635         * fold-const.c (fold):  Fold (double)float1 CMP (double)float2 into
1636         float1 CMP float2.
1637         * convert.c (strip_float_extensions): Make global.
1638         * tree.h (strip_float_extensions): Declare.
1639
1640 2003-01-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1641
1642         * timevar.def: define TV_NAME_LOOKUP.
1643         * timevar.c (timevar_pop): Be verbose when aborting.
1644
1645 2003-01-13  Andreas Schwab  <schwab@suse.de>
1646
1647         * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
1648         $(parsedir), just move the temporary file at the end.
1649         ($(parsedir)/gengtype-yacc.c): Likewise.
1650
1651 2003-01-13  Alexandre Oliva  <aoliva@redhat.com>
1652
1653         * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
1654         ${ac_tool_prefix} to ADAC or CC.  Protect them from word
1655         splitting.
1656         * configure: Rebuilt.
1657
1658 2003-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1659
1660         * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
1661         internal_mcount): Don't use PARAMS.
1662         (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
1663         ISO C style.
1664         (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
1665
1666 2003-01-13  Andreas Schwab  <schwab@suse.de>
1667
1668         * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
1669         directive.
1670
1671 2003-01-13  Kazu Hirata  <kazu@cs.umass.edu>
1672
1673         * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
1674         (*iorsi3_and_lshiftrt_n_sb): Likewise.
1675
1676 2003-01-12  Mark Mitchell  <mark@codesourcery.com>
1677
1678         PR c++/9264
1679         * c-lex.c (c_lex): Set the token value to error_mark_node for
1680         invalid numeric constants.
1681
1682 2003-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1683
1684         * c-pch.c (asm_file_startpos): Change to `long'.
1685         (pch_init): Use ftell, not ftello.
1686         (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
1687         Use `long' instead of `off_t'.
1688         (c_common_read_pch): Likewise.
1689         * ggc-common.c (gt_pch_save): Use long/ftell instead of
1690         off_t/ftello.
1691
1692 2003-01-12  Alan Modra  <amodra@bigpond.net.au>
1693
1694         * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
1695
1696 2003-01-11  Richard Earnshaw  (rearnsha@arm.com)
1697
1698         * arm-protos.h (struct cpp_reader): Add declaration.
1699
1700 Sat Jan 11 11:02:58 CET 2003  Jan Hubicka  <jh@suse.cz>
1701
1702         PR target/9068
1703         * i386.c (output_fp_compare): Fix typo.
1704
1705 2003-01-10  David Edelsohn  <edelsohn@gnu.org>
1706
1707         * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
1708
1709 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
1710
1711         * Makefile.in (parsedir): New variable.
1712         (docobjdir): New variable.
1713         (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
1714         gengtype-lex.c, gengtype-yacc.c): Use parsedir.
1715         (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
1716         cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
1717         gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
1718         Use docobjdir.
1719         * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
1720         objc.maintainer-clean): Use parsedir.
1721
1722         * varasm.c (struct constant_descriptor_rtx): Remove unused
1723         `label' field.
1724
1725         * toplev.c (documented_lang_options): Document -Winvalid-pch.
1726
1727 2003-01-10  Richard Henderson  <rth@redhat.com>
1728
1729         * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
1730         (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
1731
1732 2003-01-10  Richard Henderson  <rth@redhat.com>
1733
1734         * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
1735         not INTEGRAL_MODE_P when widening extensions.
1736
1737 2003-01-10  Richard Henderson  <rth@redhat.com>
1738
1739         * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
1740
1741 2003-01-10  Geoffrey Keating  <geoffk@apple.com>
1742
1743         * ggc-page.c (ggc_collect): Avoid overflow computing
1744         min_expand.
1745
1746         * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
1747         (RANLIB_TEST_FOR_TARGET): Delete.  Don't pass down to sub-makes.
1748         Remove calls.
1749         * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
1750
1751 Fri Jan 10 22:05:35 CET 2003  Jan Hubicka  <jh@suse.cz>
1752
1753         * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
1754         with weird operands.
1755
1756 2003-01-10  Dale Johannesen <dalej@apple.com>
1757
1758         * calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
1759         parameters.  Call check_sibcall_argument_overlap if indicated.
1760         (check_sibcall_argument_overlap):  Add mark_stored_args_map
1761         parameter.  Don't mark parameter area as clobbered if not set.
1762         (expand_call):  Adjust calls to above.
1763
1764 2003-01-10 Kelley Cook <kelleycook@comcast.net>
1765
1766         * configure.in (linker read-only and read-write section mixing):
1767         Squelch some assembler warnings.
1768         * configure: Likewise.
1769
1770 2003-01-10  Hartmut Penner  <hpenner@de.ibm.com>
1771
1772         * doc/invoke.texi: Document -mtune, delete -mcpu
1773         option for S/390 and zSeries.
1774         * config/s390/s390.c (s390_tune_string) New variable.
1775         (s390_cpu_string) Delete variable.
1776         (override_options): Use s390_tune_string instead of
1777         s390_cpu_string.
1778         * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
1779
1780 2003-01-10  Kazu Hirata  <kazu@cs.umass.edu>
1781
1782         * config/h8300/h8300.md (*iorsi3_ashift_31): New.
1783
1784 2003-01-10  Josef Zlomek  <zlomekj@suse.cz>
1785
1786         * jump.c (next_nonnote_insn_in_loop): New function.
1787         (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
1788         next_nonnote_insn.
1789         (duplicate_loop_exit_test). Likewise.
1790
1791 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
1792
1793         Merge from pch-branch:
1794
1795         2003-01-06  Geoffrey Keating  <geoffk@apple.com>
1796
1797         * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
1798         load.
1799
1800         2002-12-24  Geoffrey Keating  <geoffk@apple.com>
1801
1802         * cpplib.c (count_registered_pragmas): New function.
1803         (save_registered_pragmas): New function.
1804         (_cpp_save_pragma_names): New function.
1805         (restore_registered_pragmas): New function.
1806         (_cpp_restore_pragma_names): New function.
1807         * cpphash.h (_cpp_save_pragma_names): Prototype.
1808         (_cpp_restore_pragma_names): Likewise.
1809         * cpppch.c (struct save_macro_item): Split from save_macro_data.
1810         (struct save_macro_data): New field 'saved_pragmas'.
1811         (save_macros): Update for changes to struct save_macro_data.
1812         (cpp_prepare_state): Call _cpp_save_pragma_names, update
1813         for changes to struct save_macro_data.
1814         (cpp_read_state): Call _cpp_restore_pragma_names, update
1815         for changes to struct save_macro_data.
1816
1817         * cpppch.c (cpp_read_state): Restore the hashtable references
1818         in the cpp_reader.
1819
1820         * tree.h (built_in_decls): Mark for PCH.
1821
1822         * dbxout.c (lastfile): Don't mark for PCH.
1823
1824         * ggc.h: Document PCH calls into memory managers.
1825
1826         2002-12-18  Geoffrey Keating  <geoffk@apple.com>
1827
1828         * doc/invoke.texi (Precompiled Headers): Document the
1829         directory form of PCH.
1830         * cppfiles.c (validate_pch): New function.
1831         (open_file_pch): Search suitably-named directories for PCH files.
1832
1833         2002-12-14  Geoffrey Keating  <geoffk@apple.com>
1834
1835         * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
1836         reorder options.
1837         (Type Information): Mention that the information is also
1838         used to implement PCH.
1839         * doc/passes.texi (Passes): Improve documentation of
1840         language-specific files.
1841
1842         2002-12-11  Geoffrey Keating  <geoffk@apple.com>
1843
1844         * gengtype.c (struct write_types_data): Add reorder_note_routine field.
1845         (struct walk_type_data): Add reorder_fn field.
1846         (walk_type): Process 'reorder' option.
1847         (write_types_process_field): Reorder parameters to gt_pch_note_object,
1848         call reorder_note_routine.
1849         (write_func_for_structure): Reorder parameters to gt_pch_note_object.
1850         (ggc_wtd): Update for change to struct write_types_data.
1851         (pch_wtd): Likewise.
1852         * ggc.h (gt_pch_note_object): Reorder parameters.
1853         (gt_handle_reorder): New definition.
1854         (gt_pch_note_reorder): New prototype.
1855         * ggc-common.c (struct ptr_data): Add reorder_fn.
1856         (gt_pch_note_object): Reorder parameters.
1857         (gt_pch_note_reorder): New.
1858         (gt_pch_save): Call reorder_fn.
1859         * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
1860
1861         * dbxout.c (cwd): Don't mark for PCH.
1862
1863         2002-12-09  Geoffrey Keating  <geoffk@apple.com>
1864
1865         * gengtype.c (finish_root_table): Fix some warnings.
1866         (write_root): Handle TYPE_STRING.
1867         * ggc.h (gt_ggc_m_S): Add prototype.
1868         * stringpool.c (gt_ggc_m_S): New function.
1869
1870         2002-11-30  Geoffrey Keating  <geoffk@apple.com>
1871
1872         * dwarf2out.c (dw2_string_counter): New.
1873         (AT_string_form): Use it.
1874         (same_dw_val_p): Update for removal of hashtable.h hash tables.
1875
1876         2002-11-22  Geoffrey Keating  <geoffk@apple.com>
1877
1878         * dbxout.c: Include gt-dbxout.h.
1879         (lastfile): Mark for PCH/GGC.
1880         (cwd): Likewise.
1881         (struct typeinfo): Likewise.
1882         (typevec): Likewise.
1883         (typevec_len): Likewise.
1884         (next_type_number): Likewise.
1885         (struct dbx_file): Likewise.
1886         (current_file): Likewise.
1887         (next_file_number): Likewise.
1888         (dbxout_init): Allocate typevec, struct dbx_file with GGC.
1889         (dbxout_start_source_file): Allocate struct dbx_file with GGC.
1890         (dbxout_end_source_file): Don't free struct dbx_file.
1891         (dbxout_type): Use GGC to allocate typevec.
1892         * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
1893         (GTFILES): Add dbxout.c.
1894         (gt-dbxout.h): New rule.
1895
1896         * Makefile.in (c-pch.o): Add debug.h as dependency.
1897         * c-pch.c: Include debug.h.
1898         (pch_init): Call start_source_file to keep nesting right.
1899         (c_common_read_pch): Add orig_name parameter.  Call
1900         start_source_file debug hook.  Call end_source_file debug hook.
1901         * c-common.h (c_common_read_pch): Update prototype.
1902         * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
1903         callback.
1904         * cppfiles.c (struct include_file): Add new field `header_name'.
1905         (find_or_create_entry): Default it to `name'.
1906         (open_file_pch): Set it to the original header file searched for.
1907         (stack_include_file): Don't stack an empty buffer, just handle
1908         PCH files immediately.  Pass header_name field to read_pch callback.
1909
1910         2002-11-19  Geoffrey Keating  <geoffk@apple.com>
1911
1912         * function.c (funcdef_no): Mark to be saved in a PCH.
1913
1914         2002-11-15  Geoffrey Keating  <geoffk@apple.com>
1915
1916         * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
1917
1918         * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
1919
1920         2002-11-14  Geoffrey Keating  <geoffk@apple.com>
1921
1922         * optabs.h (code_to_optab): Add GTY marker.
1923
1924         2002-11-13  Geoffrey Keating  <geoffk@apple.com>
1925
1926         * Makefile.in (GTFILES): Add cpplib.h.
1927         * c-common.h (struct c_common_identifier): Don't skip 'node' field.
1928         * c-decl.c (build_compound_literal): Don't use var_labelno.
1929         * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
1930         * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
1931         * varasm.c (const_labelno): Use gengtype to mark.
1932         (var_labelno): Likewise.
1933         (in_section): Likewise.
1934         (in_named_name): Likewise.
1935         (struct in_named_entry): Likewise.
1936         (in_named_htab): Likewise.
1937         (set_named_section_flags): Use GGC to allocate struct in_named_entry.
1938         (init_varasm_once): Use GGC to allocate in_named_htab.
1939         * config/darwin.c (current_pic_label_num): Mark for PCH.
1940
1941         2002-11-11  Geoffrey Keating  <geoffk@apple.com>
1942
1943         * ggc-simple.c (init_ggc_pch): New stub procedure.
1944         (ggc_pch_count_object): Likewise.
1945         (ggc_pch_total_size): Likewise.
1946         (ggc_pch_this_base): Likewise.
1947         (ggc_pch_alloc_object): Likewise.
1948         (ggc_pch_prepare_write): Likewise.
1949         (ggc_pch_write_object): Likewise
1950         (ggc_pch_finish): Likewise.
1951         (ggc_pch_read): Likewise.
1952
1953         2002-11-08  Geoffrey Keating  <geoffk@apple.com>
1954
1955         * c-pch.c (c_common_write_pch): Write the macro definitions after
1956         the GCed data.
1957         (c_common_read_pch): Call cpp_prepare_state.  Restore the macro
1958         definitions after the GCed data.
1959         * cpplib.c (save_macros): New.
1960         (reset_ht): New.
1961         (cpp_write_pch_deps): Split out of cpp_write_pch.
1962         (cpp_write_pch_state): Split out of cpp_write_pch.
1963         (cpp_write_pch): Delete.
1964         (struct save_macro_data): Delete.
1965         (cpp_prepare_state): New.
1966         (cpp_read_state): Erase and restore initial macro definitions.
1967         * cpplib.h (struct save_macro_data): Forward-declare.
1968         (cpp_write_pch_deps): Prototype.
1969         (cpp_write_pch_state): Prototype.
1970         (cpp_write_pch): Delete prototype.
1971         (cpp_prepare_state): Prototype.
1972         (cpp_read_state): Add fourth argument.
1973
1974         2002-11-04  Geoffrey Keating  <geoffk@apple.com>
1975
1976         * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
1977         (write_array): Remove warning.
1978
1979         * gengtype.c (contains_scalar_p): New.
1980         (finish_root_table): Add the table to all languages, even if it's
1981         empty.
1982         (write_roots): Output gt_pch_scalar_rtab.
1983         * ggc-common.c (gt_pch_save): Write out scalars.
1984         (gt_pch_restore): Read scalars back.
1985
1986         * ggc-page.c (OBJECTS_IN_PAGE): New macro.
1987         (struct page_entry): Delete pch_page field.
1988         (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
1989         (clear_marks): Likewise.
1990         (sweep_pages): Likewise.
1991         (poison_pages): Likewise.
1992         (ggc_print_statistics): Likewise.
1993         (ggc_pch_read): Don't free objects read from a PCH.
1994         Properly set up in_use_p and page_tails.
1995
1996         2002-10-25  Geoffrey Keating  <geoffk@apple.com>
1997
1998         * gengtype.c (struct write_types_data): New.
1999         (struct walk_type_data): Make `cookie' const; add extra
2000         prev_val item; add `orig_s' field.
2001         (walk_type): Update prev_val[3].
2002         (write_types_process_field): New.
2003         (write_func_for_structure): Take write_types_data structure.
2004         (write_types): New.
2005         (ggc_wtd): New.
2006         (pch_wtd): New.
2007         (write_types_local_process_field): New.
2008         (gc_mark_process_field): Delete.
2009         (write_local_func_for_structure): New.
2010         (gc_mark_func_name): Delete.
2011         (write_gc_types): Delete.
2012         (write_local): New.
2013         (finish_root_table): Don't include 'ggc_' in PFX.
2014         (write_root): Rename from write_root.  Fill pchw field of structures.
2015         (write_array): New.
2016         (write_roots): Rename from write_gc_roots.  Split out to write_array.
2017         Update to changes to other routines.  Write gt_pch_cache_rtab table.
2018         (main): Write PCH walking routines.
2019         * ggc-common.c: Include toplev.h, sys/mman.h.
2020         (ggc_mark_roots): For cache hashtables, also mark the hash table
2021         and the array of entries.
2022         (saving_htab): New.
2023         (struct ptr_data): New.
2024         (POINTER_HASH): New.
2025         (gt_pch_note_object): New.
2026         (saving_htab_hash): New.
2027         (saving_htab_eq): New.
2028         (struct traversal_state): New.
2029         (call_count): New.
2030         (call_alloc): New.
2031         (compare_ptr_data): New.
2032         (relocate_ptrs): New.
2033         (write_pch_globals): New.
2034         (struct mmap_info): New.
2035         (gt_pch_save): New.
2036         (gt_pch_restore): New.
2037         * ggc-page.c (ROUND_UP_VALUE): New.
2038         (ROUND_UP): New.
2039         (struct page_entry): Add field `pch_page'.
2040         (init_ggc): Use ROUND_UP.
2041         (struct ggc_pch_data): Declare.
2042         (init_ggc_pch): New.
2043         (ggc_pch_count_object): New.
2044         (ggc_pch_total_size): New.
2045         (ggc_pch_this_base): New.
2046         (ggc_pch_alloc_object): New.
2047         (ggc_pch_prepare_write): New.
2048         (ggc_pch_write_object): New.
2049         (ggc_pch_finish): New.
2050         (ggc_pch_read): New.
2051         * ggc.h (gt_pointer_operator): New.
2052         (gt_note_pointers): New.
2053         (gt_pch_note_object): New prototype.
2054         (gt_pointer_walker): New.
2055         (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
2056         (LAST_GGC_ROOT_TAB): Update.
2057         (gt_pch_cache_rtab): Declare.
2058         (gt_pch_scalar_rtab): Declare.
2059         (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
2060         (LAST_GGC_CACHE_TAB): Update.
2061         (gt_pch_save_stringpool): Declare.
2062         (gt_pch_restore_stringpool): Declare.
2063         (gt_pch_p_S): Declare.
2064         (gt_pch_n_S): Declare.
2065         (struct ggc_pch_data): Forward-declare.
2066         (init_ggc_pch): Declare.
2067         (ggc_pch_count_object): Declare.
2068         (ggc_pch_total_size): Declare.
2069         (ggc_pch_this_base): Declare.
2070         (ggc_pch_alloc_object): Declare.
2071         (ggc_pch_prepare_write): Declare.
2072         (ggc_pch_write_object): Declare.
2073         (ggc_pch_finish): Declare.
2074         (ggc_pch_read): Declare.
2075         (gt_pch_save): Declare.
2076         (gt_pch_restore): Declare.
2077         * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
2078         * emit-rtl.c (init_emit_once): Allocate const_int_htab,
2079         const_double_htab, mem_attrs_htab using GGC.
2080         * c-pch.c: Include ggc.h.
2081         (pch_init): Allow reading PCH file back.
2082         (c_common_write_pch): Call gt_pch_save.
2083         (c_common_read_pch): Call gt_pch_restore.
2084         * c-parse.in (init_reswords): Delete now-untrue comment.
2085         Allocate ridpointers using GGC.
2086         * c-objc-common.c (c_objc_common_finish_file): Write PCH before
2087         calling expand_deferred_fns.
2088         * c-common.h (ridpointers): Mark for GTY machinery.
2089         * Makefile.in (stringpool.o): Update dependencies.
2090         (c-pch.o): Update dependencies.
2091         (ggc-common.o): Update dependencies.
2092         * stringpool.c: Include gt-stringpool.h.
2093         (gt_pch_p_S): New.
2094         (gt_pch_n_S): New.
2095         (struct string_pool_data): New.
2096         (spd): New.
2097         (gt_pch_save_stringpool): New.
2098         (gt_pch_restore_stringpool): New.
2099         * tree.c (init_ttree): Make type_hash_table allocated using GC.
2100
2101         2002-10-04  Geoffrey Keating  <geoffk@apple.com>
2102
2103         * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
2104         (output_mangled_typename): Don't pass size_t to printf.
2105
2106         * tree.h (union tree_type_symtab): Add tag to `address' field.
2107         (union tree_decl_u2): Add tag to 'i' field.
2108         * varasm.c (union rtx_const_un): Add tags to all fields.
2109         * gengtype.c (struct walk_type_data): New.
2110         (output_escaped_param): Take struct walk_type_data parameter.
2111         (write_gc_structure_fields): Delete.
2112         (walk_type): New.
2113         (write_gc_marker_routine_for_structure): Delete.
2114         (write_func_for_structure): New.
2115         (gc_mark_process_field): New.
2116         (gc_mark_func_name): New.
2117         (gc_counter): Delete.
2118         (write_gc_types): Use write_func_for_structure.
2119         (write_gc_roots): Use walk_type.
2120
2121         2002-10-02  Geoffrey Keating  <geoffk@apple.com>
2122
2123         * ggc-common.c (ggc_mark_roots): Delete 'x'.
2124         (ggc_splay_dont_free): Fix warning about unused 'x'.
2125         (ggc_print_common_statistics): Remove warnings.
2126
2127         2002-10-01  Mike Stump  <mrs@apple.com>
2128
2129         * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
2130         * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
2131
2132         2002-09-01  Geoffrey Keating  <geoffk@redhat.com>
2133             Catherine Moore  <clm@redhat.com>
2134
2135         * Makefile (c-pch.o): Update dependencies.
2136         (LIBCPP_OBJS): Add cpppch.o.
2137         (cpppch.o): New.
2138         * c-common.c (c_common_init): Don't call pch_init here.
2139         * c-common.h (c_common_read_pch): Update prototype.
2140         * c-lex.c (c_common_parse_file): Call pch_init here.
2141         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
2142         (c_common_decode_option): Handle them.
2143         * c-pch.c: Include c-pragma.h.
2144         (save_asm_offset): Delete.
2145         (pch_init): Move contents of save_asm_offset into here, call
2146         cpp_save_state.
2147         (c_common_write_pch): Call cpp_write_pch.
2148         (c_common_valid_pch): Warn only when -Winvalid-pch.  Call
2149         cpp_valid_state.
2150         (c_common_read_pch): Add NAME parameter.  Call cpp_read_state.
2151         * cppfiles.c (stack_include_file): Update for change to
2152         parameters of cb.read_pch.
2153         * cpphash.h (struct cpp_reader): Add `savedstate' field.
2154         * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
2155         `restore_pch_deps' fields.
2156         (struct cpp_callbacks): Add NAME parameter to `read_pch'.
2157         (cpp_save_state): Prototype.
2158         (cpp_write_pch): Prototype.
2159         (cpp_valid_state): Prototype.
2160         (cpp_read_state): Prototype.
2161         * cpppch.c: New file.
2162         * flags.h (version_flag): Remove prototype.
2163         * mkdeps.c (deps_save): New.
2164         (deps_restore): New.
2165         * mkdeps.h (deps_save): Prototype.
2166         (deps_restore): Prototype.
2167         * toplev.c (late_init_hook): Delete.
2168         (version_flag): Make static again.
2169         (compile_file): Don't call late_init_hook.
2170         * toplev.h (late_init_hook): Delete.
2171         * doc/cppopts.texi: Document -fpch-deps.
2172         * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
2173
2174         2002-08-27  Geoffrey Keating  <geoffk@redhat.com>
2175
2176         * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
2177         callers.
2178         (c_common_valid_pch): Rename from c_valid_pch, change callers.
2179         (c_common_read_pch): Rename from c_read_pch, change callers.
2180
2181         * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
2182         a space between it and its argument.
2183
2184         2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
2185
2186         * c-pch.c: New file.
2187         * toplev.h (late_init_hook): Declare.
2188         * toplev.c (late_init_hook): Define.
2189         (version_flag): Make globally visible.
2190         (compile_file): Call late_init_hook.
2191         (init_asm_output): Make output file seekable.
2192         * gcc.c (default_compilers): Update c-header rule.
2193         * flags.h (version_flag): Declare.
2194         * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
2195         fields.
2196         * cppfiles.c (struct include_file): Add 'pch' field.
2197         (INCLUDE_PCH_P): New.
2198         (open_file_pch): New.
2199         (stack_include_file): Handle PCH files specially.
2200         (find_include_file): Call open_file_pch instead of open_file.
2201         (_cpp_read_file): Explain why open_file is used instead of
2202         open_file_pch.
2203         * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
2204         * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
2205         * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
2206         in cpplib callbacks.
2207         * c-common.c (pch_file): Correct comment.
2208         (allow_pch): Define.
2209         (c_common_init): Call pch_init.
2210         * c-common.h (allow_pch): Declare.
2211         (pch_init): Declare.
2212         (c_valid_pch): Declare.
2213         (c_read_pch): Declare.
2214         (c_write_pch): Declare.
2215         * Makefile.in (c-pch.o): New.
2216         (C_AND_OBJC_OBJS): Add c-pch.o.
2217         * doc/invoke.texi (Precompiled Headers): Add index entries,
2218         complete truncated paragraph.
2219
2220         2002-08-17  Geoffrey Keating  <geoffk@redhat.com>
2221
2222         * c-common.c: (pch_file): Define.
2223         * c-common.h (pch_file): Declare.
2224         * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
2225         (missing_arg): Require --output-pch= to have an argument.
2226         (c_common_decode_option): Handle --output-pch=.
2227         * gcc.c: Document new %V.
2228         (default_compilers): Handle compiling C header files.
2229         (do_spec_1): Implement %V.
2230         (main): Handle "gcc foo.h" without trying to run linker.
2231         * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
2232         (Overall Options): Document what the driver does with header files,
2233         document new -x option possibilities.
2234         (Invoking G++): More documentation for PCH.
2235         (Precompiled Headers): New.
2236
2237         2002-08-09  Geoffrey Keating  <geoffk@redhat.com>
2238
2239         * ggc.h: Don't include varray.h.  Rearrange functions to be more
2240         organized.
2241         (ggc_add_root): Delete.
2242         (ggc_mark_rtx): Delete.
2243         (ggc_mark_tree): Delete.
2244         (struct ggc_statistics): Remove contents.
2245         * ggc-common.c: Remove unneeded includes.
2246         (struct ggc_root): Delete.
2247         (roots): Delete.
2248         (ggc_add_root): Delete.
2249         (ggc_mark_roots): Don't mark `roots'.  Call ggc_mark_stringpool.
2250         (ggc_print_common_statistics): Remove most of the contents.
2251         * Makefile.in (GGC_H): No longer uses varray.h.
2252         (ggc-common.o): Update dependencies.
2253         (c-parse.o): Add varray.h to dependencies.
2254         (c-common.o): Add varray.h.
2255         * stringpool.c (mark_ident): Use mangled name for tree marker routine.
2256         (mark_ident_hash): Rename to ggc_mark_stringpool.
2257         (init_stringpool): Don't use ggc_add_root.
2258         * c-parse.in: Include varray.h.
2259         * c-common.c: Include varray.h.
2260         * objc/Make-lang.in (objc-act.o): Add varray.h.
2261         * objc/objc-act.c: Include varray.h.
2262
2263         2002-07-25  Geoffrey Keating  <geoffk@redhat.com>
2264
2265         * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
2266         (dw_cfi_oprnd1_desc): Likewise.
2267
2268         2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
2269
2270         * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
2271         move out of ifdef.
2272         (alpha_links): Use gengtype to mark; move out of ifdef.
2273         (mark_alpha_links_node): Delete.
2274         (mark_alpha_links): Delete.
2275         (alpha_need_linkage): Use GGC to allocate splay tree, struct
2276         alpha_links, strings.  Don't use ggc_add_root.
2277         * ggc-common.c (ggc_splay_alloc): New.
2278         (ggc_splay_dont_free): New.
2279         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
2280         (ggc_mark_tree): Likewise.
2281         (splay_tree_new_ggc): New.
2282         (ggc_splay_alloc): Declare.
2283         (ggc_splay_dont_free): Declare.
2284         * dwarf2asm.c: Include gt-dwarf2asm.h.
2285         (mark_indirect_pool_entry): Delete.
2286         (mark_indirect_pool): Delete.
2287         (indirect_pool): Use gengtype to mark.
2288         (dw2_force_const_mem): Don't use ggc_add_root.
2289         * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
2290         (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
2291         (gt-dwarf2asm.h): Depend on s-gtype.
2292
2293         2002-07-08  Geoffrey Keating  <geoffk@redhat.com>
2294
2295         * tree.h (union tree_type_symtab): Mark `die' field.
2296         * Makefile.in (dwarf2out.o): Update dependencies.
2297         * dwarf2out.c: Use GGC to allocate all structures.  Convert to htab_t
2298         hash tables.
2299         (dw_cfi_oprnd1_desc): New function.
2300         (dw_cfi_oprnd2_desc): New function.
2301         (indirect_string_alloc): Delete.
2302         (debug_str_do_hash): New function.
2303         (debug_str_eq): New function.
2304         (mark_limbo_die_list): Delete.
2305         (dwarf2out_init): Don't call ggc_add_root.
2306
2307 2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
2308
2309         The following changes are merged from itanium-sched-branch:
2310
2311         2003-01-08  David Edelsohn  <edelsohn@gnu.org>
2312
2313         * doc/md.texi: Clarify assignment of units to automata description.
2314
2315         2003-01-08  Vladimir Makarov  <vmakarov@redhat.com>
2316
2317         * genautomata.c (unit_decl): Remove members
2318         `the_same_automaton_unit' and
2319         `the_same_automaton_message_reported_p'.
2320         (process_unit_to_form_the_same_automaton_unit_lists,
2321         form_the_same_automaton_unit_lists_from_regexp,
2322         form_the_same_automaton_unit_lists, the_same_automaton_lists):
2323         Remove them.
2324         (annotation_message_reported_p): New global variable.
2325         (check_unit_distribution_in_reserv,
2326         check_regexp_units_distribution): New functions.
2327         (check_unit_distributions_to_automata): Rewrite it.
2328
2329         2003-01-04  Vladimir Makarov  <vmakarov@redhat.com>
2330
2331         * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
2332         Use continue instead of break if cycle is too big.
2333
2334         2002-12-20  Vladimir Makarov  <vmakarov@redhat.com>
2335
2336         * genautomata.c (check_unit_distributions_to_automata): Output at
2337         most one message for a unit.
2338         (process_unit_to_form_the_same_automaton_unit_lists): Check
2339         automaton of units instead of units themself.
2340
2341         * doc/md.texi: Describe the constraint about assigning unit to
2342         automata.
2343
2344         2002-12-20  Jan Hubicka  <jH@suse.cz>
2345                     Vladimir Makarov  <vmakarov@redhat.com>
2346
2347         * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
2348         and `in_set_p'.
2349         (gen_cpu_unit): Initialize the new members.
2350         (process_regexp_cycles): Calculate minimal finish cycle too.  Set
2351         up `min_occ_cycle_num'.
2352         (evaluate_max_reserv_cycles): Change the function call.
2353         (CLEAR_BIT): New macro.
2354         (states_union, state_shift): Use the mask.
2355         (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
2356         (form_reservs_matter): New function.
2357         (make_automaton): Call the function and use the mask.
2358         (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
2359         account.
2360
2361         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
2362
2363         * config/ia64/itanium2.md (lfetch): Change the insn reservation.
2364
2365         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
2366
2367         * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
2368         for Itanium.
2369
2370         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
2371
2372         * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
2373         default cpu.
2374
2375         2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
2376                 2002-10-31  Dale Johannesen <dalej@apple.com>
2377
2378         * haifa-sched.c (find_set_reg_weight): New function.
2379         (find_insn_reg_weight): Use the new function.
2380         (schedule_block): Do sorting ready queue always
2381         after insn issue.
2382
2383         2002-11-27  Vladimir Makarov  <vmakarov@redhat.com>
2384
2385         * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
2386
2387         2002-11-19  Vladimir Makarov  <vmakarov@redhat.com>
2388
2389         * haifa-sched.c (choice_entry): New structure.
2390         (choice_stack, cycle_issued_insns): New variables.
2391         (max_issue): Rewrite it.
2392         (choose_ready): Set up ready_try for unknown insns too.
2393         (schedule_block): Allocate and free choice_stack.  Set up
2394         and modify cycle_issued_insns.
2395
2396         * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
2397         with and without filling the bundle.
2398         (bundling): Combine calls of issue_nops_and_insn.
2399
2400         2002-10-17  Vladimir Makarov  <vmakarov@redhat.com>
2401
2402         * config/ia64/itanium1.md: New file.
2403
2404         * config/ia64/itanium2.md: New file.
2405
2406         * config/ia64/ia64.md: Move DFA descriptions into the new files.
2407         Remove the old pipeline description.
2408
2409         * config/ia64/ia64.c (ia64_override_options): Add aliases of
2410         itanium processor names.
2411
2412         2002-10-16  Vladimir Makarov  <vmakarov@redhat.com>
2413
2414         * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
2415         (ia64_reorg):  Set up queried unit codes for Itanium2 too.
2416
2417         * config/ia64/ia64.md: Add descriptions for Itanium2.
2418
2419         2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
2420
2421         * config/ia64/ia64.h (processor_type): New enumeration.
2422         (ia64_tune, ia64_tune_string): New external declarations.
2423         (TARGET_OPTIONS): Add option `tune='.
2424
2425         * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
2426         variables.
2427         (ia64_override_options): Set up `ia64_tune'.
2428         (ia64_sched_reorder2): Set up `clocks' only for Itanium.
2429         (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
2430         (bundling): Add nops for MM-insns only for Itanium.
2431         (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
2432         Itanium.
2433
2434         * config/ia64/ia64.md (cpu): New attribute.
2435         (DFA description): Enable it only for Itanium.
2436
2437         2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
2438                     Richard Henderson  <rth@redhat.com>
2439
2440         * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
2441         MASK_EARLY_STOP_BITS.
2442         (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
2443         (TARGET_SWITCHES): Rename option `tune-stop-bits' to
2444         `early-stop-bits'.
2445
2446         * config/ia64/ia64.c (ia64_dfa_new_cycle,
2447         final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
2448         instead of TARGET_TUNE_STOP_BITS.
2449
2450         * doc/invoke.texi: Rename option `-mtune-stop-bits' to
2451         `-mearly-stop-bits'.
2452
2453         * config/ia64/ia64.c (automata_option "v"): Comment it.
2454
2455         2002-10-07  Vladimir Makarov  <vmakarov@redhat.com>
2456
2457         * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
2458         New macros.
2459         (TARGET_SWITCHES): Add entries for the new option.
2460
2461         * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
2462         dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
2463         (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
2464         global variables.
2465         (ia64_sched_reorder2): Set up `clocks'.
2466         (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
2467         (ia64_dfa_new_cycle): Set up add_cycle.  Permit sorting ready
2468         queue when TARGET_TUNE_STOP_BITS.
2469         (bundling): Insert additional nops for MM-insns.
2470         (final_emit_insn_group_barriers): Add insertion of stop bits
2471         according `stops_p'.
2472         (ia64_reorg): Initiate the new varibales.
2473
2474         * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
2475
2476         2002-10-02  Vladimir Makarov  <vmakarov@redhat.com>
2477
2478         * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
2479         insns at the end of block insn scheduling.
2480
2481         2002-09-30  Vladimir Makarov  <vmakarov@redhat.com>
2482
2483         * sched-deps.c (remove_dependence, group_leader): Remove it.
2484         (add_dependence): Add dependence to group leader to.
2485         (set_sched_group_p): Add dependence to the first insn of the
2486         schedule group too.
2487         (sched_analyze_insn): Make dependence to jump as anti-dependence.
2488         Change true dependence by anti-dependence when
2489         `reg_pending_barrier'.
2490
2491         * sched-rgn.c (init_ready_list, can_schedule_ready_p,
2492         add_branch_dependences): Ignore schedule groups.
2493
2494         * sched-ebb.c (init_ready_list): Ditto.
2495
2496         * (move_insn, set_priorities): Ditto.
2497
2498         * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
2499         flag is clear after reload.
2500         (adjust_cost): Change cost only for output dependencies.
2501
2502         * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
2503
2504         2002-09-26  Vladimir Makarov  <vmakarov@redhat.com>
2505
2506         * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
2507
2508         * target.h (gcc_target): Add member
2509         `dependencies_evaluation_hook'.
2510
2511         * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
2512         macro.
2513         (TARGET_SCHED): Add initiatialization of the new member.
2514
2515         * sched-ebb.c: Include `target.h'.
2516         (schedule_ebb): Call `dependencies_evaluation_hook'.
2517
2518         * sched-rgn.c (schedule_region): Call
2519         `dependencies_evaluation_hook'.
2520
2521         * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
2522         New macro.
2523         (ia64_dependencies_evaluation_hook): New function.
2524
2525         * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
2526         Describe the new hook.
2527
2528         2002-09-25  Vladimir Makarov  <vmakarov@redhat.com>
2529
2530         * target.h (gcc_target): Add members
2531         `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
2532
2533         * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
2534         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
2535         macros.
2536         (TARGET_SCHED): Add initiatialization of the new members.
2537
2538         * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
2539         insn scheduling too.
2540         (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
2541         initialize `ready_try'.
2542         (schedule_block): Use `dfa_new_cycle'.  Sort `ready' only unless
2543         `dfa_new_cycle' says not to do it.
2544
2545         * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
2546         bundling.
2547
2548         * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
2549
2550         * config/ia64/ia64.c: Include `hashtab.h'.
2551         (ia64_first_cycle_multipass_dfa_lookahead_guard,
2552         ia64_dfa_new_cycle, final_emit_insn_group_barriers,
2553         ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
2554         initiate_bundle_states, finish_bundle_states, bundle_state_hash,
2555         bundle_state_eq_p, insert_bundle_state,
2556         initiate_bundle_state_table, finish_bundle_state_table,
2557         try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
2558         get_template, get_next_important_insn, bundling): New functions.
2559         (ia64_internal_sched_reorder): Remove it.
2560         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
2561         TARGET_SCHED_DFA_NEW_CYCLE): New macros.
2562         (ia64_safe_itanium_requires_unit0): Remove it.
2563         (group_barrier_needed_p): Place group barrier right before a real
2564         insn.
2565         (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
2566         Remove them.
2567         (bundle_name): New variable.
2568         (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
2569         _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
2570         _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
2571         pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
2572         temp_dfa_state, prev_cycle_state): New global variables.
2573         (insn_matches_slot, maybe_rotate, finish_last_head,
2574         rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
2575         cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
2576         find_best_packet, itanium_reorder, dump_current_packet,
2577         schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
2578         (sched_data, sched_ready, sched_types): Remove them.
2579         (ia64_sched_init): Initiate only `last_scheduled_insn' and call
2580         `init_insn_group_barriers'.
2581         (ia64_sched_reorder, ia64_sched_reorder2): Call
2582         ia64_dfa_sched_reorder.
2583         (ia64_variable_issue): Rewrite it.
2584         (bundle_state): New structure.
2585         (index_to_bundle_states, bundle_states_num,
2586         allocated_bundle_states_chain, free_bundle_state_chain): New
2587         global variables.
2588         (ia64_sched_finish): Add stop bits and call `bundling' after the
2589         2nd insn scheduling.
2590         (ia64_use_dfa_pipeline_interface): Return zero always.
2591         (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
2592         insn scheduling.
2593         (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
2594         `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
2595         (ia64_reorg): Add bundling insns.
2596
2597         * doc/tm.texi
2598         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
2599         TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
2600
2601         2002-09-23  Vladimir Makarov  <vmakarov@redhat.com>
2602
2603         * config/ia64/ia64.md: Add Itanium1 DFA description.
2604         (itanium_class): Add `nop' and `pre_cycle'.  Add
2605         define_function_unit for `nop'.
2606         (nop): Change attribute `itanium_class'.
2607         (pre_cycle): New define_insn.
2608
2609         * config/ia64/ia64-protos.h (bundling_p): New external variable.
2610         (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
2611         ia64_produce_address_p): New function prototypes.
2612
2613         * config/ia64/ia64.c (bundling_p): New global variable.
2614         (ia64_use_dfa_pipeline_interface,
2615         ia64_first_cycle_multipass_dfa_lookahead,
2616         ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
2617         functions.
2618         (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
2619         TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
2620         TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
2621         TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
2622         (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
2623         ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
2624         (dfa_pre_cycle_insn): New variable.
2625
2626         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
2627
2628         * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
2629         constructions.
2630
2631         * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
2632         New function prototypes.
2633
2634         * genattrtab.c (main): Process the new constructions.
2635
2636         * genautomata.c (gen_presence_absence_set,
2637         process_presence_absence_names, process_presence_absence_patterns,
2638         add_presence_absence, check_absence_pattern_sets): Add parameter
2639         `final_p'.
2640         (unit_decl): Add new members `final_presence_list' and
2641         `final_absence_list'.
2642         (unit_pattern_rel_decl): Add new member `final_p'.
2643         (gen_final_presence_set, gen_final_absence_set): New functions.
2644         (process_decls): Use member `final_p'.
2645         (temp_reserv): New global variable.
2646         (reserv_sets_are_intersected): Add processing `final_presence_set'
2647         and `final_absence_set'.
2648         (initiate_states): Allocate `temp_reserv'.
2649         (unit_final_presence_set_table, unit_final_absence_set_table): New
2650         gloabal variables.
2651         (initiate_presence_absence_pattern_sets): Initiate them.
2652         (NDFA_to_DFA): Fix typo.
2653         (output_description): Output `final_presence_set' and
2654         `final_absence_set'.
2655
2656         * doc/md.texi (final_presence_set, final_absence_set): Describe
2657         them.
2658
2659         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
2660
2661         * genautomata.c (transform_3): Process a missing case (nothing on
2662         unit place).
2663
2664         2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
2665
2666         * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
2667         comments about queried units and the minimization.
2668
2669         * doc/md.texi: Ditto.
2670
2671         * genautomata.c (create_composed_state): Return nonzero if the new
2672         state has been created.
2673         (first_cycle_unit_presence): New function.
2674         (state_is_differed): Add new parameter.  Use the new function.
2675         Take queried units into account.
2676         (partition_equiv_class): Pass additional parameter to
2677         `state_is_differed'.
2678         (merge_states): Process composed states too.
2679         (build_automaton, create_automata, output_min_issue_delay_table,
2680         output_tables, output_statistics): Output more information.
2681         (output_reserved_units_table): Use function
2682         `first_cycle_unit_presence'.
2683         (output_tables): Output table of queried units even if the
2684         minimization is switched on.
2685         (write_automata): Output code for querying units even if the
2686         minimization is switched on.
2687
2688         2002-09-19  Vladimir Makarov  <vmakarov@redhat.com>
2689
2690         * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
2691         syntax of the constructions.
2692
2693         * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
2694         extended syntax of the constructions.
2695
2696         * genautomata.c (unit_rel_decl): Rename it to
2697         `unit_pattern_rel_decl'.
2698         (pattern_set_el, pattern_reserv): New structures.
2699         (pattern_set_el_t, pattern_reserv_t): New types.
2700         (gen_presence_absence_set): New function.
2701         (process_presence_absence): Remove it.
2702         (process_presence_absence_names,
2703         process_presence_absence_patterns): New functions.
2704         (get_presence_absence_set): Remove it.
2705         (initiate_presence_absence_sets): Rename it on
2706         `initiate_presence_absence_pattern_sets'.  Use new function
2707         `form_reserv_sets_list'.
2708         (form_reserv_sets_list, check_presence_pattern_sets,
2709         check_absence_pattern_sets, output_pattern_set_el_list): New
2710         functions.
2711         (unit_decl): Change types of members `presence_list' and
2712         `absence_list'.
2713         (unit_rel_decl): Rename member `names_num' to `all_names_num'.
2714         (decl): Change types of members `excl', `presence', and `absence'.
2715         (get_str_vect): Rename `par_flag' to `paren_p'.  Add null element
2716         at the end of the vector.
2717         (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
2718         gen_automaton, gen_regexp_repeat, gen_regexp_allof,
2719         gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
2720         (gen_presence_set, gen_absence_set): Use new function
2721         `gen_presence_absence_set'.
2722         (add_presence_absence): Process `pattern_list' instead of
2723         `source_list'.
2724         (process_decls): USe new functions
2725         `process_presence_absence_names' and
2726         `process_presence_absence_patterns'.
2727         (reserv_sets_are_intersected): Use new function
2728         `check_presence_pattern_sets'.
2729         (presence_set, absence_set): Remove them.
2730         (unit_presence_set_table, unit_absence_set_table): New global
2731         variables.
2732         (output_description): Use new function
2733         `output_pattern_set_el_list'.
2734         (generate): Use `initiate_presence_absence_pattern_sets'.
2735
2736         2002-09-18  Vladimir Makarov  <vmakarov@redhat.com>
2737
2738         * genattr.c (main): Add output of prototype of new interface
2739         function `dfa_clean_insn_cache'.
2740
2741         * genautomata.c (output_dfa_clean_insn_cache_func): New function.
2742         (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
2743         (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
2744         the generated code.
2745         (write_automata): Call the new function.
2746
2747 Thu Jan  9 22:47:38 CET 2003  Jan Hubicka  <jh@suse.cz>
2748
2749         * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
2750         correctly.
2751
2752 2003-01-09  Paolo Carlini  <pcarlini@unitus.it>
2753
2754         * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
2755
2756 Thu Jan  9 17:26:40 2003  J"orn Rennecke <joern.rennecke@superh.com>
2757
2758         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
2759         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
2760         (CONSTRAINT_LEN): Provide default definition.
2761         (CONST_OK_FOR_CONSTRAINT_P): Likewise.
2762         (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
2763         (EXTRA_CONSTRAINT_STR): Likewise.
2764         (REG_CLASS_FROM_CONSTRAINT): Define.
2765         * genoutput.c (check_constraint_len, constraint_len): New functions.
2766         (validate_insn_alternatives): Check CONSTRAINT_LEN for each
2767         constraint / modifier.
2768         (gen_insn): Call check_constraint_len.
2769         * local-alloc.c (block_alloc): Update to use new macros / pass
2770         second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
2771         * ra-build.c (handle_asm_insn): Likewise.
2772         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
2773         (constrain_operands, peep2_find_free_register): Likewise.
2774         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
2775         * regmove.c (find_matches): Likewise.
2776         * reload.c (push_secondary_reload, find_reloads): Likewise.
2777         (alternative_allows_memconst): Likewise.
2778         * reload1.c (maybe_fix_stack_asms): Likewise.
2779         (reload_cse_simplify_operands): Likewise.
2780         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
2781         * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
2782         (CONST_OK_FOR_CONSTRAINT_P): Likewise.
2783         (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
2784         (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
2785         * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
2786
2787         * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
2788
2789 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
2790
2791         * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
2792         length.
2793         (*extzv_1_r_h8300hs): Likewise.
2794         (*extzv_1_r_inv_h8300): Likewise.
2795         (*extzv_1_r_inv_h8300hs): Likewise.
2796
2797 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
2798
2799         * config/h8300/h8300.h (PREDICATE_CODES): New.
2800
2801 2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
2802
2803         * config/h8300/h8300.md (*addsi3_upper): New.
2804         (*iorsi3_shift): Likewise.
2805         (two splitters): Likewise.
2806         (*addsi3_shift): Likewise.
2807         (two splitters): Likewise.
2808
2809 2003-01-09  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
2810
2811         * Makefile.in (optabs.o): Add dependency on basic-block.h.
2812         * basic-block.h (control_flow_insn_p): Fuction was exported.
2813         * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
2814         * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
2815         notes only when the region is contained in a single basic block.
2816
2817 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
2818
2819         PR inline-asm/8832
2820         * tree.h (expand_asm): New prototype.
2821         * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
2822         to do so.
2823         * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
2824         down to expand_asm.
2825         * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
2826         * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
2827         (volatile_refs_p) [ASM_INPUT]: Likewise.
2828         (side_effects_p) [ASM_INPUT]: Likewise.
2829
2830 Thu Jan  9 12:00:36 CET 2003  Jan Hubicka  <jh@suse.cz>
2831
2832         * i386.md (*mul*): FIx constraints; remove confused comment; fix
2833         athlon_decode attributes
2834         (imul/k8 optimization peep2s): New.
2835
2836         * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
2837         * i386.md (type attribute): Add ssecomi.
2838         (unit, memory, prefix attributes): Handle ssecomi.
2839         (cvt?2? patterns): Fix athlon_decode attribute
2840         (comi patterns): Set attribute to ssecomi.
2841
2842         PR target/8343
2843         * m68k.md (umulsidi, mulsidi expanders): Use register operand.
2844
2845 2003-01-09  Richard Sandiford  <rsandifo@redhat.com>
2846
2847         * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
2848         that match register_operands.
2849         * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
2850         register_operand the default case.
2851
2852 2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
2853
2854         PR c/8032
2855         * c-typeck.c (process_init_element) [RECORD_TYPE]: For
2856         an empty element, do not advance the pointer to unfilled
2857         fields if there are pending initializers.
2858
2859 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2860
2861         * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
2862         (install-gcc-tooldir, install-cpp, installdirs,
2863         install-common, install-driver, install-info, install-man,
2864         install-headers, install-include-dir, install-headers-tar,
2865         install-headers-cpio, install-headers-cp, install-mkheaders,
2866         install-collect2, uninstall): Prepend $(DESTDIR) to
2867         destination paths in all (un)installation commands.
2868         (install-driver): Rewrite $(LN) commands to support DESTDIR
2869         with "ln" as well as with "ln -s".
2870         (installdirs): Simply use mkinstalldirs.
2871         (install-libgcc, install-multilib): Also pass DESTDIR.
2872         * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
2873         installation destination variable ldir.
2874         * config/alpha/t-osf4, config/arm/t-netbsd,
2875         config/ia64/t-hpux, config/mips/t-iris5-6,
2876         config/pa/t-hpux-shlib, config/rs6000/t-aix43,
2877         config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
2878         config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
2879         in the definition of SHLIB_INSTALL.
2880         * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
2881         $(libsubdir) in the installation commands.
2882
2883 2003-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
2884
2885         * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
2886         non-optimizing compile.
2887         (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
2888         compile.
2889
2890 2003-01-08  Douglas B Rupp  <rupp@gnat.com>
2891
2892         * config/i386/i386.c (ix86_attribute_table): Add new attributes
2893         ms_struct and gcc_struct.
2894         (ix86_handle_struct_attribute): New function.
2895         (ix86_ms_bitfield_layout_p): Update to take new attributes
2896         into account.
2897         * doc/extend.texi: Document new attributes.
2898         * testsuite/gcc.dg/bf-ms-attrib.c: New test.
2899
2900 2003-01-08  Danny Smith  <dannysmith@users.sourceforge.net>
2901
2902         PR optimization/8750
2903         * config/i386/i386.c (ix86_expand_prologue): Don't allow
2904         scheduling pass to move insns across __alloca call.
2905
2906 2003-01-08  Dale Johannesen  <dalej@apple.com>
2907
2908         * config/rs6000/rs6000.md:  Replace *store_multiple_string
2909         with *stmsi[3-8].
2910
2911 2003-01-08  Jeff Sturm  <jsturm@one-point.com>
2912
2913         PR target/9210
2914         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
2915         Set SYMBOL_REF_FLAG on local data sym_ref.
2916
2917 2003-01-08  Dale Johannesen  <dalej@apple.com>
2918
2919         * function.c (assign_parms):  Don't set pretend_args_size if
2920           REG_PARM_STACK_SPACE.
2921           config/rs6000/rs6000.c (setup_incoming_varargs):  Don't set
2922           pretend_args_size.
2923
2924 2003-01-08  Nathanael Nerode  <neroden@gcc.gnu.org>
2925
2926         * gcc.hlp: Delete.
2927
2928 Thu Jan  9 00:57:15 CET 2003  Jan Hubicka  <jh@suse.cz>
2929
2930         * i386.c  (ix86_expand_int_addcc): Fix thinko.
2931
2932 2003-01-08  David Edelsohn  <edelsohn@gnu.org>
2933
2934         * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
2935         * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
2936         as hook_bool_tree_hwi_hwi_tree_true.
2937         (rs6000_emit_allocate_stack): Use TARGET_32BIT.
2938         (rs6000_emit_epilogue): Same.
2939         (rs6000_output_mi_thunk): Re-implement as RTL.
2940         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
2941         xcoffout_declare_function if any debugging enabled.
2942
2943 2003-01-08  Chris Demetriou  <cgd@broadcom.com>
2944
2945         * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
2946         targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
2947         * config/mips/mips.h (enum processor_type): Rename
2948         PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
2949         PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
2950         Add PROCESSOR_M4K.
2951         (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
2952         (ISA_MIPS32R2): New define.
2953         (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
2954         (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
2955         (ISA_HAS_PREFETCH): Add support for MIPS32R2.
2956         (MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
2957         (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
2958         predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
2959         (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
2960         compiling MIPS16 code.
2961         (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
2962         comment.
2963         (ISA_HAS_SEB_SEH): New define.
2964         (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
2965         * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
2966         processor_type value renaming.  Add support for MIPS32R2.
2967         Clean up comments, and move "sb1" entry with other MIPS64 CPU
2968         entries.
2969         (override_options): Reimplement -mipsN option handling so that
2970         it will work correctly for -mips32r2.  Avoid branch-likely
2971         instructions on MIPS32R2.
2972         * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
2973         (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
2974         (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
2975         (extendhisi2_hw, extendqisi2_hw): New.
2976         * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
2977         for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
2978         MIPS32R2, and MIPS64.
2979         (LINK_SPEC): Pass -mips32r2 to linker.
2980         * config/mips/t-isa3264: Built -mips32r2 multilibs.
2981         * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
2982         for mips32r2 in the -march description.  Alphabetically sort
2983         CPU names in the -march description.  Add long-missed -mips32
2984         and -mips64 to MIPS option summary.
2985
2986         * config.gcc: Update copyright years to include 2003.
2987         * config/mips/mips.c: Likewise.
2988         * config/mips/mips.h: Likewise.
2989         * config/mips/mips.md: Likewise.
2990         * config/mips/netbsd.h: Likewise.
2991         * doc/invoke.texi: Likewise.
2992
2993 2003-01-08  Andreas Schwab  <schwab@suse.de>
2994
2995         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
2996         variable.
2997         * configure: Regenerated.
2998
2999 2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
3000
3001         * config/h8300/h8300.c (output_logical_op): Replace byte/word
3002         extraction of det with b0, b1, w0, w2, etc.
3003         (compute_logical_op_length): Likewise.
3004         (compute_logical_op_cc): Likewise.
3005
3006 2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
3007
3008         * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
3009         HIGH on all variants.
3010
3011 Wed Jan  8 14:06:34 CET 2003  Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
3012
3013         * Makefile.in (PARTITION_H): New.
3014         (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
3015         * basic-block.h: Include hard-reg-set.h.
3016
3017 2003-01-08  Richard Earnshaw  <rearnsha@arm.com>
3018
3019         * arm.h (ENABLE_XF_PATTERNS): Delete.
3020         * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
3021         (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
3022         (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
3023         (cmpxf_trap): Delete.
3024         (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
3025
3026 Wed Jan  8 12:10:57 CET 2003  Jan Hubicka  <jh@suse.cz>
3027
3028         * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
3029         (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
3030         (add??cc): New expanders.
3031         * i386.c (expand_int_addcc): New function.
3032         * i386-protos.h (expand_int_addcc): Declare.
3033
3034         * alias.c (memory_modified_1): New static function.
3035         (memory_modified): New static varaible.
3036         (memory_modified_in_insn_p): New global function.
3037         * rtl.h (memory_modified_in_insn_p): Declare.
3038         * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
3039         references.
3040
3041         * expr.h (emit_conditional_add): Declare.
3042
3043 2003-01-07  Janis Johnson  <janis187@us.ibm.com>
3044
3045         PR other/8947
3046         * doc/invoke.texi (-malign-double): Explain that the option breaks
3047         binary compatibility.
3048
3049 2003-01-08  Andreas Schwab  <schwab@suse.de>
3050
3051         * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
3052         should come from the generic *-*-linux* entry.
3053
3054 Tue Jan  7 22:29:56 CET 2003  Jan Hubicka  <jh@suse.cz>
3055
3056         * cselib.c (cselib_current_insn_in_libcall): New static variable.
3057         (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
3058         we are inside libcall.
3059         * cselib.h (elt_loc_list): Add in_libcall.
3060         * gcse.c (do_local_cprop): Do not copy propagate using insns
3061         in libcalls.
3062
3063 2003-01-07  David Edelsohn  <edelsohn@gnu.org>
3064
3065         * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
3066         not normally affect to issue rate.
3067
3068 Tue Jan  7 21:46:57 CET 2003  Jan Hubicka  <jh@suse.cz>
3069
3070         * genopinit.c (optabs): Add addc_optab.
3071         * ifcvt.c (noce_try_store_flag): Rename to ...
3072         (noce_try_addcc): ... this one; handle generic conditional increment.
3073         (noce_process_if_block): Update noce_try_addcc call.
3074         * optabs.c (emit_conditional_add): New.
3075         (init_obtabs): Initialize addc_optab.
3076         * optabs.h (optab_index): Add OTI_addcc.
3077         (addcc_optab): New macro.
3078         * md.texi: Document addMcc
3079
3080         PR target/8322
3081         * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
3082         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
3083         * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
3084
3085         * reload1.c (delete_output_reload): Avoid repeated attempts
3086         to delete insn.
3087
3088 2003-01-07  Andreas Schwab  <schwab@suse.de>
3089
3090         * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
3091         Move --enable-initfini-array check ...
3092         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here.  Define
3093         HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
3094         Don't AC_SUBST gcc_cv_initfinit_array.  Use AC_TRY_RUN.
3095         * configure: Rebuild.
3096
3097 2003-01-07  Richard Henderson  <rth@redhat.com>
3098
3099         * alias.c (find_base_value): Only use new_reg_base_value shortcut
3100         if the register is set once.
3101
3102 2003-01-07  Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3103
3104         * config/i386/i386.c (ix86_init_mmx_sse_builtins):
3105         __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
3106         * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
3107
3108 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
3109             Sunil Davasam  <sunil.k.davasam@intel.com>
3110
3111         PR libstdc++/9076
3112         * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
3113         DW_CFA_same_value, read next and ignore.
3114
3115 2003-01-07  Richard Henderson  <rth@redhat.com>
3116
3117         * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
3118
3119 2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
3120
3121         * cfg.c: Include alloc-pool.h
3122         (edge_pool): New pool.
3123         (bb_pool): New pool.
3124         (first_deleted_edge): Remove.
3125         (first_deleted_block): Remove.
3126         (init_flow): Alloc/free the pools.
3127         (free_edge): Use pools.
3128         (alloc_block): Ditto.
3129         (expunge_block): Ditto.
3130         (cached_make_edge): Ditto.
3131
3132         * Makefile.in (cfg.o): Add alloc-pool.h dependency.
3133
3134 2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
3135
3136         * et-forest.c: Include alloc-pool.h.
3137         (struct et_forest): Add node_pool and occur_pool.
3138         (et_forest_create): Create the new pools.
3139         (et_forest_delete): Delete them.
3140         (et_forest_add_node): Allocate and free using pools.
3141         (et_forest_add_edge): Ditto.
3142         (et_forest_remove_node): Ditto.
3143         (et_forest_remove_edge): Ditto.
3144
3145         * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
3146
3147 2003-01-07  Kazu Hirata  <kazu@cs.umass.edu>
3148
3149         * config/h8300/h8300.c (output_logical_op): Simplify and
3150         optimize the handling of SImode.
3151         * config/h8300/h8300.c (compute_logical_op_length): Update
3152         accordingly.
3153         * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
3154
3155 2003-01-07  Richard Sandiford  <rsandifo@redhat.com>
3156
3157         * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
3158         big-endian correction to indirect arguments too.
3159
3160 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
3161
3162         Segher Boessenkool  <segher@koffie.nl>
3163
3164         * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
3165         (alt_reg_names): Ditto, fix formatting.
3166         * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
3167
3168 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
3169
3170         * config/h8300/h8300.c (final_prescan_insn): Constify uid.
3171         (output_logical_op): Constify intval and det.
3172         (compute_logical_length): Likewise.
3173         (compute_logical_cc): Likewise.
3174         (output_a_shift): Constify mask.
3175         (h8300_encode_label): Constify len.
3176
3177 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
3178
3179         * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
3180         (h8300_expand_epilogue): Likewise.
3181
3182 2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
3183
3184         Segher Boessenkool  <segher@koffie.nl>
3185
3186         * config/rs6000/altivec.md: Remove spaces from assembler
3187         instruction argument lists.
3188
3189 2003-01-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3190
3191         * config/c4x/c4x.c (c4x_naked_function_p): Rename from
3192         c4x_assembler_function_p.
3193         (c4x_null_epilogue_p): Complement return value, all uses updated.
3194         (c4x_insert_attributes): Add naked.
3195         * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
3196         * doc/extend.texi: Update C4x function attributes.
3197
3198 2003-01-06  Richard Henderson  <rth@redhat.com>
3199
3200         * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
3201         properly when changing "local-ness".
3202         * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
3203
3204 2003-01-06  Dale Johannesen  <dalej@apple.com>
3205
3206         * config/darwin-protos.h:  Add prototypes for new section functions.
3207
3208 2003-01-06  Chris Demetriou  <cgd@broadcom.com>
3209
3210         * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
3211         to EABI.
3212
3213 2003-01-06  Zack Weinberg  <zack@codesourcery.com>
3214
3215         * hwint.h: If the current compiler has no 64-bit type at all,
3216         make HOST_WIDEST_INT 32 bits.
3217
3218 2003-01-06  Eric Christopher  <echristo@redhat.com>
3219
3220         * config/mips/mips.md (movdf_internal2): Fix constraints.
3221
3222 2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
3223
3224         * config/h8300/h8300.md (*twoshifts_l16_r1): New.
3225
3226 2003-01-06  Richard Sandiford  <rsandifo@redhat.com>
3227
3228         * config/mips/mips.md (leadi): Use dla rather than la.
3229
3230 2003-01-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
3231
3232         * config/c4x/c4x.h: Updated specs for new gas format.  Fixed bug
3233         in C33_FLAG.  Added proper C33 support in ASM_FILE_START macro.
3234
3235 2003-01-06 Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
3236
3237         * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
3238         redefinition.
3239
3240 2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
3241
3242         * config/h8300/h8300.md (*extzv_8_23): New.
3243
3244 2003-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3245
3246         * pa64-hpux.h (JCR_SECTION_NAME): Define.
3247         (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
3248         USE_EH_FRAME_REGISTRY when defining.
3249
3250 2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
3251
3252         * config/h8300/h8300.c (output_a_shift): Do not output a
3253         variable shift.
3254         * config/h8300/h8300.md (two splitters): New.
3255
3256 2003-01-05  Richard Sandiford  <rsandifo@redhat.com>
3257
3258         * config/mips/mips.md: Disable the movstrsi define_split.
3259
3260 2003-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3261
3262         * alloc-pool.c: Don't include "libiberty.h".
3263         * config/sparc/gmon-sol2.c: Include <fcntl.h>.
3264         * convert.c (convert_to_real): Hide unused variable.
3265
3266 2003-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3267
3268         * Makefile.in (gtyp-gen.h): Const-ify.
3269         * gcov-dump.c (tag_table): Likewise.
3270
3271 2003-01-04  Bruce Korb  <bkorb@gnu.org>
3272
3273         * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
3274         of *both* the file name and the fix name.
3275
3276 2003-01-04  John David Anglin  <dave.anglin@nrc.ca>
3277
3278         * config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
3279         collect2.
3280         * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
3281         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
3282         * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
3283         GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
3284         GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
3285         (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
3286         elfos.h.
3287         (EH_FRAME_IN_DATA_SECTION): Delete define.
3288         (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
3289         (STARTFILE_SPEC): Use crtbegin.o.
3290         (ENDFILE_SPEC): Use crtend.o.
3291         (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
3292         SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
3293         PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
3294         DTOR_LIST_BEGIN): Define.
3295         * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
3296         (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
3297         * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
3298
3299 2002-12-31  Larin Hennessy  <larin@science.oregonstate.edu>
3300
3301         * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
3302         * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
3303         m88k-*-sysv3*, Sony NewsOS.   Remove references to i860.
3304         Cleanup handling of replacement text.
3305         * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
3306
3307 2003-01-04  Bruce Korb  <bkorb@gnu.org>
3308
3309         * fixinc/tests/base/math.h: removed obsolete results
3310         * fixinc/tests/base/stdlib.h: ditto
3311         * fixinc/tests/base/sys/param.h: ditto
3312         * fixinc/tests/base/sys/stat.h: ditto
3313         * fixinc/tests/base/time.h: ditto
3314         * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
3315         * fixinc/tests/base/sys/byteorder.h: ditto
3316         * fixinc/inclhack.def: Remove superfluous backslashes
3317
3318 2003-01-04  Kazu Hirata  <kazu@cs.umass.edu>
3319
3320         * config/h8300/h8300-protos.h: Add prototypes for
3321         the new functions defined below.
3322         * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
3323         define.
3324         (dosize): Emit RTL instead of assembly code.
3325         (push): Likewise.
3326         (pop): Likewise.
3327         (h8300_output_function_prologue): Remove.
3328         (h8300_expand_prologue): New.
3329         (h8300_expand_epilogue): New.
3330         (h8300_output_function_epilogue): Do only the reset of
3331         pragma_saveall.
3332         * config/h8300/h8300.md (push_h8300): New.
3333         (push_h8300hs): Likewise.
3334         (pop_h8300): Likewise.
3335         (pop_h8300hs): Likewise.
3336         (*stm_h8300s_2): Change the name to stm_h8300s_2.
3337         (*stm_h8300s_3): Change the name to stm_h8300s_3.
3338         (*stm_h8300s_4): Change the name to stm_h8300s_4.
3339         (*ldm_h8300s_2): New.
3340         (*ldm_h8300s_3): Likewise.
3341         (*ldm_h8300s_4): Likewise.
3342         (return): Likewise.
3343         (*return_1): Likewise.
3344         (prologue): Likewise.
3345         (epilogue): Likewise.
3346         (monitor_prologue): Likewise.
3347
3348 2003-01-03  Dale Johannesen  <dalej@apple.com>
3349
3350         * config/darwin.h:  (EXTRA_SECTIONS):  Add machopic_symbol_stub1,
3351           machopic_picsymbol_stub1.
3352           (EXTRA_SECTION_FUNCTIONS):  Ditto.
3353         * rs6000/rs6000.c:  Update copyright.
3354           (machopic_output_stub):  Use them.  Remove an insn from stub code.
3355
3356 2003-01-02  Jason Merrill  <jason@redhat.com>
3357
3358         * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
3359
3360         * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
3361         static/external decls.
3362
3363         * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
3364         outermost scope.
3365         * c-decl.c (c_make_fname_decl): Push the decls there, too.
3366
3367 2003-01-03  Kazu Hirata  <kazu@cs.umass.edu>
3368
3369         * config/h8300/h8300-protos.h: Add a prototype for
3370         h8300_current_function_interrupt_function_p.
3371         * config/h8300/h8300.c (interrupt_handler): Remove.
3372         (os_task): Likewise.
3373         (monitor): Likewise.
3374         (pragma_interrupt): New.
3375         (WORD_REG_USED): Use
3376         h8300_current_function_interrupt_function_p.
3377         (dosize): Likewise.
3378         (h8300_output_function_prologue): Likewise.
3379         Do not set interrupt_handler, os_task, monitor.
3380         (h8300_output_function_prologue): Use
3381         h8300_current_function_interrupt_function_p.
3382         Do not set interrupt_handler, os_task, monitor.
3383         (h8300_current_function_interrupt_function_p): New.
3384         (h8300_pr_interrupt): Set pragma_interrupt.
3385         (h8300_insert_attributes): Reset pragma_interrupt.
3386
3387 2003-01-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3388
3389         * doc/install.texi (Configuration): Fix markup for reference to
3390         gcc/config.gcc.
3391
3392 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
3393
3394         * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
3395         (*iorhi3_two_qi): Likewise.
3396         (*iorsi3_zexthi): Likewise.
3397         (*xorhi3_zextqi): Likewise.
3398         (*xorsi3_zexthi): Likewise.
3399         (*xorsi3_zextqi): Likewise.
3400
3401 2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
3402
3403         * config/h8300/h8300.c (stack_pointer_operand): New.
3404         (const_int_gt_2_operand): Likewise.
3405         (const_int_ge_8_operand): Likewise.
3406         * config/h8300/h8300.md (a splitter): Likewise.
3407         (a peephole2): Likewise.
3408         * config/h8300/h8300-protos.h: Add prototypes for the new
3409         functions above.
3410
3411 2003-01-02  Steven Bosscher <s.bosscher@student.tudelft.nl>
3412
3413         * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
3414         objc/objc-act.h: Fix copyright years.
3415
3416 2003-01-02  Steven Bosscher  <s.bosscher@student.tudelft.nl>
3417
3418         * doc/passes.texi: Fix documentation for -fssa-ccp
3419
3420 2003-01-02  Neil Booth  <neil@daikokuya.co.uk>
3421
3422         * gccbug.in: Update for new categories.
3423
3424 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
3425
3426         * config/h8300/h8300.md: Reorder some patterns.
3427
3428 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
3429
3430         * config/h8300/h8300.c (output_logical_op): Fix a warning.
3431
3432 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
3433
3434         * config/darwin-protos.h, config/c4x/c4x-protos.h,
3435         config/cris/cris-protos.h, config/i370/i370-protos.h,
3436         config/i960/i960-protos.h, config/ia64/ia64-protos.h,
3437         config/v850/v850-protos.h: Use struct, and don't conditionally
3438         compile on GCC_C_PRAGMA_H.
3439
3440 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
3441
3442         * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
3443         * config/h8300/h8300-protos.h: Likewise.
3444         * config/sh/sh-protos.h: Likewise.
3445
3446 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
3447
3448         * config/arm/arm-protos.h: Use struct cpp_reader instead of
3449         cpp_reader.
3450         * config/h8300/h8300-protos.h: Likewise.
3451         * config/sh/sh-protos.h: Likewise.
3452
3453 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
3454
3455         * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
3456         arm_pr_long_calls_off): Use struct.
3457         * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
3458         : Similarly.
3459         Don't include cpplib.h.
3460         * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
3461         sh_pr_nosave_low_regs): Similarly.
3462
3463 2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
3464
3465         * config/h8300/h8300.c: Include cpplib.h.
3466
3467 2003-01-01  Steven Bosscher  <s.bosscher@student.tudelft.nl>
3468
3469         * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
3470           objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
3471           objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
3472           "GCC" in the copyright header.
3473
3474 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
3475
3476         * c-pragma.c (c_register_pragma): New.
3477         (init_pragma): Use it.
3478         * c-pragma.h (cpp_register_pragma): Don't declare.
3479         (c_register_pragma): New.
3480         * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
3481         * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
3482         * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
3483         * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
3484         * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
3485         * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
3486         * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
3487         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
3488         * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
3489         * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
3490         * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
3491         * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
3492
3493 2002-12-31  Kazu Hirata  <kazu@cs.umass.edu>
3494
3495         * config/h8300/h8300-protos.h: Update the prototypes.
3496         * config/h8300/h8300.c (const_le_2_operand): Change to
3497         const_int_le_2_operand.
3498         (const_int_le_6_operand): Change to const_int_le_6_operand.
3499         * config/h8300/h8300.md (two peepholes): Update the function
3500         names.
3501
3502 2002-12-31  Tom Tromey  <tromey@redhat.com>
3503
3504         * doc/install.texi (Testing): Fixed typo.
3505
3506 2002-12-31  Kazu Hirata  <kazu@cs.umass.edu>
3507
3508         * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
3509         (TRAMPOLINE_SIZE): Support the normal mode.
3510         (INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
3511
3512 2002-12-31  Mark Mitchell  <mark@codesourcery.com>
3513
3514         * c-common.h (pending_lang_change): Declare.
3515
3516 2002-12-31  Jerry Quinn  <jlquinn@optonline.net>
3517
3518         * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
3519         descriptions.
3520
3521 2002-12-31  Jerry Quinn  <jlquinn@optonline.net>
3522
3523         * gcc/doc/invoke.texi (Optimization Options): List the options
3524         enabled by each -O flag.
3525
3526 2002-12-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3527
3528         * doc/install.texi (Configuration): Explicitly refer
3529         gcc/config.gcc for a list of cpu models.
3530
3531 2002-12-31  Kazu Hirata  <kazu@cs.umass.edu>
3532
3533         * config/h8300/h8300.h: Fix comment typos.
3534
3535 2002-12-30  David Edelsohn  <edelsohn@gnu.org>
3536
3537         * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
3538
3539 2002-12-30  Tom Tromey  <tromey@redhat.com>
3540
3541         * doc/install.texi (Testing): Mention Jacks.
3542
3543 2002-12-30  Joseph S. Myers  <jsm@polyomino.org.uk>
3544
3545         * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
3546
3547 2002-12-30  Kazu Hirata  <kazu@cs.umass.edu>
3548
3549         * config/h8300/h8300.c (output_logical_op): Use extu.w in more
3550         cases.
3551         (compute_logical_op_length): Update to reflect the change in
3552         output_logical_op.
3553         (compute_logical_op_cc): Likewise.
3554
3555 2002-12-30  Joseph S. Myers  <jsm@polyomino.org.uk>
3556
3557         * doc/service.texi: Uncomment and update FAQ link.
3558
3559 2002-12-30  Andreas Jaeger  <aj@suse.de>
3560
3561         * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
3562
3563 2002-12-30  Kazu Hirata  <kazu@cs.umass.edu>
3564
3565         * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
3566
3567 2002-12-30  Kazu Hirata  <kazu@cs.umass.edu>
3568
3569         * config/h8300/h8300.c (output_logical_op): Use extu.w if we
3570         are clearing the most significant byte.
3571         (compute_logical_op_length): Update to reflect the change in
3572         output_logical_op.
3573         (compute_logical_op_cc): Likewise.
3574
3575 2002-12-29  Kazu Hirata  <kazu@cs.umass.edu>
3576
3577         * config/h8300/h8300.md: Give internal names to anonymous
3578         insns.
3579
3580 2002-12-29  Kazu Hirata  <kazu@cs.umass.edu>
3581
3582         * config/h8300/h8300.md: Reorder some insns.
3583
3584 2002-12-29  Kazu Hirata  <kazu@cs.umass.edu>
3585
3586         * config/h8300/h8300-protos.h: Add prototypes for
3587         const_int_qi_operand and const_int_hi_operand.
3588         * config/h8300/h8300.c (const_int_qi_operand): New.
3589         (const_int_hi_operand): Likewise.
3590         * config/h8300/h8300.md (three peepholes): New.
3591
3592 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
3593
3594         * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
3595         Use @copying.
3596
3597 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
3598
3599         * configure.in: Increase makeinfo version requirement to 4.[2-9].
3600         * configure: Regenerate.
3601         * doc/install.texi: Update Texinfo version requirement.
3602
3603 2002-12-28  Andreas Jaeger  <aj@suse.de>
3604
3605         * config/i386/i386.c (x86_function_profiler): Mark labelno as
3606         possibly unused.
3607
3608         * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
3609         correct format.
3610
3611 2002-12-27  Kazu Hirata  <kazu@cs.umass.edu>
3612
3613         * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
3614         *iorhi_ashift_8.
3615         (*iorhi_lshiftrt_8): New.
3616
3617 2002-12-27  Joseph S. Myers  <jsm@polyomino.org.uk>
3618
3619         * doc/include/texinfo.tex: Update to version 2002-12-26.16.
3620
3621 2002-12-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3622
3623         * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
3624
3625 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
3626
3627         * config/h8300/h8300-protos.h: Fix comment typos.
3628         Update copyright.
3629         * config/h8300/h8300.c: Fix comment typos.
3630
3631 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
3632
3633         * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
3634
3635 2002-12-26  Kazu Hirata  <kazu@cs.umass.edu>
3636
3637         * config/i386/athlon.md: Fix comment typos.
3638         * config/i386/crtdll.h: Likewise.
3639         * config/i386/djgpp.h: Likewise.
3640         * config/i386/i386-interix.h: Likewise.
3641         * config/i386/i386.c: Likewise.
3642         * config/i386/i386.h: Likewise.
3643         * config/i386/i386.md: Likewise.
3644         * config/i386/k6.md: Likewise.
3645         * config/i386/mingw32.h: Likewise.
3646         * config/i386/pentium.md: Likewise.
3647         * config/i386/sco5.h: Likewise.
3648         * config/i386/winnt.c: Likewise.
3649         * config/i386/xmmintrin.h: Likewise.
3650
3651 2002-12-26  Jose Renau <renau@cs.uiuc.edu>
3652
3653         * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
3654         INSN_P before checking to see if it is dead.
3655         (mark_all_insn_unnecessary): Similarly.
3656         (ssa_eliminate_dead_code): Similarly.
3657         * rtl.h (struct rtx_def): Update comments for in_struct usage
3658         in dead code elimination pass.
3659         (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
3660
3661 2002-12-26  Andreas Schwab  <schwab@suse.de>
3662
3663         * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
3664
3665 2002-12-25  David Edelsohn  <edelsohn@gnu.org>
3666
3667         * config/rs6000/rs6000.c (rs6000_override_options): Convert to
3668         tartet_flags_explicit.
3669         * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
3670         Compact target_flags bits.
3671         (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
3672         (TARGET_SWITCHES): Delete references to *_SET flags.
3673
3674 Wed Dec 25 20:30:53 CET 2002  Jan Hubicka  <jh@suse.cz>
3675
3676         * i386.md (memory attribute): Fix setcc attribute.
3677
3678 2002-12-25  Kazu Hirata  <kazu@cs.umass.edu>
3679
3680         * output.h: Fix comment typos.
3681         * predict.c: Likewise.
3682         * print-tree.c: Likewise.
3683         * profile.c: Likewise.
3684         * ra-build.c: Likewise.
3685         * ra-colorize.c: Likewise.
3686         * ra-debug.c: Likewise.
3687         * ra-rewrite.c: Likewise.
3688         * ra.c: Likewise.
3689         * ra.h: Likewise.
3690         * real.c: Likewise.
3691         * recog.c: Likewise.
3692         * reg-stack.c: Likewise.
3693         * regclass.c: Likewise.
3694
3695 2002-12-25  Kazu Hirata  <kazu@cs.umass.edu>
3696
3697         * config/h8300/h8300.c (print_operand_address): Do not negate
3698         a negative number when printing one.
3699
3700 2002-12-25  Kazu Hirata  <kazu@cs.umass.edu>
3701
3702         * config/h8300/h8300-protos.h: Add prototypes for
3703         output_plussi, compute_plussi_length, and compute_plussi_cc.
3704         * config/h8300/h8300.c (output_plussi): New.
3705         (compute_plussi_length): Likewise.
3706         (compute_plussi_cc): Likewise.
3707         * config/h8300/h8300.md (addsi_h8300h): Call
3708         output_plussi, compute_plussi_length, and compute_plussi_cc.
3709
3710 2002-12-24  Kazu Hirata  <kazu@cs.umass.edu>
3711
3712         * config/h8300/h8300.md (two peepholes): Use match_dup instead
3713         of match_operand in the new patterns.
3714
3715 2002-12-24  Joseph S. Myers  <jsm@polyomino.org.uk>
3716
3717         * doc/include/texinfo.tex: Update to version 2002-11-25.11.
3718
3719 2002-12-24  Nathan Sidwell  <nathan@codesourcery.com>
3720
3721         * configure.in (enable-coverage): Add SELF_COVERAGE.
3722         * profile.c (end_branch_prob): Use SELF_COVERAGE.
3723
3724 2002-12-24  Jim Wilson  <wilson@redhat.com>
3725
3726         * alias.c (record_set): Handle multi-reg hard registers.
3727
3728 2002-12-24  Kazu Hirata  <kazu@cs.umass.edu>
3729
3730         * regmove.c: Fix comment typos.
3731         * reload.c: Likewise.
3732         * reload1.c: Likewise.
3733         * resource.c: Likewise.
3734         * rtl.def: Likewise.
3735         * rtl.h: Likewise.
3736         * rtlanal.c: Likewise.
3737         * sched-deps.c: Likewise.
3738         * sched-rgn.c: Likewise.
3739         * sibcall.c: Likewise.
3740         * simplify-rtx.c: Likewise.
3741         * ssa-ccp.c: Likewise.
3742         * ssa.c: Likewise.
3743         * stmt.c: Likewise.
3744         * stor-layout.c: Likewise.
3745         * system.h: Likewise.
3746         * tlink.c: Likewise.
3747         * toplev.c: Likewise.
3748         * tracer.c: Likewise.
3749         * tree-inline.c: Likewise.
3750         * tree.c: Likewise.
3751         * tree.h: Likewise.
3752         * unroll.c: Likewise.
3753         * varasm.c: Likewise.
3754
3755 2002-12-23  Larin Hennessy  <larin@science.oregonstate.edu>
3756
3757         * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
3758         m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
3759         * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
3760         DG/UX entries.
3761         * doc/md.texi: Remove AMD 29K entries.
3762         * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
3763         1.38.1, NewsOS, RT PC, WE32K entries.
3764
3765 2002-12-23  Aldy Hernandez  <aldyh@redhat.com>
3766
3767         PR/8763
3768         * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
3769         (altivec_vspltisw_v4sf): Name pattern.
3770         (altivec_vslw_v4sf): New pattern.
3771
3772 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
3773
3774         * doc/include/gcc-common.texi: Define DEVELOPMENT.
3775
3776 2002-12-23  Mark Mitchell  <mark@codesourcery.com>
3777
3778         * stor-layout.c (update_alignment_for_field): Correct handling of
3779         unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
3780         * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
3781         bitfield does not affect alignment.
3782
3783 2002-12-23  David Edelsohn  <edelsohn@gnu.org>
3784
3785         * expr.c (expand_assignment): Apply special treatment to
3786         ARRAY_TYPE.
3787
3788 2002-12-23  Kazu Hirata  <kazu@cs.umass.edu>
3789
3790         * config/h8300/h8300-protos.h: Update the prototype of
3791         expand_a_shift.
3792         * config/h8300/h8300.c (expand_a_shift): Change the return
3793         type to void.
3794         * config/h8300/h8300.md: Update all the uses of
3795         expand_a_shift.
3796
3797 2002-12-22  Nathan Sidwell  <nathan@codesourcery.com>
3798
3799         * tree.c (save_expr): Allow either side of a dyadic operand to be
3800         constant.
3801
3802         * doc/portability.texi (portability): Update portability goals.
3803
3804 2002-12-23  Kazu Hirata  <kazu@cs.umass.edu>
3805
3806         * config/h8300/h8300.c (output_a_shift): Remove unused code.
3807
3808 2002-12-22  Mark Mitchell  <mark@codesourcery.com>
3809
3810         * stor-layout.c (update_alignment_for_field): Guard use of
3811         ADJUST_FIELD_ALIGN with #ifdef.
3812
3813         * stor-layout.c (update_alignment_for_field): Use
3814         ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
3815         bitfield when PCC_BITFIELD_TYPE_MATTERS.
3816
3817 2002-12-22  Kazu Hirata  <kazu@cs.umass.edu>
3818
3819         * genautomata.c: Fix comment typos.
3820
3821 Sun Dec 22 18:23:44 CET 2002  Jan Hubicka  <jh@suse.cz>
3822
3823         * params.def (tracer-min-branch-probability-feedback): Fix default.
3824         * final.c (compute_alignments): Use profile to avoid code bloat.
3825
3826 2002-12-22  Kazu Hirata  <kazu@cs.umass.edu>
3827
3828         * config/h8300/h8300.c (get_shift_alg): Make shift insn
3829         sequences end with a valid cc0 whenever possible.
3830
3831 2002-12-22  Kazu Hirata  <kazu@cs.umass.edu>
3832
3833         * config/h8300/h8300.md (negsf2): New.
3834         (*negsf2_h8300): Likewise.
3835         (*negsf2_h8300hs): Likewise.
3836
3837 2002-12-21  Geoffrey Keating  <geoffk@apple.com>
3838
3839         * integrate.c (output_inline_function): Don't hold private
3840         pointers to 'struct function' over GC calls.
3841
3842 2002-12-21  Kaz kojima  <kkojima@gcc.gnu.org>
3843
3844         * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
3845         NO_FPSCR_VALUES.
3846         * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
3847
3848 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
3849
3850         * config/h8300/h8300.md (zero_extendqisi2): Correct the
3851         length.
3852
3853 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
3854
3855         * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
3856         second alternative "#".
3857         (*zero_extendqihi2_h8300hs): Likewise.
3858         (a define_split): New.
3859
3860 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
3861
3862         * config/h8300/h8300-protos.h: Update the prototype for
3863         split_adds_subs.
3864         Add prototypes for const_le_2_operand and const_le_6_operand.
3865         * config/h8300/h8300.c (split_adds_subs): Add an argument to
3866         specify whether inc/dec should be used when possible.
3867         (const_le_2_operand): New.
3868         (const_le_6_operand): Likewise.
3869         * config/h8300/h8300.md (two peepholes): New.
3870
3871 2002-12-21  Kazu Hirata  <kazu@cs.umass.edu>
3872
3873         * config/fr30/fr30.md: Fix a comment typo.
3874         * config/i386/i386.c: Likewise.
3875         * config/ip2k/ip2k.h: Likewise.
3876
3877 2002-12-20  Jim Wilson  <wilson@redhat.com>
3878
3879         * config/rs6000/spe.h (__ev_subifw): Reverse arguments.
3880         (__ev_subw, __ev_subiw): New.
3881         (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
3882         ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
3883
3884 2002-12-20  John David Anglin  <dave.anglin@nrc.gc.ca>
3885
3886         * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
3887         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
3888         * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
3889         TARGET_ELF32.  Add comment on sibcall issues for TARGET_64BIT.
3890
3891 2002-12-20  Kazu Hirata  <kazu@cs.umass.edu>
3892
3893         * config/h8300/h8300-protos.h: Add prototypes for
3894         incdec_operand and eqne_operator.
3895         * config/h8300/h8300.c (incdec_operand): New.
3896         (eqne_operator): Likewise.
3897         * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
3898         (CONST_OK_FOR_O): Likewise.
3899         (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
3900         CONST_OK_FOR_O.
3901         * config/h8300/h8300.md (UNSPEC_INCDEC): New.
3902         (addhi3_incdec): New.
3903         (addsi3_incdec): Likewise.
3904         (two peepholes): Likewise.
3905
3906 2002-12-20  Kazu Hirata  <kazu@cs.umass.edu>
3907
3908         * config/h8300/h8300.c (dosize): Remove warnings.
3909         (print_operand): Likewise.
3910
3911 2002-12-20  Richard Henderson  <rth@redhat.com>
3912
3913         * config/alpha/alpha.c (decl_has_samegp): New.
3914         (samegp_function_operand): Use it.  Rename from
3915         current_file_function_operand.
3916         (direct_call_operand): Handle -msmall-text via symbol->jump.
3917         (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
3918         (tls_symbolic_operand_type): Likewise.
3919         (alpha_encode_section_info): Likewise.  Handle -msmall-text.
3920         (alpha_function_ok_for_sibcall): Use decl_has_samegp.
3921         (alpha_end_function): Set symbol->jump for functions defined in
3922         the text section.
3923         * config/alpha/alpha-protos.h: Update.
3924         * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
3925         (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
3926         (PREDICATE_CODES): Update.
3927         * config/alpha/alpha.md (call patterns): Update for
3928         samegp_function_operand rename; use !samegp reloc if
3929         TARGET_EXPLICIT_RELOCS.
3930         * doc/invoke.text: Document -msmall-text and -mlarge-text.
3931
3932 2002-12-20  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
3933
3934         * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
3935         all registers capable of holding a double float.
3936         (*rcond): change name of "reverse branch" insns to
3937         something more meaningful.
3938         (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
3939         comparisons properly.
3940         (*ffs): Change operand 0 from write to read-modify-write.
3941         (*ffsssi2): Drop constraints from define_expand.
3942
3943         * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
3944         MOVE_RATIO as default for store operations.
3945
3946         * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
3947         LONG_REGS class.
3948         (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
3949         (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
3950         * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
3951
3952         * config/ns32k/STATUS: New File
3953         * config/ns32k/NOTES: New file.
3954
3955 2002-12-20  Hartmut Penner  <hpenner@de.ibm.com>
3956
3957         * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
3958         option for S/390 and zSeries.
3959         * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
3960         s390_arch_string): New variables.
3961         (override_options): Checking for options and setting of
3962         appropriate target_flags, cpu and arch flags.
3963         * config/s390/s390.h: (processor_type): New enum.
3964         (TARGET_SWITCHES): New switches -mesa/zarch.
3965         * config/s390/s390.md: New attribute 'cpu'.
3966
3967 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
3968
3969         * c-pretty-print.h: Fix comment typos.
3970         * integrate.c: Likewise.
3971         * varasm.c: Likewise.
3972         * config/c4x/c4x.h: Likewise.
3973         * config/c4x/c4x.md: Likewise.
3974         * config/fr30/fr30.md: Likewise.
3975         * config/frv/frv.c: Likewise.
3976         * config/h8300/h8300.c: Likewise.
3977         * config/i386/i386.c: Likewise.
3978         * config/i386/i386.h: Likewise.
3979         * config/ia64/ia64.c: Likewise.
3980         * config/ia64/ia64.h: Likewise.
3981         * config/ip2k/ip2k.md: Likewise.
3982         * config/m68hc11/m68hc11-crt0.S: Likewise.
3983         * config/m68hc11/m68hc11.h: Likewise.
3984         * config/m68hc11/m68hc11.md: Likewise.
3985         * config/m68hc11/m68hc12.h: Likewise.
3986         * config/mcore/mcore.md: Likewise.
3987         * config/mips/mips.c: Likewise.
3988         * config/mips/mips.md: Likewise.
3989         * config/mmix/mmix-modes.def: Likewise.
3990         * config/pa/pa.c: Likewise.
3991         * config/rs6000/rs6000.c: Likewise.
3992         * config/rs6000/rs6000.h: Likewise.
3993         * config/rs6000/rs6000.md: Likewise.
3994
3995 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
3996
3997         * config/h8300/h8300.md (output_a_shift): Clean up the code to
3998         output shifts using rotation.
3999
4000 2002-12-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4001
4002         * flow.c (allocate_reg_life_data): Reset REG_FREQ.
4003
4004 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
4005
4006         * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
4007         pointer.
4008         (pushqi_h8300hs): Likewise.
4009         (pushhi_h8300): Likewise.
4010         (pushhi_h8300hs): Likewise.
4011
4012 Thu Dec 19 23:44:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
4013
4014         * sched-rgn.c (init_regions): Update comment.
4015
4016 2002-12-19  David Edelsohn  <edelsohn@gnu.org>
4017
4018         * config/rs6000/rs6000.md (define_attr type): Remove altivec.
4019         * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
4020         attributes.
4021         (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
4022         (get_vrsave_internal,set_vrsave_internal): Same.
4023         (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
4024         (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
4025         (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
4026
4027 2002-12-19  Casper S. Hornstrup  <chorns@users.sourceforge.net>
4028             Danny Smith  <dannysmith@users.sourceforge.net>
4029             Eric Kohl  <ekohl@rz-online.de>
4030
4031         * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
4032         attributes incompatible with fastcall attribute.
4033         (ix86_handle_regparm_attribute): Likewise.
4034
4035         * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
4036         fastcall types.
4037
4038         * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
4039         attributes.
4040         (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
4041         * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
4042         * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
4043         i386_pe_output_labelref rather than here.
4044         (gen_fastcall_suffix): New function. Decorates a label name with the
4045         fastcall prefix (@) and the stdcall suffix.
4046         (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
4047         has a fastcall attribute.
4048         (i386_pe_output_labelref): New function. Outputs a label reference.
4049         * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
4050         valid attribute.
4051         (ix86_return_pops_args): Fastcall functions pop the stack.
4052         (init_cumulative_args): Reserve registers ECX and EDX if function has
4053         fastcall attribute.
4054         (function_arg): Use registers ECX and EDX if function has fastcall
4055         attribute.
4056         * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
4057         (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
4058         (FASTCALL_PREFIX): Define as '@'.
4059         * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
4060         attributes.
4061         * doc/extend.texi: Add documentation of fastcall attribute.
4062
4063 2002-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>
4064
4065         * configure.in: FORBUILD when build!=host changed from
4066         ../$build-alias to ../build-$build_alias to match change made
4067         in top directory.
4068         * configure: Regenerated.
4069
4070 2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
4071
4072         PR optimization/8988
4073         * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
4074         the biv when eliminating.
4075
4076 2002-12-19  Devang Patel  <dpatel@apple.com>
4077         * gcc.c (struct default_compiler): Recognizes input file name with
4078         .CPP extension as C++ source files
4079         * cp/lang-spec.h: Same
4080         * doc/invoke.texi:  Add documentation for .CPP support.
4081
4082 2002-12-19  Aldy Hernandez  <aldyh@redhat.com>
4083
4084         PR 8553
4085         * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
4086         registers.
4087         ("absv16qi2"): Same.
4088         ("absv4si2"): Same.
4089         ("absv4sf2"): Same.
4090         ("altivec_abss_v16qi"): Same.
4091         ("altivec_abss_v8hi"): Same.
4092         ("altivec_abss_v4si"): Same.
4093
4094 2002-12-19  Ulrich Weigand  <uweigand@de.ibm.com>
4095
4096         * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
4097         "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
4098
4099 2002-12-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
4100
4101         PR target/8340
4102         * stmt.c (expand_asm_operands): Produce an error when
4103         the PIC register is clobbered.
4104
4105 2002-12-18  Daniel Berlin  <dberlin@dberlin.org>
4106
4107         * Makefile.in (OBJS): Add alloc-pool.o
4108         (alloc-pool.o): New object.
4109
4110         * alloc-pool.c: New file.
4111         * alloc-pool.h: New file.
4112
4113 2002-12-18  Loren James Rittle  <rittle@labs.mot.com>
4114
4115         * gcc.c (validate_switches): Robustify against skipping past '\0'.
4116
4117 2002-12-18  Geoffrey Keating  <geoffk@apple.com>
4118
4119         * config.gcc: Set extra_objs in the generic Darwin rule,
4120         not in the machine-specific rules.
4121
4122 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
4123
4124         * ChangeLog: Follow spelling conventions.
4125         * ChangeLog.2: Likewise.
4126         * ChangeLog.4: Likewise.
4127         * ChangeLog.5: Likewise.
4128         * cppexp.c: Likewise.
4129         * df.c: Likewise.
4130         * gcov.c: Likewise.
4131         * gengtype.c: Likewise.
4132         * reload1.c: Likewise.
4133         * sched-rgn.c: Likewise.
4134         * stmt.c: Likewise.
4135         * stor-layout.c: Likewise.
4136         * timevar.c: Likewise.
4137         * toplev.c: Likewise.
4138         * tree.h: Likewise.
4139         * varasm.c: Likewise.
4140         * config/fr30/fr30.md: Likewise.
4141         * config/i386/i386.c: Likewise.
4142         * config/ia64/ia64.c: Likewise.
4143         * config/pa/pa.c: Likewise.
4144
4145 2002-12-18  Roger Sayle  <roger@eyesopen.com>
4146
4147         * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
4148
4149 2002-12-18  Aldy Hernandez  <aldyh@redhat.com>
4150
4151         PR 8551
4152         * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
4153         macro.
4154         (vec_cmplt C++ functions): Reverse arguments.
4155
4156 2002-12-18  Geoffrey Keating  <geoffk@apple.com>
4157
4158         * config/rs6000/t-rs6000: Move contents to t-fprules,
4159         add rules for dependencies of rs6000.o and to build rs6000-c.o
4160         * config/rs6000/t-fprules: New file from t-rs6000.
4161         * config/rs6000/t-beos: Remove soft-fp rules.
4162         * config/rs6000/t-ppccomm: Likewise.
4163         * config/rs6000/t-newas: Likewise.
4164         * config/rs6000/t-rs6000-c-rule: Delete.
4165         * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
4166         Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
4167         Create generic Darwin rules.
4168
4169         * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
4170
4171 2002-12-18  Doug Evans  <dje@sebabeach.org>
4172
4173         * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
4174         and LIT_NAME_P.
4175         (move_src_operand): Remove compile-time warning.
4176         * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
4177
4178 2002-12-18  Jason Merrill  <jason@redhat.com>
4179
4180         * unwind-dw2-fde.c (frame_downheap): Split out from...
4181         (frame_heapsort): Here.
4182
4183 2002-12-17  Jason Merrill  <jason@redhat.com>
4184
4185         * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
4186         (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
4187
4188         * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
4189
4190         * calls.c (expand_call): Don't try to be clever about expanding
4191         the return slot address.
4192
4193 2002-12-18  Kaz kojima  <kkojima@gcc.gnu.org>
4194
4195         * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
4196         Define.
4197
4198 2002-12-17  Jason Merrill  <jason@redhat.com>
4199
4200         * genmultilib: Use 'cd ./foo'.
4201
4202 2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
4203
4204         * doc/c-tree.texi: Restore deliberate spelling mistakes.
4205
4206 2002-12-17  Kazu Hirata  <kazu@cs.umass.edu>
4207
4208         * doc/c-tree.texi: Fix typos and follow spelling conventions.
4209         * doc/cpp.texi: Likewise.
4210         * doc/extend.texi: Likewise.
4211         * doc/gty.texi: Likewise.
4212         * doc/install.texi: Likewise.
4213         * doc/invoke.texi: Likewise.
4214         * doc/md.texi: Likewise.
4215         * doc/passes.texi: Likewise.
4216         * doc/rtl.texi: Likewise.
4217         * doc/sourcebuild.texi: Likewise.
4218         * doc/tm.texi: Likewise.
4219
4220 2002-12-17  Jerry Quinn  <jlquinn@optonline.net>
4221
4222         * doc/invoke.texi: Minor spelling and grammar fixes.
4223
4224 2002-12-17  Ulrich Weigand  <uweigand@de.ibm.com>
4225
4226         * config/s390/s390.c (s390_output_constant_pool): Replace
4227         ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
4228
4229 Tue Dec 17 09:47:57 CET 2002  Jan Hubicka  <jh@suse.cz>
4230
4231         * convert.c (convert_to_real): Disable function transformation for
4232         now.
4233
4234 2002-12-16  Geoffrey Keating  <geoffk@apple.com>
4235
4236         * gcc.c (handle_braces): Allow '@' as a switch name.
4237
4238 2002-12-16  Jason Merrill  <jason@redhat.com>
4239
4240         * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
4241         with special struct-return ABIs.
4242
4243         * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
4244         doesn't match the begin SCOPE_STMT in partialness.
4245
4246 2002-12-16  Geoffrey Keating  <geoffk@apple.com>
4247
4248         * genmultilib: Create temporary files in unique subdirectory.
4249
4250         * gcc.c (validate_switches): Allow '@' as a switch name.
4251
4252 2002-12-16  Loren J. Rittle  <ljrittle@acm.org>
4253
4254         * Makefile.in (gcov-iov.h): Improve portability.
4255
4256 Mon Dec 16 23:39:19 CET 2002  Jan Hubicka  <jh@suse.cz>
4257
4258         * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
4259         gas
4260         * mips.md (tablejump insn): Likewise.
4261
4262 2002-12-16  Mark Mitchell  <mark@codesourcery.com>
4263
4264         * doc/include/gcc-common.texi: Change version number to 3.4.
4265
4266 2002-12-16  Bruce Korb  <bkorb@gnu.org>
4267
4268         * fixinc/fixlib.h: add: #include <signal.h>
4269         * fixinc/fixincl.c: remove: #include <signal.h>
4270
4271 Mon Dec 16 17:20:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
4272
4273         * sh.h (EXTRA_CONSTRAINT_Z): New macro.
4274         (EXTRA_CONSTRAINT): Use it.
4275         * sh.md (anddi3): Use 'Z' constraint for alternative 2.
4276
4277 2002-12-15  Zack Weinberg  <zack@codesourcery.com>
4278
4279         * config.gcc (need_64bit_hwint): New variable.
4280         (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*,
4281         mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*,
4282         sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*,
4283         sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*):
4284         Set it.
4285         (powerpc*-*-darwin*): Unset it.
4286         (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*,
4287         i?86-*-interix*, sparc64-*-openbsd*): Remove references to
4288         deleted/nonexistent xm-*.h headers.
4289         * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the
4290         target set need_64bit_hwint in config.gcc.
4291         * configure, config.in: Regenerate.
4292
4293         * hwint.h: Overhaul.  Don't bother trying int for
4294         HOST_WIDE_INT.  Do try __int64 if long is not enough.  Base
4295         decision to force 64-bit HOST_WIDE_INT on
4296         NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is
4297         not visible at this point.  Don't allow prior definition of
4298         any macro defined by this file.
4299
4300         * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or
4301         HOST_BITS_PER_WIDE_INT.
4302         * config/c4x/c4x.h: Adjust redefinition of
4303         HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h.
4304         * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h,
4305         config/i386/xm-i386-interix.h: Delete file.
4306
4307 2002-12-14  Rodney Brown  <rbrown64@csc.com.au>
4308             John David Anglin  <dave@hiauly1.hia.nrc.ca>
4309
4310         * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL.
4311         * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define.
4312
4313 2002-12-14  Zack Weinberg  <zack@codesourcery.com>
4314
4315         * mkconfig.sh: Correct comment.  Add copyright boilerplate.
4316
4317 2002-12-14  Zack Weinberg  <zack@codesourcery.com>
4318
4319         * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe,
4320         config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin,
4321         config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64,
4322         config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2,
4323         config/v850/t-v850:  Correct dependencies and normalize
4324         compilation commands for files that include coretypes.h and tm.h.
4325
4326         * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h,
4327         not config.h and system.h.
4328
4329 Sat Dec 14 20:43:41 CET 2002  Jan Hubicka  <jh@suse.cz>
4330
4331         * i386.c (flags_reg_operand):  New function.
4332         * i386.h (PREDICATE_CODES): Add flags_reg_operand.
4333         * i386.md (cmov splitter, movqicc): Use new predicate.
4334
4335 Sat Dec 14 17:03:17 CET 2002  Jan Hubicka  <jh@suse.cz>
4336
4337         * i386.md (movqicc splitter): Fix template.
4338
4339 2002-12-13  Jason Merrill  <jason@redhat.com>
4340
4341         * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro.
4342         * calls.c (expand_call): Handle it.
4343         * tree-inline.c (struct inline_data): Remove target_exprs field.
4344         (optimize_inline_calls): Don't initialize it.
4345         (expand_call_inline): Don't modify it.  Handle
4346         CALL_EXPR_HAS_RETURN_SLOT_ADDR.
4347         (declare_return_variable): Take return slot addr.
4348         * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm
4349         to return_slot_addr.
4350         * langhooks-def.h, langhooks.c: Adjust.
4351         * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for
4352         a decl with no DECL_INITIAL.
4353
4354         * expr.c (expand_expr): Don't discard the target of a call which
4355         returns in memory.
4356
4357 2002-12-13  Neil Booth  <neil@daikokuya.co.uk>
4358
4359         * cppinit.c (path_include): Take an environment variable name.
4360         Tidy up.
4361         (init_standard_includes): Simplify environment handling, and
4362         move to ...
4363         (cpp_read_main_file): ...here as -nostdinc should not affect
4364         environment variable paths.
4365
4366 2002-12-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4367
4368         * pa.c (output_millicode_call): Correct typo.
4369         (output_call): Likewise.
4370
4371 Fri Dec 13 21:07:18 2002  Alexandre Oliva  <aoliva@redhat.com>
4372
4373         * config/mn10300/mn10300.c (print_operand) <case N>: Check
4374         operand's range.  Print value directly, without aid from
4375         output_address.
4376         <case U>: New.
4377         <case S>: Make sure argument to fprintf has the right type.
4378         * config/mn10300/mn10300.h (OK_FOR_T): New macro.
4379         (EXTRA_CONSTRAINT): Adjust.
4380         * config/mn10300/mn10300.md: Add new all-QImode pattern for
4381         bclr.  Use %U for immediate operands of bset and bclr.
4382         (iorqi3): New expand, with insns for AM33 and mn10300.
4383
4384 Fri Dec 13 16:02:27 2002  J"orn Rennecke <joern.rennecke@superh.com>
4385
4386         * sh.c (sh_register_operand): New function.
4387         (prepare_move_operands): Use it.
4388         * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
4389         * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
4390         (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
4391         (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
4392         (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
4393         (movv2si_i): Likewise.
4394
4395 2002-12-13  Jim Wilson  <wilson@redhat.com>
4396
4397         * doc/extend.texi (Complex Numbers): Update info on debug info.
4398
4399 2002-12-13  Kazu Hirata  <kazu@cs.umass.edu>
4400
4401         * config/h8300/h8300.md (addhi3_h8300): Remove the last
4402         alternative.
4403
4404 2002-12-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4405
4406         * hooks.h (hook_tree_tree_bool_false): Declare
4407         hook_bool_tree_tree_false instead.
4408
4409 2002-12-12  Devang Patel  <dpatel@apple.com>
4410
4411         * doc/invoke.texi: Document Darwin linker options, -bundle
4412         -bind_at_load, -all_load and -arch_errors_fatal
4413
4414 2002-12-12  Jim Wilson  <wilson@redhat.com>
4415
4416         * dbxout.c (dbxout_fptype_value): New.
4417         (dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.
4418
4419 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
4420
4421         * c-decl.c: Fix a comment typo.
4422         * cfg.c: Likewise.
4423         * cfgcleanup.c: Likewise.
4424         * cfglayout.c: Likewise.
4425         * cfgrtl.c: Likewise.
4426         * c-typeck.c: Likewise.
4427         * dominance.c: Likewise.
4428         * dwarf2asm.c: Likewise.
4429         * dwarfout.c: Likewise.
4430         * expmed.c: Likewise.
4431         * expr.c: Likewise.
4432         * final.c: Likewise.
4433         * flow.c: Likewise.
4434         * function.c: Likewise.
4435         * gcc.c: Likewise.
4436         * genautomata.c: Likewise.
4437         * integrate.c: Likewise.
4438         * loop.c: Likewise.
4439         * loop.h: Likewise.
4440         * output.h: Likewise.
4441         * profile.c: Likewise.
4442         * ra.h: Likewise.
4443         * reload1.c: Likewise.
4444         * reload.c: Likewise.
4445         * sched-rgn.c: Likewise.
4446         * stmt.c: Likewise.
4447         * tree.h: Likewise.
4448         * vmsdbgout.c: Likewise.
4449
4450 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
4451
4452         * config/h8300/h8300.md: Add a new peephole2.
4453
4454 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
4455
4456         * config/h8300/h8300.md (a peephole2): Accept a constant
4457         that's accepted by CONST_OK_FOR_J.
4458
4459 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
4460
4461         * config/h8300/h8300.h (CONST_OK_FOR_J): New.
4462         (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
4463         * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
4464         (*addhi_h8300hs): Likewise.
4465
4466 Thu Dec 12 16:24:59 2002  J"orn Rennecke <joern.rennecke@superh.com>
4467
4468         * sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
4469         (sh_register_move_cost): Add clause for SImode fp-fp moves.
4470         Increase cost for moves involving multiple general purpose registers.
4471         * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
4472         TARGET_FMOVD.
4473         (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
4474         registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
4475         (enum reg_class reg_class_from_letter): No longer const.
4476         (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
4477         REGCLASS_HAS_GENERAL_REG.
4478         Handle SImode moves from/to fp registers.
4479         ! TARGET_SHMEDIA && TARGET_FMOVD.
4480         (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
4481         * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
4482
4483 2002-12-12  Andreas Schwab  <schwab@suse.de>
4484
4485         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
4486         change and some warnings.
4487
4488 2002-12-12  Kazu Hirata  <kazu@cs.umass.edu>
4489
4490         * doc/md.texi (pushm): Fix a typo.
4491
4492 2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
4493
4494         * config/mips/mips.c (mips_output_conditional_branch): Support
4495         PIC-safe out-of-range branch and branch-likely.
4496         * config/mips/mips.md (attr length): PIC-safe out-of-range
4497         branches are longer.
4498         ("jump"): Support PIC-safe out-of-range-for-branch jumps.  Remove
4499         unused code to support indirect jumps.
4500
4501 2002-12-11  Zack Weinberg  <zack@codesourcery.com>
4502
4503         * Makefile.in (GTFILES): Add $(host_xm_file_list) and
4504         $(tm_file_list).
4505
4506 2002-12-11  David Edelsohn  <edelsohn@gnu.org>
4507
4508         * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies.
4509
4510 Wed Dec 11 15:20:45 CET 2002  Jan Hubicka  <jh@suse.cz>
4511
4512         * i386.md (cmove splitters): Avoid creation of unnecesary subregs.
4513
4514 2002-12-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4515
4516         * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
4517         (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
4518         BIGGEST_ALIGNMENT.
4519         (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
4520         (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
4521
4522 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
4523
4524         * doc/invoke.texi: Correct dump file names.
4525
4526 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
4527
4528         * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
4529         name to globalize_label or assemble_name.
4530
4531 Wed Dec 11 20:15:19 2002  J"orn Rennecke <joern.rennecke@superh.com>
4532
4533         * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
4534         if not TARGET_SHMEDIA.
4535
4536 Wed Dec 11 19:05:05 2002  J"orn Rennecke <joern.rennecke@superh.com>
4537
4538         * sh.h (REG_CLASS_HAS_FP_REG): New.
4539         (REGISTER_MOVE_COST) Use it.  Put body into a function and
4540         move it into:
4541         * sh.c (sh_register_move_cost).
4542         * sh-protos.h (sh_register_move_cost): Declare.
4543
4544         * sh.c (sh_expand_builtin): Abort for unexpected nop values.
4545         (sh_adjust_cost): Always return a value.
4546
4547 Wed Dec 11 18:39:52 2002  J"orn Rennecke <joern.rennecke@superh.com>
4548
4549         * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
4550         (REGISTER_MOVE_COST): Use it.
4551
4552 2002-12-11  Richard Henderson  <rth@redhat.com>
4553
4554         * tree.h (MODULE_LOCAL_P): Kill.
4555         * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
4556
4557 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
4558
4559         * config/h8300/h8300.md (two define_peephole2): New.
4560
4561 2002-12-11  Kazu Hirata  <kazu@cs.umass.edu>
4562
4563         * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
4564         (CONST_OK_FOR_K): Likewise.
4565         (CONST_OK_FOR_M): Likewise.
4566         (CONST_OK_FOR_LETTER_P): Do not use the above macros.
4567
4568 2002-12-11  Neil Booth  <neil@daikokuya.co.uk>
4569
4570         * c-common.c (builtin_define_type_max): Handle unsigned
4571         types too.
4572
4573 2002-12-10  David Edelsohn  <edelsohn@gnu.org>
4574
4575         * haifa-sched.c (rank_for_schedule): Correct style.
4576
4577 2002-12-10  Per Bothner  <pbothner@apple.com>
4578
4579         * cpplib.h (struct cpp_hashnode):  Split a non-portably-signed field
4580         directive_index into an unsigned field and a new is_directive field.
4581         * cppinit.c (mark_named_operators):  Update to set new fields.
4582         * cpplex.c (_cpp_lex_direct):  Now directive_field is unsigned.
4583         * cpplib.c [_cpp_handle_directive]:   Test is_directive field.
4584         No longer need to subtract 1 from directive_index.
4585         (_cpp_init_directives):  No longer need to add 1 to directive_index.
4586         * cpptrad.c (scan_out_logical_line):  Use is_directive field.
4587
4588 2002-12-10  Roger Sayle  <roger@eyesopen.com>
4589
4590         * builtins.c (fold_builtin): Remove -funsafe-math-optimizations
4591         check for evaluating sqrt of a constant at compile time.
4592         * simplify-rtx.c (simplify_unary_operation): Likewise.
4593
4594 2002-12-10  Janis Johnson  <janis187@us.ibm.com>
4595
4596         PR other/8882
4597         * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
4598
4599 2002-12-10  Devang Patel  <dpatel@appple.com>
4600
4601         * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
4602         * doc/invoke.texi: Add new "Darwin Options" section.
4603
4604 2002-12-10  Jim Wilson  <wilson@redhat.com>
4605
4606         * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
4607         memory.
4608
4609 2002-12-10  Andrew Haley  <aph@redhat.com>
4610
4611         * cse.c (cse_insn): Don't cse past a basic block boundary.
4612
4613 2002-12-10  Jakub Jelinek  <jakub@redhat.com>
4614
4615         * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
4616         -shared.
4617         * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
4618         * config/alpha/linux.h (LIB_SPEC): Likewise.
4619         * config/arm/linux-elf.h (LIB_SPEC): Likewise.
4620         * config/pa/pa-linux.h (LIB_SPEC): Likewise.
4621         * config/sparc/linux.h (LIB_SPEC): Likewise.
4622         * config/sparc/linux64.h (LIB_SPEC): Likewise.
4623
4624 2002-12-09  Larin Hennessy  <larin@science.oregonstate.edu>
4625
4626         * doc/invoke.texi: Document UltraSparc III option.
4627
4628 2002-12-09  Richard Henderson  <rth@redhat.com>
4629
4630         * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
4631         __tune_pentium2__ and __tune_pentium3__ as necessary.
4632
4633 2002-12-09  Richard Henderson  <rth@redhat.com>
4634
4635         * target.h (gcc_target): Add cannot_force_const_mem.
4636         * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
4637         (TARGET_INITIALIZER): Add it.
4638         * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
4639         * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
4640         * reload1.c (reload): Likewise.
4641         * hooks.c (hook_bool_rtx_false): New.
4642         * hooks.h: Declare it.
4643
4644         * config/i386/i386.c (ix86_cannot_force_const_mem): New.
4645         (TARGET_CANNOT_FORCE_CONST_MEM): New.
4646         (ix86_expand_move): Remove de-const-pooling hack.
4647
4648 Mon Dec  9 21:33:38 CET 2002  Jan Hubicka  <jh@suse.cz>
4649
4650         * toplev.c (dump_file): Fix order to match reality.
4651
4652 2002-12-08  Geoffrey Keating  <geoffk@apple.com>
4653
4654         * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
4655         (store_multiple): Likewise.
4656
4657 2002-12-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4658
4659         * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
4660         function pointers in page 0.
4661
4662 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
4663
4664         * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
4665         definition
4666         (MEMBER_TYPE_FORCES_BLK): Move.
4667         * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
4668         aggregate arguments.
4669         (ia64_function_value): Use PARALLEL to return aggregate values.
4670
4671 2002-12-09  Steve Ellcey  <sje@cup.hp.com>
4672
4673         * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
4674         * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
4675         * calls.c (store_unaligned_arguments_into_pseudos) Remove
4676         FUNCTION_ARG_REG_LITTLE_ENDIAN.
4677         * stmt.c (expand_return): Ditto.
4678         * expr.c (move_block_from_reg): Ditto.
4679         (copy_blkmode_from_reg): Ditto.
4680         * expmed.c (store_bit_field): Ditto.
4681
4682 2002-12-09  Svein E. Seldal  <Svein.Seldal@solidas.com>
4683
4684         * config.gcc: Added tic4x-* target as an alias to c4x-*
4685
4686 Sun Dec  8 14:57:39 CET 2002  Jan Hubicka  <jh@suse.cz>
4687
4688         * i386.c (ix86_expand_int_movcc): Use force_operand instead of
4689         constructing insn directly.
4690
4691 2002-12-06  Per Bothner  <pbothner@apple.com>
4692
4693         * cpplib.h (struct cpp_hashnode):  Change field directive_index from
4694         char to an int bit-field, for hosts where char is unsigned.
4695
4696 2002-12-07  Roger Sayle  <roger@eyesopen.com>
4697             Richard Henderson <rth@redhat.com>
4698
4699         * real.c (ieee_extended_motorola_format,
4700         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
4701         ieee_quad_format, vax_d_format, vax_g_format, i370_double_format):
4702         Provide appropriate values for new signbit field.
4703
4704 2002-12-07  Roger Sayle  <roger@eyesopen.com>
4705
4706         * real.h (real_format): Add signbit field.
4707         * real.c (ieee_single_format, ieee_double_format,
4708         ieee_extended_motorola_format, ieee_extended_intel_96_format,
4709         ieee_extended_intel_128_format, ibm_extended_format,
4710         ieee_quad_format, vax_f_format, vax_d_format,
4711         vax_g_format, i370_single_format, i370_double_format,
4712         c4x_single_format, c4x_extended_format, real_internal_format):
4713         Provide suitable signbit value, or -1 to avoid bit twiddling.
4714
4715         * optabs.c (expand_unop): Try implementing negation of
4716         floating point modes by flipping the sign bit.
4717         (expand_abs): Try implementing abs of floating point modes
4718         by clearing the sign bit.
4719
4720 Sat Dec  7 22:29:47 CET 2002  Jan Hubicka  <jh@suse.cz>
4721
4722         * i386.c (ix86_expand_int_movcc):  Use force_operand instead
4723         of constructing insn directly.
4724
4725 2002-12-07  Kazu Hirata  <kazu@cs.umass.edu>
4726
4727         * config/h8300/h8300.md (*iorhi_shift_8): New.
4728
4729 2002-12-06  Bernd Schmidt  <bernds@redhat.com>
4730
4731         * doc/invoke.texi: Document FRV port options.
4732         * doc/md.texi: Document FRV register classes.
4733
4734 2002-12-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4735
4736         * doc/install.texi (Configuration): Improve description of cases
4737         where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
4738
4739 2002-12-06  Per Bothner  <pbothner@apple.com>
4740
4741         * cpplib.h (NODE_MACRO_ARG):  New flag.
4742         (struct cpp_hashnode):  Give _cpp_hashnode_value tag to value union.
4743         Remove value.operator field.  Move arg_index field to value union.
4744         (directive_index):  Make signed, since also used for C++ operators.
4745         * cppmacro.c (_cpp_save_parameter):  Use NODE_MACRO_ARG flag to
4746         check for duplicate parameter.  Set NODE_MACRO_ARG flag.
4747         Save node->value, and set node->value.arg_index.
4748         (_cpp_create_definition):  For each paramater, restore node->value.
4749         (lex_expansion_token):  Use NODE_MACRO_ARG flag, and moved arg_index.
4750         * cpptrad.c (scan_out_logical_line): Likewise.
4751         (scan_out_logical_line): Check for directive > 0.
4752         * cpplib.c (cpp_handle_directive):  Likewise.
4753         * cpplex.c (_cpp_lex_direct):  Update as value.operator is replaced
4754         by negative of directive_index.
4755         * cppinit.c (mark_named_operators):  Likewise.
4756
4757         * hashtable.h (struct ht_identifier):  Swap fields, for better packing.
4758
4759 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
4760
4761         * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
4762         FPU.
4763         (push): Generate push_fpscr.
4764         (pop): Generate pop_fpscr.
4765         * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
4766         (fpu_switch): Add alternative to push fpscr.  Enable for TARGET_SH3E.
4767
4768 Fri Dec  6 19:36:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
4769
4770         * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
4771         DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
4772
4773 Fri Dec  6 19:17:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
4774
4775         * sh.md (movdi_i): Name.  Remove inappropriate comment.
4776
4777 Fri Dec  6 15:44:46 2002  J"orn Rennecke <joern.rennecke@superh.com>
4778         Merged from basic improvements branch (excerpt):
4779
4780         2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
4781         * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
4782
4783 2002-12-06  Jakub Jelinek  <jakub@redhat.com>
4784
4785         * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
4786
4787 Thu Dec  5 16:58:25 CET 2002  Jan Hubicka  <jh@suse.cz>
4788
4789         * i386.md (dimode peep2s): Re-add "&& 1".
4790
4791 Thu Dec  5 14:10:15 CET 2002  Jan Hubicka  <jh@suse.cz>
4792
4793         * i386.c (ix86_expand_prologue):  Add comment, do not use
4794         fast prologues for cold and normal functions.
4795
4796 Thu Dec  5 00:52:37 CET 2002  Jan Hubicka  <jh@suse.cz>
4797
4798         * i386.c (x86_rep_movl_optimal): New variable.
4799         (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL
4800         * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro.
4801
4802         * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
4803         absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
4804         neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
4805         generate unnecesary subregs.
4806
4807 2002-12-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4808
4809         * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
4810         * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
4811
4812 2002-12-05  Dale Johannesen  <dalej@apple.com>
4813
4814         * tree.c (unsafe_for_reeval):  Consider callee child of CALL_EXPR.
4815
4816 2002-12-05  Danny Smith  <dannysmith@users.sourceforge.net>
4817
4818         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
4819         PROFILE_HOOK.
4820         * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
4821
4822 2002-12-05  Aldy Hernandez  <aldyh@redhat.com>
4823
4824         * config/rs6000/spe.h (__ev_mwlufi): Remove.
4825         (__ev_mwlufia): Remove.
4826         (__ev_mwlumfaaw): Remove.
4827         (__ev_mwlusfaaw): Remove.
4828         (__ev_mwlumfanw): Remove.
4829         (__ev_mwlusfanw): Remove.
4830
4831 2002-12-05  Kazu Hirata  <kazu@cs.umass.edu>
4832
4833         * config/h8300/h8300.md (*andorsi3_shift_8): New.
4834
4835 2002-12-05  Kazu Hirata  <kazu@cs.umass.edu>
4836
4837         * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
4838         lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
4839         (get_shift_alg): Return optimal assembly instructions for the
4840         shifts mentioned above.
4841
4842 Wed Dec  4 11:53:07 CET 2002  Jan Hubicka  <jh@suse.cz>
4843
4844         * i386.c (ix86_expand_int_movcc): Force operand into register for QImode
4845         condtiional moves.
4846
4847 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
4848
4849         * config/h8300/h8300.c (h8300_init_once): Do not use loop to
4850         implement ashiftrt:HI by 13 bits on H8S.
4851
4852 2002-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4853
4854         * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
4855         * pa.md (canonicalize_funcptr_for_compare): Output library call to
4856         canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
4857         * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
4858         CTOR_LIST_BEGIN): New defines.
4859         * pa/t-linux (LIB2FUNCS_EXTRA): New define.
4860         (fptr.c): Add make rules.
4861
4862 2002-12-04  Geoffrey Keating  <geoffk@apple.com>
4863
4864         * combine.c (combine_simplify_rtx): Add new canonicalizations.
4865         * doc/md.texi (Insn Canonicalizations): Document new
4866         canonicalizations for multiply/add combinations.
4867         * config/rs6000/rs6000.md: Add and modify floating add/multiply
4868         patterns to ensure they're used whenever they can be.
4869
4870 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
4871
4872         * config/h8300/h8300.c: Update the comments related to shifts.
4873
4874 2002-12-04  Chris Demetriou  <cgd@broadcom.com>
4875
4876         * config/mips/mips.md (get_fnaddr): Correct length attribute.
4877
4878 2002-12-04  Kazu Hirata  <kazu@cs.umass.edu>
4879
4880         * config/h8300/h8300.md (*extzv_8_8): New.
4881         (*extzv_8_16): Likewise.
4882
4883 2002-12-04  Jason Merrill  <jason@redhat.com>
4884
4885         PR c++/8461, c++/8625
4886         * integrate.c (copy_decl_for_inlining): Handle explicit invisible
4887         references.
4888         * tree-inline.c (initialize_inlined_parameters): Likewise.
4889
4890         * tree.c (variably_modified_type_p): Just return an error_mark_node.
4891
4892 2002-12-04  Chris Demetriou  <cgd@broadcom.com>
4893
4894         * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
4895         macro instruction in a branch delay slot, to avoid assembler
4896         warnings.
4897
4898 2002-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
4899
4900         PR c/7622
4901         * c-semantics (genrtl_scope_stmt): Do not output inlined
4902         nested functions that contain no code.
4903
4904 Wed Dec  4 15:20:54 CET 2002  Jan Hubicka  <jh@suse.cz>
4905
4906         * cfgrtl.c (force_nonfallthru_and_redirect):  Allow abnormal edge
4907         to be forced into nonfallthru.
4908
4909 2002-12-03  Jason Thorpe  <thorpej@wasabisystems.com>
4910
4911         * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
4912
4913 2002-12-03  Aldy Hernandez  <aldyh@redhat.com>
4914
4915         * config/rs6000/spe.md (*movv1di_const0): New pattern.
4916
4917 2002-12-03  Richard Henderson  <rth@redhat.com>
4918
4919         * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
4920
4921 2002-12-03  Hans-Peter Nilsson  <hp@bitrange.com>
4922
4923         * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
4924         Initialize tmp.using_obstack to 0.
4925
4926 2002-12-03  Andreas Schwab  <schwab@suse.de>
4927
4928         * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
4929         (EH_RETURN_STACKADJ_RTX): Define.
4930         (EH_RETURN_HANDLER_RTX): Define.
4931         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
4932         * config/m68k/m68k.c (m68k_save_reg): New function.  Handle eh
4933         registers and don't save fixed registers.
4934         (m68k_output_function_prologue): Use it.
4935         (use_return_insn): Likewise.
4936         (m68k_output_function_epilogue): Likewise.
4937
4938 2002-12-03  Kazu Hirata  <kazu@cs.umass.edu>
4939
4940         * config/h8300/h8300.c (single_one_operand): Fix a warning.
4941         (single_zero_operand): Likewise.
4942
4943 2002-12-02  Nathanael Nerode  <neroden@gcc.gnu.org>
4944
4945         * Makefile.in configure configure.in dummy-conditions.c fix-header.c
4946         gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c
4947         gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c
4948         genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l
4949         gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c
4950         genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c
4951         scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi
4952         doc/install-old.texi: Replace hconfig.h with bconfig.h.
4953         * Makefile.in: Replace HCONFIG_H with BCONFIG_H.
4954
4955 2002-12-02  Andrew Pinski  <pinskia@physics.uc.edu>
4956
4957         * config/rs6000/rs6000.md (ffssi): Convert to expander.
4958         (ffsdi): Likewise.
4959         (cntlzw2, cntlzd2): New patterns.
4960
4961 2002-12-02  H.J. Lu <hjl@gnu.org>
4962
4963         * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd.
4964         (mips*-*-linux*): Remove mips/t-linux.
4965
4966 Mon Dec  2 19:26:30 CET 2002  Jan Hubicka  <jh@suse.cz>
4967
4968         * i386.c (ix86_expand_int_movcc):  Avoid overflow.
4969
4970 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
4971
4972         * config/h8300/h8300.c (dosize): Replace argument op with
4973         sign.
4974         (h8300_output_function_prologue): Update the call to dosize.
4975         (h8300_output_function_epilogue): Likewise.
4976
4977 2002-12-02  Bob Wilson  <bob.wilson@acm.org>
4978
4979         * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
4980
4981 2002-12-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4982
4983         * configure.in: Use "missing" script to generate warning if
4984         flex or bison programs not found, instead of invoking "false".
4985         * configure: Rebuilt.
4986
4987 Mon Dec  2 20:28:48 CET 2002  Jan Hubicka  <jh@suse.cz>
4988
4989         * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
4990
4991 Mon Dec  2 19:42:52 CET 2002  Jan Hubicka  <jh@suse.cz>
4992
4993         * i386.c (ix86_expand_int_movcc):  Avoid overflow.
4994
4995 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
4996
4997         * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
4998         (push): Likewise.
4999         (pop): Likewise.
5000         (h8300_output_function_prologue): Likewise.
5001         (h8300_output_function_epilogue): Likewise.
5002
5003 Mon Dec  2 14:43:22 2002  J"orn Rennecke <joern.rennecke@superh.com>
5004
5005         * expmed.c (store_bit_field): Use int_mode_for_mode to find
5006         corresponding mode of non-integer mode, unless it is VOIDmode.
5007
5008 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
5009
5010         * config/h8300/h8300.md (stm_h8300s_2): New.
5011         (stm_h8300s_3): Likewise.
5012         (stm_h8300s_4): Likewise.
5013         (five define_peephole2): Likewise.
5014
5015 2002-12-02  Kazu Hirata  <kazu@cs.umass.edu>
5016
5017         * ra-build.c: Fix a comment typo.
5018
5019 Sun Dec  1 16:50:47 CET 2002  Jan Hubicka  <jh@suse.cz>
5020
5021         * i386.c (ix86_expand_int_movcc): fix
5022         reversed BRANCH_COST test; be curefull about infinite recursion.
5023
5024 2002-12-01  Kazu Hirata  <kazu@cs.umass.edu>
5025
5026         * config/h8300/h8300.c (h8300_output_function_prologue):
5027         Remove variable idx.
5028         (h8300_output_function_epilogue): Likewise.
5029
5030 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
5031
5032         * config/frv/xm-frv.h: Delete, unnecessary.
5033
5034 2002-12-01  Kazu Hirata  <kazu@cs.umass.edu>
5035
5036         * config/h8300/h8300.md: Add comments for define_peephole2.
5037
5038 2002-12-01  Mark Mitchell  <mark@codesourcery.com>
5039
5040         * builtin-types.def (BT_SIZE): Use size_type_node.
5041         * builtins.c (fold_builtin): Make the builtin strlen returns a
5042         size_t, not a sizetype.
5043         * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
5044         c_size_type_node.
5045         (c_alignof_expr): Likewise.
5046         (c_common_nodes_and_builtins): Likewise.
5047         * c-common.h (CTI_C_SIZE_TYPE): Remove.
5048         (c_size_type_node): Likewise.
5049         * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
5050         * tree.h (TI_SIZE_TYPE): New enumeral.
5051         (size_type_node): Likewise.
5052
5053 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
5054
5055         * configure.in: Don't put ${tm_file} into host_xm_file,
5056         build_xm_file, or xm_file.  Do put tm-preds.h into tm_p_file.
5057         Take location of tm-preds.h into account when calculating
5058         tm_p_file_list.
5059         * configure: Regenerate.
5060         * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
5061         arguments.  Do not provide rtx, rtvec, tree, or GTY here.
5062         Remove special case code for tm_p.h and *config.h; add new
5063         special case code for tm.h and tconfig.h. Clean up a bit.
5064
5065         * Makefile.in (tm_file, tm_file_list): New variables set from
5066         @-substitutions.
5067         (GCONFIG_H): Deleted.
5068         (GTM_H, TM_H): New.
5069         (CONFIG_H): Is now just config.h $(host_xm_file_list).
5070         (TM_P_H): Move up with the other mkconfig.sh-generated
5071         headers; don't mention tm-preds.h explicitly.
5072         (tm.h, cs-tm.h): New rule.
5073         (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
5074         invocations of mkconfig.sh for changes to that program.
5075         (mostlyclean): Delete print-rtl1.c.
5076         (clean): Delete tm.h.
5077         Update dependencies for the files listed below.
5078
5079         * mklibgcc.in:  Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
5080
5081         * coretypes.h: New file.
5082         * system.h: #define malloc to xmalloc and realloc to xrealloc
5083         when FLEX_SCANNER or YYBISON is defined, independent of the
5084         value of GCC_VERSION.
5085         * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
5086         c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
5087         c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
5088         c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
5089         c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
5090         cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
5091         cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
5092         cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5093         cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
5094         cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
5095         debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
5096         dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
5097         emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
5098         expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
5099         function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
5100         gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
5101         gencheck.c, gencodes.c, genconditions.c, genconfig.c,
5102         genconstants.c, genemit.c, genextract.c, genflags.c,
5103         gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
5104         genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
5105         gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
5106         ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
5107         hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
5108         lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
5109         main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
5110         optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
5111         print-tree.c, profile.c, protoize.c, ra-build.c,
5112         ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
5113         real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
5114         regrename.c, reload.c, reload1.c, reorg.c, resource.c,
5115         rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
5116         scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
5117         sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
5118         ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
5119         tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
5120         tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
5121         xcoffout.c, config/darwin-c.c, config/darwin.c,
5122         config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
5123         config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
5124         config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
5125         config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
5126         config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
5127         config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
5128         config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
5129         config/i960/i960-c.c, config/i960/i960.c,
5130         config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
5131         config/m32r/m32r.c, config/m68hc11/m68hc11.c,
5132         config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
5133         config/mips/irix6-libc-compat.c, config/mips/mips.c,
5134         config/mmix/mmix.c, config/mn10200/mn10200.c,
5135         config/mn10300/mn10300.c, config/ns32k/ns32k.c,
5136         config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
5137         config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
5138         config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
5139         config/sparc/sparc.c, config/stormy16/stormy16.c,
5140         config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
5141         config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
5142         Include coretypes.h and tm.h.
5143
5144         * genattrtab.c, genconditions.c, genemit.c, genextract.c,
5145         gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
5146         genrecog.c: Include coretypes.h and tm.h from the file
5147         generated by this program.
5148
5149         * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
5150         unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
5151         coretypes.h and tm.h, and tsystem.h when not already included.
5152         No need to include stddef.h nor stdlib.h.
5153
5154         * fixinc/fixlib.h: Include coretypes.h and tm.h.  Do not
5155         include auto-host.h or ansidecl.h/
5156         * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
5157         * fixinc/procopen.c: Include server.h after fixlib.h.  Do not
5158         include auto-host.h, ansidecl.h, or system.h.
5159         * fixinc/server.c: Likewise.  Also, do not include signal.h,
5160         and do not redefine volatile.
5161
5162 Sat Nov 30 17:16:46 CET 2002  Jan Hubicka  <jh@suse.cz>
5163
5164         * i386.md (movdf_integer):  Always enable in 64bit.
5165         (movdf_nointeger): Always disable in 64bit.
5166
5167 2002-11-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5168
5169         * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
5170         pseudo register number plus 1.
5171
5172 Fri Nov 29 20:10:56 2002  J"orn Rennecke <joern.rennecke@superh.com>
5173
5174         * expmed.c (store_bit_field): Use int_mode_for_mode to find
5175         corresponding mode of non-integer mode, unless it is VOIDmode.
5176
5177 2002-11-29  Hans-Peter Nilsson  <hp@bitrange.com>
5178
5179         * cpplib.c (_cpp_test_assertion): Default *value to 0.
5180
5181         * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
5182
5183 2002-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
5184
5185         * config/s390/t-crtstuff: New target makefile fragment.
5186         * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
5187
5188 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
5189
5190         * config/h8300/h8300.md (movsi_h8300hs): Change the order of
5191         alternatives to correct the length when the memory operand is
5192         either pre_dec or post_inc.
5193
5194 2002-11-29  Kazu Hirata  <kazu@cs.umass.edu>
5195
5196         * config/h8300/h8300.md (an anonymous pattern): Give an
5197         internal name *tst_extzv_bitqi_1_n.
5198         Accept bit_operand instead of bit_memory_operand.
5199         Do not accept bit tests with the MSB.
5200         (*tst_extzv_memqi_1_n): New.
5201
5202 Thu Nov 28 23:56:24 CET 2002  Jan Hubicka  <jh@suse.cz>
5203
5204         * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX
5205         sharing when operand is SUBREG.
5206
5207 Thu Nov 28 08:57:26 CET 2002  Jan Hubicka  <jh@suse.cz>
5208
5209         * athlon.md (athlon-decodev): New reservation unit.
5210         (athlon-direct0): New reservation.
5211         (athlon-vector): New use athlon-decodev.
5212         (athlon-double, athlon-direct): Better model.
5213         (athlon_imul_k8): Use athlon-direct0.
5214         (athlon_movlpd_load): New insn reservation.
5215
5216 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
5217
5218         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
5219         Fix a comment typo.
5220         (h8300_tiny_constant_address_p): Likewise.
5221
5222 2002-11-28  Michael Matz  <matz@suse.de>
5223
5224         * doc/passes.texi: Mention the other register allocator.
5225
5226 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
5227
5228         * config/h8300/h8300.md (6 new peephole2 patterns): New.
5229
5230 2002-11-28  Jakub Jelinek  <jakub@redhat.com>
5231
5232         * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
5233         * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
5234         * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
5235
5236 2002-11-28  Kazu Hirata  <kazu@cs.umass.edu>
5237
5238         * config/h8300/h8300.c (h8300_and_costs): New.
5239         * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
5240         * config/h8300/h8300-protos.h: Add a prototype for
5241         h8300_and_costs.
5242
5243 Wed Nov 27 20:34:13 CET 2002  Jan Hubicka  <jh@suse.cz>
5244
5245         * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New.
5246         * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare.
5247         (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro.
5248         * i386.md (truncdfsf patterns and splitters): Use
5249         TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
5250
5251 2002-11-27  Zack Weinberg  <zack@codesourcery.com>
5252
5253         * config/rs6000/rs6000.c (altivec_init_builtins): Make the
5254         pointer argument in the prototypes of the following builtins
5255         be (const TYPE *) rather than (TYPE *):
5256          + __builtin_altivec_ld_internal_4sf
5257          + __builtin_altivec_ld_internal_4si
5258          + __builtin_altivec_ld_internal_8hi
5259          + __builtin_altivec_ld_internal_16qi
5260          + __builtin_altivec_lvsl
5261          + __builtin_altivec_lvsr
5262          + __builtin_altivec_lvebx
5263          + __builtin_altivec_lvehx
5264          + __builtin_altivec_lvewx
5265          + __builtin_altivec_lvxl
5266          + __builtin_altivec_lvx
5267          + __builtin_altivec_dst
5268          + __builtin_altivec_dstt
5269          + __builtin_altivec_dstst
5270          + __builtin_altivec_dststt
5271
5272 2002-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5273
5274         * except.c (default_exception_section): Move variable into the
5275         scope where it is used.
5276
5277 2002-11-27  Krister Walfridsson  <cato@df.lth.se>
5278
5279         * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
5280         correct version.
5281
5282 2002-11-27  Kazu Hirata  <kazu@cs.umass.edu>
5283
5284         * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
5285
5286 2002-11-27  Kazu Hirata  <kazu@cs.umass.edu>
5287
5288         * config/h8300/h8300.c (h8300_shift_costs): New.
5289         * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
5290         * config/h8300/h8300-protos.h: Add a prototype for
5291         h8300_shift_costs.
5292
5293 2002-11-27  Jim Wilson  <wilson@redhat.com>
5294
5295         * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
5296         in output template.
5297
5298 2002-11-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>
5299
5300         * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
5301         * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
5302         DLL_IMPORT_EXPORT_PREFIX, not '@'.
5303         (i386_pe_dllimport_name_p): Likewise.
5304         (i386_pe_mark_dllexport): Likewise.
5305         (i386_pe_mark_dllimport): Likewise.
5306         (i386_pe_encode_section_info): Likewise.
5307         (i386_pe_strip_name_encoding): Likewise.
5308
5309 2002-11-27  Richard Henderson  <rth@redhat.com>
5310
5311         * mkmap-symver.awk (BEGIN): Set sawsymbol false.
5312         (nm && NF == 3): Set sawsymbol true.
5313         (END): Exit if no symbols seen.
5314         (output): Fix map syntax error if no globals for the version.
5315
5316 Wed Nov 27 14:45:46 CET 2002  Jan Hubicka  <jh@suse.cz>
5317
5318         * builtins.def (DEF_C99_BUILTIN): Fix.
5319
5320 2002-11-26  Kaz Kojima  <kkojima@gcc.gnu.org>
5321
5322         * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros.
5323         (all): Add .size and .type information.
5324
5325 Tue Nov 26 22:43:50 CET 2002  Jan Hubicka  <jh@suse.cz>
5326
5327         * i386.c (ix86_expand_int_movcc):  Do not emit lea for short mode on
5328         partial_reg_stall target.
5329
5330 Tue Nov 26 22:27:47 CET 2002  Jan Hubicka  <jh@suse.cz>
5331
5332         * i386.md (movhicc): Allow general operand.
5333         (movqicc): New expander.
5334         (movqicc_noc): New pattern.
5335         * i386.c (ix86_expand_carry_flag_compare): New function.
5336         (ix86_expand_int_movcc): Optimize harder using sbb; support more
5337         HImode conversion; support QImode conditional moves
5338
5339 Tue Nov 26 16:30:59 CET 2002  Jan Hubicka  <jh@suse.cz>
5340
5341         * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20.
5342         (ix86_expand_prologue): Multiply the count by amount of registers to be
5343         pushed.
5344
5345 Tue Nov 26 15:55:27 CET 2002  Jan Hubicka  <jh@suse.cz>
5346
5347         * i386.c (override_options): Error about wrong -mcpu on x86-64
5348         compilation.
5349
5350 2002-11-26  NIIBE Yutaka  <gniibe@m17n.org>
5351
5352         * config/sh/linux.h (FUNCTION_PROFILER): Implemented.
5353
5354 Tue Nov 26 00:14:20 CET 2002  Jan Hubicka  <jh@suse.cz>
5355
5356         * i386-protos.h (x86_extended_QIreg_mentioned_p,
5357         x86_extended_reg_mentioned_p): Declare.
5358         * i386.c (extended_reg_mentioned_1): New static function.
5359         (x86_extended_QIreg_mentioned_p,
5360         x86_extended_reg_mentioned_p): New global functions.
5361         * i386.h (REX_SSE_REGNO_P): New macro.
5362         * i386.md (prefix_rex): New attribute.
5363         (length attribute): Add rex.
5364
5365 2002-11-26  Andrew Haley  <aph@redhat.com>
5366
5367         * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
5368         from_Unwind_Find_Enclosing_Function.
5369         * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
5370         * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
5371         * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
5372         _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
5373         * unwind.h (_Unwind_FindEnclosingFunction): Add.
5374
5375 2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
5376
5377         * config/s390/s390.c (390_output_constant_pool): Set alignment
5378         before label in 64 bit mode, behind otherwise.
5379
5380 2002-11-26  Richard Henderson  <rth@redhat.com>
5381
5382         * c-common.c (handle_visibility_attribute): Accept "default".
5383         * tree.h (enum symbol_visibility): New.
5384         (decl_visibility): Declare.
5385         * target.h (gcc_target.visibility): Take visibility arg as integer.
5386         * varasm.c (default_assemble_visibility): Likewise.
5387         (decl_visibility): New.
5388         (maybe_assemble_visibility): Use it.
5389         * output.h (default_assemble_visibility): Update prototype.
5390         * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
5391         visibility arg as integer.
5392         * doc/extend.texi: Document default visibility.
5393
5394 2002-11-26  Kazu Hirata  <kazu@cs.umass.edu>
5395
5396         * config/h8300/h8300.c: Adjust spacing.
5397         * config/h8300/h8300.h: Likewise.
5398
5399 2002-11-26  Richard Henderson  <rth@redhat.com>
5400
5401         * hooks.c (hook_bool_void_false, hook_void_tree_int,
5402         hook_void_FILEptr_constcharptr): Rename so that the return
5403         type is first.
5404         (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
5405         hook_bool_tree_false): New.
5406         * hooks.h: Update.
5407         * langhooks-def.h: Update for renames.
5408         * target-def.h: Likewise.
5409         * tree.c (default_comp_type_attributes,
5410         default_set_default_type_attributes, default_insert_attributes,
5411         default_function_attribute_inlinable_p,
5412         default_ms_bitfield_layout_p): Remove.
5413         * tree.h: Update.
5414
5415 2002-11-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5416
5417         * pa-protos.h (function_value): New prototype.
5418         * pa.c (function_value): Use a PARALLEL to return small aggregates on
5419         TARGET_64BIT.
5420         * pa.h (FUNCTION_VALUE): Use function_value.
5421         * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
5422         call_value_internal_reg, sibcall_value_internal_symref,
5423         sibcall_value_internal_symref_64bit): Remove =rf constraint on return
5424         value.
5425
5426 2002-11-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5427
5428         * expr.c (gen_group_rtx, emit_group_move): New functions.
5429         * expr.h (gen_group_rtx, emit_group_move): Prototype.
5430         * function.c (expand_function_start): Use gen_group_rtx to create a
5431         PARALLEL rtx to hold the return value when the real return rtx is a
5432         PARALLEL.
5433         (expand_function_end): Use emit_group_move to move the return value
5434         from a PARALLEL to the real return registers.
5435         * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
5436         in PARALLELs.
5437
5438 2002-11-26  Jason Thorpe  <thorpej@wasabisystems.com>
5439
5440         * config/t-libc-ok: Fix typo.
5441
5442 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
5443
5444         * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
5445         before AC_PROG_CC.
5446         * configure: Rebuilt.
5447
5448 2002-11-26  Nathan Sidwell  <nathan@codesourcery.com>
5449
5450         * c-decl.c: (start_struct): Commonize flag setting.
5451
5452 2002-11-26  Jason Thorpe  <thorpej@wasabisystems.com>
5453
5454         * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
5455         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
5456         RS6000_CPU_CPP_ENDIAN_BUILTINS.
5457         * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
5458
5459 2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
5460
5461         * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
5462         insns.
5463         * config/s390/s390.c (struct machine_function): Introduction of
5464         struct machine_function.
5465         (s390_output_symbolic_const): Use of cfun.
5466         (s390_optimize_prolog): Likewise.
5467         (s390_fixup_clobbered_return_reg): Likewise.
5468         (s390_frame_info): Likewise.
5469         (s390_emit_prologue, s390_emit_epilogue): Likewise.
5470         (s390_init_machine_status): New function.
5471         (override_options): call s390_init_machine_status.
5472         * config/s390/s390-protos.h (s390_output_constant_pool): Changed
5473         prototype.
5474
5475 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
5476
5477         * varasm.c (output_constant_pool): For pool constants in mergeable
5478         section ensure each constant is padded to multiple of entity size.
5479
5480 2002-11-26  Jakub Jelinek  <jakub@redhat.com>
5481
5482         * varasm.c (default_exception_section): Move to...
5483         * except.c (default_exception_section): ... here. Make
5484         .gcc_except_table read-only if it is not expected to have any
5485         dynamic relocations and linker handles it.
5486         * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
5487         if it is not expected to have any dynamic relocations and linker
5488         handles it.
5489         * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
5490         when linking read-only and read-write sections together.
5491         * configure, config.in: Rebuilt.
5492         * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
5493         (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
5494
5495 Mon Nov 25 18:32:37 CET 2002  Jan Hubicka  <jh@suse.cz>
5496
5497         * i386.md (pushsf_rex64): Fix typo.
5498
5499 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
5500
5501         * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
5502         new function.
5503         (__ev_create_ufix32_fs): Same.
5504         (__ev_get_sfix32_fs_internal): New.
5505         (__ev_get_sfix32_fs): Define to use function.
5506         (__ev_get_ufix32_fs_internal): New.
5507         (__ev_get_ufix32_fs): Define to use function.
5508         (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
5509         (__ev_get_lower_ufix32_fs): Same.
5510         (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
5511         (__ev_get_lower_sfix32_fs): Same.
5512         (__ev_set_sfix32_fs_internal): New.
5513         (__ev_set_ufix32_fs_internal): New.
5514         (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
5515         (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
5516         (__ev_set_upper_sfix32_fs): Call function.
5517         (__ev_set_lower_sfix32_fs): Same.
5518         (__ev_set_upper_ufix32_fs): Same.
5519         (__ev_set_lower_ufix32_fs): Same.
5520
5521 2002-11-25  Douglas B Rupp  <rupp@gnat.com>
5522
5523         * gcc.c (do_spec_1): Reset delete_this_arg to zero.
5524
5525 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
5526
5527         * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
5528         * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
5529         * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
5530         * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
5531         * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
5532         * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
5533         * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
5534         * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
5535         * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
5536         * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
5537         * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
5538         * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
5539         * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
5540         * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
5541         * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
5542         * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
5543         * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
5544         * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
5545         * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
5546         * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
5547         * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
5548         * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
5549         * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
5550         * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
5551         defining.
5552         * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
5553         * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
5554
5555 2002-11-25  Dave Pitts  <dpitts@cozx.com>
5556
5557         * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
5558
5559 2002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
5560
5561         * config/h8300/h8300.md (an anonymous pattern): New.
5562
5563 2002-11-25  Richard Henderson  <rth@redhat.com>
5564
5565         * alias.c (find_base_value): Use new_reg_base_value if it's live.
5566         (copying_arguments): Make boolean.
5567
5568 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
5569
5570         * gcc.c (static_spec_functions): Add if-exists-else spec
5571         function.
5572         (if_exists_else_spec_function): New function.
5573         * doc/invoke.texi: Document the if-exists-else spec function.
5574
5575         * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
5576         "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
5577
5578 2002-11-25  Jason Thorpe  <thorpej@wasabisystems.com>
5579
5580         * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
5581         "netbsd.h netbsd-elf.h" in tm_file.  Set tmake_file to
5582         "${tmake_file} rs6000/t-netbsd".
5583         * config/rs6000/netbsd.h: Rewrite.
5584         * config/rs6000/t-netbsd: New file.
5585
5586 2002-11-25  Kazu Hirata  <kazu@cs.umass.edu>
5587
5588         * config/h8300/h8300.md (an anonymous pattern): Relax the
5589         condition for the pattern.
5590
5591 2002-11-25  Aldy Hernandez  <aldyh@redhat.com>
5592
5593         * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
5594         evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
5595         evmwlssfanw, evmwlsmfanw.
5596
5597         * config/rs6000/rs6000.c (bdesc_2arg): Same.
5598
5599         * config/rs6000/spe.md: Same for patterns.
5600
5601 2002-11-25  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
5602
5603         PR c/8639
5604         * fold-const.c (extract_muldiv): Don't propagate division unless
5605         both arguments are multiples of C.
5606
5607 2002-11-25  Andrew Haley  <aph@redhat.com>
5608
5609         * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
5610         * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
5611         * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
5612         * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
5613
5614 Sun Nov 24 10:38:04 CET 2002  Jan Hubicka  <jh@suse.cz>
5615
5616         * i386.c (x86_use_ffreep): New global variable.
5617         * i386.h (x86_use_frfeep): Declare
5618         (TARGET_USE_FFREEP): New macro
5619         * i386.md  (movs?f*): Use freep when asked for.
5620         (push?f): Remove dead code.
5621
5622 2002-11-24  Kazu Hirata  <kazu@cs.umass.edu>
5623
5624         * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
5625         target help message.
5626
5627 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
5628
5629         * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
5630         extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
5631         crtbeginT.o".
5632         (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
5633         (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
5634         to "" for a.out configurations.
5635         * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
5636
5637 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
5638
5639         * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
5640         NETBSD_CPP_SPEC directly.
5641         (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec.  Add
5642         netbsd_endfile_spec.
5643         (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
5644
5645 2002-11-24  Jason Thorpe  <thorpej@wasabisystems.com>
5646
5647         * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
5648         NETBSD_STARTFILE_SPEC.
5649         (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
5650         (ENDFILE_SPEC): Likewise.
5651         * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
5652
5653 2002-11-24  Andreas Schwab  <schwab@suse.de>
5654
5655         * Makefile.in (install-driver): Remove versioned link before
5656         trying to create it.
5657
5658         * config/m68k/m68k.c: Fix typo in last change defining
5659         TARGET_ASM_CAN_OUTPUT_MI_THUNK.
5660
5661 2002-11-23  H.J. Lu <hjl@gnu.org>
5662
5663         * aclocal.m4: Include ../config/accross.m4.
5664         (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
5665         (gcc_AC_C_COMPILE_ENDIAN): Removed.
5666         (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian
5667         instead of $ac_cv_c_compile_endian.
5668
5669         * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with
5670         AC_COMPILE_CHECK_SIZEOF.
5671         Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS.
5672         * configure: Rebuild.
5673
5674 2002-11-23  Kazu Hirata  <kazu@cs.umass.edu>
5675
5676         * config/h8300/h8300.c (print_operand): Update the use of
5677         h8300_tiny_constant_address_p.
5678         (h8300_adjust_insn_length): Likewise.
5679         (h8300_tiny_constant_address_p): Check if the given rtx is a
5680         variable declared with __attribute__ ((tiny_data)).
5681
5682 2002-11-22  Dale Johannesen  <dalej@apple.com>
5683
5684         * toplev.c (rest_of_compilation):  Fix comments.
5685
5686 2002-11-22  Geoffrey Keating  <geoffk@apple.com>
5687
5688         * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
5689         allow mmap from /dev/zero.  Don't make decisions for the host
5690         based on presence or absence of /dev/zero on the build machine.
5691         (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
5692         (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
5693         * configure: Regenerate.
5694
5695 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
5696
5697         * gcc.c (make_relative_prefix, split_directories)
5698         (free_split_directories): Removed.
5699
5700 2002-11-22  Daniel Jacobowitz  <drow@mvista.com>
5701
5702         * configure.in: Set insn=nop for DWARF-2 tests on ARM.
5703         * configure: Regenerated.
5704
5705 2002-11-22  Kazu Hirata  <kazu@cs.umass.edu>
5706
5707         * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
5708         length computation when xor.l is output.
5709
5710 2002-11-21  Douglas B Rupp  <rupp@gnat.com>
5711
5712         * alpha.md (movstrdi, clrstrdi): New VMS patterns.
5713         (call_vms_1, call_value_vms_1): Cleanup syntax.
5714
5715 Thu Nov 21 19:20:27 CET 2002  Jan Hubicka  <jh@suse.cz>
5716
5717         * athlon.md (define_atuomaton): Add athlon_load.
5718         (athlon-double): New reservation.
5719         (athlon-ieu0): New CPU unit.
5720         (athlon-load?): Use athlon_load automaton.
5721         (*_k8 reservations): New.
5722         (other insn revervations): Activate for K8.
5723
5724 Thu Nov 21 15:07:42 CET 2002  Jan Hubicka  <jh@suse.cz>
5725
5726         * cfgrtl.c (verify_flow_info):  Accept EDGE_CAN_FALLTHRU flag.
5727
5728 2002-11-21  Jim Wilson  <wilson@redhat.com>
5729
5730         * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
5731         vectors to SI.
5732
5733 2002-11-21  Bob Wilson  <bob.wilson@acm.org>
5734
5735         * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
5736         * config/xtensa/xtensa.c (struct machine_function): Add
5737         incoming_a7_copied flag.
5738         (xtensa_copy_incoming_a7): Define.
5739         (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
5740         * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
5741
5742 Thu Nov 21 23:52:04 CET 2002  Jan Hubicka  <jH@suse.cz>
5743
5744         * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
5745         * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
5746         x86_64_nonmemory_operand, x86_64_movabs_operand,
5747         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
5748         ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
5749         (local_symbolic_operand): Do not care the 64bit limits.
5750         (x86_64_sign_extended_value): Remove allow_rip support.
5751         (legitimate_pic_address_disp_p): Handle all cases allowed
5752         with RIP addressing.
5753         (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
5754         (legitimize_pic_address): Reorganize.
5755         * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
5756
5757 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
5758
5759         * config.gcc (arm*-*-netbsdelf*): Enable configuration.
5760         * config/arm/netbsd-elf.h: New file.
5761
5762 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
5763
5764         * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
5765         subtarget_asm_float_spec.
5766         (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
5767         defaults from...
5768         (ASM_SPEC): ...here.  Use subtarget_asm_float_spec.
5769
5770 2002-11-21  Nick Clifton  <nickc@redhat.com>
5771
5772         * config/fr30/fr30.md (movsf_constant_store): Move code to
5773         detect 0.0 into fr30.c.
5774         * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
5775         Prototype.
5776         * config/fr30/fr30.c (fr30_const_double_is_zero): New
5777         function.  Return true if the rtx is 0.0.
5778
5779 2002-11-21  Jason Thorpe  <thorpej@wasabisystems.com>
5780
5781         * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
5782         if -mlittle-endian is specified.
5783
5784 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
5785
5786         PR optimization/2903
5787         * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
5788         (anddi_notsesidi_di): Likewise.
5789
5790 2002-11-21  Kazu Hirata  <kazu@cs.umass.edu>
5791
5792         * config/h8300/h8300.c (print_operand): Use
5793         h8300_eightbit_constant_address_p and
5794         h8300_tiny_constant_address_p.
5795         (h8300_adjust_insn_length): Likewise.
5796         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
5797         (TINY_CONSTANT_ADDRESS_P): Likewise.
5798         (OK_FOR_U): Use eightbit_constant_address_p.
5799
5800 2002-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
5801
5802         * config/s390/libgcc-libc.ver: Add multilib support.
5803         * config/s390/linux.h (MULTILIB_DEFAULT): Define.
5804         * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
5805         MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
5806         EXTRA_MULTILIB_PARTS): Define.
5807
5808 2002-11-21  Richard Earnshaw  <rearnsha@arm.com>
5809
5810         * arm.c (arm_get_frame_size): A leaf function does not need its
5811         stack padding to an aligned boundary if it has no frame.
5812         (thumb_get_frame_size): Likewise.
5813
5814 Wed Nov 20 22:25:53 CET 2002  Jan Hubicka  <jh@suse.cz>
5815
5816         * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch.
5817         (override_options): Likewise.
5818
5819 Wed Nov 20 19:07:17 CET 2002  Jan Hubicka  <jh@suse.cz>
5820
5821         * config.gcc: Add k8 target alias support
5822         * i386.c (_cost): Declare costs for various variants of divides and
5823         multiplies.
5824         (k8_cost): New.
5825         (m_K8, m_ATHLON_K8): New macros.
5826         (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
5827         x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop,
5828         x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?,
5829         x86_integer_DFmode_moves, x86_partial_reg_dependency,
5830         x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
5831         x86_prologue_using_move, x86_epilogue_using_move,
5832         x86_arch_always_fancy_math_387, x86_sse_partial_regs,
5833         x86_sse_typeless_stores): Set for K8
5834         (override_options): Add k8 support; fix athlon alignment;
5835         complain about non-x86-64 capable CPU being used in x86-64 compilation.
5836         (ix86_issue_rate): Set for K8.
5837         (ix86_adjust_cost, ia32_use_dfa_pipeline_interface,
5838         x86_machine_dependent_reorg): Handle K8 like
5839         * i386.h
5840         (x86_costs):  Change mult_init and divide into array.
5841         (TARGET_K8, TARGET_ATHLON): New macros.
5842         (MODE_INDEX): New macro.
5843         (RTX_COST): Use new costs.
5844         (TARGET_CPU_CPP_BUILTINS):  Define __k8__ and __tune_k8__.
5845         (TARGET_CPU_DEFAULT_NAMES): Add k8
5846         (TARGET_CPU_DEFAULT_k8): New constant
5847         (enum processor_type): Add PROCESSOR_K8.
5848         * i386.md (cpu attribute): Add k8.
5849
5850         * invoke.texi: Document -march=k8.
5851
5852         * i386.md (type attribute): Add leave
5853         (mode attribute): Remove unknownfp.
5854         (length_immediate, modrm, memory attributes): Handle leave correctly.
5855         (fp comparison patterns): Determine FP mode.
5856         (leave, leave_rex64): Remove special cases.
5857         * ppro.md (ppro_uops, ppro_p2): Add leave
5858         * pentiun.md (pent_pop): Handle leave too.
5859         * k6.md (k6_load): Handle leave.
5860         * athlon.md (athlon_leave, athlon_pop): Fix.
5861         (athlon_decode): Handle leave.
5862
5863 2002-11-20  Steve Ellcey  <sje@cup.hp.com>
5864
5865         * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
5866         to component type using GET_MODE_INNER.
5867         * expr.c (emit_move_insn_1): Ditto.
5868         * optabs.c (expand_binop): Ditto.
5869         (expand_unop): Ditto.
5870         (expand_complex_abs): Ditto.
5871
5872 2002-11-20  Douglas B Rupp  <rupp@gnat.com>
5873
5874         * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
5875
5876 2002-11-20  DJ Delorie  <dj@redhat.com>
5877
5878         * config/stormy16/stormy16.c (s16builtins,
5879         xstormy16_init_builtins, xstormy16_expand_builtin): New.
5880         * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
5881
5882 2002-11-20  Hans-Peter Nilsson  <hp@bitrange.com>
5883
5884         * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
5885         (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
5886         (executing gencheck, genconfigs, genconditions, genflags,
5887         gencodes, genconstants, genemit, genrecog, genopinit, genextract,
5888         genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
5889         gengtype, genprotos): Prepend $(RUN_GEN).
5890         * configure.in: Move host compiler tests before --enable-checking
5891         tests.
5892         (--enable-checking=valgrind): New.
5893         * config.in, configure: Regenerate.
5894         * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
5895         Define as empty.
5896         (read_include_file): When doing the mmap+1 trick,
5897         valgrind-annotate the byte after the mmap:ed area as readable.
5898         (purge_cache): Remove above annotation.
5899         * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
5900         VALGRIND_PATH -q to each command.
5901
5902         * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
5903         Define as empty.
5904         (ggc_realloc): Update valgrind annotations.
5905         * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
5906         Define as empty.
5907         (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
5908         valgrind-annotate memory.
5909
5910 2002-11-20  Ulrich Weigand  <uweigand@de.ibm.com>
5911
5912         * recog.c (constrain_operands): Prefer exact match over reloadable
5913         EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
5914
5915         * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
5916         operands in Pmode.
5917
5918 2002-11-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
5919
5920         PR c/8518
5921         * c-decl.c (duplicate_decls): Outline the second definition
5922         of an extern inline function in all cases.
5923
5924 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
5925
5926         * stor-layout.c (place_field): Update rli->offset as well as
5927         rli->bitpos.
5928
5929 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
5930
5931         * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
5932
5933 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
5934
5935         * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
5936         into a libcall block.
5937         (divsi3): Likewise divsi3_i4_media.
5938
5939 2002-11-20  Richard Sandiford  <rsandifo@redhat.com>
5940
5941         * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
5942         out another register.
5943
5944 2002-11-20  Jakub Jelinek  <jakub@redhat.com>
5945
5946         * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
5947         (not just mask) are set in C.
5948
5949 2002-11-19  Steven Bosscher <steven.bosscher@usafa.af.mil>
5950
5951         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{<mgp32} to %<mgp32.
5952
5953 2002-11-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5954
5955         * profile.c (index_counts_file): Fix obvious mistake.
5956
5957 2002-11-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
5958
5959         * Makefile.in (profile.o): Add hashtab.h dependency.
5960         * gcov-io.h (GCOV_SUMMARY_LENGTH): New.
5961         * profile.c: Include hashtab.h.
5962         (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del,
5963         cleanup_counts_index, index_counts_file, struct section_reference,
5964         struct da_index_entry, counts_file_name, counts_file_index): New.
5965         (get_exec_counts, init_branch_prob): Modified.
5966
5967 2002-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>
5968
5969         * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux
5970         to tmake_file. Remove setting gas and gnu_ld here.
5971         * config/sh/libgcc-glibc.ver: New file.
5972         * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
5973         (SHLIB_MAPFILES): New.
5974         * config/sh/linux.h (MD_EXEC_PREFIX): Undefine.
5975         (MD_STARTFILE_PREFIX): Likewise.
5976         (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define.
5977         (DWARF2_UNWIND_INFO): Redefine.
5978         (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5979         (LINK_EH_SPEC): Redefine.
5980         (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media.
5981         (SH_FALLBACK_FRAME_FLOAT_STATE): Define.
5982         (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0,
5983         SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA,
5984         SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL,
5985         SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL,
5986         SH_DWARF_FRAME_FPSCR): Likewise.
5987         * config/sh/sh-protos.h (sh_set_return_address): Declare.
5988         * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO
5989         registers if the current function calls EH return.
5990         (sh_expand_epilogue): Handle EH stack adjustments.
5991         (sh_set_return_address): New function.
5992         * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
5993         Don't abort even if the number is mapped to -1.
5994         (EH_RETURN_DATA_REGNO): Define.
5995         (EH_RETURN_STACKADJ_RTX): Define.
5996         * config/sh/sh.md (UNSPEC_EH_RETURN): New.
5997         (eh_return): New pattern.
5998         (eh_set_ra_di, eh_set_ra_si): Likewise.
5999         Add splitter to perform EH return after reload.
6000
6001 Tue Nov 19 12:52:07 2002  J"orn Rennecke <joern.rennecke@superh.com>
6002
6003         * stor-layout.c (excess_unit_span): New function.
6004         (place_field): Use it.
6005
6006 2002-11-19  Andreas Schwab  <schwab@suse.de>
6007
6008         * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
6009         not valid in C++.
6010
6011 2002-11-19  Nathanael Nerode  <neroden@gcc.gnu.org>
6012
6013         * configure.in, Makefile.in: Correct BUILD/HOST confusion.
6014         * configure: Regenerate.
6015
6016 Tue Nov 19 00:11:44 CET 2002  Jan Hubicka  <jh@suse.cz>
6017
6018         * convert.c (strip_float_extensions): New function.
6019         (convert_to_real): Optimize some cases.
6020
6021 2002-11-19  Andreas Jaeger  <aj@suse.de>
6022
6023         * loop.c (record_giv): Initialize not_replaceable.
6024         (check_final_value): Likewise.
6025
6026 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
6027
6028         * config/h8300/h8300.c (h8300_init_once): Replace 1 with
6029         MASK_H8300S.
6030
6031 2002-11-19  Vijay L. Khuspe  <vijayk1@kpit.com>
6032
6033         * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
6034         only if -mh or -ms present.
6035         (h8300_eightbit_constant_address_p): Support the normal mode.
6036         (h8300_tiny_constant_address_p): Likewise.
6037         * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
6038         (POINTER_SIZE): Add 16 bit pointer for the normal mode.
6039         (Pmode): Evaluate to HImode for the normal mode.
6040         (SIZE_TYPE): Evaluate to unsigned int for normal mode.
6041         (PTRDIFF_TYPE): Evaluate to int for the normal mode.
6042         (ASM_WORD_OP): Evaluate to word for the normal mode.
6043         * config/h8300/h8300.md (tablejump_normal_mode): New.
6044         (indirect_jump_normal_mode): New.
6045         * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
6046         directory.
6047         (MULTILIB_DIRNAMES): Create target dependent directory
6048         'normal'.
6049         (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
6050         * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
6051
6052 Tue Nov 19 23:50:56 CET 2002  Jan Hubicka  <jh@suse.cz>
6053
6054         * i386.md (length_immediate): Do not refer to insn address.
6055         (jcc*, jmp patterns):  Compute length explicitly.
6056
6057 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
6058
6059         PR c/8588
6060         * optabs.c (expand_binop): Convert CONST_INTs in shift
6061         operations too.
6062
6063 2002-11-19  Roger Sayle  <roger@eyesopen.com>
6064
6065         * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
6066
6067 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
6068
6069         * config/h8300/h8300.md (an anonymous pattern): Relax the
6070         condition to accept the same operands and/or subregs.
6071
6072 2002-11-19  Daniel Jacobowitz  <drow@mvista.com>
6073
6074         * config/sh/sh.c (gen_shl_and): Revert previous patch.
6075         * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
6076         reload_completed.
6077
6078 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
6079
6080         * config/h8300/h8300.c (print_operand): Update the use of
6081         EIGHTBIT_CONSTANT_ADDRESS_P.
6082         (h8300_adjust_insn_length): Likewise.
6083         (h8300_eightbit_constant_address_p): Check if the given rtx is
6084         a variable with __attribute__((eightbit_data)).
6085         * config/h8300/h8300.h (OK_FOR_U): Update the use of
6086         EIGHTBIT_CONSTANT_ADDRESS_P.
6087
6088 2002-11-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6089
6090         * doc/contrib.texi (Contributors): Add self as second contact in
6091         addition to Jeff Law.
6092
6093 2002-11-19  Andreas Jaeger  <aj@suse.de>
6094
6095         * tree-inline.c: Move prototpyes of find_alloca_call_1 and
6096         find_alloca_call to right place.
6097
6098 2002-11-19  Kazu Hirata  <kazu@cs.umass.edu>
6099
6100         * cppfiles.c: Fix formatting.
6101
6102 2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>
6103
6104         * gcc.c (The Specs Language): Document spec functions.
6105         (static_spec_functions, lookup_spec_function)
6106         (eval_spec_function, handle_spec_function)
6107         (if_exists_spec_function, alloc_args): New.
6108         (execute): Abort if processing_spec_function is true.
6109         (do_spec_1): Hand off spec to handle_spec_function if %:
6110         is encountered.  If processing_spec_function is true,
6111         end any pending argument when the end of the string is reached.
6112         (main): Use alloc_args to allocate the initial argument vector.
6113         * gcc.h (struct spec_function): New.
6114         (lang_specific_spec_functions): New extern.
6115
6116         * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
6117         (ENDFILE_SPEC): Add if-exists(crtn%O%s).
6118         * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
6119
6120         * doc/invoke.texi: Document spec functions.
6121
6122         * cppspec.c (lang_specific_spec_functions): New.
6123         * gccspec.c: Likewise.
6124
6125 2002-11-18  Steve Ellcey  <sje@cup.hp.com>
6126
6127         * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
6128         (FIXUNS_TRUNCTFDI2_LIBCALL): New.
6129         (fixunstfsi_libfunc): Change.
6130         (fixunstfdi_libfunc): Change.
6131         (sdiv_optab): Don't zero out SImode handler.
6132         (udiv_optab): Don't zero out SImode handler.
6133         (smod_optab): Don't zero out SImode handler.
6134         (umod_optab): Don't zero out SImode handler.
6135
6136 2002-11-18  Neil Booth  <neil@daikokuya.co.uk>
6137
6138         PR preprocessor/8524
6139         * cpplib.c (run_directive): Remove previous kludge to _Pragma.
6140         Add a new one in its place, which hopefully works.
6141         (skip_rest_of_line): Change test for bottom-of-context-stack.
6142
6143 Mon Nov 18 21:29:03 CET 2002  Jan Hubicka  <jh@suse.cz>
6144
6145         * i386.md (addqi_1_slp): Fix output template.
6146         (subqi_1_slp): Fix type.
6147
6148 Sun Nov 17 00:01:28 CET 2002  Jan Hubicka  <jh@suse.cz>
6149
6150         * calls.c (alloca_call_p): New global function.
6151         * tree.h (alloca_call_p): New.
6152         * tree-inline.c (inlinable_function_p):  Do not inline when
6153         function calls alloca.
6154         (find_alloca_call, find_alloca_call_1): New functions.
6155
6156 2002-11-18  Kazu Hirata  <kazu@cs.umass.edu>
6157
6158         * config/h8300/h8300.md (*andorqi3): Use bor between bld and
6159         bst.  Update the insn length.
6160         (*andorhi3): Likewise.
6161         (*andorsi3): Likewise.
6162
6163 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
6164
6165         * config/sh/sh-protos.h (sh_mark_label): Declare.
6166         * config/sh/sh.c (sh_mark_label): New function, taken from
6167         movdi_const, but fixing the case when the address has an addend.
6168         * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
6169
6170 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
6171
6172         * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
6173         (add_constant): Set it.
6174         (dump_table): Don't reorder a constant if part_of_sequence_p.
6175         (machine_dependent_reorg): Assume that float constants will
6176         stay in their original order if used as a sequence.
6177
6178 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
6179
6180         * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
6181         in compact code.
6182
6183 2002-11-18  Richard Sandiford  <rsandifo@redhat.com>
6184
6185         * config/sh/sh.md (initialize_trampoline): Do not force the
6186         trampoline address into R0_REGS here.
6187
6188 Sun Nov 17 14:01:09 CET 2002  Jan Hubicka  <jh@suse.cz>
6189
6190         * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
6191         absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
6192         (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
6193         generate unnecesary subregs.
6194
6195 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
6196
6197         * df.c: Fix formatting.
6198
6199 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
6200
6201         * config/h8300/h8300.md (two anonymous patterns): Fix insn
6202         lengths.
6203
6204 2002-11-17  Daniel Jacobowitz  <drow@mvista.com>
6205
6206         * sh.c (gen_shl_and): Don't create a zero_extend if the operand
6207         is not an arith_reg_operand.
6208
6209 2002-11-17  Graham Stott  <graham.stott@btinternet.com>
6210
6211         * real.c (real_to_decimal): Fix buffer overrun when buffer size
6212         is smaller than representation.
6213
6214 2002-11-17  Kazu Hirata  <kazu@cs.umass.edu>
6215
6216         * builtins.c: Fix formatting.
6217
6218 Sat Nov 16 16:49:58 CET 2002  Jan Hubicka  <jh@suse.cz>
6219
6220         * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2,
6221         floats?dff2_i387):
6222         Work around regclass stupidity.
6223         (truncdfsf_2_1_sse splitter):  Accept !TARGET_PARTIAL_SSE_REGS
6224
6225 Sat Nov 16 02:17:48 CET 2002  Jan Hubicka  <jh@suse.cz>
6226
6227         * i386.md (fop_df_6): New pattern.
6228         (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions.
6229         (fop_xf_6): Rewrite
6230         (fop_xf_7): Delete.
6231         (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions.
6232         (fop_tf_6): Rewrite
6233         (fop_tf_7): Delete.
6234
6235 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
6236
6237         * config/h8300/h8300.md (two anonymous patterns): Fix typos.
6238
6239 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
6240
6241         * config/h8300/h8300.md: Fix formatting.
6242
6243 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
6244
6245         * config/h8300/h8300.md: Replace spaces with tabs.
6246         * config/h8300/t-h8300: Remove a trailing empty line.
6247
6248 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
6249
6250         * tlink.c: Fix formatting.
6251
6252 2002-11-16  David Edelsohn  <edelsohn@gnu.org>
6253
6254         PR 8362
6255         * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
6256         * config/rs6000/rs6000.md (movti_string): Remove output modifier
6257         when scratch register never needed.
6258         (ldmsi[3-8]): New patterns.
6259
6260 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
6261
6262         * hard-reg-set.h: Follow spelling conventions.
6263         * real.c: Likewise.
6264         * target.h: Likewise.
6265
6266 2002-11-16  Jakub Jelinek  <jakub@redhat.com>
6267
6268         * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
6269
6270 2002-11-16  Kazu Hirata  <kazu@cs.umass.edu>
6271
6272         * optabs.c: Fix formatting.
6273
6274 Sat Nov 16 02:06:02 CET 2002  Jan Hubicka  <jh@suse.cz>
6275
6276         * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
6277         * i386.md (attribute type): Add type shift1 and rotate1.
6278         (*_slp): Rewrite to have just two operands to avoid reload problems.
6279
6280 2002-11-15  Kazu Hirata  <kazu@cs.umass.edu>
6281
6282         * config/h8300/h8300.md (4 anonymous patterns): New.
6283
6284 2002-11-15  Geoffrey Keating  <geoffk@apple.com>
6285
6286         * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
6287         * doc/invoke.texi: Correct description of what needs to be done to
6288         force collection at every ggc_collect call.
6289
6290 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
6291
6292         * config/s390/s390.c (optimization_options): Set
6293         flag_asynchronous_unwind_tables to 1 by default.
6294
6295 2002-11-15  Ulrich Weigand  <uweigand@de.ibm.com>
6296
6297         * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6298
6299 Fri Nov 15 14:54:19 CET 2002  Jan Hubicka  <jh@suse.cz>
6300
6301         * i386-protos.h (x86_function_profiler): New function
6302         * i386.h (MCOUNT_NAME): New.
6303         (PROFILE_COUNT_REGISTER): New.
6304         (FUNCTION_PROFILER): Move offline to ...
6305         * i386.c (x86_function_profiler) ... here; fix 64bit support
6306         * beos-elf.h (FUNCTION_PROFILER): Kill.
6307         (MCOUNT_NAME): New.
6308         * freebsd-aout.h (FUNCTION_PROFILER): Kill.
6309         (MCOUNT_NAME): New.
6310         (PROFILE_COUNT_REGISTER): New.
6311         * linux.h (FUNCTION_PROFILER): Kill.
6312         (MCOUNT_NAME): New.
6313         * x86-64.h (FUNCTION_PROFILER): Kill.
6314         (MCOUNT_NAME): New.
6315         * freebsd.h (FUNCTION_PROFILER): Kill.
6316         (MCOUNT_NAME): New.
6317
6318 2002-11-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
6319
6320         * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
6321         FUNCTION_ARG_PASS_BY_REFERENCE): Define.
6322         * config/arm/arm.c (arm_va_arg,
6323         arm_function_arg_pass_by_reference): New.
6324         * config/arm/arm-protos.h: Add prototypes.
6325
6326 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
6327
6328         * gthr-single.h: Fix formatting.
6329
6330 2002-11-14  Zack Weinberg  <zack@codesourcery.com>
6331
6332         * tree.c (tree_vec_elt_check_failed): New function.
6333         * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
6334         (TREE_VEC_ELT): Use it.
6335
6336         * tree-inline.c (optimize_inline_calls): Don't copy a
6337         zero-length vector.
6338
6339 2002-11-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
6340
6341         * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
6342
6343 2002-11-14  Jakub Jelinek  <jakub@redhat.com>
6344
6345         * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
6346         both operands contain local relocations.
6347         (categorize_decl_for_section): Don't use mergeable sections if
6348         initializer has any relocations.
6349
6350 2002-11-14  Kazu Hirata  <kazu@cs.umass.edu>
6351
6352         * gthr-vxworks.h: Fix formatting.
6353
6354 2002-11-13  Janis Johnson  <janis187@us.ibm.com>
6355
6356         * doc/install.texi (Testing): Document extra Java testing.
6357         * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
6358
6359 2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6360
6361         * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
6362         beginning of the spec.
6363         (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
6364         (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable.  Add comment
6365         regarding problems with global constructors when using GNU ld.
6366
6367 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
6368
6369         * gthr-solaris.h: Fix formatting.
6370
6371 2002-11-13  Kazu Hirata  <kazu@cs.umass.edu>
6372
6373         * gthr-posix.h: Fix formatting.
6374
6375 2002-11-12  Devang Patel <dpatel@apple.com>
6376         * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
6377         (process_command): Same.
6378         * doc/invoke.texi: Info about these two new options.
6379
6380 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
6381
6382         * config/h8300/h8300.md (*andorsi3): New.
6383
6384 2002-11-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6385
6386         * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
6387
6388 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
6389
6390         * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
6391         expressions appropriately.
6392
6393 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
6394
6395         * gthr-win32.h: Fix formatting.
6396
6397 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
6398
6399         * config/h8300/h8300.c (single_one_operand): Correctly compute
6400         mask when mode is SImode.
6401         (single_zero_operand): Likewise.
6402         * config/h8300/h8300.md (two new anonymous insns): New.
6403
6404 2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6405
6406         * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
6407         to that entire project.
6408
6409 2002-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6410
6411         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
6412         directories.
6413
6414 2002-11-11  Zack Weinberg  <zack@codesourcery.com>
6415
6416         * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
6417         * doc/invoke.texi: Document them.
6418
6419         * ggc-page.c: Include params.h.  Remove definitions of
6420         GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED.  Replace
6421         GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
6422         (init_gcc): Don't set G.allocated_last_gc here.
6423         (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
6424         PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
6425         perform collection.
6426         * ggc-simple.c: Similarly.
6427         * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
6428         dependencies.
6429
6430 2002-11-11  Kazu Hirata  <kazu@cs.umass.edu>
6431
6432         * gthr-dce.h: Fix formatting.
6433
6434 2002-11-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6435
6436         PR c/8467
6437         * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
6438         mode of DECL_RTL case.
6439
6440 2002-11-11  Janis Johnson  <janis187@us.ibm.com>
6441
6442         * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
6443
6444 Mon Nov 11 12:06:08 CET 2002  Jan Hubicka  <jh@suse.cz>
6445
6446         * i386.c (construct_container): Fix handling of SSE_CLASS.
6447
6448 2002-11-10  Joel Sherrill <joel@gcc.gnu.org>
6449
6450         * config/m68k/t-crtstuff (crti.o): Use this...
6451         ($(T)crti.o): ... instead.
6452         (crtn.o): Use this...
6453         ($(T)crtn.o): ... instead.
6454
6455 2002-11-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
6456
6457         PR c/8439
6458         * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
6459         if there is something new to be simplified.
6460
6461 2002-11-10  H.J. Lu <hjl@gnu.org>
6462
6463         * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
6464         * expr.c (PUSH_ARGS_REVERSED): Likewise.
6465
6466         * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
6467
6468 2002-11-10  Zack Weinberg  <zack@codesourcery.com>
6469
6470         * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
6471         * config/rs6000/linux.h, config/rs6000/linux64.h,
6472         config/rs6000/windiss.h: ... not here.
6473
6474 2002-11-10  Jason Thorpe  <thorpej@wasabisystems.com>
6475
6476         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
6477         __ABICALLS__ if TARGET_ABICALLS.
6478
6479 Sun Nov 10 18:49:21 CET 2002  Jan Hubicka  <jh@suse.cz>
6480
6481         * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
6482
6483 2002-11-10  Joseph S. Myers  <jsm@polyomino.org.uk>
6484
6485         * c-decl.c (grokdeclarator): Make error for duplicate type
6486         qualifiers into a pedwarn, disabled for C99.
6487
6488 2002-11-10  Hans-Peter Nilsson  <hp@bitrange.com>
6489
6490         * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
6491         as FUNCTION_ARG_PASS_BY_REFERENCE.
6492
6493 2002-11-09  Zack Weinberg  <zack@codesourcery.com>
6494
6495         * doc/install.texi: Add *-*-vxworks* specific installation
6496         instructions.
6497
6498         * config/vxlib.c: Rewrite using generation numbers to identify
6499         valid TSD keys.
6500
6501 Sat Nov  9 00:10:54 CET 2002  Jan Hubicka  <jh@suse.cz>
6502
6503         * i386.c (x86_machine_dependent_reorg): Fix even more side cases.
6504
6505 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6506
6507         * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
6508
6509         * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
6510         (hppa*64*-*-hpux11*): Likewise.  Use elfos.h with gas.
6511         * pa.c (output_millicode_call): Use symbol difference rather than
6512         $PIC_pcrel$0 when using HP assembler.
6513         * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
6514         not elfos.h (i.e., gas) is being used.
6515         (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
6516         DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
6517         ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
6518         ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
6519         ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
6520         using elfos.h.
6521         (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
6522         (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
6523         (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
6524         using elfos.h.
6525         (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
6526         BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
6527         (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
6528         Don't define when not using elfos.h.
6529         (ASM_DECLARE_RESULT): Don't define.
6530         * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
6531         doesn't work on hppa64-hp-hpux11.
6532         (hppa*-hp-hpux11): Update.
6533
6534 2002-11-09  Jason Thorpe  <thorpej@wasabisystems.com>
6535
6536         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
6537         to the assembler if -mno-abicalls was specified.
6538
6539 2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6540
6541         * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
6542         ASM_OUTPUT_DEF): Delete.
6543
6544 2002-11-09  Neil Booth  <neil@daikokuya.co.uk>
6545
6546         * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
6547
6548 2002-11-08  Roger Sayle  <roger@eyesopen.com>
6549
6550         * real.c (real_sqrt): Update comment with bibliographic reference.
6551
6552 Fri Nov  8 13:33:58 CET 2002  Jan Hubicka  <jh@suse.cz>
6553
6554         * i386.md (sse_loadss, sse2_loadsd): Fix expander.
6555
6556 Fri Nov  8 13:25:41 CET 2002  Jan Hubicka  <jh@suse.cz>
6557
6558         * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions.
6559
6560 Fri Nov  8 13:01:42 CET 2002  Jan Hubicka  <jh@suse.cz>
6561
6562         * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
6563         (expand_builtin): Likewise.
6564         * builtins.def: Add
6565         __builtin_floor, __builtin_floorf, __builtin_floorl
6566         __builtin_ceil, __builtin_ceilf, __builtin_ceill
6567         __builtin_round, __builtin_roundf, __builtin_roundl
6568         __builtin_trunc, __builtin_truncf, __builtin_truncl
6569         __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
6570         * genopinit.c (optabs): Initialize the new optabs.
6571         * optab.c (init_optabs): Likewise.
6572         * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
6573         OTI_round, OTI_nearbyint.
6574         (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
6575         * doc/md.texi: Document new named patterns.
6576         * doc/extend.texi (builtin functions)  Document
6577         floor, floorf, floorl, ceil, ceilf,
6578         ceill, round, roundf, roundl, trunc,
6579         truncf, truncl, nearbyint, nearbyintf, nearbyintl.
6580
6581 Fri Nov  8 11:36:11 CET 2002  Jan Hubicka  <jh@suse.cz>
6582
6583         * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch.
6584
6585 2002-11-08  Dale Johannesen  <dalej@apple.com>
6586
6587         * dbxout.c (dbxout_type):  Fix stabs info for vector types.
6588
6589 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
6590
6591         PR preprocessor/8497
6592         PR preprocessor/8501
6593         * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
6594         start a directive.  In assembler, #NUM is not a line directive.
6595
6596 2002-11-08  Neil Booth  <neil@daikokuya.co.uk>
6597
6598         * cppmain.c (cpp_preprocess_file): Loop to pop any -included
6599         buffers.
6600
6601 2002-11-08  Kazu Hirata  <kazu@cs.umass.edu>
6602
6603         * config/h8300/h8300.md (two anonymous test insns): New.
6604
6605 Fri Nov  8 11:20:19 CET 2002  Jan Hubicka  <jh@suse.cz>
6606
6607         * jump.c (mark_jump_label): Handle subregs of label_refs.
6608
6609 Thu Nov  7 21:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
6610
6611         * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching.
6612         * i386.c (ix86_expand_fp_movcc): Match the reversed cases.
6613
6614 2002-11-07  David Mosberger  <davidm@hpl.hp.com>
6615
6616         * config/ia64/crtend.asm: Include "auto-host.h".
6617         [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
6618         * config/ia64/crtbegin.asm: Similarly.
6619         * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
6620         (crtend.o, crtbeginS.o, crtendS.o): Likewise.
6621
6622         * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
6623         * configure.in: Use it if --enable-initfini-array not specified.
6624         * doc/install.texi (Configuration): Document --enable-initfini-array.
6625         * configure, config.in: Rebuild.
6626
6627 2002-11-07  Jason Thorpe  <thorpej@wasabisystems.com>
6628
6629         * config/arm/arm-protos.h (arm_get_frame_size)
6630         (thumb_get_frame_size): New prototypes.
6631         * config/arm/arm.c (arm_get_frame_size)
6632         (thumb_get_frame_size): New functions.
6633         (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
6634         (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
6635         arm_get_frame_size.
6636         (thumb_expand_prologue, thumb_expand_epilogue): Use
6637         thumb_get_frame_size.
6638         * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
6639         (machine_function): Add frame_size member.
6640         (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
6641
6642 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
6643
6644         * arm.c (bit_count): Make argument unsigned long.  Return unsigned.
6645         Adjust code to use portable unsigned bit manipulation.
6646         (insn_flags, tune_flags): Change type to unsigned.
6647         (struct processors): Make flags unsigned long.
6648         (arm_override_options): Change type of count and current_bit_count
6649         to unsigned.
6650
6651 2002-11-07  Richard Earnshaw  <rearnsha@arm.com>
6652
6653         * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
6654
6655 Thu Nov  7 15:50:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
6656
6657         * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
6658
6659 Thu Nov  7 11:18:01 CET 2002  Jan Hubicka  <jh@suse.cz>
6660
6661         * reg-stack.c (compensate_edge): Fix sanity check.
6662
6663 2002-11-05  Geoffrey Keating  <geoffk@apple.com>
6664
6665         * config.gcc: Don't create crtbegin, crtend on Darwin; do create
6666         crt2.o.  Rearrange t-darwin makefiles.
6667         * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
6668         * unwind-dw2-fde-darwin.c: New.
6669         * unwind-dw2-fde-glibc.c: Correct comment.
6670         * unwind-dw2-fde.c (__register_frame_info_bases)
6671         [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
6672         (classify_object_over_fdes): Use last_fde.
6673         (add_fdes): Likewise.
6674         (linear_search_fdes): Likewise.
6675         * unwind-dw2-fde.h (struct object)
6676         [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
6677         (last_fde): New.
6678         * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
6679         (ENDFILE_SPEC): No crtend.o.
6680         * config/t-darwin: New.
6681         * config/i386/t-darwin: Delete.
6682         * config/darwin-crt2.c: New.
6683         * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
6684         or config/t-darwin.
6685
6686 2002-11-06  Douglas B Rupp  <rupp@gnat.com>
6687
6688         * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
6689         MASK_MS_BITFIELD_LAYOUT
6690         (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
6691         MS bitfields for Objective-C.
6692         (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
6693         defines.
6694
6695         * config/i386/i386.c (ix86_ms_bitfield_layout): New function.
6696         (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
6697         (TARGET_USE_MS_BITFIELD_LAYOUT): Define.
6698
6699         * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
6700         TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
6701         (TARGET_SWITCHES): Add above mask.
6702
6703         * testsuite/gcc.dg/bf-ms-layout.c: New test case.
6704         * testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
6705         * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
6706         flags for interix.
6707
6708 Wed Nov  6 18:54:47 2002  Alexandre Oliva  <aoliva@redhat.com>
6709
6710         * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
6711         .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU
6712         assembler.
6713         * config/mips/mips.md (tablejump_internal3): Output .cpadd
6714         before jump on ABI_N32 too.
6715         (tablejump_internal4): Ditto on ABI_64.  Increase maximum
6716         length to match.
6717
6718 Wed Nov  6 17:16:48 CET 2002  Jan Hubicka  <jh@.suse.cz>
6719
6720         * i386.md (negsf splitter): Accept memory operand in second register.
6721         (abssf/absdf splitters): Simplify
6722         (sse_loadss, sse_loadsd): Turn into expander.
6723
6724 2002-11-06  David Edelsohn  <edelsohn@gnu.org>
6725
6726         PR target/8480
6727         * config/rs6000/rs6000.md (movdi_internal64): Discourage
6728         FPR to FPR moves.
6729
6730 2002-11-06  Janis Johnson  <janis187@us.ibm.com>
6731
6732         * doc/contrib.texi: Merge in the list from the Java web pages.
6733
6734 2002-11-06  David O'Brien  <obrien@FreeBSD.org>
6735
6736         * config/sparc/freebsd: Fix typo.
6737
6738 2002-11-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6739
6740         * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
6741
6742 2002-11-06  Alexandre Oliva  <aoliva@redhat.com>
6743
6744         * config/mips/mips.md (call_value_multiple_internal2): Use dla for
6745         non-SImode addresses.
6746
6747 Tue Nov  5 14:34:36 CET 2002  Jan Hubicka  <jh@suse.cz>
6748
6749         * i386.md (float_truncate SSE splitter): Ensure that operand is not
6750         stack register.
6751         (float SSE splitters): Reorder conditional.
6752
6753 2002-11-05  Bob Wilson  <bob.wilson@acm.org>
6754
6755         * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
6756
6757 2002-11-05  John David Anglin  <dave2hiauly1.hia.nrc.ca>
6758
6759         * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
6760         (STARTFILE_SPEC): Remove p and pg options.
6761
6762 2002-11-05  Andrew Haley  <aph@redhat.com>
6763
6764         * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
6765         to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
6766
6767 2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
6768
6769         * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
6770         * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
6771
6772 2002-11-04  Zack Weinberg  <zack@codesourcery.com>
6773
6774         * gthr-vxworks.h: Rewritten from scratch.
6775         * config/vxlib.c: New file.
6776         * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA.
6777         * config/rs6000/t-vxworks: Add config/vxlib.c to
6778         LIB2FUNCS_EXTRA here too, because of clash with
6779         config/rs6000/t-ppccomm.
6780
6781 2002-11-04  Dale Johannesen  <dalej@apple.com>
6782
6783         * doloop.c (doloop_modify_runtime):  Fix loop count computation
6784         for unrolled loops.
6785         * loop.c (loop_invariant_p):  Support calling from unroller.
6786
6787 2002-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
6788
6789         * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
6790         for comparison.
6791
6792 2002-11-04  Aldy Hernandez  <aldyh@redhat.com>
6793
6794         * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
6795
6796         * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
6797         (CLASS_CANNOT_CHANGE_MODE): Remove.
6798         (CANNOT_CHANGE_MODE_CLASS): New.
6799
6800         * config/alpha/alpha.h: Same.
6801
6802         * config/ia64/ia64.h: Same.
6803
6804         * config/mips/mips.h: Same.
6805
6806         * config/s390/s390.h: Same.
6807
6808         * config/sh/sh.h: Same.
6809
6810         * config/pa/pa64-regs.h: Same.
6811
6812         * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
6813
6814         * config/sh/sh.c (sh_cannot_change_mode_class): New.
6815
6816         * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
6817         prototype.
6818
6819         * config/mips/mips.c (mips_cannot_change_mode_class): New.
6820
6821         * doc/tm.texi (Register Classes): Remove
6822         CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
6823         Document CANNOT_CHANGE_MODE_CLASS.
6824
6825         * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
6826         (push_reload): Same.
6827
6828         * simplify-rtx.c (simplify_subreg): Same.
6829
6830         * reload1.c (choose_reload_regs): Same.
6831
6832         * recog.c (register_operand): Same.
6833
6834         * regrename.c (mode_change_ok): Change to use new
6835         CANNOT_CHANGE_MODE_CLASS infrastructure.
6836
6837         * regclass.c (cannot_change_mode_set_regs): New.
6838         Declare subregs_of_mode.
6839         (regclass): Use subregs_of_mode.
6840         Remove references to reg_changes_mode.
6841         (init_reg_sets_1): Remove class_can_change_mode and
6842         reg_changes_mode code.
6843         (invalid_mode_change_p): New.
6844         (dump_regclass): Use invalid_mode_change_p instead of
6845         class_can_change_mode.
6846         (regclass): Same.
6847         (record_operand_costs): Do not set reg_changes_mode.
6848
6849         * local-alloc.c (struct qty): Remove changes_mode field.
6850         (alloc_qty): Remove changes_mode initialization.
6851         (update_qty_class): Remove set of changes_mode.
6852         (find_free_reg): Use subregs_of_mode.
6853
6854         * global.c (find_reg): Use subregs_of_mode info.
6855
6856         * rtl.h (cannot_change_mode_set_regs): New prototype.
6857         (invalid_mode_change_p): Same.
6858         (REG_CANNOT_CHANGE_MODE_P): New macro.
6859
6860         * flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
6861         REG_CHANGES_MODE.
6862         (life_analysis): Clear subregs_of_mode.
6863
6864         * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
6865         Remove use of CLASS_CANNOT_CHANGE_MODE.
6866         (simplify_set): Same.
6867         (gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
6868         REG_CHANGES_MODE.
6869
6870         * regs.h: Add extern for subregs_of_mode;
6871         Include hard-reg-set and basic-block.
6872         (REG_CHANGES_MODE): Delete.
6873
6874 2002-11-03  Roger Sayle  <roger@eyesopen.com>
6875
6876         * real.c (real_sqrt): New function to calculate square roots.
6877         * real.h (real_sqrt): Add function prototype.
6878         * builtins.c (fold_builtin): Fold sqrt of constant argument.
6879         * simplify-rtx.c (simplify_unary_operation): Simplify sqrt
6880         of constant argument.
6881
6882 2002-11-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
6883
6884         * jump.c (never_reached_warning): Don't set contains_insn until the
6885         first line note is seen.
6886
6887 2002-11-03  David Edelsohn  <edelsohn@gnu.org>
6888
6889         * config/rs6000/rs6000.md (movti_string): Use string instructions.
6890
6891 2002-11-03  Roger Sayle  <roger@eyesopen.com>
6892
6893         PR c/7128
6894         * c-typeck.c (c_expand_asm_operands): Defend against
6895         error_mark_nodes in the output argument to avoid ICE.
6896
6897 2002-11-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
6898
6899         PR middle-end/8408
6900         * genrecog.c (preds): Handle ADDRESSOF.
6901         (validate_pattern): Mark it as an lvalue.
6902
6903 2002-11-02  David Edelsohn  <edelsohn@gnu.org>
6904
6905         * config/rs6000/rs6000.c (rs6000_override_options): Use string
6906         instructions when optimizing for size.
6907
6908 2002-11-02  Kazu Hirata  <kazu@cs.umass.edu>
6909
6910         * config/h8300/h8300.h: Fix comment typos.
6911         * config/h8300/h8300.md: Likewise.
6912         * config/h8300/lib1funcs.asm: Likewise.
6913
6914 2002-11-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6915
6916         Revert this change:
6917
6918         *doc/install.texi (Installing GCC: Configuration): Clarify
6919         the only supported ways to configure gcc.
6920
6921 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
6922
6923         * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
6924         instead of 'O' for the constraint for the second operand.
6925
6926 2002-11-01  Mark Mitchell  <mark@codesourcery.com>
6927
6928         PR c++/8391
6929         * toplev.c (rest_of_compilation): Do not refuse to output code for
6930         an inline function in a local class.
6931
6932 2002-11-01  David O'Brien  <obrien@FreeBSD.org>
6933
6934         * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
6935         (TRANSFER_FROM_TRAMPOLINE): Reformat.
6936         Add comment.
6937
6938 2002-11-01  Kazu Hirata  <kazu@cs.umass.edu>
6939
6940         * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
6941
6942 2002-11-01  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
6943
6944         * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
6945
6946 2002-11-01  Steve Ellcey  <sje@cup.hp.com>
6947
6948         * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
6949         (MASK_INLINE_DIV_THR): Remove.
6950         (TARGET_INLINE_DIV_LAT): Remove.
6951         (TARGET_INLINE_DIV_THR): Remove.
6952         (TARGET_INLINE_DIV): Remove.
6953         (MASK_INLINE_FLOAT_DIV_LAT): New macro.
6954         (MASK_INLINE_FLOAT_DIV_THR): New macro.
6955         (MASK_INLINE_INT_DIV_LAT): New macro.
6956         (MASK_INLINE_INT_DIV_THR): New macro.
6957         (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
6958         (TARGET_INLINE_FLOAT_DIV_THR): New macro.
6959         (TARGET_INLINE_INT_DIV_LAT): New macro.
6960         (TARGET_INLINE_INT_DIV_THR): New macro.
6961         (TARGET_INLINE_FLOAT_DIV): New macro.
6962         (TARGET_INLINE_INT_DIV): New macro.
6963         * config/ia64/ia64.md (divsi3): Change to use new macros.
6964         (modsi3): Ditto.
6965         (udivsi3): Ditto.
6966         (umodsi3): Ditto.
6967         (divsi3_internal): Ditto.
6968         (divdi3): Ditto.
6969         (moddi3): Ditto.
6970         (udivdi3): Ditto.
6971         (umoddi3): Ditto.
6972         (divdi3_internal_lat): Ditto.
6973         (divdi3_internal_thr): Ditto.
6974         (divsf3): Ditto.
6975         (divsf3_internal_lat): Ditto.
6976         (divsf3_internal_thr): Ditto.
6977         (divdf3): Ditto.
6978         (divdf3_internal_lat): Ditto.
6979         (divdf3_internal_thr): Ditto.
6980         (divtf3): Ditto.
6981         (divtf3_internal_lat): Ditto.
6982         (divtf3_internal_thr): Ditto.
6983         * config/ia64/ia64.c (ia64_override_options): Change
6984         to check new macros for conflicts in settings.
6985         * doc/invoke.texi (-minline-divide-min-latency): Remove.
6986         (-minline-divide-max-throughput): Remove.
6987         (-minline-float-divide-min-latency): New.
6988         (-minline-float-divide-max-throughput): New.
6989         (-minline-int-divide-min-latency): New.
6990         (-minline-int-divide-max-throughput): New.
6991
6992 2002-11-01  Richard Earnshaw  (rearnsha@arm.com)
6993
6994         PR target/7856
6995         * arm.c (use_return_insn): Don't use a return insn if there are
6996         saved integer regs, but LR is not one of them.
6997
6998 Fri Nov  1 10:33:15 CET 2002  Jan Hubicka  <jh@suse.cz>
6999
7000         * expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
7001         * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
7002
7003 Thu Oct 31 18:20:50 CET 2002  Jan Hubicka  <jh@suse.cz>
7004
7005         * i386.md (sse_loadss, sse_loadsd):  Canonicalize; add expander
7006         (movps, movpd splitters): Use canonical form.
7007         (movv2di): Fix merge problem.
7008
7009 Thu Oct 31 16:22:31 CET 2002  Jan Hubicka  <jh@suse.cz>
7010
7011         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
7012
7013 2002-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
7014
7015         PR optimization/6162
7016         * doc/md.texi: Document restriction on commutative operand
7017         specification.
7018
7019 2002-10-31  Eric Christopher  <echristo@redhat.com>
7020
7021         * explow.c (convert_memory_address): Use shallow_copy_rtx.
7022
7023 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
7024
7025         * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
7026
7027 2002-10-31  Steve Ellcey  <sje@cup.hp.com>
7028
7029         * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
7030
7031 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
7032
7033         * config/rs6000/darwin.h:  Correct formatting in previous.
7034
7035 Thu Oct 31  Dale Johannesen  <dalej@apple.com>
7036
7037         * config/rs6000/darwin.h:  Enable -falign-xxx options.
7038
7039 Thu Oct 31 18:08:00 CET 2002  Jan Hubicka  <jh@suse.cz>
7040
7041         * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
7042         flag_asynchronous_unwind_tables, flag_pcc_struct_return.
7043         * i386.c (optimization_options): Set flag_omit_frame_pointer,
7044         flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
7045         Do not clear -momit-leaf-frame-pointer when profiling.
7046         (ix86_frame_pointer_required): Frame pointer is always required when
7047         profiling.
7048
7049 Thu Oct 31 16:09:44 CET 2002  Jan Hubicka  <jh@suse.cz>
7050
7051         * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
7052
7053 Thu Oct 31 12:45:55 2002  J"orn Rennecke <joern.rennecke@superh.com>
7054
7055         * sh.h (binary_logical_operator): Declare.
7056         * sh.c (binary_logical_operator): New function.
7057         * sh.md (xordi3+1): New combiner splitter pattern.
7058
7059 2002-10-31  David O'Brien  <obrien@FreeBSD.org>
7060
7061         * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
7062         __enable_execute_stack function.
7063
7064 2002-10-30  Zack Weinberg  <zack@codesourcery.com>
7065
7066         * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h,
7067         gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor.
7068         * unwind-sjlj.c (fc_key_dtor): Delete.
7069         (fc_key_init): Adjust __gthread_key_create call to match.
7070
7071 2002-10-30  Aldy Hernandez  <aldyh@redhat.com>
7072
7073         * c-common.c: Add GTY to vector_type_node_list.
7074
7075 2002-10-30  John David Anglin  <dave@hiauly.hia.nrc.ca>
7076
7077         * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
7078         * pa-protos.h (attr_length_millicode_call, attr_length_call,
7079         pa_init_machine_status): Declare new global functions.
7080         * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
7081         implement new functions.
7082         (attr_length_millicode_call, attr_length_call): Implement.
7083         (total_code_bytes): Change type to long.
7084         (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
7085         Reset counter if flag_function_sections.
7086         (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
7087         (output_cbranch): Move call to gen_label_rtx.
7088         (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
7089         delay slot in all variants, shorten pc-relative calls.
7090         (output_call): Rewrite adding long TARGET_64BIT call, improved delay
7091         slot usage and exposure, various new call variants, and shortened
7092         sequences for some variants on TARGET_PA_20.
7093         Miscellaneous format changes.
7094         * pa.h (total_code_bytes): Change type to long.
7095         (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
7096         TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
7097         (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
7098         (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
7099         LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
7100         stores on TARGET_ELF32.
7101         *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
7102         (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
7103         canonicalize_funcptr_for_compare expanders): Calculate attribute length
7104         attr_length_millicode_call().
7105         (call_internal_symref, call_value_internal_symref): Clobber register 1.
7106         Calculate attribute length using attr_length_call().
7107         (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
7108         to delay slot.
7109         (sibcall, sibcall_value): Rewrite.
7110         (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
7111         register 1.  Use attr_length_call().
7112         (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
7113         New patterns.
7114         (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
7115         * som.h (MEMBER_TYPE_FORCES_BLK): Define.
7116         * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
7117         * doc/invoke.texi (mlong-calls): Document.
7118
7119 2002-10-30  Roger Sayle  <roger@eyesopen.com>
7120
7121         * fold-const.c (fold_binary_op_with_conditional_arg):  Improve
7122         handling of cases where one or both branches of the conditional
7123         have void type, i.e. throw an exception or don't return.
7124         (fold): Only apply (and undo) type conversion to the non-void
7125         branches of a COND_EXPR.
7126
7127 2002-10-30  Mark Mitchell  <mark@codesourcery.com>
7128
7129         PR c++/8333
7130         * varasm.c (asm_output_aligned_bss): Do not call
7131         ASM_GLOBALIZE_LABEL.
7132
7133 2002-10-30  David Edelsohn  <edelsohn@gnu.org>
7134             Torbjorn Granlund  <tege@swox.com>
7135
7136         * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
7137         for addressibility.
7138         (load_toc_v4_PIC_1b): Same.
7139
7140 2002-10-30  Kazu Hirata  <kazu@cs.umass.edu>
7141
7142         * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
7143         Truncate the addresses for H8/300 using HImode.
7144
7145 Tue Oct 29 23:28:10 CET 2002  Jan Hubicka  <jh@suse.cz>
7146
7147         * i386.md (negdf splitter): Fix construction of the constant.
7148
7149 Tue Oct 29 20:47:06 CET 2002  Jan Hubicka  <jh@suse.cz>
7150
7151         * i386.md (negsf, negdf): Reorganize to use vector modes
7152         for SSE variants.
7153         (abssf, absdf): Use force_reg.
7154         (movv4sf, movv2df): New splitters.
7155         * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand
7156         * i386.c (zero_extended_scalar_load_operand
7157
7158         * i386-protos.h (ix86_expand_call): Update prototype.
7159         * i386.c (ix86_function_ok_for_sibcall): Handle 64bit
7160         (ix86_expand_call): Use r11 for indirect sibcalls.
7161         * i386.md (call, call_value, untyped_call, call_value_pop):
7162         update x86_expand_call call.
7163         (sibcall, sibcall_value): new patterns
7164         (call_rex64, call_value_rex64): Do not accept sibcalls.
7165         (sibcall_rex64, sibcall_value_rex64,
7166         sibcall_rex64_v, sibcall_value_rex64_v): New.
7167
7168 Tue Oct 29 15:37:39 CET 2002  Jan Hubicka  <jh@suse.cz>
7169
7170         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
7171         before final pass.
7172
7173 2002-10-29  Hans-Peter Nilsson  <hp@bitrange.com>
7174
7175         * toplev.c (rest_of_type_compilation): Return early in case of
7176         errors.
7177         (check_global_declarations): Don't call debug_hooks->global_decl
7178         in case of errors.
7179
7180 2002-10-28  Andreas Bauer  <baueran@in.tum.de>
7181
7182         * doc/c-tree.texi (Tree overview): Fix typos.
7183
7184 2002-10-29  Phil Edwards  <pme@gcc.gnu.org>
7185
7186         * Makefile.in (gnucompare*):  Only record bad comparisons
7187         if there really was a bad comparison.
7188
7189 Tue Oct 29 19:32:16 CET 2002  Jan Hubicka  <jh@suse.cz>
7190
7191         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
7192         * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
7193         * md.texi (machine dependent constraints): Document 'C'
7194
7195         * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
7196
7197         * i386.c (ix86_expand_vector_move): Fix.
7198
7199         * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
7200         * i386.md (sse2_maskmovdqu_rex64): New pattern
7201
7202         PR target/8322
7203         * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
7204         (ix86_init_mmx_sse_builtins): Fix type.
7205
7206 2002-10-29  Jason Thorpe  <thorpej@wasabisystems.com>
7207
7208         * gthr-posix.h: Include <unistd.h> for feature tests.
7209         (sched_get_priority_max, sched_get_priority_min)
7210         (pthread_getschedparam, pthread_setschedparam): Only use
7211         if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
7212         (__gthread_objc_thread_set_priority): Don't treat all nonzero
7213         returns from sched_get_priority_max and sched_get_priority_min
7214         as an error.
7215
7216 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
7217
7218         * config/h8300/h8300.h (TARGET_DEFAULT): Make it
7219         MASK_QUICKCALL.
7220
7221 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
7222
7223         * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
7224         (h8300_tiny_constant_address_p): Likewise.
7225         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
7226         h8300_eightbit_constant_address_p.
7227         (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
7228         * config/h8300/h8300-protos.h: Add the prototypes for the two
7229         new functions.
7230
7231 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
7232
7233         * reload1.c (update_eliminables): Unconditionally check if
7234         frame_pointer_needed has changed.
7235
7236 Tue Oct 29 15:37:39 CET 2002  Jan Hubicka  <jh@suse.cz>
7237
7238         * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
7239         before final pass.
7240
7241 2002-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
7242
7243         PR optimization/8334
7244         * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
7245         check for zero operands explicitly.
7246
7247 2002-10-29  Richard Sandiford  <rsandifo@redhat.com>
7248
7249         * config/mips/mips.md (extv, extzv, insv): Set size of referenced
7250         memory after adjusting to BLKmode.
7251
7252 2002-10-29  Kazu Hirata  <kazu@cs.umass.edu>
7253
7254         * config/h8300/h8300.h (MASK_*): New.
7255         (TARGET_*): Use MASK_*.
7256
7257 2002-10-28  Zack Weinberg  <zack@codesourcery.com>
7258
7259         * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas.
7260         * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks,
7261         config/rs6000/vxworks.h: New files.
7262         * config/rs6000/sysv4.h: Rip out -mvxworks and all related code.
7263
7264         * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*,
7265         i?86-wrs-vxworks*, i960-wrs-vxworks* [all],
7266         m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*,
7267         powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all],
7268         sparc-*-vxsim*): Delete stanzas.
7269         * gthr-vxworks.h: Rip out all substantive code and just
7270         include gthr-single.h.
7271
7272         * config/alpha/vxworks.h, config/arm/vxarm.h,
7273         config/i386/vxi386.h, config/i960/t-vxworks960,
7274         config/i960/vx960-coff.h, config/i960/vx960.h,
7275         config/m68k/t-vxworks68, config/m68k/vxm68k.h,
7276         config/mips/vxworks.h, config/rs6000/vxppc.h,
7277         config/sparc/t-vxsparc, config/sparc/t-vxsparc64,
7278         config/sparc/vxsim.h, config/sparc/vxsparc.h,
7279         config/sparc/vxsparc64.h: Delete files.
7280
7281 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
7282
7283         * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
7284         tm_defines if pthreads are enabled.
7285         * config/netbsd.h (LIB_SPEC): Only support the -pthread option
7286         if NETBSD_ENABLE_PTHREADS is defined.
7287
7288 2002-10-28  Kazu Hirata  <kazu@cs.umass.edu>
7289
7290         * ChangeLog.1: Fix typos.
7291         * cse.c: Fix a comment typo.
7292         * reload1.c: Likewise.
7293
7294 2002-10-27  Hans-Peter Nilsson  <hp@bitrange.com>
7295
7296         * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
7297         * fixinc/tests/base/_G_config.h: New file.
7298
7299 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
7300
7301         * combine.c: Fix comment formatting.
7302         * loop.c: Likewise.
7303         * real.c: Likewise.
7304         * regclass.c: Likewise.
7305         * regmove.c: Likewise.
7306         * regrename.c: Likewise.
7307         * reg-stack.c: Likewise.
7308         * reload1.c: Likewise.
7309         * reload.c: Likewise.
7310         * reload.h: Likewise.
7311         * unroll.c: Likewise.
7312
7313 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
7314
7315         * reload1.c (reload): Fix a comment typo.
7316
7317 Sun Oct 27 10:15:24 CET 2002  Jan Hubicka  <jh@suse.cz>
7318
7319         * linux64.h (DEFAULT_PCC_STRUCT_RETURN):  Define.
7320
7321 2002-10-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7322
7323         * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
7324         * dwarf2out.c: Include hashtab.h.
7325         (is_main_source): New static variable.
7326         (attr_checksum, die_checksum): Modified to handle die references.
7327         (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
7328         unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
7329         record_comdat_symbol_number): New static functions.
7330         (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
7331         mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
7332         * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
7333         declarations added.
7334
7335 2002-10-26  Kazu Hirata  <kazu@cs.umass.edu>
7336
7337         * config/h8300/h8300.c (initial_offset): Change to
7338         h8300_initial_elimination_offset.
7339         * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
7340         h8300_initial_elimination_offset.
7341         * config/h8300/h8300-protos.h: Update the prototype.
7342
7343 2002-10-26  Hans-Peter Nilsson  <hp@bitrange.com>
7344
7345         * config/mmix/mmix.h (LIBCALL_VALUE): Use
7346         MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
7347         (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
7348         * config/mmix/mmix.c (mmix_function_value_regno_p): New.
7349         * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
7350         and RTX_CODE.
7351         (mmix_function_value_regno_p): Declare.
7352
7353         * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
7354         invalid for floating point mode result, with fix.
7355
7356 Fri Oct 25 00:04:21 2002  Alexandre Oliva  <aoliva@redhat.com>
7357
7358         * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld.
7359         (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET.
7360         (stage1_build): Likewise.
7361
7362 2002-10-25  Mike Stump  <mrs@apple.com>
7363
7364         Fixes gcc.dg/warn-1.c.
7365         * c-typeck.c (warn_for_assignment): Don't print argument number,
7366         if zero.
7367
7368 Sat Oct 26 01:44:46 CEST 2002  Jan Hubicka  <jh@suse.cz>
7369
7370         * toplev.c (dump_file_index): Add DFI_ce3.
7371         (dump_file_info): Likewise.
7372         (rest_of_compilation): Run first ifcvt pass before tracer.
7373
7374 2002-10-25  Steve Ellcey  <sje@cup.hp.com>
7375
7376         * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
7377
7378 2002-10-25  Richard Henderson  <rth@redhat.com>
7379
7380         * real.c (real_to_decimal): If the >1 tens reduction loop results
7381         in a negative exponent, fall into the <1 pten computation.
7382
7383 2002-10-25  Zack Weinberg  <zack@codesourcery.com>
7384
7385         PR middle-end/6994
7386         * c-objc-common.c (inline_forbidden_p): Can not inline
7387         functions containing structures or unions containing VLAs.
7388         * tree-inline.c (walk_tree): For all class 't' nodes, walk
7389         TYPE_SIZE and TYPE_SIZE_UNIT.
7390         (copy_tree_r): Copy types if they are variably modified.
7391
7392 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
7393
7394         * config/s390/s390.md: Remove old-style peepholes.
7395
7396 2002-10-25  Ulrich Weigand  <uweigand@de.ibm.com>
7397
7398         * config/s390/s390.c (s390_decompose_address): Do not range check the
7399         displacement if base or index is the argument pointer register.
7400
7401 2002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
7402
7403         PR other/3337
7404         PR bootstrap/6763
7405         PR bootstrap/8122
7406         * fixinc/inclhack.def (libc1_G_va_list): New fix.
7407         * fixinc/fixincl.x: Regenerate.
7408         * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
7409         ifndef IN_LIBGCC2.  Wrap it together with signal.h and
7410         sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
7411         * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
7412         * config.in, configure: Regenerate.
7413
7414 2002-10-24  Igor Shevlyakov <igor@microunity.com>
7415
7416         * varasm.c (struct rtx_const): Array size 16 for V16QImode.
7417
7418 2002-10-24  Richard Henderson  <rth@redhat.com>
7419
7420         * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
7421
7422 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
7423
7424         * config/h8300/h8300.c (initial_offset): Simplify by using
7425         round_frame_size.
7426
7427 2002-10-24  Marek Michalkiewicz  <marekm@amelek.gda.pl>
7428
7429         * doc/install.texi (avr): Update required binutils version.
7430
7431 2002-10-24  Theodore A. Roth  <troth@openavr.org>
7432
7433         * doc/install.texi: Point avr users at more up-to-date information.
7434
7435 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
7436
7437         * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
7438         to pull operands out of the literal pool where possible.
7439
7440 2002-10-24  Denis Chertykov  <denisc@overta.ru>
7441
7442         * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
7443
7444 2002-10-24  Steve Ellcey  <sje@cup.hp.com>
7445
7446         * expr.c (convert_move): If unsignedp is less then zero there
7447         is no equivalent code.
7448
7449 2002-10-24  Zack Weinberg  <zack@codesourcery.com>
7450
7451         * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
7452
7453 2002-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
7454
7455         * config/s390/s390.h: Rework comments; re-sort target macro definitions
7456         according to the sequence they are defined in the manual.
7457         (POINTER_BOUNDARY): Remove.
7458
7459 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
7460
7461         * config/h8300/h8300.c (round_frame_size): Replace 8 with
7462         BITS_PER_UNIT.
7463
7464 2002-10-24  Kazu Hirata  <kazu@cs.umass.edu>
7465
7466         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
7467         64-bit safe.
7468         (TINY_CONSTANT_ADDRESS_P): Likewise.
7469
7470 2002-10-24  Richard Henderson  <rth@redhat.com>
7471
7472         * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
7473         (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
7474         vcall offset.
7475
7476 2002-10-24  Richard Henderson  <rth@redhat.com>
7477
7478         PR opt/7944
7479         * reload.c (find_reloads_toplev): Mode of X is not important
7480         when simplifying subregs of constants.
7481
7482 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
7483
7484         * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
7485         MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
7486         * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
7487         (override_options): Base default setting of MASK_SOFT_FLOAT on -march
7488         if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
7489
7490 2002-10-24  Richard Sandiford  <rsandifo@redhat.com>
7491
7492         * optabs.c (expand_binop): Don't reuse the shift target in the
7493         middle of shift sequences.
7494
7495 Wed Oct 23 22:48:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
7496
7497         * i386.md (abs splitters): Do not produce nested subregs.
7498
7499 Wed Oct 23 12:42:32 CEST 2002  Jan Hubicka  <jh@suse.cz>
7500
7501         * i386.md (movti_rex64): Fix constraints.
7502
7503 Wed Oct 23 12:01:21 CEST 2002  Jan Hubicka  <jh@suse.cz>
7504
7505         * i386.md (abssf,absdf): Use vector operands for SSE
7506         (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for
7507         vector operand.
7508
7509 2002-10-23  Ziemowit Laski <zlaski@apple.com>
7510
7511         * objc/objc-act.c (get_static_reference): Remove unneeded
7512         TYPE_BINFO initialization.
7513         (get_object-reference): Likewise.
7514         (build_constructor): Tighten precondition check.
7515         (finish_message_expr): Likewise.
7516
7517 2002-10-23  Jakub Jelinek  <jakub@redhat.com>
7518
7519         * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
7520         after CONST test.
7521
7522 2002-10-23  Steve Ellcey  <sje@cup.hp.com>
7523
7524         * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
7525         in HFAs.
7526
7527 2002-10-23  Richard Henderson  <rth@redhat.com>
7528
7529         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
7530         (alpha_output_mi_thunk_osf): Handle vcall_offset.
7531
7532 2002-10-23  Zack Weinberg  <zack@codesourcery.com>
7533
7534         * langhooks.h (struct lang_hooks_for_tree_inlining): Add
7535         var_mod_type_p.
7536         * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
7537         hook_tree_bool_false.
7538
7539         * tree.c (variably_modified_type_p): Moved here from
7540         cp/tree.c.  Use lang_hooks.tree_inlining.var_mod_type_p for
7541         language-specific cases.  Due to this, must weaken some 'if
7542         and only if' checks to merely 'if'.
7543         * tree.h: Prototype variably_modified_type_p.
7544
7545         * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
7546
7547 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
7548
7549         * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
7550         * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
7551
7552         * config/s390/s390-protos.h (fp_operand): Remove.
7553         * config/s390/s390.c (fp_operand): Remove.
7554         * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
7555         ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
7556         ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
7557         (movdi_31, movdf_31 splitters): Likewise.
7558
7559         * config/s390/s390.h (IEEE_FLOAT): Remove.
7560         (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
7561         (INT_REGNO_P): Rename to ...
7562         (GENERAL_REGNO_P): ... this.
7563         (FLOAT_REGNO_P): Rename to ...
7564         (FP_REGNO_P): ... this.
7565         (ADDR_REGNO_P): New macro.
7566         (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
7567         (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
7568         (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
7569         (HARD_REGNO_NREGS): Adapt to macro renaming.
7570         (HARD_REGNO_MODE_OK): Likewise.
7571
7572 2002-10-23  David Edelsohn  <edelsohn@gnu.org>
7573             Geoff Keating  <geoffk@apple.com>
7574
7575         * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
7576         (rs6000_memory_move_cost): New function.
7577         * config/rs6000/rs6000-protos.h: Declare them.
7578         * config/rs6000/rs6000.h: Use them.
7579
7580 2002-10-23  Ulrich Weigand  <uweigand@de.ibm.com>
7581
7582         * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
7583         inlining it into other libgcc2 routines.
7584         (__udivmoddi4): Likewise.
7585
7586 2002-10-22  Nathanael Nerode  <neroden@gcc.gnu.org>
7587
7588         * doc/sourcebuild.texi (Test Suites): Improve.
7589
7590 2002-10-22  Stan Shebs  <shebs@apple.com>
7591
7592         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
7593         case for Darwin.
7594
7595 2002-10-22  Jim Wilson  <wilson@redhat.com>
7596
7597         * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
7598
7599 Wed Oct 23 01:52:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
7600
7601         PR other/8289
7602         * xmmintrin.h: Add const to the argument of loads.
7603
7604         * i386.md (pushv2di): New pattern.
7605         PR target/6890
7606         * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
7607
7608 2002-10-22  Richard Henderson  <rth@redhat.com>
7609
7610         * target.h (gcc_target.asm_out): Merge output_mi_thunk and
7611         output_mi_vcall_thunk into a single hook.  Add can_output_mi_thunk.
7612         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
7613         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
7614         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7615         (TARGET_ASM_OUT): Update.
7616         * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
7617         (hook_bool_tree_hwi_hwi_tree_true): New.
7618         (default_can_output_mi_thunk_no_vcall): New.
7619         * hooks.h: Declare them.
7620         * system.h (ASM_OUTPUT_MI_THUNK): Poison.
7621
7622         * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7623         (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
7624         * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
7625         config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
7626         config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
7627         config/stormy16/stormy16.c: Similarly.
7628
7629         * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
7630         Handle 64-bit properly.  Streamline.
7631         (x86_output_mi_vcall_thunk): Remove.
7632         (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
7633         (x86_can_output_mi_thunk): New.
7634         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
7635         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7636         (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
7637
7638         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
7639         output_mi_thunk; make static; always use function_section.
7640         (TARGET_ASM_OUTPUT_MI_THUNK): New.
7641         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7642         (rs6000_ra_ever_killed): Test no_new_pseudos not
7643         targetm.asm_out.output_mi_thunk in conjunction with thunks.
7644         * config/rs6000/rs6000-protos.h: Update.
7645         * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
7646         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
7647         xcoffout_declare_function when using rs6000_output_mi_thunk.
7648
7649         * config/s390/s390.c (s390_output_mi_thunk): Rename from
7650         s390_output_mi_vcall_thunk.
7651         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
7652         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7653
7654         * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
7655         (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
7656         * config/vax/vax-protos.h: Update.
7657         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
7658
7659 Wed Oct 23 00:33:11 CEST 2002  Jan Hubicka  <jh@suse,cz>
7660
7661         * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
7662         * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
7663         * i386.md (movti_internal): Use 'C'
7664
7665         * xmmintrin.h (_mm_cmplt_epi*): New.
7666
7667 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
7668
7669         * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
7670         ("*movdf_64"): Likewise.
7671         ("*lshrdi3_64"): Likewise.
7672         ("blockage"): Add length attribute.
7673         ("lit"): Likewise.
7674
7675 Tue Oct 22 23:51:34 CEST 2002  Jan Hubicka  <jh@suse.cz>
7676
7677         * i386.md: FIx typo.
7678         (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
7679         (sse2_umulv2siv2di3): Fix predicate.
7680         (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
7681         lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
7682         * xmmintrin.h (_mm_mul_epu16): Rename to...
7683         (_mm_mul_epu32): This one.
7684         (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
7685
7686         (contains_128bit_aligned_vector_p): Undo accidental checkin.
7687
7688 2002-10-22  Eric Christopher  <echristo@redhat.com>
7689
7690         * config/sparc/sparc.h: Add #error.
7691
7692 2002-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
7693
7694         * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
7695         [s390x-*-linux*]: Likewise.
7696         * config/s390/t-linux: Remove.
7697         * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
7698
7699 Tue Oct 22 19:07:03 CEST 2002  Jan Hubicka  <jh@suse.cz>
7700
7701         * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
7702         (ix86_expand_builtin): Fix MASKMOVDQU expasion.
7703         * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
7704         * i386.md (mmx_punpck?dq): Simplify.
7705         (sse2_pubpcklqdq): Fix.
7706         (sse2_pubpckhqdq): New.
7707         * xmmintrin.h (_mm_unpackhi_epi32): New.
7708
7709         * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
7710         (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
7711
7712 2002-10-22  Nathan Sidwell  <nathan@codesourcery.com>
7713
7714         PR c++/7209
7715         * fold_const.c (fold_binary_op_with_conditional_arg): Always
7716         build compound_expr if we used save_expr.
7717
7718 2002-10-22  Alan Modra  <amodra@bigpond.net.au>
7719
7720         * output.h (SECTION_NOTYPE): Define.
7721         * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
7722         init array sections.
7723         (default_elf_asm_named_section): Mind SECTION_NOTYPE.
7724         * config/arm/arm.c (arm_elf_asm_named_section): Likewise.  Also
7725         merge TLS support.
7726
7727 2002-10-21  Richard Henderson  <rth@redhat.com>
7728
7729         * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at
7730         the function type, not the return type.
7731
7732 2002-10-21  Richard Henderson  <rth@redhat.com>
7733
7734         * real.c (sticky_rshift_significand): Return inexact, don't
7735         or it in immediately.
7736         (sub_significands): Accept incomming carry.
7737         (div_significands, rtd_divmod): Update for sub_significands change.
7738         (round_for_format): Update for sticky_rshift_significand change.
7739         (do_add): Don't involve the inexact bit in addition, do give the
7740         inexact bit as the subtraction carry-in.
7741         (encode_internal, decode_internal, real_internal_format): New.
7742         * real.h (real_internal_format): Declare.
7743
7744 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
7745
7746         * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
7747         don't define sdiv_qrnnd.
7748
7749 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
7750
7751         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
7752         using IN_RANGE.
7753         (TINY_CONSTANT_ADDRESS_P): Likewise.
7754
7755 Tue Oct 22 00:04:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
7756
7757         * i386.c (builtin_description): Add punpcklqdq and movdq2q
7758         (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
7759         v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
7760         void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
7761         __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
7762         __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
7763         __builtin_ia32_setzero128.
7764         (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
7765         IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
7766         IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
7767         * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
7768         IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
7769         IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
7770         IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
7771         * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
7772         sse2_movq): New patterns.
7773         (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
7774         * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
7775         _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
7776         _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
7777         _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
7778         _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
7779         _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
7780         (_mm_insert_epi16): Fix.
7781
7782 2002-10-21  Dale Johannesen  <dalej@apple.com>
7783
7784         * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
7785             unsafe math reversals correctly for RTL generation.
7786           (output_cbranch):  Replace rs6000_reverse_condition call
7787             by its former definition.
7788
7789 2002-10-21  Jakub Jelinek  <jakub@redhat.com>
7790
7791         * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
7792         argument.  In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
7793         from constant pool or LABEL_REFs as sign extended if allow_rip.
7794         Change all +-1GB limits to +-16MB.
7795         (x86_64_general_operand, x86_64_szext_general_operand,
7796         x86_64_nonmemory_operand, x86_64_movabs_operand,
7797         x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
7798         legitimate_address_p, ix86_expand_int_movcc): Update callers.
7799         (local_symbolic_operand): Don't allow offsets bigger than +-16MB
7800         in CM_SMALL_PIC model.
7801         (legitimate_pic_address_disp_p): Don't check offsets before
7802         calling local_symbolic_operand.
7803         (legitimize_pic_address): Force offsets bigger than +-16MB into
7804         register.
7805         * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
7806         * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
7807         prototype.
7808
7809         * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
7810         Add x86-64 test.  Set tls_first_minor to 14 on IA-32 and x86-64.
7811         * configure: Rebuilt.
7812         * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
7813         SYMBOL_REFs unless enclosed in UNSPEC.  Handle UNSPEC_DTPOFF,
7814         UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
7815         (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
7816         -fpic.
7817         (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
7818         non-pic code if TARGET_64BIT.
7819         (legitimize_address): Generate 64-bit TLS sequences.
7820         (output_pic_addr_const): Support x86-64 TLS operators.
7821         (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
7822         (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
7823         Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
7824         (output_addr_const_extra): Support x86-64 TLS operators.
7825         (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
7826         (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
7827         unconditionally.
7828         * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
7829         (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
7830         (*tls_global_dynamic_sun): Renamed to...
7831         (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
7832         (tls_global_dynamic): Renamed to...
7833         (tls_global_dynamic_32): ... this.
7834         (tls_global_dynamic_64, *tls_global_dynamic_64): New.
7835         (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
7836         (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
7837         (*tls_local_dynamic_base_dynamic_sun): Renamed to...
7838         (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
7839         (tls_local_dynamic_base_dynamic): Renamed to...
7840         (tls_local_dynamic_base_dynamic_32): ... this.
7841         (tls_local_dynamic_base_dynamic_64,
7842         *tls_local_dynamic_base_dynamic_64): New.
7843         (*tls_local_dynamic_once): Renamed to...
7844         (*tls_local_dynamic_32_once): ... this.
7845
7846 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
7847
7848         * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
7849         __divdi3, __umoddi3, or __moddi3.
7850
7851 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
7852
7853         * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
7854         instead of just opt_index as switch expression.
7855
7856         * calls.c (store_one_arg): Change type of 'excess_align'
7857         to unsigned int.
7858
7859         * profile.c (output_gcov_string): Change type of 'temp'
7860         to size_t.
7861
7862 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
7863
7864         * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
7865         (__fixunssfdi, __fixsfdi): Likewise.
7866         * config/s390/s390.c (s390_single_hi): Initialize 'value'.
7867         (s390_single_qi): Likewise.
7868         (s390_emit_epilogue): Initialize 'offset'.  Remove signed vs.
7869         unsigned comparison warning.
7870         (s390_return_addr_rtx): New function.
7871         * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
7872         * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
7873         (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
7874
7875 2002-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
7876
7877         * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
7878         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
7879         (s390_output_mi_thunk): Remove.
7880         (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
7881
7882 2002-10-21  Kazu Hirata  <kazu@cs.umass.edu>
7883
7884         * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
7885
7886 2002-10-20  Zack Weinberg  <zack@codesourcery.com>
7887
7888         * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an
7889         inverted test in the conditional determining the possibility
7890         of sibcalls in PIC mode.
7891
7892 2002-10-20  Richard Henderson  <rth@redhat.com>
7893
7894         * target.h (struct gcc_target): Line wrap.
7895
7896         * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
7897         (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
7898         * config/alpha/alpha.h: ... not here.
7899         * config/alpha/alpha-protos.h: Update.
7900
7901         * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
7902         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
7903         config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
7904         config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
7905         config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
7906         config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
7907         config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
7908         config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
7909         config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
7910         config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
7911         config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
7912         config/sparc/openbsd.h, config/sparc/sparc-protos.h,
7913         config/sparc/sparc.c, config/sparc/sparc.h,
7914         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
7915         config/stormy16/stormy16.h: Similarly.
7916
7917         * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
7918         selection logic from call patterns.
7919
7920 2002-10-20  Mark Mitchell  <mark@codesourcery.com>
7921
7922         * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
7923
7924 2002-10-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
7925
7926         PR other/8202
7927         * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
7928         expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
7929         * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
7930         * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
7931
7932 2002-10-20  Roger Sayle  <roger@eyesopen.com>
7933
7934         PR c/761
7935         * toplev.c (flag_unsafe_profile_arcs): Remove.
7936         (flag_bounded_pointers): Remove.
7937         (flag_bounds_check): Correct comments.
7938         (lang_independent_options): Remove -funsafe-profile-arcs and
7939         -fbounded-pointers.  Correct -fbounds-check comments.
7940
7941         * flags.h: Correct flag_schedule_interblock comments.
7942         (flag_bounded_pointers): Remove prototype.
7943         (flag_bounds_check): Correct comments.
7944
7945         * c-opts.c (c_common_init_options): No need to mark
7946         flag_bounds_check as unspecified.
7947         (c_common_post_options): And no need to set it from
7948         flag_bounded_pointers if its still unspecified.
7949
7950         * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
7951         Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
7952         -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
7953         -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
7954
7955 Sat Oct 19 22:02:28 2002  Alexandre Oliva  <aoliva@redhat.com>
7956         Angela Marie Thomas  <angela@releasedominatrix.com>
7957         Brendan Kehoe  <brendan@zen.org>
7958         Nick Clifton  <nickc@redhat.com>
7959         Andrew Haley  <aph@redhat.com>
7960
7961         * configure.in (--with-sysroot): New.  Don't inhibit libc if
7962         given.  AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
7963         and CROSS_SYSTEM_HEADER_DIR.
7964         * configure: Rebuilt.
7965         * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
7966         (TARGET_SYSTEM_ROOT): New.
7967         (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
7968         CROSS_SYSTEM_HEADER_DIR.
7969         (install-gcc-tooldir): New target.
7970         (stmp-fixinc): Do not create $(libsubdir), but rather bail out
7971         if SYSTEM_HEADER_DIR does not exist and it's not the default
7972         sys-include directory.
7973         (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
7974         (install-mkheaders): Likewise.
7975         * gcc.c (target_system_root): New variable.
7976         (add_sysrooted_prefix): New function.
7977         (process_command): Recompute run-time target_system_root from
7978         gcc_exec_prefix, keeping it unchanged if the relocated sysroot
7979         does not exist.
7980         (do_spec_1): Process 'R' spec.
7981         (main): Add md_exec_prefix to exec_prefixes regardless of
7982         startfile_prefix_spec.  Use add_sysrooted_prefix for
7983         startfile_prefixes, and don't skip the default ones when cross
7984         compiling with sysroot enabled.  Removed unused case of
7985         non-absolute standard_startfile_prefix.
7986         * config/interix.h: Remove the only potential, yet disabled,
7987         occurrence of non-absolute (empty) standard_startfile_prefix.
7988         * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
7989         linking.
7990         * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
7991         * doc/install.texi (--with-sysroot): Document.
7992         (--with-headers, --with-libs): Deprecate.
7993
7994 2002-10-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7995             Mark Mitchell  <mark@codesourcery.com>
7996
7997         * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
7998         match target.h.
7999         * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
8000         * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
8001         * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
8002         * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
8003         x86_output_mi_thunk): Likewise.
8004         * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
8005         * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
8006         * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
8007         * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
8008         * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
8009         * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
8010         * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
8011         Likewise.
8012         * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
8013
8014         * target.h (gcc_target): Update output_mi_thunk and
8015         output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
8016         vcall_index.
8017
8018         * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
8019         TARGET_ASM_OUTPUT_MI_THUNK in comments.
8020         * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
8021         (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
8022         * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
8023         * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
8024         signature.
8025         * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
8026         * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
8027         TARGET_ASM_OUTPUT_MI_THUNK in comments.
8028         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
8029         (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
8030         * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
8031         TARGET_ASM_OUTPUT_MI_THUNK in comments.
8032         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
8033         ASM_OUTPUT_MI_THUNK and replace with check of targetm.
8034
8035         * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
8036         (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
8037
8038 2002-10-19  Brad Lucier  <lucier@math.purdue.edu>
8039
8040         * real.c (do_add): Fix 0+0 sign corner case.
8041         (do_divide): Fix Inf/0 corner case.
8042
8043 Sun Oct 20 00:31:31 CEST 2002  Jan Hubicka  <jh@suse.cz>
8044
8045         * i386.c (classify_argument): Pass MMX arguments in memory
8046         (ix86_expand_builtin): Expand proper address mode for cflush.
8047         * i386.md (movdqa): Fix typo.
8048         (sse2_cflush): Accept DImode addresses.
8049
8050         * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
8051         (_mm_max_sd): Fix pasto.
8052         (_mm_storeh_pd, _mm_storel_pd): Fix.
8053
8054         * i386.c (bdesc_comi): Fix to match specification.
8055         (ix86_expand_sse_comi): Emit the comparison properly.
8056         * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
8057         Do not use comparison operator.
8058         (vnmaskcmp): Fix template.
8059
8060         * xmmintrin.h (_mm_cvtps_pi16): Fix.
8061
8062 2002-10-19  Sebastian Pop  <s.pop@laposte.net>
8063
8064         * dependence.c : Removed.
8065         * Makefile.in : Remove dependence.o.
8066
8067 Sat Oct 19 10:46:52 CEST 2002  Jan Hubicka  <jh@suse.cz>
8068
8069         * mmintrin.h (__m64): typedef it to v2si.
8070         (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
8071         _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
8072         _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
8073         _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
8074         _mm_or_si64, _mm_xor_si64): Add neccesary casts.
8075         * xmmintrin.h (_mm_setzero_si64): Likewise.
8076
8077         * i386.h (ALIGN_MODE_128): Update comment; add missing modes
8078         (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
8079
8080         PR target/7693
8081         Patch by Shawn Wagner
8082         * mmintrin.h: Replace pi64 by si64.
8083
8084 2002-10-18  David Edelsohn  <edelsohn@gnu.org>
8085
8086         * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
8087         Use length of 4 not *.
8088         (movdf_hardfloat64): Same.  Support DFmode moves to/from CTR/LR.
8089         (movdf_softfloat64): Likewise.
8090         (movdi_internal32): Use length of 4 not *.
8091         (movti_power): Same.
8092         (ctrsi, ctrdi): Same.
8093
8094 2002-10-18  Zack Weinberg  <zack@codesourcery.com>
8095
8096         * c-decl.c (start_decl): Point users of the old initialized-
8097         typedef extension at __typeof__.
8098
8099 2002-10-18  Richard Henderson  <rth@redhat.com>
8100
8101         * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
8102         (real_to_decimal): Re-implement using the logic from the
8103         gcc 3.2 etoasc.  Comment heavily.
8104         (div_significands): Simplify loop startup and comparison logic.
8105
8106 2002-10-18  Mark Mitchell  <mark@codesourcery.com>
8107
8108         * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
8109         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
8110         (TARGET_ASM_OUT): Add them.
8111         * target.h (asm_out): Add output_mi_thunk and
8112         output_mi_vcall_thunk.
8113         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8114         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8115         * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
8116         * config/arm/arm.c (arm_output_mi_thunk): Define.
8117         * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8118         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8119         * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8120         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8121         * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8122         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8123         * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
8124         prototype.
8125         (x86_output_mi_vcall_thunk): Declare.
8126         * config/i386/i386.c (override_options): Clear
8127         output_mi_vcall_thunk in 64-bit mode.
8128         (ix86_fntype_regparm): New function.
8129         (ix86_return_pops_args): Use it.
8130         (ia32_this_parameter): New function.
8131         (x86_output_mi_vcall_thunk): New function.
8132         (x86_output_mi_thunk): Use it
8133         * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
8134         (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
8135         * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
8136         * config/i960/i960.c (i960_output_mi_thunk): New function.
8137         * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
8138         * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
8139         * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
8140         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8141         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8142         * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
8143         * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8144         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8145         * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8146         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8147         * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8148         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8149         * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8150         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8151         * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8152         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8153         * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
8154         * config/s390/s390.c (s390_output_mi_thunk): Define.
8155         * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8156         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8157         * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8158         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8159         * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8160         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8161         * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
8162         * config/vax/vax.c (vax_output_mi_thunk): Define.
8163         * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
8164         (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
8165         * doc/tm.texi: Adjust documentation.
8166
8167 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
8168
8169         * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
8170         __enable_execute_stack function.
8171         * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
8172         as NETBSD_ENABLE_EXECUTE_STACK.
8173         * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8174         * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8175         * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8176         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8177         * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
8178
8179 2002-10-18  Jason Thorpe  <thorpej@wasabisystems.com>
8180
8181         * config/i386/i386.c (x86_initialize_trampoline): Emit a call
8182         to __enable_execute_stack with the address of the trampoline
8183         if TRANSFER_FROM_TRAMPOLINE is defined.
8184         * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
8185         constant if building libgcc2.
8186
8187 Thu Oct 17 17:40:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
8188
8189         * i386.c (pentium4_cost): Fix according to Intel recommendations.
8190         (ix86_memory_move_cost): Fix for 64bit compilation.
8191
8192 2002-10-17  Roger Sayle  <roger@eyesopen.com>
8193
8194         * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
8195
8196 2002-10-17  Geoffrey Keating  <geoffk@apple.com>
8197
8198         * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
8199         in CTR/LR/MQ.
8200         * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
8201         to/from CTR/LR/MQ.
8202         (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
8203         (movsf_softfloat): Likewise.
8204
8205 2002-10-17  Janis Johnson  <janis187@us.ibm.com>
8206
8207         * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
8208
8209 2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
8210
8211         * config/alpha/alpha.c (alpha_initialize_trampoline): Use
8212         tramp, not addr, to pass the trampoline address to
8213         __enable_execute_stack.
8214
8215 Thu Oct 17 18:40:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
8216
8217         * mmintrin.h: Guard by __MMX__
8218         * xmmintrin.h: Guard by __SSE__
8219
8220         PR other/8062
8221         * xmmintrin.h (_MM_SHUFFLE2): New macro.
8222         (_mm_load*_?d): New functions.
8223         (_mm_set*_?d): New functions.
8224         (_mm_store*_?d): New functions.
8225
8226 Wed Oct 16 15:01:29 CEST 2002  Jan Hubicka  <jh@suse.cz>
8227
8228         Really commit patch announced at Oct 14
8229         PR c/7344
8230         * predict.c (can_predict_insn_p): New function.
8231         (estimate_probability): Avoid unnecesary work.
8232         (process_note_prediction): Likewise.
8233         * toplev.c (rest_of_compilation): Account early branch prediction pass
8234         as TV_BRANCH_PROB.
8235
8236         PR other/8048
8237         Found by Ian Ollmann
8238         * xmmintrin.h (_mm_shuffle_pd): Fix typo.
8239         (_mm_load?_pd): Likewise.
8240         (_mm_store?_pd): Likewise.
8241
8242         PR target/7386
8243         * i386.c (builtin_description):Drop cmpg[te]s[sd].
8244         * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
8245         swapped alternative.
8246
8247         PR opt/7630
8248         * reload1.c (reload_inner_reg_of_subreg): New argument output;
8249         (push_reload): Update call.
8250
8251 2002-10-17  Richard Sandiford  <rsandifo@redhat.com>
8252
8253         * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
8254         if using mips/elf.h or mips/elf64.h.
8255         * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
8256         * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
8257
8258 2002-10-16  Aldy Hernandez  <aldyh@redhat.com>
8259
8260         * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
8261         SI.
8262
8263 2002-10-16  Ulrich Weigand  <uweigand@de.ibm.com>
8264
8265         * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
8266         (LPREFIX): Likewise.
8267         (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
8268         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
8269         ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
8270         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
8271         GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
8272
8273         * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
8274         ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
8275         ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
8276         BSS_SECTION_ASM_OP): Move from linux.h.
8277         (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
8278         Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
8279
8280         * config/s390/s390.c (s390_function_profiler): Use
8281         ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
8282
8283 2002-10-15  Eric Christopher  <echristo@redhat.com>
8284
8285         * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
8286         * java/parse.y (obtain_incomplete_type): Make pointer
8287         ptr_mode.
8288
8289 2002-10-15  Richard Henderson  <rth@redhat.com>
8290
8291         * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
8292         as arguments.  Bound DIGITS by the available buffer size.
8293         (real_to_hexadecimal): Likewise.
8294         * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
8295         (REAL_VALUE_TO_DECIMAL): Remove.
8296         * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
8297         sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
8298         config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
8299         config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
8300         config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
8301         config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
8302         config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
8303         use real_to_decimal directly, and with the proper arguments.
8304         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
8305
8306 2002-10-15  Jim Wilson  <wilson@redhat.com>
8307
8308         * reload1.c (merge_assigned_reloads): After converting overlapping
8309         reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
8310
8311         * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
8312
8313 Tue Oct 15 22:08:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
8314
8315         * expr.c (do_tablejump): Fix typo in my previous commit.
8316
8317 2002-10-15  Richard Sandiford  <rsandifo@redhat.com>
8318
8319         * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
8320
8321 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
8322
8323         * config/s390/s390.c (s390_split_branches): Add return
8324         value.  Add parameters TEMP_REG and TEMP_USED.  Use unspec 104.
8325
8326         (find_base_register_in_addr): New function.
8327         (find_base_register_ref): New function.
8328         (replace_base_register_ref): New function.
8329
8330         (struct constant_pool): Add members pool_insn, insns, and anchor.
8331         Remove member last_insn.
8332         (s390_start_pool): Initialize them.
8333         (s390_end_pool): Emit pool placeholder insn.
8334         (s390_add_pool_insn): New function.
8335         (s390_find_pool): Use insns bitmap instead of addresses.
8336         (s390_dump_pool): Replace placeholder insn.  Emit anchor.
8337         Replace unspec 104 by local-pool-relative references.
8338         (s390_output_constant_pool): Output anchor label if required.
8339         (s390_output_symbolic_const): Handle unspec 104 and 105.
8340         (s390_add_pool): Remove, replace by ...
8341         (s390_add_constant, s390_find_constant): ... these new functions.
8342         (s390_add_anchor): New function.
8343
8344         (s390_chunkify_pool): Delete, replace by ...
8345         (s390_chunkify_start, s390_chunkify_finish,
8346         s390_chunkify_cancel): ... these new functions.
8347         (s390_optimize_prolog): Add parameter TEMP_REGNO.
8348         Recompute register live data for special registers.
8349         (s390_fixup_clobbered_return_reg): New function.
8350         (s390_machine_dependent_reorg): Rewrite to use new
8351         s390_chunkify_... routines.
8352
8353         config/s390/s390.md ("reload_base"): Rename to ...
8354         ("reload_base_31"): ... this.
8355         ("reload_base_64"): New insn.
8356         ("reload_base2"): Remove.
8357         ("reload_anchor"): New insn.
8358         ("pool"): New insn.
8359
8360         s390.c (s390_pool_overflow): Remove.
8361         s390.h (s390_pool_overflow): Likewise.
8362         s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
8363
8364 Tue Oct 15 16:51:04 2002  J"orn Rennecke <joern.rennecke@superh.com>
8365
8366         * sh.md (movv8qi_i+2): Don't split if source is -1.
8367
8368 2002-10-15  Janis Johnson  <janis187@us.ibm.com>
8369
8370         * doc/install.texi: Formatting changes for conformance to HTML 4.01.
8371
8372 2002-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
8373
8374         PR opt/7409
8375         * loop.c (loop_regs_scan): Mark registers used for function
8376         argument passing as MAY_NOT_OPTIMIZE.
8377
8378 Mon Oct 14 19:22:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
8379
8380         * gcov-io.h (gcov_info): Fix type.
8381         * profile.c (create_profiler): Fix type mismatch.
8382
8383 Mon Oct 14 20:33:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
8384
8385         * i386.md (movv2di_internal): New pattern.
8386         (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
8387         (movv2di): New expander.
8388         * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
8389
8390         * i386.c (ix86_expand_timode_binop_builtin): Delete.
8391         (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
8392         (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
8393         (ix86_expand_builtin): Likewise.
8394         * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
8395         sse_andti3,
8396         sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
8397         sse_andnti3,
8398         sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
8399         sse_orti3,
8400         sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
8401         sse_xorti3): Kill.
8402         (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
8403          sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
8404         (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
8405          *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
8406         (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
8407          *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
8408
8409         * xmmintrin.h (__m128i): Define as __v2di.
8410
8411         PR c++/6419
8412         (expand_expr): Use DECL_RTL_SET_P.
8413
8414 2002-10-14  Roger Sayle  <roger@eyesopen.com>
8415
8416         * combine.c (simplify_set):  Treat MODE_CC registers like cc0.
8417
8418 2002-10-14  Roger Sayle  <roger@eyesopen.com>
8419             Zack Weinberg <zack@codesourcery.com>
8420
8421         * config/i386/i386.c (k6_cost): Correct typo.
8422
8423 2002-10-14  Mark Mitchell  <mark@codesourcery.com>
8424
8425         PR optimization/6631
8426         * alias.c (objects_must_conflict_p): Check honor_readonly when
8427         examining TYPE_READONLY.
8428         * function.c (assign_stack_temp_for_type): Likewise.
8429
8430 2002-10-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
8431
8432         * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
8433         Swap zero extension arguments.
8434         (umaxhi3): Fix instruction class.
8435         PR target/7211
8436         (prefetch): Fix prefetch instructions.
8437         PR target/7238
8438         (pkwb): Fix output constraint.
8439
8440 2002-10-14  Alexandre Oliva  <aoliva@redhat.com>
8441
8442         * config/mips/mips.c (print_operand): Increase buffer size for
8443         real numbers.
8444
8445 2002-10-14  Richard Henderson  <rth@redhat.com>
8446
8447         PR opt/8165
8448         * gcse.c (adjust_libcall_notes): Revert last change.
8449         * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
8450
8451 2002-10-14  Andrew Haley  <aph@redhat.com>
8452
8453         * tree-inline.c (remap_block): All local class initialization
8454         flags go in the outermost scope.
8455         (expand_call_inline): Call java_inlining_map_static_initializers.
8456         (expand_call_inline): Call java_inlining_merge_static_initializers.
8457         * java/lang.c (merge_init_test_initialization): New.
8458         (java_inlining_merge_static_initializers): New.
8459         (inline_init_test_initialization): New.
8460         (java_inlining_map_static_initializers): New.
8461
8462         * tree-inline.c (expand_call_inline): Convert retvar to expected
8463         type.
8464
8465 2002-10-14  Graham Stott  <graham.stott@btinternet.com>
8466
8467         * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
8468
8469 2002-10-14  Aldy Hernandez  <aldyh@redhat.com>
8470
8471         * stmt.c: Fix typo in comment.
8472
8473 Mon Oct 14 11:35:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
8474
8475         * c-common.c (c_common_type_for_mode): Add V2HImode case.
8476         * tree.c (build_common_tree_nodes_2): Initialize
8477         unsigned_V2HI_type_node and V2HI_type_node.
8478         * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
8479         (unsigned_V2HI_type_node, V2HI_type_node): Define.
8480
8481 2002-10-14  Jakub Jelinek  <jakub@redhat.com>
8482
8483         * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
8484         Handle TARGET_64BIT.
8485
8486 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
8487
8488         * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
8489         * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
8490         (MULTILIB_DIRNAMES): Remove long32.
8491         (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
8492         (MULTILIB_REDUNDANT_DIRS): Remove.
8493
8494 2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
8495
8496         * doc/tm.texi (DRIVER_SELF_SPECS): Document.
8497         * gcc.c (driver_self_specs): New variable.
8498         (do_self_spec): New function.
8499         (main): Use it to process driver_self_specs.
8500
8501 2002-10-13  Richard Henderson  <rth@redhat.com>
8502
8503         * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject
8504         indirect sibcalls when regparm >= 3.
8505
8506         * config/i386/i386.c (sibcall_insn_operand): New.
8507         * config/i386/i386.h (PREDICATE_CODES): Update.
8508         * config/i386/i386-protos.h: Update.
8509         * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
8510
8511         * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
8512
8513 2002-10-12  Roger Sayle  <roger@eyesopen.com>
8514
8515         * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize
8516         arithmetic right shifts of ~0 during RTL simplifications.
8517
8518 2002-10-12  Neil Booth  <neil@daikokuya.co.uk>
8519
8520         PR preprocessor/7862
8521         PR preprocessor/8190
8522         * gcc.c (cpp_unique_options): Don't delete .d files.
8523         Remove stray whitespace.
8524
8525 2002-10-12  Naohiko Shimizu  <pshimizu@fa2.so-net.ne.jp>
8526
8527         * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
8528         (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
8529         * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
8530         (pdp11_output_function_epilogue, output_ascii): Likewise.
8531         (output_addr_const_pdp11): Likewise.
8532         * pdp11.md (movdi): Use offsetable memory for floating store.
8533         (lshrsi3, negsi2): Delete irrelevant comment.
8534
8535 2002-10-11  Andreas Bauer  <baueran@in.tum.de>
8536
8537         * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
8538         indirect calls to be sibcall optimized.
8539         * config/i386/i386.md (sibcall_1): New.
8540         (call_1): Add no-sibcalls condition.
8541         (sibcall_value_1): New.
8542         (call_value_1): Add no-sibcalls condition.
8543
8544 2002-10-11  Eric Christopher  <echristo@redhat.com>
8545
8546        * output.h (default_valid_pointer_mode): Declare.
8547        * varasm.c (default_valid_pointer_mode): Define.
8548        * target-def.h (TARGET_VALID_POINTER_MODE): Use.
8549        * target.h: Ditto.
8550        * tree.c (build_pointer_type_for_mode): New function.
8551        (build_pointer_type): Use.
8552        (build_reference_type_for_mode): New function.
8553        (build_reference_type): Use.
8554        * tree.h: Declare new functions.
8555        * c-common.c (handle_mode_attribute): Use new functions, check
8556        for type.
8557        * stor-layout.c (layout_type): Depend on machine mode for
8558        REFERENCE_TYPE and POINTER_TYPE.
8559        * dwarf2out.c (simple_type_size_in_bits): Move upward in file.
8560        (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE
8561        and REFERENCE_TYPE.
8562        * config/mips/mips.c (mips_valid_pointer_mode): New function.
8563        (TARGET_VALID_POINTER_MODE): Use and define.
8564        * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare.
8565
8566 2002-10-11  Geoffrey Keating  <geoffk@apple.com>
8567
8568         * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
8569         not the address of the REG.
8570         (struct cse_reg_info): Make subreg_ticked unsigned.
8571
8572 2002-10-11  Janis Johnson  <janis187@us.ibm.com>
8573
8574         * doc/compat.texi: Add info about C++ libraries.
8575
8576 2002-10-11  Richard Henderson  <rth@redhat.com>
8577
8578         PR opt/8165
8579         * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
8580
8581 2002-10-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8582
8583         * cfganal.c (dfs_enumerate_from): Use PARAMS.
8584         * genautomata.c (output_insn_code_cases): Likewise.
8585         * real.c (real_format): Likewise.
8586         * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
8587         ensure value is promoted before doing subtraction.
8588
8589 Fri Oct 11 22:22:38 CEST 2002  Jan Hubicka  <jh@suse.cz>
8590
8591         * calls.c (expand_call): Simplify noreturn call.
8592
8593         PR c/7344
8594         * cfgbuild.c (make_edges): Create edge cache when we do have
8595         large jumptable.
8596         * expr.c (do_tablejump): Note size of maximal jumptable.
8597         * function.c (prepare_function_start): Zero out size.
8598         * function.h (function): Add max_jumptable_ents.
8599
8600         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
8601
8602 Fri Oct 11 12:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
8603
8604         * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
8605         register for mperm_w operation.
8606
8607 Fri Oct 11 10:56:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
8608
8609         * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
8610         an integer, use simplify_gen_subreg.
8611
8612 2002-10-10  Diego Novillo  <dnovillo@redhat.com>
8613
8614         * calls.c (flags_from_decl_or_type): Make extern.
8615         (ECF_*): Move ...
8616         * rtl.h (ECF_*): ... here.
8617         (flags_from_decl_or_type): Declare.
8618
8619 2002-10-10  Roger Sayle  <roger@eyesopen.com>
8620             Nathan Sidwell <nathan@codesourcery.com>
8621
8622         * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right
8623         shifts of the form -1 >> x.
8624
8625 Thu Oct 10 16:52:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
8626
8627         * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
8628
8629 2002-10-10  Aldy Hernandez  <aldyh@redhat.com>
8630
8631         * extend.texi (Vector Extensions): Remove comment about single
8632         element vectors.
8633
8634 2002-10-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8635
8636         * fold-const.c (size_htab_hash): Use htab_hash_pointer.
8637         * function.c (insns_for_mem_hash): Likewise.
8638         * varasm.c (STRHASH): Likewise.
8639
8640 2002-10-10  Stuart Hastings  <stuart@apple.com>
8641
8642         * cse.c (struct cse_reg_info): Add subreg_ticked.
8643         (SUBREG_TICKED): New.
8644         (get_cse_reg_info): Initialize SUBREG_TICKED.
8645         (mention_regs): Use it.
8646         (invalidate): Set SUBREG_TICKED.
8647         (invalidate_for_call): Likewise.
8648         (addr_affects_sp_p): Likewise.
8649
8650 2002-10-10  Jakub Jelinek  <jakub@redhat.com>
8651
8652         * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
8653         into proper operand.
8654
8655 2002-10-10  Denis Chertykov  <denisc@overta.ru>
8656
8657         * config/ip2k/ip2k.c (function_epilogue): Optimize stack
8658         deallocation.
8659         * config/ip2k/libgcc.S: Combine routines used by function
8660         epilogue.
8661
8662 2002-10-10  Jim Wilson  <wilson@redhat.com>
8663
8664         * cse.c (fold_rtx): Don't perform associative optimization for DIV and
8665         UDIV.
8666
8667 2002-10-10  David Edelsohn  <edelsohn@gnu.org>
8668
8669         * config/rs6000/aix52.h: New file.
8670         * config/rs6000/t-aix52: New File.
8671         * config.gcc (rs6000-ibm-aix5.1.*): New entry.
8672         (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
8673
8674 Thu Oct 10 19:37:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
8675
8676         PR target/5610
8677         * invoke.texi (-msse-math): Kill
8678         (-msse): Add note to mfpmath=sse.
8679
8680 Thu Oct 10 17:08:30 CEST 2002  Jan Hubicka  <jh@suse.cz>
8681
8682         PR target/7723
8683         * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
8684
8685 2002-10-10  Neil Booth  <neil@daikokuya.co.uk>
8686
8687         PR preprocessor/8179
8688         * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
8689         as cc1_options.
8690         (default_compilers): Pass debug options when preprocessing
8691         stdin.
8692
8693 2002-10-06  Richard Henderson  <rth@redhat.com>
8694
8695         * toplev.c (rest_of_compilation): Revert opt/2960 change.
8696
8697 Wed Oct  9 21:18:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
8698
8699         * i386.c (*_cost): Add branch costs.
8700         (override_options): set ix86_branch_cost.
8701         (ix86_expand_int_movcc): Use BRANCH_COST.
8702         * i386.h (costs): Add branch_cost.
8703
8704 2002-10-09  Zack Weinberg  <zack@codesourcery.com>
8705
8706         PR c/7353
8707         * c-decl.c (start_decl): Unconditionally issue error for
8708         'typedef foo = bar'.
8709         (finish_decl): Remove special case for TYPE_DECL with initializer.
8710
8711         * doc/extend.texi: Delete "Naming Types" section.  Change all
8712         cross-references to that section to refer to "Typeof" instead.
8713         Add the useful safe-max()-macro example from "Naming Types" to
8714         "Typeof", rewritten using that extension.  Add some compatibility
8715         notes to "Typeof."
8716
8717 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8718
8719         * loop.c: Revert 2002-08-15 change.
8720         (LOOP_REGNO_NREGS): Ensure type is int.
8721
8722 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
8723
8724         * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
8725         which copies first FPR and clears second.
8726         (extendsftf2): Same.
8727         (floatditf2): Fix typo.
8728         (floatsitf2): Same.
8729         (fix_trunctfdi2): Same.
8730         (fix_trunctfsi2): Same.
8731
8732 2002-10-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8733
8734         * conflict.c (arc_hash): Change return type to hashval_t.
8735         * cselib.c (get_value_hash): Likewise.
8736         * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
8737         state_hash, automata_list_hash): Likewise.
8738         * read-rtl.c (def_hash): Likewise.
8739         * tree.c (type_hash_hash): Likewise.
8740
8741 2002-10-08  Aldy Hernandez  <aldyh@redhat.com>
8742
8743         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
8744         prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
8745
8746 Wed Oct  9 15:54:49 2002  J"orn Rennecke <joern.rennecke@superh.com>
8747
8748         * sh.md (ffssi2): Fix emitted code.
8749
8750 2002-10-09  Ulrich Weigand  <uweigand@de.ibm.com>
8751
8752         * cse.c (insn_live_p): Pass insn pattern, not full insn
8753         to may_trap_p.
8754
8755 2002-10-09  Neil Booth  <neil@daikokuya.co.uk>
8756
8757         * cppmacro.c (paste_tokens): Only allow / to paste with =.
8758
8759 2002-10-09  David Edelsohn  <edelsohn@gnu.org>
8760
8761         * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
8762         64-bit hosts.
8763         (movtf_internal): Reference correct displacement for second value
8764         in memory.
8765         (movtf splitter): Correct generation of constants in 64-bit mode.
8766
8767 2002-10-09  Alan Modra  <amodra@bigpond.net.au>
8768
8769         * libgcc2.c (__floatdisf): Properly cure double rounding.
8770
8771 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
8772
8773         * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
8774         * doc/cpp.texi (Common Predefined Macros): Document.
8775
8776 2002-10-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
8777
8778         PR doc/7484
8779         * doc/invoke.texi (Option Summary): List
8780         -Wmissing-declarations as a C only option.
8781
8782 2002-10-08  Roger Sayle  <roger@eyesopen.com>
8783
8784         * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
8785         left and right rotates of ~0, i.e. integer_all_onesp (arg0).
8786         [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.
8787
8788 Tue Oct  8 01:24:19 CEST 2002  Jan Hubicka  <jh@suse.cz>
8789
8790         * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
8791         x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global
8792         variables.
8793         (safe_vector_operand): Update sse_clrv4sf call.
8794         (ix86_expand_buildin): Likewise
8795         * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
8796         x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare.
8797         (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS,
8798         TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New
8799         macros.
8800         * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi,
8801         movv4si):  Obey the new flags.
8802         (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid
8803         reformating penalty.
8804         (anddf, cmov patterns): Avoid reformating by first converting.
8805         (sse_cvtsd2ss): Fix predicate.
8806         (sse2_clrti): Fix mode,
8807         (sse_clrv4sf): Avoid unspec.
8808
8809 2002-10-08  Jakub Jelinek  <jakub@redhat.com>
8810
8811         * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
8812         mno-app-regs|mcmodel=medany.
8813         (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
8814         (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
8815         (CRTSTUFF_T_CFLAGS): Define.
8816
8817 2002-10-08  Roger Sayle  <roger@eyesopen.com>
8818
8819         PR target/8087
8820         * simplify-rtx.c (avoid_constant_pool_reference):  Allow constant
8821         pool references that are constructed using LO_SUM.
8822
8823 2002-10-08  Nathan Sidwell  <nathan@codesourcery.com>
8824
8825         * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
8826         -Wall.
8827         * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
8828         message.
8829         * flags.h (warn_strict_aliasing): Declare.
8830         * toplev.c (warn_strict_aliasing): Define.
8831         (lang_independent_options): Add it.
8832         * doc/invoke.texi (-Wstrict-aliasing): Document it.
8833
8834 2002-10-08  Zack Weinberg  <zack@codesourcery.com>
8835
8836         * system.h (GCCBUGURL): Delete.
8837         * version.c (bug_report_url): New.  Add commentary about
8838         modifying both these strings in modified distributions.
8839         * version.h: Declare bug_report_url.
8840
8841         * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
8842         bug_report_url.
8843
8844 2002-10-08  Nick Clifton  <nickc@redhat.com>
8845
8846         * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
8847         convert uint64_t into __ev64_opaque__.
8848         (__ev_set_acc_s64): Likewise, but using signed types.
8849
8850 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
8851
8852         * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
8853         ("*doloop_di_long"): Likewise.
8854
8855 Tue Oct  8 16:50:10 CEST 2002  Jan Hubicka  <jh@suse.cz>
8856
8857         * print-rtl.c (print_rtx): Increase buffer size for real numbers.
8858
8859 2002-10-08  Richard Sandiford  <rsandifo@redhat.com>
8860
8861         * config/mips/mips.md (define_attr cpu): Add r4111.
8862
8863 2002-10-08  Anthony Green  <green@redhat.com>
8864
8865         * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
8866
8867 2002-10-08  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8868
8869         * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
8870         for REAL_VALUE_TO_DECIMAL output.
8871
8872 2002-10-07  Richard Henderson  <rth@redhat.com>
8873
8874         * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
8875         function; cleanup PLUS case by using recursion.  Update all users.
8876         (NONZERO_BASE_PLUS_P): Remove.
8877         (find_comparison_args): Use rtx_addr_can_trap_p instead.
8878         (fold_rtx): Use nonzero_address_p.
8879         * rtl.h (nonzero_address_p): Declare.
8880         * rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
8881         (rtx_addr_can_trap_p): Likewise.
8882         (nonzero_address_p): New.
8883         * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
8884         (simplify_relational_operation): Use nonzero_address_p.
8885
8886 2002-10-07  David Edelsohn  <edelsohn@gnu.org>
8887
8888         * config/rs6000/rs6000.c (rs6000_override_options): Set
8889         real_format_for_mode for IBM extended format, if enabled.
8890         (easy_fp_constant): Add TFmode.
8891         (rs6000_legitimize_address): Add TFmode.
8892         (rs6000_legitimate_address): Same.
8893         (function_arg_advance): TFmode uses two FPRs.
8894         (rs6000_emit_prologue): Fix warning.
8895         (rs6000_output_function_epilogue): Add TFmode.
8896         (output_toc): Add TFmode.
8897         * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
8898         (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
8899         * rs6000.md (movtf splitter): Load TFmode constant.
8900
8901 2002-10-07  Dale Johannesen  <dalej@apple.com>
8902
8903         * rtl.h:  Add NOTE_PRECONDITIONED.
8904         * unroll.c:  Set it.
8905         * loop.c:  Set loop_info->preconditioned from it.
8906         * doloop.c:  Permit doloop treatment when loop_info->preconditoned.
8907
8908 2002-10-07  Richard Henderson  <rth@redhat.com>
8909
8910         * config/i960/i960.c (i960_setup_incoming_varargs): Create a
8911         new rtx for comparing the argument pointer against zero.
8912         (i960_va_start): Similarly.
8913
8914 2002-10-07  Richard Henderson  <rth@redhat.com>
8915
8916         * config/i960/i960.md (*): Use TFmode, not XFmode.
8917         * config/i960/i960.c (*): Likewise.
8918         (i960_arg_size_and_align): Remove XFmode alignment hack.
8919         (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
8920         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
8921         (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
8922         (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
8923
8924 2002-10-07  Richard Henderson  <rth@redhat.com>
8925
8926         * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
8927         entry points; use void return value and argument list.
8928
8929 2002-10-06  Andreas Bauer  <baueran@in.tum.de>
8930
8931         * calls.c (expand_call): Fix function-is-volatile check.
8932
8933 2002-10-05  Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
8934
8935         * t-pdp11: Add MULTILIB support for msoft-float.
8936         * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
8937
8938         * t-pdp11: Add LIB2FUNCS_EXTRA.
8939         * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
8940         add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
8941         'fldd' to 'ldd', rename 'fstd' to 'std'.
8942         (pdp11_output_function_epilogue): Likewise.
8943         (output_move_quad): Make the comment gas compatible.
8944         (output_ascii): Add preceding 0 to the octal constant.
8945         (print_operand_address): Add pre_modify, post_modify.
8946         (output_addr_const_pdp11): Add preceding 0 to the octal constant.
8947         * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
8948         with the indication of Paul Koning.
8949         (PRINT_OPERAND): Fix floating constant.
8950         * pdp11.md (movdi): Restrict matching pattern.
8951         (movqi): Generalize the matching pattern.
8952         (movdf): Restrict matching pattern.
8953         (zero_extendqihi2): Change constant representation.
8954         (floatsidf2): Fix wrong operands.
8955         (addqi3): Fix wrong instruction name.
8956         (subqi3): Fix wrong instruction name.
8957         (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
8958         (xorsi3): Fix wrong insn.
8959         (one_cmplqi2): Add two operand pattern.
8960         (lsrsi3): New.
8961         (negsi2): New.
8962         (call): Add register indirect case.
8963         (mod): Fix wrong subreg.
8964
8965 2002-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
8966             Volker Reichelt <reichelt@igpm.rwth-aachen.de>
8967
8968         PR c/7411
8969         * expr.c (expand_expr) [PLUS]: Simplify after the operands
8970         have been expanded in EXPAND_NORMAL mode.
8971
8972 2002-10-06  Richard Henderson  <rth@redhat.com>
8973
8974         * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
8975
8976 2002-10-06  Richard Henderson  <rth@redhat.com>
8977
8978         PR optimization/2960
8979         * toplev.c (rest_of_compilation): Don't copy_loop_headers if
8980         optimize_size.
8981
8982 2002-10-06  Alexandre Oliva  <aoliva@redhat.com>
8983
8984         * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
8985         previously definitions.
8986
8987 2002-10-06  Frank Ch. Eigler  <fche@redhat.com>
8988
8989         * cppinit.c (init_standard_includes, parse_option): Use strncmp.
8990         * c-opts.c (find_opt): Similarly.
8991
8992 Sat Oct  5 22:48:06 CEST 2002  Jan Hubicka  <jh@suse.cz>
8993
8994         * athlon.md: rewrite to DFA.
8995         * i386 (ix86_adjust_cost): Drop memory latency code.
8996         (ia32_use_dfa_pipeline_interface): Return true for Athlon.
8997
8998 2002-10-05  Jakub Jelinek  <jakub@redhat.com>
8999
9000         * gcc.c (set_multilib_dir): Don't access *end.
9001         Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
9002         (print_multilib_info): Don't show paths starting with ".:".
9003         * genmultilib: Add new option, "yes" if multilibs are enabled.
9004         Update comments.  If multilibs not enabled, print .:${osdirout}
9005         for each directory.  If multilibs are enabled, always print
9006         ${dirout}:${osdirout}, even if the two are the same.
9007         * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
9008         Pass all MULTILIB_* variables to genmultilib even if
9009         --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
9010
9011 2002-10-04  Zack Weinberg  <zack@codesourcery.com>
9012
9013         * gcc.c (process_command): Set .validated for -pipe.  Correct
9014         grammar in comment.
9015
9016 2002-10-04  Bruce Korb  <bkorb@gnu.org>
9017
9018         * fixinc/inclhack.def(hpux11_abs):  use format fix
9019         * fixinc/fixincl.x: regenerate
9020         * fixinc/tests/base/stdlib.h: accommodate new fix test
9021
9022 Sat Oct  5 19:42:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
9023
9024         * c-common.c (cb_register_builtins):  Use really_no_inline.
9025
9026 2002-10-04  David Edelsohn  <edelsohn@gnu.org>
9027
9028         * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
9029         copied instruction if the note is not loop invariant.
9030
9031 2002-10-04  Loren J. Rittle  <ljrittle@acm.org>
9032
9033         * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
9034
9035 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
9036
9037         * doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
9038         and -mhp-ld options to list of options.  Add -mgnu-ld
9039         and -mhp-ld option descriptions.
9040
9041 2002-10-04  Steve Ellcey  <sje@cup.hp.com>
9042
9043         * fixinc/inclhack.def (hpux11_abs):  New.
9044         (stdio_va_list): change __va_list__ to __gnuc_va_list.
9045         * fixinc/fixincl.x: Rebuild.
9046
9047 2002-10-04  Roger Sayle  <roger@eyesopen.com>
9048
9049         * config/i386/i386.h (processor_costs): Add new fields fadd,
9050         fmul, fdiv, fabs, fchs and fsqrt to costs structure.
9051         (RTX_COSTS): Use these fields to determine the RTX costs
9052         of floating point addition/subtraction, multiplication,
9053         division, fabs, negation and square root respectively.
9054         * config/i386/i386.c (size_cost): Provide instruction sizes
9055         for these new fields.
9056         (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
9057         k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
9058         counts for these new fields for all x86 processor variants.
9059
9060 2002-10-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9061
9062         * mips.c (mips_const_double_ok): Delete unused variable.
9063
9064         * gengtype.c (rtx_next): Change type to int.
9065
9066 2002-10-04  Andreas Jaeger  <aj@suse.de>
9067
9068         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
9069
9070 2002-10-04  Richard Henderson  <rth@redhat.com>
9071
9072         * real.h (SIGNIFICAND_BITS): Add one more word.
9073         (CONST_DOUBLE_FORMAT): Accomodate 6 words.
9074         * real.c (times_pten): New.
9075         (real_to_decimal, real_from_string): Use it.
9076         (sticky_rshift_significand): Use & to find modulus.
9077         (rshift_significand, lshift_significand): Likewise.
9078         (do_divide): Apply sticky bit after normalization.
9079         (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
9080
9081 2002-10-03  Andreas Bauer  <baueran@in.tum.de>
9082
9083         * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove.
9084         (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
9085
9086 2002-10-03  Andreas Jaeger  <aj@suse.de>
9087
9088         * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
9089         to unsigned long, adjust printf format string.
9090         (output_mangled_typename): Likewise.
9091
9092 2002-10-03  Jason Thorpe  <thorpej@wasabisystems.com>
9093
9094         * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
9095         * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
9096         (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
9097         assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
9098         (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
9099         (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
9100         * config/vax/elf.h (FUNCTION_PROFILER): Remove.
9101         (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
9102
9103 2002-10-03  Mark Mitchell  <mark@codesourcery.com>
9104
9105         * doc/invoke.texi (-Wabi): Document mangling bug.
9106
9107 2002-10-04  Alan Modra  <amodra@bigpond.net.au>
9108
9109         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
9110         name for the tbtab label that depends on the function asm name.
9111         Don't output tbtab label unless optional_tbtab.
9112         (output_mi_thunk): Formatting.
9113
9114 2002-10-03  Richard Henderson  <rth@redhat.com>
9115
9116         * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
9117         * config/m68k/m68k.c (override_options): ... here.
9118         * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
9119         * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
9120         * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
9121         * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
9122
9123 2002-10-03  Richard Henderson  <rth@redhat.com>
9124
9125         * real.h (struct real_value): Use ENUM_BITFIELD.
9126
9127 2002-10-03  Richard Henderson  <rth@redhat.com>
9128
9129         * config/i960/i960.md (call, call_value): Use emit_call_insn.
9130
9131 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
9132
9133         * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
9134
9135 2002-10-03  Steve Ellcey  <sje@cup.hp.com>
9136
9137         * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
9138         * config/pa/pa.h (MASK_GNU_LD): New.
9139         (TARGET_GNU_LD): New.
9140         * config/pa/pa64-hpux.h (LINK_SPEC): Set based
9141         on gnu-ld and MASK_GNU_LD.
9142         (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
9143
9144 Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
9145
9146         * i386.c (athlon_cost): Fix the move costs.
9147
9148 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
9149
9150         * final.c (final): Use symbol name as function name for profiling.
9151         * profile.c (get_exec_counts): Likewise.
9152         (branch_prob): Likewise.
9153
9154 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
9155
9156         * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
9157
9158 2002-10-03  Jakub Jelinek  <jakub@redhat.com>
9159
9160         * gcc.c (print_multi_os_directory): New variable.
9161         (option_map): Support --print-multi-os-directory.
9162         (struct prefix_list): Add os_multilib field.
9163         (multilib_os_dir): New variable.
9164         (static_specs): Add multilib_options.
9165         (find_a_file): Add multilib argument.  Search in GCC or OS multilib
9166         subdirs if nonzero.
9167         (read_specs, execute): Update callers.
9168         (find_file): Likewise.  Don't prefix name with multilib_dir, instead
9169         pass 1 as multilib option.
9170         (display_help): Include --print-multi-os-directory.
9171         (add_prefix): Add os_multilib argument.  Initialize pl->os_multilib.
9172         (process_command): Update callers.  Handle --print-multi-os-directory.
9173         (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
9174         set.
9175         (main): Update find_a_file and add_prefix callers.
9176         Handle print_multi_os_directory.
9177         (struct mdswitchstr): New.
9178         (mdswitches, n_mdswitches): New variables.
9179         (used_arg): Add MULTILIB_DEFAULT switches too if they are not
9180         present on the command line nor their mutually incompatible
9181         switches.
9182         (default_arg): Optimize.
9183         (set_multilib_dir): Compute multilib_os_dir.  Initialize mdswitches
9184         array.
9185         (print_multilib_info): Only print GCC multilib dir name, not OS
9186         multilib dirname.
9187         * genmultilib: Add osdirnames parameter.  Output multilib_options
9188         variable.  If osdirnames is specified, output dirnames as
9189         dirname:osdirname.
9190         * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
9191         and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
9192         to compute libgcc_s soname and install path.
9193         * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
9194         SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
9195         (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
9196         argument.
9197
9198         * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
9199         (SHLIB_SLIBDIR_SUFFIXES): Remove.
9200         * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
9201         ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
9202         (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
9203         and -m64.
9204         * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
9205         (SHLIB_SLIBDIR_SUFFIXES): Remove.
9206         * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
9207         (STARTFILE_ARCH_SPEC): Remove.
9208         * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
9209         (SHLIB_SLIBDIR_SUFFIXES): Remove.
9210         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
9211         * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
9212         (SHLIB_SLIBDIR_SUFFIXES): Remove.
9213
9214 Thu Oct  3 21:42:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
9215
9216         * predict.c (choose_function_section): Avoid choice for linkonce functions.
9217
9218 Thu Oct  3 15:15:00 CEST 2002  Jan Hubicka  <jh@suse.cz>
9219
9220         * i386.md (lea to mul peep2): Fix condition.
9221
9222 2002-10-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9223
9224         * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
9225         * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
9226
9227 2002-10-02  David Mosberger-Tang  <David.Mosberger@acm.org>
9228
9229         * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with
9230         attribute "unused".
9231
9232         * config/t-libunwind: Mention unwind-sjlj.c.
9233         * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
9234         to #ifndef __USING_SJLJ_EXCEPTIONS__.
9235
9236         * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
9237         before inclusion of config.gcc, but after configuring the compiler etc.
9238         Determine default value for --enable-libunwind-exceptions based on
9239         whether the host has a libunwind library (not guaranteed to be correct,
9240         but it's a reasonable first guess and can always be overridden with an
9241         explicit --enable/disable-libunwind-exceptions.
9242         * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
9243         tmake_file when $use_libunwind_exceptions is enabled.
9244         * Makefile.in: Update comment: LIB2ADDEH is updated not just by
9245         ia64 (e.g., config/t-linux also updates it).
9246         * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
9247         along with the shared version of libgcc since the latter requires
9248         the former.
9249         * unwind-libunwind.c: New file.
9250         * config/t-libunwind: Ditto.
9251
9252 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
9253
9254         * config.gcc: Remove support for vax-*-vms*.
9255         * config/vax/vms.h: Remove.
9256         * config/vax/xm-vms.h: Remove.
9257         * config/vax/vax-protos.h: Remove VMS-specific code.
9258         * config/vax/vax.c: Remove VMS-specific code.
9259
9260 2002-10-02  Richard Henderson  <rth@redhat.com>
9261
9262         PR opt/7124
9263         * config/i386/i386.c (ix86_register_move_cost): Increase cost
9264         for secondary_memory_needed pairs.
9265
9266 2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>
9267
9268         * doc/vms.texi: Blow away false include file section.
9269
9270 2002-10-02  Roger Sayle  <roger@eyesopen.com>
9271
9272         PR optimization/6627
9273         * toplev.c (force_align_functions_log): New global variable.
9274         * flags.h (force_align_functions_log): Add extern prototype.
9275         * varasm.c (assemble_start_function): Use it to force minimum
9276         function alignment.
9277         * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
9278         minimum function alignment to one byte.
9279         (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
9280         the least significant bit of vtable member function pointers.
9281         * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
9282         here from cp/cp-tree.h.
9283
9284 Wed Oct  2 17:01:36 CEST 2002  Jan Hubicka  <jh@suse.cz>
9285
9286         * i386.c (print_operand_address): Use RIP addressing for offsetted
9287         label refs too.
9288
9289 2002-09-30  David S. Miller  <davem@redhat.com>
9290
9291         PR middle-end/7151
9292         * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
9293         (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
9294
9295 2002-10-01  Andreas Bauer  <baueran@in.tum.de>
9296
9297         * calls.c (expand_call): Remove the `no indirect check'
9298         for sibcall optimization; use function_ok_for_sibcall
9299         target hook; refine check for `function is volatile'.
9300         (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition.
9301         * hooks.c (hook_tree_tree_bool_false): New.
9302         * hooks.h (hook_tree_tree_bool_false): Declare.
9303         * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
9304         (TARGET_INITIALIZER): Add it.
9305         * target.h (struct gcc_target): Add function_ok_for_sibcall.
9306         * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New.
9307         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9308         * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9309         * config/arm/arm-protos.h: (arm_function_ok_for_sibcall):
9310         Remove function declaration.
9311         * config/arm/arm.c: (arm_function_ok_for_sibcall): Make
9312         function static and accept another argument of type `tree'.
9313         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9314         * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9315         * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9316         * config/i386/i386.c: (ix86_function_ok_for_sibcall): New.
9317         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9318         * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9319         * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9320         (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition.
9321         * config/pa/pa.c: (pa_function_ok_for_sibcall): New.
9322         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9323         * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9324         * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall):
9325         Remove function declaration.
9326         * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall):
9327         Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall;
9328         rename first argument to `decl'; accept another argument
9329         of type `tree'; make static.
9330         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9331         * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9332         * config/sh/sh.c: (sh_function_ok_for_sibcall): New.
9333         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9334         * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9335         * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New.
9336         (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
9337         * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9338         * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
9339
9340 2002-10-01  Roger Sayle  <roger@eyesopen.com>
9341
9342         * unroll.c (loop_iterations): Revert 2002-09-08 change.
9343
9344 2002-10-01  Richard Henderson  <rth@redhat.com>
9345
9346         * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
9347         (real_to_hexadecimal): Likewise.
9348         * print-rtl.c (print_rtx): If we are linked with real.c, don't
9349         dump the XWINT fields of a floating point CONST_DOUBLE.
9350
9351 2002-10-01  Jason Thorpe  <thorpej@wasabisystems.com>
9352
9353         * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
9354
9355 2002-10-01  Richard Henderson  <rth@redhat.com>
9356
9357         * calls.c (precompute_register_parameters): Force non-legitimate
9358         constants into pseudos.
9359
9360 2002-10-01  Nick Clifton  <nickc@redhat.com>
9361
9362         * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
9363         to assembler template.
9364
9365 2002-10-01  Richard Henderson  <rth@redhat.com>
9366
9367         * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
9368         for TLS debug info to !DECL_EXTERNAL.
9369
9370 2002-10-01  Matt Thomas  <matt@3am-software.com>
9371             Jason Thorpe  <thorpej@wasabisystems.com>
9372
9373         * config.gcc (vax-*-netbsdelf*): Enable configuration.
9374         * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
9375         if not already defined.
9376         * config/vax/elf.h: New file.
9377         * config/vax/netbsd-elf.h: New file.
9378         * config/vax/vax.c: Include "debug.h".
9379         (vax_output_function_prologue): Add dwarf2 support.  Use
9380         MAIN_NAME_P when checking for VMS_TARGET stack adjust.
9381         * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
9382         'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
9383         'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
9384         (VAX_ISTREAM_SYNC): Remove.
9385         (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
9386         (JUMP_TABLES_IN_TEXT_SECTION): Define.
9387         (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
9388         (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
9389         and assemble_name.
9390         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
9391         (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
9392         (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
9393         (INCOMING_RETURN_ADDR_RTX): Define.
9394         * config/vax/vax.md (VUNSPEC_BLOCKAGE)
9395         (VUNSPEC_SYNC_ISTREAM): Define.
9396         (blockage): Use VUNSPEC_BLOCKAGE.
9397         (sync_istream): New insn.
9398
9399 2002-10-01  Richard Henderson  <rth@redhat.com>
9400
9401         * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
9402         (*call_value_pop, call, call_value): Add dwarf2 EH support.
9403         (*call): New insn.
9404
9405 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
9406
9407         PR c/8083
9408         * c-typeck.c (build_c_cast): Warn about type punning which breaks
9409         type based aliasing.
9410
9411 2002-10-01  Mark Mitchell  <mark@codesourcery.com>
9412
9413         * stor-layout.c (update_alignment_for_field): New function.
9414         (place_union_field): Use it.
9415         (place_field): Likewise.
9416
9417 2002-10-01  Nathan Sidwell  <nathan@codesourcery.com>
9418
9419         PR other/8077
9420         * gcc.c (cc1_options): Add space on -auxbase-strip.
9421
9422 2002-10-01  Jim Wilson  <wilson@redhat.com>
9423
9424         * config/v850/v850.h (EPILOGUE_USES): Define.
9425
9426 2002-09-30  Andrew Haley  <aph@redhat.com>
9427
9428         * flow.c (insn_dead_p): When using non-call-exceptions, don't
9429         eliminate insns that may trap.
9430         * cse.c (insn_live_p): Likewise.
9431
9432 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
9433
9434         * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
9435         (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
9436         * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
9437         * config/mips/mips.md: Apply same renaming here.
9438
9439 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
9440
9441         * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
9442         (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
9443         * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
9444         * config/mips/mips.md (define_attr cpu): Remove r4320.
9445         Remove vr4320 scheduler and uses of TARGET_MIPS4320.
9446
9447 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
9448
9449         * config/mips/mips.c (mips16_strings): New variable.
9450         (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
9451         symbol in mips16_strings.  Free the list.
9452         (mips_encode_section_info): Keep track of local strings.
9453
9454 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
9455
9456         * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
9457         (sordered_df, sordered_sf): Remove.
9458         * config/mips/mips.c (get_float_compare_codes): New fn.
9459         (gen_int_relational, gen_conditional_move): Use it.
9460
9461 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
9462
9463         * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
9464         * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
9465         * config/mips/mips.c (fcc_register_operand): New function.
9466         (mips_emit_fcc_reload): New function, extracted from reload_incc.
9467         (override_options): Allow TFmode values in float registers
9468         if ISA_HAS_8CC.
9469         * cnfig/mips/mips.md (reload_incc): Change destination prediate
9470         to fcc_register_operand.  Remove misleading source constraint.
9471         Use mips_emit_fcc_reload.
9472         (reload_outcc): Duplicate reload_incc.
9473
9474 2002-09-30  Zack Weinberg  <zack@codesourcery.com>
9475
9476         * gcc.c (validate_switches): Handle all new forms of spec
9477         syntax introduced recently.  Now returns a char *.
9478         (validate_all_switches): Repetitive logic broken out to...
9479         (validate_switches_from_spec): ...here.
9480         * mklibgcc.in: Don't @-flag commands to generate .oS files.
9481
9482 2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>
9483
9484         * longlong.h: Partially synchronize with GMP-4.1 version:
9485         Use i370 definitions also for s390.
9486         Add generic definition of umul_ppmm in terms of smul_ppmm.
9487         [s390] (umul_ppmm): Remove.
9488         [s390] (smul_ppmm): Fix incorrect assembler constraints.
9489         [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
9490
9491 2002-09-30  Bob Wilson  <bob.wilson@acm.org>
9492
9493         * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
9494         Add new RL_REGS register class.
9495         (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
9496         Call xtensa_preferred_reload_class for both input and output reloads.
9497         * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
9498         (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
9499         instead of either AR_REGS or GR_REGS classes.
9500         (xtensa_secondary_reload_class): Use new RL_REGS class.
9501         * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
9502
9503 2002-09-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9504
9505         * pa.c (hppa_encode_label): Don't drop '*' from function labels.
9506         (pa_strip_name_encoding): Strip '@' and '*', in that order.
9507         * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
9508         there is a '*' prefix in NAME.
9509
9510 Mon Sep 30 21:33:23 CEST 2002  Jan Hubicka  <jh@suse.cz>
9511
9512         * reload.c (push_reload): Handle subregs and secondary memory.
9513         * reload1.c (gen_reload): Likewise.
9514
9515         * jump.c (reg_or_subregno): New function.
9516         * rtl.h (reg_or_subregno): Declare
9517         * unroll.c (find_splittable_givs): Handle subregs.
9518
9519 2002-09-30  Mark Mitchell  <mark@codesourcery.com>
9520
9521         * store-layout.c (finish_record_layout): Add free_p parameter.
9522         (layout_type): Pass it.
9523         * tree.h (finish_record_layout): Update prototype.
9524
9525 Mon Sep 30 14:57:18 CEST 2002  Jan Hubicka  <jh@suse.cz>
9526
9527         * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
9528
9529         * gcse.c (cprop_jump): Check that the register has not
9530         been modified
9531         (cprop_jump): Likewise.
9532
9533 2002-09-30  Richard Earnshaw  <rearnsha@arm.com>
9534
9535         * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
9536         (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
9537         that we have a SImode access, and only then if reload hasn't completed;
9538         for all other cases, use LO_REGS.
9539
9540 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9541
9542         * openbsd.h: Fix typo in last change.
9543
9544 2002-09-29  Richard Henderson  <rth@redhat.com>
9545
9546         * real.c (real_from_string): Apply sign last.  Tidy exponent handling.
9547
9548 2002-09-29  Richard Henderson  <rth@redhat.com>
9549
9550         PR c/8002
9551         * combine.c (force_to_mode): Handle FLOAT_MODE destinations
9552         for CONST_INT.
9553
9554 2002-09-29  David Edelsohn  <edelsohn@gnu.org>
9555
9556         * real.h (ibm_extended_format): Declare.
9557         * real.c (encode_ibm_extended, decode_ibm_extended): New
9558         functions.
9559
9560 2002-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9561
9562         * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
9563
9564         * ia64.c (ia64_hpux_asm_file_end): Const-ify.
9565
9566 2002-09-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9567
9568         * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
9569
9570 2002-09-29  Kazu Hirata  <kazu@cs.umass.edu>
9571
9572         * builtins.def: Fix comment formatting.
9573         * c-common.def: Likewise.
9574         * cfgcleanup.c: Likewise.
9575         * combine.c: Likewise.
9576         * gengtype.c: Likewise.
9577         * params.def: Likewise.
9578         * predict.def: Likewise.
9579         * rtl.def: Likewise.
9580         * stab.def: Likewise.
9581         * stor-layout.c: Likewise.
9582         * tree.def: Likewise.
9583         * config/darwin.c: Likewise.
9584         * config/darwin.h: Likewise.
9585         * config/dbxcoff.h: Likewise.
9586         * config/elfos.h: Likewise.
9587         * config/fp-bit.c: Likewise.
9588         * config/freebsd-spec.h: Likewise.
9589         * config/interix.h: Likewise.
9590         * config/libgloss.h: Likewise.
9591         * config/linux-aout.h: Likewise.
9592         * config/linux.h: Likewise.
9593         * config/lynx-ng.h: Likewise.
9594         * config/lynx.h: Likewise.
9595         * config/netbsd-aout.h: Likewise.
9596         * config/netbsd.h: Likewise.
9597         * config/netware.h: Likewise.
9598         * config/psos.h: Likewise.
9599         * config/ptx4.h: Likewise.
9600
9601 2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
9602
9603         * ChangeLog.4: Fix typos.
9604         * ChangeLog.6: Likewise.
9605         * FSFChangeLog.10: Likewise.
9606         * genattrtab.c: Fix comment typos.
9607         * haifa-sched.c: Likewise.
9608         * real.c: Likewise.
9609         * tree.h: Likewise.
9610         * config/arm/arm.c: Likewise.
9611         * config/arm/crti.asm: Likewise.
9612         * config/arm/crtn.asm: Likewise.
9613         * config/frv/frv.c: Likewise.
9614         * config/frv/frv.md: Likewise.
9615         * config/h8300/h8300.md: Likewise.
9616         * config/i386/rtemself.h: Likewise.
9617         * config/ia64/unwind-ia64.c: Likewise.
9618         * config/ip2k/ip2k.h: Likewise.
9619         * config/m88k/m88k.c: Likewise.
9620         * config/m88k/m88k.md: Likewise.
9621         * config/mips/sr71k.md: Likewise.
9622         * config/mmix/mmix.c: Likewise.
9623         * config/rs6000/rs6000.c: Likewise.
9624         * config/sh/sh.md: Likewise.
9625
9626 2002-09-26  Theodore A. Roth  <troth@verinet.com>
9627
9628         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
9629         * config/avr/avr.md: Ditto.
9630
9631 2002-09-27  Alexander N. Kabaev <ak03@gte.com>
9632
9633         PR preprocessor/8055
9634         * cppmacro.c (stringify_arg): Do not overflow the buffer
9635         with the terminating NUL when the argument to be stringified
9636         has no tokens.
9637
9638 2002-09-27  Richard Henderson  <rth@redhat.com>
9639
9640         * unroll.c (simplify_cmp_and_jump_insns): New.
9641         (unroll_loop): Use it.  Use simplify_gen_foo+force_operand
9642         instead of expand_simple_foo.
9643
9644 2002-09-27  Richard Henderson  <rth@redhat.com>
9645
9646         PR optimization/7520
9647         * cfganal.c (flow_active_insn_p): New.
9648         (forwarder_block_p): Use it.
9649
9650 2002-09-27  Richard Henderson  <rth@redhat.com>
9651
9652         * emit-rtl.c (active_insn_p): Revert last change.
9653
9654 2002-09-27  Jakub Jelinek  <jakub@redhat.com>
9655
9656         * doc/extend.texi (tls_model): Document.
9657         * varasm.c (decl_tls_model): New.
9658         * c-common.c (handle_tls_model_attribute): New.
9659         (c_common_attribute_table): Add tls_model.
9660         * config/alpha/alpha.c (alpha_encode_section_info): Use
9661         decl_tls_model.
9662         * flags.h (enum tls_model, flag_tls_default): Move...
9663         * tree.h (enum tls_model, flag_tls_default): ...here.
9664         (decl_tls_model): New prototype.
9665         * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
9666         * config/i386/i386.c (ix86_encode_section_info): Likewise.
9667         * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
9668         Allow !flag_pic.
9669
9670 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
9671
9672         * LANGUAGES: Follow spelling conventions.
9673         * rtl.def: Likewise.
9674         * sbitmap.c: Likewise.
9675         * sched-int.h: Likewise.
9676         * sched-rgn.c: Likewise.
9677         * sibcall.c: Likewise.
9678         * simplify-rtx.c: Likewise.
9679         * ssa.c: Likewise.
9680         * stab.def: Likewise.
9681         * stmt.c: Likewise.
9682         * stor-layout.c: Likewise.
9683         * target.h: Likewise.
9684         * timevar.c: Likewise.
9685         * toplev.c: Likewise.
9686         * tree-dump.c: Likewise.
9687         * tree-inline.c: Likewise.
9688         * tree.c: Likewise.
9689         * tree.def: Likewise.
9690         * tree.h: Likewise.
9691         * unroll.c: Likewise.
9692         * varasm.c: Likewise.
9693         * vmsdbgout.c: Likewise.
9694         * treelang/treelang.texi: Likewise.
9695         * treelang/treetree.c: Likewise.
9696
9697 2002-09-27  Kazu Hirata  <kazu@cs.umass.edu>
9698
9699         * config/h8300/h8300.c (compute_saved_regs): Use a macro
9700         instead of a hard register number.
9701         (get_shift_alg): Use an enumerated type instead of numbers.
9702         (h8300_shift_needs_scratch_p): Likewise.
9703
9704 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
9705
9706         * varasm.c (force_data_section): Remove.
9707         (assemble_constant_align): Likewise.
9708         * output.h: Remove corresponding prototypes.
9709
9710 2002-09-26  Roger Sayle  <roger@eyesopen.com>
9711
9712         * stmt.c (expand_exit_loop_if_false): Expand a simple conditional
9713         jump, if the loop to exit is the top of the current nesting stack.
9714
9715 2002-09-26  Torbjorn Granlund  <tege@swox.com>
9716
9717         * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long'
9718         arithmetic.
9719
9720 2002-09-26  David S. Miller  <davem@redhat.com>
9721
9722         PR optimization/7335
9723         * calls.c (emit_library_call_value_1): Passing args by reference
9724         converts a CONST function into a PURE one.
9725
9726 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
9727
9728         * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
9729         text_section.
9730         * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
9731         text section.
9732         * config/rs6000/rs6000.c (rs6000_override_options): Allow
9733         function-sections and data-sections functionality on AIX.
9734
9735 2002-09-26  David Edelsohn  <edelsohn@gnu.org>
9736             Dale Johannesen  <dalej@apple.com>
9737
9738         * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
9739         in RTL for sub-word loads from memory.
9740
9741 2002-09-26  Richard Henderson  <rth@redhat.com>
9742
9743         PR c/7160
9744         * sched-deps.c (sched_analyze_insn): Make clobber insns depend
9745         on call insns.
9746
9747 2002-09-26  Richard Henderson  <rth@redhat.com>
9748
9749         * emit-rtl.c (const_double_htab_eq): Remove unused variable.
9750
9751 2002-09-26  Chris Lattner  <sabre@nondot.org>
9752
9753         * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
9754         handling undefined values.
9755
9756 2002-09-26  Richard Henderson  <rth@redhat.com>
9757
9758         PR opt/7520
9759         * emit-rtl.c (active_insn_p): Consider a clobber of the
9760         function return value to be active even after reload.
9761
9762 2002-09-27  Alan Modra  <amodra@bigpond.net.au>
9763
9764         * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
9765         by absolute loop increment, not loop increment.
9766
9767 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
9768
9769         * c-common.h: Follow spelling conventions.
9770         * cpplex.c: Likewise.
9771         * cpplib.h: Likewise.
9772         * gthr-dce.h: Likewise.
9773         * gthr-posix.h: Likewise.
9774         * optabs.c: Likewise.
9775         * output.h: Likewise.
9776         * profile.c: Likewise.
9777         * protoize.c: Likewise.
9778         * ra-rewrite.c: Likewise.
9779         * real.c: Likewise.
9780         * recog.c: Likewise.
9781         * reg-stack.c: Likewise.
9782         * regclass.c: Likewise.
9783         * regmove.c: Likewise.
9784         * reload.c: Likewise.
9785         * reload.h: Likewise.
9786         * reload1.c: Likewise.
9787         * reorg.c: Likewise.
9788         * resource.c: Likewise.
9789         * rtl.h: Likewise.
9790         * rtlanal.c: Likewise.
9791
9792 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
9793
9794         * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
9795         for symbol address.
9796
9797 2002-09-24  Eric Christopher  <echristo@redhat.com>
9798
9799         * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
9800         * config/mips/elf64.h: Ditto.
9801
9802 2002-09-24  Eric Christopher  <echristo@redhat.com>
9803
9804         * except.c (expand_builtin_extract_return_address): Handle case
9805         where Pmode != ptr_mode.
9806
9807 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
9808
9809         * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
9810
9811 2002-09-26  Steve Ellcey  <sje@cup.hp.com>
9812
9813         * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
9814
9815 2002-09-26  Igor Shevlyakov <igor@microunity.com>
9816
9817         * combine.c (simplify_set): Don't call to force_to_mode if size
9818         of integer type is larger than HOST_BITS_PER_WIDE_INT.
9819
9820 2002-09-26  Janis Johnson  <janis187@us.ibm.com>
9821
9822         * Makefile.in (qmtest-g++): Fix file path.
9823
9824 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
9825
9826         * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
9827         A + (-const) on RTX level, even for unsigned types.
9828
9829 2002-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
9830
9831         * reload.c (dup_replacements): New function.
9832         (find_reloads): Use it to duplicate replacements at the top level
9833         of match_dup operands.
9834
9835 2002-09-26  Miles Bader  <miles@gnu.org>
9836
9837         * v850.md ("length"): Change default value to 4.
9838
9839 2002-09-26  Kazu Hirata  <kazu@cs.umass.edu>
9840
9841         * ChangeLog.1: Follow spelling conventions.
9842         * ChangeLog.4: Likewise.
9843         * ChangeLog.6: Likewise.
9844         * FSFChangeLog.11: Likewise.
9845         * doc/cpp.texi: Likewise.
9846         * doc/invoke.texi: Likewise.
9847         * doc/tm.texi: Likewise.
9848
9849 2002-09-26  Nick Clifton  <nickc@redhat.com>
9850
9851         * config.gcc: Add x prefix to v850e case for handling
9852         --with-cpu=v850e.
9853
9854 2002-09-25  Zack Weinberg  <zack@codesourcery.com>
9855
9856         * gcc.c (input_suffix_matches, switch_matches,
9857         mark_matching_switches, process_marked_switches,
9858         process_brace_body): New functions - split from handle_braces.
9859         (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept
9860         and ignore whitespace in more places.
9861         (specs documentation comment): Document %{S:X;T:Y;:D}.
9862         Clarify other %{...} docs.
9863         * doc/invoke.texi: Document %{S:X;T:Y;:D}.  Clarify other
9864         %{...} docs.
9865
9866         * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}.
9867         * config/rs6000/sysv4.h: Use N-way choice spec syntax.
9868
9869 2002-09-25  David S. Miller  <davem@redhat.com>
9870
9871         PR target/7842
9872         * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
9873         extend.
9874
9875 2002-09-25  Richard Henderson  <rth@redhat.com>
9876
9877         * emit-rtl.c (const_double_htab_eq): Distinguish integer and
9878         fp CONST_DOUBLE; use real_identical.
9879
9880 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
9881
9882         * doc/invoke.texi: Add more -Wabi examples.
9883
9884 2002-09-25  Richard Sandiford  <rsandifo@redhat.com>
9885
9886         * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
9887
9888 2002-09-24  Nathan Sidwell  <nathan@codesourcery.com>
9889
9890         * profile.c (end_branch_prob): Only look for __gcov_init on
9891         weak-enabled native compilers.
9892
9893 2002-09-24  Denis Chertykov  <denisc@overta.ru>
9894
9895         * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
9896         cases of optimizing "add sp,w" to "inc sp".
9897
9898 2002-09-24  Adam Nemet  <anemet@lnxw.com>
9899
9900         * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
9901         epilogue for naked functions.
9902
9903 2002-09-24  Adam Nemet  <anemet@lnxw.com>
9904             Nick Clifton  <nickc@redhat.com>
9905
9906         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
9907         (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
9908         is defined.
9909
9910 2002-09-24  Ulrich Weigand  <uweigand@de.ibm.com>
9911
9912         * config/s390/s390.c (preferred_la_operand_p): New function.
9913         * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
9914         * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
9915         ("*la_64_cc", "*la_31_cc", splitters): ... these.
9916         ("*la_31"): Deactivate for TARGET_64BIT.
9917         ("*la_31_and", "*la_31_and_cc"): New.
9918
9919 2002-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9920
9921         * real.h (real_value): Make `exp' explicitly signed.
9922
9923 2002-09-24  Kazu Hirata  <kazu@cs.umass.edu>
9924
9925         * config/elfos.h: Follow spelling conventions.
9926         * config/alpha/alpha.h: Likewise.
9927         * config/arc/arc.h: Likewise.
9928         * config/arm/arm.md: Likewise.
9929         * config/avr/avr.h: Likewise.
9930         * config/cris/cris.md: Likewise.
9931         * config/d30v/d30v.h: Likewise.
9932         * config/frv/frv.c: Likewise.
9933         * config/frv/frv.h: Likewise.
9934         * config/h8300/h8300.c: Likewise.
9935         * config/h8300/h8300.h: Likewise.
9936         * config/h8300/h8300.md: Likewise.
9937         * config/i386/cygwin.h: Likewise.
9938         * config/i386/i386.h: Likewise.
9939         * config/i386/sysv3.h: Likewise.
9940         * config/i960/i960.h: Likewise.
9941         * config/ia64/ia64.h: Likewise.
9942         * config/ia64/ia64.md: Likewise.
9943         * config/ip2k/ip2k.h: Likewise.
9944         * config/m32r/m32r.h: Likewise.
9945         * config/m68k/m68k.h: Likewise.
9946         * config/m88k/m88k.h: Likewise.
9947         * config/mcore/mcore.c: Likewise.
9948         * config/mcore/mcore.h: Likewise.
9949         * config/mcore/mcore.md: Likewise.
9950         * config/mips/mips.h: Likewise.
9951         * config/mmix/mmix.h: Likewise.
9952         * config/mmix/mmix.md: Likewise.
9953         * config/ns32k/netbsd.h: Likewise.
9954         * config/ns32k/ns32k.h: Likewise.
9955         * config/ns32k/ns32k.md: Likewise.
9956         * config/pa/pa.h: Likewise.
9957         * config/romp/romp.h: Likewise.
9958         * config/rs6000/rs6000.h: Likewise.
9959         * config/rs6000/rs6000.md: Likewise.
9960         * config/sparc/sparc.h: Likewise.
9961         * config/stormy16/stormy-abi: Likewise.
9962         * config/stormy16/stormy16.h: Likewise.
9963         * config/vax/vax.h: Likewise.
9964
9965 2002-09-23  Kazu Hirata  <kazu@cs.umass.edu>
9966
9967         * config/alpha/alpha.h: Remove commented-out macro
9968         definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
9969         * config/avr/avr.h: Likewise.
9970         * config/d30v/d30v.h: Likewise.
9971         * config/dsp16xx/dsp16xx.h: Likewise.
9972         * config/i370/i370.h: Likewise.
9973         * config/i386/i386.h: Likewise.
9974         * config/i960/i960.h: Likewise.
9975         * config/m68k/m68k.h: Likewise.
9976         * config/m88k/m88k.h: Likewise.
9977         * config/mips/mips.h: Likewise.
9978         * config/ns32k/ns32k.h: Likewise.
9979         * config/pdp11/pdp11.h: Likewise.
9980         * config/romp/romp.h: Likewise.
9981         * config/rs6000/rs6000.h: Likewise.
9982         * config/s390/s390.h: Likewise.
9983         * config/sh/sh.h: Likewise.
9984         * config/sparc/sparc.h: Likewise.
9985         * config/stormy16/stormy16.h: Likewise.
9986         * config/vax/vax.h: Likewise.
9987
9988 2002-09-23  Kazu Hirata  <kazu@cs.umass.edu>
9989
9990         * function.c (push_temp_slots_for_block): Remove.
9991         (push_temp_slots_for_target): Likewise.
9992         (get_target_temp_slot_level): Likewise.
9993         (set_target_temp_slot_level): Likewise.
9994         (get_first_block_beg): Likewise.
9995         * function.h: Remove corresponding prototypes.
9996
9997 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
9998
9999         * version.c (version_string): Now const char[].
10000         * version.h: Update to match.
10001
10002 2002-09-23  Richard Henderson  <rth@redhat.com>
10003
10004         * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
10005         MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
10006         (TARGET_SWITCHES): Don't reference them.
10007         * config/i386/i386.c (override_options): Use target_flags_explicit
10008         to examine bits set by the user.
10009
10010 2002-09-23  Dale Johannesen  <dalej@apple.com>
10011
10012         * dbxout.c (dbxout_parms):  Set current_sym_code for params
10013         passed on stack by invisible reference.
10014
10015 2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
10016
10017         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
10018         at least one byte of space.
10019
10020 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
10021
10022         * c-common.h (flag_abi_version): Fix typo in comment.
10023         * doc/invoke.texi (flag_abi_version): Document default value.
10024
10025 2002-09-23  Hans-Peter Nilsson  <hp@axis.com>
10026
10027         * doc/extend.texi (Extended Asm): Clarify that overlap between
10028         asm-declared register variables used in an asm and the asm clobber
10029         list is not allowed.
10030         * stmt.c (decl_conflicts_with_clobbers_p): New function.
10031         (expand_asm_operands): Keep track of clobbered registers.  Call
10032         decl_conflicts_with_clobbers_p for each input and output operand.
10033         If no conflicts found before, also do conflict sanity check when
10034         emitting clobbers.
10035
10036 2002-09-23  Richard Henderson  <rth@redhat.com>
10037
10038         * c-common.c (cpp_define_data_format): Remove.
10039         (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
10040         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
10041         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
10042         * doc/cpp.texi: Don't document them either.
10043         (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
10044         __LONG_LONG_MAX__): Document.
10045         (__TARGET_FLOAT_FORMAT__): Remove.
10046
10047 2002-09-23  Richard Henderson  <rth@redhat.com>
10048
10049         * real.c (do_multiply): Normalize U before addition.
10050
10051 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
10052
10053         * c-common.c (flag_abi_version): New variable.
10054         * c-common.h (flag_abi_version): Declare it.
10055         * c-opts.c (missing_arg): Add -fabi-version.
10056         (c_common_decode_option): Process -fabi-version.
10057         * doc/invoke.texi (-fabi-version): Document it.
10058         (-Wabi): Add information about bit-fields in unions.
10059
10060 2002-09-22  Roger Sayle  <roger@eyesopen.com>
10061
10062         * expr.c (STORE_BY_PIECES_P): New target macro.
10063         (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P
10064         instead of MOVE_BY_PIECES_P.
10065         * doc/tm.texi: Document this new macro.
10066
10067 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
10068
10069         * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
10070         unless -fno-pic or -fno-PIC is specified.
10071
10072 2002-09-22  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10073
10074         * c-common.c (preprocessing_trad_p): Define.
10075         * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
10076         (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
10077         * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
10078         * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
10079         * pa-linux.h (CPP_PREDEFINES): Delete.
10080         (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
10081         * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
10082         * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
10083         (TARGET_OS_CPP_BUILTINS): Define.
10084         * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
10085         (TARGET_SWITCHES): Reformat.  Use N_() macro.  Add SUBTARGET_SWITCHES.
10086         (SUBTARGET_SWITCHES): Provide default definition.
10087         (TARGET_OPTIONS): Reformat.  Use N_() macro.
10088         (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
10089         CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
10090         EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
10091         (TARGET_CPU_CPP_BUILTINS): Define.
10092         (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
10093         * doc/invoke.texi (msio, mwsio): Document new hppa options.
10094         * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
10095         preprocessing_trad_p().
10096
10097 2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>
10098
10099         * doc/install.texi: Document behavior of --with-headers and
10100         --with-libs when arguments are omitted.
10101
10102 2002-09-22  Kazu Hirata  <kazu@cs.umass.edu>
10103
10104         * dbxout.c: Follow spelling conventions.
10105         * defaults.h: Likewise.
10106         * df.c: Likewise.
10107         * diagnostic.h: Likewise.
10108         * doloop.c: Likewise.
10109         * dwarf2out.c: Likewise.
10110         * dwarfout.c: Likewise.
10111         * emit-rtl.c: Likewise.
10112         * except.c: Likewise.
10113         * explow.c: Likewise.
10114         * expmed.c: Likewise.
10115         * expr.c: Likewise.
10116         * expr.h: Likewise.
10117         * flags.h: Likewise.
10118         * flow.c: Likewise.
10119         * fold-const.c: Likewise.
10120         * function.c: Likewise.
10121         * function.h: Likewise.
10122         * gcc.c: Likewise.
10123         * gcov-io.h: Likewise.
10124         * gcov.c: Likewise.
10125         * gcse.c: Likewise.
10126         * genattrtab.c: Likewise.
10127         * genconfig.c: Likewise.
10128         * genrecog.c: Likewise.
10129         * ggc-page.c: Likewise.
10130         * ggc.h: Likewise.
10131         * global.c: Likewise.
10132         * gthr-win32.h: Likewise.
10133         * integrate.c: Likewise.
10134         * jump.c: Likewise.
10135         * langhooks.c: Likewise.
10136         * langhooks.h: Likewise.
10137         * line-map.h: Likewise.
10138         * local-alloc.c: Likewise.
10139         * longlong.h: Likewise.
10140         * loop.c: Likewise.
10141         * loop.h: Likewise.
10142
10143 Tue Aug 27 22:26:35 CEST 2002  Jan Hubicka  <jh@suse.cz>
10144
10145         * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
10146
10147 Tue Aug 27 20:07:01 CEST 2002  Jan Hubicka  <jh@suse.cz>
10148
10149         * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
10150         for -Os/TARGET_64BIT too.
10151
10152 2002-09-21  Kazu Hirata  <kazu@cs.umass.edu>
10153
10154         * ChangeLog: Follow spelling conventions.
10155         * ChangeLog.0: Likewise.
10156         * ChangeLog.1: Likewise.
10157         * ChangeLog.2: Likewise.
10158         * ChangeLog.3: Likewise.
10159         * ChangeLog.4: Likewise.
10160         * ChangeLog.5: Likewise.
10161         * ChangeLog.6: Likewise.
10162         * FSFChangeLog.10: Likewise.
10163         * FSFChangeLog.11: Likewise.
10164         * alias.c: Likewise.
10165         * basic-block.h: Likewise.
10166         * c-aux-info.c: Likewise.
10167         * c-common.c: Likewise.
10168         * c-common.h: Likewise.
10169         * c-decl.c: Likewise.
10170         * c-format.c: Likewise.
10171         * c-semantics.c: Likewise.
10172         * c-typeck.c: Likewise.
10173         * calls.c: Likewise.
10174         * cfganal.c: Likewise.
10175         * cfgloop.c: Likewise.
10176         * collect2.c: Likewise.
10177         * combine.c: Likewise.
10178         * conflict.c: Likewise.
10179         * cppexp.c: Likewise.
10180         * cppfiles.c: Likewise.
10181         * cpphash.h: Likewise.
10182         * cppinit.c: Likewise.
10183         * cpplex.c: Likewise.
10184         * cpplib.c: Likewise.
10185         * cpplib.h: Likewise.
10186         * cppmacro.c: Likewise.
10187         * cse.c: Likewise.
10188
10189 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
10190
10191         * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
10192         LINK_SPEC.
10193         (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
10194         * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
10195         (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
10196
10197 2002-09-21  Richard Earnshaw  <rearnsha@arm.com>
10198
10199         PR opt/7930
10200         * cse.c (fold_rtx): Calculate old_cost before we fold each
10201         operand.
10202
10203 2002-09-21  Richard Henderson  <rth@redhat.com>
10204
10205         * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
10206         __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
10207         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
10208         __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
10209         __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
10210         * doc/cpp.texi: Don't document them.
10211
10212 2002-09-21  Richard Henderson  <rth@redhat.com>
10213
10214         * c-common.c (builtin_define_float_constants): Use real_format
10215         to get the floating-point parameters.
10216
10217 2002-09-21  Richard Henderson  <rth@redhat.com>
10218
10219         * real.c (struct real_format): Move to real.h.
10220         (real_format_for_mode): Rename from fmt_for_mode; update all users;
10221         initialize with ieee defaults.
10222         (real_to_target_fmt, real_from_target_fmt): New.
10223         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
10224         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
10225         ieee_quad_format, i370_single_format, i370_double_format,
10226         c4x_single_format, c4x_extended_format): Rename from s/_format//.
10227         (ieee_quad_format): Fix emin.
10228         (format_for_size, init_real_once): Remove.
10229         * real.h (struct real_format): Move from real.c.
10230         (real_format_for_mode): Declare.
10231         (real_to_target_fmt, real_from_target_fmt): Declare.
10232         (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
10233         ieee_extended_intel_96_format, ieee_extended_intel_128_format,
10234         ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
10235         i370_single_format, i370_double_format, c4x_single_format,
10236         c4x_extended_format): Declare.
10237         * toplev.c (do_compile): Don't call init_real_once.
10238
10239         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
10240         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
10241
10242         * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
10243         * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
10244         * config/alpha/alpha.c (override_options): Set real_format_for_mode
10245         for VAX, if enabled.
10246
10247         * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
10248         for C4X.
10249
10250         * config/i370/i370.h (OVERRIDE_OPTIONS): New.
10251         * config/i370/i370.c (override_options): New.
10252         * config/i370/i370-protos.h: Update.
10253
10254         * config/i386/i386.c (override_options): Set real_format_for_mode
10255         for Intel 80-bit extended.
10256         * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
10257
10258         * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
10259         (OVERRIDE_OPTIONS): Move code...
10260         * config/i960/i960.c (i960_initialize): ... here.  Set
10261         real_format_for_mode for Intel 80-bit extended.
10262
10263         * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
10264         for Intel 80-bit extended, if enabled.
10265
10266         * config/m68k/m68k.c (override_options): Set real_format_for_mode
10267         for Motorola 96-bit extended.
10268
10269         * config/vax/vax.h (OVERRIDE_OPTIONS): New.
10270         * config/vax/vax.c (override_options): New.
10271         * config/vax/vax-protos.h: Update.
10272
10273 2002-09-21  Alan Modra  <amodra@bigpond.net.au>
10274
10275         * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
10276         #if TARGET_MACHO.
10277
10278         * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
10279         insns.  Supply missing clobber of scratch reg.
10280
10281 2002-09-20  Kazu Hirata  <kazu@cs.umass.edu>
10282
10283         * config/m32r/m32r.c: Follow spelling conventions.
10284         * config/m32r/m32r.h: Likewise.
10285         * config/m32r/m32r.md: Likewise.
10286         * config/m68k/m68k.c: Likewise.
10287         * config/m88k/m88k.c: Likewise.
10288         * config/mcore/mcore.c: Likewise.
10289         * config/mips/mips.c: Likewise.
10290         * config/mips/mips.h: Likewise.
10291         * config/mmix/mmix.c: Likewise.
10292         * config/mn10200/mn10200.c: Likewise.
10293         * config/ns32k/ns32k.h: Likewise.
10294         * config/pa/pa.c: Likewise.
10295         * config/pa/pa64-linux.h: Likewise.
10296         * config/pdp11/pdp11.h: Likewise.
10297         * config/romp/romp.c: Likewise.
10298         * config/romp/romp.h: Likewise.
10299         * config/rs6000/eabi.asm: Likewise.
10300         * config/rs6000/linux64.h: Likewise.
10301         * config/rs6000/rs6000.c: Likewise.
10302         * config/rs6000/rs6000.h: Likewise.
10303         * config/rs6000/rs6000.md: Likewise.
10304         * config/rs6000/sysv4.h: Likewise.
10305         * config/rs6000/xcoff.h: Likewise.
10306
10307 2002-09-20  Jim Wilson  <wilson@redhat.com>
10308
10309         * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
10310
10311 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
10312
10313         * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
10314         * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
10315         UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
10316         (legitimate_address_p): Likewise.
10317         (legitimize_address): Use @gotntpoff and @indntpoff.
10318         (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
10319         (output_addr_const_extra): Likewise.
10320
10321 2002-09-20  Jim Wilson  <wilson@redhat.com>
10322
10323         * combine.c (try_combine): When split an instruction pair, where the
10324         first has a sign_extend src, verify that the src and dest modes match.
10325
10326 2002-09-20  Richard Henderson  <rth@redhat.com>
10327
10328         * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
10329         (override_options): Do not initialize them.
10330         (mips_const_double_ok): Allow no fp constants except zero,
10331         and not even that for mips16.
10332         (const_float_1_operand): Use dconst1.
10333         * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
10334         movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
10335         Don't allow arbitrary constants; fix predicates and C constraint.
10336
10337 2002-09-20  Neil Booth  <neil@daikokuya.co.uk>
10338
10339         * cppmacro.c: Don't warn about function-like macros without
10340         '(' during pre-expansion.
10341
10342 2002-09-20  Jim Wilson  <wilson@redhat.com>
10343
10344         * config/v850/v850.c (current_function_anonymous_args): Delete.
10345         (expand_prologue): Use current_function_args_info.anonymous_args.
10346         (expand_epilogue): Delete use of current_function_anonymous_args.
10347         * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
10348         (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
10349         (current_function_anonymous_args): Delete extern declaration.
10350         (SETUP_INCOMING_VARARGS): Set anonymous_args field.
10351
10352 2002-09-20  Geoffrey Keating  <geoffk@apple.com>
10353
10354         * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
10355         to load_macho_picbase.
10356         * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
10357         (load_macho_picbase): Take the symbol to use as a parameter.
10358         (macho_correct_pic): New insn.
10359         (builtin_setjmp_reciever): On Darwin, restore the PIC register.
10360
10361         * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
10362         RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
10363         (CAN_ELIMINATE): Likewise.
10364         (INITIAL_ELIMINATION_OFFSET): Likewise.
10365         (TOC_REGISTER): Likewise.
10366
10367 2002-09-20  Richard Henderson  <rth@redhat.com>
10368
10369         * real.c (real_hash): New.
10370         * real.h: Declare it.
10371         * cse.c (canon_hash): Use it.
10372         * cselib.c (hash_rtx): Likewise.
10373         * emit-rtl.c (const_double_htab_hash): Likewise.
10374         * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
10375         * varasm.c (struct rtx_const): Reduce vector size; separate
10376         integer and fp vectors.
10377         (HASHBITS): Remove.
10378         (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
10379         take modulus MAX_HASH_TABLE.
10380         (const_hash): New.  Do take modulus MAX_HASH_TABLE.
10381         (output_constant_def): Do not take modulus MAX_HASH_TABLE.
10382         (SYMHASH): Don't use HASHBITS.
10383         (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
10384         Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
10385         (simplify_subtraction): Fix kind comparison.
10386         (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
10387         Use a union to pun integer array.
10388         * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
10389         only hash two words of integral CONST_DOUBLE.
10390
10391 2002-09-20  Steve Ellcey  <sje@cup.hp.com>
10392
10393         * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
10394         (STARTFILE_PREFIX_SPEC): New.
10395         (LINK_SPEC): Modify.
10396         (LIB_SPEC): Modify.
10397         (LIBGCC_SPEC): New.
10398
10399 2002-09-20  Jakub Jelinek  <jakub@redhat.com>
10400
10401         * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
10402         UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
10403
10404 2002-09-20  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
10405
10406         * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
10407         Add clobber of the condition code register.
10408
10409 2002-09-20  Richard Henderson  <rth@redhat.com>
10410
10411         * real.c (do_fix_trunc): Static.
10412         (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
10413         encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
10414         encode_i370_single, encode_i370_double, encode_c4x_single,
10415         encode_c4x_extended): Add default abort case.
10416
10417 2002-09-20  Richard Henderson  <rth@redhat.com>
10418
10419         * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
10420         MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
10421         (struct realvaluetype): Remove.
10422         (REAL_VALUE_TYPE): Use struct real_value.
10423         (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
10424         (test_real_width): New.
10425         * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
10426         (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
10427         (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
10428         real_isneg, real_isnegzero, real_identical, exact_real_inverse,
10429         real_to_integer, real_to_integer2, real_to_decimal,
10430         real_to_hexadecimal, real_from_string, real_from_integer,
10431         real_inf, real_nan, real_2expN, real_convert, real_to_target,
10432         real_from_target): Likewise.
10433         * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
10434         * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
10435
10436 2002-09-20  Richard Henderson  <rth@redhat.com>
10437
10438         * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
10439         IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
10440         * defaults.h: ... here.
10441         * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
10442         config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
10443         config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
10444         config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
10445
10446 2002-09-20  Hans-Peter Nilsson  <hp@bitrange.com>
10447
10448         * config/mmix/mmix.md ("negdf2"): Rewrite.
10449         ("*expanded_negdf2"): New.
10450
10451 2002-09-19  Jim Wilson  <wilson@redhat.com>
10452
10453         * combine.c (simplify_set): When optimizing a subreg src with a
10454         cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
10455
10456 2002-09-19  Dale Johannesen <dalej@apple.com>
10457         * combine.c (make_extraction): Don't create
10458         invalid subreg.
10459
10460 2002-09-19  Roger Sayle  <roger@eyesopen.com>
10461
10462         * tree.c (integer_nonzerop): New predicate for nonzero integers.
10463         * tree.h (integer_nonzerop): Add function prototype.
10464         * stmt.c (expand_end_loop):  Don't rotate the loop when there
10465         are no instructions in the test, i.e. the loop is unconditional.
10466         (expand_exit_loop_if_false):  Optimize RTL generation of loop
10467         tests when the condition is always true or always false.
10468         * c-semantics.c (genrtl_do_stmt):  Optimize RTL generation of
10469         do-loops when the condition is always true.
10470         (genrtl_for_stmt):  Optimize RTL generation of for-loops when
10471         the for-expression is empty.
10472
10473 2002-09-19  Zack Weinberg  <zack@codesourcery.com>
10474
10475         * gcc.c (use_pipes): New flag.
10476         (process_command): Set it.  Adjust check for -pipe conflicting
10477         with -time or -save-temps.
10478         (do_spec_1): Use it.  Handle %|SUFFIX, %mSUFFIX, and
10479         %<SWITCH.  Drop %| (without a SUFFIX).
10480         (handle_braces): Drop %{<SWITCH}, %{^SWITCH}, %{|...}.
10481         (give_switch): Third argument eliminated.
10482         (invoke_as, @assembler_with_cpp spec): Use %|.s or %m.s
10483         depending on AS_NEEDS_DASH_FOR_PIPED_INPUT.
10484         (specs documentation comment): Update.
10485
10486         * config/netbsd-aout.h, config/openbsd.h, config/ptx4.h,
10487         config/svr4.h, config/i386/freebsd-aout.h,
10488         config/m68k/netbsd-elf.h, config/m68k/netbsd.h,
10489         config/m68k/openbsd.h, config/mips/openbsd.h,
10490         config/sparc/sparc.h: Define AS_NEEDS_DASH_FOR_PIPED_INPUT
10491         instead of putting %| into ASM_SPEC and/or ASM_FINAL_SPEC.
10492         * config/avr/avr.h: Delete do-nothing ASM_FINAL_SPEC.
10493         * config/cris/cris.h: Update comment.
10494
10495         * ada/lang-specs.h: Use %(invoke_as).  Straighten out
10496         error messages.  Don't use %{^SWITCH}.
10497         * ada/misc.c (gnat_decode_option): Handle -I with a
10498         separate argument.
10499
10500         * f/lang-specs.h: Use %| and %m.
10501         * java/jvspec.c: Use %m and %(invoke_as).  Change all
10502         uses of %{<SWITCH} to %<SWITCH.
10503
10504         * doc/invoke.texi: Update documentation of specs.
10505         * doc/tm.texi: Document AS_NEEDS_DASH_FOR_PIPED_INPUT.
10506
10507 2002-09-19  Ulrich Weigand  <uweigand@de.ibm.com>
10508
10509         * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
10510         and STRICT_LOW_PART within SET_DEST.
10511         * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
10512         splitters, replacing pre-reload splitters.
10513         ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
10514         "*zero_extendqihi2_31"): New insns.
10515         ("*zero_extendqihi2_64"): Do not clobber CC.
10516
10517 2002-09-18  Devang Patel  <dpatel@apple.com>
10518
10519         * cp/cp-tree.h: New prototype for walk_vtables().
10520         * cp/decl.c (walk_vtables_r): New function.
10521         (struct cp_binding_level): Add new members, namespaces,
10522         names_size and vtables.
10523         (add_decl_to_level): Add decl in namespaces or vtables
10524         chain, if conditions match.
10525         (walk_vtables): New function.
10526         (walk_namespaces_r): Travers separate namespace chain
10527         for namespace decls.
10528         (wrapup_globals_for_namespace): Use names_size instead
10529         of list_length().
10530         * cp/decl2.c (finish_file): Use walk_vtables() instead of
10531         walk_globals() to walk vtable decls.
10532
10533 2002-09-19  Steve Ellcey  <sje@cup.hp.com>
10534
10535         * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
10536         (DTORS_SECTION_ASM_OP): Ditto.
10537         (READONLY_DATA_SECTION_ASM_OP): Moved.
10538         (DATA_SECTION_ASM_OP): New.
10539         (SDATA_SECTION_ASM_OP): New.
10540         (BSS_SECTION_ASM_OP): New.
10541         (SBSS_SECTION_ASM_OP): New.
10542         (TEXT_SECTION_ASM_OP): New.
10543
10544 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
10545
10546         * config/fp-bit.c: Follow spelling conventions.
10547         * config/d30v/d30v.c: Likewise.
10548         * config/d30v/d30v.h: Likewise.
10549         * config/fr30/fr30.c: Likewise.
10550         * config/fr30/fr30.h: Likewise.
10551         * config/fr30/fr30.md: Likewise.
10552         * config/frv/frv.c: Likewise.
10553         * config/frv/frv.h: Likewise.
10554         * config/h8300/h8300.c: Likewise.
10555         * config/h8300/lib1funcs.asm: Likewise.
10556         * config/i370/i370.c: Likewise.
10557         * config/i386/i386.h: Likewise.
10558         * config/i386/i386.md: Likewise.
10559         * config/i386/pentium.md: Likewise.
10560         * config/i386/winnt.c: Likewise.
10561         * config/i960/i960.c: Likewise.
10562         * config/ia64/ia64.h: Likewise.
10563         * config/ip2k/ip2k.c: Likewise.
10564         * config/ip2k/ip2k.h: Likewise.
10565         * config/ip2k/ip2k.md: Likewise.
10566         * config/ip2k/libgcc.S: Likewise.
10567
10568 2002-09-19  Stephen Clarke <stephen.clarke@superh.com>
10569
10570         * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
10571         (GOTOFF_P): Extend to allow gotoff plus constant.
10572
10573 2002-09-18  Richard Henderson  <rth@redhat.com>
10574
10575         * ifcvt.c (noce_process_if_block): Correctly detect X modified
10576         with INSN_B before COND_EARLIEST.  Don't check A and B for
10577         modification in condition range.  Reorder INSN_B for A==B properly.
10578         (if_convert): Iterate until no matches for a block.
10579
10580 2002-09-18  Richard Henderson  <rth@redhat.com>
10581
10582         * calls.c (store_one_arg): Rename default_align to parm_align;
10583         always adjust parm_align for downward padding.
10584
10585 2002-09-18  Richard Henderson  <rth@redhat.com>
10586
10587         * toplev.c (backend_init): Move init_real_once invocation ...
10588         (do_compile): ... here.
10589
10590 2002-09-18  Richard Henderson  <rth@redhat.com>
10591
10592         * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
10593         RTX_UNCHANGING_P markers for successful tail-recursive replacement.
10594
10595 2002-09-18  Richard Henderson  <rth@redhat.com>
10596
10597         * real.c (round_for_format): Collect sticky as unsigned long, not bool.
10598
10599 2002-09-19  Alan Modra  <amodra@bigpond.net.au>
10600
10601         * config/rs6000/rs6000.md: (floatdisf2): Rename to
10602         floatdisf2_internal1.
10603         (floatdisf2): New define_expand.
10604         (floatdisf2_internal2): Likewise.
10605
10606 2002-09-18  Richard Henderson  <rth@redhat.com>
10607
10608         * real.c (sticky_rshift_significand): Collect sticky as
10609         unsigned long, not bool.
10610
10611 2002-09-18  Ulrich Weigand  <uweigand@de.ibm.com>
10612
10613         * config/s390/s390.c (s390_address_cost): New function.
10614         config/s390/s390-protos.h (s390_address_cost): Add prototype.
10615         config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
10616         (RTX_COST): Use COSTS_N_INSNS.
10617
10618 2002-09-18  Douglas Rupp  <rupp@gnat.com>
10619             Donn Terry  <donnte@microsoft.com>
10620
10621         * stor-layout.c (place_field): Handle alignment of whole
10622         structures when MSVC compatible bitfields are involved.
10623         Change method of computing location of MS bitfields to
10624         be compatible with #pragma pack(n).
10625
10626         * tree.h (record_layout_info): Add new field
10627         remaining_in_alignment.
10628
10629         * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
10630         (pragma pack): Add paragraph on MSVC bitfield packing.
10631
10632 2002-09-18  Richard Earnshaw  (reanrsha@arm.com)
10633
10634         PR optimization/7967
10635         * arm.md (ne_zeroextractsi): Add clobber of the condition code
10636         register.
10637
10638 2002-09-18  Kazu Hirata  <kazu@cs.umass.edu>
10639
10640         * config/s390/s390.c: Follow spelling conventions.
10641         * config/sh/lib1funcs.asm: Likewise.
10642         * config/sh/sh.c: Likewise.
10643         * config/sh/sh.h: Likewise.
10644         * config/sparc/sparc.c: Likewise.
10645         * config/sparc/sparc.h: Likewise.
10646         * config/sparc/sparc.md: Likewise.
10647         * config/stormy16/stormy16.c: Likewise.
10648         * config/stormy16/stormy16.h: Likewise.
10649         * config/v850/v850.c: Likewise.
10650         * config/v850/v850.h: Likewise.
10651         * config/vax/vax.c: Likewise.
10652         * config/vax/vax.h: Likewise.
10653
10654 2002-09-18  Nick Clifton  <nickc@redhat.com>
10655
10656         * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
10657         * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
10658         * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
10659
10660 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
10661
10662         * function.c (max_parm_reg_num): Remove.
10663         * stmt.c (in_control_zone_p, stmt_loop_nest_empty,
10664         drop_through_at_end_p, move_cleanups_up,
10665         expand_end_case_dummy, case_index_expr_type): Likewise.
10666         * stor-layout.c (pos_from_byte): Likewise.
10667         * tree.c (chain_member_value, chain_member_purpose, listify,
10668         tree_int_cst_msb, index_type_equal): Likewise.
10669         * tree.h: Remove prototypes for unused functions.
10670
10671 2002-09-17  Zack Weinberg  <zack@codesourcery.com>
10672
10673         * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
10674         statement that the only translation is to en_UK.
10675
10676 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
10677
10678         * config/alpha/alpha.c: Follow spelling conventions.
10679         * config/alpha/alpha.h: Likewise.
10680         * config/alpha/alpha.md: Likewise.
10681         * config/arc/arc.h: Likewise.
10682         * config/arm/arm.c: Likewise.
10683         * config/arm/arm.h: Likewise.
10684         * config/arm/arm.md: Likewise.
10685         * config/arm/pe.c: Likewise.
10686         * config/arm/unknown-elf.h: Likewise.
10687         * config/avr/avr.c: Likewise.
10688         * config/avr/avr.h: Likewise.
10689         * config/c4x/c4x.c: Likewise.
10690         * config/cris/cris.c: Likewise.
10691         * config/cris/cris.h: Likewise.
10692
10693 2002-09-17  Samuel Figueroa  <figueroa@apple.com>
10694
10695         * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
10696         * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
10697         * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
10698
10699 2002-09-17  Dale Johannesen  <dalej@apple.com>
10700
10701         * cfgcleanup.c (try_forward_edges):  Do not forward a
10702         branch to just after a loop exit before loop optimization;
10703         this interfered with doloop detection.
10704
10705 2002-09-17  Nick Clifton  <nickc@redhat.com>
10706
10707         * config/arm/arm.c (output_return_instruction): Do not
10708         writeback the stack pointer when it is being loaded.
10709         (arm_output_epilogue): Likewise.
10710
10711 2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
10712
10713         * optabs.c (prepare_cmp_insn): Let emit_library_call_value
10714         generate a pseudo reg that receives the result of a libcall.
10715         (prepare_float_lib_cmp): Likewise.
10716
10717 2002-09-17  Steve Ellcey  <sje@cup.hp.com>
10718
10719         * config/ia64/elf.h: Remove CPP_PREDEFINES.
10720
10721 Tue Sep 17 13:58:04 2002  Nicola Pero  <n.pero@mi.flashnet.it>
10722
10723         Fix PR/7014 and related objc bugs:
10724         * c-typeck.c (comp_target_types): Added a reflexive argument.
10725         Pass it to ObjC when/if calling objc_comptypes().  Updated all
10726         callers to provide the appropriate reflexive argument.
10727         * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
10728         typechecking for all cases of comparisons and assignments,
10729         particularly the obscure and less common ones involving protocols.
10730
10731 2002-09-17  Nick Clifton  <nickc@redhat.com>
10732
10733         * machmode.def (V1DImode): New mode.  A single element vector.
10734         * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
10735         (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
10736         * tree.c (build_common_tree_nodes_2): Build
10737         unsigned_V1DI_type_node and V1D1_type_node.
10738         * c-common.c (c_common_type_for_mode): Return
10739         unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
10740         * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
10741
10742 Tue Sep 17 13:40:13 2002  Nicola Pero  <n.pero@mi.flashnet.it>
10743
10744         * doc/objc.texi (Constant string objects): Extended documentation
10745         to make clear that the constant string class ivar layout is
10746         completely fixed.
10747
10748 2002-09-17  Roger Sayle  <roger@eyesopen.com>
10749
10750         * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
10751         NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
10752
10753 2002-09-16  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
10754
10755         * config/mips/mips.c (save_restore_insns): Remove unused variable.
10756         * gcc.c (make_relative_prefix): Likewise.
10757         * loop.c (check_final_value): Likewise.
10758         * jump.c (init_label_info): Remove return value.
10759         * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif.
10760
10761 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10762
10763         * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete.
10764         (ASM_PN_FORMAT): Define.
10765
10766 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10767
10768         * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
10769         c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
10770         i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
10771         m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
10772         m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
10773         pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
10774         stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
10775         Delete.
10776         * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
10777         m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
10778         mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
10779
10780         * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
10781         * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
10782
10783 2002-09-16  Richard Henderson  <rth@redhat.com>
10784
10785         * expr.c (emit_block_move): Set memory block size as appropriate
10786         for the copy.
10787
10788 2002-09-16  Richard Henderson  <rth@redhat.com>
10789
10790         PR fortran/3924
10791         * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
10792
10793 2002-09-16  Richard Henderson  <rth@redhat.com>
10794
10795         * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
10796         as well as OFFSET for BITPOS.
10797
10798 2002-09-16  Jeff Garzik  <jgarzik@mandrakesoft.com>
10799
10800         * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
10801         * config/i386/i386.c (processor_alias_table): Add winchip-c6,
10802         winchip2 and c3.
10803         * doc/invoke.texi: Mention new aliases.
10804
10805 2002-09-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
10806
10807         * calls.c (store_one_arg): Set default alignment for BLKmode arguments
10808         to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
10809         downward.
10810         * function.c (pad_below):  Always compile.
10811         (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
10812         alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
10813         Pad below when the argument is not in a register and the padding
10814         direction is downward.
10815
10816         * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
10817         (PAD_VARARGS_DOWN): Define.
10818         * pa.c (function_arg_padding): Revise padding directions to make them
10819         compatible with the 32 and 64-bit runtime architecture documentation.
10820         (hppa_va_arg):  Add code to handle variable and size zero arguments
10821         passed by reference on TARGET_64BIT.  Reformat.
10822         (function_arg): Use a PARALLEL for BLKmode and aggregates args on
10823         TARGET_64BIT.  Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
10824         wide when !TARGET_64BIT.  Move forward check for mode==VOIDmode.
10825         Add comments.
10826         * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
10827         (RETURN_IN_MEMORY): Return size zero types in memory.
10828         (FUNCTION_VALUE): Return TFmode in general registers.
10829         (MUST_PASS_IN_STACK): Define.
10830         (FUNCTION_ARG_BOUNDARY): Simplify.
10831         (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
10832         by reference.
10833         (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
10834
10835 2002-09-16  Richard Henderson  <rth@redhat.com>
10836
10837         * real.c (do_fix_trunc): New.
10838         (real_arithmetic): Call it.
10839         * simplify-rtx.c (simplify_unary_operation): Handle FIX
10840         with a floating-point result mode.
10841
10842 2002-09-16  Richard Henderson  <rth@redhat.com>
10843
10844         * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
10845         (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
10846         * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
10847         (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
10848         * builtins.c (fold_builtin_nan): New.
10849         (fold_builtin): Call it.
10850         * real.c (real_nan): Parse a non-empty string.
10851         (round_for_format): Fix NaN significand truncation.
10852         * real.h (real_nan): Return bool.
10853         * doc/extend.texi: Document new builtins.
10854
10855 2002-09-16  Jason Merrill  <jason@redhat.com>
10856             Danny Smith  <dannysmith@users.sourceforge.net>
10857
10858         * config/i386/winnt.c (ix86_handle_dll_attribute): Set
10859         DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
10860         (i386_pe_mark_dllimport): Not here.
10861
10862 2002-09-16  Nathan Sidwell  <nathan@codesourcery.com>
10863
10864         * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
10865
10866 2002-09-16  Geoffrey Keating  <geoffk@redhat.com>
10867
10868         * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
10869         warnings about unused operands when HOST_BITS_PER_WIDE_INT is
10870         < 64.
10871         (rs6000_emit_cmove): Use real_isinf not target_isinf.
10872
10873 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
10874
10875         * calls.c (emit_library_call_value_1): Don't refer to
10876         hard_libcall_value.
10877         * optabs.c (prepare_float_lib_cmp): Likewise.
10878
10879 2002-09-16  Geoffrey Keating  <geoffk@apple.com>
10880
10881         * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
10882         mangling.
10883
10884         The following changes are merged from pch-branch:
10885
10886         * doc/gty.texi (GTY Options): Document %a.
10887         * gengtype.c (do_scalar_typedef): New function.
10888         (process_gc_options): Handle `length' option.
10889         (set_gc_used_type): A pointer to an array of structures doesn't
10890         qualify as a pointer to a structure.
10891         (output_escaped_param): Add `%a' escape.
10892         (write_gc_structure_fields): Allow 'desc' on array of unions.
10893         (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
10894         do_scalar_typedef.
10895
10896         * gengtype.c (enum rtx_code): Make global.
10897         (rtx_format): Make global.
10898         (rtx_next): New.
10899         (gen_rtx_next): New.
10900         (write_rtx_next): New.
10901         (adjust_field_rtx_def): Skip fields marked by chain_next.
10902         (open_base_files): Delete redundant prototype.
10903         (write_enum_defn): New.
10904         (output_mangled_typename): Correct abort call.
10905         (write_gc_marker_routine_for_structure): Handle chain_next and
10906         chain_prev options.
10907         (finish_root_table): Don't output redundant \n.
10908         (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
10909         * c-tree.h (union lang_tree_node): Add chain_next option.
10910
10911         * gengtype.h (NUM_PARAM): New definition.
10912         (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
10913         * gengtype.c (find_param_structure): New.
10914         (adjust_field_type): Handle param<n>_is option.
10915         (process_gc_options): Detect use_params option.  Update callers.
10916         (set_gc_used_type): Add 'param' parameter, update callers.  Handle
10917         'use_params' option.
10918         (open_base_files): Add splay-tree.h to list of files included.
10919         (output_mangled_typename): New.
10920         (write_gc_structure_fields): Update 'param' parameter to support
10921         multiple parameters.  Change name mangling.  Allow parameterized
10922         fields to have an apparent scalar type.  Handle param<n>_is options,
10923         use_param option.
10924         (write_gc_marker_routine_for_structure): Update for change to name
10925         mangling.  Better guess the output file for parameterized types.
10926         (write_gc_types): Update for change to name mangling.
10927         (write_gc_root): Update for change to name mangling.  Handle (ignore)
10928         param<n>_is options.
10929         * doc/gty.texi (GTY Options): Add description of param<n>_is
10930         options, use_params option.
10931         * ggc.h (ggc_mark_rtx): Update for changed name mangling.
10932         * gengtype-lex.l: Produce token for param<n>_is.
10933         * gengtype-yacc.y: Parse param<n>_is.
10934
10935         * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
10936
10937         * rtl.c: Update comment describing rtx_format.
10938         * rtl.h (union rtunion): Separate definition and typedef.
10939         (struct rtx_def): Use gengtype to mark.
10940         * Makefile.in (gengtype.o): Also depend on rtl.def.
10941         * ggc.h (ggc_mark_rtx_children): Delete prototype.
10942         (ggc_mark_rtx): Change to alias of gengtype-generated routine.
10943         * ggc-common.c (ggc_mark_rtx_children): Delete.
10944         (ggc_mark_rtx_children_1): Delete.
10945         (gt_ggc_m_rtx_def): Delete.
10946         * gengtype.c (adjust_field_rtx_def): New.
10947         (adjust_field_type): Call adjust_field_rtx_def.
10948         (write_gc_structure_fields): Add 'default' case to switch if none
10949         is specified; remove unused code.
10950
10951         * tree.h (struct tree_exp): Update for change to meaning
10952         of special.
10953         * gengtype.c (adjust_field_tree_exp): New function.
10954         (adjust_field_type): Handle `tree_exp' special here.
10955         (write_gc_structure_fields): Don't handle `tree_exp' special here.
10956         Handle new `dot' option.
10957
10958         * gengtype.h: Make `info' a pointer-to-const.
10959         * gengtype-yacc.y (yacc_ids): Use xasprintf.
10960
10961         * gengtype.c (write_gc_structure_fields): Remove implementation
10962         of `always' option, add `default' option.
10963         * doc/gty.texi (GTY Options): Remove documentation of `always',
10964         add `default'.
10965
10966 2002-09-16  Hans-Peter Nilsson  <hp@bitrange.com>
10967
10968         * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
10969
10970 2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10971
10972         * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
10973
10974         * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
10975         instead of the *-protos.h file directly.
10976         * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
10977         * darwin.c (machopic_output_stub): Move prototype ...
10978         * darwin-protos.h (machopic_output_stub): ... here.
10979         * rs6000-protos.h (machopic_output_stub): Don't declare.
10980
10981 2002-09-16  Richard Henderson  <rth@redhat.com>
10982
10983         * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
10984
10985 2002-09-16  Richard Henderson  <rth@redhat.com>
10986
10987         * real.c, real.h: Rewrite from scratch.
10988
10989         * Makefile.in (simplify-rtx.o): Depend on TREE_H.
10990         (paranoia): New target.
10991         * builtins.c (fold_builtin_inf): Use new real.h interface.
10992         * c-common.c (builtin_define_with_hex_fp_value): Likewise.
10993         * c-lex.c (interpret_float): Likewise.
10994         * emit-rtl.c (gen_lowpart_common): Likewise.
10995         * optabs.c (expand_float): Use real_2expN.
10996         * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
10997         * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
10998         (FLOAT_WORDS_BIG_ENDIAN): New.
10999         * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
11000         directly to REAL_VALUE_NEGATIVE.
11001         * loop.c (canonicalize_condition): Likewise.
11002         * simplify-rtx.c: Include tree.h.
11003         (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
11004         with floating-point result modes.
11005         * toplev.c (backend_init): Call init_real_once.
11006
11007         * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
11008         * tree.c (build_real): Likewise.
11009         * config/alpha/alpha.c, config/vax/vax.c (float_strings,
11010         float_values, inited_float_values, check_float_value): Remove.
11011         * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
11012         config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
11013         * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
11014         (VAX_HALFWORD_ORDER): Remove.
11015
11016 2002-09-16  Ulrich Weigand  <uweigand@de.ibm.com>
11017
11018         * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
11019         (s390_load_address): ... this new function.
11020         (s390_decompose_address): Allow the argument pointer and all
11021         virtual registers as 'pointer' registers.
11022         (s390_expand_plus_operand): Use s390_load_address.
11023         config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
11024         ("force_la_31"): New insn pattern.
11025         config/s390/s390-protos.h (legitimize_la_operand): Remove.
11026         (s390_load_address): Add prototype.
11027
11028         * config/s390/s390.c: Include "optabs.h".
11029         (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
11030         config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
11031         s390_expand_cmpstr): Add prototypes.
11032         config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
11033         ("movstrdi_short"): Rename to "movstr_short_64".  Change predicates
11034         for operands 0 and 1 to "memory_operand".  Add type attribute.
11035         ("movstrsi_short"): Rename to "movstr_short_31".  Change predicates
11036         for operands 0 and 1 to "memory_operand".  Add type attribute.
11037         ("movstrdi_long", "movstrsi_long"): Remove.
11038         ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
11039         ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
11040         ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
11041         ("clrstrsico"): Remove, replace by ...
11042         ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
11043         ("clrstrsi_64"): Rename to "clrstr_long_64".
11044         ("clrstrsi_31"): Rename to "clrstr_long_31".
11045         ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
11046         ("cmpstr_const"): Remove, replace by ...
11047         ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
11048         ("cmpstr_64"): Rename to "cmpstr_long_64".
11049         ("cmpstr_31"): Rename to "cmpstr_long_31".
11050
11051 2002-09-16  Kazu Hirata  <kazu@cs.umass.edu>
11052
11053         * ABOUT-NLS: Follow spelling conventions.
11054         * ChangeLog: Likewise.
11055         * ChangeLog.1: Likewise.
11056         * ChangeLog.2: Likewise.
11057         * ChangeLog.3: Likewise.
11058         * ChangeLog.4: Likewise.
11059         * ChangeLog.5: Likewise.
11060         * ChangeLog.6: Likewise.
11061         * FSFChangeLog.10: Likewise.
11062         * FSFChangeLog.11: Likewise.
11063         * c-common.c: Likewise.
11064         * c-lex.c: Likewise.
11065         * c-objc-common.c: Likewise.
11066         * cppexp.c: Likewise.
11067         * cppinit.c: Likewise.
11068         * cpplex.c: Likewise.
11069         * doloop.c: Likewise.
11070         * flow.c: Likewise.
11071         * function.c: Likewise.
11072         * integrate.c: Likewise.
11073         * loop.c: Likewise.
11074         * reg-stack.c: Likewise.
11075         * reload.h: Likewise.
11076         * ssa.c: Likewise.
11077
11078 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11079
11080         * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H)
11081         * vmsdbgout.c: Include "target.h".
11082
11083 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
11084
11085         * ChangeLog: Follow spelling conventions.
11086         * ChangeLog.0: Likewise.
11087         * ChangeLog.1: Likewise.
11088         * ChangeLog.2: Likewise.
11089         * ChangeLog.4: Likewise.
11090         * ChangeLog.6: Likewise.
11091         * config.gcc: Likewise.
11092         * dwarfout.c: Likewise.
11093         * reload1.c: Likewise.
11094         * simplify-rtx.c: Likewise.
11095         * unwind-sjlj.c: Likewise.
11096         * config/avr/avr.h: Likewise.
11097         * config/d30v/d30v.h: Likewise.
11098         * config/frv/frv.c: Likewise.
11099         * config/frv/frv.h: Likewise.
11100         * config/ip2k/ip2k.h: Likewise.
11101         * config/m88k/m88k-move.sh: Likewise.
11102         * config/stormy16/stormy16.c: Likewise.
11103         * config/stormy16/stormy16.h: Likewise.
11104         * doc/extend.texi: Likewise.
11105         * doc/interface.texi: Likewise.
11106         * doc/invoke.texi: Likewise.
11107         * doc/md.texi: Likewise.
11108         * doc/rtl.texi: Likewise.
11109         * doc/tm.texi: Likewise.
11110         * doc/trouble.texi: Likewise.
11111         * ginclude/float.h: Likewise.
11112         * treelang/treelang.texi: Likewise.
11113
11114 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11115
11116         * i386-protos.h (i386_pe_dllexport_name_p,
11117         i386_pe_dllimport_name_p, i386_pe_unique_section,
11118         i386_pe_declare_function_type, i386_pe_record_external_function,
11119         i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
11120         prototype.
11121         * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
11122         * i386/t-interix (winnt.o): Likewise.
11123
11124         * v850-protos.h (v850_output_addr_const_extra): Prototype.
11125
11126 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
11127
11128         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
11129         MIPS ABI CPP macros.
11130         (TARGET_CPU_CPP_BUILTINS): Redefine.
11131         (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
11132         (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
11133
11134 2002-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11135
11136         * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
11137
11138 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
11139
11140         * ChangeLog: Follow spelling conventions.
11141         * ChangeLog.0: Likewise.
11142         * ChangeLog.1: Likewise.
11143         * ChangeLog.2: Likewise.
11144         * ChangeLog.3: Likewise.
11145         * ChangeLog.4: Likewise.
11146         * ChangeLog.5: Likewise.
11147         * ChangeLog.6: Likewise.
11148         * FSFChangeLog.10: Likewise.
11149         * FSFChangeLog.11: Likewise.
11150         * c-common.c: Likewise.
11151         * c-common.h: Likewise.
11152         * c-format.c: Likewise.
11153         * c-opts.c: Likewise.
11154         * cpplib.c: Likewise.
11155         * langhooks.h: Likewise.
11156         * real.c: Likewise.
11157         * reg-stack.c: Likewise.
11158         * toplev.c: Likewise.
11159         * config/arm/arm.c: Likewise.
11160         * config/arm/arm.md: Likewise.
11161         * config/arm/linux-gas.h: Likewise.
11162         * config/arm/netbsd.h: Likewise.
11163         * config/c4x/c4x.c: Likewise.
11164         * config/c4x/c4x.h: Likewise.
11165         * config/c4x/c4x.md: Likewise.
11166         * config/c4x/libgcc.S: Likewise.
11167         * config/fr30/fr30.md: Likewise.
11168         * config/frv/frv.md: Likewise.
11169         * config/ia64/ia64.md: Likewise.
11170         * config/mips/mips.h: Likewise.
11171         * config/mn10300/mn10300.c: Likewise.
11172         * config/stormy16/stormy16.c: Likewise.
11173         * config/v850/v850.md: Likewise.
11174         * doc/extend.texi: Likewise.
11175         * doc/invoke.texi: Likewise.
11176         * doc/md.texi: Likewise.
11177
11178 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
11179
11180         * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
11181         library if -pthread is specified.
11182
11183 2002-09-15  Jason Thorpe  <thorpej@wasabisystems.com>
11184
11185         * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
11186         for --enable-threads=yes and --enable-threads=posix.
11187
11188 2002-09-15  Kazu Hirata  <kazu@cs.umass.edu>
11189
11190         * config/sparc/cypress.md: Replace Sparc with SPARC.
11191         * config/sparc/freebsd.h: Likewise.
11192         * config/sparc/gmon-sol2.c: Likewise.
11193         * config/sparc/hypersparc.md: Likewise.
11194         * config/sparc/lb1spc.asm: Likewise.
11195         * config/sparc/lb1spl.asm: Likewise.
11196         * config/sparc/linux.h: Likewise.
11197         * config/sparc/linux64.h: Likewise.
11198         * config/sparc/lynx.h: Likewise.
11199         * config/sparc/sol2.h: Likewise.
11200         * config/sparc/sparc-modes.def: Likewise.
11201         * config/sparc/sparc.c: Likewise.
11202         * config/sparc/sparc.h: Likewise.
11203         * config/sparc/sparc.md: Likewise.
11204         * config/sparc/sparclet.md: Likewise.
11205         * config/sparc/supersparc.md: Likewise.
11206         * config/sparc/sysv4.h: Likewise.
11207         * config/sparc/vxsim.h: Likewise.
11208         * config/sparc/vxsparc64.h: Likewise.
11209
11210 2002-09-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11211
11212         * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED.
11213         * collect2.c (ignore_library, aix_std_libs): Move into the context
11214         where it is used.
11215         * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype.
11216         (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes.
11217         * m88k.c (output_call): Wrap variables with macro controlling use.
11218         * rs6000.md: Likewise.  Const-ify variable.
11219         * sh.h (ASM_OUTPUT_LABELREF): Likewise.
11220         * final.c (only_leaf_regs_used): Likewise.
11221         * regrename.c (maybe_mode_change): Mark parameter with
11222         ATTRIBUTE_UNUSED.
11223         * reload.c (find_valid_class): Likewise.  Likewise for variable.
11224         (find_reloads_address_1): Likewise.
11225         * varasm.c (weak_finish): Wrap variable with macro controlling use.
11226
11227 2002-09-14  Marek Michalkiewicz  <marekm@amelek.gda.pl>
11228
11229         * config/avr/avr.c (output.h): Move after inclusion of tree.h.
11230
11231 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
11232
11233         * ChangeLog: Follow spelling conventions.
11234         * ChangeLog.0: Likewise.
11235         * ChangeLog.2: Likewise.
11236         * ChangeLog.3: Likewise.
11237         * ChangeLog.4: Likewise.
11238         * ChangeLog.5: Likewise.
11239         * ChangeLog.6: Likewise.
11240         * cppfiles.c: Likewise.
11241         * cppinit.c: Likewise.
11242         * cpplib.h: Likewise.
11243         * cse.c: Likewise.
11244         * debug.h: Likewise.
11245         * df.c: Likewise.
11246         * dominance.c: Likewise.
11247         * hashtable.c: Likewise.
11248         * hashtable.h: Likewise.
11249         * loop.c: Likewise.
11250         * config/arm/README-interworking: Likewise.
11251         * config/arm/arm.c: Likewise.
11252         * config/arm/arm.h: Likewise.
11253         * config/arm/arm.md: Likewise.
11254         * config/dsp16xx/dsp16xx.h: Likewise.
11255         * config/frv/frv.c: Likewise.
11256         * config/frv/frv.h: Likewise.
11257         * config/ip2k/ip2k.h: Likewise.
11258         * config/rs6000/rs6000.c: Likewise.
11259         * config/stormy16/stormy-abi: Likewise.
11260         * config/stormy16/stormy16.h: Likewise.
11261         * config/v850/v850.c: Likewise.
11262
11263 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
11264
11265         * loop.c: Fix a comment typo.
11266
11267 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
11268
11269         * config/fr30/fr30.h: Fix comment typos.
11270         * config/frv/frv.c: Likewise.
11271         * config/i386/xmmintrin.h: Likewise.
11272         * config/mips/mips.c: Likewise.
11273         * config/sh/sh.c: Likewise.
11274
11275 2002-09-14  Kazu Hirata  <kazu@cs.umass.edu>
11276
11277         * haifa-sched.c: Follow spelling conventions.
11278         * regclass.c: Likewise.
11279         * regrename.c: Likewise.
11280         * config/fp-bit.c: Likewise.
11281         * config/frv/frv.h: Likewise.
11282         * config/m88k/m88k.c: Likewise.
11283         * config/mcore/mcore.c: Likewise.
11284         * config/rs6000/darwin.h: Likewise.
11285         * config/rs6000/gnu.h: Likewise.
11286         * config/rs6000/linux.h: Likewise.
11287         * config/rs6000/linux64.h: Likewise.
11288         * config/rs6000/rs6000.c: Likewise.
11289         * config/rs6000/rs6000.h: Likewise.
11290         * config/sh/sh.c: Likewise.
11291         * config/sparc/sparc.c: Likewise.
11292         * config/sparc/ultra1_2.md: Likewise.
11293
11294 2002-09-14  Stephane Carrez  <stcarrez@nerim.fr>
11295
11296         * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
11297         memory operand when source is 0 (K constraint).
11298         ("movsi_internal"): Likewise.
11299         ("movdf_internal"): Likewise.
11300         ("movsf_internal"): Likewise.
11301
11302 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
11303
11304         * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
11305         targetm.binds_local_p to set SYMBOL_REF_FLAG.
11306         (rs6000_xcoff_encode_section_info): Likewise.
11307         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
11308
11309 2002-09-10  Theodore A. Roth  <troth@verinet.com>
11310
11311         * gcc/config/avr/avr.h: Set default options for C++ for avr.
11312
11313 2002-09-13  Roger Sayle  <roger@eyesopen.com>
11314
11315         * stmt.c (struct nexting): Remove unused alt_end_label field.
11316         (expand_start_loop): Delete initialization of alt_end_label.
11317         (expand_start_null_loop): Likewise.
11318         (expand_exit_loop_if_false): Delete updating of alt_end_label.
11319
11320 2002-09-13  Richard Henderson  <rth@redhat.com>
11321
11322         * Makefile.in (toplev.o): Depend on real.h.
11323         (print-rtl.o, varasm.o, ifcvt.o): Likewise.
11324
11325 2002-09-14  Alan Modra  <amodra@bigpond.net.au>
11326
11327         * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
11328         * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
11329         * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
11330
11331 2002-09-13  Nathan Sidwell  <nathan@codesourcery.com>
11332
11333         * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
11334
11335 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
11336
11337         * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
11338         ia64*-*-linux*): Set extra_parts.
11339         * config/ia64/t-aix (EXTRA_PARTS): Remove.
11340         * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
11341
11342 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
11343
11344         * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
11345         * config/h8300/h8300.c: Likewise.
11346         * config/h8300/h8300.h: Likewise.
11347         * config/h8300/h8300.md: Likewise.
11348         * doc/invoke.texi: Likewise.
11349
11350 2002-09-13  Kazu Hirata  <kazu@cs.umass.edu>
11351
11352         * config/h8300/h8300.c (h8300_init_once): Fix formatting.
11353
11354 2002-09-13  Richard Henderson  <rth@redhat.com>
11355
11356         * config/alpha/alpha.md (attr type): Add callpal.
11357         (imb, trap, load_tp, set_tp): Use it.
11358         * config/alpha/ev4.md (ev4_callpal): New.
11359         * config/alpha/ev5.md (ev5_callpal): New.
11360         * config/alpha/ev6.md (ev6_ibr): Handle callpal.
11361         * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
11362         (alphaev5_insn_pipe): Likewise.
11363
11364 2002-09-13  Andreas Jaeger  <aj@suse.de>
11365
11366         * Makefile.in (print-rtl.o): Depend on CONFIG_H.
11367
11368 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
11369
11370         * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
11371         LIB2ADDEH): New, set to NULL.
11372         (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
11373
11374 2002-09-13  Steve Ellcey  <sje@cup.hp.com>
11375
11376         * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
11377         (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
11378         (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
11379         Add declarations.
11380         (_U_Qfneg): Remove.
11381
11382 2002-09-13 Dhananjay Deshpande  <dhananjayd@kpit.com>
11383
11384         * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
11385         for H8/300, H8S aa:8 mode.
11386         (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
11387         * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
11388         for H8/300 aa:8 mode.
11389
11390 2002-09-13  Hartmut Penner  <hpenner@de.ibm.com>
11391
11392         * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
11393         insns.
11394
11395 2002-09-12  Richard Henderson  <rth@redhat.com>
11396
11397         * Makefile.in (HOST_PRINT): Use print-rtl1.o
11398         (print-rtl.o): Don't define GENERATOR_FILE.
11399         (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
11400         * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
11401         unless GENERATOR_FILE.
11402
11403 2002-09-12  Stan Shebs  <shebs@apple.com>
11404
11405         * config/darwin.h (USER_LABEL_PREFIX): Define here...
11406         * config/i386/darwin.h: ... instead of here.
11407
11408         * target.h (struct gcc_target): New field
11409         terminate_dw2_eh_frame_info.
11410         * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
11411         (TARGET_INITIALIZER): Add it.
11412         * dwarf2out.c (output_call_frame_info): Use target hook.
11413         * dwarf2asm.c (dw2_asm_output_delta): Use macro
11414         ASM_OUTPUT_DWARF_DELTA if defined.
11415         * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
11416         (ASM_OUTPUT_DWARF_DELTA): Ditto.
11417         (ASM_OUTPUT_DWARF_OFFSET): Ditto.
11418         (ASM_OUTPUT_DWARF_PCREL): Ditto.
11419         * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
11420         (powerpc-*-darwin*): Ditto.
11421         * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
11422         to work correctly for Darwin.
11423         * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
11424         (STARTFILE_SPEC): Add crtbegin.o.
11425         (ENDFILE_SPEC): Define.
11426         (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
11427         (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
11428         (ASM_OUTPUT_DWARF_DELTA): Define.
11429         (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
11430         * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
11431
11432 2002-09-13  Alan Modra  <amodra@bigpond.net.au>
11433
11434         * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
11435         nesting.  Correct test for non-PowerPC64 ELF ABI_AIX.
11436         * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
11437
11438 2002-09-12  Zack Weinberg  <zack@codesourcery.com>
11439
11440         * toplev.c: Move default definition of USER_LABEL_PREFIX...
11441         * defaults.h: ... here.
11442
11443 2002-09-12  Richard Henderson  <rth@redhat.com>
11444
11445         * vax.c: Include tree.h earlier.
11446
11447 2002-09-12  Stan Shebs  <shebs@apple.com>
11448
11449         * config/darwin.c (machopic_finish): Remove #if 0 chunks.
11450         (machopic_operand_p): Ditto.
11451
11452 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
11453
11454         * config/arm/arm.c (arm_compute_initial_elimination_offset):
11455         Fix a comment typo.
11456
11457 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
11458
11459         * toplev.c (do_abort): Fix a comment typo.
11460
11461 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
11462
11463         * cselib.c: Fix comment formatting.
11464         * gengtype.c: Likewise.
11465
11466 2002-09-12  Kazu Hirata  <kazu@cs.umass.edu>
11467
11468         * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
11469         (udivmodhi4): Likewise.
11470
11471 2002-09-12  Graham Stott  <graham.stott@btinternet.com>
11472             Roger Sayle  <roger@eyesopen.com>
11473
11474         * i386.c (any_fp_register_operand, fp_register_operand,
11475         register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
11476         New predicate functions.
11477         * i386-protos.h:  Add their prototypes.
11478         * i386.h: Add them to PREDICATE_CODES.
11479         * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
11480         "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
11481         "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
11482         "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
11483         "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
11484         "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
11485         "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
11486         "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
11487         "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
11488         "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
11489         "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
11490         Use these new predicates to simplify and correct the use of
11491         FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
11492
11493 2002-09-12  Jason Merrill  <jason@redhat.com>
11494
11495         * diagnostic.c (output_add_identifier): New fn.
11496         * diagnostic.h: Declare it.
11497
11498         * calls.c (store_one_arg): Use size_in_bytes to determine the
11499         amount of space to push.
11500
11501 2002-09-12  Jakub Jelinek  <jakub@redhat.com>
11502
11503         * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
11504
11505 2002-09-12  Ulrich Weigand  <uweigand@de.ibm.com>
11506
11507         * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
11508         * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
11509         (s390_select_ccmode): Likewise.
11510         (s390_branch_condition_mask): Likewise.
11511         (optimization_options): Do not set flag_branch_on_count.
11512         (s390_split_branches): Handle doloop branches.
11513         (s390_chunkify_pool): Likewise.
11514         * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
11515         ("doloop_end"): New expander.
11516         ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
11517         associated splitters): New.
11518
11519 2002-09-11  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
11520
11521         * genattrtab.c (simplify_cond): Remove unused variable(s).
11522         * global.c (record_conflicts): Likewise.
11523         * jump.c (rebuild_jump_labels): Likewise.
11524         * loop.c (scan_loop, check_final_value): Likewise.
11525         * ra-colorize.c (colorize_one_web, assign_colors): Likewise.
11526         * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise.
11527         * rtlanal.c (reg_set_p): Likewise.
11528         * stmt.c (expand_asm_operands, expand_decl): Likewise.
11529         * genautomata.c (empty_reserv): Remove.
11530         * loop.c (max_luid): Likewise.
11531         * sched-rgn.c (bitlst_table_size): Likewise.
11532
11533 2002-09-11  Nathan Sidwell  <nathan@codesourcery.com>
11534
11535         Reimplement gcov format.
11536         * gcov-io.h: Replace.
11537         * gcov.c: Reimplement.
11538         * gcov-iov.c: New file.
11539         * gcov-dump.c: New file.
11540         * libgcc2.c (L_bb): Replace with ...
11541         (L_gcov): ... this.
11542         (struct bb_function_info, struct bb): Remove.
11543         (inhibit_libc): Never inhibit.
11544         (gcov_list, gcov_crc): New static variables.
11545         (gcov_version_mismatch): New static function.
11546         (__bb_exit_func): Renamed to ...
11547         (__gcov_exit): ... here. Made static. Reimplement.
11548         (__gcov_init_func): Rename to ...
11549         (__gcov_init): ... here. Check version, update crc.
11550         (__bb_fork_func): Rename to ...
11551         (__gcov_flush): ... here.
11552         * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func,
11553         __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove.
11554         * calls.c (expand_call): Call __gcov_flush.
11555         * profile.c (bb_file, last_bb_file_name): Remove.
11556         (bbg_file_name): New global variable.
11557         (output_gcov_string): Remove.
11558         (get_exec_counts): Reimplement.
11559         (branch_prob): Reimplement gcov file writing.
11560         (init_branch_prob): Create bbg_file_name, don't create
11561         bb_file_name.
11562         (end_branch_prob): Adjust. Don't remove counter file when
11563         instrumenting ourselves.
11564         (create_profiler): Adjust.
11565         * doc/gcov.texi (Gcov Data Files): Remove detailed specification,
11566         point to gcov-io.h.
11567         * Makefile.in (LANGUAGES): Add gcov-dump.
11568         (coverageexts): Remove .bb.
11569         (STAGESTUFF): Add gcov-dump.
11570         (LIB2FUNCS_ST): Replace _bb with _gcov.
11571         (profile.o): Depend on gcov-iov.h.
11572         (final.o): Don't depend on profile.h, gcov.h.
11573         (gcov.o): Depend on gcov-iov.h.
11574         (gcov-iov.o): New target.
11575         (gcov-iov): New target.
11576         (gcov-iov.h): New target.
11577         (gcov-dump.o): New target.
11578         (GCOV_DUMP_OBJS): New variable.
11579         (gcov-dump): New target.
11580         (distclean): Remove coverageexts.
11581         (stage1): Remove coverageexts.
11582
11583 2002-09-11  Hartmut Penner  <hpenner@de.ibm.com>
11584
11585         * fold-const.c (make_range): Only narrow to signed range if
11586         the signed range is smaller than the unsigned range.
11587
11588 2002-09-12  Alan Modra  <amodra@bigpond.net.au>
11589
11590         * emit-rtl.c (set_mem_size): New function.
11591         * expr.h (set_mem_size): Declare.
11592         * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
11593         (expand_block_move): Instead, use adjust_address and
11594         replace_equiv_address to generate proper aliasing info.
11595         Move common code out of conditionals.  Localize vars.
11596
11597 2002-09-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
11598
11599         * optabs.c (expand_binop): Minor cleanup.
11600         (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
11601
11602 2002-09-11  Dan Nicolaescu  <dann@ics.uci.edu>
11603
11604         * print-tree.c (print_node): Print the restrict qualifier.
11605
11606 2002-09-11  Janis Johnson  <janis187@us.ibm.com>
11607
11608         * doc/install.texi: Fix typos.
11609
11610 2002-09-11  Zack Weinberg  <zack@codesourcery.com>
11611
11612         * Makefile.in: Remove all references to s-under and underscore.c.
11613         * collect2.c, tlink.c: Change all uses of prepends_underscore
11614         to look directly at USER_LABEL_PREFIX.
11615
11616 2002-09-11  David Edelsohn  <edelsohn@gnu.org>
11617
11618         * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
11619         alignment to csect.
11620         (rs6000_xcoff_unique_section): Only set section name for public
11621         data.
11622         (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
11623         * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
11624         duplicate definition.
11625
11626 2002-09-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11627
11628         * pa.md (extzv): Check predicates before emitting extzv_32.
11629         (insv): Likewise.
11630
11631 2002-09-10  Ulrich Weigand  <uweigand@de.ibm.com>
11632
11633         * config/s390/s390.h (MOVE_MAX): Define to correct value.
11634         (MAX_MOVE_MAX): Define.
11635         (MOVE_BY_PIECES_P): Define.
11636         (CLEAR_BY_PIECES_P): Define.
11637
11638 2002-09-10  Denis Chertykov  <denisc@overta.ru>
11639
11640         * config/avr/avr.md (movstrhi): Use right operands for conversion.
11641
11642 2002-09-10  Richard Earnshaw  <rearnsha@arm.com>
11643
11644         PR c/7873
11645         * arm.md (insv): Use reg_or_int_operand for operand[3].
11646
11647 2002-09-10  David Edelsohn  <edelsohn@gnu.org>
11648
11649         * rs6000.c (rs6000_assemble_visibility): Protect declaration
11650         inside macro.  Correct function definition typo.
11651         (rs6000_xcoff_section_type_flags): New function.
11652         (TARGET_SECTION_TYPE_FLAGS): Remove definition.
11653         (rs6000_elf_section_type_flags): Call default_section_type_flags_1
11654         with appropriate PIC test.
11655         (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
11656         determine readonly.
11657         (rs6000_binds_local_p): Combine PIC flags.
11658         * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
11659         * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
11660
11661 2002-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11662
11663         * h8300.md: Fix signed/unsigned warnings.
11664         * mcore.md: Likewise.
11665         * mn10300.c (mask_ok_for_mem_btst): Likewise.
11666
11667 2002-09-09  Per Bothner  <per@bothner.com>
11668
11669         * print-tree.c (print_node):  In a STRING_CST, escape non-ascii
11670         characters, and only print TREE_STRING_LENGTH chars.
11671
11672 2002-09-09  Steve Ellcey  <sje@cup.hp.com>
11673
11674         * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
11675         (ASM_FILE_END) New.
11676         * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
11677         * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
11678         * config/ia64/ia64.c (ia64_asm_output_external): Create list
11679         of external functions if TARGET_HPUX_LD is true.
11680         (ia64_hpux_add_extern_decl): New, routine to put names on
11681         list of external functions.
11682         (ia64_hpux_asm_file_end): Put out declarations for external
11683         functions if and only if they are used.
11684
11685 2002-09-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
11686
11687         * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
11688         on TARGET_64BIT before pic register restore.
11689
11690 2002-09-09  David Edelsohn  <edelsohn@gnu.org>
11691
11692         * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
11693         (TARGET_HAVE_TLS): New description.
11694
11695 2002-09-09  Janis Johnson  <janis187@us.ibm.com>
11696
11697         * doc/extend.texi (Statement Exprs): Fix broken link.
11698
11699 2002-09-09  Denis Chertykov  <denisc@overta.ru>
11700
11701         * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
11702         right conversion of operands[1].
11703
11704 2002-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
11705
11706         * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
11707         commutative.  Use "nonimmediate_operand" instead of "register_operand"
11708         as predicate for operand 0.  Move to after the "*tmXX_mem" insns.
11709
11710         ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
11711         as commutative.
11712
11713         ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
11714         mark as commutative.  Use "nonimmediate_operand" instead of
11715         "register_operand" as predicate for operand 1.
11716
11717         ("movstrictsi"): Fix typo in insn name.
11718
11719 2002-09-09  Jan Hubicka  <jh@suse.cz>
11720
11721         * i386.c (index_register_operand): New.
11722         * i386.h (predicate_codes): Add new predicate.
11723         * i386.md (lea_general_*): Use index_register_operand
11724         (ashift to lea splitter): Do not produce invalid leas
11725         (ashift to mov+ashift split): New.
11726
11727 2002-09-09  Nick Clifton  <nickc@redhat.com>
11728
11729         * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
11730         Fix folding marks.
11731
11732 2002-09-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
11733             J"orn Rennecke <joern.rennecke@superh.com>
11734
11735         * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
11736
11737 2002-09-09  Alan Modra  <amodra@bigpond.net.au>
11738
11739         * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
11740         (function_ok_for_sibcall): Use binds_local_p.  Respect longcall
11741         attributes.
11742
11743 2002-09-08  Nathan Sidwell  <nathan@codesourcery.com>
11744
11745         * basic_block.h (gcov_type): Explain why it is signed.
11746         * final.c: Don't include profile.h.
11747         (struct function_list, functions_head, functions_tail,
11748         end_final): Moved to profile.c
11749         (final): Move arc chaining code to profile.c.
11750         * function.c (prepare_function_start): Remove duplicate line.
11751         * output.h (end_final): Remove prototype.
11752         * predict.c (estimate_loops_at_level): Use gcov_type.
11753         * profile.c (struct function_list, functions_head,
11754         functions_tail): Moved from final.c
11755         (need_func_profiler): Remove.
11756         (instrument_edges): Don't set need_func_profiler.
11757         (get_exec_counts): Avoid signed/unsigned warning.
11758         (compute_checksum): Use crc32.
11759         (branch_prob): Adjust. Chain onto functions_head.
11760         (init_branch_prob): Absorb init_edge_profiler.
11761         (init_edge_profiler): Remove.
11762         (create_profiler): Moved and renamed from final.c:end_final.
11763         Emit data and constructor.
11764         (output_func_start_profiler): Remove.
11765         * profile.h (struct profile_info): checksum is unsigned.
11766         * rtl.h (output_func_start_profiler): Remove prototype.
11767         (create_profiler): Declare.
11768         * toplev.c (compile_file): Call create_profiler, if instrumenting
11769         arcs. Don't call end_final.
11770
11771 2002-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11772
11773         * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
11774
11775 2002-09-08  Richard Henderson  <rth@redhat.com>
11776
11777         * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
11778         (DW_OP_GNU_push_tls_address): New.
11779         (DW_OP_lo_user): Fix.
11780         * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
11781         (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
11782         (size_of_loc_descr): Likewise.
11783         (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
11784         (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
11785         (loc_descriptor_from_tree): Handle TLS variables.
11786         (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
11787         (add_location_or_const_value_attribute): ... not here.  Defer
11788         to loc_descriptor_from_tree for TLS variables.
11789
11790         * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
11791         * config/i386/i386.c (i386_output_dwarf_dtprel): New.
11792         * config/i386/i386-protos.h: Update.
11793
11794 2002-09-08  Roger Sayle  <roger@eyesopen.com>
11795
11796         PR optimization/6405
11797         * unroll.c (loop_iterations): last_loop_insn should be the previous
11798         non-note instruction before loop->end.
11799         * loop.c (strength_reduce): The conditional jump is the last
11800         non-note instruction before loop->end (as above).
11801
11802 2002-09-08  Roger Sayle  <roger@eyesopen.com>
11803
11804         * combine.c (try_combine): Handle the case that undobuf.other_insn
11805         has been turned into a return or unconditional jump, by inserting
11806         a BARRIER if necessary.
11807         (simplify_set):  Test if a condition code setter has a constant
11808         comparison at compile time, if so convert this insn to a no-op move
11809         and update/simplify the condition code user (undobuf.other_insn).
11810
11811 2002-09-08  Krister Walfridsson  <cato@df.lth.se>
11812
11813         * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
11814         (CLEAR_INSN_CACHE): Define.
11815
11816 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
11817
11818         * basic-block.h: Fix comment formatting.
11819         * c-common.c: Likewise.
11820         * c-common.h: Likewise.
11821         * c-lex.c: Likewise.
11822         * c-pretty-print.c: Likewise.
11823         * cfglayout.c: Likewise.
11824         * cfgloop.c: Likewise.
11825         * defaults.h: Likewise.
11826         * et-forest.c: Likewise.
11827         * explow.c: Likewise.
11828         * function.h: Likewise.
11829         * gcov.c: Likewise.
11830         * genattrtab.c: Likewise.
11831         * gengtype.c: Likewise.
11832         * ifcvt.c: Likewise.
11833         * libgcc2.c: Likewise.
11834         * loop.c: Likewise.
11835         * profile.c: Likewise.
11836         * ra-build.c: Likewise.
11837         * real.c: Likewise.
11838         * rtl.h: Likewise.
11839         * tracer.c: Likewise.
11840         * tree-inline.c: Likewise.
11841         * varasm.c: Likewise.
11842
11843 2002-09-08  Jan Hubicka  <jh@suse.cz>
11844
11845         * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
11846         handling.
11847
11848         * loop.c (loop_givs_reduce):  Emit addition after.
11849
11850 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
11851
11852         * varasm.c (default_assemble_visibility): Rename from
11853         assemble_visibility.
11854         * output.h: Here too.
11855         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
11856         * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
11857
11858 2002-09-08  Alan Modra  <amodra@bigpond.net.au>
11859
11860         * reload.c (find_reloads <p constraint>): Pass operand_mode to
11861         find_reloads_address.
11862
11863 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
11864
11865         * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
11866         (anonymous pattern): Likewise.
11867
11868 2002-09-07  Igor Shevlyakov <igor@microunity.com>
11869
11870         * machmode.def: Add modes for half-float vectors.
11871
11872 2002-09-07  Scott Snyder  <snyder@fnal.gov>
11873
11874         PR target/7374
11875         * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
11876
11877 2002-09-07  Roger Sayle  <roger@eyesopen.com>
11878
11879         * basic-block.h (struct loop): Remove unused cont_dominator field.
11880
11881 2002-09-07  Igor Shevlyakov <igor@microunity.com>
11882
11883         * varasm.c (decode_rtx_const): Don't check undefined field for
11884         CONST_VECTOR.
11885
11886 2002-09-07  Glen Nakamura  <glen@imodulo.com>
11887
11888         PR opt/7814
11889         * sched-deps.c (sched_analyze_insn): Make sure to add insn
11890         to reg_last->sets after flushing the dependency lists to guarantee
11891         that subsequent clobbers will be dependent on it.
11892
11893 2002-09-07  Igor Shevlyakov <igor@microunity.com>
11894
11895         * combine.c (simplify_shift_const): Calculate rotate count
11896         correctly for vector operands.
11897
11898 2002-09-07  Ansgar Esztermann  <ansgar@thphy.uni-duesseldorf.de>
11899
11900         * c-typeck.c (c_tree_expr_nonnegative_p): New function.
11901         (build_binary_op): Call c_tree_expr_nonnegative_p rather than
11902         tree_expr_nonnegative_p.
11903         (build_conditional_expr): Likewise.
11904         * c-tree.h (c_tree_expr_nonnegative_p): Declare.
11905
11906 2002-09-07  Richard Henderson  <rth@redhat.com>
11907
11908         * builtins.def (inf, inff, infl): Mark const.
11909         (huge_val, huge_valf, huge_vall): Likewise.
11910         (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
11911
11912         * real.c (ereal_inf): Clear E before use.
11913
11914 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
11915
11916         * config/h8300/h8300.md (udivmodqi4): Split the pattern into
11917         an expander and an anonymous pattern.  Zero out the upper half
11918         of the dividend in the expander.
11919         (udivmodqi4): Likewise.
11920
11921 2002-09-07  Kazu Hirata  <kazu@cs.umass.edu>
11922
11923         * config/h8300/h8300.c: Fix formatting.
11924         * config/h8300/h8300.h: Likewise.
11925         * config/h8300/h8300.md: Likewise.
11926
11927 2002-09-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
11928
11929         * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
11930         information.
11931
11932 2002-09-07  Graham Stott  <graham.stott@btinternet.com>
11933
11934        * rtlanal.c (dead_or_set_regno_p): Fix typo.
11935
11936 2002-09-07  Alan Modra  <amodra@bigpond.net.au>
11937
11938         * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
11939
11940         * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
11941         * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
11942         (TARGET_ASM_OUT): Add the above here.
11943         * target.h (struct gcc_target): Add "visibility" field.
11944         * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
11945         * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
11946         (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
11947         (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
11948
11949 2002-09-06  Ziemowit Laski <zlaski@apple.com>
11950
11951         * c-lang.c (objc_is_id): New stub.
11952         * c-tree.h (objc_is_id): New forward declaration.
11953         * c-typeck.c (build_c_cast): Do not strip protocol
11954         qualifiers from 'id' type.
11955         * objc/objc-act.c (objc_comptypes): Correct handling
11956         of protocol qualifiers.
11957         (objc_is_id): New.
11958
11959 Fri Sep  6 13:10:08 2002  Jeffrey A Law  (law@redhat.com)
11960
11961         * pentium.md (pentium-firstvboth): Fix typo.
11962
11963 2002-09-06      Dhananjay Deshpande <dhananjayd@kpit.com>
11964
11965         * h8300.c (enum shift_alg): Move to earlier in h8300.c.
11966         (enum shift_type, enum h8_cpu): Likewise.
11967         (INL, ROT, LOP, SPC macros): Likewise.
11968         (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise.  Lose
11969         const designator.
11970         (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
11971         space efficient algorithms when optimize for codesize.
11972
11973 Fri Sep  6 16:35:32 2002  Nicola Pero  <n.pero@mi.flashnet.it>
11974
11975         Fix PR/1727 and long-standing failing testcase
11976         objc/formal-protocol-6.m.
11977         * objc-act.c (build_protocol_expr): If compiling for the GNU
11978         runtime, create a list of Protocol statically allocated instances
11979         if it doesn't exist, then add the Protocol object to this same
11980         list.
11981         (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
11982         instead of TREE_CHAIN.
11983
11984 Fri Sep  6 16:17:33 2002  Nicola Pero  <n.pero@mi.flashnet.it>
11985
11986         * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
11987         10k.  Fixed category dumping - print out category names with the
11988         proper syntax.  Print '@end\n' and not '\n@end' at the end of the
11989         interface.
11990         (finish_objc): Fixed the -gen-decls option.  It was printing out
11991         only the last class.  Dump an interface declaration of all classes
11992         being compiled instead.
11993
11994 2002-09-06  Jason Thorpe  <thorpej@wasabisystems.com>
11995
11996         * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
11997         prototype.
11998         * config/arm/arm.c (arm_gen_return_addr_mask): New function.
11999         * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
12000         if not APCS26 and not Thumb or ARMv4-or-higher.  Use gen_int_mode
12001         rather than GEN_INT.
12002         * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
12003         (return_addr_mask, *check_arch2): New.
12004
12005 2002-09-06  Ulrich Weigand  <uweigand@de.ibm.com>
12006
12007         * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
12008         "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
12009         "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
12010         "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
12011         "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
12012         "adddf3", "*adddf3", "*adddf3_ibm",
12013         "addsf3", "*addsf3", "*addsf3_ibm",
12014         "muldi3", "mulsi3", "mulsidi3",
12015         "muldf3", "*muldf3", "*muldf3_ibm",
12016         "mulsf3", "*mulsf3", "*mulsf3_ibm",
12017         "*anddi3_cc", "*anddi3_cconly", "anddi3",
12018         "*andsi3_cc", "*andsi3_cconly", "andsi3",
12019         "*iordi3_cc", "*iordi3_cconly", "iordi3",
12020         "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
12021         "*xordi3_cc", "*xordi3_cconly", "xordi3",
12022         "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
12023         instead of "register_operand" as predicate for "%0" operand.
12024
12025 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
12026
12027         * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
12028         unconditionally when gcc_cv_as_flags64 checks are gone.
12029         * configure: Rebuilt.
12030
12031 2002-09-06  Alan Modra  <amodra@bigpond.net.au>
12032
12033         * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
12034         2002-07-26 change.  Comment.
12035
12036 2002-09-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12037
12038         * frv.c (frv_unique_section, frv_select_section,
12039         frv_select_rtx_section): Delete.
12040         (frv_in_small_data_p): New.
12041         (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
12042         TARGET_ASM_SELECT_RTX_SECTION): Delete.
12043         (TARGET_IN_SMALL_DATA_P): Define.
12044
12045 2002-09-05  Dale Johannesen  <dalej@apple.com>
12046
12047         * reload1.c (reload):  Retain only those memory clobbers
12048         added for variable-array handling.
12049
12050 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
12051
12052         * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
12053         return-in-memory rules.
12054         * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
12055
12056 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
12057
12058         * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
12059         (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
12060
12061 2002-09-05  Jason Thorpe  <thorpej@wasabisystems.com>
12062
12063         * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
12064         not a compile-time constant for the non-IBM case.
12065         * config/arm/arm-protos.h (arm_float_words_big_endian): New
12066         prototype.
12067         * config/arm/arm.c (arm_float_words_big_endian): New function.
12068         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
12069         if TARGET_VFP  and not TARGET_HARD_FLOAT.
12070         (ARM_FLAG_VFP, TARGET_VFP): Define.
12071         (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
12072
12073 2002-09-05  David Edelsohn  <edelsohn@gnu.org>
12074
12075         * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
12076         URLs.  Fix AIX wording.
12077
12078 2002-09-05  Stan Shebs  <shebs@apple.com>
12079
12080         * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
12081         -fPIC equivalent on Darwin.
12082
12083 Thu Sep  5 16:27:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
12084
12085         * sh.c (sh_expand_builtin): Return early if encountering an
12086         error_mark for a type.
12087
12088 2002-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
12089
12090         * config/s390/s390.c (s390_expand_plus_operand): Do not require
12091         double-word scratch register.
12092         config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
12093
12094         ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
12095         "*cli"): Replace s_operand by memory_operand.
12096         ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
12097
12098 2002-09-05  Kazu Hirata  <kazu@cs.umass.edu>
12099
12100         * config/h8300/h8300.c (asm_file_start): Add a missing
12101         semicolon.
12102
12103 2002-09-04  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
12104
12105         * c-typeck.c (build_function_call): Remove unused variable(s).
12106         (build_c_cast): Likewise.
12107         * calls.c (rtx_for_function_call): Likewise.
12108         * cfglayout.c (duplicate_insn_chain): Likewise.
12109         * cfgloop.c (flow_loop_nodes_find): Likewise.
12110         * cfgrtl.c (split_edge): Likewise.
12111         * df.c (df_ref_create): Likewise.
12112         * except.c (expand_end_catch): Likewise.
12113         * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise.
12114         * function.c (emit_return_into_block): Likewise.
12115         (reposition_prologue_and_epilogue_notes): Likewise.
12116         * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise.
12117         * combine.c (subst_prev_insn, need_refresh): Remove.
12118         * dwarf2out.c (primary_filename): Remove.
12119         * final.c (new_block): Remove.
12120         * gcse.c (orig_bb_count): Remove.
12121
12122 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12123
12124         * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool.
12125         * dsp16xx.c (dsp16xx_compare_gen): Likewise.
12126         * dsp16xx.md: Treat dsp16xx_compare_gen as a bool.  Call functions
12127         directly instead of using a function pointer.
12128
12129 2002-09-04  Krister Walfridsson  <cato@df.lth.se>
12130
12131         * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
12132         * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
12133         (ix86_output_addr_diff_elt) Likewise.
12134         (x86_output_mi_thunk) Likewise.
12135         * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
12136
12137 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12138
12139         * frv.c (frv_encode_section_info): Fix error in last change.
12140
12141 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
12142
12143         * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
12144         (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
12145         (TARGET_BINDS_LOCAL_P): Define.
12146         (rs6000_override_options): Save original flag_pic value.
12147         (rs6000_elf_select_section): Call default_elf_select_section_1.
12148         (rs6000_elf_unique_section): Call default_unique_section_1.
12149         (rs6000_elf_in_small_data_p): New function.
12150         (rs6000_xcoff_asm_named_section): Determine storage mapping class.
12151         (rs6000_xcoff_select_section): Update based on defaults.
12152         (rs6000_xcoff_unique_section): Set to basic name if not common.
12153         (rs6000_binds_local_p): New function.
12154         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
12155         targetm.have_srodata_section if SDATA_EABI.
12156         (TARGET_IN_SMALL_DATA_P): Define.
12157
12158 2002-09-04  Dale Johannesen  <dalej@apple.com>
12159
12160         * varasm.c (struct rtx_const, decode_rtx_const):
12161         Make veclo and vechi fields not share storage.
12162
12163 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
12164
12165         * loop.c (scan_loop): Don't mark separate insns out of a libcall
12166         for moving.
12167         (move_movables): Abort if we see the first insn of a libcall.
12168
12169 2002-09-04  Richard Henderson  <rth@redhat.com>
12170
12171         * builtin-types.def (BT_FN_FLOAT): New.
12172         (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
12173         * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
12174         BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
12175         * builtins.c (fold_builtin_inf): New.
12176         (fold_builtin): Call it.
12177         * real.c (ereal_inf): New.
12178         * real.h: Declare it.
12179         * doc/extend.texi: Document new builtins.
12180
12181 2002-09-04  Richard Henderson  <rth@redhat.com>
12182
12183         * cse.c (cse_insn): Avoid subreg games if the equivalence
12184         is already in the proper mode.
12185
12186 2002-09-04  Eric Botcazou  <ebotcazou@multimania.com>
12187
12188         PR c/7102
12189         * optabs.c (expand_binop): Convert CONST_INTs in all cases.
12190
12191 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12192
12193         * pa.md (setccfp0, setccfp1): New patterns.
12194
12195 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12196
12197         * frv-protos.h (frv_init_builtins, frv_expand_builtin,
12198         frv_select_section, frv_select_rtx_section,
12199         frv_encode_section_info, frv_unique_section): Delete.
12200         * frv.c: Update for target hooks.
12201         * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
12202         SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
12203         EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
12204
12205 2002-09-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12206
12207         * ip2k-protos.h (function_prologue, function_epilogue,
12208         encode_section_info): Update to match target hook specification.
12209         * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
12210         (function_prologue, function_epilogue, encode_section_info):
12211         Update to match target hook specification.
12212         * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
12213         ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
12214         (NOTICE_UPDATE_CC): Cast to void.
12215         * ip2k.md: Add defaults in switch statements.
12216
12217 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
12218
12219         * doc/trouble.texi (Interoperation): Update information about C++ ABI
12220         issues.
12221
12222 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
12223
12224         * config/sparc/t-netbsd64: Disable multilib for now.
12225
12226 2002-09-04  David Edelsohn  <edelsohn@gnu.org>
12227
12228         * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
12229         * target.h (gcc_target): Add have_srodata_section member.
12230         * varasm.c (section_category): Add SECCAT_SRODATA.
12231         (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
12232         READONLY_SDATA_SECTION defined.
12233         (decl_readonly_section_1): True for SECCAT_SRODATA also.
12234         (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
12235         (default_unique_section_1): Likewise.
12236
12237 2002-09-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12238
12239         * expr.c (emit_group_load): Revise to allow splitting TCmode source
12240         into DImode pieces.
12241
12242         * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
12243         * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
12244         for floating-point register class.
12245         * pa.c (function_arg): Fix handling of modes wider than one word for
12246         TARGET_64BIT.
12247
12248 Wed Sep  4 18:48:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
12249
12250         * combine.c (make_compound_operation): Don't generate zero / sign
12251         extensions in floating point modes.
12252
12253 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
12254
12255         * doc/c-tree.texi: Fix overfull hboxes.
12256         * doc/cppopts.texi: Ditto.
12257         * doc/extend.texi: Ditto.
12258         * doc/gty.texi: Ditto.
12259         * doc/invoke.texi: Ditto.
12260         * doc/makefile.texi: Ditto.
12261         * doc/rtl.texi: Ditto.
12262         * doc/standards.texi: Ditto.
12263         * doc/tm.texi: Ditto.
12264
12265 2002-09-04  Richard Henderson  <rth@redhat.com>
12266
12267         * c-common.c (builtin_define_with_hex_fp_value): New.
12268         (builtin_define_float_constants): Use it.  Fix H_FLOAT mant_dig.
12269
12270 2002-09-04  Janis Johnson  <janis187@us.ibm.com>
12271
12272         * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
12273         (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
12274         -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
12275         Warn that these options can break ABI compatibility.
12276
12277 2002-09-04  Richard Henderson  <rth@redhat.com>
12278
12279         * real.c (ereal_to_decimal): Add digits parameter.
12280         * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
12281         * c-pretty-print.c (pp_c_real_literal): Update call.
12282         * print-rtl.c (print_rtx): Likewise.
12283         * print-tree.c (print_node_brief, print_node): Likewise.
12284         * sched-vis.c (print_value): Likewise.
12285         * config/arc/arc.c (arc_print_operand): Likewise.
12286         * config/c4x/c4x.c (c4x_print_operand): Likewise.
12287         * config/i370/i370.h (PRINT_OPERAND): Likewise.
12288         * config/i386/i386.c (print_operand): Likewise.
12289         * config/i960/i960.c (i960_print_operand): Likewise.
12290         * config/ip2k/ip2k.c (asm_output_float): Likewise.
12291         * config/m32r/m32r.c (m32r_print_operand): Likewise.
12292         * config/m68hc11/m68hc11.c (print_operand): Likewise.
12293         * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
12294         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
12295         * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
12296         ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
12297         * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
12298         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
12299         * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
12300         ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
12301         * config/mips/mips.c (print_operand): Likewise.
12302         * config/ns32k/ns32k.c (print_operand): Likewise.
12303         * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
12304         * config/vax/vax.h (PRINT_OPERAND): Likewise.
12305         * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
12306
12307 2002-09-04  Bob Wilson  <bob.wilson@acm.org>
12308
12309         * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
12310         xtensa_multibss_section_type_flags.
12311         * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
12312
12313 2002-09-04  Richard Henderson  <rth@redhat.com>
12314
12315         * doc/install-old.texi: Don't mention enquire.
12316         * doc/sourcebuild.texi: Update float.h description.
12317
12318 Wed Sep  4 11:22:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
12319
12320         * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
12321
12322 2002-09-03  Roger Sayle  <roger@eyesopen.com>
12323
12324         * builtins.c (build_function_call_expr): Remove prototype, export
12325         as non-static and add a comment above function definition.
12326         (builtin_mathfn_code): New function to check for math builtins.
12327         (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0,
12328         exp(0.0) as 1.0, and log(1.0) as 0.0.  Optimize exp(log(x)) and
12329         log(exp(x)) as x.  Optimize sqrt(exp(x)) as exp(x/2.0) and
12330         log(sqrt(x)) as log(x)/2.0.
12331
12332         * tree.h: Prototype build_function_call_expr and builtin_mathfn_code
12333         in new "builtins.c" section.  Place the build_range_type prototype
12334         with the other prototypes from "tree.c".
12335
12336         * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x)
12337         and fabs(exp(x)) as exp(x).  [MULT_EXPR]: Fold sqrt(x)*sqrt(y)
12338         as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold
12339         x/exp(y) as x*exp(-y).
12340
12341 2002-09-03  David Edelsohn  <edelsohn@gnu.org>
12342
12343         * varasm.c (default_section_type_flags): Append _1 to name with
12344         shlib parameter.  Use original name to call new function with
12345         implicit flag_pic.
12346         (decl_readonly_section): Likewise.
12347         (default_elf_select_section): Likewise.
12348         (default_unique_section): Likewise.
12349         (default_bind_local_p): Likewise.
12350         (categorize_decl_for_section): Add shlib parameter to use in place
12351         of implicit flag_pic.
12352         * output.h: Declare new functions with _1 and shlib argument.
12353
12354 2002-09-03  Janis Johnson  <janis187@us.ibm.com>
12355
12356         * doc/install.texi: Fix typos, formatting problems, and obvious
12357         overfull/underfull boxes.
12358
12359         * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
12360         * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
12361         include its file, compat.texi.
12362         * doc/compat.texi: New file with new chapter, Binary Compatibility.
12363
12364 2002-09-03  Neil Booth  <neil@daikokuya.co.uk>
12365
12366         Debian BTS Bug #157416
12367         * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
12368         * cpplib.c (destringize_and_run): Kludge around getting
12369         tokens from in-progress macros.
12370         (_cpp_do__Pragma): Simplify.
12371
12372 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
12373
12374         * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
12375         (CPP_CPU_SPEC): Remove.
12376         (TARGET_CPU_CPP_BUILTINS): New.
12377         * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
12378         (CPP_SPEC): Remove.
12379         (TARGET_OS_CPP_BUILTINS): New.
12380         * config/ia64/linux.h (CPP_PREDEFINES): Remove.
12381         (TARGET_OS_CPP_BUILTINS): New.
12382         * config/ia64/aix.h (CPP_SPEC): Move some stuff to
12383         TARGET_OS_CPP_BUILTINS.
12384         (CPP_PREDEFINES): Remove.
12385         (CPLUSPLUS_CPP_SPEC): Remove.
12386         (TARGET_OS_CPP_BUILTINS): New.
12387
12388 2002-09-03  Richard Henderson  <rth@redhat.com>
12389
12390         * Makefile.in (USER_H): Add ginclude/float.h.
12391         (FLOAT_H): Remove.
12392         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
12393         (mostlyclean): Don't remove float.h intermediate files.
12394         (distclean): Don't remove float.h.
12395         * config.gcc: Remove all float_format references.
12396         * configure.in (float_format, float_h_file): Remove.
12397
12398         * c-common.c: Include tree-inline.h.
12399         (builtin_define_with_int_value): New.
12400         (builtin_define_type_precision): Use it.
12401         (builtin_define_float_constants): New.
12402         (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
12403         __FLT_EVAL_METHOD__.
12404         * defaults.h (TARGET_FLT_EVAL_METHOD): New.
12405         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
12406         * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
12407         * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
12408         (TARGET_FLT_EVAL_METHOD): New.
12409
12410         * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
12411         config/float-i386.h, config/float-i64.h, config/float-m68k.h,
12412         config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
12413         * ginclude/float.h: New.
12414
12415 2002-09-03  Stan Shebs  <shebs@apple.com>
12416
12417         * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
12418         (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
12419         (PREFERRED_DEBUGGING_TYPE): Ditto.
12420         (ASM_OUTPUT_IDENT): Remove empty definition.
12421
12422 2002-09-03  Steve Ellcey  <sje@cup.hp.com>
12423
12424         * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
12425         cxx_target.
12426         * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
12427         handling routine for builtin pragma.
12428         * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
12429         Registered pragma handling routine.
12430         * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
12431         (ia64_hpux_add_pragma_builtin) New subroutine used by above.
12432         If builtin pragma seen for math routine and C89 conformance is
12433         requested use different math function in order to set errno.
12434         * t-ia64 (ia64-c.o): Add new rule for new file.
12435
12436 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
12437
12438         * config/s390/s390.md ("movti"): Add Q->Q alternative.
12439         ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
12440         "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
12441
12442         ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
12443         "*movsf_ss"): Remove.
12444
12445 2002-09-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12446
12447         * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
12448         Delete macros.
12449
12450 2002-09-03   Arati Dikey  <aratid@kpit.com>
12451
12452         * h8300.c (asm_file_start): Corrected optimization comment.
12453
12454 2002-09-03  Stan Shebs  <shebs@apple.com>
12455
12456         * c-lang.c (recognize_objc_keyword): Remove, no longer used.
12457         * c-tree.h (recognize_objc_keyword): Remove decl.
12458         * c-typeck.c (comp_target_types): Update a comment.
12459
12460 2002-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
12461
12462         * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
12463         and register validity checks.
12464         (general_s_operand): Adapt to s390_decompose_address interface change.
12465         (q_constraint): Likewise.
12466         (s390_expand_plus_operand): Likewise.
12467         (legitimiate_address_p): Likewise.
12468         (legitimate_la_operand_p): Likewise.
12469         (legitimize_la_operand): Likewise.
12470         (print_operand_address): Likewise.
12471         (print_operand): Likewise.
12472
12473 Tue Sep  3 11:32:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>
12474
12475         PR objc/5956:
12476         * objc/objc-act.c (build_typed_selector_reference): Fix typo which
12477         was causing the new selector never to match the existing ones
12478         (Patch by Alexander Malmberg <alexander@malmberg.org>).
12479
12480 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
12481
12482         * config/i386/i386.md ("femms"): Add "memory" attr "none".
12483
12484 2002-09-03  Graham Stott  <graham.stott@btinternet.com>
12485
12486         * expr.c (expand_expr): Remove extraneous comment and code.
12487
12488 2002-09-02  Nathan Sidwell  <nathan@codesourcery.com>
12489
12490         * stor-layout (finish_builtin_struct): Renamed and moved from c++
12491         frontend. Take chain of fields. Allow NULL alignment type.
12492         * tree.h (finish_builtin_struct): Declare.
12493
12494 2002-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12495
12496         * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md
12497         config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h
12498         config/arc/arc.c config/arc/arc.h config/arm/aout.h
12499         config/arm/arm.c config/arm/arm.h config/arm/arm.md
12500         config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h
12501         config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h
12502         config/i386/i386.c config/i386/i386.md config/i386/sco5.h
12503         config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md
12504         config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md
12505         config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h
12506         config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h
12507         config/mcore/mcore.c config/mips/mips.c config/mips/mips.h
12508         config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c
12509         config/pa/pa.h config/pa/pa.md config/romp/romp.h
12510         config/rs6000/linux64.h config/rs6000/lynx.h
12511         config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h
12512         config/s390/s390.c config/s390/s390.md config/sh/sh.c
12513         config/sparc/sparc.c config/sparc/sysv4.h
12514         config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c
12515         dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace
12516         ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook.
12517
12518         * doc/tm.texi: Update docs.
12519         * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define.
12520         * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison.
12521
12522 2002-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12523
12524         * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H).
12525         * arc.c (arc_internal_label): New function.
12526         (TARGET_ASM_INTERNAL_LABEL): Set.
12527         * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12528         * arm.c (arm_internal_label): New function.
12529         (TARGET_ASM_INTERNAL_LABEL): Set.
12530         * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12531         * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12532         * i370.c (i370_internal_label): New function.
12533         (TARGET_ASM_INTERNAL_LABEL): Set.
12534         * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12535         * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12536         * m68k.c (m68k_hp320_internal_label): New function.
12537         (TARGET_ASM_INTERNAL_LABEL): Set.
12538         * m88k.c (m88k_internal_label): New function.
12539         (TARGET_ASM_INTERNAL_LABEL): Set.
12540         * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12541         * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook.
12542         * genoutput.c (output_prologue): Include target.h in output file.
12543         * output.h (default_internal_label): Declare.
12544         * sdbout.c: Include target.h.
12545         * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to
12546         TARGET_ASM_OUT.
12547         * target.h (internal_label): Add to struct gcc_target.
12548         * varasm.c (default_internal_label): New function.
12549
12550 2002-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12551
12552         * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
12553         * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12554         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12555         * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12556         * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12557         * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12558         * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12559         * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12560         * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12561         * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12562         * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12563         * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12564         * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12565         * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12566         * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12567         * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12568         * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12569         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12570         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12571         * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12572         * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12573         * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12574         * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12575         * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12576         * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12577         * mmix-protos.h (mmix_asm_output_internal_label): Likewise.
12578         * mmix.c (mmix_asm_output_internal_label): Likewise.
12579         * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12580         * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12581         * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12582         * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12583         * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12584         * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12585         * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12586         * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12587         * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12588         * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12589         * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12590         * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12591         * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12592         * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12593         * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12594         * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12595         * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12596         * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12597         * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
12598
12599         * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
12600
12601 2002-08-31  Richard Henderson  <rth@redhat.com>
12602
12603         * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
12604
12605 2002-08-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12606
12607         * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
12608
12609 2002-08-30  Richard Henderson  <rth@redhat.com>
12610
12611         PR opt/7515
12612         * c-objc-common.c: Include target.h.
12613         (c_cannot_inline_tree_fn): Don't auto-inline functions that
12614         don't bind locally.  Factor setting DECL_UNINLINABLE.
12615         * Makefile.in (c-objc-common.o): Update.
12616
12617 2002-08-30  Janis Johnson  <janis187@us.ibm.com>
12618
12619         * doc/install.texi (Configuration, Building): Fix a typo and
12620         some formatting directives.
12621
12622 2002-08-30  Paul Koning <pkoning@equallogic.com>
12623
12624         * doc/c-tree.texi (RDIV_EXPR): Fix typo.
12625         * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
12626         implemented" note.
12627         * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
12628         for alphabetic order.
12629         * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
12630         VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
12631         (VAX_HALFWORD_ORDER): Document.
12632         (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
12633         IEEE float format.
12634         (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
12635         (ASM_OUTPUT_LABEL_REF): Fix font.
12636         (CASE_VECTOR_SHORTEN_MODE): Ditto.
12637
12638 2002-08-30  Denis Chertykov  <denisc@overta.ru>
12639
12640         * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
12641         stuff.
12642         (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
12643         CONST_DOUBLE constants.
12644
12645 2002-08-30  Jason Thorpe  <thorpej@wasabisystems.com>
12646
12647         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
12648         related defines to...
12649         (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
12650         * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
12651         as a no-op.
12652
12653 2002-08-30  Krister Walfridsson  <cato@df.lth.se>
12654
12655         * config/arm/arm.c (arm_asm_output_labelref): New function.
12656         * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
12657         * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
12658
12659 2002-08-29  Rodney Brown  <rbrown64@csc.com.au>
12660
12661         * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
12662         memory exhausted" workarounds.
12663
12664 2002-08-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12665
12666         * diagnostic.c (fancy_abort): Don't repeat "internal error".
12667         * toplev.c (crash_signal): Likewise.
12668
12669 Fri Aug 30 00:33:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
12670
12671         * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
12672         * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
12673         Extended, updated documentation.
12674         (-Wundeclared-selector): Documented.
12675
12676 2002-08-29  Jason Thorpe  <thorpej@wasabisystems.com>
12677
12678         * config/chorus.h: Consistently define *_DEBUGGING_INFO with
12679         the value 1.  Do not undef before defining.
12680         * config/darwin.h: Likewise.
12681         * config/dbx.h: Likewise.
12682         * config/dbxcoff.h: Likewise.
12683         * config/dbxelf.h: Likewise.
12684         * config/elfos.h: Likewise.
12685         * config/interix.h: Likewise.
12686         * config/lynx-ng.h: Likewise.
12687         * config/lynx.h: Likewise.
12688         * config/netware.h: Likewise.
12689         * config/psos.h: Likewise.
12690         * config/svr3.h: Likewise.
12691         * config/alpha/alpha.h: Likewise.
12692         * config/alpha/elf.h: Likewise.
12693         * config/alpha/vms.h: Likewise.
12694         * config/arc/arc.h: Likewise.
12695         * config/arm/aout.h: Likewise.
12696         * config/arm/coff.h: Likewise.
12697         * config/c4x/c4x.h: Likewise.
12698         * config/h8300/h8300.h: Likewise.
12699         * config/i386/cygwin.h: Likewise.
12700         * config/i386/djgpp.h: Likewise.
12701         * config/i386/gas.h: Likewise.
12702         * config/i386/gstabs.h: Likewise.
12703         * config/i386/i386-coff.h: Likewise.
12704         * config/i386/i386-interix.h: Likewise.
12705         * config/i386/sco5.h: Likewise.
12706         * config/i386/svr3dbx.h: Likewise.
12707         * config/i386/sysv3.h: Likewise.
12708         * config/i386/win32.h: Likewise.
12709         * config/i386/x86-64.h: Likewise.
12710         * config/i960/i960.h: Likewise.
12711         * config/ia64/ia64.h: Likewise.
12712         * config/ip2k/ip2k.h: Likewise.
12713         * config/m32r/m32r.h: Likewise.
12714         * config/m68k/3b1.h: Likewise.
12715         * config/m68k/3b1g.h: Likewise.
12716         * config/m68k/ccur-GAS.h: Likewise.
12717         * config/m68k/coff.h: Likewise.
12718         * config/m68k/hp2bsd.h: Likewise.
12719         * config/m68k/hp310g.h: Likewise.
12720         * config/m68k/hp320g.h: Likewise.
12721         * config/m68k/hp3bsd.h: Likewise.
12722         * config/m68k/hp3bsd44.h: Likewise.
12723         * config/m68k/linux-aout.h: Likewise.
12724         * config/m68k/m68k-aout.h: Likewise.
12725         * config/m68k/mot3300.h: Likewise.
12726         * config/m68k/netbsd.h: Likewise.
12727         * config/m68k/openbsd.h: Likewise.
12728         * config/m68k/pbb.h: Likewise.
12729         * config/m68k/plexus.h: Likewise.
12730         * config/m68k/sun2.h: Likewise.
12731         * config/m68k/sun3.h: Likewise.
12732         * config/m68k/tower-as.h: Likewise.
12733         * config/m68k/vxm68k.h: Likewise.
12734         * config/m88k/aout-dbx.h: Likewise.
12735         * config/m88k/m88k-aout.h: Likewise.
12736         * config/mcore/mcore-elf.h: Likewise.
12737         * config/mcore/mcore-pe.h: Likewise.
12738         * config/mips/elf.h: Likewise.
12739         * config/mips/elf64.h: Likewise.
12740         * config/mips/iris5gas.h: Likewise.
12741         * config/mips/iris6.h: Likewise.
12742         * config/mips/mips.h: Likewise.
12743         * config/mips/sni-gas.h: Likewise.
12744         * config/mmix/mmix.h: Likewise.
12745         * config/ns32k/netbsd.h: Likewise.
12746         * config/pa/pa64-hpux.h: Likewise.
12747         * config/romp/romp.h: Likewise.
12748         * config/rs6000/sysv4.h: Likewise.
12749         * config/rs6000/xcoff.h: Likewise.
12750         * config/sh/coff.h: Likewise.
12751         * config/sh/elf.h: Likewise.
12752         * config/sparc/linux64.h: Likewise.
12753         * config/sparc/liteelf.h: Likewise.
12754         * config/sparc/netbsd.h: Likewise.
12755         * config/sparc/openbsd.h: Likewise.
12756         * config/sparc/pbd.h: Likewise.
12757         * config/sparc/sp64-elf.h: Likewise.
12758         * config/sparc/sp86x-elf.h: Likewise.
12759         * config/sparc/sparc.h: Likewise.
12760         * config/vax/vax.h: Likewise.
12761         * config/vax/vaxv.h: Likewise.
12762
12763 2002-08-29  "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
12764
12765         * h8300.c (shift_alg_hi): Various tweaks to improve performance
12766         of HImode shifts.
12767         (get_shift_alg): Corresponding changes.
12768
12769 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12770
12771         * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
12772
12773 2002-08-29  Richard Henderson  <rth@redhat.com>
12774
12775         * expr.h (enum block_op_methods): New.
12776         (emit_block_move): Update prototype.
12777         * expr.c (block_move_libcall_safe_for_call_parm): New.
12778         (emit_block_move_via_loop): New.
12779         (emit_block_move): Use them.  New argument METHOD.
12780         (emit_push_insn): Always respect the given alignment.
12781         (expand_assignment): Update call to emit_block_move.
12782         (store_expr, store_field, expand_expr): Likewise.
12783         * builtins.c (expand_builtin_apply): Likewise.
12784         (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
12785         * function.c (expand_function_end): Likewise.
12786         * config/sh/sh.c (sh_initialize_trampoline): Likewise.
12787         * config/sparc/sparc.c (sparc_va_arg): Likewise.
12788         * calls.c (expand_call, emit_library_call_value_1): Likewise.
12789         (save_fixed_argument_area): Use emit_block_move with
12790         BLOCK_OP_CALL_PARM instead of move_by_pieces.
12791         (restore_fixed_argument_area): Likewise.
12792         (store_one_arg): Fix alignment parameter to emit_push_insn.
12793
12794 2002-08-29  John David Anglin  <dave@hiauly1.hia.nrc.ca>
12795
12796         * install.texi (hppa64-hp-hpux11*): Document installation procedure.
12797
12798 2002-08-29  Catherine Moore  <clm@redhat.com>
12799
12800         * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
12801         NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
12802         (PREDICATE_CODES): Include new predicates.
12803         (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
12804         (TARGET_SWITCHES):  Add strict-align.
12805         (TARGET_STRICT_ALIGN): New.
12806         (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
12807         * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
12808         Define.
12809         (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
12810         v850_muldi3.
12811         * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
12812         L_callt_save_r2_r31, L_return_r2_r31,
12813         L_save_all_interrupt): Change addi to add.
12814         (L_save_interrupt, L_return_interrupt): Rework.
12815         (__return_r31):  Correct .size directive.
12816         (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
12817         (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
12818         New routines.
12819         * config/v850/v850.c (expand_prologue): Call
12820         gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
12821         gen_callt_return_interrupt and gen_callt_save_all_interrupt.
12822         (reg_or_int9_operand): New predicate.
12823         (reg_or_const_operand): New routine.
12824         * config/v850/v850.md (return_interrupt): Changed from
12825         restore_interrupt.
12826         (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
12827         (callt_save_interrupt): Change save sequence.
12828         (callt_return_interrupt): New.
12829         (save_interrupt): Don't use runtime function for LONG_CALLS
12830         and TARGET_PROLOG_FUNCTION.
12831         (save_all_interrupt): Likewise.
12832         (mulsi3): Use new predicate.
12833         (moviscc): Disallow some combination of constants.
12834         Fix define_split for sasf insns, so that it will not generate bad
12835         code if operand0 and operand5 are the same.
12836         * config/v850/v850-protos.h: Prototype new predicates.
12837
12838 2002-08-29  Zack Weinberg  <zack@codesourcery.com>
12839
12840         * config/rs6000/rs6000.c (processor_target_table): Add 405f.
12841         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise.
12842
12843 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12844
12845         * c-common.c (builtin_define_type_precision): New function.
12846         (cb_register_builtins): Use it.  Define __WCHAR_UNSIGNED__ is
12847         wchar_t is unsigned in C++.
12848         * doc/cpp.texi (Common Predefined Macros): Document
12849         __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
12850         __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
12851         __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
12852
12853 2002-08-28  Sylvain Pion <pion@cs.nyu.edu>
12854
12855         * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
12856         section.  Mention that it is enabled by -Wall.
12857         (-Wall): Mention that there can be language-specific warnings as well.
12858         (-Wctor-dtor-privacy): Mention that it is enabled by default.
12859         (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
12860
12861 Wed Aug 28 15:35:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
12862
12863         * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
12864         if it is ever live.
12865
12866         * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
12867         attribute for SHCOMPACT.
12868
12869         * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
12870         appropriately.
12871         (FUNCTION_BOUNDARY): Specify only the minimum alignment required
12872         by the ABI.
12873
12874         * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
12875
12876 2002-08-28  Jason Thorpe  <thorpej@wasabisystems.com>
12877
12878         * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
12879         "MASK_GAS|MASK_ABICALLS".
12880         * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
12881         (TARGET_DEFAULT): Remove.
12882         (MACHINE_TYPE): Undefine before defining.
12883         (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
12884
12885 2002-08-27  Mark Mitchell  <mark@codesourcery.com>
12886
12887         * c-common.c (warn_abi): New variable.
12888         * c-common.h (warn_abi): Likewise.
12889         * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
12890         (c_common_decode_option): Handle it.
12891         * doc/invoke.texi: Document -Wabi.
12892
12893 Tue Aug 27 23:03:52 2002  Nicola Pero  <n.pero@mi.flashnet.it>
12894
12895         * c-common.c (warn_undeclared_selector): New variable.
12896         * c-common.h (warn_undeclared_selector): Idem.
12897         * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
12898         to on when -Wundeclared-selector is found.
12899         (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
12900         * objc/objc-act.c (build_selector_expr): If
12901         warn_undeclared_selector is set, check that the selector has
12902         already been defined, and emit a warning if not.
12903
12904 2002-08-27  Nick Clifton  <nickc@redhat.com>
12905             Catherine Moore  <clm@redhat.com>
12906             Jim Wilson  <wilson@cygnus.com>
12907
12908         * config.gcc: Add v850e-*-* target.
12909         Add --with-cpu= support for v850.
12910         * config/v850/lib1funcs.asm: Add v850e callt functions.
12911         * config/v850/v850.h: Add support for v850e target.
12912         * config/v850/v850.c: Add functions to support v850e target.
12913         * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
12914         * config/v850/v850.md: Add patterns for v850e instructions.
12915         * doc/invoke.texi: Document new v850e command line switches.
12916
12917 Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
12918                           Aldy Hernandez <aldyh at redhat dot com>
12919
12920         * doc/tm.texi: Applied numerous fixes to the automaton based
12921         scheduler descrition.
12922
12923 Tue Aug 27 19:51:05 CEST 2002  Jan Hubicka  <jh@suse.cz>
12924
12925         * i386.c (classify_argument): Handle variable sized objects.
12926
12927 Tue Aug 27 19:18:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
12928
12929         * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
12930
12931 Tue Aug 27 18:01:45 CEST 2002  Jan Hubicka  <jh@suse.cz>
12932
12933         * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
12934
12935 Tue Aug 27 18:00:11 CEST 2002  Jan Hubicka  <jh@suse.cz>
12936
12937         * i386.c (classify_argument): Properly compute word size of the analyzed object.
12938
12939 Tue Aug 27 14:39:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
12940
12941         * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
12942         mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
12943         accordingly.
12944         (attribute insn_class): Provide default definitions based on type.
12945         Remove all insn-specific settings.
12946         (various function units): Remove old SH4 scheduling.
12947         (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
12948         New attributes.  Set them where appropriate.
12949         (cpu unit FS): Don't define / use.
12950         (F3, load_store): New cpu units.
12951         (F01): New reservation.
12952         (all insn_reservations): Make dependent on sh4 pipeline model.
12953         Fix latencies.
12954         (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
12955         (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
12956         (mt insn_reservation): Use type mt_group.
12957         (insn_reservation load_store): Split into sh4_load, sh4_load_si,
12958         sh4_fload and sh4_store.
12959         (insn_reservation branch_zero and branch): Replace with sh4_branch.
12960         (insn_reservation branch_far): Replace with sh4_return.
12961         (insn_reservation return_from_exp): Rename to:
12962         (sh4_return_from_exp).  Change to be just d_lock*5.
12963         (insn_reservation lds_to_pr): Rename to:
12964         (sh4_lds_to_pr).  Change to be just d_lock*2.
12965         (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
12966         d_lock*2.
12967         (insn_reservation prload_mem): Rename to:
12968         (sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
12969         (insn_reservation fpscr_store): Rename to:
12970         (fpscr_load).  Change to d_lock,nothing,F1*3.
12971         (insn_reservation fpscr_store_mem): Rename to:
12972         (fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
12973         (insn_reservation multi): Change to
12974         d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
12975         (insn_reservation fp_arith): Change to issue,F01,F2.
12976         (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
12977         (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
12978         (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
12979         (insn_reservation fp_double_cmp): Change to
12980         d_lock,(d_lock+F01),F1+F2,F2.
12981         (insn_reservation dp_div): Change to
12982         issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
12983         * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
12984         (sh_adjust_cost, SHcompact): Differentiate between different
12985         kinds of dependencies.  Drop factor of ten for superscalar.
12986         Use new instruction types.  Add new exception rules.
12987
12988         * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
12989
12990         * sh.md (mperm_w): Add DONE.
12991
12992 2002-08-27  David Edelsohn  <edelsohn@gnu.org>
12993
12994         * longlong.h: Import current PowerPC defintion from GMP-4.1.
12995
12996         * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
12997
12998         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
12999
13000 Tue Aug 27 13:53:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
13001
13002         * sh.h (MAX_FIXED_MODE_SIZE): Define.
13003
13004 2002-08-27  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
13005
13006         * doc/cpp.texi (Common Predefined Macros): Don't mess with table
13007         delimiter.
13008
13009 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13010
13011         * c-common.c (cpp_define_data_format): New function.
13012         (cb_register_builtins): Call it.
13013
13014         * doc/cpp.texi (Common Predefined Macros): Document
13015         __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
13016         __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
13017         __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
13018         __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
13019         __TARGET_USES_VAX_H_FLOAT__.
13020
13021 2002-08-26  Ziemowit Laski <zlaski@apple.com>
13022
13023         * objc/objc-act.c (get_super_receiver): If inside a class method
13024         of a category, cast the receiver to 'id' before accessing the 'isa'
13025         field so that <objc/objc-class.h> is not needed.  For NeXT runtime.
13026
13027 2002-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
13028
13029         * config/s390/s390-protos.h (s390_function_prologue,
13030         s390_function_epilogue): Remove.
13031         config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
13032         TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
13033
13034         config/s390/s390.c (s390_machine_dependent_recorg): New function.
13035         config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
13036         config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
13037         config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
13038         to being called from MACHINE_DEPENDENT_REORG.  Update regs_ever_live.
13039
13040         config/s390/s390.c (s390_frame_info): Inline save_fprs_p.  Always
13041         assume BASE_REGISTER and RETURN_REGNUM need to be saved.
13042         (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
13043         function is not a leaf function.  Use save_gprs and restore_gprs.
13044         (s390_emit_epilogue): Likewise.
13045         (save_gprs, restore_gprs): New functions.
13046         (struct s390_frame): Remove return_reg_saved_p member.
13047         (save_fprs_p): Remove.
13048         (s390_optimize_prolog): New function.
13049         (s390_legitimate_reload_constant): Remove now unnecessary check.
13050
13051         (s390_function_count): Remove.
13052         (s390_output_symbolic_const): Replace s390_function_count by
13053         current_function_funcdef_no.
13054         (s390_output_constant_pool): Likewise.
13055
13056         (legitimize_pic_address): Use regs_ever_live to track PIC register
13057         instead of current_function_uses_pic_offset_table.
13058         (s390_emit_prologue): Likewise.
13059         config/s390/s390.md ("call", "call_value"): Likewise.
13060
13061 2002-08-26  Neil Booth  <neil@daikokuya.co.uk>
13062
13063         * c-opts.c (find_opt): Don't complain about wrong languages
13064         here.  Return exact matches even for wrong language.
13065         (c_common_decode_option): Complain about wrong languages
13066         here.
13067
13068 2002-08-24  Stuart Hastings  <stuart@apple.com>
13069
13070         * function.h (struct function): Add flag
13071         all_throwers_are_sibcalls.
13072         * except.c (set_nothrow_function_flags): Replaces
13073         nothrow_function_p. Set new flag.
13074         * except.h (set_nothrow_function_flags): Replaces
13075         nothrow_function_p.
13076         * dwarf2out.c (struct dw_fde_struct): Add flag
13077         all_throwers_are_sibcalls.
13078         (output_call_frame_info): Test it.
13079         (dwarf2out_begin_prologue) Propagate it from cfun to
13080         dw_fde_struct.
13081         * toplev.c (rest_of_compilation): Update calls to
13082         nothrow_function_p.
13083
13084 2002-08-23  Zack Weinberg  <zack@codesourcery.com>
13085
13086         * ggc-page.c (compute_inverse): Short circuit calculation for
13087         object sizes larger than half a page.
13088
13089 2002-08-23  David Edelsohn  <edelsohn@gnu.org>
13090
13091         * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
13092         DEFAULT_ABI == ABI_AIX like PIC.  Test PIC & reloc for readonly
13093         default.
13094         (rs6000_elf_unique_section): Likewise.
13095
13096 2002-08-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13097
13098         * ns32k.c (ns32k_globalize_label): Delete.
13099         * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
13100
13101 2002-08-23  Alan Modra  <amodra@bigpond.net.au>
13102
13103         * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
13104         for loading delta with num_insns_constant_wide.  Calculate
13105         delta_low, delta_high without using a conditional.
13106
13107 2002-08-22  Jason Merrill  <jason@redhat.com>
13108
13109         * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
13110         * c-common.def: Adjust.
13111         * c-dump.c (c_dump_tree): Adjust.
13112         * c-semantics.c (genrtl_return_stmt): Adjust.
13113         * c-pretty-print.c (pp_c_statement): Adjust.
13114         * tree-inline.c (copy_body_r): Adjust.
13115
13116 2002-08-22  Zack Weinberg  <zack@codesourcery.com>
13117
13118         * ggc-page.c: Avoid division in ggc_set_mark.
13119         (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
13120         compute_inverse): New.
13121         (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
13122         (init_ggc): Initialize inverse_table.
13123
13124 2002-08-22  Tom Tromey  <tromey@redhat.com>
13125
13126         * doc/install.texi (Configuration): Document --datadir.
13127
13128 2002-08-22  Alexandre Oliva  <aoliva@redhat.com>
13129
13130         * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
13131
13132 2002-08-22  Hans-Peter Nilsson  <hp@bitrange.com>
13133
13134         * gengtype-lex.l (ID): Allow underscore as first character.
13135
13136 2002-08-21  David Edelsohn  <edelsohn@gnu.org>
13137
13138         * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
13139         function.
13140         (rs6000_xcoff_asm_named_section): Rename.
13141         * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
13142
13143 2002-08-21  Tom Tromey  <tromey@redhat.com>
13144
13145         For PR java/6005 and PR java/7611:
13146         * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
13147         (fold): Likewise.
13148         * langhooks.c (lhd_can_use_bit_fields_p): New function.
13149         * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
13150         (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
13151         (LANG_HOOKS_INITIALIZER): Use it.
13152         * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
13153         field.
13154
13155 2002-08-21  Stan Shebs  <shebs@apple.com>
13156
13157         * tree.c (finish_vector_type): Fix a typo in a comment.
13158         * Makefile.in: Fix "the the" stutters in comments.
13159         * genautomata.c: Ditto.
13160         * ifcvt.c: Ditto.
13161         * regrename.c: Ditto.
13162         * config/alpha/alpha.c: Ditto.
13163         * config/alpha/vms-crt0-64.c: Ditto.
13164         * config/alpha/vms-crt0.c: Ditto.
13165         * config/alpha/vms-psxcrt0-64.c: Ditto.
13166         * config/alpha/vms-psxcrt0.c: Ditto.
13167         * config/d30v/d30v.h: Ditto.
13168         * config/fr30/fr30.h: Ditto.
13169         * config/rs6000/rs6000.c: Ditto.
13170         * config/stormy16/stormy16.h: Ditto.
13171         * doc/md.texi: Ditto.
13172
13173 2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13174
13175         * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
13176
13177 2002-08-21  Joseph S. Myers  <jsm@polyomino.org.uk>
13178
13179         * c-decl.c (grokdeclarator): Make invalid combinations with long,
13180         short, signed or unsigned into hard errors.  Fixes PR c/4319.
13181         Also make duplicate modifiers such as "short short" into hard
13182         errors.
13183
13184 2002-08-21  Andrew Pinski <pinskia@physics.uc.edu>
13185             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13186
13187         * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
13188         to the actual end.  Add '@end table' and '@table @code'.
13189
13190 2002-08-20  Geoffrey Keating  <geoffk@redhat.com>
13191
13192         * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
13193
13194         * unroll.c (biv_total_increment): Don't try to compute the total
13195         increment for FP BIVs.
13196
13197 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13198
13199         * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
13200         * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
13201         ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13202         * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
13203         * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
13204         * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
13205         (GLOBAL_ASM_OP): Define.
13206         * arm.c (aof_globalize_label): New function.
13207         (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
13208         * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13209         * c4x.c (c4x_globalize_label): New function.
13210         (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
13211         * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
13212         (GLOBAL_ASM_OP): Define.
13213         * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
13214         * darwin-protos.h (darwin_globalize_label): Declare.
13215         * darwin.c (darwin_globalize_label): New function.
13216         * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
13217         (ASM_GLOBALIZE_LABEL): Delete.
13218         (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
13219         * dsp16xx.c (asm_output_common): Use target hook.
13220         * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
13221         * frv.h (ASM_GLOBALIZE_LABEL): Delete.
13222         (GLOBAL_ASM_OP): Define.
13223         * i370.c (i370_globalize_label): New function.
13224         (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
13225         * i370.h (ASM_GLOBALIZE_LABEL): Delete.
13226         * i386.c (ix86_asm_file_end): Use target hook.
13227         * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
13228         (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
13229         * ia64.c (ia64_asm_output_external): Likewise.
13230         * ia64/sysv4.h: Update comment.
13231         * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13232         * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
13233         * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
13234         * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
13235         * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
13236         * mmix-protos.h (mmix_asm_globalize_label): Delete.
13237         * mmix.c (mmix_asm_globalize_label): Likewise.
13238         * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
13239         (GLOBAL_ASM_OP): Define.
13240         * ns32k.c (ns32k_globalize_label): New function.
13241         * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
13242         (ASM_GLOBALIZE_LABEL): Delete.
13243         * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
13244         (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
13245         * pa.c (pa_globalize_label): New function.
13246         * pa.h (ASM_GLOBALIZE_LABEL): Delete.
13247         (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
13248         * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
13249         (GLOBAL_ASM_OP): Define.
13250         (TARGET_ASM_GLOBALIZE_LABEL): Undef.
13251         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
13252         * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
13253         (GLOBAL_ASM_OP): Define.
13254         * v850.c (v850_output_aligned_bss): Use target hook.
13255         * vax.c (vms_globalize_label): New function.
13256         (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
13257         * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
13258         (GLOBAL_ASM_OP): Define.
13259         * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
13260         * doc/tm.texi: Update docs.
13261         * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
13262         target hook.
13263         * final.c (output_alternate_entry_point): Likewise.
13264         * hooks.c (hook_FILEptr_constcharptr_void): New function.
13265         * hooks.h (hook_FILEptr_constcharptr_void): Declare.
13266         * output.h (assemble_global): Delete.
13267         (default_globalize_label): Declare.
13268         * system.h (ASM_GLOBALIZE_LABEL): Poison.
13269         * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
13270         (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
13271         * target.h (gcc_target): Add globalize_label member.
13272         * varasm.c (asm_output_bss, asm_output_aligned_bss,
13273         globalize_decl): Use target hook.
13274         (assemble_global): Delete.
13275         (default_globalize_label): New function.
13276
13277 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13278
13279         * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
13280
13281 2002-08-20  Devang Patel  <dpatel@apple.com>
13282         * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
13283
13284 2002-08-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13285
13286         * arc.c (output_shift): Use stdio instead of asm_fprintf.
13287         * arm.c (thumb_output_function_prologue): Likewise.
13288         * avr.c (print_operand): Likewise.
13289         * c4x.c (c4x_print_operand): Likewise.
13290         * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
13291         ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
13292         * cris.c (cris_target_asm_function_prologue,
13293         cris_asm_output_mi_thunk): Likewise.
13294         * h8300.c (print_operand): Likewise.
13295         * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13296         * ip2k.c (print_operand): Likewise.  Fix format specifier.
13297         * m68hc11.c (asm_print_register, print_operand,
13298         print_operand_address): Use stdio instead of asm_fprintf.
13299         (print_operand_address): Fix format specifier.
13300         * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
13301         ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
13302         asm_fprintf.
13303         * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
13304         * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
13305         * m68k.c (m68k_output_function_prologue,
13306         m68k_output_function_epilogue, print_operand): Likewise.
13307         * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
13308         Likewise.  Fix format specifier.
13309         * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13310         * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13311         * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
13312
13313 2002-08-15  Eric Christopher  <echristo@redhat.com>
13314             Jeff Knaggs  <jknaggs@redhat.com>
13315
13316         * config.gcc (mipsisa64sr71k-elf): New target.
13317         * config/mips/sr71k.md: New file.
13318         * config/mips/mips.md: Use it.
13319         (rot*): Add sr71k specifics.
13320         * config/mips/t-sr71k: New file.
13321         * config/mips/mips.h (sr71k): New cpu.
13322         (TARGET_SR71K): Use it.
13323         (TUNE_SR71K): Ditto.
13324         (GENERATE_BRANCHLIKELY): Ditto.
13325         (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
13326         ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
13327         * config/mips/mips.c (sr71k): New cpu.
13328         (mips_use_dfa_pipeline_interface): Use.
13329
13330 2002-08-15  Eric Christopher  <echristo@redhat.com>
13331             Richard Sandiford <rsandifo@redhat.com>
13332             Aldy Hernandez  <aldyh@redhat.com>
13333             Graham Stott    <grahams@redhat.com>
13334             Michael Meissner  <meissner@redhat.com>
13335             Gavin Romig-Koch  <gavin@redhat.com>
13336             Ken Raeburn  <raeburn@cygnus.com>
13337             Alexandre Oliva <aoliva@redhat.com>
13338
13339         * config.gcc (mips64vr-elf): New target.
13340         * config/mips/5400.md: New file.
13341         * config/mips/5500.md: Ditto.
13342         * config/mips/mips.md: Use them.
13343         (frsqrt): New.
13344         * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
13345         cpus.
13346         (mips_issue_rate): Use them.
13347         (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
13348         (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
13349         * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
13350         cpus.
13351         (TARGET_MIPSx): Use them.
13352         (TUNE_MIPSx): Ditto.
13353         (GETNATE_MULT3_SI): Ditto.
13354         (ISA_HAS_BRANCHLIKELY): Ditto.
13355         (ISA_HAS_CONDMOVE): Ditto.
13356         (ISA_HAS_NMADD_NMSUB): Ditto.
13357         (ISA_HAS_MULHI): New. Ditto.
13358         (ISA_HAS_MULS): Ditto.
13359         (ISA_HAS_MSAC): Ditto.
13360         (ISA_HAS_MACC): Ditto.
13361         (ISA_HAS_ROTR_SI): Ditto.
13362         (ISA_HAS_ROTR_DI): Ditto.
13363         (RTX_COSTS): Use.
13364
13365 2002-08-20  John David Anglin  <dave@hiauly1.hia.nrc.ca>
13366
13367         * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
13368         at head.
13369         (remove_dup_nonsys_dirs): New function.
13370         (remove_dup_dirs): Change argument head to head_ptr.  Remove warnings.
13371         (merge_include_chains): Remove non-system include directories from
13372         quote and bracket include chains when they duplicate equivalent system
13373         directories.
13374         * doc/cpp.texi (-I): Update.
13375         * doc/cppopts.texi (-I): Update.
13376         * doc/install.texi (--with-local-prefix): Further document usage of
13377         this option.
13378         * doc/invoke.texi (-I): Update.
13379
13380 2002-08-20  Richard Henderson  <rth@redhat.com>
13381
13382         * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
13383         (emit_block_move): Split out subroutines.
13384         (emit_block_move_via_movstr): New.
13385         (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
13386         (emit_block_move_libcall_fn): New.  Construct function prototype for
13387         bcopy as well.
13388         (clear_storage): Split out subroutines.
13389         (clear_storage_via_clrstr): New.
13390         (clear_storage_via_libcall): New. Emit bzero as a normal call also.
13391         (clear_storage_libcall_fn): New.  Construct function prototype for
13392         bzero as well.
13393         (emit_push_insn): Use emit_block_move.
13394         (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
13395         (store_constructor): Likewise.
13396
13397 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
13398
13399         * objc/objc-act.c (building_objc_message_expr): Rename to
13400         current_objc_message_selector.
13401
13402 2002-08-19  Ziemowit Laski  <zlaski@apple.com>
13403
13404         * objc/objc-act.c (build_ivar_chain): Remove.
13405         (objc_copy_list): Likewise.
13406         (get_class_ivars): Inline call to removed build_ivar_chain
13407         function.  Save off a clean copy of ivars in the CLASS_OWN_IVARS
13408         slot; use that slot (rather than CLASS_IVARS) when accessing
13409         ivars for base classes.  Call copy_list and chainon instead of
13410         objc_copy_list.
13411         (build_private_template): Call get_class_ivars instead of
13412         build_ivar_chain.
13413         (start_class): Allocate room for the CLASS_OWN_IVARS slot.
13414         (continue_class): Call get_class_ivars instead of
13415         build_ivar_chain.
13416         (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
13417         of DECL_BIT_FIELD (which may have been cleared).
13418         * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
13419
13420 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13421
13422         * genautomata.c (output_translate_vect, output_state_ainsn_table,
13423         output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
13424         in output file.
13425         (output_internal_min_issue_delay_func): Initialize variable in
13426         output file.
13427
13428 2002-08-19  Alexandre Oliva  <aoliva@redhat.com>
13429
13430         * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
13431         (stage2_build, stage3_build, stage4_build): Likewise, to CC.
13432
13433 2002-08-19  Geoffrey Keating  <geoffk@redhat.com>
13434             Steve Ellcey  <sje@cup.hp.com>
13435
13436         * machmode.h (SCALAR_INT_MODE_P): New macro to test for
13437         scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
13438         * explow.c (trunc_int_for_mode): Abort when the mode is not
13439         a scaler integer mode.
13440         * combine.c (expand_compound_operation): Don't expand Vector
13441         or Complex modes into shifts.
13442         (expand_field_assignment): Don't do bitwise arithmatic and
13443         shifts on Vector or Complex modes.
13444         (simplify_comparison): Don't call trunc_int_for_mode
13445         for VOIDmode.
13446         * recog.c (general_operand): Likewise.
13447         (immediate_operand): Likewise.
13448         (nonmemory_operand): Likewise.
13449
13450 2002-08-19  David Edelsohn  <edelsohn@gnu.org>
13451
13452         * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
13453         multi-instruction SImode constant.  Add REG_EQUAL note.
13454         * config/rs6000/rs6000.md (movsi splitter): Use
13455         rs6000_emit_set_const.
13456
13457 2002-08-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13458
13459         * tree-inline.c (initialize_inlined_parameters): Wrap variable in
13460         the macro test controlling its use.
13461
13462 2002-08-18  H.J. Lu  (hjl@gnu.org)
13463
13464         * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
13465         crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
13466         gnu_ld=yes.
13467         (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
13468         i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
13469         s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
13470         xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
13471         here.
13472         (cris-*-linux*): Remove setting thread_file here.
13473
13474 2002-08-18  Neil Booth  <neil@daikokuya.co.uk>
13475
13476         PR preprocessor/7602
13477         * cppinit.c (path_include): Treat the system environment
13478         variables as being cxx_aware.
13479
13480 2002-08-17  Joseph S. Myers  <jsm@polyomino.org.uk>
13481
13482         * c-decl.c (flexible_array_type_p): New function.
13483         (grokdeclarator, finish_struct): Use it.
13484         * doc/extend.texi: Document constraints on use of structures with
13485         flexible array members.
13486
13487 2002-08-17  Richard Sandiford  <rsandifo@redhat.com>
13488
13489         * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
13490         config/mips/t-r3900 (MULTILIB_MATCHES): Define.
13491         * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
13492
13493 2002-08-16  Stan Shebs  <shebs@apple.com>
13494
13495         * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
13496         for ObjC with -fnext-runtime.
13497         * doc/cpp.texi: Document it.
13498
13499 2002-08-16  Janis Johnson  <janis187@us.ibm.com>
13500
13501         * doc/install.texi (Final installation): Replace links to individual
13502         build status pages with a link to a common page that lists them all.
13503
13504 2002-08-16  Sylvain Pion <pion@cs.nyu.edu>
13505
13506         * doc/invoke.texi: Fix typo.
13507
13508 2002-08-16  David Edelsohn  <edelsohn@gnu.org>
13509
13510         * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
13511
13512 2002-08-16  Andrew Haley  <aph@redhat.com>
13513
13514         * tree-inline.c: Add includes for Java inliner.
13515         (remap_decl): Don't handle anonymous types for Java.
13516         (remap_block): Add handling for Java trees.
13517         (copy_scope_stmt): Conditionalize for non-Java use only.
13518         (copy_body_r): Handle Java trees.  Add handling for
13519         LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
13520         (initialize_inlined_parameters):  Handle Java trees.
13521         (declare_return_variable): Likewise.
13522         (expand_call_inline): Handle Java trees.
13523         (walk_tree): Likewise.
13524         (copy_tree_r): Don't handle SCOPE_STMTs for Java.
13525         (add_stmt_to_compound): New function.
13526
13527 2002-08-15  Richard Henderson  <rth@redhat.com>
13528
13529         * Makefile.in (LOOSE_WARN): Remove -fno-common.
13530         (NOCOMMON_FLAG): New substitution point.
13531         (GCC_WARN_CFLAGS): Include it.
13532         * configure.in (ac_checking): Set nocommon_flag.
13533         (nocommon_flag): New substitution point.
13534
13535 2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
13536
13537         * c-tree.h (skip_evaluation): Move declaration...
13538         * c-common.h: ... here.
13539         * c-typeck.c (build_external_ref): Don't assemble_external nor
13540         mark a tree as used if skip_evaluation is set.
13541         * c-parse.in (typeof): New non-terminal to set skip_evaluation
13542         around TYPEOF.
13543         (typespec_nonreserved_nonattr): Use it.
13544
13545 2002-08-15  Douglas B Rupp  <rupp@gnat.com>
13546
13547         * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
13548         (xcoff_debug_hooks): Update end_prologue.
13549         * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
13550         * debug.h (end_prologue): Add file arg.
13551         (end_epilogue): Add line and file args.
13552         (dwarf2out_end_epilogue): Add line and file args.
13553         (vmsdbgout_after_prologue): Remove.
13554         * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
13555         (dwarf2_debug_hooks): Update end_prologue.
13556         * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
13557         (dwarfout_end_prologue): Add file arg.
13558         * final.c (vmsdbgout_after_prologue): Remove
13559         (final_end_function): Update end_epilogue call.
13560         (final_scan_insn): Update end_prologue call.
13561         * sdbout.c (sdbout_end_epilogue): Add line and file args.
13562         (sdbout_end_prologue): Add file arg.
13563         (sdb_debug_hooks): Update end_prologue.
13564         (sdb_begin_prologue): Update sdbout_end_prologue call.
13565         * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
13566         vmsdbgout_end_function.
13567         (vmsdbgout_end_prologue): New function renamed from
13568         vmsdbgout_after_prologue. Call vmsdbgout_source_line.
13569         (vmsdbgout_end_function): New function.
13570         (vmsdbgout_end_epilogue): Add line and file args. Call
13571         vmsdbgout_source_line.
13572         (write_pclines): Write only valid line numbers.
13573         (write_srccorr): Don't write source correlation records if 0 lines.
13574         * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
13575
13576 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
13577
13578         * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
13579         (_Unwind_Internal_Ptr): 32 bit version for use in
13580         read_encoded_value_with_base.
13581         * gcc/unwind-pe.h (read_encoded_value_with_base): Use
13582         _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
13583         right size.
13584
13585 2002-08-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13586
13587         * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
13588         signed/unsigned warnings.
13589
13590         * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
13591         record_reg_classes): Likewise.
13592
13593         * reload.c (reload_inner_reg_of_subreg, push_reload,
13594         find_reloads_address_1): Likewise.
13595
13596 2002-08-15  David Edelsohn  <edelsohn@gnu.org>
13597
13598         * rs6000.c (output_mi_thunk): Return to function section on
13599         TARGET_ELF.
13600
13601         * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
13602
13603 2002-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
13604
13605         * config/s390/s390.c (legitimize_address): Optimize loading
13606         of large displacements.
13607
13608 2002-08-14  Douglas B Rupp  <rupp@gnat.com>
13609
13610         * config/alpha/alpha-protos.h: Update.
13611
13612         * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
13613         (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
13614         (alpha_linkage_symbol_p): New static function.
13615         (print_operand_address): Print linkage operand.
13616
13617         (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
13618         variables.
13619         (reloc_kind): New enum.
13620         (struct alpha_funcs): New struct.
13621         (struct alpha_links): Add reloc_kind field. Rename links_kind field.
13622
13623         (alpha_need_linkage): Rewrite.
13624         (alpha_use_linkage): New global function.
13625         (alpha_write_linkage): Rewrite and make static.
13626         (alpha_write_one_linkage): Rewrite
13627
13628         (alpha_start_function): Remove procedure descriptor output.
13629         (alpha_end_function): Write linkages at end of each function.
13630
13631         * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
13632         (call_vms_1, call_value_vms_1): Rewrite.
13633
13634         * config/alpha/vms.h (ASM_FILE_END): Remove.
13635
13636 2002-08-14  Richard Henderson  <rth@redhat.com>
13637
13638         * ggc-page.c (RTL_SIZE): New.
13639         (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
13640         * rtl.def (BARRIER, NOTE): Pad to 9 slots.
13641
13642 2002-08-14  Richard Henderson  <rth@redhat.com>
13643
13644         * calls.c: Include target.h.
13645         * Makefile.in (calls.o): Update.
13646
13647         * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
13648         * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
13649
13650 2002-08-14  Richard Henderson  <rth@redhat.com>
13651
13652         * Makefile.in (LOOSE_WARN): Add -fno-common.
13653         * c-common.h (constant_string_class_name): Add missing extern.
13654
13655 2002-08-15  Neil Booth  <neil@daikokuya.co.uk>
13656
13657         PR preprocessor/7358
13658         * c-opts.c (check_deps_environment_vars): Ignore main file
13659         for SUNPRO_DEPENDENCIES.
13660         * cppfiles.c (stack_include_file): Ignore main file if
13661         appropriate.
13662         * cpplib.h (struct cpp_options): New member in deps.
13663         * doc/cppenv.texi: Update.
13664
13665 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
13666
13667         PR preprocessor/7526
13668         * cpplib.c (run_directive): Kludge so _Pragma dependency works.
13669
13670 2002-08-14  Nathan Sidwell  <nathan@codesourcery.com>
13671
13672         * doc/invoke.texi (-a): Remove documentation.
13673         (-fprofile-arcs): Remove reference to -a, -ax options.
13674         * doc/gcov.texi (Gcov Data Files): Data might be merged.
13675
13676 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
13677
13678         Fix PR/7566
13679         * c-semantics.c (genrtl_case_label): Don't (mis)use
13680         warning_with_decl.
13681
13682 2002-08-14  Dale Johannesen  <dalej@apple.com>
13683
13684         * explow.c (emit_stack_restore):  Emit memory clobbers
13685         preceding the stack pop, to prevent the scheduler from
13686         moving refs to variable arrays below this pop.
13687         * reload1.c (reload):  Preserve these clobbers for sched2.
13688         * doc/rtl.texi:  Document clobber (mem:BLK (scratch)).
13689
13690 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
13691
13692         * c-opts.c (c_common_post_options): Correct test.
13693
13694 2002-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13695
13696         * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
13697         order in call to fprintf.
13698
13699 2002-08-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13700
13701         * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
13702
13703 2002-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
13704
13705         * reload.c (find_reloads): Handle constraint letters marked by
13706         EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
13707         (alternative_allows_memconst): Likewise.
13708         * reload1.c (maybe_fix_stack_asms): Likewise.
13709         * recog.c (asm_operand_ok, preprocess_constraints,
13710         constrain_operands): Likewise.
13711         * regclass.c (record_operand_costs, record_reg_classes): Likewise.
13712         * local-alloc.c (block_alloc, requires_inout): Likewise.
13713         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
13714
13715         * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
13716         (EXTRA_ADDRESS_CONSTRAINT): Likewise.
13717         * doc/tm.texi: Document these two new target macros.
13718
13719         * config/s390/s390.c (s390_expand_plus_operand): Accept already
13720         valid operands.
13721         (q_constraint): New function.
13722         config/s390/s390-protos.h (q_constraint): Declare it.
13723         config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
13724         (EXTRA_MEMORY_CONSTRAINT): New macro.
13725
13726         * config/s390/s390.md: Throughout the machine description,
13727         replace all instances of the constraint combinations 'Qo'
13728         or 'oQ' with simply 'Q'.
13729
13730 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
13731
13732         * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
13733         * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
13734         (LIBGCC2_CFLAGS): Compile with -mrelax.
13735
13736 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
13737
13738         * doc/invoke.texi: Document -minmax for 68HC12.
13739
13740         * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
13741         ("uminqi3"): Likewise.
13742         ("uminhi3", "umaxhi3"): Likewise.
13743
13744         * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
13745         (TARGET_MIN_MAX): Define.
13746         (TARGET_SWITCHES): New option -minmax/-mnominmax.
13747
13748 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
13749
13750         * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
13751         (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
13752
13753         * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
13754         (ret, declare, farsym): New gas macros.
13755         (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
13756         ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
13757         and declare the symbol far when compiled with -mlong-calls.
13758         (__far_trampoline): New for 68HC12 trampoline code to invoke a
13759         far handler using jsr/bsr.
13760
13761         * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
13762         (jsr): New macro to transform a 'jsr' into a 'call'.
13763
13764 2002-08-14  Stephane Carrez  <stcarrez@nerim.fr>
13765
13766         * doc/invoke.texi: Document -mlong-calls for 68HC12.
13767
13768         * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
13769         -mlong-calls is specified.
13770         (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
13771         assembler directives.
13772         (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
13773         (TARGET_SWITCHES): Add -mlong-calls options.
13774         (current_function_far): Declare.
13775
13776         * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
13777         into account the page register saved on the stack.
13778         (m68hc11_override_options): Take into account -mlong-calls option.
13779         (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
13780
13781         * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
13782         if the function is going to be in 68HC12 banked memory (-mlong-calls).
13783         ("*return_16bit"): Likewise.
13784         ("*return_void"): Likewise.
13785         ("call", "call_value"): Use call for a far function call.
13786
13787 2002-08-14  Neil Booth  <neil@daikokuya.co.uk>
13788
13789         * toplev.c (parse_options_and_default_flags): Don't call
13790         post_options here.
13791         (general_init): Initialize GC, pools and tree hash here,
13792         instead of lang_independent_init.
13793         (lang_independent_init): Rename backend_init.
13794         (do_compile): Call post_options hook; exit early if there
13795         have been errors after switch processing.
13796         (toplev_main): Update.
13797
13798 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
13799
13800         * c-pretty-print.h: Guard against multiple inclusion.
13801         Robustify macros.
13802         (pp_c_attributes): Declare.
13803         * c-pretty-print.c (pp_c_attributes): New function.
13804
13805 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13806
13807         * m68k.c (m68k_output_function_prologue,
13808         m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
13809         and NEWS/MOTOROLA.
13810         * genattrtab.c: Remove dpx2 comment.
13811         * libgcc2.c (__enable_execute_stack): Delete versions for
13812         NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
13813         sony_news/SYSTYPE_BSD.
13814         * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
13815         __gmicro__, __i860__, __NeXT__ and __pyr__.
13816         * rtl.h: Remove convex comment.
13817         * varasm.c: Likewise.
13818
13819 2002-08-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13820
13821         * c-opts.c (lang_flags): Const-ify.
13822         * ra-build.c (undef_table): Likewise.
13823         * ra.c (eliminables): Likewise.
13824
13825 2002-08-14  Gabriel Dos Reis  <gdr@nerim.net>
13826
13827         * tree.h: Guard against multiple inclusion.
13828
13829 2002-08-14  Hans-Peter Nilsson  <hp@bitrange.com>
13830
13831         * reload1.c (reload_cse_simplify): Before checking
13832         REG_FUNCTION_VALUE_P, check REG_P.
13833
13834 2002-08-13  Geoffrey Keating  <geoffk@redhat.com>
13835
13836         * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
13837
13838 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
13839
13840         * c-opts.c (c_common_init_options): Extra braces needed.
13841
13842 Tue Aug 13 17:40:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
13843
13844         * sh.c (sh_init_builtins): Add PARAMS to declaration.
13845         (sh_media_init_builtins, sh_expand_builtin): Likewise.
13846         (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
13847         (sh_expand_binop_v2sf): Likewise.
13848         * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
13849         (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
13850         (sh_initialize_trampoline): Likewise.
13851
13852 2002-08-13  Ulrich Weigand  <uweigand@de.ibm.com>
13853
13854         * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
13855         new condition code modes.
13856         s390.c (s390_match_ccmode_set): Handle those new CC modes.
13857         (s390_select_ccmode): Likewise.
13858         (s390_branch_condition_mask): Likewise.
13859
13860         * s390-protos.h (s390_tm_ccmode): Declare.
13861         s390.c (s390_tm_ccmode): New function.
13862         (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
13863
13864         * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
13865         ("*cmpsi_tm2"): Rename to "*tmsi_ext".
13866         ("*cmpqi_tm2"): Rename to "*tmqi_ext".
13867
13868         ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
13869         "*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
13870         "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
13871         ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
13872         "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
13873
13874         ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
13875         "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
13876         "*cmpqi_ccs_0"): Remove, replace by ...
13877         ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
13878         "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
13879         "*tstqi", "*tstqi_cconly"): ... these new patterns.
13880
13881         ("*cmpsidi_ccs"): Remove, replace by ...
13882         ("*cmpsi_ccs_sign"): ... this new pattern.
13883         ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
13884
13885         ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
13886         ("*cli"): ... this new pattern.
13887
13888         ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
13889         "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
13890         New patterns.
13891         ("adddi3_64"): Rename to "*adddi3_64".
13892         ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
13893         ("adddi3"): Adapt expander.
13894
13895         ("*addsi3_cc"): Allow "general_operand" for operand 2.
13896         ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
13897         "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
13898
13899         ("addhi3", "addqi3"): Remove, replace by ...
13900         ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
13901
13902         ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
13903         "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
13904         ("subdi3"): Replace by insn and splitter "*subdi3_31".
13905         ("subdi3"): New expander.
13906
13907         ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
13908
13909         ("subhi3", "subqi3"): Remove, replace by ...
13910         ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
13911
13912         ("*muldi3_sign"): New pattern.
13913         ("muldi3"): Do not clobber CC.
13914         ("mulsi3"): Likewise.
13915         ("mulsi_6432"): Likewise.
13916
13917 2002-08-13  Denis Chertykov  <denisc@overta.ru>
13918
13919         * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
13920         which can change CC0.
13921
13922 Tue Aug 13 14:49:20 2002  J"orn Rennecke <joern.rennecke@superh.com>
13923
13924         * gcse.c (adjust_libcall_notes): New function.
13925         (do_local_cprop): Use it.  Add fourth parameter.  Changed caller.
13926
13927 2002-08-13  Nathan Sidwell  <nathan@codesourcery.com>
13928
13929         * libgcc2.c (L_bb): Remove unneeded #includes.
13930         (__global_counters, __gthreads_active): Remove unused globals.
13931         (__bb_exit_func): Merge counts into files rather than appending.
13932         * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
13933         (ALL_CFLAGS): ... to here.
13934
13935 2002-08-13  Denis Chertykov  <denisc@overta.ru>
13936
13937         * config/ip2k/ip2k.c (commands_in_file): Variable removed.
13938         (function_epilogue): Don't calculate function size.
13939         (ip2k_set_compare): Don't use lookup_const_double.
13940         (asm_file_start): Initialization of commands_in_file removed.
13941         (asm_file_end): Output of commands_in_file removed.
13942
13943         * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
13944         __INT_MAX__.
13945
13946 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
13947
13948         * c-opts.c (c_common_init_options): Check option array is
13949         sorted if checking enabled.
13950
13951 2002-08-13  Gabriel Dos Reis  <gdr@nerim.net>
13952
13953         * c-pretty-print.c: #include "c-tree.h".
13954         (pp_c_simple_type_specifier): Tweak.
13955         (pp_c_storage_class_specifier): New.
13956         (pp_c_function_specifier): Likewise.
13957         (pp_c_declaration_specifiers): Likewise.
13958         (pp_c_init_declarator): Likewise.
13959         (pp_c_declaration): Likewise.
13960         (pp_c_direct_declarator): Stub.
13961         (pp_c_declarator): Likewise.
13962         (pp_c_parameter_declaration): Likewise.
13963
13964 2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
13965
13966         * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
13967         handle_deferred_opts, sanitize_cpp_opts, defer_opt,
13968         struct deferred_opt): New.
13969         (COMMAND_LINE_OPTIONS): Add -M*.
13970         (missing_arg): Update.
13971         (c_common_decode_option): Handle -M*.
13972         (c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
13973         don't call cpp_post_options.
13974         (c_common_finish, check_deps_environment_vars): Update.
13975         * cppfiles.c (stack_include_file, handle_missing_header): Update.
13976         * cpphash.h (CPP_PRINT_DEPS): Remove.
13977         * cppinit.c: Don't include version.h.
13978         (cpp_create_reader): Don't call deps_init.  Initialize
13979         warn_long_long.
13980         (cpp_read_main_file): Init deps if necessary.
13981         (cpp_destroy): Conditionally free deps.
13982         (cpp_finish): Update.
13983         (no_tgt): Remove.
13984         (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
13985         (cpp_post_options): Rename post_options.
13986         * cpplib.h (struct cpp_options): Remove some dependency options;
13987         move others to a new structure.
13988         (cpp_post_options): Remove.
13989         (cpp_finish): Comment.
13990         * fix-header.c (read_scan_file): Don't call cpp_post_options.
13991
13992 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
13993
13994         * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
13995         ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
13996         MMIX_rR_REGNUM as clobbered.
13997         * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
13998
13999 2002-08-12  Gabriel Dos Reis  <gdr@nerim.net>
14000
14001         * diagnostic.h (output_formatted_scalar): Rename from
14002         output_formatted_integer.
14003         * diagnostic.def: Add DK_DEBUG.
14004         * diagnostic.c (output_decimal): Adjust.
14005         (output_long_decimal): Likewise.
14006         (output_unsigned_decimal): Likewise.
14007         (output_octal): Likewise.
14008         (output_long_octal): Likewise.
14009         (output_hexadecimal): Likewise.
14010         (output_long_hexadecimal): Likewise.
14011         * c-pretty-print.c (pp_c_type_specifier): New function.
14012         (pp_c_specifier_qualifier_list): Likewise.
14013         (pp_c_abstract_declarator): Likewise.
14014         (pp_c_char): Replace pp_format_integer with pp_format_scalar.
14015
14016 2002-08-12  David Edelsohn  <edelsohn@gnu.org>
14017
14018         * doc/trouble.texi (Disappointments): Add static constructor and
14019         destructor dependency information for AIX.
14020
14021 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
14022
14023         * cpphash.h (struct printer): New from cppmain.c.
14024         (cpp_reader): New member.
14025         * cppmain.c (struct printer): Move to cpphash.h.
14026         (options, print): Remove.
14027         (account_for_newlines, print_line, maybe_print_line,
14028         cpp_preprocess_file, setup_callbacks, scan_translation_unit,
14029         scan_translation_unit_trad, cb_line_change, cb_ident,
14030         cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
14031         cb_def_pragma): Make reentrant.
14032
14033 2002-08-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14034
14035         * real.c (ieee_64): Always define.
14036         (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
14037         (dec_h): Not used yet, hide it.
14038         (emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
14039         macro controlling use.
14040         (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
14041
14042 Mon Aug 12 12:48:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
14043
14044         * i386.md (tablejump): Sign extend the operand.
14045         * i386.c (classify_argument): Fix missed case from previous patch.
14046
14047 2002-08-12  Neil Booth  <neil@daikokuya.co.uk>
14048
14049         * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
14050         to c-copts.c.
14051         (warn_multichar): Die.
14052         (cb_register_builtins): Export.
14053         * c-common.h (warn_multichar, preprocess_file): Remove.
14054         (cb_register_builtins): New.
14055         * c-lang.c (c_init): Remove.
14056         (LANG_HOOKS_INIT): Use c_objc_common_init.
14057         * c-lex.c (init_c_lex): Don't canonicalize filename.
14058         * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
14059         (preprocess_file): Make static.  Update for cpplib.
14060         (c_common_decode_option): Remove warn_multichar.  Use in_fname.
14061         (c_common_post_options): Set some cpp options here.
14062         (c_common_init): Move from c-common.c.
14063         * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
14064         * cpplib.h (struct cpp_options): Remove in_fname.
14065         (cpp_preprocess_file): Update.
14066         * cppmain.c (cpp_preprocess_file): Update for new prototypes.
14067
14068 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14069
14070         * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
14071
14072 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14073
14074         * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
14075         backslash in comment preceeding macro definition.
14076         * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
14077         * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
14078         * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
14079
14080 2002-08-12  Hans-Peter Nilsson  <hp@bitrange.com>
14081
14082         * expr.c (store_expr): In condition for checking if value is
14083         generated in TARGET, move call to expr_size last.
14084
14085 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
14086
14087         * c-common.c (c_common_init): Call preprocess_file instead.
14088         (c_common_finish): Move to c-opts.c.
14089         * c-common.h (preprocess_file): new.
14090         * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
14091         check_deps_environment_vars, c_common_finish): New.
14092         (c_common_decode_option): Update for out_fname and dependencies.
14093         * cppinit.c (init_dependency_output, output_deps): Remove.
14094         (cpp_destroy): Update prototype.
14095         (cpp_add_dependency_target): New.
14096         (cpp_read_main_file): Don't overlay a buffer.
14097         (cpp_finish): Take a deps output stream and write deps to it.
14098         Return the error count.
14099         (cpp_post_options): Don't canonicalize out_fname, or do anything
14100         with dependencies.
14101         * cpplib.h (struct cpp_options): Remove out_fname and
14102         preprocess_only.
14103         (cpp_add_dependency_target): New.
14104         (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
14105         * cppmain.c (cpp_preprocess_file): Update prototype.  Don't
14106         set preprocess_only.  Don't handle the output stream directly.
14107
14108 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14109
14110         * dsp16xx.c (print_operand): Fix format specifier.
14111         * dsp16xx.md: Avoid automatic aggregate initialization.
14112         * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
14113         * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
14114         integer constant modifier.
14115         * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
14116         * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
14117         guards.
14118         * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
14119         * v850.c (v850_select_section): Mark parameter with
14120         ATTRIBUTE_UNUSED.
14121         * global.c (global_alloc): Const-ify.
14122         * ra-colorize.c (hardregset_to_string): Fix format specifier.
14123
14124 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14125
14126         * darwin-c.c (darwin_pragma_options): Const-ify.
14127         * darwin.c (machopic_non_lazy_ptr_name,
14128         machopic_validate_stub_or_non_lazy_ptr): Likewise.
14129         (machopic_indirect_data_reference): Wrap variables in macros
14130         controlling their use.
14131         (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
14132         (machopic_select_section): Use parentheses around && within ||.
14133         * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
14134
14135 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14136
14137         * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
14138         mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
14139         ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
14140         ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
14141         mdr_try_remove_redundant_insns, track_w_reload,
14142         mdr_try_wreg_elim): Make function static to match prototype.
14143         * mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
14144         parameter with ATTRIBUTE_UNUSED.
14145
14146 2002-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14147
14148         * arc.c (arc_init): Don't use ISO C style function definitions.
14149         * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
14150         arm_get_strip_length, arm_strip_name_encoding): Likewise.
14151         * avr.h (progmem_section): Likewise.
14152         * h8300.c h8300_asm_insn_count): Likewise.
14153         * m32r.c (init_idents): Likewise.
14154         * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
14155         * sh.c (sh_cfun_interrupt_handler_p): Likewise.
14156         * xtensa.c (xtensa_build_va_list): Likewise.
14157
14158 2002-08-11  Neil Booth  <neil@daikokuya.co.uk>
14159
14160         * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
14161         * c-opts.c (parse_option): Rename find_opt.
14162         (set_std_c99): New function.
14163         (COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
14164         (missing_arg): Remove OPT_std_bad.  Handle -o.
14165         (c_common_decode_option): Handle input and output file names,
14166         -o and -remap.  Clean up -std= handling.
14167         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
14168         (cpp_handle_option): Similarly.  Don't handle filenames.
14169
14170 Sun Aug 11 14:43:17 CEST 2002  Jan Hubicka  <jh@suse.cz>
14171
14172         * i386.c (classify_argument): Fix computing of field's offsets.
14173
14174 2002-08-11  Andreas Jaeger  <aj@suse.de>
14175
14176         PR target/7531:
14177         * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
14178
14179 2002-08-10  Ziemowit Laski  <zlaski@apple.com>
14180
14181         * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
14182         reference to clk_objective_c with flag_objc.
14183         * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
14184         Likewise.
14185         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
14186
14187 2002-08-10  Neil Booth  <neil@daikokuya.co.uk>
14188
14189         * c-opts.c (set_std_cxx98, set_std_c89): New.
14190         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
14191         (c_common_decode_option): Handle new switches from cppinit.c.
14192         Add -std=gnu++98.
14193         * cppinit.c (set_lang): Rename cpp_set_lang.  Export.
14194         (no_arg, no_num): Remove.
14195         (COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
14196         switches apart from -lang-objc and lang-asm.
14197         (cpp_handle_option): Similarly.
14198         * cpplib.h (cpp_set_lang): New.
14199         * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
14200         -std=gnu++98.
14201         * objc/lang-specs.h: Remove -ansi.
14202
14203 Sat Aug 10 19:59:43 CEST 2002  Jan Hubicka  <jh@suse.cz>
14204                                Graham Stott
14205
14206         * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
14207         errors.
14208
14209 2002-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14210
14211         * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
14212         emit_jump_insn): Fix uninitialized variable.
14213         * gcov.c (init_line_info): Likewise.
14214         * genautomata.c (transform_3): Add braces around ambiguous
14215         else.
14216         * ifcvt.c (cond_exec_process_insns): Mark parameter with
14217         ATTRIBUTE_UNUSED.
14218         * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
14219         * regrename.c (copyprop_hardreg_forward): Fix uninitialized
14220         variable.
14221
14222         * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
14223         warnings in output files.
14224
14225 2002-08-09  Ziemowit Laski  <zlaski@apple.com>
14226
14227         * c-common.c (flag_objc): New.
14228         * c-common.h (c_language_kind): Get rid of clk_objective_c
14229         enum value.
14230         (flag_objc): New extern declaration.
14231         * c-decl.c (implicitly_declare): Call objc_check_decl
14232         instead of maybe_objc_check_decl.
14233         (finish_decl): Likewise.
14234         (grokfield): Likewise.
14235         (finish_struct): Likewise.
14236         * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
14237         (maybe_objc_comptypes): Rename to objc_comptypes.
14238         (maybe_building_objc_message_expr): Rename to
14239         objc_message_selector.
14240         * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
14241         replace with flag_objc as needed.
14242         * c-opts.c (c_common_init_options): Likewise.
14243         (c_common_decode_option): Likewise.
14244         * c-parse.in (init_reswords): Likewise.
14245         * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
14246         (maybe_objc_comptypes): Rename to objc_comptypes.
14247         (maybe_building_objc_message_expr): Rename to
14248         objc_message_selector.
14249         * c-typeck.c (comptypes): Call objc_comptypes instead of
14250         maybe_objc_comptypes, and/or objc_message_selector instead of
14251         maybe_building_objc_message_expr.
14252         (comp_target_types): Likewise.
14253         (convert_for_assignment): Likewise.
14254         (warn_for_assignment): Likewise.
14255         * cppinit.c (init_builtins): Set __OBJC__ manifest constant
14256         independently of those for other languages.
14257         * objc/objc-act.c (maybe_objc_comptypes): Delete.
14258         (maybe_objc_check_decl): Delete.
14259         (maybe_building_objc_message_expr): Rename to
14260         objc_message_selector.
14261         * objc/objc-lang.c (objc_init_options): Use clk_c instead of
14262         clk_objective_c; set flag_objc flag.
14263
14264 2002-08-09  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>
14265
14266         * ifcvt.c (find_if_case_2): Test correct basic block for size.
14267
14268 2002-08-09  Dale Johannesen  <dalej@apple.com>
14269
14270         * config/rs6000/rs6000.md: Add sibcall patterns.
14271         * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL):  Define.
14272         * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
14273         Rewritten to handle sibcalls.
14274         * config/rs6000/rs6000.c (function_ok_for_sibcall):  New.
14275         * config/rs6000/rs6000-protos.h (function_ok_for_sibcall):  New.
14276
14277 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
14278
14279         * profile.c (da_file_name): New static var.
14280         (init_branch_prob): Initialize it.
14281         (end_branch_prob): Remove da file.
14282
14283         * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
14284         * configure.in (coverage_flags): Default to nothing.
14285         * configure: Rebuilt.
14286
14287 2002-08-09  Neil Booth  <neil@daikokuya.co.uk>
14288
14289         * Makefile.in (c-opts.o): Update
14290         * c-opts.c: Include intl.h.
14291         (print_help): Move from cppinit.c.  Remove unused options.
14292         (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
14293         (missing_arg): Complain for switches without an argument.
14294         (c_common_decode_option): Reject missing joined arguments.
14295         Handle new switches from cppinit.c.
14296         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
14297         (cpp_handle_option): Similarly.
14298         (print_help): Moved to c-opts.c.
14299         * cpplib.h (struct cpp_options): Remove help_only.
14300         * gcc.c (cpp_unique_options): Remove -$.
14301         * doc/cppopts.texi: Undocument -h.
14302
14303 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
14304
14305         * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
14306         legitimate constant.
14307         (legitimate_pic_operand_p): Neither pic operand.
14308         (legitimate_address_p): But legitimate address.
14309         (get_thread_pointer): Generate MEM/u instead of CONST around
14310         UNSPEC_TP.
14311         (print_operand): Remove printing of UNSPEC_TP.
14312         (print_operand_address): And print it here.
14313
14314 2002-08-08  Devang Patel  <dpatel@apple.com>
14315
14316         * objc/objc-act.c (build_selector_translation_table): Issue warning,
14317         when  -Wselector is used,if method for which selector is being
14318         created does not exist.
14319
14320 2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
14321
14322         * config/sh/sh.c (prepare_move_operands): Only call
14323         target_reg_operand if TARGET_SHMEDIA.
14324
14325 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
14326
14327         * config/rs6000/rs6000.h, config/rs6000/aix.h,
14328         config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
14329         two patches.
14330         * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
14331
14332 2002-08-08  Lars Brinkhoff  <lars@nocrew.org>
14333             Richard Henderson  <rth@redhat.com>
14334
14335         * emit-rtl.c (gen_rtx_REG): After reload, only return
14336         frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
14337
14338 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
14339
14340         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
14341         * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
14342         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
14343         macro.
14344
14345 2002-08-08  Adam Nemet  <anemet@lnxw.com>
14346
14347         * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
14348         register.
14349         (thumb_expand_prologue): Likewise.
14350         (thumb_output_function_prologue): Likewise.
14351         * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
14352         the additional push of the PIC register.
14353
14354 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
14355
14356         * configure.in (enable_coverage): New enable switch.
14357         * configure: Rebuilt.
14358         * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
14359         (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
14360         (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
14361         (mostlyclean): Remove coverage files.
14362         * doc/install.texi: Document enable_coverage.
14363
14364         * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
14365         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
14366         * f/Make-lang.in (f.mostlyclean): Remove coverage files.
14367         * java/Make-lang.in (java.mostlyclean): Remove coverage files.
14368         * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
14369         * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
14370         files.
14371
14372 2002-08-08  Neil Booth  <neil@daikokuya.co.uk>
14373
14374         * c-opts.c (cpp_opts): New.
14375         (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
14376         (c_common_decode_options): Handle cpplib switches.
14377         (c_common_init_options): Set cpp_opts.
14378         * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
14379         (cpp_handle_option): Similarly.
14380
14381 2002-08-08  David Edelsohn  <edelsohn@gnu.org>
14382
14383         * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
14384         (TARGET_ALTIVEC_ABI): Same.
14385         (TARGET_ALTIVEC_VRSAVE): Same.
14386
14387         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
14388         icode not CODE_FOR_nothing.  Change switch to if.
14389
14390 2002-08-08  Alan Modra  <amodra@bigpond.net.au>
14391
14392         * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
14393
14394 2002-08-08  Jakub Jelinek  <jakub@redhat.com>
14395
14396         * stor-layout.c (place_union_field): For bitfields if
14397         PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
14398         TYPE_USER_ALIGN.
14399
14400 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14401
14402         * pa.c (struct deferred_plabel): Constify name field.
14403
14404 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
14405
14406         * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
14407
14408 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
14409
14410         * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
14411         local_prefix are the same.
14412         * configure: Rebuilt.
14413
14414 2002-08-07  Jakub Jelinek  <jakub@redhat.com>
14415             Richard Henderson  <rth@redhat.com>
14416
14417         * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
14418         to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
14419         ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
14420         (place_field): Likewise.
14421         * config/i386/i386.c (x86_field_alignment): Don't check
14422         DECL_USER_ALIGN here.
14423         * config/rs6000/rs6000.c (rs6000_field_alignment): New.
14424         * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
14425         prototype.
14426         * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
14427         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
14428         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
14429         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
14430         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
14431         * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
14432
14433 2002-08-07  Neil Booth  <neil@daikokuya.co.uk>
14434
14435         * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
14436         * c-common.c: Don't include tree-inline.h.
14437         (c_common_init_options, c_common_post_options): Move to c-opts.c.
14438         * c-common.h (c_common_decode_option): New.
14439         * c-decl.c (c_decode_option): Remove.
14440         * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
14441         * c-opts.c: New file.
14442         * c-tree.h (c_decode_option): Remove.
14443         * doc/passes.texi: Update.
14444         * objc/objc-act.c (objc_decode_option): Remove.
14445         * objc/objc-act.h (objc_decode_option): Remove.
14446         * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
14447         c_common_decode_option.
14448
14449 2002-08-07  Chris Demetriou  <cgd@broadcom.com>
14450
14451         * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
14452         dependency on TARGET_DOUBLE_FLOAT.
14453
14454 2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
14455
14456         * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
14457         overwrite callee-save registers.  Fix comment.
14458
14459 2002-08-06  Chris Demetriou  <cgd@broadcom.com>
14460
14461         * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
14462         in target_flags based on ISA, if it was not set on the command
14463         line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
14464         support Branch Likely instructions.
14465         * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
14466         (TARGET_BRANCHLIKELY): Likewise.
14467         (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
14468         (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
14469         ISA_HAS_BRANCHLIKELY.
14470         (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
14471         * doc/invoke.texi: Document new MIPS -mbranch-likely and
14472         -mno-branch-likely options.
14473
14474 2002-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14475
14476         * ip2k.c (ip2k_set_compare): Add missing iteration variable.
14477
14478         * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
14479         $(GCONFIG_H).
14480
14481 2002-08-06  Aldy Hernandez  <aldyh@redhat.com>
14482
14483         * c-decl.c (duplicate_decls): Error out for incompatible TLS
14484         declarations.
14485
14486         * testsuite/gcc.dg/tls/diag-3.c: New.
14487
14488 2002-08-06  Dale Johannesen  <dalej@apple.com>
14489
14490         * c-common.c (fname_decl): Use line number 0 for
14491         __func__, to avoid confusing debuggers.
14492
14493 2002-08-06  Nathan Sidwell  <nathan@codesourcery.com>
14494
14495         * gcov.c: Tidy.
14496         (struct line_info, struct coverage): New structures.
14497         (gcov_file_name, gcov_file): Remove globals.
14498         (output_data): Take source file parameter. Fix memory leak. Break
14499         up into ...
14500         (init_line_info, output_line_info, make_gcov_file_name,
14501         accumulate_branch_counts): ... here.
14502         (calculate_branch_probs, function_summary): Adjust.
14503         (main): Adjust.
14504         (function_*): Remove global variables.
14505
14506 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
14507
14508         * dwarf2out.c: Remove unused macros.
14509
14510 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
14511
14512         * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
14513
14514 2002-08-06  Neil Booth  <neil@daikokuya.co.uk>
14515
14516         * cppinit.c (struct lang_flags): Rename trigraphs std.
14517         (set_lang): Update.
14518         * cpplib.h (struct cpp_options): New member std.
14519         * cppmacro.c (_cpp_builtin_macro_text): Use std.
14520         (collect_args): Flag whether to swallow a possible future
14521         comma pasted with varargs.
14522         (replace_args): Use this flag.
14523         * doc/cpp.texi: Update varargs extension documentation.
14524
14525 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
14526
14527         * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
14528
14529 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
14530
14531         * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
14532         and MODE_CLASS_INT modes.
14533
14534 2002-08-06  Jakub Jelinek  <jakub@redhat.com>
14535
14536         * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
14537         --{enable,disable}-threads is given to configure.
14538         (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
14539         x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
14540         powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
14541         s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
14542         Remove thread_file setting here.
14543
14544 2002-08-06  David Edelsohn  <edelsohn@gnu.org>
14545
14546         * doc/install.texi (Binaries): Update Bull Freeware URL.
14547
14548 2002-08-06  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14549
14550         * doc/gcc.texi (Top): Rename Index to Keyword Index.
14551
14552 2002-08-05  Nathan Sidwell  <nathan@codesourcery.com>
14553
14554         * gcov.c (output_data): Round to % to nearest, tweak formatting.
14555
14556 2002-08-05  Jakub Jelinek  <jakub@redhat.com>
14557
14558         * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
14559         of the operands into MINUS_EXPR if code is PLUS_EXPR.
14560
14561 2002-08-05  Douglas B Rupp  <rupp@gnat.com>
14562
14563         * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
14564         * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
14565         drectve_section): Define.
14566         * config/i386/t-interix: Replace interix.o rule with winnt.o.
14567         * config/i386/interix.c: Remove.
14568
14569 2002-08-05  Geoffrey Keating  <geoffk@redhat.com>
14570
14571         * attribs.c: Don't include obstack.h.
14572         * builtins.c: Likewise.
14573         * cfganal.c: Likewise.
14574         * cfgbuild.c: Likewise.
14575         * cfgcleanup.c: Likewise.
14576         * emit-rtl.c: Likewise.
14577         * loop.c: Likewise.
14578         * stmt.c: Likewise.
14579
14580         * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
14581
14582 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
14583
14584         * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
14585
14586 2002-08-04  Chris Demetriou  <cgd@broadcom.com>
14587
14588         * doc/invoke.texi: Remove duplicated paragraph describing
14589         TARGET_SWITCHES.
14590
14591 2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
14592
14593         * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
14594         * collect2.h (permanent_obstack): Delete declaration.
14595         * collect2.c (permanent_obstack): Delete definition.
14596         (main): Don't initialize permanent_obstack.  Use xstrdup instead.
14597         * expr.c: Don't include obstack.h.
14598         (permanent_obstack): Delete declaration.
14599         * function.c: Don't include obstack.h.
14600         (permanent_obstack): Delete declaration.
14601         * integrate.c: Don't include obstack.h.
14602         (function_maybepermanent_obstack): Delete declaration.
14603         * print-tree.c (debug_tree): Use x*alloc not permalloc.
14604         * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
14605         * tlink.c (pfgets): Use xstrdup not permanent_obstack.
14606         * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
14607         * tree.h: Rename init_obstacks to init_ttree.  Remove declarations
14608         of permalloc, expralloc, perm_calloc.
14609         * tree.c (permanent_obstack): Delete definition.
14610         (init_ttree): Rename from init_obstacks.
14611         (permalloc): Delete.
14612         (perm_calloc): Delete.
14613         (dump_tree_statistics): Don't print information about
14614         permanent_obstack.
14615         * varasm.c (assemble_start_function): Use xstrdup instead of
14616         permalloc/strcpy.
14617         (assemble_variable): Likewise.
14618         * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
14619         permalloc.
14620         (unicosmk_add_extern): Likewise.
14621         * config/c4x/c4x.c (c4x_external_ref): Likewise.
14622         (c4x_global_label): Likewise.
14623         * config/frv/frv.c (frv_encode_section_info): Likewise.
14624         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
14625         (i386_pe_record_exported_symbol): Likewise.
14626         * config/mips/mips.c (mips_output_external): Likewise.
14627         (mips_output_external_libcall): Likewise.
14628         * config/pa/pa.c: (permanent_obstack): Delete declaration.
14629         (output_call): Use ggc_strdup instead of allocating on
14630         permanent_obstack.
14631         * config/romp/romp.c: Include ggc.h.
14632         (get_symref): Don't declare permanent_obstack, use ggc_strdup
14633         intead of permanent_obstack.
14634         * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
14635         instead of permalloc.
14636         * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
14637         instead of permalloc
14638         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
14639         instead of permalloc.
14640         * config/vax/vax.c (vms_check_external): Use xmalloc instead of
14641         permalloc.
14642
14643 2002-08-04  Bernd Schmidt  <bernds@redhat.com>
14644
14645         Contribute a port developed primarily by Michael Meissner,
14646         Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
14647         * config.gcc: Add frv-elf target.
14648         * config/frv/cmovd.c: New file.
14649         * config/frv/cmovh.c: New file.
14650         * config/frv/cmovw.c: New file.
14651         * config/frv/frv-abi.h: New file.
14652         * config/frv/frv-asm.h: New file.
14653         * config/frv/frv-modes.def: New file.
14654         * config/frv/frv-protos.h: New file.
14655         * config/frv/frv.c: New file.
14656         * config/frv/frv.h: New file.
14657         * config/frv/frv.md: New file.
14658         * config/frv/frvbegin.c: New file.
14659         * config/frv/frvend.c: New file.
14660         * config/frv/lib1funcs.asm: New file.
14661         * config/frv/media.h: New file.
14662         * config/frv/modi.c: New file.
14663         * config/frv/t-frv: New file.
14664         * config/frv/uitod.c: New file.
14665         * config/frv/uitof.c: New file.
14666         * config/frv/ulltod.c: New file.
14667         * config/frv/ulltof.c: New file.
14668         * config/frv/umodi.c: New file.
14669         * config/frv/xm-frv.h: New file.
14670
14671         * config/frv/media.h: Removed again.
14672
14673 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
14674
14675         * gcov.c (bb_file_time): New static variable.
14676         (object_directory): May also be object file.
14677         (preserve_paths): New static variable.
14678         (print_usage): Adjust.
14679         (options): Adjust.
14680         (process_args): Adjust.
14681         (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
14682         file. Find modification date on bb file.
14683         (read_profile): Don't rewind a NULL file.
14684         (format_hwint): New static function.
14685         (function_summary): Use format_hwint.
14686         (output_data): SOURCE_FILE_NAME is never relative to
14687         OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
14688         mangling. Adjust output format to make it more machine readable.
14689         * doc/gcov.texi: Document & clarify semantics.
14690
14691 2002-08-04  Joseph S. Myers  <jsm@polyomino.org.uk>
14692
14693         * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
14694
14695 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
14696
14697         * gcc.c (cc1_options): Pass output file as auxbase when
14698         appropriate.
14699         * profile.c (init_branch_prob): FILENAME has already had ending
14700         stripped.
14701         * final.c (end_final): Likewise.
14702         * toplev.c (aux_base_name): New global.
14703         (compile_file): Pass aux_base_name to init init_branch_prob and
14704         end_final.
14705         (independent_decode_option, case 'a'): New auxinfo options.
14706         (case 'd'): Protect against mising basename.
14707         (do_compile): Initialize aux_base_name.
14708         * toplev.h (aux_base_name): New global.
14709         * doc/invoke.texi: Adjust documentation.
14710
14711 2002-08-04  Nathan Sidwell  <nathan@codesourcery.com>
14712
14713         * config/i386/i386.c (x86_field_alignment): Remove duplicate test
14714         of TARGET_ALIGN_DOUBLE.
14715
14716 2002-08-04  Gabriel Dos Reis  <gdr@nerim.net>
14717
14718         * diagnostic.c (inform): New function.
14719         * diagnostic.h (inform): Declare.
14720
14721 2002-08-03  David Edelsohn  <edelsohn@gnu.org>
14722
14723         * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
14724         (movhi_internal): Same.
14725         (movqi_internal): Same.
14726         (movdi_internal64): Same.
14727
14728         * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
14729
14730         * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
14731         (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
14732         (COMMON_ASM_OP): Define.
14733         (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
14734         Use ALIGN parameter.
14735         (LOCAL_COMMON_ASM_OP): Define.
14736         (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.
14737
14738 2002-08-03  Roger Sayle  <roger@eyesopen.com>
14739
14740         * builtins.def: Define new builtin functions exp, expf, expl,
14741         log, logf and logl (and their __builtin_* variants).
14742         * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
14743         Define exp_optab and log_optab.
14744         * optabs.c (init_optans): Initialize exp_optab and log_optab.
14745         * genopinit.c (optabs): Implement exp_optab and log_optab
14746         using exp?f2 and log?f2 patterns.
14747         * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
14748         and BUILT_IN_LOG* using exp_optab and log_optab respectively.
14749         (expand_builtin): Ignore the new builtins (and all cos and
14750         sin variants) when not optimizing.  Expand new builtins via
14751         expand_builtin_mathfn when flag_unsafe_math_optimizations.
14752
14753         * doc/extend.texi: Document new exp and log builtins.
14754         * doc/md.texi: Document new exp?f2 and log?f2 patterns
14755         (and previously undocumented cos?f2 and sin?f2 patterns).
14756
14757 2002-08-03  Jason Merrill  <jason@redhat.com>
14758
14759         * explow.c (int_expr_size): New fn.
14760         * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
14761         * expr.h: Declare it.
14762
14763 2002-08-02  Krister Walfridsson  <cato@df.lth.se>
14764
14765         * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
14766         gengtype-* dependencies.
14767
14768 2002-08-02  Eric Christopher  <echristo@redhat.com>
14769
14770         * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
14771         * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
14772         #ifndef to #undef.
14773         (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
14774
14775 2002-08-02  David Edelsohn  <edelsohn@gnu.org>
14776
14777         PR optimize/7067
14778         * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
14779         small if optimizing for size.
14780
14781 2002-08-02  Daniel Jacobowitz  <drow@mvista.com>
14782
14783         * configure.in (FORBUILD): Use $build_alias.
14784         * configure: Regenerated.
14785
14786 2002-08-02  Richard Sandiford  <rsandifo@redhat.com>
14787
14788         * config.gcc: Don't include mips/abi64.h in $tm_file.
14789         * hard-reg-set.h (call_really_used_regs): Declare.
14790         * config/mips/abi64.h: Remove file.
14791         * config/mips/linux.h,
14792         * config/mips/iris6.h: Don't include it.
14793         * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
14794         * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
14795         (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
14796         FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
14797         FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
14798         Bring across definitions from abi64.h.
14799         (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
14800         (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
14801         (struct mips_args): Use it.
14802         * config/mips/mips.c (mips_conditional_register_usage): Define.
14803
14804 2002-08-02  Jason Merrill  <jason@redhat.com>
14805
14806         * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
14807         * langhooks.c (lhd_expr_size): Define default.
14808         * langhooks.h (struct lang_hooks): Add expr_size.
14809         * explow.c (expr_size): Call it.
14810         * expr.c (store_expr): Don't copy an expression of size zero.
14811         (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
14812         to store.
14813         * Makefile.in (builtins.o): Depend on langhooks.h.
14814
14815 2002-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14816
14817         * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
14818         * ra-debug.c: Include "tm_p.h".
14819         * ra-rewrite.c (is_partly_live_1): Change return type to bool.
14820
14821 2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>
14822
14823         * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
14824         when not honoring signalling NaNs.
14825         (simplify_ternary_operation): a == b has a definite value
14826         when not honoring NaNs.
14827
14828 2002-08-02  Jason Merrill  <jason@redhat.com>
14829
14830         * gdbinit.in (pct): New macro.
14831
14832 2002-08-01  Stan Shebs  <shebs@apple.com>
14833             Andreas Tobler  <toa@pop.agri.ch>
14834
14835         * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
14836         plays nice with Darwin headers.
14837         (_BSD_RUNE_T_DEFINED_): Likewise.
14838
14839 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
14840
14841         * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
14842         * cppinit.c (cpp_post_options): Likewise.
14843
14844         * cppexp.c (cpp_classify_number): Suppress -Wtraditional
14845         warning about 'LL' suffix (but not 'ULL' etc) when
14846         -Wno-long-long is in effect.
14847
14848         * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
14849         Check for failing time()/localtime(), issue a warning, and
14850         make __TIME__ and __DATE__ expand to fallback strings.
14851
14852         * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
14853         and __TIME__ when the date and time cannot be determined.
14854
14855 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
14856
14857         * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
14858
14859 2002-08-01  Daniel Jacobowitz  <drow@mvista.com>
14860
14861         * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
14862
14863 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
14864
14865         * config.gcc (mipsisa64sb1-*-elf*): New configuration.
14866         (mipsisa64sb1el-*-elf*): Likewise.
14867         * config/mips/mips.c (mips_cpu_info_table): Add sb1.
14868         * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
14869         (TARGET_SB1, TUNE_SB1): New macros.
14870         * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
14871         -mtune flags.
14872
14873 2002-08-01  David Edelsohn  <edelsohn@gnu.org>
14874
14875         * varasm.c (asm_emit_uninitialized): Return false if global BSS
14876         and ASM_EMIT_BSS not supported by target.
14877         (assemble_variable): Do not duplicate uninitialized logic.
14878         Fall through if asm_emit_uninitialized failed.
14879
14880 2002-08-01  Chris Demetriou  <cgd@broadcom.com>
14881
14882         * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
14883
14884 2002-08-02  Alan Modra  <amodra@bigpond.net.au>
14885
14886         * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
14887         (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
14888
14889         * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
14890         HOST_BITS_PER_WIDE_INT == 64.
14891
14892 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14893
14894         * df.c (df_insn_table_realloc): Change parameter to unsigned.
14895         * optabs.c (expand_binop): Make variable unsigned.
14896         * simplify-rtx.c (simplify_subreg): Likewise.
14897         * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
14898
14899 2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
14900
14901         * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
14902
14903 2002-08-01  Richard Henderson  <rth@redhat.com>
14904
14905         * toplev.c (parse_options_and_default_flags): Don't set
14906         flag_reorder_blocks for -Os.
14907
14908         * config/avr/avr.c (avr_optimization_options): Remove.
14909         * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
14910         * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
14911         * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
14912
14913 2002-08-01  H.J. Lu <hjl@gnu.org>
14914             Richard Henderson  <rth@redhat.com>
14915
14916         * output.h (DECL_READONLY_SECTION): Remove.
14917         (decl_readonly_section): Declare.
14918         * varasm.c (decl_readonly_section): New.
14919         (default_section_type_flags, default_select_section): Use it.
14920         * config/arm/pe.c (arm_pe_unique_section): Likewise.
14921         * config/i386/interix.c (i386_pe_unique_section): Likewise.
14922         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
14923         * config/mcore/mcore.c (mcore_unique_section): Likewise.
14924         * config/mips/mips.c (mips_unique_section): Likewise.
14925
14926 2002-08-01  Richard Henderson  <rth@redhat.com>
14927
14928         * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
14929         refers to a subroutine parameter.
14930
14931 2002-08-01  Jakub Jelinek  <jakub@redhat.com>
14932
14933         * varasm.c (assemble_visibility): Strip name encoding.
14934
14935 2002-08-01  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
14936
14937         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
14938         (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
14939         when there is no frame pointer.
14940         (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
14941         registers properly.
14942         * config/ns32k/__unorddf2.c: New file.
14943         * config/ns32k/__unordsf2.c: New file.
14944         * config/ns32k/t-ns32k: New file.
14945         * config.gcc (ns32k-*-netbsd*): Use it.
14946
14947 2002-08-01  Aldy Hernandez  <aldyh@redhat.com>
14948
14949         * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
14950
14951 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
14952
14953         * c-common.c (__GXX_ABI_VERSION): Correct spelling.
14954
14955 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
14956
14957         * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
14958
14959 2002-08-01  Richard Sandiford  <rsandifo@redhat.com>
14960
14961         * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
14962
14963 2002-08-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14964
14965         * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
14966         n_sets): Removed.
14967         (expr_hash_table, set_hash_table): Type changed to ...
14968         (struct hash_table): New type.
14969         (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
14970         insert_expr_in_table, insert_set_in_table, compute_hash_table,
14971         dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
14972         compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
14973         (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
14974         (alloc_hash_table): New.
14975         (free_set_hash_table, free_expr_hash_table): Merged to ...
14976         (free_hash_table): New.
14977         (compute_set_hash_table, compute_expr_hash_table): Merged to ...
14978         (compute_hash_table_work): New.
14979         (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
14980         find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
14981         pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
14982         one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
14983         hoist_code, one_code_hoisting_pass,
14984         trim_ld_motion_mems): Altered due to changed type of hash tables.
14985
14986 2002-08-01  Zack Weinberg  <zack@codesourcery.com>
14987
14988         * final.c (output_alternate_entry_point):
14989         If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
14990
14991 2002-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14992
14993         * objc/objc-act.c (encode_complete_bitfield): Add prototype and
14994         avoid ISO C style function definition.
14995
14996         * expr.c (expand_assignment): Delete unused variable.
14997
14998 2002-08-01  Toon Moene  <toon@moene.indiv.nluug.nl>
14999
15000         * c-common.c (cb_register_builtins): Set
15001         __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
15002         is given, and to 0 otherwise.
15003         * combine.c (simplify_if_then_else): HONOR_NANS
15004         implies FLOAT_MODE_P.
15005
15006 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15007
15008         * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
15009         (cpp_handle_option): Don't handle it.
15010         (print_help): Update.
15011         * doc/cppopts.texi: Update.
15012
15013 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15014
15015         * c-common.c (cb_register_builtins): If C++, define
15016         __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
15017         * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
15018 cp:
15019         * lang-specs.h: Simplify in accordance with new code in
15020         c-common.c.
15021
15022 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
15023
15024         * c-common.c: Define all C/ObjC/C++ warning and flag variables.
15025         * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
15026         * c-decl.c: Move all warning and flag variables to c-common.c.
15027         * c-format.c: Move all warning variables to c-common.c.
15028         * c-tree.h: Move all warning and flag declarations to c-common.h.
15029         * objc/objc-act.c: Move all warning variables to c-common.c.
15030         (flag_warn_protocol): Rename warn_protocol.
15031
15032 2002-07-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>
15033
15034         * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
15035
15036 2002-07-31  Graham Stott  <graham.stott@btinternet.com>
15037
15038         * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
15039         .section prefix.
15040
15041 2002-07-31  Stan Shebs  <shebs@apple.com>
15042
15043         * config.gcc (i[34567]86-*-darwin*): New configuration.
15044         * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
15045         defining.
15046         (TARGET_ENCODE_SECTION_INFO): Ditto.
15047         (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
15048         * config/darwin.c (machopic_indirect_data_reference): Remove
15049         setting of RTX_UNCHANGING_P.
15050         (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
15051         not to be applied to sums.
15052         * config/i386/t-darwin: New file.
15053         * config/i386/darwin.h: New file.
15054         * config/i386/i386.h (TARGET_MACHO): Add default definition.
15055         * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
15056         * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
15057         label and not the GOT add.
15058         (constant_address_p): For Mach-O, seeing a CONST is enough.
15059         (legitimate_pic_address_disp_p): Add a Mach-O case.
15060         (legitimate_address_p): Also test machopic_operand_p if Mach-O.
15061         (legitimize_pic_address): Use generic Mach-O code to legitimize.
15062         (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
15063         if outputting a difference.
15064         (ix86_output_addr_diff_elt): Add Mach-O case.
15065         (ix86_expand_move): Similarly.
15066         (ix86_expand_call): Similarly.
15067         (current_machopic_label_num): New global.
15068         (machopic_output_stub): New function.
15069         (ix86_value_regno): New function.
15070         (ix86_function_value): Use it instead of VALUE_REGNO.
15071         (ix86_libcall_value): Ditto.
15072         * config/i386/unix.h (VALUE_REGNO): Remove.
15073
15074 2002-07-31  Graham Stott  <grahas@btinternet.com>
15075
15076         * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
15077         hash for LABEL_REF's.
15078
15079 2002-07-31  Graham Stott  <grahams@btinternet.com>
15080
15081         * config/rs6000/rs6000.c (spe_init_builtins,
15082         altivec_init_builtins, rs6000_common_init_builtins):
15083         Replace ANSI with K&R function def.
15084
15085 2002-07-31  David Edelsohn  <edelsohn@gnu.org>
15086
15087         * rs6000.c (validate_condition_mode): Test flag_finite_math_only
15088         for CCFPmode.
15089
15090 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
15091
15092         * config/mips/crtn.asm: Don't use __mips16 to determine the
15093         return-address offset.  Define RA to a suitable temporary
15094         register for the return address.
15095
15096 2002-07-31  Richard Sandiford  <rsandifo@redhat.com>
15097
15098         * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
15099         constraints to 'd'.
15100
15101 2002-07-30  Chris Demetriou  <cgd@broadcom.com>
15102
15103         * config/mips/elf.h (STARTFILE_SPEC): Define differently if
15104         default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
15105         patch on 2002-07-29.)
15106         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15107
15108 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15109
15110         * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
15111         fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
15112         ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
15113         openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
15114         s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
15115         (ASM_GLOBALIZE_LABEL): Delete.
15116         (GLOBAL_ASM_OP): Define.
15117
15118         * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
15119
15120         * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
15121         * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
15122
15123 2002-07-30  Geoffrey Keating  <geoffk@redhat.com>
15124
15125         * doc/extend.texi (Hints implementation): Document that GCC
15126         mostly ignores `register'.
15127
15128 2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>
15129
15130         * flags.h: Declare flag_finite_math_only.
15131         Use it in definition of HONOR_NANS and
15132         HONOR_INFINITIES.
15133         * c-common.c (cb_register_builtins): Emit
15134         __FINITE_MATH_ONLY__ when flag_finite_math_only
15135         is set.
15136         * combine.c (simplify_if_then_else): If
15137         flag_finite_math_only is set, a == b has a
15138         definite value.
15139         * toplev.c: Initialize flag_finite_math_only.
15140         (set_flags_fast_math): Set it on -ffast-math.
15141         (flag_fast_math_set_p): Test it.
15142         * doc/invoke.texi: Document -ffinite-math-only.
15143
15144 2002-07-30  Richard Henderson  <rth@redhat.com>
15145
15146         * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
15147         (noce_process_if_block): Likewise.
15148
15149 2002-07-30  Bernd Schmidt  <bernds@redhat.com>
15150
15151         * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
15152         Bail out early if false_expr is NULL and we'd crash due to this.
15153         * genemit.c (gen_expand): Recognize return insns even if the return
15154         appears in a parallel.
15155         * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
15156         * config/fp-bit.c: Likewise.
15157         * doc/tm.texi: Document it.
15158
15159 2002-07-30  David Edelsohn  <edelsohn@gnu.org>
15160             Zack Weinberg  <zack@codesourcery.com>
15161
15162         * rs6000.c (rs6000_expand_unop_builtin): Check icode not
15163         CODE_FOR_nothing.  Change switch to if.
15164         (rs6000_expand_binop_builtin): Same.
15165         (rs6000_expand_builtin): Expand builtin if target support enabled.
15166         (rs6000_init_builtins): Init builtin if target support enabled.
15167         (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
15168
15169 2002-07-30  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
15170
15171         * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
15172
15173 2002-07-30  Richard Sandiford  <rsandifo@redhat.com>
15174
15175         * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
15176
15177 Tue Jul 30 18:31:31 2002  J"orn Rennecke <joern.rennecke@superh.com>
15178
15179         * sh.md (cond_delay_slot): New attribute.
15180         (cbranch delay): Use it for anulled-true case.
15181         (stuff_delay_slot): New pattern.
15182         * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
15183         delay slot insn.
15184         (gen_far_branch): Emit stuff_delay_slot pattern.
15185
15186 Tue Jul 30 11:21:44 2002  J"orn Rennecke <joern.rennecke@superh.com>
15187
15188         * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
15189
15190 2002-07-30  Kazu Hirata  <kazu@cs.umass.edu>
15191
15192         * fold-const.c: Fix comment typos.
15193         * gcse.c: Likewise.
15194         * reload1.c: Likewise.
15195
15196 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
15197
15198         * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
15199         for TARGET_SPE.
15200
15201 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
15202
15203         * c-pretty-print.h (pp_c_statement): Declare.
15204         * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
15205         (pp_c_statement): Define.
15206
15207 2002-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15208
15209         * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
15210         darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
15211         ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
15212         mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
15213         rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
15214         v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
15215
15216         * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
15217         * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
15218
15219 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
15220
15221         * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
15222         (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
15223         COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
15224         (pp_c_expression): Update.
15225
15226 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15227
15228         * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
15229         concat in lieu of xmalloc/strcpy/memcpy/sprintf.
15230         * alpha/vms-ld.c (main): Likewise.
15231         * dsp16xx.c (double_reg_to_memory): Likewise.
15232         * mcore.c (mcore_expand_prolog): Likewise.
15233         * cppfiles.c (read_name_map): Likewise.
15234         * gensupport.c (process_rtx, identify_predicable_attribute,
15235         alter_test_for_insn): Likewise.
15236         * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
15237
15238 2002-07-29  Roger Sayle  <roger@eyesopen.com>
15239
15240         * builtins.c (expand_builtin):  Change the default behavior to
15241         only issue an error if the builtin function doesn't have a
15242         fallback library call.  Remove several cases handled by the
15243         new default.
15244
15245 2002-07-29  John David Anglin  <dave@hiauly1.hia.nrc>
15246
15247         * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
15248         floating point format of the target is IEEE.
15249         * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
15250         format of the target is DEC.
15251
15252 2002-07-29  Richard Henderson  <rth@redhat.com>
15253
15254         * unroll.c (verify_addresses): Remove.
15255         (find_splittable_givs): Never split DEST_ADDR givs.
15256
15257 2002-07-29  Geoffrey Keating  <geoffk@redhat.com>
15258
15259         * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
15260         is exhaustive.
15261         (Files): Improve documentation on generated source files.
15262
15263         * doc/extend.texi (Translation implementation): Document what
15264         diagnostics look like.
15265         (Identifiers implementation): Document that there's normally no
15266         limit on identifier names.
15267         (Integers implementation): Document two's complement.
15268         (Hints implementation): Document that GCC honors 'inline', mostly.
15269         (Preprocessing directives implementation): Document that GCC
15270         requires the current time.
15271
15272 2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>
15273
15274         * c-pretty-print.h (struct c_pretty_print_info): Add new member.
15275         (pp_initializer): New macro.
15276         (pp_c_initializer): Declare.
15277         * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
15278         (pp_c_initializer): Define.
15279         (pp_c_initializer_list): New function.
15280         (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
15281         VECTOR_CST, CONSTRUCTOR.
15282         (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
15283         IMAGPART_EXPR.
15284         (pp_c_cast_expression): Handle FLOAT_EXPR.
15285         (pp_c_assignment_expression): Handle INIT_EXPR.
15286         (pp_c_expression): Update.
15287
15288 2002-07-30  Neil Booth  <neil@daikokuya.co.uk>
15289
15290         * objc/objc-act.c (objc_init): Return immediately if filename
15291         is NULL.
15292
15293 2002-07-29  Eric Christopher  <echristo@redhat.com>
15294
15295         * config/mips/elf.h: Remove ecoff.h and gofast includes.
15296         (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
15297         (SDB_DEBUGGING_INFO): Undefine.
15298         (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
15299         (PUT_SDB_SIZE): Remove.
15300         (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
15301         (STARTFILE_SPEC): Add isa3264 define.
15302         * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
15303         * config/mips/ecoff.h: Remove. and here...
15304         * config/mips/iris3.h: and here...
15305         * config/mips/sni-svr4.h: and here...
15306         * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
15307         Add assembler -mmdebug options for non-dwarf debugging.
15308         * config/mips/r3900.h: Remove debug info defines.
15309         * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
15310         * config/mips/isa3264.h: Ditto.
15311         * config/mips/t-isa3264: Fix up for file removal and gofast configure
15312         change.
15313         * config/mips/t-elf: Ditto.
15314         * config/mips/t-ecoff: Ditto.
15315         * config/mips/t-r3900: Ditto.
15316         * config/mips/t-iris5-6: Ditto.
15317         * config/mips/t-isa3264: Ditto.
15318         * config/mips/t-linux: Remove.
15319         * config/mips/t-netbsd: Remove.
15320         * config/mips/t-mips: New file.
15321         * config/mips/t-gofast: Ditto.
15322         * config/mips/netbsd.h: Remove unnecessary undefines.
15323         * config/mips/linux.h: Remove #include of mips.h.
15324         * config.gcc: Add mips.h include for elf targets. Remove tm_file
15325         for ecoff. Add gofast configure option for mips.
15326
15327 2002-07-29  Chris Demetriou  <cgd@broadcom.com>
15328
15329         * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
15330         linker scripts use STARTUP directives consistently.
15331         * configure: Regenerate.
15332         * config.in: Regenerate.
15333         * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
15334         on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
15335         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15336         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
15337         HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
15338         will be the same.
15339
15340 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
15341
15342         * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
15343
15344 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
15345
15346         * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
15347
15348 2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>
15349
15350         * config/rs6000/rs6000.md: Move altivec patterns from here...
15351
15352         * config/rs6000/altivec.md: ...to here.
15353
15354 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
15355
15356         * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
15357
15358 2002-07-29  Richard Henderson  <rth@redhat.com>
15359
15360         * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
15361         set_mem_attributes and add BITPOS argument.  Subtract it from
15362         OFFSET when same is adjusted.
15363         (set_mem_attributes): New wrapper function.
15364         * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
15365         remove offset adjustment hack.
15366         * expr.h (set_mem_attributes_minus_bitpos): Declare.
15367
15368 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
15369
15370         * Makefile.in (C_OBJS): Include c-pretty-print.o
15371         (c-pretty-print.o): Add depency rule.
15372         * pretty-print.h: Add more macros.
15373         * c-pretty-print.c: New file.
15374         * c-pretty-print.h: Likewise.
15375
15376 2002-07-29  Aldy Hernandez  <aldyh@redhat.com>
15377
15378         * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
15379         constants to __ev64_s32__.
15380         (__internal_ev_mwhgsmian): Same.
15381         (__internal_ev_mwhgsmfan): Same.
15382         (__internal_ev_mwhgssfan): Same.
15383         (__internal_ev_mwhgumiaa): Same.
15384         (__internal_ev_mwhgsmiaa): Same.
15385         (__internal_ev_mwhgsmfaa): Same.
15386         (__internal_ev_mwhgssfaa): Same.
15387
15388 2002-07-29  David Edelsohn  <edelsohn@gnu.org>
15389
15390         * varasm.c (assemble_variable): Narrow test for uninitialized
15391         without BSS target support.
15392
15393 2002-07-29  Nathan Sidwell  <nathan@codesourcery.com>
15394
15395         * profile.c: Add file comment describing the overall algorithm and
15396         structures.
15397         (struct edge_info): Add comments.
15398         (struct bb_info): Add comments.
15399         * basic-block.h (EDGE_*): Add comments.
15400         * doc/gcov.texi (Gcov Data Files): Document bit flags.
15401
15402 2002-07-29  Bob Wilson  <bob.wilson@acm.org>
15403
15404         * config/xtensa/elf.h, config/xtensa/linux.h
15405         (TARGET_OS_CPP_BUILTINS): Define.
15406         (CPP_PREDEFINES): Remove.
15407         * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
15408         (CPP_SPEC): Remove.
15409
15410 2002-07-29  Zack Weinberg  <zack@codesourcery.com>
15411
15412         * gensupport.c: Include hashtab.h.
15413         (insn_elision, condition_table, hash_c_test, cmp_c_test,
15414         maybe_eval_c_test): New routines and data structures to
15415         support insn elision.
15416         (init_md_reader): Read and initialize the condition_table.
15417         (read_md_rtx): Discard insn patterns whose C test is provably
15418         always false.
15419         * gensupport.h: Declare new functions and data structures.
15420
15421         * genconditions.c, dummy-conditions.c: New files.
15422         * Makefile.in: Build genconditions; run it to construct
15423         insn-conditions.c; build that and link it into most gen*
15424         programs.
15425         (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
15426         (GEN): Delete, unused.
15427         (STAGESTUFF): Update.
15428
15429         * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
15430         CODE_FOR_nothing for all elided patterns.
15431         (main): Tweaked to support this.
15432         * genflags.c (gen_proto): Emit a static inline generator
15433         function here for all elided patterns, which simply returns
15434         NULL_RTX.
15435         (gen_insn): Do not define HAVE_xxx for elided patterns.
15436         (main): Tweaked to support this.  No need to forward-declare
15437         struct rtx_def.
15438         * genrecog.c: Do not bother emitting the C test if it's known
15439         to be true at compile time.
15440
15441 2002-07-29  Mike Stump  <mrs@apple.com>
15442
15443         * config.gcc (target_gtfiles): Initialize, as otherwise cross
15444         compilers hosted on powerpc-apple-darwin6.0 won't even build.
15445
15446 2002-07-29  Richard Earnshaw  <rearnsha@arm.com>
15447
15448         * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
15449         remove clobber of LR.
15450         (sibcall_insn, sibcall_value_insn): Update accordingly.
15451         (sibcall_epilogue): Remove debugging comment from assembler stream.
15452
15453 2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>
15454
15455         * pretty-print.h: Define more macros.
15456         * diagnostic.h (output_formatted_integer): Moved from...
15457         * diagnostic.c: ... here.
15458
15459 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15460
15461         * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
15462
15463 2002-07-28  Zack Weinberg  <zack@codesourcery.com>
15464
15465         * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
15466         arguments.  Always use ".-symbol" as expression argument.
15467         * doc/tm.texi: Update to match.  Document requirement for
15468         ".size symbol, .-symbol" to be acceptable to assembler.
15469
15470         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
15471         config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
15472         config/i386/freebsd-aout.h, config/i386/sco5.h,
15473         config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
15474         config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.
15475
15476 2002-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15477
15478         * Makefile.in (gengtype-lex.c): Fix error in last change.
15479
15480         * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
15481         backslash.
15482
15483         * Makefile.in (vmsdbgout.o): Depend on function.h.
15484
15485         * vmsdbgout.c: Include function.h.
15486
15487 2002-07-28  Alan Modra  <amodra@bigpond.net.au>
15488
15489         * prefix.c (update_path): Don't strip single `.' path components
15490         unless stripping a later `..' component.  Exit loop as soon as
15491         a valid path is found.
15492
15493 2002-07-27  Roger Sayle  <roger@eyesopen.com>
15494
15495         * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
15496         argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
15497         BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
15498         floating point unordered comparisons (e.g. __builtin_isgreater)
15499         as const, and leave the remaining GCC_BUILTINs unchanged.
15500
15501         * c-decl.c (builtin_function): No need to explicitly mark
15502         BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
15503
15504 2002-07-27  Roger Sayle  <roger@eyesopen.com>
15505
15506         * Makefile.in: rtlanal.o now depends upon real.h.
15507
15508         * flags.h [flag_signaling_nans]: New flag.
15509         [HONOR_SNANS]: New macro.
15510
15511         * toplev.c [flag_signaling_nans]: Initialize to false.
15512         (f_options): Add processing for "-fsignaling-nans".
15513         (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
15514         (process_options): flag_signaling_nans implies flag_trapping_math.
15515
15516         * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
15517         when -fsignaling-nans.  First step to implementing WG14's N965.
15518
15519         * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
15520         1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
15521         [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
15522
15523         * simplify-rtx.c (simplify_relational_operation): Conditionalize
15524         transforming abs(x) < 0.0 into false on !HONOR_SNANS.
15525
15526         * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
15527         required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
15528         UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
15529         -fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
15530         not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
15531
15532         * doc/invoke.texi: Document new -fsignaling-nans compiler option.
15533
15534 2002-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15535
15536         * Makefile.in (gengtype-lex.c): Work around a bug in flex.
15537         * gengtype-lex.l (YY_USE_PROTOS): Undef.
15538         (YY_DECL): Define.
15539
15540 2002-07-27  Roger Sayle  <roger@eyesopen.com>
15541
15542         * doc/invoke.texi: Document that both -fno-builtin-foo and
15543         -fno-builtin are supported by the g++ front-end.
15544
15545 2002-07-27  Stan Shebs  <shebs@apple.com>
15546
15547         * configure.in: Rename config_gtfiles to target_gtfiles.
15548         * configure: Regenerate.
15549         * doc/gty.texi: Update reference.
15550         * config.gcc (powerpc-*-darwin*): Set target_gtfiles
15551         instead of appending to it.
15552
15553 2002-07-25  Aldy Hernandez  <aldyh@redhat.com>
15554
15555         * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
15556         vectors are split into two registers.
15557         (function_arg): Same.
15558
15559 Thu Jul 26 23:00:13 2002  J"orn Rennecke <joern.rennecke@superh.com>
15560
15561         * pa.md (extv): Check predicates before emitting extv_32.
15562
15563 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15564
15565         * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
15566         (rs6000_traceback): New var.
15567         (rs6000_override_options): Set rs6000_traceback.
15568         (rs6000_output_function_epilogue): Implement traceback options.
15569         * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
15570         (rs6000_traceback_name): Declare.
15571
15572         * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
15573         label reference when NO_PROFILE_COUNTERS.
15574
15575 2002-07-26  Jason Merrill  <jason@redhat.com>
15576
15577         * function.c (assign_parms): Handle frontend-directed pass by
15578         invisible reference.
15579
15580 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
15581
15582         * doc/cppopts.texi: Update.
15583
15584 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
15585
15586         * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
15587         warnings on assertions.
15588
15589 2002-07-26  Neil Booth  <neil@daikokuya.co.uk>
15590
15591         * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
15592         RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
15593         RID_COMPL): Remove.
15594         * c-parse.in (rid_to_yy): Similarly.
15595
15596 2002-07-26  Jason Merrill  <jason@redhat.com>
15597
15598         * c-dump.c: Resurrect.
15599         * tree-dump.c: Move C-specific stuff to c-dump.c.
15600         * c-common.h: Declare c_dump_tree.
15601         * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
15602         * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
15603         (c-dump.o): New rule.
15604
15605 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
15606
15607         * config/rs6000/rs6000.md: Enable patterns using rlwinm for
15608         PowerPC64.  Replace "T" and "S" constraints with "n" when the
15609         predicate will do.  Formatting fixes.
15610         (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
15611         as for extzvsi_internal1.
15612
15613 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
15614
15615         * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
15616         DERIV_END_LABEL_FMT): Remove.
15617         (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
15618
15619 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
15620
15621         * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
15622         Remove.
15623
15624 2002-07-25  Stan Shebs  <shebs@apple.com>
15625
15626         * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
15627         local var dwarfp.
15628         (output_compiler_stub): Remove unused locals.
15629         (output_call): Always initialize line number.
15630
15631 Thu Jul 25 20:34:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
15632
15633         * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
15634         * sh.md (truncdiqi2, movqi_media): Likewise.
15635
15636 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
15637
15638         * gcse.c (obstack_chunk_alloc): Remove.
15639         (gcse_alloc): Fix to count allocated bytes.
15640         * collect2.c (SYMBOL__MAIN): Remove.
15641
15642 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
15643
15644         * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
15645         HAVE_TARGET_EXECUTABLE_SUFFIX.
15646
15647 Thu Jul 25 18:57:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
15648
15649         * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
15650         SIZE, EXPR and OFFSET.
15651
15652 2002-07-25  Richard Henderson  <rth@redhat.com>
15653
15654         * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
15655         in ARRAY_REF of DECL_P case.
15656
15657 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
15658
15659         * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
15660         description.  Document -mips32, -mips64, and the associated -march
15661         values.  Describe the "mipsN" arguments to -march.  Say that the
15662         -mipsN options are equivalent to -march.  Reword the description
15663         of default type sizes.
15664         * toplev.h (target_flags_explicit): Declare.
15665         * toplev.c (target_flags_explicit): New var.
15666         (set_target_switch): Update target_flags_explicit.
15667         * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
15668         * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
15669         * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
15670         * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
15671         * config/mips/mips.h (mips_cpu_info): New struct.
15672         (mips_cpu_string, mips_explicit_type_size_string): Remove.
15673         (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
15674         (MIPS_CPP_SET_PROCESSOR): New macro.
15675         (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
15676         Define _MIPS_ARCH and _MIPS_TUNE.
15677         (MIPS_ISA_DEFAULT): Don't provide a default value.  Instead...
15678         (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
15679         MIPS_ISA_DEFAULT were already defined.
15680         (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
15681         (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
15682         (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
15683         (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
15684         (ABI_GAS_ASM_SPEC): Remove.
15685         (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
15686         (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
15687         Invoke %(asm_abi_default_spec) if no ABI was specified.
15688         (CC1_SPEC): Remove ISA -> register-size rules.
15689         (EXTRA_SPECS): Remove abi_gas_asm_spec.  Add asm_abi_default_spec.
15690         * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
15691         (mips_cpu_string, mips_explicit_type_size_string): Remove.
15692         (mips_cpu_info_table): New array.
15693         (mips_set_architecture, mips_set_tune): New fns.
15694         (override_options): Rework to make -mipsN equivalent to -march.
15695         Detect more erroneous cases, including those removed from CC1_SPEC.
15696         Don't change the ABI based on architecture, or vice versa.
15697         Unify logic with GAS.
15698         (mips_asm_file_start): Get architecture name from mips_arch_info.
15699         (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
15700         (mips_parse_cpu): Take the name of the option as argument.  Handle
15701         'from-abi'.  Raise an error if the option is wrong.
15702         (mips_cpu_info_from_isa): New fn.
15703
15704 2002-07-25  Richard Sandiford  <rsandifo@redhat.com>
15705
15706         * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
15707         (tablejump_mips162): Likewise.
15708
15709 Thu Jul 25 10:23:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
15710
15711         * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
15712         int_mode_for_mode.
15713
15714 2002-07-25  Gabriel Dos Reis  <gdr@nerim.net>
15715
15716         * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
15717         complaining.
15718         * c-common.h (c_sizeof): Adjust definition.
15719         (c_alignof): Likewise.
15720         * c-tree.h (c_sizeof_nowarn): Now macro.
15721         * c-typeck.c (c_sizeof_nowarn): Remove definition.
15722
15723 2002-07-25  Neil Booth  <neil@daikokuya.co.uk>
15724
15725         * c-decl.c (c_decode_option): No need to handle switches
15726         cpplib handles.
15727
15728 2002-07-24  Zack Weinberg  <zack@codesourcery.com>
15729
15730         * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
15731         ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
15732         * doc/tm.texi: Document them.  Also document SIZE_ASM_OP,
15733         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
15734
15735         * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
15736         config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
15737         config/cris/aout.h, config/i386/freebsd-aout.h,
15738         config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
15739         config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
15740         config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
15741         config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
15742         config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
15743         config/xtensa/elf.h, config/xtensa/linux.h:
15744         Use the new macros.
15745         Where possible, remove redundant definitions of SIZE_ASM_OP,
15746         TYPE_ASM_OP, and TYPE_OPERAND_FMT.
15747
15748 2002-07-24  Aldy Hernandez  <aldyh@redhat.com>
15749
15750         * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
15751         TARGET_ISEL, and TARGET_FPRS.
15752
15753         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
15754         -mabi=spe, -mabi=no-spe, and -misel=.
15755
15756         * config/rs6000/rs6000-protos.h: Add output_isel.
15757         Move vrsave_operation prototype here.
15758
15759         * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
15760         (smaxsi3): Same.
15761         (uminsi3): Same.
15762         (umaxsi3): Same.
15763         (abssi2_nopower): Disallow when TARGET_ISEL.
15764         (*ne0): Same.
15765         (negsf2): Change to expand and rename old pattern to *negsf2.
15766         (abssf2): Change to expand and rename old pattern to *abssf2.
15767
15768         New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
15769         fixunssfsi2.
15770
15771         Change patterns that check for TARGET_HARD_FLOAT or
15772         TARGET_SOFT_FLOAT to also check TARGET_FPRS.
15773
15774         * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
15775         rs6000_isel, rs6000_fprs, rs6000_isel_string.
15776         (rs6000_override_options): Add 8540 case to
15777         processor_target_table.
15778         Set rs6000_isel for the 8540.
15779         Call rs6000_parse_isel_option.
15780         (enable_mask_for_builtins): New.
15781         (rs6000_parse_isel_option): New.
15782         (rs6000_parse_abi_options): Add spe and no-spe.
15783         (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
15784         (rs6000_legitimize_address): Check for TARGET_FPRS when checking
15785         for TARGET_HARD_FLOAT.
15786         Add case for SPE_VECTOR_MODE.
15787         (rs6000_legitimize_reload_address): Handle SPE vector modes.
15788         (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
15789         vector modes.
15790         Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
15791         (rs6000_emit_move): Check for TARGET_FPRS.
15792         Add cases for SPE vector modes.
15793         (function_arg_boundary): Return 64 for SPE vector modes.
15794         (function_arg_advance): Check for TARGET_FPRS and
15795         Handle SPE vectors.
15796         (function_arg): Same.
15797         (setup_incoming_varargs): Check for TARGET_FPRS.
15798         (rs6000_va_arg): Same.
15799         (struct builtin_description): Un-constify mask field.  Move up in
15800         file.
15801         (bdesc_2arg): Un-constify and add SPE builtins.
15802         (bdesc_1arg): Same.
15803         (bdesc_spe_predicates): New.
15804         (bdesc_spe_evsel): New.
15805         (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
15806         (rs6000_expand_binop_builtin): Same.
15807         (bdesc_2arg_spe): New.
15808         (spe_expand_builtin): New.
15809         (spe_expand_predicate_builtin): New.
15810         (spe_expand_evsel_builtin): New.
15811         (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
15812         (rs6000_init_builtins): Initialize SPE builtins.  Call
15813         rs6000_common_init_builtins.
15814         (altivec_init_builtins): Move all non-altivec builtin code to...
15815         (rs6000_common_init_builtins): ...here.  New function.
15816         (branch_positive_comparison_operator): Allow NE code for SPE.
15817         (ccr_bit): Return correct ccr bit for SPE fp.
15818         (print_operand): Emit crnor in 'D' case for SPE.
15819         New case 't'.
15820         Add SPE code for 'y' case.
15821         (rs6000_generate_compare): Generate rtl for SPE fp.
15822         (output_cbranch): Handle SPE hard floats.
15823         (rs6000_emit_cmove): Handle isel.
15824         (rs6000_emit_int_cmove): New.
15825         (output_isel): New.
15826         (rs6000_stack_info): Adjust stack frame so GPRs are saved in
15827         64-bits for SPE.
15828         (debug_stack_info): Add SPE info.
15829         (gen_frame_mem_offset): New.
15830         (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
15831         Change mode of frame pointer, when saving it, to Pmode.
15832         (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
15833         Misc cleanups and use gen_frame_mem_offset when appropriate.
15834
15835         * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
15836         (TARGET_SPE_ABI): New.
15837         (TARGET_SPE): New.
15838         (TARGET_ISEL): New.
15839         (TARGET_FPRS): New.
15840         (FIXED_SCRATCH): New.
15841         (RTX_COSTS): Add PROCESSOR_PPC8540.
15842         (ASM_CPU_SPEC): Add case for 8540.
15843         (TARGET_OPTIONS): Add isel= case.
15844         (rs6000_spe_abi): New.
15845         (rs6000_isel): New.
15846         (rs6000_fprs): New.
15847         (rs6000_isel_string): New.
15848         (UNITS_PER_SPE_WORD): New.
15849         (LOCAL_ALIGNMENT): Adjust for SPE.
15850         (HARD_REGNO_MODE_OK): Same.
15851         (DATA_ALIGNMENT): Same.
15852         (MEMBER_TYPE_FORCES_BLK): New.
15853         (FIRST_PSEUDO_REGISTER): Set to 113.
15854         (FIXED_REGISTERS): Add SPE registers.
15855         (reg_class): Same.
15856         (REG_CLASS_NAMES): Same.
15857         (REG_CLASS_CONTENTS): Same.
15858         (REGNO_REG_CLASS): Same.
15859         (REGISTER_NAMES): Same.
15860         (DEBUG_REGISTER_NAMES): Same.
15861         (ADDITIONAL_REGISTER_NAMES): Same.
15862         (CALL_USED_REGISTERS): Same.
15863         (CALL_REALLY_USED_REGISTERS): Same.
15864         (SPE_ACC_REGNO): New.
15865         (SPEFSCR_REGNO): New.
15866         (SPE_SIMD_REGNO_P): New.
15867         (HARD_REGNO_NREGS): Adjust for SPE.
15868         (VECTOR_MODE_SUPPORTED_P): Same.
15869         (REGNO_REG_CLASS): Same.
15870         (FUNCTION_VALUE): Same.
15871         (LIBCALL_VALUE): Same.
15872         (LEGITIMATE_OFFSET_ADDRESS_P): Same.
15873         (SPE_VECTOR_MODE): New.
15874         (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
15875         the GPRs.  Set FIXED_SCRATCH fixed in SPE case.
15876         (rs6000_stack): Add spe_gp_size, spe_padding_size,
15877         spe_gp_save_offset.
15878         (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
15879         (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
15880         (SPE_CONST_OFFSET_OK): New.
15881         (rs6000_builtins): Add SPE builtins.
15882
15883         * testsuite/gcc.dg/ppc-spe.c: New.
15884
15885         * config/rs6000/eabispe.h: New.
15886
15887         * config/rs6000/spe.h: New.
15888
15889         * config/rs600/spe.md: New.
15890
15891         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
15892         __SIMD__ for TARGET_SPE.
15893
15894         * config.gcc: Add powerpc-*-eabispe* case.
15895         Add spe.h to user headers for powerpc.
15896
15897 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
15898
15899         * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
15900         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15901         * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
15902
15903 2002-07-24  Richard Henderson  <rth@redhat.com>
15904
15905         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
15906         form when not optimizing.
15907
15908 2002-07-24  David Mosberger  <davidm@hpl.hp.com>
15909
15910         * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
15911         thread_pointer_rtx as unchanging.
15912
15913 2002-07-24  Michael Matz  <matz@suse.de>
15914
15915         * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
15916         (free_reg): Use it.
15917
15918 2002-07-24  Richard Earnshaw  <rearnsha@arm.com>
15919
15920         * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
15921         pattern.
15922         (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
15923         (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
15924
15925 2002-07-24  Chris Demetriou  <cgd@broadcom.com>
15926
15927         * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
15928         * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
15929         * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
15930
15931 Wed Jul 24 17:59:12 CEST 2002  Jan Hubicka  <jh@suse.cz>
15932
15933         * toplev.c (rest_of_compilation): Dump loops before clobbering
15934         the structure.
15935
15936 Wed Jul 24 17:23:16 CEST 2002  Jan Hubicka  <jh@suse.cz>
15937
15938         * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
15939
15940 2002-07-24  Frank van der Linden  <fvdl@wasabisystems.com>
15941
15942         PR optimization/7291
15943         * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
15944         problem on x86_64.
15945
15946 2002-07-24  Gabriel Dos Reis  <gdr@nerim.net>
15947
15948         * pretty-print.h: Add macros from cp/error.c
15949
15950 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
15951
15952         * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
15953         (mask64_2_operand): Declare.
15954         (build_mask64_2_operands): Declare.
15955         (and64_2_operand): Declare.
15956         (extract_MB): Declare.
15957         (extract_ME): Declare.
15958         * config/rs6000/rs6000.c (mask64_operand): Allow all ones.  Remove
15959         CONST_DOUBLE code.
15960         (mask_operand_wrap): New insn predicate.
15961         (mask64_2_operand): Likewise.
15962         (and64_2_operand): Likewise.
15963         (build_mask64_2_operands): New function.
15964         (extract_MB): New function.
15965         (extract_ME): New function.
15966         (print_operand <case m,M>): Use extract_MB and extract_ME.
15967         (print_operand <case S>): Allow all ones.  Remove CONST_DOUBLE support.
15968         * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
15969         (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
15970         mask64_2_operand.  Remove CONST_DOUBLE from mask64_operand.
15971         * config/rs6000/rs6000.md (andsi3_internal3): New
15972         (andsi3_internal3+1): Enable split for powerpc64.
15973         (andsi3_internal3+2): New split.
15974         (andsi3_internal4): Renamed old andsi3_internal3.
15975         (andsi3_internal5): New.
15976         (andsi3_internal5+1): Enable split for powerpc64.
15977         (andsi3_internal5+2): New split.
15978         (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
15979         (anddi3): Handle 't' constraint.
15980         (anddi3+1): New split.
15981         (anddi3_internal2): Handle 't' constraint.
15982         (anddi3_internal2+1): New split.
15983         (anddi3_internal3): Handle 't' constraint.
15984         (anddi3_internal3+1): New split.
15985
15986 2002-07-24  Alan Modra  <amodra@bigpond.net.au>
15987
15988         * config/rs6000/rs6000.md: Remove scratch reg on insns using
15989         addze and similar (plus (comparison r1 r2) r3) insns.  Add
15990         missing scratch reg in one case.  Formatting fixes.
15991
15992 2002-07-24  Neil Booth  <neil@daikokuya.co.uk>
15993
15994         * cppexp.c (parse_defined): Mark macro used.
15995         * cpphash.h (struct cpp_macro): New member "used".
15996         (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
15997         (struct cpp_reader): New member.
15998         * cppinit.c (cpp_finish_options): Set first_unused_line.
15999         (cpp_finish): Warn of unused macros if requested.
16000         (OPT_TABLE): New switches.
16001         (cpp_handle_option): Handle them.
16002         * cpplib.c (do_undef): Warn if macro unused.
16003         (do_ifdef, do_ifndef): Mark macro used.
16004         * cpplib.h (struct cpp_options): New member.
16005         * cppmacro.c (_cpp_warn_if_unused_macro): New.
16006         (enter_macro_context): Mark macro used.
16007         (_cpp_create_definition): Mark macro unused; warn if unused
16008         when redefined.
16009         * cpptrad.c (scan_out_logcial_line, push_replacement_text):
16010         Mark macros used.
16011         * doc/cppopts.texi: Update.
16012
16013 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16014
16015         * dwarf2out.c (SECTION_ASM_OP,
16016         ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16017         * system.h (SECTION_ASM_OP): Poison.
16018         * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
16019         * config/alpha/alpha-interix.h, config/mips/linux.h
16020         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16021         * config/mmix/mmix-protos.h, config/mmix/mmix.c
16022         (mmix_asm_output_define_label_difference_symbol): Remove.
16023         * config/mmix/mmix.h
16024         (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
16025         * doc/tm.texi: Remove documentation.
16026
16027 Tue Jul 23 21:49:24 2002  J"orn Rennecke <joern.rennecke@superh.com>
16028
16029         * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
16030         (constrain_operands): Likewise.
16031         * regclass.c (record_reg_classes): Likewise.
16032         * reload.c (find_reloads): Likewise.
16033         * doc/md.texi: Likewise.
16034
16035         * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
16036         * simplify-rtx.c (simplify_subreg): When converting to a non-int
16037         mode, try to convert to an integer mode of matching size first.
16038
16039         * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
16040         from individual subregs, check that each subreg has been generated
16041         sucessfully.
16042
16043 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16044
16045         * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
16046         * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
16047         FOR_EACH_BB_IN_SBITMAP): Remove.
16048         * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
16049         * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
16050         LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
16051         * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
16052         PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
16053         * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
16054
16055 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
16056
16057         * pretty-print.h: New file.
16058
16059 2002-07-23      Paul Koning     <pkoning@equallogic.com>
16060
16061         * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
16062         (LARGEST_EXPONENT_IS_NORMAL): Ditto.
16063         (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
16064         (TARGET_G_FLOAT): Default to 0 if not defined.
16065         (ieeetoe): New, common routine to convert target format floats
16066         to internal form.
16067         (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
16068         vs. others.
16069         (e113toe): Change to use ieeetoe.
16070
16071 2002-07-23  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
16072
16073         * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
16074         IBM.
16075         (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
16076         (e64toe): Remove special cases for DEC and IBM. Remove support for
16077         ARM_EXTENDED_IEEE_FORMAT.
16078         (e24toe): Remove special cases for DEC.
16079         (significand_size): Simplify. Indent.
16080         (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
16081         (etoieee, toieee): New.
16082         (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
16083         etoieee and toieee for IEEE arithmetic.
16084
16085 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
16086
16087         * doc/extend.texi: Say ISO C90, not ISO C89.
16088         * doc/invoke.texi: Likewise.
16089         * doc/standards.texi: Likewise.
16090
16091 2002-07-23  Steve Ellcey  <sje@cup.hp.com>
16092
16093         * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
16094         Fix permutation of conversion and plus/mult.
16095         * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
16096         ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
16097         (expand_builtin_strncpy) Ditto.
16098         (expand_builtin_memset) Ditto.
16099
16100 2002-07-23  Gabriel Dos Reis  <gdr@nerim.net>
16101
16102         Fix PR/7363:
16103         * c-common.c (c_sizeof_or_alignof_type): New function.
16104         (c_alignof): Remove definition.
16105         * c-common.h (c_sizeof, c_alignof): Define as macros.
16106         (c_sizeof_or_alignof_type): Declare.
16107         (my_friendly_assert): Moved from cp/cp-tree.h
16108         * c-typeck.c (c_sizeof): Remove definition.
16109
16110 2002-07-23  Jan Hubicka  <jh@suse.cz>
16111
16112         * gcse.c (try_replace_reg): Use num_changes_pending.
16113         * recog.c (num_changes_pending): New function.
16114         (validate_replace_src): Use validate_repalce_src_group.
16115         (validate_replace_src_group): New.
16116         * recog.h (validate_repalce_src_group): New.
16117         (num_changes_pending): Likewise.
16118
16119 Tue Jul 23 12:16:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
16120
16121         * calls.c (emit_library_call_value_1): If
16122         FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
16123         libcall, const call nor pure call.
16124
16125 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16126
16127         * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
16128
16129 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16130
16131         * vmsdbgout.c (SECTION_ASM_OP): Remove.
16132
16133 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16134
16135         * config/i386/i386.c (AT_BP): Remove.
16136
16137 2002-07-23  Neil Booth  <neil@daikokuya.co.uk>
16138
16139         * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
16140         Default definition.
16141         * gcse.c: Don't define obstack_chunk_free.
16142         * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
16143         flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
16144         integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
16145         reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
16146         Don't define obstack macros.
16147
16148 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
16149
16150         PR target/6744
16151         * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
16152         ASM_OPERANDS instructions.
16153
16154 2002-07-22  Stephane Carrez  <stcarrez@nerim.fr>
16155
16156         PR target/7361
16157         * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
16158         constant addresses only on 68HC12.
16159
16160 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
16161
16162         * cppfiles.c (stack_include_file): Correct test of whether
16163         a dependency should be output.
16164
16165 2002-07-22  David Edelsohn  <edelsohn@gnu.org>
16166
16167         * collect2.c (is_ctor_dtor): Add other possible JOINER values.
16168
16169 2002-07-22  Richard Earnshaw  <rearnsha@arm.com>
16170
16171         * arm.md (movqi): If optimizing and we can create pseudos, use
16172         a ZERO_EXTEND to load from memory, then copy the result into the
16173         target.
16174         (movhi): Likewise, but only for ARMv4.
16175
16176 2002-07-22  Neil Booth  <neil@daikokuya.co.uk>
16177
16178         * ssa-ccp.c (PHI_PARMS): Remove.
16179
16180 2002-07-22  Richard Sandiford  <rsandifo@redhat.com>
16181
16182         * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
16183         on big-endian targets.
16184
16185 2002-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16186
16187         * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
16188         HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
16189         HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
16190         New formatting macros.
16191
16192         * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
16193
16194 Mon Jul 22 15:27:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
16195
16196         * rtlanal.c (subreg_regno_offset): Return correct offset for
16197         big endian paradoxical subregs.
16198
16199         * optabs.c (expand_vector_unop): Don't expand using sub_optab
16200         if we got the wrong mode.
16201
16202         * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
16203         * genrecog.c (write_switch, write_cond): Use it.
16204         * genemit.c (gen_exp): Likewise.
16205
16206 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
16207
16208         * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
16209
16210 2002-07-22  Jakub Jelinek  <jakub@redhat.com>
16211
16212         * c-decl.c (build_compound_literal): Defer compound literal decls
16213         until until file end to emit them only if they are actually used.
16214
16215 2002-07-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16216
16217         * ra-build.c (check_conflict_numbers): Hide unused function.
16218         (livethrough_conflicts_bb): Avoid automatic aggregate
16219         initialization.
16220         (parts_to_webs_1): Avoid `U' integer constant modifier.
16221         (conflicts_between_webs): Wrap a variable in the macro controlling
16222         its usage.
16223         * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
16224         (dump_igraph, dump_graph_cost): Avoid string concatenation
16225         (dump_static_insn_cost): Avoid automatic aggregate
16226         initialization.
16227         * ra-rewrite.c (insert_stores): Avoid automatic aggregate
16228         initialization.
16229         (dump_cost): Avoid string concatenation
16230
16231 2002-07-21  Richard Henderson  <rth@redhat.com>
16232
16233         * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
16234         GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
16235
16236 2002-07-21  Richard Henderson  <rth@redhat.com>
16237
16238         * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
16239         that are not unrolled completely.
16240
16241 2002-07-21  Richard Henderson  <rth@redhat.com>
16242
16243         * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
16244         * loop.c (strength_reduce): Update.
16245         * toplev.c (rest_of_compilation): Do unrolling in the first
16246         loop pass, not the second.
16247
16248 2002-07-21  Richard Henderson  <rth@redhat.com>
16249
16250         * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
16251         when flag_argument_noalias == 2.
16252         * alias.c (nonoverlapping_memrefs_p): Handle that.
16253         * print-rtl.c (print_mem_expr): Likewise.
16254
16255 2002-07-21  Hartmut Schirmer  <hartmut.schirmer@arcor.de>
16256
16257         * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
16258         instead of __negdi2 directly.
16259
16260 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
16261
16262         * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
16263         * function.c (SYMBOL__MAIN): Remove definition.
16264         * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
16265         * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
16266         * profile.c (GCOV_INDEX_TO_BB): Remove.
16267         * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
16268         * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
16269
16270 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
16271
16272         * c-lex.c (GET_ENVIRONMENT): Remove.
16273         * collect2.c (GET_ENV_PATH_LIST): Remove.
16274         (prefix_from_env): Use GET_ENVIRONMENT.
16275         * cppinit.c (GET_ENV_PATH_LIST): Remove.
16276         (init_standard_includes): Use GET_ENVIRONMENT.
16277         * defaults.h (GET_ENVIRONMENT): Define here if not already.
16278         * gcc.c (GET_ENV_PATH_LIST): Remove.
16279         (make_relative_prefix, process_command): Update.
16280         * protoize.c (GET_ENV_PATH_LIST): Remove.
16281         (do_processing): Update.
16282
16283 2002-07-21  Gabriel Dos Reis  <gdr@nerim.net>
16284
16285         * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
16286         (grokdeclarator): Likewise.
16287         * c-format.c (C_STD_NAME): Likewise.
16288         * c-lex.c (interpret_integer): Likewise.
16289         * c-typeck.c (build_array_ref): Likewise.
16290         * cpplex.c (_cpp_lex_direct): Likewise.
16291         * toplev.c (documented_lang_options): Likewise.
16292
16293 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
16294
16295         * c-format.c (T99_I, T99_UI): Remove.
16296
16297 2002-07-21  Neil Booth  <neil@daikokuya.co.uk>
16298
16299         * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
16300
16301 Sun Jul 21 21:36:41 CEST 2002  Jan Hubicka  <jh@suse.cz>
16302
16303         * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
16304         do_local_cprop.
16305
16306 2002-07-21  Andreas Jaeger  <aj@suse.de>
16307
16308         * reload1.c (fixup_abnormal_edges): Remove unused variable.
16309
16310 2002-07-21  Bernd Schmidt  <bernds@redhat.com>
16311
16312         Improvements for the ifcvt pass from Michael Meissner, with patches
16313         by Richard Sandiford <rsandifo@redhat.com>
16314         * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
16315         * ifcvt.c (cond_exec_changed_p): New static variable.
16316         (last_active_insn): New function, renamed from last_active_insn_p
16317         and changed to return the last active insn in a basic block. All
16318         callers updated.
16319         (block_fallthru): New function.
16320         (cond_exec_process_insns): New argument CE_INFO.  Pass it to
16321         IFCVT_MODIFY_INSN.  All callers updated.
16322         Return false if START or END are NULL.
16323         Handle case where we're processing an insn that is already
16324         conditional.
16325
16326         (noce_process_if_block): CE_INFO argument rather than
16327         multiple args containing the involved basic blocks.  All callers
16328         changed.
16329         (process_if_block, merge_if_block, find_if_block,
16330         cond_exec_process_if_block): Likewise.
16331
16332         (cond_exec_process_if_block): New arg DO_MULTIPLE_P.  All callers
16333         changed.
16334         Use new function last_active_insn to simplify some code.
16335         New code to handle multiple tests.
16336         Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
16337         cond_exec_changed_p to TRUE.
16338
16339         (process_if_block): New code to handle multiple tests.
16340         (merge_if_block): Likewise.
16341         (find_if_header): New arg PASS.  Changed to return the currently
16342         processed basic block or NULL instead of true/false. All callers
16343         changed.
16344         Call IFCVT_INIT_EXTRA_FIELDS.
16345         (block_jumps_and_fallthru_p): New function.
16346         (find_if_block): Discover opportunities to convert multiple tests.
16347         Add additional debugging output.
16348         Update the ce_info structure before returning.
16349
16350         (if_convert): Run multiple passes of if-conversion.
16351         * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
16352         IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
16353         IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
16354         these macros.
16355
16356 Sun Jul 21 00:54:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
16357
16358         * gcse.c: Include cselib.h
16359         (constptop_register): Break out from ...
16360         (cprop_insn): ... here; kill basic_block argument.
16361         (do_local_cprop, local_cprop_pass): New functions.
16362         (one_cprop_pass): Call local_cprop_pass.
16363
16364 2002-07-20  Roger Sayle  <roger@eyesopen.com>
16365
16366         * simplify-rtx.c (simplify_relational_operation): Optimize
16367         abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
16368
16369 2002-07-20  Michae Matz  <matz@suse.de>
16370
16371         * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
16372
16373 2002-07-20  Neil Booth  <neil@daikokuya.co.uk>
16374
16375         * cppexp.c (struct op): Add token pointer.
16376         (check_promotion, CHECK_PROMOTION): New.
16377         (optab): Update.
16378         (_cpp_parse_expr): Update, use token pointer of struct op.
16379         (reduce): Warn about change of sign owing to promotion.
16380         * cppinit.c (cpp_handle_option): New warning if -Wall.
16381         * cpplib.h (struct cpp_options): New member.
16382
16383 2002-07-19  David Edelsohn  <edelsohn@gnu.org>
16384
16385         * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
16386         fpu list.  Separate Power4 compare and delayed_compare.  Correct
16387         Power4 fpcompare.
16388         (fix_truncdfsi2_internal): Restore FPR preference.
16389         * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
16390         mcpu?power4, mcpu?604e.  Remove mpower, mpower2, mpowerpc.
16391
16392 2002-07-19  Momchil Velikov <velco@fadata.bg>
16393
16394         * reload1.c (reload_as_needed): Duplicate oldpat.
16395
16396 2002-07-20  Alan Modra  <amodra@bigpond.net.au>
16397
16398         PR optimization/7130
16399         * loop.h (struct loop_info): Add "preconditioned".
16400         * unroll.c (unroll_loop): Set it.
16401         * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
16402
16403 2002-07-19  Zack Weinberg  <zack@codesourcery.com>
16404
16405         * rtl.def (CODE_LABEL): Remove slot 8.
16406         * rtl.h (struct rtx_def): Document new uses of jump and call fields.
16407         (LABEL_ALTERNATE_NAME): Delete.
16408         (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
16409         * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
16410
16411         * final.c (output_alternate_entry_point): New.
16412         (final_scan_insn): Use it instead of
16413         ASM_OUTPUT_ALTERNATE_LABEL_NAME.  Do not consider possibility
16414         of a case label being an alternate entry point.
16415
16416         * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
16417         * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
16418         Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
16419         (field deleted).
16420         * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
16421
16422         * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
16423         LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
16424         * doc/tm.texi: Delete documentation of
16425         ASM_OUTPUT_ALTERNATE_LABEL_NAME.
16426
16427 2002-07-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16428
16429         * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
16430         (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
16431         (LINK_SPEC): Define.
16432         (STARTFILE_SPEC): Define.
16433         (ENDFILE_SPEC): Define.
16434
16435         * config/mips/iris6-o32.h (LINK_SPEC): Move ...
16436         * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
16437
16438         * config/mips/iris6-o32-gas.h: New file.
16439         * config.gcc (mips-sgi-irix6*o32): Use it.
16440
16441         * config/mips/t-iris5-gas: New file.
16442         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
16443
16444 2002-07-19  Neil Booth  <neil@daikokuya.co.uk>
16445
16446         * cppexp.c (ALWAYS_EVAL): Remove.
16447         (optab, reduce): Always evaluate.
16448         (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
16449         only if not skipping evaluation.
16450
16451 2002-07-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
16452
16453         * config/avr/avr.c (debug_hard_reg_set): Remove.
16454
16455 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
16456
16457         * gcc.c (cpp_options): Include "%1" (cc1_spec).
16458
16459 2002-07-19  Richard Henderson  <rth@redhat.com>
16460
16461         * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
16462
16463 2002-07-19  Alan Modra  <amodra@bigpond.net.au>
16464
16465         * prefix.c (update_path): Don't zap single `.' path components
16466         unless followed by another `.' and fix typo last patch.
16467
16468 2002-07-18  Neil Booth  <neil@daikokuya.co.uk>
16469
16470         * cppexp.c (cpp_num_mul): Remove unused parameter.
16471         (UNARY, BINARY, OTHER, binary_handler): Remove.
16472         (ALWAYS_EVAL): New.
16473         (optab): Update.
16474         (reduce): Refactor to a large switch, don't use a function
16475         pointer.
16476
16477 2002-07-18  Bo Thorsen  <bo@berlioz.suse.de>
16478
16479         * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
16480
16481 Thu Jul 18 19:39:18 2002  J"orn Rennecke <joern.rennecke@superh.com>
16482
16483         * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
16484         (sh_expand_binop_v2sf): Likewise.
16485         * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
16486         (int_gpr_dest, trunc_hi_operand): New functions.
16487         * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
16488         trunc_hi_operand.
16489         (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
16490         * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
16491         (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
16492         (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
16493         (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
16494         (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
16495         (extendhisi2_media+1, extendqisi2_media+1): Likewise.
16496         (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
16497         (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
16498         (movsf_ie+1): Likewise.
16499         (loaddi_trunc): Use int_gpr_dest predicate.
16500         (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
16501         (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
16502         (casesi_worker_0+[12], casesi_worker): Likewise.
16503         (shcompact_preserve_incoming_args): Likewise.
16504         (mov_nop): Use any_register_operand predicate.
16505         (mperm_w0): Use trunc_hi_operand predicate.
16506
16507 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16508
16509         * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
16510         * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
16511         numbering.
16512
16513 2002-07-18  John David Anglin  <dave@hiauly1.hia.nrc.ca>
16514
16515         * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
16516
16517 2002-07-18  Richard Henderson  <rth@redhat.com>
16518
16519         PR optimization/7147
16520         * ifcvt.c (noce_get_condition): Make certain that the condition
16521         is valid at JUMP.
16522
16523 Thu Jul 18 13:44:51 2002  J"orn Rennecke <joern.rennecke@superh.com>
16524
16525         * sh.c (barrier_align, push): Shut up compiler warnings.
16526         (initial_elimination_offset,sh_media_init_builtins): Likewise.
16527         (reg_no_subreg_operand): Delete.
16528
16529 2002-07-17  Bo Thorsen  <bo@suse.de>
16530
16531         * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
16532         (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
16533         (STARTFILE_SPEC): Remove hardcoded library paths.
16534         (ENDFILE_SPEC): Likewise.
16535
16536 Thu Jul 18 09:38:59 CEST 2002  Jan Hubicka  <jh@suse.cz>
16537
16538         * gcse.c (hoist_expr_reaches_here_p):  Stop once expr_bb is reached.
16539
16540         * gcse.c (try_replace_reg): Do not return false positives.
16541
16542 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
16543
16544         * prefix.c: (update_path): Strip ".." components when prior dir
16545         doesn't exist.  Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
16546
16547         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
16548         (ASM_OUTPUT_REG_POP): Likewise.
16549
16550 2002-07-18  Alan Modra  <amodra@bigpond.net.au>
16551
16552         * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
16553         adjustments to first_reg for profiling case.
16554         (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
16555         Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
16556         Save static chain reg to sp + 12 on ABI_AIX_NODESC.
16557         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
16558         (ASM_OUTPUT_REG_POP): Define.
16559         * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
16560         (ASM_OUTPUT_REG_POP): Undef.
16561
16562 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
16563
16564         * cpplib.c (do_sccs): Handle #sccs on all systems.
16565         * system.h (SCCS_DIRECTIVE): Poison.
16566         * config/darwin.h, config/freebsd.h, config/netbsd.h,
16567         config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
16568         config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
16569         config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
16570         config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
16571         config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
16572         config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
16573         config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
16574         Remove all references to SCCS_DIRECTIVE.
16575         * doc/cpp.texi, doc/tm.texi: Update.
16576
16577 Wed Jul 17 19:23:32 2002  J"orn Rennecke <joern.rennecke@superh.com>
16578
16579         * regrename.c (maybe_mode_change): New function.
16580         (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
16581
16582 2002-07-17  Rodney Brown  <rbrown64@csc.com.au>
16583
16584         * config/i386/i386.c (ix86_expand_int_movcc): In the general case
16585         suppress addition when either ct or cf are zero.
16586
16587 2002-07-17  Eric Botcazou <ebotcazou@multimania.com>
16588             Glen Nakamura <glen@imodulo.com>
16589
16590         PR optimization/6713
16591         * loop.c (loop_givs_rescan): Explicitly delete the insn that
16592         sets a non-replaceable giv after issuing the new one.
16593
16594 2002-07-17  Neil Booth  <neil@daikokuya.co.uk>
16595
16596         * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
16597         eval_token): Clarify and correct use of "bool" variables.
16598         * cpplib.h (struct cpp_options): Similarly.
16599         * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
16600         * cpptrad.c (recursive_macro): Similarly.
16601
16602 Wed Jul 17 17:08:06 2002  J"orn Rennecke <joern.rennecke@superh.com>
16603
16604         * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
16605         SHmedia code.
16606
16607         * sh.md (cmpgtudi_media): Remove spurious @.
16608
16609         * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
16610         * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
16611
16612         * config/sh/lib1funcs.asm (init_trampoline): New entry point.
16613         * sh-protos.h (sh_initialize_trampoline): Declare.
16614         * sh.c (sh_initialize_trampoline): New function.
16615         * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
16616         (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
16617         (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
16618         (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
16619         * sh.md (initialize_trampoline, double_shori): New patterns.
16620         (initialize_trampoline_compact): Likewise.
16621         (shmedia32_initialize_trampoline_big): Remove.
16622         (shmedia32_initialize_trampoline_little): Likewise.
16623
16624         * sh-protos.h (binary_float_operator): Remove declaration.
16625         (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
16626         * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
16627         (unary_float_operator, sh_expand_unop_v2sf): New functions.
16628         (sh_expand_binop_v2sf): Likewise.
16629         (zero_vec_operand): Delete.
16630         (SH_BLTIN_UDI): New builtin shared signature define.  Renumbered
16631         all non-shared ones.
16632         (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
16633         Enable nsb and byterev.
16634         * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
16635         (HARD_REGNO_MODE_OK): Allow TImode in fp regs.  Allow V2SFmode
16636         in general regs.
16637         (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
16638         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.  Remove clause for
16639         immediate operands.
16640         (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
16641         Add DF_HI_REGS.
16642         (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
16643         lowpart fp regs - only for big endian for now.
16644         (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
16645         when FPU is in use.
16646         (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
16647         (LOAD_EXTEND_OP): NIL for SImode.
16648         (REGISTER_MOVE_COST): Add DF_HI_REGS.  Const for moves between
16649         general and fp registers is 4.
16650         PREDICATE_CODES: Amend binary_float_operator entry.
16651         Remove zero_vec_operand.  Add unary_float_operator.
16652         * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
16653         subreg SET_DEST.
16654         (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
16655         (truncdiqi2): Do sign extension.
16656         (movsi_media, movdi_media): Allow to use r63 to an fp register.
16657         (movdf_media, movsf_media): Likewise.
16658         (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
16659         Collapse to one define_insn_and_split.  Allow immediate sources.
16660         (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
16661         (movv4sf_i): Allow immediate sources.  Use simplify_gen_subreg.
16662         (movv4sf): Allow immediate sources.
16663         (movsf_media_nofpu+1): Don't split moves to FP registers.
16664         (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
16665         (movv8qi_i+3): Check against CONST0_RTX.
16666         (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
16667         for input and output operands.  Fix argument 3 to gen_mextr_rl.
16668         (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
16669         (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
16670         (mshf0_w, fipr, ftrv): Likewise.
16671         (mshfhi_l_di): Now insn_and_split.  Can handle FP regs.
16672
16673 2002-07-17  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
16674
16675         * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
16676         NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively.  All uses changed.
16677         * arm.c: Similarly.
16678
16679 2002-07-17  Richard Sandiford  <rsandifo@redhat.com>
16680
16681         * config/mips/mips-protos.h (mips_sign_extend): Declare.
16682         * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
16683         (TARGET_SWITCHES): Remove debugh.
16684         (ISA_HAS_TRUNC_W): New macro.
16685         (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
16686         (PREDICATE_CODES): Remove se_nonimmediate_operand.
16687         * config/mips/mips.c (movdi_operand): Allow sign-extensions of
16688         any SImode move_operand.
16689         (se_nonimmediate_operand): Remove.
16690         (mips_sign_extend): New.
16691         (mips_move_2words): Use it for sign-extended source operands.
16692         (override_options): Allow integers to be put into single FPRs.
16693         (mips_secondary_reload_class): Handle integers in float registers.
16694         * config/mips/mips.md (extendsidi2): Turn into a define_expand.
16695         (fix_truncsfsi2, fix_truncdfsi2): Likewise.
16696         (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
16697         (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
16698         (fix_truncdfdi2): Provide only a single alternative, in which the
16699         integer is in a float register.  Depend on TARGET_FLOAT64 rather
16700         than TARGET_64BIT.
16701         (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
16702         (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
16703         (movdi_internal2): Don't allow the source operand to be sign-extended.
16704         Add alternatives for float registers.
16705         (*movdi_internal2_extend): New.  Version of movdi_internal2 that
16706         allows sign-extension.
16707         (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
16708         (movsi_internal2): Rename to movsi_internal.  Add alternatives for
16709         float registers.  Remove TARGET_DEBUG_H_MODE test.
16710         (movhi_internal1): Rename to movhi_internal.  Don't check
16711         TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
16712         (movqi_internal1): Rename to movqi_internal and remove
16713         TARGET_DEBUG_H_MODE dependency.
16714         (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
16715
16716 2002-07-16  Jim Wilson  <wilson@redhat.com>
16717
16718         * toplev.c (lang_dependent_init): Create function context for
16719         init_expr_once.
16720
16721 2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
16722
16723         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
16724         --gc-sections if -r.
16725         * config/cris/cris.h: Ditto.
16726
16727 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
16728
16729         * config/i386/i386.c (ix86_expand_int_movcc): In the case where
16730         the comparison directly gives a mask suppress addition when cf is
16731         zero by complementing the mask.
16732
16733 2002-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
16734
16735         * Makefile.in: Delete references to enquire.
16736         * enquire.c: Move to contrib.
16737
16738 2002-07-16  Stan Shebs  <shebs@apple.com>
16739
16740         * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
16741         config/rs6000/darwin.h.
16742         (ASM_OUTPUT_SKIP): Ditto.
16743         (TEXT_SECTION_ASM_OP): Ditto.
16744         (DATA_SECTION_ASM_OP): Ditto.
16745         (ASM_APP_ON): Define.
16746         (ASM_APP_OFF): Define.
16747         * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
16748         TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
16749
16750         * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
16751         (machopic_function_base_name): Declare result to be const.
16752         (machopic_non_lazy_ptr_name): Ditto.
16753         (machopic_stub_name): Ditto.
16754         * config/darwin-protos.h: Ditto for the prototypes.
16755
16756 Wed Jul 17 00:22:39 CEST 2002  Jan Hubicka  <jh@suse.cz>
16757
16758         * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
16759
16760 Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>
16761
16762         * i386.md (prefetch): Fix for 64bit mode.
16763         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
16764
16765 Wed Jul 17 00:19:20 CEST 2002  Jan Hubicka  <jh@suse.cz>
16766
16767         * i386.h (MACHINE_DEPENDENT_REORG): New macro.
16768         * i386.c (x86_machine_dependent_reorg): New function.
16769         * i386-protos.h (x86_machine_dependent_reorg): Declare.
16770
16771 2002-07-16  Zack Weinberg  <zack@codesourcery.com>
16772
16773         * builtins.c (std_expand_builtin_va_start): Remove unused
16774         first argument.
16775         (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
16776         std_expand_builtin_va_start with just two arguments.
16777         * expr.h: Update prototypes.
16778
16779         * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
16780         arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
16781         i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
16782         m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
16783         mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
16784         rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
16785         s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
16786         sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
16787         xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
16788         argument from all implementations of EXPAND_BUILTIN_VA_START
16789         and all uses of std_expand_builtin_va_start.
16790
16791 Tue Jul 16 19:32:58 2002  J"orn Rennecke <joern.rennecke@superh.com>
16792
16793         * regrename.c (copy_value): Don't record high part copies.
16794
16795 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
16796
16797         * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
16798         (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
16799         * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
16800
16801 2002-07-16  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
16802
16803         * doc/invoke.texi (NS32K Options): Document -mieee-compare option
16804
16805         * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
16806         into addsi3 using register class "x" and "y".
16807
16808         * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
16809         "earlyclobber" constraint modifier for some alternative.
16810
16811         * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
16812         (*ble, *blt): Flag to indicate bCOND and sCOND should check for
16813         unordered.
16814         config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
16815
16816         * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
16817         (TARGET_SWITCHES): Add -mieee-compare option.
16818         (OVERRIDE_OPTIONS): 32332 is a subset of
16819         32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
16820         (TARGET_SWITCHES): Fix description of bitfield option.
16821         * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
16822         -mieee-compare option. Remove 32332 flag.
16823
16824 2002-07-16  Steve Ellcey  <sje@cup.hp.com>
16825
16826         * explow.c (convert_memory_address): Remove special handling
16827         when POINTERS_EXTEND_UNSIGNED < 0.
16828         * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
16829         (movedi_symbolic): Fix typo.
16830         (load_fptr): Remove mode restriction so it works for SI and DI.
16831         (load_fptr_internal1): Ditto.
16832         (load_gprel): Ditto.
16833         (load_symptr_internal1): Ditto.
16834         (call_pic): Ditto.
16835         * config/ia64.c (call_operand): Modify mode check.
16836         (ia64_expand_load_address): Handle DI and SI addresses and symbols.
16837         (ia64_expand_move): Ditto.
16838         (ia64_assemble_integer): Handle SImode function pointers.
16839         (ia64_expand_fetch_and_op): Handle SImode mem addresses.
16840         (ia64_expand_op_and_fetch): Ditto.
16841         (ia64_expand_compare_and_swap): Ditto.
16842         (ia64_expand_lock_test_and_set): Ditto.
16843         (ia64_expand_lock_release): Ditto.
16844
16845 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
16846
16847         * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
16848
16849 2002-07-16  Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
16850             Richard Earnshaw  <rearnsha@arm.com>
16851
16852         * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
16853         CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.
16854
16855 2002-07-16  Richard Earnshaw  <rearnsha@arm.com>
16856
16857         * arm.md (stack_tie): New insn.  Use an idiom that the alias code
16858         understands to be a memory clobber.
16859         * arm.c (arm_expand_prologue): Use it.
16860
16861 2002-07-16  Daniel Berlin  <dberlin@dberlin.org>
16862
16863         * ra-rewrite.c: #include reload.h, insn-config.h
16864         * ra-build.c: #include reload.h
16865         * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
16866         depend on reload.h, insn-config.h.
16867
16868 Tue Jul 16 11:57:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
16869
16870         * expr.c (emit_move_insn_1): Handle arbitrary moves that are
16871         the same size as a word.
16872
16873         * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
16874         BYTES_BIG_ENDIAN into account.
16875
16876 Tue Jul 16 12:22:44 CEST 2002  Jan Hubicka  <jh@suse.cz>
16877
16878         * i386.md (prefetch): Fix for 64bit mode.
16879         (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
16880
16881         * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
16882
16883 2002-07-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
16884
16885         * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
16886
16887 2002-07-15  Zack Weinberg  <zack@codesourcery.com>
16888
16889         * ginclude/varargs.h: Replace with stub which issues #error.
16890         * ginclude/stdarg.h: __builtin_stdarg_start is renamed
16891         __builtin_va_start.
16892
16893         * builtins.def (BUILT_IN_VARARGS_START): Delete.
16894         (BUILT_IN_VA_START): New.
16895         * builtins.c (expand_builtin_va_start): Eliminate first
16896         argument and code to implement pre-ISO varargs.
16897         (std_expand_builtin_va_start): Ignore first argument; it is
16898         always 1.
16899         (expand_builtin): Handle BUILT_IN_VA_START and
16900         BUILT_IN_STDARG_START identically.  Delete
16901         BUILT_IN_VARARGS_START case.
16902
16903         * function.c (assign_parms): Delete hide_last_arg and all
16904         its uses.
16905         (mark_varargs): Delete function.
16906         * function.h (struct function): Delete 'varargs' bit.
16907         (current_function_varargs): Delete macro.
16908         * tree.h: Don't declare mark_varargs.
16909
16910         * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
16911         (c_expand_body): Don't call mark_varargs.
16912         * c-objc-common.c: Handle BUILT_IN_VA_START and
16913         BUILT_IN_STDARG_START identically.  Delete
16914         BUILT_IN_VARARGS_START case.
16915         * c-tree.h: Don't declare c_mark_varargs.
16916         * c-parse.in: Remove grammar rules for '&...' (which has been
16917         commented out since before 2.7.2) and for '...' in K+R
16918         argument declarations.
16919
16920         * builtins.c, function.c, integrate.c, sibcall.c,
16921         config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
16922         config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
16923         config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
16924         config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
16925         config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
16926         config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
16927         config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
16928         config/stormy16/stormy16.c: Delete all references to
16929         current_function_varargs, and code predicated on that flag.
16930
16931         * config/alpha/alpha.c (alpha_va_start),
16932         config/arc/arc.c (arc_va_start),
16933         config/i386/i386.c (ix86_va_start),
16934         config/mips/mips.c (mips_va_start),
16935         config/mn10300/mn10300.c (mn10300_va_start),
16936         config/rs6000/rs6000.c (rs6000_va_start),
16937         config/s390/s390.c (s390_va_start),
16938         config/sh/sh.c (sh_va_start),
16939         Ignore first argument; it is always 1.
16940
16941         * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
16942         * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
16943         * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
16944         Delete m68hc11_va_start.
16945         * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
16946         No need to define EXPAND_BUILTIN_VA_START.
16947
16948         * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
16949         doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
16950
16951 2002-07-15  Eric Botcazou  <ebotcazou@multimania.com>
16952
16953         PR optimization/7153
16954         * regmove.c (optimize_reg_copy_3): Don't optimize if the register
16955         dies in more than one insn.
16956
16957 2002-07-15  Jason Thorpe  <thorpej@wasabisystems.com>
16958
16959         * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
16960
16961 2002-07-15  Michael Matz  <matz@suse.de>,
16962             Daniel Berlin  <dberlin@dberlin.org>,
16963             Denis Chertykov  <denisc@overta.ru>
16964
16965         Add a new register allocator.
16966
16967         * ra.c: New file.
16968         * ra.h: New file.
16969         * ra-build.c: New file.
16970         * ra-colorize.c: New file.
16971         * ra-debug.c: New file.
16972         * ra-rewrite.c: New file.
16973
16974         * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
16975         (ra-rewrite.o): New .o files for libbackend.a.
16976         (GTFILES): Add basic-block.h.
16977
16978         * toplev.c (flag_new_regalloc): New.
16979         (f_options): New option "new-ra".
16980         (rest_of_compilation): Call initialize_uninitialized_subregs()
16981         only for the old allocator.  If flag_new_regalloc is set, call
16982         new allocator, instead of local_alloc(), global_alloc() and
16983         friends.
16984
16985         * doc/invoke.texi: Document -fnew-ra.
16986         * basic-block.h (FOR_ALL_BB): New.
16987         * config/rs6000/rs6000.c (print_operand): Write small constants
16988         as @l+80.
16989
16990         * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
16991         (df_reg_table_realloc): Make size at least as large as max_reg_num().
16992         (df_insn_table_realloc): Size argument now is absolute, not relative.
16993         Changed all callers.
16994
16995         * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
16996         * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
16997
16998         2002-06-20  Michael Matz  <matz@suse.de>
16999
17000         * df.h (struct ref.id): Make unsigned.
17001         * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
17002
17003         2002-06-13  Michael Matz  <matz@suse.de>
17004
17005         * df.h (DF_REF_MODE_CHANGE): New flag.
17006         * df.c (df_def_record_1, df_uses_record): Set this flag for refs
17007         involving subregs with invalid mode changes, when
17008         CLASS_CANNOT_CHANGE_MODE is defined.
17009
17010         2002-05-07  Michael Matz  <matz@suse.de>
17011
17012         * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
17013
17014         2002-05-03  Michael Matz  <matz@suse.de>
17015
17016         * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
17017
17018         Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
17019
17020         * regclass.c (regclass): Work with all regs which have sets or
17021         refs.
17022         (reg_scan_mark_refs): Count regs inside (clobber ...).
17023
17024         2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
17025
17026         * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
17027         (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
17028         add new refs.
17029         (df_bb_refs_update): Don't clear insns_modified here, ...
17030         (df_analyse): ... but here.
17031
17032         * sbitmap.c (dump_sbitmap_file): New.
17033         (debug_sbitmap): Use it.
17034
17035         * sbitmap.h (dump_sbitmap_file): Add prototype.
17036
17037         2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
17038
17039         * df.c (df_insn_modify): Grow the UID table if necessary, rather
17040         than assume all emits go through df_insns_modify.
17041
17042         2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
17043
17044         * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
17045         increase REG_N_REFS (like flow does), so that regclass doesn't
17046         think a reg is useless, and thus, not calculate a class, when it
17047         really should have.
17048
17049         2001-01-28  Daniel Berlin  <dberlin@redhat.com>
17050
17051         * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
17052         dataflow analysis.
17053
17054 2002-07-15  Jakub Jelinek  <jakub@redhat.com>
17055
17056         PR middle-end/7245
17057         * config/i386/i386.c (const_int_1_31_operand): New.
17058         * config/i386/i386.h (PREDICATE_CODES): Add it.
17059         * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
17060         ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
17061         lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
17062
17063 2002-07-14  Alan Modra  <amodra@bigpond.net.au>
17064
17065         PR target/7282
17066         * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
17067         (floatunssidf2): Likewise.
17068         (floatsidf_ppc64): New insn_and_split.
17069         (floatunssidf_ppc64): Likewise.
17070
17071 2002-07-14  Andreas Jaeger  <aj@suse.de>
17072
17073         * config.gcc (sh64): Remove unused
17074         target_requires_64bit_host_wide_int.
17075
17076 2002-07-12  Roger Sayle  <roger@eyesopen.com>
17077
17078         * expr.c [CLEAR_RATIO]: New macro defining the maximum number
17079         of move instructions to use when clearing memory, c.f. MOVE_RATIO.
17080         [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
17081         whether clear_by_pieces should be used to clear storage.
17082         (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
17083
17084         * doc/tm.texi: Document these two new target macros.
17085
17086 2002-07-12  Stephane Carrez  <stcarrez@nerim.fr>
17087
17088         * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
17089         the scratch register.
17090         ("*movhi2_push"): Accept Z_REG because a split pattern can make use
17091         of it, forbid reload to use it.
17092
17093 2002-07-12  Marek Michalkiewicz  <marekm@amelek.gda.pl>
17094
17095         * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
17096         usage on 64-bit hosts, return value was truncated to 32 bits.
17097
17098 Fri Jul 12 00:49:36 2002  J"orn Rennecke <joern.rennecke@superh.com>
17099
17100         * simplify-rtx.c (simplify_subreg): Handle floating point
17101         CONST_DOUBLEs.  When an integer subreg of a smaller mode than
17102         the element mode is requested, compute a subreg with an
17103         integer mode of the same size as the element mode first.
17104
17105 Thu Jul 11 22:02:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
17106
17107         * combine.c (try_combine): When converting a paradoxical subreg
17108         to an extension, take LOAD_EXTEND_OP into account.
17109
17110 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17111
17112         * config.gcc (mips-sgi-irix6*o32): New configuration.
17113
17114         * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
17115         configurations.
17116         * configure: Regenerate.
17117
17118         * config/mips/iris6-o32-as.h: New file.
17119         * config/mips/iris6-o32.h: New file.
17120
17121         * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
17122         (NM_FLAGS): Define.
17123         (HAVE_AS_SHF_MERGE): Undefine.
17124
17125         * config/mips/t-iris5-as: New file.
17126         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
17127
17128         * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
17129         SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
17130         SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
17131         dp-bit.c, fp-bit.c): Move ...
17132         * config/mips/t-iris5-6: ... here.
17133         New file, shared by IRIX 5 and IRIX 6.
17134         * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
17135         mips-sgi-irix5*): Use it.
17136
17137         * config/mips/iris6.h: Remove duplicate comment.
17138
17139         * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
17140         !TARGET_IRIX6]: Define.
17141         (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
17142
17143         * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
17144
17145 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17146
17147         * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
17148         and delete code to force constant to register.
17149         * pa-protos.h (adddi3_operand): Add prototype.
17150         * pa.c (adddi3_operand): New function.
17151
17152 2002-07-11  Roger Sayle  <roger@eyesopen.com>
17153
17154         * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
17155         non-ANSI builtin functions.
17156
17157 Thu Jul 11 11:31:12 2002  J"orn Rennecke <joern.rennecke@superh.com>
17158
17159         * rtl.h (gen_rtx_CONST_VECTOR): Declare.
17160         * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
17161         * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
17162         (gen_const_vector_0): Use it.
17163
17164 2002-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17165
17166         * pa.md (adddi3): For 32-bit targets, force constants to a register
17167         if they don't fit in an 11-bit immediate.  Change insn predicate to
17168         arith11_operand.  Remove comment.
17169         * pa.c (cint_ok_for_move): Fix comment.
17170         (emit_move_sequence):  Don't directly split DImode constants on 32-bit
17171         targets.
17172
17173 2002-07-11  Tim Josling  <tej@melbpc.org.au>
17174
17175         Remove front end hard coding from gengtype.c.
17176
17177         * Makefile.in
17178         (STAGESTUFF): add gtyp-gen.h
17179         (GTFILES): Remove front end specific files.
17180         (GTFILES_FILES_LANGS): New, from configure..
17181         (GTFILES_FILES_FILES): Likewise.
17182         (GTFILES_LANG_DIR_NAMES): Likewise.
17183         (GTFILES_SRCDIR): Likewise.
17184         (gtyp-gen.h): Build from configure information.
17185         (s-gtype): Remove command line parameters from gengtype.
17186         (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
17187         (mostlyclean): Delete files generated by and for gengtype.
17188
17189         * c-config-lang.in: New file.
17190
17191         * configure.in (all_gtfiles_files_langs): New. Accumulate files
17192         for each language.
17193         (all_gtfiles_files_files): New. Accumulate language for each file
17194         accumulated.
17195         (gtfiles): Pick up value for C.
17196         (srcdir): AC-SUBST this variable.
17197         (all_gtfiles_files_langs): AC-SUBST this variable.
17198         (all_gtfiles_files_files): AC-SUBST this variable.
17199
17200         * configure: Regenerate.
17201
17202         * gengtype-lex.l (parse_file): Make parameter const.
17203
17204         * gengtype.c (toplevel): include gtyp-gen.h.
17205         (BASE_FILE_<language> unnamed enum): Delete.
17206         (lang_names): Delete (replaced by gtyp-gen.h)
17207         (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
17208         all references.
17209         (NUM_GT_FILES): New.
17210         (NUM_LANG_FILES): New.
17211         (srcdir_len): New.
17212         (NUM_BASE_FILES): Change calculation.
17213         (open_base_files): Change prototype to avoid warning.
17214         (startswith): Delete.
17215         (get_file_basename): Iterate through generated language list not
17216         hard coded list.
17217         (get_base_file_bitmap): Use generated list of files and languages.
17218         (close_output_files): Add prototype to rmove warning.
17219         (main): Iterate through list of generated files from gtyp-gen.h
17220         rather than command line paramaters.  Ignore duplicated file
17221         names.
17222
17223         * gengtype.h (parse_file): Amend prototype for const parameter.
17224
17225         * doc/sourcebuild.texi: Document gtfiles variable.
17226
17227         * doc/gty.texi: Document changes to gtfiles variable for front
17228         ends.
17229
17230         * objc/config-lang.in (gtfiles): Add files needed for objc front
17231         end.
17232
17233 2002-07-10  Roger Sayle  <roger@eyesopen.com>
17234
17235         PR c/2454
17236         * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
17237         to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.
17238
17239 2002-07-10  Roger Sayle  <roger@eyesopen.com>
17240             Zack Weinberg <zack@codesourcery.com>
17241
17242         * builtins.def: Make the argument types of abort and exit
17243         independent of the front-end.
17244
17245 2002-07-11  Alan Modra  <amodra@bigpond.net.au>
17246
17247         * config/rs6000/linux64.h (ASM_SPEC): Define.
17248
17249 2002-07-10  Aldy Hernandez  <aldyh@redhat.com>
17250
17251         * config/rs6000/rs6000.c (emit_frame_save): New.
17252         (rs6000_frame_related): Replace reg2 before reg.
17253         (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
17254         and eh_return registers.
17255
17256 2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>
17257
17258         Revert all patches for optimization of Complex .op. Real.
17259         * complex_part_zero_p: Remove
17260         * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
17261         with x.
17262         * expand_cmplxdiv_wide: Ditto.
17263         * expand_binop: Ditto.
17264
17265 2002-07-10  Marek Michalkiewicz  <marekm@amelek.gda.pl>
17266
17267         * config/avr/avr.md: Fix two 0x80000000 constants to make them
17268         negative also on 64-bit hosts.
17269
17270         Default to -fno-reorder-blocks when optimizing for size.
17271         * config/avr/avr-protos.h (avr_optimization_options): Declare.
17272         * config/avr/avr.c (avr_optimization_options): New function.
17273         * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
17274
17275         Optimize returning from simple functions.
17276         * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
17277         * config/avr/avr.c (avr_simple_epilogue): New function.
17278         * config/avr/avr.md (return): New insn.
17279
17280 2002-07-10  Douglas B Rupp  <rupp@gnat.com>
17281
17282         * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
17283         HAS_INIT_SECTION to protection.
17284
17285 2002-07-10  Mark Mitchell  <mark@codesourcery.com>
17286
17287         * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
17288         deprecated.
17289
17290 Wed Jul 10 19:50:03 2002  J"orn Rennecke <joern.rennecke@superh.com>
17291
17292         * combine.c (gen_lowpart_for_combine): Handle vector modes.
17293         Supply non-VOID mode to simplify_gen_subreg.
17294
17295 Wed Jul 10 18:48:55 CEST 2002  Jan Hubicka  <jh@suse.cz>
17296
17297         * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
17298
17299 2002-07-10  Jeffrey A Law  <law@redhat.com>
17300
17301         * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
17302         as appropriate.
17303
17304         * mn10200.c (expand_epilogue): Fix test to determine which scratch
17305         register to use.
17306
17307 Wed Jul 10 16:06:00 2002  J"orn Rennecke <joern.rennecke@superh.com>
17308
17309         * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
17310         Get mode from dest.
17311         If simplify_gen_subreg fails, try next equivalent.
17312
17313 2002-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
17314
17315         * diagnostic.h: #include location.h
17316         (location_t): Move definition to..
17317         * location.h: ... here.  New file.
17318         * tree.h: #include location.h
17319         (DECL_SOURCE_LOCATION): New macro.
17320         (DECL_SOURCE_FILE): Use.
17321         (DECL_SOURCE_LINE): Likewise.
17322         (struct tree_decl): REplace filename and linenum with locus.
17323         * Makefile.in (TREE_H): add location.h
17324         (diagnostic.o): Depends on gt-location.h
17325         (gt-location.h): Depends on s-gtype
17326
17327 2002-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
17328
17329         * config/rs6000/aix.h: Convert CPP_PREDEFINES to
17330         TARGET_OS_CPP_BUILTINS.
17331         * config/rs6000/aix31.h: Likewise.
17332         * config/rs6000/aix41.h: Likewise.
17333         * config/rs6000/aix43.h: Likewise.
17334         * config/rs6000/aix51.h: Likewise.
17335         * config/rs6000/beos.h: Likewise.
17336         * config/rs6000/darwin.h: Likewise.
17337         * config/rs6000/eabi.h: Likewise.
17338         * config/rs6000/eabisim.h: Likewise.
17339         * config/rs6000/linux.h: Likewise.
17340         * config/rs6000/linux64.h: Likewise.
17341         * config/rs6000/lynx.h: Likewise.
17342         * config/rs6000/mach.h: Likewise.
17343         * config/rs6000/rtems.h: Likewise.
17344         * config/rs6000/sysv4.h: Likewise.
17345         * config/rs6000/vxppc.h: Likewise.
17346
17347 2002-07-09 Devang Patel <dpatel@apple.com>
17348         * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
17349         Do not allow ObjC objects as a parameter type for Objective-C methods.
17350         My previous patch restricted  'struct' also.
17351
17352 2002-07-09  Neil Booth  <neil@daikokuya.co.uk>
17353
17354         * cpperror.c (cpp_error): Default to directive_line within
17355         directives here.
17356         * cppexp.c (cpp_interpret_integer): Only use traditional
17357         number semantics in directives.
17358         * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
17359         (do_include_common): Similarly.
17360         * cpptrad.c (scan_out_logical_line): Implement accurate
17361         quoting of <> in #include.
17362         * doc/cpp.texi: Update.
17363
17364 Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
17365                           J"orn Rennecke <joern.rennecke@superh.com>
17366
17367         * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
17368         * sh.md (attribute issues): Replace with:
17369         (attribute pipe_model).  All users changed.
17370         (attribute type): Change pt / ptabs to pt_media / ptabs_media.
17371         All users changed.
17372         (function units sh5issue, sh5fds): New.
17373         (attribute is_mac_media): New.
17374         (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
17375         (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
17376         (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
17377         (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
17378         (call_media, call_value_media, sibcall_media): Likewise.
17379         (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
17380         (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
17381         (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
17382         (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
17383         (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
17384         (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
17385         (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
17386         (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
17387         (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
17388         (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
17389         (truncdfsf2_media): Likewise.
17390         (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
17391         (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
17392
17393 Tue Jul  9 21:39:50 2002  J"orn Rennecke <joern.rennecke@superh.com>
17394
17395         * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
17396         * sh.c (general_extend_operand, inqhi_operand): New functions.
17397         * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
17398         alternatives using 'N' modifier.  Add type.
17399         (adddi3z_media): Likewise.  Enable generator function generation.
17400         (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
17401         exact predicates / constraints.  Add type.
17402         (subsi3): Allow 0 for SHMEDIA.
17403         (udivsi3_i4_media): Use match_operand for input values
17404         rather than hard registers.
17405         (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
17406         unnecessarily through hard registers.  Keep copies of pseudo
17407         registers outside of the libcall sequence.
17408         (mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
17409         (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
17410         (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
17411         (extendhidi2, extendqidi2): Likewise.
17412         (andsi3_compact): Name.
17413         (andcdi3): Enable generator function generation.
17414         (zero_extendhisi2, zero_extendqisi2): Rename to
17415         (zero_extendhisi2_compact, zero_extendqisi2_compact).
17416         (extendhisi2, extendqisi2): Rename to
17417         (extendhisi2_compact, extendqisi2_compact).
17418         (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
17419         (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
17420         (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
17421         (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
17422         (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
17423         (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
17424         (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
17425         (shmedia32_initialize_trampoline_big): Likewise.
17426         (shmedia32_initialize_trampoline_little): Likewise.
17427         (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
17428         (negdi2): Remove spurious T clobber.
17429         (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
17430         (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
17431         (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
17432         (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
17433         (ic_invalidate_line_media): Write back data cache before invalidating
17434         instruction cache.  Add type.
17435         (movsf_media): Sign-extend when the destination is a general
17436         purpose register.  Add type.
17437         (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
17438         (casesi_worker_0+1): Only increment ref count for proper label.
17439         (casesi_worker_0+2): Likewise.
17440
17441 2002-07-09  Mark Mitchell  <mark@codesourcery.com>
17442
17443         * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
17444
17445 2002-07-09  Steve Ellcey  <sje@cup.hp.com>
17446
17447         * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
17448         from Pmode to ptr_mode.
17449         (get_exception_pointer): Ditto.
17450         (connect_post_landing_pads): Ditto.
17451         (dw2_build_landing_pads): Ditto.
17452
17453 2002-07-08  Steve Ellcey  <sje@cup.hp.com>
17454         * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
17455         * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
17456         (handle_pragma_redefine_extname): Change to use new function.
17457
17458 2002-07-08  Roger Sayle  <roger@eyesopen.com>
17459
17460         * combine.c (combine_simplify_rtx): Add an explicit cast
17461         to avoid signed/unsigned comparison warning.
17462         (simplify_if_then_else): Likewise.
17463         (extended_count): Likewise.
17464         (simplify_shift_const): Likewise.
17465         (simplify_comparison): Likewise.
17466
17467 2002-07-08  Richard Sandiford  <rsandifo@redhat.com>
17468
17469         * config/mips/mips.md: Add imadd type.  Update scheduler description
17470         to use imadd as well as imul.
17471         (*mul_acc_si, *madsi): Change imul alternatives to imadd.
17472         (*mul_acc_di, *mul_acc_64bit_di): Likewise.
17473         (*mul_sub_si): Likewise for first alternative.  Change second
17474         alternative from imul to multi.
17475
17476 2002-07-07  Neil Booth  <neil@daikokuya.co.uk>
17477
17478         * c-common.c (c_common_post_options): Update prototype;
17479         don't init backends if preprocessing only.
17480         * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
17481         * langhooks.h (struct lang_hooks): Update post_options to
17482         return a boolean.
17483         * toplev.c (parse_options_and_default_flags, do_compile,
17484         lang_independent_init): Update prototypes.  Allow the
17485         front end to specify that there is no need to initialize
17486         the back end.
17487         (general_init): Move call to hex_init here...
17488         (toplev_main): ...from here.  Pass flag for back end init
17489         suppression.
17490
17491 Sun Jul  7 20:38:38 2002  J"orn Rennecke <joern.rennecke@superh.com>
17492
17493         * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
17494         (PREDICATE_CODES): Add entries for equality_comparison_operator,
17495         greater_comparison_operator and less_comparison_operator.
17496         * sh.c (print_operand): Add '\'' code.  Make 'o' handle
17497         more operators.
17498         (equality_comparison_operator): New function.
17499         (greater_comparison_operator, less_comparison_operator): Likewise.
17500         * sh.md (beq_media_i): Disable generator function generation.
17501         Use match_operator to handle a whole class of comparisons.  Add
17502         modifier in output template to provide branch prediction.  Add type.
17503         (bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
17504         (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
17505         (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
17506         (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
17507
17508 2002-07-07  Hans-Peter Nilsson  <hp@bitrange.com>
17509
17510         Emit MMIX function prologue and epilogue as rtl.
17511         * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
17512         not unprototyped get_hard_reg_initial_val.
17513         ("call_value", "nonlocal_goto_receiver"): Ditto.
17514         ("return"): Make define_expand.  Move real insn to...
17515         ("*expanded_return"): New pattern.
17516         ("prologue", "epilogue"): New define_expands.
17517         * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
17518         (struct machine_function): New member in_prologue.
17519         (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
17520         (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
17521         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
17522         (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
17523         (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
17524         (LOCAL_REGNO): Define.  Adjust comment.
17525         * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
17526         Consider regs_ever_live[MMIX_rJ_REGNUM], not just
17527         leaf_function_p.
17528         (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
17529         the prologue.
17530         (mmix_target_asm_function_prologue): Make static.  Just mark that
17531         the prologue is being emitted.  Move guts to...
17532         (mmix_expand_prologue): New function.  Adjust for emitting
17533         prologue as rtl.  For sizes, use HOST_WIDE_INT only.
17534         (mmix_target_asm_function_epilogue): Make static.  Simply emit a
17535         \n.  Move guts to...
17536         (mmix_expand_epilogue): New function.  Adjust for emitting
17537         epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
17538         (mmix_target_asm_function_end_prologue): Mark that the prologue
17539         has ended.
17540         (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
17541         (mmix_conditional_register_usage): Improve comments.
17542         (mmix_local_regno): New function.
17543         (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
17544         * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
17545         (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
17546         (mmix_get_hard_reg_initial_val): Ditto.
17547
17548 2002-07-06  Andreas Jaeger  <aj@suse.de>
17549
17550         * toplev.c (set_fast_math_flags): Don't use ISO C style function
17551         definitions.
17552         * gengtype.c (open_base_files): Likewise.
17553         (close_output_files): Likewise.
17554         * tracer.c (find_best_predecessor): Likewise.
17555         (find_best_successor): Likewise.
17556         (ignore_bb_p): Likewise.
17557
17558 2002-07-05  Roger Sayle  <roger@eyesopen.com>
17559
17560         PR c++/7099
17561         * builtin-attrs.def: Define new attribute lists for use in
17562         builtins.def.
17563         * builtins.def [DEF_BUILTIN]: Modify to take an additional
17564         ATTRS argument, an enumerated value defined in builtin-attrs.def
17565         that represents the attribute list for the builtins.  Modify
17566         all builtin functions to pass an appropriate attribute list.
17567         Specify "abort", "exit", "_exit" and "_Exit" builtins here with
17568         their required noreturn attributes.
17569         * tree.h (enum_builtin_function): Ignore the additional parameter
17570         to DEF_BUILTIN.
17571         * builtins.c (built_in_names): Likewise.
17572         * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
17573         argument with a tree representing the functions attribute list.
17574         Pass this "attrs" argument to builtin_function.  No longer handle
17575         the noreturn_p processing manually.
17576         (built_in_attributes): Move the definitions from builtin-attrs.def
17577         before c_common_nodes_and_builtins.
17578         (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
17579         DEF_BUILTIN, passing it to both builtin_function and the changed
17580         builtin_function_2.
17581
17582         * doc/extend.texi: Document __builtin_abort, __builtin_exit,
17583         __builtin__exit and __builtin__Exit.
17584
17585 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
17586
17587         * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
17588         QI mode registers in soft registers.
17589         ("zero_extendqihi2"): Do not take into account soft registers
17590         for register allocation (use '*' constraint).
17591
17592 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
17593
17594         * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
17595         it is dead.
17596         ("*ashrsi3"): Likewise.
17597         ("*lshrsi3"): Likewise.
17598
17599 2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>
17600
17601         * genautomata.c (output_max_insn_queue_index_def): Take latencies
17602         into account.
17603
17604 2002-07-05  Stephane Carrez  <stcarrez@nerim.fr>
17605
17606         * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
17607         address computation and memory moves.
17608
17609 2002-07-03  Mark Mitchell  <mark@codesourcery.com>
17610
17611         PR c++/6706
17612         * dwarfout.c (output_reg_number): Fix warning message.
17613         (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
17614         before using it.
17615
17616 2002-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
17617
17618         * gcc/gcc.c (asm_debug): Move initialization ...
17619         (init_spec): ... here.
17620
17621 2002-07-05  Nathan Sidwell  <nathan@codesourcery.com>
17622
17623         * c-parse.in (extdef): Append ';'.
17624         (old_style_parm_decls): Append ';'.
17625
17626 2002-07-04  Daniel Jacobowitz  <drow@mvista.com>
17627
17628         * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
17629         gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
17630         to gcc_cv_as_gstabs_flag.
17631         * configure: Rebuilt.
17632
17633 2002-07-04  Geoffrey Keating  <geoffk@redhat.com>
17634
17635         * ggc.h (ggc_add_root): Document as obsolete.
17636
17637 Thu Jul  4 07:58:01 2002  J"orn Rennecke <joern.rennecke@superh.com>
17638
17639         * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
17640         (mshflo_w): Likewise.
17641
17642 Thu Jul  4 07:36:29 2002  J"orn Rennecke <joern.rennecke@superh.com>
17643
17644         * simplify-rtx.c (simplify_subreg): Reduce problem of finding
17645         vector mode subregs of constants to finding integer mode
17646         subregs of constants.
17647         * cse.c (cse_insn): Use simplify_gen_subreg.
17648         * convert.c (convert_to_integer): Don't strip a NOP_EXPR
17649         From a vector mode expression of different size than the
17650         target mode.
17651
17652 2002-07-03  Eric Christopher  <echristo@redhat.com>
17653
17654         * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
17655         * config/mips/mips.h: Remove deprecated -m<processor> options
17656         and cc1_cpu_spec associated.
17657         (CONSTANT_ADDRESS_P): Fix last patch.
17658         (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
17659         * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
17660         sunge_sf): Remove.
17661
17662 2002-07-03  Stan Shebs  <shebs@apple.com>
17663
17664         * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
17665         (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
17666         (CPP_SPEC): Remove insertion of APPLE_CC definition.
17667
17668 2002-07-03  Roger Sayle  <roger@eyesopen.com>
17669
17670         * combine.c (struct_undo): Change types of recorded substitutions
17671         to be either "int" or "rtx", instead of "unsigned int" and "rtx".
17672         (do_SUBST_INT): Change types of the substitution from unsigned int
17673         to int, to avoid compilation warning from SUBST_INT's only caller.
17674
17675         (make_extraction): Add cast to avoid compilation warning.
17676         (force_to_mode): Remove cast to avoid compilation warning.
17677
17678 2002-07-03  Eric Botcazou  <ebotcazou@multimania.com>
17679             Jeff Law  <law@redhat.com>
17680
17681         * i386.md (length_immediate attribute): Fix typo.
17682         (length_address attribute): Likewise.
17683         (modrm attribute): Set it to 0 for immediate call instructions.
17684         (jcc_1 pattern): Set modrm attribute to 0.
17685         (jcc_2 pattern ): Likewise.
17686         (jump pattern): Likewise.
17687         (doloop_end_internal pattern): Explicitly set length.
17688         (leave pattern): Fix typo.
17689         (leave_rex64 pattern): Likewise.
17690
17691 2002-07-03  David Edelsohn  <edelsohn@gnu.org>
17692
17693         * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
17694         in FPR as preference.
17695         (fctiwz): Same.
17696         (floatdidf2, fix_truncdfdi2): Same.
17697         (floatdisf2, floatditf2, fix_trunctfdi2): Same.
17698         (floatditf2): Same.
17699         (floatsitf2, fix_trunctfsi2): SImode in GPR.
17700         (ctrdi): Remove FPR alternative and splitter.
17701
17702 2002-07-03  Will Cohen  <wcohen@redhat.com>
17703
17704         * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
17705
17706 Wed Jul  3 10:24:16 2002  J"orn Rennecke <joern.rennecke@superh.com>
17707
17708         * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
17709         than UNITS_PER_WORD, unless this is little endian and the first unit
17710         in this word.  Let extract_bit_field decide how to load an element.
17711         Force arguments to matching mode.
17712         (expand_vector_unop): Likewise.
17713
17714         * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
17715         consist of word_mode elements.
17716         * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
17717         BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
17718         (build_unary_op): Allow vector types for BIT_NOT_EPR.
17719         * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
17720         CONST_VECTOR.
17721         * optabs.c (expand_vector_binop): Try to perform operation in
17722         smaller vector modes with same inner size.  Add handling of AND, IOR
17723         and XOR.  Reject expansion to inner-mode sized scalars when using
17724         OPTAB_DIRECT.  Use simplify_gen_subreg on constants.
17725         (expand_vector_unop): Try to perform operation in smaller vector
17726         modes with same inner size.  Add handling of one's complement.
17727         When there is no vector negate operation, try a vector subtract
17728         operation.  Use simplify_gen_subreg on constants.
17729         * simplify-rtx.c (simplify_subreg): Add capability to convert vector
17730         constants into smaller vectors with same inner mode, and to
17731         integer CONST_DOUBLEs.
17732
17733 2002-07-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17734
17735         * c-parse.in (parsing_iso_function_signature): New variable.
17736         (extdef_1): New, copied from...
17737         (extdef): ... here.  Reset parsing_iso_function_signature.
17738         (old_style_parm_decls):  Reset parsing_iso_function_signature.
17739         (old_style_parm_decls_1): New, copied from old_style_parm_decls.
17740         Warn about ISO C style function definitions.
17741         (nested_function, notype_nested_function): Reset
17742         parsing_iso_function_signature.
17743         (parmlist_2): Set parsing_iso_function_signature.
17744
17745         * doc/invoke.texi (-Wtraditional): Document new behavior.
17746
17747 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
17748
17749         * config.gcc (mips*el-*-*): Use tm_defines to set
17750         TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
17751         * config/mips/little.h: Remove.
17752
17753 2002-07-02 Devang Patel <dpatel@apple.com>
17754
17755         * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
17756         object as parameter. Prevent something like 'NSObject' to be
17757         used as the type for a method argument.
17758
17759 2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
17760
17761         * cpptrad.c: Update comment.
17762
17763 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
17764
17765         * doc/cpp.texi: Update for traditional preprocessing changes.
17766         * goc/cppopts.texi: Similarly.
17767
17768 2002-07-02  Ziemowit Laski  <zlaski@apple.com>
17769
17770         * c-parse.in (designator): Enable designated initializers if ObjC.
17771         (objcmessageexpr): Remove references to objc_receiver_context.
17772         * objc/objc-act.h (objc_receiver_context): Remove decl.
17773         * objc/objc-act.c (objc_receiver_context): Remove.
17774         (lookup_objc_ivar): Test objc_method_context instead of
17775         objc_receiver_context.
17776
17777 Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
17778
17779         * sh.c (print_operand, case 'N'): Allow zero vector.
17780         (arith_reg_or_0_operand): Likewise.
17781         (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
17782         * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for
17783         IOR, XOR, PLUS and SET and take their respective constant
17784         ranges into account.
17785         (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
17786         * sh.md (subdi3, subdi3_media): Allow zero operand.
17787         (movv8qi_i+3): Only vector that is not split is the zero vector.
17788         Fix operand 3 to simplify_subreg.
17789         (movv2si_i): Split alternative 1.
17790         (mshfhi_l_di_rev+1): New splitter.
17791
17792 2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
17793
17794         PR preprocessor/7029
17795         * cppinit.c (cpp_handle_option):  Suppress warnings with an
17796         implicit "-w" for "-M" and "-MM".
17797         * doc/cppopts.texi: Update.
17798
17799 2002-07-01  Roger Sayle  <roger@eyesopen.com>
17800
17801         * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
17802         identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
17803         builtin_function.
17804
17805 2002-07-02  Alan Modra  <amodra@bigpond.net.au>
17806
17807         * README.Portability: Fix typos.
17808
17809 2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
17810
17811         PR target/7177
17812         * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
17813         of indirections for register inside sign-extended mem part.
17814
17815 2002-07-01  Roger Sayle  <roger@eyesopen.com>
17816
17817         * tree.h:  Modify builtin_function interface to take an extra
17818         argument ATTRS, which is a tree representing an attribute list.
17819
17820         * c-decl.c (builtin_function): Accept additional parameter.
17821         * objc/objc-act.c (builtin_function): Likewise.
17822         * f/com.c (builtin_function): Likewise.
17823         * java/decl.c (builtin_function): Likewise.
17824         * ada/utils.c (builtin_function): Likewise.
17825         * cp/decl.c (builtin_function): Likewise.
17826         (builtin_function_1): Likewise.
17827
17828         * c-common.c (c_common_nodes_and_builtins): Pass an additional
17829         NULL_TREE argument to builtin_function.  (builtin_function_2):
17830         Likewise.
17831         * cp/call.c (build_java_interface_fn_ref): Likewise.
17832         * objc/objc-act.c (synth_module_prologue): Likewise.
17833         * java/decl.c (java_init_decl_processing): Likewise.
17834         * f/com.c (ffe_com_init_0): Likewise.
17835
17836         * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
17837         NULL_TREE argument to builtin_function.
17838         * config/arm/arm.c (def_builtin): Likewise.
17839         * config/c4x/c4x.c (c4x_init_builtins): Likewise.
17840         * config/i386/i386.c (def_builtin): Likewise.
17841         * config/ia64/ia64.c (def_builtin): Likewise.
17842         * config/rs6000/rs6000.c (def_builtin): Likewise.
17843
17844 2002-07-01  Zack Weinberg  <zack@codesourcery.com>
17845
17846         * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
17847         * config/mips/t-isa3264: Likewise.
17848         * config/mmix/t-mmix: Likewise.
17849
17850 2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
17851
17852         * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
17853
17854 2002-07-01  Roger Sayle  <roger@eyesopen.com>
17855
17856         PR opt/4046
17857         * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
17858         A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
17859         B are truth values.
17860
17861 2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
17862
17863         * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
17864
17865 2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
17866
17867         * README.Portability (Function prototypes): Give an example of
17868         declaring and defining a function with no arguments.
17869
17870         * README.Portability (Function prototypes): Document new
17871         variable-argument function macros.
17872
17873 Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
17874
17875         * sh.c (langhooks.h): Include.
17876         (sh_init_builtins, sh_media_init_builtins): New functions.
17877         (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
17878         (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
17879         (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
17880         (builtin_description): New struct tag.
17881         (signature_args, bdesc): New arrays.
17882         (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
17883         (print_operand): Add 'N' modifier.
17884         * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
17885         (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
17886         (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
17887         (CONST_COSTS): Add special case for SHmedia AND.
17888         (PREDICATE_CODES): Add and_operand, arith_reg_dest,
17889         extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
17890         sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
17891         target_operand can also be const or unspec.
17892         * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
17893         (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
17894         (attribute type): Add new types.
17895         (anddi3): Add splitter.
17896         (movdi_const_16bit+1): Add code to handle vector constants and
17897         bitmasks efficiently.
17898         (shori_media): Have generator function made.
17899         (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
17900         (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
17901         (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
17902         (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
17903         (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
17904         (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
17905         (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
17906         (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
17907         (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
17908         (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
17909         (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
17910         (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
17911         (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
17912         (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
17913         (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
17914         (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
17915         (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
17916         (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
17917         (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
17918         (ftrv): Likewise.
17919
17920         (fpu_switch+1, fpu_switch+2): Remove constraint.
17921
17922 2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
17923
17924         * tree.c (build_function_type_list): Update function comment.
17925         Rename first argument to return_type.
17926
17927 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
17928
17929         * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
17930         tradcif.y and related files.
17931
17932 2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
17933
17934         * cpptrad.c (skip_whitespace): Pass pointer to prior char.
17935
17936 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17937
17938         * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
17939
17940 See ChangeLog.7 for earlier changes.