57de66776eb67ca3a34db563fb3a7f5e164b50ab
[gcc.git] / gcc / ChangeLog
1 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
2
3 * toplev.c (rest_of_compilation): Delete dead jumptables before
4 loop.
5 * flow.c (delete_dead_jumptables): Make global.
6 * rtl.h (delete_dead_jumptables): Declare.
7
8 2002-03-01 David Edelsohn <edelsohn@gnu.org>
9
10 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
11 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
12 * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.
13
14 2002-03-01 Kazu Hirata <kazu@hxi.com>
15
16 * config/h8300/h8300-protos.h: Fix formatting.
17 * config/h8300/h8300.c: Likewise.
18 * config/h8300/h8300.h: Likewise.
19
20 2002-03-01 Kazu Hirata <kazu@hxi.com>
21
22 * config/h8300/h8300.c (print_operand): Support 16-bit
23 constant addresses.
24 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
25
26 2002-02-28 Richard Henderson <rth@redhat.com>
27
28 * expmed.c (store_bit_field): Prevent generation of CONCATs;
29 pun complex values as integers; use gen_lowpart instead of
30 gen_rtx_SUBREG.
31 (extract_bit_field): Likewise.
32
33 2002-03-01 Alan Modra <amodra@bigpond.net.au>
34 David Edelsohn <edelsohn@gnu.org>
35
36 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
37 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
38 (SUPPORTS_WEAK): Likewise.
39 * output.h (add_weak): Add tree param.
40 * varasm.c (add_weak): Likewise. Save decl.
41 (struct weak_syms): Add decl field.
42 (mark_weak_decls): New function.
43 (init_varasm_once): ggc_add_root mark_weak_decls.
44 (assemble_start_function): Use ASM_WEAKEN_DECL.
45 (assemble_variable): Likewise.
46 (assemble_alias): Likewise.
47 (declare_weak): Pass decl to add_weak.
48 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
49 (remove_from_pending_weak_list): Declare and define for
50 ASM_WEAKEN_DECL.
51 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
52 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
53 * defaults.h (SUPPORTS_WEAK): Likewise.
54 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
55 .weak for code sym. Do emit .size for descriptor sym.
56 (ASM_DECLARE_FUNCTION_SIZE): Define.
57 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
58 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
59 .lglobl unless TARGET_XCOFF. Formatting fixes.
60 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
61 .weak for code sym.
62 (HANDLE_PRAGMA_WEAK): Remove.
63 (ASM_WEAKEN_LABEL): Remove.
64 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
65
66 2002-03-01 Jason Merrill <jason@redhat.com>
67
68 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
69 (TARGET_EXPR_CLEANUP): New macro.
70
71 2002-02-28 Steve Ellcey <sje@cup.hp.com>
72
73 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
74 to take ptr_extend into account as third type of extension.
75 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
76 fields used by SUBREG_PROMOTED_UNSIGNED_P.
77 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
78 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
79 * calls.c (precompute_arguments): Use new macro.
80 (expand_call): Ditto.
81 * combine.c (nonzero_bits): Ditto.
82 (record_promoted_value): Ditto.
83 * expr.c (store_expr): Ditto.
84 (expand_expr): Ditto.
85 * function.c (assign_parms): Ditto.
86
87 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
88
89 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
90 override -shared and -shared-libgcc.
91
92 2002-02-28 David O'Brien <obrien@FreeBSD.org>
93
94 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
95 of "ultrasparc".
96 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
97 to be broken.
98
99 2002-02-28 Richard Henderson <rth@redhat.com>
100
101 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
102 4 cycle latency from MM producers.
103 (ia64_internal_sched_reorder): Likewise with pipeline flush.
104
105 2002-02-28 Jakub Jelinek <jakub@redhat.com>
106
107 * mklibgcc.in: Don't use GNU make extension.
108
109 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
110
111 * c-parse.in (STATIC): New terminal.
112 (scspec): New non-terminal. Update productions accordingly.
113 (program): Remove bogus ifc / end ifc.
114 (array_declarator): Simplify production using STATIC.
115
116 2002-02-28 Jim Meyering <meyering@lucent.com>
117
118 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
119 \a still means TARGET_BELL.
120
121 2002-02-28 Richard Henderson <rth@redhat.com>
122
123 * haifa-sched.c (sched_emit_insn): New.
124 (schedule_block): Use last_scheduled_insn to track last insn.
125 * sched-int.h (sched_emit_insn): Prototype.
126 * config/ia64/ia64.c (last_issued): Remove.
127 (ia64_variable_issue): Don't set it.
128 (nop_cycles_until): Use sched_emit_insn.
129
130 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
131
132 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
133 extended constants.
134
135 2002-02-28 Kazu Hirata <kazu@hxi.com>
136
137 * config/h8300/h8300.c: Fix formatting.
138 * config/h8300/h8300.h: Likewise.
139
140 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
141
142 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
143 which may overwrite the high byte of the frame pointer.
144
145 2002-02-28 Bo Thorsen <bo@suse.de>
146
147 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
148 (STARTFILE_SPEC): Add 64 bit files.
149 (ENDFILE_SPEC): Likewise.
150
151 2002-02-28 Jason Merrill <jason@redhat.com>
152
153 * c-decl.c (finish_function): Only warn about missing return
154 statement with -Wreturn-type.
155
156 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
157
158 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
159
160 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
161 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
162
163 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
164
165 * basic-block.h (BB_REACHABLE): Renumber.
166 (BB_DIRTY, BB_NEW): New flags.
167 (clear_bb_flags): Declare.
168 (update_life_info_in_dirty_blocks): Declare.
169 * cfg.c (clear_bb_flags): New function.
170 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
171 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
172 reorder_insns, emit_insn_after): Mark block as dirty.
173 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
174 (update_life_info_in_dirty_blocks): New function.
175 * recog.c (apply_change_group): Dirtify block.
176
177 * cse.c (cse_insn): Reorder emitting of jump insn to keep
178 cfg consistent.
179 * gcse.c (delete_null_pointer_checks): Likewise.
180
181 * toplev.c (dump_file_index): Move cse2 after bp,
182 add DFI_null
183 (dump_file_info): Similary.
184 (rest_of_compilation): Avoid most of CFG rebuilds;
185 do first if converision after null pointer checks, do cse2
186 after branch prediction; avoid full liveness rebuild after
187 initializing subregs.
188 * invoke.texi (-d options): Document -du, renumber.
189
190 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
191 (notice_new_block): Do not set BB_UPDATE_LIFE.
192 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
193 merge_blocks_move_successor_nojumps, merge_blocks,
194 try_crossjump_to_edge): Likewise.
195 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
196 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
197 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
198 (merge_of_block): Do not use life_data_ok.
199 (find_if_case_1): Do not use SET_UPDATE_LIFE.
200 (if_convert): Use BB_DIRTY mechanizm to update life.
201 * lcm.c (optimize_mode_switching): Update
202 update_life_info_in_dirty_blocks
203
204 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
205
206 * Makefile.in (integrate.o): Update.
207 * c-decl.c (copy_lang_decl): Rename.
208 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
209 * integrate.c: Include langhooks.h.
210 (copy_decl_for_inlining): Update to use langhook.
211 * langhooks-def.h (lhd_do_nothing_t,
212 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
213 (LANG_HOOKS_INITIALIZER): Update.
214 * langhooks.c (lhd_do_nothing_t): New.
215 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
216 * tree.h (copy_lang_decl): Remove.
217 objc:
218 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
219
220 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
221
222 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
223 POST_DEC, and POST_MODIFY.
224
225 2002-02-27 Zack Weinberg <zack@codesourcery.com>
226
227 * c-typeck.c (digest_init): Remove unused parameter; all
228 callers changed.
229
230 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
231
232 * expmed.c (expand_shift): Correctly test for low part of a
233 subreg.
234
235 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
236
237 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
238 insn UIDs with insn addresses.
239
240 2002-02-27 Zack Weinberg <zack@codesourcery.com>
241
242 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
243 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
244 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
245 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
246 gcc.c, toplev.c: Delete code implementing -traditional mode.
247
248 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
249 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
250 Document removal of -traditional mode for compilation, and
251 remove documentation only relevant to that mode.
252
253 * config/nextstep.h, config/ptx4.h, config/svr4.h,
254 config/convex/convex.h, config/d30v/d30v.h,
255 config/i386/dgux.h, config/i386/osf1elf.h,
256 config/i386/osfelf.h, config/i386/osfrose.h,
257 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
258 config/m68k/hp310.h, config/m88k/dgux.h,
259 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
260 config/m88k/m88k.h, config/m88k/openbsd.h,
261 config/mips/abi64.h, config/mips/osfrose.h,
262 config/mips/svr4-5.h, config/mips/svr4-t.h,
263 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
264 config/stormy16/stormy16.h: Remove all references to
265 -traditional from target specs. Delete all mention of the
266 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
267 delete a couple of commented-out definitions of
268 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
269 to -traditional.
270
271 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
272 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
273
274 2002-02-27 Zack Weinberg <zack@codesourcery.com>
275
276 * mklibgcc.in: Don't use \n in a line subject to
277 interpretation by echo.
278
279 2002-02-27 Graham Stott <grahams@redhat.com>
280
281 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
282 Constify NAME.
283
284 * loop.c (prescan_loop): Handle PARALLEL.
285
286 * unroll.c (loop_iterations): Return 0 if the add_val for
287 a BIV is REG.
288
289 * final.c (output_operand_lossage): Constify PFX_STR.
290
291 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
292
293 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
294
295 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
296 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
297
298 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
299
300 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
301
302 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
303
304 * cpplex.c (_cpp_lex_token): Handle directives in macro
305 arguments.
306 * cpplib.c (_cpp_handle_directive): Save and restore state
307 if parsing macro args when entering a directive.
308 * cppmacro.c (collect_args): No need to handle directives
309 in macro arguments.
310 (enter_macro_context, replace_args): Use the original macro
311 definition in case it was redefined whilst collecting arguments.
312 doc:
313 * cpp.texi: Update.
314
315 2002-02-26 David Edelsohn <edelsohn@gnu.org>
316
317 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
318 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
319 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
320 method on AIX.
321 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
322 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
323 (load_toc_v4_PIC_2): Same.
324
325 2002-02-26 Alan Modra <amodra@bigpond.net.au>
326
327 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
328
329 2002-02-26 Richard Henderson <rth@redhat.com>
330
331 * config/alpha/alpha.md (ashldi_se): Re-enable.
332
333 2002-02-26 Richard Henderson <rth@redhat.com>
334
335 * config/alpha/alpha.c (alpha_encode_section_info): Examine
336 MODULE_LOCAL_P; improve commentary.
337
338 2002-02-26 Zack Weinberg <zack@codesourcery.com>
339
340 * doc/cpp.texi: Clarify documentation of relationship between
341 #line and #include.
342
343 2002-02-26 Kazu Hirata <kazu@hxi.com>
344
345 * config/h8300/h8300-protos.h: Update the prototype for
346 compute_logical_op_length. Add the prototype for
347 compute_logical_op_cc.
348 * config/h8300/h8300.c (compute_logical_op_length): Figure out
349 code from operands.
350 (compute_logical_op_cc): New.
351 * config/h8300/h8300.md: Combine all the logical op patterns
352 in HImode and SImode. Use compute_logical_op_cc.
353
354 2002-02-26 Kelley Cook <kelleycook@comcast.net>
355
356 * config/i386/i386.c (print_operand): Don't append ATT-style
357 length suffixs to x87 opcodes when in Intel mode.
358
359 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
360
361 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
362 (init_emit_once): Update calls.
363 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
364 (init_syntax_once): Prototype.
365
366 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
367
368 * pa-linux.h (LIB_SPEC): Update definition.
369 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
370
371 2002-02-26 Richard Henderson <rth@redhat.com>
372
373 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
374 if we emitted a stop bit.
375
376 2002-02-26 Jakub Jelinek <jakub@redhat.com>
377
378 * configure.in (libgcc_visibility): Substitute.
379 * configure: Rebuilt.
380 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
381 defined symbols .hidden.
382
383 2002-02-26 Jakub Jelinek <jakub@redhat.com>
384
385 * attribs.c (c_common_attribute_table): Add visibility.
386 (handle_visibility_attribute): New function.
387 * varasm.c (assemble_visibility): New function.
388 * output.h (assemble_visibility): Add prototype.
389 * tree.h (MODULE_LOCAL_P): Define.
390 * crtstuff.c (__dso_handle): Use visibility attribute.
391 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
392 for MODULE_LOCAL_P symbols too.
393 * config/ia64/ia64.c (ia64_encode_section_info): Handle
394 MODULE_LOCAL_P symbols the same way as local symbols.
395 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
396 into .sdata/.sbss by the user.
397 * doc/extend.texi (Function Attributes): Document visibility
398 attribute.
399
400 2002-02-26 Jakub Jelinek <jakub@redhat.com>
401
402 PR debug/5770
403 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
404 STRING_CST initializer spanning the whole variable without
405 embedded zeros.
406 If expand_expr returned MEM, don't use it.
407
408 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
409
410 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
411 generate a die for the lexical block.
412
413 2002-02-26 Kazu Hirata <kazu@hxi.com>
414
415 * config/h8300/h8300-protos.h: Add a prototype for
416 compute_logical_op_length.
417 * config/h8300/h8300.c (compute_logical_op_length): New.
418 * config/h8300/h8300.md (anonymous logical patterns): Use
419 compute_logical_op_length for length.
420
421 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
422
423 * dwarf2out.c (modified_type_die): Do not call type_main_variant
424 for vectors.
425 (gen_type_die): Same.
426
427 * attribs.c (handle_vector_size_attribute): Set debug information.
428
429 2002-02-26 Daniel Egger <degger@fhm.edu>
430
431 * config/rs6000/rs6000.md: Swap define_insn attributes to
432 fix incorrect generation of merge high instructions instead
433 of merge low.
434
435 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
436
437 * c-typeck.c (really_start_incremental_init): Use
438 bitsize_zero_node for vectors.
439
440 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
441
442 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
443 ("*set_vrsave_internal"): Same.
444
445 2002-02-25 Richard Henderson <rth@redhat.com>
446
447 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
448 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
449
450 2002-02-25 Jakub Jelinek <jakub@redhat.com>
451
452 PR target/5755
453 * config/i386/i386.c (ix86_return_pops_args): Only pop
454 fake structure return argument if it was passed on the stack.
455
456 2002-02-25 Jason Merrill <jason@redhat.com>
457
458 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
459 RESULT_DECL.
460
461 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
462
463 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
464 link with shared_name only.
465 * doc/invoke.texi (Link Options): Document new behavior.
466
467 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
468
469 * c-typeck.c (push_init_level): Handle vectors.
470
471 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
472
473 * config/sparc/sparc.c (const64_high_operand): Zero-extend
474 operands of SPARC_SETHI_P.
475 (input_operand): Likewise.
476 (sparc_emit_set_const32): Likewise.
477 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
478 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
479 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
480 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
481 (movdi_insn_sp64_vis): Likewise.
482 (movdi split, movdf split): Use SETHI32.
483 * doc/md.texi: Document SPARC constraints L, M and N.
484
485 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
486
487 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
488 ("*set_vrsave_internal"): use mfspr for Darwin.
489
490 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
491 gen_get_vrsave_internal.
492
493 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
494
495 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
496
497 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
498
499 * cpplex.c (cpp_interpret_charconst): Get signedness or
500 otherwise of wide character constants correct.
501 * cppexp.c (lex): Get signedness of wide charconsts correct.
502
503 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
504
505 * optabs.c (widen_operand): Only call convert_modes for
506 promoted SUBREG if signedness matches.
507 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
508
509 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
510
511 * cpplib.c (glue_header_name): Use local buffer to build up
512 header name.
513
514 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
515
516 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
517
518 2002-02-23 Kazu Hirata <kazu@hxi.com>
519
520 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
521 H8/300[HS] separately.
522 * config/h8300/h8300.md: Remove the early clobber constraint
523 from bit field patterns.
524
525 2002-02-23 Kazu Hirata <kazu@hxi.com>
526
527 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
528 register_operand.
529 (mulhisi3): Likewise.
530 (umulqisi3): Likewise.
531 (umulhisi3): Likewise.
532
533 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
534
535 * cppinit.c (output_deps): Correct test for stdout output.
536 (init_dependency_output): Cure warning.
537
538 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
539
540 * expr.c (store_expr): When converting expression to promoted
541 equivalent type, allow using SUBREG_REG of TARGET as the target
542 of the expansion of EXP.
543 * loop.c (basic_induction_var, case SUBREG): Always look inside.
544 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
545 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
546 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
547 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
548
549 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
550
551 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
552 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
553 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
554
555 2002-02-23 Jakub Jelinek <jakub@redhat.com>
556
557 PR optimization/5747
558 * loop.c (scan_loop): Update reg info if move_movables created new
559 pseudos.
560
561 2002-02-23 David Edelsohn <edelsohn@gnu.org>
562
563 * gcc.c (init_gcc_spec): Revert last change.
564
565 2002-02-23 David Edelsohn <edelsohn@gnu.org>
566
567 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
568 gpc_reg_operand constraint.
569
570 2002-02-23 Alan Modra <amodra@bigpond.net.au>
571
572 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
573 Simplify comparison of `low'.
574 (add_operand): Fix formatting.
575 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
576 (mask_operand): Disallow mask to wrap in 64-bit mode.
577 (rs6000_stack_info): Remove redundant test setting push_p.
578 (output_toc): Fix formatting.
579 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
580 cc_reg_not_cr0_operand constraint.
581 (booldi3, boolcdi3 splitters): Same.
582
583 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
584
585 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
586
587 2002-02-22 David Edelsohn <edelsohn@gnu.org>
588
589 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
590 gcc invoked with -shared-libgcc.
591
592 2002-02-22 Jakub Jelinek <jakub@redhat.com>
593
594 PR c++/5748
595 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
596 decl if any of elements was TREE_USED.
597
598 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
599
600 * config/sparc/sol2.h: Don't include sys/mman.h.
601 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
602 (arith_4096_operand): Don't throw high bits away.
603 (const64_operand): Take sign extension of CONST_INTs into account.
604 (const64_high_operand, sparc_emit_set_const32): Likewise.
605 (GEN_HIGHINT64): Likewise.
606 (sparc_emit_set_const64_quick1): Likewise.
607 (const64_is_2insns): Likewise.
608 (print_operand): Use trunc_int_for_mode for sign extension.
609 * config/sparc/sparc.h (SMALL_INT32): Likewise.
610 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
611 chars. Assume CONST_INT is already properly sign-extended.
612 (movdi split): Sign-extend each SImode part.
613 (andsi3 split): Don't mask high bits off, so that result
614 remains properly sign-extend.
615 (iorsi3 split): Likewise.
616 (xorsi3 split): Likewise.
617
618 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
619
620 * fold-const.c (fold): Fix typo in comments.
621
622 2002-02-21 Diego Novillo <dnovillo@redhat.com>
623
624 * Makefile.in (langhooks.o): Update dependencies.
625
626 2002-02-21 Diego Novillo <dnovillo@redhat.com>
627
628 * langhooks.c: Include flags.h.
629
630 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
631
632 * testsuite/gcc.dg/attr-alwaysinline.c: New.
633
634 * c-common.c (c_common_post_options): Set inline trees by
635 default.
636
637 * doc/extend.texi (Function Attributes): Document always_inline
638 attribute.
639 Update documentation about inlining when not optimizing.
640
641 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
642
643 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
644 unless DECL_ALWAYS_INLINE.
645
646 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
647 unless DECL_ALWAYS_INLINE.
648 (c_disregard_inline_limits): Disregard if always_inline set.
649
650 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
651 Disregard if always_inline set.
652 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
653 unless DECL_ALWAYS_INLINE.
654
655 * attribs.c (handle_always_inline_attribute): New.
656 (c_common_attribute_table): Add always_inline.
657
658 * config/rs6000/altivec.h: Add prototypes for builtins
659 requiring the always_inline attribute.
660
661 2002-02-21 Eric Christopher <echristo@redhat.com>
662
663 * expmed.c (store_bit_field): Try to simplify the subreg
664 before generating a new one when when the mode size of
665 value is less than maxmode.
666
667 2002-02-21 Richard Henderson <rth@redhat.com>
668
669 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
670 than gen_rtx_PLUS to form the sum.
671 * explow.c (force_reg): Rearrange to not allocate new pseudo
672 when force_operand returns a register.
673 * expr.c (expand_assignment): Allow offset_rtx expansion to
674 return a sum. Do not force addresses into registers.
675 (expand_expr): Likewise.
676 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
677 to canonicalize arithmetic that didn't simpify.
678 (simplify_plus_minus): New argument force; update
679 all callers. Don't split CONST unless we can do something with it,
680 and wouldn't lose the constness of the operands.
681
682 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
683 that we generated earlier.
684
685 2002-02-21 Tom Tromey <tromey@redhat.com>
686
687 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
688 (output_line_info): Use constant `1', with a long explanatory
689 comment.
690 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
691
692 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
693
694 * jump.c (redirect_jump): If old label has no UID, don't try to
695 delete it.
696
697 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
698
699 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
700 If input is constant, do shifts at compile time.
701
702 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
703
704 * doc/extend.texi: Fix some more overfull hboxes.
705
706 2002-02-21 Jakub Jelinek <jakub@redhat.com>
707
708 PR optimization/4994
709 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
710 register moves.
711
712 2002-02-21 Jakub Jelinek <jakub@redhat.com>
713
714 PR c++/4574
715 * expr.h (expand_and): Add mode argument.
716 * expmed.c (expand_and): Add mode argument.
717 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
718 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
719 * except.c (expand_builtin_extract_return_addr): Likewise.
720 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
721 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
722 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
723 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
724 * config/c4x/c4x.md: Use GEN_INT (x) instead of
725 gen_rtx (CONST_INT, VOIDmode, x).
726
727 2002-02-21 Jakub Jelinek <jakub@redhat.com>
728
729 PR c/4697:
730 * stmt.c (warn_if_unused_value): Move side effects test once more.
731
732 2002-02-20 Torbjorn Granlund <tege@swox.com>
733
734 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
735 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
736
737 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
738
739 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
740 SUBREG or ZERO_EXTEND.
741
742 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
743
744 * sh.h (current_function_anonymous_args): Remove.
745 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
746 of current_function_varargs and current_function_stdarg is set.
747 * sh.c (sh_expand_prologue): Check current_function_varargs /
748 current_function_stdarg / TARGET_SH5 instead of
749 current_function_anonymous_args.
750
751 * sh64.h (TARGET_VERSION): Define.
752
753 2002-02-20 David Edelsohn <edelsohn@gnu.org>
754
755 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
756 VRSAVE_REGNO on TARGET_ALTIVEC.
757
758 2002-02-20 Alan Modra <amodra@bigpond.net.au>
759
760 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
761 bits of SImode const_int.
762 (includes_rshift_p): Likewise.
763 (print_operand): Call mask_operand and mask64_operand with correct
764 mode.
765 (rs6000_output_function_epilogue): Pad traceback table to word.
766 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
767 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
768 mask64_operand with correct mode.
769 (FUNCTION_ARG_REGNO_P): Correct parentheses.
770
771 2002-02-20 Jakub Jelinek <jakub@redhat.com>
772
773 PR debug/4461
774 * varasm.c (get_pool_constant_mark): New.
775 * rtl.h (get_pool_constant_mark): Add prototype.
776 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
777 be represented if it has not been output.
778
779 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
780
781 * combine.c (do_SUBST): Sanity check substitutions of
782 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
783 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
784 CONST_INT into its operand.
785 (known_cond): Likewise, for ZERO_EXTEND.
786 * simplify-rtx.c (simplify_unary_operation): Fix condition to
787 allow for simplification of wide modes. Reject CONST_INTs in
788 ZERO_EXTEND when their actual mode is not given.
789
790 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
791
792 * c-decl.c (pushdecl): If no global declaration is found for an
793 extern declaration in block scope, try a limbo one.
794
795 2002-02-20 Jakub Jelinek <jakub@redhat.com>
796
797 PR c++/4401
798 * c-common.c (pointer_int_sum): Moved from...
799 * c-typeck.c (pointer_int_sum): ...here.
800 * c-common.h (pointer_int_sum): Add prototype.
801
802 2002-02-20 Jakub Jelinek <jakub@redhat.com>
803
804 PR c++/5713
805 * c-decl.c (duplicate_decls): Return 0 if issued error about
806 redeclaration.
807
808 2002-02-20 Roger Sayle <roger@eyesopen.com>
809 Jakub Jelinek <jakub@redhat.com>
810
811 PR c/4389
812 * tree.c (host_integerp): Ensure that the constant integer is
813 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
814 when pos is zero or non-zero respectively. Clarify comment.
815 * c-format.c (check_format_info_recurse): Fix host_integerp
816 usage; the pos argument should be zero when assigning to a
817 signed HOST_WIDE_INT.
818
819 2002-02-20 Richard Henderson <rth@redhat.com>
820
821 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
822 of the operand, rather than assuming TImode.
823 (ix86_expand_binop_builtin): Cope with commutative patterns
824 using nonimmediate_operand for both operands.
825 (ix86_expand_timode_binop_builtin): Likewise.
826 (ix86_expand_store_builtin): Validate operand 1.
827 (ix86_expand_unop1_builtin): Likewise.
828
829 2002-02-20 Philip Blundell <philb@gnu.org>
830
831 PR 5705
832 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
833
834 2002-02-20 Richard Henderson <rth@redhat.com>
835
836 PR c/5615
837 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
838
839 2002-02-20 Tom Tromey <tromey@redhat.com>
840
841 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
842 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
843 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
844 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
845 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
846 unconditionally.
847
848 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
849
850 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
851 for (const_int 0) in X not just INTVAL.
852
853 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
854
855 * doc/extend.texi: Avoid or reduce overfull hboxes.
856
857 2002-02-20 Diego Novillo <dnovillo@redhat.com>
858
859 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
860 operations if the field does not start at a mode boundary.
861
862 2001-02-20 Joel Sherrill <joel@OARcorp.com>
863
864 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
865 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
866 Also done for -Acpu and -Amachine.
867
868 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
869
870 * cppinit.c (init_dependency_output): Take deps output file
871 from -o if none given with -MF. Suppress normal output.
872 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
873 * doc/cpp.texi, doc/invoke.texi: Update.
874
875 2002-02-19 Zack Weinberg <zack@codesourcery.com>
876
877 * toplev.c (output_quoted_string): Write unprintable
878 characters with octal escapes.
879
880 2002-02-19 David Edelsohn <edelsohn@gnu.org>
881
882 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
883 really_call_used[VRSAVE_REGNO] if not Altivec.
884
885 2002-02-19 Alan Modra <amodra@bigpond.net.au>
886
887 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
888 MODE_MASK.
889 (constant_pool_expr_1): Fix formatting.
890 (rs6000_legitimize_reload_address): Likewise.
891
892 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
893
894 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
895 now that we have one.
896
897 2002-02-19 Zack Weinberg <zack@codesourcery.com>
898
899 * tree.h (struct tree_common): Remove aux. Add unused_0 at
900 end of first block of bitfields (which was only seven bits);
901 rename dummy to unused_1; remove comment which is no longer true.
902
903 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
904
905 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
906
907 2002-02-19 Philip Blundell <pb@nexus.co.uk>
908
909 PR 5399
910 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
911 if generating PIC.
912
913 PR 5054
914 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
915 arm_is_longcall_p rather than inspecting call-type cookie
916 directly.
917 (call_value_insn) [TARGET_THUMB]: Likewise.
918
919 2002-02-19 Graham Stott <grahams@redhat.com>
920
921 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
922
923 2002-02-19 David Edelsohn <edelsohn@gnu.org>
924
925 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
926 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
927 (FP_SAVE_INLINE): Delete.
928
929 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
930 * config/rs6000/eabi.asm: Remove ABI save restore routines.
931 * config/rs6000/t-ppccomm: Build crtsavres.o.
932 * config/rs6000/crtsavres.asm: New file.
933
934 2002-02-19 Philip Blundell <philb@gnu.org>
935
936 * config/arm/arm.c (use_return_insn): Don't reject interrupt
937 functions.
938 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
939 (output_return_instruction): Allow interrupt functions to return with
940 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
941 (arm_expand_prologue): Subtract 4 before stacking LR in an
942 interrupt function.
943
944 2002-02-19 Philip Blundell <pb@nexus.co.uk>
945
946 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
947 decl, not just FUNCTION_DECL.
948 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
949 (arm_assemble_integer): Likewise.
950 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
951 marked local.
952
953 2002-02-19 matthew green <mrg@eterna.com.au>
954
955 * config.gcc (sparc-*-netbsdelf*): Enable target.
956 (sparc64-*-netbsd*): New target.
957 * config/sparc/netbsd-elf.h: New file.
958 * config/sparc/t-netbsd64: New file.
959
960 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
961
962 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
963
964 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
965
966 * doc/invoke.texi: explicitly list the style guidelines that
967 -Weffc++ checks for.
968
969 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
970
971 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
972
973 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
974
975 PR other/5718
976 * gcc.c (cpp_unique_options): Treat -o as indicating object file
977 only if not -E. If -E, pass -o through to the preprocessor.
978
979 2002-02-19 Kazu Hirata <kazu@hxi.com>
980
981 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
982 register number with an appropriate macro.
983
984 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
985
986 * doc/rtl.texi (Constants): Close @code tag.
987
988 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
989
990 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
991 ("mmx_uavgv4hi3"): Same.
992 ("pmulhrwv4hi3"): Same.
993
994 * tree-inline.c (walk_tree): Handle vectors.
995
996 * c-common.c (constant_expression_warning): Handle vectors.
997 (overflow_warning): Same.
998
999 * sched-deps.c (sched_analyze_2): Handle vectors.
1000
1001 * rtlanal.c (rtx_unstable_p): Handle vectors.
1002 (rtx_varies_p): Same.
1003 (count_occurrences): Same.
1004 (regs_set_between_p): Same.
1005 (modified_between_p): Same.
1006 (modified_in_p): Same.
1007 (volatile_insn_p): Same.
1008 (volatile_refs_p): Same.
1009 (side_effects_p): Same.
1010 (may_trap_p): Same.
1011 (inequality_comparisons_p): Same.
1012 (replace_regs): Same.
1013 (computed_jump_p_1): Same.
1014
1015 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
1016 argument.
1017 (inner_mode_array): New.
1018 (copy_rtx): Handle vectors.
1019 (copy_most_rtx): Same.
1020 (rtx_equal_p): Same.
1021 (get_mode_alignment): Adjust for vectors.
1022
1023 * resource.c (mark_referenced_resources): Handle vectors.
1024 (mark_set_resources): Same.
1025
1026 * reload1.c (eliminate_regs): Handle vectors.
1027 (elimination_effects): Same.
1028 (scan_paradoxical_subregs): Same.
1029
1030 * reload.c (subst_reg_equivs): Handle vectors.
1031
1032 * regrename.c (scan_rtx): Handle vectors.
1033
1034 * regclass.c (reg_scan_mark_refs): Handle vectors.
1035
1036 * recog.c (find_single_use_1): Handle vectors.
1037
1038 * local-alloc.c (equiv_init_varies_p): Handle vectors.
1039 (contains_replace_regs): Same.
1040 (memref_referenced_p): Same.
1041
1042 * integrate.c (copy_rtx_and_substitute): Handle vectors.
1043 (subst_constants): Same.
1044
1045 * genattrtab.c (attr_copy_rtx): Handle vectors.
1046 (encode_units_mask): Same.
1047 (clear_struct_flag): Same.
1048 (count_sub_rtxs): Same.
1049
1050 * gcse.c (want_to_gcse_p): Handle vectors.
1051 (oprs_unchanged_p): Same.
1052 (hash_expr_1): Same.
1053 (oprs_not_set_p): Same.
1054 (expr_killed_p): Same.
1055 (compute_transp): Same.
1056 (store_ops_ok): Same.
1057
1058 * function.c (purge_addressof_1): Do not allow paradoxical subregs
1059 of vectors.
1060 (fixup_var_refs_1): Same.
1061 (instantiate_virtual_regs_1): Same.
1062
1063 * fold-const.c (operand_equal_p): Handle vectors.
1064 (fold): Same.
1065 (rtl_expr_nonnegative_p): Same.
1066
1067 * flow.c (mark_used_regs): Handle vectors.
1068
1069 * df.c (df_uses_record): Handle vectors.
1070
1071 * cselib.c (cselib_subst_to_values): Handle vectors.
1072 (cselib_mem_conflict_p): Same.
1073 (hash_rtx): Same.
1074
1075 * cse.c (canon_reg): Handle vectors.
1076 (fold_rt): Same.
1077 (cse_process_notes): Same.
1078 (count_reg_usage): Same.
1079 (canon_hash): Same.
1080
1081 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
1082
1083 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
1084
1085 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
1086 (gen_rtx): Handle CONST_VECTOR.
1087 (gen_const_vector_0): New.
1088 (copy_rtx_if_shared): CONST_VECTORs can be shared.
1089 (reset_used_flags): Same.
1090 (copy_insn_1): Same.
1091 (initializer_constant_valid_p): Handle VECTOR_CST.
1092
1093 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
1094
1095 * doc/rtl.texi (Constants): Document const_vector.
1096 (CONST0_RTX): Update for vectors.
1097 (RTL sharing): Same.
1098
1099 * print-tree.c (print_node): Add case for VECTOR_CST.
1100
1101 * tree.h (TREE_VECTOR_CST_ELTS): New.
1102 (struct tree_vector): New.
1103 (union tree_node): Add vector node.
1104 (build_vector): Add prototype.
1105
1106 * tree.def (VECTOR_CST): New.
1107
1108 * tree.c (build_vector): New.
1109
1110 * expmed.c (make_tree): Handle CONST_VECTOR.
1111
1112 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
1113 (CONST_VECTOR_ELT): New.
1114 (CONST_VECTOR_NUNITS): New.
1115
1116 * machmode.h (GET_MODE_INNER): New.
1117 (DEF_MACHMODE): Accept 8th arg.
1118
1119 * machmode.def: Add 8th argument for vector inner mode.
1120 Add inner vector modes for vectors.
1121
1122 * rtl.def (VEC_CONST): Remove.
1123 (CONST_VECTOR): New.
1124
1125 * expr.c (clear_storage): Allow vectors.
1126 (is_zeros_p): Handle VECTOR_CST.
1127
1128 * varasm.c (output_constant_pool): Handle vectors.
1129 (rtx_const): Add veclo and vechi fields.
1130 (kind): Add RTX_VECTOR.
1131 (decode_rtx_const): Add case for vector.
1132
1133 * config/rs6000/rs6000-protos.h: Add zero_constant.
1134
1135 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
1136 constants. Force easy vector constants into memory.
1137 (easy_vector_constant): New.
1138 (emit_easy_vector_constant): New.
1139 (rs6000_legitimize_reload_address): Do not generate bad reloads on
1140 darwin.
1141
1142 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
1143 instruction does.
1144 ("altivec_lvxl"): Same.
1145 (altivec_lvebx): Same.
1146 (altivec_lvehx): Same.
1147 (altivec_lvewx): Same.
1148 ("*movv4si_const0"): New.
1149 ("*movv4sf_const0"): New.
1150 ("*movv8hi_const0"): New.
1151 ("*movv16qi_const0"): New.
1152
1153 2002-02-18 Kazu Hirata <kazu@hxi.com>
1154
1155 * config/h8300/h8300.c (notice_update_cc): Use
1156 cc_status.value2.
1157
1158 2002-02-18 Kazu Hirata <kazu@hxi.com>
1159
1160 * config/h8300/h8300.md (divmod patterns): Change the
1161 constraints for operands[1] to register_operand.
1162
1163 2002-02-18 Kazu Hirata <kazu@hxi.com>
1164
1165 * config/h8300/h8300-protos.h: Remove the prototype for
1166 p_operand.
1167 * config/h8300/h8300.c (p_operand): Remove.
1168 * config/h8300/h8300.md: Replace p_operand with
1169 const_int_operand.
1170
1171 2002-02-18 Philip Blundell <pb@nexus.co.uk>
1172
1173 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
1174 comment.
1175 (output_return_instruction): Allow use of LDR to unstack
1176 return addresss even for interrupt handlers or when
1177 interworking. If compiling for ARMv5, use interworking-safe
1178 return instructions by default. Remove duplicated code and
1179 lengthy "strcat" sequences.
1180
1181 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1182
1183 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1184 (LINK_EH_SPEC): Define.
1185 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
1186
1187 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
1188
1189 * config/s390/s390.c (s390_emit_prologue): Do not set the
1190 frame_related flag for call-clobbered registers.
1191
1192 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
1193
1194 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
1195 (construct_container): Fix handling of SSE operands.
1196 (ix86_expand_builtin): Fix handling of 64bit pointers.
1197 (mmx_maskmovq_rex): New pattern.
1198
1199 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
1200
1201 * regrename.c (kill_set_value): Handle subregs properly.
1202
1203 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
1204
1205 * objc/objc-act.c (handle_impent): Remove leading '*'
1206 from objc_class_name.
1207
1208 2002-02-17 Richard Henderson <rth@redhat.com>
1209
1210 * config/alpha/alpha.c (some_small_symbolic_operand,
1211 some_small_symbolic_operand_1, split_small_symbolic_operand,
1212 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
1213 Handle small SYMBOL_REFs anywhere, not just inside memories.
1214 * config/alpha/alpha-protos.h: Update.
1215 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1216 * config/alpha/alpha.md (small symbolic operand splitter): Update.
1217
1218 2002-02-17 Roland McGrath <roland@frob.com>
1219
1220 * config.gcc (powerpc-*-gnu-gnualtivec*,
1221 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
1222 * config/rs6000/gnu.h: New file.
1223 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
1224 Grok "gnu" in rs6000_abi_name.
1225 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
1226 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
1227 Grok -mcall-gnu analogous to -mcall-linux et al.
1228 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
1229 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
1230 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
1231
1232 2002-02-17 Jakub Jelinek <jakub@redhat.com>
1233
1234 PR c/3444:
1235 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
1236 shortening.
1237
1238 2002-02-17 Philipp Thomas <pthomas@suse.de>
1239
1240 * config/cris/cris.h: Undefine STARTFILE_SPEC and
1241 ENDFILE_SPEC before (re)defining them.
1242
1243 2002-02-17 Kazu Hirata <kazu@hxi.com>
1244
1245 * config/h8300/h8300.c: Fix formatting.
1246 * config/h8300/h8300.h: Likewise.
1247
1248 2002-02-17 Philipp Thomas <pthomas@suse.de>
1249
1250 * doc/tm.texi: Explain why empty strings should not be
1251 marked for translation.
1252
1253 2002-02-17 Philipp Thomas <pthomas@suse.de>
1254
1255 * final.c (output_operand_lossage): Changed to accept
1256 printf style arguments. Change calls where necessary.
1257 * output.h (output_operand_lossage): Change declaration
1258 accordingly. Update copyright.
1259 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
1260 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
1261 Update copyright date where necessary.
1262
1263 * config/i386/i386.c (print_operand): Likewise. Remove use of
1264 sprintf.
1265
1266 * config/cris/cris.c (cris_operand_lossage): Likewise.
1267 Rename parameter so that exgettext recognizes it as
1268 translatable message.
1269 (LOSE_AND_RETURN): Rename parameter to msgid.
1270
1271 2002-02-17 Kazu Hirata <kazu@hxi.com>
1272
1273 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
1274 hard coded register number with an appropriate macro.
1275 (HARD_REGNO_MODE_OK): Likewise.
1276 (ARG_POINTER_REGNUM): Likewise.
1277 (STATIC_CHAIN_REGNUM): Likewise.
1278 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
1279 * config/h8300/h8300.md (define_constants): Define more
1280 register numbers.
1281
1282 2002-02-17 Philipp Thomas <pthomas@suse.de>
1283
1284 * config/i386/i386.h: Don't mark empty strings for translation.
1285
1286 2002-02-16 H.J. Lu <hjl@gnu.org>
1287
1288 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1289
1290 2002-02-16 Zack Weinberg <zack@codesourcery.com>
1291
1292 * cppinit.c (merge_include_chains): Check for brack being
1293 NULL before attempting to merge it with qtail.
1294
1295 2002-02-16 Andrew Cagney <ac131313@redhat.com>
1296
1297 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
1298 DBX_DEBUG.
1299
1300 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1301
1302 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
1303
1304 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1305
1306 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
1307 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
1308 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
1309
1310 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1311
1312 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1313 now only if !TARGET_FIX.
1314 (*movsi_nt_vms_fix): New pattern.
1315
1316 2002-02-16 Douglas B Rupp <rupp@gnat.com>
1317
1318 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
1319 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
1320 (alpha_sa_mask, alpha_sa_size): Reflect above change.
1321 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
1322 (alpha_start_function, alpha_expand_epilogue): Likewise.
1323 (unicosmk_gen_dsib): Likewise.
1324
1325 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1326
1327 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
1328
1329 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
1330
1331 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
1332 check_and_change_labels, s390_final_chunkify): Delete.
1333 (s390_split_branches, s390_chunkify_pool): New functions.
1334 (s390_function_prologue): Call them.
1335
1336 * config/s390/s390.h (S390_REL_MAX): Delete.
1337 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
1338
1339 * config/s390/s390.md (cjump, icjump, jump): Fix length
1340 attribute calculation.
1341
1342
1343 2002-02-15 David Edelsohn <edelsohn@gnu.org>
1344
1345 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
1346 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
1347
1348 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1349
1350 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
1351 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
1352 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
1353
1354 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
1355
1356 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
1357
1358 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
1359
1360 * reload.c (find_dummy_reload): Check that an output register
1361 is valid for its mode.
1362
1363 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
1364
1365 * combine.c (known_cond): After replacing the REG of a SUBREG, try
1366 to simplify it.
1367
1368 * function.c (assign_parms): Demote promoted argument passed by
1369 transparent reference.
1370
1371 2001-02-14 Joel Sherrill <joel@OARcorp.com>
1372
1373 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
1374 -Acpu() and -Amachine() to eliminate warnings.
1375
1376 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
1377
1378 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
1379
1380 2002-02-14 Kazu Hirata <kazu@hxi.com>
1381
1382 * config/h8300/h8300-protos.h: Update the prototype for
1383 const_costs.
1384 * config/h8300/h8300.c (const_costs): Treat SET as a little
1385 more expensive operation.
1386 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
1387 reference to const_costs.
1388
1389 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
1390
1391 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
1392
1393 2002-02-14 Jakub Jelinek <jakub@redhat.com>
1394
1395 PR c/5503:
1396 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
1397 use arguments from newtype.
1398
1399 2002-02-13 Eric Christopher <echristo@redhat.com>
1400
1401 * config/mips/mips.c (override_options): Add check for march/mipsX
1402 on the same command line. Fix error message in cpu processing.
1403 Remove architecture and ISA checks.
1404
1405 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
1406
1407 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
1408
1409 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
1410
1411 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
1412
1413 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
1414 alternatives.
1415 ("*movv8hi_internal1"): Same.
1416 ("*movv16qi_internal1"): Same.
1417 ("*movv4sf_internal1"): Same.
1418
1419 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
1420 not push_reload for altivec modes.
1421
1422 2002-02-13 Joel Sherrill <joel@OARcorp.com>
1423
1424 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
1425 all RTEMS targets including removal of #includes from config/*/rtems*.h
1426 file and adding them to tm_file setting. Added xm_defines=POSIX to
1427 many targets.
1428 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
1429 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
1430 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
1431 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
1432 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
1433 config/m68k/rtemself.h: Ditto.
1434 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
1435 config/mips/rtems64.h: Ditto.
1436 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
1437 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
1438 Ditto.
1439 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
1440 config/sparc/rtemself.h: Ditto.
1441 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
1442 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
1443 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
1444 more like arm-elf.
1445 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
1446 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
1447 target made more similar to i386-elf.
1448 * config/i386/t-rtems-i386: Added soft float support and multilibs.
1449 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
1450 be similar to config/m68k/t-m68kelf.
1451 * gthr-rtems.h: Encapsulate with extern "C" for C++.
1452
1453 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
1454
1455 * regmove.c (kill_value): Handle subregs.
1456
1457 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
1458
1459 * i386.md (mul patterns): Allow memory operand to be first;
1460 add expanders where needed; fix constraints.
1461 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
1462 Allow memory operand to be the first.
1463
1464 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
1465 operands.
1466
1467 2002-02-13 Jakub Jelinek <jakub@redhat.com>
1468
1469 PR c/5681:
1470 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
1471 GET_MODE (x).
1472
1473 2002-02-13 Jakub Jelinek <jakub@redhat.com>
1474
1475 PR optimization/5547:
1476 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
1477 all valid IA-32 address modes involving non-scaled %ebx and
1478 GOT/GOTOFF as displacement.
1479
1480 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
1481
1482 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
1483 after emitting ltorg insns.
1484
1485 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
1486 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
1487 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
1488 *abssf2): Fix "op_type" attribute.
1489
1490 2002-02-13 Douglas B Rupp <rupp@gnat.com>
1491
1492 * mkconfig.sh: Avoid using a subshell redirect.
1493 ($output.T): Change to $(output)T.
1494 (ENABLE_NLS): Remove unneeded undef.
1495
1496 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
1497 * config/alpha/x-vms (libsubdir): Define.
1498
1499 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
1500 register frame procedures. Optimize retrieving context.
1501
1502 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
1503 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
1504 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
1505
1506 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1507
1508 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
1509 Make same change as for find_base_value.
1510
1511 2002-02-13 Kazu Hirata <kazu@hxi.com>
1512
1513 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
1514 of QImode and SImode.
1515
1516 2002-02-13 Kazu Hirata <kazu@hxi.com>
1517
1518 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
1519 length computation of movsi.
1520 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
1521
1522 2002-02-13 Kazu Hirata <kazu@hxi.com>
1523
1524 * config/h8300/h8300.md (subqi3): Tighten the predicate for
1525 operands[2] to register_operand.
1526
1527 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
1528
1529 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
1530
1531 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
1532
1533 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
1534 for altivec_lvx* and altivec_stvx*.
1535 ("*movv4si_internal"): Add constraint for loading from GPRs.
1536 ("*movv8hi_internal1"): Same.
1537 ("*movv16qi_internal1"): Same.
1538 ("*movv4sf_internal1"): Same.
1539
1540 * config/rs6000/rs6000.c (altivec_register_operand): New.
1541
1542 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
1543 altivec_register_operand.
1544
1545 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
1546
1547 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
1548 handle SYMBOL_REF.
1549
1550 2002-02-13 Stan Shebs <shebs@apple.com>
1551
1552 * c-typeck.c (digest_init): Handle vectors.
1553 (really_start_incremental_init): Same.
1554 (pop_init_level): Same.
1555 (process_init_element): Same.
1556
1557 * varasm.c (output_constant): Same.
1558
1559 * expr.c (clear_storage): Same.
1560 (store_constructor): Same.
1561
1562 2002-02-12 Eric Christopher <echristo@redhat.com>
1563
1564 * explow.c (hard_function_value): Add comment explaining
1565 signed/unsigned comparison.
1566
1567 2002-02-12 Jakub Jelinek <jakub@redhat.com>
1568
1569 * jump.c (never_reached_warning): Add finish argument.
1570 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
1571 real insn after end.
1572 * rtl.h (never_reached_warning): Adjust prototype.
1573 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
1574 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
1575 never_reached_warning.
1576
1577 2002-02-12 Graham Stott <grahams@redhat.com>
1578
1579 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
1580
1581 2002-02-12 Kazu Hirata <kazu@hxi.com>
1582
1583 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
1584 logical shifts on H8/300.
1585 (shift_alg_si): Improve several shifts on H8/300.
1586 (get_shift_alg): Likewise.
1587
1588 2002-02-12 Graham Stott <grahams@redhat.com>
1589
1590 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
1591
1592 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1593
1594 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
1595 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
1596
1597 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
1598
1599 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
1600 non-CONST_INT through default_assemble_integer.
1601 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
1602 <case 8>: Abort for CONST_DOUBLE.
1603
1604 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1605
1606 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
1607 is specified.
1608 * config/pa/pa-linux.h (LIB_SPEC): Delete.
1609 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
1610
1611 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
1612
1613 * config/stormy16/stormy16.md (zero_extendqihi2): New.
1614
1615 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
1616
1617 * regrename.c (regrename_optimize): Don't accept a
1618 part-clobbered register if the replaced register is not part
1619 clobbered.
1620
1621 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
1622 take padding into account when computing the argument value.
1623
1624 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
1625
1626 * combine.c (try_combine): Apply substitutions in
1627 CALL_INSN_FUNCTION_USAGE too.
1628
1629 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
1630
1631 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
1632 __builtin_altivec_abs*.
1633 (bdesc_abs): New.
1634
1635 * config/rs6000/rs6000.h (rs6000_builtins): Add
1636 ALTIVEC_BUILTIN_ABS*.
1637
1638 * config/rs6000/altivec.h: Use const char for builtins expecting
1639 literals.
1640 (vec_abs): New versions for C and C++.
1641 (vec_abss): Same.
1642
1643 2002-02-10 Kazu Hirata <kazu@hxi.com>
1644
1645 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
1646 using Pmode.
1647
1648 2002-02-10 Kazu Hirata <kazu@hxi.com>
1649
1650 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
1651 constant definition from h8300.md.
1652 (FRAME_POINTER_REGNUM): Likewise.
1653 * config/h8300/h8300.md (define_constants): Add FP_REG.
1654
1655 2002-02-10 Kazu Hirata <kazu@hxi.com>
1656
1657 * config/h8300/h8300.c (print_operand): Remove redundant code.
1658
1659 2002-02-10 Kazu Hirata <kazu@hxi.com>
1660
1661 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
1662 * config/h8300/h8300.c (byte_reg): Make it static.
1663
1664 2002-02-10 Richard Henderson <rth@redhat.com>
1665
1666 PR c/5623
1667 * c-typeck.c (incomplete_type_error): Handle flexible array members.
1668
1669 2002-02-10 Richard Henderson <rth@redhat.com>
1670
1671 PR c++/5624
1672 * tree.c (append_random_chars): Don't abort if main_input_filename
1673 does not exist.
1674
1675 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
1676
1677 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
1678
1679 2002-02-10 Kazu Hirata <kazu@hxi.com>
1680
1681 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
1682 (pushhi1): Likewise.
1683
1684 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
1685
1686 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
1687 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
1688
1689 2002-02-09 David O'Brien <obrien@FreeBSD.org>
1690
1691 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
1692 remove MASK_VIS.
1693 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
1694
1695 2002-02-09 Kazu Hirata <kazu@hxi.com>
1696
1697 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
1698 a half of an SImode register on H8/300.
1699
1700 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
1701
1702 * i386.md (movdi_2): Add missing '!'.
1703
1704 2002-02-09 Kazu Hirata <kazu@hxi.com>
1705
1706 * config/h8300/h8300.h: Fix formatting. Remove commented-out
1707 definitions.
1708
1709 2002-02-09 Kazu Hirata <kazu@hxi.com>
1710
1711 * config/h8300/h8300.md (length): Correct the distance valid
1712 for the short branch.
1713
1714 2002-02-09 Kazu Hirata <kazu@hxi.com>
1715
1716 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
1717
1718 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1719
1720 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
1721 registers in SImode.
1722 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
1723 part-clobbered.
1724
1725 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
1726 patch.
1727
1728 Contribute sh64-elf.
1729 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1730 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
1731 (sh_cannot_modify_jumps_p): New function.
1732 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1733 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
1734 (sh_ms_bitfield_layout_p): New function.
1735 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1736 Zack Weinberg <zack@codesourcery.com>
1737 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
1738 expand_simple_binop instead of expand_binop.
1739 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
1740 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
1741 use of .quad and .uaquad.
1742 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
1743 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
1744 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1745 * config/sh/sh.md (movdi_const, movdi_const_32bit,
1746 movdi_const_16bit): Make sure all CONSTs have modes.
1747 (sym2PIC): Ditto, but by adjusting all callers.
1748 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
1749 if the prologue calls the SHmedia argument decoder or register
1750 saver.
1751 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1752 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
1753 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
1754 (sh_expand_epilogue): Don't emit USE of return target register.
1755 (prepare_move_operands): Legitimize DImode PIC addresses.
1756 (sh_media_register_for_return): Skip tr0, used to initialize the
1757 PIC register.
1758 (sh_expand_prologue): Remove explicit USE of return register.
1759 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
1760 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
1761 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
1762 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
1763 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
1764 EXTRA_CONSTRAINT_T.
1765 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
1766 (MOVI_SHORI_BASE_OPERAND_P): New.
1767 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
1768 (EXTRA_CONSTRAINT_T): Define in terms of them.
1769 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
1770 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
1771 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
1772 alternatives supporting TARGET_REGS.
1773 (UNSPEC_GOTPLT): New constant.
1774 (movdi split): Move incrementing of LABEL_NUSES...
1775 (movdi_const, movdi_const_32bit): Here. Use
1776 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
1777 (movdi_const_16bit): New.
1778 (call, call_value) [flag_pic]: Use GOTPLT.
1779 (call_pop, call_value_pop): New expands.
1780 (call_pop_compact, call_pop_rettramp): New insns.
1781 (call_value_pop_compact, call_value_pop_rettramp): New insns.
1782 (sibcall) [flag_pic]: Use GOT.
1783 (builtint_setjmp_receiver): Remove bogus, unused expand.
1784 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
1785 (*pt, *ptb, ptrel): New insns.
1786 (sym2GOT): Handle DImode GOT.
1787 (sym2GOTPLT, symGOTPLT2reg): New expands.
1788 (sym2PIC): New expand.
1789 (shcompact_return_tramp): Use GOTPLT to return trampoline.
1790 (shcompact_return_tramp_i): Use return register explicitly.
1791 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
1792 disable flag_reorder_blocks.
1793 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
1794 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
1795 clobbers, for clarity.
1796 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
1797 restoring of r0 in macl as MAYBE_DEAD.
1798 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1799 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
1800 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
1801 alter_subreg all over.
1802 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
1803 reload, instead of emitting instructions that would require
1804 reloading.
1805 (casesi_load_media): Add missing modes.
1806 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
1807 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
1808 as used if the argument decoder is called.
1809 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1810 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
1811 Pmode, then extend it to DImode if necessary.
1812 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1813 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
1814 constants in FPU-enabled SHmedia, let them be loaded from memory.
1815 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
1816 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
1817 Adjust whitespace in assembly output templates.
1818 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
1819 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
1820 mode of if_then_else.
1821 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
1822 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
1823 sh.h.
1824 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
1825 Joern Rennecke <amylaar@redhat.com>
1826 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
1827 (SUBTARGET_CPP_PTR_SPEC): New.
1828 (SUBTARGET_CPP_SPEC): Remove.
1829 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1830 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1831 Fix typo in previous checkin.
1832 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
1833 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
1834 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
1835 Alexandre Oliva <aoliva@redhat.com>
1836 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
1837 what single FP register can hold for SHmedia target.
1838 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
1839 Alexandre Oliva <aoliva@redhat.com>
1840 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
1841 Do not split into SUBREG.
1842 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
1843 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
1844 and added new functions as specified in SH5 ABI r9.
1845 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
1846 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
1847 8-byte boundary.
1848 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
1849 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
1850 gen_consttable_4 and gen_consttable_8. Emit multiple labels
1851 and consttable_window_ends.
1852 2001-06-03 Graham Stott <grahams@redhat,com>
1853 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
1854 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
1855 * config/sh/sh.c (print_operand): Handle floating-point pair,
1856 vector and matrix registers.
1857 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
1858 vector modes into account.
1859 * config/sh/sh.md (movv2sf): Split move between registers into
1860 movdf.
1861 (movv4sf, movv16sf): Introduce insns that get split only after
1862 reload.
1863 * config/sh/shmedia.h: Fix Copyright dates.
1864 * config/sh/ushmedia.h: Likewise. Move loop counter
1865 declarations into conditionals that uses them.
1866 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
1867 loop boundary.
1868 * config/sh/sshmedia.h: Fix Copyright dates.
1869 (sh_media_PUTCFG): Fix constraints.
1870 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
1871 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
1872 ptrmemfunc_vbit_in_delta for SH5.
1873 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
1874 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
1875 * invoke.texi: Likewise.
1876 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1877 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
1878 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
1879 GCC_pop_shmedia_regs_nofpu): New global symbols.
1880 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
1881 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
1882 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
1883 compact function with nonlocal labels.
1884 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
1885 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
1886 (initial_elimination_offset): Account for their stack space.
1887 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
1888 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
1889 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
1890 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
1891 least one of the operands to be a register.
1892 (movv2sf): Likewise. Renamed to movv2sf_i.
1893 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
1894 prepare_move_operands() before emitting SHmedia insns.
1895 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
1896 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
1897 Don't save nor initialize r12. Don't mis-align the stack.
1898 Pad the code with a nop.
1899 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
1900 stack.
1901 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1902 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
1903 [__SHMEDIA__]: Implement.
1904 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
1905 * config/sh/sh.md: Set latency of `pt' closer to reality.
1906 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
1907 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
1908 Set move, load and store type attributes.
1909 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
1910 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
1911 profiling.
1912 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
1913 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
1914 * config/sh/sh.c (sh_media_register_for_return): New function.
1915 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
1916 branch-target register.
1917 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
1918 * config/sh/sh.md (return_media_i): Use any call-clobbered
1919 branch-target register.
1920 (return_media): If r18 wasn't copied in the prologue, copy it
1921 here.
1922 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
1923 Clear class FP0_REGS.
1924 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
1925 from elf.h.
1926 2001-03-08 DJ Delorie <dj@redhat.com>
1927 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
1928 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
1929 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
1930 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
1931 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
1932 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1933 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
1934 return value correctly for call_cookie.
1935 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1936 * config/sh/crt1.asm (start): Modified so as to call
1937 ___setup_argv_and_call_main.
1938 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
1939 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
1940 SHmedia mode.
1941 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
1942 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
1943 (STRIP_NAME_ENCODING): Use it.
1944 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
1945 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
1946 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
1947 prepare_scc_operands().
1948 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
1949 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
1950 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
1951 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
1952 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
1953 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
1954 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
1955 used in shcompact_incoming_args.
1956 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
1957 change.
1958 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
1959 mode.
1960 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
1961 Adjust accordingly.
1962 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
1963 Simplify. Adjust. Add sanity check.
1964 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
1965 FPU_SINGLE_BIT.
1966 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
1967 TARGET_SHCOMPACT.
1968 (udivsi3, divsi3): Use them.
1969 (force_mode_for_call): New insn.
1970 (call, call_value, sibcall_value): Emit it before SHcompact
1971 calls.
1972 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
1973 * config/sh/sh.md (call, call_value, sibcall): Make sure the
1974 call cookie is non-NULL before taking its value.
1975 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
1976 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
1977 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
1978 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
1979 block.
1980 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
1981 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
1982 temporary for stack adjusts. Use MACL and MACH to pass
1983 arguments to shcompact_incoming_args.
1984 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
1985 clobber r1.
1986 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
1987 (nested_trampoline): Load static chain address into r1.
1988 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
1989 2001-01-07 Alexandre Oliva <aoliva@redhat.com
1990 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
1991 fp_arith_reg_operand().
1992 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
1993 * config/sh/sh.md (casesi): Sign-extend the first two operands,
1994 and use signed compares for them.
1995 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
1996 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
1997 ones properly aligned.
1998 (find_barrier): Account for extra alignment needed for 8-byte wide
1999 constants.
2000 (machine_dependent_reorg): Require a label for the second 4-byte
2001 constant after an 8-byte one.
2002 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
2003 change.
2004 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
2005 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
2006 last_float when switching float modes.
2007 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
2008 auto-increment for general-purpose registers.
2009 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
2010 result.
2011 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
2012 for stack adjust.
2013 * config/sh/sh.c (sh_builtin_saveregs): Support using all
2014 registers for varargs.
2015 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
2016 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
2017 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
2018 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
2019 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
2020 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
2021 call_cookie accordingly.
2022 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
2023 (SHCOMPACT_BYREF): Likewise.
2024 (SHCOMPACT_FORCE_ON_STACK): New macro.
2025 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
2026 (sh_builtin_saveregs): Likewise.
2027 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
2028 shcompact_incoming_args): Use new shift values. Support
2029 sequences of consecutive and non-consecutive pushes/pops.
2030 * config/sh/sh.md (return): Don't explicitly use PR_REG.
2031 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
2032 * config/sh/sh.h (TEXT_SECTION): Define.
2033 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
2034 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
2035 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
2036 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
2037 return values on FPU-enabled SHmedia.
2038 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
2039 FPU-enabled SHmedia.
2040 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
2041 value is returned in a non-FP reg and is not returned by
2042 reference.
2043 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
2044 jump_ind.
2045 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
2046 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
2047 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
2048 quad-aligned to be passed by callee-copy reference.
2049 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
2050 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
2051 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
2052 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
2053 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
2054 copying low-numbered FP regs to r7 and r8.
2055 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
2056 FP regs to general-purpose regs only if the copy was passed on the
2057 stack.
2058 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
2059 copying FP reg to r9.
2060 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
2061 copy FP regs to general-purpose regs only in outgoing calls.
2062 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
2063 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
2064 HOST_WIDE_INT.
2065 * config/sh/sh.h (struct sh_args): Document all fields.
2066 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
2067 passed partially on the stack should not consider making
2068 sibcalls.
2069 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
2070 stack_regs only for incoming calls. When passing FP args,
2071 make sure there are FP regs available before modifying
2072 call_cookie.
2073 (SHCOMPACT_BYREF): Pass double args in general-purpose
2074 registers by reference.
2075 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
2076 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
2077 attempt to generate sibcalls if the caller got any arguments
2078 by reference.
2079 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
2080 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
2081 to 8-byte boundaries.
2082 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
2083 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
2084 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
2085 stored in the stack.
2086 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
2087 for the offsets to have the ISA bit set.
2088 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
2089 invocation. Use beq instead of bgt to mark end of sequence of
2090 loads.
2091 (shcompact_incoming_args): Fix store of r2. Use beq instead of
2092 bgt to mark end of sequence of stores.
2093 * config/sh/sh.c (arith_operand): Don't check whether
2094 CONST_OK_FOR_J for now.
2095 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
2096 instead of long for conversion.
2097 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
2098 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
2099 before passing it to fprintf.
2100 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
2101 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
2102 Call set_fpscr before reading/writing SR.
2103 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
2104 Call set_fpscr.
2105 * config/sh/lib1funcs.asm: Add `.align 2' directives before
2106 SHmedia code.
2107 (FMOVD_WORKS): Define on SH5 with FPU.
2108 (set_fpscr): Define on SH5. Remove separate _fpscr_values
2109 setting.
2110 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
2111 _fpscr_values.
2112 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
2113 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
2114 address.
2115 (ia_main_table): Ditto.
2116 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
2117 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
2118 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
2119 the definitions from sh.h.
2120 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
2121 TARGET_SH5.
2122 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
2123 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
2124 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
2125 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
2126 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
2127 Increment LABEL_NUSES.
2128
2129 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
2130 TARGET_SH5.
2131 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
2132 defined.
2133 * config/sh/elf.h (SIZE_TYPE): Likewise.
2134 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
2135 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
2136 shcompact_incoming_args): Load switch table addresses using
2137 datalabel.
2138 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
2139 (NO_BUILTIN_SIZE_TYPE): Define.
2140 (SIZE_TYPE): Don't define.
2141 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
2142 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
2143 definition of __SH5__=32 for -m5-compact-nofpu.
2144 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
2145 ADDR_DIFF_VEC.
2146 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
2147 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
2148 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
2149 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
2150 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
2151 (INSN_LENGTH_ALIGNMENT): Likewise.
2152 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
2153 * config/sh/sh.md (call, call_value, sibcall): Simplify
2154 copying of non-branch-target register.
2155 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
2156 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
2157 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
2158 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
2159 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
2160 floating-point values as structs.
2161 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
2162 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
2163 general-purpose register.
2164 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
2165 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
2166 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
2167 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
2168 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
2169 (ENCODE_SECTION_INFO): Enclose variables and constants in
2170 DATALABEL unspecs.
2171 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
2172 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
2173 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
2174 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
2175 only for LABEL_REFs. For SYMBOL_REFs, prepend
2176 SH_DATALABEL_ENCODING to the symbol name.
2177 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
2178 convert_mode().
2179 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
2180 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
2181 UNSPEC_DATALABEL.
2182 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
2183 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
2184 (DATALABEL_REF_P): Don't require CONST.
2185 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
2186 REL label.
2187 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
2188 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
2189 right.
2190 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
2191 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
2192 Use shallow_copy_rtx and PUT_MODE to change the mode of
2193 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
2194 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
2195 on SHmedia using GENERAL_REGs.
2196 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
2197 bltu_media_i): Fix reversion of conditions.
2198 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
2199 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
2200 * config/sh/sh.c (output_far_jump): Save r13 in macl.
2201 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
2202 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
2203 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
2204 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
2205 (GCC_nested_trampoline): Likewise.
2206 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
2207 * config/sh/sh.c (gen_datalabel_ref): Define.
2208 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
2209 (INITIALIZE_TRAMPOLINE): Likewise.
2210 (TRAMPOLINE_ADJUST_ADDRESS): Define.
2211 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
2212 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
2213 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
2214 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
2215 (ic_invalidate): Adjust for SH5.
2216 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
2217 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
2218 _nested_trampoline.
2219 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
2220 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
2221 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
2222 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
2223 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
2224 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
2225 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
2226 * config/sh/sh.c (target_reg_operand): Match only target-branch
2227 registers and pseudos that aren't virtual registers.
2228 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
2229 Copy operands that don't match target_reg_operand to pseudos.
2230 (call_media, call_value_media, sibcall_media): Use
2231 target_reg_operand instead of target_operand.
2232 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
2233 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
2234 * config/sh/sh.c (target_reg_operand): Match hardware registers
2235 other than branch-target registers.
2236 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
2237 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
2238 (fpscr_values) [SH5 == 32]: Define.
2239 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
2240 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
2241 Handle function addresses coming in SUBREGs.
2242 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
2243 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
2244 shcompact_return_trampoline): Use datalabel where appropriate.
2245 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
2246 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
2247 general-purpose register to copy one branch-target register to
2248 another.
2249 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
2250 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
2251 SYMBOL_REFs with VOIDmode.
2252 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
2253 bltu_media_i): New insns.
2254 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
2255 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
2256 (INIT_CUMULATIVE_ARGS): Likewise.
2257 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2258 * machmode.def (V16SFmode): New mode.
2259 * c-common.c (type_for_mode): Support V2SF and V16SF.
2260 * tree.c (build_common_tree_nodes_2): Likewise.
2261 * tree.h (tree_index): Likewise.
2262 * calls.c (emit_call_1): Take args_so_far. Adjust all
2263 callers. Introduce CALL_POPS_ARGS.
2264 * tm.texi (CALL_POPS_ARGS): Document.
2265 * config/sh/crt1.asm: Implement in SHmedia mode.
2266 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
2267 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
2268 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
2269 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
2270 Implement divsi and udivsi in SHmedia mode. Introduce
2271 SHcompact trampolines.
2272 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
2273 only in SHmedia64.
2274 (regno_reg_class): Rewrite.
2275 (fp_reg_names): Remove.
2276 (sh_register_names, sh_additional_register_names): New.
2277 (print_operand): Added `u'. Support SUBREGs in addresses.
2278 Add parentheses around shifted CONSTs.
2279 (output_file_start): Output .mode and .abi directives.
2280 (shiftcosts, addsubcosts, multcosts): Adjust.
2281 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
2282 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
2283 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
2284 bytes, not registers. Take into account the need for the
2285 SHcompact incoming args trampoline. Adjust all callers.
2286 (sh_expand_prologue): Take stack_regs into account. Call
2287 incoming args trampoline. Keep stack aligned as per SH5 ABI.
2288 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
2289 stack aligned as per SH5 ABI.
2290 (sh_builtin_saveregs): Support SH5 ABI.
2291 (sh_build_va_list, sh_va_start): Likewise.
2292 (initial_elimination_offset): Take alignment into account.
2293 Compute location of PR according to the SH5 stack frame.
2294 (arith_reg_operand): Reject branch-target registers.
2295 (shmedia_6bit_operand): New.
2296 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
2297 (target_reg_operand): Match DImode only. Accept SUBREGs.
2298 (target_operand): New.
2299 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
2300 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
2301 SIBCALL_REGS for SHmedia.
2302 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
2303 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
2304 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
2305 (TARGET_SWITCHES): New SH5 flags.
2306 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
2307 VALID_REGISTER_P to disable unsupported registers.
2308 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
2309 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
2310 (FUNCTION_ARG_PADDING): Define.
2311 (FASTEST_ALIGNMENT): Adjust.
2312 (SH_REGISTER_NAMES_INITIALIZER): New.
2313 (sh_register_names): Declare.
2314 (DEBUG_REGISTER_NAMES): Define.
2315 (REGISTER_NAMES): Define based on sh_register_names.
2316 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
2317 (sh_additional_register_names): Declare.
2318 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
2319 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
2320 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
2321 (REGISTER_NATURAL_MODE): Define.
2322 (FIRST_PSEUDO_REGISTER): Adjust.
2323 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
2324 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
2325 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
2326 (VECTOR_MODE_SUPPORTED_P): Define.
2327 (REG_CLASS_CONTENTS): Adjust.
2328 (SMALL_REGISTER_CLASSES): Adjust.
2329 (REG_ALLOC_ORDER): Adjust.
2330 (INDEX_REG_CLASS): Adjust.
2331 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
2332 (CONST_OK_FOR_LETTER_P): Adjust.
2333 (PREFERRED_RELOAD_CLASS): Adjust.
2334 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
2335 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
2336 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
2337 (FIRST_FP_PARM_REG): Adjust.
2338 (CALL_POPS_ARGS): Define.
2339 (FUNCTION_ARG_REGNO_P): Adjust.
2340 (struct sh_args): New fields.
2341 (GET_SH_ARG_CLASS): Adjust.
2342 (INIT_CUMULATIVE_ARGS): Adjust.
2343 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
2344 (FUNCTION_ARG_ADVANCE): Adjust.
2345 (FUNCTION_ARG): Adjust.
2346 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
2347 (FUNCTION_ARG_CALLEE_COPIES): Define.
2348 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
2349 (STRICT_ARGUMENT_NAMING): Define.
2350 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
2351 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
2352 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
2353 (SETUP_INCOMING_VARARGS): Adjust.
2354 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
2355 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
2356 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
2357 (SUBREG_OK_FOR_INDEX_P): Adjust.
2358 (EXTRA_CONSTRAINT_S): Update.
2359 (EXTRA_CONSTRAINT_T): New.
2360 (EXTRA_CONSTRAINT): Adjust.
2361 (GO_IF_LEGITIMATE_INDEX): Adjust.
2362 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
2363 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
2364 (MOVE_MAX): Adjust.
2365 (MAX_MOVE_MAX): Define.
2366 (Pmode): Adjust.
2367 (CONST_COSTS): Adjust.
2368 (REGISTER_MOVE_COST): Adjust.
2369 (BRANCH_COST): Adjust.
2370 (TEXT_SECTION_ASM_OP): Adjust.
2371 (DBX_REGISTER_NUMBER): Adjust.
2372 (ASM_OUTPUT_DOUBLE_INT): New.
2373 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
2374 (PREDICATE_CODES): Adjust.
2375 (PROMOTE_MODE): Adjust.
2376 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
2377 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
2378 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
2379 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
2380 (DR0_REG, DR2_REG, DR4_REG): Renumber.
2381 (TR0_REG, TR1_REG, TR2_REG): New.
2382 (XD0_REG): Renumber.
2383 (UNSPEC_COMPACT_ARGS): New.
2384 (type): Added pt and ptabs.
2385 (length): Default to 4 on SHmedia. Default pt length to 12
2386 and 20 on SHmedia32 and SHmedia64, respectively.
2387 (pt): New function unit.
2388 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
2389 Add whitespace between operands of SHmedia instructions.
2390 (movdicc): Fix.
2391 (adddi3_media, addsi3_media): Adjust constraints.
2392 (subsi3) [SHmedia]: Force operand 1 into a register.
2393 (udivsi3_i1_media, udivsi3_i4_media): New.
2394 (udivsi3): Support SHmedia.
2395 (divsi3_i1_media, divsi3_i4_media): New.
2396 (divsi3): Support SHmedia.
2397 (anddi3, iordi3, xordi3): Adjust constraints.
2398 (zero_extendhidi2, zero_extendqidi2): New.
2399 (extendsidi2, extendhidi2, extendqidi2): New.
2400 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
2401 (pop_e, pop_fpul, pop_4): Likewise.
2402 (movsi_media): Support FP and BT registers.
2403 (movsi_media_nofpu): New. Adjust splits to DImode.
2404 (lduw, ldub): Renamed to zero_extend* above.
2405 (movqi_media): Fix typo.
2406 (movdi_media): Support FP and BT registers.
2407 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
2408 (movdi_const_32bit): New.
2409 (shori_media): Require immediate operand. Use `u' for output.
2410 (movdf_media, movsf_media): Simplified.
2411 (movdf_media_nofpu, movsf_media_nofpu): New.
2412 (movdf, movsf): Adjust
2413 (movv2sf, movv2sf, movv16sf): New.
2414 (beq_media, beq_media_i): Adjust constraints. Don't use
2415 scratch BT register.
2416 (bne_media, bne_media_i): Likewise.
2417 (bgt_media, bgt_media_i): Likewise.
2418 (bge_media, bge_media_i): Likewise.
2419 (bgtu_media, bgtu_media_i): Likewise.
2420 (bgeu_media, bgeu_media_i): Likewise.
2421 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
2422 bunordered): Emit jump insn. Force operands to registers when
2423 needed.
2424 (jump_media, jump): Simplify.
2425 (call_compact, call_compact_rettramp): New.
2426 (call_value_compact, call_value_compact_rettramp): New.
2427 (call_media, call_value_media): Simplify.
2428 (sibcall_compact, sibcall_media): New.
2429 (call, call_value): Adjust for SHmedia and SHcompact.
2430 (sibcall, sibcall_value, untyped_call): Likewise.
2431 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
2432 (indirect_jump): Adjust for SHmedia.
2433 (casesi_jump_media): New.
2434 (nop): Re-enable for SHmedia.
2435 (call_site): Restrict to SH1.
2436 (casesi): Adjust for SHmedia.
2437 (casesi_shift_media, casesi_load_media): New.
2438 (return): Explicitly use PR register. Call return trampoline
2439 on SHcompact.
2440 (return_i): Explicitly use PR register.
2441 (shcompact_return_tramp, shcompact_return_tramp_i): New.
2442 (return_media): Adjust.
2443 (shcompact_incoming_args): New.
2444 (epilogue): Adjust.
2445 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2446 (movstrsi): Disable on SH5.
2447 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
2448 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
2449 (subsf3, subsf3_media): Likewise.
2450 (mulsf3, mulsf3_media, mac_media): Likewise.
2451 (divsf3, divsf3_media): Likewise.
2452 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
2453 (floatsisf2, fux_truncsfsi2): Likewise.
2454 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
2455 constraints.
2456 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
2457 (cmpunsf_media, cmpsf): Likewise.
2458 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
2459 (abssf2, abssf2_media): Likewise.
2460 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
2461 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
2462 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
2463 (floatsidf2, fix_truncdfsi2): Likewise.
2464 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
2465 constraints.
2466 (cmpeqdf_media, cmpgtdf_media): Likewise.
2467 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
2468 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
2469 (absdf2, absdf2_media): Likewise.
2470 (extendsfdf2, extendsfdf2_media): Likewise.
2471 (truncsfdf2, truncsfdf2_media): Likewise.
2472 * config/sh/sh64.h: New file.
2473 * config/sh/t-sh64: New file.
2474 * config/sh/shmedia.h: New file.
2475 * config/sh/ushmedia.h: New file.
2476 * config/sh/sshmedia.h: New file.
2477 * configure.in: Added sh64-*-elf.
2478 * configure: Rebuilt.
2479 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
2480 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
2481 (reg_class_from_letter): Use `b' for TARGET_REGS.
2482 (print_operand): Support `%M', `%m', `AND' and
2483 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
2484 (andcosts): Adjust for SHmedia.
2485 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
2486 Likewise.
2487 (target_reg_operand): New function.
2488 * config/sh/sh-protos.h (target_reg_operand): Declare.
2489 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
2490 FP registers on SH5.
2491 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
2492 on SH4.
2493 (TARGET_REGISTER_P): New macro.
2494 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
2495 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
2496 (EXTRA_CONSTRAINT_S): New macro.
2497 (EXTRA_CONSTRAINT): Adjust.
2498 (FLOAT_TYPE_SIZE): Define to 32.
2499 (Pmode): DImode on SHmedia.
2500 (CONST_COSTS): Adjust for SHmedia literals.
2501 (PREDICATE_CODES): Added target_reg_operand.
2502 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
2503 * config/sh/sh.md: Remove all attrs from SHmedia insns.
2504 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
2505 (cmpdi): Accept SHmedia.
2506 (movdicc_false, movdicc_true): New insns.
2507 (movdicc): New expand.
2508 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
2509 no_new_pseudos.
2510 (addsi3_media): Match `S' constraint.
2511 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
2512 (negdi2): Expand for SHmedia.
2513 (one_cmpldi2): New expand.
2514 (zero_extendsidi2): Change from expand to insn.
2515 (extendsidi2): Add constraints.
2516 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
2517 LD/ST address. Fix SI immediate loading split.
2518 (movhi_media, movqi_media, lduw, ldub): New insns.
2519 (movhi, movqi): Accept SHmedia.
2520 (shori_media, movdi_media): Relax input constraints. Split
2521 symbolic constants.
2522 (movdf_media, movsf_media): New insn. New split to movdi.
2523 (movdf, movsf): Match on SHmedia.
2524 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
2525 bgeu_media): New insns and splits. New insns with `_i' suffix.
2526 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
2527 (bunordered): New expand.
2528 (jump_compact): Renamed from `jump'.
2529 (jump_media): New insn.
2530 (jump): New expand.
2531 (call_media, call_value_media): New insns.
2532 (call, call_value): Adjust.
2533 (indirect_jump_compact): Renamed from `indirect_jump'.
2534 (indirect_jump_media): New insn.
2535 (indirect_jump): New expand.
2536 (untyped_call, return): Accept SHmedia.
2537 (return_media): New insn.
2538 (prologue, epilogue, blockage): Accept SHmedia.
2539 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2540 (sunordered): New expand.
2541 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
2542 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
2543 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
2544 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
2545 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
2546 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
2547 abssf2_media): New insns.
2548 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
2549 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
2550 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
2551 floatdidf2, floatsidf2_media, fix_truncdfdi2,
2552 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
2553 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
2554 absdf2_media): New insns.
2555 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
2556 (extendsfdf2_media, truncdfsf2_media): New insns.
2557 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
2558 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
2559 * config/sh/sh.h (CONST_OK_FOR_J): Document.
2560 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
2561 * config/sh/sh.md (adddi3): New expand.
2562 (adddi3_media, adddi3z_media): New insns.
2563 (adddi3_compact): Renamed from adddi3.
2564 (addsi3_media): Use add.l r63 to add constant zero.
2565 (subdi3): New expand.
2566 (subdi3_media): New insn.
2567 (subdi3_compact): Renamed from subdi3.
2568 (mulsidi3): New expand.
2569 (mulsidi3_media): New insn.
2570 (mulsidi3_compact): Renamed from mulsidi3.
2571 (umulsidi3): New expand.
2572 (umulsidi3_media): New insn.
2573 (umulsidi3_compact): Renamed from umulsidi3.
2574 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
2575 (ashlsi3, ashrsi3, lshrsi3): Use them.
2576 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
2577 (ashldi3, ashrdi3, lshrdi3): Use them.
2578 (zero_extendsidi2): New expand.
2579 (extendsidi2): New insn.
2580 (movsi_media): New insn. Split to movdi to load constants.
2581 (movsi): Enable for shmedia.
2582 (movdi_media): New insn. Use shori_media to load wide constants.
2583 (short_media): New insn.
2584 (movdi): Enable for shmedia.
2585 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
2586 * config/sh/sh.h (CPP_SPEC): Added `m5'.
2587 (SUBTARGET_CPP_SPEC): Added `!m5'.
2588 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
2589 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
2590 to all other SH variants.
2591 (TARGET_DEFAULT): Set to SH1_BIT.
2592 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
2593 (BITS_PER_WORD): Raise to 64 on shmedia.
2594 (MAX_BITS_PER_WORD): Change to 64.
2595 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
2596 (INT_TYPE_SIZE): Keep as 32.
2597 (UNITS_PER_WORD): Raise to 8 on shmedia.
2598 (MIN_UNITS_PER_WORD): Keep as 4.
2599 (POINTER_SIZE): Raise to 64 on shmedia.
2600 (CONST_OK_FOR_J): New macro.
2601 (CONST_OK_FOR_LETTER_P): Use it.
2602 (processor_type): Add PROCESSOR_SH5.
2603 * config/sh/sh.md: Conditionalize all expands, insns and
2604 splits to TARGET_SH1.
2605 (cpu): Added sh5.
2606 (addsi3_compact): Renamed from...
2607 (addsi3): Now an expand.
2608 (addsi3_media, subsi3_media): New insns.
2609 (subsi3): Don't negate constants with SHmedia.
2610
2611 * hooks.c: New file.
2612 * hooks.h: New file.
2613 * Makefile.in (HOOKS_H): New.
2614 (TARGET_DEF_H): Added $(HOOKS_H).
2615 (OBJS): Added hooks.o.
2616 (cfgcleanup.o, bb-reorder.o): Added target.h.
2617 (hooks.o): Added dependencies.
2618 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
2619 (TARGET_INITIALIZER): this.
2620 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
2621 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
2622 * bb-reorder.c: Include target.h.
2623 (reorder_basic_blocks): Skip if cannot modify jumps.
2624 * cfgcleanup.c: Include target.h.
2625 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
2626
2627 2002-02-08 Chris Demetriou <cgd@broadcom.com>
2628
2629 * config/mips/mips.md (casesi_internal, casesi_internal_di):
2630 Protect jump delay slot instructions with .set noreorder and
2631 .set nomacro.
2632
2633 2002-02-08 Chris Demetriou <cgd@broadcom.com>
2634
2635 * config/mips/mips.md (casesi_internal_di): Calculate
2636 the index into the target offset table correctly.
2637
2638 2002-02-08 Richard Henderson <rth@redhat.com>
2639
2640 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
2641 * final.c (output_addr_const): Accept and discard SUBREG.
2642 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
2643 mark them unknown instead.
2644 (simplify_subtraction): Handle RTX_UNKNOWN.
2645 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
2646
2647 2002-02-08 David Edelsohn <edelsohn@gnu.org>
2648
2649 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
2650
2651 2002-02-08 Richard Henderson <rth@redhat.com>
2652
2653 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
2654
2655 2002-02-08 Andreas Jaeger <aj@suse.de>
2656
2657 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
2658 * config/i386/t-linux64: New file.
2659
2660 2002-02-08 Jakub Jelinek <jakub@redhat.com>
2661
2662 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
2663 * c-parse.in (compstmt): Clear last_expr_type.
2664
2665 2002-02-07 Richard Henderson <rth@redhat.com>
2666
2667 * loop.c (strength_reduce): Sink final_value when not
2668 eliminating a biv.
2669
2670 2002-02-07 David O'Brien <obrien@FreeBSD.org>
2671
2672 * config/sparc/freebsd.h: Fix mismatched spec {.
2673
2674 2002-02-07 Richard Henderson <rth@redhat.com>
2675
2676 * cfgrtl.c: Include recog.h and insn-config.h.
2677 (keep_with_call_p): Fix general_operand invocation.
2678 * Makefile.in (cfgrtl.o): Update dependencies.
2679
2680 2002-02-07 Kazu Hirata <kazu@hxi.com>
2681
2682 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
2683 comment. Accept HImode only if TARGET_H8300.
2684
2685 2002-02-07 Eric Christopher <echristo@redhat.com>
2686
2687 * config/mips/crtn.asm: Cleanup #ifdefs.
2688
2689 2002-02-07 Eric Christopher <echristo@redhat.com>
2690
2691 * config/mips/crti.asm: Add changes for mips16. mips16 uses
2692 register 7 as RA instead of $31.
2693 * config/mips/crtn.asm: Ditto.
2694 * config/mips/mips.c (mips_move_2words): Add case for
2695 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
2696 (compute_frame_size): Fix typo.
2697 (save_restore_insns): Ditto. Make documentation about using
2698 register $7 as return register more precise.
2699 (mips_expand_epilogue): Fix comment. Add code to work around not
2700 being able to add to the stack pointer directly.
2701 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
2702 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
2703 epilogue.
2704
2705 2002-02-07 Tom Rix <trix@redhat.com>
2706
2707 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
2708 immediates in ldu and stdu DS opcode field.
2709 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
2710 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
2711 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
2712
2713 2002-02-07 Jeff Sturm <jsturm@one-point.com>
2714
2715 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
2716 offset for stack bias.
2717
2718 2002-02-07 H.J. Lu <hjl@gnu.org>
2719
2720 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
2721
2722 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
2723
2724 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
2725
2726 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
2727
2728 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
2729 * i386.c (x86_order_regs_for_local_alloc): New global function.
2730 * i386.h (REG_ALLOC_ORDER): CLeanup.
2731 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
2732
2733 2002-02-07 Richard Henderson <rth@redhat.com>
2734
2735 PR optimization/2463
2736 * alias.c (find_base_value): Recall base values for fixed hard regs.
2737 * loop.c (loop_regs_update): Don't use single_set on non-insns.
2738
2739 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
2740
2741 * config/mips/mips.md (define_delay) [mips16]: Adjust required
2742 length.
2743
2744 2002-02-06 Richard Henderson <rth@redhat.com>
2745
2746 PR c/5609
2747 * stmt.c (resolve_operand_name_1): Take more care with mixed
2748 named and unnamed operands.
2749
2750 2002-02-06 Janis Johnson <janis187@us.ibm.com>
2751 Jan Hubicka <jh@suse.cz>
2752
2753 * loop.c (remove_constant_addition): Avoid clobbering a shared
2754 CONST expression.
2755
2756 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2757
2758 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
2759 * config/s390/t-linux64: New file.
2760 * config/s390/libgcc-glibc.ver: New file.
2761
2762 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
2763
2764 * config/s390/linux64.h: Delete file.
2765 * config/s390/s390x.h: New file.
2766 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
2767 as target header file.
2768 * config/s390/linux.h (TARGET_VERSION): Define depending on
2769 DEFAULT_TARGET_64BIT.
2770 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
2771 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
2772 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
2773 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
2774 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
2775 (EXTRA_SPEC): New define.
2776 * config/s390/s390.h (TARGET_VERSION): Define depending on
2777 DEFAULT_TARGET_64BIT.
2778 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
2779
2780 2002-02-06 Jason Merrill <jason@redhat.com>
2781
2782 * c-decl.c (finish_function): Warn about a non-void function with
2783 no return statement and no abnormal exit.
2784 (current_function_returns_abnormally): New variable.
2785 (start_function): Clear it.
2786 (struct c_language_function): Add returns_abnormally.
2787 (push_c_function_context): Save it.
2788 (pop_c_function_context): Restore it.
2789 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
2790 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
2791 an explicit return type.
2792 * c-tree.h: Declare current_function_returns_abnormally.
2793 (C_FUNCTION_IMPLICIT_INT): New macro.
2794 * c-typeck.c (build_function_call): Set it.
2795 (c_expand_return): Set current_function_returns_value even if the
2796 value is erroneous.
2797
2798 2002-02-06 Jakub Jelinek <jakub@redhat.com>
2799
2800 PR c/5420:
2801 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
2802 unsafe for reevaluation.
2803
2804 2002-02-06 Jakub Jelinek <jakub@redhat.com>
2805
2806 PR c/5482:
2807 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
2808 EXPR_STMT, but COMPOUND_STMT, recurse into it.
2809
2810 2002-02-06 Richard Henderson <rth@redhat.com>
2811
2812 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
2813 be a general_operand. Dest for function value must be a pseudo.
2814
2815 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2816
2817 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
2818 as SYMBOL_REFs from the constant pool.
2819
2820 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
2821
2822 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
2823 passed by invisible reference.
2824
2825 2002-02-05 Richard Henderson <rth@redhat.com>
2826
2827 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
2828
2829 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
2830
2831 Implement using "base addresses" in insn operands as default.
2832 * config/mmix/mmix.c (mmix_conditional_register_usage): if
2833 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
2834 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
2835 used to read the rtx value.
2836 (mmix_target_asm_function_epilogue): Fix spacing.
2837 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
2838 (mmix_legitimate_address): Ditto.
2839 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
2840 should be loaded with a GETA insn. Don't allocate needless extra
2841 char for nul termination and fix misleading comment.
2842 (mmix_print_operand_address): Handle constants if
2843 TARGET_BASE_ADDRESSES.
2844 (mmix_output_register_setting): Use base addressing if
2845 TARGET_BASE_ADDRESSES and the number of insns is 3.
2846 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
2847 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
2848 to use R as constraint, add LDA to match s.
2849 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
2850 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
2851 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
2852 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
2853 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
2854 order with other fixed registers.
2855 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
2856 other parameter/call-clobbered registers.
2857 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
2858 -mbase-addresses, -mno-base-addresses.
2859 (MMIX Options): Ditto.
2860
2861 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2862
2863 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
2864
2865 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
2866
2867 * config/rs6000/altivec.h: Change elem to _S_elem.
2868
2869 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2870
2871 * config/netbsd.h (WCHAR_TYPE): Define.
2872 (WCHAR_TYPE_SIZE): Ditto.
2873 (WINT_TYPE): Ditto.
2874 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
2875 (WCHAR_UNSIGNED): Ditto.
2876 (WCHAR_TYPE_SIZE): Ditto.
2877 (WINT_TYPE): Ditto.
2878 * config/arm/netbsd.h: Likewise.
2879 * config/i386/netbsd-elf.h: Likewise.
2880 * config/i386/netbsd.h: Likewise.
2881 * config/m68k/netbsd-elf.h: Likewise.
2882 * config/m68k/netbsd.h: Likewise.
2883 * config/ns32k/netbsd.h: Likewise.
2884 * config/sparc/netbsd.h: Likewise.
2885 * config/vax/netbsd.: Likewise.
2886
2887 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
2888
2889 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
2890 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
2891 (TARGET_INITIALIZER): this.
2892 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
2893 (BITFIELD_NBYTES_LIMITED): Markup fix.
2894 * tree.h (default_ms_bitfield_layout_p): Declare.
2895 (record_layout_info): Added prev_field.
2896 * tree.c (default_ms_bitfield_layout_p): New fn.
2897 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
2898 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
2899 * stor-layout.c: Include target.h.
2900 (start_record_layout): Initialize prev_field.
2901 (place_field): Handle MS bit-field layout, and disregard
2902 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
2903 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
2904 * Makefile.in (stor-layout.o): Adjust dependencies.
2905
2906 2002-02-05 Jason Merrill <jason@redhat.com>
2907
2908 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
2909
2910 2002-02-05 Andreas Jaeger <aj@suse.de>
2911
2912 * crtstuff.c: Fix comments.
2913
2914 2002-02-05 Richard Henderson <rth@redhat.com>
2915
2916 PR fortran/3393
2917 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
2918 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
2919
2920 PR fortran/3392
2921 * config/mips/mips.c (function_arg): Handle TImode.
2922 (function_arg_advance): Likewise.
2923
2924 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2925
2926 * config/rs6000/altivec.h (vec_step_help): Rename to
2927 __vec_step_help.
2928
2929 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2930
2931 * config/rs6000/altivec.h: Fix typos.
2932
2933 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
2934
2935 * config/arm/netbsd.h: Correct a comment.
2936
2937 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2938
2939 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
2940 building void typed builtins.
2941
2942 * config/rs6000/altivec.h (vec_ld*): Fix typos.
2943 (vec_step): Implement for C++.
2944
2945 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2946
2947 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
2948
2949 2002-02-04 Richard Henderson <rth@redhat.com>
2950
2951 * combine.c (nonzero_bits): Re-introduce special case for
2952 sp/fp/ap wrt REGNO_POINTER_ALIGN.
2953
2954 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
2955
2956 * doc/extend.texi: Warn about unsupported usage of altivec
2957 builtins.
2958
2959 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
2960 (altivec_predicate_*): New.
2961
2962 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
2963 Add C++ version of vec_*() functions.
2964
2965 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
2966 (bdesc_2arg): Remove altivec predicates.
2967 (altivec_expand_builtin): Handle predicates.
2968 (altivec_init_builtins): Handle predicates.
2969 (altivec_expand_predicate_builtin): New.
2970
2971 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2972
2973 * pa.c (DO_FRAME_NOTES): Move forward.
2974 (store_reg): Revise handling of frame notes.
2975 (load_reg): Likewise.
2976 (set_reg_plus_d): Likewise.
2977 (hppa_expand_prologue): Likewise.
2978 (hppa_expand_epilogue): Likewise.
2979
2980 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2981
2982 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
2983
2984 2002-02-04 Jakub Jelinek <jakub@redhat.com>
2985
2986 PR c/4475, c++/3780:
2987 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
2988 * c-common.h (SWITCH_TYPE): Define.
2989 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
2990 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
2991 Rename spareness variable to sparseness.
2992 (expand_end_case_type): Renamed from expand_end_case, use orig_type
2993 if non-NULL instead of TREE_TYPE (orig_index).
2994 * tree.h (expand_end_case_type): Renamed from expand_end_case.
2995 (expand_end_case): Define using expand_end_case_type.
2996 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
2997 to expand_end_case_type.
2998 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
2999
3000 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3001
3002 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
3003 (BIGGEST_ALIGNMENT): Change to 128.
3004
3005 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3006
3007 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
3008
3009 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3010
3011 * pa.md (call_internal_reg_64bit): Remove unused variable.
3012
3013 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
3014
3015 * config/arm/arm.h (machine_function): Add uses_anonymous_args
3016 field.
3017 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3018 * config/arm/arm.c (current_function_anonymous_args): Delete,
3019 replace uses with cfun->machine->uses_anonymous_args.
3020 (arm_reorg): Do not reset uses_anonymous_args.
3021
3022 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
3023 any geenral register.
3024
3025 2001-02-04 Bernd Schmidt <bernds@redhat.com>
3026
3027 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
3028 the entry block.
3029
3030 2002-02-04 Richard Henderson <rth@redhat.com>
3031
3032 * combine.c (force_to_mode): Remove STACK_BIAS code.
3033 (nonzero_bits): Likewise. Replace sp/fp special case with
3034 REGNO_POINTER_ALIGN.
3035
3036 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
3037 (HARD_FRAME_POINTER_REGNUM): New.
3038 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
3039 (FIXED_REGS, CALL_USED_REGS): Update.
3040 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
3041 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
3042 (HARD_REGNO_NREGS): Update for SFP.
3043 (STACK_POINTER_OFFSET): Include bias here ...
3044 (FIRST_PARM_OFFSET): ... not here.
3045 (STACK_BIAS): Remove.
3046 (INIT_EXPANDERS): New.
3047 (STARTING_FRAME_OFFSET): Do not include bias.
3048 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
3049 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
3050 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
3051 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
3052 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
3053 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
3054 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
3055 (MUST_SAVE_REGISTER): Likewise.
3056 (sparc_flat_function_prologue): Likewise.
3057 (sparc_flat_function_epilogue): Likewise.
3058 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
3059 (sparc_init_modes): SFP is GENERAL_REGS.
3060 (sparc_builtin_saveregs): SFP does not have bias applied.
3061
3062 2002-02-04 Richard Henderson <rth@redhat.com>
3063
3064 * config/alpha/alpha.c (current_function_is_thunk): Don't check
3065 current_function_is_thunk.
3066 (alpha_sa_mask): Distinguish between current_function_is_thunk
3067 called from ASM_OUTPUT_MI_THUNK and not.
3068 (alpha_does_function_need_gp): Thunks always need gp.
3069 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
3070 (alpha_output_mi_thunk_osf): New.
3071 * config/alpha/alpha-protos.h: Update.
3072 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
3073
3074 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
3075
3076 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
3077 function types, not when they're taken away.
3078
3079 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
3080
3081 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
3082 CODE_LABEL and jump table when replacing a table jump with a
3083 simple jump.
3084
3085 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3086
3087 * config/s390/s390-protos.h (legitimize_la_operand,
3088 s390_secondary_input_reload_class, s390_plus_operand,
3089 s390_expand_plus_operand): Add prototypes.
3090
3091 config/s390/s390.c (s390_secondary_input_reload_class,
3092 s390_plus_operand, s390_expand_plus_operand): New functions.
3093
3094 (struct s390_address): New member 'pointer'.
3095 (s390_decompose_address): Compute it.
3096 (legitimate_la_operand_p): Use it.
3097 (legitimize_la_operand): New function.
3098 (movti, movdi, movdf splitters): Call it.
3099
3100 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
3101 (PREDICATE_CODES): Add s390_plus_operand.
3102
3103 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
3104 (la_ccclobber): Allow GENERAL_REGS as output operand.
3105
3106 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
3107 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
3108 (*la_64, *la_31, reload_indi, reload_insi): ... these.
3109
3110 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3111
3112 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
3113 register names for regular asm () construct.
3114
3115 2002-02-04 Jakub Jelinek <jakub@redhat.com>
3116
3117 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
3118 registers.
3119
3120 2002-02-04 Jakub Jelinek <jakub@redhat.com>
3121
3122 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
3123 pat for recog.
3124
3125 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
3126
3127 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
3128 constant pool to be identical by string address and index.
3129
3130 2002-02-04 Anthony Green <green@redhat.com>
3131
3132 * output.h (SECTION_OVERRIDE): Define.
3133 * varasm.c (named_section): Obey SECTION_OVERRIDE.
3134
3135 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
3136
3137 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
3138 by existing arm*-*-netbsd* (a.out) target.
3139 (ns32k-*-netbsdelf*): Likewise.
3140 (sparc-*-netbsdelf*): Likewise.
3141 (vax-*-netbsdelf*): Likewise.
3142
3143 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3144
3145 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
3146 headers and libobjc headers.
3147
3148 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
3149
3150 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
3151 (_mingw.h): Remove duplicate include.
3152
3153 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
3154
3155 * config.gcc: Set cpu_type to m68k for 68010, as well.
3156 (m68010-*-netbsdelf*): New...
3157 (m68k*-*-netbsdelf*): ...targets.
3158 * config/m68k/netbsd-elf.h: New file.
3159
3160 2002-02-02 Kazu Hirata <kazu@hxi.com>
3161
3162 * config/h8300/h8300.c (hand_list): Move inside function_arg.
3163
3164 2002-02-02 Kazu Hirata <kazu@hxi.com>
3165
3166 * config/h8300/h8300.c (h8_push_ops): Move inside
3167 h8300_init_once.
3168 (h8_pop_ops): Likewise.
3169 (h8_move_ops): Likewise.
3170
3171 2002-02-02 Kazu Hirata <kazu@hxi.com>
3172
3173 * config/h8300/h8300.c (os_task): Make it static.
3174 (monitor): Likewise.
3175 (pragma_saveall): Likewise.
3176
3177 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
3178
3179 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
3180 constant is a valid sign-extension for Pmode.
3181
3182 2002-02-02 Kazu Hirata <kazu@hxi.com>
3183
3184 * config/h8300/h8300.c: Fix formatting.
3185
3186 2002-02-02 Kazu Hirata <kazu@hxi.com>
3187
3188 * config/h8300/h8300.md: Fix formatting.
3189
3190 2002-02-02 Kazu Hirata <kazu@hxi.com>
3191
3192 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
3193 predicates of operands[1]. Split the patterns for each
3194 processor variant.
3195
3196 2002-02-02 Kazu Hirata <kazu@hxi.com>
3197
3198 * config/h8300/h8300.md (xor patterns): Tighten the predicates
3199 of operands[1] to register_operand.
3200
3201 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
3202
3203 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
3204 * cpphash.c (_cpp_init_hashtable): Similarly.
3205 * cppinit.c (cpp_create_reader): Default the signed_char flag.
3206 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
3207 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
3208 (cpp_handle_option): Handle the new options.
3209 * cpplex.c (cpp_interpret_charconst): Use new flag.
3210 * cpplib.h (struct cpp_options): New member signed_char.
3211 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
3212 (cpp_options): Handle -fsigned-char and -funsigned-char.
3213 (static_specs): Remove signed_char_spec.
3214 (do_spec1): Don't handle %c.
3215 * system.h: Poison SIGNED_CHAR_SPEC.
3216 * tradcif.y (yylex): Use flag_signed_char.
3217 * tradcpp.h (flag_signed_char): New.
3218 * tradcpp.c (flag_signed_char): New.
3219 (main): Handle new command-line options.
3220 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
3221 config:
3222 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
3223 * avr/avr.h: Remove old comments.
3224 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
3225 (CC1_SPEC): Pass -fsigned-char if -mic*.
3226 (SIGNED_CHAR_SPEC): Remove.
3227 doc:
3228 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
3229
3230 2002-02-01 Eric Christopher <echristo@redhat.com>
3231
3232 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
3233 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
3234 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
3235 (ASM_OUTPUT_REG_POP): Ditto.
3236
3237 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
3238
3239 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
3240 patch.
3241
3242 2002-02-02 Jakub Jelinek <jakub@redhat.com>
3243
3244 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
3245
3246 2002-02-02 Jakub Jelinek <jakub@redhat.com>
3247
3248 PR c/5304:
3249 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
3250 unconditionally.
3251
3252 2002-02-01 Janis Johnson <janis187@us.ibm.com>
3253
3254 * cfganal.c: Include tm_p.h.
3255 (keep_with_call_p): Fix the test that determines if a register holds
3256 the return value of a call.
3257
3258 2002-02-01 DJ Delorie <dj@redhat.com>
3259
3260 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
3261 we are given conflicting registers, switch to the other one we
3262 had allocated for us.
3263 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
3264 as TImode so we know when the "other" register is available.
3265
3266 2002-02-01 David O'Brien <obrien@FreeBSD.org>
3267
3268 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
3269 sparc/sparc_bi.h.
3270
3271 2002-02-01 Janis Johnson <janis187@us.ibm.com>
3272
3273 * cfganal.c (keep_with_call_p): New function.
3274 (flow_call_edges_add): Prevent splitting a block between a call and
3275 a single-set instruction that should be kept in the same block.
3276
3277 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
3278
3279 * doc/install.texi (avr): Update outdated URL.
3280
3281 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
3282
3283 * config/stormy16/stormy16.md (pushqi): New.
3284 (popqi): New.
3285 (pushhi): New.
3286 (pophi): New.
3287 (movhi): Remove stack operands.
3288 (movqi): Likewise.
3289 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
3290 nonimmediate_nonstack_operand.
3291 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
3292 New.
3293 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
3294 New.
3295
3296 2002-01-31 Jason Merrill <jason@redhat.com>
3297
3298 * Makefile.in (c-parse.c): Handle .output file.
3299 * objc/Make-lang.in (objc-parse.c): Likewise.
3300
3301 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
3302
3303 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
3304 the -me[lb] option is given. Don't output the default flag
3305 twice.
3306
3307 2002-01-31 Zack Weinberg <zack@codesourcery.com>
3308
3309 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
3310 the primary source file; this has not been done yet.
3311 * c-decl.c (c_expand_body): Reset input_filename from
3312 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
3313
3314 2002-01-31 Kazu Hirata <kazu@hxi.com>
3315
3316 * rtlanal.c (subreg_regno_offset): Do not use
3317 SUBREG_REGNO_OFFSET.
3318 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
3319 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
3320
3321 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
3322
3323 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
3324 version rather than GNATS version in --version output.
3325
3326 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
3327
3328 * ifcvt.c (noce_process_if_block): Make a copy of the destination
3329 when copying back from a temporary.
3330
3331 2002-01-30 Richard Henderson <rth@redhat.com>
3332
3333 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
3334 and new_dest are the same.
3335
3336 2002-01-30 Richard Henderson <rth@redhat.com>
3337
3338 PR opt/5076
3339 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
3340 * rtl.c (note_insn_name): Update.
3341 * emit-rtl.c (remove_unnecessary_notes): Kill it.
3342 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
3343 to perform loop rotation.
3344 (expand_exit_loop_top_cond): New.
3345 * tree.h (expand_exit_loop_top_cond): Declare it.
3346 * c-semantics.c (genrtl_while_stmt): Use it.
3347 (genrtl_for_stmt): Likewise.
3348
3349 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
3350
3351 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
3352 arguments to 64-bit boundaries on 64-bit ABIs.
3353
3354 2002-01-30 Steve Ellcey <sje@cup.hp.com>
3355
3356 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
3357
3358 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
3359
3360 * c-decl.c (grokdeclarator): Handle type being a typedef for an
3361 invalid type.
3362
3363 2002-01-30 David O'Brien <obrien@FreeBSD.org>
3364
3365 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
3366 * config/sparc/sparc_bi.h: Remove file.
3367 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
3368
3369 2002-01-30 Richard Henderson <rth@redhat.com>
3370
3371 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
3372
3373 2002-01-30 Zack Weinberg <zack@codesourcery.com>
3374
3375 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
3376
3377 2002-01-30 Jason Merrill <jason@redhat.com>
3378
3379 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
3380 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
3381 (reg_save): Use DW_CFA_offset_extended_sf instead.
3382
3383 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
3384
3385 2002-01-29 Jakub Jelinek <jakub@redhat.com>
3386
3387 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
3388 in cselib_lookup.
3389
3390 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
3391
3392 * rs6000.md ("*call_value_local32"): Remove constraints.
3393 ("*call_value_local64"): Same.
3394 ("*call_value_indirect_nonlocal_aix32"): Same.
3395 ("*call_value_nonlocal_aix32"): Same.
3396 ("*call_value_indirect_nonlocal_aix64"): Same.
3397 ("*call_value_nonlocal_aix64"): Same.
3398 ("*call_value_nonlocal_sysv"): Same.
3399
3400 2002-01-29 Richard Henderson <rth@redhat.com>
3401
3402 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
3403
3404 2002-01-29 Richard Henderson <rth@redhat.com>
3405
3406 * expr.c (force_operand): Ignore flag_pic for detecting pic
3407 address loads.
3408 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
3409 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
3410 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
3411 instead of open-coded loop.
3412 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
3413 be fixed when in use.
3414
3415 2002-01-29 Richard Henderson <rth@redhat.com>
3416
3417 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
3418 * sched-rgn.c (propagate_deps): Update them.
3419 * sched-deps.c (sched_analyze_insn): Update them. Flush the
3420 clobbers list when either gets too long.
3421
3422 2002-01-29 Jakub Jelinek <jakub@redhat.com>
3423
3424 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
3425 and INDEX_REGS the same as GENERAL_REGS.
3426 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
3427
3428 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
3429
3430 * tree.c (build_nonstandard_integer_type): Correct prototype.
3431
3432 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
3433
3434 * config/s390/s390.md (movstrsico, movstrdix_64,
3435 movstrsix_31): Remove, replace by ...
3436 (movstrdi_short, movstrsi_short, movstrdi_long,
3437 movstrsi_long): ... these. New.
3438 (movstrdi, movstrsi): Adapt.
3439
3440 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
3441 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
3442 Remove unnecessary CC clobber.
3443 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
3444 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
3445
3446 (divmoddi4): Don't partially initialize TImode register.
3447
3448 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
3449
3450 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
3451
3452 2002-01-29 Richard Henderson <rth@redhat.com>
3453
3454 * flow.c (print_rtl_and_abort): Remove.
3455 (print_rtl_and_abort_fcn): Remove.
3456 (verify_local_live_at_start): Use dump_bb instead.
3457 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
3458 (verify_wide_reg_1): Return 2 on mode test failure.
3459
3460 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
3461
3462 PR c/3325, c/3326, c/2511, c/3347
3463 * c-decl.c (enum_decl_context): Remove BITFIELD.
3464 (grokdeclarator): Take bitfield width as an input.
3465 Ensure bitfields are given the correct type. Perform
3466 bitfield width validation with build_bitfield_integer_type
3467 rather than waiting for finish_struct.
3468 (grok_typename, grok_typename_in_parm_context, start_decl,
3469 push_parmdecl, grokfield, start_function): Update calls to
3470 grokdeclarator.
3471 (build_bitfield_integer_type): New function.
3472 (finish_struct): Move bitfield validation to grokdeclarator
3473 and build_bitfield_integer_type.
3474 * tree.c (build_nonstandard_integer_type): New function.
3475 * tree.h (build_nonstandard_integer_type): New prototype.
3476 objc:
3477 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
3478
3479 2002-01-29 Jakub Jelinek <jakub@redhat.com>
3480
3481 PR other/1502:
3482 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
3483 don't ignore unrecognized -W* options.
3484 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
3485 * cpplib.h (cpp_handle_option): Adjust prototype.
3486 * c-decl.c (c_decode_options): Pass 0 as last argument to
3487 cpp_handle_option.
3488
3489 PR c/2896:
3490 * gcc.c (cpp_unique_options): Split from cpp_options.
3491 (cpp_options): Source cpp_unique_options.
3492 (default_compilers): Use cpp_unique_options instead of cpp_options
3493 when used together with cc1_options.
3494 (static_specs): Add cpp_unique_options.
3495 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
3496 when used together with cc1_options.
3497
3498 2002-01-29 Kazu Hirata <kazu@hxi.com>
3499
3500 * config/h8300/h8300-protos.h: Update the prototype of
3501 output_a_shift.
3502 * config/h8300/h8300.c (output_a_shift): Remove an unused
3503 argument 'insn'. Remove redundant code.
3504 * config/h8300/h8300.md: Adust to the new prototype of
3505 output_a_shift.
3506
3507 2002-01-29 Kazu Hirata <kazu@hxi.com>
3508
3509 * config/h8300/h8300-protos.h: Update the prototypes of
3510 emit_a_rotate and expand_a_rotate.
3511 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
3512 first argument to 'enum rtx_code'.
3513 (expand_a_rotate): Likewise.
3514
3515 2002-01-28 Kazu Hirata <kazu@hxi.com>
3516
3517 * config/h8300/h8300-protos.h: Update the prototype of
3518 output_simode_bld.
3519 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
3520 'log2'.
3521 * config/h8300/h8300.md: Adjust to the new prototype.
3522
3523 2002-01-28 Kazu Hirata <kazu@hxi.com>
3524
3525 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
3526 redundant code.
3527
3528 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
3529
3530 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
3531 is a fixed register before returning pic_offset_table_rtx.
3532 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
3533 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
3534
3535 2002-01-28 Jason Merrill <jason@redhat.com>
3536
3537 * dwarf2.h: Sync with src version.
3538
3539 2002-01-28 Paul Koning <pkoning@equallogic.com>
3540
3541 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
3542 BT_FN_VOID_PTR_VAR.
3543 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
3544 * doc/extend.texi (__builtin_prefetch): Update documentation:
3545 first argument is now const void ptr.
3546
3547 2002-01-28 Kazu Hirata <kazu@hxi.com>
3548
3549 * config/h8300/h8300-protos.h: Remove an unused prototype.
3550
3551 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
3552
3553 * toplev.c (lang_independent_init): Round up identifier size.
3554
3555 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
3556
3557 * config.gcc: Revert previous change.
3558
3559 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
3560
3561 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
3562
3563 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
3564
3565 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
3566 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
3567 other non-elf netbsd config frags.
3568 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
3569 collect2 will does that.
3570 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
3571 shared-lib frobbing will work.
3572
3573 2002-01-28 Kazu Hirata <kazu@hxi.com>
3574
3575 * config/h8300/h8300.h: Fix formatting.
3576 * config/h8300/h8300.md: Likewise.
3577
3578 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
3579
3580 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
3581 the old, removed AAA_standards fix.
3582 * fixinc/fixincl.x: Rebuilt.
3583
3584 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
3585
3586 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
3587 atexit call in crtbegin, hooked in after call to frame_dummy;
3588 register EH before registering __fini__start.
3589
3590 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
3591
3592 * config/rs6000/altivec.h: Remove spurious semicolons.
3593
3594 2002-01-27 Kazu Hirata <kazu@hxi.com>
3595
3596 * config/h8300/h8300.md: Replace dead bit extraction patterns
3597 with ones that work.
3598
3599 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3600
3601 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
3602 if not STRICT_ALIGNMENT.
3603 * rtl.h (MEM_ALIGN): Likewise.
3604
3605 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
3606
3607 * doc/invoke.texi (-fdump-translation-unit): Revert this
3608 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
3609
3610 2002-01-27 Kazu Hirata <kazu@hxi.com>
3611
3612 * config/h8300/h8300.md (define_constants): New.
3613 (anonymous patterns) Use defined constants appropriately.
3614
3615 2002-01-27 Kazu Hirata <kazu@hxi.com>
3616
3617 * config/h8300/h8300.c (function_arg): Remove redundant code.
3618
3619 2002-01-26 Richard Henderson <rth@redhat.com>
3620
3621 * sched-deps.c (reg_pending_uses_head): New.
3622 (reg_pending_barrier): Rename from reg_pending_sets_all.
3623 (find_insn_list): Don't mark inline.
3624 (find_insn_mem_list): Remove.
3625 (add_dependence_list, add_dependence_list_and_free): New.
3626 (flush_pending_lists): Replace only_write param with separate
3627 for_read and for_write parameters. Update all callers. Use
3628 add_dependence_list_and_free.
3629 (sched_analyze_1): Do not add reg dependencies here; just set
3630 the pending bits. Use add_dependence_list.
3631 (sched_analyze_2): Likewise.
3632 (sched_analyze_insn): Replace schedule_barrier_found with
3633 reg_pending_barrier. Add all dependencies for pending reg
3634 uses, sets, and clobbers.
3635 (sched_analyze): Don't add reg dependencies for calls, just
3636 set pending bits. Use regs_invalidated_by_call. Treat
3637 sched_before_next_call as a normal list, not a fake insn.
3638 (init_deps): No funny init for sched_before_next_call.
3639 (free_deps): Free pending mems lists. Don't zero reg_last.
3640 (init_deps_global): Init reg_pending_uses.
3641 (finish_deps_global): Free it.
3642 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
3643 (find_insn_mem_list): Remove.
3644 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
3645 (propagate_deps): Use them. Zero temp mem lists.
3646
3647 2002-01-26 Richard Henderson <rth@redhat.com>
3648
3649 * Makefile.in (CRTSTUFF_CFLAGS): New.
3650 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
3651 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
3652 crtstuff.c instead of alpha assembly version.
3653 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
3654 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
3655 not FORCE_{INIT,FINI}_SECTION_ALIGN.
3656 (__do_global_dtors_aux): Mark used.
3657 (frame_dummy, __do_global_ctors_aux): Mark used.
3658 (fini_dummy, init_dummy): Remove.
3659
3660 * config/alpha/crtbegin.asm: Remove file.
3661 * config/alpha/crtend.asm: Remove file.
3662 * config/alpha/t-crtbe: Remove file.
3663 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
3664 (LINK_EH_SPEC): New.
3665
3666 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
3667 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
3668 calling constructors.
3669 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
3670
3671 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
3672 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
3673 CRT_END_INIT_DUMMY hack.
3674 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
3675 FORCE_{INIT,FINI}_SECTION_ALIGN.
3676
3677 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
3678 FORCE_{INIT,FINI}_SECTION_ALIGN.
3679
3680 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
3681 invocation sequence.
3682 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
3683
3684 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
3685 (FORCE_CODE_SECTION_ALIGN): New.
3686
3687 2002-01-26 Richard Henderson <rth@redhat.com>
3688
3689 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
3690
3691 2002-01-26 Richard Henderson <rth@redhat.com>
3692
3693 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
3694 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
3695
3696 2002-01-26 Kazu Hirata <kazu@hxi.com>
3697
3698 * config/h8300/h8300.md: Remove bit extraction patterns that
3699 cannot be triggered.
3700 Restrict each bit extraction pattern to a variant on which the
3701 pattern is tested.
3702
3703 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
3704
3705 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
3706
3707 2002-01-26 Kazu Hirata <kazu@hxi.com>
3708
3709 * config/h8300/h8300.md: Remove bit test patterns that cannot
3710 be triggered.
3711 Restrict each bit test pattern to a variant on which the
3712 pattern is tested.
3713
3714 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3715
3716 * builtins.c (expand_builtin_strncat): Remove redundant check for
3717 INTEGER_CST.
3718
3719 2002-01-25 David O'Brien <obrien@FreeBSD.org>
3720
3721 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
3722 default setting.
3723 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
3724 existing setting.
3725
3726 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
3727
3728 * dbxout.c (dbxout_init): Use assemble_name rather than just
3729 stripping off the first character.
3730 (dbxout_source_file): Likewise.
3731
3732 2002-01-25 DJ Delorie <dj@redhat.com>
3733
3734 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
3735 using rtx_equal_p, not by comparing pointers.
3736
3737 2002-01-25 Steve Ellcey <sje@cup.hp.com>
3738
3739 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
3740 for PIC_OFFSET_TABLE_REGNUM.
3741 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
3742
3743 2002-01-25 David O'Brien <obrien@FreeBSD.org>
3744
3745 * config.gcc (x86_64-*-freebsd*): New target.
3746 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
3747 value.
3748 (i[34567]86-*-freebsd*): Don't include svr4.h.
3749 * config/i386/freebsd64.h: New file.
3750
3751 2002-01-25 Douglas B Rupp <rupp@gnat.com>
3752
3753 * config/alpha/x-vms (version): Make static.
3754
3755 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
3756 in previous checkin.
3757
3758 * Makefile.in (install-headers-cp): New target.
3759 * config.gcc (alpha-dec-*vms*): Install headers with
3760 install-headers-cp
3761
3762 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
3763
3764 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
3765 avoid it's copies.
3766
3767 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3768
3769 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
3770 of compare_tree_int.
3771 (expand_builtin_strncat): Likewise.
3772 * c-decl.c (finish_struct): Use tree_low_cst.
3773 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
3774 * tree.c (compare_tree_int): Likewise.
3775
3776 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
3777
3778 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
3779 adjustments even if they are implemented by more than two insns.
3780
3781 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
3782
3783 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
3784 * df.h (struct ref): Kill B.
3785 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
3786
3787 * basic-block.h (PROP_EQUAL_NOTES): New flag.
3788 * flow.c (propagate_one_insn): Use it.
3789 (mark_used_regs): Handle NIL.
3790
3791 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
3792
3793 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
3794 to help folding.
3795
3796 2002-01-25 David Edelsohn <edelsohn@gnu.org>
3797
3798 * rs6000.md (prefetch): Make address V4SI mode so that the address
3799 is restricted to legitimate form for instruction.
3800
3801 2002-01-25 Bob Wilson <bob.wilson@acm.org>
3802
3803 * doc/install.texi (xtensa-*-elf): New target.
3804 (xtensa-*-linux*): New target.
3805 * doc/contrib.texi: Add myself.
3806
3807 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
3808
3809 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
3810 purpose register to hold an SImode (or smaller) value.
3811
3812 2002-01-25 Jakub Jelinek <jakub@redhat.com>
3813
3814 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
3815 registry only.
3816 * crtstuff.c: Likewise.
3817
3818 2002-01-25 Kazu Hirata <kazu@hxi.com>
3819
3820 * config/h8300/h8300.md (negation patterns): Tighten
3821 predicates to register_operand.
3822
3823 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
3824
3825 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
3826 mode, not Pmode.
3827
3828 * builtins.c (expand_builtin_prefetch): Same.
3829
3830 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3831
3832 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
3833 modes.
3834
3835 2002-01-24 Kazu Hirata <kazu@hxi.com>
3836
3837 * config/h8300/h8300.c (print_operand): Remove support for
3838 operand character 'A'.
3839 * config/h8300/h8300.md (three anonymous patterns): Replace
3840 operand character 'A' with either 'T' or 'S'.
3841
3842 2002-01-24 Kazu Hirata <kazu@hxi.com>
3843
3844 * config/h8300/h8300.c (print_operand): Remove support for
3845 operand character 'U'.
3846
3847 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
3848
3849 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
3850
3851 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
3852
3853 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
3854 values to be assigned to the stack pointer.
3855
3856 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
3857
3858 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
3859 to const_double needs to be done right for big-endian systems.
3860
3861 2002-01-24 Jason Merrill <jason@redhat.com>
3862
3863 PR c++/2432
3864 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
3865 to can_throw_internal.
3866
3867 2002-01-23 Richard Henderson <rth@redhat.com>
3868
3869 * fold-const.c (fold): Change UINT_MAX test to check vs precision
3870 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
3871
3872 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3873
3874 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
3875 (symGOT2reg): Use them, then set as GOT value as unchanging.
3876 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
3877 as a temporary, if possible.
3878 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
3879 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
3880
3881 2002-01-23 Kazu Hirata <kazu@hxi.com>
3882
3883 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
3884 accept to accept 0x80 as operands[2].
3885
3886 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3887
3888 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
3889
3890 2002-01-23 Richard Henderson <rth@redhat.com>
3891
3892 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
3893
3894 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
3895
3896 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
3897 (parmlist_or_identifiers_1): Verify that only a parmlist follows
3898 an attribute.
3899
3900 2002-01-23 Richard Henderson <rth@redhat.com>
3901
3902 * expr.c (move_by_pieces_1): Extend size before negation.
3903
3904 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
3905 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
3906 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
3907 * config/m68k/t-m68kelf: Likewise.
3908
3909 2002-01-23 Bob Wilson <bob.wilson@acm.org>
3910
3911 * config/xtensa/elf.h: New file.
3912 * config/xtensa/lib1funcs.asm: New file.
3913 * config/xtensa/lib2funcs.S: New file.
3914 * config/xtensa/linux.h: New file.
3915 * config/xtensa/t-xtensa: New file.
3916 * config/xtensa/xtensa-config.h: New file.
3917 * config/xtensa/xtensa-protos.h: New file.
3918 * config/xtensa/xtensa.c: New file.
3919 * config/xtensa/xtensa.h: New file.
3920 * config/xtensa/xtensa.md: New file.
3921 * config.gcc (xtensa-*-elf*): New target.
3922 (xtensa-*-linux*): New target.
3923 * cse.c (canon_hash): Compare rtx pointers instead of register
3924 numbers. This is required for the Xtensa port.
3925 * integrate.c (copy_insn_list): Handle case where the static
3926 chain is in memory and the memory address has to be copied to
3927 a register.
3928 * doc/invoke.texi (Option Summary): Add Xtensa options.
3929 (Xtensa Options): New node.
3930 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
3931
3932 2002-01-23 Zack Weinberg <zack@codesourcery.com>
3933
3934 * diagnostic.c (internal_error): Do ICE suppression only
3935 when ENABLE_CHECKING is not defined.
3936
3937 * c-typeck.c (require_complete_type): Return error_mark_node
3938 if type is error_mark_node.
3939
3940 2002-01-23 Janis Johnson <janis187@us.ibm.com>
3941
3942 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
3943 -Os and issue a warning.
3944
3945 2002-01-23 Zack Weinberg <zack@codesourcery.com>
3946
3947 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
3948 current (lack of) need for host configuration by hand.
3949
3950 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
3951 references. Documentation of some target macros moved from
3952 hostconfig.texi to tm.texi.
3953
3954 2002-01-23 Will Cohen <wcohen@redhat.com>
3955
3956 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
3957 defined.
3958
3959 2002-01-23 Kazu Hirata <kazu@hxi.com>
3960
3961 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
3962 operand[3].
3963
3964 2002-01-23 Jason Merrill <jason@redhat.com>
3965
3966 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
3967
3968 * function.c (assign_parms): Don't put args of inline functions
3969 into registers when not optimizing.
3970
3971 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
3972
3973 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
3974 (prologue_use): New pattern.
3975 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
3976 preference to gen_rtx_USE.
3977 (thumb_expand_prologue): Use gen_prologue_use in preference to
3978 gen_rtx_USE.
3979 (thumb_expand_epilogue): Use gen_prologue_use in preference to
3980 gen_rtx_USE.
3981
3982 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
3983
3984 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
3985
3986 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
3987
3988 PR c/3504
3989 * doc/extend.texi: Correct documentation of __alignof__.
3990
3991 2002-01-22 Zack Weinberg <zack@codesourcery.com>
3992
3993 * params.h: Rename arguments of DEFPARAM so that it will be
3994 recognized as a translation keyword.
3995
3996 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
3997
3998 * extend.texi: Document altivec functions.
3999 Fix N-bit adjectives in X86 builtin documentation.
4000
4001 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
4002
4003 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
4004 auto_inc_dec values.
4005
4006 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
4007
4008 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
4009 after backslash.
4010 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
4011
4012 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
4013
4014 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
4015
4016 2002-01-22 Richard Henderson <rth@redhat.com>
4017
4018 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
4019 copy_insn not copy_rtx.
4020
4021 2002-01-23 Alan Modra <amodra@bigpond.net.au>
4022
4023 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
4024 "nonzero" as that might add "1" bits. Ensure "constop" is
4025 properly sign extened.
4026 (force_to_mode): Tweak for sign extended constop.
4027
4028 2002-01-22 Richard Henderson <rth@redhat.com>
4029
4030 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
4031 for_each_rtx instead of assuming we're already looking at the MEM.
4032 (split_small_symbolic_mem_operand): Likewise.
4033 * config/alpha/alpha.h (PREDICATE_CODES): Update.
4034 * config/alpha/alpha.md (small symbolic memory splitters): Update.
4035
4036 2002-01-22 Richard Henderson <rth@redhat.com>
4037
4038 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
4039 sequence number for the literal.
4040 (divmoddi_internal_er): Likewise.
4041
4042 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
4043
4044 PR java/4972
4045 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
4046 in LIBICONV variable.
4047 * configure: Regenerated.
4048
4049 2002-01-22 Krister Walfridsson <cato@df.lth.se>
4050
4051 * dependence.c (build_def_use): Remove array_idx.
4052
4053 * dwarfout.c (last_filename): Remove.
4054 (output_compile_unit_die): Remove last_filename.
4055
4056 2002-01-22 Roger Sayle <roger@eyesopen.com>
4057 Richard Henderson <rth@redhat.com>
4058
4059 PR opt/3640
4060 * fold-const.c (fold): Optimize unsigned comparisons against
4061 UINT_MAX (and similar unsigned constants).
4062
4063 2002-01-22 Janis Johnson <janis187@us.ibm.com>
4064
4065 * Makefile.in (loop.o): Depend on OPTABS_H.
4066 * loop.c (emit_prefetch_instructions): Check the prefetch operand
4067 against the predicate.
4068
4069 PR target/5379
4070 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
4071 for the address operand.
4072
4073 2002-01-22 Richard Henderson <rth@redhat.com>
4074
4075 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
4076
4077 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
4078
4079 PR other/5450
4080 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
4081 preprocessor flags.
4082
4083 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
4084
4085 * config.gcc (x86_64-*-netbsd*): New target.
4086 * config/i386/netbsd64.h: New file.
4087
4088 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
4089
4090 * regrename.c (kill_value): Fix typo.
4091
4092 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
4093
4094 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
4095
4096 * config/rs6000/rs6000.h: Same.
4097
4098 * function.c (instantiate_virtual_regs): Remove
4099 STARTING_FRAME_PHASE.
4100 (assign_stack_local_1): Same.
4101 Calculate frame phase.
4102
4103 2002-01-22 Nick Clifton <nickc@redhat.com>
4104
4105 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
4106 variable declaration to outer scope in order to simplify
4107 future extensions.
4108 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
4109 arm_hard_regno_mode_ok.
4110 * config/arm/arm-protos.h: Add a prototype for
4111 arm_hard_regno_mode_ok.
4112 * config/arm/arm.c (soft_df_operand): Remove now redundant
4113 check for DImode values using IP_REGNUM.
4114 (nonimmediate_soft_df_operand): Remove now redundant check for
4115 DImode values using IP_REGNUM.
4116 (arm_hard_regno_mode_ok): New function. New check: make sure
4117 that DImode values are not stored in IP_REGNUM.
4118
4119 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
4120 note with a USE.
4121 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
4122
4123 2002-01-22 Jason Merrill <jason@redhat.com>
4124
4125 * c-semantics.c (genrtl_compound_stmt): Only check nesting
4126 consistency if this COMPOUND_STMT is scoped.
4127
4128 2002-01-22 Kazu Hirata <kazu@hxi.com>
4129
4130 * predict.c: Fix formatting.
4131 * print-tree.c: Likewise.
4132 * protoize.c: Likewise.
4133 * real.h: Likewise.
4134 * rtl.h: Likewise.
4135 * sbitmap.h: Likewise.
4136 * scan.c: Likewise.
4137 * sched-deps.c: Likewise.
4138 * sched-vis.c: Likewise.
4139 * sdbout.c: Likewise.
4140 * sibcall.c: Likewise.
4141 * ssa.c: Likewise.
4142 * ssa-ccp.c: Likewise.
4143 * ssa-dce.c: Likewise.
4144 * stmt.c: Likewise.
4145 * stor-layout.c: Likewise.
4146 * system.h: Likewise.
4147
4148 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4149
4150 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
4151 if fits in bounds of base type.
4152
4153 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
4154 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
4155 (add_bound_info, default): If can't find a context, make a
4156 SAVE_EXPR.
4157 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
4158
4159 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
4160
4161 * c-typeck.c (parser_build_binary_op): If result from
4162 build_binary_op is ERROR_MARK just return error_mark_node without
4163 further processing.
4164
4165 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
4166
4167 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
4168 Split a.out-specific bits into...
4169 * config/netbsd-aout.h: ...this.
4170 * config/netbsd-elf.h: New file.
4171 * config/alpha/netbsd-elf.h: Remove.
4172 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
4173 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
4174 (STARTFILE_SPEC): Remove redundant definition.
4175 (ENDFILE_SPEC): Likewise.
4176 (LINK_SPEC): Likewise.
4177 (CPP_SPEC): Likewise.
4178 (ASM_SPEC): Likewise.
4179 (LIB_SPEC): Likewise.
4180 (SWITCH_TAKES_ARG): Likewise.
4181 (TARGET_MEM_FUNCTIONS): Likewise.
4182 (CPP_PREDEFINES): Redefine.
4183 (ASM_FINAL_SPEC): Remove redefinition.
4184 (ASM_COMMENT_START): Redefine.
4185 (FUNCTION_PROFILER): Define.
4186 (TARGET_VERSION): Redefine.
4187 Comment and formatting cleanup.
4188 * config/i386/netbsd.h: Include <netbsd-aout.h>.
4189 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
4190 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
4191 big- or little-endian.
4192 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
4193 * config.gcc (*-*-netbsd*): Add definitions common to all
4194 NetBSD configs.
4195 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
4196 gnu_ld definitions. Add netbsd-elf.h to and remove
4197 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
4198 tmake_file, and don't lose previous tmake_file contents.
4199 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
4200 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
4201 gnu_ld definitions. Add netbsd-elf.h to tm_file.
4202 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
4203 (mipsel-*-netbsd*): Rename this to...
4204 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
4205 mips/little.h to tm_file for mips*el-*.
4206 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
4207 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
4208 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
4209
4210 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
4211
4212 * pa-protos.h (reg_before_reload_operand): New function prototype.
4213 * pa.c (reg_before_reload_operand): New function implementation.
4214 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
4215 contraints to "*m".
4216
4217 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4218
4219 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
4220
4221 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
4222
4223 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
4224 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
4225 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
4226 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
4227 (ENDFILE_SPEC): Undefine.
4228 (STARTFILE_SPEC): Redefine for PA.
4229
4230 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4231
4232 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
4233
4234 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
4235
4236 * config.gcc: Add entries to supported PowerPC --with-cpu
4237 types.
4238
4239 2002-01-21 Jakub Jelinek <jakub@redhat.com>
4240
4241 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
4242 true for 64-bit mode only SSE registers in 32-bit mode.
4243
4244 2002-01-21 Kazu Hirata <kazu@hxi.com>
4245
4246 * unwind-dw2.c: Fix formatting.
4247 * unwind-dw2-fde.c: Likewise.
4248 * unwind-dw2-fde.h: Likewise.
4249 * unwind-pe.h: Likewise.
4250 * varasm.c: Likewise.
4251 * varray.h: Likewise.
4252
4253 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
4254
4255 Remove workaround for register stack overwrite bug in mmix.
4256 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
4257 support for TARGET_REG_STACK_FILL_BUG.
4258 * config/mmix/mmix.h: Remove member has_call_without_parameters.
4259 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
4260 Delete.
4261 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
4262 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
4263 -mno-reg-stack-fill-bug-workaround.
4264 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
4265 machine member has_call_without_parameters.
4266 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
4267 -mreg-stack-fill-bug-workaround and
4268 -mno-reg-stack-fill-bug-workaround.
4269 (MMIX Options): Ditto.
4270
4271 2002-01-21 Kazu Hirata <kazu@hxi.com>
4272
4273 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
4274 as appropriate.
4275 Remove redundant code.
4276
4277 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
4278
4279 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
4280 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
4281 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
4282 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
4283 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
4284 out target macro definitions and non-target-specific comments
4285 mostly taken from old versions of the manual.
4286
4287 2002-01-20 Kazu Hirata <kazu@hxi.com>
4288
4289 * config/h8300/h8300.h: Fix comment formatting.
4290 * config/ia64/aix.h: Likewise.
4291 * config/ia64/ia64-protos.h: Likewise.
4292 * config/ia64/ia64.c: Likewise.
4293 * config/ia64/ia64.h: Likewise.
4294 * config/ia64/ia64intrin.h: Likewise.
4295 * config/ia64/linux.h: Likewise.
4296 * config/ia64/unwind-aix.c: Likewise.
4297 * config/ia64/unwind-ia64.c: Likewise.
4298
4299 2002-01-20 Kazu Hirata <kazu@hxi.com>
4300
4301 * config/h8300/h8300.c: Revise comments about shift code.
4302
4303 2002-01-20 Kazu Hirata <kazu@hxi.com>
4304
4305 * config/h8300/h8300.c (function_arg): Update a comment.
4306
4307 2002-01-20 Kazu Hirata <kazu@hxi.com>
4308
4309 * config/h8300/h8300.md: Update the comments at the beginning
4310 of the file.
4311
4312 2002-01-20 Kazu Hirata <kazu@hxi.com>
4313
4314 * config/i370/i370.c: Fix comment formatting.
4315 * config/i370/i370.h: Likewise.
4316 * config/i370/i370.md: Likewise.
4317 * config/i370/linux.h: Likewise.
4318
4319 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4320
4321 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
4322
4323 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
4324 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
4325 in incomplete case.
4326
4327 2002-01-20 Graham Stott <grahams@redhat.com>
4328
4329 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
4330
4331 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
4332
4333 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
4334
4335 2002-01-19 Tom Rix <trix@redhat.com>
4336
4337 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
4338
4339 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
4340
4341 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
4342
4343 * function.c (assign_stack_local_1): Adjust x_frame_offset with
4344 STARTING_FRAME_PHASE.
4345 (STARTING_FRAME_PHASE): New.
4346 (instantiate_virtual_regs): Check saneness of
4347 STARTING_FRAME_PHASE.
4348
4349 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
4350
4351 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
4352
4353 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
4354
4355 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4356
4357 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
4358 be used for bootstrapping GCC 3.0.
4359
4360 2002-01-18 Kazu Hirata <kazu@hxi.com>
4361
4362 * config/h8300/h8300.md: Fix an insn length.
4363
4364 2002-01-18 Kazu Hirata <kazu@hxi.com>
4365
4366 * bitmap.h: Fix comment formatting.
4367 * combine.c: Likewise.
4368 * cppfiles.c: Likewise.
4369 * c-pragma.h: Likewise.
4370 * c-typeck.c: Likewise.
4371 * df.c: Likewise.
4372 * dwarf2out.c: Likewise.
4373 * function.c: Likewise.
4374 * gcc.c: Likewise.
4375 * genattrtab.c: Likewise.
4376 * gthr-win32.h: Likewise.
4377 * haifa-sched.c: Likewise.
4378 * predict.c: Likewise.
4379 * rtlanal.c: Likewise.
4380 * rtl.h: Likewise.
4381 * unwind-dw2-fde.h: Likewise.
4382 * unwind-pe.h: Likewise.
4383 * vmsdbgout.c: Likewise.
4384
4385 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4386
4387 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
4388 if type_required and passed decl.
4389
4390 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
4391
4392 * config.gcc (cpu_type): Include altivec.h in powerpc
4393 extra_headers.
4394 Same for darwin.
4395
4396 * config/rs6000/altivec.h: New.
4397
4398 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4399
4400 * doc/install.texi (*-ibm-aix*): Update assembler and exception
4401 handling information.
4402 * doc/trouble.texi (Interoperation): Add libstdc++ information
4403 for AIX.
4404 (Misunderstandings): Add template instantiation and static template
4405 member information for AIX.
4406
4407 2002-01-17 Jason Merrill <jason@redhat.com>
4408
4409 * dbxout.c (dbxout_type): Support const and volatile.
4410
4411 * except.c (add_partial_entry): Remove backwards compatibility code.
4412 (end_protect_partials): Likewise.
4413
4414 2002-01-17 Jakub Jelinek <jakub@redhat.com>
4415
4416 * config/ia64/ia64.md (prologue_use): New.
4417 * config/ia64/ia64.c (ia64_expand_prologue): Use
4418 gen_prologue_use instead of gen_rtx_USE.
4419 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
4420 as CODE_FOR_pred_rel_mutex.
4421 (ia64_sched_reorder2): Likewise.
4422
4423 2002-01-16 Eric Christopher <echristo@redhat.com>
4424
4425 * config/mips/r3900.h: Reformat.
4426 (SUBTARGET_CPP_SIZE_SPEC): Remove.
4427 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
4428 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
4429 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
4430 * config/mips/t-elf: Remove mips3 multilib.
4431
4432 2002-01-16 H.J. Lu <hjl@gnu.org>
4433
4434 * config/mips/linux.h: Include "mips/abi64.h".
4435
4436 2002-01-16 H.J. Lu <hjl@gnu.org>
4437
4438 * config/mips/t-linux: New.
4439
4440 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
4441
4442 * config/mips/linux.h: Don't include "gofast.h".
4443 (INIT_SUBTARGET_OPTABS): Removed.
4444
4445 2002-01-16 Kazu Hirata <kazu@hxi.com>
4446
4447 * config/h8300/h8300-protos.h: Replace emit_a_shift with
4448 output_a_shift.
4449 * config/h8300/h8300.c: Likewise.
4450 * config/h8300/h8300.md: Likewise.
4451
4452 2002-01-16 Kazu Hirata <kazu@hxi.com>
4453
4454 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
4455 spaces after an opcode name.
4456 (pushqi1_h8300hs): Likewise.
4457 (pushhi1_h8300hs): Likewise.
4458
4459 2002-01-16 Kazu Hirata <kazu@hxi.com>
4460
4461 * doc/extend.texi: Replace "option" with "attribute"
4462 appropriately.
4463
4464 2002-01-16 Jakub Jelinek <jakub@redhat.com>
4465
4466 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
4467 (and:DI () (const_int -8)).
4468 (split_small_symbolic_mem_operand): Split
4469 (mem (and:DI () (const_int -8)).
4470
4471 2002-01-16 Jakub Jelinek <jakub@redhat.com>
4472
4473 PR target/5309:
4474 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
4475 same way as TYPE_IMUL.
4476 (ultrasparc_sched_reorder): Likewise.
4477 * config/sparc/sparc.md (type): Add comment to update
4478 ultrasparc_sched_reorder when making changes.
4479
4480 2002-01-16 Kazu Hirata <kazu@hxi.com>
4481
4482 * doc/invoke.texi: Change the dump file name of block
4483 reordering pass from 28.bbro to 29.bbro.
4484 Mention -dk option.
4485
4486 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
4487
4488 * i386.md (minsf splitter): Fix pasto.
4489
4490 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4491
4492 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
4493 to frame pointer initialisation instruction.
4494 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
4495 initialisation instruction.
4496 (soft_df_operand): Do not accept the IP register.
4497 (nonimmediate_soft_df_operand): Do not accept the IP register.
4498
4499 2002-01-16 Jakub Jelinek <jakub@redhat.com>
4500
4501 PR target/5357:
4502 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
4503 MASK_V8 being both set.
4504
4505 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
4506
4507 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
4508 insn for GOT register; add REG_MAYBE_DEAD notes instead.
4509 config/s390/s390.md (call, call_value): Add GOT register to
4510 CALL_INSN_FUNCTION_USAGE where needed.
4511 (call_exp, call_value_exp): New.
4512
4513 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4514
4515 * config/arm/arm.c: General formatting tidy up.
4516
4517 2002-01-16 Graham Stott <grahams@redhat.com>
4518
4519 * calls.c (try_to_integrate): Use "(size_t)" intermediate
4520 cast and when casting an integer literal to "rtx" pointer.
4521 (expand_call): Likewise.
4522 * flow.c (try_pre_increment): Likewise.
4523 (find_use_as_address): Likewise.
4524 * integrate.c (expand_iline_function): Likewise.
4525 * regmove.c (try_auto_increment): Likewise.
4526
4527 2002-01-16 Graham Stott <grahams@redhat.com>
4528
4529 * sched-rgn.c (passed): Use sbitmap_free.
4530 (header): Likewise.
4531 (inner): Likewise.
4532 (in_queue): Likewise.
4533 (in_stack): Likewise.
4534
4535 2002-01-15 Eric Christopher <echristo@redhat.com>
4536
4537 * flow.c (propagate_one_insn): Change to use fatal_insn.
4538
4539 2002-01-15 Kazu Hirata <kazu@hxi.com>
4540
4541 * expmed.c (extract_fixed_bit_field): Remove unused code.
4542 * system.h: Poison SLOW_ZERO_EXTEND.
4543 * doc/tm.texi: Remove.
4544 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
4545 * config/arm/arm.h: Likewise.
4546 * config/avr/avr.h: Likewise.
4547 * config/clipper/clipper.h: Likewise.
4548 * config/convex/convex.h: Likewise.
4549 * config/d30v/d30v.h: Likewise.
4550 * config/dsp16xx/dsp16xx.h: Likewise.
4551 * config/elxsi/elxsi.h: Likewise.
4552 * config/fr30/fr30.h: Likewise.
4553 * config/h8300/h8300.h: Likewise.
4554 * config/i370/i370.h: Likewise.
4555 * config/i386/i386.h: Likewise.
4556 * config/m68k/m68k.h: Likewise.
4557 * config/mips/mips.h: Likewise.
4558 * config/ns32k/ns32k.h: Likewise.
4559 * config/pdp11/pdp11.h: Likewise.
4560 * config/pj/pj.h: Likewise.
4561 * config/s390/s390.h: Likewise.
4562 * config/sh/sh.h: Likewise.
4563 * config/stormy16/stormy16.h: Likewise.
4564 * config/v850/v850.h: Likewise.
4565 * config/vax/vax.h: Likewise.
4566 * config/we32k/we32k.h: Likewise.
4567
4568 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
4569
4570 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
4571 (altivec_lvsl): Change constraint to b.
4572 (altivec_lvsr): Same.
4573 (altivec_lvebx): Same.
4574 (altivec_lvehx): Same.
4575 (altivec_lvewx): Same.
4576 (altivec_lvxl): Same.
4577 (altivec_lvx): Same.
4578 (altivec_stvx): Add parallel.
4579 (altivec_stvxl): Same.
4580 (altivec_stvehx): Same.
4581 (altivec_stvebx): Same.
4582 (altivec_stvebx): Same.
4583
4584 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
4585
4586 * config.gcc: Change altivec.h to altivec-defs.h.
4587
4588 * config/rs6000/altivec.h: Delete.
4589
4590 * config/rs6000/altivec-defs.h: Add.
4591
4592 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4593
4594 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
4595 and UMOD modes.
4596
4597 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
4598 less than or equal to eight bytes.
4599
4600 * vax.md (andsi3): Remove constraints and change SET destination
4601 operand type to nonimmediate_operand.
4602 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
4603 when it is a CONST_INT.
4604
4605 2002-01-15 Jason Merrill <jason@redhat.com>
4606
4607 * c-common.def (FILE_STMT): New code.
4608 * c-common.c (statement_code_p): It's a statement.
4609 * c-common.h (stmt_tree_s): Add x_last_filename.
4610 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
4611 (last_expr_filename): New macro.
4612 * c-semantics.c (begin_stmt_tree): Initialize it.
4613 (add_stmt): If the filename changed, also insert a
4614 FILE_STMT.
4615 (expand_stmt): Handle seeing one.
4616
4617 2002-01-15 Eric Christopher <echristo@redhat.com>
4618
4619 * flow.c (propagate_one_insn): Add error message and print out
4620 insn for debugging.
4621
4622 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4623
4624 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
4625 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
4626 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
4627 TRAMPOLINE_ALIGNMENT.
4628 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
4629 to be in bits.
4630 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
4631 PCC_BITFIELD_TYPE_MATTERS.
4632 * config/interix.h (STDC_VALUE): Remove. Use
4633 STDC_0_IN_SYSTEM_HEADERS.
4634 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
4635 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
4636 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
4637
4638 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
4639
4640 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
4641 not work on this platform currently.
4642
4643 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4644
4645 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
4646 readonly_warning in _().
4647
4648 2002-01-15 Douglas B Rupp <rupp@gnat.com>
4649
4650 * gcc.c (delete_if_ordinary): Backout previous change.
4651
4652 2002-01-15 Kazu Hirata <kazu@hxi.com>
4653
4654 * config/h8300/h8300.c (print_operand): Remove support for
4655 unused operand characters.
4656
4657 * read-rtl.c: Fix formatting.
4658 * real.c: Likewise.
4659 * recog.c: Likewise.
4660 * regclass.c: Likewise.
4661 * regmove.c: Likewise.
4662 * reg-stack.c: Likewise.
4663 * reload1.c: Likewise.
4664 * rtlanal.c: Likewise.
4665
4666 2002-01-15 Kazu Hirata <kazu@hxi.com>
4667
4668 * config/i386/i386.c: Fix formatting.
4669
4670 2002-01-15 Jakub Jelinek <jakub@redhat.com>
4671
4672 * c-typeck.c (process_init_element): Don't save_expr
4673 COMPOUND_LITERAL_EXPR if just its initializer will be used.
4674
4675 2002-01-15 David Edelsohn <edelsohn@gnu.org>
4676
4677 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
4678 emit optional traceback table if optimize_size or TARGET_ELF.
4679 * config/rs6000/rs6000.md (prefetch): New.
4680
4681 2002-01-15 Andreas Jaeger <aj@suse.de>
4682
4683 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
4684
4685 2002-01-15 Kazu Hirata <kazu@hxi.com>
4686
4687 * mips-tfile.c: Fix formatting.
4688
4689 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
4690
4691 * unroll.c (final_reg_note_copy): Fix previous commit.
4692
4693 2002-01-14 Kazu Hirata <kazu@hxi.com>
4694
4695 * config/h8300/h8300-protos.h: Remove the prototype for
4696 eq_operator.
4697 * config/h8300/h8300.c (eq_operator): Remove.
4698
4699 2002-01-14 Richard Henderson <rth@redhat.com>
4700
4701 * config/i386/i386.md (prefetch): Tidy.
4702 (prefetch_3dnow): Fix locality operand.
4703
4704 2002-01-14 Richard Henderson <rth@redhat.com>
4705
4706 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
4707 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
4708
4709 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
4710
4711 * reload1.c (reload_combine): Pass reg_sum replacement through
4712 copy_rtx in loop performing multiple changes.
4713
4714 2002-01-14 Jakub Jelinek <jakub@redhat.com>
4715
4716 * except.c (remove_unreachable_regions): New.
4717 (free_eh_status): Clear exception_handler_labels.
4718 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
4719 (find_exception_handler_labels): Don't add the same label more than
4720 once.
4721 (remove_exception_handler_label): Don't die if
4722 find_exception_handler_labels hasn't been called for the current
4723 function yet.
4724
4725 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
4726
4727 * toplev.c (rest_of_compilation): Rebuild jump labels after
4728 gcse.
4729
4730 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
4731
4732 * doc/extend.texi: Move documentation of X86 built-in functions
4733 here.
4734 * doc/invoke.texi: From here.
4735 * doc/sourcebuild.texi: Document location of documentation for
4736 machine built-in functions.
4737
4738 2002-01-13 Christopher Faylor <cgf@redhat.com>
4739
4740 * cppfiles.c (TEST_THRESHOLD): New macro.
4741 (SHOULD_MMAP): Ditto.
4742 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
4743 be used.
4744
4745 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
4746
4747 * unroll.c (final_reg_note_copy): Properly handle
4748 REG_LABEL
4749 (unroll_loops): Fix LOOP_CONDITION heuristics.
4750
4751 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
4752
4753 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
4754 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
4755
4756 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
4757
4758 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
4759 threaded loop.
4760
4761 2002-01-14 Tom Rix <trix@redhat.com>
4762
4763 * config/rs6000/rs6000.md: Fix typo with sradi.
4764
4765 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
4766
4767 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
4768 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
4769 (clrstrdi, clrstrsi): Adapt callers.
4770
4771 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
4772
4773 (movti splitter): Never use register 0 as base register.
4774
4775 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
4776
4777 * combine.c (simplify_shift_const): Always generate new rtx
4778 for shift expression instead of reusing given expression.
4779
4780 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4781
4782 * config/alpha/alpha.c (alpha_expand_mov): Don't call
4783 alpha_legitimize_address unless mode is Pmode.
4784
4785 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
4786
4787 * doc/md.texi (Modifiers): Document the '*' constraint for the
4788 user.
4789
4790 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
4791 * doc/extend.texi (Function Attributes): 'interrupt' is valid
4792 for xstormy16 too.
4793
4794 2002-01-13 Richard Henderson <rth@redhat.com>
4795
4796 * reload.c (find_reloads): Use a hard reg destination as reload reg
4797 for an input reload of the source.
4798
4799 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4800
4801 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
4802 more generic.
4803
4804 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
4805
4806 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4807 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
4808
4809 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
4810
4811 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4812
4813 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
4814
4815 2002-01-12 Tom Rix <trix@redhat.com>
4816
4817 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
4818 TARGET_POWERPC64.
4819
4820 2002-01-12 Richard Henderson <rth@redhat.com>
4821
4822 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
4823
4824 * doc/invoke.texi: Update Alpha options.
4825
4826 * doc/invoke.texi: Update i386 built-in function lists.
4827
4828 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
4829
4830 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
4831 referencing outside.
4832
4833 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4834
4835 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
4836 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
4837 offsets, and change line folding.
4838 * optabs.c (expand_binop): Remove warnings.
4839 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
4840
4841 2002-01-12 Graham Stott <grahams@redhat.com>
4842
4843 * attribs.c (handle_deprecated_attribute): constify WHAT.
4844 * diagnostic.c (warn_deprecated_use): Add braces, fixes
4845 dangling else warning and constify WHAT.
4846 * except.h (struct function, struct inline_remap): Move
4847 struct tag forward defs before all prototypes.
4848 (duplicate_eh_regions): Whitespace.
4849
4850 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
4851
4852 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
4853 MODE_BASE_REG_CLASS.
4854 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
4855
4856 2002-01-12 Richard Henderson <rth@redhat.com>
4857
4858 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
4859 (ix86_expand_vector_move): New.
4860 (bdesc_2arg): Remove andps, andnps, orps, xorps.
4861 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
4862 Remove old prefetch builtins. Special case the logicals removed above.
4863 (ix86_expand_builtin): Likewise.
4864 (safe_vector_operand): Use V4SFmode, not TImode.
4865 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
4866 (ix86_expand_timode_binop_builtin): New.
4867 * config/i386/i386-protos.h: Update.
4868 * config/i386/i386.h (enum ix86_builtins): Update.
4869 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
4870 Use ix86_expand_vector_move in vector move expanders.
4871 (movti_internal, movti_rex64): Add xorps alternative.
4872 (sse_clrv4sf): Rename and adjust from sse_clrti.
4873 (prefetch): Don't work so hard.
4874 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
4875 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
4876 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
4877
4878 2002-01-11 Richard Henderson <rth@redhat.com>
4879
4880 * config/i386/mmintrin.h: New file.
4881 * config/i386/xmmintrin.h: New file.
4882 * config.gcc (i?86-*-*): Add extra_headers.
4883 * simplify-rtx.c (simplify_unary_operation): Handle saturating
4884 truncation codes.
4885 (simplify_binary_operation): Handle saturating arithmetic codes.
4886 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
4887 not the lowpart subreg.
4888 (ix86_expand_builtin): Return a TImode dummy register instead of 0
4889 on error.
4890 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
4891
4892 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4893
4894 * conflict.c (conflict_graph_compute): Free regsets when finished.
4895 * ssa.c (compute_coalesced_reg_partition): Likewise.
4896
4897 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4898
4899 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
4900 every where we allocate a register.
4901
4902 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4903
4904 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
4905 * lcm.c (compute_earliest, compute_farthest): Likewise.
4906
4907 2002-01-11 Janis Johnson <janis187@us.ibm.com>
4908
4909 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
4910
4911 2002-01-11 Janis Johnson <janis187@us.ibm.com>
4912
4913 * doc/rtl.texi (Insns): Fix 2 typos.
4914
4915 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4916
4917 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
4918 options. Use @table @gcctabopt for MMIX options. Add index
4919 entries for MMIX options. Start new paragraph with first
4920 heading of the machine-dependent options.
4921
4922 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
4923
4924 PR other/5299
4925 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
4926 * combine.c (force_to_mode): Same.
4927 * reload1.c (clear_reload_reg_in_use): Same.
4928
4929 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
4930
4931 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
4932 and 'subtargets'.
4933
4934 2002-01-11 Andreas Jaeger <aj@suse.de>,
4935 Brad Lucier <lucier@math.purdue.edu>
4936
4937 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
4938 mcpu.
4939
4940 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
4941
4942 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
4943 Protect with IN_LIBGCC.
4944 (LINK_EH_SPEC): Add required trailing space.
4945
4946 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
4947
4948 * c-tree.h: Move function declarations so that they are listed
4949 under the filename which contains them.
4950 (check_identifier, finish_decl_top_level,
4951 lookup_name_current_level_global, shadow_record_fields): Remove.
4952
4953 2002-01-11 Andreas Jaeger <aj@suse.de>
4954
4955 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
4956 march.
4957
4958 2002-01-10 Richard Henderson <rth@redhat.com>
4959
4960 * config/alpha/alpha.c (print_operand): Add 'J'.
4961 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
4962 new operand with the sequence number for the lituse. When splitting
4963 the insns, use gen_movdi_er_high_g and generate a sequence number.
4964 (gen_movdi_er_high_g): Print the sequence number if non-zero.
4965
4966 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
4967
4968 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
4969 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
4970 stvxl.
4971 (altivec_expand_builtin): Same.
4972 (altivec_expand_stv_builtin): New.
4973
4974 * config/rs6000/rs6000.h (rs6000_builtins): Same.
4975
4976 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
4977 ("altivec_lvehx"): New.
4978 ("altivec_lvewx"): New.
4979 ("altivec_lvxl"): New.
4980 ("altivec_lvx"): New.
4981 ("altivec_stvx"): New.
4982 ("altivec_stvebx"): New.
4983 ("altivec_stvehx"): New.
4984 ("altivec_stvewx"): New.
4985 ("altivec_stvxl"): New.
4986
4987 2002-01-10 Richard Henderson <rth@redhat.com>
4988
4989 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
4990 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
4991 care not to delete instructions twice.
4992
4993 2002-01-10 Zack Weinberg <zack@codesourcery.com>
4994
4995 * toplev.c: Don't declare environ (it's not used anywhere).
4996 * configure.in: Don't check for declaration of environ.
4997 * config/i386/xm-mingw32.h: Don't #define environ.
4998 * config.in, configure: Regenerate.
4999
5000 2002-01-10 Zack Weinberg <zack@codesourcery.com>
5001
5002 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
5003 * configure: Regenerate.
5004
5005 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
5006 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
5007 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
5008 alpha/xm-vms.h.
5009 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
5010 LIMITS_H_TEST here, not in m68k/x-next.
5011 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
5012 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
5013
5014 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
5015 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
5016 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
5017
5018 * config/i386/x-djgpp: Renamed i386/t-djgpp.
5019 * config/m88k/x-dolph: Renamed m88k/t-dolph.
5020 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
5021 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
5022 replacement of quadlib.asm with quadlib.c.
5023
5024 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
5025 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
5026 config/rs6000/xm-beos.h: Delete file.
5027
5028 * config.gcc: Update to match above changes.
5029
5030 2002-01-10 Kazu Hirata <kazu@hxi.com>
5031
5032 * config/h8300/h8300.h: Fix comment typos.
5033 * config/h8300/h8300.md: Likewise.
5034 * config/h8300/lib1funcs.asm: Likewise.
5035
5036 2002-01-10 Dale Johannesen <dalej@apple.com>
5037
5038 PR optimization/5269
5039 * unroll.c (precondition_loop_p): Make *increment be the correct
5040 sign when n_iterations known, to avoid confusing caller.
5041
5042 2002-01-10 Kazu Hirata <kazu@hxi.com>
5043
5044 * doc/extend.texi (deprecated): Fix a typo.
5045
5046 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
5047
5048 * basic-block.h (update_br_prob_note): Declare.
5049 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
5050 (try_forward_edges): Care negative frequencies and update note.
5051 (outgoing_edges_match): Tweek conditional merging heuristics.
5052 (try_crossjump_to_edge): use update_br_prob_note.
5053 * cfglayout.c (fixup_reorder_chain): Likewise.
5054 * cfrtl.c (update_br_prob_note): New.
5055 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
5056
5057 * i386.c (ix86_decompose_address): Return -1 if address contains
5058 shift.
5059 (legitimate_address_p): Require ix86_decompose_address to return 1.
5060
5061 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
5062 (cprop_insn): Likewise.
5063
5064 2002-01-10 Kazu Hirata <kazu@hxi.com>
5065
5066 * toplev.c: Fix formatting.
5067 * tree.c: Likewise.
5068 * tree-dump.c: Likewise.
5069 * unroll.c: Likewise.
5070 * unwind-dw2.c: Likewise.
5071 * unwind-dw2-fde.c: Likewise.
5072 * unwind-dw2-fde-glibc.c: Likewise.
5073 * unwind-sjlj.c: Likewise.
5074
5075 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5076
5077 * doc/invoke.texi: Document PDP-11 options.
5078
5079 2002-01-10 Kazu Hirata <kazu@hxi.com>
5080
5081 * config/h8300/h8300.h: Fix formatting.
5082
5083 2002-01-10 Ira Ruben <ira@apple.com>
5084
5085 Add __attribute__ ((deprecated)).
5086 * extend.texi: Document __attribute__ ((deprecated)).
5087 * invoke.texi: Document -Wno-deprecated-declarations.
5088 * testsuite/g++.dg/other/deprecated.C: New C++ test.
5089 * testsuite/gcc.dg/deprecated.c: New C test.
5090 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
5091 (c_common_attribute_table): Add "deprecated" entry.
5092 (handle_deprecated_attribute): New function.
5093 * c-decl.c (deprecated_states): New enum.
5094 deprecated_state: State of "deprecated" handling.
5095 (start_decl): Set deprecated_state based on attributes.
5096 (grokdeclarator): Test for deprecated uses, propagate attribute.
5097 * c-typeck.c (build_component_ref): Test for deprecated fields.
5098 (build_external_ref): Test for deprecated primaries.
5099 * diagnostic.c (warn_deprecated_use) New function to issue
5100 warnings about __attribute__ ((depricated)) references.
5101 * flags.h (warn_deprecated_decl): Extern declared for
5102 -W[no-]deprecated-declarations option.
5103 * print-tree.c (print_node): Show deprecated flag status.
5104 * toplev.c (warn_deprecated_decl): Defined.
5105 (W_options): Added "deprecated-declaration".
5106 * toplev.h (warn_deprecated_use): Extern declared.
5107 * tree.h (struct tree_common): Define deprecated_flag.
5108 (TREE_DEPRECATED): New macro to access flag.
5109 * cp/call.c (build_call): Test for deprecated calls.
5110 * cp/class.c (add_implicitly_declared_members): Set global
5111 flag to tell grokdeclarator to not issue deprecated warnings.
5112 * cp/cp-tree.h: Add extern for adding_implicit_members.
5113 * cp/decl.c (deprecated_states): New enum.
5114 (start_decl): Set deprecated_state based on attributes.
5115 (grokdeclarator): Test for deprecated uses, propagate attribute.
5116 * cp/lex.c (do_identifier): Test for deprecated primaries.
5117 * cp/typeck.c (build_component_ref): Test for deprecated fields.
5118
5119 2002-01-10 Ira Ruben <ira@apple.com>
5120
5121 Fix to assign attributes to inline member functions.
5122 * cp/decl.c (start_method): Handle attrlist.
5123
5124 2002-01-10 Kazu Hirata <kazu@hxi.com>
5125
5126 * combine.c (expand_field_assignment): Use subreg_lsb().
5127
5128 2002-01-10 David Edelsohn <edelsohn@gnu.org>
5129
5130 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
5131 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
5132 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
5133 Recurse for any operand of AND as long as constant is non-zero.
5134
5135 2002-01-10 Kazu Hirata <kazu@hxi.com>
5136
5137 * config/h8300/h8300.md: Remove constraints from expanders.
5138
5139 2002-01-10 Kazu Hirata <kazu@hxi.com>
5140
5141 * varasm.c: Fix formatting.
5142 * varray.c: Likewise.
5143 * vmsdbgout.c: Likewise.
5144 * xcoffout.c: Likewise.
5145
5146 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
5147
5148 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
5149 update edge probabilities to match.
5150
5151 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5152
5153 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
5154 dependencies.
5155 * doc/languages.texi, doc/sourcebuild.texi: New files.
5156 * doc/configfiles.texi: Make a subsubsection. Update.
5157 * doc/configterms.texi: Add @node. Remove warning that this isn't
5158 instructions for building GCC.
5159 * doc/makefile.texi: Make a subsection.
5160 * doc/gccint.texi: Update.
5161
5162 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
5163
5164 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
5165
5166 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
5167
5168 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
5169
5170 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
5171
5172 * optabs.c (expand_fix): Look for wider integer modes first.
5173
5174 * i386.md (mov?f): Avoid the fake const double trick for medium
5175 memory model.
5176 (min?f*/max?f*): Prohibit memory operands for i387 variant.
5177 (fop_df_4): Disable for SSE compilation.
5178
5179 2002-01-10 Graham Stott <grahams@redhat.com>
5180
5181 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
5182 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
5183
5184 2002-01-10 Richard Henderson <rth@redhat.com>
5185
5186 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
5187
5188 2002-01-10 Richard Henderson <rth@redhat.com>
5189
5190 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
5191 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
5192
5193 2002-01-10 Kazu Hirata <kazu@hxi.com>
5194
5195 * combine.c (can_combine_p): Fix a comment typo.
5196
5197 2002-01-09 Zack Weinberg <zack@codesourcery.com>
5198
5199 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
5200 empty list correctly. Change loop index $t to $f for
5201 consistency with rest of Makefile.
5202
5203 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
5204
5205 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
5206 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
5207
5208 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
5209 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
5210 (altivec_init_builtins): Same.
5211 (altivec_expand_unop_builtin): Return NULL_RTX on error.
5212 (altivec_expand_binop_builtin): Same.
5213 (altivec_expand_ternop_builtin): Same.
5214 (bdesc_dst): New.
5215
5216 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
5217 ("altivec_vctuxs"): Fix typo.
5218 ("altivec_vnmsubfp"): Same.
5219 ("altivec_dssall"): New.
5220 ("altivec_mfvscr"): New.
5221 ("altivec_dss"): New.
5222 ("altivec_lvsl"): New.
5223 ("altivec_lvsr"): New.
5224 ("altivec_dstt"): New.
5225 ("altivec_dstst"): New.
5226 ("altivec_dststt"): New.
5227 ("altivec_dst"): New.
5228
5229 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
5230 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
5231
5232 2002-01-09 Richard Henderson <rth@redhat.com>
5233
5234 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
5235
5236 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
5237
5238 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
5239 function.
5240 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
5241 prototype.
5242 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
5243
5244 2002-01-09 Kazu Hirata <kazu@hxi.com>
5245
5246 * read-rtl.c: Fix formatting.
5247 * real.c: Likewise.
5248 * regclass.c: Likewise.
5249 * regrename.c: Likewise.
5250 * reg-stack.c: Likewise.
5251 * reload1.c: Likewise.
5252 * reload.c: Likewise.
5253 * rtl.c: Likewise.
5254
5255 2002-01-09 Kazu Hirata <kazu@hxi.com>
5256
5257 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
5258 to extract items in the expr_list chain.
5259
5260 2002-01-09 Richard Henderson <rth@redhat.com>
5261
5262 * config/vax/vax.c (vax_rtx_cost): Never abort.
5263
5264 * config/vax/vax.h (REAL_ARITHMETIC): Define.
5265
5266 2002-01-09 Jan Hubicka <jh@suse.cz>
5267
5268 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
5269
5270 2002-01-09 Richard Henderson <rth@redhat.com>
5271
5272 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
5273 Unify code from various alternatives.
5274
5275 2002-01-09 Richard Henderson <rth@redhat.com>
5276
5277 * regrename.c (copy_value): Ignore the copy if the source register
5278 is present in the value chain with a narrower mode.
5279
5280 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5281
5282 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
5283 for the c4x target. Also improve layout.
5284
5285 2002-01-09 Richard Henderson <rth@redhat.com>
5286
5287 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
5288 * config/m32r/m32r.md (and ior xor splitters): Swap operands
5289 to match insn patterns.
5290
5291 2002-01-09 Richard Henderson <rth@redhat.com>
5292
5293 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
5294 (copyprop_hardreg_forward_1): Likewise.
5295
5296 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5297
5298 * pa.md (decrement_and_branch_until_zero): Change predicate for
5299 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
5300
5301 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
5302
5303 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
5304 gets undefined. For Darwin.
5305
5306 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5307
5308 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
5309
5310 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5311
5312 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
5313
5314 2002-01-08 Richard Henderson <rth@redhat.com>
5315
5316 * regrename.c (copy_value): Ignore overlapping copies.
5317
5318 2002-01-08 Richard Henderson <rth@redhat.com>
5319
5320 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
5321 as needed to avoid shared structure.
5322
5323 2002-01-08 Kazu Hirata <kazu@hxi.com>
5324
5325 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
5326 H8/300H and H8/S.
5327
5328 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5329
5330 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
5331 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
5332 documentation of obsolete macros.
5333 * system.h: Poison these macros.
5334 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
5335 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
5336 config/c4x/c4x.h, config/clipper/clipper.h,
5337 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
5338 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
5339 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
5340 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
5341 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
5342 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
5343 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
5344 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
5345 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
5346 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
5347 config/sparc/sparc.h, config/stormy16/stormy16.h,
5348 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
5349 definitions and commented out definitions of obsolete macros.
5350 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
5351 of MAX_INT_TYPE_SIZE.
5352
5353 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
5354
5355 * config/s390/s390.c (s390_preferred_reload_class): Never
5356 return ADDR_REGS if it isn't a subset of the given class.
5357 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
5358 FP_REGS, but all superclasses as well.
5359
5360 * config/s390/s390.c (s390_function_profiler): Fix thinko.
5361
5362 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
5363 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
5364 must not be a const_int.
5365
5366 2002-01-08 Richard Henderson <rth@redhat.com>
5367
5368 * Makefile.in (toplev.o): Depend on options.h.
5369 (gcc.o): Depend on specs.h.
5370
5371 2002-01-08 Jakub Jelinek <jakub@redhat.com>
5372
5373 * expr.c (store_expr): Convert VOIDmode constants back to target's
5374 mode.
5375
5376 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5377
5378 * doc/invoke.texi: Markup gcc as @command. Refer to
5379 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
5380 of http://gcc.gnu.org/thanks.html.
5381
5382 2002-01-08 Dale Johannesen <dalej@apple.com>
5383
5384 * config/rs6000/rs6000.md: Add missing int register
5385 target case to movdf_low.
5386
5387 2002-01-08 Zack Weinberg <zack@codesourcery.com>
5388
5389 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
5390 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
5391 (cppinit.o): Depend on except.h.
5392 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
5393 s-specs): New rules.
5394
5395 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
5396 Don't create specs.h/options.h/gencheck.h here. Remove
5397 unnecessary variable settings from last argument of AC_OUTPUT.
5398 * config.in, configure: Regenerate.
5399 * intl.c: Hardcode package name as "gcc".
5400
5401 * cppinit.c: Include except.h.
5402 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
5403 appropriate.
5404 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
5405 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
5406 (!)USING_SJLJ_EXCEPTIONS.
5407 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
5408
5409 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5410
5411 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
5412 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
5413 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
5414 documentation of obsolete macros.
5415 * system.h: Poison these macros.
5416 * config/d30v/d30v.h, config/ns32k/encore.h,
5417 config/stormy16/stormy16.h: Remove definitions and commented out
5418 definitions of obsolete macros.
5419
5420 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
5421
5422 * objc/objc-act.c (handle_class_ref): Mark the declaration of
5423 %sobjc_class_ref_%s as used - to prevent unwanted compiler
5424 warnings.
5425
5426 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
5427
5428 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
5429 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
5430 to insn adjusting stack/frame pointer.
5431 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
5432 accept operands that cause the insn to be non-splittable.
5433
5434 2002-01-08 Graham Stott <grahams@redhat.com>
5435
5436 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
5437 (C_TYPE_FIELDS_VOLATILE): Likewise.
5438 (C_TYPE_BEING_DEFINED): Likewise.
5439 (C_IS_RESERVED_WORD): Likewise.
5440 (C_TYPE_VARIABLE_SIZE): Likewise.
5441 (C_DECL_VARIABLE_SIZE): Likewise.
5442 (C_MISSING_PROTOTYPE_WARNED): Likewise.
5443 (C_SET_EXP_ORIGINAL_CODE): Likewise.
5444 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
5445 parenthesis.
5446 (C_DECL_ANTICIPATED): Likewise.
5447 (c_build_type_variant): Add parenthesis.
5448
5449 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5450
5451 * gcc.c (option_map): Remove --version.
5452 (process_command): Handle -fversion following the GNU Coding
5453 Standards. Partially addresses PR other/704.
5454
5455 2002-01-08 Graham Stott <grahams@redhat.com>
5456
5457 * combine.c (combine_instructions): Fix typo.
5458
5459 2002-01-08 Graham Stott <grahams@redhat.com>
5460
5461 * debug.h: Use "tree" and "rtx" throughout.
5462
5463 * debug.c: Likewise.
5464
5465 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
5466
5467 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
5468 constant pool, use the pool's version of the symbol instead.
5469
5470 2002-01-07 Richard Henderson <rth@redhat.com>
5471
5472 * regrename.c (find_oldest_value_reg): Ignore the value chain if
5473 the original register was copied in a mode with a fewer number of
5474 hard registers than the desired mode.
5475 (copyprop_hardreg_forward_1): Likewise.
5476 (debug_value_data): Fix loop test.
5477 * toplev.c (parse_options_and_default_flags): Reenable
5478 -fcprop-registers at -O1.
5479
5480 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
5481
5482 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
5483 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
5484
5485 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
5486 predicates.
5487
5488 * config/rs6000/rs6000.md: Add altivec predicate patterns.
5489
5490 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5491
5492 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
5493 (pa_output_function_prologue): Output local label at the beginning of
5494 the prologue when profiling.
5495 (hppa_profile_hook): Use the local label rather than the function label.
5496 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
5497
5498 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
5499
5500 * config/rs6000/rs6000.c (print_operand): Remove extra space.
5501 (altivec_expand_unop_builtin): Fix thinko.
5502 (altivec_expand_binop_builtin): Same.
5503 (altivec_expand_ternop_builtin): Same.
5504 (altivec_expand_builtin): Same.
5505
5506 2002-01-07 Richard Henderson <rth@redhat.com>
5507
5508 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
5509
5510 2002-01-07 Jason Merrill <jason@redhat.com>
5511
5512 * unwind-dw2.c (execute_cfa_program): Use < again.
5513
5514 2002-01-07 Jakub Jelinek <jakub@redhat.com>
5515
5516 * predict.c (combine_predictions_for_insn): Avoid division by zero.
5517
5518 2002-01-07 Jakub Jelinek <jakub@redhat.com>
5519
5520 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
5521 Don't allow -1 - x -> ~x simplifications in the first pass.
5522
5523 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
5524
5525 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
5526 arguments.
5527 (altivec_expand_binop_builtin): Same.
5528 (altivec_expand_unop_builtin): Same.
5529 (print_operand): Fix typo.
5530 (bdesc_1arg): Add vupk* variants.
5531
5532 * rs6000.h (rs6000_builtins): Add vupk* enums.
5533
5534 * rs6000.md: Add altivec_vupk* variants.
5535
5536 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
5537
5538 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
5539 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
5540 and last update dates.
5541
5542 2002-01-07 Janis Johnson <janis187@us.ibm.com>
5543
5544 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
5545
5546 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
5547
5548 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
5549 * config/avr/avr.h (CPP_SPEC): Likewise.
5550 (LINK_SPEC): Likewise.
5551 (CRT_BINUTILS_SPECS): Likewise.
5552 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
5553 * doc/invoke.texi (AVR Options): Document them.
5554
5555 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
5556
5557 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
5558 LABEL_NUSES.
5559
5560 2002-01-07 Graham Stott <grahams@redhat.com>
5561
5562 * config/i386/i386.h: Update copyright date.
5563 (HALF_PIC_PTR): Add parenthesis.
5564 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
5565 (CONSTANT_ALIGNMENT): Add parenthesis.
5566 (DATA_ALIGNMENT): Likewise.
5567 (LOCAL_ALIGNMENT): Likewise.
5568 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
5569 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
5570 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
5571 (HARD_REGNO_NREGS): Add paranethesis.
5572 (VALID_SSE_REG_MODE): Whitespace.
5573 (VALID_MMX_REG_MODE): Whitespace.
5574 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
5575 (ix86_hard_regno_mode_ok): Add parenthesis.
5576 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
5577 (RETURN_IN_MEMORY): Whitespace.
5578 (N_REG_CLASSES): Add parenthesis.
5579 (INTEGER_CLASS_P): Add parenthesis and wrap.
5580 (FLOAT_CLASS_P): Likewise.
5581 (SSE_CLASS_P): Likewise.
5582 (MMX_CLASS_P): Likewise.
5583 (MAYBE_INTEGER_CLASS_P): Likewise.
5584 (MAYBE_FLOAT_CLASS_P): Likewise.
5585 (MAYBE_SSE_CLASS_P): Likewise.
5586 (MAYBE_MMX_CLASS_P): Likewise.
5587 (Q_CLASS_P): Likewise.
5588 (GENERAL_REGNO_P): Uppercase macro parameter.
5589 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
5590 (FP_REGNO_P): Likewise.
5591 (ANY_FP_REGNO_P): Uppercase macro parameter.
5592 (SSE_REGNO_P): Likewise.
5593 (SSE_REGNO): Likewise.
5594 (SSE_REG_P): Likewise.
5595 (SSE_FLOAT_MODE_P): Likewise.
5596 (MMX_REGNO_P): Likewise.
5597 (MMX_REG_P):Likewise.
5598 (STACK_REG_P): Likewise.
5599 (NON_STACK_REG_P): Likewise.
5600 (STACK_TOP_P): Likewise.
5601 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
5602 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
5603 (SECONDARY_MEMORY_NEEDED): Likewise.
5604 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
5605 (MD_ASM_CLOBBERS): Whitespace and wrap.
5606 (MUST_PASS_IN_STACK): Whitespace and wrap.
5607 (RETURN_POPS_ARGS): Add parenthesis.
5608 (INIT_CUMULATIVE_ARGS): Likewise.
5609 (FUNCTION_ARG): Likewise.
5610 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
5611 (SETUP_INCOMING_VARARGS): Likewise.
5612 (BUILD_VA_LIST_TYPE): Add parenthesis.
5613 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
5614 parenthsis.
5615 (EXPAND_BUILTIN_VA_ARG): Likewise.
5616 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
5617 (INITIALIZE_TRAMPOLINE): Add parenthesis.
5618 (INITIAL_ELIMINATION_OFFSET): Likewise.
5619 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
5620 (REGNO_OK_FOR_BASE_P): Likewise.
5621 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
5622 (REGNO_OK_FOR_DIREG_P): Likewise.
5623 (REG_OK_FOR_INDEX_P): Whitespace.
5624 (REG_OK_FOR_BASE_P): Whitespace.
5625 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
5626 parenthesis.
5627 (FIND_BASE_TERM): Fix typo.
5628 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
5629 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
5630 (SYMBOLIC_CONST; Whitespace.
5631 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
5632 (ENCODE_SECTION_INFO): Whitespace.
5633 (FINALIZE_PIC): Remove do { ... } while (0).
5634 (PROMOTE_MODE): Wrap in do { ... } while (0).
5635 (CONST_COSTS): Whitespace.
5636 (RTX_COSTS): Add paramethesis, whitespace and wrap.
5637 (REGISTER_MOVE_COST): Add parenthesis.
5638 (MEMORY_MOVE_COST): Likewise.
5639 (EXTRA_CC_MODES): Whitespace.
5640 (SELECT_CC_MODE): Add parenthesis and whitespace.
5641 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
5642 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
5643 (ASM_OUTPUT_LABEL): Add paramethesis.
5644 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
5645 (ASM_OUTPUT_REG_POP): Likewise.
5646 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
5647 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
5648
5649 * config/i386/i386.c: Update copyright.
5650 (CHECK_STACK_LIMIT): Add parenthesis.
5651 (AT_BP): Uppercase macro parameter.
5652 (x86_64_int_parameter_registers): Constify.
5653 (x86_64_int_return_registers): Likewise.
5654 (ix86_compare_op0): Use rtx.
5655 (construct_container): Constify INTREG parameter.
5656 (function_arg): Use rtx.
5657
5658 * diagnostic.h: Update copyright date.
5659 (output_buffer_state): Add parenthesis.
5660 (output_buffer_format_args): Likewise.
5661
5662 * combine.c (combine_instructions): Replace XEXP (links, 0)
5663 with link.
5664
5665 2002-01-06 H.J. Lu <hjl@gnu.org>
5666
5667 * cfgcleanup.c (thread_jump): Fix 2 typos.
5668
5669 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
5670
5671 * config.gcc: Add support for --enable-altivec.
5672
5673 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5674
5675 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
5676
5677 2002-01-06 Jakub Jelinek <jakub@redhat.com>
5678
5679 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
5680 __objc_class_name_*.
5681
5682 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5683
5684 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
5685
5686 2002-01-06 Richard Henderson <rth@redhat.com>
5687
5688 * reorg.c (emit_delay_sequence): Remove death notes, not merely
5689 nop them out. Increment label reference count for REG_LABEL.
5690 (fill_slots_from_thread): Frob label reference count around
5691 delete_related_insns.
5692
5693 2002-01-05 Richard Henderson <rth@redhat.com>
5694
5695 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
5696 jump threading.
5697
5698 2002-01-05 Richard Henderson <rth@redhat.com>
5699
5700 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
5701 * integrate.c (output_inline_function): Likewise.
5702 * toplev.c (rest_of_compilation): Do it here instead. Move call
5703 to remove_unnecessary_notes after emitting abstract instance.
5704 Force an emitted nested function to have its parent emited as well.
5705 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
5706 for null.
5707 (rtl_for_decl_location): Do not look at reload data structures
5708 before reload has run.
5709
5710 2002-01-05 Kazu Hirata <kazu@hxi.com>
5711
5712 * cse.c: Fix formatting.
5713 * dwarf2asm.c: Likewise.
5714 * dwarf2out.c: Likewise.
5715 * explow.c: Likewise.
5716 * expmed.c: Likewise.
5717 * function.c: Likewise.
5718 * gcov.c: Likewise.
5719 * gencheck.c: Likewise.
5720 * genrecog.c: Likewise.
5721 * ggc-common.c: Likewise.
5722 * ggc-page.c: Likewise.
5723 * global.c: Likewise.
5724
5725 2002-01-05 Kazu Hirata <kazu@hxi.com>
5726
5727 * combine.c: Fix formatting.
5728
5729 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
5730
5731 PR middle-end/1557
5732 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
5733
5734 2002-01-05 David Edelsohn <edelsohn@gnu.org>
5735
5736 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
5737 as 1 for __powerpc64__ as well.
5738
5739 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
5740
5741 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
5742 return it.
5743
5744 2002-01-05 Daniel Berlin <dan@dberlin.org>
5745
5746 * lcm.c: Revert change, due to performance regression it causes on
5747 SPEC because it's slightly more conservative (sigh, I hate
5748 edge-based LCM).
5749
5750 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
5751
5752 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
5753
5754 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
5755
5756 * doc/cppinternals.texi: Update.
5757
5758 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
5759
5760 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
5761 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
5762 negatives.
5763 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
5764 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
5765 kludge for pre-october-14th mmix versions to handle new-found bug
5766 with PUSHJ/PUSHGO and the register stack.
5767 * config/mmix/mmix.h (struct machine_function): Rename member
5768 has_call_value_without_parameters to has_call_without_parameters.
5769 All referers changed.
5770 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
5771 TARGET_MASK_BRANCH_PREDICT): New macros.
5772 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
5773 -mno-reg-stack-fill-bug-workaround.
5774 * config/mmix/mmix.md ("call"): Set struct machine member
5775 has_call_without_parameters.
5776
5777 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
5778
5779 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
5780
5781 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
5782
5783 * cfgcleanup.c: Include tm_p.h
5784 (mark_effect): Fix handling of hard register; fix handling of SET
5785
5786 2002-01-04 Kazu Hirata <kazu@hxi.com>
5787
5788 * config/h8300/h8300.md (anonymous patterns): Check that
5789 operands are registers before using REGNO on them.
5790
5791 2002-01-03 Roland McGrath <roland@frob.com>
5792
5793 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
5794
5795 2002-01-04 Jakub Jelinek <jakub@redhat.com>
5796
5797 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
5798 * c-common.h (genrtl_expr_stmt_value): Likewise.
5799 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
5800 (expand_expr_stmt_value): Add maybe_last argument.
5801 Don't warn about statement with no effect if it is the last statement
5802 in expression statement.
5803 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
5804 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
5805 expand_expr_stmt_value.
5806 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
5807 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
5808 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
5809 as maybe_last to expand_expr_stmt_value.
5810
5811 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
5812
5813 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
5814 be passed in, do not build it.
5815 (c_begin_if_stmt): New function.
5816 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5817 * c-common.h (c_expand_start_cond): Update prototype.
5818 (c_begin_if_stmt): Prototype new function.
5819 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
5820 * c-parse.in (if_prefix): Use c_begin_if_stmt,
5821 c_begin_while_stmt and c_finish_while_stmt_cond.
5822
5823 2002-01-04 William Cohen <wcohen@redhat.com>
5824
5825 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
5826 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5827 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5828 * config/pa/som.h (ASM_FILE_START): Likewise.
5829
5830 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
5831
5832 * lcm.c: Include df.h.
5833 Add available_transfer_function prototype.
5834 (compute_available): Rework to use iterative dataflow framework.
5835 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
5836 with bb_info in df.h
5837 (available_transfer_function): New function.
5838
5839 * Makefile.in (lcm.o): add df.h to dependencies.
5840
5841 2002-01-04 Richard Henderson <rth@redhat.com>
5842
5843 * config/alpha/alpha.c (some_operand): Accept HIGH.
5844 (input_operand): Likewise; accept simple references to globals.
5845 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
5846 (alpha_const_double_ok_for_letter_p): Likewise.
5847 (alpha_extra_constraint): Likewise.
5848 (alpha_preferred_reload_class): Likewise. Do not force
5849 symbolic constants to memory.
5850 (alpha_legitimate_address_p): Accept simple references
5851 to small_symbolic_operand.
5852 (alpha_legitimize_address): New arg scratch. Be prepared to be
5853 called when no_new_pseudos. Emit simple symbolic references.
5854 Split integers into low, high, and rest.
5855 (alpha_expand_mov): Use alpha_legitimize_address.
5856 (some_small_symbolic_mem_operand): New.
5857 (split_small_symbolic_mem_operand): New.
5858 * config/alpha/alpha-protos.h: Update.
5859 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
5860 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
5861 (EXTRA_CONSTRAINT): Likewise.
5862 (PREFERRED_RELOAD_CLASS): Likewise.
5863 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
5864 (PREDICATE_CODES): Update.
5865 * config/alpha/alpha.md: New post-reload splitters to convert
5866 simplfied symbolic operands to the form that references $29.
5867 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
5868 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
5869
5870 2002-01-03 Richard Henderson <rth@redhat.com>
5871
5872 * local-alloc.c (function_invariant_p): Update commentary.
5873
5874 2002-01-04 H.J. Lu <hjl@gnu.org>
5875
5876 * toplev.c (rest_of_compilation): Fix a typo when calling
5877 cleanup_cfg.
5878
5879 2002-01-03 Kazu Hirata <kazu@hxi.com>
5880
5881 * c-common.c: Fix formatting.
5882 * diagnostic.c: Likewise.
5883 * doloop.c: Likewise.
5884 * dwarf2out.c: Likewise.
5885
5886 2002-01-03 Kazu Hirata <kazu@hxi.com>
5887
5888 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
5889 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
5890
5891 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5892
5893 * cpperror.c: Update comments and copyright.
5894 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
5895 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
5896
5897 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5898
5899 * collect2.c (main): Use strcmp when testing for "-shared".
5900
5901 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
5902
5903 * cppmacro.c: Don't include intl.h. Update comments.
5904 (new_number_token): Allocate enough buffer for 64-bit unsigned
5905 integers; update prototype.
5906 * cppmain.c: Update comments.
5907
5908 2002-01-03 William Cohen <wcohen@redhat.com>
5909
5910 * function.h (struct function): Add profile.
5911 (current_function_profile): New.
5912 doc/extend.texi: Update documentation.
5913 * final.c (final_start_function): Use current_function_profile
5914 instead of profile_flag.
5915 (profile_after_prologue): Likewise.
5916 * function.c (expand_function_start): Likewise.
5917 (expand_function_start): Likewise.
5918 * config/alpha/alpha.c (direct_call_operand):
5919 (alpha_does_function_need_gp): Likewise.
5920 (alpha_expand_prologue): Likewise.
5921 * config/arm/arm.c (arm_expand_prologue): Likewise.
5922 thumb_expand_prologue: Likewise.
5923 * config/d30v/d30v.c (d30v_stack_info): Likewise.
5924 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
5925 (fr30_expand_prologue): Likewise.
5926 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
5927 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
5928 * config/i386/i386.h (FINALIZE_PIC): Likewise.
5929 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
5930 * config/i960/i960.c (i960_output_function_prologue): Likewise.
5931 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
5932 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
5933 (m32r_expand_prologue): Likewise.
5934 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
5935 (m88k_expand_prologue): Likewise.
5936 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
5937 * config/mips/mips.c (compute_frame_size): Likewise.
5938 (mips_expand_prologue): Likewise.
5939 (mips_can_use_return_insn): Likewise.
5940 * config/pa/elf.h (ASM_FILE_START): Likewise.
5941 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
5942 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
5943 * config/pa/som.h (ASM_FILE_START): Likewise.
5944 * config/romp/romp.c (romp_using_r14): Likewise.
5945 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
5946 (rs6000_stack_info): Likewise.
5947 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
5948 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
5949 * config/v850/v850.c (compute_register_save_size): Likewise.
5950
5951 2002-01-03 Jakub Jelinek <jakub@redhat.com>
5952
5953 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
5954 gen_lowpart_common fails, use gen_lowpart_SUBREG.
5955
5956 2002-01-03 Turly O'Connor <turly@apple.com>
5957
5958 * darwin.c (machopic_output_possible_stub_label): Don't generate
5959 stub routines for pseudo-stubs which we've just defined.
5960
5961 2002-01-03 Kazu Hirata <kazu@hxi.com>
5962
5963 * builtins.c: Fix formatting.
5964 * c-typeck.c: Likewise.
5965 * combine.c: Likewise.
5966 * expr.c: Likewise.
5967 * loop.c: Likewise.
5968
5969 2002-01-03 Andreas Schwab <schwab@suse.de>
5970
5971 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
5972 and return true if _cpp_push_next_buffer pushed a new include
5973 file.
5974 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
5975 _cpp_pop_file_buffer did not push a new file.
5976 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
5977
5978 2002-01-02 Eric Christopher <echristo@redhat.com>
5979
5980 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
5981 FIND_REG_INC_NOTE call. Update copyright.
5982 * loop.c (canonicalize_condition): Ditto.
5983 * reorg.c (delete_scheduled_jump): Ditto.
5984
5985 2002-01-03 Kazu Hirata <kazu@hxi.com>
5986
5987 * gcse.c: Fix formatting.
5988
5989 2002-01-03 Graham Stott <grahams@redhat.com>
5990
5991 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
5992 forward defs for struct tags rtx_def, union_tree, rtvec_def
5993 also output corresponding typedefs for rtx, tree, and rtvec.
5994
5995 * system.h: Move forward defs for struct tags rtx_def, union_tree,
5996 rtvec_def along with corresponding typedefs for rtx, tree, and
5997 rtvec to config.h, hconfig.h, tconfig.h.
5998
5999 2002-01-03 Graham Stott <grahams@redhat.com>
6000
6001 * tree.h: Update copyright date.
6002 (IS_EXPR_CODE_CLASS): Add parenthesis.
6003 (TREE_SET_CODE): Add whitespace.
6004 (TREE_CHECK): Add parenthesis.
6005 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
6006 (CST_OR_CONSTRUCTOR_CHECK):
6007 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
6008 (TREE_SYMBOL_REFERENCED): Whitespace.
6009 (INT_CST_LT): Likewise.
6010 (INT_CST_LT_UNSIGNED): Likewise.
6011 (tree_real_cst): Unwrap comment.
6012 (tree_string): Likewise.
6013 (tree_complex): Likewise.
6014 (IDENTIFIER_POINTER): correct cast.
6015 (SAVE_EXPR_CONTEXT): Whitespace.
6016 (EXPR_WFL_FILENAME_NODE): Likewise.
6017 (EXPR_WFL_FILENAME): Remove parenthesis.
6018 (DECL_ORIGIN): Add parenthesis.
6019 (DECL_FROM_INLINE): Use NULL_TREE.
6020 (build_int_2): Whitespace.
6021 (build_type_variant): Add parenthesis.
6022
6023 * gcc/jcf-parse.c: Update copyright date.
6024 (yyparse): Constify resource_filename.
6025
6026 2002-01-03 Graham Stott <grahams@redhat.com>
6027
6028 * rtl.h: Update copyright date.
6029 (RTL_CHECK1): Wrap long line.
6030 (RTL_CHECK2): Likewise.
6031 (RTL_CHECKC1): Wrap long line and whitespace.
6032 (RTL_CHECKC2): Likewise.
6033 (XWINT): Whitespace.
6034 (XINT): Likewise.
6035 (XSTR): Likewise.
6036 (XEXP): Likewise.
6037 (XVEC): Likewise.
6038 (XMODE): Likewise.
6039 (XBITMAP): Likewise.
6040 (XTREE): Likewise.
6041 (XBBDEF): Likewise.
6042 (XTMPL): Likewise.
6043 (X0WINT): Likewise.
6044 (X0INT):Likewise.
6045 (X0UINT): Likewise.
6046 (X0STR): Likewise.
6047 (X0EXP): Likewise.
6048 (X0VEC): Likewise.
6049 (X0MODE): Likewise.
6050 (X0BITMAP): Likewise.
6051 (X0TREE): Likewise.
6052 (X0BBDEF): Likewise.
6053 (X0ADVFLAGS): Likewise.
6054 (X0CSELIB): Likewise.
6055 (X0MEMATTR): Likewise.
6056 (XCWINT): Likewise.
6057 (XCINT): Likewise.
6058 (XCUINT): Likewise.
6059 (XCSTR): Likewise.
6060 (XCEXP): Likewise.
6061 (XCVEC): Likewise.
6062 (XCMODE): Likewise.
6063 (XCBITMAP): Likewise.
6064 (XCTREE): Likewise.
6065 (XCBBDEF): Likewise.
6066 (XCADVFLAGS): Likewise.
6067 (XCCSELIB): Likewise.
6068 (XC2EXP): Likewise.
6069 (INSN_UID): Likewise.
6070 (PREV_INSN): Likewise.
6071 (PATTERN): Likewise.
6072 (INSN_CODE): Likewise.
6073 (PUT_REG_NOTE_KIND): Likewise.
6074 (CODE_LABEL_NUMBER): Likewise.
6075 (NOTE_SOURCE_FILE): Likewise.
6076 (NOTE_BLOCK): Likewise.
6077 (NOTE_EH_HANDLER): Likewise.
6078 (NOTE_RANGE_INFO): Likewise.
6079 (NOTE_LIVE_INFO): Likewise.
6080 (NOTE_BASIC_BLOCK): Likewise.
6081 (NOTE_EXPECTED_VALUE): Likewise.
6082 (NOTE_LINE_NUMBER): Likewise.
6083 (LABEL_NAME): Likewise.
6084 (LABEL_NUSES): Likewise.
6085 (LABEL_ALTERNATE_NAME): Likewise.
6086 (ADDRESSOF_DECL): Likewise.
6087 (JUMP_LABEL): Likewise.
6088 (LABEL_NEXTREF): Likewise.
6089 (REGNO): Likewise.
6090 (ORIGINAL_REGNO: Likewise.
6091 (HARD_REGISTER_NUM_P): Add parenthesis.
6092 (SUBREG_REG): Whitespace.
6093 (SUBREG_BYTE): Likewise.
6094 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
6095 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
6096 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
6097 (ASM_OPERANDS_INPUT_VEC): Likewise.
6098 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
6099 (ASM_OPERANDS_INPUT): Likewise.
6100 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
6101 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
6102 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
6103 (ASM_OPERANDS_INPUT_MODE): Likewise.
6104 (ASM_OPERANDS_SOURCE_FILE): Likewise.
6105 (ASM_OPERANDS_SOURCE_LINE): Likewise.
6106 (MEM_SET_IN_STRUCT_P): Minor reformat.
6107 (TRAP_CONDITION): Whitespace.
6108 (TRAP_CODE): Likewise.
6109 (COND_EXEC_TEST): Likewise.
6110 (COND_EXEC_CODE): Likewise.
6111 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
6112 (PHI_NODE_P): Add parenthesis.
6113 (plus_constant): Whitespace and add parenthesis.
6114
6115 2002-01-03 Kazu Hirata <kazu@hxi.com>
6116
6117 * config/avr/avr.c: Fix comment typos.
6118 * config/c4x/c4x.md: Likewise.
6119 * config/dsp16xx/dsp16xx.h: Likewise.
6120 * config/dsp16xx/dsp16xx.md: Likewise.
6121 * config/i386/i386.md: Likewise.
6122 * config/ia64/ia64.c: Likewise.
6123 * config/m32r/m32r.h: Likewise.
6124 * config/m68hc11/m68hc11.md: Likewise.
6125 * config/mmix/mmix.c: Likewise.
6126 * config/mn10200/mn10200.c: Likewise.
6127 * config/romp/romp.c: Likewise.
6128 * config/sh/sh.c: Likewise.
6129 * config/stormy16/stormy16.c: Likewise.
6130 * config/stormy16/stormy16.h: Likewise.
6131 * config/stormy16/stormy16.md: Likewise.
6132
6133 2002-01-03 Graham Stott <grahams@redhat.com>
6134
6135 * loop.h: Update copyright date.
6136 (LOOP_MOVABLES): Fix typo.
6137 (LOOP_REGS): Likewise.
6138 (LOOP_IVS): Likewise.
6139
6140 2002-01-03 Graham Stott <grahams@redhat.com>
6141
6142 * cppinit.c: Update copyright date.
6143 Don't include output.h
6144 * Makefile.in: Update copyright date.
6145 Update dependency.
6146
6147 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
6148
6149 PR c/5226
6150 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
6151 (-pthread) Add to RS/6000 options.
6152
6153 2002-01-02 Kazu Hirata <kazu@hxi.com>
6154
6155 * except.c: Fix comment typos.
6156 * loop.c: Likewise.
6157 * varasm.c: Likewise.
6158 * doc/tm.texi: Fix a typo.
6159
6160 2002-01-02 Jakub Jelinek <jakub@redhat.com>
6161
6162 * c-typeck.c (output_init_element): Allow initializing static storage
6163 duration objects with compound literals.
6164
6165 2002-01-02 Richard Henderson <rth@redhat.com>
6166
6167 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
6168 after abusing it.
6169
6170 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6171
6172 * gcc.c (default_compilers): Const-ify.
6173 * mips-tdump.c (stab_names): Likewise.
6174 * mips-tfile.c (map_coff_types, map_coff_storage,
6175 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
6176 pseudo_ops_t, pseudo_ops): Likewise.
6177 * protoize.c (default_include): Likewise
6178
6179 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
6180 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
6181 Add array size in declaration.
6182 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
6183 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
6184 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
6185 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
6186 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
6187 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
6188 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
6189 emtens, make_nan): Const-ify.
6190 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
6191 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
6192
6193 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
6194
6195 * config.gcc (ia64-*-*): Set extra_headers.
6196 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
6197 * config/alpha/t-osf: Remove.
6198 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
6199
6200 2002-01-02 David Edelsohn <edelsohn@gnu.org>
6201
6202 * config/rs6000/t-aix43: Revert previous change.
6203
6204 2002-01-02 Jason Merrill <jason@redhat.com>
6205
6206 * c-decl.c (c_expand_body): Call outlining_inline_function when
6207 emitting an inline function out of line.
6208
6209 2002-01-02 Richard Henderson <rth@redhat.com>
6210
6211 * dwarf2out.c (limbo_die_node): Add created_for member.
6212 (new_die): New argument created_for. Update all callers.
6213 (mark_limbo_die_list): New.
6214 (dwarf2out_init): Register limbo_die_list as a root.
6215 (dwarf2out_finish): Force insert limbo dies into their function
6216 context.
6217
6218 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
6219
6220 PR c++/5089
6221 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
6222
6223 2002-01-02 Kazu Hirata <kazu@hxi.com>
6224
6225 * config/h8300/fixunssfsi.c: Update copyright.
6226 Fix comment typos.
6227 Fix formatting.
6228 * config/h8300/h8300.c: Update copyright.
6229 Eliminate warnings.
6230
6231 2002-01-02 Kazu Hirata <kazu@hxi.com>
6232
6233 * config/romp/romp.c: Fix comment formatting.
6234 * config/romp/romp.h: Likewise.
6235 * config/romp/romp.md: Likewise.
6236 * config/s390/s390.c: Likewise.
6237 * config/stormy16/stormy16.c: Likewise.
6238 * config/stormy16/stormy16.h: Likewise.
6239
6240 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
6241
6242 * c-common.h (genrtl_expr_stmt_value): Declare.
6243 * c-semantics.c (genrtl_goto_stmt): Redirect to...
6244 (genrtl_goto_stmt_value): ... this new function. Pass new
6245 argument down to expand_expr_stmt_value, taking
6246 TREE_ADDRESSABLE into account.
6247 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
6248 STMT_EXPR as addressable, i.e., one whose result we want.
6249 * expr.c (expand_expr): Don't save expression statement value
6250 of labeled_blocks or loop_exprs.
6251 * stmt.c (expand_expr_stmt): Redirect to...
6252 (expand_expr_stmt_value): ... this new function. Use new
6253 argument to tell whether to save expression value.
6254 (expand_end_stmt_expr): Reset last_expr_type and
6255 last_expr_value if we don't have either.
6256 * tree-inline.c (declare_return_variable): Mark its use
6257 statement as addressable.
6258 * tree.h: Document new use of TREE_ADDRESSABLE.
6259 (expand_expr_stmt_value): Declare.
6260
6261 2002-01-01 Tom Rix <trix@redhat.com>
6262
6263 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
6264 rs6000_emit_allocate_stack.
6265
6266 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
6267
6268 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
6269 ${srcdir}/ginclude/ to every entry in extra_headers.
6270 * configure: Regenerate.
6271 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
6272 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
6273 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
6274 * ginclude/proto.h: Rename to config/convex/proto.h.
6275
6276 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6277
6278 * attribs.c (handle_vector_size_attribute): Use host_integerp
6279 and tree_int_cst; remove warnings.
6280 * caller-save.c (insert_restore): Add cast to get rid of warning.
6281 (insert_save): Likewise.
6282 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
6283 * regmove.c (find_matches): Add temporary var to kill a warning.
6284
6285 2002-01-01 Douglas B Rupp <rupp@gnat.com>
6286
6287 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
6288 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
6289 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
6290 (vms-dwarf2eh.o): Add Makefile rule.
6291 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
6292 * config/alpha/vms-dwarf2eh.asm: New file.
6293
6294 * gcc.c (delete_if_ordinary): Delete all versions.
6295
6296 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
6297
6298 * config/mmix/mmix.md: Update FIXME to not mention
6299 define_constants.
6300 (MMIX_rJ_REGNUM): New define_constants constant.
6301 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
6302 "*movdicc_real"): Adjust contraints formatting.
6303 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
6304 for branch prediction.
6305 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
6306 output template.
6307 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
6308 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
6309 number. Delete related FIXMEs.
6310 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
6311 from number to MMIX_rJ_REGNUM.
6312 (TARGET_MASK_BRANCH_PREDICT): New.
6313 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
6314 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
6315 value. Add -mbranch-predict and -mno-branch-predict.
6316 (TARGET_VERSION): Drop date.
6317 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
6318 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
6319 for finding out global symbols.
6320 (mmix_asm_output_labelref): Revert condition for global symbol.
6321 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
6322 (mmix_print_operand_punct_valid_p): A '+' is valid.
6323
6324 See ChangeLog.6 for earlier changes.