]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
gnat_rm.texi: Sync with ACT version.
[gcc.git] / gcc / ChangeLog
CommitLineData
d4c5ac1f
AM
12002-03-23 Alan Modra <amodra@bigpond.net.au>
2
3 * combine.c (simplify_comparison): When widening modes, ignore
4 sign extension on CONST_INTs.
5
84bf8c2c
BW
62002-03-22 Bob Wilson <bob.wilson@acm.org>
7
8 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
9 passed to adjust_address. Fix comment formatting.
10
11
b216cd4a
ZW
122002-03-22 Zack Weinberg <zack@codesourcery.com>
13
14 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
15 Always make REAL_VALUE_TYPE a struct containing an array of
16 HOST_WIDE_INT, not a double. Tidy up the code deciding how
17 big it is. Don't declare or use union real_extract.
18
19 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
20 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
21 (print_operand), config/arm/arm.c (output_move_double),
22 config/arm/arm.md (consttable_4, consttable_8),
23 config/romp/romp.c (output_fpops), config/s390/s390.h
24 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
25 (xtensa_output_literal): Don't use union real_extract.
26
27 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
28 (sfmode_constant_to_ulong), config/ns32k/merlin.h
29 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
30 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
31 (PRINT_OPERAND): Don't use local version of union
32 real_extract.
33
34 * config/convex/convex.c (check_float_value), config/vax/vax.c
35 (vax_float_literal), config/m88k/m88k.md (divdf3),
36 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
37 config/pdp11/pdp11.c (output_move_quad): Don't do host
38 arithmetic on target floating point quantities.
39
40 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
41 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
42
43 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
44 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
45
46 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
47 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
48 INFINITY.
49 * print-rtl.c (print_rtx): Disable code which needs
50 floating-point emulator.
51 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
52 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
53 depending on HOST_FLOAT_FORMAT to be defined properly.
54
55 * config/1750a/1750a.c (get_double, float_label): Delete.
56 (print_operand): Delete huge commented-out chunk. Use
57 REAL_VALUE_TO_DECIMAL.
58 * config/1750a/1750a-protos.h: Delete prototypes of deleted
59 functions.
60 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
61 IEEE_FLOAT_FORMAT.
62 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
63 Use REAL_VALUE_TO_DECIMAL as ELF version does.
64 * config/m88k/m88k.c (real_power_of_2_operand,
65 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
66 real_extract out of the union; run the input through
67 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
68 from that into the union.
69 * config/pdp11/pdp11.c (output_move_double): Rearrange
70 parentheses to make automatic indenter happy.
71
72 * doc/tm.texi (Cross-compilation): Rename node to "Floating
73 Point" and rewrite to describe current situation. Also adjust
74 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
75 match code.
76 * doc/rtl.texi: Adjust cross reference.
77
a8cacfd2
BW
782002-03-22 Bob Wilson <bob.wilson@acm.org>
79
80 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
81 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
82 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
83 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
84 prevent use of sp as a reload register.
85 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
86 non_acc_reg_operand.
87 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
88 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
89 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
90 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
91
d4e6133f
NB
922002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
93
b216cd4a
ZW
94 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
95 * cpplex.c (unterminated): Delete.
96 (parse_string): No string literal may extend over multiple
97 lines. Suppress the error when preprocessing assembly.
d4e6133f
NB
98 * cppmain.c (scan_translation_unit): Strings are single-line.
99
b216cd4a 100 * doc/cpp.texi: Update to match.
d4e6133f 101
65e6c005
JJ
1022002-03-22 Jakub Jelinek <jakub@redhat.com>
103
104 PR optimization/5854
105 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
106 Shut up warnings.
107 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
108 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
109 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
110 const0 if scratch register was not allocated.
111 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
112 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
113 with GEN_INT (...).
114 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
115 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
116 with GEN_INT (...) everywhere. Remove constraints in define_split
117 patterns.
118 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
119 require scratch register for setting 0 into regs/non-pushable memory.
120
7f48c9e1
AO
1212002-03-22 Alexandre Oliva <aoliva@redhat.com>
122
123 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
124 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
125
909de5da
PE
1262002-03-22 Phil Edwards <pme@gcc.gnu.org>
127
128 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
129 * cppinit.c (cpp_create_reader): On by default.
130 (cpp_handle_option): Handle -W[no-]endif-labels.
131 (cpp_post_options): Also enable if -pedantic.
132 * cpplib.c (do_else): Use it.
133 (do_endif): Likewise.
134 * doc/cppopts.texi: Document new option.
135 * doc/invoke.texi: Document new option.
136
d8bf17f9
LB
1372002-03-22 Lars Brinkhoff <lars@nocrew.org>
138
139 * config/i386/i386.c, config/i386/i386.md: Change all occurences
140 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
141
70e0ccd0
AO
1422002-03-22 Alexandre Oliva <aoliva@redhat.com>
143
144 * flow.c (calculate_global_regs_live): Clear aux fields of
145 ENTRY and EXIT.
146
68882f0f
JJ
1472002-03-22 Jakub Jelinek <jakub@redhat.com>
148
149 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
150 REG or MEM subregs, pass rtx * instead of rtx to it.
151 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
152 rtx * instead of rtx to alter_subreg.
153 * config/m32r/m32r.c (gen_split_move_double): Likewise.
154 * config/pj/pj.c (pj_output_rval): Likewise.
155
648fe28b
RH
1562002-03-22 Richard Henderson <rth@redhat.com>
157
158 PR target/3177
159 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
160 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
161 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
162 (ia64_expand_prologue): Look at int_regs, not words, for number
163 of incomming int regs.
164
e8dcd824
AM
1652002-03-22 Andrew MacLeod <amacleod@redhat.com>
166
167 * expr.c (expand_expr): A RESULT_DECL is part of a call.
168
96327cdc
JH
169Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
170
171 * toplev.c (flag_loop_optimize, flag_crossjumping):
172 New static variables.
173 (rest_of_compilation): Conditionalize crossjumping and
174 loop optimizer.
175 (parse_options_and_default_flags): Default loop_optimize and
176 crossjumping.
177 (lang_independent_options): Add -fcrossjumping and -floop-optimize
178 * invoke.texi (crossjumping, loop-optimize): Document.
179
bc185257
RS
1802002-03-22 Richard Sandiford <rsandifo@redhat.com>
181
182 * real.c (eiisneg): Move outside #ifdef NANS.
183
0a2ed1f1
JH
184Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
185
186 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
187 frequencies match; avoid match on different loop depths.
188 (try_crossjump_to_bb): Kill tests that no longer brings time
189 savings.
190 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
191 updating code.
192 (split_edge): Likewise.
193
194 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
195 variable.
196
197 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
198 * cfgrtl.c: Include insn-config.h
199 (split_block) Dirtify block in presence of conditional execution
200
4d72536e
RS
2012002-03-22 Richard Sandiford <rsandifo@redhat.com>
202
203 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
204 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
205 (function_arg): Constify CUMULATIVE_ARGS.
206 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
207 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
208 (UNITS_PER_DOUBLE): New macro.
209 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
210 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
211 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
212 fp_regs and stack_words.
213 (EABI_FLOAT_VARARGS_P): New macro.
214 * config/mips/mips.c (struct mips_arg_info): New.
215 (mips_arg_info): New function.
216 (function_arg_advance): Use it. Add adjustment instructions here
217 rather than in function_arg.
218 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
219 for VOIDmode at the beginning of the function.
220 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
221 (function_arg_pass_by_reference): Likewise.
222 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
223 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
224 (mips_va_start): Likewise. Use the new stack_words field of
225 CUMULATIVE_ARGS to set up overflow area. Reformat.
226 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
227 doubles and other types, aligning the overflow pointer for non-doubles
228 too. Remove some code duplication. Replace hard-coded constants.
229
e6f884cd
RS
2302002-03-22 Richard Sandiford <rsandifo@redhat.com>
231
232 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
233 (CLASS_UNITS): Undefine.
234 (CLASS_MAX_NREGS): Use FP_INC.
235 * config/mips/mips.c (compute_frame_size): Likewise.
236 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
237
10cf9bde
NB
2382002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
239
240 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
241 prototype, and handle lexing numbers and identifiers.
242 (parse_identifier): Update to new form of parse_slow.
243 (parse_number): Fast path only, use parse_slow otherwise.
244 (_cpp_lex_direct): Update calls to parse_number.
245
fbc2782e
DD
2462002-03-21 DJ Delorie <dj@redhat.com>
247
248 * bb-reorder.c (make_reorder_chain_1): Protect against
249 when redundant edges are omitted.
250 * predict.c (dump_prediction): Likewise.
251
fba39eaf
RH
2522002-03-21 Richard Henderson <rth@redhat.com>
253
254 PR target/5996
255 * fixinc/inclhack.def (solaris_stdio_tag): New.
256 * fixinc/fixincl.x: Regenerate.
257
eba80994
EB
2582002-03-21 Eric Botcazou <ebotcazou@multimania.com>
259
260 PR c/5597
261 * c-typeck.c (process_init_element): Flag non-static
262 initialization of a flexible array member as illegal.
263
2a78758b
AM
2642002-03-22 Alan Modra <amodra@bigpond.net.au>
265
266 * config/rs6000/t-linux64: New.
267 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
268 t-ppccomm. Use t-rs6000 and t-linux64.
269 (powerpc64-*-gnu* <tmake_file>): Likewise.
bac015e7
AM
270 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
271 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
272 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
2a78758b 273
2cb921f4
AH
2742002-03-21 Aldy Hernandez <aldyh@redhat.com>
275
eba80994
EB
276 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
277 flag_really_no_inline instead of optimize == 0.
2cb921f4 278
eba80994 279 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
2cb921f4 280
eba80994 281 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
2cb921f4 282
eba80994 283 * flags.h (flag_really_no_inline): New.
2cb921f4 284
eba80994
EB
285 * c-common.c (c_common_post_options): Initialzie
286 flag_really_no_inline.
2cb921f4 287
eba80994 288 * toplev.c (flag_really_no_inline): New.
2cb921f4 289
239b8b9d
JJ
2902002-03-21 Jakub Jelinek <jakub@redhat.com>
291
292 * config/avr/avr.md (length): Fix length computation for
293 conditional branches.
294
43577e6b
NB
2952002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
296
297 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
298 sdbout.o, profile.o): Update.
299 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
300 langhook.
301 * c-common.h (gettags): Move here from tree.h.
302 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
303 insert_block, getdecls, kept_level_p, global_bindings_p): New.
304 * dbxout.c (dbxout_init): Use getdecls langhook.
305 * expr.c (expand_expr): Use insert_block langhook.
306 * fold-const.c: Include langhooks.h.
307 (fold_range_test, fold_binary_op_with_conditional_arg,
308 fold): Use global_bindings_p langhook.
309 * integrate.c (expand_inline_function): Use insert_block langhook.
310 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
311 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
312 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
313 LANG_HOOKS_GETDECLS): New.
314 (LANG_HOOKS_INITIALIZER): Update.
315 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
316 langhook.
317 * langhooks.h (struct lang_hooks_for_decls): New.
318 (struct lang_hooks): Update.
319 * profile.c: Include langhooks.h.
320 (output_func_start_profiler): Use new langhooks.
321 * sdbout.c: Include langhooks.h.
322 (sdbout_init, sdbout_finish): Use getdecls langhook.
323 * stmt.c: Include langhooks.h.
324 (expand_fixup, fixup_gotos): Use new langhooks.
325 * stor-layout.c: Include langhooks.h.
326 (variable_size): Use global_bindings_p langhook.
327 * toplev.c (compile_file): Use getdecls langhook.
328 * tree-inline.c (remap_block): Use insert_block langhook.
329 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
330 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
331
5b19b10c
RH
3322002-03-21 Richard Henderson <rth@redhat.com>
333
334 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
335 constants in .data when -fpic.
336
e05af335
GP
3372002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
338
339 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
340 where appropriate.
341
60ffc997
TT
3422002-03-21 Tom Tromey <tromey@redhat.com>
343
344 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
345
75897075
RK
346Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
347
a73afd69 348 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
46399021 349
75897075
RK
350 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
351
312687cf
EB
3522002-03-21 Eric Botcazou <ebotcazou@multimania.com>
353 Richard Henderson <rth@redhat.com>
354
355 PR c/5354
356 * c-common.c (c_expand_expr): Preserve result of a statement
357 expression if needed.
358
f0e1f482
JJ
3592002-03-21 Jakub Jelinek <jakub@redhat.com>
360
361 PR bootstrap/4195
362 * genrecog.c (maybe_both_true_mode): Remove.
363 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
364 * machmode.def (Pmode): Likewise.
365
c14b9960
JW
366Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
367
368 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
369 (nonlocal_mentioned_p_1): New function.
370 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
371 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
372 (mark_constant_function): Recognize pure functions.
373 * rtl.h (global_reg_mentioned_p): New prototype.
374 * rtlanal.c (global_reg_mentioned_p,
375 global_reg_mentioned_p_1): New function.
376
aaa4d130
RO
3772002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
378
379 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
380 UNIX assert.h.
381 * fixinc/fixincl.x: Regenerate.
382
e5c4bd1b
JM
3832002-03-20 Jason Merrill <jason@redhat.com>
384
385 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
386
852b81bb
MM
3872002-03-20 Michael Meissner <meissner@redhat.com>
388
389 * doc/invoke.texi (Optimize Options): Document that -O2 sets
390 -fstrict-aliasing.
391
86d8c251
BW
3922002-03-20 Bob Wilson <bob.wilson@acm.org>
393
394 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
395 ".literal_position" directive before the constant pool.
396
0a39c350
GP
3972002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
398
399 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
400 Add Craig Rodrigues.
401 Add Brad Lucier to testers.
402
71a83373
JJ
4032002-03-20 Jakub Jelinek <jakub@redhat.com>
404
405 PR target/4792
406 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
407 to if_then_else.
408 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
409 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
410 instead of insn_extract.
411
a29b099d
JJ
4122002-03-20 Jakub Jelinek <jakub@redhat.com>
413
414 PR bootstrap/4192
71a83373 415 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
a29b099d
JJ
416
417 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
418 stmt if some case has been output.
419
048b1c95
JJ
4202002-03-20 Jakub Jelinek <jakub@redhat.com>
421
422 PR c/5972
423 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
424 movsfcc_1, movdfcc_1): Add %O2.
425 * config/i386/i386.c (print_operand): Handle %ON.
426 Print . before float condition codes in Sun as cmov syntax.
427 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
428 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
429 no longer true.
430
f4864588
PB
4312002-03-20 Philip Blundell <pb@nexus.co.uk>
432
433 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
434 return instruction if PC was popped.
435
3a307de4
BW
4362002-03-20 Bob Wilson <bob.wilson@acm.org>
437
438 * config/xtensa/xtensa.md: Remove unused type attributes.
439 (adddi_carry, subddi_carry): Change type attribute to "multi".
440
048b1c95 4412002-03-19 Dale Johannesen <dalej@apple.com>
ed7d44bc
DJ
442
443 PR optimization/5999, middle-end/5731
444 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
445 multiplications by reciprocals.
446
7afff7cf
NB
4472002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
448
449 * Makefile.in: Update.
450 * c-common.c: Include langhooks.h.
451 (inline_forbidden_p): Use new hook.
452 * diagnostic.c: Include langhooks.h.
453 (format_with_decl, announce_function,
454 default_print_error_function): Use new hook.
455 * dwarf2out.c (dwarf2_name): Use new hook.
456 * function.c: Include langhooks.h.
457 (init_function_start): Use new hook.
458 * langhooks-def.h (lhd_decl_printable_name): New.
459 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
460 (LANGHOOKS_INITIALIZER): Update.
461 * langhooks.c (lhd_decl_printable_name): New.
462 * langhooks.h (struct lang_hooks): New hook.
463 * toplev.c (decl_name, decl_printable_name): Remove.
464 (open_dump_file): Use new hook.
465 (process_options): Remove old hook.
466 * tree.h (decl_printable_name): Remove.
467objc:
468 * objc-act.c (objc_init): Remove old hook.
469 (objc_printable_name): Export.
470 * objc-act.h (objc_printable_name): New.
471 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
472
f78ce0b7
JB
4732002-03-19 Jim Blandy <jimb@redhat.com>
474
475 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
476 the start_source_file debug hook, not the current line number.
477
15b5aef3
RH
4782002-03-19 Richard Henderson <rth@redhat.com>
479
480 * flow.c (EH_USES): Provide default.
481 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
482 * doc/tm.texi (EH_USES): New.
483
484 * config/ia64/ia64.c (ia64_eh_uses): New.
485 * config/ia64/ia64-protos.h: Update.
486 * config/ia64/ia64.h (EH_USES): New.
487
02a7a3fd
RH
4882002-03-19 Richard Henderson <rth@redhat.com>
489
490 * varasm.c (output_constant_def): Fix stupid typo.
491
93f82d60
RH
4922002-03-19 Richard Henderson <rth@redhat.com>
493
2842be05 494 PR 5879
93f82d60
RH
495 * except.c (current_function_has_exception_handlers): New.
496 * except.h: Declare it.
497 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
498 Combine tests that disable all sibcalls for the function.
499
ed4fbfa0
OH
5002002-03-19 Olivier Hainque <hainque@act-europe.fr>
501
502 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
503 for INTEGER_CST.
504
ebf0e888
RH
5052002-03-19 Richard Henderson <rth@redhat.com>
506
1e82682b 507 PR 5977, 5991
ebf0e888
RH
508 * config/ia64/ia64.c: Revert 2002-03-01 patch.
509 * config/ia64/ia64.h (INIT_EXPANDERS): New.
510
e37b38d7
JB
5112002-03-19 Jim Blandy <jimb@redhat.com>
512
513 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
514 name, even if the replacement list contains no tokens, as required
515 by Dwarf.
516
2a4ea326
JM
5172002-03-19 Jason Merrill <jason@redhat.com>
518
f9d09ae5
JM
519 * varasm.c (globalize_decl): Get the name from the RTL, not
520 DECL_ASSEMBLER_NAME.
521
2a4ea326
JM
522 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
523
99b96edb
BW
5242002-03-19 Bob Wilson <bob.wilson@acm.org>
525
526 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
527 subdi_carry): Define.
528
3774b567
DE
5292002-03-19 David Edelsohn <edelsohn@gnu.org>
530
531 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
532 about -fpic/-fPIC if extra_warnings set.
533
21ef78aa
DE
5342002-03-19 David Edelsohn <edelsohn@gnu.org>
535
536 * expr.c (expand_expr): Sign-extend CONST_INT generated from
537 TREE_STRING_POINTER.
0c2fdcdf 538 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
21ef78aa 539
91d4b3fd
RK
540Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
541
542 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
543 in favor of SP if FRAME_POINTER_REQUIRED is false.
544
2496c7bd
LB
5452002-03-19 Lars Brinkhoff <lars@nocrew.org>
546
547 * emit-rtl.c (gen_int_mode): New function.
548 * rtl.h: Prototype for it.
549 * combine.c (make_extraction, simplify_comparison), expmed.c
550 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
551 (convert_modes, store_field), optabs.c (expand_fix),
552 simplify-rtx.c (neg_const_int, simplify_unary_real),
553
554 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
555 Use it instead of GEN_INT (trunc_int_for_mode (...)).
556
f735a153
JJ
5572002-03-19 Jakub Jelinek <jakub@redhat.com>
558
559 PR c/5656
560 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
561 convert_parm_for_inlining.
562 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
563 Define.
564 * langhooks-def.h: Likewise.
565 * objc/objc-lang.c: Likewise.
566 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
567 function.
568 * tree-inline.c (initialize_inlined_parameters):
569 Call convert_parm_for_inlining lang hook if needed.
570 * c-typeck.c (c_convert_parm_for_inlining): New function.
571 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
572
1929c971
MM
5732002-03-18 Mark Mitchell <mark@codesourcery.com>
574
b216cd4a 575 * calls.c (precompute_arguments): Do not assume that temporaries
1929c971
MM
576 can be destroyed after expanding the argument.
577 (expand_call): Likewise.
578
c79ca0ac
EC
5792002-03-15 Eric Christopher <echristo@redhat.com>
580
581 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
582 Fix register preference on last change.
583 * config/mips/mips.c (mips_return_in_memory): New function.
584 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
585 * config/mips/mips-protos.h: Declare.
586 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
587 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
588
07e2e444
AO
5892002-03-18 Alexandre Oliva <aoliva@redhat.com>
590
1bfbbbcf
AO
591 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
592 a register too.
593 (anddi3, iorsi3): Likewise.
594
c066429e
AO
595 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
596 use %gprel for symbols that are going to be placed in linkonce
597 sections.
598
07e2e444
AO
599 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
600 RETURN_ADDRESS_POINTER_REGNUM to $ra.
601 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
602 not needed. Disregard leaf_function_p().
603 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
604 mips16 frame pointer.
605 * config/mips/mips.md (store ra): Only to small SP offsets.
606 2001-08-22 Graham Stott <grahams@redhat.com>
607 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
608 return a REG rtx for the return address register.
609
eb8e00ea
BW
6102002-03-18 Bob Wilson <bob.wilson@acm.org>
611
612 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
613 constant-pool addresses as "mode-dependent".
614 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
615
cbb92744
JJ
6162002-03-18 Jakub Jelinek <jakub@redhat.com>
617
618 PR target/5740
619 * expr.c (emit_group_load): Use extract_bit_field if
620 needed for CONCAT arguments.
621
657d9449
RE
6222002-03-18 Richard Earnshaw <rearnsha@arm.com>
623
91f3a802 624 PR target/4863
657d9449
RE
625 * arm.md (tablejump): Make this a define_expand. For PIC add the
626 offset to the base of the table.
627 (thumb_tablejump): Matcher for Thumb tablejump insn.
628 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
629 as the difference of two labels.
630 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
631 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
632 tables in the code.
633 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
634 * arm.c (get_jump_table_size): If the table is not in the text
635 section, return zero.
c79ca0ac 636
5d5603e2
BS
6372002-03-18 Bernd Schmidt <bernds@redhat.com>
638
639 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
640 of gen_rtx_SUBREG.
641 (arm_reload_out_hi): Use gen_lowpart instead of
642 gen_rtx_SUBREG to access QImode components.
643 * config/arm/arm.md: Disable zero_extend split for QImode
644 subregs in BIG_ENDIAN mode.
645 (storehi_bigend): Match use of least significant byte.
646 (storeinthi): Remove extraneous SUBREG.
66c17b64 647 Add missing construction of operands[2].
5d5603e2
BS
648 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
649 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
650 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
651
df15fbc7
AH
6522002-03-18 Aldy Hernandez <aldyh@redhat.com>
653
2496c7bd
LB
654 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
655 any_operand.
df15fbc7 656
b83b7fa3
RH
6572002-03-17 Richard Henderson <rth@redhat.com>
658
659 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
660 explicitly.
661
6f7c00fe
HPN
6622002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
663
664 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
665 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
666
155038f2
KG
6672002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
668
720d42fa
KG
669 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
670
155038f2
KG
671 * predict.c (estimate_bb_frequencies): Delete unused variables.
672
e6542f4e
RH
6732002-03-17 Richard Henderson <rth@redhat.com>
674
675 * config/ia64/ia64.c (ia64_attribute_table): Move before
676 targetm definition. Make static.
677
52dabb6c
NB
6782002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
679
680 * c-common.h (yyparse, c_common_parse_file): New.
681 * c-lang.c: Include c-common.h.
682 (LANG_HOOKS_PARSE_FILE): Redefine.
683 * c-lex.c: Include c-common.h.
684 (yyparse): Rename c_common_parse_file. Call yyparse.
685 * c-parse.in (yyparse): Remove macro.
686 * c-tree.h (yyparse_1): Remove.
687 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
688 (LANG_HOOKS_INITIALIZER): Update.
689 * langhooks.h (struct lang_hoooks): New hook parse_file.
690 * toplev.c (compile_file): Use parse_file hook.
691 * tree.h (yyparse): Remove.
e6542f4e 692 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
52dabb6c 693
b5ffe606
HPN
6942002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
695
ba82f58b
HPN
696 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
697 float_truncate, not fix.
698 ("*truncdfsf2_real"): Ditto.
699 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
700
b5ffe606
HPN
701 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
702
c8d1b2b7
AO
7032002-03-16 Alexandre Oliva <aoliva@redhat.com>
704
cfb773f9
AO
705 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
706 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
707 where appropriate. Make the second reference to
708 leaf_function_p a function call, as intended. Reindented.
709
4dffef52
AO
710 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
711 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
712
4f5bd6d7
AO
713 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
714 add register to non-constant into sp.
715
c8d1b2b7
AO
716 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
717 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
718 (mips16_gp_pseudo_rtx): Lose.
719 (INIT_EXPANDERS): Deleted.
720 * config/mips/mips.c (mips_init_machine_status): New.
721 (mips_free_machine_status): New.
722 (mips_mark_machine_status): New.
723 (override_options): Set them.
724 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
725 (struct machine_function): ... new. Replaced all references.
726 (mips_add_gc_roots): Don't mark them.
727 (embedded_pic_fnaddr_reg): New, extracted from...
728 (embedded_pic_offset): ... here.
729 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
730 (movsi): Likewise.
731
b3124fac
NB
7322002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
733
734 * cppinit.c: Revert -MD removal.
735
121449b6
SC
7362002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
737
738 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
739 soft registers by default for 68HC12.
740 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
741 when compiling with -fomit-frame-pointer.
742 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
743 (expand_epilogue): Likewise.
744 (m68hc11_gen_rotate): Use exg when rotating by 8.
745
840e2ff1
SC
7462002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
747
748 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
749 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
750 (splits): Remove unused add splits.
751 ("*addhi3_68hc12"): Tune constraints.
752 ("addhi_sp"): Try to use X instead of Y in all cases and if the
753 constant fits in 8-bits and D is dead use abx/aby instructions.
754 ("*addhi3"): Remove extern declaration of ix_reg.
755 ("*subsi3"): Optimize and provide new split.
756 ("subhi3"): Cleanup.
757 ("*subhi3_sp"): Avoid saving X if we know it is dead.
758 (arith splits): For 68hc12 save the address register on the stack
759 and do the arithmetic operation with a pop.
760
3c9a5efe
SC
7612002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
762
763 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
764 allocating QImode in address registers.
765 ("*movqi_m68hc11"): Likewise.
766
e41f3392
JH
767Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
768
769 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
770
576786b0
NB
7712002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
772
773 * cppinit.c (print_help): Display -MD and -MMD.
774 Don't display usage string. Update assertion syntax and
775 typo.
776 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
777 (cpp_handle_option): Update.
778
1ac458d4
CD
7792002-03-15 Chris Demetriou <cgd@broadcom.com>
780
781 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
782 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
783 and define it so that regardless of target CPU size,
784 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
785 of "int" rather than "long."
786
1fcd592b
RH
7872002-03-15 Richard Henderson <rth@redhat.com>
788
789 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
790 size as a tree.
791
a0df6910
SC
7922002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
793
794 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
795 ("tstqi" split): Avoid using memory for tstqi on address register.
796 (splits): Remove constraints.
797 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
798 ("cmpdf", "cmpsf"): Remove since not used.
799 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
800 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
801
015a2e59
SC
8022002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
803
804 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
805 ("neghi2"): Tighten constraints.
806 ("one_cmplsi2"): Optimize and simplify split.
807 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
808
cd28557c
SC
8092002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
810
811 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
812 and split of AND operation to clear the upper bits.
813 ("*logicalsi3_zextqi"): Likewise.
814 ("*logicallhi3_zexthi_ashift8"): Likewise.
815 ("*logicalsi3_silshr16"): Likewise.
816 ("logicalsi3_silshl16"): Likewise.
817 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
818
932657df
SC
8192002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
820
821 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
822 (m68hc11_indirect_p): New function.
823 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
824 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
825 TARGET_M6812.
826 (asm_print_register): Likewise.
827 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
828 (m68hc11_indirect_p): Declare.
829 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
830 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
831 (TARGET_SWITCHES): New option -mrelax.
832 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
833 destination.
834 ("iorsi3", "xorsi3"): Likewise.
835 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
836 ("*andhi3_mem"): New to handle destination in memory with bclr
837 and a scratch register.
838 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
839 ("*andhi3_const"): New when operand2 is constant.
840 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
841 ("*andhi3_gen"): Cleanup of the old "andhi3".
842 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
843 ("xorqi3"): Update constraints.
844
fdffea1a
SC
8452002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
846
847 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
848 for reg_equiv_memory_loc when the operand is a register that does
849 not get a hard register (stack location).
850 (tst_operand): After reload, accept all memory operand.
851 (symbolic_memory_operand): Fix detection of symbolic references.
852 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
853 accept symbols and any constant.
854
6272bc68
SC
8552002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
856
857 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
858 note on the insn that sets the soft frame register.
859 (must_parenthesize): ix and iy are also reserved names.
860 (print_operand_address): One more place where parenthesis are required
861 to avoid confusion with register names.
862 (m68hc11_gen_movhi): Allow push of stack pointer.
863 (m68hc11_check_z_replacement): Fix handling of parallel with a
864 clobber.
865 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
866 the replacement register is.
867 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
868 and D8_REGS classes.
869 (MODES_TIEABLE_P): All modes are tieable except QImode.
870
1d2d9def
SC
8712002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
872
873 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
874 (___subdi3): Likewise.
875 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
876 (__map_data_section): Optimize 68hc11 case.
877
a0ccf503
SC
8782002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
879
880 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
881 than a shift to avoid adding a register with itself.
882 (m68hc11_memory_move_cost): Take into account NO_REGS.
883 (m68hc11_register_move_cost): Update and use memory move cost
884 for soft registers.
885 (m68hc11_address_cost): Make cost of valid offset not 0 so that
886 it gives more opportunities to cse to optimize.
887 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
888 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
889
6e4ae815
MM
8902002-03-15 Mark Mitchell <mark@codesourcery.com>
891
892 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
893 * c-common.def (CLEANUP_STMT): New tree node.
894 * c-common.h (CLEANUP_DECL): New macro.
895 (CLEANUP_EXPR): Likewise.
896 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
897 * expr.c (expand_expr): Tidy.
898 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
899 * tree-inline.c (initialize_inlined_parameters): Clean up
900 new local variables.
901
a42519be
JJ
9022002-03-15 Jakub Jelinek <jakub@redhat.com>
903
904 PR bootstrap/4128
905 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
906 before movrXX only, use reg_overlap_mentioned_p.
907 Only special case NE if just one insn can be generated.
908
15409448
JM
9092002-03-15 Jason Merrill <jason@redhat.com>
910
911 * varasm.c (assemble_variable): Call resolve_unique_section before
912 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
913 of error_mark_node.
914
3a4edb44
RE
9152002-03-15 Richard Earnshaw <rearnsha@arm.com>
916
917 PR target/5170
918 * arm.md (split pattern for thumb shiftable immediates): Add comment
919 explaining non-obvious test.
920
32defa36
RE
9212002-03-15 Richard Earnshaw <rearnsha@arm.com>
922
923 PR target/5712
924 * arm.md (movaddr, movaddr_insn): Delete.
925
5cc90635
JM
9262002-03-15 Jason Merrill <jason@redhat.com>
927
928 * toplev.c (wrapup_global_declarations): Clarify variable handling.
929 -fkeep-static-consts doesn't apply to comdats.
930
ecb0eece
RH
9312002-03-14 Richard Henderson <rth@redhat.com>
932
933 * c-decl.c: Include c-pragma.h.
934 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
935 (finish_function): Tidy.
936 * c-pragma.c: Include c-common.h.
937 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
938 (handle_pragma_weak): Use them.
939 (init_pragma): Register pending_weaks.
940 * c-pragma.h (maybe_apply_pragma_weak): Declare.
941 * print-tree.c (print_node): Print DECL_WEAK.
942 * varasm.c (mark_weak_decls): Remove.
943 (remove_from_pending_weak_list): Remove.
944 (add_weak): Remove.
945 (asm_emit_uninitialised): Call globalize_decl for weak commons.
946 (weak_decls): Make a tree_list.
947 (declare_weak): Cons weak_decls directly.
948 (globalize_decl): Remove weak_decls elements directly.
949 (weak_finish): Simplify weak_decls walk. Don't weaken unused
950 symbols. Don't pretend to handle aliases.
951 (init_varasm_once): Update weak_decls registry.
952 * Makefile.in: Update dependencies.
953
98d2b17e
RH
9542002-03-14 Richard Henderson <rth@redhat.com>
955
956 PR target/5312
957 * config/ia64/ia64.c: Include tm_p.h last.
958 (gen_nop_type): Remove duplicate definition.
959 (cycle_end_fill_slots): Set sched_data for second L slot.
960 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
961 (nop_cycles_until): Fix typos.
962
f2f4927e
JJ
9632002-03-15 Jakub Jelinek <jakub@redhat.com>
964
965 PR optimization/5891
966 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
967
5025a549
DM
9682002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
969
970 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
971 descriptors correctly.
972
03e9dbc9
MM
9732002-03-14 Michael Meissner <meissner@redhat.com>
974
975 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
976 100, allowing MAX_UNROLLED_INSNS to be overridden.
977
978 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
979 --param.
980
981 * unroll.c (params.h): Include.
982 (MAX_UNROLLED_INSNS): Delete, now in params.h.
983
984 * doc/invoke.texi (--param max-unroll-insns): Document.
985
986 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
987
12249385
RE
9882002-03-14 Richard Earnshaw <rearnsha@arm.com>
989
990 * arm.md: Fix warnings about constraints in peepholes and splits.
991
f0cce04a
ZW
9922002-03-14 Zack Weinberg <zack@codesourcery.com>
993
994 * cpphash.h (struct lexer_state): Remove line_extension member.
995 * cpplib.c (dequote_string, do_linemarker): New functions.
996 (linemarker_dir): New data object.
997 (DIRECTIVE_TABLE): No longer need to interpret #line in
998 preprocessed source. Delete obsolete comment about return
999 values of handlers.
1000 (end_directive, directive_diagnostics, _cpp_handle_directive):
1001 Don't muck with line_extension.
1002 (directive_diagnostics): No need to issue warnings for
1003 linemarkers here.
1004 (_cpp_handle_directive): Issue warnings for linemarkers here,
1005 when appropriate. Dispatch linemarkers to do_linemarker, not
1006 do_line.
1007 (do_line): Code to handle linemarkers split out to do_linemarker.
1008 Convert escape sequences in filename argument, both places.
1009
1010 * cppmacro.c (quote_string): Rename cpp_quote_string and
1011 export. All callers changed.
1012 * cpplib.h (cpp_quote_string): Prototype.
1013 * cppmain.c (print_line): Call cpp_quote_string on to_file
1014 before printing it.
1015
1016 * doc/cpp.texi: Document that escapes are now interpreted in
1017 #line and in linemarkers, and that non-printing characters are
1018 converted to octal escapes when linemarkers are generated.
1019
1020Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
83a49407
JH
1021
1022 * emit-rtl.c (try_split): Use delete_insns.
1023 * recog.c (split_all_insns): Fix terminating condition.
1024
c882c7ac
RE
10252002-03-14 Richard Earnshaw <rearnsha@arm.com>
1026 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
1027
1028 PR target/5828
1029 * arm.c (arm_output_epilogue): Fix floating-point register save
1030 adjustment when using a frame pointer.
1031
3f26edaa
RS
10322002-03-14 Richard Sandiford <rsandifo@redhat.com>
1033
1034 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
1035 * config/mips/mips.c (compute_frame_size): Retrofit them here.
1036 (save_restore_insns, mips_expand_epilogue): And here.
1037 (build_mips16_call_stub): And here.
1038 (mips_function_value): Use the new macros to decide whether a single
1039 or complex float can be returned in floating-point registers. Return
1040 a parallel rtx in the complex case.
1041
1e3881c2
JH
1042Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
1043
1044 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
1045 call after liveness analysis.
1046
1047 * recog.c (split_insn): Use delete_insn_and_edges.
1048
1049 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
1050 instructions to have branch prediction notes.
1051 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
1052
200ef634
GK
10532002-03-14 Geoffrey Keating <geoffk@redhat.com>
1054
1055 * configure.in: Don't pass -Wno-long-long to a ADA compiler
1056 that doesn't support it.
1057 * configure: Regenerate.
1058
0b82d204
JJ
10592002-03-13 Jakub Jelinek <jakub@redhat.com>
1060
1061 PR target/5626
1062 * config/sparc/sparc.md (normal_branch, inverted_branch,
1063 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
1064 inverted_fp_branch): Adjust calls to output_cbranch.
1065 Set length attribute.
1066 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
1067 output_v9branch. Set length attribute.
1068 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
1069 predicates.
1070 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
1071 (output_cbranch): Likewise. Handle far branches.
1072 (output_v9branch): Handle far branches.
1073 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
1074 Adjust prototypes.
1075 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
1076 noov_compare64_op predicates.
1077
7a8de19b
JM
10782002-03-13 Jason Merrill <jason@redhat.com>
1079
1080 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
1081 into the function and constify it.
1082 * gthr-dce.h, gthr-solaris.h: Likewise.
1083
2a55fd42
DE
10842002-03-13 David Edelsohn <edelsohn@gnu.org>
1085
1086 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
1087 * config/rs6000/rs6000.c (rs6000_va_arg): Use
1088 std_expand_builtin_va_arg if not ABI_V4.
1089
19c5b1cf
JM
10902002-03-13 Jason Merrill <jason@redhat.com>
1091
1092 * varasm.c (globalize_decl): New fn.
1093 (assemble_start_function): Use it.
1094 (asm_emit_uninitialized): Use it.
1095 (assemble_alias): Use it.
1096 (assemble_variable): Use it.
1097
2a15f5e1
HPN
10982002-03-13 Hans-Peter Nilsson <hp@axis.com>
1099
1100 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
f0cce04a 1101 2002-03-12 internal visibility change.
2a15f5e1
HPN
1102 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
1103 visibility into SYMBOL_REF_FLAG.
1104
c0a3eeac
UW
11052002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1106
1107 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
1108 VOIDmode operand. Add compile-time optimization for constant results.
1109
a1652cee
JM
11102002-03-12 Jason Merrill <jason@redhat.com>
1111
1112 * c-typeck.c (convert_for_assignment): Don't allow conversions
1113 between pointers and references. Only allow lvalues to convert to
1114 reference.
1115
c52a375d
HP
11162002-03-13 Hartmut Penner <hpenner@de.ibm.com>
1117
f0cce04a
ZW
1118 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
1119 before prologue, to avoid scheduling problems.
c52a375d 1120
e387e99b
JJ
11212002-03-13 Jakub Jelinek <jakub@redhat.com>
1122
1123 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
1124 (ELIMINABLE_REGS): Add sfp->sp.
1125 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
1126
11272002-03-13 Jakub Jelinek <jakub@redhat.com>
09948ece
JJ
1128
1129 PR optimization/5892
1130 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
1131
4061c1a3
JJ
11322002-03-13 Jakub Jelinek <jakub@redhat.com>
1133
1134 * loop.c (basic_induction_var): Don't call convert_modes if mode
1135 classes are different.
1136
5b43fed1
RH
11372002-03-12 Richard Henderson <rth@redhat.com>
1138
9f53e965
RH
1139 PR optimization/5901
1140 * function.c (reposition_prologue_and_epilogue_notes): Position
1141 the markers after/before the last/first insn not deleted.
1142
11432002-03-12 Richard Henderson <rth@redhat.com>
1144
1145 PR optimization/5878
5b43fed1
RH
1146 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
1147 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
1148 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
1149
1150 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
1151 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
1152 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
1153
1154 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
1155 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
1156 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
1157 also. Don't set it if not flag_pic.
1158 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
1159 to be INVALID_REGNUM when not used.
1160
4e9bb42b
AH
11612002-03-13 Aldy Hernandez <aldyh@redhat.com>
1162
5b43fed1
RH
1163 * expmed.c (store_bit_field): Reset alias set for memory.
1164 (extract_bit_field): Same.
4e9bb42b 1165
2f9834e8
KG
11662002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1167
1168 * c-common.c (c_tree_code_type, c_tree_code_length,
1169 c_tree_code_name, add_c_tree_codes): Delete.
1170 * c-common.h (add_c_tree_codes): Delete.
1171 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
1172 Define.
1173 * c-objc-common.c (c_objc_common_init): Don't call
1174 add_c_tree_codes, instead set lang_unsafe_for_reeval.
1175 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
1176 objc_tree_code_name, add_objc_tree_codes): Delete.
1177 (objc_init): Don't call add_objc_tree_codes.
1178 * objc/objc-lang.c (tree_code_type, tree_code_length,
1179 tree_code_name): Define.
1180 * toplev.c (lang_independent_init): Don't set
1181 tree_code_length[IDENTIFIER_NODE].
1182 * tree.c (tree_code_type, tree_code_length, tree_code_name):
1183 Delete definitions, moved to language front-ends.
1184 * tree.def (IDENTIFIER_NODE): Hardwire the length.
1185 * tree.h (tree_code_type, tree_code_length, tree_code_name):
1186 Const-ify.
1187 (tree_code_length): Change type to unsigned char.
1188
36ad2436
RH
11892002-03-12 Richard Henderson <rth@redhat.com>
1190
1191 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
1192 internal visibility change.
1193
0ae02efa
BW
11942002-03-12 Bob Wilson <bob.wilson@acm.org>
1195
1196 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
1197 validize_mem() instead of change_address to avoid clobbering
1198 memory attributes.
1199
35bb2bee
NB
12002002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
1201
1202 * c-lex.h (position_after_whitespace): Remove.
1203
62ae2529
JJ
12042002-03-12 Jakub Jelinek <jakub@redhat.com>
1205
1206 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
1207 (lex_string): Use unsigned char pointers.
1208
6a45951f
UW
12092002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1210
1211 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
1212 is not a valid memory_operand.
1213
e2fb85da
BW
12142002-03-12 Bob Wilson <bob.wilson@acm.org>
1215
1216 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
1217 * config/xtensa/lib1funcs.asm: Fix copyright to include
1218 special case for libgcc files.
1219 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
1220 (__divsi3): Likewise.
1221 (__umodsi3): Likewise.
1222 (__modsi3): Likewise.
1223 * config/xtensa/lib2funcs.S: Fix copyright to include
1224 special case for libgcc files.
1225
5b8619f8
TR
12262002-03-12 Tom Rix <trix@redhat.com>
1227
1228 * collect2.c (resolve_lib_name): Move outside of
f0cce04a 1229 OBJECT_FORMAT_COFF ifdef.
5b8619f8
TR
1230 (ignore_library): Same.
1231
089c8f97
BW
12322002-03-12 Bob Wilson <bob.wilson@acm.org>
1233
1234 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
1235
958c70ff
BW
12362002-03-12 Bob Wilson <bob.wilson@acm.org>
1237
1238 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
1239 to function_section before writing out the constant pool.
1240
a65c591c
DE
12412002-03-12 David Edelsohn <edelsohn@gnu.org>
1242
1243 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
1244 zero_constant.
1245 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
1246
12472002-03-12 Alan Modra <amodra@bigpond.net.au>
1248
1249 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
1250 (adddi3): Likewise.
1251 (movdf): Likewise.
1252 (movdi): Likewise.
1253 (cmpsi splitter): Likewise.
1254 (modsi3): Fail if <= 0.
1255 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
1256 redundant test when HOST_BITS_PER_WIDE_INT != 32.
1257 (reg_or_sub_cint64_operand): Likewise.
1258 (num_insns_constant_wide): Optimize sign extension.
1259 (rs6000_legitimize_address): Likewise.
1260
17720332
AM
12612002-03-12 Andrew MacLeod <amacleod@redhat.com>
1262
1263 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1264 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1265
cd49f073
AM
12662002-03-12 Andrew MacLeod <amacleod@redhat.com>
1267
1268 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
1269 address calculation.
1270
6a4e49c1
UW
12712002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1272
1273 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
1274 scratch register to DImode / TImode.
1275 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
1276 register used does not overlap the target.
1277
54b6670a
KG
12782002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1279
1280 * Makefile.in (debug.o): Depend on debug.h.
1281 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
1282 * debug.c (do_nothing_debug_hooks): Likewise.
1283 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
1284 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
1285 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
1286 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
1287 * dwarfout.c (dwarf_debug_hooks): Likewise.
1288 * integrate.c (output_inline_function): Likewise.
1289 * objc/objc-act.c (synth_module_prologue): Likewise.
1290 * sdbout.c (sdb_debug_hooks): Likewise.
1291 * toplev.c (debug_hooks): Likewise.
1292 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
1293
2465bf76
KG
12942002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1295
1296 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
1297 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
1298 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
1299 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
1300 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
1301 * defaults.h (POINTER_SIZE): Define.
1302 * doc/tm.texi (POINTER_SIZE): Document default.
1303
53f3e9ca
KG
13042002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1305
1306 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
1307
44d3eb5b
RH
13082002-03-11 Richard Henderson <rth@redhat.com>
1309
1310 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
1311 if rebuild_label_notes_after_reload.
1312
4a085d2e
HPN
13132002-03-12 Hans-Peter Nilsson <hp@axis.com>
1314
1315 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
1316 emit pic register load if "internal" visibility.
1317 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
1318 (cris_expand_builtin_va_arg): Do all computations on trees.
1319
bc204393
RH
13202002-03-11 Richard Henderson <rth@redhat.com>
1321
1322 * rtlanal.c: Include recog.h.
1323 (keep_with_call_p): Fix thinko.
1324 * Makefile.in (rtlanal.o): Update dependencies.
1325
6b8b9d7b
CM
13262002-03-11 Chris Meyer <cmeyer@gatan.com>
1327
1328 * genflags.c (gen_insn): Use IS_VSPACE.
1329 * genoutput.c (output_insn_data): Likewise.
1330 (process_template): Likewise.
1331
6c40858f
RH
13322002-03-11 Richard Henderson <rth@redhat.com>
1333
1334 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
1335
40adaa27
NB
13362002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
1337
1338 * Makefile.in: Update.
6c40858f 1339 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
40adaa27 1340 Update documentation.
6c40858f
RH
1341 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
1342 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
40adaa27 1343
049b03f4
ZW
13442002-03-11 Zack Weinberg <zack@codesourcery.com>
1345
1346 * Makefile.in: Give texi2pod its input file as a command line
1347 argument, not on stdin.
1348
61eece67
DN
13492002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
1350 Daniel Berlin <dan@dberlin.org>
1351
1352 C++ alias analysis improvement.
f0cce04a 1353 * alias.c (record_component_aliases): Record aliases for base
61eece67
DN
1354 classes too.
1355
a65c591c
DE
13562002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
1357
ff080aba
UW
1358 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
1359
1682dbb1
DR
13602002-03-11 Douglas B Rupp <rupp@gnat.com>
1361
fa2d765a
DR
1362 * toplev.c (vms_fopen): Remove, not needed.
1363
6f1fd286
DR
1364 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
1365
b230e057
DR
1366 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
1367
cb9a8e97
DR
1368 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
1369 for FP, already done later.
1370
1682dbb1
DR
1371 * toplev.c (debug_args): Add entry for VMS_DEBUG.
1372 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
1373
3fcaac1d
RS
13742002-03-11 Richard Sandiford <rsandifo@redhat.com>
1375
1376 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
1377 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
1378 LARGEST_EXPONENT_IS_NORMAL for the given mode.
1379 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
1380 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
1381 (ediv, emul, eldexp, esqrt): Likewise.
1382 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
1383 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
1384 (saturate): New function.
1385 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
1386 (make_nan): Use a saturation value instead of a NaN if
1387 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
1388 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
1389 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
1390 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
1391 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
1392 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
1393 !ROUND_TOWARDS_ZERO.
1394 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
1395 (ROUND_TOWARDS_ZERO): Document.
1396
d25558be
AJ
13972002-03-11 Andreas Jaeger <aj@suse.de>
1398
1399 * cfg.c (dump_flow_info): Remove unused variable.
1400
c71f9ae7
HPN
14012002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
1402
1403 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
1404 computations on trees.
1405
561c9153
RH
14062002-03-10 Richard Henderson <rth@redhat.com>
1407
932b4e3e 1408 PR 5693:
561c9153
RH
1409 * reload.c (copy_replacements_1): New.
1410 (copy_replacements): Use it to recurse through the rtx.
1411
26b738be
RH
14122002-03-10 Richard Henderson <rth@redhat.com>
1413
1414 * loop.c (strength_reduce): Compute number of iterations as
1415 unsigned HOST_WIDE_INT.
1416
8d8a083e
RH
14172002-03-10 Richard Henderson <rth@redhat.com>
1418
1419 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
1420 to move away from the end of the block.
1421
32810ba3
NB
14222002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1423
1424 PR preprocessor/5899
1425 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
d25558be 1426
2b03d201
KG
14272002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1428
f90c544c
KG
1429 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
1430
2b03d201
KG
1431 * attribs.c (decl_attributes): Fix signed/unsigned warning.
1432
3ec1b4cb
HPN
14332002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
1434
1435 * config/mmix/mmix.c: Improve comments.
1436 (mmix_target_asm_function_prologue): Drop variable
1437 empty_stack_frame. Don't allocate unused slot above fp.
1438 (mmix_target_asm_function_epilogue): Mirror prologue changes.
1439 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
1440 brace in first column.
1441 (enum reg_class): Ditto.
1442 (FIRST_PARM_OFFSET): Now 0.
1443 (USER_LABEL_PREFIX): Remove #if 0:d definition.
1444
27e486c5
KG
14452002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1446
1447 * combine.c (make_extraction): Fix error in last change.
1448
0139adca
KG
14492002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1450
1451 * c4x.c (c4x_fp_reglist): Const-ify.
1452 * cris.c (cris_print_operand): Likewise.
1453 * i386.c (ix86_va_arg): Likewise.
1454 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
1455 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
1456 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
1457 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
1458 * mcore.h (regno_reg_class): Likewise.
1459 * mips.c (gen_int_relational): Likewise.
1460 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
1461 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
a4334c36 1462 * pdp11.c (move_costs): Likewise.
0139adca
KG
1463 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
1464 * s390.c (s390_branch_condition_mnemonic, regclass_map):
1465 Likewise.
1466 * s390.h (regclass_map): Likewise.
1467 * sh.c (shift_amounts): Likewise.
a4334c36 1468 * sh.md (rotlsi3): Likewise.
0139adca 1469
889b90a1
GK
14702002-03-09 Geoffrey Keating <geoffk@redhat.com>
1471
1472 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
1473 (ne0+5): Use new clobber to generate proper shift pattern.
1474 Patch by Michael Matz <matz@kde.org>.
1475
2877e0ae
AS
14762002-03-09 Andreas Schwab <schwab@suse.de>
1477
1478 * gcc.c (validate_all_switches): Also handle `%W{...}'.
1479
79b51cd7
GK
14802002-03-09 Geoffrey Keating <geoffk@redhat.com>
1481
1482 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
1483
e0f1be5c
JJ
14842002-03-09 Jakub Jelinek <jakub@redhat.com>
1485
1486 PR middle-end/5877
1487 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
1488 even for non-representable constants.
1489
0a7ec763
RK
1490Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1491
93fe8e92
RK
1492 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
1493 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
1494 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
1495 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
1496 (pop_function_context): Compute MAY_SHARE parameter for
1497 fixup_var_refs.
1498 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
1499 (gen_mem_addressof): Call fixup_var_refs with new parm.
1500
0a7ec763
RK
1501 * combine.c (make_extraction): Don't make extension of CONST_INT.
1502
a85cd407
AO
15032002-03-09 Alexandre Oliva <aoliva@redhat.com>
1504
9445b814
AO
1505 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
1506 in o32 and o64 ABIs.
1507 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
1508 but getting fixed-size structs passed in registers regardless of
1509 padding in o32 and o64 ABIs.
1510
a85cd407
AO
1511 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
1512 offset before loading address of argument passed by transparent
1513 reference.
1514
c51fbe40
JDA
15152002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
1516
1517 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
1518
918e70dd
AO
15192002-03-09 Alexandre Oliva <aoliva@redhat.com>
1520
1521 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
1522 marker such that registers after it are saved.
1523
3070dd00
KG
15242002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1525
1526 * sparc.c (arith_4096_operand): Fix error in last change.
1527
e25d11b0
AO
15282002-03-08 Alexandre Oliva <aoliva@redhat.com>
1529
1530 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
1531 defaults for MEABI.
1532
41daaf0e
AH
15332002-03-08 Aldy Hernandez <aldyh@redhat.com>
1534
5b43fed1
RH
1535 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
1536 vectors.
41daaf0e 1537
fa139b00
AH
15382002-03-08 Aldy Hernandez <aldyh@redhat.com>
1539
5b43fed1 1540 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
fa139b00 1541
c51d95ec
JH
1542Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
1543
1544 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
1545 removed; fix return value.
1546 * combine.c (combine_instructions): Dirtify blocks where we failed to
1547 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
1548 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
1549
3b25fbfe
KG
15502002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1551
1552 * gcse.c (insert_insn_end_bb): Fix typo in last change.
1553
189ae0f4
JH
1554Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
1555
1556 * recog.c (peephole2_optimize): Re-distribute EH edges.
1557
24965e7a
NB
15582002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
1559
1560 * expr.c (expand_expr): Use unsave lang hook.
1561 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
1562 (LANG_HOOKS_INITIALIZER): Update.
1563 * langhooks.h (struct lang_hooks): New hook unsave.
1564 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
1565 (unsave_expr_1): Remove unused lang_unsave_expr_now.
1566 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
1567 (unsave_expr_now): Remove.
1568 * tree.h (unsave_expr_now, lang_unsave,
1569 lang_unsave_expr_now): Remove.
1570 (lhd_unsave): New.
1571
1e4e95d6
AJ
15722002-03-08 Andreas Jaeger <aj@suse.de>
1573
1574 * flow.c (propagate_block_delete_insn): Remove unused variable.
1575
054ef905
KH
15762002-03-08 Kazu Hirata <kazu@hxi.com>
1577
1578 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
1579 insn length for memory load/store.
1580
5304400d 15812002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
1e4e95d6 1582
5304400d
CR
1583 * doc/install.texi (--with-libiconv-prefix): Document.
1584
81034129
MB
15852002-03-08 Michael Y. Brukman <myb2@cornell.edu>
1586
1587 * doc/sourcebuild.texi: Fix typo.
1588
71db7d03
JJ
15892002-03-08 Jakub Jelinek <jakub@redhat.com>
1590
1591 PR c/3711
1592 * builtins.c (std_expand_builtin_va_arg): Do all computations on
1593 trees.
1594
127c1ba5
RK
1595Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1596
1597 * rtl.c (copy_most_rtx): Move from here ...
1598 * emit-rtl.c (copy_most_rtx): ... to here.
1599
8a13c092
AO
16002002-03-08 Alexandre Oliva <aoliva@redhat.com>
1601
5faae4f7
AO
1602 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
1603 SUBTARGET_CPP_SIZE_SPEC.
1604 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
1605
8a13c092
AO
1606 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
1607
4ec59de2
MH
16082002-03-07 Matt Hiller <hiller@redhat.com>
1609
1610 * gensupport.c (first_dir_md_include): Renamed from include;
1611 change all references.
1612 (last_dir_md_include): Renamed from last_include; change all
1613 references.
1614 (init_md_reader): Unconditionally initialize base_dir whether or
1615 not filename is a relative path.
1616
12f61e77
AO
16172002-03-07 Alexandre Oliva <aoliva@redhat.com>
1618
95356058
AO
1619 * config/fp-bit.c (_unord_f2): Compile it in even if
1620 US_SOFTWARE_GOFAST is enabled.
1621
12f61e77
AO
1622 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
1623 NULL_RTX. Set all HFmode operations as NULL_RTX.
1624 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
1625 NULL_RTX, try reversing the comparison and the operands.
1626
6d7a1c4c
UW
16272002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
1628
1629 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
1630 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
1631 and MATCH_OP_DUP.
1632
66d54344
JH
1633Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
1634
1635 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
1636
068473ec
JH
1637Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
1638
1639 * basic-block.h (fixup_abnormal_edges): Declare.
1640 * reload1.c (fixup_abnormal_edges): New function.
1641 * reg-stack.c (convert_regs): Use it.
1642
1643 * gcse.c (insert_insn_end_bb): Handle trapping insns.
1644
1645 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
1646
71925bc0
RS
16472002-03-07 Richard Sandiford <rsandifo@redhat.com>
1648
1649 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
1650 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
1651 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
1652 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
1653 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
1654 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
1655 unless x and y could be infinite.
1656 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
1657 Check that the common type of both arguments is a real, even for
1658 targets without unordered comparisons. Allow an integer argument
1659 to be compared against a real.
1660 (expand_tree_builtin): Use expand_unordered_cmp.
1661 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
1662 * cse.c (fold_rtx): Likewise. Fix indentation.
1663 * fold-const.c (fold_real_zero_addition_p): New.
1664 (fold): Use it, and the new HONOR_... macros.
1665 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
1666 * jump.c (reversed_comparison_code_parts): After searching for
1667 the true comparison mode, use HONOR_NANS to decide whether it
1668 can be safely reversed.
1669 (reverse_condition_maybe_unordered): Remove IEEE check.
1670 * simplify-rtx.c (simplify_binary_operation): Use the new macros
1671 to decide which simplifications are valid. Allow the following
1672 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
1673 and (a - -b) to (a + b).
1674 (simplify_relational_operation): Use HONOR_NANS.
1675 * doc/tm.texi: Document the MODE_HAS_... macros.
1676
145d3bf2
RE
16772002-03-07 Richard Earnshaw <rearnsha@arm.com>
1678
1679 * combine.c (simplify_comparison): If simplifying a logical shift
1680 right and compare with constant, force the comparison to unsigned.
1681
76a773f3
AH
16822002-03-07 Aldy Hernandez <aldyh@redhat.com>
1683
5b43fed1 1684 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
76a773f3 1685
5b43fed1
RH
1686 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
1687 -mabi=no-altivec
1688 (alt_reg_names): Remove % for vrsave.
76a773f3 1689
ab55f58c
RH
16902002-03-06 Richard Henderson <rth@redhat.com>
1691
5ddec02e 1692 PR optimization/5844
ab55f58c
RH
1693 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
1694 if used indicates we've already emitted one copy of an operand.
1695 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
1696 (gen_split): Supply a non-null used.
1697
e16e3291
UW
16982002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
1699
5b43fed1 1700 * reload1.c (reload): Unshare all rtl after reload is done.
e16e3291 1701
1e4e95d6 1702 * simplify-rtx.c (simplify_plus_minus): Do not abort,
e16e3291
UW
1703 but simply fail if the expression is too complex to simplify.
1704 (simplify_gen_binary): Handle simplify_plus_minus failures.
1705
2ca6672b
JH
1706Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
1707
1708 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
1709 consistently call delete_trivially_dead_insns after CSE and GCSE;
1710 fix DFI_life dumping; do jump threading after liveness; do crossjumping
1711 after liveness2; update comment in last crossjumping.
1712 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
1713
31d0dd4f
JL
1714Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
1715
d094b0b3
JL
1716 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
1717 after completing fast dead code elimination.
1718
31d0dd4f
JL
1719 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
1720 COMPARE operator.
1e4e95d6 1721
f2b958b1
PE
17222002-03-06 Phil Edwards <pme@gcc.gnu.org>
1723
1724 * version.c: Fix misplaced leading blanks on first line.
1725
a2877a09
JH
1726Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
1727
1728 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
1729
fe477d8b
JH
1730Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
1731
1732 * cfgcleanup.c (mentions_nonequal_regs): New function.
1733 (thread_jump): Use it.
1734 * toplev.c (rest_of_compilation): Run jump threading after
1735 liveness.
1736
2041cde4
JJ
17372002-03-06 Jakub Jelinek <jakub@redhat.com>
1738
1739 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
1740 patch.
1741
82d68d46
JH
1742Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
1743
1744 * predict.c (estimate_bb_frequencies): Do not reload the
1745 frequencies from notes.
1746
3dec4024
JH
1747Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
1748
1749 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
1750 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
1751
1752 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
1753 delete_noop_moves): Return indeger.
1754 * flow.c (ndead): New variable.
1755 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
1756 BB argument; update callers.
1757 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
1758 (life_analysis): Do not call purge_all_dead_edges.
1759 (update_life_info): Return number of deleted insns; print statistics.
1760 (update_life_info_in_dirty_blocks): likewise.
1761 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
1762 return number of insns deleted.
1763
1764 * cse.c: Include timevar.h
1765 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
1766 iterate until stabilizes; print statistics; return number of killed
1767 insns.
1768 * Makefile.in: (cse.o): Add timevar.h dependency
1769 * rtl.h (delete_trivially_dead_insns): New.
1770 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
1771 * toplev.c (rest_of_compilation): Update callers.
1772
1773 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
1774 (try_optimize_cfg): Do not update liveness.
1775 (cleanup-cfg): Loop until try_optimize_cfg and dead code
1776 removal stabilizes; use delete_trivially_dead_insns.
1777
1778 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
1779
c7544dd8
ZW
17802002-03-05 Zack Weinberg <zack@codesourcery.com>
1781
1782 * cppmain.c (setup_callbacks): Disable #pragma and #ident
1783 callbacks when processing assembly language.
1784
50b424a9
JDA
17852002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
1786
1787 * pa.h (ASM_FILE_END): Define.
1788 * som.h (ASM_FILE_END): Delete.
1789
1790 * pa.c (function_arg): Don't pass floats in general registers in
1791 indirect calls if TARGET_ELF32.
1792
6185f217
RH
17932002-03-05 Richard Henderson <rth@redhat.com>
1794
1795 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
1796
3020a4b2
DS
17972002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
1798
1799 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
1800
65649daa
JJ
18012002-03-05 Jakub Jelinek <jakub@redhat.com>
1802
1803 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
1804 -r command line. Don't hide any symbols if not building
1805 shared libgcc.
1806
5a1a3e5e
JH
1807Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
1808
1809 * cfg.c (dump_flow_info): Warn about profile mismatches.
1810 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
1811 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
1812
170c56da
JJ
18132002-03-05 Jakub Jelinek <jakub@redhat.com>
1814
1815 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
1816 wide volatile memory by parts.
1817
6d051694
JJ
18182002-03-05 Jakub Jelinek <jakub@redhat.com>
1819
1820 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
1821 is NULL.
1822
28bcfd4d
RH
18232002-03-05 Richard Henderson <rth@redhat.com>
1824
5b43fed1 1825 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
28bcfd4d 1826
75227a33
GK
18272002-03-04 Geoffrey Keating <geoffk@redhat.com>
1828
1829 * toplev.c (documented_lang_options): Document more
1830 language-specific options.
1831 * doc/invoke.texi (Warning Options): Correct documentation for
1832 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
1833 * c-decl.c (c_decode_option): Use a table to handle warning options.
1834
4f1aac42
HPN
18352002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
1836
1837 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
1838 parameter to mmix_encode_section_info.
1839 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
1840 relocatably. Always produce ELF, not mmo if linking relocatably.
1841 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
1842 first is non-zero, don't add symbol prefix.
1843 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
1844 prototype accordingly.
1845
12345543
KW
18462002-03-04 Krister Walfridsson <cato@df.lth.se>
1847
1848 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
1849
8e97db8f
JM
18502002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
1851
1852 * configure.in: Increase required makeinfo version to 4.1.
1853 * configure: Regenerate.
1854
06487868
GK
18552002-03-04 Geoffrey Keating <geoffk@redhat.com>
1856
1857 * .cvsignore: Remove *.info* and genrtl*; these files are generated
1858 elsewhere now.
1859
cff42170
JM
18602002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
1861
1862 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
1863 * doc/invoke.texi: Fix @math uses.
1864
974a7f56
JH
1865Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
1866
1867 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
1868 removal
1869
3b7d0e98
AH
18702002-03-03 Aldy Hernandez <aldyh@redhat.com>
1871
5b43fed1
RH
1872 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
1873 (powerpc-*-eabisimaltivec*): Same.
3b7d0e98 1874
5b43fed1 1875 * config/rs6000/t-ppcendian: New.
3b7d0e98 1876
65f2f288
HB
18772002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1878
1879 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
1880 nonimmediate_src_operand and nonimmediate_lsrc_operand to
1881 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
1882
8ce0a8a5
RH
18832002-03-03 Richard Henderson <rth@redhat.com>
1884
1885 * toplev.c (rest_of_decl_compilation): Revert last two changes.
1886
ba31d94e
ZW
18872002-03-03 Zack Weinberg <zack@codesourcery.com>
1888
1889 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
1890 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
1891 tree.c, config/m68k/m68k.c:
1892 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
1893 REAL_ARITHMETIC blocks unconditional. Delete some further
1894 #ifdef blocks predicated on REAL_ARITHMETIC.
1895 * flags.h, toplev.c: Delete remaining references to
1896 flag_pretend_float.
1897
1898 * doc/invoke.texi: Remove documentation of -fpretend-float.
1899 * doc/tm.texi: Describe the various REAL_* macros as provided by
1900 real.h, not by the target configuration files.
1901
1902 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
1903 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
1904 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
1905 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
1906 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
1907 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
1908 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
1909 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
1910 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1911 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
1912 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1913 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
1914 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
1915 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
1916 config/xtensa/xtensa.h:
1917 Do not define, undefine, or mention in comments any of
1918 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
1919 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
1920 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
1921 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
1922 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
1923 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
1924 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
1925 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
1926 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
1927
9a571cfd
KG
19282002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1929
e81dd381
KG
1930 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
1931 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
1932 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
1933 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
1934 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
1935 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
1936 Delete.
1937 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 1938 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 1939
9a571cfd
KG
1940 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
1941 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
1942 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
1943
ca7558fc
KG
19442002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1945
1946 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
1947 lieu of explicit sizeof/sizeof.
1948 * i386.c (override_options, ix86_init_mmx_sse_builtins,
1949 ix86_expand_builtin): Likewise.
1950 * mips.c (mips_add_gc_roots): Likewise.
1951 * mmix.c (mmix_output_condition): Likewise.
1952 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
1953 altivec_init_builtins): Likewise.
1954 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
1955 * cppexp.c (Nsuff, parse_number): Likewise.
1956 * cppinit.c (builtin_array_end): Likewise.
1957 * gcc.c (n_default_compilers, process_command): Likewise.
1958 * genpreds.c (output_predicate_decls): Likewise.
1959 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
1960 * lcm.c (N_ENTITIES): Likewise.
1961 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 1962
41c78c88
RH
19632002-03-03 Richard Henderson <rth@redhat.com>
1964
1965 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
1966 for types or labels.
1967
9e9b71e6
RH
19682002-03-03 Richard Henderson <rth@redhat.com>
1969
1970 * c-decl.c (start_decl): Initialized variables are not common.
1971
c26a6db8
PB
19722002-03-02 Per Bothner <per@bothner.com>
1973
1974 * gcc.c (option_map): Suport new --bootclasspath option.
1975 --CLASSPATH is now just an alias for --classpath.
1976
9e8aab55
RH
19772002-03-02 Richard Henderson <rth@redhat.com>
1978
1979 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
1980 load if "internal" visibility.
1981 * doc/extend.texi: Document visibility meanings.
1982
b3bbd220
RH
19832002-03-02 Richard Henderson <rth@redhat.com>
1984
1985 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
1986 to functions as well.
1987
b14707c3
RH
19882002-03-02 Richard Henderson <rth@redhat.com>
1989
1990 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
1991 (handle_visibility_attribute): Don't call assemble_visibility.
1992 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
1993 without asmspec. Invoke assemble_alias when needed.
1994 * varasm.c (maybe_assemble_visibility): New.
1995 (assemble_start_function, assemble_variable, assemble_alias): Use it.
1996
b2003250
RH
19972002-03-02 Richard Henderson <rth@redhat.com>
1998
1999 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
2000 invoke ENCODE_SECTION_INFO with first call flag.
2001
2002 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
2003 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 2004 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
2005 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
2006 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
2007 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
2008 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
2009 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
2010 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
2011 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
2012 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
2013 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
2014 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
2015 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
2016 config/mcore/mcore-protos.h, config/mcore/mcore.c,
2017 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
2018 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 2019 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
2020 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
2021 config/sh/sh.h, config/sparc/sparc.h,
2022 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
2023 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
2024 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
2025 FIRST argument. As needed, examine it and do nothing.
2026
ba31d94e 2027 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
2028 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
2029 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
2030
2031 * config/arm/t-pe (pe.o): Add dependencies.
2032
5c60f03d
KG
20332002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2034
2035 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
2036 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
2037 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
2038 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
2039 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
2040 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
2041 * defaults.h (BITS_PER_UNIT): Define.
2042 * doc/tm.texi (BITS_PER_UNIT): Document default value.
2043
86855e8c
KH
20442002-03-02 Kazu Hirata <kazu@hxi.com>
2045
2046 * config/h8300/h8300-protos.h: Add a prototype for
2047 compute_a_shift_length.
2048 * config/h8300/h8300.c (h8300_asm_insn_count): New.
2049 (compute_a_shift_length): Likewise.
2050 (h8300_adjust_insn_length): Do not adjust insn length of shift
2051 insns.
2052 * config/h8300/h8300.md (anonymous shift patterns): Use
2053 compute_a_shift_length.
2054
f6041ed8
RK
2055Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2056
35aa3c1c
RK
2057 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
2058 trunc_int_for_mode.
2059
f6041ed8
RK
2060 * emit-rtl.c (offset_address): Call update_temp_slot_address.
2061
27b41650
KG
20622002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2063
2064 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
2065 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
2066 * flags.h (flag_zero_initialized_in_bss): Declare.
2067 * toplev.c (flag_zero_initialized_in_bss): New flag.
2068 (lang_independent_options): Add flag_zero_initialized_in_bss.
2069 * tree.c (initializer_zerop): New function.
2070 * tree.h (initializer_zerop): Declare.
2071 * varasm.c (assemble_variable): If we can emit bss, put zero
2072 initializers in the bss section.
2073
ca734b39
AM
20742002-03-02 Alan Modra <amodra@bigpond.net.au>
2075
2076 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
2077 like more than one symbol per .weak directive.
2078
49b72306
RH
20792002-03-01 Richard Henderson <rth@redhat.com>
2080
2081 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
2082 adjust argument_pointer by pretend_args_size.
2083 (ia64_va_start): Adjust va_start address by -pretend_args_size.
2084
fbf0fe41
KH
20852002-03-01 Kazu Hirata <kazu@hxi.com>
2086
2087 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
2088
0010687d
JH
2089Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
2090
2091 * toplev.c (rest_of_compilation): Delete dead jumptables before
2092 loop.
2093 * flow.c (delete_dead_jumptables): Make global.
2094 * rtl.h (delete_dead_jumptables): Declare.
2095
9429c84c
DE
20962002-03-01 David Edelsohn <edelsohn@gnu.org>
2097
2098 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
2099 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
0c2fdcdf 2100 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
9429c84c 2101
f0b6f9a6
KH
21022002-03-01 Kazu Hirata <kazu@hxi.com>
2103
2104 * config/h8300/h8300-protos.h: Fix formatting.
2105 * config/h8300/h8300.c: Likewise.
2106 * config/h8300/h8300.h: Likewise.
2107
bc8db8a1
KH
21082002-03-01 Kazu Hirata <kazu@hxi.com>
2109
2110 * config/h8300/h8300.c (print_operand): Support 16-bit
2111 constant addresses.
2112 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
2113
32b069d3
RH
21142002-02-28 Richard Henderson <rth@redhat.com>
2115
2116 * expmed.c (store_bit_field): Prevent generation of CONCATs;
2117 pun complex values as integers; use gen_lowpart instead of
2118 gen_rtx_SUBREG.
2119 (extract_bit_field): Likewise.
2120
79c4e63f
AM
21212002-03-01 Alan Modra <amodra@bigpond.net.au>
2122 David Edelsohn <edelsohn@gnu.org>
2123
2124 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
2125 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
2126 (SUPPORTS_WEAK): Likewise.
2127 * output.h (add_weak): Add tree param.
2128 * varasm.c (add_weak): Likewise. Save decl.
2129 (struct weak_syms): Add decl field.
2130 (mark_weak_decls): New function.
2131 (init_varasm_once): ggc_add_root mark_weak_decls.
2132 (assemble_start_function): Use ASM_WEAKEN_DECL.
2133 (assemble_variable): Likewise.
2134 (assemble_alias): Likewise.
2135 (declare_weak): Pass decl to add_weak.
2136 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
2137 (remove_from_pending_weak_list): Declare and define for
2138 ASM_WEAKEN_DECL.
2139 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
2140 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
2141 * defaults.h (SUPPORTS_WEAK): Likewise.
2142 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
2143 .weak for code sym. Do emit .size for descriptor sym.
2144 (ASM_DECLARE_FUNCTION_SIZE): Define.
2145 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
2146 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
2147 .lglobl unless TARGET_XCOFF. Formatting fixes.
2148 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
2149 .weak for code sym.
2150 (HANDLE_PRAGMA_WEAK): Remove.
2151 (ASM_WEAKEN_LABEL): Remove.
2152 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
2153
6f30f1f1
JM
21542002-03-01 Jason Merrill <jason@redhat.com>
2155
2156 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
2157 (TARGET_EXPR_CLEANUP): New macro.
2158
7879b81e
SE
21592002-02-28 Steve Ellcey <sje@cup.hp.com>
2160
2161 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
2162 to take ptr_extend into account as third type of extension.
2163 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
2164 fields used by SUBREG_PROMOTED_UNSIGNED_P.
2165 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
2166 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
2167 * calls.c (precompute_arguments): Use new macro.
2168 (expand_call): Ditto.
2169 * combine.c (nonzero_bits): Ditto.
2170 (record_promoted_value): Ditto.
2171 * expr.c (store_expr): Ditto.
2172 (expand_expr): Ditto.
2173 * function.c (assign_parms): Ditto.
2174
42d579d8
AO
21752002-02-28 Alexandre Oliva <aoliva@redhat.com>
2176
2177 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
2178 override -shared and -shared-libgcc.
2179
e0054185
DB
21802002-02-28 David O'Brien <obrien@FreeBSD.org>
2181
2182 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
2183 of "ultrasparc".
2184 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
2185 to be broken.
2186
abda4f1c
RH
21872002-02-28 Richard Henderson <rth@redhat.com>
2188
2189 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
2190 4 cycle latency from MM producers.
2191 (ia64_internal_sched_reorder): Likewise with pipeline flush.
2192
c0f08649
JJ
21932002-02-28 Jakub Jelinek <jakub@redhat.com>
2194
2195 * mklibgcc.in: Don't use GNU make extension.
2196
f79f2651
NB
21972002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
2198
2199 * c-parse.in (STATIC): New terminal.
2200 (scspec): New non-terminal. Update productions accordingly.
2201 (program): Remove bogus ifc / end ifc.
2202 (array_declarator): Simplify production using STATIC.
2203
001e3fee
JM
22042002-02-28 Jim Meyering <meyering@lucent.com>
2205
2206 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
2207 \a still means TARGET_BELL.
2208
89076bb3
RH
22092002-02-28 Richard Henderson <rth@redhat.com>
2210
2211 * haifa-sched.c (sched_emit_insn): New.
2212 (schedule_block): Use last_scheduled_insn to track last insn.
2213 * sched-int.h (sched_emit_insn): Prototype.
2214 * config/ia64/ia64.c (last_issued): Remove.
2215 (ia64_variable_issue): Don't set it.
2216 (nop_cycles_until): Use sched_emit_insn.
2217
e3aaacf4
AM
22182002-02-28 Andrew MacLeod <amacleod@redhat.com>
2219
2220 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
2221 extended constants.
2222
7f473594
KH
22232002-02-28 Kazu Hirata <kazu@hxi.com>
2224
2225 * config/h8300/h8300.c: Fix formatting.
2226 * config/h8300/h8300.h: Likewise.
2227
b96c434c
MM
22282002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
2229
2230 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
2231 which may overwrite the high byte of the frame pointer.
2232
9b420a6a
BT
22332002-02-28 Bo Thorsen <bo@suse.de>
2234
2235 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
2236 (STARTFILE_SPEC): Add 64 bit files.
2237 (ENDFILE_SPEC): Likewise.
2238
6f30f1f1 22392002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
2240
2241 * c-decl.c (finish_function): Only warn about missing return
2242 statement with -Wreturn-type.
2243
70da1d03
JH
2244Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
2245
2246 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
2247
2248 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
2249 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
2250
38c1593d
JH
2251Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
2252
2253 * basic-block.h (BB_REACHABLE): Renumber.
2254 (BB_DIRTY, BB_NEW): New flags.
2255 (clear_bb_flags): Declare.
2256 (update_life_info_in_dirty_blocks): Declare.
2257 * cfg.c (clear_bb_flags): New function.
2258 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
2259 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
2260 reorder_insns, emit_insn_after): Mark block as dirty.
2261 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
2262 (update_life_info_in_dirty_blocks): New function.
2263 * recog.c (apply_change_group): Dirtify block.
2264
2265 * cse.c (cse_insn): Reorder emitting of jump insn to keep
2266 cfg consistent.
2267 * gcse.c (delete_null_pointer_checks): Likewise.
2268
2269 * toplev.c (dump_file_index): Move cse2 after bp,
2270 add DFI_null
2271 (dump_file_info): Similary.
2272 (rest_of_compilation): Avoid most of CFG rebuilds;
2273 do first if converision after null pointer checks, do cse2
2274 after branch prediction; avoid full liveness rebuild after
2275 initializing subregs.
2276 * invoke.texi (-d options): Document -du, renumber.
2277
2278 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
2279 (notice_new_block): Do not set BB_UPDATE_LIFE.
2280 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
2281 merge_blocks_move_successor_nojumps, merge_blocks,
2282 try_crossjump_to_edge): Likewise.
2283 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
2284 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
2285 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
2286 (merge_of_block): Do not use life_data_ok.
2287 (find_if_case_1): Do not use SET_UPDATE_LIFE.
2288 (if_convert): Use BB_DIRTY mechanizm to update life.
2289 * lcm.c (optimize_mode_switching): Update
2290 update_life_info_in_dirty_blocks
2291
63e1b1c4
NB
22922002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
2293
2294 * Makefile.in (integrate.o): Update.
2295 * c-decl.c (copy_lang_decl): Rename.
2296 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
2297 * integrate.c: Include langhooks.h.
2298 (copy_decl_for_inlining): Update to use langhook.
2299 * langhooks-def.h (lhd_do_nothing_t,
2300 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
2301 (LANG_HOOKS_INITIALIZER): Update.
2302 * langhooks.c (lhd_do_nothing_t): New.
2303 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
2304 * tree.h (copy_lang_decl): Remove.
2305objc:
2306 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
2307
f472fa29
AM
23082002-02-27 Andrew MacLeod <amacleod@redhat.com>
2309
ba31d94e 2310 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
2311 POST_DEC, and POST_MODIFY.
2312
273cf2e4
ZW
23132002-02-27 Zack Weinberg <zack@codesourcery.com>
2314
2315 * c-typeck.c (digest_init): Remove unused parameter; all
2316 callers changed.
2317
4e07d762
GK
23182002-02-27 Geoffrey Keating <geoffk@redhat.com>
2319
2320 * expmed.c (expand_shift): Correctly test for low part of a
2321 subreg.
2322
6bc627b3
UW
23232002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
2324
2325 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
2326 insn UIDs with insn addresses.
2327
f458d1d5
ZW
23282002-02-27 Zack Weinberg <zack@codesourcery.com>
2329
2330 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
2331 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
2332 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
2333 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
2334 gcc.c, toplev.c: Delete code implementing -traditional mode.
2335
2336 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
2337 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
2338 Document removal of -traditional mode for compilation, and
2339 remove documentation only relevant to that mode.
2340
2341 * config/nextstep.h, config/ptx4.h, config/svr4.h,
2342 config/convex/convex.h, config/d30v/d30v.h,
2343 config/i386/dgux.h, config/i386/osf1elf.h,
2344 config/i386/osfelf.h, config/i386/osfrose.h,
2345 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
2346 config/m68k/hp310.h, config/m88k/dgux.h,
2347 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
2348 config/m88k/m88k.h, config/m88k/openbsd.h,
2349 config/mips/abi64.h, config/mips/osfrose.h,
2350 config/mips/svr4-5.h, config/mips/svr4-t.h,
2351 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
2352 config/stormy16/stormy16.h: Remove all references to
2353 -traditional from target specs. Delete all mention of the
2354 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
2355 delete a couple of commented-out definitions of
2356 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
2357 to -traditional.
2358
2359 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
2360 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
2361
e0b3a8ff
ZW
23622002-02-27 Zack Weinberg <zack@codesourcery.com>
2363
2364 * mklibgcc.in: Don't use \n in a line subject to
2365 interpretation by echo.
2366
5c6a85b7
GS
23672002-02-27 Graham Stott <grahams@redhat.com>
2368
72b05af1
GS
2369 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
2370 Constify NAME.
2371
7d104885
GS
2372 * loop.c (prescan_loop): Handle PARALLEL.
2373
8ed805d2
GS
2374 * unroll.c (loop_iterations): Return 0 if the add_val for
2375 a BIV is REG.
2376
fd478a0a
GS
2377 * final.c (output_operand_lossage): Constify PFX_STR.
2378
5c6a85b7
GS
2379 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
2380
cd98ad03
JH
2381Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
2382
2383 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
2384 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
2385
639ae55b
JH
2386Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
2387
2388 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
2389
e808ec9c
NB
23902002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
2391
2392 * cpplex.c (_cpp_lex_token): Handle directives in macro
2393 arguments.
2394 * cpplib.c (_cpp_handle_directive): Save and restore state
2395 if parsing macro args when entering a directive.
2396 * cppmacro.c (collect_args): No need to handle directives
2397 in macro arguments.
2398 (enter_macro_context, replace_args): Use the original macro
2399 definition in case it was redefined whilst collecting arguments.
2400doc:
2401 * cpp.texi: Update.
2402
f585a356
DE
24032002-02-26 David Edelsohn <edelsohn@gnu.org>
2404
2405 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
2406 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
2407 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
2408 method on AIX.
2409 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
2410 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
2411 (load_toc_v4_PIC_2): Same.
2412
24132002-02-26 Alan Modra <amodra@bigpond.net.au>
2414
2415 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
2416
d699058e
RH
24172002-02-26 Richard Henderson <rth@redhat.com>
2418
2419 * config/alpha/alpha.md (ashldi_se): Re-enable.
2420
eadccfbb
RH
24212002-02-26 Richard Henderson <rth@redhat.com>
2422
2423 * config/alpha/alpha.c (alpha_encode_section_info): Examine
2424 MODULE_LOCAL_P; improve commentary.
2425
7080ada1
ZW
24262002-02-26 Zack Weinberg <zack@codesourcery.com>
2427
2428 * doc/cpp.texi: Clarify documentation of relationship between
2429 #line and #include.
2430
b42cff6b
KH
24312002-02-26 Kazu Hirata <kazu@hxi.com>
2432
2433 * config/h8300/h8300-protos.h: Update the prototype for
2434 compute_logical_op_length. Add the prototype for
2435 compute_logical_op_cc.
2436 * config/h8300/h8300.c (compute_logical_op_length): Figure out
2437 code from operands.
2438 (compute_logical_op_cc): New.
2439 * config/h8300/h8300.md: Combine all the logical op patterns
2440 in HImode and SImode. Use compute_logical_op_cc.
2441
831c4e87
KC
24422002-02-26 Kelley Cook <kelleycook@comcast.net>
2443
2444 * config/i386/i386.c (print_operand): Don't append ATT-style
2445 length suffixs to x87 opcodes when in Intel mode.
2446
ff88fe10
RS
24472002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
2448
2449 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
2450 (init_emit_once): Update calls.
2451 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
2452 (init_syntax_once): Prototype.
2453
d4108589
JDA
24542002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
2455
2456 * pa-linux.h (LIB_SPEC): Update definition.
2457 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
2458
e013f3c7
RH
24592002-02-26 Richard Henderson <rth@redhat.com>
2460
2461 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
2462 if we emitted a stop bit.
2463
9e944a16
JJ
24642002-02-26 Jakub Jelinek <jakub@redhat.com>
2465
2466 * configure.in (libgcc_visibility): Substitute.
2467 * configure: Rebuilt.
2468 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
2469 defined symbols .hidden.
2470
47bd70b5
JJ
24712002-02-26 Jakub Jelinek <jakub@redhat.com>
2472
2473 * attribs.c (c_common_attribute_table): Add visibility.
2474 (handle_visibility_attribute): New function.
2475 * varasm.c (assemble_visibility): New function.
2476 * output.h (assemble_visibility): Add prototype.
2477 * tree.h (MODULE_LOCAL_P): Define.
2478 * crtstuff.c (__dso_handle): Use visibility attribute.
2479 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
2480 for MODULE_LOCAL_P symbols too.
2481 * config/ia64/ia64.c (ia64_encode_section_info): Handle
2482 MODULE_LOCAL_P symbols the same way as local symbols.
2483 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
2484 into .sdata/.sbss by the user.
2485 * doc/extend.texi (Function Attributes): Document visibility
2486 attribute.
2487
6d73371a
JJ
24882002-02-26 Jakub Jelinek <jakub@redhat.com>
2489
2490 PR debug/5770
2491 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
2492 STRING_CST initializer spanning the whole variable without
2493 embedded zeros.
2494 If expand_expr returned MEM, don't use it.
2495
06e224f7
AO
24962002-02-26 Alexandre Oliva <aoliva@redhat.com>
2497
2498 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
2499 generate a die for the lexical block.
2500
40367e2d
KH
25012002-02-26 Kazu Hirata <kazu@hxi.com>
2502
2503 * config/h8300/h8300-protos.h: Add a prototype for
2504 compute_logical_op_length.
2505 * config/h8300/h8300.c (compute_logical_op_length): New.
2506 * config/h8300/h8300.md (anonymous logical patterns): Use
2507 compute_logical_op_length for length.
2508
0e98f924
AH
25092002-02-26 Aldy Hernandez <aldyh@redhat.com>
2510
831c4e87
KC
2511 * dwarf2out.c (modified_type_die): Do not call type_main_variant
2512 for vectors.
2513 (gen_type_die): Same.
0e98f924 2514
831c4e87 2515 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 2516
a50cfd52
DE
25172002-02-26 Daniel Egger <degger@fhm.edu>
2518
831c4e87
KC
2519 * config/rs6000/rs6000.md: Swap define_insn attributes to
2520 fix incorrect generation of merge high instructions instead
2521 of merge low.
a50cfd52 2522
b7997284
AH
25232002-02-26 Aldy Hernandez <aldyh@redhat.com>
2524
831c4e87
KC
2525 * c-typeck.c (really_start_incremental_init): Use
2526 bitsize_zero_node for vectors.
b7997284 2527
376aec5d
AH
25282002-02-26 Aldy Hernandez <aldyh@redhat.com>
2529
831c4e87
KC
2530 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
2531 ("*set_vrsave_internal"): Same.
376aec5d 2532
3b40e71b
RH
25332002-02-25 Richard Henderson <rth@redhat.com>
2534
2535 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
2536 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
2537
232b8f52
JJ
25382002-02-25 Jakub Jelinek <jakub@redhat.com>
2539
2540 PR target/5755
2541 * config/i386/i386.c (ix86_return_pops_args): Only pop
2542 fake structure return argument if it was passed on the stack.
2543
67282790
JM
25442002-02-25 Jason Merrill <jason@redhat.com>
2545
2546 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
2547 RESULT_DECL.
2548
5c181756
AO
25492002-02-25 Alexandre Oliva <aoliva@redhat.com>
2550
2551 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
2552 link with shared_name only.
2553 * doc/invoke.texi (Link Options): Document new behavior.
2554
6786d201
AH
25552002-02-25 Aldy Hernandez <aldyh@redhat.com>
2556
831c4e87 2557 * c-typeck.c (push_init_level): Handle vectors.
6786d201 2558
7d6040e8
AO
25592002-02-25 Alexandre Oliva <aoliva@redhat.com>
2560
2561 * config/sparc/sparc.c (const64_high_operand): Zero-extend
2562 operands of SPARC_SETHI_P.
2563 (input_operand): Likewise.
2564 (sparc_emit_set_const32): Likewise.
2565 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
2566 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
2567 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
2568 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
2569 (movdi_insn_sp64_vis): Likewise.
2570 (movdi split, movdf split): Use SETHI32.
2571 * doc/md.texi: Document SPARC constraints L, M and N.
2572
b188f760
AH
25732002-02-25 Aldy Hernandez <aldyh@redhat.com>
2574
831c4e87
KC
2575 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
2576 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 2577
831c4e87
KC
2578 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
2579 gen_get_vrsave_internal.
b188f760 2580
8041889f
RK
2581Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2582
2583 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
2584
a47ed310
NB
25852002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
2586
2587 * cpplex.c (cpp_interpret_charconst): Get signedness or
2588 otherwise of wide character constants correct.
2589 * cppexp.c (lex): Get signedness of wide charconsts correct.
2590
cb8f73be
RK
2591Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2592
2593 * optabs.c (widen_operand): Only call convert_modes for
2594 promoted SUBREG if signedness matches.
2595 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
2596
2450e0b8
NB
25972002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
2598
2599 * cpplib.c (glue_header_name): Use local buffer to build up
2600 header name.
2601
70b6aaed
NB
26022002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
2603
2604 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
2605
6be580c7
KH
26062002-02-23 Kazu Hirata <kazu@hxi.com>
2607
2608 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
2609 H8/300[HS] separately.
2610 * config/h8300/h8300.md: Remove the early clobber constraint
2611 from bit field patterns.
2612
35dad9f1
KH
26132002-02-23 Kazu Hirata <kazu@hxi.com>
2614
2615 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
2616 register_operand.
2617 (mulhisi3): Likewise.
2618 (umulqisi3): Likewise.
2619 (umulhisi3): Likewise.
2620
ab8e2228
NB
26212002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
2622
2623 * cppinit.c (output_deps): Correct test for stdout output.
2624 (init_dependency_output): Cure warning.
2625
ac6f8a15
RK
2626Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2627
2628 * expr.c (store_expr): When converting expression to promoted
2629 equivalent type, allow using SUBREG_REG of TARGET as the target
2630 of the expansion of EXP.
2631 * loop.c (basic_induction_var, case SUBREG): Always look inside.
2632 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
2633 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
2634 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
2635 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
2636
f282ffb3
JM
26372002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
2638
2639 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
2640 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
2641 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
2642
44c5edc0
JJ
26432002-02-23 Jakub Jelinek <jakub@redhat.com>
2644
2645 PR optimization/5747
2646 * loop.c (scan_loop): Update reg info if move_movables created new
2647 pseudos.
2648
f98e43c0
DE
26492002-02-23 David Edelsohn <edelsohn@gnu.org>
2650
2651 * gcc.c (init_gcc_spec): Revert last change.
2652
e72247f4
DE
26532002-02-23 David Edelsohn <edelsohn@gnu.org>
2654
2655 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
2656 gpc_reg_operand constraint.
2657
26582002-02-23 Alan Modra <amodra@bigpond.net.au>
2659
2660 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
2661 Simplify comparison of `low'.
2662 (add_operand): Fix formatting.
2663 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 2664 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
2665 (rs6000_stack_info): Remove redundant test setting push_p.
2666 (output_toc): Fix formatting.
2667 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
2668 cc_reg_not_cr0_operand constraint.
2669 (booldi3, boolcdi3 splitters): Same.
2670
a5c30531
AH
26712002-02-23 Aldy Hernandez <aldyh@redhat.com>
2672
831c4e87 2673 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 2674
43710f9f
DE
26752002-02-22 David Edelsohn <edelsohn@gnu.org>
2676
2677 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
2678 gcc invoked with -shared-libgcc.
2679
3256b817
JJ
26802002-02-22 Jakub Jelinek <jakub@redhat.com>
2681
2682 PR c++/5748
2683 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
2684 decl if any of elements was TREE_USED.
2685
9e0625a3
AO
26862002-02-22 Alexandre Oliva <aoliva@redhat.com>
2687
2688 * config/sparc/sol2.h: Don't include sys/mman.h.
2689 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
2690 (arith_4096_operand): Don't throw high bits away.
2691 (const64_operand): Take sign extension of CONST_INTs into account.
2692 (const64_high_operand, sparc_emit_set_const32): Likewise.
2693 (GEN_HIGHINT64): Likewise.
2694 (sparc_emit_set_const64_quick1): Likewise.
2695 (const64_is_2insns): Likewise.
2696 (print_operand): Use trunc_int_for_mode for sign extension.
2697 * config/sparc/sparc.h (SMALL_INT32): Likewise.
2698 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
2699 chars. Assume CONST_INT is already properly sign-extended.
2700 (movdi split): Sign-extend each SImode part.
2701 (andsi3 split): Don't mask high bits off, so that result
2702 remains properly sign-extend.
2703 (iorsi3 split): Likewise.
2704 (xorsi3 split): Likewise.
2705
54fec3d5
RS
27062002-02-22 Richard Sandiford <rsandifo@redhat.com>
2707
2708 * fold-const.c (fold): Fix typo in comments.
2709
667ada9b
DN
27102002-02-21 Diego Novillo <dnovillo@redhat.com>
2711
2712 * Makefile.in (langhooks.o): Update dependencies.
2713
29ac78d5
DN
27142002-02-21 Diego Novillo <dnovillo@redhat.com>
2715
2716 * langhooks.c: Include flags.h.
2717
6aa77e6c
AH
27182002-02-21 Aldy Hernandez <aldyh@redhat.com>
2719
2720 * testsuite/gcc.dg/attr-alwaysinline.c: New.
2721
2722 * c-common.c (c_common_post_options): Set inline trees by
2723 default.
2724
2725 * doc/extend.texi (Function Attributes): Document always_inline
2726 attribute.
2727 Update documentation about inlining when not optimizing.
2728
2729 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
2730
2731 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
2732 unless DECL_ALWAYS_INLINE.
2733
2734 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
2735 unless DECL_ALWAYS_INLINE.
2736 (c_disregard_inline_limits): Disregard if always_inline set.
2737
2738 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
2739 Disregard if always_inline set.
2740 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
2741 unless DECL_ALWAYS_INLINE.
2742
2743 * attribs.c (handle_always_inline_attribute): New.
2744 (c_common_attribute_table): Add always_inline.
2745
2746 * config/rs6000/altivec.h: Add prototypes for builtins
2747 requiring the always_inline attribute.
2748
c410d49e
EC
27492002-02-21 Eric Christopher <echristo@redhat.com>
2750
2751 * expmed.c (store_bit_field): Try to simplify the subreg
2752 before generating a new one when when the mode size of
2753 value is less than maxmode.
2754
e3c8ea67
RH
27552002-02-21 Richard Henderson <rth@redhat.com>
2756
2757 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
2758 than gen_rtx_PLUS to form the sum.
2759 * explow.c (force_reg): Rearrange to not allocate new pseudo
2760 when force_operand returns a register.
2761 * expr.c (expand_assignment): Allow offset_rtx expansion to
2762 return a sum. Do not force addresses into registers.
2763 (expand_expr): Likewise.
2764 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
2765 to canonicalize arithmetic that didn't simpify.
2766 (simplify_plus_minus): New argument force; update
2767 all callers. Don't split CONST unless we can do something with it,
2768 and wouldn't lose the constness of the operands.
2769
2770 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
2771 that we generated earlier.
2772
c1a046e5
TT
27732002-02-21 Tom Tromey <tromey@redhat.com>
2774
2775 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
2776 (output_line_info): Use constant `1', with a long explanatory
2777 comment.
2778 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
2779
31fbaad4
R
2780Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
2781
2782 * jump.c (redirect_jump): If old label has no UID, don't try to
2783 delete it.
2784
a7f52356
R
2785Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
2786
2787 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
2788 If input is constant, do shifts at compile time.
2789
924fcc4e
JM
27902002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
2791
2792 * doc/extend.texi: Fix some more overfull hboxes.
2793
e5a20888
JJ
27942002-02-21 Jakub Jelinek <jakub@redhat.com>
2795
2796 PR optimization/4994
2797 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
2798 register moves.
2799
28002002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
2801
2802 PR c++/4574
2803 * expr.h (expand_and): Add mode argument.
2804 * expmed.c (expand_and): Add mode argument.
2805 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
2806 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
2807 * except.c (expand_builtin_extract_return_addr): Likewise.
2808 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
2809 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
2810 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
2811 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
2812 * config/c4x/c4x.md: Use GEN_INT (x) instead of
2813 gen_rtx (CONST_INT, VOIDmode, x).
2814
7133e992
JJ
28152002-02-21 Jakub Jelinek <jakub@redhat.com>
2816
2817 PR c/4697:
2818 * stmt.c (warn_if_unused_value): Move side effects test once more.
2819
e2ec05a6
TG
28202002-02-20 Torbjorn Granlund <tege@swox.com>
2821
2822 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 2823 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 2824
9dd791c8
AO
2825Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
2826
2827 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
2828 SUBREG or ZERO_EXTEND.
2829
7ab56274
R
2830Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
2831
2832 * sh.h (current_function_anonymous_args): Remove.
2833 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
2834 of current_function_varargs and current_function_stdarg is set.
2835 * sh.c (sh_expand_prologue): Check current_function_varargs /
2836 current_function_stdarg / TARGET_SH5 instead of
2837 current_function_anonymous_args.
2838
2839 * sh64.h (TARGET_VERSION): Define.
2840
b1765bde
DE
28412002-02-20 David Edelsohn <edelsohn@gnu.org>
2842
2843 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
2844 VRSAVE_REGNO on TARGET_ALTIVEC.
2845
28462002-02-20 Alan Modra <amodra@bigpond.net.au>
2847
2848 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
2849 bits of SImode const_int.
2850 (includes_rshift_p): Likewise.
2851 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 2852 mode.
b1765bde
DE
2853 (rs6000_output_function_epilogue): Pad traceback table to word.
2854 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
2855 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
2856 mask64_operand with correct mode.
b1765bde
DE
2857 (FUNCTION_ARG_REGNO_P): Correct parentheses.
2858
149d6f9e
JJ
28592002-02-20 Jakub Jelinek <jakub@redhat.com>
2860
2861 PR debug/4461
2862 * varasm.c (get_pool_constant_mark): New.
2863 * rtl.h (get_pool_constant_mark): Add prototype.
2864 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
2865 be represented if it has not been output.
2866
4161da12
AO
28672002-02-20 Alexandre Oliva <aoliva@redhat.com>
2868
2869 * combine.c (do_SUBST): Sanity check substitutions of
2870 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
2871 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
2872 CONST_INT into its operand.
2873 (known_cond): Likewise, for ZERO_EXTEND.
2874 * simplify-rtx.c (simplify_unary_operation): Fix condition to
2875 allow for simplification of wide modes. Reject CONST_INTs in
2876 ZERO_EXTEND when their actual mode is not given.
2877
3704ef74
AO
28782002-02-20 Alexandre Oliva <aoliva@redhat.com>
2879
2880 * c-decl.c (pushdecl): If no global declaration is found for an
2881 extern declaration in block scope, try a limbo one.
2882
7552da58
JJ
28832002-02-20 Jakub Jelinek <jakub@redhat.com>
2884
2885 PR c++/4401
2886 * c-common.c (pointer_int_sum): Moved from...
2887 * c-typeck.c (pointer_int_sum): ...here.
2888 * c-common.h (pointer_int_sum): Add prototype.
2889
00fae85d
JJ
28902002-02-20 Jakub Jelinek <jakub@redhat.com>
2891
2892 PR c++/5713
2893 * c-decl.c (duplicate_decls): Return 0 if issued error about
2894 redeclaration.
2895
4636c87e
JJ
28962002-02-20 Roger Sayle <roger@eyesopen.com>
2897 Jakub Jelinek <jakub@redhat.com>
2898
2899 PR c/4389
2900 * tree.c (host_integerp): Ensure that the constant integer is
2901 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
2902 when pos is zero or non-zero respectively. Clarify comment.
2903 * c-format.c (check_format_info_recurse): Fix host_integerp
2904 usage; the pos argument should be zero when assigning to a
2905 signed HOST_WIDE_INT.
2906
59bef189
RH
29072002-02-20 Richard Henderson <rth@redhat.com>
2908
2909 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
2910 of the operand, rather than assuming TImode.
2911 (ix86_expand_binop_builtin): Cope with commutative patterns
2912 using nonimmediate_operand for both operands.
2913 (ix86_expand_timode_binop_builtin): Likewise.
2914 (ix86_expand_store_builtin): Validate operand 1.
2915 (ix86_expand_unop1_builtin): Likewise.
2916
9338ffe6 29172002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 2918
9338ffe6
PB
2919 PR 5705
2920 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
2921
f322b423
RH
29222002-02-20 Richard Henderson <rth@redhat.com>
2923
2924 PR c/5615
2925 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
2926
d94084f7
TT
29272002-02-20 Tom Tromey <tromey@redhat.com>
2928
2929 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
2930 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
2931 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
2932 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
2933 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
2934 unconditionally.
2935
37fa124a
AM
2936Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
2937
2938 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
2939 for (const_int 0) in X not just INTVAL.
2940
6e5bb5ad
JM
29412002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
2942
2943 * doc/extend.texi: Avoid or reduce overfull hboxes.
2944
420e7dfa
DN
29452002-02-20 Diego Novillo <dnovillo@redhat.com>
2946
2947 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
2948 operations if the field does not start at a mode boundary.
2949
1b7a2af6
JS
29502001-02-20 Joel Sherrill <joel@OARcorp.com>
2951
2952 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
2953 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
2954 Also done for -Acpu and -Amachine.
2955
56cd5b95
NB
29562002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
2957
2958 * cppinit.c (init_dependency_output): Take deps output file
2959 from -o if none given with -MF. Suppress normal output.
c410d49e 2960 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
2961 * doc/cpp.texi, doc/invoke.texi: Update.
2962
042cdf71
ZW
29632002-02-19 Zack Weinberg <zack@codesourcery.com>
2964
2965 * toplev.c (output_quoted_string): Write unprintable
2966 characters with octal escapes.
2967
c1f11548
DE
29682002-02-19 David Edelsohn <edelsohn@gnu.org>
2969
2970 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
2971 really_call_used[VRSAVE_REGNO] if not Altivec.
2972
29732002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 2974
c1f11548
DE
2975 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
2976 MODE_MASK.
2977 (constant_pool_expr_1): Fix formatting.
2978 (rs6000_legitimize_reload_address): Likewise.
2979
c964d90e
RK
2980Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2981
2982 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
2983 now that we have one.
2984
ae34ac46
ZW
29852002-02-19 Zack Weinberg <zack@codesourcery.com>
2986
2987 * tree.h (struct tree_common): Remove aux. Add unused_0 at
2988 end of first block of bitfields (which was only seven bits);
2989 rename dummy to unused_1; remove comment which is no longer true.
2990
293c28ee
GS
29912002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
2992
2993 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
2994
7b8781c8
PB
29952002-02-19 Philip Blundell <pb@nexus.co.uk>
2996
0cb6c58d 2997 PR 5399
7b8781c8
PB
2998 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
2999 if generating PIC.
3000
3001 PR 5054
3002 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
3003 arm_is_longcall_p rather than inspecting call-type cookie
3004 directly.
3005 (call_value_insn) [TARGET_THUMB]: Likewise.
3006
5c464583
GS
30072002-02-19 Graham Stott <grahams@redhat.com>
3008
3009 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
3010
71c061e6
DE
30112002-02-19 David Edelsohn <edelsohn@gnu.org>
3012
3013 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
3014 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 3015 (FP_SAVE_INLINE): Delete.
71c061e6
DE
3016
3017 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
3018 * config/rs6000/eabi.asm: Remove ABI save restore routines.
3019 * config/rs6000/t-ppccomm: Build crtsavres.o.
3020 * config/rs6000/crtsavres.asm: New file.
3021
3a7731fd
PB
30222002-02-19 Philip Blundell <philb@gnu.org>
3023
3024 * config/arm/arm.c (use_return_insn): Don't reject interrupt
3025 functions.
3026 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
3027 (output_return_instruction): Allow interrupt functions to return with
3028 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
3029 (arm_expand_prologue): Subtract 4 before stacking LR in an
3030 interrupt function.
3031
14f583b8
PB
30322002-02-19 Philip Blundell <pb@nexus.co.uk>
3033
3034 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
3035 decl, not just FUNCTION_DECL.
3036 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
3037 (arm_assemble_integer): Likewise.
3038 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
3039 marked local.
c410d49e 3040
4cb7482c
MG
30412002-02-19 matthew green <mrg@eterna.com.au>
3042
3043 * config.gcc (sparc-*-netbsdelf*): Enable target.
3044 (sparc64-*-netbsd*): New target.
3045 * config/sparc/netbsd-elf.h: New file.
3046 * config/sparc/t-netbsd64: New file.
3047
2df3a718
GS
30482002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
3049
3050 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
3051
77f6c1eb
RS
30522002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
3053
3054 * doc/invoke.texi: explicitly list the style guidelines that
3055 -Weffc++ checks for.
3056
fd973d56
JH
3057Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
3058
3059 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
3060
30518e45
NB
30612002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
3062
3063 PR other/5718
3064 * gcc.c (cpp_unique_options): Treat -o as indicating object file
3065 only if not -E. If -E, pass -o through to the preprocessor.
3066
39ea5704
KH
30672002-02-19 Kazu Hirata <kazu@hxi.com>
3068
3069 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
3070 register number with an appropriate macro.
3071
7355dba7
BM
30722002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3073
3074 * doc/rtl.texi (Constants): Close @code tag.
3075
91c8aa9e
AH
30762002-02-19 Aldy Hernandez <aldyh@redhat.com>
3077
3078 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
3079 ("mmx_uavgv4hi3"): Same.
3080 ("pmulhrwv4hi3"): Same.
3081
3082 * tree-inline.c (walk_tree): Handle vectors.
3083
3084 * c-common.c (constant_expression_warning): Handle vectors.
3085 (overflow_warning): Same.
3086
3087 * sched-deps.c (sched_analyze_2): Handle vectors.
3088
3089 * rtlanal.c (rtx_unstable_p): Handle vectors.
3090 (rtx_varies_p): Same.
3091 (count_occurrences): Same.
3092 (regs_set_between_p): Same.
3093 (modified_between_p): Same.
3094 (modified_in_p): Same.
3095 (volatile_insn_p): Same.
3096 (volatile_refs_p): Same.
3097 (side_effects_p): Same.
3098 (may_trap_p): Same.
3099 (inequality_comparisons_p): Same.
3100 (replace_regs): Same.
3101 (computed_jump_p_1): Same.
3102
3103 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
3104 argument.
3105 (inner_mode_array): New.
3106 (copy_rtx): Handle vectors.
3107 (copy_most_rtx): Same.
3108 (rtx_equal_p): Same.
3109 (get_mode_alignment): Adjust for vectors.
3110
3111 * resource.c (mark_referenced_resources): Handle vectors.
3112 (mark_set_resources): Same.
3113
3114 * reload1.c (eliminate_regs): Handle vectors.
3115 (elimination_effects): Same.
3116 (scan_paradoxical_subregs): Same.
3117
3118 * reload.c (subst_reg_equivs): Handle vectors.
3119
3120 * regrename.c (scan_rtx): Handle vectors.
3121
3122 * regclass.c (reg_scan_mark_refs): Handle vectors.
3123
3124 * recog.c (find_single_use_1): Handle vectors.
3125
3126 * local-alloc.c (equiv_init_varies_p): Handle vectors.
3127 (contains_replace_regs): Same.
3128 (memref_referenced_p): Same.
3129
3130 * integrate.c (copy_rtx_and_substitute): Handle vectors.
3131 (subst_constants): Same.
3132
3133 * genattrtab.c (attr_copy_rtx): Handle vectors.
3134 (encode_units_mask): Same.
3135 (clear_struct_flag): Same.
3136 (count_sub_rtxs): Same.
3137
3138 * gcse.c (want_to_gcse_p): Handle vectors.
3139 (oprs_unchanged_p): Same.
3140 (hash_expr_1): Same.
3141 (oprs_not_set_p): Same.
3142 (expr_killed_p): Same.
3143 (compute_transp): Same.
3144 (store_ops_ok): Same.
3145
3146 * function.c (purge_addressof_1): Do not allow paradoxical subregs
3147 of vectors.
3148 (fixup_var_refs_1): Same.
3149 (instantiate_virtual_regs_1): Same.
3150
3151 * fold-const.c (operand_equal_p): Handle vectors.
3152 (fold): Same.
3153 (rtl_expr_nonnegative_p): Same.
3154
3155 * flow.c (mark_used_regs): Handle vectors.
3156
3157 * df.c (df_uses_record): Handle vectors.
3158
3159 * cselib.c (cselib_subst_to_values): Handle vectors.
3160 (cselib_mem_conflict_p): Same.
3161 (hash_rtx): Same.
3162
3163 * cse.c (canon_reg): Handle vectors.
3164 (fold_rt): Same.
3165 (cse_process_notes): Same.
3166 (count_reg_usage): Same.
3167 (canon_hash): Same.
3168
3169 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
3170
3171 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
3172
3173 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
3174 (gen_rtx): Handle CONST_VECTOR.
3175 (gen_const_vector_0): New.
3176 (copy_rtx_if_shared): CONST_VECTORs can be shared.
3177 (reset_used_flags): Same.
3178 (copy_insn_1): Same.
3179 (initializer_constant_valid_p): Handle VECTOR_CST.
3180
3181 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
3182
3183 * doc/rtl.texi (Constants): Document const_vector.
3184 (CONST0_RTX): Update for vectors.
3185 (RTL sharing): Same.
3186
3187 * print-tree.c (print_node): Add case for VECTOR_CST.
3188
3189 * tree.h (TREE_VECTOR_CST_ELTS): New.
3190 (struct tree_vector): New.
3191 (union tree_node): Add vector node.
3192 (build_vector): Add prototype.
3193
3194 * tree.def (VECTOR_CST): New.
3195
3196 * tree.c (build_vector): New.
3197
3198 * expmed.c (make_tree): Handle CONST_VECTOR.
3199
3200 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
3201 (CONST_VECTOR_ELT): New.
3202 (CONST_VECTOR_NUNITS): New.
3203
3204 * machmode.h (GET_MODE_INNER): New.
3205 (DEF_MACHMODE): Accept 8th arg.
3206
3207 * machmode.def: Add 8th argument for vector inner mode.
3208 Add inner vector modes for vectors.
3209
3210 * rtl.def (VEC_CONST): Remove.
3211 (CONST_VECTOR): New.
3212
3213 * expr.c (clear_storage): Allow vectors.
3214 (is_zeros_p): Handle VECTOR_CST.
3215
3216 * varasm.c (output_constant_pool): Handle vectors.
3217 (rtx_const): Add veclo and vechi fields.
3218 (kind): Add RTX_VECTOR.
3219 (decode_rtx_const): Add case for vector.
3220
3221 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 3222
91c8aa9e
AH
3223 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
3224 constants. Force easy vector constants into memory.
3225 (easy_vector_constant): New.
3226 (emit_easy_vector_constant): New.
3227 (rs6000_legitimize_reload_address): Do not generate bad reloads on
3228 darwin.
3229
3230 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
3231 instruction does.
3232 ("altivec_lvxl"): Same.
3233 (altivec_lvebx): Same.
3234 (altivec_lvehx): Same.
3235 (altivec_lvewx): Same.
3236 ("*movv4si_const0"): New.
3237 ("*movv4sf_const0"): New.
3238 ("*movv8hi_const0"): New.
3239 ("*movv16qi_const0"): New.
3240
d4d6d0ce
KH
32412002-02-18 Kazu Hirata <kazu@hxi.com>
3242
3243 * config/h8300/h8300.c (notice_update_cc): Use
3244 cc_status.value2.
3245
4915d3aa
KH
32462002-02-18 Kazu Hirata <kazu@hxi.com>
3247
3248 * config/h8300/h8300.md (divmod patterns): Change the
3249 constraints for operands[1] to register_operand.
3250
82be00ee
KH
32512002-02-18 Kazu Hirata <kazu@hxi.com>
3252
3253 * config/h8300/h8300-protos.h: Remove the prototype for
3254 p_operand.
3255 * config/h8300/h8300.c (p_operand): Remove.
3256 * config/h8300/h8300.md: Replace p_operand with
3257 const_int_operand.
3258
1768c26f
PB
32592002-02-18 Philip Blundell <pb@nexus.co.uk>
3260
3261 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
3262 comment.
3263 (output_return_instruction): Allow use of LDR to unstack
3264 return addresss even for interrupt handlers or when
3265 interworking. If compiling for ARMv5, use interworking-safe
3266 return instructions by default. Remove duplicated code and
3267 lengthy "strcat" sequences.
3268
ccd84f51
FS
32692002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3270
3271 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
3272 (LINK_EH_SPEC): Define.
3273 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
3274
2c153108
UW
32752002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
3276
3277 * config/s390/s390.c (s390_emit_prologue): Do not set the
3278 frame_related flag for call-clobbered registers.
3279
e95d6b23
JH
3280Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
3281
3282 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
3283 (construct_container): Fix handling of SSE operands.
3284 (ix86_expand_builtin): Fix handling of 64bit pointers.
3285 (mmx_maskmovq_rex): New pattern.
3286
c43a12b5
JH
3287Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
3288
3289 * regrename.c (kill_set_value): Handle subregs properly.
3290
aeb85a15
DB
32912002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
3292
3293 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 3294 from objc_class_name.
aeb85a15 3295
a615ca3e
RH
32962002-02-17 Richard Henderson <rth@redhat.com>
3297
3298 * config/alpha/alpha.c (some_small_symbolic_operand,
3299 some_small_symbolic_operand_1, split_small_symbolic_operand,
3300 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
3301 Handle small SYMBOL_REFs anywhere, not just inside memories.
3302 * config/alpha/alpha-protos.h: Update.
3303 * config/alpha/alpha.h (PREDICATE_CODES): Update.
3304 * config/alpha/alpha.md (small symbolic operand splitter): Update.
3305
ddb28441
RM
33062002-02-17 Roland McGrath <roland@frob.com>
3307
3308 * config.gcc (powerpc-*-gnu-gnualtivec*,
3309 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
3310 * config/rs6000/gnu.h: New file.
3311 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
3312 Grok "gnu" in rs6000_abi_name.
3313 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
3314 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
3315 Grok -mcall-gnu analogous to -mcall-linux et al.
3316 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
3317 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
3318 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
3319
f6f8ada3
JJ
33202002-02-17 Jakub Jelinek <jakub@redhat.com>
3321
3322 PR c/3444:
3323 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
3324 shortening.
3325
e16b32fc
PT
33262002-02-17 Philipp Thomas <pthomas@suse.de>
3327
3328 * config/cris/cris.h: Undefine STARTFILE_SPEC and
3329 ENDFILE_SPEC before (re)defining them.
3330
f9477efd
KH
33312002-02-17 Kazu Hirata <kazu@hxi.com>
3332
3333 * config/h8300/h8300.c: Fix formatting.
3334 * config/h8300/h8300.h: Likewise.
3335
404ae494
PT
33362002-02-17 Philipp Thomas <pthomas@suse.de>
3337
3338 * doc/tm.texi: Explain why empty strings should not be
3339 marked for translation.
3340
a52453cc
PT
33412002-02-17 Philipp Thomas <pthomas@suse.de>
3342
3343 * final.c (output_operand_lossage): Changed to accept
3344 printf style arguments. Change calls where necessary.
3345 * output.h (output_operand_lossage): Change declaration
3346 accordingly. Update copyright.
3347 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
3348 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
3349 Update copyright date where necessary.
c410d49e 3350
a52453cc
PT
3351 * config/i386/i386.c (print_operand): Likewise. Remove use of
3352 sprintf.
3353
3354 * config/cris/cris.c (cris_operand_lossage): Likewise.
3355 Rename parameter so that exgettext recognizes it as
3356 translatable message.
3357 (LOSE_AND_RETURN): Rename parameter to msgid.
3358
1c11abc4
KH
33592002-02-17 Kazu Hirata <kazu@hxi.com>
3360
3361 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
3362 hard coded register number with an appropriate macro.
3363 (HARD_REGNO_MODE_OK): Likewise.
3364 (ARG_POINTER_REGNUM): Likewise.
3365 (STATIC_CHAIN_REGNUM): Likewise.
3366 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
3367 * config/h8300/h8300.md (define_constants): Define more
3368 register numbers.
3369
a5d17ff3
PT
33702002-02-17 Philipp Thomas <pthomas@suse.de>
3371
3372 * config/i386/i386.h: Don't mark empty strings for translation.
3373
1a7289c4
L
33742002-02-16 H.J. Lu <hjl@gnu.org>
3375
3376 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
3377
afb58288
ZW
33782002-02-16 Zack Weinberg <zack@codesourcery.com>
3379
3380 * cppinit.c (merge_include_chains): Check for brack being
3381 NULL before attempting to merge it with qtail.
3382
d2af4dbd
AC
33832002-02-16 Andrew Cagney <ac131313@redhat.com>
3384
3385 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
3386 DBX_DEBUG.
3387
2e1ed1e3
JDA
33882002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
3389
3390 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
3391
604c75b2
JDA
33922002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
3393
3394 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
3395 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
3396 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
3397
1a42b072
RK
3398Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3399
7303604f 3400 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
3401 now only if !TARGET_FIX.
3402 (*movsi_nt_vms_fix): New pattern.
3403
c2ea1ac6
DR
34042002-02-16 Douglas B Rupp <rupp@gnat.com>
3405
3406 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
3407 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
3408 (alpha_sa_mask, alpha_sa_size): Reflect above change.
3409 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
3410 (alpha_start_function, alpha_expand_epilogue): Likewise.
3411 (unicosmk_gen_dsib): Likewise.
3412
725e58b1
RK
3413Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3414
3415 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
3416
13e58269
UW
34172002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
3418
c410d49e 3419 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
3420 check_and_change_labels, s390_final_chunkify): Delete.
3421 (s390_split_branches, s390_chunkify_pool): New functions.
3422 (s390_function_prologue): Call them.
c410d49e 3423
13e58269
UW
3424 * config/s390/s390.h (S390_REL_MAX): Delete.
3425 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
3426
c410d49e 3427 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
3428 attribute calculation.
3429
3430
34d1b01d
DE
34312002-02-15 David Edelsohn <edelsohn@gnu.org>
3432
3433 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
3434 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
3435
be5cc51a
JDA
34362002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3437
3438 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
3439 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
3440 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
3441
ee96ce90
RS
34422002-02-15 Richard Sandiford <rsandifo@redhat.com>
3443
3444 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
3445
05fa709d
RS
34462002-02-15 Richard Sandiford <rsandifo@redhat.com>
3447
3448 * reload.c (find_dummy_reload): Check that an output register
3449 is valid for its mode.
3450
4606272b
AO
34512002-02-14 Alexandre Oliva <aoliva@redhat.com>
3452
9a360704
AO
3453 * combine.c (known_cond): After replacing the REG of a SUBREG, try
3454 to simplify it.
3455
4606272b
AO
3456 * function.c (assign_parms): Demote promoted argument passed by
3457 transparent reference.
3458
e62d89a1
JS
34592001-02-14 Joel Sherrill <joel@OARcorp.com>
3460
3461 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
3462 -Acpu() and -Amachine() to eliminate warnings.
3463
6c4cf695
UW
34642002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
3465
3466 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
3467
037f11ef
KH
34682002-02-14 Kazu Hirata <kazu@hxi.com>
3469
3470 * config/h8300/h8300-protos.h: Update the prototype for
3471 const_costs.
3472 * config/h8300/h8300.c (const_costs): Treat SET as a little
3473 more expensive operation.
3474 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
3475 reference to const_costs.
3476
fdc76b09
HPN
34772002-02-14 Hans-Peter Nilsson <hp@axis.com>
3478
3479 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
3480
d76e6800
JJ
34812002-02-14 Jakub Jelinek <jakub@redhat.com>
3482
3483 PR c/5503:
3484 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
3485 use arguments from newtype.
3486
5ae590d7
EC
34872002-02-13 Eric Christopher <echristo@redhat.com>
3488
3489 * config/mips/mips.c (override_options): Add check for march/mipsX
3490 on the same command line. Fix error message in cpu processing.
3491 Remove architecture and ISA checks.
3492
b8513691
AH
34932002-02-14 Aldy Hernandez <aldyh@redhat.com>
3494
831c4e87 3495 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 3496
831c4e87 3497 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 3498
78c875e8
AH
34992002-02-14 Aldy Hernandez <aldyh@redhat.com>
3500
831c4e87
KC
3501 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
3502 alternatives.
3503 ("*movv8hi_internal1"): Same.
3504 ("*movv16qi_internal1"): Same.
3505 ("*movv4sf_internal1"): Same.
78c875e8 3506
831c4e87
KC
3507 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
3508 not push_reload for altivec modes.
78c875e8 3509
d76e6800 35102002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
3511
3512 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
3513 all RTEMS targets including removal of #includes from config/*/rtems*.h
3514 file and adding them to tm_file setting. Added xm_defines=POSIX to
3515 many targets.
3516 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
3517 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
3518 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
3519 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
3520 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
3521 config/m68k/rtemself.h: Ditto.
3522 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
3523 config/mips/rtems64.h: Ditto.
3524 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
3525 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
3526 Ditto.
3527 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
3528 config/sparc/rtemself.h: Ditto.
3529 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
3530 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
3531 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
3532 more like arm-elf.
3533 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
3534 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
3535 target made more similar to i386-elf.
3536 * config/i386/t-rtems-i386: Added soft float support and multilibs.
3537 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
3538 be similar to config/m68k/t-m68kelf.
3539 * gthr-rtems.h: Encapsulate with extern "C" for C++.
3540
8686336f
JH
3541Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
3542
3543 * regmove.c (kill_value): Handle subregs.
3544
558740bf
JH
3545Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
3546
3547 * i386.md (mul patterns): Allow memory operand to be first;
3548 add expanders where needed; fix constraints.
3549 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
3550 Allow memory operand to be the first.
3551
3552 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
3553 operands.
3554
21117a17
JJ
35552002-02-13 Jakub Jelinek <jakub@redhat.com>
3556
3557 PR c/5681:
3558 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
3559 GET_MODE (x).
3560
ec65b2e3
JJ
35612002-02-13 Jakub Jelinek <jakub@redhat.com>
3562
3563 PR optimization/5547:
3564 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
3565 all valid IA-32 address modes involving non-scaled %ebx and
3566 GOT/GOTOFF as displacement.
3567
ce50cae8
UW
35682002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
3569
3570 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
3571 after emitting ltorg insns.
3572
3573 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
3574 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
3575 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
3576 *abssf2): Fix "op_type" attribute.
3577
09eb789b
DR
35782002-02-13 Douglas B Rupp <rupp@gnat.com>
3579
2dbe67bb
DR
3580 * mkconfig.sh: Avoid using a subshell redirect.
3581 ($output.T): Change to $(output)T.
3582 (ENABLE_NLS): Remove unneeded undef.
3583
ea5b9a1f
DR
3584 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
3585 * config/alpha/x-vms (libsubdir): Define.
3586
3deb00ce
DR
3587 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
3588 register frame procedures. Optimize retrieving context.
3589
09eb789b
DR
3590 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
3591 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
3592 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
3593
1abade85
RK
3594Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3595
3596 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
3597 Make same change as for find_base_value.
3598
c283e63f
KH
35992002-02-13 Kazu Hirata <kazu@hxi.com>
3600
3601 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
3602 of QImode and SImode.
3603
86039100
KH
36042002-02-13 Kazu Hirata <kazu@hxi.com>
3605
3606 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
3607 length computation of movsi.
3608 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
3609
e1429da0
KH
36102002-02-13 Kazu Hirata <kazu@hxi.com>
3611
3612 * config/h8300/h8300.md (subqi3): Tighten the predicate for
3613 operands[2] to register_operand.
3614
aebfea10
JH
3615Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
3616
3617 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
3618
0ec4e2a8
AH
36192002-02-12 Aldy Hernandez <aldyh@redhat.com>
3620
831c4e87
KC
3621 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
3622 for altivec_lvx* and altivec_stvx*.
3623 ("*movv4si_internal"): Add constraint for loading from GPRs.
3624 ("*movv8hi_internal1"): Same.
3625 ("*movv16qi_internal1"): Same.
3626 ("*movv4sf_internal1"): Same.
0ec4e2a8 3627
831c4e87 3628 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 3629
831c4e87
KC
3630 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
3631 altivec_register_operand.
0ec4e2a8 3632
b007569d
HPN
36332002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
3634
3635 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
3636 handle SYMBOL_REF.
3637
e6834654
SS
36382002-02-13 Stan Shebs <shebs@apple.com>
3639
831c4e87
KC
3640 * c-typeck.c (digest_init): Handle vectors.
3641 (really_start_incremental_init): Same.
3642 (pop_init_level): Same.
3643 (process_init_element): Same.
e6834654 3644
831c4e87 3645 * varasm.c (output_constant): Same.
e6834654 3646
831c4e87
KC
3647 * expr.c (clear_storage): Same.
3648 (store_constructor): Same.
e6834654 3649
d9b3eb63
EC
36502002-02-12 Eric Christopher <echristo@redhat.com>
3651
3652 * explow.c (hard_function_value): Add comment explaining
3653 signed/unsigned comparison.
3654
56d44285
JJ
36552002-02-12 Jakub Jelinek <jakub@redhat.com>
3656
3657 * jump.c (never_reached_warning): Add finish argument.
3658 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
3659 real insn after end.
3660 * rtl.h (never_reached_warning): Adjust prototype.
3661 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
3662 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
3663 never_reached_warning.
3664
fc209487
GS
36652002-02-12 Graham Stott <grahams@redhat.com>
3666
3667 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
3668
1e41e866
KH
36692002-02-12 Kazu Hirata <kazu@hxi.com>
3670
3671 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
3672 logical shifts on H8/300.
3673 (shift_alg_si): Improve several shifts on H8/300.
3674 (get_shift_alg): Likewise.
3675
a36a47ad
GS
36762002-02-12 Graham Stott <grahams@redhat.com>
3677
3678 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
3679
0aacc8ed
RK
3680Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3681
3682 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
3683 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
3684
a02ac966
HPN
36852002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
3686
3687 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
3688 non-CONST_INT through default_assemble_integer.
3689 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
3690 <case 8>: Abort for CONST_DOUBLE.
3691
d6e06ddc
JDA
36922002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3693
3694 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
3695 is specified.
3696 * config/pa/pa-linux.h (LIB_SPEC): Delete.
3697 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
3698
515342a8
AH
36992002-02-11 Andrew Haley <aph@cambridge.redhat.com>
3700
3701 * config/stormy16/stormy16.md (zero_extendqihi2): New.
3702
cddd8b72
AO
37032002-02-11 Alexandre Oliva <aoliva@redhat.com>
3704
66df7a98
AO
3705 * regrename.c (regrename_optimize): Don't accept a
3706 part-clobbered register if the replaced register is not part
3707 clobbered.
3708
841404cd
AO
3709 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
3710 take padding into account when computing the argument value.
3711
1d1ade42
AO
3712 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
3713
cddd8b72
AO
3714 * combine.c (try_combine): Apply substitutions in
3715 CALL_INSN_FUNCTION_USAGE too.
3716
5c665b88
AH
37172002-02-11 Aldy Hernandez <aldyh@redhat.com>
3718
77f6c1eb
RS
3719 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
3720 __builtin_altivec_abs*.
3721 (bdesc_abs): New.
5c665b88 3722
77f6c1eb
RS
3723 * config/rs6000/rs6000.h (rs6000_builtins): Add
3724 ALTIVEC_BUILTIN_ABS*.
5c665b88 3725
77f6c1eb
RS
3726 * config/rs6000/altivec.h: Use const char for builtins expecting
3727 literals.
3728 (vec_abs): New versions for C and C++.
3729 (vec_abss): Same.
5c665b88 3730
3494f1b4
KH
37312002-02-10 Kazu Hirata <kazu@hxi.com>
3732
3733 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
3734 using Pmode.
3735
72431aef
KH
37362002-02-10 Kazu Hirata <kazu@hxi.com>
3737
3738 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
3739 constant definition from h8300.md.
3740 (FRAME_POINTER_REGNUM): Likewise.
3741 * config/h8300/h8300.md (define_constants): Add FP_REG.
3742
87e4ee91
KH
37432002-02-10 Kazu Hirata <kazu@hxi.com>
3744
3745 * config/h8300/h8300.c (print_operand): Remove redundant code.
3746
9c188705
KH
37472002-02-10 Kazu Hirata <kazu@hxi.com>
3748
3749 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
3750 * config/h8300/h8300.c (byte_reg): Make it static.
3751
fba78abb
RH
37522002-02-10 Richard Henderson <rth@redhat.com>
3753
3754 PR c/5623
3755 * c-typeck.c (incomplete_type_error): Handle flexible array members.
3756
65739e62
RH
37572002-02-10 Richard Henderson <rth@redhat.com>
3758
3759 PR c++/5624
3760 * tree.c (append_random_chars): Don't abort if main_input_filename
3761 does not exist.
3762
247cb9df
HPN
37632002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
3764
3765 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
3766
232bd029
KH
37672002-02-10 Kazu Hirata <kazu@hxi.com>
3768
65739e62 3769 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
3770 (pushhi1): Likewise.
3771
276ef573
JDA
37722002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
3773
3774 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
3775 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
3776
617e9ee5
DB
37772002-02-09 David O'Brien <obrien@FreeBSD.org>
3778
3779 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
3780 remove MASK_VIS.
3781 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
3782
6dfa4005
KH
37832002-02-09 Kazu Hirata <kazu@hxi.com>
3784
3785 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
3786 a half of an SImode register on H8/300.
3787
749e7b80
JH
3788Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
3789
3790 * i386.md (movdi_2): Add missing '!'.
3791
ca77d87c
KH
37922002-02-09 Kazu Hirata <kazu@hxi.com>
3793
3794 * config/h8300/h8300.h: Fix formatting. Remove commented-out
3795 definitions.
3796
16c96304
KH
37972002-02-09 Kazu Hirata <kazu@hxi.com>
3798
3799 * config/h8300/h8300.md (length): Correct the distance valid
3800 for the short branch.
3801
a364bc90
KH
38022002-02-09 Kazu Hirata <kazu@hxi.com>
3803
3804 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
3805
e4ec2cac
AO
38062002-02-09 Alexandre Oliva <aoliva@redhat.com>
3807
a138247b
AO
3808 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
3809 registers in SImode.
3810 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
3811 part-clobbered.
3812
2b1fd83f
AO
3813 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
3814 patch.
d9b3eb63 3815
fa5322fa
AO
3816 Contribute sh64-elf.
3817 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
3818 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
3819 (sh_cannot_modify_jumps_p): New function.
3820 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
3821 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
3822 (sh_ms_bitfield_layout_p): New function.
3823 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
3824 Zack Weinberg <zack@codesourcery.com>
3825 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
3826 expand_simple_binop instead of expand_binop.
3827 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
3828 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
3829 use of .quad and .uaquad.
3830 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
3831 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
3832 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3833 * config/sh/sh.md (movdi_const, movdi_const_32bit,
3834 movdi_const_16bit): Make sure all CONSTs have modes.
3835 (sym2PIC): Ditto, but by adjusting all callers.
3836 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
3837 if the prologue calls the SHmedia argument decoder or register
3838 saver.
3839 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3840 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
3841 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
3842 (sh_expand_epilogue): Don't emit USE of return target register.
3843 (prepare_move_operands): Legitimize DImode PIC addresses.
3844 (sh_media_register_for_return): Skip tr0, used to initialize the
3845 PIC register.
3846 (sh_expand_prologue): Remove explicit USE of return register.
3847 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
3848 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
3849 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
3850 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
3851 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
3852 EXTRA_CONSTRAINT_T.
3853 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
3854 (MOVI_SHORI_BASE_OPERAND_P): New.
3855 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
3856 (EXTRA_CONSTRAINT_T): Define in terms of them.
3857 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
3858 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
3859 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
3860 alternatives supporting TARGET_REGS.
3861 (UNSPEC_GOTPLT): New constant.
3862 (movdi split): Move incrementing of LABEL_NUSES...
3863 (movdi_const, movdi_const_32bit): Here. Use
3864 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
3865 (movdi_const_16bit): New.
3866 (call, call_value) [flag_pic]: Use GOTPLT.
3867 (call_pop, call_value_pop): New expands.
3868 (call_pop_compact, call_pop_rettramp): New insns.
3869 (call_value_pop_compact, call_value_pop_rettramp): New insns.
3870 (sibcall) [flag_pic]: Use GOT.
3871 (builtint_setjmp_receiver): Remove bogus, unused expand.
3872 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
3873 (*pt, *ptb, ptrel): New insns.
3874 (sym2GOT): Handle DImode GOT.
3875 (sym2GOTPLT, symGOTPLT2reg): New expands.
3876 (sym2PIC): New expand.
3877 (shcompact_return_tramp): Use GOTPLT to return trampoline.
3878 (shcompact_return_tramp_i): Use return register explicitly.
3879 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
3880 disable flag_reorder_blocks.
3881 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
3882 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
3883 clobbers, for clarity.
3884 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
3885 restoring of r0 in macl as MAYBE_DEAD.
3886 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
3887 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
3888 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
3889 alter_subreg all over.
3890 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
3891 reload, instead of emitting instructions that would require
3892 reloading.
3893 (casesi_load_media): Add missing modes.
3894 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
3895 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
3896 as used if the argument decoder is called.
3897 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
3898 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
3899 Pmode, then extend it to DImode if necessary.
3900 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
3901 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
3902 constants in FPU-enabled SHmedia, let them be loaded from memory.
3903 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
3904 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
3905 Adjust whitespace in assembly output templates.
3906 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
3907 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
3908 mode of if_then_else.
3909 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
3910 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
3911 sh.h.
3912 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
3913 Joern Rennecke <amylaar@redhat.com>
3914 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
3915 (SUBTARGET_CPP_PTR_SPEC): New.
3916 (SUBTARGET_CPP_SPEC): Remove.
3917 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
3918 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
3919 Fix typo in previous checkin.
3920 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
3921 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
3922 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
3923 Alexandre Oliva <aoliva@redhat.com>
3924 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
3925 what single FP register can hold for SHmedia target.
3926 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
3927 Alexandre Oliva <aoliva@redhat.com>
3928 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
3929 Do not split into SUBREG.
3930 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
3931 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
3932 and added new functions as specified in SH5 ABI r9.
3933 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
3934 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
3935 8-byte boundary.
3936 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
3937 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
3938 gen_consttable_4 and gen_consttable_8. Emit multiple labels
3939 and consttable_window_ends.
3940 2001-06-03 Graham Stott <grahams@redhat,com>
3941 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
3942 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
3943 * config/sh/sh.c (print_operand): Handle floating-point pair,
3944 vector and matrix registers.
3945 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
3946 vector modes into account.
3947 * config/sh/sh.md (movv2sf): Split move between registers into
3948 movdf.
3949 (movv4sf, movv16sf): Introduce insns that get split only after
3950 reload.
3951 * config/sh/shmedia.h: Fix Copyright dates.
3952 * config/sh/ushmedia.h: Likewise. Move loop counter
3953 declarations into conditionals that uses them.
3954 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
3955 loop boundary.
3956 * config/sh/sshmedia.h: Fix Copyright dates.
3957 (sh_media_PUTCFG): Fix constraints.
3958 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
3959 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
3960 ptrmemfunc_vbit_in_delta for SH5.
3961 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
3962 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
3963 * invoke.texi: Likewise.
3964 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
3965 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
3966 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
3967 GCC_pop_shmedia_regs_nofpu): New global symbols.
3968 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
3969 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
3970 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
3971 compact function with nonlocal labels.
3972 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
3973 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
3974 (initial_elimination_offset): Account for their stack space.
3975 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
3976 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
3977 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
3978 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
3979 least one of the operands to be a register.
3980 (movv2sf): Likewise. Renamed to movv2sf_i.
3981 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
3982 prepare_move_operands() before emitting SHmedia insns.
3983 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
3984 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
3985 Don't save nor initialize r12. Don't mis-align the stack.
3986 Pad the code with a nop.
3987 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
3988 stack.
3989 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
3990 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
3991 [__SHMEDIA__]: Implement.
3992 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
3993 * config/sh/sh.md: Set latency of `pt' closer to reality.
3994 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
3995 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
3996 Set move, load and store type attributes.
3997 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
3998 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
3999 profiling.
4000 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
4001 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
4002 * config/sh/sh.c (sh_media_register_for_return): New function.
4003 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
4004 branch-target register.
4005 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
4006 * config/sh/sh.md (return_media_i): Use any call-clobbered
4007 branch-target register.
4008 (return_media): If r18 wasn't copied in the prologue, copy it
4009 here.
4010 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
4011 Clear class FP0_REGS.
4012 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
4013 from elf.h.
4014 2001-03-08 DJ Delorie <dj@redhat.com>
4015 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
4016 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
4017 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
4018 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
4019 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
4020 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4021 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
4022 return value correctly for call_cookie.
4023 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4024 * config/sh/crt1.asm (start): Modified so as to call
4025 ___setup_argv_and_call_main.
4026 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
4027 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
4028 SHmedia mode.
4029 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
4030 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
4031 (STRIP_NAME_ENCODING): Use it.
4032 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
4033 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
4034 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
4035 prepare_scc_operands().
4036 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
4037 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
4038 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
4039 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
4040 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
4041 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
4042 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
4043 used in shcompact_incoming_args.
4044 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
4045 change.
4046 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
4047 mode.
4048 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
4049 Adjust accordingly.
4050 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
4051 Simplify. Adjust. Add sanity check.
4052 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
4053 FPU_SINGLE_BIT.
4054 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
4055 TARGET_SHCOMPACT.
4056 (udivsi3, divsi3): Use them.
4057 (force_mode_for_call): New insn.
4058 (call, call_value, sibcall_value): Emit it before SHcompact
4059 calls.
4060 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
4061 * config/sh/sh.md (call, call_value, sibcall): Make sure the
4062 call cookie is non-NULL before taking its value.
4063 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
4064 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
4065 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4066 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
4067 block.
4068 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
4069 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
4070 temporary for stack adjusts. Use MACL and MACH to pass
4071 arguments to shcompact_incoming_args.
4072 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
4073 clobber r1.
4074 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
4075 (nested_trampoline): Load static chain address into r1.
4076 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
4077 2001-01-07 Alexandre Oliva <aoliva@redhat.com
4078 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
4079 fp_arith_reg_operand().
4080 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
4081 * config/sh/sh.md (casesi): Sign-extend the first two operands,
4082 and use signed compares for them.
4083 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
4084 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
4085 ones properly aligned.
4086 (find_barrier): Account for extra alignment needed for 8-byte wide
4087 constants.
4088 (machine_dependent_reorg): Require a label for the second 4-byte
4089 constant after an 8-byte one.
4090 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
4091 change.
4092 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
4093 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
4094 last_float when switching float modes.
4095 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
4096 auto-increment for general-purpose registers.
4097 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
4098 result.
4099 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
4100 for stack adjust.
4101 * config/sh/sh.c (sh_builtin_saveregs): Support using all
4102 registers for varargs.
4103 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
4104 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
4105 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
4106 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
4107 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
4108 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
4109 call_cookie accordingly.
4110 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
4111 (SHCOMPACT_BYREF): Likewise.
4112 (SHCOMPACT_FORCE_ON_STACK): New macro.
4113 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
4114 (sh_builtin_saveregs): Likewise.
4115 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
4116 shcompact_incoming_args): Use new shift values. Support
4117 sequences of consecutive and non-consecutive pushes/pops.
4118 * config/sh/sh.md (return): Don't explicitly use PR_REG.
4119 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
4120 * config/sh/sh.h (TEXT_SECTION): Define.
4121 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
4122 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
4123 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
4124 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
4125 return values on FPU-enabled SHmedia.
4126 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
4127 FPU-enabled SHmedia.
4128 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
4129 value is returned in a non-FP reg and is not returned by
4130 reference.
4131 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
4132 jump_ind.
4133 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
4134 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
4135 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
4136 quad-aligned to be passed by callee-copy reference.
4137 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
4138 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
4139 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
4140 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
4141 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
4142 copying low-numbered FP regs to r7 and r8.
4143 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
4144 FP regs to general-purpose regs only if the copy was passed on the
4145 stack.
4146 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
4147 copying FP reg to r9.
4148 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
4149 copy FP regs to general-purpose regs only in outgoing calls.
4150 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1e4e95d6 4151 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
fa5322fa
AO
4152 HOST_WIDE_INT.
4153 * config/sh/sh.h (struct sh_args): Document all fields.
4154 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
4155 passed partially on the stack should not consider making
4156 sibcalls.
4157 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
4158 stack_regs only for incoming calls. When passing FP args,
4159 make sure there are FP regs available before modifying
4160 call_cookie.
4161 (SHCOMPACT_BYREF): Pass double args in general-purpose
4162 registers by reference.
4163 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
4164 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
4165 attempt to generate sibcalls if the caller got any arguments
4166 by reference.
4167 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
4168 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
4169 to 8-byte boundaries.
4170 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
4171 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
4172 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
4173 stored in the stack.
4174 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
4175 for the offsets to have the ISA bit set.
4176 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
4177 invocation. Use beq instead of bgt to mark end of sequence of
4178 loads.
4179 (shcompact_incoming_args): Fix store of r2. Use beq instead of
4180 bgt to mark end of sequence of stores.
4181 * config/sh/sh.c (arith_operand): Don't check whether
4182 CONST_OK_FOR_J for now.
4183 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
4184 instead of long for conversion.
4185 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
4186 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
4187 before passing it to fprintf.
4188 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
4189 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
4190 Call set_fpscr before reading/writing SR.
4191 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
4192 Call set_fpscr.
4193 * config/sh/lib1funcs.asm: Add `.align 2' directives before
4194 SHmedia code.
4195 (FMOVD_WORKS): Define on SH5 with FPU.
4196 (set_fpscr): Define on SH5. Remove separate _fpscr_values
4197 setting.
4198 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
4199 _fpscr_values.
4200 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
4201 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
4202 address.
4203 (ia_main_table): Ditto.
4204 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
4205 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
4206 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
4207 the definitions from sh.h.
4208 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
4209 TARGET_SH5.
4210 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
4211 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
4212 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
4213 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
4214 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
4215 Increment LABEL_NUSES.
d9b3eb63 4216
fa5322fa
AO
4217 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
4218 TARGET_SH5.
4219 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
4220 defined.
4221 * config/sh/elf.h (SIZE_TYPE): Likewise.
4222 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
4223 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
4224 shcompact_incoming_args): Load switch table addresses using
4225 datalabel.
4226 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
4227 (NO_BUILTIN_SIZE_TYPE): Define.
4228 (SIZE_TYPE): Don't define.
4229 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
4230 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
4231 definition of __SH5__=32 for -m5-compact-nofpu.
4232 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
4233 ADDR_DIFF_VEC.
4234 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
4235 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
4236 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
4237 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
4238 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
4239 (INSN_LENGTH_ALIGNMENT): Likewise.
4240 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
4241 * config/sh/sh.md (call, call_value, sibcall): Simplify
4242 copying of non-branch-target register.
4243 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1e4e95d6 4244 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
fa5322fa
AO
4245 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
4246 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
4247 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
4248 floating-point values as structs.
4249 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
4250 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
4251 general-purpose register.
4252 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
4253 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
4254 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
4255 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
4256 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
4257 (ENCODE_SECTION_INFO): Enclose variables and constants in
4258 DATALABEL unspecs.
4259 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
4260 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
4261 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
4262 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
4263 only for LABEL_REFs. For SYMBOL_REFs, prepend
4264 SH_DATALABEL_ENCODING to the symbol name.
4265 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
4266 convert_mode().
4267 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
4268 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
4269 UNSPEC_DATALABEL.
4270 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
4271 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
4272 (DATALABEL_REF_P): Don't require CONST.
4273 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
4274 REL label.
4275 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
4276 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
4277 right.
4278 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
4279 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
4280 Use shallow_copy_rtx and PUT_MODE to change the mode of
4281 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
4282 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
4283 on SHmedia using GENERAL_REGs.
4284 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
4285 bltu_media_i): Fix reversion of conditions.
4286 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
4287 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
4288 * config/sh/sh.c (output_far_jump): Save r13 in macl.
4289 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
4290 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
4291 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
4292 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
4293 (GCC_nested_trampoline): Likewise.
4294 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
4295 * config/sh/sh.c (gen_datalabel_ref): Define.
4296 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
4297 (INITIALIZE_TRAMPOLINE): Likewise.
4298 (TRAMPOLINE_ADJUST_ADDRESS): Define.
4299 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
4300 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
4301 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
4302 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
4303 (ic_invalidate): Adjust for SH5.
4304 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
4305 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
4306 _nested_trampoline.
4307 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
4308 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
4309 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
4310 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
4311 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
4312 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
4313 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
4314 * config/sh/sh.c (target_reg_operand): Match only target-branch
4315 registers and pseudos that aren't virtual registers.
4316 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
4317 Copy operands that don't match target_reg_operand to pseudos.
4318 (call_media, call_value_media, sibcall_media): Use
4319 target_reg_operand instead of target_operand.
4320 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 4321 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
4322 * config/sh/sh.c (target_reg_operand): Match hardware registers
4323 other than branch-target registers.
4324 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
4325 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
4326 (fpscr_values) [SH5 == 32]: Define.
4327 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
4328 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
4329 Handle function addresses coming in SUBREGs.
4330 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
4331 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
4332 shcompact_return_trampoline): Use datalabel where appropriate.
4333 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
4334 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
4335 general-purpose register to copy one branch-target register to
4336 another.
4337 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
4338 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
4339 SYMBOL_REFs with VOIDmode.
4340 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
4341 bltu_media_i): New insns.
4342 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
4343 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
4344 (INIT_CUMULATIVE_ARGS): Likewise.
4345 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
4346 * machmode.def (V16SFmode): New mode.
4347 * c-common.c (type_for_mode): Support V2SF and V16SF.
4348 * tree.c (build_common_tree_nodes_2): Likewise.
4349 * tree.h (tree_index): Likewise.
4350 * calls.c (emit_call_1): Take args_so_far. Adjust all
4351 callers. Introduce CALL_POPS_ARGS.
4352 * tm.texi (CALL_POPS_ARGS): Document.
4353 * config/sh/crt1.asm: Implement in SHmedia mode.
4354 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
4355 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
4356 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
4357 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
4358 Implement divsi and udivsi in SHmedia mode. Introduce
4359 SHcompact trampolines.
4360 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
4361 only in SHmedia64.
4362 (regno_reg_class): Rewrite.
4363 (fp_reg_names): Remove.
4364 (sh_register_names, sh_additional_register_names): New.
4365 (print_operand): Added `u'. Support SUBREGs in addresses.
4366 Add parentheses around shifted CONSTs.
4367 (output_file_start): Output .mode and .abi directives.
4368 (shiftcosts, addsubcosts, multcosts): Adjust.
4369 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
4370 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
4371 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
4372 bytes, not registers. Take into account the need for the
4373 SHcompact incoming args trampoline. Adjust all callers.
4374 (sh_expand_prologue): Take stack_regs into account. Call
4375 incoming args trampoline. Keep stack aligned as per SH5 ABI.
4376 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
4377 stack aligned as per SH5 ABI.
4378 (sh_builtin_saveregs): Support SH5 ABI.
4379 (sh_build_va_list, sh_va_start): Likewise.
4380 (initial_elimination_offset): Take alignment into account.
4381 Compute location of PR according to the SH5 stack frame.
4382 (arith_reg_operand): Reject branch-target registers.
4383 (shmedia_6bit_operand): New.
4384 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
4385 (target_reg_operand): Match DImode only. Accept SUBREGs.
4386 (target_operand): New.
4387 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
4388 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
4389 SIBCALL_REGS for SHmedia.
4390 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
4391 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
4392 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
4393 (TARGET_SWITCHES): New SH5 flags.
4394 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
4395 VALID_REGISTER_P to disable unsupported registers.
4396 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
4397 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
4398 (FUNCTION_ARG_PADDING): Define.
4399 (FASTEST_ALIGNMENT): Adjust.
4400 (SH_REGISTER_NAMES_INITIALIZER): New.
4401 (sh_register_names): Declare.
4402 (DEBUG_REGISTER_NAMES): Define.
4403 (REGISTER_NAMES): Define based on sh_register_names.
4404 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
4405 (sh_additional_register_names): Declare.
4406 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
4407 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
4408 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
4409 (REGISTER_NATURAL_MODE): Define.
4410 (FIRST_PSEUDO_REGISTER): Adjust.
4411 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
4412 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
4413 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
4414 (VECTOR_MODE_SUPPORTED_P): Define.
4415 (REG_CLASS_CONTENTS): Adjust.
4416 (SMALL_REGISTER_CLASSES): Adjust.
4417 (REG_ALLOC_ORDER): Adjust.
4418 (INDEX_REG_CLASS): Adjust.
4419 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
4420 (CONST_OK_FOR_LETTER_P): Adjust.
4421 (PREFERRED_RELOAD_CLASS): Adjust.
4422 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
4423 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
4424 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
4425 (FIRST_FP_PARM_REG): Adjust.
4426 (CALL_POPS_ARGS): Define.
4427 (FUNCTION_ARG_REGNO_P): Adjust.
4428 (struct sh_args): New fields.
4429 (GET_SH_ARG_CLASS): Adjust.
4430 (INIT_CUMULATIVE_ARGS): Adjust.
4431 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
4432 (FUNCTION_ARG_ADVANCE): Adjust.
4433 (FUNCTION_ARG): Adjust.
4434 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
4435 (FUNCTION_ARG_CALLEE_COPIES): Define.
4436 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
4437 (STRICT_ARGUMENT_NAMING): Define.
4438 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
4439 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
4440 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
4441 (SETUP_INCOMING_VARARGS): Adjust.
4442 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
4443 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
4444 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
4445 (SUBREG_OK_FOR_INDEX_P): Adjust.
4446 (EXTRA_CONSTRAINT_S): Update.
4447 (EXTRA_CONSTRAINT_T): New.
4448 (EXTRA_CONSTRAINT): Adjust.
4449 (GO_IF_LEGITIMATE_INDEX): Adjust.
4450 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
4451 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
4452 (MOVE_MAX): Adjust.
4453 (MAX_MOVE_MAX): Define.
4454 (Pmode): Adjust.
4455 (CONST_COSTS): Adjust.
4456 (REGISTER_MOVE_COST): Adjust.
4457 (BRANCH_COST): Adjust.
4458 (TEXT_SECTION_ASM_OP): Adjust.
4459 (DBX_REGISTER_NUMBER): Adjust.
4460 (ASM_OUTPUT_DOUBLE_INT): New.
4461 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
4462 (PREDICATE_CODES): Adjust.
4463 (PROMOTE_MODE): Adjust.
4464 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
4465 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
4466 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
4467 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
4468 (DR0_REG, DR2_REG, DR4_REG): Renumber.
4469 (TR0_REG, TR1_REG, TR2_REG): New.
4470 (XD0_REG): Renumber.
4471 (UNSPEC_COMPACT_ARGS): New.
4472 (type): Added pt and ptabs.
4473 (length): Default to 4 on SHmedia. Default pt length to 12
1e4e95d6 4474 and 20 on SHmedia32 and SHmedia64, respectively.
fa5322fa
AO
4475 (pt): New function unit.
4476 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
4477 Add whitespace between operands of SHmedia instructions.
4478 (movdicc): Fix.
4479 (adddi3_media, addsi3_media): Adjust constraints.
4480 (subsi3) [SHmedia]: Force operand 1 into a register.
4481 (udivsi3_i1_media, udivsi3_i4_media): New.
4482 (udivsi3): Support SHmedia.
4483 (divsi3_i1_media, divsi3_i4_media): New.
4484 (divsi3): Support SHmedia.
4485 (anddi3, iordi3, xordi3): Adjust constraints.
4486 (zero_extendhidi2, zero_extendqidi2): New.
4487 (extendsidi2, extendhidi2, extendqidi2): New.
4488 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
4489 (pop_e, pop_fpul, pop_4): Likewise.
4490 (movsi_media): Support FP and BT registers.
4491 (movsi_media_nofpu): New. Adjust splits to DImode.
4492 (lduw, ldub): Renamed to zero_extend* above.
4493 (movqi_media): Fix typo.
4494 (movdi_media): Support FP and BT registers.
4495 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
4496 (movdi_const_32bit): New.
4497 (shori_media): Require immediate operand. Use `u' for output.
4498 (movdf_media, movsf_media): Simplified.
4499 (movdf_media_nofpu, movsf_media_nofpu): New.
4500 (movdf, movsf): Adjust
4501 (movv2sf, movv2sf, movv16sf): New.
4502 (beq_media, beq_media_i): Adjust constraints. Don't use
4503 scratch BT register.
4504 (bne_media, bne_media_i): Likewise.
4505 (bgt_media, bgt_media_i): Likewise.
4506 (bge_media, bge_media_i): Likewise.
4507 (bgtu_media, bgtu_media_i): Likewise.
4508 (bgeu_media, bgeu_media_i): Likewise.
4509 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
4510 bunordered): Emit jump insn. Force operands to registers when
4511 needed.
4512 (jump_media, jump): Simplify.
4513 (call_compact, call_compact_rettramp): New.
4514 (call_value_compact, call_value_compact_rettramp): New.
4515 (call_media, call_value_media): Simplify.
4516 (sibcall_compact, sibcall_media): New.
4517 (call, call_value): Adjust for SHmedia and SHcompact.
4518 (sibcall, sibcall_value, untyped_call): Likewise.
4519 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
4520 (indirect_jump): Adjust for SHmedia.
4521 (casesi_jump_media): New.
4522 (nop): Re-enable for SHmedia.
4523 (call_site): Restrict to SH1.
4524 (casesi): Adjust for SHmedia.
4525 (casesi_shift_media, casesi_load_media): New.
4526 (return): Explicitly use PR register. Call return trampoline
4527 on SHcompact.
4528 (return_i): Explicitly use PR register.
4529 (shcompact_return_tramp, shcompact_return_tramp_i): New.
4530 (return_media): Adjust.
4531 (shcompact_incoming_args): New.
4532 (epilogue): Adjust.
4533 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
4534 (movstrsi): Disable on SH5.
4535 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
4536 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
4537 (subsf3, subsf3_media): Likewise.
4538 (mulsf3, mulsf3_media, mac_media): Likewise.
4539 (divsf3, divsf3_media): Likewise.
4540 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
4541 (floatsisf2, fux_truncsfsi2): Likewise.
4542 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
4543 constraints.
4544 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
4545 (cmpunsf_media, cmpsf): Likewise.
4546 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
4547 (abssf2, abssf2_media): Likewise.
4548 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
4549 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
4550 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
4551 (floatsidf2, fix_truncdfsi2): Likewise.
4552 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
4553 constraints.
4554 (cmpeqdf_media, cmpgtdf_media): Likewise.
4555 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
4556 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
4557 (absdf2, absdf2_media): Likewise.
4558 (extendsfdf2, extendsfdf2_media): Likewise.
4559 (truncsfdf2, truncsfdf2_media): Likewise.
4560 * config/sh/sh64.h: New file.
4561 * config/sh/t-sh64: New file.
4562 * config/sh/shmedia.h: New file.
4563 * config/sh/ushmedia.h: New file.
4564 * config/sh/sshmedia.h: New file.
4565 * configure.in: Added sh64-*-elf.
4566 * configure: Rebuilt.
4567 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
4568 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
4569 (reg_class_from_letter): Use `b' for TARGET_REGS.
4570 (print_operand): Support `%M', `%m', `AND' and
4571 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
4572 (andcosts): Adjust for SHmedia.
4573 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
4574 Likewise.
4575 (target_reg_operand): New function.
4576 * config/sh/sh-protos.h (target_reg_operand): Declare.
4577 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
4578 FP registers on SH5.
4579 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
4580 on SH4.
4581 (TARGET_REGISTER_P): New macro.
4582 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
4583 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
4584 (EXTRA_CONSTRAINT_S): New macro.
4585 (EXTRA_CONSTRAINT): Adjust.
4586 (FLOAT_TYPE_SIZE): Define to 32.
4587 (Pmode): DImode on SHmedia.
4588 (CONST_COSTS): Adjust for SHmedia literals.
4589 (PREDICATE_CODES): Added target_reg_operand.
4590 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
4591 * config/sh/sh.md: Remove all attrs from SHmedia insns.
4592 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
4593 (cmpdi): Accept SHmedia.
4594 (movdicc_false, movdicc_true): New insns.
4595 (movdicc): New expand.
4596 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
4597 no_new_pseudos.
4598 (addsi3_media): Match `S' constraint.
4599 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
4600 (negdi2): Expand for SHmedia.
4601 (one_cmpldi2): New expand.
4602 (zero_extendsidi2): Change from expand to insn.
4603 (extendsidi2): Add constraints.
4604 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
4605 LD/ST address. Fix SI immediate loading split.
4606 (movhi_media, movqi_media, lduw, ldub): New insns.
4607 (movhi, movqi): Accept SHmedia.
4608 (shori_media, movdi_media): Relax input constraints. Split
4609 symbolic constants.
4610 (movdf_media, movsf_media): New insn. New split to movdi.
4611 (movdf, movsf): Match on SHmedia.
4612 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
4613 bgeu_media): New insns and splits. New insns with `_i' suffix.
4614 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
4615 (bunordered): New expand.
4616 (jump_compact): Renamed from `jump'.
4617 (jump_media): New insn.
4618 (jump): New expand.
4619 (call_media, call_value_media): New insns.
4620 (call, call_value): Adjust.
4621 (indirect_jump_compact): Renamed from `indirect_jump'.
4622 (indirect_jump_media): New insn.
4623 (indirect_jump): New expand.
4624 (untyped_call, return): Accept SHmedia.
4625 (return_media): New insn.
4626 (prologue, epilogue, blockage): Accept SHmedia.
4627 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
4628 (sunordered): New expand.
4629 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
4630 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
4631 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
4632 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
4633 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
4634 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
4635 abssf2_media): New insns.
4636 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
4637 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
4638 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
4639 floatdidf2, floatsidf2_media, fix_truncdfdi2,
4640 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
4641 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
4642 absdf2_media): New insns.
4643 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
4644 (extendsfdf2_media, truncdfsf2_media): New insns.
4645 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
4646 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
4647 * config/sh/sh.h (CONST_OK_FOR_J): Document.
4648 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
4649 * config/sh/sh.md (adddi3): New expand.
4650 (adddi3_media, adddi3z_media): New insns.
4651 (adddi3_compact): Renamed from adddi3.
4652 (addsi3_media): Use add.l r63 to add constant zero.
4653 (subdi3): New expand.
4654 (subdi3_media): New insn.
4655 (subdi3_compact): Renamed from subdi3.
4656 (mulsidi3): New expand.
4657 (mulsidi3_media): New insn.
4658 (mulsidi3_compact): Renamed from mulsidi3.
4659 (umulsidi3): New expand.
4660 (umulsidi3_media): New insn.
4661 (umulsidi3_compact): Renamed from umulsidi3.
4662 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
4663 (ashlsi3, ashrsi3, lshrsi3): Use them.
4664 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
4665 (ashldi3, ashrdi3, lshrdi3): Use them.
4666 (zero_extendsidi2): New expand.
4667 (extendsidi2): New insn.
4668 (movsi_media): New insn. Split to movdi to load constants.
4669 (movsi): Enable for shmedia.
4670 (movdi_media): New insn. Use shori_media to load wide constants.
4671 (short_media): New insn.
4672 (movdi): Enable for shmedia.
4673 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
4674 * config/sh/sh.h (CPP_SPEC): Added `m5'.
4675 (SUBTARGET_CPP_SPEC): Added `!m5'.
4676 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
4677 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
4678 to all other SH variants.
4679 (TARGET_DEFAULT): Set to SH1_BIT.
4680 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
4681 (BITS_PER_WORD): Raise to 64 on shmedia.
4682 (MAX_BITS_PER_WORD): Change to 64.
4683 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
4684 (INT_TYPE_SIZE): Keep as 32.
4685 (UNITS_PER_WORD): Raise to 8 on shmedia.
4686 (MIN_UNITS_PER_WORD): Keep as 4.
4687 (POINTER_SIZE): Raise to 64 on shmedia.
4688 (CONST_OK_FOR_J): New macro.
4689 (CONST_OK_FOR_LETTER_P): Use it.
4690 (processor_type): Add PROCESSOR_SH5.
4691 * config/sh/sh.md: Conditionalize all expands, insns and
4692 splits to TARGET_SH1.
4693 (cpu): Added sh5.
4694 (addsi3_compact): Renamed from...
4695 (addsi3): Now an expand.
4696 (addsi3_media, subsi3_media): New insns.
4697 (subsi3): Don't negate constants with SHmedia.
4698
e4ec2cac
AO
4699 * hooks.c: New file.
4700 * hooks.h: New file.
4701 * Makefile.in (HOOKS_H): New.
4702 (TARGET_DEF_H): Added $(HOOKS_H).
4703 (OBJS): Added hooks.o.
4704 (cfgcleanup.o, bb-reorder.o): Added target.h.
4705 (hooks.o): Added dependencies.
4706 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
4707 (TARGET_INITIALIZER): this.
4708 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
4709 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
4710 * bb-reorder.c: Include target.h.
4711 (reorder_basic_blocks): Skip if cannot modify jumps.
4712 * cfgcleanup.c: Include target.h.
4713 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
4714
246a46e0
CD
47152002-02-08 Chris Demetriou <cgd@broadcom.com>
4716
831c4e87
KC
4717 * config/mips/mips.md (casesi_internal, casesi_internal_di):
4718 Protect jump delay slot instructions with .set noreorder and
4719 .set nomacro.
246a46e0
CD
4720
47212002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
4722
4723 * config/mips/mips.md (casesi_internal_di): Calculate
4724 the index into the target offset table correctly.
4725
fdf473ae
RH
47262002-02-08 Richard Henderson <rth@redhat.com>
4727
4728 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
4729 * final.c (output_addr_const): Accept and discard SUBREG.
4730 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
4731 mark them unknown instead.
4732 (simplify_subtraction): Handle RTX_UNKNOWN.
4733 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
4734
c50503ac
DE
47352002-02-08 David Edelsohn <edelsohn@gnu.org>
4736
4737 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
4738
3660d217
RH
47392002-02-08 Richard Henderson <rth@redhat.com>
4740
4741 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
4742
56547299
AJ
47432002-02-08 Andreas Jaeger <aj@suse.de>
4744
4745 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
4746 * config/i386/t-linux64: New file.
4747
1cf537c5
JJ
47482002-02-08 Jakub Jelinek <jakub@redhat.com>
4749
4750 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
4751 * c-parse.in (compstmt): Clear last_expr_type.
4752
5c7f5a5f
RH
47532002-02-07 Richard Henderson <rth@redhat.com>
4754
4755 * loop.c (strength_reduce): Sink final_value when not
4756 eliminating a biv.
4757
b1138bf3
DB
47582002-02-07 David O'Brien <obrien@FreeBSD.org>
4759
4760 * config/sparc/freebsd.h: Fix mismatched spec {.
4761
b6878a45
RH
47622002-02-07 Richard Henderson <rth@redhat.com>
4763
4764 * cfgrtl.c: Include recog.h and insn-config.h.
4765 (keep_with_call_p): Fix general_operand invocation.
4766 * Makefile.in (cfgrtl.o): Update dependencies.
4767
ae19f5ef
KH
47682002-02-07 Kazu Hirata <kazu@hxi.com>
4769
4770 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
4771 comment. Accept HImode only if TARGET_H8300.
4772
b137f9fc
EC
47732002-02-07 Eric Christopher <echristo@redhat.com>
4774
4775 * config/mips/crtn.asm: Cleanup #ifdefs.
4776
47772002-02-07 Eric Christopher <echristo@redhat.com>
4778
4779 * config/mips/crti.asm: Add changes for mips16. mips16 uses
4780 register 7 as RA instead of $31.
4781 * config/mips/crtn.asm: Ditto.
4782 * config/mips/mips.c (mips_move_2words): Add case for
4783 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
4784 (compute_frame_size): Fix typo.
4785 (save_restore_insns): Ditto. Make documentation about using
4786 register $7 as return register more precise.
4787 (mips_expand_epilogue): Fix comment. Add code to work around not
4788 being able to add to the stack pointer directly.
4789 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
4790 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
4791 epilogue.
4792
768070a0
TR
47932002-02-07 Tom Rix <trix@redhat.com>
4794
b137f9fc 4795 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
4796 immediates in ldu and stdu DS opcode field.
4797 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
4798 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
4799 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
4800
225909c3
JS
48012002-02-07 Jeff Sturm <jsturm@one-point.com>
4802
4803 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
4804 offset for stack bias.
4805
15fae023
L
48062002-02-07 H.J. Lu <hjl@gnu.org>
4807
4808 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
4809
fde5badd
UW
48102002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
4811
4812 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
4813
162f023b
JH
4814Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
4815
4816 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
4817 * i386.c (x86_order_regs_for_local_alloc): New global function.
4818 * i386.h (REG_ALLOC_ORDER): CLeanup.
4819 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
4820
9b462c42
RH
48212002-02-07 Richard Henderson <rth@redhat.com>
4822
85aa876c 4823 PR optimization/2463
9b462c42
RH
4824 * alias.c (find_base_value): Recall base values for fixed hard regs.
4825 * loop.c (loop_regs_update): Don't use single_set on non-insns.
4826
06e455a9
AO
48272002-02-07 Alexandre Oliva <aoliva@redhat.com>
4828
4829 * config/mips/mips.md (define_delay) [mips16]: Adjust required
4830 length.
4831
edd1967d
RH
48322002-02-06 Richard Henderson <rth@redhat.com>
4833
4834 PR c/5609
4835 * stmt.c (resolve_operand_name_1): Take more care with mixed
4836 named and unnamed operands.
4837
a2cd028f
JJ
48382002-02-06 Janis Johnson <janis187@us.ibm.com>
4839 Jan Hubicka <jh@suse.cz>
4840
4841 * loop.c (remove_constant_addition): Avoid clobbering a shared
4842 CONST expression.
4843
e8487c04
UW
48442002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
4845
4846 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
4847 * config/s390/t-linux64: New file.
4848 * config/s390/libgcc-glibc.ver: New file.
4849
58d10f89
UW
48502002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
4851
4852 * config/s390/linux64.h: Delete file.
4853 * config/s390/s390x.h: New file.
4854 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
4855 as target header file.
4856 * config/s390/linux.h (TARGET_VERSION): Define depending on
4857 DEFAULT_TARGET_64BIT.
4858 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
4859 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
4860 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
4861 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
4862 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
4863 (EXTRA_SPEC): New define.
4864 * config/s390/s390.h (TARGET_VERSION): Define depending on
4865 DEFAULT_TARGET_64BIT.
4866 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
4867
5ce89b2e
JM
48682002-02-06 Jason Merrill <jason@redhat.com>
4869
4870 * c-decl.c (finish_function): Warn about a non-void function with
4871 no return statement and no abnormal exit.
4872 (current_function_returns_abnormally): New variable.
4873 (start_function): Clear it.
4874 (struct c_language_function): Add returns_abnormally.
4875 (push_c_function_context): Save it.
4876 (pop_c_function_context): Restore it.
4877 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
4878 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
4879 an explicit return type.
4880 * c-tree.h: Declare current_function_returns_abnormally.
4881 (C_FUNCTION_IMPLICIT_INT): New macro.
4882 * c-typeck.c (build_function_call): Set it.
4883 (c_expand_return): Set current_function_returns_value even if the
4884 value is erroneous.
4885
caaf2272
JJ
48862002-02-06 Jakub Jelinek <jakub@redhat.com>
4887
4888 PR c/5420:
4889 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
4890 unsafe for reevaluation.
4891
d5129288
JJ
48922002-02-06 Jakub Jelinek <jakub@redhat.com>
4893
4894 PR c/5482:
4895 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
4896 EXPR_STMT, but COMPOUND_STMT, recurse into it.
4897
7fb75099
RH
48982002-02-06 Richard Henderson <rth@redhat.com>
4899
4900 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
4901 be a general_operand. Dest for function value must be a pseudo.
4902
d3a8b6a6
NC
49032002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
4904
4905 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
4906 as SYMBOL_REFs from the constant pool.
4907
3c1299c5
AO
49082002-02-06 Alexandre Oliva <aoliva@redhat.com>
4909
4910 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
4911 passed by invisible reference.
4912
c2c9f6c9
RH
49132002-02-05 Richard Henderson <rth@redhat.com>
4914
4915 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
4916
a824924d
HPN
49172002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
4918
4919 Implement using "base addresses" in insn operands as default.
4920 * config/mmix/mmix.c (mmix_conditional_register_usage): if
4921 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
4922 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
4923 used to read the rtx value.
4924 (mmix_target_asm_function_epilogue): Fix spacing.
4925 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
4926 (mmix_legitimate_address): Ditto.
4927 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
4928 should be loaded with a GETA insn. Don't allocate needless extra
4929 char for nul termination and fix misleading comment.
4930 (mmix_print_operand_address): Handle constants if
4931 TARGET_BASE_ADDRESSES.
4932 (mmix_output_register_setting): Use base addressing if
4933 TARGET_BASE_ADDRESSES and the number of insns is 3.
4934 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
4935 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
4936 to use R as constraint, add LDA to match s.
4937 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
4938 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
4939 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
4940 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
4941 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
4942 order with other fixed registers.
4943 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
4944 other parameter/call-clobbered registers.
4945 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
4946 -mbase-addresses, -mno-base-addresses.
4947 (MMIX Options): Ditto.
4948
73c342b9
JDA
49492002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4950
4951 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
4952
ef238c58
AH
49532002-02-06 Aldy Hernandez <aldyh@redhat.com>
4954
831c4e87 4955 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 4956
ad08e60e
JT
49572002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
4958
4959 * config/netbsd.h (WCHAR_TYPE): Define.
4960 (WCHAR_TYPE_SIZE): Ditto.
4961 (WINT_TYPE): Ditto.
4962 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
4963 (WCHAR_UNSIGNED): Ditto.
4964 (WCHAR_TYPE_SIZE): Ditto.
4965 (WINT_TYPE): Ditto.
4966 * config/arm/netbsd.h: Likewise.
4967 * config/i386/netbsd-elf.h: Likewise.
4968 * config/i386/netbsd.h: Likewise.
4969 * config/m68k/netbsd-elf.h: Likewise.
4970 * config/m68k/netbsd.h: Likewise.
4971 * config/ns32k/netbsd.h: Likewise.
4972 * config/sparc/netbsd.h: Likewise.
4973 * config/vax/netbsd.: Likewise.
4974
f913c102
AO
49752002-02-05 Alexandre Oliva <aoliva@redhat.com>
4976
4977 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
4978 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
4979 (TARGET_INITIALIZER): this.
4980 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
4981 (BITFIELD_NBYTES_LIMITED): Markup fix.
4982 * tree.h (default_ms_bitfield_layout_p): Declare.
4983 (record_layout_info): Added prev_field.
4984 * tree.c (default_ms_bitfield_layout_p): New fn.
4985 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
4986 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
4987 * stor-layout.c: Include target.h.
4988 (start_record_layout): Initialize prev_field.
4989 (place_field): Handle MS bit-field layout, and disregard
4990 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
4991 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
4992 * Makefile.in (stor-layout.o): Adjust dependencies.
4993
c13db5d1
JM
49942002-02-05 Jason Merrill <jason@redhat.com>
4995
c13db5d1
JM
4996 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
4997
4505024e
AJ
49982002-02-05 Andreas Jaeger <aj@suse.de>
4999
5000 * crtstuff.c: Fix comments.
5001
794ad79d
RH
50022002-02-05 Richard Henderson <rth@redhat.com>
5003
2e279a9b
RH
5004 PR fortran/3393
5005 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
5006 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
5007
794ad79d
RH
5008 PR fortran/3392
5009 * config/mips/mips.c (function_arg): Handle TImode.
5010 (function_arg_advance): Likewise.
5011
8f909017
AH
50122002-02-05 Aldy Hernandez <aldyh@redhat.com>
5013
c13db5d1
JM
5014 * config/rs6000/altivec.h (vec_step_help): Rename to
5015 __vec_step_help.
8f909017 5016
66daa9e3
AH
50172002-02-05 Aldy Hernandez <aldyh@redhat.com>
5018
c13db5d1 5019 * config/rs6000/altivec.h: Fix typos.
66daa9e3 5020
2696e97b
JT
50212002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
5022
5023 * config/arm/netbsd.h: Correct a comment.
5024
3deb2758
AH
50252002-02-05 Aldy Hernandez <aldyh@redhat.com>
5026
c13db5d1
JM
5027 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
5028 building void typed builtins.
3deb2758 5029
c13db5d1
JM
5030 * config/rs6000/altivec.h (vec_ld*): Fix typos.
5031 (vec_step): Implement for C++.
3deb2758 5032
c13db5d1 5033Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
5034
5035 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
5036
ebbb0a63
RH
50372002-02-04 Richard Henderson <rth@redhat.com>
5038
5039 * combine.c (nonzero_bits): Re-introduce special case for
5040 sp/fp/ap wrt REGNO_POINTER_ALIGN.
5041
ae4b4a02
AH
50422002-02-05 Aldy Hernandez <aldyh@redhat.com>
5043
c13db5d1
JM
5044 * doc/extend.texi: Warn about unsupported usage of altivec
5045 builtins.
ae4b4a02 5046
c13db5d1
JM
5047 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
5048 (altivec_predicate_*): New.
ae4b4a02 5049
c13db5d1
JM
5050 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
5051 Add C++ version of vec_*() functions.
ae4b4a02 5052
c13db5d1
JM
5053 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
5054 (bdesc_2arg): Remove altivec predicates.
5055 (altivec_expand_builtin): Handle predicates.
5056 (altivec_init_builtins): Handle predicates.
5057 (altivec_expand_predicate_builtin): New.
ae4b4a02 5058
f6bcf44c
JDA
50592002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5060
5061 * pa.c (DO_FRAME_NOTES): Move forward.
5062 (store_reg): Revise handling of frame notes.
5063 (load_reg): Likewise.
5064 (set_reg_plus_d): Likewise.
5065 (hppa_expand_prologue): Likewise.
5066 (hppa_expand_epilogue): Likewise.
b137f9fc 5067
703b0080
JDA
50682002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5069
5070 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
5071
6f9fdf4d
JJ
50722002-02-04 Jakub Jelinek <jakub@redhat.com>
5073
5074 PR c/4475, c++/3780:
5075 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
5076 * c-common.h (SWITCH_TYPE): Define.
5077 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
5078 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
5079 Rename spareness variable to sparseness.
5080 (expand_end_case_type): Renamed from expand_end_case, use orig_type
5081 if non-NULL instead of TREE_TYPE (orig_index).
5082 * tree.h (expand_end_case_type): Renamed from expand_end_case.
5083 (expand_end_case): Define using expand_end_case_type.
5084 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
5085 to expand_end_case_type.
5086 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
5087
79109502
JDA
50882002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5089
5090 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
5091 (BIGGEST_ALIGNMENT): Change to 128.
5092
e62a5987
JDA
50932002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5094
5095 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
5096
219f24a4
JDA
50972002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
5098
5099 * pa.md (call_internal_reg_64bit): Remove unused variable.
5100
3cb66fd7
NC
51012002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
5102
5103 * config/arm/arm.h (machine_function): Add uses_anonymous_args
5104 field.
831c4e87 5105 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 5106 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
5107 replace uses with cfun->machine->uses_anonymous_args.
5108 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
5109
5110 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
5111 any geenral register.
b137f9fc 5112
5d5603e2 51132001-02-04 Bernd Schmidt <bernds@redhat.com>s
24c545ff
BS
5114
5115 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
5116 the entry block.
5117
563c12b0
RH
51182002-02-04 Richard Henderson <rth@redhat.com>
5119
5120 * combine.c (force_to_mode): Remove STACK_BIAS code.
5121 (nonzero_bits): Likewise. Replace sp/fp special case with
5122 REGNO_POINTER_ALIGN.
5123
5124 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
5125 (HARD_FRAME_POINTER_REGNUM): New.
5126 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
5127 (FIXED_REGS, CALL_USED_REGS): Update.
5128 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
5129 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
5130 (HARD_REGNO_NREGS): Update for SFP.
5131 (STACK_POINTER_OFFSET): Include bias here ...
5132 (FIRST_PARM_OFFSET): ... not here.
5133 (STACK_BIAS): Remove.
5134 (INIT_EXPANDERS): New.
5135 (STARTING_FRAME_OFFSET): Do not include bias.
5136 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5137 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
5138 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
5139 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
5140 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
5141 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
5142 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
5143 (MUST_SAVE_REGISTER): Likewise.
5144 (sparc_flat_function_prologue): Likewise.
5145 (sparc_flat_function_epilogue): Likewise.
5146 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
5147 (sparc_init_modes): SFP is GENERAL_REGS.
5148 (sparc_builtin_saveregs): SFP does not have bias applied.
5149
14691f8d
RH
51502002-02-04 Richard Henderson <rth@redhat.com>
5151
5152 * config/alpha/alpha.c (current_function_is_thunk): Don't check
5153 current_function_is_thunk.
5154 (alpha_sa_mask): Distinguish between current_function_is_thunk
5155 called from ASM_OUTPUT_MI_THUNK and not.
5156 (alpha_does_function_need_gp): Thunks always need gp.
5157 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
5158 (alpha_output_mi_thunk_osf): New.
5159 * config/alpha/alpha-protos.h: Update.
5160 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
5161
af702de8
RS
51622002-02-04 Richard Sandiford <rsandifo@redhat.com>
5163
5164 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
5165 function types, not when they're taken away.
5166
5b1cacd8
JL
5167Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
5168
5169 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
5170 CODE_LABEL and jump table when replacing a table jump with a
5171 simple jump.
5172
f3e9edff
UW
51732002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5174
5175 * config/s390/s390-protos.h (legitimize_la_operand,
5176 s390_secondary_input_reload_class, s390_plus_operand,
5177 s390_expand_plus_operand): Add prototypes.
5178
5179 config/s390/s390.c (s390_secondary_input_reload_class,
5180 s390_plus_operand, s390_expand_plus_operand): New functions.
5181
5182 (struct s390_address): New member 'pointer'.
5183 (s390_decompose_address): Compute it.
5184 (legitimate_la_operand_p): Use it.
5185 (legitimize_la_operand): New function.
5186 (movti, movdi, movdf splitters): Call it.
5187
5188 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
5189 (PREDICATE_CODES): Add s390_plus_operand.
5190
5191 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
5192 (la_ccclobber): Allow GENERAL_REGS as output operand.
5193
5194 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
5195 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
5196 (*la_64, *la_31, reload_indi, reload_insi): ... these.
5197
3c9a08ec
UW
51982002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5199
5200 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
5201 register names for regular asm () construct.
5202
ac300a45
JJ
52032002-02-04 Jakub Jelinek <jakub@redhat.com>
5204
5205 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
5206 registers.
5207
fa852403
JJ
52082002-02-04 Jakub Jelinek <jakub@redhat.com>
5209
5210 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
5211 pat for recog.
5212
fecaac37
HP
52132002-02-04 Hartmut Penner <hpenner@de.ibm.com>
5214
831c4e87
KC
5215 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
5216 constant pool to be identical by string address and index.
fecaac37 5217
10c45943
AG
52182002-02-04 Anthony Green <green@redhat.com>
5219
5220 * output.h (SECTION_OVERRIDE): Define.
5221 * varasm.c (named_section): Obey SECTION_OVERRIDE.
5222
69474c3c
JT
52232002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
5224
5225 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
5226 by existing arm*-*-netbsd* (a.out) target.
5227 (ns32k-*-netbsdelf*): Likewise.
5228 (sparc-*-netbsdelf*): Likewise.
5229 (vax-*-netbsdelf*): Likewise.
5230
939a46f6 52312002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
5232
5233 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
5234 headers and libobjc headers.
5235
52362002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
5237
5238 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
5239 (_mingw.h): Remove duplicate include.
5240
2fd95d71
JT
52412002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
5242
5243 * config.gcc: Set cpu_type to m68k for 68010, as well.
5244 (m68010-*-netbsdelf*): New...
5245 (m68k*-*-netbsdelf*): ...targets.
5246 * config/m68k/netbsd-elf.h: New file.
5247
0ea6f6a0
KH
52482002-02-02 Kazu Hirata <kazu@hxi.com>
5249
5250 * config/h8300/h8300.c (hand_list): Move inside function_arg.
5251
cbf1b2da
KH
52522002-02-02 Kazu Hirata <kazu@hxi.com>
5253
5254 * config/h8300/h8300.c (h8_push_ops): Move inside
5255 h8300_init_once.
5256 (h8_pop_ops): Likewise.
5257 (h8_move_ops): Likewise.
5258
0869f126
KH
52592002-02-02 Kazu Hirata <kazu@hxi.com>
5260
5261 * config/h8300/h8300.c (os_task): Make it static.
5262 (monitor): Likewise.
5263 (pragma_saveall): Likewise.
5264
90e65b70
AO
52652002-02-02 Alexandre Oliva <aoliva@redhat.com>
5266
5267 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
5268 constant is a valid sign-extension for Pmode.
5269
9cbcd983
KH
52702002-02-02 Kazu Hirata <kazu@hxi.com>
5271
5272 * config/h8300/h8300.c: Fix formatting.
5273
7a27efc4
KH
52742002-02-02 Kazu Hirata <kazu@hxi.com>
5275
5276 * config/h8300/h8300.md: Fix formatting.
5277
54175a44
KH
52782002-02-02 Kazu Hirata <kazu@hxi.com>
5279
5280 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
5281 predicates of operands[1]. Split the patterns for each
5282 processor variant.
5283
eceb1755
KH
52842002-02-02 Kazu Hirata <kazu@hxi.com>
5285
5286 * config/h8300/h8300.md (xor patterns): Tighten the predicates
5287 of operands[1] to register_operand.
5288
0fef3fd0
NB
52892002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
5290
5291 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
5292 * cpphash.c (_cpp_init_hashtable): Similarly.
5293 * cppinit.c (cpp_create_reader): Default the signed_char flag.
5294 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
5295 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
5296 (cpp_handle_option): Handle the new options.
5297 * cpplex.c (cpp_interpret_charconst): Use new flag.
5298 * cpplib.h (struct cpp_options): New member signed_char.
5299 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
5300 (cpp_options): Handle -fsigned-char and -funsigned-char.
5301 (static_specs): Remove signed_char_spec.
5302 (do_spec1): Don't handle %c.
5303 * system.h: Poison SIGNED_CHAR_SPEC.
5304 * tradcif.y (yylex): Use flag_signed_char.
5305 * tradcpp.h (flag_signed_char): New.
5306 * tradcpp.c (flag_signed_char): New.
5307 (main): Handle new command-line options.
5308 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
5309config:
5310 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
5311 * avr/avr.h: Remove old comments.
5312 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
5313 (CC1_SPEC): Pass -fsigned-char if -mic*.
5314 (SIGNED_CHAR_SPEC): Remove.
5315doc:
5316 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
5317
0617ed52
EC
53182002-02-01 Eric Christopher <echristo@redhat.com>
5319
5320 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
5321 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
5322 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
5323 (ASM_OUTPUT_REG_POP): Ditto.
5324
dfd48d76
NB
53252002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
5326
5327 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
5328 patch.
5329
4a23409e
JJ
53302002-02-02 Jakub Jelinek <jakub@redhat.com>
5331
5332 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
5333
d3c52658
JJ
53342002-02-02 Jakub Jelinek <jakub@redhat.com>
5335
5336 PR c/5304:
5337 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
5338 unconditionally.
5339
02c5a3bd
JJ
53402002-02-01 Janis Johnson <janis187@us.ibm.com>
5341
5342 * cfganal.c: Include tm_p.h.
5343 (keep_with_call_p): Fix the test that determines if a register holds
5344 the return value of a call.
5345
3968de80
DD
53462002-02-01 DJ Delorie <dj@redhat.com>
5347
5348 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
5349 we are given conflicting registers, switch to the other one we
5350 had allocated for us.
5351 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
5352 as TImode so we know when the "other" register is available.
5353
1338ea6c
DB
53542002-02-01 David O'Brien <obrien@FreeBSD.org>
5355
5356 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
5357 sparc/sparc_bi.h.
5358
f015be23
JJ
53592002-02-01 Janis Johnson <janis187@us.ibm.com>
5360
5361 * cfganal.c (keep_with_call_p): New function.
5362 (flow_call_edges_add): Prevent splitting a block between a call and
5363 a single-set instruction that should be kept in the same block.
5364
63708ffc
CR
53652002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
5366
5367 * doc/install.texi (avr): Update outdated URL.
5368
5ee4950e
AH
53692002-01-30 Andrew Haley <aph@cambridge.redhat.com>
5370
831c4e87
KC
5371 * config/stormy16/stormy16.md (pushqi): New.
5372 (popqi): New.
5373 (pushhi): New.
5374 (pophi): New.
5375 (movhi): Remove stack operands.
5376 (movqi): Likewise.
5377 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
5378 nonimmediate_nonstack_operand.
5379 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
5380 New.
5381 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
5382 New.
5ee4950e 5383
b88c0704
JM
53842002-01-31 Jason Merrill <jason@redhat.com>
5385
5386 * Makefile.in (c-parse.c): Handle .output file.
5387 * objc/Make-lang.in (objc-parse.c): Likewise.
5388
ac282977
AO
53892002-02-01 Alexandre Oliva <aoliva@redhat.com>
5390
5391 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
5392 the -me[lb] option is given. Don't output the default flag
5393 twice.
5394
bebc7e8b
ZW
53952002-01-31 Zack Weinberg <zack@codesourcery.com>
5396
5397 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
5398 the primary source file; this has not been done yet.
5399 * c-decl.c (c_expand_body): Reset input_filename from
5400 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
5401
5809eb5f
KH
54022002-01-31 Kazu Hirata <kazu@hxi.com>
5403
5404 * rtlanal.c (subreg_regno_offset): Do not use
5405 SUBREG_REGNO_OFFSET.
5406 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
5407 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
5408
8512bbd7
JM
54092002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
5410
5411 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
5412 version rather than GNATS version in --version output.
5413
74cb3cc8
RS
54142002-01-31 Richard Sandiford <rsandifo@redhat.com>
5415
5416 * ifcvt.c (noce_process_if_block): Make a copy of the destination
5417 when copying back from a temporary.
5418
874b5b14
RH
54192002-01-30 Richard Henderson <rth@redhat.com>
5420
5421 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
5422 and new_dest are the same.
5423
e803a64b
RH
54242002-01-30 Richard Henderson <rth@redhat.com>
5425
89cf7be5 5426 PR opt/5076
e803a64b
RH
5427 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
5428 * rtl.c (note_insn_name): Update.
5429 * emit-rtl.c (remove_unnecessary_notes): Kill it.
5430 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
5431 to perform loop rotation.
5432 (expand_exit_loop_top_cond): New.
5433 * tree.h (expand_exit_loop_top_cond): Declare it.
5434 * c-semantics.c (genrtl_while_stmt): Use it.
5435 (genrtl_for_stmt): Likewise.
5436
0b51254d
AO
54372002-01-30 Alexandre Oliva <aoliva@redhat.com>
5438
5439 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
5440 arguments to 64-bit boundaries on 64-bit ABIs.
5441
71cef493
SE
54422002-01-30 Steve Ellcey <sje@cup.hp.com>
5443
5444 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
5445
6169e5fd
JM
54462002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
5447
5448 * c-decl.c (grokdeclarator): Handle type being a typedef for an
5449 invalid type.
5450
86f808dc
DB
54512002-01-30 David O'Brien <obrien@FreeBSD.org>
5452
5453 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
5454 * config/sparc/sparc_bi.h: Remove file.
5455 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
5456
5748ebeb
RH
54572002-01-30 Richard Henderson <rth@redhat.com>
5458
5459 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
5460
20d32cc2
ZW
54612002-01-30 Zack Weinberg <zack@codesourcery.com>
5462
5463 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
5464
b88c0704 54652002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
5466
5467 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
5468 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
5469 (reg_save): Use DW_CFA_offset_extended_sf instead.
5470
5471 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
5472
37060e78
JJ
54732002-01-29 Jakub Jelinek <jakub@redhat.com>
5474
5475 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
5476 in cselib_lookup.
5477
d18dba68
AH
54782002-01-29 Aldy Hernandez <aldyh@redhat.com>
5479
bebc7e8b
ZW
5480 * rs6000.md ("*call_value_local32"): Remove constraints.
5481 ("*call_value_local64"): Same.
5482 ("*call_value_indirect_nonlocal_aix32"): Same.
5483 ("*call_value_nonlocal_aix32"): Same.
5484 ("*call_value_indirect_nonlocal_aix64"): Same.
5485 ("*call_value_nonlocal_aix64"): Same.
5486 ("*call_value_nonlocal_sysv"): Same.
d18dba68 5487
80a8aac6
RH
54882002-01-29 Richard Henderson <rth@redhat.com>
5489
5490 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
5491
12beba6f
RH
54922002-01-29 Richard Henderson <rth@redhat.com>
5493
5494 * expr.c (force_operand): Ignore flag_pic for detecting pic
5495 address loads.
5496 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
5497 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
5498 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
5499 instead of open-coded loop.
5500 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
5501 be fixed when in use.
5502
2583081e
RH
55032002-01-29 Richard Henderson <rth@redhat.com>
5504
5505 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
5506 * sched-rgn.c (propagate_deps): Update them.
5507 * sched-deps.c (sched_analyze_insn): Update them. Flush the
5508 clobbers list when either gets too long.
5509
3b8d200e
JJ
55102002-01-29 Jakub Jelinek <jakub@redhat.com>
5511
5512 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
5513 and INDEX_REGS the same as GENERAL_REGS.
5514 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
5515
2d3115eb
NB
55162002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
5517
bebc7e8b 5518 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 5519
ecbe845e
UW
55202002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
5521
bebc7e8b 5522 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 5523 movstrsix_31): Remove, replace by ...
bebc7e8b 5524 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
5525 movstrsi_long): ... these. New.
5526 (movstrdi, movstrsi): Adapt.
5527
5528 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 5529 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
5530 Remove unnecessary CC clobber.
5531 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
5532 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
5533
5534 (divmoddi4): Don't partially initialize TImode register.
5535
0b32fca5
GK
55362002-01-29 Geoffrey Keating <geoffk@redhat.com>
5537
5538 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
5539
08ef5437
RH
55402002-01-29 Richard Henderson <rth@redhat.com>
5541
5542 * flow.c (print_rtl_and_abort): Remove.
5543 (print_rtl_and_abort_fcn): Remove.
5544 (verify_local_live_at_start): Use dump_bb instead.
5545 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
5546 (verify_wide_reg_1): Return 2 on mode test failure.
5547
8469e54e
NB
55482002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
5549
5550 PR c/3325, c/3326, c/2511, c/3347
5551 * c-decl.c (enum_decl_context): Remove BITFIELD.
5552 (grokdeclarator): Take bitfield width as an input.
5553 Ensure bitfields are given the correct type. Perform
5554 bitfield width validation with build_bitfield_integer_type
5555 rather than waiting for finish_struct.
5556 (grok_typename, grok_typename_in_parm_context, start_decl,
5557 push_parmdecl, grokfield, start_function): Update calls to
5558 grokdeclarator.
5559 (build_bitfield_integer_type): New function.
5560 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 5561 and build_bitfield_integer_type.
8469e54e
NB
5562 * tree.c (build_nonstandard_integer_type): New function.
5563 * tree.h (build_nonstandard_integer_type): New prototype.
5564objc:
5565 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
5566
ffdeea47
JJ
55672002-01-29 Jakub Jelinek <jakub@redhat.com>
5568
5569 PR other/1502:
5570 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
5571 don't ignore unrecognized -W* options.
5572 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
5573 * cpplib.h (cpp_handle_option): Adjust prototype.
5574 * c-decl.c (c_decode_options): Pass 0 as last argument to
5575 cpp_handle_option.
5576
5577 PR c/2896:
5578 * gcc.c (cpp_unique_options): Split from cpp_options.
5579 (cpp_options): Source cpp_unique_options.
5580 (default_compilers): Use cpp_unique_options instead of cpp_options
5581 when used together with cc1_options.
5582 (static_specs): Add cpp_unique_options.
5583 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
5584 when used together with cc1_options.
5585
1a275226
KH
55862002-01-29 Kazu Hirata <kazu@hxi.com>
5587
5588 * config/h8300/h8300-protos.h: Update the prototype of
5589 output_a_shift.
5590 * config/h8300/h8300.c (output_a_shift): Remove an unused
5591 argument 'insn'. Remove redundant code.
5592 * config/h8300/h8300.md: Adust to the new prototype of
5593 output_a_shift.
5594
a11d9dfc
KH
55952002-01-29 Kazu Hirata <kazu@hxi.com>
5596
5597 * config/h8300/h8300-protos.h: Update the prototypes of
5598 emit_a_rotate and expand_a_rotate.
5599 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
5600 first argument to 'enum rtx_code'.
5601 (expand_a_rotate): Likewise.
5602
871f73e3
KH
56032002-01-28 Kazu Hirata <kazu@hxi.com>
5604
5605 * config/h8300/h8300-protos.h: Update the prototype of
5606 output_simode_bld.
5607 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
5608 'log2'.
5609 * config/h8300/h8300.md: Adjust to the new prototype.
5610
5fc4b751
KH
56112002-01-28 Kazu Hirata <kazu@hxi.com>
5612
5613 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
5614 redundant code.
5615
2d67bd7b
JDA
56162002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
5617
5618 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
5619 is a fixed register before returning pic_offset_table_rtx.
5620 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
5621 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
5622
5a852b3e
JM
56232002-01-28 Jason Merrill <jason@redhat.com>
5624
6bb28965 5625 * dwarf2.h: Sync with src version.
5a852b3e 5626
3bca17dd
PK
56272002-01-28 Paul Koning <pkoning@equallogic.com>
5628
5629 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
5630 BT_FN_VOID_PTR_VAR.
5631 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
5632 * doc/extend.texi (__builtin_prefetch): Update documentation:
5633 first argument is now const void ptr.
5634
7dc3f8c0
KH
56352002-01-28 Kazu Hirata <kazu@hxi.com>
5636
5637 * config/h8300/h8300-protos.h: Remove an unused prototype.
5638
e83cb5f0
RZ
56392002-01-28 Roman Zippel <zippel@linux-m68k.org>
5640
5641 * toplev.c (lang_independent_init): Round up identifier size.
5642
5721cd84
RE
56432002-01-28 Richard Earnshaw <rearnsha@arm.com>
5644
5645 * config.gcc: Revert previous change.
5646
d534119e
AP
56472002-01-28 Andris Pavenis <pavenis@latnet.lv>
5648
5649 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
5650
5a721dab
RE
56512002-01-28 Richard Earnshaw <rearnsha@arm.com>
5652
5653 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
5654 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
5655 other non-elf netbsd config frags.
5656 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
5657 collect2 will does that.
5658 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
5659 shared-lib frobbing will work.
5660
da1775d6
KH
56612002-01-28 Kazu Hirata <kazu@hxi.com>
5662
5663 * config/h8300/h8300.h: Fix formatting.
5664 * config/h8300/h8300.md: Likewise.
5665
8f2e963b
LR
56662002-01-28 Loren J. Rittle <ljrittle@acm.org>
5667
5668 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
5669 the old, removed AAA_standards fix.
5670 * fixinc/fixincl.x: Rebuilt.
5671
fdae5767
HPN
56722002-01-28 Hans-Peter Nilsson <hp@axis.com>
5673
5674 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
5675 atexit call in crtbegin, hooked in after call to frame_dummy;
5676 register EH before registering __fini__start.
5677
2a2ecb63
AH
56782002-01-28 Aldy Hernandez <aldyh@redhat.com>
5679
5680 * config/rs6000/altivec.h: Remove spurious semicolons.
5681
8ed43adf
KH
56822002-01-27 Kazu Hirata <kazu@hxi.com>
5683
5684 * config/h8300/h8300.md: Replace dead bit extraction patterns
5685 with ones that work.
5686
917afb0c
RK
5687Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5688
5689 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
5690 if not STRICT_ALIGNMENT.
5691 * rtl.h (MEM_ALIGN): Likewise.
5692
f70a54cb
CR
56932002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
5694
5695 * doc/invoke.texi (-fdump-translation-unit): Revert this
5696 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
5697
d8fd4914
KH
56982002-01-27 Kazu Hirata <kazu@hxi.com>
5699
5700 * config/h8300/h8300.md (define_constants): New.
5701 (anonymous patterns) Use defined constants appropriately.
5702
15e0e275
KH
57032002-01-27 Kazu Hirata <kazu@hxi.com>
5704
5705 * config/h8300/h8300.c (function_arg): Remove redundant code.
5706
37a0f8a5
RH
57072002-01-26 Richard Henderson <rth@redhat.com>
5708
5709 * sched-deps.c (reg_pending_uses_head): New.
5710 (reg_pending_barrier): Rename from reg_pending_sets_all.
5711 (find_insn_list): Don't mark inline.
5712 (find_insn_mem_list): Remove.
5713 (add_dependence_list, add_dependence_list_and_free): New.
5714 (flush_pending_lists): Replace only_write param with separate
5715 for_read and for_write parameters. Update all callers. Use
5716 add_dependence_list_and_free.
5717 (sched_analyze_1): Do not add reg dependencies here; just set
5718 the pending bits. Use add_dependence_list.
5719 (sched_analyze_2): Likewise.
5720 (sched_analyze_insn): Replace schedule_barrier_found with
5721 reg_pending_barrier. Add all dependencies for pending reg
5722 uses, sets, and clobbers.
5723 (sched_analyze): Don't add reg dependencies for calls, just
5724 set pending bits. Use regs_invalidated_by_call. Treat
5725 sched_before_next_call as a normal list, not a fake insn.
5726 (init_deps): No funny init for sched_before_next_call.
5727 (free_deps): Free pending mems lists. Don't zero reg_last.
5728 (init_deps_global): Init reg_pending_uses.
5729 (finish_deps_global): Free it.
5730 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
5731 (find_insn_mem_list): Remove.
5732 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
5733 (propagate_deps): Use them. Zero temp mem lists.
5734
cea3bd3e
RH
57352002-01-26 Richard Henderson <rth@redhat.com>
5736
5737 * Makefile.in (CRTSTUFF_CFLAGS): New.
5738 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
5739 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
5740 crtstuff.c instead of alpha assembly version.
5741 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
5742 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
5743 not FORCE_{INIT,FINI}_SECTION_ALIGN.
5744 (__do_global_dtors_aux): Mark used.
5745 (frame_dummy, __do_global_ctors_aux): Mark used.
5746 (fini_dummy, init_dummy): Remove.
5747
5748 * config/alpha/crtbegin.asm: Remove file.
5749 * config/alpha/crtend.asm: Remove file.
5750 * config/alpha/t-crtbe: Remove file.
5751 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
5752 (LINK_EH_SPEC): New.
5753
5754 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
5755 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
5756 calling constructors.
5757 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
5758
5759 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
5760 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
5761 CRT_END_INIT_DUMMY hack.
5762 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
5763 FORCE_{INIT,FINI}_SECTION_ALIGN.
5764
5765 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
5766 FORCE_{INIT,FINI}_SECTION_ALIGN.
5767
5768 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
5769 invocation sequence.
5770 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
5771
5772 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
5773 (FORCE_CODE_SECTION_ALIGN): New.
5774
60ffa0e5
RH
57752002-01-26 Richard Henderson <rth@redhat.com>
5776
5777 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
5778
61334ebe
RH
57792002-01-26 Richard Henderson <rth@redhat.com>
5780
5781 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
5782 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
5783
1d788fb6
KH
57842002-01-26 Kazu Hirata <kazu@hxi.com>
5785
5786 * config/h8300/h8300.md: Remove bit extraction patterns that
5787 cannot be triggered.
5788 Restrict each bit extraction pattern to a variant on which the
5789 pattern is tested.
5790
87611f88
JM
57912002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
5792
5793 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
5794
cd74ec59
KH
57952002-01-26 Kazu Hirata <kazu@hxi.com>
5796
5797 * config/h8300/h8300.md: Remove bit test patterns that cannot
5798 be triggered.
5799 Restrict each bit test pattern to a variant on which the
5800 pattern is tested.
5801
93051e0f
KG
58022002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5803
5804 * builtins.c (expand_builtin_strncat): Remove redundant check for
5805 INTEGER_CST.
5806
216c995f
DB
58072002-01-25 David O'Brien <obrien@FreeBSD.org>
5808
5809 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
5810 default setting.
5811 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
5812 existing setting.
5813
33c7f925
GK
58142002-01-25 Geoffrey Keating <geoffk@redhat.com>
5815
5816 * dbxout.c (dbxout_init): Use assemble_name rather than just
5817 stripping off the first character.
5818 (dbxout_source_file): Likewise.
5819
6cd444b4
DD
58202002-01-25 DJ Delorie <dj@redhat.com>
5821
5822 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
5823 using rtx_equal_p, not by comparing pointers.
5824
751551d5
SE
58252002-01-25 Steve Ellcey <sje@cup.hp.com>
5826
5827 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
5828 for PIC_OFFSET_TABLE_REGNUM.
5829 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
5830
e564e618
DB
58312002-01-25 David O'Brien <obrien@FreeBSD.org>
5832
5833 * config.gcc (x86_64-*-freebsd*): New target.
5834 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
5835 value.
5836 (i[34567]86-*-freebsd*): Don't include svr4.h.
5837 * config/i386/freebsd64.h: New file.
5838
ff3aaf17
DR
58392002-01-25 Douglas B Rupp <rupp@gnat.com>
5840
4857d29d
DR
5841 * config/alpha/x-vms (version): Make static.
5842
5843 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
5844 in previous checkin.
5845
ff3aaf17
DR
5846 * Makefile.in (install-headers-cp): New target.
5847 * config.gcc (alpha-dec-*vms*): Install headers with
5848 install-headers-cp
5849
48d79c43
JH
5850Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
5851
5852 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
5853 avoid it's copies.
5854
995b5904
RK
5855Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5856
5857 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
5858 of compare_tree_int.
5859 (expand_builtin_strncat): Likewise.
5860 * c-decl.c (finish_struct): Use tree_low_cst.
5861 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
5862 * tree.c (compare_tree_int): Likewise.
5863
75eefe3f
UW
58642002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
5865
5866 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
5867 adjustments even if they are implemented by more than two insns.
5868
5a133afd
JH
5869Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
5870
995b5904 5871 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
5872 * df.h (struct ref): Kill B.
5873 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
5874
5875 * basic-block.h (PROP_EQUAL_NOTES): New flag.
5876 * flow.c (propagate_one_insn): Use it.
5877 (mark_used_regs): Handle NIL.
5878
ead39bdf 58792002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
5880
5881 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
5882 to help folding.
5883
01a2ccd0
DE
58842002-01-25 David Edelsohn <edelsohn@gnu.org>
5885
5886 * rs6000.md (prefetch): Make address V4SI mode so that the address
5887 is restricted to legitimate form for instruction.
5888
fd29f6ea
BW
58892002-01-25 Bob Wilson <bob.wilson@acm.org>
5890
5891 * doc/install.texi (xtensa-*-elf): New target.
5892 (xtensa-*-linux*): New target.
5893 * doc/contrib.texi: Add myself.
5894
55492b32
NC
58952002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
5896
5897 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
5898 purpose register to hold an SImode (or smaller) value.
5899
72c7c913
JJ
59002002-01-25 Jakub Jelinek <jakub@redhat.com>
5901
5902 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
5903 registry only.
5904 * crtstuff.c: Likewise.
5905
c4df4ceb
KH
59062002-01-25 Kazu Hirata <kazu@hxi.com>
5907
5908 * config/h8300/h8300.md (negation patterns): Tighten
5909 predicates to register_operand.
5910
70e531f5
AH
59112002-01-24 Aldy Hernandez <aldyh@redhat.com>
5912
3bca17dd
PK
5913 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
5914 mode, not Pmode.
70e531f5 5915
3bca17dd 5916 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 5917
a4f76ef9
AO
59182002-01-24 Alexandre Oliva <aoliva@redhat.com>
5919
5920 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
5921 modes.
5922
9bf25b09
KH
59232002-01-24 Kazu Hirata <kazu@hxi.com>
5924
5925 * config/h8300/h8300.c (print_operand): Remove support for
5926 operand character 'A'.
5927 * config/h8300/h8300.md (three anonymous patterns): Replace
5928 operand character 'A' with either 'T' or 'S'.
5929
974af6a5
KH
59302002-01-24 Kazu Hirata <kazu@hxi.com>
5931
5932 * config/h8300/h8300.c (print_operand): Remove support for
5933 operand character 'U'.
5934
7a5bb7b8
AP
59352002-01-24 Andris Pavenis <pavenis@latnet.lv>
5936
3bca17dd 5937 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 5938
92a4639e
NC
59392002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
5940
5941 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
5942 values to be assigned to the stack pointer.
5943
467cb2da
HP
59442002-01-14 Hartmut Penner <hpenner@de.ibm.com>
5945
bebc7e8b 5946 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
5947 to const_double needs to be done right for big-endian systems.
5948
3b6cb920
JM
59492002-01-24 Jason Merrill <jason@redhat.com>
5950
b08dd119 5951 PR c++/2432
3b6cb920
JM
5952 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
5953 to can_throw_internal.
5954
f3077311
RH
59552002-01-23 Richard Henderson <rth@redhat.com>
5956
5957 * fold-const.c (fold): Change UINT_MAX test to check vs precision
5958 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
5959
e1d71275
AO
59602002-01-24 Alexandre Oliva <aoliva@redhat.com>
5961
5962 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
5963 (symGOT2reg): Use them, then set as GOT value as unchanging.
5964 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
5965 as a temporary, if possible.
5966 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
5967 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
5968
dc271dbe
KH
59692002-01-23 Kazu Hirata <kazu@hxi.com>
5970
5971 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
5972 accept to accept 0x80 as operands[2].
5973
1a9017f9
AO
59742002-01-24 Alexandre Oliva <aoliva@redhat.com>
5975
5976 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
5977
6932f033
RH
59782002-01-23 Richard Henderson <rth@redhat.com>
5979
5980 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
5981
709619d9
AH
59822002-01-23 Aldy Hernandez <aldyh@redhat.com>
5983
3bca17dd
PK
5984 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
5985 (parmlist_or_identifiers_1): Verify that only a parmlist follows
5986 an attribute.
709619d9 5987
3d709fd3
RH
59882002-01-23 Richard Henderson <rth@redhat.com>
5989
5990 * expr.c (move_by_pieces_1): Extend size before negation.
5991
88a446c0
RH
5992 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
5993 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
5994 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
5995 * config/m68k/t-m68kelf: Likewise.
5996
03984308
BW
59972002-01-23 Bob Wilson <bob.wilson@acm.org>
5998
5999 * config/xtensa/elf.h: New file.
6000 * config/xtensa/lib1funcs.asm: New file.
6001 * config/xtensa/lib2funcs.S: New file.
6002 * config/xtensa/linux.h: New file.
6003 * config/xtensa/t-xtensa: New file.
6004 * config/xtensa/xtensa-config.h: New file.
6005 * config/xtensa/xtensa-protos.h: New file.
6006 * config/xtensa/xtensa.c: New file.
6007 * config/xtensa/xtensa.h: New file.
6008 * config/xtensa/xtensa.md: New file.
6009 * config.gcc (xtensa-*-elf*): New target.
6010 (xtensa-*-linux*): New target.
6011 * cse.c (canon_hash): Compare rtx pointers instead of register
6012 numbers. This is required for the Xtensa port.
6013 * integrate.c (copy_insn_list): Handle case where the static
6014 chain is in memory and the memory address has to be copied to
6015 a register.
6016 * doc/invoke.texi (Option Summary): Add Xtensa options.
6017 (Xtensa Options): New node.
6018 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
6019
c3d5c3fa
ZW
60202002-01-23 Zack Weinberg <zack@codesourcery.com>
6021
a63bea75
ZW
6022 * diagnostic.c (internal_error): Do ICE suppression only
6023 when ENABLE_CHECKING is not defined.
6024
c3d5c3fa
ZW
6025 * c-typeck.c (require_complete_type): Return error_mark_node
6026 if type is error_mark_node.
6027
1398974c
JJ
60282002-01-23 Janis Johnson <janis187@us.ibm.com>
6029
6030 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
6031 -Os and issue a warning.
6032
807633e5
ZW
60332002-01-23 Zack Weinberg <zack@codesourcery.com>
6034
6035 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
6036 current (lack of) need for host configuration by hand.
6037
6038 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
6039 references. Documentation of some target macros moved from
6040 hostconfig.texi to tm.texi.
6041
cf8002d0
WC
60422002-01-23 Will Cohen <wcohen@redhat.com>
6043
6044 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
6045 defined.
6046
d1e76310
KH
60472002-01-23 Kazu Hirata <kazu@hxi.com>
6048
6049 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
6050 operand[3].
6051
b2115575
JM
60522002-01-23 Jason Merrill <jason@redhat.com>
6053
f893c16e
JM
6054 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
6055
b2115575
JM
6056 * function.c (assign_parms): Don't put args of inline functions
6057 into registers when not optimizing.
6058
6bacc7b0
NC
60592002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
6060
6061 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
6062 (prologue_use): New pattern.
6063 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
6064 preference to gen_rtx_USE.
6065 (thumb_expand_prologue): Use gen_prologue_use in preference to
6066 gen_rtx_USE.
6067 (thumb_expand_epilogue): Use gen_prologue_use in preference to
6068 gen_rtx_USE.
6069
a415f7bc
HPN
60702002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
6071
6072 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
6073
5372b3fb
NB
60742002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
6075
6076 PR c/3504
6077 * doc/extend.texi: Correct documentation of __alignof__.
6078
bd571ffc
ZW
60792002-01-22 Zack Weinberg <zack@codesourcery.com>
6080
6081 * params.h: Rename arguments of DEFPARAM so that it will be
6082 recognized as a translation keyword.
6083
333c8841
AH
60842002-01-22 Aldy Hernandez <aldyh@redhat.com>
6085
bd571ffc
ZW
6086 * extend.texi: Document altivec functions.
6087 Fix N-bit adjectives in X86 builtin documentation.
333c8841 6088
38979c65
AO
60892002-01-22 Alexandre Oliva <aoliva@redhat.com>
6090
6091 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
6092 auto_inc_dec values.
6093
7458a9f0
RE
60942002-01-22 Richard Earnshaw <rearnsha@arm.com>
6095
6096 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
6097 after backslash.
6098 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
6099
129bd0c4
AO
61002002-01-22 Alexandre Oliva <aoliva@redhat.com>
6101
6102 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
6103
8b9b74a9
RH
61042002-01-22 Richard Henderson <rth@redhat.com>
6105
6106 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
6107 copy_insn not copy_rtx.
6108
d0c9db30
AM
61092002-01-23 Alan Modra <amodra@bigpond.net.au>
6110
6111 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
6112 "nonzero" as that might add "1" bits. Ensure "constop" is
6113 properly sign extened.
6114 (force_to_mode): Tweak for sign extended constop.
6115
1e7e480e
RH
61162002-01-22 Richard Henderson <rth@redhat.com>
6117
6118 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
6119 for_each_rtx instead of assuming we're already looking at the MEM.
6120 (split_small_symbolic_mem_operand): Likewise.
6121 * config/alpha/alpha.h (PREDICATE_CODES): Update.
6122 * config/alpha/alpha.md (small symbolic memory splitters): Update.
6123
61242002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
6125
6126 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
6127 sequence number for the literal.
6128 (divmoddi_internal_er): Likewise.
6129
b7f2fb96
CR
61302002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
6131
6132 PR java/4972
6133 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
6134 in LIBICONV variable.
6135 * configure: Regenerated.
6136
f66a0046
KW
61372002-01-22 Krister Walfridsson <cato@df.lth.se>
6138
6139 * dependence.c (build_def_use): Remove array_idx.
6140
e3b0efd1
KW
6141 * dwarfout.c (last_filename): Remove.
6142 (output_compile_unit_die): Remove last_filename.
6143
d8086cbb
RS
61442002-01-22 Roger Sayle <roger@eyesopen.com>
6145 Richard Henderson <rth@redhat.com>
6146
6147 PR opt/3640
6148 * fold-const.c (fold): Optimize unsigned comparisons against
6149 UINT_MAX (and similar unsigned constants).
6150
e8d52ba0
JJ
61512002-01-22 Janis Johnson <janis187@us.ibm.com>
6152
d8086cbb 6153 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 6154 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 6155 against the predicate.
11303d15 6156
e8d52ba0
JJ
6157 PR target/5379
6158 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
6159 for the address operand.
6160
cc7b420e
RH
61612002-01-22 Richard Henderson <rth@redhat.com>
6162
6163 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
6164
816e265a
CR
61652002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
6166
6167 PR other/5450
cc7b420e
RH
6168 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
6169 preprocessor flags.
816e265a 6170
7c884404
JT
61712002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
6172
6173 * config.gcc (x86_64-*-netbsd*): New target.
6174 * config/i386/netbsd64.h: New file.
6175
2b672c08
AH
61762002-01-22 Aldy Hernandez <aldyh@redhat.com>
6177
d8086cbb 6178 * regrename.c (kill_value): Fix typo.
2b672c08
AH
6179
61802002-01-22 Aldy Hernandez <aldyh@redhat.com>
6181
d8086cbb 6182 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 6183
d8086cbb 6184 * config/rs6000/rs6000.h: Same.
2b672c08 6185
d8086cbb
RS
6186 * function.c (instantiate_virtual_regs): Remove
6187 STARTING_FRAME_PHASE.
6188 (assign_stack_local_1): Same.
6189 Calculate frame phase.
2b672c08 6190
4b02997f
NC
61912002-01-22 Nick Clifton <nickc@redhat.com>
6192
6193 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
6194 variable declaration to outer scope in order to simplify
6195 future extensions.
6196 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
6197 arm_hard_regno_mode_ok.
6198 * config/arm/arm-protos.h: Add a prototype for
6199 arm_hard_regno_mode_ok.
6200 * config/arm/arm.c (soft_df_operand): Remove now redundant
6201 check for DImode values using IP_REGNUM.
6202 (nonimmediate_soft_df_operand): Remove now redundant check for
6203 DImode values using IP_REGNUM.
6204 (arm_hard_regno_mode_ok): New function. New check: make sure
6205 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
6206
6207 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
6208 note with a USE.
6209 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
6210
8a827ab2
JM
62112002-01-22 Jason Merrill <jason@redhat.com>
6212
6213 * c-semantics.c (genrtl_compound_stmt): Only check nesting
6214 consistency if this COMPOUND_STMT is scoped.
6215
cf403648
KH
62162002-01-22 Kazu Hirata <kazu@hxi.com>
6217
6218 * predict.c: Fix formatting.
6219 * print-tree.c: Likewise.
6220 * protoize.c: Likewise.
6221 * real.h: Likewise.
6222 * rtl.h: Likewise.
6223 * sbitmap.h: Likewise.
6224 * scan.c: Likewise.
6225 * sched-deps.c: Likewise.
6226 * sched-vis.c: Likewise.
6227 * sdbout.c: Likewise.
6228 * sibcall.c: Likewise.
6229 * ssa.c: Likewise.
6230 * ssa-ccp.c: Likewise.
6231 * ssa-dce.c: Likewise.
6232 * stmt.c: Likewise.
6233 * stor-layout.c: Likewise.
6234 * system.h: Likewise.
6235
aea9695c
RK
6236Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6237
a8765ae7
RK
6238 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
6239 if fits in bounds of base type.
6240
aea9695c
RK
6241 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
6242 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
6243 (add_bound_info, default): If can't find a context, make a
6244 SAVE_EXPR.
6245 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
6246
58bf601b
HPN
62472002-01-22 Hans-Peter Nilsson <hp@axis.com>
6248
6249 * c-typeck.c (parser_build_binary_op): If result from
6250 build_binary_op is ERROR_MARK just return error_mark_node without
6251 further processing.
6252
f982f805
JT
62532002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
6254
6255 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
6256 Split a.out-specific bits into...
6257 * config/netbsd-aout.h: ...this.
6258 * config/netbsd-elf.h: New file.
6259 * config/alpha/netbsd-elf.h: Remove.
6260 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
6261 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 6262 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
6263 (ENDFILE_SPEC): Likewise.
6264 (LINK_SPEC): Likewise.
6265 (CPP_SPEC): Likewise.
6266 (ASM_SPEC): Likewise.
6267 (LIB_SPEC): Likewise.
6268 (SWITCH_TAKES_ARG): Likewise.
6269 (TARGET_MEM_FUNCTIONS): Likewise.
6270 (CPP_PREDEFINES): Redefine.
6271 (ASM_FINAL_SPEC): Remove redefinition.
6272 (ASM_COMMENT_START): Redefine.
6273 (FUNCTION_PROFILER): Define.
6274 (TARGET_VERSION): Redefine.
6275 Comment and formatting cleanup.
6276 * config/i386/netbsd.h: Include <netbsd-aout.h>.
6277 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
6278 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
6279 big- or little-endian.
6280 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
6281 * config.gcc (*-*-netbsd*): Add definitions common to all
6282 NetBSD configs.
6283 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
6284 gnu_ld definitions. Add netbsd-elf.h to and remove
6285 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
6286 tmake_file, and don't lose previous tmake_file contents.
6287 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
6288 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
6289 gnu_ld definitions. Add netbsd-elf.h to tm_file.
6290 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
6291 (mipsel-*-netbsd*): Rename this to...
6292 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
6293 mips/little.h to tm_file for mips*el-*.
6294 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
6295 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
6296 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
6297
2e396476
JDA
62982002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
6299
6300 * pa-protos.h (reg_before_reload_operand): New function prototype.
6301 * pa.c (reg_before_reload_operand): New function implementation.
6302 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
6303 contraints to "*m".
6304
3b5708e7
FS
63052002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6306
6307 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
6308
85e79f96
JDA
63092002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
6310
6311 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
6312 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
6313 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
6314 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
6315 (ENDFILE_SPEC): Undefine.
6316 (STARTFILE_SPEC): Redefine for PA.
6317
38abadee
FS
63182002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6319
6320 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
6321
94f1d97c
DJ
63222002-01-21 Daniel Jacobowitz <drow@mvista.com>
6323
6324 * config.gcc: Add entries to supported PowerPC --with-cpu
6325 types.
6326
0333394e
JJ
63272002-01-21 Jakub Jelinek <jakub@redhat.com>
6328
6329 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
6330 true for 64-bit mode only SSE registers in 32-bit mode.
6331
e9d1b155
KH
63322002-01-21 Kazu Hirata <kazu@hxi.com>
6333
6334 * unwind-dw2.c: Fix formatting.
6335 * unwind-dw2-fde.c: Likewise.
6336 * unwind-dw2-fde.h: Likewise.
6337 * unwind-pe.h: Likewise.
6338 * varasm.c: Likewise.
6339 * varray.h: Likewise.
6340
07338cf8
HPN
63412002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
6342
6343 Remove workaround for register stack overwrite bug in mmix.
6344 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
6345 support for TARGET_REG_STACK_FILL_BUG.
6346 * config/mmix/mmix.h: Remove member has_call_without_parameters.
6347 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
6348 Delete.
6349 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
6350 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
6351 -mno-reg-stack-fill-bug-workaround.
6352 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
6353 machine member has_call_without_parameters.
6354 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
6355 -mreg-stack-fill-bug-workaround and
6356 -mno-reg-stack-fill-bug-workaround.
6357 (MMIX Options): Ditto.
6358
7192cbf1
KH
63592002-01-21 Kazu Hirata <kazu@hxi.com>
6360
6361 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
6362 as appropriate.
6363 Remove redundant code.
6364
d1552d7b
JM
63652002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
6366
6367 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
6368 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
6369 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
6370 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
6371 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
6372 out target macro definitions and non-target-specific comments
6373 mostly taken from old versions of the manual.
6374
ed168e45
KH
63752002-01-20 Kazu Hirata <kazu@hxi.com>
6376
6377 * config/h8300/h8300.h: Fix comment formatting.
6378 * config/ia64/aix.h: Likewise.
6379 * config/ia64/ia64-protos.h: Likewise.
6380 * config/ia64/ia64.c: Likewise.
6381 * config/ia64/ia64.h: Likewise.
6382 * config/ia64/ia64intrin.h: Likewise.
6383 * config/ia64/linux.h: Likewise.
6384 * config/ia64/unwind-aix.c: Likewise.
6385 * config/ia64/unwind-ia64.c: Likewise.
6386
005e3e05
KH
63872002-01-20 Kazu Hirata <kazu@hxi.com>
6388
6389 * config/h8300/h8300.c: Revise comments about shift code.
6390
64bead4c
KH
63912002-01-20 Kazu Hirata <kazu@hxi.com>
6392
6393 * config/h8300/h8300.c (function_arg): Update a comment.
6394
ed863595
KH
63952002-01-20 Kazu Hirata <kazu@hxi.com>
6396
6397 * config/h8300/h8300.md: Update the comments at the beginning
6398 of the file.
6399
5904dc87
KH
64002002-01-20 Kazu Hirata <kazu@hxi.com>
6401
6402 * config/i370/i370.c: Fix comment formatting.
6403 * config/i370/i370.h: Likewise.
6404 * config/i370/i370.md: Likewise.
6405 * config/i370/linux.h: Likewise.
6406
9702143f
RK
6407Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6408
cbafacd1
RK
6409 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
6410
9702143f
RK
6411 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
6412 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
6413 in incomplete case.
6414
6b6996b8
GS
64152002-01-20 Graham Stott <grahams@redhat.com>
6416
6417 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
6418
eab854f6
JDA
64192002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
6420
6421 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
6422
5b029315
TR
64232002-01-19 Tom Rix <trix@redhat.com>
6424
6425 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
6426
1d690052
AH
64272002-01-18 Aldy Hernandez <aldyh@redhat.com>
6428
d8086cbb 6429 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 6430
d8086cbb
RS
6431 * function.c (assign_stack_local_1): Adjust x_frame_offset with
6432 STARTING_FRAME_PHASE.
6433 (STARTING_FRAME_PHASE): New.
6434 (instantiate_virtual_regs): Check saneness of
6435 STARTING_FRAME_PHASE.
1d690052 6436
d8086cbb 6437 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 6438
4dd8c093
AO
64392002-01-19 Alexandre Oliva <aoliva@redhat.com>
6440
6441 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
6442
6f2a28d7
CR
64432002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
6444
6445 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
6446 be used for bootstrapping GCC 3.0.
6447
8763a465
KH
64482002-01-18 Kazu Hirata <kazu@hxi.com>
6449
6450 * config/h8300/h8300.md: Fix an insn length.
6451
3ef42a0c
KH
64522002-01-18 Kazu Hirata <kazu@hxi.com>
6453
6454 * bitmap.h: Fix comment formatting.
6455 * combine.c: Likewise.
6456 * cppfiles.c: Likewise.
6457 * c-pragma.h: Likewise.
6458 * c-typeck.c: Likewise.
6459 * df.c: Likewise.
6460 * dwarf2out.c: Likewise.
6461 * function.c: Likewise.
6462 * gcc.c: Likewise.
6463 * genattrtab.c: Likewise.
6464 * gthr-win32.h: Likewise.
6465 * haifa-sched.c: Likewise.
6466 * predict.c: Likewise.
6467 * rtlanal.c: Likewise.
6468 * rtl.h: Likewise.
6469 * unwind-dw2-fde.h: Likewise.
6470 * unwind-pe.h: Likewise.
6471 * vmsdbgout.c: Likewise.
6472
dd4dc3cd
RK
6473Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6474
6475 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
6476 if type_required and passed decl.
6477
5fb4cf24
AH
64782002-01-17 Aldy Hernandez <aldyh@redhat.com>
6479
d8086cbb
RS
6480 * config.gcc (cpu_type): Include altivec.h in powerpc
6481 extra_headers.
6482 Same for darwin.
5fb4cf24 6483
d8086cbb 6484 * config/rs6000/altivec.h: New.
5fb4cf24 6485
2705baf5
DE
64862002-01-17 David Edelsohn <edelsohn@gnu.org>
6487
6488 * doc/install.texi (*-ibm-aix*): Update assembler and exception
6489 handling information.
6490 * doc/trouble.texi (Interoperation): Add libstdc++ information
6491 for AIX.
6492 (Misunderstandings): Add template instantiation and static template
6493 member information for AIX.
6494
dbd680e1
JM
64952002-01-17 Jason Merrill <jason@redhat.com>
6496
821adc5e
JM
6497 * dbxout.c (dbxout_type): Support const and volatile.
6498
dbd680e1
JM
6499 * except.c (add_partial_entry): Remove backwards compatibility code.
6500 (end_protect_partials): Likewise.
6501
d0e82870
JJ
65022002-01-17 Jakub Jelinek <jakub@redhat.com>
6503
6504 * config/ia64/ia64.md (prologue_use): New.
6505 * config/ia64/ia64.c (ia64_expand_prologue): Use
6506 gen_prologue_use instead of gen_rtx_USE.
6507 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
6508 as CODE_FOR_pred_rel_mutex.
6509 (ia64_sched_reorder2): Likewise.
6510
f9f45c65
EC
65112002-01-16 Eric Christopher <echristo@redhat.com>
6512
6513 * config/mips/r3900.h: Reformat.
6514 (SUBTARGET_CPP_SIZE_SPEC): Remove.
6515 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
6516 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
6517 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
6518 * config/mips/t-elf: Remove mips3 multilib.
6519
c66c8b0e
L
65202002-01-16 H.J. Lu <hjl@gnu.org>
6521
6522 * config/mips/linux.h: Include "mips/abi64.h".
6523
5f083b72
L
65242002-01-16 H.J. Lu <hjl@gnu.org>
6525
6526 * config/mips/t-linux: New.
6527
6528 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
6529
6530 * config/mips/linux.h: Don't include "gofast.h".
6531 (INIT_SUBTARGET_OPTABS): Removed.
6532
af3c90a6
KH
65332002-01-16 Kazu Hirata <kazu@hxi.com>
6534
6535 * config/h8300/h8300-protos.h: Replace emit_a_shift with
6536 output_a_shift.
6537 * config/h8300/h8300.c: Likewise.
6538 * config/h8300/h8300.md: Likewise.
6539
a1bf0a16
KH
65402002-01-16 Kazu Hirata <kazu@hxi.com>
6541
6542 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
6543 spaces after an opcode name.
6544 (pushqi1_h8300hs): Likewise.
6545 (pushhi1_h8300hs): Likewise.
6546
88ab0d1c
KH
65472002-01-16 Kazu Hirata <kazu@hxi.com>
6548
6549 * doc/extend.texi: Replace "option" with "attribute"
6550 appropriately.
6551
51c561e3
JJ
65522002-01-16 Jakub Jelinek <jakub@redhat.com>
6553
6554 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
6555 (and:DI () (const_int -8)).
6556 (split_small_symbolic_mem_operand): Split
6557 (mem (and:DI () (const_int -8)).
6558
b8c1a6b8
JJ
65592002-01-16 Jakub Jelinek <jakub@redhat.com>
6560
6561 PR target/5309:
d8086cbb 6562 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
6563 same way as TYPE_IMUL.
6564 (ultrasparc_sched_reorder): Likewise.
6565 * config/sparc/sparc.md (type): Add comment to update
6566 ultrasparc_sched_reorder when making changes.
6567
1e4e4df2
KH
65682002-01-16 Kazu Hirata <kazu@hxi.com>
6569
6570 * doc/invoke.texi: Change the dump file name of block
6571 reordering pass from 28.bbro to 29.bbro.
6572 Mention -dk option.
6573
14d920c0
JH
6574Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
6575
6576 * i386.md (minsf splitter): Fix pasto.
6577
2e99323f
NC
65782002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
6579
6580 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
6581 to frame pointer initialisation instruction.
6582 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
6583 initialisation instruction.
ab8081c1
NC
6584 (soft_df_operand): Do not accept the IP register.
6585 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 6586
c4031a04
JJ
65872002-01-16 Jakub Jelinek <jakub@redhat.com>
6588
6589 PR target/5357:
6590 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
6591 MASK_V8 being both set.
6592
44b8152b
UW
65932002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
6594
6595 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
6596 insn for GOT register; add REG_MAYBE_DEAD notes instead.
6597 config/s390/s390.md (call, call_value): Add GOT register to
6598 CALL_INSN_FUNCTION_USAGE where needed.
6599 (call_exp, call_value_exp): New.
6600
1d6e90ac
NC
66012002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
6602
6603 * config/arm/arm.c: General formatting tidy up.
6604
66052002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
6606
6607 * calls.c (try_to_integrate): Use "(size_t)" intermediate
6608 cast and when casting an integer literal to "rtx" pointer.
6609 (expand_call): Likewise.
6610 * flow.c (try_pre_increment): Likewise.
6611 (find_use_as_address): Likewise.
6612 * integrate.c (expand_iline_function): Likewise.
6613 * regmove.c (try_auto_increment): Likewise.
6614
1d6e90ac 66152002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
6616
6617 * sched-rgn.c (passed): Use sbitmap_free.
6618 (header): Likewise.
6619 (inner): Likewise.
6620 (in_queue): Likewise.
6621 (in_stack): Likewise.
6622
31fce3c4
EC
66232002-01-15 Eric Christopher <echristo@redhat.com>
6624
6625 * flow.c (propagate_one_insn): Change to use fatal_insn.
6626
c99d986a
KH
66272002-01-15 Kazu Hirata <kazu@hxi.com>
6628
6629 * expmed.c (extract_fixed_bit_field): Remove unused code.
6630 * system.h: Poison SLOW_ZERO_EXTEND.
6631 * doc/tm.texi: Remove.
6632 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
6633 * config/arm/arm.h: Likewise.
6634 * config/avr/avr.h: Likewise.
6635 * config/clipper/clipper.h: Likewise.
6636 * config/convex/convex.h: Likewise.
6637 * config/d30v/d30v.h: Likewise.
6638 * config/dsp16xx/dsp16xx.h: Likewise.
6639 * config/elxsi/elxsi.h: Likewise.
6640 * config/fr30/fr30.h: Likewise.
6641 * config/h8300/h8300.h: Likewise.
6642 * config/i370/i370.h: Likewise.
6643 * config/i386/i386.h: Likewise.
6644 * config/m68k/m68k.h: Likewise.
6645 * config/mips/mips.h: Likewise.
6646 * config/ns32k/ns32k.h: Likewise.
6647 * config/pdp11/pdp11.h: Likewise.
6648 * config/pj/pj.h: Likewise.
6649 * config/s390/s390.h: Likewise.
6650 * config/sh/sh.h: Likewise.
6651 * config/stormy16/stormy16.h: Likewise.
6652 * config/v850/v850.h: Likewise.
6653 * config/vax/vax.h: Likewise.
6654 * config/we32k/we32k.h: Likewise.
6655
acfab996
AH
66562002-01-15 Aldy Hernandez <aldyh@redhat.com>
6657
d8086cbb
RS
6658 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
6659 (altivec_lvsl): Change constraint to b.
6660 (altivec_lvsr): Same.
6661 (altivec_lvebx): Same.
6662 (altivec_lvehx): Same.
6663 (altivec_lvewx): Same.
6664 (altivec_lvxl): Same.
6665 (altivec_lvx): Same.
6666 (altivec_stvx): Add parallel.
6667 (altivec_stvxl): Same.
6668 (altivec_stvehx): Same.
6669 (altivec_stvebx): Same.
6670 (altivec_stvebx): Same.
acfab996 6671
5e505bc9
AH
66722002-01-15 Aldy Hernandez <aldyh@redhat.com>
6673
d8086cbb 6674 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 6675
d8086cbb 6676 * config/rs6000/altivec.h: Delete.
5e505bc9 6677
d8086cbb 6678 * config/rs6000/altivec-defs.h: Add.
5e505bc9 6679
5c41fdfb
JDA
66802002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6681
6682 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
6683 and UMOD modes.
6684
6685 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
6686 less than or equal to eight bytes.
6687
6688 * vax.md (andsi3): Remove constraints and change SET destination
6689 operand type to nonimmediate_operand.
6690 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
6691 when it is a CONST_INT.
6692
de097a2d
JM
66932002-01-15 Jason Merrill <jason@redhat.com>
6694
6695 * c-common.def (FILE_STMT): New code.
6696 * c-common.c (statement_code_p): It's a statement.
6697 * c-common.h (stmt_tree_s): Add x_last_filename.
6698 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
6699 (last_expr_filename): New macro.
6700 * c-semantics.c (begin_stmt_tree): Initialize it.
6701 (add_stmt): If the filename changed, also insert a
6702 FILE_STMT.
6703 (expand_stmt): Handle seeing one.
6704
4a913dd6
EC
67052002-01-15 Eric Christopher <echristo@redhat.com>
6706
6707 * flow.c (propagate_one_insn): Add error message and print out
6708 insn for debugging.
6709
006946e4
JM
67102002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
6711
6712 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
6713 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
6714 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
6715 TRAMPOLINE_ALIGNMENT.
6716 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
6717 to be in bits.
6718 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
6719 PCC_BITFIELD_TYPE_MATTERS.
6720 * config/interix.h (STDC_VALUE): Remove. Use
6721 STDC_0_IN_SYSTEM_HEADERS.
6722 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
6723 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
6724 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
6725
751a1458
CR
67262002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
6727
6728 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
6729 not work on this platform currently.
6730
57771fe8
JM
67312002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
6732
6733 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
6734 readonly_warning in _().
6735
0e83ceb1 67362002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 6737
0e83ceb1 6738 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 6739
8e2e89f7
KH
67402002-01-15 Kazu Hirata <kazu@hxi.com>
6741
0e83ceb1
DR
6742 * config/h8300/h8300.c (print_operand): Remove support for
6743 unused operand characters.
6744
8e2e89f7
KH
6745 * read-rtl.c: Fix formatting.
6746 * real.c: Likewise.
6747 * recog.c: Likewise.
6748 * regclass.c: Likewise.
6749 * regmove.c: Likewise.
6750 * reg-stack.c: Likewise.
6751 * reload1.c: Likewise.
6752 * rtlanal.c: Likewise.
6753
b531087a
KH
67542002-01-15 Kazu Hirata <kazu@hxi.com>
6755
6756 * config/i386/i386.c: Fix formatting.
6757
7c94ce7f
JJ
67582002-01-15 Jakub Jelinek <jakub@redhat.com>
6759
6760 * c-typeck.c (process_init_element): Don't save_expr
6761 COMPOUND_LITERAL_EXPR if just its initializer will be used.
6762
6041bf2f
DE
67632002-01-15 David Edelsohn <edelsohn@gnu.org>
6764
6765 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
6766 emit optional traceback table if optimize_size or TARGET_ELF.
6767 * config/rs6000/rs6000.md (prefetch): New.
6768
8559c8c0
AJ
67692002-01-15 Andreas Jaeger <aj@suse.de>
6770
6771 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
6772
70f122f2
KH
67732002-01-15 Kazu Hirata <kazu@hxi.com>
6774
6775 * mips-tfile.c: Fix formatting.
6776
6a7b4ca6
JH
6777Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
6778
6779 * unroll.c (final_reg_note_copy): Fix previous commit.
6780
e7afe229
KH
67812002-01-14 Kazu Hirata <kazu@hxi.com>
6782
6783 * config/h8300/h8300-protos.h: Remove the prototype for
6784 eq_operator.
6785 * config/h8300/h8300.c (eq_operator): Remove.
6786
7d378549
RH
67872002-01-14 Richard Henderson <rth@redhat.com>
6788
6789 * config/i386/i386.md (prefetch): Tidy.
6790 (prefetch_3dnow): Fix locality operand.
6791
ab093b81
RH
67922002-01-14 Richard Henderson <rth@redhat.com>
6793
6794 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
6795 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
6796
d300f51f
HPN
67972002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
6798
6799 * reload1.c (reload_combine): Pass reg_sum replacement through
6800 copy_rtx in loop performing multiple changes.
6801
655dd289
JJ
68022002-01-14 Jakub Jelinek <jakub@redhat.com>
6803
6804 * except.c (remove_unreachable_regions): New.
6805 (free_eh_status): Clear exception_handler_labels.
6806 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
6807 (find_exception_handler_labels): Don't add the same label more than
6808 once.
6809 (remove_exception_handler_label): Don't die if
6810 find_exception_handler_labels hasn't been called for the current
6811 function yet.
6812
1fba46a7
JH
6813Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
6814
6815 * toplev.c (rest_of_compilation): Rebuild jump labels after
6816 gcse.
6817
0975678f
JM
68182002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
6819
6820 * doc/extend.texi: Move documentation of X86 built-in functions
6821 here.
6822 * doc/invoke.texi: From here.
6823 * doc/sourcebuild.texi: Document location of documentation for
6824 machine built-in functions.
6825
969815c7
CF
68262002-01-13 Christopher Faylor <cgf@redhat.com>
6827
6828 * cppfiles.c (TEST_THRESHOLD): New macro.
6829 (SHOULD_MMAP): Ditto.
6830 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
6831 be used.
6832
494c950b
JH
6833Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
6834
6835 * unroll.c (final_reg_note_copy): Properly handle
6836 REG_LABEL
6837 (unroll_loops): Fix LOOP_CONDITION heuristics.
6838
69a0611f
GK
68392002-01-14 Geoffrey Keating <geoffk@redhat.com>
6840
6841 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
6842 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
6843
b90e45ae
JH
6844Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
6845
6846 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
6847 threaded loop.
6848
8377288b
TR
68492002-01-14 Tom Rix <trix@redhat.com>
6850
6851 * config/rs6000/rs6000.md: Fix typo with sradi.
6852
9f37ccb1
UW
68532002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
6854
6855 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
6856 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
6857 (clrstrdi, clrstrsi): Adapt callers.
6858
6859 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
6860
8559c8c0 6861 (movti splitter): Never use register 0 as base register.
9f37ccb1 6862
6c2d03d0
HP
68632002-01-14 Hartmut Penner <hpenner@de.ibm.com>
6864
8559c8c0
AJ
6865 * combine.c (simplify_shift_const): Always generate new rtx
6866 for shift expression instead of reusing given expression.
6c2d03d0 6867
d3e98208
RK
6868Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6869
6870 * config/alpha/alpha.c (alpha_expand_mov): Don't call
6871 alpha_legitimize_address unless mode is Pmode.
6872
9f339dde
GK
68732002-01-13 Geoffrey Keating <geoffk@redhat.com>
6874
6875 * doc/md.texi (Modifiers): Document the '*' constraint for the
6876 user.
6877
6878 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
6879 * doc/extend.texi (Function Attributes): 'interrupt' is valid
6880 for xstormy16 too.
6881
02a10130
RH
68822002-01-13 Richard Henderson <rth@redhat.com>
6883
6884 * reload.c (find_reloads): Use a hard reg destination as reload reg
6885 for an input reload of the source.
6886
61d47787
GP
68872002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6888
6889 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
6890 more generic.
6891
f0df8029
DR
6892Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
6893
6894 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
6895 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
6896
d2a37256
DR
6897 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
6898
a9e8a5ee
RK
6899Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6900
6901 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
6902
bc06712d
TR
69032002-01-12 Tom Rix <trix@redhat.com>
6904
8559c8c0 6905 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
6906 TARGET_POWERPC64.
6907
7cbe9bb7
RH
69082002-01-12 Richard Henderson <rth@redhat.com>
6909
38b29e64
RH
6910 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
6911
58605ba0
RH
6912 * doc/invoke.texi: Update Alpha options.
6913
7cbe9bb7
RH
6914 * doc/invoke.texi: Update i386 built-in function lists.
6915
9d560860
JH
6916Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
6917
6918 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
6919 referencing outside.
6920
bb93b973
RK
6921Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6922
6923 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
6924 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
6925 offsets, and change line folding.
6926 * optabs.c (expand_binop): Remove warnings.
6927 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 6928
f9f6b7df
GS
69292002-01-12 Graham Stott <grahams@redhat.com>
6930
6931 * attribs.c (handle_deprecated_attribute): constify WHAT.
6932 * diagnostic.c (warn_deprecated_use): Add braces, fixes
6933 dangling else warning and constify WHAT.
6934 * except.h (struct function, struct inline_remap): Move
6935 struct tag forward defs before all prototypes.
6936 (duplicate_eh_regions): Whitespace.
6937
4a692617
NC
69382002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
6939
6940 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
6941 MODE_BASE_REG_CLASS.
6942 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
6943
e37af218
RH
69442002-01-12 Richard Henderson <rth@redhat.com>
6945
6946 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
6947 (ix86_expand_vector_move): New.
6948 (bdesc_2arg): Remove andps, andnps, orps, xorps.
6949 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
6950 Remove old prefetch builtins. Special case the logicals removed above.
6951 (ix86_expand_builtin): Likewise.
6952 (safe_vector_operand): Use V4SFmode, not TImode.
6953 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
6954 (ix86_expand_timode_binop_builtin): New.
6955 * config/i386/i386-protos.h: Update.
6956 * config/i386/i386.h (enum ix86_builtins): Update.
6957 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
6958 Use ix86_expand_vector_move in vector move expanders.
6959 (movti_internal, movti_rex64): Add xorps alternative.
6960 (sse_clrv4sf): Rename and adjust from sse_clrti.
6961 (prefetch): Don't work so hard.
6962 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
6963 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
6964 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
6965
6f1a6c5b
RH
69662002-01-11 Richard Henderson <rth@redhat.com>
6967
6968 * config/i386/mmintrin.h: New file.
6969 * config/i386/xmmintrin.h: New file.
6970 * config.gcc (i?86-*-*): Add extra_headers.
6971 * simplify-rtx.c (simplify_unary_operation): Handle saturating
6972 truncation codes.
6973 (simplify_binary_operation): Handle saturating arithmetic codes.
6974 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
6975 not the lowpart subreg.
6976 (ix86_expand_builtin): Return a TImode dummy register instead of 0
6977 on error.
6978 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
6979
cdb574d3
MH
69802002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6981
6982 * conflict.c (conflict_graph_compute): Free regsets when finished.
6983 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 6984
cf11ac55
HB
69852002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6986
6987 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
6988 every where we allocate a register.
6989
76ac938b
MH
69902002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6991
6992 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
6993 * lcm.c (compute_earliest, compute_farthest): Likewise.
6994
a84b4898
JJ
69952002-01-11 Janis Johnson <janis187@us.ibm.com>
6996
6997 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
6998
aaef1c12
JJ
69992002-01-11 Janis Johnson <janis187@us.ibm.com>
7000
7001 * doc/rtl.texi (Insns): Fix 2 typos.
7002
5d22c1a5
JM
70032002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
7004
7005 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
7006 options. Use @table @gcctabopt for MMIX options. Add index
7007 entries for MMIX options. Start new paragraph with first
7008 heading of the machine-dependent options.
7009
3e92902c
CR
70102002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
7011
7012 PR other/5299
7013 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
7014 * combine.c (force_to_mode): Same.
7015 * reload1.c (clear_reload_reg_in_use): Same.
7016
96ae8197
NC
70172002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
7018
7019 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
7020 and 'subtargets'.
7021
9b780582
AJ
70222002-01-11 Andreas Jaeger <aj@suse.de>,
7023 Brad Lucier <lucier@math.purdue.edu>
7024
7025 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
7026 mcpu.
7027
12300dad
DR
7028Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
7029
7030 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
7031 Protect with IN_LIBGCC.
7032 (LINK_EH_SPEC): Add required trailing space.
7033
27511a9a
NP
7034Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
7035
9b780582 7036 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
7037 under the filename which contains them.
7038 (check_identifier, finish_decl_top_level,
7039 lookup_name_current_level_global, shadow_record_fields): Remove.
7040
4daeab16
AJ
70412002-01-11 Andreas Jaeger <aj@suse.de>
7042
7043 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
7044 march.
7045
40571d67
RH
70462002-01-10 Richard Henderson <rth@redhat.com>
7047
7048 * config/alpha/alpha.c (print_operand): Add 'J'.
7049 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
7050 new operand with the sequence number for the lituse. When splitting
7051 the insns, use gen_movdi_er_high_g and generate a sequence number.
7052 (gen_movdi_er_high_g): Print the sequence number if non-zero.
7053
6525c0e7
AH
70542002-01-10 Aldy Hernandez <aldyh@redhat.com>
7055
d8086cbb
RS
7056 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
7057 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
7058 stvxl.
7059 (altivec_expand_builtin): Same.
7060 (altivec_expand_stv_builtin): New.
7061
7062 * config/rs6000/rs6000.h (rs6000_builtins): Same.
7063
7064 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
7065 ("altivec_lvehx"): New.
7066 ("altivec_lvewx"): New.
7067 ("altivec_lvxl"): New.
7068 ("altivec_lvx"): New.
7069 ("altivec_stvx"): New.
7070 ("altivec_stvebx"): New.
7071 ("altivec_stvehx"): New.
7072 ("altivec_stvewx"): New.
7073 ("altivec_stvxl"): New.
6525c0e7 7074
cda94cbb
RH
70752002-01-10 Richard Henderson <rth@redhat.com>
7076
7077 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
7078 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
7079 care not to delete instructions twice.
7080
df2c9a44
ZW
70812002-01-10 Zack Weinberg <zack@codesourcery.com>
7082
7083 * toplev.c: Don't declare environ (it's not used anywhere).
7084 * configure.in: Don't check for declaration of environ.
7085 * config/i386/xm-mingw32.h: Don't #define environ.
7086 * config.in, configure: Regenerate.
7087
5dd8a9b1
ZW
70882002-01-10 Zack Weinberg <zack@codesourcery.com>
7089
7090 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
7091 * configure: Regenerate.
7092
7093 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
7094 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
7095 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
7096 alpha/xm-vms.h.
7097 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
7098 LIMITS_H_TEST here, not in m68k/x-next.
7099 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
7100 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
7101
7102 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
7103 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
7104 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
7105
7106 * config/i386/x-djgpp: Renamed i386/t-djgpp.
7107 * config/m88k/x-dolph: Renamed m88k/t-dolph.
7108 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
7109 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
7110 replacement of quadlib.asm with quadlib.c.
7111
7112 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
7113 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
7114 config/rs6000/xm-beos.h: Delete file.
7115
7116 * config.gcc: Update to match above changes.
7117
d10dd44c
KH
71182002-01-10 Kazu Hirata <kazu@hxi.com>
7119
7120 * config/h8300/h8300.h: Fix comment typos.
7121 * config/h8300/h8300.md: Likewise.
7122 * config/h8300/lib1funcs.asm: Likewise.
7123
04894c5a
DJ
71242002-01-10 Dale Johannesen <dalej@apple.com>
7125
7126 PR optimization/5269
7127 * unroll.c (precondition_loop_p): Make *increment be the correct
7128 sign when n_iterations known, to avoid confusing caller.
7129
adc9fe67
KH
71302002-01-10 Kazu Hirata <kazu@hxi.com>
7131
7132 * doc/extend.texi (deprecated): Fix a typo.
7133
b446e5a2
JH
7134Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
7135
7136 * basic-block.h (update_br_prob_note): Declare.
7137 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
7138 (try_forward_edges): Care negative frequencies and update note.
7139 (outgoing_edges_match): Tweek conditional merging heuristics.
7140 (try_crossjump_to_edge): use update_br_prob_note.
7141 * cfglayout.c (fixup_reorder_chain): Likewise.
7142 * cfrtl.c (update_br_prob_note): New.
7143 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
7144
7145 * i386.c (ix86_decompose_address): Return -1 if address contains
7146 shift.
7147 (legitimate_address_p): Require ix86_decompose_address to return 1.
7148
7149 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
7150 (cprop_insn): Likewise.
7151
a01da83b
KH
71522002-01-10 Kazu Hirata <kazu@hxi.com>
7153
7154 * toplev.c: Fix formatting.
7155 * tree.c: Likewise.
7156 * tree-dump.c: Likewise.
7157 * unroll.c: Likewise.
7158 * unwind-dw2.c: Likewise.
7159 * unwind-dw2-fde.c: Likewise.
7160 * unwind-dw2-fde-glibc.c: Likewise.
7161 * unwind-sjlj.c: Likewise.
7162
9f85bca7
JM
71632002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7164
7165 * doc/invoke.texi: Document PDP-11 options.
7166
f48f56b1
KH
71672002-01-10 Kazu Hirata <kazu@hxi.com>
7168
7169 * config/h8300/h8300.h: Fix formatting.
7170
ead39bdf 71712002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
7172
7173 Add __attribute__ ((deprecated)).
7174 * extend.texi: Document __attribute__ ((deprecated)).
7175 * invoke.texi: Document -Wno-deprecated-declarations.
7176 * testsuite/g++.dg/other/deprecated.C: New C++ test.
7177 * testsuite/gcc.dg/deprecated.c: New C test.
7178 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
7179 (c_common_attribute_table): Add "deprecated" entry.
7180 (handle_deprecated_attribute): New function.
7181 * c-decl.c (deprecated_states): New enum.
7182 deprecated_state: State of "deprecated" handling.
7183 (start_decl): Set deprecated_state based on attributes.
7184 (grokdeclarator): Test for deprecated uses, propagate attribute.
7185 * c-typeck.c (build_component_ref): Test for deprecated fields.
7186 (build_external_ref): Test for deprecated primaries.
7187 * diagnostic.c (warn_deprecated_use) New function to issue
7188 warnings about __attribute__ ((depricated)) references.
7189 * flags.h (warn_deprecated_decl): Extern declared for
7190 -W[no-]deprecated-declarations option.
7191 * print-tree.c (print_node): Show deprecated flag status.
7192 * toplev.c (warn_deprecated_decl): Defined.
7193 (W_options): Added "deprecated-declaration".
7194 * toplev.h (warn_deprecated_use): Extern declared.
7195 * tree.h (struct tree_common): Define deprecated_flag.
7196 (TREE_DEPRECATED): New macro to access flag.
7197 * cp/call.c (build_call): Test for deprecated calls.
7198 * cp/class.c (add_implicitly_declared_members): Set global
7199 flag to tell grokdeclarator to not issue deprecated warnings.
7200 * cp/cp-tree.h: Add extern for adding_implicit_members.
7201 * cp/decl.c (deprecated_states): New enum.
7202 (start_decl): Set deprecated_state based on attributes.
7203 (grokdeclarator): Test for deprecated uses, propagate attribute.
7204 * cp/lex.c (do_identifier): Test for deprecated primaries.
7205 * cp/typeck.c (build_component_ref): Test for deprecated fields.
7206
ead39bdf 72072002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
7208
7209 Fix to assign attributes to inline member functions.
7210 * cp/decl.c (start_method): Handle attrlist.
7211
47073a38
KH
72122002-01-10 Kazu Hirata <kazu@hxi.com>
7213
7214 * combine.c (expand_field_assignment): Use subreg_lsb().
7215
d288e53d
DE
72162002-01-10 David Edelsohn <edelsohn@gnu.org>
7217
7218 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
7219 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
7220 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
7221 Recurse for any operand of AND as long as constant is non-zero.
7222
08a02ffa
KH
72232002-01-10 Kazu Hirata <kazu@hxi.com>
7224
7225 * config/h8300/h8300.md: Remove constraints from expanders.
7226
c203e7fe
KH
72272002-01-10 Kazu Hirata <kazu@hxi.com>
7228
7229 * varasm.c: Fix formatting.
7230 * varray.c: Likewise.
7231 * vmsdbgout.c: Likewise.
7232 * xcoffout.c: Likewise.
7233
bcb3bc6d
JH
7234Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
7235
7236 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 7237 update edge probabilities to match.
bcb3bc6d 7238
0a553c7e
JM
72392002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7240
7241 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
7242 dependencies.
7243 * doc/languages.texi, doc/sourcebuild.texi: New files.
7244 * doc/configfiles.texi: Make a subsubsection. Update.
7245 * doc/configterms.texi: Add @node. Remove warning that this isn't
7246 instructions for building GCC.
7247 * doc/makefile.texi: Make a subsection.
7248 * doc/gccint.texi: Update.
7249
adc7fcb8
JH
7250Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
7251
7252 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
7253
5a4dd0b3
NP
7254Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
7255
7256 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
7257
3987b9db
JH
7258Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
7259
7260 * optabs.c (expand_fix): Look for wider integer modes first.
7261
7262 * i386.md (mov?f): Avoid the fake const double trick for medium
7263 memory model.
7264 (min?f*/max?f*): Prohibit memory operands for i387 variant.
7265 (fop_df_4): Disable for SSE compilation.
7266
ceb15948 72672002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
7268
7269 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 7270 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 7271
e1623399
RH
72722002-01-10 Richard Henderson <rth@redhat.com>
7273
7274 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
7275
c4abb293
RH
72762002-01-10 Richard Henderson <rth@redhat.com>
7277
7278 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
7279 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
7280
d2604ae9
KH
72812002-01-10 Kazu Hirata <kazu@hxi.com>
7282
7283 * combine.c (can_combine_p): Fix a comment typo.
7284
766c7ad1
ZW
72852002-01-09 Zack Weinberg <zack@codesourcery.com>
7286
7287 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
7288 empty list correctly. Change loop index $t to $f for
7289 consistency with rest of Makefile.
7290
95385cbb
AH
72912002-01-08 Aldy Hernandez <aldyh@redhat.com>
7292
7293 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
7294 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
7295
7296 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
7297 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
7298 (altivec_init_builtins): Same.
7299 (altivec_expand_unop_builtin): Return NULL_RTX on error.
7300 (altivec_expand_binop_builtin): Same.
7301 (altivec_expand_ternop_builtin): Same.
7302 (bdesc_dst): New.
7303
7304 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
7305 ("altivec_vctuxs"): Fix typo.
7306 ("altivec_vnmsubfp"): Same.
7307 ("altivec_dssall"): New.
7308 ("altivec_mfvscr"): New.
7309 ("altivec_dss"): New.
7310 ("altivec_lvsl"): New.
7311 ("altivec_lvsr"): New.
7312 ("altivec_dstt"): New.
7313 ("altivec_dstst"): New.
7314 ("altivec_dststt"): New.
7315 ("altivec_dst"): New.
7316
7317 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
7318 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
7319
e4ac76b4
RH
73202002-01-09 Richard Henderson <rth@redhat.com>
7321
7322 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
7323
c893e4a4
HPN
73242002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
7325
7326 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
7327 function.
7328 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
7329 prototype.
7387c700 7330 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 7331
f4f4d0f8
KH
73322002-01-09 Kazu Hirata <kazu@hxi.com>
7333
7334 * read-rtl.c: Fix formatting.
7335 * real.c: Likewise.
7336 * regclass.c: Likewise.
7337 * regrename.c: Likewise.
7338 * reg-stack.c: Likewise.
7339 * reload1.c: Likewise.
7340 * reload.c: Likewise.
7341 * rtl.c: Likewise.
7342
cc863bea
KH
73432002-01-09 Kazu Hirata <kazu@hxi.com>
7344
7345 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
7346 to extract items in the expr_list chain.
7347
7b4dfe3d
RH
73482002-01-09 Richard Henderson <rth@redhat.com>
7349
7350 * config/vax/vax.c (vax_rtx_cost): Never abort.
7351
1d969638
RH
7352 * config/vax/vax.h (REAL_ARITHMETIC): Define.
7353
7d5ab30e
JH
73542002-01-09 Jan Hubicka <jh@suse.cz>
7355
7356 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
7357
9503f3d1
RH
73582002-01-09 Richard Henderson <rth@redhat.com>
7359
7360 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
7361 Unify code from various alternatives.
7362
42bd17b7
RH
73632002-01-09 Richard Henderson <rth@redhat.com>
7364
7365 * regrename.c (copy_value): Ignore the copy if the source register
7366 is present in the value chain with a narrower mode.
7367
bdca3c33
HB
73682002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7369
cda94cbb
RH
7370 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
7371 for the c4x target. Also improve layout.
bdca3c33 7372
c73a5e94
RH
73732002-01-09 Richard Henderson <rth@redhat.com>
7374
7375 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
7376 * config/m32r/m32r.md (and ior xor splitters): Swap operands
7377 to match insn patterns.
7378
dd0a18c0
RH
73792002-01-09 Richard Henderson <rth@redhat.com>
7380
7381 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
7382 (copyprop_hardreg_forward_1): Likewise.
7383
1fd9ac1e
JDA
73842002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
7385
7386 * pa.md (decrement_and_branch_until_zero): Change predicate for
7387 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
7388
5cb265ec
BM
73892002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7390
7391 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
7392 gets undefined. For Darwin.
7393
fcd8fa8b
HB
73942002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7395
7396 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
7397
bd3ab23a
MH
73982002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7399
7400 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
7401
21e16bd6
RH
74022002-01-08 Richard Henderson <rth@redhat.com>
7403
7404 * regrename.c (copy_value): Ignore overlapping copies.
7405
a5376276
RH
74062002-01-08 Richard Henderson <rth@redhat.com>
7407
7408 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
7409 as needed to avoid shared structure.
7410
18cf8dda
KH
74112002-01-08 Kazu Hirata <kazu@hxi.com>
7412
7413 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
7414 H8/300H and H8/S.
7415
16c484c7
JM
74162002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
7417
7418 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
7419 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
7420 documentation of obsolete macros.
7421 * system.h: Poison these macros.
7422 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
7423 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
7424 config/c4x/c4x.h, config/clipper/clipper.h,
7425 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
7426 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
7427 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
7428 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
7429 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
7430 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
7431 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
7432 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
7433 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
7434 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
7435 config/sparc/sparc.h, config/stormy16/stormy16.h,
7436 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
7437 definitions and commented out definitions of obsolete macros.
7438 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
7439 of MAX_INT_TYPE_SIZE.
7440
14b3e8ef
UW
74412002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
7442
7443 * config/s390/s390.c (s390_preferred_reload_class): Never
7444 return ADDR_REGS if it isn't a subset of the given class.
7445 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
7446 FP_REGS, but all superclasses as well.
7447
7448 * config/s390/s390.c (s390_function_profiler): Fix thinko.
7449
7450 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
7451 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
7452 must not be a const_int.
7453
a693284d
RH
74542002-01-08 Richard Henderson <rth@redhat.com>
7455
7456 * Makefile.in (toplev.o): Depend on options.h.
7457 (gcc.o): Depend on specs.h.
7458
b3ca30df
JJ
74592002-01-08 Jakub Jelinek <jakub@redhat.com>
7460
7461 * expr.c (store_expr): Convert VOIDmode constants back to target's
7462 mode.
7463
24dbb440
GP
74642002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7465
7466 * doc/invoke.texi: Markup gcc as @command. Refer to
7467 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
7468 of http://gcc.gnu.org/thanks.html.
7469
234e114c
DJ
74702002-01-08 Dale Johannesen <dalej@apple.com>
7471
7472 * config/rs6000/rs6000.md: Add missing int register
7473 target case to movdf_low.
7474
0d24f4d1
ZW
74752002-01-08 Zack Weinberg <zack@codesourcery.com>
7476
7477 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
7478 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
7479 (cppinit.o): Depend on except.h.
7480 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
7481 s-specs): New rules.
7482
7483 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
7484 Don't create specs.h/options.h/gencheck.h here. Remove
7485 unnecessary variable settings from last argument of AC_OUTPUT.
7486 * config.in, configure: Regenerate.
7487 * intl.c: Hardcode package name as "gcc".
7488
7489 * cppinit.c: Include except.h.
7490 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
7491 appropriate.
7492 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
7493 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
7494 (!)USING_SJLJ_EXCEPTIONS.
7495 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
7496
ed722f66
JM
74972002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
7498
7499 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
7500 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
7501 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
7502 documentation of obsolete macros.
7503 * system.h: Poison these macros.
7504 * config/d30v/d30v.h, config/ns32k/encore.h,
7505 config/stormy16/stormy16.h: Remove definitions and commented out
7506 definitions of obsolete macros.
7507
31e5e29a
NP
7508Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
7509
7510 * objc/objc-act.c (handle_class_ref): Mark the declaration of
7511 %sobjc_class_ref_%s as used - to prevent unwanted compiler
7512 warnings.
7513
bc1fa59c
UW
75142002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
7515
7516 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
7517 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
7518 to insn adjusting stack/frame pointer.
0d24f4d1 7519 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
7520 accept operands that cause the insn to be non-splittable.
7521
a8086abf
GS
75222002-01-08 Graham Stott <grahams@redhat.com>
7523
7524 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
7525 (C_TYPE_FIELDS_VOLATILE): Likewise.
7526 (C_TYPE_BEING_DEFINED): Likewise.
7527 (C_IS_RESERVED_WORD): Likewise.
7528 (C_TYPE_VARIABLE_SIZE): Likewise.
7529 (C_DECL_VARIABLE_SIZE): Likewise.
7530 (C_MISSING_PROTOTYPE_WARNED): Likewise.
7531 (C_SET_EXP_ORIGINAL_CODE): Likewise.
7532 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
7533 parenthesis.
7534 (C_DECL_ANTICIPATED): Likewise.
7535 (c_build_type_variant): Add parenthesis.
7536
3f595aa1
JM
75372002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
7538
7539 * gcc.c (option_map): Remove --version.
7540 (process_command): Handle -fversion following the GNU Coding
7541 Standards. Partially addresses PR other/704.
7542
5bc5a8f9
GS
75432002-01-08 Graham Stott <grahams@redhat.com>
7544
7545 * combine.c (combine_instructions): Fix typo.
7546
16ec4ebf
GS
75472002-01-08 Graham Stott <grahams@redhat.com>
7548
7549 * debug.h: Use "tree" and "rtx" throughout.
7550
7551 * debug.c: Likewise.
7552
4b69f385
NC
75532002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
7554
7555 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
7556 constant pool, use the pool's version of the symbol instead.
7557
57d1019b
RH
75582002-01-07 Richard Henderson <rth@redhat.com>
7559
7560 * regrename.c (find_oldest_value_reg): Ignore the value chain if
7561 the original register was copied in a mode with a fewer number of
7562 hard registers than the desired mode.
7563 (copyprop_hardreg_forward_1): Likewise.
7564 (debug_value_data): Fix loop test.
7565 * toplev.c (parse_options_and_default_flags): Reenable
7566 -fcprop-registers at -O1.
7567
75682002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 7569
0d24f4d1
ZW
7570 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
7571 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 7572
0d24f4d1
ZW
7573 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
7574 predicates.
fa066a23 7575
0d24f4d1 7576 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 7577
8f949e7e
JDA
75782002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
7579
7580 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
7581 (pa_output_function_prologue): Output local label at the beginning of
7582 the prologue when profiling.
7583 (hppa_profile_hook): Use the local label rather than the function label.
7584 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
7585
c62f2db5
AH
75862002-01-07 Aldy Hernandez <aldyh@redhat.com>
7587
0d24f4d1
ZW
7588 * config/rs6000/rs6000.c (print_operand): Remove extra space.
7589 (altivec_expand_unop_builtin): Fix thinko.
7590 (altivec_expand_binop_builtin): Same.
7591 (altivec_expand_ternop_builtin): Same.
7592 (altivec_expand_builtin): Same.
c62f2db5 7593
b5235ba7
RH
75942002-01-07 Richard Henderson <rth@redhat.com>
7595
7596 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
7597
7d8ac293
JM
75982002-01-07 Jason Merrill <jason@redhat.com>
7599
7600 * unwind-dw2.c (execute_cfa_program): Use < again.
7601
571a03b8
JJ
76022002-01-07 Jakub Jelinek <jakub@redhat.com>
7603
7604 * predict.c (combine_predictions_for_insn): Avoid division by zero.
7605
2e951384
JJ
76062002-01-07 Jakub Jelinek <jakub@redhat.com>
7607
7608 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
7609 Don't allow -1 - x -> ~x simplifications in the first pass.
7610
20e26713
AH
76112002-01-07 Aldy Hernandez <aldyh@redhat.com>
7612
0d24f4d1
ZW
7613 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
7614 arguments.
7615 (altivec_expand_binop_builtin): Same.
7616 (altivec_expand_unop_builtin): Same.
7617 (print_operand): Fix typo.
7618 (bdesc_1arg): Add vupk* variants.
20e26713 7619
0d24f4d1 7620 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 7621
0d24f4d1 7622 * rs6000.md: Add altivec_vupk* variants.
20e26713 7623
4dd57c18
JM
76242002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
7625
7626 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
7627 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
7628 and last update dates.
7629
0341c5d2
JJ
76302002-01-07 Janis Johnson <janis187@us.ibm.com>
7631
7632 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
7633
c7f3e0b0
MM
76342002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
7635
7636 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
7637 * config/avr/avr.h (CPP_SPEC): Likewise.
7638 (LINK_SPEC): Likewise.
7639 (CRT_BINUTILS_SPECS): Likewise.
7640 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
7641 * doc/invoke.texi (AVR Options): Document them.
7642
6ba4d630
JH
7643Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
7644
7645 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
7646 LABEL_NUSES.
7647
6253d571
GS
76482002-01-07 Graham Stott <grahams@redhat.com>
7649
0d24f4d1
ZW
7650 * config/i386/i386.h: Update copyright date.
7651 (HALF_PIC_PTR): Add parenthesis.
7652 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
7653 (CONSTANT_ALIGNMENT): Add parenthesis.
7654 (DATA_ALIGNMENT): Likewise.
7655 (LOCAL_ALIGNMENT): Likewise.
7656 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
7657 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
7658 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
7659 (HARD_REGNO_NREGS): Add paranethesis.
7660 (VALID_SSE_REG_MODE): Whitespace.
7661 (VALID_MMX_REG_MODE): Whitespace.
7662 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
7663 (ix86_hard_regno_mode_ok): Add parenthesis.
7664 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
7665 (RETURN_IN_MEMORY): Whitespace.
7666 (N_REG_CLASSES): Add parenthesis.
7667 (INTEGER_CLASS_P): Add parenthesis and wrap.
7668 (FLOAT_CLASS_P): Likewise.
7669 (SSE_CLASS_P): Likewise.
7670 (MMX_CLASS_P): Likewise.
7671 (MAYBE_INTEGER_CLASS_P): Likewise.
7672 (MAYBE_FLOAT_CLASS_P): Likewise.
7673 (MAYBE_SSE_CLASS_P): Likewise.
7674 (MAYBE_MMX_CLASS_P): Likewise.
7675 (Q_CLASS_P): Likewise.
7676 (GENERAL_REGNO_P): Uppercase macro parameter.
7677 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
7678 (FP_REGNO_P): Likewise.
7679 (ANY_FP_REGNO_P): Uppercase macro parameter.
7680 (SSE_REGNO_P): Likewise.
7681 (SSE_REGNO): Likewise.
7682 (SSE_REG_P): Likewise.
7683 (SSE_FLOAT_MODE_P): Likewise.
7684 (MMX_REGNO_P): Likewise.
7685 (MMX_REG_P):Likewise.
7686 (STACK_REG_P): Likewise.
7687 (NON_STACK_REG_P): Likewise.
7688 (STACK_TOP_P): Likewise.
7689 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
7690 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
7691 (SECONDARY_MEMORY_NEEDED): Likewise.
7692 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
7693 (MD_ASM_CLOBBERS): Whitespace and wrap.
7694 (MUST_PASS_IN_STACK): Whitespace and wrap.
7695 (RETURN_POPS_ARGS): Add parenthesis.
7696 (INIT_CUMULATIVE_ARGS): Likewise.
7697 (FUNCTION_ARG): Likewise.
7698 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
7699 (SETUP_INCOMING_VARARGS): Likewise.
7700 (BUILD_VA_LIST_TYPE): Add parenthesis.
7701 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
7702 parenthsis.
7703 (EXPAND_BUILTIN_VA_ARG): Likewise.
7704 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
7705 (INITIALIZE_TRAMPOLINE): Add parenthesis.
7706 (INITIAL_ELIMINATION_OFFSET): Likewise.
7707 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
7708 (REGNO_OK_FOR_BASE_P): Likewise.
7709 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
7710 (REGNO_OK_FOR_DIREG_P): Likewise.
7711 (REG_OK_FOR_INDEX_P): Whitespace.
7712 (REG_OK_FOR_BASE_P): Whitespace.
7713 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
7714 parenthesis.
7715 (FIND_BASE_TERM): Fix typo.
7716 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
7717 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
7718 (SYMBOLIC_CONST; Whitespace.
7719 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
7720 (ENCODE_SECTION_INFO): Whitespace.
7721 (FINALIZE_PIC): Remove do { ... } while (0).
7722 (PROMOTE_MODE): Wrap in do { ... } while (0).
7723 (CONST_COSTS): Whitespace.
7724 (RTX_COSTS): Add paramethesis, whitespace and wrap.
7725 (REGISTER_MOVE_COST): Add parenthesis.
7726 (MEMORY_MOVE_COST): Likewise.
7727 (EXTRA_CC_MODES): Whitespace.
7728 (SELECT_CC_MODE): Add parenthesis and whitespace.
7729 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
7730 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
7731 (ASM_OUTPUT_LABEL): Add paramethesis.
7732 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
7733 (ASM_OUTPUT_REG_POP): Likewise.
7734 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
7735 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 7736
07933f72
GS
7737 * config/i386/i386.c: Update copyright.
7738 (CHECK_STACK_LIMIT): Add parenthesis.
7739 (AT_BP): Uppercase macro parameter.
7740 (x86_64_int_parameter_registers): Constify.
7741 (x86_64_int_return_registers): Likewise.
7742 (ix86_compare_op0): Use rtx.
7743 (construct_container): Constify INTREG parameter.
7744 (function_arg): Use rtx.
7745
0b4d32c9
GS
7746 * diagnostic.h: Update copyright date.
7747 (output_buffer_state): Add parenthesis.
7748 (output_buffer_format_args): Likewise.
7749
6253d571
GS
7750 * combine.c (combine_instructions): Replace XEXP (links, 0)
7751 with link.
7752
68f3f6f1
L
77532002-01-06 H.J. Lu <hjl@gnu.org>
7754
7755 * cfgcleanup.c (thread_jump): Fix 2 typos.
7756
77572002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 7758
0d24f4d1 7759 * config.gcc: Add support for --enable-altivec.
480f7f3a 7760
13b8c631
CR
77612002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
7762
7763 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
7764
58ad89b1
JJ
77652002-01-06 Jakub Jelinek <jakub@redhat.com>
7766
7767 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
7768 __objc_class_name_*.
7769
e403b4bc
CR
77702002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
7771
7772 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
7773
e41c7831
RH
77742002-01-06 Richard Henderson <rth@redhat.com>
7775
7776 * reorg.c (emit_delay_sequence): Remove death notes, not merely
7777 nop them out. Increment label reference count for REG_LABEL.
7778 (fill_slots_from_thread): Frob label reference count around
7779 delete_related_insns.
7780
3b3b1e32
RH
77812002-01-05 Richard Henderson <rth@redhat.com>
7782
7783 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
7784 jump threading.
7785
c28abdf0
RH
77862002-01-05 Richard Henderson <rth@redhat.com>
7787
7788 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
7789 * integrate.c (output_inline_function): Likewise.
7790 * toplev.c (rest_of_compilation): Do it here instead. Move call
7791 to remove_unnecessary_notes after emitting abstract instance.
7792 Force an emitted nested function to have its parent emited as well.
7793 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
7794 for null.
7795 (rtl_for_decl_location): Do not look at reload data structures
7796 before reload has run.
7797
c4f2c499
KH
77982002-01-05 Kazu Hirata <kazu@hxi.com>
7799
7800 * cse.c: Fix formatting.
7801 * dwarf2asm.c: Likewise.
7802 * dwarf2out.c: Likewise.
7803 * explow.c: Likewise.
7804 * expmed.c: Likewise.
7805 * function.c: Likewise.
7806 * gcov.c: Likewise.
7807 * gencheck.c: Likewise.
7808 * genrecog.c: Likewise.
7809 * ggc-common.c: Likewise.
7810 * ggc-page.c: Likewise.
7811 * global.c: Likewise.
7812
cf0d9408
KH
78132002-01-05 Kazu Hirata <kazu@hxi.com>
7814
7815 * combine.c: Fix formatting.
7816
bedca03a
CR
78172002-01-05 Craig Rodrigues <crodrigu@bbn.com>
7818
7819 PR middle-end/1557
7820 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
7821
0134bf2d
DE
78222002-01-05 David Edelsohn <edelsohn@gnu.org>
7823
7824 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
7825 as 1 for __powerpc64__ as well.
7826
7827 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
7828
7829 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
7830 return it.
7831
9ca88d5a
DB
78322002-01-05 Daniel Berlin <dan@dberlin.org>
7833
7834 * lcm.c: Revert change, due to performance regression it causes on
7835 SPEC because it's slightly more conservative (sigh, I hate
7836 edge-based LCM).
0d24f4d1 7837
1c570418
JH
7838Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
7839
7840 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
7841
d83bb9f7
NB
78422002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
7843
7844 * doc/cppinternals.texi: Update.
7845
3e0f61ac
HPN
78462002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
7847
7848 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
7849 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
7850 negatives.
7851 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
7852 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
7853 kludge for pre-october-14th mmix versions to handle new-found bug
7854 with PUSHJ/PUSHGO and the register stack.
7855 * config/mmix/mmix.h (struct machine_function): Rename member
7856 has_call_value_without_parameters to has_call_without_parameters.
7857 All referers changed.
7858 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
7859 TARGET_MASK_BRANCH_PREDICT): New macros.
7860 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
7861 -mno-reg-stack-fill-bug-workaround.
7862 * config/mmix/mmix.md ("call"): Set struct machine member
7863 has_call_without_parameters.
7864
4deaa2f8
JH
7865Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
7866
7867 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
7868
9f16e871
JH
7869Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
7870
7871 * cfgcleanup.c: Include tm_p.h
7872 (mark_effect): Fix handling of hard register; fix handling of SET
7873
96eb1157
KH
78742002-01-04 Kazu Hirata <kazu@hxi.com>
7875
7876 * config/h8300/h8300.md (anonymous patterns): Check that
7877 operands are registers before using REGNO on them.
7878
48180d68
RM
78792002-01-03 Roland McGrath <roland@frob.com>
7880
7881 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
7882
b0832fe1
JJ
78832002-01-04 Jakub Jelinek <jakub@redhat.com>
7884
7885 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
7886 * c-common.h (genrtl_expr_stmt_value): Likewise.
7887 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
7888 (expand_expr_stmt_value): Add maybe_last argument.
7889 Don't warn about statement with no effect if it is the last statement
7890 in expression statement.
7891 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
7892 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
7893 expand_expr_stmt_value.
7894 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
7895 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
7896 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
7897 as maybe_last to expand_expr_stmt_value.
7898
c1e14513
JL
7899Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
7900
0d24f4d1
ZW
7901 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
7902 be passed in, do not build it.
7903 (c_begin_if_stmt): New function.
7904 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
7905 * c-common.h (c_expand_start_cond): Update prototype.
7906 (c_begin_if_stmt): Prototype new function.
7907 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
7908 * c-parse.in (if_prefix): Use c_begin_if_stmt,
7909 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 7910
b6ec437a
WC
79112002-01-04 William Cohen <wcohen@redhat.com>
7912
7913 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
7914 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
7915 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
7916 * config/pa/som.h (ASM_FILE_START): Likewise.
7917
ead39bdf 79182002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
7919
7920 * lcm.c: Include df.h.
7921 Add available_transfer_function prototype.
7922 (compute_available): Rework to use iterative dataflow framework.
7923 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
7924 with bb_info in df.h
7925 (available_transfer_function): New function.
7926
7927 * Makefile.in (lcm.o): add df.h to dependencies.
7928
551cc6fd
RH
79292002-01-04 Richard Henderson <rth@redhat.com>
7930
7931 * config/alpha/alpha.c (some_operand): Accept HIGH.
7932 (input_operand): Likewise; accept simple references to globals.
7933 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
7934 (alpha_const_double_ok_for_letter_p): Likewise.
7935 (alpha_extra_constraint): Likewise.
7936 (alpha_preferred_reload_class): Likewise. Do not force
7937 symbolic constants to memory.
7938 (alpha_legitimate_address_p): Accept simple references
7939 to small_symbolic_operand.
7940 (alpha_legitimize_address): New arg scratch. Be prepared to be
7941 called when no_new_pseudos. Emit simple symbolic references.
7942 Split integers into low, high, and rest.
7943 (alpha_expand_mov): Use alpha_legitimize_address.
7944 (some_small_symbolic_mem_operand): New.
7945 (split_small_symbolic_mem_operand): New.
7946 * config/alpha/alpha-protos.h: Update.
7947 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
7948 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
7949 (EXTRA_CONSTRAINT): Likewise.
7950 (PREFERRED_RELOAD_CLASS): Likewise.
7951 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
7952 (PREDICATE_CODES): Update.
7953 * config/alpha/alpha.md: New post-reload splitters to convert
7954 simplfied symbolic operands to the form that references $29.
7955 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
7956 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
7957
1eaea054
RH
79582002-01-03 Richard Henderson <rth@redhat.com>
7959
7960 * local-alloc.c (function_invariant_p): Update commentary.
7961
c4cc12b7
L
79622002-01-04 H.J. Lu <hjl@gnu.org>
7963
7964 * toplev.c (rest_of_compilation): Fix a typo when calling
7965 cleanup_cfg.
7966
173bf5be
KH
79672002-01-03 Kazu Hirata <kazu@hxi.com>
7968
7969 * c-common.c: Fix formatting.
7970 * diagnostic.c: Likewise.
7971 * doloop.c: Likewise.
7972 * dwarf2out.c: Likewise.
7973
187462ac
KH
79742002-01-03 Kazu Hirata <kazu@hxi.com>
7975
7976 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
7977 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
7978
5d8ebbd8
NB
79792002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
7980
7981 * cpperror.c: Update comments and copyright.
7982 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
7983 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
7984
518c1311
JDA
79852002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
7986
7987 * collect2.c (main): Use strcmp when testing for "-shared".
7988
d15a58c0
NB
79892002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
7990
7991 * cppmacro.c: Don't include intl.h. Update comments.
7992 (new_number_token): Allocate enough buffer for 64-bit unsigned
7993 integers; update prototype.
7994 * cppmain.c: Update comments.
7995
70f4f91c
WC
79962002-01-03 William Cohen <wcohen@redhat.com>
7997
7998 * function.h (struct function): Add profile.
7999 (current_function_profile): New.
8000 doc/extend.texi: Update documentation.
8001 * final.c (final_start_function): Use current_function_profile
8002 instead of profile_flag.
8003 (profile_after_prologue): Likewise.
8004 * function.c (expand_function_start): Likewise.
8005 (expand_function_start): Likewise.
c4cc12b7 8006 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
8007 (alpha_does_function_need_gp): Likewise.
8008 (alpha_expand_prologue): Likewise.
8009 * config/arm/arm.c (arm_expand_prologue): Likewise.
8010 thumb_expand_prologue: Likewise.
8011 * config/d30v/d30v.c (d30v_stack_info): Likewise.
8012 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
8013 (fr30_expand_prologue): Likewise.
8014 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
8015 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
8016 * config/i386/i386.h (FINALIZE_PIC): Likewise.
8017 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
8018 * config/i960/i960.c (i960_output_function_prologue): Likewise.
8019 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
8020 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
8021 (m32r_expand_prologue): Likewise.
8022 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
8023 (m88k_expand_prologue): Likewise.
8024 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
8025 * config/mips/mips.c (compute_frame_size): Likewise.
8026 (mips_expand_prologue): Likewise.
8027 (mips_can_use_return_insn): Likewise.
8028 * config/pa/elf.h (ASM_FILE_START): Likewise.
8029 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
8030 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
8031 * config/pa/som.h (ASM_FILE_START): Likewise.
8032 * config/romp/romp.c (romp_using_r14): Likewise.
8033 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
8034 (rs6000_stack_info): Likewise.
8035 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 8036 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
8037 * config/v850/v850.c (compute_register_save_size): Likewise.
8038
cb1ac742
JJ
80392002-01-03 Jakub Jelinek <jakub@redhat.com>
8040
8041 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
8042 gen_lowpart_common fails, use gen_lowpart_SUBREG.
8043
61d951df 80442002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 8045
61d951df
TC
8046 * darwin.c (machopic_output_possible_stub_label): Don't generate
8047 stub routines for pseudo-stubs which we've just defined.
8048
505ddab6
KH
80492002-01-03 Kazu Hirata <kazu@hxi.com>
8050
8051 * builtins.c: Fix formatting.
8052 * c-typeck.c: Likewise.
8053 * combine.c: Likewise.
8054 * expr.c: Likewise.
8055 * loop.c: Likewise.
8056
b7e30d8a
AS
80572002-01-03 Andreas Schwab <schwab@suse.de>
8058
8059 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
8060 and return true if _cpp_push_next_buffer pushed a new include
8061 file.
8062 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
8063 _cpp_pop_file_buffer did not push a new file.
8064 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
8065
ff81832f
EC
80662002-01-02 Eric Christopher <echristo@redhat.com>
8067
8068 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
8069 FIND_REG_INC_NOTE call. Update copyright.
8070 * loop.c (canonicalize_condition): Ditto.
8071 * reorg.c (delete_scheduled_jump): Ditto.
8072
8e42ace1
KH
80732002-01-03 Kazu Hirata <kazu@hxi.com>
8074
8075 * gcse.c: Fix formatting.
8076
fb2bf631
GS
80772002-01-03 Graham Stott <grahams@redhat.com>
8078
8079 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
8080 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 8081 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
8082
8083 * system.h: Move forward defs for struct tags rtx_def, union_tree,
8084 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 8085 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
8086
80872002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
8088
8089 * tree.h: Update copyright date.
8090 (IS_EXPR_CODE_CLASS): Add parenthesis.
8091 (TREE_SET_CODE): Add whitespace.
8092 (TREE_CHECK): Add parenthesis.
8093 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
8094 (CST_OR_CONSTRUCTOR_CHECK):
8095 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
8096 (TREE_SYMBOL_REFERENCED): Whitespace.
8097 (INT_CST_LT): Likewise.
8098 (INT_CST_LT_UNSIGNED): Likewise.
8099 (tree_real_cst): Unwrap comment.
8100 (tree_string): Likewise.
8101 (tree_complex): Likewise.
8102 (IDENTIFIER_POINTER): correct cast.
8103 (SAVE_EXPR_CONTEXT): Whitespace.
8104 (EXPR_WFL_FILENAME_NODE): Likewise.
8105 (EXPR_WFL_FILENAME): Remove parenthesis.
8106 (DECL_ORIGIN): Add parenthesis.
8107 (DECL_FROM_INLINE): Use NULL_TREE.
8108 (build_int_2): Whitespace.
8109 (build_type_variant): Add parenthesis.
8110
8111 * gcc/jcf-parse.c: Update copyright date.
8112 (yyparse): Constify resource_filename.
8113
f52eda29
GS
81142002-01-03 Graham Stott <grahams@redhat.com>
8115
8116 * rtl.h: Update copyright date.
8117 (RTL_CHECK1): Wrap long line.
8118 (RTL_CHECK2): Likewise.
8119 (RTL_CHECKC1): Wrap long line and whitespace.
8120 (RTL_CHECKC2): Likewise.
8121 (XWINT): Whitespace.
8122 (XINT): Likewise.
8123 (XSTR): Likewise.
8124 (XEXP): Likewise.
8125 (XVEC): Likewise.
8126 (XMODE): Likewise.
8127 (XBITMAP): Likewise.
8128 (XTREE): Likewise.
8129 (XBBDEF): Likewise.
8130 (XTMPL): Likewise.
8131 (X0WINT): Likewise.
8132 (X0INT):Likewise.
8133 (X0UINT): Likewise.
8134 (X0STR): Likewise.
8135 (X0EXP): Likewise.
8136 (X0VEC): Likewise.
8137 (X0MODE): Likewise.
8138 (X0BITMAP): Likewise.
8139 (X0TREE): Likewise.
8140 (X0BBDEF): Likewise.
8141 (X0ADVFLAGS): Likewise.
8142 (X0CSELIB): Likewise.
8143 (X0MEMATTR): Likewise.
8144 (XCWINT): Likewise.
8145 (XCINT): Likewise.
8146 (XCUINT): Likewise.
8147 (XCSTR): Likewise.
8148 (XCEXP): Likewise.
8149 (XCVEC): Likewise.
8150 (XCMODE): Likewise.
8151 (XCBITMAP): Likewise.
8152 (XCTREE): Likewise.
8153 (XCBBDEF): Likewise.
8154 (XCADVFLAGS): Likewise.
8155 (XCCSELIB): Likewise.
8156 (XC2EXP): Likewise.
8157 (INSN_UID): Likewise.
8158 (PREV_INSN): Likewise.
8159 (PATTERN): Likewise.
8160 (INSN_CODE): Likewise.
8161 (PUT_REG_NOTE_KIND): Likewise.
8162 (CODE_LABEL_NUMBER): Likewise.
8163 (NOTE_SOURCE_FILE): Likewise.
8164 (NOTE_BLOCK): Likewise.
8165 (NOTE_EH_HANDLER): Likewise.
8166 (NOTE_RANGE_INFO): Likewise.
8167 (NOTE_LIVE_INFO): Likewise.
8168 (NOTE_BASIC_BLOCK): Likewise.
8169 (NOTE_EXPECTED_VALUE): Likewise.
8170 (NOTE_LINE_NUMBER): Likewise.
8171 (LABEL_NAME): Likewise.
8172 (LABEL_NUSES): Likewise.
8173 (LABEL_ALTERNATE_NAME): Likewise.
8174 (ADDRESSOF_DECL): Likewise.
8175 (JUMP_LABEL): Likewise.
8176 (LABEL_NEXTREF): Likewise.
8177 (REGNO): Likewise.
8178 (ORIGINAL_REGNO: Likewise.
8179 (HARD_REGISTER_NUM_P): Add parenthesis.
8180 (SUBREG_REG): Whitespace.
8181 (SUBREG_BYTE): Likewise.
8182 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
8183 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
8184 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
8185 (ASM_OPERANDS_INPUT_VEC): Likewise.
8186 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
8187 (ASM_OPERANDS_INPUT): Likewise.
8188 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
8189 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
8190 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
8191 (ASM_OPERANDS_INPUT_MODE): Likewise.
8192 (ASM_OPERANDS_SOURCE_FILE): Likewise.
8193 (ASM_OPERANDS_SOURCE_LINE): Likewise.
8194 (MEM_SET_IN_STRUCT_P): Minor reformat.
8195 (TRAP_CONDITION): Whitespace.
8196 (TRAP_CODE): Likewise.
8197 (COND_EXEC_TEST): Likewise.
8198 (COND_EXEC_CODE): Likewise.
8199 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
8200 (PHI_NODE_P): Add parenthesis.
8201 (plus_constant): Whitespace and add parenthesis.
8202
e03f5d43
KH
82032002-01-03 Kazu Hirata <kazu@hxi.com>
8204
8205 * config/avr/avr.c: Fix comment typos.
8206 * config/c4x/c4x.md: Likewise.
8207 * config/dsp16xx/dsp16xx.h: Likewise.
8208 * config/dsp16xx/dsp16xx.md: Likewise.
8209 * config/i386/i386.md: Likewise.
8210 * config/ia64/ia64.c: Likewise.
8211 * config/m32r/m32r.h: Likewise.
8212 * config/m68hc11/m68hc11.md: Likewise.
8213 * config/mmix/mmix.c: Likewise.
8214 * config/mn10200/mn10200.c: Likewise.
8215 * config/romp/romp.c: Likewise.
8216 * config/sh/sh.c: Likewise.
8217 * config/stormy16/stormy16.c: Likewise.
8218 * config/stormy16/stormy16.h: Likewise.
8219 * config/stormy16/stormy16.md: Likewise.
8220
97e300e9
GS
82212002-01-03 Graham Stott <grahams@redhat.com>
8222
8223 * loop.h: Update copyright date.
0d24f4d1
ZW
8224 (LOOP_MOVABLES): Fix typo.
8225 (LOOP_REGS): Likewise.
8226 (LOOP_IVS): Likewise.
ff81832f 8227
745b26b3
GS
82282002-01-03 Graham Stott <grahams@redhat.com>
8229
8230 * cppinit.c: Update copyright date.
8231 Don't include output.h
8232 * Makefile.in: Update copyright date.
8233 Update dependency.
8234
0a379b7a
CR
82352002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
8236
8237 PR c/5226
8238 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
8239 (-pthread) Add to RS/6000 options.
8240
a8154559
KH
82412002-01-02 Kazu Hirata <kazu@hxi.com>
8242
8243 * except.c: Fix comment typos.
8244 * loop.c: Likewise.
8245 * varasm.c: Likewise.
8246 * doc/tm.texi: Fix a typo.
8247
e6ecc89b
JJ
82482002-01-02 Jakub Jelinek <jakub@redhat.com>
8249
8250 * c-typeck.c (output_init_element): Allow initializing static storage
8251 duration objects with compound literals.
8252
d1094b40
RH
82532002-01-02 Richard Henderson <rth@redhat.com>
8254
8255 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
8256 after abusing it.
8257
0c5d8c82
KG
82582002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8259
5e65297b
KG
8260 * gcc.c (default_compilers): Const-ify.
8261 * mips-tdump.c (stab_names): Likewise.
8262 * mips-tfile.c (map_coff_types, map_coff_storage,
8263 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
8264 pseudo_ops_t, pseudo_ops): Likewise.
8265 * protoize.c (default_include): Likewise
8266
0c5d8c82
KG
8267 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
8268 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
8269 Add array size in declaration.
8270 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
8271 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
8272 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
8273 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
8274 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
8275 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
8276 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
8277 emtens, make_nan): Const-ify.
8278 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
8279 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
8280
817e13c4
JM
82812002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
8282
8283 * config.gcc (ia64-*-*): Set extra_headers.
8284 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
8285 * config/alpha/t-osf: Remove.
8286 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
8287
98095e2b
DE
82882002-01-02 David Edelsohn <edelsohn@gnu.org>
8289
8290 * config/rs6000/t-aix43: Revert previous change.
8291
a4200657
JM
82922002-01-02 Jason Merrill <jason@redhat.com>
8293
8294 * c-decl.c (c_expand_body): Call outlining_inline_function when
8295 emitting an inline function out of line.
8296
54ba1f0d
RH
82972002-01-02 Richard Henderson <rth@redhat.com>
8298
8299 * dwarf2out.c (limbo_die_node): Add created_for member.
8300 (new_die): New argument created_for. Update all callers.
8301 (mark_limbo_die_list): New.
8302 (dwarf2out_init): Register limbo_die_list as a root.
8303 (dwarf2out_finish): Force insert limbo dies into their function
8304 context.
8305
323728aa
NS
83062002-01-02 Nathan Sidwell <nathan@codesourcery.com>
8307
8308 PR c++/5089
8309 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
8310
aefc5826
KH
83112002-01-02 Kazu Hirata <kazu@hxi.com>
8312
8313 * config/h8300/fixunssfsi.c: Update copyright.
8314 Fix comment typos.
8315 Fix formatting.
8316 * config/h8300/h8300.c: Update copyright.
8317 Eliminate warnings.
8318
b1c9bc51
KH
83192002-01-02 Kazu Hirata <kazu@hxi.com>
8320
8321 * config/romp/romp.c: Fix comment formatting.
8322 * config/romp/romp.h: Likewise.
8323 * config/romp/romp.md: Likewise.
8324 * config/s390/s390.c: Likewise.
8325 * config/stormy16/stormy16.c: Likewise.
8326 * config/stormy16/stormy16.h: Likewise.
8327
1574ef13
AO
83282002-01-02 Alexandre Oliva <aoliva@redhat.com>
8329
8330 * c-common.h (genrtl_expr_stmt_value): Declare.
8331 * c-semantics.c (genrtl_goto_stmt): Redirect to...
8332 (genrtl_goto_stmt_value): ... this new function. Pass new
8333 argument down to expand_expr_stmt_value, taking
8334 TREE_ADDRESSABLE into account.
8335 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
8336 STMT_EXPR as addressable, i.e., one whose result we want.
8337 * expr.c (expand_expr): Don't save expression statement value
8338 of labeled_blocks or loop_exprs.
8339 * stmt.c (expand_expr_stmt): Redirect to...
8340 (expand_expr_stmt_value): ... this new function. Use new
8341 argument to tell whether to save expression value.
8342 (expand_end_stmt_expr): Reset last_expr_type and
8343 last_expr_value if we don't have either.
8344 * tree-inline.c (declare_return_variable): Mark its use
8345 statement as addressable.
8346 * tree.h: Document new use of TREE_ADDRESSABLE.
8347 (expand_expr_stmt_value): Declare.
8348
252b88f7
TR
83492002-01-01 Tom Rix <trix@redhat.com>
8350
8351 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
8352 rs6000_emit_allocate_stack.
8353
29f7a208
JM
83542002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
8355
8356 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
8357 ${srcdir}/ginclude/ to every entry in extra_headers.
8358 * configure: Regenerate.
8359 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
8360 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
8361 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
8362 * ginclude/proto.h: Rename to config/convex/proto.h.
8363
2cc2d4bb
RK
8364Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8365
8366 * attribs.c (handle_vector_size_attribute): Use host_integerp
8367 and tree_int_cst; remove warnings.
8368 * caller-save.c (insert_restore): Add cast to get rid of warning.
8369 (insert_save): Likewise.
8370 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
8371 * regmove.c (find_matches): Add temporary var to kill a warning.
8372
f01c9bcd
DR
83732002-01-01 Douglas B Rupp <rupp@gnat.com>
8374
16b61764
DR
8375 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
8376 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
8377 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
8378 (vms-dwarf2eh.o): Add Makefile rule.
8379 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
8380 * config/alpha/vms-dwarf2eh.asm: New file.
8381
f01c9bcd
DR
8382 * gcc.c (delete_if_ordinary): Delete all versions.
8383
91312b81
HPN
83842002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
8385
8386 * config/mmix/mmix.md: Update FIXME to not mention
8387 define_constants.
8388 (MMIX_rJ_REGNUM): New define_constants constant.
8389 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
8390 "*movdicc_real"): Adjust contraints formatting.
8391 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
8392 for branch prediction.
8393 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
8394 output template.
8395 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
8396 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
8397 number. Delete related FIXMEs.
8398 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
8399 from number to MMIX_rJ_REGNUM.
8400 (TARGET_MASK_BRANCH_PREDICT): New.
8401 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
8402 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
8403 value. Add -mbranch-predict and -mno-branch-predict.
8404 (TARGET_VERSION): Drop date.
8405 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
8406 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
8407 for finding out global symbols.
8408 (mmix_asm_output_labelref): Revert condition for global symbol.
8409 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
8410 (mmix_print_operand_punct_valid_p): A '+' is valid.
8411
619acae7 8412See ChangeLog.6 for earlier changes.
This page took 1.037832 seconds and 5 git commands to generate.