OSDN Git Service

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