ec68f0e86afde65aacf4e51a3fb4b5b2163e5f48
[gcc.git] / gcc / ChangeLog
1 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
2
3 * optabs.c (expand_fix): Look for wider integer modes first.
4
5 * i386.md (mov?f): Avoid the fake const double trick for medium
6 memory model.
7 (min?f*/max?f*): Prohibit memory operands for i387 variant.
8 (fop_df_4): Disable for SSE compilation.
9
10 2002-01-20 Graham Stott <grahams@redhat.com>
11
12 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
13 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
14
15 2002-01-10 Richard Henderson <rth@redhat.com>
16
17 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
18
19 2002-01-10 Richard Henderson <rth@redhat.com>
20
21 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
22 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
23
24 2002-01-10 Kazu Hirata <kazu@hxi.com>
25
26 * combine.c (can_combine_p): Fix a comment typo.
27
28 2002-01-09 Zack Weinberg <zack@codesourcery.com>
29
30 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
31 empty list correctly. Change loop index $t to $f for
32 consistency with rest of Makefile.
33
34 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
35
36 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
37 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
38
39 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
40 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
41 (altivec_init_builtins): Same.
42 (altivec_expand_unop_builtin): Return NULL_RTX on error.
43 (altivec_expand_binop_builtin): Same.
44 (altivec_expand_ternop_builtin): Same.
45 (bdesc_dst): New.
46
47 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
48 ("altivec_vctuxs"): Fix typo.
49 ("altivec_vnmsubfp"): Same.
50 ("altivec_dssall"): New.
51 ("altivec_mfvscr"): New.
52 ("altivec_dss"): New.
53 ("altivec_lvsl"): New.
54 ("altivec_lvsr"): New.
55 ("altivec_dstt"): New.
56 ("altivec_dstst"): New.
57 ("altivec_dststt"): New.
58 ("altivec_dst"): New.
59
60 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
61 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
62
63 2002-01-09 Richard Henderson <rth@redhat.com>
64
65 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
66
67 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
68
69 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
70 function.
71 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
72 prototype.
73 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
74
75 2002-01-09 Kazu Hirata <kazu@hxi.com>
76
77 * read-rtl.c: Fix formatting.
78 * real.c: Likewise.
79 * regclass.c: Likewise.
80 * regrename.c: Likewise.
81 * reg-stack.c: Likewise.
82 * reload1.c: Likewise.
83 * reload.c: Likewise.
84 * rtl.c: Likewise.
85
86 2002-01-09 Kazu Hirata <kazu@hxi.com>
87
88 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
89 to extract items in the expr_list chain.
90
91 2002-01-09 Richard Henderson <rth@redhat.com>
92
93 * config/vax/vax.c (vax_rtx_cost): Never abort.
94
95 * config/vax/vax.h (REAL_ARITHMETIC): Define.
96
97 2002-01-09 Jan Hubicka <jh@suse.cz>
98
99 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
100
101 2002-01-09 Richard Henderson <rth@redhat.com>
102
103 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
104 Unify code from various alternatives.
105
106 2002-01-09 Richard Henderson <rth@redhat.com>
107
108 * regrename.c (copy_value): Ignore the copy if the source register
109 is present in the value chain with a narrower mode.
110
111 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
112
113 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
114 for the c4x target. Also improve layout.
115
116 2002-01-09 Richard Henderson <rth@redhat.com>
117
118 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
119 * config/m32r/m32r.md (and ior xor splitters): Swap operands
120 to match insn patterns.
121
122 2002-01-09 Richard Henderson <rth@redhat.com>
123
124 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
125 (copyprop_hardreg_forward_1): Likewise.
126
127 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
128
129 * pa.md (decrement_and_branch_until_zero): Change predicate for
130 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
131
132 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
133
134 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
135 gets undefined. For Darwin.
136
137 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
138
139 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
140
141 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
142
143 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
144
145 2002-01-08 Richard Henderson <rth@redhat.com>
146
147 * regrename.c (copy_value): Ignore overlapping copies.
148
149 2002-01-08 Richard Henderson <rth@redhat.com>
150
151 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
152 as needed to avoid shared structure.
153
154 2002-01-08 Kazu Hirata <kazu@hxi.com>
155
156 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
157 H8/300H and H8/S.
158
159 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
160
161 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
162 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
163 documentation of obsolete macros.
164 * system.h: Poison these macros.
165 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
166 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
167 config/c4x/c4x.h, config/clipper/clipper.h,
168 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
169 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
170 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
171 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
172 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
173 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
174 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
175 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
176 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
177 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
178 config/sparc/sparc.h, config/stormy16/stormy16.h,
179 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
180 definitions and commented out definitions of obsolete macros.
181 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
182 of MAX_INT_TYPE_SIZE.
183
184 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
185
186 * config/s390/s390.c (s390_preferred_reload_class): Never
187 return ADDR_REGS if it isn't a subset of the given class.
188 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
189 FP_REGS, but all superclasses as well.
190
191 * config/s390/s390.c (s390_function_profiler): Fix thinko.
192
193 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
194 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
195 must not be a const_int.
196
197 2002-01-08 Richard Henderson <rth@redhat.com>
198
199 * Makefile.in (toplev.o): Depend on options.h.
200 (gcc.o): Depend on specs.h.
201
202 2002-01-08 Jakub Jelinek <jakub@redhat.com>
203
204 * expr.c (store_expr): Convert VOIDmode constants back to target's
205 mode.
206
207 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
208
209 * doc/invoke.texi: Markup gcc as @command. Refer to
210 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
211 of http://gcc.gnu.org/thanks.html.
212
213 2002-01-08 Dale Johannesen <dalej@apple.com>
214
215 * config/rs6000/rs6000.md: Add missing int register
216 target case to movdf_low.
217
218 2002-01-08 Zack Weinberg <zack@codesourcery.com>
219
220 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
221 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
222 (cppinit.o): Depend on except.h.
223 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
224 s-specs): New rules.
225
226 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
227 Don't create specs.h/options.h/gencheck.h here. Remove
228 unnecessary variable settings from last argument of AC_OUTPUT.
229 * config.in, configure: Regenerate.
230 * intl.c: Hardcode package name as "gcc".
231
232 * cppinit.c: Include except.h.
233 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
234 appropriate.
235 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
236 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
237 (!)USING_SJLJ_EXCEPTIONS.
238 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
239
240 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
241
242 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
243 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
244 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
245 documentation of obsolete macros.
246 * system.h: Poison these macros.
247 * config/d30v/d30v.h, config/ns32k/encore.h,
248 config/stormy16/stormy16.h: Remove definitions and commented out
249 definitions of obsolete macros.
250
251 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
252
253 * objc/objc-act.c (handle_class_ref): Mark the declaration of
254 %sobjc_class_ref_%s as used - to prevent unwanted compiler
255 warnings.
256
257 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
258
259 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
260 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
261 to insn adjusting stack/frame pointer.
262 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
263 accept operands that cause the insn to be non-splittable.
264
265 2002-01-08 Graham Stott <grahams@redhat.com>
266
267 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
268 (C_TYPE_FIELDS_VOLATILE): Likewise.
269 (C_TYPE_BEING_DEFINED): Likewise.
270 (C_IS_RESERVED_WORD): Likewise.
271 (C_TYPE_VARIABLE_SIZE): Likewise.
272 (C_DECL_VARIABLE_SIZE): Likewise.
273 (C_MISSING_PROTOTYPE_WARNED): Likewise.
274 (C_SET_EXP_ORIGINAL_CODE): Likewise.
275 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
276 parenthesis.
277 (C_DECL_ANTICIPATED): Likewise.
278 (c_build_type_variant): Add parenthesis.
279
280 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
281
282 * gcc.c (option_map): Remove --version.
283 (process_command): Handle -fversion following the GNU Coding
284 Standards. Partially addresses PR other/704.
285
286 2002-01-08 Graham Stott <grahams@redhat.com>
287
288 * combine.c (combine_instructions): Fix typo.
289
290 2002-01-08 Graham Stott <grahams@redhat.com>
291
292 * debug.h: Use "tree" and "rtx" throughout.
293
294 * debug.c: Likewise.
295
296 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
297
298 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
299 constant pool, use the pool's version of the symbol instead.
300
301 2002-01-07 Richard Henderson <rth@redhat.com>
302
303 * regrename.c (find_oldest_value_reg): Ignore the value chain if
304 the original register was copied in a mode with a fewer number of
305 hard registers than the desired mode.
306 (copyprop_hardreg_forward_1): Likewise.
307 (debug_value_data): Fix loop test.
308 * toplev.c (parse_options_and_default_flags): Reenable
309 -fcprop-registers at -O1.
310
311 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
312
313 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
314 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
315
316 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
317 predicates.
318
319 * config/rs6000/rs6000.md: Add altivec predicate patterns.
320
321 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
322
323 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
324 (pa_output_function_prologue): Output local label at the beginning of
325 the prologue when profiling.
326 (hppa_profile_hook): Use the local label rather than the function label.
327 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
328
329 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
330
331 * config/rs6000/rs6000.c (print_operand): Remove extra space.
332 (altivec_expand_unop_builtin): Fix thinko.
333 (altivec_expand_binop_builtin): Same.
334 (altivec_expand_ternop_builtin): Same.
335 (altivec_expand_builtin): Same.
336
337 2002-01-07 Richard Henderson <rth@redhat.com>
338
339 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
340
341 2002-01-07 Jason Merrill <jason@redhat.com>
342
343 * unwind-dw2.c (execute_cfa_program): Use < again.
344
345 2002-01-07 Jakub Jelinek <jakub@redhat.com>
346
347 * predict.c (combine_predictions_for_insn): Avoid division by zero.
348
349 2002-01-07 Jakub Jelinek <jakub@redhat.com>
350
351 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
352 Don't allow -1 - x -> ~x simplifications in the first pass.
353
354 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
355
356 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
357 arguments.
358 (altivec_expand_binop_builtin): Same.
359 (altivec_expand_unop_builtin): Same.
360 (print_operand): Fix typo.
361 (bdesc_1arg): Add vupk* variants.
362
363 * rs6000.h (rs6000_builtins): Add vupk* enums.
364
365 * rs6000.md: Add altivec_vupk* variants.
366
367 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
368
369 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
370 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
371 and last update dates.
372
373 2002-01-07 Janis Johnson <janis187@us.ibm.com>
374
375 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
376
377 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
378
379 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
380 * config/avr/avr.h (CPP_SPEC): Likewise.
381 (LINK_SPEC): Likewise.
382 (CRT_BINUTILS_SPECS): Likewise.
383 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
384 * doc/invoke.texi (AVR Options): Document them.
385
386 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
387
388 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
389 LABEL_NUSES.
390
391 2002-01-07 Graham Stott <grahams@redhat.com>
392
393 * config/i386/i386.h: Update copyright date.
394 (HALF_PIC_PTR): Add parenthesis.
395 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
396 (CONSTANT_ALIGNMENT): Add parenthesis.
397 (DATA_ALIGNMENT): Likewise.
398 (LOCAL_ALIGNMENT): Likewise.
399 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
400 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
401 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
402 (HARD_REGNO_NREGS): Add paranethesis.
403 (VALID_SSE_REG_MODE): Whitespace.
404 (VALID_MMX_REG_MODE): Whitespace.
405 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
406 (ix86_hard_regno_mode_ok): Add parenthesis.
407 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
408 (RETURN_IN_MEMORY): Whitespace.
409 (N_REG_CLASSES): Add parenthesis.
410 (INTEGER_CLASS_P): Add parenthesis and wrap.
411 (FLOAT_CLASS_P): Likewise.
412 (SSE_CLASS_P): Likewise.
413 (MMX_CLASS_P): Likewise.
414 (MAYBE_INTEGER_CLASS_P): Likewise.
415 (MAYBE_FLOAT_CLASS_P): Likewise.
416 (MAYBE_SSE_CLASS_P): Likewise.
417 (MAYBE_MMX_CLASS_P): Likewise.
418 (Q_CLASS_P): Likewise.
419 (GENERAL_REGNO_P): Uppercase macro parameter.
420 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
421 (FP_REGNO_P): Likewise.
422 (ANY_FP_REGNO_P): Uppercase macro parameter.
423 (SSE_REGNO_P): Likewise.
424 (SSE_REGNO): Likewise.
425 (SSE_REG_P): Likewise.
426 (SSE_FLOAT_MODE_P): Likewise.
427 (MMX_REGNO_P): Likewise.
428 (MMX_REG_P):Likewise.
429 (STACK_REG_P): Likewise.
430 (NON_STACK_REG_P): Likewise.
431 (STACK_TOP_P): Likewise.
432 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
433 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
434 (SECONDARY_MEMORY_NEEDED): Likewise.
435 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
436 (MD_ASM_CLOBBERS): Whitespace and wrap.
437 (MUST_PASS_IN_STACK): Whitespace and wrap.
438 (RETURN_POPS_ARGS): Add parenthesis.
439 (INIT_CUMULATIVE_ARGS): Likewise.
440 (FUNCTION_ARG): Likewise.
441 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
442 (SETUP_INCOMING_VARARGS): Likewise.
443 (BUILD_VA_LIST_TYPE): Add parenthesis.
444 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
445 parenthsis.
446 (EXPAND_BUILTIN_VA_ARG): Likewise.
447 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
448 (INITIALIZE_TRAMPOLINE): Add parenthesis.
449 (INITIAL_ELIMINATION_OFFSET): Likewise.
450 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
451 (REGNO_OK_FOR_BASE_P): Likewise.
452 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
453 (REGNO_OK_FOR_DIREG_P): Likewise.
454 (REG_OK_FOR_INDEX_P): Whitespace.
455 (REG_OK_FOR_BASE_P): Whitespace.
456 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
457 parenthesis.
458 (FIND_BASE_TERM): Fix typo.
459 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
460 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
461 (SYMBOLIC_CONST; Whitespace.
462 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
463 (ENCODE_SECTION_INFO): Whitespace.
464 (FINALIZE_PIC): Remove do { ... } while (0).
465 (PROMOTE_MODE): Wrap in do { ... } while (0).
466 (CONST_COSTS): Whitespace.
467 (RTX_COSTS): Add paramethesis, whitespace and wrap.
468 (REGISTER_MOVE_COST): Add parenthesis.
469 (MEMORY_MOVE_COST): Likewise.
470 (EXTRA_CC_MODES): Whitespace.
471 (SELECT_CC_MODE): Add parenthesis and whitespace.
472 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
473 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
474 (ASM_OUTPUT_LABEL): Add paramethesis.
475 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
476 (ASM_OUTPUT_REG_POP): Likewise.
477 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
478 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
479
480 * config/i386/i386.c: Update copyright.
481 (CHECK_STACK_LIMIT): Add parenthesis.
482 (AT_BP): Uppercase macro parameter.
483 (x86_64_int_parameter_registers): Constify.
484 (x86_64_int_return_registers): Likewise.
485 (ix86_compare_op0): Use rtx.
486 (construct_container): Constify INTREG parameter.
487 (function_arg): Use rtx.
488
489 * diagnostic.h: Update copyright date.
490 (output_buffer_state): Add parenthesis.
491 (output_buffer_format_args): Likewise.
492
493 * combine.c (combine_instructions): Replace XEXP (links, 0)
494 with link.
495
496 2002-01-06 H.J. Lu <hjl@gnu.org>
497
498 * cfgcleanup.c (thread_jump): Fix 2 typos.
499
500 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
501
502 * config.gcc: Add support for --enable-altivec.
503
504 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
505
506 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
507
508 2002-01-06 Jakub Jelinek <jakub@redhat.com>
509
510 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
511 __objc_class_name_*.
512
513 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
514
515 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
516
517 2002-01-06 Richard Henderson <rth@redhat.com>
518
519 * reorg.c (emit_delay_sequence): Remove death notes, not merely
520 nop them out. Increment label reference count for REG_LABEL.
521 (fill_slots_from_thread): Frob label reference count around
522 delete_related_insns.
523
524 2002-01-05 Richard Henderson <rth@redhat.com>
525
526 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
527 jump threading.
528
529 2002-01-05 Richard Henderson <rth@redhat.com>
530
531 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
532 * integrate.c (output_inline_function): Likewise.
533 * toplev.c (rest_of_compilation): Do it here instead. Move call
534 to remove_unnecessary_notes after emitting abstract instance.
535 Force an emitted nested function to have its parent emited as well.
536 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
537 for null.
538 (rtl_for_decl_location): Do not look at reload data structures
539 before reload has run.
540
541 2002-01-05 Kazu Hirata <kazu@hxi.com>
542
543 * cse.c: Fix formatting.
544 * dwarf2asm.c: Likewise.
545 * dwarf2out.c: Likewise.
546 * explow.c: Likewise.
547 * expmed.c: Likewise.
548 * function.c: Likewise.
549 * gcov.c: Likewise.
550 * gencheck.c: Likewise.
551 * genrecog.c: Likewise.
552 * ggc-common.c: Likewise.
553 * ggc-page.c: Likewise.
554 * global.c: Likewise.
555
556 2002-01-05 Kazu Hirata <kazu@hxi.com>
557
558 * combine.c: Fix formatting.
559
560 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
561
562 PR middle-end/1557
563 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
564
565 2002-01-05 David Edelsohn <edelsohn@gnu.org>
566
567 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
568 as 1 for __powerpc64__ as well.
569
570 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
571
572 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
573 return it.
574
575 2002-01-05 Daniel Berlin <dan@dberlin.org>
576
577 * lcm.c: Revert change, due to performance regression it causes on
578 SPEC because it's slightly more conservative (sigh, I hate
579 edge-based LCM).
580
581 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
582
583 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
584
585 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
586
587 * doc/cppinternals.texi: Update.
588
589 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
590
591 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
592 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
593 negatives.
594 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
595 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
596 kludge for pre-october-14th mmix versions to handle new-found bug
597 with PUSHJ/PUSHGO and the register stack.
598 * config/mmix/mmix.h (struct machine_function): Rename member
599 has_call_value_without_parameters to has_call_without_parameters.
600 All referers changed.
601 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
602 TARGET_MASK_BRANCH_PREDICT): New macros.
603 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
604 -mno-reg-stack-fill-bug-workaround.
605 * config/mmix/mmix.md ("call"): Set struct machine member
606 has_call_without_parameters.
607
608 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
609
610 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
611
612 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
613
614 * cfgcleanup.c: Include tm_p.h
615 (mark_effect): Fix handling of hard register; fix handling of SET
616
617 2002-01-04 Kazu Hirata <kazu@hxi.com>
618
619 * config/h8300/h8300.md (anonymous patterns): Check that
620 operands are registers before using REGNO on them.
621
622 2002-01-03 Roland McGrath <roland@frob.com>
623
624 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
625
626 2002-01-04 Jakub Jelinek <jakub@redhat.com>
627
628 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
629 * c-common.h (genrtl_expr_stmt_value): Likewise.
630 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
631 (expand_expr_stmt_value): Add maybe_last argument.
632 Don't warn about statement with no effect if it is the last statement
633 in expression statement.
634 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
635 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
636 expand_expr_stmt_value.
637 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
638 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
639 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
640 as maybe_last to expand_expr_stmt_value.
641
642 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
643
644 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
645 be passed in, do not build it.
646 (c_begin_if_stmt): New function.
647 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
648 * c-common.h (c_expand_start_cond): Update prototype.
649 (c_begin_if_stmt): Prototype new function.
650 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
651 * c-parse.in (if_prefix): Use c_begin_if_stmt,
652 c_begin_while_stmt and c_finish_while_stmt_cond.
653
654 2002-01-04 William Cohen <wcohen@redhat.com>
655
656 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
657 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
658 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
659 * config/pa/som.h (ASM_FILE_START): Likewise.
660
661 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
662
663 * lcm.c: Include df.h.
664 Add available_transfer_function prototype.
665 (compute_available): Rework to use iterative dataflow framework.
666 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
667 with bb_info in df.h
668 (available_transfer_function): New function.
669
670 * Makefile.in (lcm.o): add df.h to dependencies.
671
672 2002-01-04 Richard Henderson <rth@redhat.com>
673
674 * config/alpha/alpha.c (some_operand): Accept HIGH.
675 (input_operand): Likewise; accept simple references to globals.
676 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
677 (alpha_const_double_ok_for_letter_p): Likewise.
678 (alpha_extra_constraint): Likewise.
679 (alpha_preferred_reload_class): Likewise. Do not force
680 symbolic constants to memory.
681 (alpha_legitimate_address_p): Accept simple references
682 to small_symbolic_operand.
683 (alpha_legitimize_address): New arg scratch. Be prepared to be
684 called when no_new_pseudos. Emit simple symbolic references.
685 Split integers into low, high, and rest.
686 (alpha_expand_mov): Use alpha_legitimize_address.
687 (some_small_symbolic_mem_operand): New.
688 (split_small_symbolic_mem_operand): New.
689 * config/alpha/alpha-protos.h: Update.
690 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
691 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
692 (EXTRA_CONSTRAINT): Likewise.
693 (PREFERRED_RELOAD_CLASS): Likewise.
694 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
695 (PREDICATE_CODES): Update.
696 * config/alpha/alpha.md: New post-reload splitters to convert
697 simplfied symbolic operands to the form that references $29.
698 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
699 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
700
701 2002-01-03 Richard Henderson <rth@redhat.com>
702
703 * local-alloc.c (function_invariant_p): Update commentary.
704
705 2002-01-04 H.J. Lu <hjl@gnu.org>
706
707 * toplev.c (rest_of_compilation): Fix a typo when calling
708 cleanup_cfg.
709
710 2002-01-03 Kazu Hirata <kazu@hxi.com>
711
712 * c-common.c: Fix formatting.
713 * diagnostic.c: Likewise.
714 * doloop.c: Likewise.
715 * dwarf2out.c: Likewise.
716
717 2002-01-03 Kazu Hirata <kazu@hxi.com>
718
719 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
720 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
721
722 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
723
724 * cpperror.c: Update comments and copyright.
725 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
726 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
727
728 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
729
730 * collect2.c (main): Use strcmp when testing for "-shared".
731
732 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
733
734 * cppmacro.c: Don't include intl.h. Update comments.
735 (new_number_token): Allocate enough buffer for 64-bit unsigned
736 integers; update prototype.
737 * cppmain.c: Update comments.
738
739 2002-01-03 William Cohen <wcohen@redhat.com>
740
741 * function.h (struct function): Add profile.
742 (current_function_profile): New.
743 doc/extend.texi: Update documentation.
744 * final.c (final_start_function): Use current_function_profile
745 instead of profile_flag.
746 (profile_after_prologue): Likewise.
747 * function.c (expand_function_start): Likewise.
748 (expand_function_start): Likewise.
749 * config/alpha/alpha.c (direct_call_operand):
750 (alpha_does_function_need_gp): Likewise.
751 (alpha_expand_prologue): Likewise.
752 * config/arm/arm.c (arm_expand_prologue): Likewise.
753 thumb_expand_prologue: Likewise.
754 * config/d30v/d30v.c (d30v_stack_info): Likewise.
755 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
756 (fr30_expand_prologue): Likewise.
757 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
758 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
759 * config/i386/i386.h (FINALIZE_PIC): Likewise.
760 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
761 * config/i960/i960.c (i960_output_function_prologue): Likewise.
762 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
763 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
764 (m32r_expand_prologue): Likewise.
765 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
766 (m88k_expand_prologue): Likewise.
767 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
768 * config/mips/mips.c (compute_frame_size): Likewise.
769 (mips_expand_prologue): Likewise.
770 (mips_can_use_return_insn): Likewise.
771 * config/pa/elf.h (ASM_FILE_START): Likewise.
772 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
773 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
774 * config/pa/som.h (ASM_FILE_START): Likewise.
775 * config/romp/romp.c (romp_using_r14): Likewise.
776 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
777 (rs6000_stack_info): Likewise.
778 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
779 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
780 * config/v850/v850.c (compute_register_save_size): Likewise.
781
782 2002-01-03 Jakub Jelinek <jakub@redhat.com>
783
784 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
785 gen_lowpart_common fails, use gen_lowpart_SUBREG.
786
787 2002-01-03 Turly O'Connor <turly@apple.com>
788
789 * darwin.c (machopic_output_possible_stub_label): Don't generate
790 stub routines for pseudo-stubs which we've just defined.
791
792 2002-01-03 Kazu Hirata <kazu@hxi.com>
793
794 * builtins.c: Fix formatting.
795 * c-typeck.c: Likewise.
796 * combine.c: Likewise.
797 * expr.c: Likewise.
798 * loop.c: Likewise.
799
800 2002-01-03 Andreas Schwab <schwab@suse.de>
801
802 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
803 and return true if _cpp_push_next_buffer pushed a new include
804 file.
805 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
806 _cpp_pop_file_buffer did not push a new file.
807 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
808
809 2002-01-02 Eric Christopher <echristo@redhat.com>
810
811 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
812 FIND_REG_INC_NOTE call. Update copyright.
813 * loop.c (canonicalize_condition): Ditto.
814 * reorg.c (delete_scheduled_jump): Ditto.
815
816 2002-01-03 Kazu Hirata <kazu@hxi.com>
817
818 * gcse.c: Fix formatting.
819
820 2002-01-03 Graham Stott <grahams@redhat.com>
821
822 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
823 forward defs for struct tags rtx_def, union_tree, rtvec_def
824 also output corresponding typedefs for rtx, tree, and rtvec.
825
826 * system.h: Move forward defs for struct tags rtx_def, union_tree,
827 rtvec_def along with corresponding typedefs for rtx, tree, and
828 rtvec to config.h, hconfig.h, tconfig.h.
829
830 2002-01-03 Graham Stott <grahams@redhat.com>
831
832 * tree.h: Update copyright date.
833 (IS_EXPR_CODE_CLASS): Add parenthesis.
834 (TREE_SET_CODE): Add whitespace.
835 (TREE_CHECK): Add parenthesis.
836 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
837 (CST_OR_CONSTRUCTOR_CHECK):
838 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
839 (TREE_SYMBOL_REFERENCED): Whitespace.
840 (INT_CST_LT): Likewise.
841 (INT_CST_LT_UNSIGNED): Likewise.
842 (tree_real_cst): Unwrap comment.
843 (tree_string): Likewise.
844 (tree_complex): Likewise.
845 (IDENTIFIER_POINTER): correct cast.
846 (SAVE_EXPR_CONTEXT): Whitespace.
847 (EXPR_WFL_FILENAME_NODE): Likewise.
848 (EXPR_WFL_FILENAME): Remove parenthesis.
849 (DECL_ORIGIN): Add parenthesis.
850 (DECL_FROM_INLINE): Use NULL_TREE.
851 (build_int_2): Whitespace.
852 (build_type_variant): Add parenthesis.
853
854 * gcc/jcf-parse.c: Update copyright date.
855 (yyparse): Constify resource_filename.
856
857 2002-01-03 Graham Stott <grahams@redhat.com>
858
859 * rtl.h: Update copyright date.
860 (RTL_CHECK1): Wrap long line.
861 (RTL_CHECK2): Likewise.
862 (RTL_CHECKC1): Wrap long line and whitespace.
863 (RTL_CHECKC2): Likewise.
864 (XWINT): Whitespace.
865 (XINT): Likewise.
866 (XSTR): Likewise.
867 (XEXP): Likewise.
868 (XVEC): Likewise.
869 (XMODE): Likewise.
870 (XBITMAP): Likewise.
871 (XTREE): Likewise.
872 (XBBDEF): Likewise.
873 (XTMPL): Likewise.
874 (X0WINT): Likewise.
875 (X0INT):Likewise.
876 (X0UINT): Likewise.
877 (X0STR): Likewise.
878 (X0EXP): Likewise.
879 (X0VEC): Likewise.
880 (X0MODE): Likewise.
881 (X0BITMAP): Likewise.
882 (X0TREE): Likewise.
883 (X0BBDEF): Likewise.
884 (X0ADVFLAGS): Likewise.
885 (X0CSELIB): Likewise.
886 (X0MEMATTR): Likewise.
887 (XCWINT): Likewise.
888 (XCINT): Likewise.
889 (XCUINT): Likewise.
890 (XCSTR): Likewise.
891 (XCEXP): Likewise.
892 (XCVEC): Likewise.
893 (XCMODE): Likewise.
894 (XCBITMAP): Likewise.
895 (XCTREE): Likewise.
896 (XCBBDEF): Likewise.
897 (XCADVFLAGS): Likewise.
898 (XCCSELIB): Likewise.
899 (XC2EXP): Likewise.
900 (INSN_UID): Likewise.
901 (PREV_INSN): Likewise.
902 (PATTERN): Likewise.
903 (INSN_CODE): Likewise.
904 (PUT_REG_NOTE_KIND): Likewise.
905 (CODE_LABEL_NUMBER): Likewise.
906 (NOTE_SOURCE_FILE): Likewise.
907 (NOTE_BLOCK): Likewise.
908 (NOTE_EH_HANDLER): Likewise.
909 (NOTE_RANGE_INFO): Likewise.
910 (NOTE_LIVE_INFO): Likewise.
911 (NOTE_BASIC_BLOCK): Likewise.
912 (NOTE_EXPECTED_VALUE): Likewise.
913 (NOTE_LINE_NUMBER): Likewise.
914 (LABEL_NAME): Likewise.
915 (LABEL_NUSES): Likewise.
916 (LABEL_ALTERNATE_NAME): Likewise.
917 (ADDRESSOF_DECL): Likewise.
918 (JUMP_LABEL): Likewise.
919 (LABEL_NEXTREF): Likewise.
920 (REGNO): Likewise.
921 (ORIGINAL_REGNO: Likewise.
922 (HARD_REGISTER_NUM_P): Add parenthesis.
923 (SUBREG_REG): Whitespace.
924 (SUBREG_BYTE): Likewise.
925 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
926 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
927 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
928 (ASM_OPERANDS_INPUT_VEC): Likewise.
929 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
930 (ASM_OPERANDS_INPUT): Likewise.
931 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
932 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
933 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
934 (ASM_OPERANDS_INPUT_MODE): Likewise.
935 (ASM_OPERANDS_SOURCE_FILE): Likewise.
936 (ASM_OPERANDS_SOURCE_LINE): Likewise.
937 (MEM_SET_IN_STRUCT_P): Minor reformat.
938 (TRAP_CONDITION): Whitespace.
939 (TRAP_CODE): Likewise.
940 (COND_EXEC_TEST): Likewise.
941 (COND_EXEC_CODE): Likewise.
942 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
943 (PHI_NODE_P): Add parenthesis.
944 (plus_constant): Whitespace and add parenthesis.
945
946 2002-01-03 Kazu Hirata <kazu@hxi.com>
947
948 * config/avr/avr.c: Fix comment typos.
949 * config/c4x/c4x.md: Likewise.
950 * config/dsp16xx/dsp16xx.h: Likewise.
951 * config/dsp16xx/dsp16xx.md: Likewise.
952 * config/i386/i386.md: Likewise.
953 * config/ia64/ia64.c: Likewise.
954 * config/m32r/m32r.h: Likewise.
955 * config/m68hc11/m68hc11.md: Likewise.
956 * config/mmix/mmix.c: Likewise.
957 * config/mn10200/mn10200.c: Likewise.
958 * config/romp/romp.c: Likewise.
959 * config/sh/sh.c: Likewise.
960 * config/stormy16/stormy16.c: Likewise.
961 * config/stormy16/stormy16.h: Likewise.
962 * config/stormy16/stormy16.md: Likewise.
963
964 2002-01-03 Graham Stott <grahams@redhat.com>
965
966 * loop.h: Update copyright date.
967 (LOOP_MOVABLES): Fix typo.
968 (LOOP_REGS): Likewise.
969 (LOOP_IVS): Likewise.
970
971 2002-01-03 Graham Stott <grahams@redhat.com>
972
973 * cppinit.c: Update copyright date.
974 Don't include output.h
975 * Makefile.in: Update copyright date.
976 Update dependency.
977
978 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
979
980 PR c/5226
981 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
982 (-pthread) Add to RS/6000 options.
983
984 2002-01-02 Kazu Hirata <kazu@hxi.com>
985
986 * except.c: Fix comment typos.
987 * loop.c: Likewise.
988 * varasm.c: Likewise.
989 * doc/tm.texi: Fix a typo.
990
991 2002-01-02 Jakub Jelinek <jakub@redhat.com>
992
993 * c-typeck.c (output_init_element): Allow initializing static storage
994 duration objects with compound literals.
995
996 2002-01-02 Richard Henderson <rth@redhat.com>
997
998 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
999 after abusing it.
1000
1001 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1002
1003 * gcc.c (default_compilers): Const-ify.
1004 * mips-tdump.c (stab_names): Likewise.
1005 * mips-tfile.c (map_coff_types, map_coff_storage,
1006 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1007 pseudo_ops_t, pseudo_ops): Likewise.
1008 * protoize.c (default_include): Likewise
1009
1010 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1011 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1012 Add array size in declaration.
1013 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1014 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1015 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1016 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1017 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1018 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1019 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1020 emtens, make_nan): Const-ify.
1021 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1022 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1023
1024 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1025
1026 * config.gcc (ia64-*-*): Set extra_headers.
1027 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1028 * config/alpha/t-osf: Remove.
1029 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1030
1031 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1032
1033 * config/rs6000/t-aix43: Revert previous change.
1034
1035 2002-01-02 Jason Merrill <jason@redhat.com>
1036
1037 * c-decl.c (c_expand_body): Call outlining_inline_function when
1038 emitting an inline function out of line.
1039
1040 2002-01-02 Richard Henderson <rth@redhat.com>
1041
1042 * dwarf2out.c (limbo_die_node): Add created_for member.
1043 (new_die): New argument created_for. Update all callers.
1044 (mark_limbo_die_list): New.
1045 (dwarf2out_init): Register limbo_die_list as a root.
1046 (dwarf2out_finish): Force insert limbo dies into their function
1047 context.
1048
1049 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1050
1051 PR c++/5089
1052 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1053
1054 2002-01-02 Kazu Hirata <kazu@hxi.com>
1055
1056 * config/h8300/fixunssfsi.c: Update copyright.
1057 Fix comment typos.
1058 Fix formatting.
1059 * config/h8300/h8300.c: Update copyright.
1060 Eliminate warnings.
1061
1062 2002-01-02 Kazu Hirata <kazu@hxi.com>
1063
1064 * config/romp/romp.c: Fix comment formatting.
1065 * config/romp/romp.h: Likewise.
1066 * config/romp/romp.md: Likewise.
1067 * config/s390/s390.c: Likewise.
1068 * config/stormy16/stormy16.c: Likewise.
1069 * config/stormy16/stormy16.h: Likewise.
1070
1071 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1072
1073 * c-common.h (genrtl_expr_stmt_value): Declare.
1074 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1075 (genrtl_goto_stmt_value): ... this new function. Pass new
1076 argument down to expand_expr_stmt_value, taking
1077 TREE_ADDRESSABLE into account.
1078 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1079 STMT_EXPR as addressable, i.e., one whose result we want.
1080 * expr.c (expand_expr): Don't save expression statement value
1081 of labeled_blocks or loop_exprs.
1082 * stmt.c (expand_expr_stmt): Redirect to...
1083 (expand_expr_stmt_value): ... this new function. Use new
1084 argument to tell whether to save expression value.
1085 (expand_end_stmt_expr): Reset last_expr_type and
1086 last_expr_value if we don't have either.
1087 * tree-inline.c (declare_return_variable): Mark its use
1088 statement as addressable.
1089 * tree.h: Document new use of TREE_ADDRESSABLE.
1090 (expand_expr_stmt_value): Declare.
1091
1092 2002-01-01 Tom Rix <trix@redhat.com>
1093
1094 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1095 rs6000_emit_allocate_stack.
1096
1097 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1098
1099 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1100 ${srcdir}/ginclude/ to every entry in extra_headers.
1101 * configure: Regenerate.
1102 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1103 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1104 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1105 * ginclude/proto.h: Rename to config/convex/proto.h.
1106
1107 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1108
1109 * attribs.c (handle_vector_size_attribute): Use host_integerp
1110 and tree_int_cst; remove warnings.
1111 * caller-save.c (insert_restore): Add cast to get rid of warning.
1112 (insert_save): Likewise.
1113 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1114 * regmove.c (find_matches): Add temporary var to kill a warning.
1115
1116 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1117
1118 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1119 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1120 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1121 (vms-dwarf2eh.o): Add Makefile rule.
1122 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1123 * config/alpha/vms-dwarf2eh.asm: New file.
1124
1125 * gcc.c (delete_if_ordinary): Delete all versions.
1126
1127 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1128
1129 * config/mmix/mmix.md: Update FIXME to not mention
1130 define_constants.
1131 (MMIX_rJ_REGNUM): New define_constants constant.
1132 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1133 "*movdicc_real"): Adjust contraints formatting.
1134 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1135 for branch prediction.
1136 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1137 output template.
1138 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1139 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1140 number. Delete related FIXMEs.
1141 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1142 from number to MMIX_rJ_REGNUM.
1143 (TARGET_MASK_BRANCH_PREDICT): New.
1144 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1145 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1146 value. Add -mbranch-predict and -mno-branch-predict.
1147 (TARGET_VERSION): Drop date.
1148 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1149 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1150 for finding out global symbols.
1151 (mmix_asm_output_labelref): Revert condition for global symbol.
1152 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1153 (mmix_print_operand_punct_valid_p): A '+' is valid.
1154
1155 See ChangeLog.6 for earlier changes.