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