OSDN Git Service

2002-02-06 Aldy Hernandez <aldyh@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2002-02-11  Aldy Hernandez  <aldyh@redhat.com>
2
3         * config/rs6000/rs6000.c (altivec_init_builtins): Handle
4         __builtin_altivec_abs*.
5         (bdesc_abs): New.
6
7         * config/rs6000/rs6000.h (rs6000_builtins): Add
8         ALTIVEC_BUILTIN_ABS*.
9
10         * config/rs6000/altivec.h: Use const char for builtins expecting
11         literals.
12         (vec_abs): New versions for C and C++.
13         (vec_abss): Same.
14
15 2002-02-10  Kazu Hirata  <kazu@hxi.com>
16
17         * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
18         using Pmode.
19
20 2002-02-10  Kazu Hirata  <kazu@hxi.com>
21
22         * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
23         constant definition from h8300.md.
24         (FRAME_POINTER_REGNUM): Likewise.
25         * config/h8300/h8300.md (define_constants): Add FP_REG.
26
27 2002-02-10  Kazu Hirata  <kazu@hxi.com>
28
29         * config/h8300/h8300.c (print_operand): Remove redundant code.
30
31 2002-02-10  Kazu Hirata  <kazu@hxi.com>
32
33         * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
34         * config/h8300/h8300.c (byte_reg): Make it static.
35
36 2002-02-10  Richard Henderson  <rth@redhat.com>
37
38         PR c/5623
39         * c-typeck.c (incomplete_type_error): Handle flexible array members.
40
41 2002-02-10  Richard Henderson  <rth@redhat.com>
42
43         PR c++/5624
44         * tree.c (append_random_chars): Don't abort if main_input_filename
45         does not exist.
46
47 2002-02-10  Hans-Peter Nilsson  <hp@bitrange.com>
48
49         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
50
51 2002-02-10  Kazu Hirata  <kazu@hxi.com>
52
53         * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
54         (pushhi1): Likewise.
55
56 2002-02-10  John David Anglin  <dave@hiauly1.hia.nrc.ca>
57
58         * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
59         * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
60
61 2002-02-09  David O'Brien  <obrien@FreeBSD.org>
62
63         * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
64         remove MASK_VIS.
65         (ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.
66
67 2002-02-09  Kazu Hirata  <kazu@hxi.com>
68
69         * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
70         a half of an SImode register on H8/300.
71
72 Sat Feb  9 18:28:02 CET 2002  Jan Hubicka  <jh@suse.cz>
73
74         * i386.md (movdi_2): Add missing '!'.
75
76 2002-02-09  Kazu Hirata  <kazu@hxi.com>
77
78         * config/h8300/h8300.h: Fix formatting.  Remove commented-out
79         definitions.
80
81 2002-02-09  Kazu Hirata  <kazu@hxi.com>
82
83         * config/h8300/h8300.md (length): Correct the distance valid
84         for the short branch.
85
86 2002-02-09  Kazu Hirata  <kazu@hxi.com>
87
88         * config/h8300/h8300.md (iorhi3): Tighten the predicates.
89
90 2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
91
92         * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
93         registers in SImode.
94         (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
95         part-clobbered.
96
97         * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
98         patch.
99         
100         Contribute sh64-elf.
101         2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
102         * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
103         (sh_cannot_modify_jumps_p): New function.
104         2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
105         * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
106         (sh_ms_bitfield_layout_p): New function.
107         2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
108                     Zack Weinberg  <zack@codesourcery.com>
109         * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
110         expand_simple_binop instead of expand_binop.
111         2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
112         * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
113         use of .quad and .uaquad.
114         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
115         TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
116         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
117         * config/sh/sh.md (movdi_const, movdi_const_32bit,
118         movdi_const_16bit): Make sure all CONSTs have modes.
119         (sym2PIC): Ditto, but by adjusting all callers.
120         * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
121         if the prologue calls the SHmedia argument decoder or register
122         saver.
123         2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
124         * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
125         (TARGET_ASM_ALIGNED_DI_OP): Likewise.
126         (sh_expand_epilogue): Don't emit USE of return target register.
127         (prepare_move_operands): Legitimize DImode PIC addresses.
128         (sh_media_register_for_return): Skip tr0, used to initialize the
129         PIC register.
130         (sh_expand_prologue): Remove explicit USE of return register.
131         (nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
132         CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
133         * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
134         (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
135         (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
136         EXTRA_CONSTRAINT_T.
137         (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
138         (MOVI_SHORI_BASE_OPERAND_P): New.
139         (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
140         (EXTRA_CONSTRAINT_T): Define in terms of them.
141         (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
142         * config/sh/sh.md (movsi_media, movsi_media_nofpu,
143         movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
144         alternatives supporting TARGET_REGS.
145         (UNSPEC_GOTPLT): New constant.
146         (movdi split): Move incrementing of LABEL_NUSES...
147         (movdi_const, movdi_const_32bit): Here.  Use
148         MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
149         (movdi_const_16bit): New.
150         (call, call_value) [flag_pic]: Use GOTPLT.
151         (call_pop, call_value_pop): New expands.
152         (call_pop_compact, call_pop_rettramp): New insns.
153         (call_value_pop_compact, call_value_pop_rettramp): New insns.
154         (sibcall) [flag_pic]: Use GOT.
155         (builtint_setjmp_receiver): Remove bogus, unused expand.
156         (GOTaddr2picreg): Implement for SHcompact and SHmedia.
157         (*pt, *ptb, ptrel): New insns.
158         (sym2GOT): Handle DImode GOT.
159         (sym2GOTPLT, symGOTPLT2reg): New expands.
160         (sym2PIC): New expand.
161         (shcompact_return_tramp): Use GOTPLT to return trampoline.
162         (shcompact_return_tramp_i): Use return register explicitly.
163         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
164         disable flag_reorder_blocks.
165         2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
166         * config/sh/sh.md (sibcall_compact): Reorder return, uses and
167         clobbers, for clarity.
168         (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
169         restoring of r0 in macl as MAYBE_DEAD.
170         2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
171         * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
172         * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
173         alter_subreg all over.
174         (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
175         reload, instead of emitting instructions that would require
176         reloading.
177         (casesi_load_media): Add missing modes.
178         2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
179         * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
180         as used if the argument decoder is called.
181         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
182         * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
183         Pmode, then extend it to DImode if necessary.
184         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
185         * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
186         constants in FPU-enabled SHmedia, let them be loaded from memory.
187         2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
188         * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
189         Adjust whitespace in assembly output templates.
190         2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
191         * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
192         mode of if_then_else.
193         2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
194         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
195         sh.h.
196         2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
197                     Joern Rennecke <amylaar@redhat.com>
198         * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
199         (SUBTARGET_CPP_PTR_SPEC): New.
200         (SUBTARGET_CPP_SPEC): Remove.
201         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
202         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
203         Fix typo in previous checkin.
204         2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
205         * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
206         2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
207                     Alexandre Oliva  <aoliva@redhat.com>
208         * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
209         what single FP register can hold for SHmedia target.
210         2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
211                     Alexandre Oliva  <aoliva@redhat.com>
212         * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
213         Do not split into SUBREG.
214         2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
215         * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
216         and added new functions as specified in SH5 ABI r9.
217         2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
218         * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
219         8-byte boundary.
220         2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
221         * config/sh/sh.c (dump_table): Add const0_rtx in calls of
222         gen_consttable_4 and gen_consttable_8.  Emit multiple labels
223         and consttable_window_ends.
224         2001-06-03  Graham Stott  <grahams@redhat,com>
225         * config/sh/sh.md (movdi split): Remove unused variable last_insn.
226         2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
227         * config/sh/sh.c (print_operand): Handle floating-point pair,
228         vector and matrix registers.
229         * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
230         vector modes into account.
231         * config/sh/sh.md (movv2sf): Split move between registers into
232         movdf.
233         (movv4sf, movv16sf): Introduce insns that get split only after
234         reload.
235         * config/sh/shmedia.h: Fix Copyright dates.
236         * config/sh/ushmedia.h: Likewise.  Move loop counter
237         declarations into conditionals that uses them.
238         (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
239         loop boundary.
240         * config/sh/sshmedia.h: Fix Copyright dates.
241         (sh_media_PUTCFG): Fix constraints.
242         2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
243         * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
244         ptrmemfunc_vbit_in_delta for SH5.
245         2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
246         * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
247         * invoke.texi: Likewise.
248         2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
249         * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
250         GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
251         GCC_pop_shmedia_regs_nofpu): New global symbols.
252         * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
253         * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
254         * config/sh/sh.c (calc_live_regs): Account for PR's saving in
255         compact function with nonlocal labels.
256         (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
257         (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
258         (initial_elimination_offset): Account for their stack space.
259         * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
260         * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
261         movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
262         movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
263         least one of the operands to be a register.
264         (movv2sf): Likewise.  Renamed to movv2sf_i.
265         (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
266         prepare_move_operands() before emitting SHmedia insns.
267         2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
268         * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
269         Don't save nor initialize r12.  Don't mis-align the stack.
270         Pad the code with a nop.
271         * config/sh/crti.asm: Don't restore r12.  Don't mis-align the
272         stack.
273         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
274         * gcc/longlong.h (__umulsidi3, count_leading_zeros)
275         [__SHMEDIA__]: Implement.
276         2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
277         * config/sh/sh.md: Set latency of `pt' closer to reality.
278         (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
279         movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
280         Set move, load and store type attributes.
281         * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
282         * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
283         profiling.
284         * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
285         * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
286         * config/sh/sh.c (sh_media_register_for_return): New function.
287         (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
288         branch-target register.
289         (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
290         * config/sh/sh.md (return_media_i): Use any call-clobbered
291         branch-target register.
292         (return_media): If r18 wasn't copied in the prologue, copy it
293         here.
294         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
295         Clear class FP0_REGS.
296         * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
297         from elf.h.
298         2001-03-08  DJ Delorie  <dj@redhat.com>
299         * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
300         2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
301         * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
302         2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
303         * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
304         2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
305         * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
306         return value correctly for call_cookie.
307         2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
308         * config/sh/crt1.asm (start): Modified so as to call
309         ___setup_argv_and_call_main.
310         2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
311         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
312         SHmedia mode.
313         2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
314         * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
315         (STRIP_NAME_ENCODING): Use it.
316         (ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
317         2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
318         * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
319         prepare_scc_operands().
320         * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
321         (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
322         2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
323         * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
324         2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
325         * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
326         * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
327         used in shcompact_incoming_args.
328         * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
329         change.
330         * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
331         mode.
332         * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
333         Adjust accordingly.
334         * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
335         Simplify.  Adjust.  Add sanity check.
336         * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
337         FPU_SINGLE_BIT.
338         * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
339         TARGET_SHCOMPACT.
340         (udivsi3, divsi3): Use them.
341         (force_mode_for_call): New insn.
342         (call, call_value, sibcall_value): Emit it before SHcompact
343         calls.
344         2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
345         * config/sh/sh.md (call, call_value, sibcall): Make sure the
346         call cookie is non-NULL before taking its value.
347         2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
348         * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
349         2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
350         * config/sh/sh.md (shcompact_incoming_args): Set argument memory
351         block.
352         * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
353         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
354         temporary for stack adjusts.  Use MACL and MACH to pass
355         arguments to shcompact_incoming_args.
356         * config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
357         clobber r1.
358         * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
359         (nested_trampoline): Load static chain address into r1.
360         * config/sh/sh.md (movdi_media splits): Fix sign-extension.
361         2001-01-07  Alexandre Oliva  <aoliva@redhat.com
362         * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
363         fp_arith_reg_operand().
364         2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
365         * config/sh/sh.md (casesi): Sign-extend the first two operands,
366         and use signed compares for them.
367         * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
368         4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
369         ones properly aligned.
370         (find_barrier): Account for extra alignment needed for 8-byte wide
371         constants.
372         (machine_dependent_reorg): Require a label for the second 4-byte
373         constant after an 8-byte one.
374         * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
375         change.
376         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
377         * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
378         last_float when switching float modes.
379         * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
380         auto-increment for general-purpose registers.
381         * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
382         result.
383         * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
384         for stack adjust.
385         * config/sh/sh.c (sh_builtin_saveregs): Support using all
386         registers for varargs.
387         2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
388         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
389         * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
390         CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
391         (CALL_COOKIE_INT_REG_SHIFT): Adjust.
392         (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
393         call_cookie accordingly.
394         (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
395         (SHCOMPACT_BYREF): Likewise.
396         (SHCOMPACT_FORCE_ON_STACK): New macro.
397         * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
398         (sh_builtin_saveregs): Likewise.
399         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
400         shcompact_incoming_args): Use new shift values.  Support
401         sequences of consecutive and non-consecutive pushes/pops.
402         * config/sh/sh.md (return): Don't explicitly use PR_REG.
403         2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
404         * config/sh/sh.h (TEXT_SECTION): Define.
405         * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
406         2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
407         * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
408         * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
409         return values on FPU-enabled SHmedia.
410         (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
411         FPU-enabled SHmedia.
412         (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
413         value is returned in a non-FP reg and is not returned by
414         reference.
415         * config/sh/sh.md (shcompact_return_tramp_i): Change type to
416         jump_ind.
417         2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
418         * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
419         (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
420         quad-aligned to be passed by callee-copy reference.
421         2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
422         * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
423         * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
424         2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
425         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
426         copying low-numbered FP regs to r7 and r8.
427         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
428         FP regs to general-purpose regs only if the copy was passed on the
429         stack.
430         * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
431         copying FP reg to r9.
432         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
433         copy FP regs to general-purpose regs only in outgoing calls.
434         * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
435         change from     2000-10-30.  Adjust for 64-bit (or 32-bit)
436         HOST_WIDE_INT.
437         * config/sh/sh.h (struct sh_args): Document all fields.
438         (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
439         passed partially on the stack should not consider making
440         sibcalls.
441         * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
442         stack_regs only for incoming calls.  When passing FP args,
443         make sure there are FP regs available before modifying
444         call_cookie.
445         (SHCOMPACT_BYREF): Pass double args in general-purpose
446         registers by reference.
447         2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
448         * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
449         attempt to generate sibcalls if the caller got any arguments
450         by reference.
451         * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
452         * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
453         to 8-byte boundaries.
454         * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
455         * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
456         * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
457         stored in the stack.
458         * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
459         for the offsets to have the ISA bit set.
460         (shcompact_call_trampoline): Document.  Swap r0 and r1, to match
461         invocation.  Use beq instead of bgt to mark end of sequence of
462         loads.
463         (shcompact_incoming_args): Fix store of r2.  Use beq instead of
464         bgt to mark end of sequence of stores.
465         * config/sh/sh.c (arith_operand): Don't check whether
466         CONST_OK_FOR_J for now.
467         * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
468         instead of long for conversion.
469         2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
470         * config/sh/sh.c (print_operand_address): Convert INTVAL to int
471         before passing it to fprintf.
472         2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
473         * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
474         Call set_fpscr before reading/writing SR.
475         * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
476         Call set_fpscr.
477         * config/sh/lib1funcs.asm: Add `.align 2' directives before
478         SHmedia code.
479         (FMOVD_WORKS): Define on SH5 with FPU.
480         (set_fpscr): Define on SH5.  Remove separate _fpscr_values
481         setting.
482         * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
483         _fpscr_values.
484         2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
485         * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
486         address.
487         (ia_main_table): Ditto.
488         2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
489         * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
490         * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
491         the definitions from sh.h.
492         * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
493         TARGET_SH5.
494         (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
495         * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
496         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
497         2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
498         * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
499         Increment LABEL_NUSES.
500         
501         * config/sh/sh.h (SIZE_TYPE): Define as conditional on
502         TARGET_SH5.
503         (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
504         defined.
505         * config/sh/elf.h (SIZE_TYPE): Likewise.
506         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
507         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
508         shcompact_incoming_args): Load switch table addresses using
509         datalabel.
510         * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
511         (NO_BUILTIN_SIZE_TYPE): Define.
512         (SIZE_TYPE): Don't define.
513         * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
514         * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
515         definition of __SH5__=32 for -m5-compact-nofpu.
516         * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
517         ADDR_DIFF_VEC.
518         2000-12-24  Alexandre Oliva  <aoliva@redhat.com>
519         * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
520         2000-12-23  Alexandre Oliva  <aoliva@redhat.com>
521         * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
522         (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
523         (INSN_LENGTH_ALIGNMENT): Likewise.
524         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
525         * config/sh/sh.md (call, call_value, sibcall): Simplify
526         copying of non-branch-target register.
527         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
528         * glimits.h (__LONG_MAX__): Revert      2000-12-13's patch.
529         * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
530         2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
531         * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
532         floating-point values as structs.
533         (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
534         (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
535         general-purpose register.
536         (SH5_PROTOTYPED_FLOAT_ARG): New macro.
537         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
538         * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
539         * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
540         * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
541         (ENCODE_SECTION_INFO): Enclose variables and constants in
542         DATALABEL unspecs.
543         (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
544         (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
545         (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
546         * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
547         only for LABEL_REFs.  For SYMBOL_REFs, prepend
548         SH_DATALABEL_ENCODING to the symbol name.
549         * config/sh/sh.md (indirect_jump): Use SUBREG instead of
550         convert_mode().
551         2000-12-20  Alexandre Oliva  <aoliva@redhat.com>
552         * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
553         UNSPEC_DATALABEL.
554         * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
555         * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
556         (DATALABEL_REF_P): Don't require CONST.
557         (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
558         REL label.
559         2000-12-19  Alexandre Oliva  <aoliva@redhat.com>
560         * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
561         right.
562         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
563         * config/sh/sh.md (movsi_media, call, call_value, sibcall):
564         Use shallow_copy_rtx and PUT_MODE to change the mode of
565         SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
566         * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
567         on SHmedia using GENERAL_REGs.
568         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
569         bltu_media_i): Fix reversion of conditions.
570         2000-12-18  Alexandre Oliva  <aoliva@redhat.com>
571         * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
572         * config/sh/sh.c (output_far_jump): Save r13 in macl.
573         2000-12-17  Alexandre Oliva  <aoliva@redhat.com>
574         * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
575         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
576         * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
577         (GCC_nested_trampoline): Likewise.
578         * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
579         * config/sh/sh.c (gen_datalabel_ref): Define.
580         * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
581         (INITIALIZE_TRAMPOLINE): Likewise.
582         (TRAMPOLINE_ADJUST_ADDRESS): Define.
583         (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
584         (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
585         (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
586         * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
587         (ic_invalidate): Adjust for SH5.
588         (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
589         * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
590         _nested_trampoline.
591         2000-12-15  Alexandre Oliva  <aoliva@redhat.com>
592         * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
593         (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
594         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
595         * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
596         * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
597         2000-12-14  Alexandre Oliva  <aoliva@redhat.com>
598         * config/sh/sh.c (target_reg_operand): Match only target-branch
599         registers and pseudos that aren't virtual registers.
600         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
601         Copy operands that don't match target_reg_operand to pseudos.
602         (call_media, call_value_media, sibcall_media): Use
603         target_reg_operand instead of target_operand.
604         2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
605         * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits. 
606         * config/sh/sh.c (target_reg_operand): Match hardware registers
607         other than branch-target registers.
608         * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
609         * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
610         (fpscr_values) [SH5 == 32]: Define.
611         * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
612         * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
613         Handle function addresses coming in SUBREGs.
614         2000-12-12  Alexandre Oliva  <aoliva@redhat.com>
615         * config/sh/lib1funcs.asm (shcompact_call_trampoline,
616         shcompact_return_trampoline): Use datalabel where appropriate.
617         2000-12-09  Alexandre Oliva  <aoliva@redhat.com>
618         * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
619         general-purpose register to copy one branch-target register to
620         another.
621         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
622         * config/sh/sh.c (target_operand): Accept LABEL_REFs and
623         SYMBOL_REFs with VOIDmode.
624         * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
625         bltu_media_i): New insns.
626         2000-12-06  Alexandre Oliva  <aoliva@redhat.com>
627         * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
628         (INIT_CUMULATIVE_ARGS): Likewise.
629         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
630         * machmode.def (V16SFmode): New mode.
631         * c-common.c (type_for_mode): Support V2SF and V16SF.
632         * tree.c (build_common_tree_nodes_2): Likewise.
633         * tree.h (tree_index): Likewise.
634         * calls.c (emit_call_1): Take args_so_far.  Adjust all
635         callers.  Introduce CALL_POPS_ARGS.
636         * tm.texi (CALL_POPS_ARGS): Document.
637         * config/sh/crt1.asm: Implement in SHmedia mode.
638         * config/sh/crti.asm, config/sh/crtn.asm: Likewise
639         * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
640         (DBX_REGISTER_NUMBER): Renumber registers for SH5.
641         * config/sh/lib1funcs.asm: Disable functions unused in SH5.
642         Implement divsi and udivsi in SHmedia mode.  Introduce
643         SHcompact trampolines.
644         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
645         only in SHmedia64.
646         (regno_reg_class): Rewrite.
647         (fp_reg_names): Remove.
648         (sh_register_names, sh_additional_register_names): New.
649         (print_operand): Added `u'.  Support SUBREGs in addresses.
650         Add parentheses around shifted CONSTs.
651         (output_file_start): Output .mode and .abi directives.
652         (shiftcosts, addsubcosts, multcosts): Adjust.
653         (output_stack_adjust): Compute alignment.  Sanity-check SIZE.
654         (push_regs): Take array of HOST_WIDE_INTs.  Adjust callers.
655         (calc_live_regs): Output to array of HOST_WIDE_INTs.  Count
656         bytes, not registers.  Take into account the need for the
657         SHcompact incoming args trampoline.  Adjust all callers.
658         (sh_expand_prologue): Take stack_regs into account.  Call
659         incoming args trampoline.  Keep stack aligned as per SH5 ABI.
660         (sh_expand_epilogue): Take stack_regs into accoutn.  Keep
661         stack aligned as per SH5 ABI.
662         (sh_builtin_saveregs): Support SH5 ABI.
663         (sh_build_va_list, sh_va_start): Likewise.
664         (initial_elimination_offset): Take alignment into account.
665         Compute location of PR according to the SH5 stack frame.
666         (arith_reg_operand): Reject branch-target registers.
667         (shmedia_6bit_operand): New.
668         (logical_operand): Use CONST_OK_FOR_P on SHmedia.
669         (target_reg_operand): Match DImode only.  Accept SUBREGs.
670         (target_operand): New.
671         * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
672         (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI.  Initialize
673         SIBCALL_REGS for SHmedia.
674         (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
675         (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
676         (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
677         (TARGET_SWITCHES): New SH5 flags.
678         (OVERRIDE_OPTIONS): Set SH5-specific options.  Use
679         VALID_REGISTER_P to disable unsupported registers.
680         (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
681         (POINTER_SIZE, PARM_BOUNDARY): Adjust.
682         (FUNCTION_ARG_PADDING): Define.
683         (FASTEST_ALIGNMENT): Adjust.
684         (SH_REGISTER_NAMES_INITIALIZER): New.
685         (sh_register_names): Declare.
686         (DEBUG_REGISTER_NAMES): Define.
687         (REGISTER_NAMES): Define based on sh_register_names.
688         (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
689         (sh_additional_register_names): Declare.
690         (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
691         (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
692         (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
693         (REGISTER_NATURAL_MODE): Define.
694         (FIRST_PSEUDO_REGISTER): Adjust.
695         (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
696         (HARD_REGNO_CALL_PART_CLOBBERED): Define.
697         (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
698         (VECTOR_MODE_SUPPORTED_P): Define.
699         (REG_CLASS_CONTENTS): Adjust.
700         (SMALL_REGISTER_CLASSES): Adjust.
701         (REG_ALLOC_ORDER): Adjust.
702         (INDEX_REG_CLASS): Adjust.
703         (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
704         (CONST_OK_FOR_LETTER_P): Adjust.
705         (PREFERRED_RELOAD_CLASS): Adjust.
706         (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
707         (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
708         (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
709         (FIRST_FP_PARM_REG): Adjust.
710         (CALL_POPS_ARGS): Define.
711         (FUNCTION_ARG_REGNO_P): Adjust.
712         (struct sh_args): New fields.
713         (GET_SH_ARG_CLASS): Adjust.
714         (INIT_CUMULATIVE_ARGS): Adjust.
715         (INIT_CUMULATIVE_INCOMING_ARGS): Define.
716         (FUNCTION_ARG_ADVANCE): Adjust.
717         (FUNCTION_ARG): Adjust.
718         (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
719         (FUNCTION_ARG_CALLEE_COPIES): Define.
720         (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
721         (STRICT_ARGUMENT_NAMING): Define.
722         (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
723         (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
724         (SH5_WOULD_BE_PARTIAL_NREGS): Define.
725         (SETUP_INCOMING_VARARGS): Adjust.
726         (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
727         (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
728         (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
729         (SUBREG_OK_FOR_INDEX_P): Adjust.
730         (EXTRA_CONSTRAINT_S): Update.
731         (EXTRA_CONSTRAINT_T): New.
732         (EXTRA_CONSTRAINT): Adjust.
733         (GO_IF_LEGITIMATE_INDEX): Adjust.
734         (GO_IF_LEGITIMATE_ADDRESS): Adjust.
735         (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
736         (MOVE_MAX): Adjust.
737         (MAX_MOVE_MAX): Define.
738         (Pmode): Adjust.
739         (CONST_COSTS): Adjust.
740         (REGISTER_MOVE_COST): Adjust.
741         (BRANCH_COST): Adjust.
742         (TEXT_SECTION_ASM_OP): Adjust.
743         (DBX_REGISTER_NUMBER): Adjust.
744         (ASM_OUTPUT_DOUBLE_INT): New.
745         (UNALIGNED_DOUBLE_INT_ASM_OP): New.
746         (PREDICATE_CODES): Adjust.
747         (PROMOTE_MODE): Adjust.
748         (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
749         * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
750         (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
751         (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
752         (DR0_REG, DR2_REG, DR4_REG): Renumber.
753         (TR0_REG, TR1_REG, TR2_REG): New.
754         (XD0_REG): Renumber.
755         (UNSPEC_COMPACT_ARGS): New.
756         (type): Added pt and ptabs.
757         (length): Default to 4 on SHmedia.  Default pt length to 12
758         and     20 on SHmedia32 and SHmedia64, respectively.
759         (pt): New function unit.
760         (movdi, movsi): Add types pt and ptabs.  Don't increment LABEL_NUSES.
761         Add whitespace between operands of SHmedia instructions.
762         (movdicc): Fix.
763         (adddi3_media, addsi3_media): Adjust constraints.
764         (subsi3) [SHmedia]: Force operand 1 into a register.
765         (udivsi3_i1_media, udivsi3_i4_media): New.
766         (udivsi3): Support SHmedia.
767         (divsi3_i1_media, divsi3_i4_media): New.
768         (divsi3): Support SHmedia.
769         (anddi3, iordi3, xordi3): Adjust constraints.
770         (zero_extendhidi2, zero_extendqidi2): New.
771         (extendsidi2, extendhidi2, extendqidi2): New.
772         (push, pop, push_e, push_fpul, push_4): Disable on SH5.
773         (pop_e, pop_fpul, pop_4): Likewise.
774         (movsi_media): Support FP and BT registers.
775         (movsi_media_nofpu): New.  Adjust splits to DImode.
776         (lduw, ldub): Renamed to zero_extend* above.
777         (movqi_media): Fix typo.
778         (movdi_media): Support FP and BT registers.
779         (movdi_media_nofpu): New.  Adjust splits for SHmedia32.
780         (movdi_const_32bit): New.
781         (shori_media): Require immediate operand.  Use `u' for output.
782         (movdf_media, movsf_media): Simplified.
783         (movdf_media_nofpu, movsf_media_nofpu): New.
784         (movdf, movsf): Adjust
785         (movv2sf, movv2sf, movv16sf): New.
786         (beq_media, beq_media_i): Adjust constraints.  Don't use
787         scratch BT register.
788         (bne_media, bne_media_i): Likewise.
789         (bgt_media, bgt_media_i): Likewise.
790         (bge_media, bge_media_i): Likewise.
791         (bgtu_media, bgtu_media_i): Likewise.
792         (bgeu_media, bgeu_media_i): Likewise.
793         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
794         bunordered): Emit jump insn.  Force operands to registers when
795         needed.
796         (jump_media, jump): Simplify.
797         (call_compact, call_compact_rettramp): New.
798         (call_value_compact, call_value_compact_rettramp): New.
799         (call_media, call_value_media): Simplify.
800         (sibcall_compact, sibcall_media): New.
801         (call, call_value): Adjust for SHmedia and SHcompact.
802         (sibcall, sibcall_value, untyped_call): Likewise.
803         (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
804         (indirect_jump): Adjust for SHmedia.
805         (casesi_jump_media): New.
806         (nop): Re-enable for SHmedia.
807         (call_site): Restrict to SH1.
808         (casesi): Adjust for SHmedia.
809         (casesi_shift_media, casesi_load_media): New.
810         (return): Explicitly use PR register.  Call return trampoline
811         on SHcompact.
812         (return_i): Explicitly use PR register.
813         (shcompact_return_tramp, shcompact_return_tramp_i): New.
814         (return_media): Adjust.
815         (shcompact_incoming_args): New.
816         (epilogue): Adjust.
817         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
818         (movstrsi): Disable on SH5.
819         (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
820         (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
821         (subsf3, subsf3_media): Likewise.
822         (mulsf3, mulsf3_media, mac_media): Likewise.
823         (divsf3, divsf3_media): Likewise.
824         (floatdisf2, floatsisf2_media): Likewise.  Adjust constraints.
825         (floatsisf2, fux_truncsfsi2): Likewise.
826         (fix_truncsfdi2, fix_truncsfsi2_media): Likewise.  Adjust
827         constraints.
828         (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
829         (cmpunsf_media, cmpsf): Likewise.
830         (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
831         (abssf2, abssf2_media): Likewise.
832         (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
833         (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
834         (floatdidf2, floatsidf2_media): Likewise.  Adjust constraints.
835         (floatsidf2, fix_truncdfsi2): Likewise.
836         (fix_truncdfdi2, fix_truncdfsi2_media): Likewise.  Adjust
837         constraints.
838         (cmpeqdf_media, cmpgtdf_media): Likewise.
839         (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
840         (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
841         (absdf2, absdf2_media): Likewise.
842         (extendsfdf2, extendsfdf2_media): Likewise.
843         (truncsfdf2, truncsfdf2_media): Likewise.
844         * config/sh/sh64.h: New file.
845         * config/sh/t-sh64: New file.
846         * config/sh/shmedia.h: New file.
847         * config/sh/ushmedia.h: New file.
848         * config/sh/sshmedia.h: New file.
849         * configure.in: Added sh64-*-elf.
850         * configure: Rebuilt.
851         2000-10-10  Alexandre Oliva  <aoliva@redhat.com>
852         * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
853         (reg_class_from_letter): Use `b' for TARGET_REGS.
854         (print_operand): Support `%M', `%m', `AND' and
855         `ASHIFTRT'.  Do not precede constants with `#' on SHmedia.
856         (andcosts): Adjust for SHmedia.
857         (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
858         Likewise.
859         (target_reg_operand): New function.
860         * config/sh/sh-protos.h (target_reg_operand): Declare.
861         * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
862         FP registers on SH5.
863         (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
864         on SH4.
865         (TARGET_REGISTER_P): New macro.
866         (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
867         (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
868         (EXTRA_CONSTRAINT_S): New macro.
869         (EXTRA_CONSTRAINT): Adjust.
870         (FLOAT_TYPE_SIZE): Define to 32.
871         (Pmode): DImode on SHmedia.
872         (CONST_COSTS): Adjust for SHmedia literals.
873         (PREDICATE_CODES): Added target_reg_operand.
874         (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
875         * config/sh/sh.md: Remove all attrs from SHmedia insns.
876         (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
877         (cmpdi): Accept SHmedia.
878         (movdicc_false, movdicc_true): New insns.
879         (movdicc): New expand.
880         (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
881         no_new_pseudos.
882         (addsi3_media): Match `S' constraint.
883         (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
884         (negdi2): Expand for SHmedia.
885         (one_cmpldi2): New expand.
886         (zero_extendsidi2): Change from expand to insn.
887         (extendsidi2): Add constraints.
888         (movdi_media, movsi_media): Change `%x' to `%M'.  Use `%m' for
889         LD/ST address.  Fix SI immediate loading split.
890         (movhi_media, movqi_media, lduw, ldub): New insns.
891         (movhi, movqi): Accept SHmedia.
892         (shori_media, movdi_media): Relax input constraints.  Split
893         symbolic constants.
894         (movdf_media, movsf_media): New insn.  New split to movdi.
895         (movdf, movsf): Match on SHmedia.
896         (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
897         bgeu_media): New insns and splits.  New insns with `_i' suffix.
898         (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
899         (bunordered): New expand.
900         (jump_compact): Renamed from `jump'.
901         (jump_media): New insn.
902         (jump): New expand.
903         (call_media, call_value_media): New insns.
904         (call, call_value): Adjust.
905         (indirect_jump_compact): Renamed from `indirect_jump'.
906         (indirect_jump_media): New insn.
907         (indirect_jump): New expand.
908         (untyped_call, return): Accept SHmedia.
909         (return_media): New insn.
910         (prologue, epilogue, blockage): Accept SHmedia.
911         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
912         (sunordered): New expand.
913         (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
914         cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
915         (addsf3_media, subsf3_media, mulsf3_media, mac_media,
916         divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
917         fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
918         cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
919         abssf2_media): New insns.
920         (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
921         cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
922         (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
923         floatdidf2, floatsidf2_media, fix_truncdfdi2,
924         fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
925         cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
926         absdf2_media): New insns.
927         (extendsfdf2, truncdfsf2): Adjust for SHmedia.
928         (extendsfdf2_media, truncdfsf2_media): New insns.
929         2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
930         * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
931         * config/sh/sh.h (CONST_OK_FOR_J): Document.
932         (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
933         * config/sh/sh.md (adddi3): New expand.
934         (adddi3_media, adddi3z_media): New insns.
935         (adddi3_compact): Renamed from adddi3.
936         (addsi3_media): Use add.l r63 to add constant zero.
937         (subdi3): New expand.
938         (subdi3_media): New insn.
939         (subdi3_compact): Renamed from subdi3.
940         (mulsidi3): New expand.
941         (mulsidi3_media): New insn.
942         (mulsidi3_compact): Renamed from mulsidi3.
943         (umulsidi3): New expand.
944         (umulsidi3_media): New insn.
945         (umulsidi3_compact): Renamed from umulsidi3.
946         (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
947         (ashlsi3, ashrsi3, lshrsi3): Use them.
948         (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
949         (ashldi3, ashrdi3, lshrdi3): Use them.
950         (zero_extendsidi2): New expand.
951         (extendsidi2): New insn.
952         (movsi_media): New insn.  Split to movdi to load constants.
953         (movsi): Enable for shmedia.
954         (movdi_media): New insn.  Use shori_media to load wide constants.
955         (short_media): New insn.
956         (movdi): Enable for shmedia.
957         2000-09-08  Alexandre Oliva  <aoliva@redhat.com>
958         * config/sh/sh.h (CPP_SPEC): Added `m5'.
959         (SUBTARGET_CPP_SPEC): Added `!m5'.
960         (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
961         (TARGET_SWITCHES): Added `5' and `5-compact'.  Added SH1_BIT
962         to all other SH variants.
963         (TARGET_DEFAULT): Set to SH1_BIT.
964         (OVERRIDE_OPTIONS): Recognize sh5 CPU.
965         (BITS_PER_WORD): Raise to 64 on shmedia.
966         (MAX_BITS_PER_WORD): Change to 64.
967         (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
968         (INT_TYPE_SIZE): Keep as 32.
969         (UNITS_PER_WORD): Raise to 8 on shmedia.
970         (MIN_UNITS_PER_WORD): Keep as 4.
971         (POINTER_SIZE): Raise to 64 on shmedia.
972         (CONST_OK_FOR_J): New macro.
973         (CONST_OK_FOR_LETTER_P): Use it.
974         (processor_type): Add PROCESSOR_SH5.
975         * config/sh/sh.md: Conditionalize all expands, insns and
976         splits to TARGET_SH1.
977         (cpu): Added sh5.
978         (addsi3_compact): Renamed from...
979         (addsi3): Now an expand.
980         (addsi3_media, subsi3_media): New insns.
981         (subsi3): Don't negate constants with SHmedia.
982
983         * hooks.c: New file.
984         * hooks.h: New file.
985         * Makefile.in (HOOKS_H): New.
986         (TARGET_DEF_H): Added $(HOOKS_H).
987         (OBJS): Added hooks.o.
988         (cfgcleanup.o, bb-reorder.o): Added target.h.
989         (hooks.o): Added dependencies.
990         * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
991         (TARGET_INITIALIZER): this.
992         * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
993         * target.h (struct gcc_target): Added cannot_modify_jumps_p.
994         * bb-reorder.c: Include target.h.
995         (reorder_basic_blocks): Skip if cannot modify jumps.
996         * cfgcleanup.c: Include target.h.
997         (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
998
999 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
1000
1001         * config/mips/mips.md (casesi_internal, casesi_internal_di):
1002         Protect jump delay slot instructions with .set noreorder and
1003         .set nomacro.
1004
1005 2002-02-08  Chris Demetriou  <cgd@broadcom.com>
1006
1007         * config/mips/mips.md (casesi_internal_di): Calculate
1008         the index into the target offset table correctly.
1009
1010 2002-02-08  Richard Henderson  <rth@redhat.com>
1011
1012         * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
1013         * final.c (output_addr_const): Accept and discard SUBREG.
1014         * varasm.c (decode_addr_const): Don't abort on unknown expressions --
1015         mark them unknown instead.
1016         (simplify_subtraction): Handle RTX_UNKNOWN.
1017         (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
1018
1019 2002-02-08  David Edelsohn  <edelsohn@gnu.org>
1020
1021         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
1022
1023 2002-02-08  Richard Henderson  <rth@redhat.com>
1024
1025         * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
1026
1027 2002-02-08  Andreas Jaeger  <aj@suse.de>
1028
1029         * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
1030         * config/i386/t-linux64: New file.
1031
1032 2002-02-08  Jakub Jelinek  <jakub@redhat.com>
1033
1034         * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
1035         * c-parse.in (compstmt): Clear last_expr_type.
1036
1037 2002-02-07  Richard Henderson  <rth@redhat.com>
1038
1039         * loop.c (strength_reduce): Sink final_value when not
1040         eliminating a biv.
1041
1042 2002-02-07  David O'Brien  <obrien@FreeBSD.org>
1043
1044         * config/sparc/freebsd.h: Fix mismatched spec {.
1045
1046 2002-02-07  Richard Henderson  <rth@redhat.com>
1047
1048         * cfgrtl.c: Include recog.h and insn-config.h.
1049         (keep_with_call_p): Fix general_operand invocation.
1050         * Makefile.in (cfgrtl.o): Update dependencies.
1051
1052 2002-02-07  Kazu Hirata  <kazu@hxi.com>
1053
1054         * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
1055         comment.  Accept HImode only if TARGET_H8300.
1056
1057 2002-02-07  Eric Christopher  <echristo@redhat.com>
1058
1059         * config/mips/crtn.asm: Cleanup #ifdefs.
1060
1061 2002-02-07  Eric Christopher  <echristo@redhat.com>
1062
1063         * config/mips/crti.asm: Add changes for mips16. mips16 uses
1064         register 7 as RA instead of $31.
1065         * config/mips/crtn.asm: Ditto.
1066         * config/mips/mips.c (mips_move_2words): Add case for
1067         TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
1068         (compute_frame_size): Fix typo.
1069         (save_restore_insns): Ditto.  Make documentation about using
1070         register $7 as return register more precise.
1071         (mips_expand_epilogue): Fix comment. Add code to work around not
1072         being able to add to the stack pointer directly.
1073         * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
1074         to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
1075         epilogue.
1076
1077 2002-02-07  Tom Rix  <trix@redhat.com>
1078
1079         * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
1080         immediates in ldu and stdu DS opcode field.
1081         * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
1082         * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
1083         * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
1084
1085 2002-02-07  Jeff Sturm  <jsturm@one-point.com>
1086
1087         * config/sparc/sparc.c (compute_frame_size): Don't correct frame
1088         offset for stack bias.
1089
1090 2002-02-07  H.J. Lu <hjl@gnu.org>
1091
1092         * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
1093
1094 2002-02-07  Ulrich Weigand  <uweigand@de.ibm.com>
1095
1096         * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
1097
1098 Thu Feb  7 12:14:17 CET 2002  Jan Hubicka  <jh@suse.cz>
1099
1100         * i386-protos.h (x86_order_regs_for_local_alloc): Declare
1101         * i386.c (x86_order_regs_for_local_alloc): New global function.
1102         * i386.h (REG_ALLOC_ORDER): CLeanup.
1103         (ORDER_REGS_FOR_LOCAL_ALLOC): New.
1104
1105 2002-02-07  Richard Henderson  <rth@redhat.com>
1106
1107         PR optimization/2463
1108         * alias.c (find_base_value): Recall base values for fixed hard regs.
1109         * loop.c (loop_regs_update): Don't use single_set on non-insns.
1110
1111 2002-02-07  Alexandre Oliva  <aoliva@redhat.com>
1112
1113         * config/mips/mips.md (define_delay) [mips16]: Adjust required
1114         length.
1115
1116 2002-02-06  Richard Henderson  <rth@redhat.com>
1117
1118         PR c/5609
1119         * stmt.c (resolve_operand_name_1): Take more care with mixed
1120         named and unnamed operands.
1121
1122 2002-02-06  Janis Johnson  <janis187@us.ibm.com>
1123             Jan Hubicka  <jh@suse.cz>
1124
1125         * loop.c (remove_constant_addition): Avoid clobbering a shared
1126         CONST expression.
1127
1128 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
1129
1130         * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
1131         * config/s390/t-linux64: New file.
1132         * config/s390/libgcc-glibc.ver: New file.
1133
1134 2002-02-06  Ulrich Weigand  <uweigand@de.ibm.com>
1135
1136         * config/s390/linux64.h: Delete file.
1137         * config/s390/s390x.h: New file.
1138         * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
1139         as target header file.
1140         * config/s390/linux.h (TARGET_VERSION): Define depending on
1141         DEFAULT_TARGET_64BIT.
1142         (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
1143         (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
1144         (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
1145         (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
1146         (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
1147         (EXTRA_SPEC): New define.
1148         * config/s390/s390.h (TARGET_VERSION): Define depending on
1149         DEFAULT_TARGET_64BIT.
1150         (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
1151
1152 2002-02-06  Jason Merrill  <jason@redhat.com>
1153
1154         * c-decl.c (finish_function): Warn about a non-void function with
1155         no return statement and no abnormal exit.
1156         (current_function_returns_abnormally): New variable.
1157         (start_function): Clear it.
1158         (struct c_language_function): Add returns_abnormally.
1159         (push_c_function_context): Save it.
1160         (pop_c_function_context): Restore it.
1161         (builtin_function): Set TREE_THIS_VOLATILE on return fns.
1162         (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
1163         an explicit return type.
1164         * c-tree.h: Declare current_function_returns_abnormally.
1165         (C_FUNCTION_IMPLICIT_INT): New macro.
1166         * c-typeck.c (build_function_call): Set it.
1167         (c_expand_return): Set current_function_returns_value even if the
1168         value is erroneous.
1169
1170 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
1171
1172         PR c/5420:
1173         * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
1174         unsafe for reevaluation.
1175
1176 2002-02-06  Jakub Jelinek  <jakub@redhat.com>
1177
1178         PR c/5482:
1179         * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
1180         EXPR_STMT, but COMPOUND_STMT, recurse into it.
1181
1182 2002-02-06  Richard Henderson  <rth@redhat.com>
1183
1184         * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
1185         be a general_operand.  Dest for function value must be a pseudo.
1186
1187 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
1188
1189         * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
1190         as SYMBOL_REFs from the constant pool.
1191
1192 2002-02-06  Alexandre Oliva  <aoliva@redhat.com>
1193
1194         * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
1195         passed by invisible reference.
1196
1197 2002-02-05  Richard Henderson  <rth@redhat.com>
1198
1199         * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
1200
1201 2002-02-06  Hans-Peter Nilsson  <hp@bitrange.com>
1202
1203         Implement using "base addresses" in insn operands as default.
1204         * config/mmix/mmix.c (mmix_conditional_register_usage): if
1205         -mabi=gnu, modify fixed_regs to fit the GNU ABI.
1206         (mmix_extra_constraint): Use 'R' to indicate that GETA should be
1207         used to read the rtx value.
1208         (mmix_target_asm_function_epilogue): Fix spacing.
1209         (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
1210         (mmix_legitimate_address): Ditto.
1211         (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
1212         should be loaded with a GETA insn.  Don't allocate needless extra
1213         char for nul termination and fix misleading comment.
1214         (mmix_print_operand_address): Handle constants if
1215         TARGET_BASE_ADDRESSES.
1216         (mmix_output_register_setting): Use base addressing if
1217         TARGET_BASE_ADDRESSES and the number of insns is 3.
1218         * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
1219         * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
1220         to use R as constraint, add LDA to match s.
1221         * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
1222         (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
1223         (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
1224         (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
1225         (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
1226         order with other fixed registers.
1227         (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
1228         other parameter/call-clobbered registers.
1229         * doc/invoke.texi (Option Summary) <MMIX Options>: Add
1230         -mbase-addresses, -mno-base-addresses.
1231         (MMIX Options): Ditto.
1232
1233 2002-02-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1234
1235         * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
1236
1237 2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
1238
1239         * config/rs6000/altivec.h: Change elem to _S_elem.
1240
1241 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
1242
1243         * config/netbsd.h (WCHAR_TYPE): Define.
1244         (WCHAR_TYPE_SIZE): Ditto.
1245         (WINT_TYPE): Ditto.
1246         * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
1247         (WCHAR_UNSIGNED): Ditto.
1248         (WCHAR_TYPE_SIZE): Ditto.
1249         (WINT_TYPE): Ditto.
1250         * config/arm/netbsd.h: Likewise.
1251         * config/i386/netbsd-elf.h: Likewise.
1252         * config/i386/netbsd.h: Likewise.
1253         * config/m68k/netbsd-elf.h: Likewise.
1254         * config/m68k/netbsd.h: Likewise.
1255         * config/ns32k/netbsd.h: Likewise.
1256         * config/sparc/netbsd.h: Likewise.
1257         * config/vax/netbsd.: Likewise.
1258
1259 2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
1260
1261         * target.h (struct gcc_target): Added ms_bitfield_layout_p.
1262         * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
1263         (TARGET_INITIALIZER): this.
1264         * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
1265         (BITFIELD_NBYTES_LIMITED): Markup fix.
1266         * tree.h (default_ms_bitfield_layout_p): Declare.
1267         (record_layout_info): Added prev_field.
1268         * tree.c (default_ms_bitfield_layout_p): New fn.
1269         * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
1270         PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
1271         * stor-layout.c: Include target.h.
1272         (start_record_layout): Initialize prev_field.
1273         (place_field): Handle MS bit-field layout, and disregard
1274         EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
1275         PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
1276         * Makefile.in (stor-layout.o): Adjust dependencies.
1277
1278 2002-02-05  Jason Merrill  <jason@redhat.com>
1279
1280         * c-typeck.c (convert_for_assignment): Don't allow conversions
1281         between pointers and references.  Only allow lvalues to convert to
1282         reference.
1283
1284         * c-decl.c (finish_function): Warn about a non-void function with
1285         no return statement and no abnormal exit.
1286         (current_function_returns_abnormally): New variable.
1287         (start_function): Clear it.
1288         (struct c_language_function): Add returns_abnormally.
1289         (push_c_function_context): Save it.
1290         (pop_c_function_context): Restore it.
1291         * c-tree.h: Declare current_function_returns_abnormally.
1292         * c-typeck.c (build_function_call): Set it.
1293
1294         * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
1295
1296 2002-02-05  Andreas Jaeger  <aj@suse.de>
1297
1298         * crtstuff.c: Fix comments.
1299
1300 2002-02-05  Richard Henderson  <rth@redhat.com>
1301
1302         PR fortran/3393
1303         * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
1304         (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
1305
1306         PR fortran/3392
1307         * config/mips/mips.c (function_arg): Handle TImode.
1308         (function_arg_advance): Likewise.
1309
1310 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
1311
1312         * config/rs6000/altivec.h (vec_step_help): Rename to
1313         __vec_step_help.
1314
1315 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
1316
1317         * config/rs6000/altivec.h: Fix typos.
1318
1319 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
1320
1321         * config/arm/netbsd.h: Correct a comment.
1322
1323 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
1324
1325         * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
1326         building void typed builtins.
1327
1328         * config/rs6000/altivec.h (vec_ld*): Fix typos.
1329         (vec_step): Implement for C++.
1330
1331 Mon Feb  4 19:23:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1332
1333         * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
1334
1335 2002-02-04  Richard Henderson  <rth@redhat.com>
1336
1337         * combine.c (nonzero_bits): Re-introduce special case for
1338         sp/fp/ap wrt REGNO_POINTER_ALIGN.
1339
1340 2002-02-05  Aldy Hernandez  <aldyh@redhat.com>
1341
1342         * doc/extend.texi: Warn about unsupported usage of altivec
1343         builtins.
1344
1345         * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
1346         (altivec_predicate_*): New.
1347
1348         * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
1349         Add C++ version of vec_*() functions.
1350
1351         * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
1352         (bdesc_2arg): Remove altivec predicates.
1353         (altivec_expand_builtin): Handle predicates.
1354         (altivec_init_builtins): Handle predicates.
1355         (altivec_expand_predicate_builtin): New.
1356
1357 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1358
1359         * pa.c (DO_FRAME_NOTES): Move forward.
1360         (store_reg): Revise handling of frame notes.
1361         (load_reg): Likewise.
1362         (set_reg_plus_d): Likewise.
1363         (hppa_expand_prologue): Likewise.
1364         (hppa_expand_epilogue): Likewise.
1365
1366 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1367
1368         * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
1369
1370 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
1371
1372         PR c/4475, c++/3780:
1373         * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
1374         * c-common.h (SWITCH_TYPE): Define.
1375         * c-typeck.c (c_start_case): Set SWITCH_TYPE.
1376         * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
1377         Rename spareness variable to sparseness.
1378         (expand_end_case_type): Renamed from expand_end_case, use orig_type
1379         if non-NULL instead of TREE_TYPE (orig_index).
1380         * tree.h (expand_end_case_type): Renamed from expand_end_case.
1381         (expand_end_case): Define using expand_end_case_type.
1382         * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
1383         to expand_end_case_type.
1384         * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
1385
1386 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1387
1388         * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
1389         (BIGGEST_ALIGNMENT): Change to 128.
1390
1391 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1392
1393         * pa32-linux.h (LINK_COMMAND_SPEC): Define.
1394
1395 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1396
1397         * pa.md (call_internal_reg_64bit): Remove unused variable.
1398
1399 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
1400
1401         * config/arm/arm.h (machine_function): Add uses_anonymous_args
1402         field.
1403         (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
1404         * config/arm/arm.c (current_function_anonymous_args): Delete,
1405         replace uses with cfun->machine->uses_anonymous_args.
1406         (arm_reorg): Do not reset uses_anonymous_args.
1407
1408         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
1409         any geenral register.
1410
1411 2001-02-04  Bernd Schmidt  <bernds@redhat.com>
1412
1413         * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
1414         the entry block.
1415
1416 2002-02-04  Richard Henderson  <rth@redhat.com>
1417
1418         * combine.c (force_to_mode): Remove STACK_BIAS code.
1419         (nonzero_bits): Likewise.  Replace sp/fp special case with
1420         REGNO_POINTER_ALIGN.
1421
1422         * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
1423         (HARD_FRAME_POINTER_REGNUM): New.
1424         (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
1425         (FIXED_REGS, CALL_USED_REGS): Update.
1426         (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
1427         (CONDITIONAL_REGISTER_USAGE): Update for HFP.
1428         (HARD_REGNO_NREGS): Update for SFP.
1429         (STACK_POINTER_OFFSET): Include bias here ...
1430         (FIRST_PARM_OFFSET): ... not here.
1431         (STACK_BIAS): Remove.
1432         (INIT_EXPANDERS): New.
1433         (STARTING_FRAME_OFFSET): Do not include bias.
1434         (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
1435         (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
1436         (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
1437         * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
1438         * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
1439         * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
1440         (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
1441         (MUST_SAVE_REGISTER): Likewise.
1442         (sparc_flat_function_prologue): Likewise.
1443         (sparc_flat_function_epilogue): Likewise.
1444         (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
1445         (sparc_init_modes): SFP is GENERAL_REGS.
1446         (sparc_builtin_saveregs): SFP does not have bias applied.
1447
1448 2002-02-04  Richard Henderson  <rth@redhat.com>
1449
1450         * config/alpha/alpha.c (current_function_is_thunk): Don't check
1451         current_function_is_thunk.
1452         (alpha_sa_mask): Distinguish between current_function_is_thunk
1453         called from ASM_OUTPUT_MI_THUNK and not.
1454         (alpha_does_function_need_gp): Thunks always need gp.
1455         (alpha_start_function, alpha_output_function_end_prologue): Likewise.
1456         (alpha_output_mi_thunk_osf): New.
1457         * config/alpha/alpha-protos.h: Update.
1458         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
1459
1460 2002-02-04  Richard Sandiford  <rsandifo@redhat.com>
1461
1462         * c-typeck.c (build_c_cast): Warn when qualifiers are added to
1463         function types, not when they're taken away.
1464
1465 Mon Feb  4 09:05:58 2002  Jeffrey A Law  (law@redhat.com)
1466
1467         * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
1468         CODE_LABEL and jump table when replacing a table jump with a
1469         simple jump.
1470
1471 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1472
1473         * config/s390/s390-protos.h (legitimize_la_operand,
1474         s390_secondary_input_reload_class, s390_plus_operand,
1475         s390_expand_plus_operand): Add prototypes.
1476
1477         config/s390/s390.c (s390_secondary_input_reload_class,
1478         s390_plus_operand, s390_expand_plus_operand): New functions.
1479
1480         (struct s390_address): New member 'pointer'.
1481         (s390_decompose_address): Compute it.
1482         (legitimate_la_operand_p): Use it.
1483         (legitimize_la_operand): New function.
1484         (movti, movdi, movdf splitters): Call it.
1485
1486         config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
1487         (PREDICATE_CODES): Add s390_plus_operand.
1488
1489         config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
1490         (la_ccclobber): Allow GENERAL_REGS as output operand.
1491
1492         (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
1493         *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
1494         (*la_64, *la_31, reload_indi, reload_insi): ... these.
1495
1496 2002-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1497
1498         * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
1499         register names for regular asm () construct.
1500
1501 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
1502
1503         * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
1504         registers.
1505
1506 2002-02-04  Jakub Jelinek  <jakub@redhat.com>
1507
1508         * combine.c (recog_for_combine): Create a dummy insn with PATTERN
1509         pat for recog.
1510
1511 2002-02-04  Hartmut Penner  <hpenner@de.ibm.com>
1512
1513         * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
1514         constant pool to be identical by string address and index.
1515
1516 2002-02-04  Anthony Green  <green@redhat.com>
1517
1518         * output.h (SECTION_OVERRIDE): Define.
1519         * varasm.c (named_section): Obey SECTION_OVERRIDE.
1520
1521 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
1522
1523         * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
1524         by existing arm*-*-netbsd* (a.out) target.
1525         (ns32k-*-netbsdelf*): Likewise.
1526         (sparc-*-netbsdelf*): Likewise.
1527         (vax-*-netbsdelf*): Likewise.
1528
1529 2002-02-03  Danny Smith <dannysmith@users.sourceforge.net>
1530
1531         * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
1532         headers and libobjc headers.
1533
1534 2002-02-03  Mumit Khan  <khan@nanotech.wisc.edu>
1535
1536         * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
1537         (_mingw.h): Remove duplicate include.
1538
1539 2002-02-03  Jason Thorpe  <thorpej@wasabisystems.com>
1540
1541         * config.gcc: Set cpu_type to m68k for 68010, as well.
1542         (m68010-*-netbsdelf*): New...
1543         (m68k*-*-netbsdelf*): ...targets.
1544         * config/m68k/netbsd-elf.h: New file.
1545
1546 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1547
1548         * config/h8300/h8300.c (hand_list): Move inside function_arg.
1549
1550 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1551
1552         * config/h8300/h8300.c (h8_push_ops): Move inside
1553         h8300_init_once.
1554         (h8_pop_ops): Likewise.
1555         (h8_move_ops): Likewise.
1556
1557 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1558
1559         * config/h8300/h8300.c (os_task): Make it static.
1560         (monitor): Likewise.
1561         (pragma_saveall): Likewise.
1562
1563 2002-02-02  Alexandre Oliva  <aoliva@redhat.com>
1564
1565         * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
1566         constant is a valid sign-extension for Pmode.
1567
1568 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1569
1570         * config/h8300/h8300.c: Fix formatting.
1571
1572 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1573
1574         * config/h8300/h8300.md: Fix formatting.
1575
1576 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1577
1578         * config/h8300/h8300.md (one_cmpl patterns): Tighten the
1579         predicates of operands[1].  Split the patterns for each
1580         processor variant.
1581
1582 2002-02-02  Kazu Hirata  <kazu@hxi.com>
1583
1584         * config/h8300/h8300.md (xor patterns): Tighten the predicates
1585         of operands[1] to register_operand.
1586
1587 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
1588
1589         * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
1590         * cpphash.c (_cpp_init_hashtable): Similarly.
1591         * cppinit.c (cpp_create_reader): Default the signed_char flag.
1592         (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
1593         (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
1594         (cpp_handle_option): Handle the new options.
1595         * cpplex.c (cpp_interpret_charconst): Use new flag.
1596         * cpplib.h (struct cpp_options): New member signed_char.
1597         * gcc.c (cpp_unique_options): Remove %c spec and documentation.
1598         (cpp_options): Handle -fsigned-char and -funsigned-char.
1599         (static_specs): Remove signed_char_spec.
1600         (do_spec1): Don't handle %c.
1601         * system.h: Poison SIGNED_CHAR_SPEC.
1602         * tradcif.y (yylex): Use flag_signed_char.
1603         * tradcpp.h (flag_signed_char): New.
1604         * tradcpp.c (flag_signed_char): New.
1605         (main): Handle new command-line options.
1606         (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
1607 config:
1608         * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
1609         * avr/avr.h: Remove old comments.
1610         * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
1611         (CC1_SPEC): Pass -fsigned-char if -mic*.
1612         (SIGNED_CHAR_SPEC): Remove.
1613 doc:
1614         * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
1615
1616 2002-02-01  Eric Christopher  <echristo@redhat.com>
1617
1618         From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
1619         * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
1620         * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
1621         (ASM_OUTPUT_REG_POP): Ditto.
1622
1623 2002-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
1624
1625         * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
1626         patch.
1627
1628 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
1629
1630         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
1631
1632 2002-02-02  Jakub Jelinek  <jakub@redhat.com>
1633
1634         PR c/5304:
1635         * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
1636         unconditionally.
1637
1638 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
1639
1640         * cfganal.c: Include tm_p.h.
1641         (keep_with_call_p): Fix the test that determines if a register holds
1642         the return value of a call.
1643
1644 2002-02-01  DJ Delorie  <dj@redhat.com>
1645
1646         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
1647         we are given conflicting registers, switch to the other one we
1648         had allocated for us.
1649         * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
1650         as TImode so we know when the "other" register is available.
1651
1652 2002-02-01  David O'Brien  <obrien@FreeBSD.org>
1653
1654         * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
1655         sparc/sparc_bi.h.
1656
1657 2002-02-01  Janis Johnson  <janis187@us.ibm.com>
1658
1659         * cfganal.c (keep_with_call_p): New function.
1660         (flow_call_edges_add): Prevent splitting a block between a call and
1661         a single-set instruction that should be kept in the same block.
1662
1663 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1664
1665         * doc/install.texi (avr): Update outdated URL.
1666
1667 2002-01-30  Andrew Haley  <aph@cambridge.redhat.com>
1668
1669         * config/stormy16/stormy16.md (pushqi): New.
1670         (popqi): New.
1671         (pushhi): New.
1672         (pophi): New.
1673         (movhi): Remove stack operands.
1674         (movqi): Likewise.
1675         * config/stormy16/stormy16.h (PREDICATE_CODES): Add
1676         nonimmediate_nonstack_operand.
1677         * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
1678         New.
1679         * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
1680         New.
1681
1682 2002-01-31  Jason Merrill  <jason@redhat.com>
1683
1684         * Makefile.in (c-parse.c): Handle .output file.
1685         * objc/Make-lang.in (objc-parse.c): Likewise.
1686
1687 2002-02-01  Alexandre Oliva  <aoliva@redhat.com>
1688
1689         * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
1690         the -me[lb] option is given.  Don't output the default flag
1691         twice.
1692
1693 2002-01-31  Zack Weinberg  <zack@codesourcery.com>
1694
1695         * c-lex.c (yyparse): Call debug_hooks->start_source_file for
1696         the primary source file; this has not been done yet.
1697         * c-decl.c (c_expand_body): Reset input_filename from
1698         DECL_SOURCE_FILE (fndecl) before calling init_function_start.
1699
1700 2002-01-31  Kazu Hirata  <kazu@hxi.com>
1701
1702         * rtlanal.c (subreg_regno_offset): Do not use
1703         SUBREG_REGNO_OFFSET.
1704         * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
1705         * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
1706
1707 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1708
1709         * gccbug.in: Follow GNU Coding Standards for --version.  Use GCC
1710         version rather than GNATS version in --version output.
1711
1712 2002-01-31  Richard Sandiford  <rsandifo@redhat.com>
1713
1714         * ifcvt.c (noce_process_if_block): Make a copy of the destination
1715         when copying back from a temporary.
1716
1717 2002-01-30  Richard Henderson  <rth@redhat.com>
1718
1719         * ifcvt.c (dead_or_predicable): Handling merging when other_bb
1720         and new_dest are the same.
1721
1722 2002-01-30  Richard Henderson  <rth@redhat.com>
1723
1724         PR opt/5076
1725         * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
1726         * rtl.c (note_insn_name): Update.
1727         * emit-rtl.c (remove_unnecessary_notes): Kill it.
1728         * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
1729         to perform loop rotation.
1730         (expand_exit_loop_top_cond): New.
1731         * tree.h (expand_exit_loop_top_cond): Declare it.
1732         * c-semantics.c (genrtl_while_stmt): Use it.
1733         (genrtl_for_stmt): Likewise.
1734
1735 2002-01-30  Alexandre Oliva  <aoliva@redhat.com>
1736
1737         * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
1738         arguments to 64-bit boundaries on 64-bit ABIs.
1739
1740 2002-01-30  Steve Ellcey  <sje@cup.hp.com>
1741
1742         * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
1743
1744 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1745
1746         * c-decl.c (grokdeclarator): Handle type being a typedef for an
1747         invalid type.
1748
1749 2002-01-30  David O'Brien  <obrien@FreeBSD.org>
1750
1751         * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
1752         * config/sparc/sparc_bi.h: Remove file.
1753         * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
1754
1755 2002-01-30  Richard Henderson  <rth@redhat.com>
1756
1757         * sched-deps.c (sched_analyze): Make a call read the frame pointer.
1758
1759 2002-01-30  Zack Weinberg  <zack@codesourcery.com>
1760
1761         * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
1762
1763 2002-01-30  Jason Merrill  <jason@redhat.com>
1764
1765         * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
1766         (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
1767         (reg_save): Use DW_CFA_offset_extended_sf instead.
1768
1769         * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
1770
1771 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
1772
1773         * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
1774         in cselib_lookup.
1775
1776 2002-01-29  Aldy Hernandez  <aldyh@redhat.com>
1777
1778         * rs6000.md ("*call_value_local32"): Remove constraints.
1779         ("*call_value_local64"): Same.
1780         ("*call_value_indirect_nonlocal_aix32"): Same.
1781         ("*call_value_nonlocal_aix32"): Same.
1782         ("*call_value_indirect_nonlocal_aix64"): Same.
1783         ("*call_value_nonlocal_aix64"): Same.
1784         ("*call_value_nonlocal_sysv"): Same.
1785
1786 2002-01-29  Richard Henderson  <rth@redhat.com>
1787
1788         * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
1789
1790 2002-01-29  Richard Henderson  <rth@redhat.com>
1791
1792         * expr.c (force_operand): Ignore flag_pic for detecting pic
1793         address loads.
1794         * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
1795         for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
1796         * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
1797         instead of open-coded loop.
1798         * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
1799         be fixed when in use.
1800
1801 2002-01-29  Richard Henderson  <rth@redhat.com>
1802
1803         * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
1804         * sched-rgn.c (propagate_deps): Update them.
1805         * sched-deps.c (sched_analyze_insn): Update them.  Flush the
1806         clobbers list when either gets too long.
1807
1808 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
1809
1810         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
1811         and INDEX_REGS the same as GENERAL_REGS.
1812         (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
1813
1814 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
1815
1816         * tree.c (build_nonstandard_integer_type): Correct prototype.
1817
1818 2002-01-29  Ulrich Weigand  <uweigand@de.ibm.com>
1819
1820         * config/s390/s390.md (movstrsico, movstrdix_64,
1821         movstrsix_31): Remove, replace by ...
1822         (movstrdi_short, movstrsi_short, movstrdi_long,
1823         movstrsi_long): ... these.  New.
1824         (movstrdi, movstrsi): Adapt.
1825
1826         (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
1827         ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
1828         Remove unnecessary CC clobber.
1829         (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
1830         *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
1831
1832         (divmoddi4): Don't partially initialize TImode register.
1833
1834 2002-01-29  Geoffrey Keating  <geoffk@redhat.com>
1835
1836         * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
1837
1838 2002-01-29  Richard Henderson  <rth@redhat.com>
1839
1840         * flow.c (print_rtl_and_abort): Remove.
1841         (print_rtl_and_abort_fcn): Remove.
1842         (verify_local_live_at_start): Use dump_bb instead.
1843         (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
1844         (verify_wide_reg_1): Return 2 on mode test failure.
1845
1846 2002-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
1847
1848         PR c/3325, c/3326, c/2511, c/3347
1849         * c-decl.c (enum_decl_context): Remove BITFIELD.
1850         (grokdeclarator): Take bitfield width as an input.
1851         Ensure bitfields are given the correct type.  Perform
1852         bitfield width validation with build_bitfield_integer_type
1853         rather than waiting for finish_struct.
1854         (grok_typename, grok_typename_in_parm_context, start_decl,
1855         push_parmdecl, grokfield, start_function): Update calls to
1856         grokdeclarator.
1857         (build_bitfield_integer_type): New function.
1858         (finish_struct): Move bitfield validation to grokdeclarator
1859         and build_bitfield_integer_type.
1860         * tree.c (build_nonstandard_integer_type): New function.
1861         * tree.h (build_nonstandard_integer_type): New prototype.
1862 objc:
1863         * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
1864
1865 2002-01-29  Jakub Jelinek  <jakub@redhat.com>
1866
1867         PR other/1502:
1868         * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
1869         don't ignore unrecognized -W* options.
1870         (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
1871         * cpplib.h (cpp_handle_option): Adjust prototype.
1872         * c-decl.c (c_decode_options): Pass 0 as last argument to
1873         cpp_handle_option.
1874
1875         PR c/2896:
1876         * gcc.c (cpp_unique_options): Split from cpp_options.
1877         (cpp_options): Source cpp_unique_options.
1878         (default_compilers): Use cpp_unique_options instead of cpp_options
1879         when used together with cc1_options.
1880         (static_specs): Add cpp_unique_options.
1881         * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
1882         when used together with cc1_options.
1883
1884 2002-01-29  Kazu Hirata  <kazu@hxi.com>
1885
1886         * config/h8300/h8300-protos.h: Update the prototype of
1887         output_a_shift.
1888         * config/h8300/h8300.c (output_a_shift): Remove an unused
1889         argument 'insn'.  Remove redundant code.
1890         * config/h8300/h8300.md: Adust to the new prototype of
1891         output_a_shift.
1892
1893 2002-01-29  Kazu Hirata  <kazu@hxi.com>
1894
1895         * config/h8300/h8300-protos.h: Update the prototypes of
1896         emit_a_rotate and expand_a_rotate.
1897         * config/h8300/h8300.c (emit_a_rotate): Change the type of the
1898         first argument to 'enum rtx_code'.
1899         (expand_a_rotate): Likewise.
1900
1901 2002-01-28  Kazu Hirata  <kazu@hxi.com>
1902
1903         * config/h8300/h8300-protos.h: Update the prototype of
1904         output_simode_bld.
1905         * config/h8300/h8300.c (output_simode_bld): Remove an argumen
1906         'log2'.
1907         * config/h8300/h8300.md: Adjust to the new prototype.
1908
1909 2002-01-28  Kazu Hirata  <kazu@hxi.com>
1910
1911         * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
1912         redundant code.
1913
1914 2002-01-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1915
1916         * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
1917         is a fixed register before returning pic_offset_table_rtx.
1918         * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
1919         when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
1920
1921 2002-01-28  Jason Merrill  <jason@redhat.com>
1922
1923         * dwarf2.h: Sync with src version.
1924
1925 2002-01-28  Paul Koning  <pkoning@equallogic.com>
1926
1927         * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
1928         BT_FN_VOID_PTR_VAR.
1929         * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
1930         * doc/extend.texi (__builtin_prefetch): Update documentation:
1931         first argument is now const void ptr.
1932
1933 2002-01-28  Kazu Hirata  <kazu@hxi.com>
1934
1935         * config/h8300/h8300-protos.h: Remove an unused prototype.
1936
1937 2002-01-28  Roman Zippel  <zippel@linux-m68k.org>
1938
1939         * toplev.c (lang_independent_init): Round up identifier size.
1940
1941 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
1942
1943         * config.gcc: Revert previous change.
1944
1945 2002-01-28  Andris Pavenis  <pavenis@latnet.lv>
1946
1947         * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
1948
1949 2002-01-28  Richard Earnshaw  <rearnsha@arm.com>
1950
1951         * config.gcc (*-*-netbsdelf*): Set up generic parameters.
1952         (*-*-netbsd*): Always use collect2.  Remove collect2 settings from
1953         other non-elf netbsd config frags.
1954         * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
1955         collect2 will does that.
1956         * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
1957         shared-lib frobbing will work.
1958
1959 2002-01-28  Kazu Hirata  <kazu@hxi.com>
1960
1961         * config/h8300/h8300.h: Fix formatting.
1962         * config/h8300/h8300.md: Likewise.
1963
1964 2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
1965
1966         * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
1967         the old, removed AAA_standards fix.
1968         * fixinc/fixincl.x: Rebuilt.
1969
1970 2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
1971
1972         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
1973         atexit call in crtbegin, hooked in after call to frame_dummy;
1974         register EH before registering __fini__start.
1975
1976 2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
1977
1978         * config/rs6000/altivec.h: Remove spurious semicolons.
1979
1980 2002-01-27  Kazu Hirata  <kazu@hxi.com>
1981
1982         * config/h8300/h8300.md: Replace dead bit extraction patterns
1983         with ones that work.
1984
1985 Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1986
1987         * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
1988         if not STRICT_ALIGNMENT.
1989         * rtl.h (MEM_ALIGN): Likewise.
1990
1991 2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1992
1993         * doc/invoke.texi (-fdump-translation-unit): Revert this
1994         patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1995
1996 2002-01-27  Kazu Hirata  <kazu@hxi.com>
1997
1998         * config/h8300/h8300.md (define_constants): New.
1999         (anonymous patterns) Use defined constants appropriately.
2000
2001 2002-01-27  Kazu Hirata  <kazu@hxi.com>
2002
2003         * config/h8300/h8300.c (function_arg): Remove redundant code.
2004
2005 2002-01-26  Richard Henderson  <rth@redhat.com>
2006
2007         * sched-deps.c (reg_pending_uses_head): New.
2008         (reg_pending_barrier): Rename from reg_pending_sets_all.
2009         (find_insn_list): Don't mark inline.
2010         (find_insn_mem_list): Remove.
2011         (add_dependence_list, add_dependence_list_and_free): New.
2012         (flush_pending_lists): Replace only_write param with separate
2013         for_read and for_write parameters.  Update all callers.  Use
2014         add_dependence_list_and_free.
2015         (sched_analyze_1): Do not add reg dependencies here; just set
2016         the pending bits.  Use add_dependence_list.
2017         (sched_analyze_2): Likewise.
2018         (sched_analyze_insn): Replace schedule_barrier_found with
2019         reg_pending_barrier.  Add all dependencies for pending reg
2020         uses, sets, and clobbers.
2021         (sched_analyze): Don't add reg dependencies for calls, just
2022         set pending bits.  Use regs_invalidated_by_call.  Treat
2023         sched_before_next_call as a normal list, not a fake insn.
2024         (init_deps): No funny init for sched_before_next_call.
2025         (free_deps): Free pending mems lists.  Don't zero reg_last.
2026         (init_deps_global): Init reg_pending_uses.
2027         (finish_deps_global): Free it.
2028         * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
2029         (find_insn_mem_list): Remove.
2030         * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
2031         (propagate_deps): Use them.  Zero temp mem lists.
2032
2033 2002-01-26  Richard Henderson  <rth@redhat.com>
2034
2035         * Makefile.in (CRTSTUFF_CFLAGS): New.
2036         (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
2037         * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
2038         crtstuff.c instead of alpha assembly version.
2039         * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
2040         entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
2041         not FORCE_{INIT,FINI}_SECTION_ALIGN.
2042         (__do_global_dtors_aux): Mark used.
2043         (frame_dummy, __do_global_ctors_aux): Mark used.
2044         (fini_dummy, init_dummy): Remove.
2045
2046         * config/alpha/crtbegin.asm: Remove file.
2047         * config/alpha/crtend.asm: Remove file.
2048         * config/alpha/t-crtbe: Remove file.
2049         * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
2050         (LINK_EH_SPEC): New.
2051
2052         * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
2053         FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
2054         calling constructors.
2055         * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
2056
2057         * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
2058         * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
2059         CRT_END_INIT_DUMMY hack.
2060         * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
2061         FORCE_{INIT,FINI}_SECTION_ALIGN.
2062
2063         * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
2064         FORCE_{INIT,FINI}_SECTION_ALIGN.
2065
2066         * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
2067         invocation sequence.
2068         * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
2069
2070         * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
2071         (FORCE_CODE_SECTION_ALIGN): New.
2072
2073 2002-01-26  Richard Henderson  <rth@redhat.com>
2074
2075         * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
2076
2077 2002-01-26  Richard Henderson  <rth@redhat.com>
2078
2079         * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
2080         (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
2081
2082 2002-01-26  Kazu Hirata  <kazu@hxi.com>
2083
2084         * config/h8300/h8300.md: Remove bit extraction patterns that
2085         cannot be triggered.
2086         Restrict each bit extraction pattern to a variant on which the
2087         pattern is tested.
2088
2089 2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
2090
2091         * doc/include/texinfo.tex: Update to version 2002-01-04.07.
2092
2093 2002-01-26  Kazu Hirata  <kazu@hxi.com>
2094
2095         * config/h8300/h8300.md: Remove bit test patterns that cannot
2096         be triggered.
2097         Restrict each bit test pattern to a variant on which the
2098         pattern is tested.
2099
2100 2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2101
2102         * builtins.c (expand_builtin_strncat): Remove redundant check for
2103         INTEGER_CST.
2104
2105 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
2106
2107         * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
2108         default setting.
2109         * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
2110         existing setting.
2111
2112 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
2113
2114         * dbxout.c (dbxout_init): Use assemble_name rather than just
2115         stripping off the first character.
2116         (dbxout_source_file): Likewise.
2117
2118 2002-01-25  DJ Delorie  <dj@redhat.com>
2119
2120         * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
2121         using rtx_equal_p, not by comparing pointers.
2122
2123 2002-01-25  Steve Ellcey  <sje@cup.hp.com>
2124
2125         * emit-rtl.c (gen_rtx_REG): Always return the same rtx
2126         for PIC_OFFSET_TABLE_REGNUM.
2127         (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
2128
2129 2002-01-25  David O'Brien  <obrien@FreeBSD.org>
2130
2131         * config.gcc (x86_64-*-freebsd*): New target.
2132         (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
2133         value.
2134         (i[34567]86-*-freebsd*): Don't include svr4.h.
2135         * config/i386/freebsd64.h: New file.
2136
2137 2002-01-25  Douglas B Rupp  <rupp@gnat.com>
2138
2139         * config/alpha/x-vms (version): Make static.
2140
2141         * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
2142         in previous checkin.
2143
2144         * Makefile.in (install-headers-cp): New target.
2145         * config.gcc (alpha-dec-*vms*): Install headers with
2146         install-headers-cp
2147
2148 Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
2149
2150         * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
2151         avoid it's copies.
2152
2153 Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2154
2155         * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
2156         of compare_tree_int.
2157         (expand_builtin_strncat): Likewise.
2158         * c-decl.c (finish_struct): Use tree_low_cst.
2159         * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
2160         * tree.c (compare_tree_int): Likewise.
2161
2162 2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
2163
2164         * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
2165         adjustments even if they are implemented by more than two insns.
2166
2167 Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
2168
2169         * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
2170         * df.h (struct ref): Kill B.
2171         (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
2172
2173         * basic-block.h (PROP_EQUAL_NOTES): New flag.
2174         * flow.c (propagate_one_insn): Use it.
2175         (mark_used_regs): Handle NIL.
2176
2177 2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
2178
2179         * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
2180         to help folding.
2181
2182 2002-01-25  David Edelsohn  <edelsohn@gnu.org>
2183
2184         * rs6000.md (prefetch): Make address V4SI mode so that the address
2185         is restricted to legitimate form for instruction.
2186
2187 2002-01-25  Bob Wilson  <bob.wilson@acm.org>
2188
2189         * doc/install.texi (xtensa-*-elf): New target.
2190         (xtensa-*-linux*): New target.
2191         * doc/contrib.texi: Add myself.
2192
2193 2002-01-25  Nick Clifton  <nickc@cambridge.redhat.com>
2194
2195         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
2196         purpose register to hold an SImode (or smaller) value.
2197
2198 2002-01-25  Jakub Jelinek  <jakub@redhat.com>
2199
2200         * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
2201         registry only.
2202         * crtstuff.c: Likewise.
2203
2204 2002-01-25  Kazu Hirata  <kazu@hxi.com>
2205
2206         * config/h8300/h8300.md (negation patterns): Tighten
2207         predicates to register_operand.
2208
2209 2002-01-24  Aldy Hernandez  <aldyh@redhat.com>
2210
2211         * loop.c (emit_prefetch_instructions): Use the prefetch insn's
2212         mode, not Pmode.
2213
2214         * builtins.c (expand_builtin_prefetch): Same.
2215
2216 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
2217
2218         * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
2219         modes.
2220
2221 2002-01-24  Kazu Hirata  <kazu@hxi.com>
2222
2223         * config/h8300/h8300.c (print_operand): Remove support for
2224         operand character 'A'.
2225         * config/h8300/h8300.md (three anonymous patterns): Replace
2226         operand character 'A' with either 'T' or 'S'.
2227
2228 2002-01-24  Kazu Hirata  <kazu@hxi.com>
2229
2230         * config/h8300/h8300.c (print_operand): Remove support for
2231         operand character 'U'.
2232
2233 2002-01-24  Andris Pavenis  <pavenis@latnet.lv>
2234
2235         * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
2236
2237 2002-01-24  Nick Clifton  <nickc@cambridge.redhat.com>
2238
2239         * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
2240         values to be assigned to the stack pointer.
2241
2242 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
2243
2244         * emit_rtl.c (gen_lowpart_common): Conversion from const_int
2245         to const_double needs to be done right for big-endian systems.
2246
2247 2002-01-24  Jason Merrill  <jason@redhat.com>
2248
2249         PR c++/2432
2250         * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
2251         to can_throw_internal.
2252
2253 2002-01-23  Richard Henderson  <rth@redhat.com>
2254
2255         * fold-const.c (fold): Change UINT_MAX test to check vs precision
2256         rather than TYPE_MAX_VALUE.  Fix indentation and a bogus negation.
2257
2258 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
2259
2260         * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
2261         (symGOT2reg): Use them, then set as GOT value as unchanging.
2262         (symGOTOFF2reg): Set REG_EQUAL note.  Use a different pseudo
2263         as a temporary, if possible.
2264         (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC.  Emit
2265         sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
2266
2267 2002-01-23  Kazu Hirata  <kazu@hxi.com>
2268
2269         * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
2270         accept to accept 0x80 as operands[2].
2271
2272 2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
2273
2274         * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
2275
2276 2002-01-23  Richard Henderson  <rth@redhat.com>
2277
2278         * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
2279
2280 2002-01-23  Aldy Hernandez  <aldyh@redhat.com>
2281
2282         * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
2283         (parmlist_or_identifiers_1): Verify that only a parmlist follows
2284         an attribute.
2285
2286 2002-01-23  Richard Henderson  <rth@redhat.com>
2287
2288         * expr.c (move_by_pieces_1): Extend size before negation.
2289
2290         * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
2291         (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
2292         (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
2293         * config/m68k/t-m68kelf: Likewise.
2294
2295 2002-01-23  Bob Wilson  <bob.wilson@acm.org>
2296
2297         * config/xtensa/elf.h: New file.
2298         * config/xtensa/lib1funcs.asm: New file.
2299         * config/xtensa/lib2funcs.S: New file.
2300         * config/xtensa/linux.h: New file.
2301         * config/xtensa/t-xtensa: New file.
2302         * config/xtensa/xtensa-config.h: New file.
2303         * config/xtensa/xtensa-protos.h: New file.
2304         * config/xtensa/xtensa.c: New file.
2305         * config/xtensa/xtensa.h: New file.
2306         * config/xtensa/xtensa.md: New file.
2307         * config.gcc (xtensa-*-elf*): New target.
2308         (xtensa-*-linux*): New target.
2309         * cse.c (canon_hash): Compare rtx pointers instead of register
2310         numbers.  This is required for the Xtensa port.
2311         * integrate.c (copy_insn_list): Handle case where the static
2312         chain is in memory and the memory address has to be copied to
2313         a register.
2314         * doc/invoke.texi (Option Summary): Add Xtensa options.
2315         (Xtensa Options): New node.
2316         * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
2317
2318 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
2319
2320         * diagnostic.c (internal_error): Do ICE suppression only
2321         when ENABLE_CHECKING is not defined.
2322
2323         * c-typeck.c (require_complete_type): Return error_mark_node
2324         if type is error_mark_node.
2325
2326 2002-01-23  Janis Johnson  <janis187@us.ibm.com>
2327
2328         * toplev.c (process_options): Disable -fprefetch-loop-arrays with
2329         -Os and issue a warning.
2330
2331 2002-01-23  Zack Weinberg  <zack@codesourcery.com>
2332
2333         * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
2334         current (lack of) need for host configuration by hand.
2335
2336         * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
2337         references.  Documentation of some target macros moved from
2338         hostconfig.texi to tm.texi.
2339
2340 2002-01-23  Will Cohen  <wcohen@redhat.com>
2341
2342         * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
2343         defined.
2344
2345 2002-01-23  Kazu Hirata  <kazu@hxi.com>
2346
2347         * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
2348         operand[3].
2349
2350 2002-01-23  Jason Merrill  <jason@redhat.com>
2351
2352         * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
2353
2354         * function.c (assign_parms): Don't put args of inline functions
2355         into registers when not optimizing.
2356
2357 2002-01-23  Nick Clifton  <nickc@cambridge.redhat.com>
2358
2359         * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
2360         (prologue_use): New pattern.
2361         * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
2362         preference to gen_rtx_USE.
2363         (thumb_expand_prologue): Use gen_prologue_use in preference to
2364         gen_rtx_USE.
2365         (thumb_expand_epilogue): Use gen_prologue_use in preference to
2366         gen_rtx_USE.
2367
2368 2002-01-23  Hans-Peter Nilsson  <hp@bitrange.com>
2369
2370         * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
2371
2372 2002-01-23  Neil Booth  <neil@daikokuya.demon.co.uk>
2373
2374         PR c/3504
2375         * doc/extend.texi: Correct documentation of __alignof__.
2376
2377 2002-01-22  Zack Weinberg  <zack@codesourcery.com>
2378
2379         * params.h: Rename arguments of DEFPARAM so that it will be
2380         recognized as a translation keyword.
2381
2382 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
2383
2384         * extend.texi: Document altivec functions.
2385         Fix N-bit adjectives in X86 builtin documentation.
2386
2387 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
2388
2389         * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
2390         auto_inc_dec values.
2391
2392 2002-01-22  Richard Earnshaw  <rearnsha@arm.com>
2393
2394         * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
2395         after backslash.
2396         (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
2397
2398 2002-01-22  Alexandre Oliva  <aoliva@redhat.com>
2399
2400         * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
2401
2402 2002-01-22  Richard Henderson  <rth@redhat.com>
2403
2404         * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
2405         copy_insn not copy_rtx.
2406
2407 2002-01-23  Alan Modra  <amodra@bigpond.net.au>
2408
2409         * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
2410         "nonzero" as that might add "1" bits.  Ensure "constop" is
2411         properly sign extened.
2412         (force_to_mode): Tweak for sign extended constop.
2413
2414 2002-01-22  Richard Henderson  <rth@redhat.com>
2415
2416         * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
2417         for_each_rtx instead of assuming we're already looking at the MEM.
2418         (split_small_symbolic_mem_operand): Likewise.
2419         * config/alpha/alpha.h (PREDICATE_CODES): Update.
2420         * config/alpha/alpha.md (small symbolic memory splitters): Update.
2421
2422 2002-01-22  Richard Henderson  <rth@redhat.com>
2423
2424         * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
2425         sequence number for the literal.
2426         (divmoddi_internal_er): Likewise.
2427
2428 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2429
2430         PR java/4972
2431         * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
2432         in LIBICONV variable.
2433         * configure: Regenerated.
2434
2435 2002-01-22  Krister Walfridsson  <cato@df.lth.se>
2436
2437         * dependence.c (build_def_use): Remove array_idx.
2438
2439         * dwarfout.c (last_filename): Remove.
2440         (output_compile_unit_die): Remove last_filename.
2441
2442 2002-01-22  Roger Sayle  <roger@eyesopen.com>
2443             Richard Henderson  <rth@redhat.com>
2444
2445         PR opt/3640
2446         * fold-const.c (fold): Optimize unsigned comparisons against
2447         UINT_MAX (and similar unsigned constants).
2448
2449 2002-01-22  Janis Johnson  <janis187@us.ibm.com>
2450
2451         * Makefile.in (loop.o): Depend on OPTABS_H.
2452         * loop.c (emit_prefetch_instructions): Check the prefetch operand
2453         against the predicate.
2454
2455         PR target/5379
2456         * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
2457         for the address operand.
2458
2459 2002-01-22  Richard Henderson  <rth@redhat.com>
2460
2461         * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
2462
2463 2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2464
2465         PR other/5450
2466         * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
2467         preprocessor flags.
2468
2469 2002-01-22  Jason Thorpe  <thorpej@wasabisystems.com>
2470
2471         * config.gcc (x86_64-*-netbsd*): New target.
2472         * config/i386/netbsd64.h: New file.
2473
2474 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
2475
2476         * regrename.c (kill_value): Fix typo.
2477
2478 2002-01-22  Aldy Hernandez  <aldyh@redhat.com>
2479
2480         * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2481
2482         * config/rs6000/rs6000.h: Same.
2483
2484         * function.c (instantiate_virtual_regs): Remove
2485         STARTING_FRAME_PHASE.
2486         (assign_stack_local_1): Same.
2487         Calculate frame phase.
2488
2489 2002-01-22  Nick Clifton  <nickc@redhat.com>
2490
2491         * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
2492         variable declaration to outer scope in order to simplify
2493         future extensions.
2494         (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
2495         arm_hard_regno_mode_ok.
2496         * config/arm/arm-protos.h: Add a prototype for
2497         arm_hard_regno_mode_ok.
2498         * config/arm/arm.c (soft_df_operand): Remove now redundant
2499         check for DImode values using IP_REGNUM.
2500         (nonimmediate_soft_df_operand): Remove now redundant check for
2501         DImode values using IP_REGNUM.
2502         (arm_hard_regno_mode_ok): New function. New check: make sure
2503         that DImode values are not stored in IP_REGNUM.
2504
2505         * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
2506         note with a USE.
2507         (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
2508
2509 2002-01-22  Jason Merrill  <jason@redhat.com>
2510
2511         * c-semantics.c (genrtl_compound_stmt): Only check nesting
2512         consistency if this COMPOUND_STMT is scoped.
2513
2514 2002-01-22  Kazu Hirata  <kazu@hxi.com>
2515
2516         * predict.c: Fix formatting.
2517         * print-tree.c: Likewise.
2518         * protoize.c: Likewise.
2519         * real.h: Likewise.
2520         * rtl.h: Likewise.
2521         * sbitmap.h: Likewise.
2522         * scan.c: Likewise.
2523         * sched-deps.c: Likewise.
2524         * sched-vis.c: Likewise.
2525         * sdbout.c: Likewise.
2526         * sibcall.c: Likewise.
2527         * ssa.c: Likewise.
2528         * ssa-ccp.c: Likewise.
2529         * ssa-dce.c: Likewise.
2530         * stmt.c: Likewise.
2531         * stor-layout.c: Likewise.
2532         * system.h: Likewise.
2533
2534 Tue Jan 22 06:26:33 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2535
2536         * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
2537         if fits in bounds of base type.
2538
2539         * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
2540         (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
2541         (add_bound_info, default): If can't find a context, make a
2542         SAVE_EXPR.
2543         (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
2544
2545 2002-01-22  Hans-Peter Nilsson  <hp@axis.com>
2546
2547         * c-typeck.c (parser_build_binary_op): If result from
2548         build_binary_op is ERROR_MARK just return error_mark_node without
2549         further processing.
2550
2551 2002-01-21  Jason Thorpe  <thorpej@wasabisystems.com>
2552
2553         * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
2554         Split a.out-specific bits into...
2555         * config/netbsd-aout.h: ...this.
2556         * config/netbsd-elf.h: New file.
2557         * config/alpha/netbsd-elf.h: Remove.
2558         * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
2559         * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
2560         (STARTFILE_SPEC): Remove redundant definition.
2561         (ENDFILE_SPEC): Likewise.
2562         (LINK_SPEC): Likewise.
2563         (CPP_SPEC): Likewise.
2564         (ASM_SPEC): Likewise.
2565         (LIB_SPEC): Likewise.
2566         (SWITCH_TAKES_ARG): Likewise.
2567         (TARGET_MEM_FUNCTIONS): Likewise.
2568         (CPP_PREDEFINES): Redefine.
2569         (ASM_FINAL_SPEC): Remove redefinition.
2570         (ASM_COMMENT_START): Redefine.
2571         (FUNCTION_PROFILER): Define.
2572         (TARGET_VERSION): Redefine.
2573         Comment and formatting cleanup.
2574         * config/i386/netbsd.h: Include <netbsd-aout.h>.
2575         * config/m68k/netbsd.h: Include <netbsd-aout.h>.
2576         * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
2577         big- or little-endian.
2578         * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
2579         * config.gcc (*-*-netbsd*): Add definitions common to all
2580         NetBSD configs.
2581         (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
2582         gnu_ld definitions.  Add netbsd-elf.h to and remove
2583         alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
2584         tmake_file, and don't lose previous tmake_file contents.
2585         (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
2586         (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
2587         gnu_ld definitions.  Add netbsd-elf.h to tm_file.
2588         (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
2589         (mipsel-*-netbsd*): Rename this to...
2590         (mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
2591         mips/little.h to tm_file for mips*el-*.
2592         (powerpc-*-netbsd*): Remove redundant xm_defines definition.
2593         (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
2594         (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
2595
2596 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2597
2598         * pa-protos.h (reg_before_reload_operand): New function prototype.
2599         * pa.c (reg_before_reload_operand): New function implementation.
2600         * pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
2601         contraints to "*m".
2602
2603 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2604
2605         * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
2606
2607 2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2608
2609         * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
2610         (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
2611         (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
2612         (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
2613         (ENDFILE_SPEC): Undefine.
2614         (STARTFILE_SPEC): Redefine for PA.
2615
2616 2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2617
2618         * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
2619
2620 2002-01-21  Daniel Jacobowitz  <drow@mvista.com>
2621
2622         * config.gcc: Add entries to supported PowerPC --with-cpu
2623         types.
2624
2625 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
2626
2627         * config/i386/i386.c (ix86_function_arg_regno_p): Never return
2628         true for 64-bit mode only SSE registers in 32-bit mode.
2629
2630 2002-01-21  Kazu Hirata  <kazu@hxi.com>
2631
2632         * unwind-dw2.c: Fix formatting.
2633         * unwind-dw2-fde.c: Likewise.
2634         * unwind-dw2-fde.h: Likewise.
2635         * unwind-pe.h: Likewise.
2636         * varasm.c: Likewise.
2637         * varray.h: Likewise.
2638
2639 2002-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
2640
2641         Remove workaround for register stack overwrite bug in mmix.
2642         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
2643         support for TARGET_REG_STACK_FILL_BUG.
2644         * config/mmix/mmix.h: Remove member has_call_without_parameters.
2645         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
2646         Delete.
2647         (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
2648         (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
2649         -mno-reg-stack-fill-bug-workaround.
2650         * config/mmix/mmix.md ("call", "call_value"): Don't set struct
2651         machine member has_call_without_parameters.
2652         * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
2653         -mreg-stack-fill-bug-workaround and
2654         -mno-reg-stack-fill-bug-workaround.
2655         (MMIX Options): Ditto.
2656
2657 2002-01-21  Kazu Hirata  <kazu@hxi.com>
2658
2659         * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
2660         as appropriate.
2661         Remove redundant code.
2662
2663 2002-01-21  Joseph S. Myers  <jsm28@cam.ac.uk>
2664
2665         * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
2666         config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
2667         config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
2668         config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
2669         config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
2670         out target macro definitions and non-target-specific comments
2671         mostly taken from old versions of the manual.
2672
2673 2002-01-20  Kazu Hirata  <kazu@hxi.com>
2674
2675         * config/h8300/h8300.h: Fix comment formatting.
2676         * config/ia64/aix.h: Likewise.
2677         * config/ia64/ia64-protos.h: Likewise.
2678         * config/ia64/ia64.c: Likewise.
2679         * config/ia64/ia64.h: Likewise.
2680         * config/ia64/ia64intrin.h: Likewise.
2681         * config/ia64/linux.h: Likewise.
2682         * config/ia64/unwind-aix.c: Likewise.
2683         * config/ia64/unwind-ia64.c: Likewise.
2684
2685 2002-01-20  Kazu Hirata  <kazu@hxi.com>
2686
2687         * config/h8300/h8300.c: Revise comments about shift code.
2688
2689 2002-01-20  Kazu Hirata  <kazu@hxi.com>
2690
2691         * config/h8300/h8300.c (function_arg): Update a comment.
2692
2693 2002-01-20  Kazu Hirata  <kazu@hxi.com>
2694
2695         * config/h8300/h8300.md: Update the comments at the beginning
2696         of the file.
2697
2698 2002-01-20  Kazu Hirata  <kazu@hxi.com>
2699
2700         * config/i370/i370.c: Fix comment formatting.
2701         * config/i370/i370.h: Likewise.
2702         * config/i370/i370.md: Likewise.
2703         * config/i370/linux.h: Likewise.
2704
2705 Sun Jan 20 18:40:14 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2706
2707         * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
2708
2709         * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
2710         (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
2711         in incomplete case.
2712
2713 2002-01-20  Graham Stott  <grahams@redhat.com>
2714
2715         * cfgloop.c (flow_loop_preheader_scan): Fix typo.
2716
2717 2002-01-19  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2718
2719         * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
2720
2721 2002-01-19  Tom Rix  <trix@redhat.com>
2722
2723         * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
2724
2725 2002-01-18  Aldy Hernandez  <aldyh@redhat.com>
2726
2727         * doc/tm.texi (STARTING_FRAME_PHASE): Document.
2728
2729         * function.c (assign_stack_local_1): Adjust x_frame_offset with
2730         STARTING_FRAME_PHASE.
2731         (STARTING_FRAME_PHASE): New.
2732         (instantiate_virtual_regs): Check saneness of
2733         STARTING_FRAME_PHASE.
2734
2735         * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
2736
2737 2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
2738
2739         * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
2740
2741 2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2742
2743         * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
2744         be used for bootstrapping GCC 3.0.
2745
2746 2002-01-18  Kazu Hirata  <kazu@hxi.com>
2747
2748         * config/h8300/h8300.md: Fix an insn length.
2749
2750 2002-01-18  Kazu Hirata  <kazu@hxi.com>
2751
2752         * bitmap.h: Fix comment formatting.
2753         * combine.c: Likewise.
2754         * cppfiles.c: Likewise.
2755         * c-pragma.h: Likewise.
2756         * c-typeck.c: Likewise.
2757         * df.c: Likewise.
2758         * dwarf2out.c: Likewise.
2759         * function.c: Likewise.
2760         * gcc.c: Likewise.
2761         * genattrtab.c: Likewise.
2762         * gthr-win32.h: Likewise.
2763         * haifa-sched.c: Likewise.
2764         * predict.c: Likewise.
2765         * rtlanal.c: Likewise.
2766         * rtl.h: Likewise.
2767         * unwind-dw2-fde.h: Likewise.
2768         * unwind-pe.h: Likewise.
2769         * vmsdbgout.c: Likewise.
2770
2771 Thu Jan 17 15:28:26 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2772
2773         * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
2774         if type_required and passed decl.
2775
2776 2002-01-17  Aldy Hernandez  <aldyh@redhat.com>
2777
2778         * config.gcc (cpu_type): Include altivec.h in powerpc
2779         extra_headers.
2780         Same for darwin.
2781
2782         * config/rs6000/altivec.h: New.
2783
2784 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2785
2786         * doc/install.texi (*-ibm-aix*): Update assembler and exception
2787         handling information.
2788         * doc/trouble.texi (Interoperation): Add libstdc++ information
2789         for AIX.
2790         (Misunderstandings): Add template instantiation and static template
2791         member information for AIX.
2792
2793 2002-01-17  Jason Merrill  <jason@redhat.com>
2794
2795         * dbxout.c (dbxout_type): Support const and volatile.
2796
2797         * except.c (add_partial_entry): Remove backwards compatibility code.
2798         (end_protect_partials): Likewise.
2799
2800 2002-01-17  Jakub Jelinek  <jakub@redhat.com>
2801
2802         * config/ia64/ia64.md (prologue_use): New.
2803         * config/ia64/ia64.c (ia64_expand_prologue): Use
2804         gen_prologue_use instead of gen_rtx_USE.
2805         (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
2806         as CODE_FOR_pred_rel_mutex.
2807         (ia64_sched_reorder2): Likewise.
2808
2809 2002-01-16  Eric Christopher  <echristo@redhat.com>
2810
2811         * config/mips/r3900.h: Reformat.
2812         (SUBTARGET_CPP_SIZE_SPEC): Remove.
2813         * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
2814         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
2815         (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
2816         * config/mips/t-elf: Remove mips3 multilib.
2817
2818 2002-01-16  H.J. Lu <hjl@gnu.org>
2819
2820         * config/mips/linux.h: Include "mips/abi64.h".
2821
2822 2002-01-16  H.J. Lu <hjl@gnu.org>
2823
2824         * config/mips/t-linux: New.
2825
2826         * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
2827
2828         * config/mips/linux.h: Don't include "gofast.h".
2829         (INIT_SUBTARGET_OPTABS): Removed.
2830
2831 2002-01-16  Kazu Hirata  <kazu@hxi.com>
2832
2833         * config/h8300/h8300-protos.h: Replace emit_a_shift with
2834         output_a_shift.
2835         * config/h8300/h8300.c: Likewise.
2836         * config/h8300/h8300.md: Likewise.
2837
2838 2002-01-16  Kazu Hirata  <kazu@hxi.com>
2839
2840         * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
2841         spaces after an opcode name.
2842         (pushqi1_h8300hs): Likewise.
2843         (pushhi1_h8300hs): Likewise.
2844
2845 2002-01-16  Kazu Hirata  <kazu@hxi.com>
2846
2847         * doc/extend.texi: Replace "option" with "attribute"
2848         appropriately.
2849
2850 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
2851
2852         * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
2853         (and:DI () (const_int -8)).
2854         (split_small_symbolic_mem_operand): Split
2855         (mem (and:DI () (const_int -8)).
2856
2857 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
2858
2859         PR target/5309:
2860         * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
2861         same way as TYPE_IMUL.
2862         (ultrasparc_sched_reorder): Likewise.
2863         * config/sparc/sparc.md (type): Add comment to update
2864         ultrasparc_sched_reorder when making changes.
2865
2866 2002-01-16  Kazu Hirata  <kazu@hxi.com>
2867
2868         * doc/invoke.texi: Change the dump file name of block
2869         reordering pass from 28.bbro to 29.bbro.
2870         Mention -dk option.
2871
2872 Wed Jan 16 17:54:22 CET 2002  Jan Hubicka  <jh@suse.cz>
2873
2874         * i386.md (minsf splitter): Fix pasto.
2875
2876 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
2877
2878         * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
2879         to frame pointer initialisation instruction.
2880         (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
2881         initialisation instruction.
2882         (soft_df_operand): Do not accept the IP register.
2883         (nonimmediate_soft_df_operand): Do not accept the IP register.
2884
2885 2002-01-16  Jakub Jelinek  <jakub@redhat.com>
2886
2887         PR target/5357:
2888         * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
2889         MASK_V8 being both set.
2890
2891 2002-01-16  Ulrich Weigand  <uweigand@de.ibm.com>
2892
2893         * config/s390/s390.c (s390_emit_prologue): Do not emit USE
2894         insn for GOT register; add REG_MAYBE_DEAD notes instead.
2895         config/s390/s390.md (call, call_value): Add GOT register to
2896         CALL_INSN_FUNCTION_USAGE where needed.
2897         (call_exp, call_value_exp): New.
2898
2899 2002-01-16  Nick Clifton  <nickc@cambridge.redhat.com>
2900
2901         * config/arm/arm.c: General formatting tidy up.
2902
2903 2002-01-16  Graham Stott  <grahams@redhat.com>
2904
2905         * calls.c (try_to_integrate): Use "(size_t)" intermediate
2906         cast and when casting an integer literal to "rtx" pointer.
2907         (expand_call): Likewise.
2908         * flow.c (try_pre_increment): Likewise.
2909         (find_use_as_address): Likewise.
2910         * integrate.c (expand_iline_function): Likewise.
2911         * regmove.c (try_auto_increment): Likewise.
2912
2913 2002-01-16  Graham Stott  <grahams@redhat.com>
2914
2915         * sched-rgn.c (passed): Use sbitmap_free.
2916         (header): Likewise.
2917         (inner): Likewise.
2918         (in_queue): Likewise.
2919         (in_stack): Likewise.
2920
2921 2002-01-15  Eric Christopher  <echristo@redhat.com>
2922
2923         * flow.c (propagate_one_insn): Change to use fatal_insn.
2924
2925 2002-01-15  Kazu Hirata  <kazu@hxi.com>
2926
2927         * expmed.c (extract_fixed_bit_field): Remove unused code.
2928         * system.h: Poison SLOW_ZERO_EXTEND.
2929         * doc/tm.texi: Remove.
2930         * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
2931         * config/arm/arm.h: Likewise.
2932         * config/avr/avr.h: Likewise.
2933         * config/clipper/clipper.h: Likewise.
2934         * config/convex/convex.h: Likewise.
2935         * config/d30v/d30v.h: Likewise.
2936         * config/dsp16xx/dsp16xx.h: Likewise.
2937         * config/elxsi/elxsi.h: Likewise.
2938         * config/fr30/fr30.h: Likewise.
2939         * config/h8300/h8300.h: Likewise.
2940         * config/i370/i370.h: Likewise.
2941         * config/i386/i386.h: Likewise.
2942         * config/m68k/m68k.h: Likewise.
2943         * config/mips/mips.h: Likewise.
2944         * config/ns32k/ns32k.h: Likewise.
2945         * config/pdp11/pdp11.h: Likewise.
2946         * config/pj/pj.h: Likewise.
2947         * config/s390/s390.h: Likewise.
2948         * config/sh/sh.h: Likewise.
2949         * config/stormy16/stormy16.h: Likewise.
2950         * config/v850/v850.h: Likewise.
2951         * config/vax/vax.h: Likewise.
2952         * config/we32k/we32k.h: Likewise.
2953
2954 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
2955
2956         * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
2957         (altivec_lvsl): Change constraint to b.
2958         (altivec_lvsr): Same.
2959         (altivec_lvebx): Same.
2960         (altivec_lvehx): Same.
2961         (altivec_lvewx): Same.
2962         (altivec_lvxl): Same.
2963         (altivec_lvx): Same.
2964         (altivec_stvx): Add parallel.
2965         (altivec_stvxl): Same.
2966         (altivec_stvehx): Same.
2967         (altivec_stvebx): Same.
2968         (altivec_stvebx): Same.
2969
2970 2002-01-15  Aldy Hernandez  <aldyh@redhat.com>
2971
2972         * config.gcc: Change altivec.h to altivec-defs.h.
2973
2974         * config/rs6000/altivec.h: Delete.
2975
2976         * config/rs6000/altivec-defs.h: Add.
2977
2978 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2979
2980         * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
2981         and UMOD modes.
2982
2983         * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
2984         less than or equal to eight bytes.
2985
2986         * vax.md (andsi3): Remove constraints and change SET destination
2987         operand type to nonimmediate_operand.
2988         (andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
2989         when it is a CONST_INT.
2990
2991 2002-01-15  Jason Merrill  <jason@redhat.com>
2992
2993         * c-common.def (FILE_STMT): New code.
2994         * c-common.c (statement_code_p): It's a statement.
2995         * c-common.h (stmt_tree_s): Add x_last_filename.
2996         (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
2997         (last_expr_filename): New macro.
2998         * c-semantics.c (begin_stmt_tree): Initialize it.
2999         (add_stmt): If the filename changed, also insert a
3000         FILE_STMT.
3001         (expand_stmt): Handle seeing one.
3002
3003 2002-01-15  Eric Christopher  <echristo@redhat.com>
3004
3005         * flow.c (propagate_one_insn): Add error message and print out
3006         insn for debugging.
3007
3008 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
3009
3010         * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
3011         ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
3012         * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
3013         TRAMPOLINE_ALIGNMENT.
3014         * config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
3015         to be in bits.
3016         * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
3017         PCC_BITFIELD_TYPE_MATTERS.
3018         * config/interix.h (STDC_VALUE): Remove.  Use
3019         STDC_0_IN_SYSTEM_HEADERS.
3020         * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
3021         (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
3022         ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
3023
3024 2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3025
3026         * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
3027         not work on this platform currently.
3028
3029 2002-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>
3030
3031         * c-typeck.c (build_unary_op): Don't wrap msgid argument of
3032         readonly_warning in _().
3033
3034 2002-01-15  Douglas B Rupp  <rupp@gnat.com>
3035
3036         * gcc.c (delete_if_ordinary): Backout previous change.
3037
3038 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3039
3040         * config/h8300/h8300.c (print_operand): Remove support for
3041         unused operand characters.
3042
3043         * read-rtl.c: Fix formatting.
3044         * real.c: Likewise.
3045         * recog.c: Likewise.
3046         * regclass.c: Likewise.
3047         * regmove.c: Likewise.
3048         * reg-stack.c: Likewise.
3049         * reload1.c: Likewise.
3050         * rtlanal.c: Likewise.
3051
3052 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3053
3054         * config/i386/i386.c: Fix formatting.
3055
3056 2002-01-15  Jakub Jelinek  <jakub@redhat.com>
3057
3058         * c-typeck.c (process_init_element): Don't save_expr
3059         COMPOUND_LITERAL_EXPR if just its initializer will be used.
3060
3061 2002-01-15  David Edelsohn  <edelsohn@gnu.org>
3062
3063         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
3064         emit optional traceback table if optimize_size or TARGET_ELF.
3065         * config/rs6000/rs6000.md (prefetch): New.
3066
3067 2002-01-15  Andreas Jaeger  <aj@suse.de>
3068
3069         * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
3070
3071 2002-01-15  Kazu Hirata  <kazu@hxi.com>
3072
3073         * mips-tfile.c: Fix formatting.
3074
3075 Tue Jan 15 00:56:11 CET 2002  Jan Hubicka  <jh@suse.cz>
3076
3077         * unroll.c (final_reg_note_copy): Fix previous commit.
3078
3079 2002-01-14  Kazu Hirata  <kazu@hxi.com>
3080
3081         * config/h8300/h8300-protos.h: Remove the prototype for
3082         eq_operator.
3083         * config/h8300/h8300.c (eq_operator): Remove.
3084
3085 2002-01-14  Richard Henderson  <rth@redhat.com>
3086
3087         * config/i386/i386.md (prefetch): Tidy.
3088         (prefetch_3dnow): Fix locality operand.
3089
3090 2002-01-14  Richard Henderson  <rth@redhat.com>
3091
3092         * config/mips/mips.h (HI_AND_FP_REGS): New register class.
3093         (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
3094
3095 2002-01-14  Hans-Peter Nilsson  <hp@bitrange.com>
3096
3097         * reload1.c (reload_combine): Pass reg_sum replacement through
3098         copy_rtx in loop performing multiple changes.
3099
3100 2002-01-14  Jakub Jelinek  <jakub@redhat.com>
3101
3102         * except.c (remove_unreachable_regions): New.
3103         (free_eh_status): Clear exception_handler_labels.
3104         (convert_from_eh_region_ranges): Call remove_unreachable_regions.
3105         (find_exception_handler_labels): Don't add the same label more than
3106         once.
3107         (remove_exception_handler_label): Don't die if
3108         find_exception_handler_labels hasn't been called for the current
3109         function yet.
3110
3111 Mon Jan 14 21:26:13 CET 2002  Jan Hubicka  <jh@suse.cz>
3112
3113         * toplev.c (rest_of_compilation): Rebuild jump labels after
3114         gcse.
3115
3116 2002-01-14  Joseph S. Myers  <jsm28@cam.ac.uk>
3117
3118         * doc/extend.texi: Move documentation of X86 built-in functions
3119         here.
3120         * doc/invoke.texi: From here.
3121         * doc/sourcebuild.texi: Document location of documentation for
3122         machine built-in functions.
3123
3124 2002-01-13  Christopher Faylor  <cgf@redhat.com>
3125
3126         * cppfiles.c (TEST_THRESHOLD): New macro.
3127         (SHOULD_MMAP): Ditto.
3128         (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
3129         be used.
3130
3131 Mon Jan 14 20:23:34 CET 2002  Jan Hubicka  <jh@suse.cz>
3132
3133         * unroll.c (final_reg_note_copy): Properly handle
3134         REG_LABEL
3135         (unroll_loops): Fix LOOP_CONDITION heuristics.
3136
3137 2002-01-14  Geoffrey Keating  <geoffk@redhat.com>
3138
3139         * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
3140         * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
3141
3142 Mon Jan 14 20:18:19 CET 2002  Jan Hubicka  <jh@suse.cz>
3143
3144         * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
3145         threaded loop.
3146
3147 2002-01-14  Tom Rix  <trix@redhat.com>
3148
3149         * config/rs6000/rs6000.md: Fix typo with sradi.
3150
3151 2002-01-14  Ulrich Weigand  <uweigand@de.ibm.com>
3152
3153         * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
3154         movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
3155         (clrstrdi, clrstrsi): Adapt callers.
3156
3157         (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
3158
3159         (movti splitter): Never use register 0 as base register.
3160
3161 2002-01-14  Hartmut Penner  <hpenner@de.ibm.com>
3162
3163         * combine.c (simplify_shift_const): Always generate new rtx
3164         for shift expression instead of reusing given expression.
3165
3166 Mon Jan 14 07:08:55 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3167
3168         * config/alpha/alpha.c (alpha_expand_mov): Don't call
3169         alpha_legitimize_address unless mode is Pmode.
3170
3171 2002-01-13  Geoffrey Keating  <geoffk@redhat.com>
3172
3173         * doc/md.texi (Modifiers): Document the '*' constraint for the
3174         user.
3175
3176         * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
3177         * doc/extend.texi (Function Attributes): 'interrupt' is valid
3178         for xstormy16 too.
3179
3180 2002-01-13  Richard Henderson  <rth@redhat.com>
3181
3182         * reload.c (find_reloads): Use a hard reg destination as reload reg
3183         for an input reload of the source.
3184
3185 2002-01-13  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3186
3187         * doc/install.texi (Binaries): Make link to ftp.writtenword.com
3188         more generic.
3189
3190 Sun Jan 13 07:23:01 2002  Douglas B Rupp  <rupp@gnat.com>
3191
3192         * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3193         * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
3194
3195         * config/alpha/x-vms (USE_COLLECT2): Set to empty.
3196
3197 Sun Jan 13 06:55:31 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3198
3199         * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
3200
3201 2002-01-12  Tom Rix  <trix@redhat.com>
3202
3203         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
3204         TARGET_POWERPC64.
3205
3206 2002-01-12  Richard Henderson  <rth@redhat.com>
3207
3208         * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
3209
3210         * doc/invoke.texi: Update Alpha options.
3211
3212         * doc/invoke.texi: Update i386 built-in function lists.
3213
3214 Sat Jan 12 17:38:11 CET 2002  Jan Hubicka  <jh@suse.cz>
3215
3216         * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
3217         referencing outside.
3218
3219 Sat Jan 12 08:54:51 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3220
3221         * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
3222         * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
3223         offsets, and change line folding.
3224         * optabs.c (expand_binop): Remove warnings.
3225         * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
3226
3227 2002-01-12  Graham Stott <grahams@redhat.com>
3228
3229         * attribs.c (handle_deprecated_attribute): constify WHAT.
3230         * diagnostic.c (warn_deprecated_use): Add braces, fixes
3231         dangling else warning and constify WHAT.
3232         * except.h (struct function, struct inline_remap): Move
3233         struct tag forward defs before all prototypes.
3234         (duplicate_eh_regions): Whitespace.
3235
3236 2002-01-12  Nick Clifton  <nickc@cambridge.redhat.com>
3237
3238         * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
3239         MODE_BASE_REG_CLASS.
3240         (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
3241
3242 2002-01-12  Richard Henderson  <rth@redhat.com>
3243
3244         * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
3245         (ix86_expand_vector_move): New.
3246         (bdesc_2arg): Remove andps, andnps, orps, xorps.
3247         (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
3248         Remove old prefetch builtins.  Special case the logicals removed above.
3249         (ix86_expand_builtin): Likewise.
3250         (safe_vector_operand): Use V4SFmode, not TImode.
3251         (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
3252         (ix86_expand_timode_binop_builtin): New.
3253         * config/i386/i386-protos.h: Update.
3254         * config/i386/i386.h (enum ix86_builtins): Update.
3255         * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
3256         Use ix86_expand_vector_move in vector move expanders.
3257         (movti_internal, movti_rex64): Add xorps alternative.
3258         (sse_clrv4sf): Rename and adjust from sse_clrti.
3259         (prefetch): Don't work so hard.
3260         (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
3261         * config/i386/xmmintrin.h (__m128): Use V4SFmode.
3262         (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
3263
3264 2002-01-11  Richard Henderson  <rth@redhat.com>
3265
3266         * config/i386/mmintrin.h: New file.
3267         * config/i386/xmmintrin.h: New file.
3268         * config.gcc (i?86-*-*): Add extra_headers.
3269         * simplify-rtx.c (simplify_unary_operation): Handle saturating
3270         truncation codes.
3271         (simplify_binary_operation): Handle saturating arithmetic codes.
3272         * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
3273         not the lowpart subreg.
3274         (ix86_expand_builtin): Return a TImode dummy register instead of 0
3275         on error.
3276         * config/i386/i386.md (mmx_clrdi): Override memory attribute.
3277
3278 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3279
3280         * conflict.c (conflict_graph_compute): Free regsets when finished.
3281         * ssa.c (compute_coalesced_reg_partition): Likewise.
3282
3283 2002-01-12  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3284
3285         * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
3286         every where we allocate a register.
3287
3288 2002-01-12  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3289
3290         * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
3291         * lcm.c (compute_earliest, compute_farthest): Likewise.
3292
3293 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
3294
3295         * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
3296
3297 2002-01-11  Janis Johnson  <janis187@us.ibm.com>
3298
3299         * doc/rtl.texi (Insns): Fix 2 typos.
3300
3301 2002-01-11  Joseph S. Myers  <jsm28@cam.ac.uk>
3302
3303         * doc/invoke.texi: Avoid overfull hboxes.  Add summary of D30V
3304         options.  Use @table @gcctabopt for MMIX options.  Add index
3305         entries for MMIX options.  Start new paragraph with first
3306         heading of the machine-dependent options.
3307
3308 2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>
3309
3310         PR other/5299
3311         * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
3312         * combine.c (force_to_mode): Same.
3313         * reload1.c (clear_reload_reg_in_use): Same.
3314
3315 2002-01-11  Nick Clifton  <nickc@cambridge.redhat.com>
3316
3317         * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
3318         and 'subtargets'.
3319
3320 2002-01-11  Andreas Jaeger  <aj@suse.de>,
3321             Brad Lucier <lucier@math.purdue.edu>
3322
3323         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
3324         mcpu.
3325
3326 Fri Jan 11 07:35:12 2002  Douglas B Rupp  <rupp@gnat.com>
3327
3328         * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
3329         Protect with IN_LIBGCC.
3330         (LINK_EH_SPEC): Add required trailing space.
3331
3332 Fri Jan 11 09:25:05 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3333
3334         * c-tree.h: Move function declarations so that they are listed
3335         under the filename which contains them.
3336         (check_identifier, finish_decl_top_level,
3337         lookup_name_current_level_global, shadow_record_fields): Remove.
3338
3339 2002-01-11  Andreas Jaeger  <aj@suse.de>
3340
3341         * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
3342         march.
3343
3344 2002-01-10  Richard Henderson  <rth@redhat.com>
3345
3346         * config/alpha/alpha.c (print_operand): Add 'J'.
3347         * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
3348         new operand with the sequence number for the lituse.  When splitting
3349         the insns, use gen_movdi_er_high_g and generate a sequence number.
3350         (gen_movdi_er_high_g): Print the sequence number if non-zero.
3351
3352 2002-01-10  Aldy Hernandez  <aldyh@redhat.com>
3353
3354         * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
3355         lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
3356         stvxl.
3357         (altivec_expand_builtin): Same.
3358         (altivec_expand_stv_builtin): New.
3359
3360         * config/rs6000/rs6000.h (rs6000_builtins): Same.
3361
3362         * config/rs6000/rs6000.md ("altivec_lvebx"): New.
3363         ("altivec_lvehx"): New.
3364         ("altivec_lvewx"): New.
3365         ("altivec_lvxl"): New.
3366         ("altivec_lvx"): New.
3367         ("altivec_stvx"): New.
3368         ("altivec_stvebx"): New.
3369         ("altivec_stvehx"): New.
3370         ("altivec_stvewx"): New.
3371         ("altivec_stvxl"): New.
3372
3373 2002-01-10  Richard Henderson  <rth@redhat.com>
3374
3375         * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
3376         * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
3377         care not to delete instructions twice.
3378
3379 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
3380
3381         * toplev.c: Don't declare environ (it's not used anywhere).
3382         * configure.in: Don't check for declaration of environ.
3383         * config/i386/xm-mingw32.h: Don't #define environ.
3384         * config.in, configure: Regenerate.
3385
3386 2002-01-10  Zack Weinberg  <zack@codesourcery.com>
3387
3388         * configure.in: Set stage1_cflags for powerpc-*-darwin*.
3389         * configure: Regenerate.
3390
3391         * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
3392         DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
3393         * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
3394         alpha/xm-vms.h.
3395         * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
3396         LIMITS_H_TEST here, not in m68k/x-next.
3397         * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
3398         SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
3399
3400         * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
3401         LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
3402         * config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.
3403
3404         * config/i386/x-djgpp: Renamed i386/t-djgpp.
3405         * config/m88k/x-dolph: Renamed m88k/t-dolph.
3406         * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
3407         * config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
3408         replacement of quadlib.asm with quadlib.c.
3409
3410         * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
3411         config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
3412         config/rs6000/xm-beos.h: Delete file.
3413
3414         * config.gcc: Update to match above changes.
3415
3416 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3417
3418         * config/h8300/h8300.h: Fix comment typos.
3419         * config/h8300/h8300.md: Likewise.
3420         * config/h8300/lib1funcs.asm: Likewise.
3421
3422 2002-01-10  Dale Johannesen  <dalej@apple.com>
3423
3424         PR optimization/5269
3425         * unroll.c (precondition_loop_p): Make *increment be the correct
3426         sign when n_iterations known, to avoid confusing caller.
3427
3428 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3429
3430         * doc/extend.texi (deprecated): Fix a typo.
3431
3432 Thu Jan 10 22:35:54 CET 2002  Jan Hubicka  <jh@suse.cz>
3433
3434         * basic-block.h (update_br_prob_note): Declare.
3435         * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
3436         (try_forward_edges): Care negative frequencies and update note.
3437         (outgoing_edges_match): Tweek conditional merging heuristics.
3438         (try_crossjump_to_edge): use update_br_prob_note.
3439         * cfglayout.c (fixup_reorder_chain): Likewise.
3440         * cfrtl.c (update_br_prob_note): New.
3441         * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
3442
3443         * i386.c (ix86_decompose_address): Return -1 if address contains
3444         shift.
3445         (legitimate_address_p): Require ix86_decompose_address to return 1.
3446
3447         * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
3448         (cprop_insn): Likewise.
3449
3450 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3451
3452         * toplev.c: Fix formatting.
3453         * tree.c: Likewise.
3454         * tree-dump.c: Likewise.
3455         * unroll.c: Likewise.
3456         * unwind-dw2.c: Likewise.
3457         * unwind-dw2-fde.c: Likewise.
3458         * unwind-dw2-fde-glibc.c: Likewise.
3459         * unwind-sjlj.c: Likewise.
3460
3461 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3462
3463         * doc/invoke.texi: Document PDP-11 options.
3464
3465 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3466
3467         * config/h8300/h8300.h: Fix formatting.
3468
3469 2002-01-10  Ira Ruben   <ira@apple.com>
3470
3471         Add __attribute__ ((deprecated)).
3472         * extend.texi: Document __attribute__ ((deprecated)).
3473         * invoke.texi: Document -Wno-deprecated-declarations.
3474         * testsuite/g++.dg/other/deprecated.C: New C++ test.
3475         * testsuite/gcc.dg/deprecated.c: New C test.
3476         * attribs.c (enum attrs): Declare handle_deprecated_attribute().
3477         (c_common_attribute_table): Add "deprecated" entry.
3478         (handle_deprecated_attribute): New function.
3479         * c-decl.c (deprecated_states): New enum.
3480         deprecated_state: State of "deprecated" handling.
3481         (start_decl): Set deprecated_state based on attributes.
3482         (grokdeclarator): Test for deprecated uses, propagate attribute.
3483         * c-typeck.c (build_component_ref): Test for deprecated fields.
3484         (build_external_ref): Test for deprecated primaries.
3485         * diagnostic.c (warn_deprecated_use) New function to issue
3486         warnings about __attribute__ ((depricated)) references.
3487         * flags.h (warn_deprecated_decl): Extern declared for
3488         -W[no-]deprecated-declarations option.
3489         * print-tree.c (print_node): Show deprecated flag status.
3490         * toplev.c (warn_deprecated_decl): Defined.
3491         (W_options): Added "deprecated-declaration".
3492         * toplev.h (warn_deprecated_use): Extern declared.
3493         * tree.h (struct tree_common): Define deprecated_flag.
3494         (TREE_DEPRECATED): New macro to access flag.
3495         * cp/call.c (build_call): Test for deprecated calls.
3496         * cp/class.c (add_implicitly_declared_members): Set global
3497         flag to tell grokdeclarator to not issue deprecated warnings.
3498         * cp/cp-tree.h: Add extern for adding_implicit_members.
3499         * cp/decl.c (deprecated_states): New enum.
3500         (start_decl): Set deprecated_state based on attributes.
3501         (grokdeclarator): Test for deprecated uses, propagate attribute.
3502         * cp/lex.c (do_identifier): Test for deprecated primaries.
3503         * cp/typeck.c (build_component_ref): Test for deprecated fields.
3504
3505 2002-01-10  Ira Ruben   <ira@apple.com>
3506
3507         Fix to assign attributes to inline member functions.
3508         * cp/decl.c (start_method): Handle attrlist.
3509
3510 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3511
3512         * combine.c (expand_field_assignment): Use subreg_lsb().
3513
3514 2002-01-10  David Edelsohn  <edelsohn@gnu.org>
3515
3516         * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
3517         POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
3518         (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
3519         Recurse for any operand of AND as long as constant is non-zero.
3520
3521 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3522
3523         * config/h8300/h8300.md: Remove constraints from expanders.
3524
3525 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3526
3527         * varasm.c: Fix formatting.
3528         * varray.c: Likewise.
3529         * vmsdbgout.c: Likewise.
3530         * xcoffout.c: Likewise.
3531
3532 Thu Jan 10 17:19:12 CET 2002  Jan Hubicka  <jh@suse.cz>
3533
3534         * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
3535         update edge probabilities to match.
3536
3537 2002-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3538
3539         * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
3540         dependencies.
3541         * doc/languages.texi, doc/sourcebuild.texi: New files.
3542         * doc/configfiles.texi: Make a subsubsection.  Update.
3543         * doc/configterms.texi: Add @node.  Remove warning that this isn't
3544         instructions for building GCC.
3545         * doc/makefile.texi: Make a subsection.
3546         * doc/gccint.texi: Update.
3547
3548 Thu Jan 10 16:39:58 CET 2002  Jan Hubicka  <jh@suse.cz>
3549
3550         * i386.md (sse_mov?fcc_const0_?): Fix constraints.
3551
3552 Thu Jan 10 12:45:50 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3553
3554         * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
3555
3556 Thu Jan 10 11:19:18 CET 2002  Jan Hubicka  <jh@suse.cz>
3557
3558         * optabs.c (expand_fix): Look for wider integer modes first.
3559
3560         * i386.md (mov?f): Avoid the fake const double trick for medium
3561         memory model.
3562         (min?f*/max?f*): Prohibit memory operands for i387 variant.
3563         (fop_df_4): Disable for SSE compilation.
3564
3565 2002-01-10  Graham Stott  <grahams@redhat.com>
3566
3567         * dwarf2out.c (indirect_string_alloc, output_indirect_string):
3568         Move prototype into DWARF2_DEBUGGING_INFO conditional block.
3569
3570 2002-01-10  Richard Henderson  <rth@redhat.com>
3571
3572         * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
3573
3574 2002-01-10  Richard Henderson  <rth@redhat.com>
3575
3576         * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
3577         (copyprop_hardreg_forward_1): Likewise.  Use mode_change_ok.
3578
3579 2002-01-10  Kazu Hirata  <kazu@hxi.com>
3580
3581         * combine.c (can_combine_p): Fix a comment typo.
3582
3583 2002-01-09  Zack Weinberg  <zack@codesourcery.com>
3584
3585         * Makefile.in (s-gencheck, s-options, s-specs): Handle an
3586         empty list correctly.  Change loop index $t to $f for
3587         consistency with rest of Makefile.
3588
3589 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
3590
3591         * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
3592         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
3593
3594         * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
3595         mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
3596         (altivec_init_builtins): Same.
3597         (altivec_expand_unop_builtin): Return NULL_RTX on error.
3598         (altivec_expand_binop_builtin): Same.
3599         (altivec_expand_ternop_builtin): Same.
3600         (bdesc_dst): New.
3601
3602         * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
3603         ("altivec_vctuxs"): Fix typo.
3604         ("altivec_vnmsubfp"): Same.
3605         ("altivec_dssall"): New.
3606         ("altivec_mfvscr"): New.
3607         ("altivec_dss"): New.
3608         ("altivec_lvsl"): New.
3609         ("altivec_lvsr"): New.
3610         ("altivec_dstt"): New.
3611         ("altivec_dstst"): New.
3612         ("altivec_dststt"): New.
3613         ("altivec_dst"): New.
3614
3615         * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
3616         mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
3617
3618 2002-01-09  Richard Henderson  <rth@redhat.com>
3619
3620         * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
3621
3622 2002-01-10  Hans-Peter Nilsson  <hp@bitrange.com>
3623
3624         * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
3625         function.
3626         * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
3627         prototype.
3628         * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
3629
3630 2002-01-09  Kazu Hirata  <kazu@hxi.com>
3631
3632         * read-rtl.c: Fix formatting.
3633         * real.c: Likewise.
3634         * regclass.c: Likewise.
3635         * regrename.c: Likewise.
3636         * reg-stack.c: Likewise.
3637         * reload1.c: Likewise.
3638         * reload.c: Likewise.
3639         * rtl.c: Likewise.
3640
3641 2002-01-09  Kazu Hirata  <kazu@hxi.com>
3642
3643         * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
3644         to extract items in the expr_list chain.
3645
3646 2002-01-09  Richard Henderson  <rth@redhat.com>
3647
3648         * config/vax/vax.c (vax_rtx_cost): Never abort.
3649
3650         * config/vax/vax.h (REAL_ARITHMETIC): Define.
3651
3652 2002-01-09  Jan Hubicka  <jh@suse.cz>
3653
3654         * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
3655
3656 2002-01-09  Richard Henderson  <rth@redhat.com>
3657
3658         * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
3659         Unify code from various alternatives.
3660
3661 2002-01-09  Richard Henderson  <rth@redhat.com>
3662
3663         * regrename.c (copy_value): Ignore the copy if the source register
3664         is present in the value chain with a narrower mode.
3665
3666 2002-01-09  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
3667
3668         * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
3669         for the c4x target. Also improve layout.
3670
3671 2002-01-09  Richard Henderson  <rth@redhat.com>
3672
3673         * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
3674         * config/m32r/m32r.md (and ior xor splitters): Swap operands
3675         to match insn patterns.
3676
3677 2002-01-09  Richard Henderson  <rth@redhat.com>
3678
3679         * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
3680         (copyprop_hardreg_forward_1): Likewise.
3681
3682 2002-01-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3683
3684         * pa.md (decrement_and_branch_until_zero): Change predicate for
3685         operand 0 from register_operand to reg_or_nonsymb_mem_operand.
3686
3687 2002-01-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3688
3689         * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
3690         gets undefined. For Darwin.
3691
3692 2002-01-09  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3693
3694         * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
3695
3696 2002-01-09  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3697
3698         * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
3699
3700 2002-01-08  Richard Henderson  <rth@redhat.com>
3701
3702         * regrename.c (copy_value): Ignore overlapping copies.
3703
3704 2002-01-08  Richard Henderson  <rth@redhat.com>
3705
3706         * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
3707         as needed to avoid shared structure.
3708
3709 2002-01-08  Kazu Hirata  <kazu@hxi.com>
3710
3711         * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
3712         H8/300H and H8/S.
3713
3714 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
3715
3716         * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
3717         LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
3718         documentation of obsolete macros.
3719         * system.h: Poison these macros.
3720         * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
3721         config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
3722         config/c4x/c4x.h, config/clipper/clipper.h,
3723         config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
3724         config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
3725         config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
3726         config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
3727         config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
3728         config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
3729         config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
3730         config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
3731         config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
3732         config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
3733         config/sparc/sparc.h, config/stormy16/stormy16.h,
3734         config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
3735         definitions and commented out definitions of obsolete macros.
3736         * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
3737         of MAX_INT_TYPE_SIZE.
3738
3739 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
3740
3741         * config/s390/s390.c (s390_preferred_reload_class): Never
3742         return ADDR_REGS if it isn't a subset of the given class.
3743         * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
3744         FP_REGS, but all superclasses as well.
3745
3746         * config/s390/s390.c (s390_function_profiler): Fix thinko.
3747
3748         * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
3749         cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
3750         must not be a const_int.
3751
3752 2002-01-08  Richard Henderson  <rth@redhat.com>
3753
3754         * Makefile.in (toplev.o): Depend on options.h.
3755         (gcc.o): Depend on specs.h.
3756
3757 2002-01-08  Jakub Jelinek  <jakub@redhat.com>
3758
3759         * expr.c (store_expr): Convert VOIDmode constants back to target's
3760         mode.
3761
3762 2002-01-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3763
3764         * doc/invoke.texi: Markup gcc as @command.  Refer to
3765         http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
3766         of http://gcc.gnu.org/thanks.html.
3767
3768 2002-01-08  Dale Johannesen  <dalej@apple.com>
3769
3770         * config/rs6000/rs6000.md: Add missing int register
3771         target case to movdf_low.
3772
3773 2002-01-08  Zack Weinberg  <zack@codesourcery.com>
3774
3775         * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
3776         except.h.  Remove commands to define USING_SJLJ_EXCEPTIONS.
3777         (cppinit.o): Depend on except.h.
3778         (gencheck.h, options.h, specs.h, s-gencheck, s-options,
3779         s-specs): New rules.
3780
3781         * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
3782         Don't create specs.h/options.h/gencheck.h here.  Remove
3783         unnecessary variable settings from last argument of AC_OUTPUT.
3784         * config.in, configure: Regenerate.
3785         * intl.c: Hardcode package name as "gcc".
3786
3787         * cppinit.c: Include except.h.
3788         (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
3789         appropriate.
3790         * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
3791         Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
3792         (!)USING_SJLJ_EXCEPTIONS.
3793         * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
3794
3795 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
3796
3797         * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
3798         ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
3799         OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
3800         documentation of obsolete macros.
3801         * system.h: Poison these macros.
3802         * config/d30v/d30v.h, config/ns32k/encore.h,
3803         config/stormy16/stormy16.h: Remove definitions and commented out
3804         definitions of obsolete macros.
3805
3806 Tue Jan  8 15:56:41 2002  Nicola Pero  <nicola@brainstorm.co.uk>
3807
3808         * objc/objc-act.c (handle_class_ref): Mark the declaration of
3809         %sobjc_class_ref_%s as used - to prevent unwanted compiler
3810         warnings.
3811
3812 2002-01-08  Ulrich Weigand  <uweigand@de.ibm.com>
3813
3814         * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
3815         * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
3816         to insn adjusting stack/frame pointer.
3817         * config/s390/s390.md (reload_la_64, reload_la_31): Do not
3818         accept operands that cause the insn to be non-splittable.
3819
3820 2002-01-08  Graham Stott  <grahams@redhat.com>
3821
3822         * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
3823         (C_TYPE_FIELDS_VOLATILE): Likewise.
3824         (C_TYPE_BEING_DEFINED): Likewise.
3825         (C_IS_RESERVED_WORD): Likewise.
3826         (C_TYPE_VARIABLE_SIZE): Likewise.
3827         (C_DECL_VARIABLE_SIZE): Likewise.
3828         (C_MISSING_PROTOTYPE_WARNED): Likewise.
3829         (C_SET_EXP_ORIGINAL_CODE): Likewise.
3830         (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
3831         parenthesis.
3832         (C_DECL_ANTICIPATED): Likewise.
3833         (c_build_type_variant): Add parenthesis.
3834
3835 2002-01-08  Joseph S. Myers  <jsm28@cam.ac.uk>
3836
3837         * gcc.c (option_map): Remove --version.
3838         (process_command): Handle -fversion following the GNU Coding
3839         Standards.  Partially addresses PR other/704.
3840
3841 2002-01-08  Graham Stott  <grahams@redhat.com>
3842
3843         * combine.c (combine_instructions): Fix typo.
3844
3845 2002-01-08  Graham Stott  <grahams@redhat.com>
3846
3847         * debug.h: Use "tree" and "rtx" throughout.
3848
3849         * debug.c: Likewise.
3850
3851 2002-01-08  Nick Clifton  <nickc@cambridge.redhat.com>
3852
3853         * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
3854         constant pool, use the pool's version of the symbol instead.
3855
3856 2002-01-07  Richard Henderson  <rth@redhat.com>
3857
3858         * regrename.c (find_oldest_value_reg): Ignore the value chain if
3859         the original register was copied in a mode with a fewer number of
3860         hard registers than the desired mode.
3861         (copyprop_hardreg_forward_1): Likewise.
3862         (debug_value_data): Fix loop test.
3863         * toplev.c (parse_options_and_default_flags): Reenable
3864         -fcprop-registers at -O1.
3865
3866 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
3867
3868         * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
3869         (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
3870
3871         * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
3872         predicates.
3873
3874         * config/rs6000/rs6000.md: Add altivec predicate patterns.
3875
3876 2002-01-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3877
3878         * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
3879         (pa_output_function_prologue): Output local label at the beginning of
3880         the prologue when profiling.
3881         (hppa_profile_hook): Use the local label rather than the function label.
3882         * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
3883
3884 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
3885
3886         * config/rs6000/rs6000.c (print_operand): Remove extra space.
3887         (altivec_expand_unop_builtin): Fix thinko.
3888         (altivec_expand_binop_builtin): Same.
3889         (altivec_expand_ternop_builtin): Same.
3890         (altivec_expand_builtin): Same.
3891
3892 2002-01-07  Richard Henderson  <rth@redhat.com>
3893
3894         * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
3895
3896 2002-01-07  Jason Merrill  <jason@redhat.com>
3897
3898         * unwind-dw2.c (execute_cfa_program): Use < again.
3899
3900 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
3901
3902         * predict.c (combine_predictions_for_insn): Avoid division by zero.
3903
3904 2002-01-07  Jakub Jelinek  <jakub@redhat.com>
3905
3906         * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
3907         Don't allow -1 - x -> ~x simplifications in the first pass.
3908
3909 2002-01-07  Aldy Hernandez  <aldyh@redhat.com>
3910
3911         * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
3912         arguments.
3913         (altivec_expand_binop_builtin): Same.
3914         (altivec_expand_unop_builtin): Same.
3915         (print_operand): Fix typo.
3916         (bdesc_1arg): Add vupk* variants.
3917
3918         * rs6000.h (rs6000_builtins): Add vupk* enums.
3919
3920         * rs6000.md: Add altivec_vupk* variants.
3921
3922 2002-01-07  Joseph S. Myers  <jsm28@cam.ac.uk>
3923
3924         * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
3925         doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
3926         and last update dates.
3927
3928 2002-01-07  Janis Johnson  <janis187@us.ibm.com>
3929
3930         * doc/rtl.texi (Flags): Clean up documentation of RTL flags
3931
3932 2002-01-07  Marek Michalkiewicz  <marekm@amelek.gda.pl>
3933
3934         * config/avr/avr.c (avr_mcu_types): Add new MCU types.
3935         * config/avr/avr.h (CPP_SPEC): Likewise.
3936         (LINK_SPEC): Likewise.
3937         (CRT_BINUTILS_SPECS): Likewise.
3938         * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
3939         * doc/invoke.texi (AVR Options): Document them.
3940
3941 Mon Jan  7 11:59:34 CET 2002  Jan Hubicka  <jh@suse.cz>
3942
3943         * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
3944         LABEL_NUSES.
3945
3946 2002-01-07  Graham Stott  <grahams@redhat.com>
3947
3948         * config/i386/i386.h: Update copyright date.
3949         (HALF_PIC_PTR): Add parenthesis.
3950         (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
3951         (CONSTANT_ALIGNMENT): Add parenthesis.
3952         (DATA_ALIGNMENT): Likewise.
3953         (LOCAL_ALIGNMENT): Likewise.
3954         (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
3955         (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
3956         (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
3957         (HARD_REGNO_NREGS): Add paranethesis.
3958         (VALID_SSE_REG_MODE): Whitespace.
3959         (VALID_MMX_REG_MODE): Whitespace.
3960         (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
3961         (ix86_hard_regno_mode_ok): Add parenthesis.
3962         (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
3963         (RETURN_IN_MEMORY): Whitespace.
3964         (N_REG_CLASSES): Add parenthesis.
3965         (INTEGER_CLASS_P): Add parenthesis and wrap.
3966         (FLOAT_CLASS_P): Likewise.
3967         (SSE_CLASS_P): Likewise.
3968         (MMX_CLASS_P): Likewise.
3969         (MAYBE_INTEGER_CLASS_P): Likewise.
3970         (MAYBE_FLOAT_CLASS_P): Likewise.
3971         (MAYBE_SSE_CLASS_P): Likewise.
3972         (MAYBE_MMX_CLASS_P): Likewise.
3973         (Q_CLASS_P): Likewise.
3974         (GENERAL_REGNO_P): Uppercase macro parameter.
3975         (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
3976         (FP_REGNO_P): Likewise.
3977         (ANY_FP_REGNO_P): Uppercase macro parameter.
3978         (SSE_REGNO_P): Likewise.
3979         (SSE_REGNO): Likewise.
3980         (SSE_REG_P): Likewise.
3981         (SSE_FLOAT_MODE_P): Likewise.
3982         (MMX_REGNO_P): Likewise.
3983         (MMX_REG_P):Likewise.
3984         (STACK_REG_P): Likewise.
3985         (NON_STACK_REG_P): Likewise.
3986         (STACK_TOP_P): Likewise.
3987         (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
3988         (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
3989         (SECONDARY_MEMORY_NEEDED): Likewise.
3990         (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
3991         (MD_ASM_CLOBBERS): Whitespace and wrap.
3992         (MUST_PASS_IN_STACK): Whitespace and wrap.
3993         (RETURN_POPS_ARGS): Add parenthesis.
3994         (INIT_CUMULATIVE_ARGS): Likewise.
3995         (FUNCTION_ARG): Likewise.
3996         (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
3997         (SETUP_INCOMING_VARARGS): Likewise.
3998         (BUILD_VA_LIST_TYPE):  Add parenthesis.
3999         (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
4000         parenthsis.
4001         (EXPAND_BUILTIN_VA_ARG): Likewise.
4002         (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
4003         (INITIALIZE_TRAMPOLINE): Add parenthesis.
4004         (INITIAL_ELIMINATION_OFFSET): Likewise.
4005         (REGNO_OK_FOR_INDEX_P): Add parenthesis.
4006         (REGNO_OK_FOR_BASE_P): Likewise.
4007         (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
4008         (REGNO_OK_FOR_DIREG_P): Likewise.
4009         (REG_OK_FOR_INDEX_P): Whitespace.
4010         (REG_OK_FOR_BASE_P): Whitespace.
4011         (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
4012         parenthesis.
4013         (FIND_BASE_TERM): Fix typo.
4014         (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
4015         (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
4016         (SYMBOLIC_CONST; Whitespace.
4017         (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
4018         (ENCODE_SECTION_INFO): Whitespace.
4019         (FINALIZE_PIC): Remove do { ... } while (0).
4020         (PROMOTE_MODE): Wrap in do { ... } while (0).
4021         (CONST_COSTS): Whitespace.
4022         (RTX_COSTS): Add paramethesis, whitespace and wrap.
4023         (REGISTER_MOVE_COST): Add parenthesis.
4024         (MEMORY_MOVE_COST): Likewise.
4025         (EXTRA_CC_MODES): Whitespace.
4026         (SELECT_CC_MODE): Add parenthesis and whitespace.
4027         (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
4028         (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
4029         (ASM_OUTPUT_LABEL): Add paramethesis.
4030         (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
4031         (ASM_OUTPUT_REG_POP): Likewise.
4032         (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
4033         (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
4034
4035         * config/i386/i386.c: Update copyright.
4036         (CHECK_STACK_LIMIT): Add parenthesis.
4037         (AT_BP): Uppercase macro parameter.
4038         (x86_64_int_parameter_registers): Constify.
4039         (x86_64_int_return_registers): Likewise.
4040         (ix86_compare_op0): Use rtx.
4041         (construct_container): Constify INTREG parameter.
4042         (function_arg): Use rtx.
4043
4044         * diagnostic.h: Update copyright date.
4045         (output_buffer_state): Add parenthesis.
4046         (output_buffer_format_args): Likewise.
4047
4048         * combine.c (combine_instructions): Replace XEXP (links, 0)
4049         with link.
4050
4051 2002-01-06  H.J. Lu <hjl@gnu.org>
4052
4053         * cfgcleanup.c (thread_jump): Fix 2 typos.
4054
4055 2002-01-06  Aldy Hernandez  <aldyh@redhat.com>
4056
4057         * config.gcc: Add support for --enable-altivec.
4058
4059 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4060
4061         * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
4062
4063 2002-01-06  Jakub Jelinek  <jakub@redhat.com>
4064
4065         * objc/objc-act.c (handle_impent): Use assemble_variable to emit
4066         __objc_class_name_*.
4067
4068 2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4069
4070         * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
4071
4072 2002-01-06  Richard Henderson  <rth@redhat.com>
4073
4074         * reorg.c (emit_delay_sequence): Remove death notes, not merely
4075         nop them out.  Increment label reference count for REG_LABEL.
4076         (fill_slots_from_thread): Frob label reference count around
4077         delete_related_insns.
4078
4079 2002-01-05  Richard Henderson  <rth@redhat.com>
4080
4081         * cfgcleanup.c (try_forward_edges): Detect infinite loops while
4082         jump threading.
4083
4084 2002-01-05  Richard Henderson  <rth@redhat.com>
4085
4086         * c-decl.c (c_expand_body): Don't call outlining_inline_function.
4087         * integrate.c (output_inline_function): Likewise.
4088         * toplev.c (rest_of_compilation): Do it here instead.  Move call
4089         to remove_unnecessary_notes after emitting abstract instance.
4090         Force an emitted nested function to have its parent emited as well.
4091         * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
4092         for null.
4093         (rtl_for_decl_location): Do not look at reload data structures
4094         before reload has run.
4095
4096 2002-01-05  Kazu Hirata  <kazu@hxi.com>
4097
4098         * cse.c: Fix formatting.
4099         * dwarf2asm.c: Likewise.
4100         * dwarf2out.c: Likewise.
4101         * explow.c: Likewise.
4102         * expmed.c: Likewise.
4103         * function.c: Likewise.
4104         * gcov.c: Likewise.
4105         * gencheck.c: Likewise.
4106         * genrecog.c: Likewise.
4107         * ggc-common.c: Likewise.
4108         * ggc-page.c: Likewise.
4109         * global.c: Likewise.
4110
4111 2002-01-05  Kazu Hirata  <kazu@hxi.com>
4112
4113         * combine.c: Fix formatting.
4114
4115 2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>
4116
4117         PR middle-end/1557
4118         * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
4119
4120 2002-01-05  David Edelsohn  <edelsohn@gnu.org>
4121
4122         * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
4123         as 1 for __powerpc64__ as well.
4124
4125         * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
4126
4127         * alias.c (find_base_value, PLUS/MINUS): If we found a base,
4128         return it.
4129
4130 2002-01-05  Daniel Berlin  <dan@dberlin.org>
4131
4132         * lcm.c: Revert change, due to performance regression it causes on
4133         SPEC because it's slightly more conservative (sigh, I hate
4134         edge-based LCM).
4135
4136 Sat Jan  5 11:52:05 CET 2002  Jan Hubicka  <jh@suse.cz>
4137
4138         * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
4139
4140 2002-01-05  Neil Booth  <neil@daikokuya.demon.co.uk>
4141
4142         * doc/cppinternals.texi: Update.
4143
4144 2002-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
4145
4146         * doc/invoke.texi (Option Summary) <MMIX Options>: Document
4147         -mbranch-predict, -mreg-stack-fill-bug-workaround and their
4148         negatives.
4149         (MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
4150         * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
4151         kludge for pre-october-14th mmix versions to handle new-found bug
4152         with PUSHJ/PUSHGO and the register stack.
4153         * config/mmix/mmix.h (struct machine_function): Rename member
4154         has_call_value_without_parameters to has_call_without_parameters.
4155         All referers changed.
4156         (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
4157         TARGET_MASK_BRANCH_PREDICT): New macros.
4158         (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
4159         -mno-reg-stack-fill-bug-workaround.
4160         * config/mmix/mmix.md ("call"): Set struct machine member
4161         has_call_without_parameters.
4162
4163 Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
4164
4165         * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
4166
4167 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
4168
4169         * cfgcleanup.c: Include tm_p.h
4170         (mark_effect): Fix handling of hard register; fix handling of SET
4171
4172 2002-01-04  Kazu Hirata  <kazu@hxi.com>
4173
4174         * config/h8300/h8300.md (anonymous patterns): Check that
4175         operands are registers before using REGNO on them.
4176
4177 2002-01-03  Roland McGrath  <roland@frob.com>
4178
4179         * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
4180
4181 2002-01-04  Jakub Jelinek  <jakub@redhat.com>
4182
4183         * tree.h (expand_expr_stmt_value): Add maybe_last argument.
4184         * c-common.h (genrtl_expr_stmt_value): Likewise.
4185         * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
4186         (expand_expr_stmt_value): Add maybe_last argument.
4187         Don't warn about statement with no effect if it is the last statement
4188         in expression statement.
4189         * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
4190         (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
4191         expand_expr_stmt_value.
4192         (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
4193         genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
4194         * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
4195         as maybe_last to expand_expr_stmt_value.
4196
4197 Fri Jan  4 11:45:05 2002  Jeffrey A Law  (law@redhat.com)
4198
4199         * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
4200         be passed in, do not build it.
4201         (c_begin_if_stmt): New function.
4202         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4203         * c-common.h (c_expand_start_cond): Update prototype.
4204         (c_begin_if_stmt): Prototype new function.
4205         (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
4206         * c-parse.in (if_prefix): Use c_begin_if_stmt,
4207         c_begin_while_stmt and c_finish_while_stmt_cond.
4208
4209 2002-01-04  William Cohen  <wcohen@redhat.com>
4210
4211         * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
4212         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4213         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4214         * config/pa/som.h (ASM_FILE_START): Likewise.
4215
4216 2002-01-04  Daniel Berlin  <dan@cgsoftware.com>
4217
4218         * lcm.c: Include df.h.
4219         Add available_transfer_function prototype.
4220         (compute_available): Rework to use iterative dataflow framework.
4221         (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
4222         with bb_info in df.h
4223         (available_transfer_function): New function.
4224
4225         * Makefile.in (lcm.o): add df.h to dependencies.
4226
4227 2002-01-04  Richard Henderson  <rth@redhat.com>
4228
4229         * config/alpha/alpha.c (some_operand): Accept HIGH.
4230         (input_operand): Likewise; accept simple references to globals.
4231         (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
4232         (alpha_const_double_ok_for_letter_p): Likewise.
4233         (alpha_extra_constraint): Likewise.
4234         (alpha_preferred_reload_class): Likewise.  Do not force
4235         symbolic constants to memory.
4236         (alpha_legitimate_address_p): Accept simple references
4237         to small_symbolic_operand.
4238         (alpha_legitimize_address): New arg scratch.  Be prepared to be
4239         called when no_new_pseudos.  Emit simple symbolic references.
4240         Split integers into low, high, and rest.
4241         (alpha_expand_mov): Use alpha_legitimize_address.
4242         (some_small_symbolic_mem_operand): New.
4243         (split_small_symbolic_mem_operand): New.
4244         * config/alpha/alpha-protos.h: Update.
4245         * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
4246         (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
4247         (EXTRA_CONSTRAINT): Likewise.
4248         (PREFERRED_RELOAD_CLASS): Likewise.
4249         (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
4250         (PREDICATE_CODES): Update.
4251         * config/alpha/alpha.md: New post-reload splitters to convert
4252         simplfied symbolic operands to the form that references $29.
4253         (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
4254         (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
4255
4256 2002-01-03  Richard Henderson  <rth@redhat.com>
4257
4258         * local-alloc.c (function_invariant_p): Update commentary.
4259
4260 2002-01-04  H.J. Lu <hjl@gnu.org>
4261
4262         * toplev.c (rest_of_compilation): Fix a typo when calling
4263         cleanup_cfg.
4264
4265 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4266
4267         * c-common.c: Fix formatting.
4268         * diagnostic.c: Likewise.
4269         * doloop.c: Likewise.
4270         * dwarf2out.c: Likewise.
4271
4272 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4273
4274         * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
4275         of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
4276
4277 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4278
4279         * cpperror.c: Update comments and copyright.
4280         * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
4281         cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
4282
4283 2002-01-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4284
4285         * collect2.c (main): Use strcmp when testing for "-shared".
4286
4287 2002-01-03  Neil Booth  <neil@daikokuya.demon.co.uk>
4288
4289         * cppmacro.c: Don't include intl.h.  Update comments.
4290         (new_number_token): Allocate enough buffer for 64-bit unsigned
4291         integers; update prototype.
4292         * cppmain.c: Update comments.
4293
4294 2002-01-03  William Cohen  <wcohen@redhat.com>
4295
4296         * function.h (struct function): Add profile.
4297         (current_function_profile): New.
4298         doc/extend.texi: Update documentation.
4299         * final.c (final_start_function): Use current_function_profile
4300         instead of profile_flag.
4301         (profile_after_prologue): Likewise.
4302         * function.c (expand_function_start): Likewise.
4303         (expand_function_start): Likewise.
4304         * config/alpha/alpha.c (direct_call_operand):
4305         (alpha_does_function_need_gp): Likewise.
4306         (alpha_expand_prologue): Likewise.
4307         * config/arm/arm.c (arm_expand_prologue): Likewise.
4308         thumb_expand_prologue: Likewise.
4309         * config/d30v/d30v.c (d30v_stack_info): Likewise.
4310         * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
4311         (fr30_expand_prologue): Likewise.
4312         * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
4313         * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
4314         * config/i386/i386.h (FINALIZE_PIC): Likewise.
4315         * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
4316         * config/i960/i960.c (i960_output_function_prologue): Likewise.
4317         * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
4318         * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
4319         (m32r_expand_prologue): Likewise.
4320         * config/m88k/m88k.c (m88k_layout_frame): Likewise.
4321         (m88k_expand_prologue): Likewise.
4322         * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
4323         * config/mips/mips.c (compute_frame_size): Likewise.
4324         (mips_expand_prologue): Likewise.
4325         (mips_can_use_return_insn): Likewise.
4326         * config/pa/elf.h (ASM_FILE_START): Likewise.
4327         * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
4328         * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
4329         * config/pa/som.h (ASM_FILE_START): Likewise.
4330         * config/romp/romp.c (romp_using_r14): Likewise.
4331         * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
4332         (rs6000_stack_info): Likewise.
4333         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
4334         * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
4335         * config/v850/v850.c (compute_register_save_size): Likewise.
4336
4337 2002-01-03  Jakub Jelinek  <jakub@redhat.com>
4338
4339         * simplify-rtx.c (simplify_binary_operation) [DIV]: If
4340         gen_lowpart_common fails, use gen_lowpart_SUBREG.
4341
4342 2002-01-03  Turly O'Connor  <turly@apple.com>
4343
4344         * darwin.c (machopic_output_possible_stub_label): Don't generate
4345         stub routines for pseudo-stubs which we've just defined.
4346
4347 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4348
4349         * builtins.c: Fix formatting.
4350         * c-typeck.c: Likewise.
4351         * combine.c: Likewise.
4352         * expr.c: Likewise.
4353         * loop.c: Likewise.
4354
4355 2002-01-03  Andreas Schwab  <schwab@suse.de>
4356
4357         * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
4358         and return true if _cpp_push_next_buffer pushed a new include
4359         file.
4360         * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
4361         _cpp_pop_file_buffer did not push a new file.
4362         * cpphash.h (_cpp_pop_file_buffer): Update declaration.
4363
4364 2002-01-02  Eric Christopher  <echristo@redhat.com>
4365
4366         * final.c (final_scan_insn): Change 0 -> NULL_RTX in
4367         FIND_REG_INC_NOTE call. Update copyright.
4368         * loop.c (canonicalize_condition): Ditto.
4369         * reorg.c (delete_scheduled_jump): Ditto.
4370
4371 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4372
4373         * gcse.c: Fix formatting.
4374
4375 2002-01-03  Graham Stott  <grahams@redhat.com>
4376
4377         * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
4378         forward defs for struct tags rtx_def, union_tree, rtvec_def
4379         also output corresponding typedefs for rtx, tree, and rtvec.
4380
4381         * system.h: Move forward defs for struct tags rtx_def, union_tree,
4382         rtvec_def along with corresponding typedefs for rtx, tree, and
4383         rtvec to config.h, hconfig.h, tconfig.h.
4384
4385 2002-01-03  Graham Stott  <grahams@redhat.com>
4386
4387         * tree.h: Update copyright date.
4388         (IS_EXPR_CODE_CLASS): Add parenthesis.
4389         (TREE_SET_CODE): Add whitespace.
4390         (TREE_CHECK): Add parenthesis.
4391         (TREE_CLASS_CODE): Add parenthesis and wrap long line.
4392         (CST_OR_CONSTRUCTOR_CHECK):
4393         (EXPR_CHECK): Add parenthis, whitespace and wrap line.
4394         (TREE_SYMBOL_REFERENCED): Whitespace.
4395         (INT_CST_LT): Likewise.
4396         (INT_CST_LT_UNSIGNED): Likewise.
4397         (tree_real_cst): Unwrap comment.
4398         (tree_string): Likewise.
4399         (tree_complex): Likewise.
4400         (IDENTIFIER_POINTER): correct cast.
4401         (SAVE_EXPR_CONTEXT): Whitespace.
4402         (EXPR_WFL_FILENAME_NODE): Likewise.
4403         (EXPR_WFL_FILENAME): Remove parenthesis.
4404         (DECL_ORIGIN): Add parenthesis.
4405         (DECL_FROM_INLINE): Use NULL_TREE.
4406         (build_int_2): Whitespace.
4407         (build_type_variant): Add parenthesis.
4408
4409         * gcc/jcf-parse.c: Update copyright date.
4410         (yyparse): Constify resource_filename.
4411
4412 2002-01-03  Graham Stott  <grahams@redhat.com>
4413
4414         * rtl.h: Update copyright date.
4415         (RTL_CHECK1): Wrap long line.
4416         (RTL_CHECK2): Likewise.
4417         (RTL_CHECKC1): Wrap long line and whitespace.
4418         (RTL_CHECKC2): Likewise.
4419         (XWINT): Whitespace.
4420         (XINT): Likewise.
4421         (XSTR): Likewise.
4422         (XEXP): Likewise.
4423         (XVEC): Likewise.
4424         (XMODE): Likewise.
4425         (XBITMAP): Likewise.
4426         (XTREE): Likewise.
4427         (XBBDEF): Likewise.
4428         (XTMPL): Likewise.
4429         (X0WINT): Likewise.
4430         (X0INT):Likewise.
4431         (X0UINT): Likewise.
4432         (X0STR): Likewise.
4433         (X0EXP): Likewise.
4434         (X0VEC): Likewise.
4435         (X0MODE): Likewise.
4436         (X0BITMAP): Likewise.
4437         (X0TREE): Likewise.
4438         (X0BBDEF): Likewise.
4439         (X0ADVFLAGS): Likewise.
4440         (X0CSELIB): Likewise.
4441         (X0MEMATTR): Likewise.
4442         (XCWINT): Likewise.
4443         (XCINT): Likewise.
4444         (XCUINT): Likewise.
4445         (XCSTR): Likewise.
4446         (XCEXP): Likewise.
4447         (XCVEC): Likewise.
4448         (XCMODE): Likewise.
4449         (XCBITMAP): Likewise.
4450         (XCTREE): Likewise.
4451         (XCBBDEF): Likewise.
4452         (XCADVFLAGS): Likewise.
4453         (XCCSELIB): Likewise.
4454         (XC2EXP): Likewise.
4455         (INSN_UID): Likewise.
4456         (PREV_INSN): Likewise.
4457         (PATTERN): Likewise.
4458         (INSN_CODE): Likewise.
4459         (PUT_REG_NOTE_KIND): Likewise.
4460         (CODE_LABEL_NUMBER): Likewise.
4461         (NOTE_SOURCE_FILE): Likewise.
4462         (NOTE_BLOCK): Likewise.
4463         (NOTE_EH_HANDLER): Likewise.
4464         (NOTE_RANGE_INFO): Likewise.
4465         (NOTE_LIVE_INFO): Likewise.
4466         (NOTE_BASIC_BLOCK): Likewise.
4467         (NOTE_EXPECTED_VALUE): Likewise.
4468         (NOTE_LINE_NUMBER): Likewise.
4469         (LABEL_NAME): Likewise.
4470         (LABEL_NUSES): Likewise.
4471         (LABEL_ALTERNATE_NAME): Likewise.
4472         (ADDRESSOF_DECL): Likewise.
4473         (JUMP_LABEL): Likewise.
4474         (LABEL_NEXTREF): Likewise.
4475         (REGNO): Likewise.
4476         (ORIGINAL_REGNO: Likewise.
4477         (HARD_REGISTER_NUM_P): Add parenthesis.
4478         (SUBREG_REG): Whitespace.
4479         (SUBREG_BYTE): Likewise.
4480         (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
4481         (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
4482         (ASM_OPERANDS_OUTPUT_IDX): Likewise.
4483         (ASM_OPERANDS_INPUT_VEC): Likewise.
4484         (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
4485         (ASM_OPERANDS_INPUT): Likewise.
4486         (ASM_OPERANDS_INPUT_LENGTH): Likewise.
4487         (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
4488         (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
4489         (ASM_OPERANDS_INPUT_MODE): Likewise.
4490         (ASM_OPERANDS_SOURCE_FILE): Likewise.
4491         (ASM_OPERANDS_SOURCE_LINE): Likewise.
4492         (MEM_SET_IN_STRUCT_P): Minor reformat.
4493         (TRAP_CONDITION): Whitespace.
4494         (TRAP_CODE): Likewise.
4495         (COND_EXEC_TEST): Likewise.
4496         (COND_EXEC_CODE): Likewise.
4497         (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
4498         (PHI_NODE_P): Add parenthesis.
4499         (plus_constant): Whitespace and add parenthesis.
4500
4501 2002-01-03  Kazu Hirata  <kazu@hxi.com>
4502
4503         * config/avr/avr.c: Fix comment typos.
4504         * config/c4x/c4x.md: Likewise.
4505         * config/dsp16xx/dsp16xx.h: Likewise.
4506         * config/dsp16xx/dsp16xx.md: Likewise.
4507         * config/i386/i386.md: Likewise.
4508         * config/ia64/ia64.c: Likewise.
4509         * config/m32r/m32r.h: Likewise.
4510         * config/m68hc11/m68hc11.md: Likewise.
4511         * config/mmix/mmix.c: Likewise.
4512         * config/mn10200/mn10200.c: Likewise.
4513         * config/romp/romp.c: Likewise.
4514         * config/sh/sh.c: Likewise.
4515         * config/stormy16/stormy16.c: Likewise.
4516         * config/stormy16/stormy16.h: Likewise.
4517         * config/stormy16/stormy16.md: Likewise.
4518
4519 2002-01-03  Graham Stott  <grahams@redhat.com>
4520
4521         * loop.h: Update copyright date.
4522         (LOOP_MOVABLES): Fix typo.
4523         (LOOP_REGS): Likewise.
4524         (LOOP_IVS): Likewise.
4525
4526 2002-01-03  Graham Stott  <grahams@redhat.com>
4527
4528         * cppinit.c: Update copyright date.
4529         Don't include output.h
4530         * Makefile.in: Update copyright date.
4531         Update dependency.
4532
4533 2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4534
4535         PR c/5226
4536         * invoke.texi (-mthreads): Remove from documented RS/6000 options.
4537         (-pthread) Add to RS/6000 options.
4538
4539 2002-01-02  Kazu Hirata  <kazu@hxi.com>
4540
4541         * except.c: Fix comment typos.
4542         * loop.c: Likewise.
4543         * varasm.c: Likewise.
4544         * doc/tm.texi: Fix a typo.
4545
4546 2002-01-02  Jakub Jelinek  <jakub@redhat.com>
4547
4548         * c-typeck.c (output_init_element): Allow initializing static storage
4549         duration objects with compound literals.
4550
4551 2002-01-02  Richard Henderson  <rth@redhat.com>
4552
4553         * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
4554         after abusing it.
4555
4556 2002-01-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4557
4558         * gcc.c (default_compilers): Const-ify.
4559         * mips-tdump.c (stab_names): Likewise.
4560         * mips-tfile.c (map_coff_types, map_coff_storage,
4561         map_coff_sym_type, map_coff_derived_type, stabs_symbol,
4562         pseudo_ops_t, pseudo_ops): Likewise.
4563         * protoize.c (default_include): Likewise
4564
4565         * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
4566         (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
4567         Add array size in declaration.
4568         (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
4569         emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
4570         esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
4571         etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
4572         eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
4573         efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
4574         c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
4575         emtens, make_nan): Const-ify.
4576         (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
4577         DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
4578
4579 2002-01-02  Joseph S. Myers  <jsm28@cam.ac.uk>
4580
4581         * config.gcc (ia64-*-*): Set extra_headers.
4582         (alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
4583         * config/alpha/t-osf: Remove.
4584         * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
4585
4586 2002-01-02  David Edelsohn  <edelsohn@gnu.org>
4587
4588         * config/rs6000/t-aix43: Revert previous change.
4589
4590 2002-01-02  Jason Merrill  <jason@redhat.com>
4591
4592         * c-decl.c (c_expand_body): Call outlining_inline_function when
4593         emitting an inline function out of line.
4594
4595 2002-01-02  Richard Henderson  <rth@redhat.com>
4596
4597         * dwarf2out.c (limbo_die_node): Add created_for member.
4598         (new_die): New argument created_for.  Update all callers.
4599         (mark_limbo_die_list): New.
4600         (dwarf2out_init): Register limbo_die_list as a root.
4601         (dwarf2out_finish): Force insert limbo dies into their function
4602         context.
4603
4604 2002-01-02  Nathan Sidwell  <nathan@codesourcery.com>
4605
4606         PR c++/5089
4607         * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
4608
4609 2002-01-02  Kazu Hirata  <kazu@hxi.com>
4610
4611         * config/h8300/fixunssfsi.c: Update copyright.
4612         Fix comment typos.
4613         Fix formatting.
4614         * config/h8300/h8300.c: Update copyright.
4615         Eliminate warnings.
4616
4617 2002-01-02  Kazu Hirata  <kazu@hxi.com>
4618
4619         * config/romp/romp.c: Fix comment formatting.
4620         * config/romp/romp.h: Likewise.
4621         * config/romp/romp.md: Likewise.
4622         * config/s390/s390.c: Likewise.
4623         * config/stormy16/stormy16.c: Likewise.
4624         * config/stormy16/stormy16.h: Likewise.
4625
4626 2002-01-02  Alexandre Oliva  <aoliva@redhat.com>
4627
4628         * c-common.h (genrtl_expr_stmt_value): Declare.
4629         * c-semantics.c (genrtl_goto_stmt): Redirect to...
4630         (genrtl_goto_stmt_value): ... this new function.  Pass new
4631         argument down to expand_expr_stmt_value, taking
4632         TREE_ADDRESSABLE into account.
4633         * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
4634         STMT_EXPR as addressable, i.e., one whose result we want.
4635         * expr.c (expand_expr): Don't save expression statement value
4636         of labeled_blocks or loop_exprs.
4637         * stmt.c (expand_expr_stmt): Redirect to...
4638         (expand_expr_stmt_value): ... this new function.  Use new
4639         argument to tell whether to save expression value.
4640         (expand_end_stmt_expr): Reset last_expr_type and
4641         last_expr_value if we don't have either.
4642         * tree-inline.c (declare_return_variable): Mark its use
4643         statement as addressable.
4644         * tree.h: Document new use of TREE_ADDRESSABLE.
4645         (expand_expr_stmt_value): Declare.
4646
4647 2002-01-01  Tom Rix  <trix@redhat.com>
4648
4649         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
4650         rs6000_emit_allocate_stack.
4651
4652 2002-01-01  Joseph S. Myers  <jsm28@cam.ac.uk>
4653
4654         * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
4655         ${srcdir}/ginclude/ to every entry in extra_headers.
4656         * configure: Regenerate.
4657         * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
4658         * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
4659         * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
4660         * ginclude/proto.h: Rename to config/convex/proto.h.
4661
4662 Tue Jan  1 17:12:56 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4663
4664         * attribs.c (handle_vector_size_attribute): Use host_integerp
4665         and tree_int_cst; remove warnings.
4666         * caller-save.c (insert_restore): Add cast to get rid of warning.
4667         (insert_save): Likewise.
4668         * emit-rtl.c (adjust_address_1, offset_address): Likewise.
4669         * regmove.c (find_matches): Add temporary var to kill a warning.
4670
4671 2002-01-01  Douglas B Rupp  <rupp@gnat.com>
4672
4673         * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
4674         LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
4675         * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
4676         (vms-dwarf2eh.o): Add Makefile rule.
4677         * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
4678         * config/alpha/vms-dwarf2eh.asm: New file.
4679
4680         * gcc.c (delete_if_ordinary): Delete all versions.
4681
4682 2002-01-01  Hans-Peter Nilsson  <hp@bitrange.com>
4683
4684         * config/mmix/mmix.md: Update FIXME to not mention
4685         define_constants.
4686         (MMIX_rJ_REGNUM): New define_constants constant.
4687         ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
4688         "*movdicc_real"): Adjust contraints formatting.
4689         ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
4690         for branch prediction.
4691         ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
4692         output template.
4693         ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
4694         "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
4695         number.  Delete related FIXMEs.
4696         * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
4697         from number to MMIX_rJ_REGNUM.
4698         (TARGET_MASK_BRANCH_PREDICT): New.
4699         (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
4700         (TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
4701         value.  Add -mbranch-predict and -mno-branch-predict.
4702         (TARGET_VERSION): Drop date.
4703         (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
4704         * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
4705         for finding out global symbols.
4706         (mmix_asm_output_labelref): Revert condition for global symbol.
4707         (mmix_print_operand): <case '+'>: Emit P for a likely branch.
4708         (mmix_print_operand_punct_valid_p): A '+' is valid.
4709
4710 See ChangeLog.6 for earlier changes.