]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
objc-act.c: Include cgraph.h
[gcc.git] / gcc / ChangeLog
1 Tue Feb 25 22:46:27 CET 2003 Jan Hubicka <jh@suse.cz>
2
3 * objc-act.c: Include cgraph.h
4 (mark_referenced_methods): New function.
5 (objc_init): Call it.
6 * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
7
8 * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
9 mode.
10
11 * optabs.c (expand_fix): Do not widen the input operand.
12
13 * expr.c (emit_group_store): Fix crash when converting single
14 register into complex register.
15
16 * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
17 * alias.c: Include timevar.h
18 (init_alias_analysis): Set timevar
19 * jump.c: Include timevar.h
20 (rebuild_jump_labels): Set timevar
21 * regcalss.c: Include timevar.h
22 (reg_scan): Set timevar
23 * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
24
25 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
26
27 * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
28
29 * Makefile.in (loop-unroll.o): New.
30 * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
31 (unroll_and_peel_loops): Declare.
32 * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
33 flag_old_unroll_loops.
34 * loop.c (loop_invariant_p): Ditto.
35 * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
36 flag_old_unroll_all_loops.
37 * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
38 (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
39 * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
40 (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
41 PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
42 PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
43 PARAM_MAX_ONCE_PEELED_INSNS): New.
44 * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
45 (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
46 instead of old one.
47 (flag_peel_loops): New.
48 (lang_independent_options): The new flags added.
49 (rest_of_compilation): Call new unroller.
50 (process_options): Setup flags for coexistence of old and new unroller.
51 * doc/invoke.texi: Document new options.
52 * doc/passes.texi: Document new unroller pass.
53
54 2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com>
55
56 * fixinc/fixincl.x: Regenerate
57
58 2003-02-26 Josef Zlomek <zlomekj@suse.cz>
59
60 * function.c (assign_parms): Set reg_attrs for parameters passed in
61 registers.
62
63 2003-02-26 Alan Modra <amodra@bigpond.net.au>
64
65 PR target/9681
66 * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
67
68 2003-02-25 David Edelsohn <edelsohn@gnu.org>
69
70 * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
71 pseudo-op.
72
73 2003-02-25 Roger Sayle <roger@eyesopen.com>
74
75 * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P.
76 * cse.c (invalidate_skipped_set): Likewise.
77 * integrate.c (subst_constants): Likewise.
78 * jump.c (reversed_comparison_code_parts): Likewise.
79 * loop.c (canonicalize_condition): Likewise.
80 * simplify-rtx.c (simplify_relational_operation): Likewise.
81
82 2003-02-25 Roger Sayle <roger@eyesopen.com>
83
84 * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
85 (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use
86 the appropriate macro to define built-in function.
87 (fmod,fmodf,fmodl): New built-in functions.
88
89 * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
90
91 2003-02-25 Richard Henderson <rth@redhat.com>
92
93 * config/i386/i386.c (function_arg): Pass variable sized
94 structures correctly on the stack.
95
96 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
97
98 * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
99 does not reduce the cost of SET.
100
101 2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
102
103 PR target/9732
104 * config/rs6000/rs6000.c (first_reg_to_save): Handle
105 PIC_OFFSET_TABLE_REGNUM for -fPIC too.
106 (rs6000_emit_prologue): Likewise.
107 (rs6000_emit_epilogue): Likewise.
108 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
109 PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
110
111 2003-02-25 Richard Henderson <rth@redhat.com>
112
113 * real.c (real_to_integer2): Force overflow result only for
114 unsigned overflow.
115
116 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
117
118 * gcse.c (cprop_jump): Revert the 2003-02-23 change.
119
120 2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
121 Richard Henderson <rth@redhat.com>
122
123 * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
124 there is no similar load.
125
126 2003-02-25 Vladimir Makarov <vmakarov@redhat.com>
127 Richard Henderson <rth@redhat.com>
128
129 * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
130 sched-rgn.c.
131 (add_forward_dependence): New function prototype.
132
133 * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
134 sched-init.h.
135 (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
136 them to haifa-sched.c.
137
138 * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
139 haifa_classify_insn): Move them from sched-rgn.c.
140
141 * sched-deps.c (add_dependence): Return flag of creating a new
142 entry.
143 (add_forward_dependence): New function.
144 (compute_forward_dependences): Use the function.
145
146 * sched-ebb.c (earliest_block_with_similiar_load): New function.
147 (add_deps_for_risky_insns): New function.
148 (schedule_ebb): Call the function.
149
150 2003-02-20 Aldy Hernandez <aldyh@redhat.com>
151
152 * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
153 TARGET_VECTOR_OPAQUE_P. Document accordingly.
154
155 * testsuite/gcc.dg/20030218-1.c: Check that initialization of
156 opaque types fail.
157
158 * c-typeck.c (comptypes): Change call to vector_types_compatible
159 to vector_opaque_p.
160 (convert_for_assignment): Call vector_opaque_p instead of
161 vector_types_compatible.
162 (really_start_incremental_init): Disallow initialization of opaque
163 types.
164
165 * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
166 Define TARGET_VECTOR_OPAQUE_P.
167 (TARGET_INITIALIZER): Same.
168
169 * target.h (struct gcc_target): Remove vector_types_compatible.
170 Add vector_opaque_p.
171
172 * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
173 Remove.
174 (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
175 a vector type. Change return type to bool.
176 (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
177 (TARGET_VECTOR_OPAQUE_P): Define.
178
179 * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
180 target hook.
181 Include target.h.
182 (cp_parser_init_declarator): Fix typo in function comments.
183
184 Tue Feb 25 12:35:34 CET 2003 Jan Hubicka <jh@suse.cz>
185
186 * Makefile.in (lcm.o): Add dependency on function.h
187 * lcm.c (function.h): Include.
188 * i386.c (machine_function, ix86_stack_locals,
189 * ix86_save_varrargs_registers) : Move to
190 ...
191 * i386.h (machine_function, ix86_stack_locals,
192 ix86_save_varrargs_registers): ... here; add optimize_mode_switching
193 (ix86_optimize_mode_switching): New.
194 * i386.md (fix patterns): Set ix86_optimize_mode_switching
195
196 2003-02-25 Nick Clifton <nickc@redhat.com>
197
198 * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name
199 of fourth arg is 'fndecl' not 'indirect'. Update comment
200 describing the function's parameters.
201
202 Mon Feb 24 22:08:22 CET 2003 Jan Hubicka <jh@suse.cz>
203
204 * combine.c (simplify_shift_const): Fix previous patch.
205
206 2003-02-24 Jeff Law <law@redhat.com>
207
208 * i386.md (testdi_1_rex64): Discourage reload from using the %eax
209 alternative.
210 (testsi_1, testhi_1, testqi_1): Likewise.
211
212 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
213
214 * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
215 __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
216 * doc/extend.texi (Tru64 Pragmas): Reflect this.
217
218 * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
219 extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
220 * fixinc/fixincl.x: Regenerate.
221 * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
222 testcase.
223 Fixes PR c/5059, c/6126, other/9671.
224
225 2003-02-24 Roger Sayle <roger@eyesopen.com>
226
227 * gcc.c (do_spec_1) ['{']: Handle pending argument upon return
228 from handle_braces in "%{...}".
229
230 2003-02-24 Kaz Kojima <kkojima@gcc.gnu.org>
231
232 * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
233 (prepare_move_operands): Handle TLS operands.
234 (tls_symbolic_operand): New.
235 (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
236 (legitimize_pic_address): Do nothing for the TLS symbol.
237 (sh_encode_section_info): Handle TLS case.
238 (sh_strip_name_encoding): Drop TLS encoding.
239 * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
240 * config/sh/sh.h (SH_TLS_ENCODING): Define.
241 (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
242 (ASM_OUTPUT_LABELREF): Drop TLS encoding.
243 (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
244 * config/sh/sh.md: Define TLS UNSPEC constants.
245 (type): Add tls_load.
246 ("tls_global_dynamic", "tls_local_dynamic"): New insns.
247 ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
248 ("tls_initial_exec"): New insn.
249 ("sym2TPOFF", "symTPOFF2reg"): New expanders.
250 ("load_gbr"): New insn.
251
252 * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
253 * configure: Regenerate.
254
255 2003-02-24 Alan Modra <amodra@bigpond.net.au>
256
257 * calls.c (store_one_arg): Revert 1999-02-16 change. Revert
258 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr.
259 * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
260 (enum block_op_methods): Reorder for better store_expr optimization.
261 * expr.c (store_expr): Test bit 1 of "want_value" for call param
262 stores, test bit 0 for original want_value meaning. Pass
263 BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust
264 recursive calls, and calls to expand_param.
265 (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse
266 expected, set target to 0 rather than to subtarget. Formatting.
267
268 2003-02-23 Kazu Hirata <kazu@cs.umass.edu>
269
270 * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
271
272 2003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
273
274 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
275 new default behavior.
276 * ggc-common.c: Include sys/resource.h.
277 (ggc_rlimit_bound): New function.
278 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
279 defaults to account for rlimits.
280
281 2003-02-22 Richard Henderson <rth@redhat.com>
282
283 * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
284
285 2003-02-22 Kelley Cook <kelley@dwhoops.info>
286
287 * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
288 (ix86_tune_string): Rename from ix86_cpu_string.
289
290 2003-02-22 Kelley Cook <kelleycook@comcast.net>
291
292 * config/i386/i386.c: Replace "mcpu" with "mtune".
293 * config/i386/i386.h (TARGET_OPTIONS): Likewise.
294 (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
295 * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
296 with "mtune". Note that "mcpu" is a deprecated synonym for "mtune".
297
298 2003-02-23 Andreas Schwab <schwab@suse.de>
299
300 * config.gcc: Delete references to m68k/t-linux and
301 m68k/t-linux-aout.
302 * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
303
304 Sat Feb 22 20:22:19 CET 2003 Jan Hubicka <jh@suse.cz>
305
306 * toplev.c (rest_of_compilation): Apply fotgotten hunk
307 of track scheduling patch.
308
309 Sat Feb 22 19:29:28 CET 2003 Jan Hubicka <jh@suse.cz>
310
311 * config/linux.h (TARGET_HAS_F_SETLKW): Define.
312 * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
313
314 Sat Feb 22 12:42:16 CET 2003 Jan Hubicka <jh@suse.cz>
315
316 * c-decl.c (c_expand_body_1): Fix.
317
318 Sat Feb 22 03:13:36 CET 2003 Jan Hubicka <jh@suse.cz>
319
320 * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
321
322 * cfgcleanup.c (try_forward_edges): Don't check loop structures
323 when not optimizing.
324 (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
325 when not expensive.
326 * toplev.c (rest_of_compilation): Duplicate loop headers only when
327 optimizing; Delete trivially dead insns early; fix optimize check.
328
329 * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
330 dependency on cgraph.h
331 * c-decl.c: Include cgraph.h
332 (finish_function): Update call of tree_inlinable_function_p.
333 * c-objc-common.c: Include cgraph.h
334 * cgraph.h: New file.
335 * cgraphunit.c: New file.
336 * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
337 (cgraph_nodes, cgraph_n_nodes): Globalize.
338 (cgraph_finalize_function, cgraph_finalize_compilation_unit
339 cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
340 Move into cgraphunit.c
341 * tree-inline.c: Include cgraph.h
342 * tree-inline.c: Include cgraph.h
343
344 2003-02-22 Josef Zlomek <zlomekj@suse.cz>
345
346 * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
347 for copying a register.
348
349 2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
350
351 PR other/3782
352 * toplev.c (process_options): If flag_detailed_statistics is set,
353 then set time_report as well.
354
355 PR c/8828
356 * jump.c (never_reached_warning): Don't fall through BARRRIER
357 insns. Update comments to reflect what the function really does.
358
359 2003-02-21 Roger Sayle <roger@eyesopen.com>
360
361 * fold-const.c (omit_one_operand): No longer static.
362 * tree.h (omit_one_operand): Prototype here.
363 (div_and_round_double): Keep fold-const.c prototypes together.
364 * builtins.c (builtin_mathfn_code): Handle binary built-in
365 funtions, such as "pow" and "atan2".
366 (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
367 Simplify optimizations using "type" the builtin's return type.
368
369 2003-02-22 Hans-Peter Nilsson <hp@axis.com>
370
371 * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
372 Fix functionalization typo.
373
374 * regmove.c (optimize_reg_copy_1): Do not replace a hard register
375 in an asm.
376
377 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
378
379 * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
380 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
381 documentation.
382 * ggc-common.c: Include params.h
383 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
384 init_ggc_heuristics): New functions.
385 * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
386 init_ggc_heuristics): Prototype.
387 * toplev.c (print_version): Output GGC heuristics.
388 (parse_options_and_default_flags): Call init_ggc_heuristics.
389
390 Sat Feb 22 02:35:07 CET 2003 Jan Hubicka <jh@suse.cz>
391
392 * i386.c (def_builtin): Special case 64bit builtins.
393 (MASK_SSE164, MASK_SSE264): New constants.
394 (builtin_description): Add 64bit builtins.
395 (ix86_init_mmx_sse_builtins): Likewise.
396 * i386.h (enum ix86_builtins): Likewise.
397 * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
398 sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
399 (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
400 * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
401 * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
402 _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
403 _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
404
405 Sat Feb 22 00:48:22 CET 2003 Jan Hubicka <jh@suse.cz>
406
407 * i386.c (builtin_description): Add __builtin_ia32_paddq and
408 __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
409 and __builtin_ia32_psubq128.
410 * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
411 * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
412 (mmx_adddi3, mmx_subdi3): New.
413 * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
414 * xmmintrin.h (_mm_movepi64_pi64): New.
415 (_mm_add_epi64, _mm_sub_epi64): fix.
416 (_mm_mul_pu16): Rename to...
417 (_mm_mul_su32): ... this one.
418
419 * builtins.c (expand_builtin_expect): Do not predict
420 flag_guess_branch_prob is not set.
421 * c-semantics.c (expand_stmt): Likewise.
422 * predict.c (predict_insn): Likewise.
423 * stmt.c (expand_continue_loop): Likewise.
424 * toplev.c (rest_of_compilation): Do not call
425 note_prediction_to_br_prob and note_prediction_to_br_prob
426 when not optimizing.
427
428 Fri Feb 21 23:10:13 CET 2003 Jan Hubicka <jh@suse.cz>
429
430 * cfgrtl.c (commit_edge_insertions): Call
431 find_many_sub_basic_block only when some code has been emitted.
432 (commit_edge_insertions_watch_calls): Bring into sync with
433 commit_edge_insertions
434
435 Fri Feb 21 20:41:29 2003 J"orn Rennecke <joern.rennecke@superh.com>
436
437 * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
438
439 * sh.md (binary_sf_op): Use extra constant operand instead of
440 negating constant operand 4.
441 * sh.c (sh_expand_binop_v2sf): Supply it.
442
443 2003-02-21 Zack Weinberg <zack@codesourcery.com>
444
445 * cpphash.h (struct lexer_state): Add directive_wants_padding.
446 * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
447 for directives of type INCL.
448 (glue_header_name, parse_include): Use get_token_no_padding.
449 * cppmacro.c (replace_args): If directive_wants_padding,
450 provide padding tokens.
451
452 2003-02-21 Kazu Hirata <kazu@cs.umass.edu>
453
454 * config/h8300/h8300.md (a peephole2): New.
455
456 Fri Feb 21 11:05:44 CET 2003 Jan Hubicka <jh@suse.cz>
457
458 * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
459 (commit_edge_insertions): Call find_many_sub_basic_blocks
460
461 * reg-stack.c (convert_regs): Cleax aux for blocks.
462
463 Fri Feb 21 10:29:52 CET 2003 Jan Hubicka <jh@suse.cz>
464
465 * toplev.c (parse_options_and_default_flags): Undo accidental commit.
466
467 2003-02-21 Glen Nakamura <glen@imodulo.com>
468
469 PR optimization/8613
470 * builtins.c (expand_builtin): Emit postincrements before expanding
471 builtin functions.
472
473 2003-02-21 Ben Elliston <bje@redhat.com>
474
475 PR other/5634
476 * doc/install.texi (Configuration): Explain using $HOME instead of
477 the ~ metacharacter when referring to home directories.
478
479 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
480
481 * configure.in (TARGET_SYSTEM_ROOT): Set default to
482 ${exec_prefix}/${target_alias}/sys-root. Match explicit
483 '${exec_prefix}' (in addition to the expansion thereof) as
484 relocatable.
485 * configure: Rebuilt.
486
487 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
488
489 * config/h8300/h8300.md (addhi3_incdec): Change the name to
490 *addhi3_incdec.
491 (addsi3_incdec): Change the name to *addsi3_incdec.
492
493 2003-02-20 Roger Sayle <roger@eyesopen.com>
494
495 * explow.c (force_reg): Avoid useless REG_EQUAL notes.
496
497 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
498
499 PR fortran/9038
500 * c-opts.c (sanitize_cpp_opts): Add Fortran front end
501 options to be ignored.
502 (c_common_decode_option): Ignore them when preprocessing.
503
504 Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz>
505
506 * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
507 global variables.
508 (lang_independent_options): Add -fsched2-use-superblocks
509 -fsced2-use-traces.
510 (rest_of_compilation): Deal with it.
511 * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
512 * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
513 Declare.
514 * rtl.h (reg_to_stack): Update prototype.
515 * reg-stack.c (reg_to_stack): Return when something has changed;
516 update liveness when executing after superblock scheduling.
517
518 * combine.c (simplify_shift_const): Simplify few special cases
519 into constants.
520
521 2003-02-20 David Edelsohn <edelsohn@gnu.org>
522
523 * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
524 (add.,subf.,neg.): Change attribute to fast_compare.
525 All DFA descriptions updated.
526
527 2003-02-20 Nathan Sidwell <nathan@codesourcery.com>
528
529 Change base class access representation.
530 * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
531 TREE_VIA_PRIVATE): Remove.
532 (BINFO_BASEACCESSES): New binfo elt.
533 (BINFO_BASEACCESS): New accessor.
534 (BINFO_ELTS): Increase.
535 (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
536 (access_public_node, access_protected_node,
537 access_private_node): New global nodes.
538 * tree.c (build_common_tree_nodes_2): Initialize access nodes.
539 * dbxout.c (dbxout_type): Adjust.
540 * dwarf2out.c (gen_inheritance_die): Add access parameter.
541 (gen_member_die): Adjust.
542 * dwarfout.c (output_inheritance_die): ARG is array of two trees.
543 (output_type): Adjust.
544 * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
545
546 Change base class access representation. Share virtual base
547 binfos.
548 * cp/call.c (build_special_member_call): Remove binfo_for_vbase
549 call.
550 * cp/class.c (build_base_path): Likewise.
551 (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
552 (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
553 (make_new_vtable): Adjust.
554 (force_canonical_binfo_r): Delete.
555 (force_canonical_binfo): Delete.
556 (mark_primary_virtual_base): Delete.
557 (dfs_unshared_virtual_bases): Delete.
558 (mark_primary_bases): Adjust.
559 (maybe_warn_about_overly_private_class): Adjust.
560 (dfs_base_derived_from): Delete.
561 (base_derived_from): Follow the inheritance chain.
562 (struct find_final_overrider_data): Add vpath member.
563 (dfs_find_final_overrider): Adjust.
564 (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
565 (find_final_overrider): Adjust.
566 (update_vtable_entry_for_fn): Adjust.
567 (modify_all_vtables): Adjust.
568 (walk_subobject_offsets): Adjust.
569 (layout_nonempty_base_or_field): Adjust.
570 (layout_empty_base): Remove last parameter. Adjust.
571 (build_base_field): Adjust.
572 (build_base_fields): Adjust.
573 (propagate_binfo_offsets): Remove last parameter. Adjust.
574 (dfs_set_offset_for_unshared_vbases): Delete.
575 (layout_virtual_bases): Adjust.
576 (finish_struct_1): Adjust.
577 (init_class_processing): Don't init access nodes.
578 (dfs_get_primary_binfo): Delete.
579 (get_primary_binfo): Adjust.
580 (dump_class_hierarchy_r): Remove most derived arg, add IGO
581 parameter. Adjust.
582 (dump_class_hierarchy): Adjust.
583 (finish_vtbls): Adjust.
584 (get_original_base): Delete.
585 (build_vtt_inits): Adjust.
586 (dfs_build_secondary_vptr_vtt_inits): Adjust.
587 (dfs_ctor_vtable_bases_queue_p): Adjust.
588 (build_ctor_vtbl_group): Adjust.
589 (dfs_accumulate_vtbl_inits): Adjust.
590 (build_vtbl_initializer): Adjust.
591 (build_vbase_offset_vtbl_entries): Adjust.
592 (add_vcall_offset_vtbl_entries_1): Adjust.
593 * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
594 (access_*_node): Remove.
595 (CANONICAL_BINFO): Delete.
596 (BINFO_UNSHARED_MARKED): Remove.
597 (BINFO_MARKED): Set LANG_FLAG_0 directly.
598 (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
599 (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
600 (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
601 Delete.
602 (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
603 (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
604 (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
605 Delete.
606 (BINFO_DEPENDENT_BASE_P): New.
607 (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
608 index.
609 (markedp, unmarkedp): Adjust.
610 (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
611 dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
612 find_vbase_instance, binfo_for_vbase): Delete.
613 (copied_binfo, original_binfo): Declare.
614 (finish_base_specifier): Add virtual_p arg.
615 (unshare_base_binfos): Delete.
616 (copy_base_binfos): Declare.
617 (reverse_path): Delete.
618 * cp/decl.c (xref_basetypes): Access and virtuality passed
619 differently. Don't copy direct base binfos here. Call
620 copy_base_binfos.
621 * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
622 (initialize_vtbl_ptrs): Adjust.
623 (expand_member_init): Adjust.
624 * cp/parser.c (cp_parser_base_specifier): Adjust.
625 * cp/pt.c (instantiate_class_template): Adjust.
626 (get_template_base_recursive): Adjust.
627 * cp/rtti.c (get_pseudo_ti_init): Adjust.
628 (get_pseudo_ti_desc): Adjust.
629 * cp/tree.c (unshare_base_binfos): Rename to ...
630 (copy_base_binfos): ... here, reimplement.
631 (make_binfo): Set BINFO_DEPENDENT_BASE_P.
632 (reverse_path): Remove.
633 * cp/typeck.c (get_delta_difference): Adjust error messages.
634 * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
635 * cp/search.c (lookup_base_r): Adjust.
636 (dynamic_cast_base_recurse): Adjust.
637 (canonical_binfo): Remove.
638 (dfs_canonical_queue): Remove.
639 (dfs_assert_unmarked_p): Remove.
640 (assert_canonical_unmarked): Remove.
641 (shared_marked_p, shared_unmarked_p): Remove.
642 (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
643 (dfs_access_in_type): Adjust.
644 (access_in_type): Adjust.
645 (dfs_accessible_queue_p): Adjust.
646 (dfs_accessible_p): Adjust.
647 (is_subobject_of_p_1, is_subobject_of_p): Remove.
648 (struct lookup_field_info): Remove from_dep_base_p field.
649 (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
650 (lookup_field_r): Remove dependent base code.
651 (lookup_member): Likewise.
652 (dfs_walk, dfs_walk_real): Add access arg to queue fn.
653 (dfs_unmarked_real_bases_queue_p): Remove.
654 (dfs_marked_real_bases_queue_p): Remove.
655 (dfs_skip_vbases): Remove.
656 (dfs_get_pure_virtuals): Adjust.
657 (markedp, unmarkedp): Adjust.
658 (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
659 (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
660 (dfs_unmark): Adjust.
661 (dfs_get_vbase_types):Remove.
662 (dfs_build_inheritance_graph_order): Remove.
663 (get_vbase_types): Remove
664 (dfs_find_vbase_instance): Remove.
665 (find_vbase_instance): Remove.
666 (dfs_debug_unmarkedp): Adjust.
667 (dependent_base_p): Remove.
668 (dfs_push_type_decls): Adjust.
669 (dfs_push_decls): Adjust.
670 (dfs_no_overlap_yet): Adjust.
671 (copied_binfo): New function.
672 (original_binfo): New function.
673 (binfo_for_vbase): Remove.
674
675 Change base class access representation.
676 * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
677 (add_interface_do): Likewise.
678
679 2003-02-20 David Edelsohn <edelsohn@gnu.org>
680
681 * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
682 * config/rs6000/power4.md (power4-store,power4-vecstore): New
683 insn reservations.
684 (power4-fpstore): Compact.
685
686 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
687
688 * config/h8300/h8300.md (*iorsi3_w): New.
689
690 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
691
692 * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
693 * rtl.c (reg_note_name): Likewise.
694 * rtl.h (enum reg_note): Likewise.
695 * doc/invoke.texi: Likewise.
696 * doc/rtl.texi: Likewise.
697
698 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
699
700 * bb-reorder.c (find_traces_1_round): Fix comment typo.
701
702 2003-02-19 Roger Sayle <roger@eyesopen.com>
703
704 * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
705 addition in the presence of signaling NaNs.
706
707 2003-02-19 Krister Walfridsson <cato@df.lth.se>
708
709 * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
710
711 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
712
713 * config/h8300/h8300.c (output_logical_op): Optimize or.l when
714 ORing with 0xffff??00 with the highest bit of the ?? part set.
715 (compute_logical_op_length): Update.
716 (compute_logical_op_cc): Likewise.
717
718 2003-02-19 Josef Zlomek <zlomekj@suse.cz>
719
720 * bb-reorder.c (find_traces_1_round): Fixed condition for small
721 destination block with multiple predecessors.
722 (connect_traces): Check whether the block is a start of trace.
723
724 Wed Feb 19 19:00:24 CET 2003 Jan Hubicka <jh@suse.cz>
725
726 * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
727 * function.c (assign_params): Likewise.
728 * arm-protos.h (arm_init_cumulative_args): Update prototype.
729 * arm.c (arm_init_cumulative_args): Update function.
730 * arm.h (INIT_CUMULATIVE_ARGS): Update.
731 * avr-protos.h (init_cumulative_args): Update prototype.
732 * avr.c (init_cumulative_args): Update function.
733 * avr.h (INIT_CUMULATIVE_ARGS): Update.
734 * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
735 * d30v.c (d30v_init_cumulative_args): Update function.
736 * d30v.h (INIT_CUMULATIVE_ARGS): Update.
737 * frv-protos.h (frv_init_cumulative_args): Update prototype.
738 * frv.c (frv_init_cumulative_args): Update function.
739 * frv.h (INIT_CUMULATIVE_ARGS): Update.
740 * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
741 * pa.h (INIT_CUMULATIVE_ARGS): Update.
742 * sparc-protos.h (init_cumulative_args): Update prototype.
743 * sparc.c (init_cumulative_args): Update function.
744 * sparc.h (INIT_CUMULATIVE_ARGS): Update.
745 * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
746
747 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
748
749 * config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
750 (*ashiftsi_sextqi_7): Likewise.
751
752 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
753
754 * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
755 ISO C99 and C++.
756
757 * fixinc/inclhack.def (irix___restrict): Don't change __restrict
758 for C++ on IRIX 6.5.1[89].
759 * fixinc/tests/base/internal/sgimacros.h: New file.
760
761 * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
762 * fixinc/tests/base/internal/wchar_core.h: New file.
763
764 * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
765 socklen_t definition.
766 * fixinc/fixincl.x: Regenerate.
767 * fixinc/tests/base/sys/socket.h: New file.
768 Fixes PR libgcj/9652.
769
770 Wed Feb 19 17:22:51 CET 2003 Jan Hubicka <jh@suse.cz>
771
772 * i386.md (movsfcc_1, movdfcc_1): Fix constrains.
773
774 2003-02-19 David Edelsohn <edelsohn@gnu.org>
775
776 * config/rs6000/rs6000.c (rs6000_override_options): Initialize
777 align_jumps_max_skip and align_loops_max_skip.
778
779 2003-02-19 Thierry Moreau <thierry.moreau@connotech.com>
780
781 * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
782 test size if named section.
783
784 2003-02-19 Daniel Jacobowitz <drow@mvista.com>
785
786 * expr.c (expand_expr): Use gen_int_mode for the argument
787 to gen_rtx_MULT.
788
789 Wed Feb 19 14:22:42 CET 2003 Jan Hubicka <jh@suse.cz>
790
791 * i386.md (cosxf2): Fix conditional.
792
793 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
794
795 * config/h8300/h8300.md (extendqisi2): Change to an expander.
796 (*extendqisi2_h8300): New.
797 (*extendqisi2_h8300hs): Likewise.
798
799 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
800
801 * config/h8300/h8300-protos.h: Update the prototype for
802 split_adds_subs. Remove the prototypes for
803 const_int_le_2_operand and const_int_le_6_operand.
804 * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
805 (const_int_le_2_operand): Remove.
806 (const_int_le_6_operand): Likewise.
807 * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
808 for const_int_le_2_operand and const_int_le_6_operand.
809 * config/h8300/h8300.md: Update all uses of split_adds_subs.
810 (a peephole2): New.
811
812 Tue Feb 18 23:50:59 CET 2003 Jan Hubicka <jh@suse.cz>
813
814 * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
815 (cgraph_expand_function): Rewrite.
816
817 2003-02-18 Matt Austern <austern@apple.com>
818
819 * toplev.c, langhooks.c, langhooks-def.h: Move
820 write_global_declarations from toplev.c to langhooks.c.
821
822 2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
823
824 * config/h8300/h8300.c (general_operand_src): Always check
825 MODE.
826 (general_operand_dst): Likewise.
827
828 2003-02-18 Roger Sayle <roger@eyesopen.com>
829
830 * convert.c (convert_to_real): Also optimize (float)log(x) into
831 logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
832
833 2003-02-18 Kaz Kojima <kkojima@gcc.gnu.org>
834
835 * config/sh/sh.c (unspec_caller_rtx_p): New.
836 (sh_cannot_copy_insn_p): New.
837 (TARGET_CANNOT_COPY_INSN_P): New.
838
839 2003-02-18 Richard Henderson <rth@redhat.com>
840
841 * c-common.c (handle_used_attribute): Accept static data too.
842
843 2003-02-18 Nick Clifton <nickc@redhat.com>
844 Aldy Hernandez <aldyh@redhat.com>
845
846 * testsuite/gcc.dg/20030218-1.c: New.
847
848 * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
849
850 * target-def.h (TARGET_INITIALIZER): Add
851 TARGET_VECTOR_TYPES_COMPATIBLE.
852 (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
853
854 * target.h (struct gcc_target): Add field vector_types_compatible.
855
856 * c-typeck.c (comptypes): Take into account
857 TARGET_VECTOR_TYPES_COMPATIBLE.
858 (convert_for_assignment): Same.
859
860 * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
861 (rs6000_spe_vector_types_compatible): New.
862 (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
863
864 2003-02-19 Andreas Schwab <schwab@suse.de>
865
866 * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
867 * toplev.c: Include langhooks-def.h.
868
869 2003-02-18 Chris Demetriou <cgd@broadcom.com>
870
871 * config/mips/mips.h (enum processor_type): Sort entries
872 alphabetically.
873 * config/mips/mips.md (define_attr cpu): Sync with processor_type
874 enum values, including adding entries that were missing.
875
876 Tue Feb 18 20:15:54 2003 J"orn Rennecke <joern.rennecke@superh.com>
877
878 * sh.c (calc_live_regs): Also check GET_CODE when checking if
879 initial value for PR_REG is still the PR_REG register.
880
881 2003-02-18 Jim Wilson <wilson@redhat.com>
882
883 * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
884 instruction in output template.
885 (bsp_value): Change output template from string to C code, add %,
886 before actual instruction.
887 (flushrs): Mark as not predicable.
888
889 2003-02-18 Krister Walfridsson <cato@df.lth.se>
890
891 * inclhack.def (netbsd_bogus_semicolon): New fix.
892 * fixincl.x: Rebuilt.
893 * tests/base/ctype.h: Update.
894
895 2003-02-18 Roger Sayle <roger@eyesopen.com>
896
897 * fold-const.c (negate_expr_p): New function to determine whether
898 an expression can be negated cheaply.
899 (fold) [MINUS_EXPR]: Use it to determine whether to transform
900 -A - B into -B - A for floating point types.
901
902 2003-02-18 Roger Sayle <roger@eyesopen.com>
903
904 * sbitmap.c (sbitmap_resize): New function.
905 * sbitmap.h (sbitmap_resize): Prototype here.
906 * recog.c (split_all_insns): Use sbitmap_resize.
907
908 2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
909
910 * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
911 insn length.
912 (extendqisi2): Likewise.
913 (*extendhisi2_h8300): Likewise.
914
915 2003-02-18 Matt Austern <austern@apple.com>
916
917 * langhooks.h, langhooks-def.h: introduce new langhook,
918 final_write_globals, with write_global_declarations as default.
919 * toplev.c: Move invocation of wrapup_global_declarations from
920 compile_file to new function, write_global_declarations. Change
921 compile_file to use final_write_globals hook. Change
922 wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
923 conditional.
924
925 2003-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
926
927 * pa.md: Correct and enhance comment.
928
929 2003-02-18 Geoffrey Keating <geoffk@apple.com>
930
931 * gcc.c (validate_switches): Don't scan past closing '}'.
932
933 2003-02-18 Ben Elliston <bje@redhat.com>
934
935 PR c++/1607
936 * doc/extend.texi (Function Attributes): Document the effect of
937 the C++ "this" parameter on the counting of arguments for the
938 "format" and "format_arg" attributes.
939
940 2003-02-17 Aldy Hernandez <aldyh@redhat.com>
941
942 * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
943 (__ev_stdw): Same.
944 (__ev_stdh): Same.
945
946 Mon Feb 17 16:16:54 CET 2003 Jan Hubicka <jh@suse.cz>
947
948 * recog.c (split_all_insns): Fix memory overflow.
949
950 2003-02-17 Kazu Hirata <kazu@cs.umass.edu>
951
952 * config/h8300/h8300.md (cmpqi): Remove mode from compare.
953 (cmphi): Likewise.
954 (*cmphi_h8300): Likewise.
955 (*cmphi_h8300hs): Likewise.
956 (cmpsi): Likewise.
957 (7 peephole2): Likewise.
958
959 Sun Feb 16 23:07:52 CET 2003 Jan Hubicka <jh@suse.cz>
960
961 * c-typeck.c (build_c_cast): Fold constant variables into
962 initial values.
963
964 2003-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
965
966 * doc/install.texi (Specific): Fix link for m68k-att-sysv.
967 (Binaries): Ditto for Sinix/Reliant Unix.
968
969 2003-02-16 Richard Earnshaw <rearnsha@arm.com>
970
971 * arm.c (arm_reload_in_hi): Ensure that the scratch register does
972 not overlap the final result register.
973
974 2003-02-16 Arend Bayer <arend.bayer@web.de>
975 Richard Henderson <rth@redhat.com>
976
977 PR c/8068
978 * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
979 rearrange mult arguments for less recursion.
980 (extract_muldiv): New. Prevent runaway recursion.
981
982 2003-02-16 Danny Smith <dannysmith@users.sourceforge.net>
983
984 * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
985 MASK_ALIGN_DOUBLE.
986
987 2003-02-15 Roger Sayle <roger@eyesopen.com>
988
989 * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
990 to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
991 (ext_80387_constants_table): Global table of 80387 special constants
992 guarded by ext_80387_constants_init flag when not initialized.
993 (init_ext_80387_constants): New function to initialize this table.
994 (standard_80387_constant_p): Extend to recognize extra 80387
995 constants, in XFmode, on processors where this is a win.
996 (standard_80387_constant_opcode): New function to return the
997 opcode associated with standard_80387_constant_p.
998 (standard_80387_constant_rtx): New function to return the XFmode
999 CONST_DOUBLE associated with standard_80387_constant_p.
1000 (ix86_rtx_costs): Give the new constants the same cost as 1.0.
1001
1002 * config/i386/i386-protos.h (standard_80387_constant_opcode):
1003 Prototype here.
1004 (standard_80387_constant_rtx): Likewise.
1005
1006 * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
1007 *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
1008 *movtf_integer): Simplify using new standard_80387_constant_opcode.
1009
1010 2003-02-15 Geoffrey Keating <geoffk@apple.com>
1011
1012 * doc/invoke.texi (Optimize Options): Correct @option syntax.
1013
1014 2003-02-15 Richard Henderson <rth@redhat.com>
1015
1016 * Makefile.in (cfglayout.o): Depend on TARGET_H.
1017 * cfglayout.c: Include target.h.
1018 (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
1019 * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
1020 * target.h (struct gcc_target): Add cannot_copy_insn_p.
1021
1022 * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
1023 (TARGET_CANNOT_COPY_INSN_P): New.
1024 (override_options): Revert 2003-02-08 hack.
1025
1026 2003-02-15 Richard Henderson <rth@redhat.com>
1027
1028 * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
1029 (bypass_conditional_jumps): Accept computed_jump_p insns as well.
1030
1031 2003-02-15 David Edelsohn <edelsohn@gnu.org>
1032
1033 * config/rs6000/rs6000.h (processor_type): Add PPC440.
1034 * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
1035 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
1036 TARGET_SCHED_VARIABLE_ISSUE): Define.
1037 (rs6000_use_dfa_pipeline_interface): New function.
1038 (rs6000_multipass_dfa_lookahead): New Function.
1039 (rs6000_variable_issue): New function.
1040 (rs6000_adjust_cost): Add CMP and DELAYED_CR types.
1041 (rs6000_issue_rate): Add PPC440.
1042 * config/rs6000/rs6000.md (unspec list): Correct typo.
1043 (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
1044 store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
1045 cmp, delayed_cr, mfcr, mtcr.
1046 (automata_option): Set "ndfa".
1047 (extendMMNN2): Update attributes.
1048 (movcc_internal1): Discourage move to non-cr0. Update
1049 attributes.
1050 (movMM_update): Update attributes.
1051 (cmpMM_internal): Update attributes.
1052 (sCC CR materialization): Update attributes.
1053 (branch patterns): Do not discourage non-cr0.
1054 (cr logical patterns): Prefer destructive register allocation.
1055 Update attributes.
1056 (movesi_from_cr): Update attribute.
1057 (mtcrf_operation): Update attribute.
1058 (mtcrfsi): Update attribute.
1059 * config/rs6000/40x.md: New file.
1060 * config/rs6000/603.md: New file.
1061 * config/rs6000/6xx.md: New file.
1062 * config/rs6000/7450.md: New file.
1063 * config/rs6000/7xx.md: New file.
1064 * config/rs6000/mpc.md: New file.
1065 * config/rs6000/power4.md: New file.
1066 * config/rs6000/rios1.md: New file.
1067 * config/rs6000/rios2.md: New file.
1068 * config/rs6000/rs64.md: New file.
1069 [Some DFA descriptions based on work by Michael Hayes]
1070
1071 2003-02-15 Richard Henderson <rth@redhat.com>
1072
1073 * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
1074 successors with multiple predecessors.
1075 (connect_traces): Try harder to copy traces of length 1.
1076
1077 * function.h (struct function): Add computed_goto_common_label,
1078 computed_goto_common_reg.
1079 * function.c (free_after_compilation): Zap them.
1080 * stmt.c (expand_computed_goto): Use them to produce one
1081 indirect branch per function.
1082
1083 2003-02-15 Richard Henderson <rth@redhat.com>
1084
1085 * cfgcleanup.c: Include params.h.
1086 (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for
1087 too many outgoing edges from a block.
1088 * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
1089 * params.def (max-crossjump-edges): New.
1090 * doc/invoke.texi: Document it.
1091
1092 2003-02-15 Richard Henderson <rth@redhat.com>
1093
1094 * recog.c (split_all_insns): Include new blocks in life update;
1095 do a global life update.
1096
1097 2003-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1098
1099 * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
1100 Update copyright.
1101 * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
1102 -mno-cygwin case.
1103
1104 2003-02-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
1105
1106 PR optimization/7702
1107 * reload1.c (reload_cse_simplify_set): Honor
1108 CANNOT_CHANGE_MODE_CLASS.
1109
1110 2003-02-14 Alexandre Oliva <aoliva@redhat.com>
1111
1112 * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
1113 function.
1114 * config/mn10300/mn10300-protos.h: Declare it.
1115 * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
1116 attribute cc of instructions that may use clr.
1117
1118 2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
1119
1120 * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
1121 (x - (x & y)) is found.
1122
1123 2003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1124
1125 * configure.in: Fix typo.
1126 * configure: Regenerate.
1127
1128 2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
1129
1130 * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
1131
1132 2003-02-13 Adam Nemet <anemet@lnxw.com>
1133
1134 PR opt/2391
1135 * combine.c: Fix spelling in comment.
1136 (cached_nonzero_bits): New function.
1137 (cached_num_sign_bit_copies): New function.
1138 (nonzero_bits_with_known): New macro.
1139 (num_sign_bit_copies_with_known): New macro.
1140 (nonzero_bits1): Rename from nonzero_bits. Add three new
1141 arguments. Change calls from nonzero_bits to
1142 nonzero_bits_with_known.
1143 (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add
1144 three new arguments. Change calls from num_sign_bit_copies to
1145 num_sign_bit_copies_with_known.
1146 (nonzero_bits): New macro.
1147 (num_sign_bit_copies): New macro.
1148 (update_table_tick): Don't traverse identical subexpression more
1149 than once.
1150 (get_last_value_validate): Likewise.
1151
1152 2003-02-13 Zack Weinberg <zack@codesourcery.com>
1153
1154 * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
1155 * function.h (struct emit_status): Length of regno_pointer_align
1156 and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
1157 not regno_pointer_align_length (i.e. length actually used, not
1158 length as allocated)
1159
1160 * config/i386/i386.c (struct stack_local_entry): New.
1161 (struct machine_function): Replace huge array with alist.
1162 (assign_386_stack_local): Change to match.
1163
1164 2003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca>
1165
1166 * inclhack.def (hpux_long_double): Tighten select and add bypass
1167 regexp.
1168 * fixincl.x: Rebuilt.
1169
1170 2003-02-13 Josef Zlomek <zlomekj@suse.cz>
1171
1172 * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
1173 edge and block ends with a jump insn it must be simple jump.
1174
1175 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
1176
1177 * Makefile.in (PREPROCESSOR_DEFINES): Add
1178 @TARGET_SYSTEM_ROOT_DEFINE@.
1179 * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
1180 is specified or if building a cross compiler.
1181 (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
1182 if the sysroot is under $exec_prefix.
1183 * configure: Regenerated.
1184 * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
1185 defined.
1186 (struct default_include): Add add_sysroot field.
1187 (cpp_SYSROOT): Declare.
1188 * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
1189 field.
1190 (cpp_SYSROOT): New variable.
1191 * cppinit.c (cpp_create_reader): Initialize
1192 CPP_OPTION (pfile, sysroot).
1193 (init_standard_includes): Handle add_sysroot. Do not
1194 add unrelocated copies of relocated directories.
1195 (COMMAND_LINE_OPTIONS): Add -isysroot.
1196 (cpp_handle_option): Handle -isysroot.
1197 * cpplib.h (struct cpp_options): Add sysroot member.
1198 * gcc.c (The Specs Language): Update description of %I.
1199 (target_system_root_changed): New variable.
1200 (process_command): Conditionalize make_relative_prefix call
1201 on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set
1202 target_system_root_changed.
1203 (do_spec_1): Add -isysroot to %I.
1204 * doc/invoke.texi (Spec Files): Update description of %I.
1205 * doc/install.texi (--with-sysroot): Update comment about
1206 relocation.
1207
1208 2003-02-13 Kazu Hirata <kazu@cs.umass.edu>
1209
1210 * config/h8300/h8300.md (a peephole2): New.
1211
1212 2003-02-13 Robert Lipe <robertlipe@usa.net>
1213 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1214
1215 * doc/install.texi (Specific): Update three SCO-related URLs.
1216
1217 2003-02-13 Andreas Schwab <schwab@suse.de>
1218
1219 * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
1220 Parenthesize properly.
1221 (NPREDECESORS): Parenthesize properly.
1222
1223 2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
1224
1225 * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
1226
1227 2003-02-12 Roger Sayle <roger@eyesopen.com>
1228
1229 * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
1230 (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
1231
1232 * reg-stack.c (subst_stack_regs_pat): Add support for binary
1233 UNSPEC instructions (e.g. "fpatan").
1234
1235 2003-02-12 Mike Stump <mrs@apple.com>
1236
1237 * varray.c (element_size): Remove.
1238 (uses_ggc): Remove.
1239 (element): Add.
1240 (varray_init): Use new interface.
1241 (varray_grow): Use new interface.
1242 (varray_clear): Use new interface.
1243
1244 2003-02-12 Aldy Hernandez <aldyh@redhat.com>
1245
1246 * config/rs6000/spe.h: Add casts to the arguments of the following
1247 macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
1248 evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
1249 evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
1250 __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
1251 __ev_get_u16, __ev_get_s16.
1252
1253 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
1254
1255 * config/h8300/h8300.md (a peephole2): New.
1256
1257 Wed Feb 12 22:47:18 CET 2003 Jan Hubicka <jh@suse.cz>
1258
1259 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
1260 (OBJS): Add callgraph.o
1261 (callgraph.o): New.
1262 * c-decl.c (expand_body_1): Break out from ...
1263 (expand_body): This one; change calling convention
1264 (finish_function): Move some of expand_body logic here.
1265 (c_expand_deferred_function): Update call of expand_body
1266 (c_expand_stmt): Use c_expand_body_1.
1267 * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
1268 * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
1269 * c-tree.h (c_expand_body): Declare.
1270 * callgraph.c: New file.
1271 * flags.h (flag_unit_at_a_time): Declare.
1272 * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
1273 LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
1274 LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
1275 * langhooks.h (struct lang_hooks_for_callgraph): New.
1276 (struct lang_hooks): Add callgraph field.
1277 * toplev.c (flag_unit_at_a_time): New.
1278 (lang_independent_options): Add flag_unit_at_a_time.
1279 (process_options): Disable unit-at-a-time mode for frontends not
1280 supporting callgraph.
1281 * tree-inline.c (typedef struct inline_data): Add "decl"
1282 (expand_call_inline): Update callgraph.
1283 (optimize_inline_calls): Set id.decl.
1284 * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
1285 cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
1286 cgraph_calls_p): Declare.
1287 * invoke.texi (-funit-at-a-time): Document
1288
1289 2003-02-12 Aldy Hernandez <aldyh@redhat.com>
1290
1291 * config/rs6000/spe.h: Fix misc formatting.
1292 (__ev_create_ufix32_fs): Cast ev argument.
1293 (__ev_create_sfix32_fs): Same.
1294 (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
1295 (__ev_get_ufix32_fs_internal): Same.
1296
1297 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
1298
1299 * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
1300 * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
1301
1302 2003-02-12 Zack Weinberg <zack@codesourcery.com>
1303
1304 * cpplib.c (do_include_common): Move warnings for
1305 #include_next and #import out to callers. Use early-return
1306 instead of nested ifs. Don't do check_eol here.
1307 (parse_include): Do check_eol here with the rest of the
1308 parsing stuff.
1309 (do_include_next, do_import): Now handle warnings.
1310
1311 2003-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1312
1313 * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
1314
1315 Wed Feb 12 15:19:42 CET 2003 Jan Hubicka <jh@suse.cz>
1316
1317 * predict.c (estimate_probability): Fix roundoff error.
1318
1319 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
1320
1321 * config/h8300/h8300.md (a peephole2): Don't handle 65535.
1322 (two peephole2): New.
1323
1324 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
1325
1326 * config/h8300/h8300.md (several peephole2): Replace
1327 find_regno_note with peep2_reg_dead_p.
1328
1329 2003-02-11 Richard Henderson <rth@redhat.com>
1330
1331 * gcse.c (lookup_set): Remove unused argument PAT. Update
1332 both callers.
1333
1334 2003-02-11 Geoffrey Keating <geoffk@apple.com>
1335
1336 * diagnostic.c (real_abort): New.
1337 (diagnostic_report_diagnostic): Call real_abort on error.
1338 * diagnostic.h (diagnostic_abort_on_error): New.
1339 (struct diagnostic_context): Add abort_on_error field.
1340 * toplev.c (setup_core_dumping): New.
1341 (decode_d_option): Handle 'H' case.
1342 * doc/invoke.texi (Debugging Options): Document -dH.
1343
1344 2003-02-11 Nathanael Nerode <neroden@gcc.gnu.org>
1345
1346 * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
1347 which refers to obsolete directories.
1348
1349 2003-02-11 Richard Henderson <rth@redhat.com>
1350
1351 * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
1352
1353 Mon Oct 21 17:07:47 CEST 2002 Jan Hubicka <jh@suse.cz>
1354
1355 * i386.c (contains_128bit_aligned_vector_p): New function.
1356 (ix86_function_arg_boundary): Properly align vector modes.
1357
1358 2003-02-11 Bob Wilson <bob.wilson@acm.org>
1359
1360 * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
1361 * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
1362 as a SET pattern.
1363
1364 2003-02-11 Roger Sayle <roger@eyesopen.com>
1365
1366 * builtins.c: Fix failure caused by commiting wrong patch.
1367
1368 2003-02-11 Dale Johannesen <dalej@apple.com>
1369 * ra-build.c (compare_and_free_webs): Relax checking.
1370 * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define.
1371 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
1372
1373 2003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
1374
1375 PR optimization/9651
1376 * rtlanal.c (may_trap_p): Handle FIX.
1377
1378 2003-02-11 Dave Jones <davej@codemonkey.org.uk>
1379
1380 * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
1381 * doc/invoke.texi: Extra alias.
1382
1383 2003-02-11 Geoffrey Keating <geoffk@apple.com>
1384
1385 * config/rs6000/host-darwin.c: Fix comment.
1386
1387 2003-02-11 David Edelsohn <edelsohn@gnu.org>
1388
1389 * config/rs6000/rs6000.md (divmodsi4): Use register_operand
1390 predicate for mod result.
1391
1392 2003-02-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1393
1394 * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
1395 hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
1396 * fixincl.x: Rebuilt.
1397 * tests/base/stdlib.h: Update.
1398 * tests/base/ctype.h: New file.
1399
1400 Tue Feb 11 20:44:45 CET 2003 Jan Hubicka <jh@suse.cz>
1401
1402 * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
1403
1404 2003-02-11 Richard Henderson <rth@redhat.com>
1405
1406 * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
1407 appropriated as globals.
1408 (ix86_expand_clrstr): Similarly.
1409 * config/i386/i386.md (cmpstrsi): Similarly.
1410
1411 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
1412
1413 * config/h8300/h8300.md (a peephole2): Add a case of 255.
1414
1415 2003-02-11 Roger Sayle <roger@eyesopen.com>
1416
1417 * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
1418 (pow_optab, atan2_optab): Define corresponding macros.
1419 * optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
1420 * genopinit.c (optabs): Implement pow_optab and atan2_optab
1421 using pow?f3 and atan2?f3 patterns.
1422 * builtins.c (expand_errno_check): New function to update errno
1423 if necessary, split out from expand_builtin_mathfn.
1424 (expand_builtin_mathfn): Use expand_errno_check.
1425 (expand_builtin_mathfn_2): New function to handle expanding binary
1426 math functions, reusing the code in expand_errno_check.
1427 (expand_builtin): Handle the pow and atan2 math built-ins,
1428 BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
1429 expand_builtin_mathfn_2.
1430
1431 * doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
1432
1433 Tue Feb 11 19:03:22 MET 2003 Jan Hubicka <jh@suse.cz>
1434
1435 * combine.c (combine_simplify_rtx): Fix folding of
1436 nested float_truncates.
1437
1438 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
1439
1440 * config/h8300/h8300.md (a peephole2): Fix a typo.
1441
1442 2003-02-11 Richard Earnshaw <rearnsha@arm.com>
1443
1444 * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
1445 register number.
1446
1447 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
1448
1449 * config/h8300/h8300-protos.h: Add a prototype for
1450 gtuleu_operator.
1451 * config/h8300/h8300.c (gtuleu_operator): New.
1452 * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
1453 * config/h8300/h8300.md (a peephole2): New.
1454
1455 Tue Feb 11 13:32:12 CET 2003 Jan Hubicka <jh@suse.cz>
1456
1457 * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
1458
1459 Tue Feb 11 10:02:54 CET 2003 Jan Hubicka <jh@suse.cz>
1460
1461 * predict.c (choose_function_section): Choose sections correctly.
1462
1463 2003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1464
1465 * reload1.c (first_label_num): New.
1466 (reload): Index offsets_known_at and offsets_at using difference of
1467 label number and first label number. Don't use offset pointers.
1468 (set_label_offsets, set_initial_label_offsets): Likewise.
1469
1470 2003-02-10 Roger Sayle <roger@eyesopen.com>
1471
1472 * mips-tfile.c (init_file): Add missing initializers in the
1473 "#ifdef __alpha" case.
1474 (file_offset, max_file_offset): Declare as unsigned long.
1475 (write_varray): Cast to "unsigned long" in comparisons against
1476 either file_offset or max_file_offset.
1477 (write_object): Likewise.
1478 (read_seek): Likewise.
1479 (copy_object): Likewise. Declare "ifd" as int to match its use
1480 in add_ext_symbol, and avoid signed/unsigned conditional warning.
1481
1482 2003-02-10 Nick Clifton <nickc@redhat.com>
1483 Aldy Hernandez <aldyh@redhat.com>
1484
1485 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
1486 override options which have been specified on the command line.
1487
1488 2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
1489
1490 * config/h8300/h8300.md (abssf2): New.
1491 (*abssf2_h8300): Likewise.
1492 (*abssf2_h8300hs): Likewise.
1493
1494 2003-02-10 Phil Edwards <pme@gcc.gnu.org>
1495
1496 * tree.c (build_tree_list): Fix parameter names in comment.
1497
1498 2003-02-10 Janis Johnson <janis187@us.ibm.com>
1499
1500 * config/rs6000/ppc64-fp.c: New file.
1501 * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
1502
1503 2003-02-10 Josef Zlomek <zlomekj@suse.cz>
1504
1505 * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
1506 * bb-reorder.c (make_reorder_chain): Deleted.
1507 (make_reorder_chain_1): Deleted.
1508 (find_traces): New function.
1509 (rotate_loop): New function.
1510 (mark_bb_visited): New function.
1511 (find_traces_1_round): New function.
1512 (copy_bb): New function.
1513 (bb_to_key): New function.
1514 (better_edge_p): New function.
1515 (connect_traces): New function.
1516 (copy_bb_p): New function.
1517 (get_uncond_jump_length): New function.
1518 (reorder_basic_blocks): Use new functions (Software Trace Cache).
1519 * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
1520 boundaries.
1521
1522 2003-02-10 Aldy Hernandez <aldyh@redhat.com>
1523
1524 * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
1525
1526 2003-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1527
1528 * tree.h (struct tree_decl): Remove unused live_range_rtl field.
1529 (DECL_LIVE_RANGE_RTL): Remove.
1530
1531 2003-02-10 Nick Clifton <nickc@redhat.com>
1532
1533 * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
1534 config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
1535 config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
1536 config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
1537 config/arm/freebsd.h, config/arm/linux-elf.h,
1538 config/arm/linux-gas.h, config/arm/netbsd-elf.h,
1539 config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
1540 config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
1541 config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
1542 config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
1543 config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
1544 config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
1545 and reformat as appropriate.
1546
1547 2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
1548
1549 * config/h8300/clzsi2.c: Remove.
1550 * config/h8300/ctzsi2.c: Likewise.
1551 * config/h8300/paritysi2.c: Likewise.
1552 * config/h8300/popcountsi2.c: Likewise.
1553 * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
1554 ctzsi2, paritysi2, and popcountsi2.
1555
1556 2003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr>
1557 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
1558
1559 PR c/7741
1560 * c-decl.c (duplicate_decls): Discard the initializer of the
1561 new decl when the types are conflicting.
1562
1563 2003-02-10 Josef Zlomek <zlomekj@suse.cz>
1564
1565 * Makefile.in (sreal.o): Added.
1566 (predict.o): Depends on sreal.h instead of real.h.
1567 * sreal.c: New file.
1568 * sreal.h: New file.
1569 * predict.c: Use sreal.c instead of real.c.
1570
1571 2003-02-10 Nick Clifton <nickc@redhat.com>
1572
1573 * Contributed support for the Cirrus EP9312 "Maverick"
1574 floating point co-processor. Written by Aldy Hernandez
1575 <aldyh@redhat.com>.
1576 (config/arm/arm.c): Add Cirrus support.
1577 (config/arm/arm.h): Likewise.
1578 (config/arm/aout.h): Likewise.
1579 (config/arm/arm.md): Likewise.
1580 (config/arm/arm-protos.h): Likewise.
1581 (config.gcc): Likewise.
1582 (doc/invoke.texi): Describe new -mcpu value and new
1583 -mcirrus-fix-invalid-insns switch,
1584 (cirrus.md): New file.
1585
1586 Mon Feb 10 11:40:18 CET 2003 Jan Hubicka <jh@suse.cz>
1587
1588 * combine.c (combine_simplify_rtx): Simplify using
1589 (float_truncate (float x)) is (float x)
1590 (float_extend (float_extend x)) is (float_extend x).
1591
1592 2003-02-10 Alan Modra <amodra@bigpond.net.au>
1593
1594 * calls.c (try_to_integrate): Tidy stack_usage_map access.
1595 (emit_library_call_value_1): Likewise. Formatting.
1596 (store_one_arg): Likewise.
1597
1598 2003-02-09 Nick Clifton <nickc@redhat.com>
1599 Aldy Hernandez <aldyh@redhat.com>
1600
1601 * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
1602 spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
1603 spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
1604 spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
1605 spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
1606 docs. Add range test for immediate value.
1607
1608 2003-02-09 Aldy Hernandez <aldyh@redhat.com>
1609
1610 Rename spe_evxor to xorv2si3.
1611 (xorv4hi3): New.
1612 (xorv1di3): New.
1613
1614 2003-02-10 Glen Nakamura <glen@imodulo.com>
1615
1616 * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
1617 tag.
1618
1619 Mon Feb 10 00:29:17 CET 2003 Jan Hubicka <jh@suse.cz>
1620
1621 * i386.c (vector_move_operand): New predicate.
1622 (ix86_expand_vector_move): Be happy about 0.
1623 * i386.h (PREDICATE_CODES): Add sse-move_operand.
1624 * i386.md (mov*_internal): Add 'C' alternative.
1625
1626 Sun Feb 9 23:58:33 CET 2003 Jan Hubicka <jh@suse.cz>
1627
1628 * i386.md (floathi*): Deal with SSE.
1629
1630 Sun Feb 9 23:54:59 CET 2003 Jan Hubicka <jh@suse.cz>
1631
1632 * simplify-rtx.c (simplify_unary_operation,
1633 simplify_binary_operation): Deal with vector modes
1634 (simplify_ternary_operation): Deal with no-op VEC_MERGE.
1635
1636 2002-02-09 Richard Sandiford <rsandifo@redhat.com>
1637
1638 * toplev.c (rest_of_compilation): Recompute register usage after
1639 split_all_insns.
1640
1641 2003-02-09 Richard Henderson <rth@redhat.com>
1642
1643 * libgcc-std.ver (__clztf2): New.
1644 (__ctztf2, __popcounttf2, __paritytf2): New.
1645 * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
1646 __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
1647 adjust code to match the different type sizes.
1648 * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
1649 __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
1650
1651 * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
1652 TImode; select word_mode and twice that.
1653 (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
1654 select the modes from float, double, and long double.
1655 (init_optabs): Remove duplicate initializations.
1656
1657 2003-02-09 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
1658
1659 * doc/install.texi: Squeeze and streamline section on
1660 testing and regression checking.
1661
1662 Sun Feb 9 13:33:34 CET 2003 Jan Hubicka <jh@suse.cz>
1663
1664 * i386.md (ahi?v*3): Set third operand type to TImode.
1665 * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
1666
1667 * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
1668 integer mode.
1669
1670 * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
1671 Change code so they are arithmetic expressions now.
1672 * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
1673 simplify_ternary_operation): Deal with VEC_* expressions.
1674
1675 * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation.
1676
1677 Sat Feb 8 00:21:22 CET 2003 Jan Hubicka <jh@suse.cz>
1678
1679 * cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
1680 * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges
1681 possibly got duplicated.
1682
1683 2003-02-08 Richard Henderson <rth@redhat.com>
1684
1685 * config/alpha/alpha.c (override_options): Turn off explicit
1686 relocs until post-peep2 code duplication resolved.
1687
1688 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
1689
1690 * optabs.c (expand_unop): Widen clz properly when clz is done
1691 via libcall.
1692
1693 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
1694
1695 * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
1696 * config/h8300/crti.asm: Likewise.
1697 * config/h8300/crtn.asm: Likewise.
1698 * config/h8300/ctzsi2.c: Likewise.
1699 * config/h8300/fixunssfsi.c: Likewise.
1700 * config/h8300/h8300-protos.h: Likewise.
1701 * config/h8300/h8300.c: Likewise.
1702 * config/h8300/h8300.h: Likewise.
1703 * config/h8300/h8300.md: Likewise.
1704 * config/h8300/paritysi2.c: Likewise.
1705 * config/h8300/popcountsi2.c: Likewise.
1706 * config/h8300/rtems.h: Likewise.
1707
1708 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1709
1710 * doc/invoke.texi: Documentation for my previous commit.
1711 * doc/passes.texi: Ditto.
1712
1713 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1714
1715 * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
1716 duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
1717 Declare.
1718 (DLTHE_FLAG_UPDATE_FREQ): New.
1719 * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
1720 loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
1721 rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
1722 fix_bb_placement, fix_bb_placements, place_new_loop,
1723 scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
1724 New static functions.
1725 (fix_loop_placement, can_duplicate_loop_p,
1726 duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
1727 New functions.
1728
1729 * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
1730 unswitch_loops): Declare.
1731 * loop-init.c: New file.
1732 * loop-unswitch.c: New file.
1733 * Makefile.in (loop-init.o, loop-unswitch.o): New.
1734 * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
1735 * toplev.c (DFI_loop2): New dump.
1736 (flag_unswitch_loops): New.
1737 (lang_independent_options): Add it.
1738 (rest_of_compilation): Call new loop optimizer.
1739 (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
1740
1741 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
1742
1743 * config/h8300/clzsi2.c: New.
1744 * config/h8300/ctzsi2.c: Likewise.
1745 * config/h8300/paritysi2.c: Likewise.
1746 * config/h8300/popcountsi2.c: Likewise.
1747 * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
1748
1749 2003-02-07 David Edelsohn <edelsohn@gnu.org>
1750
1751 * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
1752 * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
1753 (ctzsi2): New pattern.
1754 (ffssi2): Use clz instead of unspec.
1755 (clzdi2): Rename from cntlzd2.
1756 (ctzdi2): New pattern.
1757 (ffsdi2): Use clz instead of unspec.
1758
1759 2003-02-07 Loren James Rittle <ljrittle@acm.org>
1760
1761 * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
1762 * config/ia64/freebsd.h (LINK_SPEC): Likewise.
1763 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
1764 * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
1765
1766 2003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
1767
1768 * doc/trouble.texi: Document pitfalls of two-stage name lookup.
1769
1770 2003-02-07 Richard Henderson <rth@redhat.com>
1771
1772 PR 9226
1773 * gcse.c (local_cprop_find_used_regs): New.
1774 (local_cprop_pass): Use it.
1775
1776 2003-02-07 Fred Fish <fnf@intrinsity.com>
1777
1778 * mips-tfile.c (parse_def): Parenthesize assignments to fix
1779 precedence bugs.
1780
1781 2003-02-07 Segher Boessenkool <segher@koffie.nl>
1782
1783 * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
1784
1785 2003-02-07 Roger Sayle <roger@eyesopen.com>
1786
1787 * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
1788 (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
1789 (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
1790 * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
1791 builtin functions (and their __builtin_* variants).
1792 * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
1793 (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
1794 when not optimizing.
1795
1796 * doc/extend.texi: Document new pow and atan2 builtins, and
1797 their float and long double variants. Realphabetize builtins.
1798
1799 Fri Feb 7 23:24:28 CET 2003 Jan Hubicka <jh@suse.cz>
1800
1801 * i386.md (sse2_nandv2di3): Fix.
1802
1803 2003-03-07 Danny Smith <dannysmith@users.sourceforge.net>
1804
1805 * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
1806 * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
1807 definition.
1808 * config/i386/i386.h (ix86_return_in_memory): Return aggregate
1809 types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
1810
1811 Fri Feb 7 22:22:40 CET 2003 Jan Hubicka <jh@suse.cz>
1812
1813 * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
1814
1815 2003-02-07 Daniel Berlin <dberlin@dberlin.org>
1816
1817 * cfg.c (dump_flow_info): Add back accidently deleted line.
1818
1819 2003-02-07 Andrey Petrov <petrov@netbsd.org>
1820
1821 * optabs.c (expand_float): Search wider integer modes first.
1822
1823 2003-02-07 Bob Wilson <bob.wilson@acm.org>
1824
1825 * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
1826 based on preprocessor flag.
1827
1828 2003-02-07 Roger Sayle <roger@eyesopen.com>
1829 Richard Henderson <rth@redhat.com>
1830
1831 * gcse.c (implicit_sets): New.
1832 (compute_hash_table_work): Include them in hash table.
1833 (find_implicit_sets, fis_get_condition): New.
1834 (one_cprop_pass): Allocate and free implicit_sets; call
1835 find_implicit_sets before building hash table.
1836
1837 2003-02-07 Jason Thorpe <thorpej@wasabisystems.com>
1838
1839 * config/t-netbsd (USER_H): Revert previous change.
1840
1841 2003-02-07 Gabor Greif <ggreif@lucent.com>
1842
1843 * doc/c-tree.texi (Namespaces): Fix typo.
1844
1845 Fri Feb 7 02:18:57 CET 2003 Jan Hubicka <jh@suse.cz>
1846
1847 * regrename.c (do_replace, find_oldest_value_reg,
1848 copyprop_hardreg_forward_1): Update register attributes.
1849
1850 2003-02-06 Vladimir Makarov <vmakarov@redhat.com>
1851
1852 * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
1853 VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
1854 variables starting with underscore.
1855 (struct unit_usage): New structure.
1856 (unit_usages, cycle_alt_unit_usages): New global variables.
1857 (check_unit_distribution_in_reserv): Remove it.
1858 (store_alt_unit_usage): New function.
1859 (check_regexp_units_distribution): Rewrite it.
1860
1861 2003-02-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1862
1863 * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
1864 target_cpu_default.
1865 * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
1866 if not MASK_NO_SPACE_REGS.
1867 (output_call): Adjust return pointer, don't load new space register
1868 into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
1869 (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
1870 TARGET_NO_SPACE_REGS is true.
1871 * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
1872 conditions.
1873 (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
1874 (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
1875 true. Use bve when TARGET_64BIT is true.
1876
1877 2003-02-06 Richard Henderson <rth@redhat.com>
1878
1879 * combine.c (nonzero_bits): Fix double break.
1880
1881 2003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1882 Richard Henderson <rth@redhat.com>
1883
1884 PR c/9530
1885 * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
1886 from functions that return a float to functions that don't.
1887
1888 Thu Feb 6 00:18:38 CET 2003 Jan Hubicka <jh@suse.cz>
1889
1890 * i386.c (x86_inter_unit_moves): New variable.
1891 (ix86_secondary_memory_needed): Fix 64bit case, honor
1892 TARGET_INTER_UNIT_MOVES
1893 * i386.h (x86_inter_unit_moves): Declare.
1894 (TARGET_INTER_UNIT_MOVES): New macro.
1895 * i386.md (movsi_1): Cleanup constraints; disable
1896 when not doing inter-unit moves.
1897 (movsi_1_nointernunit): New.
1898 (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
1899 (movdi_1_rex64_nointerunit): New.
1900 (mivsf_1): disable when not doing inter-unit moves.
1901 (movsf_1_nointerunit): New.
1902
1903 * basic-block.h (inside_basic_block_p): Declare.
1904 * cfgbuild.c (inside_basic_block_p): Make global.
1905 * haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK.
1906 * scheudle-ebb.c (schedule_ebb): Return last basic block of trace;
1907 update CFG.
1908 (fix_basic_block_boundaries, add_missing_bbs): New.
1909 (rank): Use profile.
1910 (scheudle_ebbs): Rely on CFG; update coments.
1911
1912 2003-02-05 Geoffrey Keating <geoffk@apple.com>
1913
1914 * Makefile.in (host_hook_obj): New.
1915 (OBJS): Add $(host_hook_obj).
1916 (host_default.o): New rule.
1917 * config.gcc (host_hook_obj): New, default to host-default.o.
1918 (powerpc-*-darwin*): Use host-darwin.o.
1919 (out_host_hook_obj): New.
1920 * configure: Regenerate.
1921 * configure.in: Print information about out_host_hook_obj, substitute
1922 into output files.
1923 * host-default.c: New file.
1924 * hosthooks.h: New file.
1925 * toplev.c (general_init): Call host_hooks.extra_signals.
1926 * config/rs6000/host-darwin.c: New file.
1927 * config/rs6000/x-darwin: New file.
1928 * doc/hostconfig.texi: Add documentation for new host hook.
1929 Rearrange existing documentation.
1930
1931 2003-02-05 Roger Sayle <roger@eyesopen.com>
1932
1933 * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
1934 with *targetm.delegitimize_address.
1935 (rtl_for_decl_location): Likewise.
1936 * dwarfout.c (output_mem_loc_descriptor): Likewise. Include target.h.
1937 * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
1938
1939 * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
1940 * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
1941 prototype.
1942 * config/i386/i386.c (ix86_delegitimize_address): Renamed from
1943 i386_simplify_dwarf_addr. Made static. Prototyped.
1944 (TARGET_DELEGITIMIZE_ADDRESS): Update definition from
1945 i386_simplify_dwarf_addr to ix86_delegitimize_address.
1946 (ix86_find_base_term): Likewise.
1947 (maybe_get_pool_constant): Likewise.
1948
1949 * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
1950 * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
1951 prototype.
1952 * config/s390/s390.c (s390_delegitimize_address): Renamed from
1953 s390_simplify_dwarf_addr. Made static. Prototyped.
1954 (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
1955
1956 2003-02-05 Richard Henderson <rth@redhat.com>
1957
1958 PR c/8602
1959 * integrate.c (output_inline_function): Reset input_filename
1960 and lineno from the decl before rest_of_compilation.
1961
1962 2003-02-05 Richard Henderson <rth@redhat.com>
1963
1964 * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
1965 (CTZ_DEFINED_VALUE_AT_ZERO): New.
1966 * doc/rtl.texi, doc/tm.texi: Document them.
1967
1968 * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
1969 of the value at zero properly.
1970 * fold-const.c (tree_expr_nonnegative_p): Likewise.
1971 * simplify-rtx.c (simplify_unary_operation): Likewise.
1972
1973 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
1974 (CTZ_DEFINED_VALUE_AT_ZERO): New.
1975
1976 * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
1977 (TARGET_EXPAND_BUILTIN): Remove.
1978 (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
1979 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
1980 (enum arm_builtins): Remove.
1981 * config/arm/arm.md (UNSPEC_CLZ): Remove.
1982 (clzsi2): Rename from clz; use clz instead of unspec.
1983 (ctzsi2): New.
1984 * config/arm/arm-protos.h: Update.
1985
1986 Wed Feb 5 23:12:57 CET 2003 Jan Hubicka <jh@suse.cz>
1987
1988 * i386-protos.h (x86_emit_floatuns): Declare.
1989 * i386.c (x86_emit_floatuns): New global function.
1990 * i386.md (floatunssisf2, floatunsdisf2,
1991 floatunsdidf2): New patterns.
1992
1993 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1994
1995 * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
1996
1997 2003-02-05 Hans Boehm <Hans.Boehm@hp.com>
1998
1999 * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
2000 config/ia64/linux.h
2001
2002 2002-02-05 Roger Sayle <roger@eyesopen.com>
2003
2004 * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
2005
2006 2003-02-05 Jakub Jelinek <jakub@redhat.com>
2007
2008 PR optimization/8555
2009 * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
2010 instead of aborting.
2011
2012 2003-02-04 Richard Henderson <rth@redhat.com>
2013
2014 * config/i386/i386.md (UNSPEC_BSF): Remove.
2015 (ffssi2): Split into cmove and no_cmove insns and splitters;
2016 lose pentium float trick for now.
2017 (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
2018 (ctzsi2, clzsi2, bsr): New.
2019
2020 2003-02-04 Richard Henderson <rth@redhat.com>
2021
2022 * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
2023 UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
2024 * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
2025 (ffsdi2): Use popcount instead of unspec.
2026 (popcountdi2): Rename from *popcnt.
2027 (ctzdi2, clzdi2, getf_exp_tf): New.
2028
2029 2003-02-04 Kazu Hirata <kazu@cs.umass.edu>
2030
2031 * genconfig.c (main): Generate CC0_P.
2032 * rtl.h (CC0_P): Remove.
2033
2034 2003-02-04 Richard Henderson <rth@redhat.com>
2035
2036 * libgcc2.h, libgcc2.c (__ffsSI2): New.
2037 (__ffsDI2): Rename from __ffsdi2.
2038 * mklibgcc.in (lib2funcs): Add _ffssi2.
2039
2040 2003-02-04 Richard Henderson <rth@redhat.com>
2041
2042 * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
2043 rounds with a "bit table" lookup.
2044
2045 2003-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2046
2047 * reload.c (find_reloads): Do not use the mode specified in the insn
2048 pattern as reload mode for address operands. Do not generate optional
2049 reloads for operands where a mandatory reload was already pushed.
2050
2051 2003-02-04 Richard Henderson <rth@redhat.com>
2052
2053 * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
2054 builtins instead of inline assembly.
2055
2056 2003-02-04 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
2057
2058 PR c/9376
2059 * libgcc2.c (__subvdi3): Fix typo.
2060
2061 Tue Feb 4 21:46:05 CET 2003 Jan Hubicka <jh@suse.cz>
2062
2063 * i386.md (movti_rex64): Fix constraint.
2064
2065 Tue Feb 4 18:40:42 CET 2003 Jan Hubicka <jh@suse.cz>
2066
2067 * i386.md (vector push splitters): Fix typo in resolving conflict.
2068
2069 2003-02-04 Rodney Brown <rbrown64@csc.com.au>
2070
2071 * config/i386/i386.c (x86_function_profiler): Fix typo in format.
2072
2073 2003-02-04 Phil Edwards <pme@gcc.gnu.org>
2074
2075 * doc/install.texi (*-*-linux-gnu): Mention glibc requirements
2076 for recent libstdc++. Remove formatting cruft.
2077
2078 2003-02-04 Jakub Jelinek <jakub@redhat.com>
2079
2080 * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
2081 attribute even if input file name is absolute, but one of the
2082 includes is relative.
2083
2084 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2085
2086 * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
2087 doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
2088 * doc/install.texi: Update copyright dates. Update to GFDL 1.2.
2089
2090 2003-02-03 Richard Henderson <rth@redhat.com>
2091
2092 * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2093 __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
2094 return type to "int". Shuffle declarations and undef int trap.
2095 * libgcc2.h: Remove their declarations.
2096 * optabs.c (expand_unop): Force outmode to int for bitops.
2097
2098 2003-02-03 Bob Wilson <bob.wilson@acm.org>
2099
2100 * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
2101 coprocessor registers before floating-point registers.
2102 * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
2103 to account for a previously removed register.
2104 (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
2105 Delete unused macros.
2106
2107 Mon Feb 3 21:19:11 CET 2003 Jan Hubicka <jh@suse.cz>
2108
2109 * i386.c (ix86_expand_store_builtin): Always force op1 to register.
2110 (mov*_internal): Fix predicates; require one of operands to not be
2111 memory.
2112 (SSE?MMX move expanders): Fix predicates; force one of operands to
2113 register.
2114 (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
2115 (movups/movupd/movdqu patterns): Force one of operands to not be
2116 memory.
2117
2118 2002-02-03 Roger Sayle <roger@eyesopen.com>
2119
2120 * hooks.c (hook_rtx_rtx_identity): Generic hook function that
2121 takes a single rtx and returns it unmodified.
2122 * hooks.h (hook_rtx_rtx_identity): Prototype here.
2123 * target.h (struct gcc_target): Add "delegitimize_address"
2124 field to target structure.
2125 * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default
2126 for delegitimize_address target using hook_rtx_rtx_identity.
2127 (TARGET_INITIALIZER): Initialize delegitimize_address field
2128 using TARGET_DELEGITIMIZE_ADDRESS macro.
2129 * simplify-rtx.c (avoid_constant_pool_reference): Handle float
2130 extensions of constant pool references. Use delegitimize_address
2131 to undo the obfuscation of "-fpic".
2132 * Makefile.in (simplify-rtx.o): Add dependency on target.h.
2133
2134 * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
2135 i386_simplify_dwarf_addr.
2136 (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
2137 (maybe_get_pool_constant): Likewise.
2138
2139 Mon Feb 3 16:01:17 CET 2003 Jan Hubicka <jh@suse.cz>
2140
2141 * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
2142
2143 Mon Feb 3 01:30:11 CET 2003 Jan Hubicka <jh@suse.cz>
2144
2145 * regclass.c (cannot_change_mode_set_regs): Correct argument order.
2146
2147 2003-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2148
2149 * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't
2150 define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h.
2151
2152 2003-02-02 Andreas Schwab <schwab@suse.de>
2153
2154 * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
2155
2156 2003-02-02 Richard Earnshaw <rearnsha@arm.com>
2157
2158 * arm.md (sibcall_epilogue): Set the "conds" to "clob".
2159 (epilogue_insns): Likewise.
2160
2161 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2162
2163 * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
2164
2165 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2166
2167 * pa-protos.h (attr_length_millicode_call): Remove second argument.
2168 (attr_length_indirect_call, attr_length_indirect_call,
2169 attr_length_save_restore_dltp): New prototypes.
2170 * pa.c (attr_length_millicode_call): Remove second argument. Check
2171 INSN_ADDRESSES_SET_P in distance calculation.
2172 (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
2173 INSN_ADDRESSES.
2174 (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
2175 (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
2176 Call attr_length_call directly.
2177 (attr_length_indirect_call, output_indirect_call,
2178 attr_length_save_restore_dltp): New functions.
2179 * pa.md (attr_length_millicode_call): Drop second argument from all
2180 patterns.
2181 (return_internal_pic): Delete.
2182 (return_external_pic): Remove use of PIC register and pic operand and
2183 flag checks.
2184 (epilogue): Use return_internal for both normal and pic code.
2185 (call, call_value): Emit new 32-bit pic patterns for symref and
2186 indirect calls. Remove uses for arg pointer and pic register.
2187 (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
2188 call_reg_pic_post_reload, call_val_symref_pic,
2189 call_val_symref_pic_post_reload, call_val_reg_pic,
2190 call_val_reg_pic_post_reload): New pre and post reload insn patterns.
2191 Implement define_split and define_peephole2 patterns for pre reload
2192 patterns.
2193 (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
2194 call_value_internal_reg_64bit): Shorten names.
2195 (all call patterns): Explicitly indicate registers used and clobbered.
2196 Use attr_length_indirect_call and attr_length_save_restore_dltp for
2197 attribute length calculation. Move code generation for indirect calls
2198 to output_indirect_call.
2199 (sibcall, sibcall_value): Don't restore PIC register.
2200 (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
2201 register retore.
2202
2203 2003-02-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2204
2205 * doc/install.texi (Testing): Simplify and compress instructions
2206 concerning Dejagnu.
2207
2208 2003-02-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2209
2210 * collect2.c (pexecute_pid): Rename to pid.
2211 (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
2212 pid.
2213
2214 2003-02-01 Geoffrey Keating <geoffk@apple.com>
2215
2216 * doc/extend.texi (Function Attributes): Remove documentation
2217 for PowerPC Windows NT function attributes..
2218
2219 2003-02-01 Daniel Jacobowitz <drow@mvista.com>
2220
2221 * dwarf2out.c (gen_type_die): Check for typedefs before calling
2222 for TYPE_MAIN_VARIANT.
2223
2224 2003-02-01 Richard Henderson <rth@redhat.com>
2225
2226 * libgcc2.c: Include auto-host.h.
2227 (ATTRIBUTE_HIDDEN): New.
2228 (__clz_tab): Don't declare here for clz and ctz.
2229 (__clzsi2, __clzdi2): Use count_leading_zeros.
2230 (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
2231 (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
2232 (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
2233 * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
2234
2235 2003-02-01 Richard Henderson <rth@redhat.com>
2236
2237 * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
2238 to the conditional.
2239 (ashlsi3_1_zext splitter): Likewise.
2240
2241 2003-02-01 Richard Henderson <rth@redhat.com>
2242
2243 * optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
2244 * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2245 __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
2246 return type to Wtype.
2247
2248 * libgcc-std.ver (GCC_3.4): Fix inheritance.
2249
2250 * config/i386/i386.md (ffssi2): Use nonimmediate_operand for
2251 expander input constraint.
2252
2253 2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
2254
2255 * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
2256 OTI_parity.
2257 (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
2258 * optabs.c (widen_clz, expand_parity): New.
2259 (expand_unop): Handle clz and parity. Hardcode SImode as outmode
2260 for libcalls to clz, ctz, popcount, and parity.
2261 (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
2262 parity_optab, and set up libfunc handlers.
2263 * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2264 __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
2265 __popcount_tab): New.
2266 * libgcc2.h: Declare them.
2267 * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
2268 * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
2269 and parity_optab.
2270 * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
2271 * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
2272 BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
2273 BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
2274 BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
2275 BUILT_IN_PARITYLL): New.
2276 * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
2277 and add optab argument.
2278 (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
2279 * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
2280 * expr.c (expand_expr): Handle them.
2281 * fold-const.c (tree_expr_nonnegative_p): Likewise.
2282 * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
2283 * reload1.c (eliminate_regs): Handle them.
2284 (elimination_effects): Likewise.
2285 * function.c (instantiate_virtual_regs_1): Likewise
2286 * genattrtab.c (check_attr_value): Likewise.
2287 * simplify-rtx.c (simplify_unary_operation): Likewise.
2288 * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
2289 * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
2290 (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
2291 * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
2292 * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
2293 __builtin_arm_clz.
2294 * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
2295 * mklibgcc.in (lib2funcs): ...here and merge. Add new members.
2296 * doc/extend.texi (Other Builtins): Add new builtins.
2297 * doc/md.texi (Standard Names): Add new patterns.
2298
2299 2003-02-01 Ulrich Weigand <uweigand@de.ibm.com>
2300
2301 * reload.c: Revert 2003-01-31 change.
2302
2303 Sat Feb 1 14:14:40 CET 2003 Jan Hubicka <jh@suse.cz>
2304
2305 * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
2306
2307 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
2308
2309 * flags.h (flag_volatile): Remove declaration.
2310 (flag_volatile_global, flag_volatile_static): Likewise.
2311 * c-typeck.c (build_indirect_ref): Don't check flag_volatile.
2312 * toplev.c (flag_volatile): Remove definition.
2313 (flag_volatile_global, flag_volatile_static): Likewise.
2314 (f_options): Remove corresponding entries here.
2315 * varasm.c (make_decl_rtl): Don't check flag_volatile_global
2316 or flag_volatile_static.
2317 * doc/invoke.texi: Remove documentation of -fvolatile,
2318 -fvolatile-global and -fvolatile-static.
2319
2320 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2321
2322 * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
2323 updating of total_code_bytes from prologue to epilogue.
2324
2325 2003-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2326
2327 * reload.c (find_reloads): Do not use the mode specified in the insn
2328 pattern as reload mode for address operands. Do not generate optional
2329 reloads for operands where a mandatory reload was already pushed.
2330 Generate optional reloads only in the final pass though find_reloads.
2331 (have_replacement_p): New function.
2332
2333 2003-01-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2334
2335 * doc/install.texi (Testing): Remove a reference to our obsolete
2336 /testresults web pages and strip redundant information concerning
2337 test results.
2338 (Binaries): Refer to Microsoft Windows instead of listing all
2339 possible variants.
2340
2341 Sat Feb 1 00:28:30 CET 2003 Jan Hubicka <jh@suse.cz>
2342
2343 * loop.c (emit_prefetch_instructions): Do conversion at right place in
2344 RTL chain.
2345
2346 * combine.c (simplify_set): Reverse order of ragumetns to
2347 REG_CANNOT_CHANGE_MODE_P
2348 * df.c (df_def_record_1): Likewise.
2349 * recog.c (register_operand): Likewise.
2350 * simplify-rtx.c (simplify_subreg): Likewise.
2351 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
2352 CANNOT_CHANGE_MODE_CLASS.
2353 * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
2354 Likewise.
2355 * reload.c (push_reload): Likewise.
2356 * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2357 * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2358 * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2359 * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
2360 * mips.c (mips_cannot_change_mode_class): Update.
2361 * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2362 * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2363 * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2364 * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2365 * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
2366 * sh.c (sh_cannot_change_mode_class): Update.
2367 * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
2368 * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
2369
2370 2003-01-31 Geoffrey Keating <geoffk@apple.com>
2371
2372 * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
2373 change to LINK_COMMAND_SPEC in gcc.c.
2374
2375 2003-01-31 Jan Hubicka <jh@suse.cz>
2376
2377 PR c/9506
2378 * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
2379
2380 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2381
2382 * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
2383 duplicated code.
2384
2385 2003-01-31 Nathan Sidwell <nathan@codesourcery.com>
2386
2387 * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
2388 (BINFO_ELTS): New #define.
2389 * stor-layout.c (finalize_record_size): Don't set them.
2390 * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
2391 BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
2392 (BINFO_LANG_ELTS): New #define.
2393 * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
2394 * java/class.c (make_class): Use BINFO_ELTS.
2395 (set_super_info): Likewse.
2396 (add_interface_do): Likewise.
2397 * objc/objc-act.c (start_class): Use BINFO_ELTS.
2398
2399 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
2400
2401 * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
2402 (times): Don't ever declare if not HAVE_TIMES.
2403 (clock): Don't ever declare if not HAVE_CLOCK.
2404
2405 2003-01-30 Richard Henderson <rth@redhat.com>
2406
2407 * flow.c (update_life_info): Zap life info after cleanup_cfg.
2408 (regno_uninitialized): Use correct live at function entry set.
2409 (regno_clobbered_at_setjmp): Likewise.
2410
2411 * expr.c (store_expr): Promote all MEM intermediates to regs.
2412
2413 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
2414
2415 * config/arm/arm.c: Fix comment typos.
2416 * config/arm/arm.h: Likewise.
2417 * config/arm/netbsd-elf.h: Likewise.
2418 * config/arm/netbsd.h: Likewise.
2419
2420 2003-01-30 Geoffrey Keating <geoffk@apple.com>
2421
2422 * gengtype.c (struct walk_type_data): Add needs_cast_p.
2423 (walk_type): Set needs_cast_p in walk_type_data.
2424 (write_types_process_field): Supply casts when required to suppress
2425 warnings.
2426 (write_root): Cast gt_pch_n_S to suppress warning.
2427 * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
2428 * config/rs6000/rs6000.c (print_operand): Mask off high bits only
2429 when they might exist.
2430 * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
2431 insn-conditions.o, and rs6000.o.
2432
2433 2003-01-30 Richard Henderson <rth@redhat.com>
2434
2435 * ggc-page.c (G.context_depth_allocations): New.
2436 (G.context_depth_collections): New.
2437 (alloc_page): Set G.context_depth_allocations.
2438 (ggc_collect): Set G.context_depth_collections.
2439 (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
2440 (ggc_pop_context): Early exit for no allocations or collections.
2441
2442 2003-01-30 Richard Henderson <rth@redhat.com>
2443
2444 * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
2445
2446 2003-01-30 Richard Earnshaw <rearnsha@arm.com>
2447
2448 * arm.c (arm_compute_initial_elimination_offset): If optimizing for
2449 size, the link register is always saved if any other register is
2450 saved.
2451
2452 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
2453
2454 * config/h8300/h8300-protos.h: Update the prototype for
2455 compute_plussi_cc.
2456 (cpp_reader): Declare before it is used.
2457 * config/h8300/h8300.c (compute_plussi_cc): Change the return
2458 type to int.
2459 * config/h8300/h8300.md (monitor_prologue): Call abort() if we
2460 see an unknown H8 variant.
2461
2462 2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2463
2464 PR target/9316
2465 * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
2466 * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
2467 * config/rs6000/t-rtems: New file. multilib variants to match OS.
2468 * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
2469 rs6000/t-ppcgas so we get the desired multilibs.
2470
2471 2003-01-30 Nick Clifton <nickc@redhat.com>
2472
2473 * config/arm/arm.c (arm_output_epilogue): Update stack pointer
2474 when popping saved IP register off the stack.
2475
2476 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
2477
2478 * config/rs6000/aix43.h: Fix comment typos.
2479 * config/rs6000/aix51.h: Likewise.
2480 * config/rs6000/aix52.h: Likewise.
2481 * config/rs6000/altivec.h: Likewise.
2482 * config/rs6000/rs6000.c: Likewise.
2483 * config/rs6000/rs6000.h: Likewise.
2484 * config/rs6000/rs6000.md: Likewise.
2485 * config/rs6000/spe.md: Likewise.
2486
2487 2003-01-29 Mark Mitchell <mark@codesourcery.com>
2488
2489 * c-common.c (builtin_define_float_constants): Define
2490 __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
2491
2492 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
2493
2494 * config/sh/lib1funcs.asm: Fix comment typos.
2495 * config/sh/linux.h: Likewise.
2496 * config/sh/sh.c: Likewise.
2497 * config/sh/sh.md: Likewise.
2498
2499 2003-01-30 Loren James Rittle <ljrittle@acm.org>
2500
2501 * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
2502
2503 2003-01-30 Alexandre Oliva <aoliva@redhat.com>
2504
2505 * config/fp-bit.h (__make_dp): Declare if TMODES.
2506
2507 2003-01-29 Kazu Hirata <kazu@cs.umass.edu>
2508
2509 * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
2510 general_operand_src and general_operand_dst.
2511
2512 2003-01-29 David Edelsohn <edelsohn@gnu.org>
2513
2514 * config/rs6000/rs6000.c (function_arg_pass_by_reference):
2515 Return true for variable sized types.
2516 (rs6000_va_arg): Handle variable sized types passed by reference
2517 on non-SVR4 ABI.
2518
2519 2003-01-29 Richard Earnshaw <rearnsha@arm.com>
2520
2521 * arm.c (arm_legtimize_address): New function.
2522 * arm-protos.h (arm_legtimize_address): Add prototype.
2523 * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
2524 (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
2525 do ... while (0)
2526
2527 2003-01-29 Joel Sherrill <joel@OARcorp.com>
2528
2529 PR bootstrap/9296
2530 * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code
2531 depended on it being defined until now.
2532
2533 2003-01-29 Joel Sherrill <joel@OARcorp.com>
2534
2535 PR target/9295
2536 * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
2537 RTEMS code knows which C++ initialization style the toolset
2538 configuration is using.
2539
2540 2003-01-29 Joel Sherrill <joel@OARcorp.com>
2541
2542 PR bootstrap/9293
2543 * config/m68k/t-crtstuff: Replace spaces with tabs, add
2544 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
2545
2546 2003-01-29 Joel Sherrill <joel@OARcorp.com>
2547
2548 PR bootstrap/9292
2549 * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
2550 RTEMS threads.
2551 * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
2552
2553 2003-01-29 Nick Clifton <nickc@redhat.com>
2554
2555 * Makefile.in (c-parse.o): Locate source file in $(parsedir)
2556 not $(srcdir).
2557
2558 2003-01-29 Andrew Haley <aph@redhat.com>
2559
2560 * tree-inline.c (walk_tree): Add CHAR_TYPE.
2561
2562 Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
2563
2564 * i386.md (subdi3_carry_rex64): Fix typo.
2565
2566 2003-01-28 Stan Shebs <shebs@apple.com>
2567
2568 * coretypes.h (cpp_reader): Forward declare struct.
2569 * c-pragma.h (cpp_reader): Remove forward declaration.
2570 * hashtable.h (cpp_reader): Likewise.
2571 * scan.h (cpp_reader): Likewise.
2572 * tree.h (cpp_reader): Likewise.
2573 * config/darwin-protos.h (cpp_reader): Likewise.
2574 * config/arm/arm-protos.h (cpp_reader): Likewise.
2575 * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
2576 struct cpp_reader in prototypes.
2577
2578 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2579
2580 * doc/install.texi: Add documentation for installation into
2581 tooldirs and with DESTDIR.
2582
2583 2003-01-28 Richard Henderson <rth@redhat.com>
2584
2585 * config.gcc (ia64*-*-aix*): Remove.
2586 * config/ia64/aix.h, config/ia64/t-aix: Remove file.
2587 * config/ia64/unwind-aix.c: Remove file.
2588
2589 2003-01-28 Andreas Schwab <schwab@suse.de>
2590
2591 * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
2592 register.
2593 * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
2594 * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
2595 * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
2596 * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
2597 * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
2598 * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
2599 * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
2600
2601 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
2602
2603 * combine.c (nonzero_bits): Fix check for negative divide operands.
2604
2605 2003-01-28 Richard Henderson <rth@redhat.com>
2606
2607 * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
2608 * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
2609
2610 2003-01-28 Richard Henderson <rth@redhat.com>
2611
2612 * cse.c (find_best_addr): Kill !ADDRESS_COST code.
2613
2614 * config/cris/cris.c (cris_address_cost): Make static.
2615 (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
2616 * config/cris/cris.h (ADDRESS_COST): Remove.
2617 * config/cris/cris-protos.h: Update.
2618
2619 2003-01-23 Mike Stump <mrs@apple.com>
2620
2621 * regclass.c (init_reg_autoinc): New function.
2622 (regclass): Move initialization of forbidden_inc_dec_class from
2623 here...
2624 (init_regs): to here. Avoids reinitialization for each function,
2625 saving compilation time.
2626
2627 2003-01-28 Jason Merrill <jason@redhat.com>
2628
2629 * cpplib.h (struct cpp_options): Add warn_deprecated field.
2630 * cppinit.c (cpp_create_reader): Turn it on by default.
2631 * c-opts.c (c_common_decode_option): Set it.
2632 * cpplib.c (do_pragma_once): Only complain about #pragma once
2633 if warn_deprecated is set.
2634
2635 2003-01-28 Dale Johannesen <dalej@apple.com>
2636
2637 * emit-rtl.c (const_double_htab_hash): Use mode in the hash.
2638 * loop.c (scan_loop): Move movables on -Os rich-register targets.
2639 * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
2640
2641 2003-01-28 Richard Henderson <rth@redhat.com>
2642
2643 * target.h (targetm.address_cost): New.
2644 * target-def.h (TARGET_ADDRESS_COST): New.
2645 (TARGET_RTX_COSTS): Uncomment. Oops.
2646 * cse.c (address_cost): Use new target hook.
2647 (default_address_cost): New.
2648 * output.h (default_address_cost): Declare.
2649 * hooks.c (hook_int_rtx_0): New.
2650 * hooks.h (hook_int_rtx_0): Declare.
2651 * loop.c (combine_givs_p): Remove if 0 code.
2652 * system.h (ADDRESS_COST): Poison.
2653
2654 * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
2655 config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
2656 config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
2657 config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
2658 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
2659 config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
2660 config/xtensa/xtensa.c, config/xtensa/xtensa.h
2661 (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
2662 (ADDRESS_COST): Remove.
2663
2664 * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
2665 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
2666 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
2667 config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
2668 config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
2669 config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
2670 config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
2671 config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
2672 config/mips/mips.c, config/mips/mips.h,
2673 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
2674 config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
2675 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
2676 config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
2677 config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
2678 config/vax/vax.c, config/vax/vax.h
2679 (foo_address_cost): Make static.
2680 (TARGET_ADDRESS_COST): New.
2681 (ADDRESS_COST): Remove.
2682
2683 * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
2684 config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
2685 config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
2686 config/stormy16/stormy16.h
2687 (ADDRESS_COST): Move code ...
2688 (foo_address_cost): ... here.
2689 (TARGET_ADDRESS_COST): New.
2690
2691 * config/m32r/m32r.c (m32r_address_cost): Remove.
2692 * config/m32r/m32r-protos.h: Update.
2693
2694 * config/mmix/mmix.c (mmix_address_cost): Remove.
2695 * config/mmix/mmix-protos.h: Update.
2696
2697 * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
2698 mn10300_address_cost; move unsig allocation ...
2699 (mn10300_address_cost): ... here.
2700 (TARGET_ADDRESS_COST): New.
2701 * config/mn10300/mn10300-protos.h: Update.
2702 * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
2703
2704 * doc/tm.texi: Update.
2705
2706 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
2707
2708 * haifa-sched.c (schedule_insn): Return necessary cycle advance
2709 after issuing the insn.
2710 (rank_for_schedule): Make a insn with /S the highest priority
2711 insn.
2712 (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P.
2713 (choose_ready): Check SCHED_GROUP_P.
2714 (schedule_block): Advance cycle after issuing insn if it is
2715 necessary. Don't reorder insns if there is an insn with /S.
2716 (set_priorities): Ignore schedule groups.
2717
2718 * sched-deps.c (remove_dependence, group_leader): Remove the
2719 functions.
2720 (add_dependence): Ignore schedule groups.
2721 (set_sched_group_p): Don't make copy of dependencies from previous
2722 insn of the schedule group. Add anti-dependency to the previous
2723 insn of the schedule group.
2724 (compute_forward_dependences): Ignore schedule groups.
2725
2726 * sched-ebb.c (init_ready_list): Ignore schedule groups.
2727
2728 * sched-rgn.c (init_ready_list): Ditto.
2729 (can_schedule_ready_p): Ditto.
2730
2731 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
2732
2733 * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
2734 register to another one.
2735
2736 2003-01-28 Richard Henderson <rth@redhat.com>
2737
2738 * calls.c (default_must_pass_in_stack): Fix typo in !type case.
2739
2740 2003-01-28 Roger Sayle <roger@eyesopen.com>
2741
2742 * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
2743
2744 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
2745
2746 * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
2747 class contains a floating-point register, return the size of the
2748 mode in half words.
2749
2750 Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz>
2751
2752 * i386.c (ix86_carry_flag_operator): New predicate.
2753 (fcmov_operator): Fix whitespace.
2754 (ix86_expand_carry_flag_compare): Deal with floating point.
2755 (ix86_expand_int_movcc): Deal with fp; update insn expansion
2756 (ix86_expand_int_addcc): Likewise.
2757 (ix86_expand_strlensi_unroll_1): likewsie.
2758 * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
2759 * i386.md (add?i_carry_rex64): Use new predicate.
2760 (sub?i3_carry_rex64): Likewise.
2761 (x86_mov?icc_0_m1*): Likewise.
2762
2763 2003-01-28 Andreas Schwab <schwab@suse.de>
2764
2765 * cfgloopmanip.c (create_preheader): Initialize src to avoid
2766 warning.
2767
2768 * expmed.c (emit_store_flag): Fix cast to avoid sign
2769 comparison warning.
2770
2771 * combine.c (force_to_mode): Add cast to fix warning when
2772 STORE_FLAG_VALUE is negative.
2773
2774 2003-01-27 Richard Henderson <rth@redhat.com>
2775
2776 * Makefile.in (cse.o): Depend on TARGET_H.
2777 * cse.c (rtx_cost): Use targetm.rtx_costs.
2778 * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
2779 * doc/tm.texi: Update.
2780
2781 * target.h (targetm.rtx_costs): New.
2782 * target-def.h (TARGET_RTX_COSTS): New.
2783 * hooks.c (hook_bool_rtx_int_int_intp_false): New.
2784 * hooks.h: Update.
2785
2786 * config/alpha/alpha.c (alpha_rtx_cost_data): New.
2787 (alpha_rtx_costs, TARGET_RTX_COSTS): New.
2788 * config/alpha/alpha.h (PROCESSOR_MAX): New.
2789 (CONST_COSTS, RTX_COSTS): Remove.
2790
2791 * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
2792 config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
2793 config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
2794 config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
2795 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
2796 config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
2797 config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
2798 config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
2799 config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
2800 config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
2801 config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
2802 config/mn10200/mn10200.h, config/mn10300/mn10300.c,
2803 config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
2804 config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
2805 config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
2806 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
2807 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
2808 config/stormy16/stormy16.c, config/stormy16/stormy16.h,
2809 config/v850/v850.c, config/v850/v850.h,
2810 config/xtensa/xtensa.c, config/xtensa/xtensa.h
2811 (CONST_COSTS, RTX_COSTS): Move code ...
2812 (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
2813
2814 * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
2815 (arm_rtx_costs, TARGET_RTX_COSTS): New.
2816 * config/arm/arm-protos.h: Update.
2817 * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
2818
2819 * config/avr/avr.h (CONST_COSTS): Move code ...
2820 * config/avr/avr.c (avr_rtx_costs): ... here.
2821 (default_rtx_costs): Make static.
2822 * config/avr/avr-protos.h: Update.
2823
2824 * config/h8300/h8300.c (const_costs): Make static.
2825 (h8300_and_costs, h8300_shift_costs): Likewise.
2826 * config/h8300/h8300-protos.h: Update.
2827
2828 * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
2829 (CONST_COSTS): Move code ...
2830 * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from
2831 default_rtx_costs; update for signature change.
2832 * config/ip2k/ip2k-protos.h: Update.
2833
2834 * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
2835 (CONST_COSTS): Move code ...
2836 * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
2837 (TARGET_RTX_COSTS): New.
2838 (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
2839 * config/m68hc11/m68hc11-protos.h: Update.
2840
2841 * config/m68k/m68k.c (const_int_cost): Make static.
2842 * config/m68k/m68k-protos.h: Update.
2843
2844 * config/mcore/mcore.c (mcore_const_costs): Make static.
2845 (mcore_and_cost, mcore_ior_cost): Likewise.
2846 * config/mcore/mcore-protos.h: Update.
2847
2848 * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
2849 (mmix_rtx_cost_recalculated): Remove.
2850 * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
2851 * config/mmix/mmix-protos.h: Update.
2852
2853 * config/sh/sh.c (shiftcosts): Make static.
2854 (addsubcosts, andcosts, multcosts): Likewise.
2855 * config/sh/sh-protos.h: Update.
2856
2857 * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
2858 (sparc_rtx_costs): Make static; update for change in signature.
2859 * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
2860 * config/sparc/sparc-protos.h: Update.
2861
2862 * config/v850/v850.c (const_costs): Make static.
2863 * config/v850/v850-protos.h: Update.
2864
2865 * config/vax/vax.h (RTX_COSTS): Remove.
2866 (CONST_COSTS): Move code ...
2867 * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
2868 from vax_rtx_cost.
2869 (vax_rtx_costs, TARGET_RTX_COSTS): New.
2870
2871 2003-01-27 Richard Henderson <rth@redhat.com>
2872
2873 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
2874 * config/vax/vax-protos.h: Update. Really.
2875
2876 2003-01-28 Alexandre Oliva <aoliva@redhat.com>
2877
2878 * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
2879 (UNITS_PER_FPVALUE): Defined as the width of a long double, or
2880 zero if no hardware floating point.
2881 (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
2882 (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
2883 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
2884 (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
2885 (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
2886 * config/mips/mips.c (mips_arg_info): Pass TFmode values in
2887 even FP registers on N32 and N64.
2888 (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
2889 (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
2890 (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional
2891 even-register-like alignment to 128-bit arguments.
2892 (save_restore_insns): Use UNITS_PER_HWFPVALUE.
2893 (mips_function_value): Likewise. Return TFmode in $f0 and $f2
2894 on N32 or N64.
2895 * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
2896 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
2897 (TPBIT): Set to tp-bit.c.
2898 (tp-bit.c): Create out of fp-bit.c.
2899
2900 2003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
2901
2902 * c-parse.in: Remove '%expect 32' directive in objc mode.
2903
2904 2003-01-27 Nathan Sidwell <nathan@codesourcery.com>
2905
2906 * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
2907 (LIBGCOV): New variable.
2908 (libgcc.mk): Add LIBGCOV.
2909 (LIBGCC_DEPS): Add libgcov.c.
2910 (libgcov.a): New target.
2911 (clean): Remove libgcov.a.
2912 (install-libgcc): Do libgcov too.
2913 (stage1-start, stage2-start, stage3-start, stage4-start): Deal
2914 with libgcov.a.
2915 * libgcc2.c (L_gcov): Move into ...
2916 * libgcov.c: ... here. New file.
2917 * mklibgcc.in: Add libgcov rules.
2918 * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
2919
2920 * doc/invoke.texi (profile-arcs, test-coverage): Update and
2921 clarify.
2922
2923 * profile.c (index_counts_file): Remove duplicate check for open file.
2924
2925 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
2926
2927 * gcc/doc/invoke.texi (Optimization Options): Group together
2928 optional and experimental flags. Move trapv and bounds-check
2929 out of this section. Group floating point flags together.
2930 (Code Gen Options): Move trapv and bounds-check to here.
2931
2932 2003-01-27 Josef Zlomek <zlomekj@suse.cz>
2933
2934 * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
2935
2936 2003-01-27 Richard Earnshaw <rearnsha@arm.com>
2937
2938 PR optimization/9090
2939 * function.c (purge_addressof_1): After pushing an addressed register
2940 onto the stack, simplify the result.
2941
2942 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2943
2944 * doc/extend.texi: Fix typo.
2945
2946 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2947
2948 * doc/cppopts.texi: Fix typo.
2949 * doc/objc.texi: Likewise.
2950 * doc/passes.texi: Likewise.
2951
2952 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
2953
2954 * real.c (ibm_extended_format): Add 53 to minimum exponent.
2955 (encode_ibm_extended): Adjust.
2956
2957 2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
2958
2959 * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
2960 timevar_id enumerations.
2961
2962 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
2963
2964 * combine.c: Fix formatting.
2965
2966 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
2967
2968 * doc/gccint.texi: Update the copyright.
2969
2970 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
2971
2972 * doc/cpp.texi: Fix typos.
2973 * doc/extend.texi: Likewise.
2974 * doc/gty.texi: Likewise.
2975 * doc/install.texi: Likewise.
2976 * doc/passes.texi: Likewise.
2977 * doc/rtl.texi: Likewise.
2978 * doc/tm.texi: Likewise.
2979
2980 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
2981
2982 * config/ia64/fde-glibc.c: Fix comment typos.
2983 * config/ia64/hpux.h: Likewise.
2984 * config/ia64/ia64.c: Likewise.
2985 * config/ia64/ia64.h: Likewise.
2986 * config/ia64/unwind-ia64.c: Likewise.
2987
2988 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
2989
2990 * config/i386/i386-modes.def: Fix comment typos.
2991 * config/i386/i386.c: Likewise.
2992 * config/i386/i386.md: Likewise.
2993
2994 2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl>
2995
2996 * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
2997 config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
2998 ASM_FINISH_DECLARE_OBJECT before defining it.
2999 * toplev.c (rest_of_decl_compilation): Don't define
3000 ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined.
3001 (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
3002 parameters for DWARF2 targets because they _are_ used.
3003
3004 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
3005
3006 * fp-bit.h: Define macros for TFmode floating-point constants
3007 in IBM-extended TFmode types.
3008 (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
3009 widths.
3010 * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
3011 TFmode type.
3012
3013 * config/fp-bit.h: Define macros for TFmode floating-point
3014 constants in IEEE quad TFmode type. Declare functions according
3015 to L_ macros.
3016 (TMODES): Define if __LDBL_MANT_DIG__ is 113.
3017 (TFtype, TItype, UTItype): Define if TMODES is defined.
3018 (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
3019 (F_T_BITOFF, D_T_BITOFF): Define.
3020 (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
3021 guaranteed to be wide enough.
3022 * config/fp-bit.c: Check for L_ macros for tf functions.
3023 (__thenan_tf): New.
3024 (nan): Adjust.
3025 (pack_d, unpack_d): Support IEEE 854 quad type.
3026 (_fpmul_parts): Support TFmode. Compute exponent adjustment
3027 from FRAC_NBITS, FRAC_BITS and NGARDS.
3028 (usi_to_float): Cast constants to be shifted to fractype
3029 instead of assuming long long is wide enough.
3030 (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
3031
3032 2003-01-26 Andreas Jaeger <aj@suse.de>
3033
3034 * df.c: Remove prototype of unused function df_regno_rtl_debug.
3035
3036 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
3037
3038 * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
3039 (DBBIT_FUNCS): Added _df_to_tf.
3040 (TPBIT_FUNCS): New.
3041 (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
3042 (LIBGCC_DEPS): Added TPBIT.
3043 * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
3044
3045 * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
3046 been able to move the result to target.
3047
3048 * expr.c (emit_group_store): Initialize dst with CONST0_RTX
3049 for the appropriate mode.
3050
3051 * calls.c (emit_library_call_value_1): Handle return values
3052 in a PARALLEL.
3053
3054 * rtl.c (get_mode_alignment): Moved to...
3055 * stor-layout.c: ... here.
3056
3057 * print-rtl.c (print_rtx): Don't print MEM details in
3058 GENERATOR_FILEs.
3059
3060 2003-01-26 Michael Hayes <mph@paradise.net.nz>
3061
3062 * df.h: Update comments, tidy formatting.
3063 (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
3064 REVERSE, UNION, INTERSECTION. All uses updated.
3065 (OLD_DF_INTERFACE): Remove.
3066 (struct insn_info): Remove commented out insn field.
3067 * df.c: Update comments, tidy formatting.
3068 (df_def_table_realloc): Remove.
3069
3070
3071 2003-01-26 Alan Modra <amodra@bigpond.net.au>
3072
3073 * calls.c (save_fixed_argument_area): Tidy.
3074 (restore_fixed_argument_area): Tidy. Set alignment of stack_area.
3075 (expand_call): Comment typo fixes. Don't init low_to_save. Start
3076 call chain loop at 1 if !try_tail_call. Formatting.
3077 (emit_library_call_value_1): Don't init low_to_save or high_to_save.
3078 Use save_fixed_argument_area and restore_fixed_argument_area.
3079
3080 2003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3081
3082 * df.c (df_uses_record): Handle CC0.
3083
3084 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
3085
3086 * reload.c (maybe_memory_address_p): New function.
3087 (find_reloads_address): Use it instead of memory_address_p.
3088
3089 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
3090
3091 * final.c (shorten_branches): Align the address of code label
3092 when computing initial lengths and addresses.
3093
3094 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
3095
3096 * config/m68hc11/m68hc11.md: Fix a comment typo.
3097
3098 2003-01-25 Andreas Jaeger <aj@suse.de>
3099
3100 * config/i386/i386.c (x86_output_mi_thunk): Correct test for
3101 TARGET_MACHO.
3102
3103 2003-01-25 Roger Sayle <roger@eyesopen.com>
3104
3105 * gcse.c (bypass_last_basic_block): New global variable.
3106 (bypass_block): Use redirect_edge_and_branch_force to redirect
3107 fall-through edges. Use bypass_last_basic_block to determine
3108 which blocks have valid PRE information.
3109 (bypass_conditional_jumps): Initialize bypass_last_basic_block.
3110
3111 Sat Jan 25 22:31:59 CET 2003 Jan Hubicka <jh@suse.cz>
3112
3113 * gcse.c (local_cprop_pass): Update reg_sets table when needed.
3114
3115 Sat Jan 25 21:04:33 CET 2003 Jan Hubicka <jh@suse.cz>
3116 Eric Botcazou <ebotcazou@libertysurf.fr>
3117 PR opt/8492
3118 * gcse.c (one_cprop_pass): Delete unreachable blocks.
3119
3120 2003-01-25 Richard Henderson <rth@redhat.com>
3121
3122 * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
3123 from ia64_aix_select_rtx_section.
3124 (ia64_rwreloc_select_section): Simlarly; use default*_1 function
3125 instead of saving and restoring flag_pic.
3126 (ia64_rwreloc_unique_section): Similarly.
3127 * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
3128 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
3129 * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
3130 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
3131
3132 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
3133
3134 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
3135 comment.
3136
3137 2002-01-25 Richard Henderson <rth@redhat.com>
3138
3139 * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
3140
3141 2002-01-25 Kelley Cook <kelleycook@comcast.net>
3142
3143 * ggc-simple.c (debug_ggc_tree): Add PTR cast.
3144
3145 2003-01-25 Segher Boessenkool <segher@koffie.nl>
3146
3147 * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
3148 type for bitmaps. Use unsigned long.
3149 (nBITMAP_WORD_BITS): New macro.
3150 (BITMAP_WORD_BITS): New macro.
3151 (rest of file): Use it.
3152 * bitmap.c: Use it.
3153
3154 2003-01-25 Richard Henderson <rth@redhat.com>
3155
3156 2002-02-19 Robert Lipe <robertlipe@usa.net>
3157 * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
3158
3159 2002-01-25 Roger Sayle <roger@eyesopen.com>
3160
3161 * builtins.c (purge_builtin_constant_p): Scan insn stream
3162 sequentially rather than by basic block.
3163 * function.c (purge_addressof): Simplify test with INSN_P.
3164
3165 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
3166
3167 * combine.c (simplify_comparison, case AND): Remove a redundant test.
3168
3169 2002-01-25 Roger Sayle <roger@eyesopen.com>
3170
3171 * function.h (struct function): New field calls_constant_p.
3172 (current_function_calls_constant_p): New macro for above.
3173 * function.c (prepare_function_start): Initialize calls_eh_return
3174 and calls_constant_p.
3175 * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
3176 * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
3177 when the current_function_calls_constant_p.
3178 * integrate.c (expand_inline_function): Set calls_constant_p if
3179 the function being inlined has calls_constant_p set.
3180
3181 2002-01-25 Roger Sayle <roger@eyesopen.com>
3182
3183 * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
3184 optimizing, even if flag_gcse is true.
3185 * toplev.c (rest_of_compilation): purge_builtin_constant_p
3186 only needs to be called when "optimize > 0 && flag_gcse".
3187
3188 2003-01-25 Roger Sayle <roger@eyesopen.com>
3189
3190 * stmt.c (emit_case_bit_tests): New routine to implement suitable
3191 switch statements using the equivalent of "if ((1<<x) & cst) ... ".
3192 (case_bit_test_cmp): New comparison function for "qsort" to order
3193 case_bit_tests by decreasing number of destination nodes.
3194 (lshift_cheap_p): New function to determine if "1 << x" is cheap.
3195 (expand_end_case_type): Use emit_case_bit_tests to implement
3196 suitable switch statments.
3197 (CASE_USE_BIT_TESTS): New target macro to disable the above.
3198 * Makefile.in (stmt.o): Add dependency on optab.h.
3199 * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
3200
3201 2003-01-23 Andreas Schwab <schwab@suse.de>
3202
3203 * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
3204 __do_global_ctors_aux hidden global and don't put it in
3205 .init_array.
3206 * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
3207 instead so that it comes first.
3208
3209 Sat Jan 25 16:11:22 CET 2003 Jan Hubicka <jh@suse.cz>
3210
3211 * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD,
3212 subreg is read/modify.
3213
3214 Sat Jan 25 15:55:08 CET 2003 Jan Hubicka <jh@suse.cz>
3215
3216 * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
3217 do libcall for large blocks.
3218 * i386.md (comi patterns): Set type to ssecomi.
3219 (sse2_unpck?pd): Fix mode of vec_select.
3220
3221 * cse.c: Include except.h
3222 (cse_set_around_loop): Do not create new basic blocks.
3223 * Makefile.in (cse.o): Add dependnecy on except.h
3224
3225 Sat Jan 25 12:05:17 CET 2003 Jan Hubicka <jh@suse.cz>
3226
3227 * builtins.c (fold_trunc_transparent_mathfn): New function.
3228 (fold_builtin): Use it.
3229 * convert.c (convert_to_real): Re-enable code to convert
3230 math functions; add support for floor familly functions.
3231
3232 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3233
3234 * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
3235 dependencies on coretypes.h and $(TM_H).
3236
3237 Sat Jan 25 11:10:03 CET 2003 Jan Hubicka <jh@suse.cz>
3238
3239 * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
3240
3241 2002-01-24 Stuart Hastings <stuart@apple.com>
3242
3243 * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
3244
3245 2003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3246
3247 * config/c4x/c4x.md (UNSPEC_BU): New constants.
3248 (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
3249 (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
3250 (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
3251 (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise.
3252 (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise.
3253 (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise.
3254 (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise.
3255
3256 Fri Jan 24 23:44:12 CET 2003 Jan Hubicka <jh@suse.cz>
3257
3258 * emit-rtl.c (reg_attrs_htab): New static variable.
3259 (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
3260 functions.
3261 (reg_rtx): Do not maintain regno_decl.
3262 (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
3263 set_mem_attrs_from_reg): New global function.
3264 (init_emit): Do not initialize regno_decl.
3265 (init_emit_once): initialize reg_attrs_htab.
3266 * final.c (alter_subreg): Do not replace REG by SUBREG.
3267 (gen_mem_expr_from_op): Improve output.
3268 (output_asm_operands): Likewise.
3269 * function.c (assign_params): Do not set REGNO_DECL.
3270 * function.h (struct function): Kill regno_decl.
3271 (REGNO_DECL): Kill.
3272 * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
3273 * print_rtl.c (print_rtx): Output REG information.
3274 * regclass.c (reg_scan_mark_refs): Update attrs.
3275 * reload1.c (alter_reg): Likewise.
3276 * simplify_rtx.c (simplify_subreg): Likewise.
3277 * stmt.c (expand_decl): Likewise.
3278 * rtl.def (REG): Add new field.
3279 * rtl.h (struct reg_attrs): New.
3280 (rtunion_def): At rtreg.
3281 (X0MEMATTR): Add checking.
3282 (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
3283 (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
3284 Declare.
3285 * tree.h (SET_DECL_RTL): Call set_decl_rtl.
3286
3287 2003-01-24 Bob Wilson <bob.wilson@acm.org>
3288
3289 * config/xtensa/xtensa.c: Remove unused include of machmode.h.
3290 (xtensa_emit_call, print_operand): Fix printf format strings
3291 to avoid compile warnings.
3292 (xtensa_function_prologue, xtensa_function_epilogue): Change type
3293 of "size" argument to HOST_WIDE_INT to fix compile warnings.
3294 * config/xtensa/xtensa-protos.h
3295 (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
3296
3297 Fri Jan 24 23:03:32 CET 2003 Jan Hubicka <jh@suse.cz>
3298
3299 * builtins.c (DEF_BUILTIN): Accept 10 arguments.
3300 (implicit_built_in_decls): New global array.
3301 (mathfn_built_in): New global function.
3302 (fold_trunc_transparent_mathfn): New static function
3303 (expand_builtin_strstr, expand_bultin_strchr,
3304 expand_builtin_strpbrk, expand_builtin_strcpy,
3305 expand_builtin_strncpy, expand_bultin_strcmp,
3306 expand_bultin_strncat, expand_builtin_fputs): Use
3307 implicint_built_in_decls.
3308 (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
3309 * builtins.def: Fix comments.
3310 (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
3311 DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
3312 DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
3313 DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
3314 (DEF_C99_C90RES_BULTIN): New.
3315 (*f, *l builtins): Update.
3316 * c-common.c (DEF_BUILTIN): Initialize implicit array.
3317 (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
3318 * convert.c (strip_float_extensions): New global function.
3319 * tree.h (DEF_BUILTIN): Accept 10 arguments.
3320 (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
3321 Declare.
3322 * java/builtins.c (define_builtin): Handle implicit.
3323 (DEF_BUILTIN): Update.
3324 * tm.texi (TARGET_C99_FUNCTIONS): Document.
3325 * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
3326 * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
3327 when using glibc2.
3328
3329 2003-01-24 Bob Wilson <bob.wilson@acm.org>
3330
3331 * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
3332 extra_parts, and fixincludes. Add xtensa/t-elf tmake_file.
3333 (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
3334 * config/xtensa/crti.asm: New file.
3335 * config/xtensa/crtn.asm: New file.
3336 * config/xtensa/t-elf: New file.
3337 * config/xtensa/t-linux: New file.
3338 * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
3339 Move various CFLAGS settings to new t-elf file.
3340
3341 2003-01-24 Richard Henderson <rth@redhat.com>
3342
3343 PR optimization/4382
3344 * tree-inline.c (find_builtin_longjmp_call_1): New.
3345 (find_builtin_longjmp_call): New.
3346 (inlinable_function_p): Use it.
3347
3348 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3349
3350 * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
3351 * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
3352 * config/i386/i386.c (function_arg_pass_by_reference): New.
3353 (ix86_va_arg): Support arguments passed by reference.
3354
3355 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3356
3357 * cfgloopanal.c: New file.
3358 * cfgloopmanip.c: New file.
3359 * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
3360 (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
3361 cfglayout.o): Add dependency on cfgloop.h.
3362 (cfgloop.o): Add flags.h dependency.
3363 * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
3364 (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
3365 (struct loop, struct loops, flow_loops_find, flow_loops_update,
3366 flow_loops_free, flow_loops_dump, flow_loop_dump,
3367 flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
3368 LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
3369 LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
3370 flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
3371 loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
3372 find_common_loop, verify_loop_structure): Declarations moved to ...
3373 * cfgloop.h: New file.
3374 * bb-reorder.c (reorder_basic_blocks): Modified.
3375 * cfglayout.c: Include cfgloop.h.
3376 (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
3377 cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
3378 (break_superblocks): New static function.
3379 (cfg_layout_finalize): Use it.
3380 (cfg_layout_split_block): New function.
3381 * cfglayout.h (struct reorder_block_def): Add copy and duplicated
3382 fields.
3383 (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
3384 changed.
3385 (cfg_layout_split_block): Declare.
3386 * cfgloop.c: Include cfgloop.h and flags.h.
3387 (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
3388 get_loop_body): Avoid signed versus unsigned comparison warnings.
3389 (make_forwarder_block, flow_loops_find, loop_preheader_edge,
3390 loop_latch_edge): Modified.
3391 (verify_loop_structure): Modified to use flags stored in loop structure;
3392 check irreducible loops.
3393 (cancel_loop, cancel_loop_tree): New functions.
3394 (estimate_probability): Use loop analysis code for predictions.
3395 (estimate_loops_at_level): Avoid signed versus unsigned comparison
3396 warnings.
3397 * doloop.c: Include cfgloop.h.
3398 * loop.c: Include cfgloop.h.
3399 * predict.c: Include cfgloop.h.
3400 * toplev.c: Include cfgloop.h.
3401 * unroll.c: Include cfgloop.h.
3402 * tracer.c (tracer): Modified.
3403
3404 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
3405
3406 * config/h8300/h8300.c (get_shift_alg): Fix a typo.
3407
3408 2003-01-24 Ulrich Weigand <uweigand@de.ibm.com>
3409
3410 * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
3411 * configure: Regenerate.
3412
3413 * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
3414 (tls_symbolic_reference_mentioned_p): Add prototype.
3415 (s390_tls_get_offset): Add prototype.
3416 (emit_pic_move): Remove prototype, replace by ...
3417 (emit_symbolic_move): .. this new prototype.
3418
3419 * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
3420 (tls_model_chars): New global variable.
3421 (s390_encode_section_info): Encode TLS model.
3422 Use targetm.binds_local_p to check for local symbols.
3423 (s390_strip_name_encoding): New function.
3424 (TARGET_STRIP_NAME_ENCODING): Define.
3425
3426 (get_thread_pointer): New function.
3427 (legitimize_tls_address): New function.
3428 (legitimize_address): Call it.
3429 (emit_pic_move): Remove, replace by ...
3430 (emit_symbolic_move): ... this new function.
3431
3432 (larl_operand): Handle TLS operands.
3433 (legitimate_constant_p): Likewise.
3434 (s390_decompose_address): Likewise.
3435 (s390_cannot_force_const_mem): New function.
3436 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
3437
3438 (s390_output_symbolic_const): Handle TLS unspecs.
3439 (print_operand): New code 'J'.
3440 (machine_function): Add struct member 'some_ld_name'.
3441 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
3442
3443 (enum s390_builtin): New type.
3444 (code_for_builtin_64, code_for_builtin_31): New global variables.
3445 (s390_init_builtins, s390_expand_builtin): New functions.
3446 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
3447
3448 * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
3449 (ASM_OUTPUT_LABELREF): Define.
3450 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
3451
3452 * config/s390/s390.md: Define TLS UNSPEC constants.
3453 ("movdi", "movsi"): Handle TLS operands.
3454 ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
3455 ("*tls_load_64", "*tls_load_31"): New insns.
3456 ("call_value_tls", "call_value_tls_exp"): New expanders.
3457 ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
3458 "bas_tls_64", "bas_tls_31"): New insns.
3459
3460 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
3461
3462 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
3463 spe ABI is configured, if requested.
3464
3465 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3466
3467 * doc/passes.texi: Fix typo.
3468
3469 2003-01-24 Andreas Schwab <schwab@suse.de>
3470
3471 * stor-layout.c (excess_unit_span): Only define if used.
3472
3473 2003-01-24 Jerry Quinn <jlquinn@optonline.net>
3474
3475 * gcc/doc/invoke.texi (Optimization Options): List -O levels
3476 for each optimization flag.
3477
3478 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
3479
3480 * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
3481
3482 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3483
3484 * doc/bugreport.texi: Use @command instead of @code for commands.
3485 * doc/collect2.texi: Likewise.
3486 * doc/headerdirs.texi: Likewise.
3487 * doc/invoke.texi: Likewise.
3488 * doc/standards.texi: Likewise.
3489 * doc/tm.texi: Likewise.
3490 * doc/trouble.texi: Likewise.
3491
3492 2003-01-24 Nick Clifton <nickc@redhat.com>
3493
3494 * config/arm/arm.c (use_return_insn): Do not use a single return
3495 instruction for interrupt handelrs which have to create a stack
3496 frame.
3497 (arm_expand_prologue): Do not pre-bias the return address of
3498 interrupt handlers which create a stack frame.
3499
3500 2003-01-24 Nick Clifton <nickc@redhat.com>
3501
3502 * Add sh2e support:
3503
3504 2002-08-12 Alexandre Oliva <aoliva@redhat.com>
3505
3506 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
3507 med_cbranches. Fix logic in short_cbranches.
3508
3509 2002-04-03 Alexandre Oliva <aoliva@redhat.com>
3510
3511 * config/sh/sh.md (delay for cbranch): Don't annul delay
3512 slots on SH2e.
3513 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
3514 cbranch with unfilled delay slot on SH2e.
3515 (output_branch): Fill with a nop the delay slot of a
3516 branch that required a delay slot but didn't get one.
3517
3518 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3519
3520 * doc/invoke.texi (SH options): Document -m2e.
3521 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
3522 * config/sh/lib1funcs.asm: Likewise.
3523 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
3524 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
3525 not __sh1__.
3526 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
3527 SH2E up.
3528 (SH3E_BIT): Renamed to...
3529 (SH_E_BIT): ... this. Replace all uses.
3530 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
3531 Replace all uses of TARGET_SH3E with TARGET_SH2E.
3532 (TARGET_SWITCHES): Added 2e.
3533 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
3534 (processor_type): Added PROCESSOR_SH2E.
3535 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
3536 TARGET_SH2E, except in sqrtsf2_i.
3537 (attribute cpu): Added sh2e.
3538 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
3539 (MULTILIB_MATCHES): Use m2e multilib for m3e.
3540 * config.gcc: Add sh2e target support.
3541
3542 2003-01-24 Phil Edwards <pme@gcc.gnu.org>
3543
3544 Rename -W to -Wextra.
3545 * c-decl.c: Update comments.
3546 * c-typeck.c: Likewise.
3547 * flags.h: Likewise.
3548 * function.c: Likewise.
3549 * stmt.c: Likewise.
3550 * toplev.c: Update comments.
3551 (W_options): Add 'extra'.
3552 (display_help): Remove '-W'.
3553 (decode_W_option): Special warn_uninitialized treatment in the case
3554 of -Wextra.
3555 * doc/invoke.texi: Update with new entries.
3556
3557 2003-01-23 Richard Henderson <rth@redhat.com>
3558
3559 * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
3560 in no-else-block case. Add commentary.
3561
3562 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3563
3564 * configure.in: Revert last change.
3565
3566 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3567
3568 * configure.in: Don't include ansidecl.h in tconfig.h.
3569 * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
3570 * unwind-dw2-fde.h (last_fde): Use __attribute__, not
3571 ATTRIBUTE_UNUSED.
3572
3573 * configure: Regenerate.
3574
3575 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3576
3577 PR java/6748
3578 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
3579 regs->nip. Fix rt_sigreturn frame layout. Add support for newer
3580 kernels.
3581
3582 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3583
3584 * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
3585
3586 2003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
3587
3588 * genattrtab.c (write_attr_get): Mark 'insn' paramter
3589 as ATTRIBUTE_UNUSED.
3590
3591 2003-01-23 Richard Earnshaw <rearnsha@arm.com>
3592
3593 * arm.c (thumb_base_register_rtx_p): New function.
3594 (thumb_index_register_rtx_p): New function.
3595 (thumb_legitimate_address_p): New function.
3596 (thumb_legitimate_offset_p): New function.
3597 * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
3598 (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
3599 definitions.
3600 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
3601 (THUMB_LEGITIMATE_OFFSET): Delte.
3602 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
3603 * arm-protos.h (thumb_legitimate_address_p): Add prototype.
3604 (thumb_legitimate_offset_p): Likewise.
3605
3606 2003-01-23 Andreas Schwab <schwab@suse.de>
3607
3608 * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
3609
3610 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3611
3612 * fixinc/Makefile.in (FL_LIST): Revert last change.
3613
3614 2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3615
3616 PR other/7341
3617 * invoke.texi (ftest-coverage): Fix broken cross-reference.
3618 Change @code to @command for gcov command.
3619
3620 * gcc.texi: Adjust title of gcov section.
3621 Adjust copyright.
3622 * gcov.texi: Likewise.
3623
3624 2003-01-22 Roger Sayle <roger@eyesopen.com>
3625
3626 PR optimization/8423
3627 * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
3628 its argument is constant, or 0 if !flag_gcse.
3629 * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
3630 if it's argument is constant.
3631 * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
3632 (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
3633 (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
3634 * builtins.c (purge_builtin_constant_p): New function to force
3635 instantiation of any remaining CONSTANT_P_RTX nodes.
3636 * rtl.h (purge_builtin_constant_p): Prototype here.
3637 * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
3638 pass after GCSE and before loop.
3639 (flag_gcse): No longer static.
3640 * flags.h (flag_gcse): Prototype here.
3641
3642 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
3643
3644 * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
3645 introduced by last change.
3646
3647 2003-01-22 Andreas Schwab <schwab@suse.de>
3648
3649 * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
3650
3651 2003-01-22 Kazu Hirata <kazu@cs.umass.edu>
3652
3653 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
3654 request a scratch reg on H8S when the shift count is 8.
3655
3656 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
3657
3658 * config/s390/s390-protos.h (preferred_la_operand_p):
3659 Remove second parameter.
3660 * config/s390/s390.c (preferred_la_operand_p): Likewise.
3661 * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
3662 (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
3663 * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
3664 Add peepholes to transform ADD to LOAD ADDRESS.
3665
3666 2003-01-22 Richard Earnshaw <rearnsha@arm.com>
3667
3668 * arm.c (arm_address_register_rtx_p): New function.
3669 (arm_legitimate_address_p): New function.
3670 (arm_legitimate_index_p): New function.
3671 (legitimize_pic_address): Use arm_legitimate_index_p.
3672 * arm-protos.h (arm_legtimate_address_p): Add prototype.
3673 * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
3674 (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
3675
3676 2003-01-22 Hartmut Penner <hpenner@de.ibm.com>
3677
3678 * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
3679 * config/s390/2064.md (define_bypass): Correct 'Load' and
3680 'Load-address' bypass values.
3681
3682 2003-01-22 Andreas Schwab <schwab@suse.de>
3683
3684 * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
3685
3686 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3687
3688 * genautomata.c (output_internal_insn_latency_func,
3689 output_print_reservation_func): Short circuit when there is no
3690 automaton to generate code for.
3691
3692 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3693
3694 * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
3695 (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
3696
3697 2003-01-21 Geoffrey Keating <geoffk@apple.com>
3698
3699 * config/rs6000/rs6000.md: Remove warning.
3700 (builtin_setjmp_receiver): Likewise.
3701 * config/darwin.c (update_stubs): Slightly improve terrible hack
3702 with identifiers. Add comment pointing out problems with it.
3703 (update_non_lazy_ptrs): Likewise.
3704
3705 2003-01-21 Richard Henderson <rth@redhat.com>
3706
3707 * dwarf2out.c (lookup_filename): Fix printf format warning.
3708 * system.h (fread_unlocked, fwrite_unlocked): Undef.
3709
3710 * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
3711 (fixincl.o-warn, gnu-regex.o-warn): New.
3712 * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
3713 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
3714 * fixinc/fixincl.c (process): Fix printf format warning.
3715
3716 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
3717
3718 * dwarf2out (output_file_names): Don't crash if called
3719 with empty file_table.
3720
3721 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3722
3723 * genautomata.c (output_internal_insn_latency_func): Add
3724 missing break statement to generated code.
3725
3726 2003-01-21 Roger Sayle <roger@eyesopen.com>
3727
3728 * stmt.c (same_case_target_p): New function to determine whether
3729 two case labels branch to the same target. Split out from...
3730 (group_case_nodes): ... here. Use same_case_target_p instead.
3731 (strip_default_case_nodes): Remove explicit case nodes
3732 that branch to the default destination.
3733 (expand_end_case_type): Call strip_default_case_nodes after
3734 group_case_nodes, to simplify the case-list before we count it.
3735 Only generate table_label RTX when actually needed. Try to share
3736 thiscase->exit_label and thiscase->data.case_stmt.default_label
3737 when a switch has no explicit default case. Simplify test for
3738 constant index.
3739
3740 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
3741
3742 * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
3743 \t.
3744 (*negsf2_h8300hs): Likewise.
3745 (*addsi3_lshiftrt_16_zexthi): Likewise.
3746 (*iorhi3_lshiftrt_8): Likewise.
3747
3748 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
3749
3750 * dwarf2out.c (fde_table_in_use): Mark GTY.
3751 (dwarf2out_cfi_label_num): New variable, marked GTY.
3752 (dwarf2out_cfi_label): Use it instead of static label_num.
3753 * emit-rtl.c (label_num): Mark GTY.
3754
3755 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
3756
3757 * config/h8300/h8300.c (output_plussi): Support H8/300.
3758 (compute_plussi_length): Likewise.
3759 (compute_plussi_cc): Likewise.
3760 * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
3761 output assembly instructions.
3762
3763 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3764
3765 * calls.c (fix_unsafe_tree): Prototype.
3766
3767 * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
3768 (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
3769 insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
3770 c-parse.o-warn): Add -Wno-error.
3771 (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
3772
3773 * configure.in (--enable-werror): Add new flag.
3774 * doc/install.texi (--enable-werror): Document.
3775 * configure: Regenerate.
3776
3777 * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
3778
3779 2003-01-21 Andreas Schwab <schwab@suse.de>
3780
3781 * genautomata.c (output_internal_insn_latency_func): Fix missing
3782 close paren in output.
3783
3784 2003-01-21 Zack Weinberg <zack@codesourcery.com>
3785
3786 * genautomata.c: Space savings in generated code:
3787 (output_dfa_insn_code_func): Split out the table-enlargement
3788 path to an out-of-line static function, dfa_insn_code_enlarge.
3789 (output_internal_insn_latency_func): Use a lookup table for the
3790 default latencies.
3791 (output_print_reservation_func): Use a lookup table for the
3792 strings.
3793
3794 2003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
3795
3796 PR opt/7507
3797 * calls.c (fix_unsafe_tree): Split out from ...
3798 (expand_call): ... here. Use it on the function address too.
3799
3800 2003-01-20 Richard Henderson <rth@redhat.com>
3801
3802 * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
3803
3804 2003-01-20 Richard Henderson <rth@redhat.com>
3805
3806 PR opt/7154
3807 * stmt.c (expand_asm_operands): Validize memory operands.
3808
3809 2003-01-20 Richard Henderson <rth@redhat.com>
3810
3811 PR opt/8848
3812 * ifcvt.c (noce_process_if_block): Correct arguments to
3813 modified_between_p for no-else-block case.
3814
3815 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
3816
3817 * config/h8300/h8300.c (const_costs): Remove a warning.
3818 (output_plussi): Likewise.
3819 (compute_plussi_length): Likewise.
3820 (compute_plussi_cc): Likewise.
3821
3822 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
3823
3824 * config/h8300/h8300.md (addsi_h8300): Remove the last
3825 alternative.
3826
3827 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
3828
3829 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3830
3831 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3832
3833 * system.h (__NO_STRING_INLINES): Define.
3834
3835 2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3836
3837 * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
3838 is not a scalar int mode.
3839
3840 2003-01-20 Roger Sayle <roger@eyesopen.com>
3841
3842 * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
3843 insn's notes following a substitution inside a libcall.
3844
3845 2003-01-20 Zack Weinberg <zack@codesourcery.com>
3846
3847 * configure.in: Check for system-provided 'uchar' type.
3848 * configure, config.in: Regenerate.
3849 * cpphash.h: Only typedef 'uchar' if the system doesn't.
3850
3851 2003-01-20 Richard Henderson <rth@redhat.com>
3852
3853 * expr.h (MUST_PASS_IN_STACK): Move implementation...
3854 * calls.c (default_must_pass_in_stack): ... here.
3855
3856 2003-01-20 Vladimir Makarov <vmakarov@redhat.com>
3857
3858 * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
3859
3860 * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
3861
3862 * genattr.c (main): Output default definition of AUTOMATON_ALTS.
3863 Wrap up definition of `insn_alts'.
3864
3865 * genattrtab.c (main): Wrap up `insn_alts'.
3866
3867 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3868
3869 * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
3870 prototyping.
3871 * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
3872
3873 * config.in, configure: Regenerate.
3874
3875 2003-01-20 Nick Clifton <nickc@redhat.com>
3876
3877 * config/arm/arm.md (sibcall_epilogue): Add an
3878 UNSPEC_PROLOGUE_USE to prevent the link register from being
3879 considered dead.
3880
3881 Mon Jan 20 14:36:23 CET 2003 Jan Hubicka <jh@suse.cz>
3882
3883 * i386.md (SSE cmov splitter): Handle memory operand in operand 5.
3884
3885 2003-01-20 Andreas Schwab <schwab@suse.de>
3886
3887 * system.h: Don't declare strsignal if the decl test hasn't been
3888 run yet.
3889
3890 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
3891
3892 * config/h8300/h8300.c (notice_update_cc): Don't assume that
3893 recog_data.operands[0] is always associated with cc0.
3894
3895 2003-01-19 David Edelsohn <edelsohn@gnu.org>
3896
3897 * collect2.c (ldgetname): Expand declaration to prototype.
3898 * read-rtl.c (atoll): Add prototype.
3899 * system.h (strsignal): Also declare if no declaration found.
3900
3901 2003-01-19 Alexandre Oliva <aoliva@redhat.com>
3902
3903 * config.gcc (mips64*-*-linux*): Added.
3904 * config/mips/linux64.h, config/mips/t-linux64: New file.
3905 * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
3906 * config/mips/mips.c (override_options): Use it.
3907 * config/mips/mips.h (TARGET_SWITCHES): Added...
3908 (SUBTARGET_TARGET_SWITCHES): New, empty by default.
3909 * Makefile.in (SPECS): New.
3910 (STAGESTUFF, specs, mostlyclean, install-common): Use it.
3911 * gcc.c (process_command): Move self-spec processing past spec
3912 file loading.
3913 * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
3914 * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
3915 CRTSTUFF_T_CFLAGS.
3916 (SPECS): Document.
3917 * doc/invoke.texi (-mabi-fake-default): Document.
3918
3919 2003-01-19 Stephane Carrez <stcarrez@nerim.fr>
3920
3921 * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
3922 z_reg, z_reg_qi): Declare static and GTY().
3923 (da_reg): Remove.
3924 (create_regs_rtx): Don't create da_reg.
3925 ("gt-m68hc11.h"): Include for GTY roots.
3926 * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
3927 and GTY() here.
3928 (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
3929 (m68hc11_soft_tmp_reg): Likewise.
3930 * config/m68hc11/m68hc11-protos.h: Remove above declarations.
3931
3932 2003-01-18 Kazu Hirata <kazu@cs.umass.edu>
3933
3934 * basic-block.h: Fix comment formatting.
3935 * calls.c: Likewise.
3936 * combine.c: Likewise.
3937 * convert.c: Likewise.
3938 * gcov.c: Likewise.
3939 * haifa-sched.c: Likewise.
3940 * libgcc2.c: Likewise.
3941 * loop.c: Likewise.
3942 * profile.c: Likewise.
3943 * system.h: Likewise.
3944
3945 2003-01-18 Roger Sayle <roger@eyesopen.com>
3946
3947 * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
3948
3949 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3950
3951 * ra-build.c (undef_to_size_word): Avoid `switch' warning.
3952
3953 2003-01-17 Dale Johannesen <dalej@apple.com>
3954
3955 * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers.
3956 (*floatunssidf2_internal): Ditto.
3957
3958 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
3959
3960 * alias.c: Fix comment typos.
3961 * basic-block.h: Likewise.
3962 * c-common.c: Likewise.
3963 * c-common.h: Likewise.
3964 * c-decl.c: Likewise.
3965 * c-opts.c: Likewise.
3966 * c-pragma.c: Likewise.
3967 * c-pretty-print.h: Likewise.
3968 * cfg.c: Likewise.
3969 * cfganal.c: Likewise.
3970 * cfgbuild.c: Likewise.
3971 * cfgcleanup.c: Likewise.
3972 * cfglayout.c: Likewise.
3973 * cfgrtl.c: Likewise.
3974 * convert.c: Likewise.
3975 * cpphash.h: Likewise.
3976 * cpplex.c: Likewise.
3977 * cpplib.h: Likewise.
3978 * df.h: Likewise.
3979 * diagnostic.c: Likewise.
3980 * diagnostic.h: Likewise.
3981 * dwarf2.h: Likewise.
3982
3983 2003-01-17 Stan Shebs <shebs@apple.com>
3984
3985 * config/darwin-protos.h: Forward-declare struct cpp_reader.
3986
3987 2003-01-17 Douglas B Rupp <rupp@gnat.com>
3988
3989 * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
3990 mistake in last checkin.
3991
3992 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
3993
3994 * et-forest.c: Fix comment typos.
3995 * et-forest.h: Likewise.
3996 * except.c: Likewise.
3997 * expr.c: Likewise.
3998 * flags.h: Likewise.
3999 * flow.c: Likewise.
4000 * gcc.c: Likewise.
4001 * gcse.c: Likewise.
4002 * genattrtab.c: Likewise.
4003 * genautomata.c: Likewise.
4004 * gengtype.c: Likewise.
4005 * genrecog.c: Likewise.
4006 * global.c: Likewise.
4007 * gthr-rtems.h: Likewise.
4008
4009 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4010
4011 * i386.c (x86_function_profiler): Fix format specifier.
4012
4013 2003-01-17 Richard Henderson <rth@redhat.com>
4014
4015 * gengtype.c (walk_type): Allow paramN_is.
4016
4017 2003-01-17 Nick Clifton <nickc@redhat.com>
4018
4019 * config/i960/t-960bare (i960-c.o): Add missing newline escape.
4020
4021 2003-01-16 Richard Henderson <rth@redhat.com>
4022
4023 * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
4024
4025 2003-01-16 Richard Henderson <rth@redhat.com>
4026
4027 * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
4028 (alpha_next_sequence_number): Likewise.
4029 (alpha_this_literal_sequence_number): Likewise.
4030 (alpha_this_gpdisp_sequence_number): Likewise.
4031 (struct alpha_funcs, alpha_funcs_num): Likewise.
4032 (struct alpha_links): Fix branch merge error.
4033 (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
4034
4035 2003-01-17 Alexandre Oliva <aoliva@redhat.com>
4036
4037 * config/mips/mips.h: Don't use #elif. Reported by Kaveh
4038 R. Ghazi.
4039
4040 2003-01-16 Kazu Hirata <kazu@cs.umass.edu>
4041
4042 * ifcvt.c: Fix comment typos.
4043 * lcm.c: Likewise.
4044 * libgcc2.c: Likewise.
4045 * local-alloc.c: Likewise.
4046 * loop.c: Likewise.
4047 * predict.c: Likewise.
4048 * ra-build.c: Likewise.
4049 * ra.c: Likewise.
4050 * ra-colorize.c: Likewise.
4051 * ra.h: Likewise.
4052 * ra-rewrite.c: Likewise.
4053 * regmove.c: Likewise.
4054 * reload.h: Likewise.
4055 * rtlanal.c: Likewise.
4056 * toplev.c: Likewise.
4057 * tree.h: Likewise.
4058 * unwind-dw2-fde-glibc.c: Likewise.
4059 * vmsdbgout.c: Likewise.
4060
4061 2003-01-16 Richard Henderson <rth@redhat.com>
4062
4063 * dwarf2out.c (struct file_table): Remove.
4064 (FILE_TABLE_INCREMENT): Remove.
4065 (file_table): Make a varray; mark for GC. Update all users.
4066 (file_table_last_lookup_index): Extract from struct file_table.
4067 (output_file_names): Fix unsigned compare warnings.
4068 (add_name_attribute): Remove inline marker.
4069 (add_comp_dir_attribute): Split out from gen_compile_unit_die.
4070 (lookup_filename): Don't manage size of file_table.
4071 (init_file_table): Allocate file_table with GC.
4072 (dwarf2out_init): Don't record main_input_filename here.
4073 (dwarf2out_finish): Do it here instead.
4074
4075 2003-01-16 Bruce Korb <bkorb@gnu.org>
4076
4077 * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
4078
4079 2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org>
4080
4081 * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
4082 instead of rotldi3_mextr.
4083
4084 2003-01-16 Vladimir Makarov <vmakarov@redhat.com>
4085
4086 * haifa-sched.c (move_insn): Restore moving all schedule group.
4087 (set_priorities): Restore taking SCHED_GROUP_P into account.
4088
4089 * sched-deps.c (add_dependence): Restore processing the last group
4090 insn.
4091 (remove_dependence, group_leader): Restore the functions.
4092 (set_sched_group_p): Restore adding dependencies from previous insn
4093 in the group.
4094 (compute_forward_dependences): Restore usage of group_leader.
4095
4096 * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
4097 account.
4098
4099 * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
4100 account.
4101 (can_schedule_ready_p): Ditto.
4102 (add_branch_dependences): Restore skipping over the group insns.
4103
4104 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
4105
4106 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
4107 68HC12 pre/post inc/dec side effects.
4108
4109 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
4110
4111 * config/m68hc11/m68hc11.h (MASK_M6812): Define.
4112
4113 Thu Jan 16 21:50:25 2003 J"orn Rennecke <amylaar@onetel.net.uk>
4114
4115 * sh.md (mshflo_w_x): Fix description of operation.
4116
4117 2003-01-16 Zack Weinberg <zack@codesourcery.com>
4118
4119 * config/rs6000/rs6000.h: Mention Altivec registers in
4120 commentary. Fix typo.
4121
4122 2003-01-16 David Edelsohn <edelsohn@gnu.org>
4123
4124 * config/rs6000/rs6000.md (movti_string): Remove clobber.
4125 * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
4126 generate PARALLEL with clobber for TARGET_POWER.
4127
4128 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4129
4130 * ra-colorize.c (colorize_one_web): Initialize variable.
4131 * regmove.c (fixup_match_1): Likewise.
4132 * reload1.c (reload_as_needed): Likewise.
4133 * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
4134
4135 2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4136
4137 * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
4138
4139 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4140
4141 * dbxout.c (lastfile, cwd): Fix `unused' warning.
4142 * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
4143 dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
4144 is_main_source, file_table, decl_die_table_in_use,
4145 abbrev_die_table_in_use, line_info_table_in_use,
4146 separate_line_info_table_in_use, pubname_table_in_use,
4147 arange_table_in_use, ranges_table_in_use,
4148 current_function_has_inlines): Likewise.
4149 * flow.c (life_analysis): Likewise.
4150 * genemit.c (gen_insn): Likewise.
4151 * protoize.c (cplus_suffix): Likewise.
4152
4153 * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
4154 * arm.h (ROUND_UP_WORD): Likewise.
4155
4156 * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
4157 warning.
4158 * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
4159 init_emit_once): Likewise.
4160 * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
4161 Likewise.
4162 * function.c (assign_stack_temp_for_type): Likewise.
4163 * loop.c (loop_invariant_p): Likewise.
4164 * recog.c (push_operand): Likewise.
4165 * regclass.c (init_reg_sets_1): Likewise.
4166 * reload.c (update_auto_inc_notes): Likewise.
4167 * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
4168 * stmt.c (expand_asm_operands): Likewise.
4169 * stor-layout.c (start_record_layout): Likewise.
4170
4171 2003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
4172
4173 * config/c4x/c4x.md (epilogue): Correct last patch.
4174
4175 2003-01-15 Richard Henderson <rth@redhat.com>
4176
4177 * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
4178 also check that GP is being used.
4179 (alpha_find_lo_sum_using_gp): New.
4180 (alpha_does_function_need_gp): Use get_attr_usegp.
4181 * config/alpha/alpha-protos.h: Update.
4182 * config/alpha/alpha.md (attr usegp): New. Annotate patterns
4183 as needed.
4184
4185 2003-01-15 Roger Sayle <roger@eyesopen.com>
4186
4187 * gcse.c (one_cprop_pass): Change function arguments to take both
4188 cprop_jumps and bypass_jumps flags instead of just alter_jumps.
4189 (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
4190 (bypass_jumps): New function to perform separate jump bypassing pass.
4191 * rtl.h (bypass_jumps): Add function prototype.
4192 * timevar.def (TV_BYPASS): New timing variable.
4193 * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
4194 (dump_file): New entry for the bypass RTL dump file.
4195 (rest_of_compilation): Insert new jump bypassing optimization
4196 pass after loop.
4197 * doc/passes.texi: Document new pass.
4198
4199 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4200
4201 * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
4202 ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
4203 * pa.h (TARGET_SOM_SDEF): Define.
4204 * pa-hpux11.h (TARGET_SOM_SDEF): Define.
4205
4206 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
4207
4208 * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
4209 allocate 4-bytes of locals on 68HC11.
4210 (expand_epilogue): Likewise.
4211 (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
4212
4213 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
4214
4215 * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
4216 and -mshort-double to the assembler to specify the ABI.
4217 (LINK_SPEC): Likewise.
4218 (CPP_SPEC): Pass HCS12 specific define.
4219 (MASK_M68S12): New define.
4220 (TARGET_M68S12): Likewise.
4221 (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
4222 (TARGET_VERSION): Update.
4223 * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
4224 (LINK_SPEC): Update.
4225 (ASM_SPEC): Update.
4226 * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
4227 * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
4228
4229 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
4230
4231 * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
4232 the return code.
4233
4234 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
4235
4236 * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
4237 flag before setting it.
4238
4239 2003-01-15 Roger Sayle <roger@eyesopen.com>
4240
4241 * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
4242 when loop condition is known true, i.e. "while (1) { ... }".
4243 (genrtl_for_stmt): Similarly for "for" statements.
4244
4245 2003-01-15 Roger Sayle <roger@eyesopen.com>
4246
4247 * real.c (real_sqrt): Return a bool result indicating whether
4248 a floating point exception or trap should be raised.
4249 * real.h (real_sqrt): Update function prototype.
4250 * builtins.c (fold_builtin): Only fold non-trapping square
4251 roots unless we're ignoring errno and trapping math.
4252
4253 2003-01-15 John David Anglin <dave.anglin@nrc.gc.ca>
4254
4255 * expr.h (emit_conditional_add): Add PARAMS to declaration.
4256 * gengtype-lex.l (malloc, realloc): Move defines after include of
4257 system.h. Remove duplicate include of system.h.
4258
4259 2003-01-15 Roger Sayle <roger@eyesopen.com>
4260
4261 PR middle-end/9009
4262 * optabs.c (expand_unop): When manipulating the FP sign bit
4263 using integer operations, account for targets with different
4264 integer and FP word orders.
4265 (expand_abs): Likewise.
4266
4267 2003-01-15 David Edelsohn <edelsohn@gnu.org>
4268
4269 * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
4270 file extension in section name.
4271
4272 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
4273
4274 * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
4275 constant offset.
4276
4277 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
4278
4279 * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
4280 (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
4281 (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
4282 (ARM_PRINT_OPERAND_ADDRESS): Likewise.
4283
4284 Wed Jan 15 12:23:21 CET 2003 Jan Hubicka <jh@suse.cz>
4285
4286 PR f/9258
4287 * global.c (struct allocno): Add no_stack_reg.
4288 (global_conflicts): Set no_stack_reg.
4289 (find_reg): Use it.
4290
4291 * convert.c (convert_to_real): Fold - and abs only when profitable.
4292 * fold-const.c (fold): Fold truncates in - and abs.
4293
4294 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
4295
4296 Segher Boessenkool <segher@koffie.nl>
4297
4298 * predict.c (real_inv_br_prob_base): New variable.
4299 (propagate_freq): Use multiply by reciprocal instead of
4300 division. Don't divide by 1.0 at all.
4301 (estimate_bb_frequencies): Similar.
4302
4303 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
4304
4305 * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
4306 * configure: Rebuilt.
4307
4308 2003-01-15 Hartmut Penner <hpenner@de.ibm.com>
4309
4310 * config/s390/s390.c (s390_safe_attr_type): New function.
4311 (s390_use_dfa_pipeline_interface): New function, return true for z900.
4312 (s390_issue_rate): New function.
4313 (s390_agen_dep_p): New function.
4314 (addr_generation_dependency_p): Use 's390_safe_attr_type'.
4315 (s390_adjust_cost): Return 'cost' if new DFA is used.
4316 (s390_adjust_priority): Delete function.
4317 * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
4318 * config/s390/s390.md (atype attribute): Attribute 'atype' default
4319 determined by 'op_type'.
4320 (type attribute): Added more type attributes.
4321 * config/s390/2064.md: New DFA description for z900 pipeline.
4322
4323 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
4324
4325 * config/i386/i386.c (ix86_expand_vector_move): Validize constant
4326 forced to memory. Fixes PR bootstrap/9036.
4327
4328 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
4329 to set $gp before the call.
4330
4331 2003-01-14 Richard Henderson <rth@redhat.com>
4332
4333 * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
4334 for force_const_mem.
4335
4336 2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4337
4338 * genattr.c (main): Rearrange output to avoid prototype warning.
4339 * genautomata.c (transform_3): Fix ambiguous-else warning.
4340 * local-alloc.c (requires_inout): Add parentheses around
4341 assignment used as truth-value.
4342 * timevar.c: Move system includes above local includes. Include
4343 toplev.h
4344 * Makefile.in (timevar.o): Depend on toplev.h.
4345
4346 2003-01-14 Denis Chertykov <denisc@overta.ru>
4347
4348 * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
4349 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
4350
4351 * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
4352 attributes.
4353 (TARGET_ATTRIBUTE_TABLE): New macro.
4354 (valid_machine_type_attribute): Remove.
4355 (valid_machine_decl_attribute): Remove.
4356 (ip2k_handle_progmem_attribute): New function.
4357 (ip2k_handle_fndecl_attribute): New function.
4358
4359 2003-01-10 Andrew Haley <aph@redhat.com>
4360
4361 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
4362 registers to be in correct order. Add rip.
4363
4364 2003-01-14 Kazu Hirata <kazu@cs.umass.edu>
4365
4366 * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
4367 (*iorsi3_and_lshiftrt_9_sb): Likewise.
4368
4369 Tue Jan 14 00:45:33 CET 2003 Jan Hubicka <jh@suse.cz>
4370
4371 * convert.c (strip_float_extensions): Look for narrowest type handling
4372 FP constants.
4373
4374 * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into
4375 float1 CMP float2.
4376 * convert.c (strip_float_extensions): Make global.
4377 * tree.h (strip_float_extensions): Declare.
4378
4379 2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
4380
4381 * timevar.def: define TV_NAME_LOOKUP.
4382 * timevar.c (timevar_pop): Be verbose when aborting.
4383
4384 2003-01-13 Andreas Schwab <schwab@suse.de>
4385
4386 * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
4387 $(parsedir), just move the temporary file at the end.
4388 ($(parsedir)/gengtype-yacc.c): Likewise.
4389
4390 2003-01-13 Alexandre Oliva <aoliva@redhat.com>
4391
4392 * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
4393 ${ac_tool_prefix} to ADAC or CC. Protect them from word
4394 splitting.
4395 * configure: Rebuilt.
4396
4397 2003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4398
4399 * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
4400 internal_mcount): Don't use PARAMS.
4401 (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
4402 ISO C style.
4403 (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
4404
4405 2003-01-13 Andreas Schwab <schwab@suse.de>
4406
4407 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
4408 directive.
4409
4410 2003-01-13 Kazu Hirata <kazu@cs.umass.edu>
4411
4412 * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
4413 (*iorsi3_and_lshiftrt_n_sb): Likewise.
4414
4415 2003-01-12 Mark Mitchell <mark@codesourcery.com>
4416
4417 PR c++/9264
4418 * c-lex.c (c_lex): Set the token value to error_mark_node for
4419 invalid numeric constants.
4420
4421 2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4422
4423 * c-pch.c (asm_file_startpos): Change to `long'.
4424 (pch_init): Use ftell, not ftello.
4425 (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
4426 Use `long' instead of `off_t'.
4427 (c_common_read_pch): Likewise.
4428 * ggc-common.c (gt_pch_save): Use long/ftell instead of
4429 off_t/ftello.
4430
4431 2003-01-12 Alan Modra <amodra@bigpond.net.au>
4432
4433 * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
4434
4435 2003-01-11 Richard Earnshaw (rearnsha@arm.com)
4436
4437 * arm-protos.h (struct cpp_reader): Add declaration.
4438
4439 Sat Jan 11 11:02:58 CET 2003 Jan Hubicka <jh@suse.cz>
4440
4441 PR target/9068
4442 * i386.c (output_fp_compare): Fix typo.
4443
4444 2003-01-10 David Edelsohn <edelsohn@gnu.org>
4445
4446 * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
4447
4448 2003-01-10 Geoffrey Keating <geoffk@apple.com>
4449
4450 * Makefile.in (parsedir): New variable.
4451 (docobjdir): New variable.
4452 (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
4453 gengtype-lex.c, gengtype-yacc.c): Use parsedir.
4454 (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
4455 cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
4456 gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
4457 Use docobjdir.
4458 * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
4459 objc.maintainer-clean): Use parsedir.
4460
4461 * varasm.c (struct constant_descriptor_rtx): Remove unused
4462 `label' field.
4463
4464 * toplev.c (documented_lang_options): Document -Winvalid-pch.
4465
4466 2003-01-10 Richard Henderson <rth@redhat.com>
4467
4468 * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
4469 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
4470
4471 2003-01-10 Richard Henderson <rth@redhat.com>
4472
4473 * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
4474 not INTEGRAL_MODE_P when widening extensions.
4475
4476 2003-01-10 Richard Henderson <rth@redhat.com>
4477
4478 * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
4479
4480 2003-01-10 Geoffrey Keating <geoffk@apple.com>
4481
4482 * ggc-page.c (ggc_collect): Avoid overflow computing
4483 min_expand.
4484
4485 * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
4486 (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes.
4487 Remove calls.
4488 * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
4489
4490 Fri Jan 10 22:05:35 CET 2003 Jan Hubicka <jh@suse.cz>
4491
4492 * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
4493 with weird operands.
4494
4495 2003-01-10 Dale Johannesen <dalej@apple.com>
4496
4497 * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure
4498 parameters. Call check_sibcall_argument_overlap if indicated.
4499 (check_sibcall_argument_overlap): Add mark_stored_args_map
4500 parameter. Don't mark parameter area as clobbered if not set.
4501 (expand_call): Adjust calls to above.
4502
4503 2003-01-10 Kelley Cook <kelleycook@comcast.net>
4504
4505 * configure.in (linker read-only and read-write section mixing):
4506 Squelch some assembler warnings.
4507 * configure: Likewise.
4508
4509 2003-01-10 Hartmut Penner <hpenner@de.ibm.com>
4510
4511 * doc/invoke.texi: Document -mtune, delete -mcpu
4512 option for S/390 and zSeries.
4513 * config/s390/s390.c (s390_tune_string) New variable.
4514 (s390_cpu_string) Delete variable.
4515 (override_options): Use s390_tune_string instead of
4516 s390_cpu_string.
4517 * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
4518
4519 2003-01-10 Kazu Hirata <kazu@cs.umass.edu>
4520
4521 * config/h8300/h8300.md (*iorsi3_ashift_31): New.
4522
4523 2003-01-10 Josef Zlomek <zlomekj@suse.cz>
4524
4525 * jump.c (next_nonnote_insn_in_loop): New function.
4526 (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
4527 next_nonnote_insn.
4528 (duplicate_loop_exit_test). Likewise.
4529
4530 2003-01-09 Geoffrey Keating <geoffk@apple.com>
4531
4532 Merge from pch-branch:
4533
4534 2003-01-06 Geoffrey Keating <geoffk@apple.com>
4535
4536 * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
4537 load.
4538
4539 2002-12-24 Geoffrey Keating <geoffk@apple.com>
4540
4541 * cpplib.c (count_registered_pragmas): New function.
4542 (save_registered_pragmas): New function.
4543 (_cpp_save_pragma_names): New function.
4544 (restore_registered_pragmas): New function.
4545 (_cpp_restore_pragma_names): New function.
4546 * cpphash.h (_cpp_save_pragma_names): Prototype.
4547 (_cpp_restore_pragma_names): Likewise.
4548 * cpppch.c (struct save_macro_item): Split from save_macro_data.
4549 (struct save_macro_data): New field 'saved_pragmas'.
4550 (save_macros): Update for changes to struct save_macro_data.
4551 (cpp_prepare_state): Call _cpp_save_pragma_names, update
4552 for changes to struct save_macro_data.
4553 (cpp_read_state): Call _cpp_restore_pragma_names, update
4554 for changes to struct save_macro_data.
4555
4556 * cpppch.c (cpp_read_state): Restore the hashtable references
4557 in the cpp_reader.
4558
4559 * tree.h (built_in_decls): Mark for PCH.
4560
4561 * dbxout.c (lastfile): Don't mark for PCH.
4562
4563 * ggc.h: Document PCH calls into memory managers.
4564
4565 2002-12-18 Geoffrey Keating <geoffk@apple.com>
4566
4567 * doc/invoke.texi (Precompiled Headers): Document the
4568 directory form of PCH.
4569 * cppfiles.c (validate_pch): New function.
4570 (open_file_pch): Search suitably-named directories for PCH files.
4571
4572 2002-12-14 Geoffrey Keating <geoffk@apple.com>
4573
4574 * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
4575 reorder options.
4576 (Type Information): Mention that the information is also
4577 used to implement PCH.
4578 * doc/passes.texi (Passes): Improve documentation of
4579 language-specific files.
4580
4581 2002-12-11 Geoffrey Keating <geoffk@apple.com>
4582
4583 * gengtype.c (struct write_types_data): Add reorder_note_routine field.
4584 (struct walk_type_data): Add reorder_fn field.
4585 (walk_type): Process 'reorder' option.
4586 (write_types_process_field): Reorder parameters to gt_pch_note_object,
4587 call reorder_note_routine.
4588 (write_func_for_structure): Reorder parameters to gt_pch_note_object.
4589 (ggc_wtd): Update for change to struct write_types_data.
4590 (pch_wtd): Likewise.
4591 * ggc.h (gt_pch_note_object): Reorder parameters.
4592 (gt_handle_reorder): New definition.
4593 (gt_pch_note_reorder): New prototype.
4594 * ggc-common.c (struct ptr_data): Add reorder_fn.
4595 (gt_pch_note_object): Reorder parameters.
4596 (gt_pch_note_reorder): New.
4597 (gt_pch_save): Call reorder_fn.
4598 * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
4599
4600 * dbxout.c (cwd): Don't mark for PCH.
4601
4602 2002-12-09 Geoffrey Keating <geoffk@apple.com>
4603
4604 * gengtype.c (finish_root_table): Fix some warnings.
4605 (write_root): Handle TYPE_STRING.
4606 * ggc.h (gt_ggc_m_S): Add prototype.
4607 * stringpool.c (gt_ggc_m_S): New function.
4608
4609 2002-11-30 Geoffrey Keating <geoffk@apple.com>
4610
4611 * dwarf2out.c (dw2_string_counter): New.
4612 (AT_string_form): Use it.
4613 (same_dw_val_p): Update for removal of hashtable.h hash tables.
4614
4615 2002-11-22 Geoffrey Keating <geoffk@apple.com>
4616
4617 * dbxout.c: Include gt-dbxout.h.
4618 (lastfile): Mark for PCH/GGC.
4619 (cwd): Likewise.
4620 (struct typeinfo): Likewise.
4621 (typevec): Likewise.
4622 (typevec_len): Likewise.
4623 (next_type_number): Likewise.
4624 (struct dbx_file): Likewise.
4625 (current_file): Likewise.
4626 (next_file_number): Likewise.
4627 (dbxout_init): Allocate typevec, struct dbx_file with GGC.
4628 (dbxout_start_source_file): Allocate struct dbx_file with GGC.
4629 (dbxout_end_source_file): Don't free struct dbx_file.
4630 (dbxout_type): Use GGC to allocate typevec.
4631 * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
4632 (GTFILES): Add dbxout.c.
4633 (gt-dbxout.h): New rule.
4634
4635 * Makefile.in (c-pch.o): Add debug.h as dependency.
4636 * c-pch.c: Include debug.h.
4637 (pch_init): Call start_source_file to keep nesting right.
4638 (c_common_read_pch): Add orig_name parameter. Call
4639 start_source_file debug hook. Call end_source_file debug hook.
4640 * c-common.h (c_common_read_pch): Update prototype.
4641 * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
4642 callback.
4643 * cppfiles.c (struct include_file): Add new field `header_name'.
4644 (find_or_create_entry): Default it to `name'.
4645 (open_file_pch): Set it to the original header file searched for.
4646 (stack_include_file): Don't stack an empty buffer, just handle
4647 PCH files immediately. Pass header_name field to read_pch callback.
4648
4649 2002-11-19 Geoffrey Keating <geoffk@apple.com>
4650
4651 * function.c (funcdef_no): Mark to be saved in a PCH.
4652
4653 2002-11-15 Geoffrey Keating <geoffk@apple.com>
4654
4655 * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
4656
4657 * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
4658
4659 2002-11-14 Geoffrey Keating <geoffk@apple.com>
4660
4661 * optabs.h (code_to_optab): Add GTY marker.
4662
4663 2002-11-13 Geoffrey Keating <geoffk@apple.com>
4664
4665 * Makefile.in (GTFILES): Add cpplib.h.
4666 * c-common.h (struct c_common_identifier): Don't skip 'node' field.
4667 * c-decl.c (build_compound_literal): Don't use var_labelno.
4668 * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
4669 * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
4670 * varasm.c (const_labelno): Use gengtype to mark.
4671 (var_labelno): Likewise.
4672 (in_section): Likewise.
4673 (in_named_name): Likewise.
4674 (struct in_named_entry): Likewise.
4675 (in_named_htab): Likewise.
4676 (set_named_section_flags): Use GGC to allocate struct in_named_entry.
4677 (init_varasm_once): Use GGC to allocate in_named_htab.
4678 * config/darwin.c (current_pic_label_num): Mark for PCH.
4679
4680 2002-11-11 Geoffrey Keating <geoffk@apple.com>
4681
4682 * ggc-simple.c (init_ggc_pch): New stub procedure.
4683 (ggc_pch_count_object): Likewise.
4684 (ggc_pch_total_size): Likewise.
4685 (ggc_pch_this_base): Likewise.
4686 (ggc_pch_alloc_object): Likewise.
4687 (ggc_pch_prepare_write): Likewise.
4688 (ggc_pch_write_object): Likewise
4689 (ggc_pch_finish): Likewise.
4690 (ggc_pch_read): Likewise.
4691
4692 2002-11-08 Geoffrey Keating <geoffk@apple.com>
4693
4694 * c-pch.c (c_common_write_pch): Write the macro definitions after
4695 the GCed data.
4696 (c_common_read_pch): Call cpp_prepare_state. Restore the macro
4697 definitions after the GCed data.
4698 * cpplib.c (save_macros): New.
4699 (reset_ht): New.
4700 (cpp_write_pch_deps): Split out of cpp_write_pch.
4701 (cpp_write_pch_state): Split out of cpp_write_pch.
4702 (cpp_write_pch): Delete.
4703 (struct save_macro_data): Delete.
4704 (cpp_prepare_state): New.
4705 (cpp_read_state): Erase and restore initial macro definitions.
4706 * cpplib.h (struct save_macro_data): Forward-declare.
4707 (cpp_write_pch_deps): Prototype.
4708 (cpp_write_pch_state): Prototype.
4709 (cpp_write_pch): Delete prototype.
4710 (cpp_prepare_state): Prototype.
4711 (cpp_read_state): Add fourth argument.
4712
4713 2002-11-04 Geoffrey Keating <geoffk@apple.com>
4714
4715 * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
4716 (write_array): Remove warning.
4717
4718 * gengtype.c (contains_scalar_p): New.
4719 (finish_root_table): Add the table to all languages, even if it's
4720 empty.
4721 (write_roots): Output gt_pch_scalar_rtab.
4722 * ggc-common.c (gt_pch_save): Write out scalars.
4723 (gt_pch_restore): Read scalars back.
4724
4725 * ggc-page.c (OBJECTS_IN_PAGE): New macro.
4726 (struct page_entry): Delete pch_page field.
4727 (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
4728 (clear_marks): Likewise.
4729 (sweep_pages): Likewise.
4730 (poison_pages): Likewise.
4731 (ggc_print_statistics): Likewise.
4732 (ggc_pch_read): Don't free objects read from a PCH.
4733 Properly set up in_use_p and page_tails.
4734
4735 2002-10-25 Geoffrey Keating <geoffk@apple.com>
4736
4737 * gengtype.c (struct write_types_data): New.
4738 (struct walk_type_data): Make `cookie' const; add extra
4739 prev_val item; add `orig_s' field.
4740 (walk_type): Update prev_val[3].
4741 (write_types_process_field): New.
4742 (write_func_for_structure): Take write_types_data structure.
4743 (write_types): New.
4744 (ggc_wtd): New.
4745 (pch_wtd): New.
4746 (write_types_local_process_field): New.
4747 (gc_mark_process_field): Delete.
4748 (write_local_func_for_structure): New.
4749 (gc_mark_func_name): Delete.
4750 (write_gc_types): Delete.
4751 (write_local): New.
4752 (finish_root_table): Don't include 'ggc_' in PFX.
4753 (write_root): Rename from write_root. Fill pchw field of structures.
4754 (write_array): New.
4755 (write_roots): Rename from write_gc_roots. Split out to write_array.
4756 Update to changes to other routines. Write gt_pch_cache_rtab table.
4757 (main): Write PCH walking routines.
4758 * ggc-common.c: Include toplev.h, sys/mman.h.
4759 (ggc_mark_roots): For cache hashtables, also mark the hash table
4760 and the array of entries.
4761 (saving_htab): New.
4762 (struct ptr_data): New.
4763 (POINTER_HASH): New.
4764 (gt_pch_note_object): New.
4765 (saving_htab_hash): New.
4766 (saving_htab_eq): New.
4767 (struct traversal_state): New.
4768 (call_count): New.
4769 (call_alloc): New.
4770 (compare_ptr_data): New.
4771 (relocate_ptrs): New.
4772 (write_pch_globals): New.
4773 (struct mmap_info): New.
4774 (gt_pch_save): New.
4775 (gt_pch_restore): New.
4776 * ggc-page.c (ROUND_UP_VALUE): New.
4777 (ROUND_UP): New.
4778 (struct page_entry): Add field `pch_page'.
4779 (init_ggc): Use ROUND_UP.
4780 (struct ggc_pch_data): Declare.
4781 (init_ggc_pch): New.
4782 (ggc_pch_count_object): New.
4783 (ggc_pch_total_size): New.
4784 (ggc_pch_this_base): New.
4785 (ggc_pch_alloc_object): New.
4786 (ggc_pch_prepare_write): New.
4787 (ggc_pch_write_object): New.
4788 (ggc_pch_finish): New.
4789 (ggc_pch_read): New.
4790 * ggc.h (gt_pointer_operator): New.
4791 (gt_note_pointers): New.
4792 (gt_pch_note_object): New prototype.
4793 (gt_pointer_walker): New.
4794 (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
4795 (LAST_GGC_ROOT_TAB): Update.
4796 (gt_pch_cache_rtab): Declare.
4797 (gt_pch_scalar_rtab): Declare.
4798 (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
4799 (LAST_GGC_CACHE_TAB): Update.
4800 (gt_pch_save_stringpool): Declare.
4801 (gt_pch_restore_stringpool): Declare.
4802 (gt_pch_p_S): Declare.
4803 (gt_pch_n_S): Declare.
4804 (struct ggc_pch_data): Forward-declare.
4805 (init_ggc_pch): Declare.
4806 (ggc_pch_count_object): Declare.
4807 (ggc_pch_total_size): Declare.
4808 (ggc_pch_this_base): Declare.
4809 (ggc_pch_alloc_object): Declare.
4810 (ggc_pch_prepare_write): Declare.
4811 (ggc_pch_write_object): Declare.
4812 (ggc_pch_finish): Declare.
4813 (ggc_pch_read): Declare.
4814 (gt_pch_save): Declare.
4815 (gt_pch_restore): Declare.
4816 * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
4817 * emit-rtl.c (init_emit_once): Allocate const_int_htab,
4818 const_double_htab, mem_attrs_htab using GGC.
4819 * c-pch.c: Include ggc.h.
4820 (pch_init): Allow reading PCH file back.
4821 (c_common_write_pch): Call gt_pch_save.
4822 (c_common_read_pch): Call gt_pch_restore.
4823 * c-parse.in (init_reswords): Delete now-untrue comment.
4824 Allocate ridpointers using GGC.
4825 * c-objc-common.c (c_objc_common_finish_file): Write PCH before
4826 calling expand_deferred_fns.
4827 * c-common.h (ridpointers): Mark for GTY machinery.
4828 * Makefile.in (stringpool.o): Update dependencies.
4829 (c-pch.o): Update dependencies.
4830 (ggc-common.o): Update dependencies.
4831 * stringpool.c: Include gt-stringpool.h.
4832 (gt_pch_p_S): New.
4833 (gt_pch_n_S): New.
4834 (struct string_pool_data): New.
4835 (spd): New.
4836 (gt_pch_save_stringpool): New.
4837 (gt_pch_restore_stringpool): New.
4838 * tree.c (init_ttree): Make type_hash_table allocated using GC.
4839
4840 2002-10-04 Geoffrey Keating <geoffk@apple.com>
4841
4842 * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
4843 (output_mangled_typename): Don't pass size_t to printf.
4844
4845 * tree.h (union tree_type_symtab): Add tag to `address' field.
4846 (union tree_decl_u2): Add tag to 'i' field.
4847 * varasm.c (union rtx_const_un): Add tags to all fields.
4848 * gengtype.c (struct walk_type_data): New.
4849 (output_escaped_param): Take struct walk_type_data parameter.
4850 (write_gc_structure_fields): Delete.
4851 (walk_type): New.
4852 (write_gc_marker_routine_for_structure): Delete.
4853 (write_func_for_structure): New.
4854 (gc_mark_process_field): New.
4855 (gc_mark_func_name): New.
4856 (gc_counter): Delete.
4857 (write_gc_types): Use write_func_for_structure.
4858 (write_gc_roots): Use walk_type.
4859
4860 2002-10-02 Geoffrey Keating <geoffk@apple.com>
4861
4862 * ggc-common.c (ggc_mark_roots): Delete 'x'.
4863 (ggc_splay_dont_free): Fix warning about unused 'x'.
4864 (ggc_print_common_statistics): Remove warnings.
4865
4866 2002-10-01 Mike Stump <mrs@apple.com>
4867
4868 * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
4869 * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
4870
4871 2002-09-01 Geoffrey Keating <geoffk@redhat.com>
4872 Catherine Moore <clm@redhat.com>
4873
4874 * Makefile (c-pch.o): Update dependencies.
4875 (LIBCPP_OBJS): Add cpppch.o.
4876 (cpppch.o): New.
4877 * c-common.c (c_common_init): Don't call pch_init here.
4878 * c-common.h (c_common_read_pch): Update prototype.
4879 * c-lex.c (c_common_parse_file): Call pch_init here.
4880 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
4881 (c_common_decode_option): Handle them.
4882 * c-pch.c: Include c-pragma.h.
4883 (save_asm_offset): Delete.
4884 (pch_init): Move contents of save_asm_offset into here, call
4885 cpp_save_state.
4886 (c_common_write_pch): Call cpp_write_pch.
4887 (c_common_valid_pch): Warn only when -Winvalid-pch. Call
4888 cpp_valid_state.
4889 (c_common_read_pch): Add NAME parameter. Call cpp_read_state.
4890 * cppfiles.c (stack_include_file): Update for change to
4891 parameters of cb.read_pch.
4892 * cpphash.h (struct cpp_reader): Add `savedstate' field.
4893 * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
4894 `restore_pch_deps' fields.
4895 (struct cpp_callbacks): Add NAME parameter to `read_pch'.
4896 (cpp_save_state): Prototype.
4897 (cpp_write_pch): Prototype.
4898 (cpp_valid_state): Prototype.
4899 (cpp_read_state): Prototype.
4900 * cpppch.c: New file.
4901 * flags.h (version_flag): Remove prototype.
4902 * mkdeps.c (deps_save): New.
4903 (deps_restore): New.
4904 * mkdeps.h (deps_save): Prototype.
4905 (deps_restore): Prototype.
4906 * toplev.c (late_init_hook): Delete.
4907 (version_flag): Make static again.
4908 (compile_file): Don't call late_init_hook.
4909 * toplev.h (late_init_hook): Delete.
4910 * doc/cppopts.texi: Document -fpch-deps.
4911 * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
4912
4913 2002-08-27 Geoffrey Keating <geoffk@redhat.com>
4914
4915 * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
4916 callers.
4917 (c_common_valid_pch): Rename from c_valid_pch, change callers.
4918 (c_common_read_pch): Rename from c_read_pch, change callers.
4919
4920 * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
4921 a space between it and its argument.
4922
4923 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
4924
4925 * c-pch.c: New file.
4926 * toplev.h (late_init_hook): Declare.
4927 * toplev.c (late_init_hook): Define.
4928 (version_flag): Make globally visible.
4929 (compile_file): Call late_init_hook.
4930 (init_asm_output): Make output file seekable.
4931 * gcc.c (default_compilers): Update c-header rule.
4932 * flags.h (version_flag): Declare.
4933 * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
4934 fields.
4935 * cppfiles.c (struct include_file): Add 'pch' field.
4936 (INCLUDE_PCH_P): New.
4937 (open_file_pch): New.
4938 (stack_include_file): Handle PCH files specially.
4939 (find_include_file): Call open_file_pch instead of open_file.
4940 (_cpp_read_file): Explain why open_file is used instead of
4941 open_file_pch.
4942 * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
4943 * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
4944 * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
4945 in cpplib callbacks.
4946 * c-common.c (pch_file): Correct comment.
4947 (allow_pch): Define.
4948 (c_common_init): Call pch_init.
4949 * c-common.h (allow_pch): Declare.
4950 (pch_init): Declare.
4951 (c_valid_pch): Declare.
4952 (c_read_pch): Declare.
4953 (c_write_pch): Declare.
4954 * Makefile.in (c-pch.o): New.
4955 (C_AND_OBJC_OBJS): Add c-pch.o.
4956 * doc/invoke.texi (Precompiled Headers): Add index entries,
4957 complete truncated paragraph.
4958
4959 2002-08-17 Geoffrey Keating <geoffk@redhat.com>
4960
4961 * c-common.c: (pch_file): Define.
4962 * c-common.h (pch_file): Declare.
4963 * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
4964 (missing_arg): Require --output-pch= to have an argument.
4965 (c_common_decode_option): Handle --output-pch=.
4966 * gcc.c: Document new %V.
4967 (default_compilers): Handle compiling C header files.
4968 (do_spec_1): Implement %V.
4969 (main): Handle "gcc foo.h" without trying to run linker.
4970 * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
4971 (Overall Options): Document what the driver does with header files,
4972 document new -x option possibilities.
4973 (Invoking G++): More documentation for PCH.
4974 (Precompiled Headers): New.
4975
4976 2002-08-09 Geoffrey Keating <geoffk@redhat.com>
4977
4978 * ggc.h: Don't include varray.h. Rearrange functions to be more
4979 organized.
4980 (ggc_add_root): Delete.
4981 (ggc_mark_rtx): Delete.
4982 (ggc_mark_tree): Delete.
4983 (struct ggc_statistics): Remove contents.
4984 * ggc-common.c: Remove unneeded includes.
4985 (struct ggc_root): Delete.
4986 (roots): Delete.
4987 (ggc_add_root): Delete.
4988 (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool.
4989 (ggc_print_common_statistics): Remove most of the contents.
4990 * Makefile.in (GGC_H): No longer uses varray.h.
4991 (ggc-common.o): Update dependencies.
4992 (c-parse.o): Add varray.h to dependencies.
4993 (c-common.o): Add varray.h.
4994 * stringpool.c (mark_ident): Use mangled name for tree marker routine.
4995 (mark_ident_hash): Rename to ggc_mark_stringpool.
4996 (init_stringpool): Don't use ggc_add_root.
4997 * c-parse.in: Include varray.h.
4998 * c-common.c: Include varray.h.
4999 * objc/Make-lang.in (objc-act.o): Add varray.h.
5000 * objc/objc-act.c: Include varray.h.
5001
5002 2002-07-25 Geoffrey Keating <geoffk@redhat.com>
5003
5004 * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
5005 (dw_cfi_oprnd1_desc): Likewise.
5006
5007 2002-07-17 Geoffrey Keating <geoffk@redhat.com>
5008
5009 * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
5010 move out of ifdef.
5011 (alpha_links): Use gengtype to mark; move out of ifdef.
5012 (mark_alpha_links_node): Delete.
5013 (mark_alpha_links): Delete.
5014 (alpha_need_linkage): Use GGC to allocate splay tree, struct
5015 alpha_links, strings. Don't use ggc_add_root.
5016 * ggc-common.c (ggc_splay_alloc): New.
5017 (ggc_splay_dont_free): New.
5018 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
5019 (ggc_mark_tree): Likewise.
5020 (splay_tree_new_ggc): New.
5021 (ggc_splay_alloc): Declare.
5022 (ggc_splay_dont_free): Declare.
5023 * dwarf2asm.c: Include gt-dwarf2asm.h.
5024 (mark_indirect_pool_entry): Delete.
5025 (mark_indirect_pool): Delete.
5026 (indirect_pool): Use gengtype to mark.
5027 (dw2_force_const_mem): Don't use ggc_add_root.
5028 * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
5029 (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
5030 (gt-dwarf2asm.h): Depend on s-gtype.
5031
5032 2002-07-08 Geoffrey Keating <geoffk@redhat.com>
5033
5034 * tree.h (union tree_type_symtab): Mark `die' field.
5035 * Makefile.in (dwarf2out.o): Update dependencies.
5036 * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t
5037 hash tables.
5038 (dw_cfi_oprnd1_desc): New function.
5039 (dw_cfi_oprnd2_desc): New function.
5040 (indirect_string_alloc): Delete.
5041 (debug_str_do_hash): New function.
5042 (debug_str_eq): New function.
5043 (mark_limbo_die_list): Delete.
5044 (dwarf2out_init): Don't call ggc_add_root.
5045
5046 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
5047
5048 The following changes are merged from itanium-sched-branch:
5049
5050 2003-01-08 David Edelsohn <edelsohn@gnu.org>
5051
5052 * doc/md.texi: Clarify assignment of units to automata description.
5053
5054 2003-01-08 Vladimir Makarov <vmakarov@redhat.com>
5055
5056 * genautomata.c (unit_decl): Remove members
5057 `the_same_automaton_unit' and
5058 `the_same_automaton_message_reported_p'.
5059 (process_unit_to_form_the_same_automaton_unit_lists,
5060 form_the_same_automaton_unit_lists_from_regexp,
5061 form_the_same_automaton_unit_lists, the_same_automaton_lists):
5062 Remove them.
5063 (annotation_message_reported_p): New global variable.
5064 (check_unit_distribution_in_reserv,
5065 check_regexp_units_distribution): New functions.
5066 (check_unit_distributions_to_automata): Rewrite it.
5067
5068 2003-01-04 Vladimir Makarov <vmakarov@redhat.com>
5069
5070 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
5071 Use continue instead of break if cycle is too big.
5072
5073 2002-12-20 Vladimir Makarov <vmakarov@redhat.com>
5074
5075 * genautomata.c (check_unit_distributions_to_automata): Output at
5076 most one message for a unit.
5077 (process_unit_to_form_the_same_automaton_unit_lists): Check
5078 automaton of units instead of units themself.
5079
5080 * doc/md.texi: Describe the constraint about assigning unit to
5081 automata.
5082
5083 2002-12-20 Jan Hubicka <jH@suse.cz>
5084 Vladimir Makarov <vmakarov@redhat.com>
5085
5086 * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
5087 and `in_set_p'.
5088 (gen_cpu_unit): Initialize the new members.
5089 (process_regexp_cycles): Calculate minimal finish cycle too. Set
5090 up `min_occ_cycle_num'.
5091 (evaluate_max_reserv_cycles): Change the function call.
5092 (CLEAR_BIT): New macro.
5093 (states_union, state_shift): Use the mask.
5094 (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
5095 (form_reservs_matter): New function.
5096 (make_automaton): Call the function and use the mask.
5097 (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
5098 account.
5099
5100 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5101
5102 * config/ia64/itanium2.md (lfetch): Change the insn reservation.
5103
5104 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5105
5106 * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
5107 for Itanium.
5108
5109 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5110
5111 * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
5112 default cpu.
5113
5114 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5115 2002-10-31 Dale Johannesen <dalej@apple.com>
5116
5117 * haifa-sched.c (find_set_reg_weight): New function.
5118 (find_insn_reg_weight): Use the new function.
5119 (schedule_block): Do sorting ready queue always
5120 after insn issue.
5121
5122 2002-11-27 Vladimir Makarov <vmakarov@redhat.com>
5123
5124 * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
5125
5126 2002-11-19 Vladimir Makarov <vmakarov@redhat.com>
5127
5128 * haifa-sched.c (choice_entry): New structure.
5129 (choice_stack, cycle_issued_insns): New variables.
5130 (max_issue): Rewrite it.
5131 (choose_ready): Set up ready_try for unknown insns too.
5132 (schedule_block): Allocate and free choice_stack. Set up
5133 and modify cycle_issued_insns.
5134
5135 * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
5136 with and without filling the bundle.
5137 (bundling): Combine calls of issue_nops_and_insn.
5138
5139 2002-10-17 Vladimir Makarov <vmakarov@redhat.com>
5140
5141 * config/ia64/itanium1.md: New file.
5142
5143 * config/ia64/itanium2.md: New file.
5144
5145 * config/ia64/ia64.md: Move DFA descriptions into the new files.
5146 Remove the old pipeline description.
5147
5148 * config/ia64/ia64.c (ia64_override_options): Add aliases of
5149 itanium processor names.
5150
5151 2002-10-16 Vladimir Makarov <vmakarov@redhat.com>
5152
5153 * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
5154 (ia64_reorg): Set up queried unit codes for Itanium2 too.
5155
5156 * config/ia64/ia64.md: Add descriptions for Itanium2.
5157
5158 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
5159
5160 * config/ia64/ia64.h (processor_type): New enumeration.
5161 (ia64_tune, ia64_tune_string): New external declarations.
5162 (TARGET_OPTIONS): Add option `tune='.
5163
5164 * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
5165 variables.
5166 (ia64_override_options): Set up `ia64_tune'.
5167 (ia64_sched_reorder2): Set up `clocks' only for Itanium.
5168 (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
5169 (bundling): Add nops for MM-insns only for Itanium.
5170 (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
5171 Itanium.
5172
5173 * config/ia64/ia64.md (cpu): New attribute.
5174 (DFA description): Enable it only for Itanium.
5175
5176 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
5177 Richard Henderson <rth@redhat.com>
5178
5179 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
5180 MASK_EARLY_STOP_BITS.
5181 (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
5182 (TARGET_SWITCHES): Rename option `tune-stop-bits' to
5183 `early-stop-bits'.
5184
5185 * config/ia64/ia64.c (ia64_dfa_new_cycle,
5186 final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
5187 instead of TARGET_TUNE_STOP_BITS.
5188
5189 * doc/invoke.texi: Rename option `-mtune-stop-bits' to
5190 `-mearly-stop-bits'.
5191
5192 * config/ia64/ia64.c (automata_option "v"): Comment it.
5193
5194 2002-10-07 Vladimir Makarov <vmakarov@redhat.com>
5195
5196 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
5197 New macros.
5198 (TARGET_SWITCHES): Add entries for the new option.
5199
5200 * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
5201 dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
5202 (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
5203 global variables.
5204 (ia64_sched_reorder2): Set up `clocks'.
5205 (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
5206 (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready
5207 queue when TARGET_TUNE_STOP_BITS.
5208 (bundling): Insert additional nops for MM-insns.
5209 (final_emit_insn_group_barriers): Add insertion of stop bits
5210 according `stops_p'.
5211 (ia64_reorg): Initiate the new varibales.
5212
5213 * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
5214
5215 2002-10-02 Vladimir Makarov <vmakarov@redhat.com>
5216
5217 * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
5218 insns at the end of block insn scheduling.
5219
5220 2002-09-30 Vladimir Makarov <vmakarov@redhat.com>
5221
5222 * sched-deps.c (remove_dependence, group_leader): Remove it.
5223 (add_dependence): Add dependence to group leader to.
5224 (set_sched_group_p): Add dependence to the first insn of the
5225 schedule group too.
5226 (sched_analyze_insn): Make dependence to jump as anti-dependence.
5227 Change true dependence by anti-dependence when
5228 `reg_pending_barrier'.
5229
5230 * sched-rgn.c (init_ready_list, can_schedule_ready_p,
5231 add_branch_dependences): Ignore schedule groups.
5232
5233 * sched-ebb.c (init_ready_list): Ditto.
5234
5235 * (move_insn, set_priorities): Ditto.
5236
5237 * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
5238 flag is clear after reload.
5239 (adjust_cost): Change cost only for output dependencies.
5240
5241 * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
5242
5243 2002-09-26 Vladimir Makarov <vmakarov@redhat.com>
5244
5245 * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
5246
5247 * target.h (gcc_target): Add member
5248 `dependencies_evaluation_hook'.
5249
5250 * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
5251 macro.
5252 (TARGET_SCHED): Add initiatialization of the new member.
5253
5254 * sched-ebb.c: Include `target.h'.
5255 (schedule_ebb): Call `dependencies_evaluation_hook'.
5256
5257 * sched-rgn.c (schedule_region): Call
5258 `dependencies_evaluation_hook'.
5259
5260 * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
5261 New macro.
5262 (ia64_dependencies_evaluation_hook): New function.
5263
5264 * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
5265 Describe the new hook.
5266
5267 2002-09-25 Vladimir Makarov <vmakarov@redhat.com>
5268
5269 * target.h (gcc_target): Add members
5270 `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
5271
5272 * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
5273 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
5274 macros.
5275 (TARGET_SCHED): Add initiatialization of the new members.
5276
5277 * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
5278 insn scheduling too.
5279 (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
5280 initialize `ready_try'.
5281 (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless
5282 `dfa_new_cycle' says not to do it.
5283
5284 * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
5285 bundling.
5286
5287 * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
5288
5289 * config/ia64/ia64.c: Include `hashtab.h'.
5290 (ia64_first_cycle_multipass_dfa_lookahead_guard,
5291 ia64_dfa_new_cycle, final_emit_insn_group_barriers,
5292 ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
5293 initiate_bundle_states, finish_bundle_states, bundle_state_hash,
5294 bundle_state_eq_p, insert_bundle_state,
5295 initiate_bundle_state_table, finish_bundle_state_table,
5296 try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
5297 get_template, get_next_important_insn, bundling): New functions.
5298 (ia64_internal_sched_reorder): Remove it.
5299 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
5300 TARGET_SCHED_DFA_NEW_CYCLE): New macros.
5301 (ia64_safe_itanium_requires_unit0): Remove it.
5302 (group_barrier_needed_p): Place group barrier right before a real
5303 insn.
5304 (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
5305 Remove them.
5306 (bundle_name): New variable.
5307 (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
5308 _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
5309 _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
5310 pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
5311 temp_dfa_state, prev_cycle_state): New global variables.
5312 (insn_matches_slot, maybe_rotate, finish_last_head,
5313 rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
5314 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
5315 find_best_packet, itanium_reorder, dump_current_packet,
5316 schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
5317 (sched_data, sched_ready, sched_types): Remove them.
5318 (ia64_sched_init): Initiate only `last_scheduled_insn' and call
5319 `init_insn_group_barriers'.
5320 (ia64_sched_reorder, ia64_sched_reorder2): Call
5321 ia64_dfa_sched_reorder.
5322 (ia64_variable_issue): Rewrite it.
5323 (bundle_state): New structure.
5324 (index_to_bundle_states, bundle_states_num,
5325 allocated_bundle_states_chain, free_bundle_state_chain): New
5326 global variables.
5327 (ia64_sched_finish): Add stop bits and call `bundling' after the
5328 2nd insn scheduling.
5329 (ia64_use_dfa_pipeline_interface): Return zero always.
5330 (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
5331 insn scheduling.
5332 (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
5333 `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
5334 (ia64_reorg): Add bundling insns.
5335
5336 * doc/tm.texi
5337 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
5338 TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
5339
5340 2002-09-23 Vladimir Makarov <vmakarov@redhat.com>
5341
5342 * config/ia64/ia64.md: Add Itanium1 DFA description.
5343 (itanium_class): Add `nop' and `pre_cycle'. Add
5344 define_function_unit for `nop'.
5345 (nop): Change attribute `itanium_class'.
5346 (pre_cycle): New define_insn.
5347
5348 * config/ia64/ia64-protos.h (bundling_p): New external variable.
5349 (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
5350 ia64_produce_address_p): New function prototypes.
5351
5352 * config/ia64/ia64.c (bundling_p): New global variable.
5353 (ia64_use_dfa_pipeline_interface,
5354 ia64_first_cycle_multipass_dfa_lookahead,
5355 ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
5356 functions.
5357 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5358 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5359 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5360 TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
5361 (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
5362 ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
5363 (dfa_pre_cycle_insn): New variable.
5364
5365 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
5366
5367 * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
5368 constructions.
5369
5370 * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
5371 New function prototypes.
5372
5373 * genattrtab.c (main): Process the new constructions.
5374
5375 * genautomata.c (gen_presence_absence_set,
5376 process_presence_absence_names, process_presence_absence_patterns,
5377 add_presence_absence, check_absence_pattern_sets): Add parameter
5378 `final_p'.
5379 (unit_decl): Add new members `final_presence_list' and
5380 `final_absence_list'.
5381 (unit_pattern_rel_decl): Add new member `final_p'.
5382 (gen_final_presence_set, gen_final_absence_set): New functions.
5383 (process_decls): Use member `final_p'.
5384 (temp_reserv): New global variable.
5385 (reserv_sets_are_intersected): Add processing `final_presence_set'
5386 and `final_absence_set'.
5387 (initiate_states): Allocate `temp_reserv'.
5388 (unit_final_presence_set_table, unit_final_absence_set_table): New
5389 gloabal variables.
5390 (initiate_presence_absence_pattern_sets): Initiate them.
5391 (NDFA_to_DFA): Fix typo.
5392 (output_description): Output `final_presence_set' and
5393 `final_absence_set'.
5394
5395 * doc/md.texi (final_presence_set, final_absence_set): Describe
5396 them.
5397
5398 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
5399
5400 * genautomata.c (transform_3): Process a missing case (nothing on
5401 unit place).
5402
5403 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
5404
5405 * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
5406 comments about queried units and the minimization.
5407
5408 * doc/md.texi: Ditto.
5409
5410 * genautomata.c (create_composed_state): Return nonzero if the new
5411 state has been created.
5412 (first_cycle_unit_presence): New function.
5413 (state_is_differed): Add new parameter. Use the new function.
5414 Take queried units into account.
5415 (partition_equiv_class): Pass additional parameter to
5416 `state_is_differed'.
5417 (merge_states): Process composed states too.
5418 (build_automaton, create_automata, output_min_issue_delay_table,
5419 output_tables, output_statistics): Output more information.
5420 (output_reserved_units_table): Use function
5421 `first_cycle_unit_presence'.
5422 (output_tables): Output table of queried units even if the
5423 minimization is switched on.
5424 (write_automata): Output code for querying units even if the
5425 minimization is switched on.
5426
5427 2002-09-19 Vladimir Makarov <vmakarov@redhat.com>
5428
5429 * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
5430 syntax of the constructions.
5431
5432 * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
5433 extended syntax of the constructions.
5434
5435 * genautomata.c (unit_rel_decl): Rename it to
5436 `unit_pattern_rel_decl'.
5437 (pattern_set_el, pattern_reserv): New structures.
5438 (pattern_set_el_t, pattern_reserv_t): New types.
5439 (gen_presence_absence_set): New function.
5440 (process_presence_absence): Remove it.
5441 (process_presence_absence_names,
5442 process_presence_absence_patterns): New functions.
5443 (get_presence_absence_set): Remove it.
5444 (initiate_presence_absence_sets): Rename it on
5445 `initiate_presence_absence_pattern_sets'. Use new function
5446 `form_reserv_sets_list'.
5447 (form_reserv_sets_list, check_presence_pattern_sets,
5448 check_absence_pattern_sets, output_pattern_set_el_list): New
5449 functions.
5450 (unit_decl): Change types of members `presence_list' and
5451 `absence_list'.
5452 (unit_rel_decl): Rename member `names_num' to `all_names_num'.
5453 (decl): Change types of members `excl', `presence', and `absence'.
5454 (get_str_vect): Rename `par_flag' to `paren_p'. Add null element
5455 at the end of the vector.
5456 (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
5457 gen_automaton, gen_regexp_repeat, gen_regexp_allof,
5458 gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
5459 (gen_presence_set, gen_absence_set): Use new function
5460 `gen_presence_absence_set'.
5461 (add_presence_absence): Process `pattern_list' instead of
5462 `source_list'.
5463 (process_decls): USe new functions
5464 `process_presence_absence_names' and
5465 `process_presence_absence_patterns'.
5466 (reserv_sets_are_intersected): Use new function
5467 `check_presence_pattern_sets'.
5468 (presence_set, absence_set): Remove them.
5469 (unit_presence_set_table, unit_absence_set_table): New global
5470 variables.
5471 (output_description): Use new function
5472 `output_pattern_set_el_list'.
5473 (generate): Use `initiate_presence_absence_pattern_sets'.
5474
5475 2002-09-18 Vladimir Makarov <vmakarov@redhat.com>
5476
5477 * genattr.c (main): Add output of prototype of new interface
5478 function `dfa_clean_insn_cache'.
5479
5480 * genautomata.c (output_dfa_clean_insn_cache_func): New function.
5481 (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
5482 (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
5483 the generated code.
5484 (write_automata): Call the new function.
5485
5486 Thu Jan 9 22:47:38 CET 2003 Jan Hubicka <jh@suse.cz>
5487
5488 * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
5489 correctly.
5490
5491 2003-01-09 Paolo Carlini <pcarlini@unitus.it>
5492
5493 * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
5494
5495 Thu Jan 9 17:26:40 2003 J"orn Rennecke <joern.rennecke@superh.com>
5496
5497 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
5498 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
5499 (CONSTRAINT_LEN): Provide default definition.
5500 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
5501 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
5502 (EXTRA_CONSTRAINT_STR): Likewise.
5503 (REG_CLASS_FROM_CONSTRAINT): Define.
5504 * genoutput.c (check_constraint_len, constraint_len): New functions.
5505 (validate_insn_alternatives): Check CONSTRAINT_LEN for each
5506 constraint / modifier.
5507 (gen_insn): Call check_constraint_len.
5508 * local-alloc.c (block_alloc): Update to use new macros / pass
5509 second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
5510 * ra-build.c (handle_asm_insn): Likewise.
5511 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
5512 (constrain_operands, peep2_find_free_register): Likewise.
5513 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
5514 * regmove.c (find_matches): Likewise.
5515 * reload.c (push_secondary_reload, find_reloads): Likewise.
5516 (alternative_allows_memconst): Likewise.
5517 * reload1.c (maybe_fix_stack_asms): Likewise.
5518 (reload_cse_simplify_operands): Likewise.
5519 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
5520 * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
5521 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
5522 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
5523 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
5524 * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
5525
5526 * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
5527
5528 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
5529
5530 * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
5531 length.
5532 (*extzv_1_r_h8300hs): Likewise.
5533 (*extzv_1_r_inv_h8300): Likewise.
5534 (*extzv_1_r_inv_h8300hs): Likewise.
5535
5536 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
5537
5538 * config/h8300/h8300.h (PREDICATE_CODES): New.
5539
5540 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
5541
5542 * config/h8300/h8300.md (*addsi3_upper): New.
5543 (*iorsi3_shift): Likewise.
5544 (two splitters): Likewise.
5545 (*addsi3_shift): Likewise.
5546 (two splitters): Likewise.
5547
5548 2003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
5549
5550 * Makefile.in (optabs.o): Add dependency on basic-block.h.
5551 * basic-block.h (control_flow_insn_p): Fuction was exported.
5552 * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
5553 * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
5554 notes only when the region is contained in a single basic block.
5555
5556 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
5557
5558 PR inline-asm/8832
5559 * tree.h (expand_asm): New prototype.
5560 * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
5561 to do so.
5562 * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
5563 down to expand_asm.
5564 * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
5565 * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
5566 (volatile_refs_p) [ASM_INPUT]: Likewise.
5567 (side_effects_p) [ASM_INPUT]: Likewise.
5568
5569 Thu Jan 9 12:00:36 CET 2003 Jan Hubicka <jh@suse.cz>
5570
5571 * i386.md (*mul*): FIx constraints; remove confused comment; fix
5572 athlon_decode attributes
5573 (imul/k8 optimization peep2s): New.
5574
5575 * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
5576 * i386.md (type attribute): Add ssecomi.
5577 (unit, memory, prefix attributes): Handle ssecomi.
5578 (cvt?2? patterns): Fix athlon_decode attribute
5579 (comi patterns): Set attribute to ssecomi.
5580
5581 PR target/8343
5582 * m68k.md (umulsidi, mulsidi expanders): Use register operand.
5583
5584 2003-01-09 Richard Sandiford <rsandifo@redhat.com>
5585
5586 * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
5587 that match register_operands.
5588 * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
5589 register_operand the default case.
5590
5591 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
5592
5593 PR c/8032
5594 * c-typeck.c (process_init_element) [RECORD_TYPE]: For
5595 an empty element, do not advance the pointer to unfilled
5596 fields if there are pending initializers.
5597
5598 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
5599
5600 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
5601 (install-gcc-tooldir, install-cpp, installdirs,
5602 install-common, install-driver, install-info, install-man,
5603 install-headers, install-include-dir, install-headers-tar,
5604 install-headers-cpio, install-headers-cp, install-mkheaders,
5605 install-collect2, uninstall): Prepend $(DESTDIR) to
5606 destination paths in all (un)installation commands.
5607 (install-driver): Rewrite $(LN) commands to support DESTDIR
5608 with "ln" as well as with "ln -s".
5609 (installdirs): Simply use mkinstalldirs.
5610 (install-libgcc, install-multilib): Also pass DESTDIR.
5611 * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
5612 installation destination variable ldir.
5613 * config/alpha/t-osf4, config/arm/t-netbsd,
5614 config/ia64/t-hpux, config/mips/t-iris5-6,
5615 config/pa/t-hpux-shlib, config/rs6000/t-aix43,
5616 config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
5617 config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
5618 in the definition of SHLIB_INSTALL.
5619 * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
5620 $(libsubdir) in the installation commands.
5621
5622 2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
5623
5624 * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
5625 non-optimizing compile.
5626 (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
5627 compile.
5628
5629 2003-01-08 Douglas B Rupp <rupp@gnat.com>
5630
5631 * config/i386/i386.c (ix86_attribute_table): Add new attributes
5632 ms_struct and gcc_struct.
5633 (ix86_handle_struct_attribute): New function.
5634 (ix86_ms_bitfield_layout_p): Update to take new attributes
5635 into account.
5636 * doc/extend.texi: Document new attributes.
5637 * testsuite/gcc.dg/bf-ms-attrib.c: New test.
5638
5639 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
5640
5641 PR optimization/8750
5642 * config/i386/i386.c (ix86_expand_prologue): Don't allow
5643 scheduling pass to move insns across __alloca call.
5644
5645 2003-01-08 Dale Johannesen <dalej@apple.com>
5646
5647 * config/rs6000/rs6000.md: Replace *store_multiple_string
5648 with *stmsi[3-8].
5649
5650 2003-01-08 Jeff Sturm <jsturm@one-point.com>
5651
5652 PR target/9210
5653 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
5654 Set SYMBOL_REF_FLAG on local data sym_ref.
5655
5656 2003-01-08 Dale Johannesen <dalej@apple.com>
5657
5658 * function.c (assign_parms): Don't set pretend_args_size if
5659 REG_PARM_STACK_SPACE.
5660 config/rs6000/rs6000.c (setup_incoming_varargs): Don't set
5661 pretend_args_size.
5662
5663 2003-01-08 Nathanael Nerode <neroden@gcc.gnu.org>
5664
5665 * gcc.hlp: Delete.
5666
5667 Thu Jan 9 00:57:15 CET 2003 Jan Hubicka <jh@suse.cz>
5668
5669 * i386.c (ix86_expand_int_addcc): Fix thinko.
5670
5671 2003-01-08 David Edelsohn <edelsohn@gnu.org>
5672
5673 * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
5674 * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
5675 as hook_bool_tree_hwi_hwi_tree_true.
5676 (rs6000_emit_allocate_stack): Use TARGET_32BIT.
5677 (rs6000_emit_epilogue): Same.
5678 (rs6000_output_mi_thunk): Re-implement as RTL.
5679 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
5680 xcoffout_declare_function if any debugging enabled.
5681
5682 2003-01-08 Chris Demetriou <cgd@broadcom.com>
5683
5684 * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
5685 targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
5686 * config/mips/mips.h (enum processor_type): Rename
5687 PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
5688 PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
5689 Add PROCESSOR_M4K.
5690 (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
5691 (ISA_MIPS32R2): New define.
5692 (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
5693 (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
5694 (ISA_HAS_PREFETCH): Add support for MIPS32R2.
5695 (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation.
5696 (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new
5697 predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
5698 (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
5699 compiling MIPS16 code.
5700 (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
5701 comment.
5702 (ISA_HAS_SEB_SEH): New define.
5703 (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
5704 * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
5705 processor_type value renaming. Add support for MIPS32R2.
5706 Clean up comments, and move "sb1" entry with other MIPS64 CPU
5707 entries.
5708 (override_options): Reimplement -mipsN option handling so that
5709 it will work correctly for -mips32r2. Avoid branch-likely
5710 instructions on MIPS32R2.
5711 * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
5712 (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
5713 (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
5714 (extendhisi2_hw, extendqisi2_hw): New.
5715 * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
5716 for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32,
5717 MIPS32R2, and MIPS64.
5718 (LINK_SPEC): Pass -mips32r2 to linker.
5719 * config/mips/t-isa3264: Built -mips32r2 multilibs.
5720 * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
5721 for mips32r2 in the -march description. Alphabetically sort
5722 CPU names in the -march description. Add long-missed -mips32
5723 and -mips64 to MIPS option summary.
5724
5725 * config.gcc: Update copyright years to include 2003.
5726 * config/mips/mips.c: Likewise.
5727 * config/mips/mips.h: Likewise.
5728 * config/mips/mips.md: Likewise.
5729 * config/mips/netbsd.h: Likewise.
5730 * doc/invoke.texi: Likewise.
5731
5732 2003-01-08 Andreas Schwab <schwab@suse.de>
5733
5734 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
5735 variable.
5736 * configure: Regenerated.
5737
5738 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
5739
5740 * config/h8300/h8300.c (output_logical_op): Replace byte/word
5741 extraction of det with b0, b1, w0, w2, etc.
5742 (compute_logical_op_length): Likewise.
5743 (compute_logical_op_cc): Likewise.
5744
5745 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
5746
5747 * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
5748 HIGH on all variants.
5749
5750 Wed Jan 8 14:06:34 CET 2003 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
5751
5752 * Makefile.in (PARTITION_H): New.
5753 (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
5754 * basic-block.h: Include hard-reg-set.h.
5755
5756 2003-01-08 Richard Earnshaw <rearnsha@arm.com>
5757
5758 * arm.h (ENABLE_XF_PATTERNS): Delete.
5759 * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
5760 (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
5761 (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
5762 (cmpxf_trap): Delete.
5763 (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
5764
5765 Wed Jan 8 12:10:57 CET 2003 Jan Hubicka <jh@suse.cz>
5766
5767 * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
5768 (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
5769 (add??cc): New expanders.
5770 * i386.c (expand_int_addcc): New function.
5771 * i386-protos.h (expand_int_addcc): Declare.
5772
5773 * alias.c (memory_modified_1): New static function.
5774 (memory_modified): New static varaible.
5775 (memory_modified_in_insn_p): New global function.
5776 * rtl.h (memory_modified_in_insn_p): Declare.
5777 * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
5778 references.
5779
5780 * expr.h (emit_conditional_add): Declare.
5781
5782 2003-01-07 Janis Johnson <janis187@us.ibm.com>
5783
5784 PR other/8947
5785 * doc/invoke.texi (-malign-double): Explain that the option breaks
5786 binary compatibility.
5787
5788 2003-01-08 Andreas Schwab <schwab@suse.de>
5789
5790 * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
5791 should come from the generic *-*-linux* entry.
5792
5793 Tue Jan 7 22:29:56 CET 2003 Jan Hubicka <jh@suse.cz>
5794
5795 * cselib.c (cselib_current_insn_in_libcall): New static variable.
5796 (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
5797 we are inside libcall.
5798 * cselib.h (elt_loc_list): Add in_libcall.
5799 * gcse.c (do_local_cprop): Do not copy propagate using insns
5800 in libcalls.
5801
5802 2003-01-07 David Edelsohn <edelsohn@gnu.org>
5803
5804 * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
5805 not normally affect to issue rate.
5806
5807 Tue Jan 7 21:46:57 CET 2003 Jan Hubicka <jh@suse.cz>
5808
5809 * genopinit.c (optabs): Add addc_optab.
5810 * ifcvt.c (noce_try_store_flag): Rename to ...
5811 (noce_try_addcc): ... this one; handle generic conditional increment.
5812 (noce_process_if_block): Update noce_try_addcc call.
5813 * optabs.c (emit_conditional_add): New.
5814 (init_obtabs): Initialize addc_optab.
5815 * optabs.h (optab_index): Add OTI_addcc.
5816 (addcc_optab): New macro.
5817 * md.texi: Document addMcc
5818
5819 PR target/8322
5820 * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
5821 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
5822 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
5823
5824 * reload1.c (delete_output_reload): Avoid repeated attempts
5825 to delete insn.
5826
5827 2003-01-07 Andreas Schwab <schwab@suse.de>
5828
5829 * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
5830 Move --enable-initfini-array check ...
5831 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
5832 HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
5833 Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
5834 * configure: Rebuild.
5835
5836 2003-01-07 Richard Henderson <rth@redhat.com>
5837
5838 * alias.c (find_base_value): Only use new_reg_base_value shortcut
5839 if the register is set once.
5840
5841 2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
5842
5843 * config/i386/i386.c (ix86_init_mmx_sse_builtins):
5844 __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
5845 * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
5846
5847 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
5848 Sunil Davasam <sunil.k.davasam@intel.com>
5849
5850 PR libstdc++/9076
5851 * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
5852 DW_CFA_same_value, read next and ignore.
5853
5854 2003-01-07 Richard Henderson <rth@redhat.com>
5855
5856 * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
5857
5858 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
5859
5860 * cfg.c: Include alloc-pool.h
5861 (edge_pool): New pool.
5862 (bb_pool): New pool.
5863 (first_deleted_edge): Remove.
5864 (first_deleted_block): Remove.
5865 (init_flow): Alloc/free the pools.
5866 (free_edge): Use pools.
5867 (alloc_block): Ditto.
5868 (expunge_block): Ditto.
5869 (cached_make_edge): Ditto.
5870
5871 * Makefile.in (cfg.o): Add alloc-pool.h dependency.
5872
5873 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
5874
5875 * et-forest.c: Include alloc-pool.h.
5876 (struct et_forest): Add node_pool and occur_pool.
5877 (et_forest_create): Create the new pools.
5878 (et_forest_delete): Delete them.
5879 (et_forest_add_node): Allocate and free using pools.
5880 (et_forest_add_edge): Ditto.
5881 (et_forest_remove_node): Ditto.
5882 (et_forest_remove_edge): Ditto.
5883
5884 * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
5885
5886 2003-01-07 Kazu Hirata <kazu@cs.umass.edu>
5887
5888 * config/h8300/h8300.c (output_logical_op): Simplify and
5889 optimize the handling of SImode.
5890 * config/h8300/h8300.c (compute_logical_op_length): Update
5891 accordingly.
5892 * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
5893
5894 2003-01-07 Richard Sandiford <rsandifo@redhat.com>
5895
5896 * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
5897 big-endian correction to indirect arguments too.
5898
5899 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
5900
5901 Segher Boessenkool <segher@koffie.nl>
5902
5903 * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
5904 (alt_reg_names): Ditto, fix formatting.
5905 * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
5906
5907 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
5908
5909 * config/h8300/h8300.c (final_prescan_insn): Constify uid.
5910 (output_logical_op): Constify intval and det.
5911 (compute_logical_length): Likewise.
5912 (compute_logical_cc): Likewise.
5913 (output_a_shift): Constify mask.
5914 (h8300_encode_label): Constify len.
5915
5916 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
5917
5918 * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
5919 (h8300_expand_epilogue): Likewise.
5920
5921 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
5922
5923 Segher Boessenkool <segher@koffie.nl>
5924
5925 * config/rs6000/altivec.md: Remove spaces from assembler
5926 instruction argument lists.
5927
5928 2003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5929
5930 * config/c4x/c4x.c (c4x_naked_function_p): Rename from
5931 c4x_assembler_function_p.
5932 (c4x_null_epilogue_p): Complement return value, all uses updated.
5933 (c4x_insert_attributes): Add naked.
5934 * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
5935 * doc/extend.texi: Update C4x function attributes.
5936
5937 2003-01-06 Richard Henderson <rth@redhat.com>
5938
5939 * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
5940 properly when changing "local-ness".
5941 * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
5942
5943 2003-01-06 Dale Johannesen <dalej@apple.com>
5944
5945 * config/darwin-protos.h: Add prototypes for new section functions.
5946
5947 2003-01-06 Chris Demetriou <cgd@broadcom.com>
5948
5949 * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
5950 to EABI.
5951
5952 2003-01-06 Zack Weinberg <zack@codesourcery.com>
5953
5954 * hwint.h: If the current compiler has no 64-bit type at all,
5955 make HOST_WIDEST_INT 32 bits.
5956
5957 2003-01-06 Eric Christopher <echristo@redhat.com>
5958
5959 * config/mips/mips.md (movdf_internal2): Fix constraints.
5960
5961 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
5962
5963 * config/h8300/h8300.md (*twoshifts_l16_r1): New.
5964
5965 2003-01-06 Richard Sandiford <rsandifo@redhat.com>
5966
5967 * config/mips/mips.md (leadi): Use dla rather than la.
5968
5969 2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com>
5970
5971 * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
5972 in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
5973
5974 2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
5975
5976 * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
5977 redefinition.
5978
5979 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
5980
5981 * config/h8300/h8300.md (*extzv_8_23): New.
5982
5983 2003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
5984
5985 * pa64-hpux.h (JCR_SECTION_NAME): Define.
5986 (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
5987 USE_EH_FRAME_REGISTRY when defining.
5988
5989 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
5990
5991 * config/h8300/h8300.c (output_a_shift): Do not output a
5992 variable shift.
5993 * config/h8300/h8300.md (two splitters): New.
5994
5995 2003-01-05 Richard Sandiford <rsandifo@redhat.com>
5996
5997 * config/mips/mips.md: Disable the movstrsi define_split.
5998
5999 2003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6000
6001 * alloc-pool.c: Don't include "libiberty.h".
6002 * config/sparc/gmon-sol2.c: Include <fcntl.h>.
6003 * convert.c (convert_to_real): Hide unused variable.
6004
6005 2003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6006
6007 * Makefile.in (gtyp-gen.h): Const-ify.
6008 * gcov-dump.c (tag_table): Likewise.
6009
6010 2003-01-04 Bruce Korb <bkorb@gnu.org>
6011
6012 * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
6013 of *both* the file name and the fix name.
6014
6015 2003-01-04 John David Anglin <dave.anglin@nrc.ca>
6016
6017 * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use
6018 collect2.
6019 * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
6020 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
6021 * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
6022 GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
6023 GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
6024 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
6025 elfos.h.
6026 (EH_FRAME_IN_DATA_SECTION): Delete define.
6027 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
6028 (STARTFILE_SPEC): Use crtbegin.o.
6029 (ENDFILE_SPEC): Use crtend.o.
6030 (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
6031 SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
6032 PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
6033 DTOR_LIST_BEGIN): Define.
6034 * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
6035 (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
6036 * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
6037
6038 2002-12-31 Larin Hennessy <larin@science.oregonstate.edu>
6039
6040 * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
6041 * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
6042 m88k-*-sysv3*, Sony NewsOS. Remove references to i860.
6043 Cleanup handling of replacement text.
6044 * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
6045
6046 2003-01-04 Bruce Korb <bkorb@gnu.org>
6047
6048 * fixinc/tests/base/math.h: removed obsolete results
6049 * fixinc/tests/base/stdlib.h: ditto
6050 * fixinc/tests/base/sys/param.h: ditto
6051 * fixinc/tests/base/sys/stat.h: ditto
6052 * fixinc/tests/base/time.h: ditto
6053 * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
6054 * fixinc/tests/base/sys/byteorder.h: ditto
6055 * fixinc/inclhack.def: Remove superfluous backslashes
6056
6057 2003-01-04 Kazu Hirata <kazu@cs.umass.edu>
6058
6059 * config/h8300/h8300-protos.h: Add prototypes for
6060 the new functions defined below.
6061 * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
6062 define.
6063 (dosize): Emit RTL instead of assembly code.
6064 (push): Likewise.
6065 (pop): Likewise.
6066 (h8300_output_function_prologue): Remove.
6067 (h8300_expand_prologue): New.
6068 (h8300_expand_epilogue): New.
6069 (h8300_output_function_epilogue): Do only the reset of
6070 pragma_saveall.
6071 * config/h8300/h8300.md (push_h8300): New.
6072 (push_h8300hs): Likewise.
6073 (pop_h8300): Likewise.
6074 (pop_h8300hs): Likewise.
6075 (*stm_h8300s_2): Change the name to stm_h8300s_2.
6076 (*stm_h8300s_3): Change the name to stm_h8300s_3.
6077 (*stm_h8300s_4): Change the name to stm_h8300s_4.
6078 (*ldm_h8300s_2): New.
6079 (*ldm_h8300s_3): Likewise.
6080 (*ldm_h8300s_4): Likewise.
6081 (return): Likewise.
6082 (*return_1): Likewise.
6083 (prologue): Likewise.
6084 (epilogue): Likewise.
6085 (monitor_prologue): Likewise.
6086
6087 2003-01-03 Dale Johannesen <dalej@apple.com>
6088
6089 * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1,
6090 machopic_picsymbol_stub1.
6091 (EXTRA_SECTION_FUNCTIONS): Ditto.
6092 * rs6000/rs6000.c: Update copyright.
6093 (machopic_output_stub): Use them. Remove an insn from stub code.
6094
6095 2003-01-02 Jason Merrill <jason@redhat.com>
6096
6097 * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
6098
6099 * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
6100 static/external decls.
6101
6102 * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
6103 outermost scope.
6104 * c-decl.c (c_make_fname_decl): Push the decls there, too.
6105
6106 2003-01-03 Kazu Hirata <kazu@cs.umass.edu>
6107
6108 * config/h8300/h8300-protos.h: Add a prototype for
6109 h8300_current_function_interrupt_function_p.
6110 * config/h8300/h8300.c (interrupt_handler): Remove.
6111 (os_task): Likewise.
6112 (monitor): Likewise.
6113 (pragma_interrupt): New.
6114 (WORD_REG_USED): Use
6115 h8300_current_function_interrupt_function_p.
6116 (dosize): Likewise.
6117 (h8300_output_function_prologue): Likewise.
6118 Do not set interrupt_handler, os_task, monitor.
6119 (h8300_output_function_prologue): Use
6120 h8300_current_function_interrupt_function_p.
6121 Do not set interrupt_handler, os_task, monitor.
6122 (h8300_current_function_interrupt_function_p): New.
6123 (h8300_pr_interrupt): Set pragma_interrupt.
6124 (h8300_insert_attributes): Reset pragma_interrupt.
6125
6126 2003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6127
6128 * doc/install.texi (Configuration): Fix markup for reference to
6129 gcc/config.gcc.
6130
6131 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
6132
6133 * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
6134 (*iorhi3_two_qi): Likewise.
6135 (*iorsi3_zexthi): Likewise.
6136 (*xorhi3_zextqi): Likewise.
6137 (*xorsi3_zexthi): Likewise.
6138 (*xorsi3_zextqi): Likewise.
6139
6140 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
6141
6142 * config/h8300/h8300.c (stack_pointer_operand): New.
6143 (const_int_gt_2_operand): Likewise.
6144 (const_int_ge_8_operand): Likewise.
6145 * config/h8300/h8300.md (a splitter): Likewise.
6146 (a peephole2): Likewise.
6147 * config/h8300/h8300-protos.h: Add prototypes for the new
6148 functions above.
6149
6150 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
6151
6152 * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
6153 objc/objc-act.h: Fix copyright years.
6154
6155 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
6156
6157 * doc/passes.texi: Fix documentation for -fssa-ccp
6158
6159 2003-01-02 Neil Booth <neil@daikokuya.co.uk>
6160
6161 * gccbug.in: Update for new categories.
6162
6163 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6164
6165 * config/h8300/h8300.md: Reorder some patterns.
6166
6167 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6168
6169 * config/h8300/h8300.c (output_logical_op): Fix a warning.
6170
6171 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
6172
6173 * config/darwin-protos.h, config/c4x/c4x-protos.h,
6174 config/cris/cris-protos.h, config/i370/i370-protos.h,
6175 config/i960/i960-protos.h, config/ia64/ia64-protos.h,
6176 config/v850/v850-protos.h: Use struct, and don't conditionally
6177 compile on GCC_C_PRAGMA_H.
6178
6179 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6180
6181 * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
6182 * config/h8300/h8300-protos.h: Likewise.
6183 * config/sh/sh-protos.h: Likewise.
6184
6185 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6186
6187 * config/arm/arm-protos.h: Use struct cpp_reader instead of
6188 cpp_reader.
6189 * config/h8300/h8300-protos.h: Likewise.
6190 * config/sh/sh-protos.h: Likewise.
6191
6192 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
6193
6194 * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
6195 arm_pr_long_calls_off): Use struct.
6196 * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
6197 : Similarly.
6198 Don't include cpplib.h.
6199 * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
6200 sh_pr_nosave_low_regs): Similarly.
6201
6202 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6203
6204 * config/h8300/h8300.c: Include cpplib.h.
6205
6206 2003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl>
6207
6208 * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
6209 objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
6210 objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
6211 "GCC" in the copyright header.
6212
6213 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
6214
6215 * c-pragma.c (c_register_pragma): New.
6216 (init_pragma): Use it.
6217 * c-pragma.h (cpp_register_pragma): Don't declare.
6218 (c_register_pragma): New.
6219 * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
6220 * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
6221 * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
6222 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6223 * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
6224 * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
6225 * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
6226 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
6227 * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
6228 * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
6229 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
6230 * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
6231
6232 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
6233
6234 * config/h8300/h8300-protos.h: Update the prototypes.
6235 * config/h8300/h8300.c (const_le_2_operand): Change to
6236 const_int_le_2_operand.
6237 (const_int_le_6_operand): Change to const_int_le_6_operand.
6238 * config/h8300/h8300.md (two peepholes): Update the function
6239 names.
6240
6241 2002-12-31 Tom Tromey <tromey@redhat.com>
6242
6243 * doc/install.texi (Testing): Fixed typo.
6244
6245 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
6246
6247 * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
6248 (TRAMPOLINE_SIZE): Support the normal mode.
6249 (INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
6250
6251 2002-12-31 Mark Mitchell <mark@codesourcery.com>
6252
6253 * c-common.h (pending_lang_change): Declare.
6254
6255 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
6256
6257 * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
6258 descriptions.
6259
6260 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
6261
6262 * gcc/doc/invoke.texi (Optimization Options): List the options
6263 enabled by each -O flag.
6264
6265 2002-12-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6266
6267 * doc/install.texi (Configuration): Explicitly refer
6268 gcc/config.gcc for a list of cpu models.
6269
6270 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
6271
6272 * config/h8300/h8300.h: Fix comment typos.
6273
6274 2002-12-30 David Edelsohn <edelsohn@gnu.org>
6275
6276 * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
6277
6278 2002-12-30 Tom Tromey <tromey@redhat.com>
6279
6280 * doc/install.texi (Testing): Mention Jacks.
6281
6282 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
6283
6284 * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
6285
6286 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
6287
6288 * config/h8300/h8300.c (output_logical_op): Use extu.w in more
6289 cases.
6290 (compute_logical_op_length): Update to reflect the change in
6291 output_logical_op.
6292 (compute_logical_op_cc): Likewise.
6293
6294 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
6295
6296 * doc/service.texi: Uncomment and update FAQ link.
6297
6298 2002-12-30 Andreas Jaeger <aj@suse.de>
6299
6300 * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
6301
6302 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
6303
6304 * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
6305
6306 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
6307
6308 * config/h8300/h8300.c (output_logical_op): Use extu.w if we
6309 are clearing the most significant byte.
6310 (compute_logical_op_length): Update to reflect the change in
6311 output_logical_op.
6312 (compute_logical_op_cc): Likewise.
6313
6314 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
6315
6316 * config/h8300/h8300.md: Give internal names to anonymous
6317 insns.
6318
6319 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
6320
6321 * config/h8300/h8300.md: Reorder some insns.
6322
6323 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
6324
6325 * config/h8300/h8300-protos.h: Add prototypes for
6326 const_int_qi_operand and const_int_hi_operand.
6327 * config/h8300/h8300.c (const_int_qi_operand): New.
6328 (const_int_hi_operand): Likewise.
6329 * config/h8300/h8300.md (three peepholes): New.
6330
6331 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
6332
6333 * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
6334 Use @copying.
6335
6336 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
6337
6338 * configure.in: Increase makeinfo version requirement to 4.[2-9].
6339 * configure: Regenerate.
6340 * doc/install.texi: Update Texinfo version requirement.
6341
6342 2002-12-28 Andreas Jaeger <aj@suse.de>
6343
6344 * config/i386/i386.c (x86_function_profiler): Mark labelno as
6345 possibly unused.
6346
6347 * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
6348 correct format.
6349
6350 2002-12-27 Kazu Hirata <kazu@cs.umass.edu>
6351
6352 * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
6353 *iorhi_ashift_8.
6354 (*iorhi_lshiftrt_8): New.
6355
6356 2002-12-27 Joseph S. Myers <jsm@polyomino.org.uk>
6357
6358 * doc/include/texinfo.tex: Update to version 2002-12-26.16.
6359
6360 2002-12-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6361
6362 * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
6363
6364 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
6365
6366 * config/h8300/h8300-protos.h: Fix comment typos.
6367 Update copyright.
6368 * config/h8300/h8300.c: Fix comment typos.
6369
6370 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
6371
6372 * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
6373
6374 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
6375
6376 * config/i386/athlon.md: Fix comment typos.
6377 * config/i386/crtdll.h: Likewise.
6378 * config/i386/djgpp.h: Likewise.
6379 * config/i386/i386-interix.h: Likewise.
6380 * config/i386/i386.c: Likewise.
6381 * config/i386/i386.h: Likewise.
6382 * config/i386/i386.md: Likewise.
6383 * config/i386/k6.md: Likewise.
6384 * config/i386/mingw32.h: Likewise.
6385 * config/i386/pentium.md: Likewise.
6386 * config/i386/sco5.h: Likewise.
6387 * config/i386/winnt.c: Likewise.
6388 * config/i386/xmmintrin.h: Likewise.
6389
6390 2002-12-26 Jose Renau <renau@cs.uiuc.edu>
6391
6392 * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
6393 INSN_P before checking to see if it is dead.
6394 (mark_all_insn_unnecessary): Similarly.
6395 (ssa_eliminate_dead_code): Similarly.
6396 * rtl.h (struct rtx_def): Update comments for in_struct usage
6397 in dead code elimination pass.
6398 (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
6399
6400 2002-12-26 Andreas Schwab <schwab@suse.de>
6401
6402 * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
6403
6404 2002-12-25 David Edelsohn <edelsohn@gnu.org>
6405
6406 * config/rs6000/rs6000.c (rs6000_override_options): Convert to
6407 tartet_flags_explicit.
6408 * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
6409 Compact target_flags bits.
6410 (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
6411 (TARGET_SWITCHES): Delete references to *_SET flags.
6412
6413 Wed Dec 25 20:30:53 CET 2002 Jan Hubicka <jh@suse.cz>
6414
6415 * i386.md (memory attribute): Fix setcc attribute.
6416
6417 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
6418
6419 * output.h: Fix comment typos.
6420 * predict.c: Likewise.
6421 * print-tree.c: Likewise.
6422 * profile.c: Likewise.
6423 * ra-build.c: Likewise.
6424 * ra-colorize.c: Likewise.
6425 * ra-debug.c: Likewise.
6426 * ra-rewrite.c: Likewise.
6427 * ra.c: Likewise.
6428 * ra.h: Likewise.
6429 * real.c: Likewise.
6430 * recog.c: Likewise.
6431 * reg-stack.c: Likewise.
6432 * regclass.c: Likewise.
6433
6434 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
6435
6436 * config/h8300/h8300.c (print_operand_address): Do not negate
6437 a negative number when printing one.
6438
6439 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
6440
6441 * config/h8300/h8300-protos.h: Add prototypes for
6442 output_plussi, compute_plussi_length, and compute_plussi_cc.
6443 * config/h8300/h8300.c (output_plussi): New.
6444 (compute_plussi_length): Likewise.
6445 (compute_plussi_cc): Likewise.
6446 * config/h8300/h8300.md (addsi_h8300h): Call
6447 output_plussi, compute_plussi_length, and compute_plussi_cc.
6448
6449 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
6450
6451 * config/h8300/h8300.md (two peepholes): Use match_dup instead
6452 of match_operand in the new patterns.
6453
6454 2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
6455
6456 * doc/include/texinfo.tex: Update to version 2002-11-25.11.
6457
6458 2002-12-24 Nathan Sidwell <nathan@codesourcery.com>
6459
6460 * configure.in (enable-coverage): Add SELF_COVERAGE.
6461 * profile.c (end_branch_prob): Use SELF_COVERAGE.
6462
6463 2002-12-24 Jim Wilson <wilson@redhat.com>
6464
6465 * alias.c (record_set): Handle multi-reg hard registers.
6466
6467 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
6468
6469 * regmove.c: Fix comment typos.
6470 * reload.c: Likewise.
6471 * reload1.c: Likewise.
6472 * resource.c: Likewise.
6473 * rtl.def: Likewise.
6474 * rtl.h: Likewise.
6475 * rtlanal.c: Likewise.
6476 * sched-deps.c: Likewise.
6477 * sched-rgn.c: Likewise.
6478 * sibcall.c: Likewise.
6479 * simplify-rtx.c: Likewise.
6480 * ssa-ccp.c: Likewise.
6481 * ssa.c: Likewise.
6482 * stmt.c: Likewise.
6483 * stor-layout.c: Likewise.
6484 * system.h: Likewise.
6485 * tlink.c: Likewise.
6486 * toplev.c: Likewise.
6487 * tracer.c: Likewise.
6488 * tree-inline.c: Likewise.
6489 * tree.c: Likewise.
6490 * tree.h: Likewise.
6491 * unroll.c: Likewise.
6492 * varasm.c: Likewise.
6493
6494 2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
6495
6496 * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
6497 m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
6498 * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
6499 DG/UX entries.
6500 * doc/md.texi: Remove AMD 29K entries.
6501 * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
6502 1.38.1, NewsOS, RT PC, WE32K entries.
6503
6504 2002-12-23 Aldy Hernandez <aldyh@redhat.com>
6505
6506 PR/8763
6507 * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
6508 (altivec_vspltisw_v4sf): Name pattern.
6509 (altivec_vslw_v4sf): New pattern.
6510
6511 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
6512
6513 * doc/include/gcc-common.texi: Define DEVELOPMENT.
6514
6515 2002-12-23 Mark Mitchell <mark@codesourcery.com>
6516
6517 * stor-layout.c (update_alignment_for_field): Correct handling of
6518 unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
6519 * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
6520 bitfield does not affect alignment.
6521
6522 2002-12-23 David Edelsohn <edelsohn@gnu.org>
6523
6524 * expr.c (expand_assignment): Apply special treatment to
6525 ARRAY_TYPE.
6526
6527 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
6528
6529 * config/h8300/h8300-protos.h: Update the prototype of
6530 expand_a_shift.
6531 * config/h8300/h8300.c (expand_a_shift): Change the return
6532 type to void.
6533 * config/h8300/h8300.md: Update all the uses of
6534 expand_a_shift.
6535
6536 2002-12-22 Nathan Sidwell <nathan@codesourcery.com>
6537
6538 * tree.c (save_expr): Allow either side of a dyadic operand to be
6539 constant.
6540
6541 * doc/portability.texi (portability): Update portability goals.
6542
6543 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
6544
6545 * config/h8300/h8300.c (output_a_shift): Remove unused code.
6546
6547 2002-12-22 Mark Mitchell <mark@codesourcery.com>
6548
6549 * stor-layout.c (update_alignment_for_field): Guard use of
6550 ADJUST_FIELD_ALIGN with #ifdef.
6551
6552 * stor-layout.c (update_alignment_for_field): Use
6553 ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
6554 bitfield when PCC_BITFIELD_TYPE_MATTERS.
6555
6556 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
6557
6558 * genautomata.c: Fix comment typos.
6559
6560 Sun Dec 22 18:23:44 CET 2002 Jan Hubicka <jh@suse.cz>
6561
6562 * params.def (tracer-min-branch-probability-feedback): Fix default.
6563 * final.c (compute_alignments): Use profile to avoid code bloat.
6564
6565 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
6566
6567 * config/h8300/h8300.c (get_shift_alg): Make shift insn
6568 sequences end with a valid cc0 whenever possible.
6569
6570 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
6571
6572 * config/h8300/h8300.md (negsf2): New.
6573 (*negsf2_h8300): Likewise.
6574 (*negsf2_h8300hs): Likewise.
6575
6576 2002-12-21 Geoffrey Keating <geoffk@apple.com>
6577
6578 * integrate.c (output_inline_function): Don't hold private
6579 pointers to 'struct function' over GC calls.
6580
6581 2002-12-21 Kaz kojima <kkojima@gcc.gnu.org>
6582
6583 * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
6584 NO_FPSCR_VALUES.
6585 * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
6586
6587 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
6588
6589 * config/h8300/h8300.md (zero_extendqisi2): Correct the
6590 length.
6591
6592 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
6593
6594 * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
6595 second alternative "#".
6596 (*zero_extendqihi2_h8300hs): Likewise.
6597 (a define_split): New.
6598
6599 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
6600
6601 * config/h8300/h8300-protos.h: Update the prototype for
6602 split_adds_subs.
6603 Add prototypes for const_le_2_operand and const_le_6_operand.
6604 * config/h8300/h8300.c (split_adds_subs): Add an argument to
6605 specify whether inc/dec should be used when possible.
6606 (const_le_2_operand): New.
6607 (const_le_6_operand): Likewise.
6608 * config/h8300/h8300.md (two peepholes): New.
6609
6610 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
6611
6612 * config/fr30/fr30.md: Fix a comment typo.
6613 * config/i386/i386.c: Likewise.
6614 * config/ip2k/ip2k.h: Likewise.
6615
6616 2002-12-20 Jim Wilson <wilson@redhat.com>
6617
6618 * config/rs6000/spe.h (__ev_subifw): Reverse arguments.
6619 (__ev_subw, __ev_subiw): New.
6620 (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
6621 ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
6622
6623 2002-12-20 John David Anglin <dave.anglin@nrc.gc.ca>
6624
6625 * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
6626 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
6627 * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
6628 TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT.
6629
6630 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
6631
6632 * config/h8300/h8300-protos.h: Add prototypes for
6633 incdec_operand and eqne_operator.
6634 * config/h8300/h8300.c (incdec_operand): New.
6635 (eqne_operator): Likewise.
6636 * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
6637 (CONST_OK_FOR_O): Likewise.
6638 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
6639 CONST_OK_FOR_O.
6640 * config/h8300/h8300.md (UNSPEC_INCDEC): New.
6641 (addhi3_incdec): New.
6642 (addsi3_incdec): Likewise.
6643 (two peepholes): Likewise.
6644
6645 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
6646
6647 * config/h8300/h8300.c (dosize): Remove warnings.
6648 (print_operand): Likewise.
6649
6650 2002-12-20 Richard Henderson <rth@redhat.com>
6651
6652 * config/alpha/alpha.c (decl_has_samegp): New.
6653 (samegp_function_operand): Use it. Rename from
6654 current_file_function_operand.
6655 (direct_call_operand): Handle -msmall-text via symbol->jump.
6656 (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
6657 (tls_symbolic_operand_type): Likewise.
6658 (alpha_encode_section_info): Likewise. Handle -msmall-text.
6659 (alpha_function_ok_for_sibcall): Use decl_has_samegp.
6660 (alpha_end_function): Set symbol->jump for functions defined in
6661 the text section.
6662 * config/alpha/alpha-protos.h: Update.
6663 * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
6664 (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
6665 (PREDICATE_CODES): Update.
6666 * config/alpha/alpha.md (call patterns): Update for
6667 samegp_function_operand rename; use !samegp reloc if
6668 TARGET_EXPLICIT_RELOCS.
6669 * doc/invoke.text: Document -msmall-text and -mlarge-text.
6670
6671 2002-12-20 Ian Dall <ian@sibyl.beware.dropbear.id.au>
6672
6673 * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
6674 all registers capable of holding a double float.
6675 (*rcond): change name of "reverse branch" insns to
6676 something more meaningful.
6677 (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
6678 comparisons properly.
6679 (*ffs): Change operand 0 from write to read-modify-write.
6680 (*ffsssi2): Drop constraints from define_expand.
6681
6682 * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
6683 MOVE_RATIO as default for store operations.
6684
6685 * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
6686 LONG_REGS class.
6687 (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
6688 (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
6689 * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
6690
6691 * config/ns32k/STATUS: New File
6692 * config/ns32k/NOTES: New file.
6693
6694 2002-12-20 Hartmut Penner <hpenner@de.ibm.com>
6695
6696 * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
6697 option for S/390 and zSeries.
6698 * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
6699 s390_arch_string): New variables.
6700 (override_options): Checking for options and setting of
6701 appropriate target_flags, cpu and arch flags.
6702 * config/s390/s390.h: (processor_type): New enum.
6703 (TARGET_SWITCHES): New switches -mesa/zarch.
6704 * config/s390/s390.md: New attribute 'cpu'.
6705
6706 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
6707
6708 * c-pretty-print.h: Fix comment typos.
6709 * integrate.c: Likewise.
6710 * varasm.c: Likewise.
6711 * config/c4x/c4x.h: Likewise.
6712 * config/c4x/c4x.md: Likewise.
6713 * config/fr30/fr30.md: Likewise.
6714 * config/frv/frv.c: Likewise.
6715 * config/h8300/h8300.c: Likewise.
6716 * config/i386/i386.c: Likewise.
6717 * config/i386/i386.h: Likewise.
6718 * config/ia64/ia64.c: Likewise.
6719 * config/ia64/ia64.h: Likewise.
6720 * config/ip2k/ip2k.md: Likewise.
6721 * config/m68hc11/m68hc11-crt0.S: Likewise.
6722 * config/m68hc11/m68hc11.h: Likewise.
6723 * config/m68hc11/m68hc11.md: Likewise.
6724 * config/m68hc11/m68hc12.h: Likewise.
6725 * config/mcore/mcore.md: Likewise.
6726 * config/mips/mips.c: Likewise.
6727 * config/mips/mips.md: Likewise.
6728 * config/mmix/mmix-modes.def: Likewise.
6729 * config/pa/pa.c: Likewise.
6730 * config/rs6000/rs6000.c: Likewise.
6731 * config/rs6000/rs6000.h: Likewise.
6732 * config/rs6000/rs6000.md: Likewise.
6733
6734 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
6735
6736 * config/h8300/h8300.md (output_a_shift): Clean up the code to
6737 output shifts using rotation.
6738
6739 2002-12-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6740
6741 * flow.c (allocate_reg_life_data): Reset REG_FREQ.
6742
6743 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
6744
6745 * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
6746 pointer.
6747 (pushqi_h8300hs): Likewise.
6748 (pushhi_h8300): Likewise.
6749 (pushhi_h8300hs): Likewise.
6750
6751 Thu Dec 19 23:44:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
6752
6753 * sched-rgn.c (init_regions): Update comment.
6754
6755 2002-12-19 David Edelsohn <edelsohn@gnu.org>
6756
6757 * config/rs6000/rs6000.md (define_attr type): Remove altivec.
6758 * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
6759 attributes.
6760 (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
6761 (get_vrsave_internal,set_vrsave_internal): Same.
6762 (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
6763 (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
6764 (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
6765
6766 2002-12-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
6767 Danny Smith <dannysmith@users.sourceforge.net>
6768 Eric Kohl <ekohl@rz-online.de>
6769
6770 * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
6771 attributes incompatible with fastcall attribute.
6772 (ix86_handle_regparm_attribute): Likewise.
6773
6774 * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
6775 fastcall types.
6776
6777 * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
6778 attributes.
6779 (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
6780 * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
6781 * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
6782 i386_pe_output_labelref rather than here.
6783 (gen_fastcall_suffix): New function. Decorates a label name with the
6784 fastcall prefix (@) and the stdcall suffix.
6785 (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
6786 has a fastcall attribute.
6787 (i386_pe_output_labelref): New function. Outputs a label reference.
6788 * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
6789 valid attribute.
6790 (ix86_return_pops_args): Fastcall functions pop the stack.
6791 (init_cumulative_args): Reserve registers ECX and EDX if function has
6792 fastcall attribute.
6793 (function_arg): Use registers ECX and EDX if function has fastcall
6794 attribute.
6795 * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
6796 (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
6797 (FASTCALL_PREFIX): Define as '@'.
6798 * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
6799 attributes.
6800 * doc/extend.texi: Add documentation of fastcall attribute.
6801
6802 2002-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
6803
6804 * configure.in: FORBUILD when build!=host changed from
6805 ../$build-alias to ../build-$build_alias to match change made
6806 in top directory.
6807 * configure: Regenerated.
6808
6809 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
6810
6811 PR optimization/8988
6812 * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
6813 the biv when eliminating.
6814
6815 2002-12-19 Devang Patel <dpatel@apple.com>
6816 * gcc.c (struct default_compiler): Recognizes input file name with
6817 .CPP extension as C++ source files
6818 * cp/lang-spec.h: Same
6819 * doc/invoke.texi: Add documentation for .CPP support.
6820
6821 2002-12-19 Aldy Hernandez <aldyh@redhat.com>
6822
6823 PR 8553
6824 * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
6825 registers.
6826 ("absv16qi2"): Same.
6827 ("absv4si2"): Same.
6828 ("absv4sf2"): Same.
6829 ("altivec_abss_v16qi"): Same.
6830 ("altivec_abss_v8hi"): Same.
6831 ("altivec_abss_v4si"): Same.
6832
6833 2002-12-19 Ulrich Weigand <uweigand@de.ibm.com>
6834
6835 * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
6836 "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
6837
6838 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
6839
6840 PR target/8340
6841 * stmt.c (expand_asm_operands): Produce an error when
6842 the PIC register is clobbered.
6843
6844 2002-12-18 Daniel Berlin <dberlin@dberlin.org>
6845
6846 * Makefile.in (OBJS): Add alloc-pool.o
6847 (alloc-pool.o): New object.
6848
6849 * alloc-pool.c: New file.
6850 * alloc-pool.h: New file.
6851
6852 2002-12-18 Loren James Rittle <ljrittle@acm.org>
6853
6854 * gcc.c (validate_switches): Robustify against skipping past '\0'.
6855
6856 2002-12-18 Geoffrey Keating <geoffk@apple.com>
6857
6858 * config.gcc: Set extra_objs in the generic Darwin rule,
6859 not in the machine-specific rules.
6860
6861 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
6862
6863 * ChangeLog: Follow spelling conventions.
6864 * ChangeLog.2: Likewise.
6865 * ChangeLog.4: Likewise.
6866 * ChangeLog.5: Likewise.
6867 * cppexp.c: Likewise.
6868 * df.c: Likewise.
6869 * gcov.c: Likewise.
6870 * gengtype.c: Likewise.
6871 * reload1.c: Likewise.
6872 * sched-rgn.c: Likewise.
6873 * stmt.c: Likewise.
6874 * stor-layout.c: Likewise.
6875 * timevar.c: Likewise.
6876 * toplev.c: Likewise.
6877 * tree.h: Likewise.
6878 * varasm.c: Likewise.
6879 * config/fr30/fr30.md: Likewise.
6880 * config/i386/i386.c: Likewise.
6881 * config/ia64/ia64.c: Likewise.
6882 * config/pa/pa.c: Likewise.
6883
6884 2002-12-18 Roger Sayle <roger@eyesopen.com>
6885
6886 * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
6887
6888 2002-12-18 Aldy Hernandez <aldyh@redhat.com>
6889
6890 PR 8551
6891 * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
6892 macro.
6893 (vec_cmplt C++ functions): Reverse arguments.
6894
6895 2002-12-18 Geoffrey Keating <geoffk@apple.com>
6896
6897 * config/rs6000/t-rs6000: Move contents to t-fprules,
6898 add rules for dependencies of rs6000.o and to build rs6000-c.o
6899 * config/rs6000/t-fprules: New file from t-rs6000.
6900 * config/rs6000/t-beos: Remove soft-fp rules.
6901 * config/rs6000/t-ppccomm: Likewise.
6902 * config/rs6000/t-newas: Likewise.
6903 * config/rs6000/t-rs6000-c-rule: Delete.
6904 * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
6905 Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
6906 Create generic Darwin rules.
6907
6908 * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
6909
6910 2002-12-18 Doug Evans <dje@sebabeach.org>
6911
6912 * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
6913 and LIT_NAME_P.
6914 (move_src_operand): Remove compile-time warning.
6915 * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
6916
6917 2002-12-18 Jason Merrill <jason@redhat.com>
6918
6919 * unwind-dw2-fde.c (frame_downheap): Split out from...
6920 (frame_heapsort): Here.
6921
6922 2002-12-17 Jason Merrill <jason@redhat.com>
6923
6924 * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
6925 (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
6926
6927 * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
6928
6929 * calls.c (expand_call): Don't try to be clever about expanding
6930 the return slot address.
6931
6932 2002-12-18 Kaz kojima <kkojima@gcc.gnu.org>
6933
6934 * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
6935 Define.
6936
6937 2002-12-17 Jason Merrill <jason@redhat.com>
6938
6939 * genmultilib: Use 'cd ./foo'.
6940
6941 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
6942
6943 * doc/c-tree.texi: Restore deliberate spelling mistakes.
6944
6945 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
6946
6947 * doc/c-tree.texi: Fix typos and follow spelling conventions.
6948 * doc/cpp.texi: Likewise.
6949 * doc/extend.texi: Likewise.
6950 * doc/gty.texi: Likewise.
6951 * doc/install.texi: Likewise.
6952 * doc/invoke.texi: Likewise.
6953 * doc/md.texi: Likewise.
6954 * doc/passes.texi: Likewise.
6955 * doc/rtl.texi: Likewise.
6956 * doc/sourcebuild.texi: Likewise.
6957 * doc/tm.texi: Likewise.
6958
6959 2002-12-17 Jerry Quinn <jlquinn@optonline.net>
6960
6961 * doc/invoke.texi: Minor spelling and grammar fixes.
6962
6963 2002-12-17 Ulrich Weigand <uweigand@de.ibm.com>
6964
6965 * config/s390/s390.c (s390_output_constant_pool): Replace
6966 ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
6967
6968 Tue Dec 17 09:47:57 CET 2002 Jan Hubicka <jh@suse.cz>
6969
6970 * convert.c (convert_to_real): Disable function transformation for
6971 now.
6972
6973 2002-12-16 Geoffrey Keating <geoffk@apple.com>
6974
6975 * gcc.c (handle_braces): Allow '@' as a switch name.
6976
6977 2002-12-16 Jason Merrill <jason@redhat.com>
6978
6979 * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
6980 with special struct-return ABIs.
6981
6982 * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
6983 doesn't match the begin SCOPE_STMT in partialness.
6984
6985 2002-12-16 Geoffrey Keating <geoffk@apple.com>
6986
6987 * genmultilib: Create temporary files in unique subdirectory.
6988
6989 * gcc.c (validate_switches): Allow '@' as a switch name.
6990
6991 2002-12-16 Loren J. Rittle <ljrittle@acm.org>
6992
6993 * Makefile.in (gcov-iov.h): Improve portability.
6994
6995 Mon Dec 16 23:39:19 CET 2002 Jan Hubicka <jh@suse.cz>
6996
6997 * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
6998 gas
6999 * mips.md (tablejump insn): Likewise.
7000
7001 2002-12-16 Mark Mitchell <mark@codesourcery.com>
7002
7003 * doc/include/gcc-common.texi: Change version number to 3.4.
7004
7005 2002-12-16 Bruce Korb <bkorb@gnu.org>
7006
7007 * fixinc/fixlib.h: add: #include <signal.h>
7008 * fixinc/fixincl.c: remove: #include <signal.h>
7009
7010 Mon Dec 16 17:20:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
7011
7012 * sh.h (EXTRA_CONSTRAINT_Z): New macro.
7013 (EXTRA_CONSTRAINT): Use it.
7014 * sh.md (anddi3): Use 'Z' constraint for alternative 2.
7015
7016 2002-12-15 Zack Weinberg <zack@codesourcery.com>
7017
7018 * config.gcc (need_64bit_hwint): New variable.
7019 (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*,
7020 mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*,
7021 sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*,
7022 sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*):
7023 Set it.
7024 (powerpc*-*-darwin*): Unset it.
7025 (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*,
7026 i?86-*-interix*, sparc64-*-openbsd*): Remove references to
7027 deleted/nonexistent xm-*.h headers.
7028 * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the
7029 target set need_64bit_hwint in config.gcc.
7030 * configure, config.in: Regenerate.
7031
7032 * hwint.h: Overhaul. Don't bother trying int for
7033 HOST_WIDE_INT. Do try __int64 if long is not enough. Base
7034 decision to force 64-bit HOST_WIDE_INT on
7035 NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is
7036 not visible at this point. Don't allow prior definition of
7037 any macro defined by this file.
7038
7039 * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or
7040 HOST_BITS_PER_WIDE_INT.
7041 * config/c4x/c4x.h: Adjust redefinition of
7042 HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h.
7043 * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h,
7044 config/i386/xm-i386-interix.h: Delete file.
7045
7046 2002-12-14 Rodney Brown <rbrown64@csc.com.au>
7047 John David Anglin <dave@hiauly1.hia.nrc.ca>
7048
7049 * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL.
7050 * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define.
7051
7052 2002-12-14 Zack Weinberg <zack@codesourcery.com>
7053
7054 * mkconfig.sh: Correct comment. Add copyright boilerplate.
7055
7056 2002-12-14 Zack Weinberg <zack@codesourcery.com>
7057
7058 * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe,
7059 config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin,
7060 config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64,
7061 config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2,
7062 config/v850/t-v850: Correct dependencies and normalize
7063 compilation commands for files that include coretypes.h and tm.h.
7064
7065 * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h,
7066 not config.h and system.h.
7067
7068 Sat Dec 14 20:43:41 CET 2002 Jan Hubicka <jh@suse.cz>
7069
7070 * i386.c (flags_reg_operand): New function.
7071 * i386.h (PREDICATE_CODES): Add flags_reg_operand.
7072 * i386.md (cmov splitter, movqicc): Use new predicate.
7073
7074 Sat Dec 14 17:03:17 CET 2002 Jan Hubicka <jh@suse.cz>
7075
7076 * i386.md (movqicc splitter): Fix template.
7077
7078 2002-12-13 Jason Merrill <jason@redhat.com>
7079
7080 * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro.
7081 * calls.c (expand_call): Handle it.
7082 * tree-inline.c (struct inline_data): Remove target_exprs field.
7083 (optimize_inline_calls): Don't initialize it.
7084 (expand_call_inline): Don't modify it. Handle
7085 CALL_EXPR_HAS_RETURN_SLOT_ADDR.
7086 (declare_return_variable): Take return slot addr.
7087 * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm
7088 to return_slot_addr.
7089 * langhooks-def.h, langhooks.c: Adjust.
7090 * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for
7091 a decl with no DECL_INITIAL.
7092
7093 * expr.c (expand_expr): Don't discard the target of a call which
7094 returns in memory.
7095
7096 2002-12-13 Neil Booth <neil@daikokuya.co.uk>
7097
7098 * cppinit.c (path_include): Take an environment variable name.
7099 Tidy up.
7100 (init_standard_includes): Simplify environment handling, and
7101 move to ...
7102 (cpp_read_main_file): ...here as -nostdinc should not affect
7103 environment variable paths.
7104
7105 2002-12-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
7106
7107 * pa.c (output_millicode_call): Correct typo.
7108 (output_call): Likewise.
7109
7110 Fri Dec 13 21:07:18 2002 Alexandre Oliva <aoliva@redhat.com>
7111
7112 * config/mn10300/mn10300.c (print_operand) <case N>: Check
7113 operand's range. Print value directly, without aid from
7114 output_address.
7115 <case U>: New.
7116 <case S>: Make sure argument to fprintf has the right type.
7117 * config/mn10300/mn10300.h (OK_FOR_T): New macro.
7118 (EXTRA_CONSTRAINT): Adjust.
7119 * config/mn10300/mn10300.md: Add new all-QImode pattern for
7120 bclr. Use %U for immediate operands of bset and bclr.
7121 (iorqi3): New expand, with insns for AM33 and mn10300.
7122
7123 Fri Dec 13 16:02:27 2002 J"orn Rennecke <joern.rennecke@superh.com>
7124
7125 * sh.c (sh_register_operand): New function.
7126 (prepare_move_operands): Use it.
7127 * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
7128 * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
7129 (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
7130 (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
7131 (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
7132 (movv2si_i): Likewise.
7133
7134 2002-12-13 Jim Wilson <wilson@redhat.com>
7135
7136 * doc/extend.texi (Complex Numbers): Update info on debug info.
7137
7138 2002-12-13 Kazu Hirata <kazu@cs.umass.edu>
7139
7140 * config/h8300/h8300.md (addhi3_h8300): Remove the last
7141 alternative.
7142
7143 2002-12-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7144
7145 * hooks.h (hook_tree_tree_bool_false): Declare
7146 hook_bool_tree_tree_false instead.
7147
7148 2002-12-12 Devang Patel <dpatel@apple.com>
7149
7150 * doc/invoke.texi: Document Darwin linker options, -bundle
7151 -bind_at_load, -all_load and -arch_errors_fatal
7152
7153 2002-12-12 Jim Wilson <wilson@redhat.com>
7154
7155 * dbxout.c (dbxout_fptype_value): New.
7156 (dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'.
7157
7158 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7159
7160 * c-decl.c: Fix a comment typo.
7161 * cfg.c: Likewise.
7162 * cfgcleanup.c: Likewise.
7163 * cfglayout.c: Likewise.
7164 * cfgrtl.c: Likewise.
7165 * c-typeck.c: Likewise.
7166 * dominance.c: Likewise.
7167 * dwarf2asm.c: Likewise.
7168 * dwarfout.c: Likewise.
7169 * expmed.c: Likewise.
7170 * expr.c: Likewise.
7171 * final.c: Likewise.
7172 * flow.c: Likewise.
7173 * function.c: Likewise.
7174 * gcc.c: Likewise.
7175 * genautomata.c: Likewise.
7176 * integrate.c: Likewise.
7177 * loop.c: Likewise.
7178 * loop.h: Likewise.
7179 * output.h: Likewise.
7180 * profile.c: Likewise.
7181 * ra.h: Likewise.
7182 * reload1.c: Likewise.
7183 * reload.c: Likewise.
7184 * sched-rgn.c: Likewise.
7185 * stmt.c: Likewise.
7186 * tree.h: Likewise.
7187 * vmsdbgout.c: Likewise.
7188
7189 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7190
7191 * config/h8300/h8300.md: Add a new peephole2.
7192
7193 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7194
7195 * config/h8300/h8300.md (a peephole2): Accept a constant
7196 that's accepted by CONST_OK_FOR_J.
7197
7198 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7199
7200 * config/h8300/h8300.h (CONST_OK_FOR_J): New.
7201 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
7202 * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
7203 (*addhi_h8300hs): Likewise.
7204
7205 Thu Dec 12 16:24:59 2002 J"orn Rennecke <joern.rennecke@superh.com>
7206
7207 * sh.c (reg_class_from_letter): No longer const. Add 'e' entry.
7208 (sh_register_move_cost): Add clause for SImode fp-fp moves.
7209 Increase cost for moves involving multiple general purpose registers.
7210 * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
7211 TARGET_FMOVD.
7212 (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
7213 registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
7214 (enum reg_class reg_class_from_letter): No longer const.
7215 (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
7216 REGCLASS_HAS_GENERAL_REG.
7217 Handle SImode moves from/to fp registers.
7218 ! TARGET_SHMEDIA && TARGET_FMOVD.
7219 (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
7220 * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
7221
7222 2002-12-12 Andreas Schwab <schwab@suse.de>
7223
7224 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
7225 change and some warnings.
7226
7227 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7228
7229 * doc/md.texi (pushm): Fix a typo.
7230
7231 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
7232
7233 * config/mips/mips.c (mips_output_conditional_branch): Support
7234 PIC-safe out-of-range branch and branch-likely.
7235 * config/mips/mips.md (attr length): PIC-safe out-of-range
7236 branches are longer.
7237 ("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
7238 unused code to support indirect jumps.
7239
7240 2002-12-11 Zack Weinberg <zack@codesourcery.com>
7241
7242 * Makefile.in (GTFILES): Add $(host_xm_file_list) and
7243 $(tm_file_list).
7244
7245 2002-12-11 David Edelsohn <edelsohn@gnu.org>
7246
7247 * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies.
7248
7249 Wed Dec 11 15:20:45 CET 2002 Jan Hubicka <jh@suse.cz>
7250
7251 * i386.md (cmove splitters): Avoid creation of unnecesary subregs.
7252
7253 2002-12-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7254
7255 * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
7256 (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
7257 BIGGEST_ALIGNMENT.
7258 (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
7259 (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
7260
7261 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
7262
7263 * doc/invoke.texi: Correct dump file names.
7264
7265 2002-12-09 Steve Ellcey <sje@cup.hp.com>
7266
7267 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
7268 name to globalize_label or assemble_name.
7269
7270 Wed Dec 11 20:15:19 2002 J"orn Rennecke <joern.rennecke@superh.com>
7271
7272 * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
7273 if not TARGET_SHMEDIA.
7274
7275 Wed Dec 11 19:05:05 2002 J"orn Rennecke <joern.rennecke@superh.com>
7276
7277 * sh.h (REG_CLASS_HAS_FP_REG): New.
7278 (REGISTER_MOVE_COST) Use it. Put body into a function and
7279 move it into:
7280 * sh.c (sh_register_move_cost).
7281 * sh-protos.h (sh_register_move_cost): Declare.
7282
7283 * sh.c (sh_expand_builtin): Abort for unexpected nop values.
7284 (sh_adjust_cost): Always return a value.
7285
7286 Wed Dec 11 18:39:52 2002 J"orn Rennecke <joern.rennecke@superh.com>
7287
7288 * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
7289 (REGISTER_MOVE_COST): Use it.
7290
7291 2002-12-11 Richard Henderson <rth@redhat.com>
7292
7293 * tree.h (MODULE_LOCAL_P): Kill.
7294 * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
7295
7296 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
7297
7298 * config/h8300/h8300.md (two define_peephole2): New.
7299
7300 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
7301
7302 * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
7303 (CONST_OK_FOR_K): Likewise.
7304 (CONST_OK_FOR_M): Likewise.
7305 (CONST_OK_FOR_LETTER_P): Do not use the above macros.
7306
7307 2002-12-11 Neil Booth <neil@daikokuya.co.uk>
7308
7309 * c-common.c (builtin_define_type_max): Handle unsigned
7310 types too.
7311
7312 2002-12-10 David Edelsohn <edelsohn@gnu.org>
7313
7314 * haifa-sched.c (rank_for_schedule): Correct style.
7315
7316 2002-12-10 Per Bothner <pbothner@apple.com>
7317
7318 * cpplib.h (struct cpp_hashnode): Split a non-portably-signed field
7319 directive_index into an unsigned field and a new is_directive field.
7320 * cppinit.c (mark_named_operators): Update to set new fields.
7321 * cpplex.c (_cpp_lex_direct): Now directive_field is unsigned.
7322 * cpplib.c [_cpp_handle_directive]: Test is_directive field.
7323 No longer need to subtract 1 from directive_index.
7324 (_cpp_init_directives): No longer need to add 1 to directive_index.
7325 * cpptrad.c (scan_out_logical_line): Use is_directive field.
7326
7327 2002-12-10 Roger Sayle <roger@eyesopen.com>
7328
7329 * builtins.c (fold_builtin): Remove -funsafe-math-optimizations
7330 check for evaluating sqrt of a constant at compile time.
7331 * simplify-rtx.c (simplify_unary_operation): Likewise.
7332
7333 2002-12-10 Janis Johnson <janis187@us.ibm.com>
7334
7335 PR other/8882
7336 * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
7337
7338 2002-12-10 Devang Patel <dpatel@appple.com>
7339
7340 * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
7341 * doc/invoke.texi: Add new "Darwin Options" section.
7342
7343 2002-12-10 Jim Wilson <wilson@redhat.com>
7344
7345 * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
7346 memory.
7347
7348 2002-12-10 Andrew Haley <aph@redhat.com>
7349
7350 * cse.c (cse_insn): Don't cse past a basic block boundary.
7351
7352 2002-12-10 Jakub Jelinek <jakub@redhat.com>
7353
7354 * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
7355 -shared.
7356 * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
7357 * config/alpha/linux.h (LIB_SPEC): Likewise.
7358 * config/arm/linux-elf.h (LIB_SPEC): Likewise.
7359 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
7360 * config/sparc/linux.h (LIB_SPEC): Likewise.
7361 * config/sparc/linux64.h (LIB_SPEC): Likewise.
7362
7363 2002-12-09 Larin Hennessy <larin@science.oregonstate.edu>
7364
7365 * doc/invoke.texi: Document UltraSparc III option.
7366
7367 2002-12-09 Richard Henderson <rth@redhat.com>
7368
7369 * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
7370 __tune_pentium2__ and __tune_pentium3__ as necessary.
7371
7372 2002-12-09 Richard Henderson <rth@redhat.com>
7373
7374 * target.h (gcc_target): Add cannot_force_const_mem.
7375 * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
7376 (TARGET_INITIALIZER): Add it.
7377 * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
7378 * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
7379 * reload1.c (reload): Likewise.
7380 * hooks.c (hook_bool_rtx_false): New.
7381 * hooks.h: Declare it.
7382
7383 * config/i386/i386.c (ix86_cannot_force_const_mem): New.
7384 (TARGET_CANNOT_FORCE_CONST_MEM): New.
7385 (ix86_expand_move): Remove de-const-pooling hack.
7386
7387 Mon Dec 9 21:33:38 CET 2002 Jan Hubicka <jh@suse.cz>
7388
7389 * toplev.c (dump_file): Fix order to match reality.
7390
7391 2002-12-08 Geoffrey Keating <geoffk@apple.com>
7392
7393 * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
7394 (store_multiple): Likewise.
7395
7396 2002-12-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
7397
7398 * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
7399 function pointers in page 0.
7400
7401 2002-12-09 Steve Ellcey <sje@cup.hp.com>
7402
7403 * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
7404 definition
7405 (MEMBER_TYPE_FORCES_BLK): Move.
7406 * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
7407 aggregate arguments.
7408 (ia64_function_value): Use PARALLEL to return aggregate values.
7409
7410 2002-12-09 Steve Ellcey <sje@cup.hp.com>
7411
7412 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
7413 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
7414 * calls.c (store_unaligned_arguments_into_pseudos) Remove
7415 FUNCTION_ARG_REG_LITTLE_ENDIAN.
7416 * stmt.c (expand_return): Ditto.
7417 * expr.c (move_block_from_reg): Ditto.
7418 (copy_blkmode_from_reg): Ditto.
7419 * expmed.c (store_bit_field): Ditto.
7420
7421 2002-12-09 Svein E. Seldal <Svein.Seldal@solidas.com>
7422
7423 * config.gcc: Added tic4x-* target as an alias to c4x-*
7424
7425 Sun Dec 8 14:57:39 CET 2002 Jan Hubicka <jh@suse.cz>
7426
7427 * i386.c (ix86_expand_int_movcc): Use force_operand instead of
7428 constructing insn directly.
7429
7430 2002-12-06 Per Bothner <pbothner@apple.com>
7431
7432 * cpplib.h (struct cpp_hashnode): Change field directive_index from
7433 char to an int bit-field, for hosts where char is unsigned.
7434
7435 2002-12-07 Roger Sayle <roger@eyesopen.com>
7436 Richard Henderson <rth@redhat.com>
7437
7438 * real.c (ieee_extended_motorola_format,
7439 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
7440 ieee_quad_format, vax_d_format, vax_g_format, i370_double_format):
7441 Provide appropriate values for new signbit field.
7442
7443 2002-12-07 Roger Sayle <roger@eyesopen.com>
7444
7445 * real.h (real_format): Add signbit field.
7446 * real.c (ieee_single_format, ieee_double_format,
7447 ieee_extended_motorola_format, ieee_extended_intel_96_format,
7448 ieee_extended_intel_128_format, ibm_extended_format,
7449 ieee_quad_format, vax_f_format, vax_d_format,
7450 vax_g_format, i370_single_format, i370_double_format,
7451 c4x_single_format, c4x_extended_format, real_internal_format):
7452 Provide suitable signbit value, or -1 to avoid bit twiddling.
7453
7454 * optabs.c (expand_unop): Try implementing negation of
7455 floating point modes by flipping the sign bit.
7456 (expand_abs): Try implementing abs of floating point modes
7457 by clearing the sign bit.
7458
7459 Sat Dec 7 22:29:47 CET 2002 Jan Hubicka <jh@suse.cz>
7460
7461 * i386.c (ix86_expand_int_movcc): Use force_operand instead
7462 of constructing insn directly.
7463
7464 2002-12-07 Kazu Hirata <kazu@cs.umass.edu>
7465
7466 * config/h8300/h8300.md (*iorhi_shift_8): New.
7467
7468 2002-12-06 Bernd Schmidt <bernds@redhat.com>
7469
7470 * doc/invoke.texi: Document FRV port options.
7471 * doc/md.texi: Document FRV register classes.
7472
7473 2002-12-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7474
7475 * doc/install.texi (Configuration): Improve description of cases
7476 where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
7477
7478 2002-12-06 Per Bothner <pbothner@apple.com>
7479
7480 * cpplib.h (NODE_MACRO_ARG): New flag.
7481 (struct cpp_hashnode): Give _cpp_hashnode_value tag to value union.
7482 Remove value.operator field. Move arg_index field to value union.
7483 (directive_index): Make signed, since also used for C++ operators.
7484 * cppmacro.c (_cpp_save_parameter): Use NODE_MACRO_ARG flag to
7485 check for duplicate parameter. Set NODE_MACRO_ARG flag.
7486 Save node->value, and set node->value.arg_index.
7487 (_cpp_create_definition): For each paramater, restore node->value.
7488 (lex_expansion_token): Use NODE_MACRO_ARG flag, and moved arg_index.
7489 * cpptrad.c (scan_out_logical_line): Likewise.
7490 (scan_out_logical_line): Check for directive > 0.
7491 * cpplib.c (cpp_handle_directive): Likewise.
7492 * cpplex.c (_cpp_lex_direct): Update as value.operator is replaced
7493 by negative of directive_index.
7494 * cppinit.c (mark_named_operators): Likewise.
7495
7496 * hashtable.h (struct ht_identifier): Swap fields, for better packing.
7497
7498 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
7499
7500 * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
7501 FPU.
7502 (push): Generate push_fpscr.
7503 (pop): Generate pop_fpscr.
7504 * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
7505 (fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E.
7506
7507 Fri Dec 6 19:36:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
7508
7509 * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
7510 DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
7511
7512 Fri Dec 6 19:17:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
7513
7514 * sh.md (movdi_i): Name. Remove inappropriate comment.
7515
7516 Fri Dec 6 15:44:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
7517 Merged from basic improvements branch (excerpt):
7518
7519 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
7520 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
7521
7522 2002-12-06 Jakub Jelinek <jakub@redhat.com>
7523
7524 * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
7525
7526 Thu Dec 5 16:58:25 CET 2002 Jan Hubicka <jh@suse.cz>
7527
7528 * i386.md (dimode peep2s): Re-add "&& 1".
7529
7530 Thu Dec 5 14:10:15 CET 2002 Jan Hubicka <jh@suse.cz>
7531
7532 * i386.c (ix86_expand_prologue): Add comment, do not use
7533 fast prologues for cold and normal functions.
7534
7535 Thu Dec 5 00:52:37 CET 2002 Jan Hubicka <jh@suse.cz>
7536
7537 * i386.c (x86_rep_movl_optimal): New variable.
7538 (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL
7539 * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro.
7540
7541 * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
7542 absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
7543 neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
7544 generate unnecesary subregs.
7545
7546 2002-12-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
7547
7548 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
7549 * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
7550
7551 2002-12-05 Dale Johannesen <dalej@apple.com>
7552
7553 * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
7554
7555 2002-12-05 Danny Smith <dannysmith@users.sourceforge.net>
7556
7557 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
7558 PROFILE_HOOK.
7559 * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
7560
7561 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
7562
7563 * config/rs6000/spe.h (__ev_mwlufi): Remove.
7564 (__ev_mwlufia): Remove.
7565 (__ev_mwlumfaaw): Remove.
7566 (__ev_mwlusfaaw): Remove.
7567 (__ev_mwlumfanw): Remove.
7568 (__ev_mwlusfanw): Remove.
7569
7570 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
7571
7572 * config/h8300/h8300.md (*andorsi3_shift_8): New.
7573
7574 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
7575
7576 * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
7577 lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
7578 (get_shift_alg): Return optimal assembly instructions for the
7579 shifts mentioned above.
7580
7581 Wed Dec 4 11:53:07 CET 2002 Jan Hubicka <jh@suse.cz>
7582
7583 * i386.c (ix86_expand_int_movcc): Force operand into register for QImode
7584 condtiional moves.
7585
7586 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
7587
7588 * config/h8300/h8300.c (h8300_init_once): Do not use loop to
7589 implement ashiftrt:HI by 13 bits on H8S.
7590
7591 2002-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7592
7593 * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
7594 * pa.md (canonicalize_funcptr_for_compare): Output library call to
7595 canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
7596 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
7597 CTOR_LIST_BEGIN): New defines.
7598 * pa/t-linux (LIB2FUNCS_EXTRA): New define.
7599 (fptr.c): Add make rules.
7600
7601 2002-12-04 Geoffrey Keating <geoffk@apple.com>
7602
7603 * combine.c (combine_simplify_rtx): Add new canonicalizations.
7604 * doc/md.texi (Insn Canonicalizations): Document new
7605 canonicalizations for multiply/add combinations.
7606 * config/rs6000/rs6000.md: Add and modify floating add/multiply
7607 patterns to ensure they're used whenever they can be.
7608
7609 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
7610
7611 * config/h8300/h8300.c: Update the comments related to shifts.
7612
7613 2002-12-04 Chris Demetriou <cgd@broadcom.com>
7614
7615 * config/mips/mips.md (get_fnaddr): Correct length attribute.
7616
7617 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
7618
7619 * config/h8300/h8300.md (*extzv_8_8): New.
7620 (*extzv_8_16): Likewise.
7621
7622 2002-12-04 Jason Merrill <jason@redhat.com>
7623
7624 PR c++/8461, c++/8625
7625 * integrate.c (copy_decl_for_inlining): Handle explicit invisible
7626 references.
7627 * tree-inline.c (initialize_inlined_parameters): Likewise.
7628
7629 * tree.c (variably_modified_type_p): Just return an error_mark_node.
7630
7631 2002-12-04 Chris Demetriou <cgd@broadcom.com>
7632
7633 * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
7634 macro instruction in a branch delay slot, to avoid assembler
7635 warnings.
7636
7637 2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
7638
7639 PR c/7622
7640 * c-semantics (genrtl_scope_stmt): Do not output inlined
7641 nested functions that contain no code.
7642
7643 Wed Dec 4 15:20:54 CET 2002 Jan Hubicka <jh@suse.cz>
7644
7645 * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
7646 to be forced into nonfallthru.
7647
7648 2002-12-03 Jason Thorpe <thorpej@wasabisystems.com>
7649
7650 * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
7651
7652 2002-12-03 Aldy Hernandez <aldyh@redhat.com>
7653
7654 * config/rs6000/spe.md (*movv1di_const0): New pattern.
7655
7656 2002-12-03 Richard Henderson <rth@redhat.com>
7657
7658 * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
7659
7660 2002-12-03 Hans-Peter Nilsson <hp@bitrange.com>
7661
7662 * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
7663 Initialize tmp.using_obstack to 0.
7664
7665 2002-12-03 Andreas Schwab <schwab@suse.de>
7666
7667 * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
7668 (EH_RETURN_STACKADJ_RTX): Define.
7669 (EH_RETURN_HANDLER_RTX): Define.
7670 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
7671 * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh
7672 registers and don't save fixed registers.
7673 (m68k_output_function_prologue): Use it.
7674 (use_return_insn): Likewise.
7675 (m68k_output_function_epilogue): Likewise.
7676
7677 2002-12-03 Kazu Hirata <kazu@cs.umass.edu>
7678
7679 * config/h8300/h8300.c (single_one_operand): Fix a warning.
7680 (single_zero_operand): Likewise.
7681
7682 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
7683
7684 * Makefile.in configure configure.in dummy-conditions.c fix-header.c
7685 gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c
7686 gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c
7687 genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l
7688 gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c
7689 genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c
7690 scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi
7691 doc/install-old.texi: Replace hconfig.h with bconfig.h.
7692 * Makefile.in: Replace HCONFIG_H with BCONFIG_H.
7693
7694 2002-12-02 Andrew Pinski <pinskia@physics.uc.edu>
7695
7696 * config/rs6000/rs6000.md (ffssi): Convert to expander.
7697 (ffsdi): Likewise.
7698 (cntlzw2, cntlzd2): New patterns.
7699
7700 2002-12-02 H.J. Lu <hjl@gnu.org>
7701
7702 * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd.
7703 (mips*-*-linux*): Remove mips/t-linux.
7704
7705 Mon Dec 2 19:26:30 CET 2002 Jan Hubicka <jh@suse.cz>
7706
7707 * i386.c (ix86_expand_int_movcc): Avoid overflow.
7708
7709 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
7710
7711 * config/h8300/h8300.c (dosize): Replace argument op with
7712 sign.
7713 (h8300_output_function_prologue): Update the call to dosize.
7714 (h8300_output_function_epilogue): Likewise.
7715
7716 2002-12-02 Bob Wilson <bob.wilson@acm.org>
7717
7718 * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
7719
7720 2002-12-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
7721
7722 * configure.in: Use "missing" script to generate warning if
7723 flex or bison programs not found, instead of invoking "false".
7724 * configure: Rebuilt.
7725
7726 Mon Dec 2 20:28:48 CET 2002 Jan Hubicka <jh@suse.cz>
7727
7728 * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
7729
7730 Mon Dec 2 19:42:52 CET 2002 Jan Hubicka <jh@suse.cz>
7731
7732 * i386.c (ix86_expand_int_movcc): Avoid overflow.
7733
7734 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
7735
7736 * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
7737 (push): Likewise.
7738 (pop): Likewise.
7739 (h8300_output_function_prologue): Likewise.
7740 (h8300_output_function_epilogue): Likewise.
7741
7742 Mon Dec 2 14:43:22 2002 J"orn Rennecke <joern.rennecke@superh.com>
7743
7744 * expmed.c (store_bit_field): Use int_mode_for_mode to find
7745 corresponding mode of non-integer mode, unless it is VOIDmode.
7746
7747 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
7748
7749 * config/h8300/h8300.md (stm_h8300s_2): New.
7750 (stm_h8300s_3): Likewise.
7751 (stm_h8300s_4): Likewise.
7752 (five define_peephole2): Likewise.
7753
7754 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
7755
7756 * ra-build.c: Fix a comment typo.
7757
7758 Sun Dec 1 16:50:47 CET 2002 Jan Hubicka <jh@suse.cz>
7759
7760 * i386.c (ix86_expand_int_movcc): fix
7761 reversed BRANCH_COST test; be curefull about infinite recursion.
7762
7763 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
7764
7765 * config/h8300/h8300.c (h8300_output_function_prologue):
7766 Remove variable idx.
7767 (h8300_output_function_epilogue): Likewise.
7768
7769 2002-12-01 Zack Weinberg <zack@codesourcery.com>
7770
7771 * config/frv/xm-frv.h: Delete, unnecessary.
7772
7773 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
7774
7775 * config/h8300/h8300.md: Add comments for define_peephole2.
7776
7777 2002-12-01 Mark Mitchell <mark@codesourcery.com>
7778
7779 * builtin-types.def (BT_SIZE): Use size_type_node.
7780 * builtins.c (fold_builtin): Make the builtin strlen returns a
7781 size_t, not a sizetype.
7782 * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
7783 c_size_type_node.
7784 (c_alignof_expr): Likewise.
7785 (c_common_nodes_and_builtins): Likewise.
7786 * c-common.h (CTI_C_SIZE_TYPE): Remove.
7787 (c_size_type_node): Likewise.
7788 * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
7789 * tree.h (TI_SIZE_TYPE): New enumeral.
7790 (size_type_node): Likewise.
7791
7792 2002-11-30 Zack Weinberg <zack@codesourcery.com>
7793
7794 * configure.in: Don't put ${tm_file} into host_xm_file,
7795 build_xm_file, or xm_file. Do put tm-preds.h into tm_p_file.
7796 Take location of tm-preds.h into account when calculating
7797 tm_p_file_list.
7798 * configure: Regenerate.
7799 * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
7800 arguments. Do not provide rtx, rtvec, tree, or GTY here.
7801 Remove special case code for tm_p.h and *config.h; add new
7802 special case code for tm.h and tconfig.h. Clean up a bit.
7803
7804 * Makefile.in (tm_file, tm_file_list): New variables set from
7805 @-substitutions.
7806 (GCONFIG_H): Deleted.
7807 (GTM_H, TM_H): New.
7808 (CONFIG_H): Is now just config.h $(host_xm_file_list).
7809 (TM_P_H): Move up with the other mkconfig.sh-generated
7810 headers; don't mention tm-preds.h explicitly.
7811 (tm.h, cs-tm.h): New rule.
7812 (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
7813 invocations of mkconfig.sh for changes to that program.
7814 (mostlyclean): Delete print-rtl1.c.
7815 (clean): Delete tm.h.
7816 Update dependencies for the files listed below.
7817
7818 * mklibgcc.in: Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
7819
7820 * coretypes.h: New file.
7821 * system.h: #define malloc to xmalloc and realloc to xrealloc
7822 when FLEX_SCANNER or YYBISON is defined, independent of the
7823 value of GCC_VERSION.
7824 * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
7825 c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
7826 c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
7827 c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
7828 c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
7829 cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
7830 cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
7831 cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
7832 cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
7833 cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
7834 debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
7835 dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
7836 emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
7837 expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
7838 function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
7839 gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
7840 gencheck.c, gencodes.c, genconditions.c, genconfig.c,
7841 genconstants.c, genemit.c, genextract.c, genflags.c,
7842 gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
7843 genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
7844 gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
7845 ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
7846 hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
7847 lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
7848 main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
7849 optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
7850 print-tree.c, profile.c, protoize.c, ra-build.c,
7851 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
7852 real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
7853 regrename.c, reload.c, reload1.c, reorg.c, resource.c,
7854 rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
7855 scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
7856 sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
7857 ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
7858 tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
7859 tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
7860 xcoffout.c, config/darwin-c.c, config/darwin.c,
7861 config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
7862 config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
7863 config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
7864 config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
7865 config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
7866 config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
7867 config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
7868 config/i960/i960-c.c, config/i960/i960.c,
7869 config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
7870 config/m32r/m32r.c, config/m68hc11/m68hc11.c,
7871 config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
7872 config/mips/irix6-libc-compat.c, config/mips/mips.c,
7873 config/mmix/mmix.c, config/mn10200/mn10200.c,
7874 config/mn10300/mn10300.c, config/ns32k/ns32k.c,
7875 config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
7876 config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
7877 config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
7878 config/sparc/sparc.c, config/stormy16/stormy16.c,
7879 config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
7880 config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
7881 Include coretypes.h and tm.h.
7882
7883 * genattrtab.c, genconditions.c, genemit.c, genextract.c,
7884 gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
7885 genrecog.c: Include coretypes.h and tm.h from the file
7886 generated by this program.
7887
7888 * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
7889 unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
7890 coretypes.h and tm.h, and tsystem.h when not already included.
7891 No need to include stddef.h nor stdlib.h.
7892
7893 * fixinc/fixlib.h: Include coretypes.h and tm.h. Do not
7894 include auto-host.h or ansidecl.h/
7895 * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
7896 * fixinc/procopen.c: Include server.h after fixlib.h. Do not
7897 include auto-host.h, ansidecl.h, or system.h.
7898 * fixinc/server.c: Likewise. Also, do not include signal.h,
7899 and do not redefine volatile.
7900
7901 Sat Nov 30 17:16:46 CET 2002 Jan Hubicka <jh@suse.cz>
7902
7903 * i386.md (movdf_integer): Always enable in 64bit.
7904 (movdf_nointeger): Always disable in 64bit.
7905
7906 2002-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
7907
7908 * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
7909 pseudo register number plus 1.
7910
7911 Fri Nov 29 20:10:56 2002 J"orn Rennecke <joern.rennecke@superh.com>
7912
7913 * expmed.c (store_bit_field): Use int_mode_for_mode to find
7914 corresponding mode of non-integer mode, unless it is VOIDmode.
7915
7916 2002-11-29 Hans-Peter Nilsson <hp@bitrange.com>
7917
7918 * cpplib.c (_cpp_test_assertion): Default *value to 0.
7919
7920 * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
7921
7922 2002-11-29 Ulrich Weigand <uweigand@de.ibm.com>
7923
7924 * config/s390/t-crtstuff: New target makefile fragment.
7925 * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
7926
7927 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
7928
7929 * config/h8300/h8300.md (movsi_h8300hs): Change the order of
7930 alternatives to correct the length when the memory operand is
7931 either pre_dec or post_inc.
7932
7933 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
7934
7935 * config/h8300/h8300.md (an anonymous pattern): Give an
7936 internal name *tst_extzv_bitqi_1_n.
7937 Accept bit_operand instead of bit_memory_operand.
7938 Do not accept bit tests with the MSB.
7939 (*tst_extzv_memqi_1_n): New.
7940
7941 Thu Nov 28 23:56:24 CET 2002 Jan Hubicka <jh@suse.cz>
7942
7943 * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX
7944 sharing when operand is SUBREG.
7945
7946 Thu Nov 28 08:57:26 CET 2002 Jan Hubicka <jh@suse.cz>
7947
7948 * athlon.md (athlon-decodev): New reservation unit.
7949 (athlon-direct0): New reservation.
7950 (athlon-vector): New use athlon-decodev.
7951 (athlon-double, athlon-direct): Better model.
7952 (athlon_imul_k8): Use athlon-direct0.
7953 (athlon_movlpd_load): New insn reservation.
7954
7955 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
7956
7957 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
7958 Fix a comment typo.
7959 (h8300_tiny_constant_address_p): Likewise.
7960
7961 2002-11-28 Michael Matz <matz@suse.de>
7962
7963 * doc/passes.texi: Mention the other register allocator.
7964
7965 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
7966
7967 * config/h8300/h8300.md (6 new peephole2 patterns): New.
7968
7969 2002-11-28 Jakub Jelinek <jakub@redhat.com>
7970
7971 * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
7972 * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
7973 * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
7974
7975 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
7976
7977 * config/h8300/h8300.c (h8300_and_costs): New.
7978 * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
7979 * config/h8300/h8300-protos.h: Add a prototype for
7980 h8300_and_costs.
7981
7982 Wed Nov 27 20:34:13 CET 2002 Jan Hubicka <jh@suse.cz>
7983
7984 * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New.
7985 * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare.
7986 (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro.
7987 * i386.md (truncdfsf patterns and splitters): Use
7988 TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
7989
7990 2002-11-27 Zack Weinberg <zack@codesourcery.com>
7991
7992 * config/rs6000/rs6000.c (altivec_init_builtins): Make the
7993 pointer argument in the prototypes of the following builtins
7994 be (const TYPE *) rather than (TYPE *):
7995 + __builtin_altivec_ld_internal_4sf
7996 + __builtin_altivec_ld_internal_4si
7997 + __builtin_altivec_ld_internal_8hi
7998 + __builtin_altivec_ld_internal_16qi
7999 + __builtin_altivec_lvsl
8000 + __builtin_altivec_lvsr
8001 + __builtin_altivec_lvebx
8002 + __builtin_altivec_lvehx
8003 + __builtin_altivec_lvewx
8004 + __builtin_altivec_lvxl
8005 + __builtin_altivec_lvx
8006 + __builtin_altivec_dst
8007 + __builtin_altivec_dstt
8008 + __builtin_altivec_dstst
8009 + __builtin_altivec_dststt
8010
8011 2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8012
8013 * except.c (default_exception_section): Move variable into the
8014 scope where it is used.
8015
8016 2002-11-27 Krister Walfridsson <cato@df.lth.se>
8017
8018 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
8019 correct version.
8020
8021 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
8022
8023 * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
8024
8025 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
8026
8027 * config/h8300/h8300.c (h8300_shift_costs): New.
8028 * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
8029 * config/h8300/h8300-protos.h: Add a prototype for
8030 h8300_shift_costs.
8031
8032 2002-11-27 Jim Wilson <wilson@redhat.com>
8033
8034 * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
8035 in output template.
8036
8037 2002-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
8038
8039 * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
8040 * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
8041 DLL_IMPORT_EXPORT_PREFIX, not '@'.
8042 (i386_pe_dllimport_name_p): Likewise.
8043 (i386_pe_mark_dllexport): Likewise.
8044 (i386_pe_mark_dllimport): Likewise.
8045 (i386_pe_encode_section_info): Likewise.
8046 (i386_pe_strip_name_encoding): Likewise.
8047
8048 2002-11-27 Richard Henderson <rth@redhat.com>
8049
8050 * mkmap-symver.awk (BEGIN): Set sawsymbol false.
8051 (nm && NF == 3): Set sawsymbol true.
8052 (END): Exit if no symbols seen.
8053 (output): Fix map syntax error if no globals for the version.
8054
8055 Wed Nov 27 14:45:46 CET 2002 Jan Hubicka <jh@suse.cz>
8056
8057 * builtins.def (DEF_C99_BUILTIN): Fix.
8058
8059 2002-11-26 Kaz Kojima <kkojima@gcc.gnu.org>
8060
8061 * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros.
8062 (all): Add .size and .type information.
8063
8064 Tue Nov 26 22:43:50 CET 2002 Jan Hubicka <jh@suse.cz>
8065
8066 * i386.c (ix86_expand_int_movcc): Do not emit lea for short mode on
8067 partial_reg_stall target.
8068
8069 Tue Nov 26 22:27:47 CET 2002 Jan Hubicka <jh@suse.cz>
8070
8071 * i386.md (movhicc): Allow general operand.
8072 (movqicc): New expander.
8073 (movqicc_noc): New pattern.
8074 * i386.c (ix86_expand_carry_flag_compare): New function.
8075 (ix86_expand_int_movcc): Optimize harder using sbb; support more
8076 HImode conversion; support QImode conditional moves
8077
8078 Tue Nov 26 16:30:59 CET 2002 Jan Hubicka <jh@suse.cz>
8079
8080 * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20.
8081 (ix86_expand_prologue): Multiply the count by amount of registers to be
8082 pushed.
8083
8084 Tue Nov 26 15:55:27 CET 2002 Jan Hubicka <jh@suse.cz>
8085
8086 * i386.c (override_options): Error about wrong -mcpu on x86-64
8087 compilation.
8088
8089 2002-11-26 NIIBE Yutaka <gniibe@m17n.org>
8090
8091 * config/sh/linux.h (FUNCTION_PROFILER): Implemented.
8092
8093 Tue Nov 26 00:14:20 CET 2002 Jan Hubicka <jh@suse.cz>
8094
8095 * i386-protos.h (x86_extended_QIreg_mentioned_p,
8096 x86_extended_reg_mentioned_p): Declare.
8097 * i386.c (extended_reg_mentioned_1): New static function.
8098 (x86_extended_QIreg_mentioned_p,
8099 x86_extended_reg_mentioned_p): New global functions.
8100 * i386.h (REX_SSE_REGNO_P): New macro.
8101 * i386.md (prefix_rex): New attribute.
8102 (length attribute): Add rex.
8103
8104 2002-11-26 Andrew Haley <aph@redhat.com>
8105
8106 * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
8107 from_Unwind_Find_Enclosing_Function.
8108 * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
8109 * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
8110 * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
8111 _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
8112 * unwind.h (_Unwind_FindEnclosingFunction): Add.
8113
8114 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
8115
8116 * config/s390/s390.c (390_output_constant_pool): Set alignment
8117 before label in 64 bit mode, behind otherwise.
8118
8119 2002-11-26 Richard Henderson <rth@redhat.com>
8120
8121 * c-common.c (handle_visibility_attribute): Accept "default".
8122 * tree.h (enum symbol_visibility): New.
8123 (decl_visibility): Declare.
8124 * target.h (gcc_target.visibility): Take visibility arg as integer.
8125 * varasm.c (default_assemble_visibility): Likewise.
8126 (decl_visibility): New.
8127 (maybe_assemble_visibility): Use it.
8128 * output.h (default_assemble_visibility): Update prototype.
8129 * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
8130 visibility arg as integer.
8131 * doc/extend.texi: Document default visibility.
8132
8133 2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
8134
8135 * config/h8300/h8300.c: Adjust spacing.
8136 * config/h8300/h8300.h: Likewise.
8137
8138 2002-11-26 Richard Henderson <rth@redhat.com>
8139
8140 * hooks.c (hook_bool_void_false, hook_void_tree_int,
8141 hook_void_FILEptr_constcharptr): Rename so that the return
8142 type is first.
8143 (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
8144 hook_bool_tree_false): New.
8145 * hooks.h: Update.
8146 * langhooks-def.h: Update for renames.
8147 * target-def.h: Likewise.
8148 * tree.c (default_comp_type_attributes,
8149 default_set_default_type_attributes, default_insert_attributes,
8150 default_function_attribute_inlinable_p,
8151 default_ms_bitfield_layout_p): Remove.
8152 * tree.h: Update.
8153
8154 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
8155
8156 * pa-protos.h (function_value): New prototype.
8157 * pa.c (function_value): Use a PARALLEL to return small aggregates on
8158 TARGET_64BIT.
8159 * pa.h (FUNCTION_VALUE): Use function_value.
8160 * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
8161 call_value_internal_reg, sibcall_value_internal_symref,
8162 sibcall_value_internal_symref_64bit): Remove =rf constraint on return
8163 value.
8164
8165 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
8166
8167 * expr.c (gen_group_rtx, emit_group_move): New functions.
8168 * expr.h (gen_group_rtx, emit_group_move): Prototype.
8169 * function.c (expand_function_start): Use gen_group_rtx to create a
8170 PARALLEL rtx to hold the return value when the real return rtx is a
8171 PARALLEL.
8172 (expand_function_end): Use emit_group_move to move the return value
8173 from a PARALLEL to the real return registers.
8174 * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
8175 in PARALLELs.
8176
8177 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
8178
8179 * config/t-libc-ok: Fix typo.
8180
8181 2002-11-26 Jakub Jelinek <jakub@redhat.com>
8182
8183 * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
8184 before AC_PROG_CC.
8185 * configure: Rebuilt.
8186
8187 2002-11-26 Nathan Sidwell <nathan@codesourcery.com>
8188
8189 * c-decl.c: (start_struct): Commonize flag setting.
8190
8191 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
8192
8193 * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
8194 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
8195 RS6000_CPU_CPP_ENDIAN_BUILTINS.
8196 * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
8197
8198 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
8199
8200 * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
8201 insns.
8202 * config/s390/s390.c (struct machine_function): Introduction of
8203 struct machine_function.
8204 (s390_output_symbolic_const): Use of cfun.
8205 (s390_optimize_prolog): Likewise.
8206 (s390_fixup_clobbered_return_reg): Likewise.
8207 (s390_frame_info): Likewise.
8208 (s390_emit_prologue, s390_emit_epilogue): Likewise.
8209 (s390_init_machine_status): New function.
8210 (override_options): call s390_init_machine_status.
8211 * config/s390/s390-protos.h (s390_output_constant_pool): Changed
8212 prototype.
8213
8214 2002-11-26 Jakub Jelinek <jakub@redhat.com>
8215
8216 * varasm.c (output_constant_pool): For pool constants in mergeable
8217 section ensure each constant is padded to multiple of entity size.
8218
8219 2002-11-26 Jakub Jelinek <jakub@redhat.com>
8220
8221 * varasm.c (default_exception_section): Move to...
8222 * except.c (default_exception_section): ... here. Make
8223 .gcc_except_table read-only if it is not expected to have any
8224 dynamic relocations and linker handles it.
8225 * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
8226 if it is not expected to have any dynamic relocations and linker
8227 handles it.
8228 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
8229 when linking read-only and read-write sections together.
8230 * configure, config.in: Rebuilt.
8231 * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
8232 (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
8233
8234 Mon Nov 25 18:32:37 CET 2002 Jan Hubicka <jh@suse.cz>
8235
8236 * i386.md (pushsf_rex64): Fix typo.
8237
8238 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
8239
8240 * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
8241 new function.
8242 (__ev_create_ufix32_fs): Same.
8243 (__ev_get_sfix32_fs_internal): New.
8244 (__ev_get_sfix32_fs): Define to use function.
8245 (__ev_get_ufix32_fs_internal): New.
8246 (__ev_get_ufix32_fs): Define to use function.
8247 (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
8248 (__ev_get_lower_ufix32_fs): Same.
8249 (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
8250 (__ev_get_lower_sfix32_fs): Same.
8251 (__ev_set_sfix32_fs_internal): New.
8252 (__ev_set_ufix32_fs_internal): New.
8253 (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
8254 (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
8255 (__ev_set_upper_sfix32_fs): Call function.
8256 (__ev_set_lower_sfix32_fs): Same.
8257 (__ev_set_upper_ufix32_fs): Same.
8258 (__ev_set_lower_ufix32_fs): Same.
8259
8260 2002-11-25 Douglas B Rupp <rupp@gnat.com>
8261
8262 * gcc.c (do_spec_1): Reset delete_this_arg to zero.
8263
8264 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
8265
8266 * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
8267 * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
8268 * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
8269 * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
8270 * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
8271 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
8272 * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
8273 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
8274 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
8275 * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
8276 * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
8277 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
8278 * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
8279 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
8280 * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
8281 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
8282 * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
8283 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
8284 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
8285 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
8286 * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
8287 * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
8288 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
8289 * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
8290 defining.
8291 * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
8292 * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
8293
8294 2002-11-25 Dave Pitts <dpitts@cozx.com>
8295
8296 * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
8297
8298 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
8299
8300 * config/h8300/h8300.md (an anonymous pattern): New.
8301
8302 2002-11-25 Richard Henderson <rth@redhat.com>
8303
8304 * alias.c (find_base_value): Use new_reg_base_value if it's live.
8305 (copying_arguments): Make boolean.
8306
8307 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
8308
8309 * gcc.c (static_spec_functions): Add if-exists-else spec
8310 function.
8311 (if_exists_else_spec_function): New function.
8312 * doc/invoke.texi: Document the if-exists-else spec function.
8313
8314 * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
8315 "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
8316
8317 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
8318
8319 * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
8320 "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to
8321 "${tmake_file} rs6000/t-netbsd".
8322 * config/rs6000/netbsd.h: Rewrite.
8323 * config/rs6000/t-netbsd: New file.
8324
8325 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
8326
8327 * config/h8300/h8300.md (an anonymous pattern): Relax the
8328 condition for the pattern.
8329
8330 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
8331
8332 * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
8333 evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
8334 evmwlssfanw, evmwlsmfanw.
8335
8336 * config/rs6000/rs6000.c (bdesc_2arg): Same.
8337
8338 * config/rs6000/spe.md: Same for patterns.
8339
8340 2002-11-25 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
8341
8342 PR c/8639
8343 * fold-const.c (extract_muldiv): Don't propagate division unless
8344 both arguments are multiples of C.
8345
8346 2002-11-25 Andrew Haley <aph@redhat.com>
8347
8348 * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
8349 * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
8350 * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
8351 * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
8352
8353 Sun Nov 24 10:38:04 CET 2002 Jan Hubicka <jh@suse.cz>
8354
8355 * i386.c (x86_use_ffreep): New global variable.
8356 * i386.h (x86_use_frfeep): Declare
8357 (TARGET_USE_FFREEP): New macro
8358 * i386.md (movs?f*): Use freep when asked for.
8359 (push?f): Remove dead code.
8360
8361 2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
8362
8363 * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
8364 target help message.
8365
8366 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
8367
8368 * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
8369 extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
8370 crtbeginT.o".
8371 (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
8372 (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
8373 to "" for a.out configurations.
8374 * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
8375
8376 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
8377
8378 * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
8379 NETBSD_CPP_SPEC directly.
8380 (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add
8381 netbsd_endfile_spec.
8382 (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
8383
8384 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
8385
8386 * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
8387 NETBSD_STARTFILE_SPEC.
8388 (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
8389 (ENDFILE_SPEC): Likewise.
8390 * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
8391
8392 2002-11-24 Andreas Schwab <schwab@suse.de>
8393
8394 * Makefile.in (install-driver): Remove versioned link before
8395 trying to create it.
8396
8397 * config/m68k/m68k.c: Fix typo in last change defining
8398 TARGET_ASM_CAN_OUTPUT_MI_THUNK.
8399
8400 2002-11-23 H.J. Lu <hjl@gnu.org>
8401
8402 * aclocal.m4: Include ../config/accross.m4.
8403 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
8404 (gcc_AC_C_COMPILE_ENDIAN): Removed.
8405 (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian
8406 instead of $ac_cv_c_compile_endian.
8407
8408 * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with
8409 AC_COMPILE_CHECK_SIZEOF.
8410 Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS.
8411 * configure: Rebuild.
8412
8413 2002-11-23 Kazu Hirata <kazu@cs.umass.edu>
8414
8415 * config/h8300/h8300.c (print_operand): Update the use of
8416 h8300_tiny_constant_address_p.
8417 (h8300_adjust_insn_length): Likewise.
8418 (h8300_tiny_constant_address_p): Check if the given rtx is a
8419 variable declared with __attribute__ ((tiny_data)).
8420
8421 2002-11-22 Dale Johannesen <dalej@apple.com>
8422
8423 * toplev.c (rest_of_compilation): Fix comments.
8424
8425 2002-11-22 Geoffrey Keating <geoffk@apple.com>
8426
8427 * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
8428 allow mmap from /dev/zero. Don't make decisions for the host
8429 based on presence or absence of /dev/zero on the build machine.
8430 (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
8431 (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
8432 * configure: Regenerate.
8433
8434 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
8435
8436 * gcc.c (make_relative_prefix, split_directories)
8437 (free_split_directories): Removed.
8438
8439 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
8440
8441 * configure.in: Set insn=nop for DWARF-2 tests on ARM.
8442 * configure: Regenerated.
8443
8444 2002-11-22 Kazu Hirata <kazu@cs.umass.edu>
8445
8446 * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
8447 length computation when xor.l is output.
8448
8449 2002-11-21 Douglas B Rupp <rupp@gnat.com>
8450
8451 * alpha.md (movstrdi, clrstrdi): New VMS patterns.
8452 (call_vms_1, call_value_vms_1): Cleanup syntax.
8453
8454 Thu Nov 21 19:20:27 CET 2002 Jan Hubicka <jh@suse.cz>
8455
8456 * athlon.md (define_atuomaton): Add athlon_load.
8457 (athlon-double): New reservation.
8458 (athlon-ieu0): New CPU unit.
8459 (athlon-load?): Use athlon_load automaton.
8460 (*_k8 reservations): New.
8461 (other insn revervations): Activate for K8.
8462
8463 Thu Nov 21 15:07:42 CET 2002 Jan Hubicka <jh@suse.cz>
8464
8465 * cfgrtl.c (verify_flow_info): Accept EDGE_CAN_FALLTHRU flag.
8466
8467 2002-11-21 Jim Wilson <wilson@redhat.com>
8468
8469 * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
8470 vectors to SI.
8471
8472 2002-11-21 Bob Wilson <bob.wilson@acm.org>
8473
8474 * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
8475 * config/xtensa/xtensa.c (struct machine_function): Add
8476 incoming_a7_copied flag.
8477 (xtensa_copy_incoming_a7): Define.
8478 (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
8479 * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
8480
8481 Thu Nov 21 23:52:04 CET 2002 Jan Hubicka <jH@suse.cz>
8482
8483 * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
8484 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
8485 x86_64_nonmemory_operand, x86_64_movabs_operand,
8486 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
8487 ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
8488 (local_symbolic_operand): Do not care the 64bit limits.
8489 (x86_64_sign_extended_value): Remove allow_rip support.
8490 (legitimate_pic_address_disp_p): Handle all cases allowed
8491 with RIP addressing.
8492 (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
8493 (legitimize_pic_address): Reorganize.
8494 * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
8495
8496 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
8497
8498 * config.gcc (arm*-*-netbsdelf*): Enable configuration.
8499 * config/arm/netbsd-elf.h: New file.
8500
8501 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
8502
8503 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
8504 subtarget_asm_float_spec.
8505 (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
8506 defaults from...
8507 (ASM_SPEC): ...here. Use subtarget_asm_float_spec.
8508
8509 2002-11-21 Nick Clifton <nickc@redhat.com>
8510
8511 * config/fr30/fr30.md (movsf_constant_store): Move code to
8512 detect 0.0 into fr30.c.
8513 * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
8514 Prototype.
8515 * config/fr30/fr30.c (fr30_const_double_is_zero): New
8516 function. Return true if the rtx is 0.0.
8517
8518 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
8519
8520 * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
8521 if -mlittle-endian is specified.
8522
8523 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
8524
8525 PR optimization/2903
8526 * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
8527 (anddi_notsesidi_di): Likewise.
8528
8529 2002-11-21 Kazu Hirata <kazu@cs.umass.edu>
8530
8531 * config/h8300/h8300.c (print_operand): Use
8532 h8300_eightbit_constant_address_p and
8533 h8300_tiny_constant_address_p.
8534 (h8300_adjust_insn_length): Likewise.
8535 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
8536 (TINY_CONSTANT_ADDRESS_P): Likewise.
8537 (OK_FOR_U): Use eightbit_constant_address_p.
8538
8539 2002-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8540
8541 * config/s390/libgcc-libc.ver: Add multilib support.
8542 * config/s390/linux.h (MULTILIB_DEFAULT): Define.
8543 * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
8544 MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
8545 EXTRA_MULTILIB_PARTS): Define.
8546
8547 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
8548
8549 * arm.c (arm_get_frame_size): A leaf function does not need its
8550 stack padding to an aligned boundary if it has no frame.
8551 (thumb_get_frame_size): Likewise.
8552
8553 Wed Nov 20 22:25:53 CET 2002 Jan Hubicka <jh@suse.cz>
8554
8555 * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch.
8556 (override_options): Likewise.
8557
8558 Wed Nov 20 19:07:17 CET 2002 Jan Hubicka <jh@suse.cz>
8559
8560 * config.gcc: Add k8 target alias support
8561 * i386.c (_cost): Declare costs for various variants of divides and
8562 multiplies.
8563 (k8_cost): New.
8564 (m_K8, m_ATHLON_K8): New macros.
8565 (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
8566 x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop,
8567 x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?,
8568 x86_integer_DFmode_moves, x86_partial_reg_dependency,
8569 x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
8570 x86_prologue_using_move, x86_epilogue_using_move,
8571 x86_arch_always_fancy_math_387, x86_sse_partial_regs,
8572 x86_sse_typeless_stores): Set for K8
8573 (override_options): Add k8 support; fix athlon alignment;
8574 complain about non-x86-64 capable CPU being used in x86-64 compilation.
8575 (ix86_issue_rate): Set for K8.
8576 (ix86_adjust_cost, ia32_use_dfa_pipeline_interface,
8577 x86_machine_dependent_reorg): Handle K8 like
8578 * i386.h
8579 (x86_costs): Change mult_init and divide into array.
8580 (TARGET_K8, TARGET_ATHLON): New macros.
8581 (MODE_INDEX): New macro.
8582 (RTX_COST): Use new costs.
8583 (TARGET_CPU_CPP_BUILTINS): Define __k8__ and __tune_k8__.
8584 (TARGET_CPU_DEFAULT_NAMES): Add k8
8585 (TARGET_CPU_DEFAULT_k8): New constant
8586 (enum processor_type): Add PROCESSOR_K8.
8587 * i386.md (cpu attribute): Add k8.
8588
8589 * invoke.texi: Document -march=k8.
8590
8591 * i386.md (type attribute): Add leave
8592 (mode attribute): Remove unknownfp.
8593 (length_immediate, modrm, memory attributes): Handle leave correctly.
8594 (fp comparison patterns): Determine FP mode.
8595 (leave, leave_rex64): Remove special cases.
8596 * ppro.md (ppro_uops, ppro_p2): Add leave
8597 * pentiun.md (pent_pop): Handle leave too.
8598 * k6.md (k6_load): Handle leave.
8599 * athlon.md (athlon_leave, athlon_pop): Fix.
8600 (athlon_decode): Handle leave.
8601
8602 2002-11-20 Steve Ellcey <sje@cup.hp.com>
8603
8604 * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
8605 to component type using GET_MODE_INNER.
8606 * expr.c (emit_move_insn_1): Ditto.
8607 * optabs.c (expand_binop): Ditto.
8608 (expand_unop): Ditto.
8609 (expand_complex_abs): Ditto.
8610
8611 2002-11-20 Douglas B Rupp <rupp@gnat.com>
8612
8613 * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
8614
8615 2002-11-20 DJ Delorie <dj@redhat.com>
8616
8617 * config/stormy16/stormy16.c (s16builtins,
8618 xstormy16_init_builtins, xstormy16_expand_builtin): New.
8619 * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
8620
8621 2002-11-20 Hans-Peter Nilsson <hp@bitrange.com>
8622
8623 * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
8624 (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
8625 (executing gencheck, genconfigs, genconditions, genflags,
8626 gencodes, genconstants, genemit, genrecog, genopinit, genextract,
8627 genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
8628 gengtype, genprotos): Prepend $(RUN_GEN).
8629 * configure.in: Move host compiler tests before --enable-checking
8630 tests.
8631 (--enable-checking=valgrind): New.
8632 * config.in, configure: Regenerate.
8633 * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
8634 Define as empty.
8635 (read_include_file): When doing the mmap+1 trick,
8636 valgrind-annotate the byte after the mmap:ed area as readable.
8637 (purge_cache): Remove above annotation.
8638 * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
8639 VALGRIND_PATH -q to each command.
8640
8641 * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
8642 Define as empty.
8643 (ggc_realloc): Update valgrind annotations.
8644 * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
8645 Define as empty.
8646 (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
8647 valgrind-annotate memory.
8648
8649 2002-11-20 Ulrich Weigand <uweigand@de.ibm.com>
8650
8651 * recog.c (constrain_operands): Prefer exact match over reloadable
8652 EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
8653
8654 * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
8655 operands in Pmode.
8656
8657 2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
8658
8659 PR c/8518
8660 * c-decl.c (duplicate_decls): Outline the second definition
8661 of an extern inline function in all cases.
8662
8663 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
8664
8665 * stor-layout.c (place_field): Update rli->offset as well as
8666 rli->bitpos.
8667
8668 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
8669
8670 * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
8671
8672 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
8673
8674 * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
8675 into a libcall block.
8676 (divsi3): Likewise divsi3_i4_media.
8677
8678 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
8679
8680 * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
8681 out another register.
8682
8683 2002-11-20 Jakub Jelinek <jakub@redhat.com>
8684
8685 * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
8686 (not just mask) are set in C.
8687
8688 2002-11-19 Steven Bosscher <steven.bosscher@usafa.af.mil>
8689
8690 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{<mgp32} to %<mgp32.
8691
8692 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8693
8694 * profile.c (index_counts_file): Fix obvious mistake.
8695
8696 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
8697
8698 * Makefile.in (profile.o): Add hashtab.h dependency.
8699 * gcov-io.h (GCOV_SUMMARY_LENGTH): New.
8700 * profile.c: Include hashtab.h.
8701 (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del,
8702 cleanup_counts_index, index_counts_file, struct section_reference,
8703 struct da_index_entry, counts_file_name, counts_file_index): New.
8704 (get_exec_counts, init_branch_prob): Modified.
8705
8706 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
8707
8708 * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux
8709 to tmake_file. Remove setting gas and gnu_ld here.
8710 * config/sh/libgcc-glibc.ver: New file.
8711 * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
8712 (SHLIB_MAPFILES): New.
8713 * config/sh/linux.h (MD_EXEC_PREFIX): Undefine.
8714 (MD_STARTFILE_PREFIX): Likewise.
8715 (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define.
8716 (DWARF2_UNWIND_INFO): Redefine.
8717 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8718 (LINK_EH_SPEC): Redefine.
8719 (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media.
8720 (SH_FALLBACK_FRAME_FLOAT_STATE): Define.
8721 (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0,
8722 SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA,
8723 SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL,
8724 SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL,
8725 SH_DWARF_FRAME_FPSCR): Likewise.
8726 * config/sh/sh-protos.h (sh_set_return_address): Declare.
8727 * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO
8728 registers if the current function calls EH return.
8729 (sh_expand_epilogue): Handle EH stack adjustments.
8730 (sh_set_return_address): New function.
8731 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
8732 Don't abort even if the number is mapped to -1.
8733 (EH_RETURN_DATA_REGNO): Define.
8734 (EH_RETURN_STACKADJ_RTX): Define.
8735 * config/sh/sh.md (UNSPEC_EH_RETURN): New.
8736 (eh_return): New pattern.
8737 (eh_set_ra_di, eh_set_ra_si): Likewise.
8738 Add splitter to perform EH return after reload.
8739
8740 Tue Nov 19 12:52:07 2002 J"orn Rennecke <joern.rennecke@superh.com>
8741
8742 * stor-layout.c (excess_unit_span): New function.
8743 (place_field): Use it.
8744
8745 2002-11-19 Andreas Schwab <schwab@suse.de>
8746
8747 * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
8748 not valid in C++.
8749
8750 2002-11-19 Nathanael Nerode <neroden@gcc.gnu.org>
8751
8752 * configure.in, Makefile.in: Correct BUILD/HOST confusion.
8753 * configure: Regenerate.
8754
8755 Tue Nov 19 00:11:44 CET 2002 Jan Hubicka <jh@suse.cz>
8756
8757 * convert.c (strip_float_extensions): New function.
8758 (convert_to_real): Optimize some cases.
8759
8760 2002-11-19 Andreas Jaeger <aj@suse.de>
8761
8762 * loop.c (record_giv): Initialize not_replaceable.
8763 (check_final_value): Likewise.
8764
8765 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
8766
8767 * config/h8300/h8300.c (h8300_init_once): Replace 1 with
8768 MASK_H8300S.
8769
8770 2002-11-19 Vijay L. Khuspe <vijayk1@kpit.com>
8771
8772 * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
8773 only if -mh or -ms present.
8774 (h8300_eightbit_constant_address_p): Support the normal mode.
8775 (h8300_tiny_constant_address_p): Likewise.
8776 * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
8777 (POINTER_SIZE): Add 16 bit pointer for the normal mode.
8778 (Pmode): Evaluate to HImode for the normal mode.
8779 (SIZE_TYPE): Evaluate to unsigned int for normal mode.
8780 (PTRDIFF_TYPE): Evaluate to int for the normal mode.
8781 (ASM_WORD_OP): Evaluate to word for the normal mode.
8782 * config/h8300/h8300.md (tablejump_normal_mode): New.
8783 (indirect_jump_normal_mode): New.
8784 * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
8785 directory.
8786 (MULTILIB_DIRNAMES): Create target dependent directory
8787 'normal'.
8788 (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
8789 * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
8790
8791 Tue Nov 19 23:50:56 CET 2002 Jan Hubicka <jh@suse.cz>
8792
8793 * i386.md (length_immediate): Do not refer to insn address.
8794 (jcc*, jmp patterns): Compute length explicitly.
8795
8796 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
8797
8798 PR c/8588
8799 * optabs.c (expand_binop): Convert CONST_INTs in shift
8800 operations too.
8801
8802 2002-11-19 Roger Sayle <roger@eyesopen.com>
8803
8804 * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
8805
8806 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
8807
8808 * config/h8300/h8300.md (an anonymous pattern): Relax the
8809 condition to accept the same operands and/or subregs.
8810
8811 2002-11-19 Daniel Jacobowitz <drow@mvista.com>
8812
8813 * config/sh/sh.c (gen_shl_and): Revert previous patch.
8814 * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
8815 reload_completed.
8816
8817 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
8818
8819 * config/h8300/h8300.c (print_operand): Update the use of
8820 EIGHTBIT_CONSTANT_ADDRESS_P.
8821 (h8300_adjust_insn_length): Likewise.
8822 (h8300_eightbit_constant_address_p): Check if the given rtx is
8823 a variable with __attribute__((eightbit_data)).
8824 * config/h8300/h8300.h (OK_FOR_U): Update the use of
8825 EIGHTBIT_CONSTANT_ADDRESS_P.
8826
8827 2002-11-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8828
8829 * doc/contrib.texi (Contributors): Add self as second contact in
8830 addition to Jeff Law.
8831
8832 2002-11-19 Andreas Jaeger <aj@suse.de>
8833
8834 * tree-inline.c: Move prototpyes of find_alloca_call_1 and
8835 find_alloca_call to right place.
8836
8837 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
8838
8839 * cppfiles.c: Fix formatting.
8840
8841 2002-11-19 Jason Thorpe <thorpej@wasabisystems.com>
8842
8843 * gcc.c (The Specs Language): Document spec functions.
8844 (static_spec_functions, lookup_spec_function)
8845 (eval_spec_function, handle_spec_function)
8846 (if_exists_spec_function, alloc_args): New.
8847 (execute): Abort if processing_spec_function is true.
8848 (do_spec_1): Hand off spec to handle_spec_function if %:
8849 is encountered. If processing_spec_function is true,
8850 end any pending argument when the end of the string is reached.
8851 (main): Use alloc_args to allocate the initial argument vector.
8852 * gcc.h (struct spec_function): New.
8853 (lang_specific_spec_functions): New extern.
8854
8855 * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
8856 (ENDFILE_SPEC): Add if-exists(crtn%O%s).
8857 * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
8858
8859 * doc/invoke.texi: Document spec functions.
8860
8861 * cppspec.c (lang_specific_spec_functions): New.
8862 * gccspec.c: Likewise.
8863
8864 2002-11-18 Steve Ellcey <sje@cup.hp.com>
8865
8866 * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
8867 (FIXUNS_TRUNCTFDI2_LIBCALL): New.
8868 (fixunstfsi_libfunc): Change.
8869 (fixunstfdi_libfunc): Change.
8870 (sdiv_optab): Don't zero out SImode handler.
8871 (udiv_optab): Don't zero out SImode handler.
8872 (smod_optab): Don't zero out SImode handler.
8873 (umod_optab): Don't zero out SImode handler.
8874
8875 2002-11-18 Neil Booth <neil@daikokuya.co.uk>
8876
8877 PR preprocessor/8524
8878 * cpplib.c (run_directive): Remove previous kludge to _Pragma.
8879 Add a new one in its place, which hopefully works.
8880 (skip_rest_of_line): Change test for bottom-of-context-stack.
8881
8882 Mon Nov 18 21:29:03 CET 2002 Jan Hubicka <jh@suse.cz>
8883
8884 * i386.md (addqi_1_slp): Fix output template.
8885 (subqi_1_slp): Fix type.
8886
8887 Sun Nov 17 00:01:28 CET 2002 Jan Hubicka <jh@suse.cz>
8888
8889 * calls.c (alloca_call_p): New global function.
8890 * tree.h (alloca_call_p): New.
8891 * tree-inline.c (inlinable_function_p): Do not inline when
8892 function calls alloca.
8893 (find_alloca_call, find_alloca_call_1): New functions.
8894
8895 2002-11-18 Kazu Hirata <kazu@cs.umass.edu>
8896
8897 * config/h8300/h8300.md (*andorqi3): Use bor between bld and
8898 bst. Update the insn length.
8899 (*andorhi3): Likewise.
8900 (*andorsi3): Likewise.
8901
8902 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
8903
8904 * config/sh/sh-protos.h (sh_mark_label): Declare.
8905 * config/sh/sh.c (sh_mark_label): New function, taken from
8906 movdi_const, but fixing the case when the address has an addend.
8907 * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
8908
8909 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
8910
8911 * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
8912 (add_constant): Set it.
8913 (dump_table): Don't reorder a constant if part_of_sequence_p.
8914 (machine_dependent_reorg): Assume that float constants will
8915 stay in their original order if used as a sequence.
8916
8917 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
8918
8919 * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
8920 in compact code.
8921
8922 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
8923
8924 * config/sh/sh.md (initialize_trampoline): Do not force the
8925 trampoline address into R0_REGS here.
8926
8927 Sun Nov 17 14:01:09 CET 2002 Jan Hubicka <jh@suse.cz>
8928
8929 * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
8930 absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
8931 (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
8932 generate unnecesary subregs.
8933
8934 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
8935
8936 * df.c: Fix formatting.
8937
8938 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
8939
8940 * config/h8300/h8300.md (two anonymous patterns): Fix insn
8941 lengths.
8942
8943 2002-11-17 Daniel Jacobowitz <drow@mvista.com>
8944
8945 * sh.c (gen_shl_and): Don't create a zero_extend if the operand
8946 is not an arith_reg_operand.
8947
8948 2002-11-17 Graham Stott <graham.stott@btinternet.com>
8949
8950 * real.c (real_to_decimal): Fix buffer overrun when buffer size
8951 is smaller than representation.
8952
8953 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
8954
8955 * builtins.c: Fix formatting.
8956
8957 Sat Nov 16 16:49:58 CET 2002 Jan Hubicka <jh@suse.cz>
8958
8959 * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2,
8960 floats?dff2_i387):
8961 Work around regclass stupidity.
8962 (truncdfsf_2_1_sse splitter): Accept !TARGET_PARTIAL_SSE_REGS
8963
8964 Sat Nov 16 02:17:48 CET 2002 Jan Hubicka <jh@suse.cz>
8965
8966 * i386.md (fop_df_6): New pattern.
8967 (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions.
8968 (fop_xf_6): Rewrite
8969 (fop_xf_7): Delete.
8970 (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions.
8971 (fop_tf_6): Rewrite
8972 (fop_tf_7): Delete.
8973
8974 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
8975
8976 * config/h8300/h8300.md (two anonymous patterns): Fix typos.
8977
8978 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
8979
8980 * config/h8300/h8300.md: Fix formatting.
8981
8982 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
8983
8984 * config/h8300/h8300.md: Replace spaces with tabs.
8985 * config/h8300/t-h8300: Remove a trailing empty line.
8986
8987 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
8988
8989 * tlink.c: Fix formatting.
8990
8991 2002-11-16 David Edelsohn <edelsohn@gnu.org>
8992
8993 PR 8362
8994 * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
8995 * config/rs6000/rs6000.md (movti_string): Remove output modifier
8996 when scratch register never needed.
8997 (ldmsi[3-8]): New patterns.
8998
8999 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9000
9001 * hard-reg-set.h: Follow spelling conventions.
9002 * real.c: Likewise.
9003 * target.h: Likewise.
9004
9005 2002-11-16 Jakub Jelinek <jakub@redhat.com>
9006
9007 * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
9008
9009 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9010
9011 * optabs.c: Fix formatting.
9012
9013 Sat Nov 16 02:06:02 CET 2002 Jan Hubicka <jh@suse.cz>
9014
9015 * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
9016 * i386.md (attribute type): Add type shift1 and rotate1.
9017 (*_slp): Rewrite to have just two operands to avoid reload problems.
9018
9019 2002-11-15 Kazu Hirata <kazu@cs.umass.edu>
9020
9021 * config/h8300/h8300.md (4 anonymous patterns): New.
9022
9023 2002-11-15 Geoffrey Keating <geoffk@apple.com>
9024
9025 * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
9026 * doc/invoke.texi: Correct description of what needs to be done to
9027 force collection at every ggc_collect call.
9028
9029 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
9030
9031 * config/s390/s390.c (optimization_options): Set
9032 flag_asynchronous_unwind_tables to 1 by default.
9033
9034 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
9035
9036 * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9037
9038 Fri Nov 15 14:54:19 CET 2002 Jan Hubicka <jh@suse.cz>
9039
9040 * i386-protos.h (x86_function_profiler): New function
9041 * i386.h (MCOUNT_NAME): New.
9042 (PROFILE_COUNT_REGISTER): New.
9043 (FUNCTION_PROFILER): Move offline to ...
9044 * i386.c (x86_function_profiler) ... here; fix 64bit support
9045 * beos-elf.h (FUNCTION_PROFILER): Kill.
9046 (MCOUNT_NAME): New.
9047 * freebsd-aout.h (FUNCTION_PROFILER): Kill.
9048 (MCOUNT_NAME): New.
9049 (PROFILE_COUNT_REGISTER): New.
9050 * linux.h (FUNCTION_PROFILER): Kill.
9051 (MCOUNT_NAME): New.
9052 * x86-64.h (FUNCTION_PROFILER): Kill.
9053 (MCOUNT_NAME): New.
9054 * freebsd.h (FUNCTION_PROFILER): Kill.
9055 (MCOUNT_NAME): New.
9056
9057 2002-11-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
9058
9059 * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
9060 FUNCTION_ARG_PASS_BY_REFERENCE): Define.
9061 * config/arm/arm.c (arm_va_arg,
9062 arm_function_arg_pass_by_reference): New.
9063 * config/arm/arm-protos.h: Add prototypes.
9064
9065 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
9066
9067 * gthr-single.h: Fix formatting.
9068
9069 2002-11-14 Zack Weinberg <zack@codesourcery.com>
9070
9071 * tree.c (tree_vec_elt_check_failed): New function.
9072 * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
9073 (TREE_VEC_ELT): Use it.
9074
9075 * tree-inline.c (optimize_inline_calls): Don't copy a
9076 zero-length vector.
9077
9078 2002-11-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
9079
9080 * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
9081
9082 2002-11-14 Jakub Jelinek <jakub@redhat.com>
9083
9084 * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
9085 both operands contain local relocations.
9086 (categorize_decl_for_section): Don't use mergeable sections if
9087 initializer has any relocations.
9088
9089 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
9090
9091 * gthr-vxworks.h: Fix formatting.
9092
9093 2002-11-13 Janis Johnson <janis187@us.ibm.com>
9094
9095 * doc/install.texi (Testing): Document extra Java testing.
9096 * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
9097
9098 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
9099
9100 * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
9101 beginning of the spec.
9102 (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
9103 (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment
9104 regarding problems with global constructors when using GNU ld.
9105
9106 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
9107
9108 * gthr-solaris.h: Fix formatting.
9109
9110 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
9111
9112 * gthr-posix.h: Fix formatting.
9113
9114 2002-11-12 Devang Patel <dpatel@apple.com>
9115 * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
9116 (process_command): Same.
9117 * doc/invoke.texi: Info about these two new options.
9118
9119 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9120
9121 * config/h8300/h8300.md (*andorsi3): New.
9122
9123 2002-11-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9124
9125 * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
9126
9127 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9128
9129 * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
9130 expressions appropriately.
9131
9132 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9133
9134 * gthr-win32.h: Fix formatting.
9135
9136 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9137
9138 * config/h8300/h8300.c (single_one_operand): Correctly compute
9139 mask when mode is SImode.
9140 (single_zero_operand): Likewise.
9141 * config/h8300/h8300.md (two new anonymous insns): New.
9142
9143 2002-11-12 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9144
9145 * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
9146 to that entire project.
9147
9148 2002-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9149
9150 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
9151 directories.
9152
9153 2002-11-11 Zack Weinberg <zack@codesourcery.com>
9154
9155 * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
9156 * doc/invoke.texi: Document them.
9157
9158 * ggc-page.c: Include params.h. Remove definitions of
9159 GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace
9160 GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
9161 (init_gcc): Don't set G.allocated_last_gc here.
9162 (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
9163 PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
9164 perform collection.
9165 * ggc-simple.c: Similarly.
9166 * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
9167 dependencies.
9168
9169 2002-11-11 Kazu Hirata <kazu@cs.umass.edu>
9170
9171 * gthr-dce.h: Fix formatting.
9172
9173 2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9174
9175 PR c/8467
9176 * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
9177 mode of DECL_RTL case.
9178
9179 2002-11-11 Janis Johnson <janis187@us.ibm.com>
9180
9181 * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
9182
9183 Mon Nov 11 12:06:08 CET 2002 Jan Hubicka <jh@suse.cz>
9184
9185 * i386.c (construct_container): Fix handling of SSE_CLASS.
9186
9187 2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
9188
9189 * config/m68k/t-crtstuff (crti.o): Use this...
9190 ($(T)crti.o): ... instead.
9191 (crtn.o): Use this...
9192 ($(T)crtn.o): ... instead.
9193
9194 2002-11-10 Eric Botcazou <ebotcazou@libertysurf.fr>
9195
9196 PR c/8439
9197 * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
9198 if there is something new to be simplified.
9199
9200 2002-11-10 H.J. Lu <hjl@gnu.org>
9201
9202 * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
9203 * expr.c (PUSH_ARGS_REVERSED): Likewise.
9204
9205 * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
9206
9207 2002-11-10 Zack Weinberg <zack@codesourcery.com>
9208
9209 * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
9210 * config/rs6000/linux.h, config/rs6000/linux64.h,
9211 config/rs6000/windiss.h: ... not here.
9212
9213 2002-11-10 Jason Thorpe <thorpej@wasabisystems.com>
9214
9215 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
9216 __ABICALLS__ if TARGET_ABICALLS.
9217
9218 Sun Nov 10 18:49:21 CET 2002 Jan Hubicka <jh@suse.cz>
9219
9220 * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
9221
9222 2002-11-10 Joseph S. Myers <jsm@polyomino.org.uk>
9223
9224 * c-decl.c (grokdeclarator): Make error for duplicate type
9225 qualifiers into a pedwarn, disabled for C99.
9226
9227 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
9228
9229 * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
9230 as FUNCTION_ARG_PASS_BY_REFERENCE.
9231
9232 2002-11-09 Zack Weinberg <zack@codesourcery.com>
9233
9234 * doc/install.texi: Add *-*-vxworks* specific installation
9235 instructions.
9236
9237 * config/vxlib.c: Rewrite using generation numbers to identify
9238 valid TSD keys.
9239
9240 Sat Nov 9 00:10:54 CET 2002 Jan Hubicka <jh@suse.cz>
9241
9242 * i386.c (x86_machine_dependent_reorg): Fix even more side cases.
9243
9244 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9245
9246 * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
9247
9248 * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
9249 (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas.
9250 * pa.c (output_millicode_call): Use symbol difference rather than
9251 $PIC_pcrel$0 when using HP assembler.
9252 * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
9253 not elfos.h (i.e., gas) is being used.
9254 (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
9255 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
9256 ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
9257 ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
9258 ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
9259 using elfos.h.
9260 (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
9261 (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
9262 (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
9263 using elfos.h.
9264 (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9265 BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
9266 (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
9267 Don't define when not using elfos.h.
9268 (ASM_DECLARE_RESULT): Don't define.
9269 * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
9270 doesn't work on hppa64-hp-hpux11.
9271 (hppa*-hp-hpux11): Update.
9272
9273 2002-11-09 Jason Thorpe <thorpej@wasabisystems.com>
9274
9275 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
9276 to the assembler if -mno-abicalls was specified.
9277
9278 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9279
9280 * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
9281 ASM_OUTPUT_DEF): Delete.
9282
9283 2002-11-09 Neil Booth <neil@daikokuya.co.uk>
9284
9285 * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
9286
9287 2002-11-08 Roger Sayle <roger@eyesopen.com>
9288
9289 * real.c (real_sqrt): Update comment with bibliographic reference.
9290
9291 Fri Nov 8 13:33:58 CET 2002 Jan Hubicka <jh@suse.cz>
9292
9293 * i386.md (sse_loadss, sse2_loadsd): Fix expander.
9294
9295 Fri Nov 8 13:25:41 CET 2002 Jan Hubicka <jh@suse.cz>
9296
9297 * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions.
9298
9299 Fri Nov 8 13:01:42 CET 2002 Jan Hubicka <jh@suse.cz>
9300
9301 * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
9302 (expand_builtin): Likewise.
9303 * builtins.def: Add
9304 __builtin_floor, __builtin_floorf, __builtin_floorl
9305 __builtin_ceil, __builtin_ceilf, __builtin_ceill
9306 __builtin_round, __builtin_roundf, __builtin_roundl
9307 __builtin_trunc, __builtin_truncf, __builtin_truncl
9308 __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
9309 * genopinit.c (optabs): Initialize the new optabs.
9310 * optab.c (init_optabs): Likewise.
9311 * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
9312 OTI_round, OTI_nearbyint.
9313 (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
9314 * doc/md.texi: Document new named patterns.
9315 * doc/extend.texi (builtin functions) Document
9316 floor, floorf, floorl, ceil, ceilf,
9317 ceill, round, roundf, roundl, trunc,
9318 truncf, truncl, nearbyint, nearbyintf, nearbyintl.
9319
9320 Fri Nov 8 11:36:11 CET 2002 Jan Hubicka <jh@suse.cz>
9321
9322 * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch.
9323
9324 2002-11-08 Dale Johannesen <dalej@apple.com>
9325
9326 * dbxout.c (dbxout_type): Fix stabs info for vector types.
9327
9328 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
9329
9330 PR preprocessor/8497
9331 PR preprocessor/8501
9332 * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
9333 start a directive. In assembler, #NUM is not a line directive.
9334
9335 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
9336
9337 * cppmain.c (cpp_preprocess_file): Loop to pop any -included
9338 buffers.
9339
9340 2002-11-08 Kazu Hirata <kazu@cs.umass.edu>
9341
9342 * config/h8300/h8300.md (two anonymous test insns): New.
9343
9344 Fri Nov 8 11:20:19 CET 2002 Jan Hubicka <jh@suse.cz>
9345
9346 * jump.c (mark_jump_label): Handle subregs of label_refs.
9347
9348 Thu Nov 7 21:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
9349
9350 * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching.
9351 * i386.c (ix86_expand_fp_movcc): Match the reversed cases.
9352
9353 2002-11-07 David Mosberger <davidm@hpl.hp.com>
9354
9355 * config/ia64/crtend.asm: Include "auto-host.h".
9356 [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
9357 * config/ia64/crtbegin.asm: Similarly.
9358 * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
9359 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
9360
9361 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
9362 * configure.in: Use it if --enable-initfini-array not specified.
9363 * doc/install.texi (Configuration): Document --enable-initfini-array.
9364 * configure, config.in: Rebuild.
9365
9366 2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
9367
9368 * config/arm/arm-protos.h (arm_get_frame_size)
9369 (thumb_get_frame_size): New prototypes.
9370 * config/arm/arm.c (arm_get_frame_size)
9371 (thumb_get_frame_size): New functions.
9372 (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
9373 (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
9374 arm_get_frame_size.
9375 (thumb_expand_prologue, thumb_expand_epilogue): Use
9376 thumb_get_frame_size.
9377 * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
9378 (machine_function): Add frame_size member.
9379 (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
9380
9381 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
9382
9383 * arm.c (bit_count): Make argument unsigned long. Return unsigned.
9384 Adjust code to use portable unsigned bit manipulation.
9385 (insn_flags, tune_flags): Change type to unsigned.
9386 (struct processors): Make flags unsigned long.
9387 (arm_override_options): Change type of count and current_bit_count
9388 to unsigned.
9389
9390 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
9391
9392 * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
9393
9394 Thu Nov 7 15:50:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
9395
9396 * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
9397
9398 Thu Nov 7 11:18:01 CET 2002 Jan Hubicka <jh@suse.cz>
9399
9400 * reg-stack.c (compensate_edge): Fix sanity check.
9401
9402 2002-11-05 Geoffrey Keating <geoffk@apple.com>
9403
9404 * config.gcc: Don't create crtbegin, crtend on Darwin; do create
9405 crt2.o. Rearrange t-darwin makefiles.
9406 * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
9407 * unwind-dw2-fde-darwin.c: New.
9408 * unwind-dw2-fde-glibc.c: Correct comment.
9409 * unwind-dw2-fde.c (__register_frame_info_bases)
9410 [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
9411 (classify_object_over_fdes): Use last_fde.
9412 (add_fdes): Likewise.
9413 (linear_search_fdes): Likewise.
9414 * unwind-dw2-fde.h (struct object)
9415 [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
9416 (last_fde): New.
9417 * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
9418 (ENDFILE_SPEC): No crtend.o.
9419 * config/t-darwin: New.
9420 * config/i386/t-darwin: Delete.
9421 * config/darwin-crt2.c: New.
9422 * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
9423 or config/t-darwin.
9424
9425 2002-11-06 Douglas B Rupp <rupp@gnat.com>
9426
9427 * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
9428 MASK_MS_BITFIELD_LAYOUT
9429 (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
9430 MS bitfields for Objective-C.
9431 (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
9432 defines.
9433
9434 * config/i386/i386.c (ix86_ms_bitfield_layout): New function.
9435 (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
9436 (TARGET_USE_MS_BITFIELD_LAYOUT): Define.
9437
9438 * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
9439 TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
9440 (TARGET_SWITCHES): Add above mask.
9441
9442 * testsuite/gcc.dg/bf-ms-layout.c: New test case.
9443 * testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
9444 * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
9445 flags for interix.
9446
9447 Wed Nov 6 18:54:47 2002 Alexandre Oliva <aoliva@redhat.com>
9448
9449 * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
9450 .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU
9451 assembler.
9452 * config/mips/mips.md (tablejump_internal3): Output .cpadd
9453 before jump on ABI_N32 too.
9454 (tablejump_internal4): Ditto on ABI_64. Increase maximum
9455 length to match.
9456
9457 Wed Nov 6 17:16:48 CET 2002 Jan Hubicka <jh@.suse.cz>
9458
9459 * i386.md (negsf splitter): Accept memory operand in second register.
9460 (abssf/absdf splitters): Simplify
9461 (sse_loadss, sse_loadsd): Turn into expander.
9462
9463 2002-11-06 David Edelsohn <edelsohn@gnu.org>
9464
9465 PR target/8480
9466 * config/rs6000/rs6000.md (movdi_internal64): Discourage
9467 FPR to FPR moves.
9468
9469 2002-11-06 Janis Johnson <janis187@us.ibm.com>
9470
9471 * doc/contrib.texi: Merge in the list from the Java web pages.
9472
9473 2002-11-06 David O'Brien <obrien@FreeBSD.org>
9474
9475 * config/sparc/freebsd: Fix typo.
9476
9477 2002-11-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
9478
9479 * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
9480
9481 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
9482
9483 * config/mips/mips.md (call_value_multiple_internal2): Use dla for
9484 non-SImode addresses.
9485
9486 Tue Nov 5 14:34:36 CET 2002 Jan Hubicka <jh@suse.cz>
9487
9488 * i386.md (float_truncate SSE splitter): Ensure that operand is not
9489 stack register.
9490 (float SSE splitters): Reorder conditional.
9491
9492 2002-11-05 Bob Wilson <bob.wilson@acm.org>
9493
9494 * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
9495
9496 2002-11-05 John David Anglin <dave2hiauly1.hia.nrc.ca>
9497
9498 * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
9499 (STARTFILE_SPEC): Remove p and pg options.
9500
9501 2002-11-05 Andrew Haley <aph@redhat.com>
9502
9503 * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
9504 to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
9505
9506 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
9507
9508 * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
9509 * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
9510
9511 2002-11-04 Zack Weinberg <zack@codesourcery.com>
9512
9513 * gthr-vxworks.h: Rewritten from scratch.
9514 * config/vxlib.c: New file.
9515 * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA.
9516 * config/rs6000/t-vxworks: Add config/vxlib.c to
9517 LIB2FUNCS_EXTRA here too, because of clash with
9518 config/rs6000/t-ppccomm.
9519
9520 2002-11-04 Dale Johannesen <dalej@apple.com>
9521
9522 * doloop.c (doloop_modify_runtime): Fix loop count computation
9523 for unrolled loops.
9524 * loop.c (loop_invariant_p): Support calling from unroller.
9525
9526 2002-11-04 Ulrich Weigand <uweigand@de.ibm.com>
9527
9528 * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
9529 for comparison.
9530
9531 2002-11-04 Aldy Hernandez <aldyh@redhat.com>
9532
9533 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
9534
9535 * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
9536 (CLASS_CANNOT_CHANGE_MODE): Remove.
9537 (CANNOT_CHANGE_MODE_CLASS): New.
9538
9539 * config/alpha/alpha.h: Same.
9540
9541 * config/ia64/ia64.h: Same.
9542
9543 * config/mips/mips.h: Same.
9544
9545 * config/s390/s390.h: Same.
9546
9547 * config/sh/sh.h: Same.
9548
9549 * config/pa/pa64-regs.h: Same.
9550
9551 * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
9552
9553 * config/sh/sh.c (sh_cannot_change_mode_class): New.
9554
9555 * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
9556 prototype.
9557
9558 * config/mips/mips.c (mips_cannot_change_mode_class): New.
9559
9560 * doc/tm.texi (Register Classes): Remove
9561 CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
9562 Document CANNOT_CHANGE_MODE_CLASS.
9563
9564 * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
9565 (push_reload): Same.
9566
9567 * simplify-rtx.c (simplify_subreg): Same.
9568
9569 * reload1.c (choose_reload_regs): Same.
9570
9571 * recog.c (register_operand): Same.
9572
9573 * regrename.c (mode_change_ok): Change to use new
9574 CANNOT_CHANGE_MODE_CLASS infrastructure.
9575
9576 * regclass.c (cannot_change_mode_set_regs): New.
9577 Declare subregs_of_mode.
9578 (regclass): Use subregs_of_mode.
9579 Remove references to reg_changes_mode.
9580 (init_reg_sets_1): Remove class_can_change_mode and
9581 reg_changes_mode code.
9582 (invalid_mode_change_p): New.
9583 (dump_regclass): Use invalid_mode_change_p instead of
9584 class_can_change_mode.
9585 (regclass): Same.
9586 (record_operand_costs): Do not set reg_changes_mode.
9587
9588 * local-alloc.c (struct qty): Remove changes_mode field.
9589 (alloc_qty): Remove changes_mode initialization.
9590 (update_qty_class): Remove set of changes_mode.
9591 (find_free_reg): Use subregs_of_mode.
9592
9593 * global.c (find_reg): Use subregs_of_mode info.
9594
9595 * rtl.h (cannot_change_mode_set_regs): New prototype.
9596 (invalid_mode_change_p): Same.
9597 (REG_CANNOT_CHANGE_MODE_P): New macro.
9598
9599 * flow.c (mark_used_regs): Calculate subregs_of_mode. Remove
9600 REG_CHANGES_MODE.
9601 (life_analysis): Clear subregs_of_mode.
9602
9603 * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
9604 Remove use of CLASS_CANNOT_CHANGE_MODE.
9605 (simplify_set): Same.
9606 (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove
9607 REG_CHANGES_MODE.
9608
9609 * regs.h: Add extern for subregs_of_mode;
9610 Include hard-reg-set and basic-block.
9611 (REG_CHANGES_MODE): Delete.
9612
9613 2002-11-03 Roger Sayle <roger@eyesopen.com>
9614
9615 * real.c (real_sqrt): New function to calculate square roots.
9616 * real.h (real_sqrt): Add function prototype.
9617 * builtins.c (fold_builtin): Fold sqrt of constant argument.
9618 * simplify-rtx.c (simplify_unary_operation): Simplify sqrt
9619 of constant argument.
9620
9621 2002-11-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
9622
9623 * jump.c (never_reached_warning): Don't set contains_insn until the
9624 first line note is seen.
9625
9626 2002-11-03 David Edelsohn <edelsohn@gnu.org>
9627
9628 * config/rs6000/rs6000.md (movti_string): Use string instructions.
9629
9630 2002-11-03 Roger Sayle <roger@eyesopen.com>
9631
9632 PR c/7128
9633 * c-typeck.c (c_expand_asm_operands): Defend against
9634 error_mark_nodes in the output argument to avoid ICE.
9635
9636 2002-11-03 Eric Botcazou <ebotcazou@libertysurf.fr>
9637
9638 PR middle-end/8408
9639 * genrecog.c (preds): Handle ADDRESSOF.
9640 (validate_pattern): Mark it as an lvalue.
9641
9642 2002-11-02 David Edelsohn <edelsohn@gnu.org>
9643
9644 * config/rs6000/rs6000.c (rs6000_override_options): Use string
9645 instructions when optimizing for size.
9646
9647 2002-11-02 Kazu Hirata <kazu@cs.umass.edu>
9648
9649 * config/h8300/h8300.h: Fix comment typos.
9650 * config/h8300/h8300.md: Likewise.
9651 * config/h8300/lib1funcs.asm: Likewise.
9652
9653 2002-11-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9654
9655 Revert this change:
9656
9657 *doc/install.texi (Installing GCC: Configuration): Clarify
9658 the only supported ways to configure gcc.
9659
9660 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
9661
9662 * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
9663 instead of 'O' for the constraint for the second operand.
9664
9665 2002-11-01 Mark Mitchell <mark@codesourcery.com>
9666
9667 PR c++/8391
9668 * toplev.c (rest_of_compilation): Do not refuse to output code for
9669 an inline function in a local class.
9670
9671 2002-11-01 David O'Brien <obrien@FreeBSD.org>
9672
9673 * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
9674 (TRANSFER_FROM_TRAMPOLINE): Reformat.
9675 Add comment.
9676
9677 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
9678
9679 * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
9680
9681 2002-11-01 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
9682
9683 * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
9684
9685 2002-11-01 Steve Ellcey <sje@cup.hp.com>
9686
9687 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
9688 (MASK_INLINE_DIV_THR): Remove.
9689 (TARGET_INLINE_DIV_LAT): Remove.
9690 (TARGET_INLINE_DIV_THR): Remove.
9691 (TARGET_INLINE_DIV): Remove.
9692 (MASK_INLINE_FLOAT_DIV_LAT): New macro.
9693 (MASK_INLINE_FLOAT_DIV_THR): New macro.
9694 (MASK_INLINE_INT_DIV_LAT): New macro.
9695 (MASK_INLINE_INT_DIV_THR): New macro.
9696 (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
9697 (TARGET_INLINE_FLOAT_DIV_THR): New macro.
9698 (TARGET_INLINE_INT_DIV_LAT): New macro.
9699 (TARGET_INLINE_INT_DIV_THR): New macro.
9700 (TARGET_INLINE_FLOAT_DIV): New macro.
9701 (TARGET_INLINE_INT_DIV): New macro.
9702 * config/ia64/ia64.md (divsi3): Change to use new macros.
9703 (modsi3): Ditto.
9704 (udivsi3): Ditto.
9705 (umodsi3): Ditto.
9706 (divsi3_internal): Ditto.
9707 (divdi3): Ditto.
9708 (moddi3): Ditto.
9709 (udivdi3): Ditto.
9710 (umoddi3): Ditto.
9711 (divdi3_internal_lat): Ditto.
9712 (divdi3_internal_thr): Ditto.
9713 (divsf3): Ditto.
9714 (divsf3_internal_lat): Ditto.
9715 (divsf3_internal_thr): Ditto.
9716 (divdf3): Ditto.
9717 (divdf3_internal_lat): Ditto.
9718 (divdf3_internal_thr): Ditto.
9719 (divtf3): Ditto.
9720 (divtf3_internal_lat): Ditto.
9721 (divtf3_internal_thr): Ditto.
9722 * config/ia64/ia64.c (ia64_override_options): Change
9723 to check new macros for conflicts in settings.
9724 * doc/invoke.texi (-minline-divide-min-latency): Remove.
9725 (-minline-divide-max-throughput): Remove.
9726 (-minline-float-divide-min-latency): New.
9727 (-minline-float-divide-max-throughput): New.
9728 (-minline-int-divide-min-latency): New.
9729 (-minline-int-divide-max-throughput): New.
9730
9731 2002-11-01 Richard Earnshaw (rearnsha@arm.com)
9732
9733 PR target/7856
9734 * arm.c (use_return_insn): Don't use a return insn if there are
9735 saved integer regs, but LR is not one of them.
9736
9737 Fri Nov 1 10:33:15 CET 2002 Jan Hubicka <jh@suse.cz>
9738
9739 * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
9740 * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
9741
9742 Thu Oct 31 18:20:50 CET 2002 Jan Hubicka <jh@suse.cz>
9743
9744 * i386.md (sse_loadss, sse_loadsd): Canonicalize; add expander
9745 (movps, movpd splitters): Use canonical form.
9746 (movv2di): Fix merge problem.
9747
9748 Thu Oct 31 16:22:31 CET 2002 Jan Hubicka <jh@suse.cz>
9749
9750 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
9751
9752 2002-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
9753
9754 PR optimization/6162
9755 * doc/md.texi: Document restriction on commutative operand
9756 specification.
9757
9758 2002-10-31 Eric Christopher <echristo@redhat.com>
9759
9760 * explow.c (convert_memory_address): Use shallow_copy_rtx.
9761
9762 2002-10-31 Steve Ellcey <sje@cup.hp.com>
9763
9764 * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
9765
9766 2002-10-31 Steve Ellcey <sje@cup.hp.com>
9767
9768 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
9769
9770 Thu Oct 31 Dale Johannesen <dalej@apple.com>
9771
9772 * config/rs6000/darwin.h: Correct formatting in previous.
9773
9774 Thu Oct 31 Dale Johannesen <dalej@apple.com>
9775
9776 * config/rs6000/darwin.h: Enable -falign-xxx options.
9777
9778 Thu Oct 31 18:08:00 CET 2002 Jan Hubicka <jh@suse.cz>
9779
9780 * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
9781 flag_asynchronous_unwind_tables, flag_pcc_struct_return.
9782 * i386.c (optimization_options): Set flag_omit_frame_pointer,
9783 flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
9784 Do not clear -momit-leaf-frame-pointer when profiling.
9785 (ix86_frame_pointer_required): Frame pointer is always required when
9786 profiling.
9787
9788 Thu Oct 31 16:09:44 CET 2002 Jan Hubicka <jh@suse.cz>
9789
9790 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
9791
9792 Thu Oct 31 12:45:55 2002 J"orn Rennecke <joern.rennecke@superh.com>
9793
9794 * sh.h (binary_logical_operator): Declare.
9795 * sh.c (binary_logical_operator): New function.
9796 * sh.md (xordi3+1): New combiner splitter pattern.
9797
9798 2002-10-31 David O'Brien <obrien@FreeBSD.org>
9799
9800 * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
9801 __enable_execute_stack function.
9802
9803 2002-10-30 Zack Weinberg <zack@codesourcery.com>
9804
9805 * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h,
9806 gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor.
9807 * unwind-sjlj.c (fc_key_dtor): Delete.
9808 (fc_key_init): Adjust __gthread_key_create call to match.
9809
9810 2002-10-30 Aldy Hernandez <aldyh@redhat.com>
9811
9812 * c-common.c: Add GTY to vector_type_node_list.
9813
9814 2002-10-30 John David Anglin <dave@hiauly.hia.nrc.ca>
9815
9816 * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
9817 * pa-protos.h (attr_length_millicode_call, attr_length_call,
9818 pa_init_machine_status): Declare new global functions.
9819 * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
9820 implement new functions.
9821 (attr_length_millicode_call, attr_length_call): Implement.
9822 (total_code_bytes): Change type to long.
9823 (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
9824 Reset counter if flag_function_sections.
9825 (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
9826 (output_cbranch): Move call to gen_label_rtx.
9827 (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
9828 delay slot in all variants, shorten pc-relative calls.
9829 (output_call): Rewrite adding long TARGET_64BIT call, improved delay
9830 slot usage and exposure, various new call variants, and shortened
9831 sequences for some variants on TARGET_PA_20.
9832 Miscellaneous format changes.
9833 * pa.h (total_code_bytes): Change type to long.
9834 (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
9835 TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
9836 (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
9837 (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
9838 LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
9839 stores on TARGET_ELF32.
9840 *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
9841 (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
9842 canonicalize_funcptr_for_compare expanders): Calculate attribute length
9843 attr_length_millicode_call().
9844 (call_internal_symref, call_value_internal_symref): Clobber register 1.
9845 Calculate attribute length using attr_length_call().
9846 (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
9847 to delay slot.
9848 (sibcall, sibcall_value): Rewrite.
9849 (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
9850 register 1. Use attr_length_call().
9851 (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
9852 New patterns.
9853 (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
9854 * som.h (MEMBER_TYPE_FORCES_BLK): Define.
9855 * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
9856 * doc/invoke.texi (mlong-calls): Document.
9857
9858 2002-10-30 Roger Sayle <roger@eyesopen.com>
9859
9860 * fold-const.c (fold_binary_op_with_conditional_arg): Improve
9861 handling of cases where one or both branches of the conditional
9862 have void type, i.e. throw an exception or don't return.
9863 (fold): Only apply (and undo) type conversion to the non-void
9864 branches of a COND_EXPR.
9865
9866 2002-10-30 Mark Mitchell <mark@codesourcery.com>
9867
9868 PR c++/8333
9869 * varasm.c (asm_output_aligned_bss): Do not call
9870 ASM_GLOBALIZE_LABEL.
9871
9872 2002-10-30 David Edelsohn <edelsohn@gnu.org>
9873 Torbjorn Granlund <tege@swox.com>
9874
9875 * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
9876 for addressibility.
9877 (load_toc_v4_PIC_1b): Same.
9878
9879 2002-10-30 Kazu Hirata <kazu@cs.umass.edu>
9880
9881 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
9882 Truncate the addresses for H8/300 using HImode.
9883
9884 Tue Oct 29 23:28:10 CET 2002 Jan Hubicka <jh@suse.cz>
9885
9886 * i386.md (negdf splitter): Fix construction of the constant.
9887
9888 Tue Oct 29 20:47:06 CET 2002 Jan Hubicka <jh@suse.cz>
9889
9890 * i386.md (negsf, negdf): Reorganize to use vector modes
9891 for SSE variants.
9892 (abssf, absdf): Use force_reg.
9893 (movv4sf, movv2df): New splitters.
9894 * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand
9895 * i386.c (zero_extended_scalar_load_operand
9896
9897 * i386-protos.h (ix86_expand_call): Update prototype.
9898 * i386.c (ix86_function_ok_for_sibcall): Handle 64bit
9899 (ix86_expand_call): Use r11 for indirect sibcalls.
9900 * i386.md (call, call_value, untyped_call, call_value_pop):
9901 update x86_expand_call call.
9902 (sibcall, sibcall_value): new patterns
9903 (call_rex64, call_value_rex64): Do not accept sibcalls.
9904 (sibcall_rex64, sibcall_value_rex64,
9905 sibcall_rex64_v, sibcall_value_rex64_v): New.
9906
9907 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
9908
9909 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
9910 before final pass.
9911
9912 2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
9913
9914 * toplev.c (rest_of_type_compilation): Return early in case of
9915 errors.
9916 (check_global_declarations): Don't call debug_hooks->global_decl
9917 in case of errors.
9918
9919 2002-10-28 Andreas Bauer <baueran@in.tum.de>
9920
9921 * doc/c-tree.texi (Tree overview): Fix typos.
9922
9923 2002-10-29 Phil Edwards <pme@gcc.gnu.org>
9924
9925 * Makefile.in (gnucompare*): Only record bad comparisons
9926 if there really was a bad comparison.
9927
9928 Tue Oct 29 19:32:16 CET 2002 Jan Hubicka <jh@suse.cz>
9929
9930 * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
9931 * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
9932 * md.texi (machine dependent constraints): Document 'C'
9933
9934 * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
9935
9936 * i386.c (ix86_expand_vector_move): Fix.
9937
9938 * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
9939 * i386.md (sse2_maskmovdqu_rex64): New pattern
9940
9941 PR target/8322
9942 * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
9943 (ix86_init_mmx_sse_builtins): Fix type.
9944
9945 2002-10-29 Jason Thorpe <thorpej@wasabisystems.com>
9946
9947 * gthr-posix.h: Include <unistd.h> for feature tests.
9948 (sched_get_priority_max, sched_get_priority_min)
9949 (pthread_getschedparam, pthread_setschedparam): Only use
9950 if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
9951 (__gthread_objc_thread_set_priority): Don't treat all nonzero
9952 returns from sched_get_priority_max and sched_get_priority_min
9953 as an error.
9954
9955 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
9956
9957 * config/h8300/h8300.h (TARGET_DEFAULT): Make it
9958 MASK_QUICKCALL.
9959
9960 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
9961
9962 * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
9963 (h8300_tiny_constant_address_p): Likewise.
9964 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
9965 h8300_eightbit_constant_address_p.
9966 (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
9967 * config/h8300/h8300-protos.h: Add the prototypes for the two
9968 new functions.
9969
9970 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
9971
9972 * reload1.c (update_eliminables): Unconditionally check if
9973 frame_pointer_needed has changed.
9974
9975 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
9976
9977 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
9978 before final pass.
9979
9980 2002-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
9981
9982 PR optimization/8334
9983 * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
9984 check for zero operands explicitly.
9985
9986 2002-10-29 Richard Sandiford <rsandifo@redhat.com>
9987
9988 * config/mips/mips.md (extv, extzv, insv): Set size of referenced
9989 memory after adjusting to BLKmode.
9990
9991 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
9992
9993 * config/h8300/h8300.h (MASK_*): New.
9994 (TARGET_*): Use MASK_*.
9995
9996 2002-10-28 Zack Weinberg <zack@codesourcery.com>
9997
9998 * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas.
9999 * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks,
10000 config/rs6000/vxworks.h: New files.
10001 * config/rs6000/sysv4.h: Rip out -mvxworks and all related code.
10002
10003 * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*,
10004 i?86-wrs-vxworks*, i960-wrs-vxworks* [all],
10005 m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*,
10006 powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all],
10007 sparc-*-vxsim*): Delete stanzas.
10008 * gthr-vxworks.h: Rip out all substantive code and just
10009 include gthr-single.h.
10010
10011 * config/alpha/vxworks.h, config/arm/vxarm.h,
10012 config/i386/vxi386.h, config/i960/t-vxworks960,
10013 config/i960/vx960-coff.h, config/i960/vx960.h,
10014 config/m68k/t-vxworks68, config/m68k/vxm68k.h,
10015 config/mips/vxworks.h, config/rs6000/vxppc.h,
10016 config/sparc/t-vxsparc, config/sparc/t-vxsparc64,
10017 config/sparc/vxsim.h, config/sparc/vxsparc.h,
10018 config/sparc/vxsparc64.h: Delete files.
10019
10020 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
10021
10022 * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
10023 tm_defines if pthreads are enabled.
10024 * config/netbsd.h (LIB_SPEC): Only support the -pthread option
10025 if NETBSD_ENABLE_PTHREADS is defined.
10026
10027 2002-10-28 Kazu Hirata <kazu@cs.umass.edu>
10028
10029 * ChangeLog.1: Fix typos.
10030 * cse.c: Fix a comment typo.
10031 * reload1.c: Likewise.
10032
10033 2002-10-27 Hans-Peter Nilsson <hp@bitrange.com>
10034
10035 * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
10036 * fixinc/tests/base/_G_config.h: New file.
10037
10038 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
10039
10040 * combine.c: Fix comment formatting.
10041 * loop.c: Likewise.
10042 * real.c: Likewise.
10043 * regclass.c: Likewise.
10044 * regmove.c: Likewise.
10045 * regrename.c: Likewise.
10046 * reg-stack.c: Likewise.
10047 * reload1.c: Likewise.
10048 * reload.c: Likewise.
10049 * reload.h: Likewise.
10050 * unroll.c: Likewise.
10051
10052 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
10053
10054 * reload1.c (reload): Fix a comment typo.
10055
10056 Sun Oct 27 10:15:24 CET 2002 Jan Hubicka <jh@suse.cz>
10057
10058 * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
10059
10060 2002-10-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
10061
10062 * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
10063 * dwarf2out.c: Include hashtab.h.
10064 (is_main_source): New static variable.
10065 (attr_checksum, die_checksum): Modified to handle die references.
10066 (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
10067 unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
10068 record_comdat_symbol_number): New static functions.
10069 (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
10070 mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
10071 * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
10072 declarations added.
10073
10074 2002-10-26 Kazu Hirata <kazu@cs.umass.edu>
10075
10076 * config/h8300/h8300.c (initial_offset): Change to
10077 h8300_initial_elimination_offset.
10078 * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
10079 h8300_initial_elimination_offset.
10080 * config/h8300/h8300-protos.h: Update the prototype.
10081
10082 2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
10083
10084 * config/mmix/mmix.h (LIBCALL_VALUE): Use
10085 MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
10086 (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
10087 * config/mmix/mmix.c (mmix_function_value_regno_p): New.
10088 * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
10089 and RTX_CODE.
10090 (mmix_function_value_regno_p): Declare.
10091
10092 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
10093 invalid for floating point mode result, with fix.
10094
10095 Fri Oct 25 00:04:21 2002 Alexandre Oliva <aoliva@redhat.com>
10096
10097 * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld.
10098 (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET.
10099 (stage1_build): Likewise.
10100
10101 2002-10-25 Mike Stump <mrs@apple.com>
10102
10103 Fixes gcc.dg/warn-1.c.
10104 * c-typeck.c (warn_for_assignment): Don't print argument number,
10105 if zero.
10106
10107 Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka <jh@suse.cz>
10108
10109 * toplev.c (dump_file_index): Add DFI_ce3.
10110 (dump_file_info): Likewise.
10111 (rest_of_compilation): Run first ifcvt pass before tracer.
10112
10113 2002-10-25 Steve Ellcey <sje@cup.hp.com>
10114
10115 * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
10116
10117 2002-10-25 Richard Henderson <rth@redhat.com>
10118
10119 * real.c (real_to_decimal): If the >1 tens reduction loop results
10120 in a negative exponent, fall into the <1 pten computation.
10121
10122 2002-10-25 Zack Weinberg <zack@codesourcery.com>
10123
10124 PR middle-end/6994
10125 * c-objc-common.c (inline_forbidden_p): Can not inline
10126 functions containing structures or unions containing VLAs.
10127 * tree-inline.c (walk_tree): For all class 't' nodes, walk
10128 TYPE_SIZE and TYPE_SIZE_UNIT.
10129 (copy_tree_r): Copy types if they are variably modified.
10130
10131 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
10132
10133 * config/s390/s390.md: Remove old-style peepholes.
10134
10135 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
10136
10137 * config/s390/s390.c (s390_decompose_address): Do not range check the
10138 displacement if base or index is the argument pointer register.
10139
10140 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
10141
10142 PR other/3337
10143 PR bootstrap/6763
10144 PR bootstrap/8122
10145 * fixinc/inclhack.def (libc1_G_va_list): New fix.
10146 * fixinc/fixincl.x: Regenerate.
10147 * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
10148 ifndef IN_LIBGCC2. Wrap it together with signal.h and
10149 sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
10150 * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
10151 * config.in, configure: Regenerate.
10152
10153 2002-10-24 Igor Shevlyakov <igor@microunity.com>
10154
10155 * varasm.c (struct rtx_const): Array size 16 for V16QImode.
10156
10157 2002-10-24 Richard Henderson <rth@redhat.com>
10158
10159 * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
10160
10161 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
10162
10163 * config/h8300/h8300.c (initial_offset): Simplify by using
10164 round_frame_size.
10165
10166 2002-10-24 Marek Michalkiewicz <marekm@amelek.gda.pl>
10167
10168 * doc/install.texi (avr): Update required binutils version.
10169
10170 2002-10-24 Theodore A. Roth <troth@openavr.org>
10171
10172 * doc/install.texi: Point avr users at more up-to-date information.
10173
10174 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
10175
10176 * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
10177 to pull operands out of the literal pool where possible.
10178
10179 2002-10-24 Denis Chertykov <denisc@overta.ru>
10180
10181 * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
10182
10183 2002-10-24 Steve Ellcey <sje@cup.hp.com>
10184
10185 * expr.c (convert_move): If unsignedp is less then zero there
10186 is no equivalent code.
10187
10188 2002-10-24 Zack Weinberg <zack@codesourcery.com>
10189
10190 * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
10191
10192 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
10193
10194 * config/s390/s390.h: Rework comments; re-sort target macro definitions
10195 according to the sequence they are defined in the manual.
10196 (POINTER_BOUNDARY): Remove.
10197
10198 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
10199
10200 * config/h8300/h8300.c (round_frame_size): Replace 8 with
10201 BITS_PER_UNIT.
10202
10203 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
10204
10205 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
10206 64-bit safe.
10207 (TINY_CONSTANT_ADDRESS_P): Likewise.
10208
10209 2002-10-24 Richard Henderson <rth@redhat.com>
10210
10211 * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
10212 (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
10213 vcall offset.
10214
10215 2002-10-24 Richard Henderson <rth@redhat.com>
10216
10217 PR opt/7944
10218 * reload.c (find_reloads_toplev): Mode of X is not important
10219 when simplifying subregs of constants.
10220
10221 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
10222
10223 * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
10224 MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
10225 * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
10226 (override_options): Base default setting of MASK_SOFT_FLOAT on -march
10227 if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
10228
10229 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
10230
10231 * optabs.c (expand_binop): Don't reuse the shift target in the
10232 middle of shift sequences.
10233
10234 Wed Oct 23 22:48:44 CEST 2002 Jan Hubicka <jh@suse.cz>
10235
10236 * i386.md (abs splitters): Do not produce nested subregs.
10237
10238 Wed Oct 23 12:42:32 CEST 2002 Jan Hubicka <jh@suse.cz>
10239
10240 * i386.md (movti_rex64): Fix constraints.
10241
10242 Wed Oct 23 12:01:21 CEST 2002 Jan Hubicka <jh@suse.cz>
10243
10244 * i386.md (abssf,absdf): Use vector operands for SSE
10245 (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for
10246 vector operand.
10247
10248 2002-10-23 Ziemowit Laski <zlaski@apple.com>
10249
10250 * objc/objc-act.c (get_static_reference): Remove unneeded
10251 TYPE_BINFO initialization.
10252 (get_object-reference): Likewise.
10253 (build_constructor): Tighten precondition check.
10254 (finish_message_expr): Likewise.
10255
10256 2002-10-23 Jakub Jelinek <jakub@redhat.com>
10257
10258 * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
10259 after CONST test.
10260
10261 2002-10-23 Steve Ellcey <sje@cup.hp.com>
10262
10263 * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
10264 in HFAs.
10265
10266 2002-10-23 Richard Henderson <rth@redhat.com>
10267
10268 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
10269 (alpha_output_mi_thunk_osf): Handle vcall_offset.
10270
10271 2002-10-23 Zack Weinberg <zack@codesourcery.com>
10272
10273 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
10274 var_mod_type_p.
10275 * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
10276 hook_tree_bool_false.
10277
10278 * tree.c (variably_modified_type_p): Moved here from
10279 cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
10280 language-specific cases. Due to this, must weaken some 'if
10281 and only if' checks to merely 'if'.
10282 * tree.h: Prototype variably_modified_type_p.
10283
10284 * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
10285
10286 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
10287
10288 * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
10289 * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
10290
10291 * config/s390/s390-protos.h (fp_operand): Remove.
10292 * config/s390/s390.c (fp_operand): Remove.
10293 * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
10294 ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
10295 ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
10296 (movdi_31, movdf_31 splitters): Likewise.
10297
10298 * config/s390/s390.h (IEEE_FLOAT): Remove.
10299 (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
10300 (INT_REGNO_P): Rename to ...
10301 (GENERAL_REGNO_P): ... this.
10302 (FLOAT_REGNO_P): Rename to ...
10303 (FP_REGNO_P): ... this.
10304 (ADDR_REGNO_P): New macro.
10305 (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
10306 (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
10307 (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
10308 (HARD_REGNO_NREGS): Adapt to macro renaming.
10309 (HARD_REGNO_MODE_OK): Likewise.
10310
10311 2002-10-23 David Edelsohn <edelsohn@gnu.org>
10312 Geoff Keating <geoffk@apple.com>
10313
10314 * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
10315 (rs6000_memory_move_cost): New function.
10316 * config/rs6000/rs6000-protos.h: Declare them.
10317 * config/rs6000/rs6000.h: Use them.
10318
10319 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
10320
10321 * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
10322 inlining it into other libgcc2 routines.
10323 (__udivmoddi4): Likewise.
10324
10325 2002-10-22 Nathanael Nerode <neroden@gcc.gnu.org>
10326
10327 * doc/sourcebuild.texi (Test Suites): Improve.
10328
10329 2002-10-22 Stan Shebs <shebs@apple.com>
10330
10331 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
10332 case for Darwin.
10333
10334 2002-10-22 Jim Wilson <wilson@redhat.com>
10335
10336 * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
10337
10338 Wed Oct 23 01:52:36 CEST 2002 Jan Hubicka <jh@suse.cz>
10339
10340 PR other/8289
10341 * xmmintrin.h: Add const to the argument of loads.
10342
10343 * i386.md (pushv2di): New pattern.
10344 PR target/6890
10345 * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
10346
10347 2002-10-22 Richard Henderson <rth@redhat.com>
10348
10349 * target.h (gcc_target.asm_out): Merge output_mi_thunk and
10350 output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk.
10351 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
10352 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
10353 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10354 (TARGET_ASM_OUT): Update.
10355 * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
10356 (hook_bool_tree_hwi_hwi_tree_true): New.
10357 (default_can_output_mi_thunk_no_vcall): New.
10358 * hooks.h: Declare them.
10359 * system.h (ASM_OUTPUT_MI_THUNK): Poison.
10360
10361 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10362 (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
10363 * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
10364 config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
10365 config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
10366 config/stormy16/stormy16.c: Similarly.
10367
10368 * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
10369 Handle 64-bit properly. Streamline.
10370 (x86_output_mi_vcall_thunk): Remove.
10371 (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
10372 (x86_can_output_mi_thunk): New.
10373 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
10374 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10375 (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
10376
10377 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
10378 output_mi_thunk; make static; always use function_section.
10379 (TARGET_ASM_OUTPUT_MI_THUNK): New.
10380 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10381 (rs6000_ra_ever_killed): Test no_new_pseudos not
10382 targetm.asm_out.output_mi_thunk in conjunction with thunks.
10383 * config/rs6000/rs6000-protos.h: Update.
10384 * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
10385 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
10386 xcoffout_declare_function when using rs6000_output_mi_thunk.
10387
10388 * config/s390/s390.c (s390_output_mi_thunk): Rename from
10389 s390_output_mi_vcall_thunk.
10390 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
10391 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10392
10393 * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
10394 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10395 * config/vax/vax-protos.h: Update.
10396 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
10397
10398 Wed Oct 23 00:33:11 CEST 2002 Jan Hubicka <jh@suse,cz>
10399
10400 * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
10401 * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
10402 * i386.md (movti_internal): Use 'C'
10403
10404 * xmmintrin.h (_mm_cmplt_epi*): New.
10405
10406 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
10407
10408 * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
10409 ("*movdf_64"): Likewise.
10410 ("*lshrdi3_64"): Likewise.
10411 ("blockage"): Add length attribute.
10412 ("lit"): Likewise.
10413
10414 Tue Oct 22 23:51:34 CEST 2002 Jan Hubicka <jh@suse.cz>
10415
10416 * i386.md: FIx typo.
10417 (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
10418 (sse2_umulv2siv2di3): Fix predicate.
10419 (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
10420 lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
10421 * xmmintrin.h (_mm_mul_epu16): Rename to...
10422 (_mm_mul_epu32): This one.
10423 (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
10424
10425 (contains_128bit_aligned_vector_p): Undo accidental checkin.
10426
10427 2002-10-22 Eric Christopher <echristo@redhat.com>
10428
10429 * config/sparc/sparc.h: Add #error.
10430
10431 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
10432
10433 * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
10434 [s390x-*-linux*]: Likewise.
10435 * config/s390/t-linux: Remove.
10436 * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
10437
10438 Tue Oct 22 19:07:03 CEST 2002 Jan Hubicka <jh@suse.cz>
10439
10440 * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
10441 (ix86_expand_builtin): Fix MASKMOVDQU expasion.
10442 * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
10443 * i386.md (mmx_punpck?dq): Simplify.
10444 (sse2_pubpcklqdq): Fix.
10445 (sse2_pubpckhqdq): New.
10446 * xmmintrin.h (_mm_unpackhi_epi32): New.
10447
10448 * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
10449 (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
10450
10451 2002-10-22 Nathan Sidwell <nathan@codesourcery.com>
10452
10453 PR c++/7209
10454 * fold_const.c (fold_binary_op_with_conditional_arg): Always
10455 build compound_expr if we used save_expr.
10456
10457 2002-10-22 Alan Modra <amodra@bigpond.net.au>
10458
10459 * output.h (SECTION_NOTYPE): Define.
10460 * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
10461 init array sections.
10462 (default_elf_asm_named_section): Mind SECTION_NOTYPE.
10463 * config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
10464 merge TLS support.
10465
10466 2002-10-21 Richard Henderson <rth@redhat.com>
10467
10468 * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at
10469 the function type, not the return type.
10470
10471 2002-10-21 Richard Henderson <rth@redhat.com>
10472
10473 * real.c (sticky_rshift_significand): Return inexact, don't
10474 or it in immediately.
10475 (sub_significands): Accept incomming carry.
10476 (div_significands, rtd_divmod): Update for sub_significands change.
10477 (round_for_format): Update for sticky_rshift_significand change.
10478 (do_add): Don't involve the inexact bit in addition, do give the
10479 inexact bit as the subtraction carry-in.
10480 (encode_internal, decode_internal, real_internal_format): New.
10481 * real.h (real_internal_format): Declare.
10482
10483 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
10484
10485 * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
10486 don't define sdiv_qrnnd.
10487
10488 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
10489
10490 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
10491 using IN_RANGE.
10492 (TINY_CONSTANT_ADDRESS_P): Likewise.
10493
10494 Tue Oct 22 00:04:20 CEST 2002 Jan Hubicka <jh@suse.cz>
10495
10496 * i386.c (builtin_description): Add punpcklqdq and movdq2q
10497 (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
10498 v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
10499 void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
10500 __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
10501 __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
10502 __builtin_ia32_setzero128.
10503 (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
10504 IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
10505 IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
10506 * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
10507 IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
10508 IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
10509 IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
10510 * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
10511 sse2_movq): New patterns.
10512 (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
10513 * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
10514 _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
10515 _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
10516 _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
10517 _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
10518 _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
10519 (_mm_insert_epi16): Fix.
10520
10521 2002-10-21 Dale Johannesen <dalej@apple.com>
10522
10523 * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
10524 unsafe math reversals correctly for RTL generation.
10525 (output_cbranch): Replace rs6000_reverse_condition call
10526 by its former definition.
10527
10528 2002-10-21 Jakub Jelinek <jakub@redhat.com>
10529
10530 * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
10531 argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
10532 from constant pool or LABEL_REFs as sign extended if allow_rip.
10533 Change all +-1GB limits to +-16MB.
10534 (x86_64_general_operand, x86_64_szext_general_operand,
10535 x86_64_nonmemory_operand, x86_64_movabs_operand,
10536 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
10537 legitimate_address_p, ix86_expand_int_movcc): Update callers.
10538 (local_symbolic_operand): Don't allow offsets bigger than +-16MB
10539 in CM_SMALL_PIC model.
10540 (legitimate_pic_address_disp_p): Don't check offsets before
10541 calling local_symbolic_operand.
10542 (legitimize_pic_address): Force offsets bigger than +-16MB into
10543 register.
10544 * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
10545 * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
10546 prototype.
10547
10548 * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
10549 Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
10550 * configure: Rebuilt.
10551 * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
10552 SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
10553 UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
10554 (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
10555 -fpic.
10556 (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
10557 non-pic code if TARGET_64BIT.
10558 (legitimize_address): Generate 64-bit TLS sequences.
10559 (output_pic_addr_const): Support x86-64 TLS operators.
10560 (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
10561 (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
10562 Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
10563 (output_addr_const_extra): Support x86-64 TLS operators.
10564 (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
10565 (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
10566 unconditionally.
10567 * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
10568 (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
10569 (*tls_global_dynamic_sun): Renamed to...
10570 (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
10571 (tls_global_dynamic): Renamed to...
10572 (tls_global_dynamic_32): ... this.
10573 (tls_global_dynamic_64, *tls_global_dynamic_64): New.
10574 (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
10575 (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
10576 (*tls_local_dynamic_base_dynamic_sun): Renamed to...
10577 (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
10578 (tls_local_dynamic_base_dynamic): Renamed to...
10579 (tls_local_dynamic_base_dynamic_32): ... this.
10580 (tls_local_dynamic_base_dynamic_64,
10581 *tls_local_dynamic_base_dynamic_64): New.
10582 (*tls_local_dynamic_once): Renamed to...
10583 (*tls_local_dynamic_32_once): ... this.
10584
10585 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
10586
10587 * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
10588 __divdi3, __umoddi3, or __moddi3.
10589
10590 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
10591
10592 * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
10593 instead of just opt_index as switch expression.
10594
10595 * calls.c (store_one_arg): Change type of 'excess_align'
10596 to unsigned int.
10597
10598 * profile.c (output_gcov_string): Change type of 'temp'
10599 to size_t.
10600
10601 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
10602
10603 * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
10604 (__fixunssfdi, __fixsfdi): Likewise.
10605 * config/s390/s390.c (s390_single_hi): Initialize 'value'.
10606 (s390_single_qi): Likewise.
10607 (s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
10608 unsigned comparison warning.
10609 (s390_return_addr_rtx): New function.
10610 * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
10611 * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
10612 (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
10613
10614 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
10615
10616 * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
10617 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
10618 (s390_output_mi_thunk): Remove.
10619 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
10620
10621 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
10622
10623 * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
10624
10625 2002-10-20 Zack Weinberg <zack@codesourcery.com>
10626
10627 * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an
10628 inverted test in the conditional determining the possibility
10629 of sibcalls in PIC mode.
10630
10631 2002-10-20 Richard Henderson <rth@redhat.com>
10632
10633 * target.h (struct gcc_target): Line wrap.
10634
10635 * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
10636 (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
10637 * config/alpha/alpha.h: ... not here.
10638 * config/alpha/alpha-protos.h: Update.
10639
10640 * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
10641 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
10642 config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
10643 config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
10644 config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
10645 config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
10646 config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
10647 config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
10648 config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
10649 config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
10650 config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
10651 config/sparc/openbsd.h, config/sparc/sparc-protos.h,
10652 config/sparc/sparc.c, config/sparc/sparc.h,
10653 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
10654 config/stormy16/stormy16.h: Similarly.
10655
10656 * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
10657 selection logic from call patterns.
10658
10659 2002-10-20 Mark Mitchell <mark@codesourcery.com>
10660
10661 * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
10662
10663 2002-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
10664
10665 PR other/8202
10666 * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
10667 expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
10668 * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
10669 * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
10670
10671 2002-10-20 Roger Sayle <roger@eyesopen.com>
10672
10673 PR c/761
10674 * toplev.c (flag_unsafe_profile_arcs): Remove.
10675 (flag_bounded_pointers): Remove.
10676 (flag_bounds_check): Correct comments.
10677 (lang_independent_options): Remove -funsafe-profile-arcs and
10678 -fbounded-pointers. Correct -fbounds-check comments.
10679
10680 * flags.h: Correct flag_schedule_interblock comments.
10681 (flag_bounded_pointers): Remove prototype.
10682 (flag_bounds_check): Correct comments.
10683
10684 * c-opts.c (c_common_init_options): No need to mark
10685 flag_bounds_check as unspecified.
10686 (c_common_post_options): And no need to set it from
10687 flag_bounded_pointers if its still unspecified.
10688
10689 * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
10690 Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
10691 -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
10692 -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
10693
10694 Sat Oct 19 22:02:28 2002 Alexandre Oliva <aoliva@redhat.com>
10695 Angela Marie Thomas <angela@releasedominatrix.com>
10696 Brendan Kehoe <brendan@zen.org>
10697 Nick Clifton <nickc@redhat.com>
10698 Andrew Haley <aph@redhat.com>
10699
10700 * configure.in (--with-sysroot): New. Don't inhibit libc if
10701 given. AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
10702 and CROSS_SYSTEM_HEADER_DIR.
10703 * configure: Rebuilt.
10704 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
10705 (TARGET_SYSTEM_ROOT): New.
10706 (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
10707 CROSS_SYSTEM_HEADER_DIR.
10708 (install-gcc-tooldir): New target.
10709 (stmp-fixinc): Do not create $(libsubdir), but rather bail out
10710 if SYSTEM_HEADER_DIR does not exist and it's not the default
10711 sys-include directory.
10712 (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
10713 (install-mkheaders): Likewise.
10714 * gcc.c (target_system_root): New variable.
10715 (add_sysrooted_prefix): New function.
10716 (process_command): Recompute run-time target_system_root from
10717 gcc_exec_prefix, keeping it unchanged if the relocated sysroot
10718 does not exist.
10719 (do_spec_1): Process 'R' spec.
10720 (main): Add md_exec_prefix to exec_prefixes regardless of
10721 startfile_prefix_spec. Use add_sysrooted_prefix for
10722 startfile_prefixes, and don't skip the default ones when cross
10723 compiling with sysroot enabled. Removed unused case of
10724 non-absolute standard_startfile_prefix.
10725 * config/interix.h: Remove the only potential, yet disabled,
10726 occurrence of non-absolute (empty) standard_startfile_prefix.
10727 * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
10728 linking.
10729 * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
10730 * doc/install.texi (--with-sysroot): Document.
10731 (--with-headers, --with-libs): Deprecate.
10732
10733 2002-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10734 Mark Mitchell <mark@codesourcery.com>
10735
10736 * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
10737 match target.h.
10738 * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
10739 * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
10740 * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
10741 * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
10742 x86_output_mi_thunk): Likewise.
10743 * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
10744 * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
10745 * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
10746 * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
10747 * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
10748 * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
10749 * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
10750 Likewise.
10751 * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
10752
10753 * target.h (gcc_target): Update output_mi_thunk and
10754 output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
10755 vcall_index.
10756
10757 * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
10758 TARGET_ASM_OUTPUT_MI_THUNK in comments.
10759 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
10760 (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
10761 * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
10762 * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
10763 signature.
10764 * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
10765 * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
10766 TARGET_ASM_OUTPUT_MI_THUNK in comments.
10767 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
10768 (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
10769 * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
10770 TARGET_ASM_OUTPUT_MI_THUNK in comments.
10771 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
10772 ASM_OUTPUT_MI_THUNK and replace with check of targetm.
10773
10774 * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
10775 (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
10776
10777 2002-10-19 Brad Lucier <lucier@math.purdue.edu>
10778
10779 * real.c (do_add): Fix 0+0 sign corner case.
10780 (do_divide): Fix Inf/0 corner case.
10781
10782 Sun Oct 20 00:31:31 CEST 2002 Jan Hubicka <jh@suse.cz>
10783
10784 * i386.c (classify_argument): Pass MMX arguments in memory
10785 (ix86_expand_builtin): Expand proper address mode for cflush.
10786 * i386.md (movdqa): Fix typo.
10787 (sse2_cflush): Accept DImode addresses.
10788
10789 * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
10790 (_mm_max_sd): Fix pasto.
10791 (_mm_storeh_pd, _mm_storel_pd): Fix.
10792
10793 * i386.c (bdesc_comi): Fix to match specification.
10794 (ix86_expand_sse_comi): Emit the comparison properly.
10795 * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
10796 Do not use comparison operator.
10797 (vnmaskcmp): Fix template.
10798
10799 * xmmintrin.h (_mm_cvtps_pi16): Fix.
10800
10801 2002-10-19 Sebastian Pop <s.pop@laposte.net>
10802
10803 * dependence.c : Removed.
10804 * Makefile.in : Remove dependence.o.
10805
10806 Sat Oct 19 10:46:52 CEST 2002 Jan Hubicka <jh@suse.cz>
10807
10808 * mmintrin.h (__m64): typedef it to v2si.
10809 (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
10810 _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
10811 _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
10812 _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
10813 _mm_or_si64, _mm_xor_si64): Add neccesary casts.
10814 * xmmintrin.h (_mm_setzero_si64): Likewise.
10815
10816 * i386.h (ALIGN_MODE_128): Update comment; add missing modes
10817 (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
10818
10819 PR target/7693
10820 Patch by Shawn Wagner
10821 * mmintrin.h: Replace pi64 by si64.
10822
10823 2002-10-18 David Edelsohn <edelsohn@gnu.org>
10824
10825 * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
10826 Use length of 4 not *.
10827 (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
10828 (movdf_softfloat64): Likewise.
10829 (movdi_internal32): Use length of 4 not *.
10830 (movti_power): Same.
10831 (ctrsi, ctrdi): Same.
10832
10833 2002-10-18 Zack Weinberg <zack@codesourcery.com>
10834
10835 * c-decl.c (start_decl): Point users of the old initialized-
10836 typedef extension at __typeof__.
10837
10838 2002-10-18 Richard Henderson <rth@redhat.com>
10839
10840 * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
10841 (real_to_decimal): Re-implement using the logic from the
10842 gcc 3.2 etoasc. Comment heavily.
10843 (div_significands): Simplify loop startup and comparison logic.
10844
10845 2002-10-18 Mark Mitchell <mark@codesourcery.com>
10846
10847 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
10848 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
10849 (TARGET_ASM_OUT): Add them.
10850 * target.h (asm_out): Add output_mi_thunk and
10851 output_mi_vcall_thunk.
10852 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10853 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10854 * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
10855 * config/arm/arm.c (arm_output_mi_thunk): Define.
10856 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10857 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10858 * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10859 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10860 * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10861 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10862 * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
10863 prototype.
10864 (x86_output_mi_vcall_thunk): Declare.
10865 * config/i386/i386.c (override_options): Clear
10866 output_mi_vcall_thunk in 64-bit mode.
10867 (ix86_fntype_regparm): New function.
10868 (ix86_return_pops_args): Use it.
10869 (ia32_this_parameter): New function.
10870 (x86_output_mi_vcall_thunk): New function.
10871 (x86_output_mi_thunk): Use it
10872 * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
10873 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
10874 * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
10875 * config/i960/i960.c (i960_output_mi_thunk): New function.
10876 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
10877 * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
10878 * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
10879 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10880 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10881 * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
10882 * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10883 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10884 * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10885 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10886 * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10887 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10888 * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10889 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10890 * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10891 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10892 * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
10893 * config/s390/s390.c (s390_output_mi_thunk): Define.
10894 * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10895 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10896 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10897 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10898 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10899 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10900 * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
10901 * config/vax/vax.c (vax_output_mi_thunk): Define.
10902 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
10903 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
10904 * doc/tm.texi: Adjust documentation.
10905
10906 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
10907
10908 * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
10909 __enable_execute_stack function.
10910 * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
10911 as NETBSD_ENABLE_EXECUTE_STACK.
10912 * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
10913 * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
10914 * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
10915 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
10916 * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
10917
10918 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
10919
10920 * config/i386/i386.c (x86_initialize_trampoline): Emit a call
10921 to __enable_execute_stack with the address of the trampoline
10922 if TRANSFER_FROM_TRAMPOLINE is defined.
10923 * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
10924 constant if building libgcc2.
10925
10926 Thu Oct 17 17:40:05 CEST 2002 Jan Hubicka <jh@suse.cz>
10927
10928 * i386.c (pentium4_cost): Fix according to Intel recommendations.
10929 (ix86_memory_move_cost): Fix for 64bit compilation.
10930
10931 2002-10-17 Roger Sayle <roger@eyesopen.com>
10932
10933 * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
10934
10935 2002-10-17 Geoffrey Keating <geoffk@apple.com>
10936
10937 * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
10938 in CTR/LR/MQ.
10939 * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
10940 to/from CTR/LR/MQ.
10941 (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
10942 (movsf_softfloat): Likewise.
10943
10944 2002-10-17 Janis Johnson <janis187@us.ibm.com>
10945
10946 * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
10947
10948 2002-10-17 Jason Thorpe <thorpej@wasabisystems.com>
10949
10950 * config/alpha/alpha.c (alpha_initialize_trampoline): Use
10951 tramp, not addr, to pass the trampoline address to
10952 __enable_execute_stack.
10953
10954 Thu Oct 17 18:40:47 CEST 2002 Jan Hubicka <jh@suse.cz>
10955
10956 * mmintrin.h: Guard by __MMX__
10957 * xmmintrin.h: Guard by __SSE__
10958
10959 PR other/8062
10960 * xmmintrin.h (_MM_SHUFFLE2): New macro.
10961 (_mm_load*_?d): New functions.
10962 (_mm_set*_?d): New functions.
10963 (_mm_store*_?d): New functions.
10964
10965 Wed Oct 16 15:01:29 CEST 2002 Jan Hubicka <jh@suse.cz>
10966
10967 Really commit patch announced at Oct 14
10968 PR c/7344
10969 * predict.c (can_predict_insn_p): New function.
10970 (estimate_probability): Avoid unnecesary work.
10971 (process_note_prediction): Likewise.
10972 * toplev.c (rest_of_compilation): Account early branch prediction pass
10973 as TV_BRANCH_PROB.
10974
10975 PR other/8048
10976 Found by Ian Ollmann
10977 * xmmintrin.h (_mm_shuffle_pd): Fix typo.
10978 (_mm_load?_pd): Likewise.
10979 (_mm_store?_pd): Likewise.
10980
10981 PR target/7386
10982 * i386.c (builtin_description):Drop cmpg[te]s[sd].
10983 * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
10984 swapped alternative.
10985
10986 PR opt/7630
10987 * reload1.c (reload_inner_reg_of_subreg): New argument output;
10988 (push_reload): Update call.
10989
10990 2002-10-17 Richard Sandiford <rsandifo@redhat.com>
10991
10992 * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
10993 if using mips/elf.h or mips/elf64.h.
10994 * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
10995 * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
10996
10997 2002-10-16 Aldy Hernandez <aldyh@redhat.com>
10998
10999 * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
11000 SI.
11001
11002 2002-10-16 Ulrich Weigand <uweigand@de.ibm.com>
11003
11004 * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
11005 (LPREFIX): Likewise.
11006 (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
11007 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
11008 ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
11009 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
11010 GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
11011
11012 * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
11013 ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
11014 ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
11015 BSS_SECTION_ASM_OP): Move from linux.h.
11016 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
11017 Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
11018
11019 * config/s390/s390.c (s390_function_profiler): Use
11020 ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
11021
11022 2002-10-15 Eric Christopher <echristo@redhat.com>
11023
11024 * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
11025 * java/parse.y (obtain_incomplete_type): Make pointer
11026 ptr_mode.
11027
11028 2002-10-15 Richard Henderson <rth@redhat.com>
11029
11030 * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
11031 as arguments. Bound DIGITS by the available buffer size.
11032 (real_to_hexadecimal): Likewise.
11033 * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
11034 (REAL_VALUE_TO_DECIMAL): Remove.
11035 * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
11036 sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
11037 config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
11038 config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
11039 config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
11040 config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
11041 config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
11042 use real_to_decimal directly, and with the proper arguments.
11043 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
11044
11045 2002-10-15 Jim Wilson <wilson@redhat.com>
11046
11047 * reload1.c (merge_assigned_reloads): After converting overlapping
11048 reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
11049
11050 * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
11051
11052 Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka <jh@suse.cz>
11053
11054 * expr.c (do_tablejump): Fix typo in my previous commit.
11055
11056 2002-10-15 Richard Sandiford <rsandifo@redhat.com>
11057
11058 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
11059
11060 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
11061
11062 * config/s390/s390.c (s390_split_branches): Add return
11063 value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104.
11064
11065 (find_base_register_in_addr): New function.
11066 (find_base_register_ref): New function.
11067 (replace_base_register_ref): New function.
11068
11069 (struct constant_pool): Add members pool_insn, insns, and anchor.
11070 Remove member last_insn.
11071 (s390_start_pool): Initialize them.
11072 (s390_end_pool): Emit pool placeholder insn.
11073 (s390_add_pool_insn): New function.
11074 (s390_find_pool): Use insns bitmap instead of addresses.
11075 (s390_dump_pool): Replace placeholder insn. Emit anchor.
11076 Replace unspec 104 by local-pool-relative references.
11077 (s390_output_constant_pool): Output anchor label if required.
11078 (s390_output_symbolic_const): Handle unspec 104 and 105.
11079 (s390_add_pool): Remove, replace by ...
11080 (s390_add_constant, s390_find_constant): ... these new functions.
11081 (s390_add_anchor): New function.
11082
11083 (s390_chunkify_pool): Delete, replace by ...
11084 (s390_chunkify_start, s390_chunkify_finish,
11085 s390_chunkify_cancel): ... these new functions.
11086 (s390_optimize_prolog): Add parameter TEMP_REGNO.
11087 Recompute register live data for special registers.
11088 (s390_fixup_clobbered_return_reg): New function.
11089 (s390_machine_dependent_reorg): Rewrite to use new
11090 s390_chunkify_... routines.
11091
11092 config/s390/s390.md ("reload_base"): Rename to ...
11093 ("reload_base_31"): ... this.
11094 ("reload_base_64"): New insn.
11095 ("reload_base2"): Remove.
11096 ("reload_anchor"): New insn.
11097 ("pool"): New insn.
11098
11099 s390.c (s390_pool_overflow): Remove.
11100 s390.h (s390_pool_overflow): Likewise.
11101 s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
11102
11103 Tue Oct 15 16:51:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
11104
11105 * sh.md (movv8qi_i+2): Don't split if source is -1.
11106
11107 2002-10-15 Janis Johnson <janis187@us.ibm.com>
11108
11109 * doc/install.texi: Formatting changes for conformance to HTML 4.01.
11110
11111 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
11112
11113 PR opt/7409
11114 * loop.c (loop_regs_scan): Mark registers used for function
11115 argument passing as MAY_NOT_OPTIMIZE.
11116
11117 Mon Oct 14 19:22:19 CEST 2002 Jan Hubicka <jh@suse.cz>
11118
11119 * gcov-io.h (gcov_info): Fix type.
11120 * profile.c (create_profiler): Fix type mismatch.
11121
11122 Mon Oct 14 20:33:12 CEST 2002 Jan Hubicka <jh@suse.cz>
11123
11124 * i386.md (movv2di_internal): New pattern.
11125 (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
11126 (movv2di): New expander.
11127 * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
11128
11129 * i386.c (ix86_expand_timode_binop_builtin): Delete.
11130 (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
11131 (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
11132 (ix86_expand_builtin): Likewise.
11133 * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
11134 sse_andti3,
11135 sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
11136 sse_andnti3,
11137 sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
11138 sse_orti3,
11139 sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
11140 sse_xorti3): Kill.
11141 (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
11142 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
11143 (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
11144 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
11145 (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
11146 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
11147
11148 * xmmintrin.h (__m128i): Define as __v2di.
11149
11150 PR c++/6419
11151 (expand_expr): Use DECL_RTL_SET_P.
11152
11153 2002-10-14 Roger Sayle <roger@eyesopen.com>
11154
11155 * combine.c (simplify_set): Treat MODE_CC registers like cc0.
11156
11157 2002-10-14 Roger Sayle <roger@eyesopen.com>
11158 Zack Weinberg <zack@codesourcery.com>
11159
11160 * config/i386/i386.c (k6_cost): Correct typo.
11161
11162 2002-10-14 Mark Mitchell <mark@codesourcery.com>
11163
11164 PR optimization/6631
11165 * alias.c (objects_must_conflict_p): Check honor_readonly when
11166 examining TYPE_READONLY.
11167 * function.c (assign_stack_temp_for_type): Likewise.
11168
11169 2002-10-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
11170
11171 * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
11172 Swap zero extension arguments.
11173 (umaxhi3): Fix instruction class.
11174 PR target/7211
11175 (prefetch): Fix prefetch instructions.
11176 PR target/7238
11177 (pkwb): Fix output constraint.
11178
11179 2002-10-14 Alexandre Oliva <aoliva@redhat.com>
11180
11181 * config/mips/mips.c (print_operand): Increase buffer size for
11182 real numbers.
11183
11184 2002-10-14 Richard Henderson <rth@redhat.com>
11185
11186 PR opt/8165
11187 * gcse.c (adjust_libcall_notes): Revert last change.
11188 * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
11189
11190 2002-10-14 Andrew Haley <aph@redhat.com>
11191
11192 * tree-inline.c (remap_block): All local class initialization
11193 flags go in the outermost scope.
11194 (expand_call_inline): Call java_inlining_map_static_initializers.
11195 (expand_call_inline): Call java_inlining_merge_static_initializers.
11196 * java/lang.c (merge_init_test_initialization): New.
11197 (java_inlining_merge_static_initializers): New.
11198 (inline_init_test_initialization): New.
11199 (java_inlining_map_static_initializers): New.
11200
11201 * tree-inline.c (expand_call_inline): Convert retvar to expected
11202 type.
11203
11204 2002-10-14 Graham Stott <graham.stott@btinternet.com>
11205
11206 * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
11207
11208 2002-10-14 Aldy Hernandez <aldyh@redhat.com>
11209
11210 * stmt.c: Fix typo in comment.
11211
11212 Mon Oct 14 11:35:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
11213
11214 * c-common.c (c_common_type_for_mode): Add V2HImode case.
11215 * tree.c (build_common_tree_nodes_2): Initialize
11216 unsigned_V2HI_type_node and V2HI_type_node.
11217 * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
11218 (unsigned_V2HI_type_node, V2HI_type_node): Define.
11219
11220 2002-10-14 Jakub Jelinek <jakub@redhat.com>
11221
11222 * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
11223 Handle TARGET_64BIT.
11224
11225 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
11226
11227 * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
11228 * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
11229 (MULTILIB_DIRNAMES): Remove long32.
11230 (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
11231 (MULTILIB_REDUNDANT_DIRS): Remove.
11232
11233 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
11234
11235 * doc/tm.texi (DRIVER_SELF_SPECS): Document.
11236 * gcc.c (driver_self_specs): New variable.
11237 (do_self_spec): New function.
11238 (main): Use it to process driver_self_specs.
11239
11240 2002-10-13 Richard Henderson <rth@redhat.com>
11241
11242 * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject
11243 indirect sibcalls when regparm >= 3.
11244
11245 * config/i386/i386.c (sibcall_insn_operand): New.
11246 * config/i386/i386.h (PREDICATE_CODES): Update.
11247 * config/i386/i386-protos.h: Update.
11248 * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
11249
11250 * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
11251
11252 2002-10-12 Roger Sayle <roger@eyesopen.com>
11253
11254 * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize
11255 arithmetic right shifts of ~0 during RTL simplifications.
11256
11257 2002-10-12 Neil Booth <neil@daikokuya.co.uk>
11258
11259 PR preprocessor/7862
11260 PR preprocessor/8190
11261 * gcc.c (cpp_unique_options): Don't delete .d files.
11262 Remove stray whitespace.
11263
11264 2002-10-12 Naohiko Shimizu <pshimizu@fa2.so-net.ne.jp>
11265
11266 * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
11267 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
11268 * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
11269 (pdp11_output_function_epilogue, output_ascii): Likewise.
11270 (output_addr_const_pdp11): Likewise.
11271 * pdp11.md (movdi): Use offsetable memory for floating store.
11272 (lshrsi3, negsi2): Delete irrelevant comment.
11273
11274 2002-10-11 Andreas Bauer <baueran@in.tum.de>
11275
11276 * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
11277 indirect calls to be sibcall optimized.
11278 * config/i386/i386.md (sibcall_1): New.
11279 (call_1): Add no-sibcalls condition.
11280 (sibcall_value_1): New.
11281 (call_value_1): Add no-sibcalls condition.
11282
11283 2002-10-11 Eric Christopher <echristo@redhat.com>
11284
11285 * output.h (default_valid_pointer_mode): Declare.
11286 * varasm.c (default_valid_pointer_mode): Define.
11287 * target-def.h (TARGET_VALID_POINTER_MODE): Use.
11288 * target.h: Ditto.
11289 * tree.c (build_pointer_type_for_mode): New function.
11290 (build_pointer_type): Use.
11291 (build_reference_type_for_mode): New function.
11292 (build_reference_type): Use.
11293 * tree.h: Declare new functions.
11294 * c-common.c (handle_mode_attribute): Use new functions, check
11295 for type.
11296 * stor-layout.c (layout_type): Depend on machine mode for
11297 REFERENCE_TYPE and POINTER_TYPE.
11298 * dwarf2out.c (simple_type_size_in_bits): Move upward in file.
11299 (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE
11300 and REFERENCE_TYPE.
11301 * config/mips/mips.c (mips_valid_pointer_mode): New function.
11302 (TARGET_VALID_POINTER_MODE): Use and define.
11303 * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare.
11304
11305 2002-10-11 Geoffrey Keating <geoffk@apple.com>
11306
11307 * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
11308 not the address of the REG.
11309 (struct cse_reg_info): Make subreg_ticked unsigned.
11310
11311 2002-10-11 Janis Johnson <janis187@us.ibm.com>
11312
11313 * doc/compat.texi: Add info about C++ libraries.
11314
11315 2002-10-11 Richard Henderson <rth@redhat.com>
11316
11317 PR opt/8165
11318 * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
11319
11320 2002-10-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
11321
11322 * cfganal.c (dfs_enumerate_from): Use PARAMS.
11323 * genautomata.c (output_insn_code_cases): Likewise.
11324 * real.c (real_format): Likewise.
11325 * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
11326 ensure value is promoted before doing subtraction.
11327
11328 Fri Oct 11 22:22:38 CEST 2002 Jan Hubicka <jh@suse.cz>
11329
11330 * calls.c (expand_call): Simplify noreturn call.
11331
11332 PR c/7344
11333 * cfgbuild.c (make_edges): Create edge cache when we do have
11334 large jumptable.
11335 * expr.c (do_tablejump): Note size of maximal jumptable.
11336 * function.c (prepare_function_start): Zero out size.
11337 * function.h (function): Add max_jumptable_ents.
11338
11339 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
11340
11341 Fri Oct 11 12:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
11342
11343 * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
11344 register for mperm_w operation.
11345
11346 Fri Oct 11 10:56:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
11347
11348 * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
11349 an integer, use simplify_gen_subreg.
11350
11351 2002-10-10 Diego Novillo <dnovillo@redhat.com>
11352
11353 * calls.c (flags_from_decl_or_type): Make extern.
11354 (ECF_*): Move ...
11355 * rtl.h (ECF_*): ... here.
11356 (flags_from_decl_or_type): Declare.
11357
11358 2002-10-10 Roger Sayle <roger@eyesopen.com>
11359 Nathan Sidwell <nathan@codesourcery.com>
11360
11361 * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right
11362 shifts of the form -1 >> x.
11363
11364 Thu Oct 10 16:52:55 CEST 2002 Jan Hubicka <jh@suse.cz>
11365
11366 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
11367
11368 2002-10-10 Aldy Hernandez <aldyh@redhat.com>
11369
11370 * extend.texi (Vector Extensions): Remove comment about single
11371 element vectors.
11372
11373 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11374
11375 * fold-const.c (size_htab_hash): Use htab_hash_pointer.
11376 * function.c (insns_for_mem_hash): Likewise.
11377 * varasm.c (STRHASH): Likewise.
11378
11379 2002-10-10 Stuart Hastings <stuart@apple.com>
11380
11381 * cse.c (struct cse_reg_info): Add subreg_ticked.
11382 (SUBREG_TICKED): New.
11383 (get_cse_reg_info): Initialize SUBREG_TICKED.
11384 (mention_regs): Use it.
11385 (invalidate): Set SUBREG_TICKED.
11386 (invalidate_for_call): Likewise.
11387 (addr_affects_sp_p): Likewise.
11388
11389 2002-10-10 Jakub Jelinek <jakub@redhat.com>
11390
11391 * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
11392 into proper operand.
11393
11394 2002-10-10 Denis Chertykov <denisc@overta.ru>
11395
11396 * config/ip2k/ip2k.c (function_epilogue): Optimize stack
11397 deallocation.
11398 * config/ip2k/libgcc.S: Combine routines used by function
11399 epilogue.
11400
11401 2002-10-10 Jim Wilson <wilson@redhat.com>
11402
11403 * cse.c (fold_rtx): Don't perform associative optimization for DIV and
11404 UDIV.
11405
11406 2002-10-10 David Edelsohn <edelsohn@gnu.org>
11407
11408 * config/rs6000/aix52.h: New file.
11409 * config/rs6000/t-aix52: New File.
11410 * config.gcc (rs6000-ibm-aix5.1.*): New entry.
11411 (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
11412
11413 Thu Oct 10 19:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
11414
11415 PR target/5610
11416 * invoke.texi (-msse-math): Kill
11417 (-msse): Add note to mfpmath=sse.
11418
11419 Thu Oct 10 17:08:30 CEST 2002 Jan Hubicka <jh@suse.cz>
11420
11421 PR target/7723
11422 * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
11423
11424 2002-10-10 Neil Booth <neil@daikokuya.co.uk>
11425
11426 PR preprocessor/8179
11427 * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
11428 as cc1_options.
11429 (default_compilers): Pass debug options when preprocessing
11430 stdin.
11431
11432 2002-10-06 Richard Henderson <rth@redhat.com>
11433
11434 * toplev.c (rest_of_compilation): Revert opt/2960 change.
11435
11436 Wed Oct 9 21:18:43 CEST 2002 Jan Hubicka <jh@suse.cz>
11437
11438 * i386.c (*_cost): Add branch costs.
11439 (override_options): set ix86_branch_cost.
11440 (ix86_expand_int_movcc): Use BRANCH_COST.
11441 * i386.h (costs): Add branch_cost.
11442
11443 2002-10-09 Zack Weinberg <zack@codesourcery.com>
11444
11445 PR c/7353
11446 * c-decl.c (start_decl): Unconditionally issue error for
11447 'typedef foo = bar'.
11448 (finish_decl): Remove special case for TYPE_DECL with initializer.
11449
11450 * doc/extend.texi: Delete "Naming Types" section. Change all
11451 cross-references to that section to refer to "Typeof" instead.
11452 Add the useful safe-max()-macro example from "Naming Types" to
11453 "Typeof", rewritten using that extension. Add some compatibility
11454 notes to "Typeof."
11455
11456 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11457
11458 * loop.c: Revert 2002-08-15 change.
11459 (LOOP_REGNO_NREGS): Ensure type is int.
11460
11461 2002-10-09 David Edelsohn <edelsohn@gnu.org>
11462
11463 * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
11464 which copies first FPR and clears second.
11465 (extendsftf2): Same.
11466 (floatditf2): Fix typo.
11467 (floatsitf2): Same.
11468 (fix_trunctfdi2): Same.
11469 (fix_trunctfsi2): Same.
11470
11471 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11472
11473 * conflict.c (arc_hash): Change return type to hashval_t.
11474 * cselib.c (get_value_hash): Likewise.
11475 * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
11476 state_hash, automata_list_hash): Likewise.
11477 * read-rtl.c (def_hash): Likewise.
11478 * tree.c (type_hash_hash): Likewise.
11479
11480 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
11481
11482 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
11483 prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
11484
11485 Wed Oct 9 15:54:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
11486
11487 * sh.md (ffssi2): Fix emitted code.
11488
11489 2002-10-09 Ulrich Weigand <uweigand@de.ibm.com>
11490
11491 * cse.c (insn_live_p): Pass insn pattern, not full insn
11492 to may_trap_p.
11493
11494 2002-10-09 Neil Booth <neil@daikokuya.co.uk>
11495
11496 * cppmacro.c (paste_tokens): Only allow / to paste with =.
11497
11498 2002-10-09 David Edelsohn <edelsohn@gnu.org>
11499
11500 * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
11501 64-bit hosts.
11502 (movtf_internal): Reference correct displacement for second value
11503 in memory.
11504 (movtf splitter): Correct generation of constants in 64-bit mode.
11505
11506 2002-10-09 Alan Modra <amodra@bigpond.net.au>
11507
11508 * libgcc2.c (__floatdisf): Properly cure double rounding.
11509
11510 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
11511
11512 * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
11513 * doc/cpp.texi (Common Predefined Macros): Document.
11514
11515 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
11516
11517 PR doc/7484
11518 * doc/invoke.texi (Option Summary): List
11519 -Wmissing-declarations as a C only option.
11520
11521 2002-10-08 Roger Sayle <roger@eyesopen.com>
11522
11523 * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
11524 left and right rotates of ~0, i.e. integer_all_onesp (arg0).
11525 [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.
11526
11527 Tue Oct 8 01:24:19 CEST 2002 Jan Hubicka <jh@suse.cz>
11528
11529 * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
11530 x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global
11531 variables.
11532 (safe_vector_operand): Update sse_clrv4sf call.
11533 (ix86_expand_buildin): Likewise
11534 * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
11535 x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare.
11536 (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS,
11537 TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New
11538 macros.
11539 * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi,
11540 movv4si): Obey the new flags.
11541 (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid
11542 reformating penalty.
11543 (anddf, cmov patterns): Avoid reformating by first converting.
11544 (sse_cvtsd2ss): Fix predicate.
11545 (sse2_clrti): Fix mode,
11546 (sse_clrv4sf): Avoid unspec.
11547
11548 2002-10-08 Jakub Jelinek <jakub@redhat.com>
11549
11550 * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
11551 mno-app-regs|mcmodel=medany.
11552 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
11553 (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
11554 (CRTSTUFF_T_CFLAGS): Define.
11555
11556 2002-10-08 Roger Sayle <roger@eyesopen.com>
11557
11558 PR target/8087
11559 * simplify-rtx.c (avoid_constant_pool_reference): Allow constant
11560 pool references that are constructed using LO_SUM.
11561
11562 2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
11563
11564 * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
11565 -Wall.
11566 * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
11567 message.
11568 * flags.h (warn_strict_aliasing): Declare.
11569 * toplev.c (warn_strict_aliasing): Define.
11570 (lang_independent_options): Add it.
11571 * doc/invoke.texi (-Wstrict-aliasing): Document it.
11572
11573 2002-10-08 Zack Weinberg <zack@codesourcery.com>
11574
11575 * system.h (GCCBUGURL): Delete.
11576 * version.c (bug_report_url): New. Add commentary about
11577 modifying both these strings in modified distributions.
11578 * version.h: Declare bug_report_url.
11579
11580 * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
11581 bug_report_url.
11582
11583 2002-10-08 Nick Clifton <nickc@redhat.com>
11584
11585 * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
11586 convert uint64_t into __ev64_opaque__.
11587 (__ev_set_acc_s64): Likewise, but using signed types.
11588
11589 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
11590
11591 * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
11592 ("*doloop_di_long"): Likewise.
11593
11594 Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
11595
11596 * print-rtl.c (print_rtx): Increase buffer size for real numbers.
11597
11598 2002-10-08 Richard Sandiford <rsandifo@redhat.com>
11599
11600 * config/mips/mips.md (define_attr cpu): Add r4111.
11601
11602 2002-10-08 Anthony Green <green@redhat.com>
11603
11604 * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
11605
11606 2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11607
11608 * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
11609 for REAL_VALUE_TO_DECIMAL output.
11610
11611 2002-10-07 Richard Henderson <rth@redhat.com>
11612
11613 * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
11614 function; cleanup PLUS case by using recursion. Update all users.
11615 (NONZERO_BASE_PLUS_P): Remove.
11616 (find_comparison_args): Use rtx_addr_can_trap_p instead.
11617 (fold_rtx): Use nonzero_address_p.
11618 * rtl.h (nonzero_address_p): Declare.
11619 * rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
11620 (rtx_addr_can_trap_p): Likewise.
11621 (nonzero_address_p): New.
11622 * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
11623 (simplify_relational_operation): Use nonzero_address_p.
11624
11625 2002-10-07 David Edelsohn <edelsohn@gnu.org>
11626
11627 * config/rs6000/rs6000.c (rs6000_override_options): Set
11628 real_format_for_mode for IBM extended format, if enabled.
11629 (easy_fp_constant): Add TFmode.
11630 (rs6000_legitimize_address): Add TFmode.
11631 (rs6000_legitimate_address): Same.
11632 (function_arg_advance): TFmode uses two FPRs.
11633 (rs6000_emit_prologue): Fix warning.
11634 (rs6000_output_function_epilogue): Add TFmode.
11635 (output_toc): Add TFmode.
11636 * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
11637 (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
11638 * rs6000.md (movtf splitter): Load TFmode constant.
11639
11640 2002-10-07 Dale Johannesen <dalej@apple.com>
11641
11642 * rtl.h: Add NOTE_PRECONDITIONED.
11643 * unroll.c: Set it.
11644 * loop.c: Set loop_info->preconditioned from it.
11645 * doloop.c: Permit doloop treatment when loop_info->preconditoned.
11646
11647 2002-10-07 Richard Henderson <rth@redhat.com>
11648
11649 * config/i960/i960.c (i960_setup_incoming_varargs): Create a
11650 new rtx for comparing the argument pointer against zero.
11651 (i960_va_start): Similarly.
11652
11653 2002-10-07 Richard Henderson <rth@redhat.com>
11654
11655 * config/i960/i960.md (*): Use TFmode, not XFmode.
11656 * config/i960/i960.c (*): Likewise.
11657 (i960_arg_size_and_align): Remove XFmode alignment hack.
11658 (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
11659 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
11660 (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
11661 (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
11662
11663 2002-10-07 Richard Henderson <rth@redhat.com>
11664
11665 * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
11666 entry points; use void return value and argument list.
11667
11668 2002-10-06 Andreas Bauer <baueran@in.tum.de>
11669
11670 * calls.c (expand_call): Fix function-is-volatile check.
11671
11672 2002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
11673
11674 * t-pdp11: Add MULTILIB support for msoft-float.
11675 * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
11676
11677 * t-pdp11: Add LIB2FUNCS_EXTRA.
11678 * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
11679 add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
11680 'fldd' to 'ldd', rename 'fstd' to 'std'.
11681 (pdp11_output_function_epilogue): Likewise.
11682 (output_move_quad): Make the comment gas compatible.
11683 (output_ascii): Add preceding 0 to the octal constant.
11684 (print_operand_address): Add pre_modify, post_modify.
11685 (output_addr_const_pdp11): Add preceding 0 to the octal constant.
11686 * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
11687 with the indication of Paul Koning.
11688 (PRINT_OPERAND): Fix floating constant.
11689 * pdp11.md (movdi): Restrict matching pattern.
11690 (movqi): Generalize the matching pattern.
11691 (movdf): Restrict matching pattern.
11692 (zero_extendqihi2): Change constant representation.
11693 (floatsidf2): Fix wrong operands.
11694 (addqi3): Fix wrong instruction name.
11695 (subqi3): Fix wrong instruction name.
11696 (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
11697 (xorsi3): Fix wrong insn.
11698 (one_cmplqi2): Add two operand pattern.
11699 (lsrsi3): New.
11700 (negsi2): New.
11701 (call): Add register indirect case.
11702 (mod): Fix wrong subreg.
11703
11704 2002-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
11705 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
11706
11707 PR c/7411
11708 * expr.c (expand_expr) [PLUS]: Simplify after the operands
11709 have been expanded in EXPAND_NORMAL mode.
11710
11711 2002-10-06 Richard Henderson <rth@redhat.com>
11712
11713 * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
11714
11715 2002-10-06 Richard Henderson <rth@redhat.com>
11716
11717 PR optimization/2960
11718 * toplev.c (rest_of_compilation): Don't copy_loop_headers if
11719 optimize_size.
11720
11721 2002-10-06 Alexandre Oliva <aoliva@redhat.com>
11722
11723 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
11724 previously definitions.
11725
11726 2002-10-06 Frank Ch. Eigler <fche@redhat.com>
11727
11728 * cppinit.c (init_standard_includes, parse_option): Use strncmp.
11729 * c-opts.c (find_opt): Similarly.
11730
11731 Sat Oct 5 22:48:06 CEST 2002 Jan Hubicka <jh@suse.cz>
11732
11733 * athlon.md: rewrite to DFA.
11734 * i386 (ix86_adjust_cost): Drop memory latency code.
11735 (ia32_use_dfa_pipeline_interface): Return true for Athlon.
11736
11737 2002-10-05 Jakub Jelinek <jakub@redhat.com>
11738
11739 * gcc.c (set_multilib_dir): Don't access *end.
11740 Use memcpy instead of strncpy. Don't write beyond malloced buffer.
11741 (print_multilib_info): Don't show paths starting with ".:".
11742 * genmultilib: Add new option, "yes" if multilibs are enabled.
11743 Update comments. If multilibs not enabled, print .:${osdirout}
11744 for each directory. If multilibs are enabled, always print
11745 ${dirout}:${osdirout}, even if the two are the same.
11746 * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
11747 Pass all MULTILIB_* variables to genmultilib even if
11748 --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
11749
11750 2002-10-04 Zack Weinberg <zack@codesourcery.com>
11751
11752 * gcc.c (process_command): Set .validated for -pipe. Correct
11753 grammar in comment.
11754
11755 2002-10-04 Bruce Korb <bkorb@gnu.org>
11756
11757 * fixinc/inclhack.def(hpux11_abs): use format fix
11758 * fixinc/fixincl.x: regenerate
11759 * fixinc/tests/base/stdlib.h: accommodate new fix test
11760
11761 Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
11762
11763 * c-common.c (cb_register_builtins): Use really_no_inline.
11764
11765 2002-10-04 David Edelsohn <edelsohn@gnu.org>
11766
11767 * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
11768 copied instruction if the note is not loop invariant.
11769
11770 2002-10-04 Loren J. Rittle <ljrittle@acm.org>
11771
11772 * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
11773
11774 2002-10-04 Steve Ellcey <sje@cup.hp.com>
11775
11776 * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
11777 and -mhp-ld options to list of options. Add -mgnu-ld
11778 and -mhp-ld option descriptions.
11779
11780 2002-10-04 Steve Ellcey <sje@cup.hp.com>
11781
11782 * fixinc/inclhack.def (hpux11_abs): New.
11783 (stdio_va_list): change __va_list__ to __gnuc_va_list.
11784 * fixinc/fixincl.x: Rebuild.
11785
11786 2002-10-04 Roger Sayle <roger@eyesopen.com>
11787
11788 * config/i386/i386.h (processor_costs): Add new fields fadd,
11789 fmul, fdiv, fabs, fchs and fsqrt to costs structure.
11790 (RTX_COSTS): Use these fields to determine the RTX costs
11791 of floating point addition/subtraction, multiplication,
11792 division, fabs, negation and square root respectively.
11793 * config/i386/i386.c (size_cost): Provide instruction sizes
11794 for these new fields.
11795 (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
11796 k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
11797 counts for these new fields for all x86 processor variants.
11798
11799 2002-10-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11800
11801 * mips.c (mips_const_double_ok): Delete unused variable.
11802
11803 * gengtype.c (rtx_next): Change type to int.
11804
11805 2002-10-04 Andreas Jaeger <aj@suse.de>
11806
11807 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
11808
11809 2002-10-04 Richard Henderson <rth@redhat.com>
11810
11811 * real.h (SIGNIFICAND_BITS): Add one more word.
11812 (CONST_DOUBLE_FORMAT): Accomodate 6 words.
11813 * real.c (times_pten): New.
11814 (real_to_decimal, real_from_string): Use it.
11815 (sticky_rshift_significand): Use & to find modulus.
11816 (rshift_significand, lshift_significand): Likewise.
11817 (do_divide): Apply sticky bit after normalization.
11818 (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
11819
11820 2002-10-03 Andreas Bauer <baueran@in.tum.de>
11821
11822 * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove.
11823 (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
11824
11825 2002-10-03 Andreas Jaeger <aj@suse.de>
11826
11827 * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
11828 to unsigned long, adjust printf format string.
11829 (output_mangled_typename): Likewise.
11830
11831 2002-10-03 Jason Thorpe <thorpej@wasabisystems.com>
11832
11833 * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
11834 * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
11835 (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
11836 assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
11837 (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
11838 (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
11839 * config/vax/elf.h (FUNCTION_PROFILER): Remove.
11840 (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
11841
11842 2002-10-03 Mark Mitchell <mark@codesourcery.com>
11843
11844 * doc/invoke.texi (-Wabi): Document mangling bug.
11845
11846 2002-10-04 Alan Modra <amodra@bigpond.net.au>
11847
11848 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
11849 name for the tbtab label that depends on the function asm name.
11850 Don't output tbtab label unless optional_tbtab.
11851 (output_mi_thunk): Formatting.
11852
11853 2002-10-03 Richard Henderson <rth@redhat.com>
11854
11855 * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
11856 * config/m68k/m68k.c (override_options): ... here.
11857 * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
11858 * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
11859 * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
11860 * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
11861
11862 2002-10-03 Richard Henderson <rth@redhat.com>
11863
11864 * real.h (struct real_value): Use ENUM_BITFIELD.
11865
11866 2002-10-03 Richard Henderson <rth@redhat.com>
11867
11868 * config/i960/i960.md (call, call_value): Use emit_call_insn.
11869
11870 2002-10-03 Steve Ellcey <sje@cup.hp.com>
11871
11872 * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
11873
11874 2002-10-03 Steve Ellcey <sje@cup.hp.com>
11875
11876 * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
11877 * config/pa/pa.h (MASK_GNU_LD): New.
11878 (TARGET_GNU_LD): New.
11879 * config/pa/pa64-hpux.h (LINK_SPEC): Set based
11880 on gnu-ld and MASK_GNU_LD.
11881 (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
11882
11883 Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka <jh@suse.cz>
11884
11885 * i386.c (athlon_cost): Fix the move costs.
11886
11887 Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
11888
11889 * final.c (final): Use symbol name as function name for profiling.
11890 * profile.c (get_exec_counts): Likewise.
11891 (branch_prob): Likewise.
11892
11893 2002-10-03 Jakub Jelinek <jakub@redhat.com>
11894
11895 * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
11896
11897 2002-10-03 Jakub Jelinek <jakub@redhat.com>
11898
11899 * gcc.c (print_multi_os_directory): New variable.
11900 (option_map): Support --print-multi-os-directory.
11901 (struct prefix_list): Add os_multilib field.
11902 (multilib_os_dir): New variable.
11903 (static_specs): Add multilib_options.
11904 (find_a_file): Add multilib argument. Search in GCC or OS multilib
11905 subdirs if nonzero.
11906 (read_specs, execute): Update callers.
11907 (find_file): Likewise. Don't prefix name with multilib_dir, instead
11908 pass 1 as multilib option.
11909 (display_help): Include --print-multi-os-directory.
11910 (add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
11911 (process_command): Update callers. Handle --print-multi-os-directory.
11912 (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
11913 set.
11914 (main): Update find_a_file and add_prefix callers.
11915 Handle print_multi_os_directory.
11916 (struct mdswitchstr): New.
11917 (mdswitches, n_mdswitches): New variables.
11918 (used_arg): Add MULTILIB_DEFAULT switches too if they are not
11919 present on the command line nor their mutually incompatible
11920 switches.
11921 (default_arg): Optimize.
11922 (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
11923 array.
11924 (print_multilib_info): Only print GCC multilib dir name, not OS
11925 multilib dirname.
11926 * genmultilib: Add osdirnames parameter. Output multilib_options
11927 variable. If osdirnames is specified, output dirnames as
11928 dirname:osdirname.
11929 * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
11930 and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
11931 to compute libgcc_s soname and install path.
11932 * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
11933 SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
11934 (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
11935 argument.
11936
11937 * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
11938 (SHLIB_SLIBDIR_SUFFIXES): Remove.
11939 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
11940 ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
11941 (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
11942 and -m64.
11943 * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
11944 (SHLIB_SLIBDIR_SUFFIXES): Remove.
11945 * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
11946 (STARTFILE_ARCH_SPEC): Remove.
11947 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
11948 (SHLIB_SLIBDIR_SUFFIXES): Remove.
11949 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
11950 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
11951 (SHLIB_SLIBDIR_SUFFIXES): Remove.
11952
11953 Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka <jh@suse.cz>
11954
11955 * predict.c (choose_function_section): Avoid choice for linkonce functions.
11956
11957 Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka <jh@suse.cz>
11958
11959 * i386.md (lea to mul peep2): Fix condition.
11960
11961 2002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
11962
11963 * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
11964 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
11965
11966 2002-10-02 David Mosberger-Tang <David.Mosberger@acm.org>
11967
11968 * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with
11969 attribute "unused".
11970
11971 * config/t-libunwind: Mention unwind-sjlj.c.
11972 * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
11973 to #ifndef __USING_SJLJ_EXCEPTIONS__.
11974
11975 * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
11976 before inclusion of config.gcc, but after configuring the compiler etc.
11977 Determine default value for --enable-libunwind-exceptions based on
11978 whether the host has a libunwind library (not guaranteed to be correct,
11979 but it's a reasonable first guess and can always be overridden with an
11980 explicit --enable/disable-libunwind-exceptions.
11981 * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
11982 tmake_file when $use_libunwind_exceptions is enabled.
11983 * Makefile.in: Update comment: LIB2ADDEH is updated not just by
11984 ia64 (e.g., config/t-linux also updates it).
11985 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
11986 along with the shared version of libgcc since the latter requires
11987 the former.
11988 * unwind-libunwind.c: New file.
11989 * config/t-libunwind: Ditto.
11990
11991 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
11992
11993 * config.gcc: Remove support for vax-*-vms*.
11994 * config/vax/vms.h: Remove.
11995 * config/vax/xm-vms.h: Remove.
11996 * config/vax/vax-protos.h: Remove VMS-specific code.
11997 * config/vax/vax.c: Remove VMS-specific code.
11998
11999 2002-10-02 Richard Henderson <rth@redhat.com>
12000
12001 PR opt/7124
12002 * config/i386/i386.c (ix86_register_move_cost): Increase cost
12003 for secondary_memory_needed pairs.
12004
12005 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
12006
12007 * doc/vms.texi: Blow away false include file section.
12008
12009 2002-10-02 Roger Sayle <roger@eyesopen.com>
12010
12011 PR optimization/6627
12012 * toplev.c (force_align_functions_log): New global variable.
12013 * flags.h (force_align_functions_log): Add extern prototype.
12014 * varasm.c (assemble_start_function): Use it to force minimum
12015 function alignment.
12016 * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
12017 minimum function alignment to one byte.
12018 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
12019 the least significant bit of vtable member function pointers.
12020 * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
12021 here from cp/cp-tree.h.
12022
12023 Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
12024
12025 * i386.c (print_operand_address): Use RIP addressing for offsetted
12026 label refs too.
12027
12028 2002-09-30 David S. Miller <davem@redhat.com>
12029
12030 PR middle-end/7151
12031 * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
12032 (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
12033
12034 2002-10-01 Andreas Bauer <baueran@in.tum.de>
12035
12036 * calls.c (expand_call): Remove the `no indirect check'
12037 for sibcall optimization; use function_ok_for_sibcall
12038 target hook; refine check for `function is volatile'.
12039 (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition.
12040 * hooks.c (hook_tree_tree_bool_false): New.
12041 * hooks.h (hook_tree_tree_bool_false): Declare.
12042 * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
12043 (TARGET_INITIALIZER): Add it.
12044 * target.h (struct gcc_target): Add function_ok_for_sibcall.
12045 * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New.
12046 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12047 * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12048 * config/arm/arm-protos.h: (arm_function_ok_for_sibcall):
12049 Remove function declaration.
12050 * config/arm/arm.c: (arm_function_ok_for_sibcall): Make
12051 function static and accept another argument of type `tree'.
12052 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12053 * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12054 * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12055 * config/i386/i386.c: (ix86_function_ok_for_sibcall): New.
12056 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12057 * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12058 * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12059 (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition.
12060 * config/pa/pa.c: (pa_function_ok_for_sibcall): New.
12061 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12062 * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12063 * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall):
12064 Remove function declaration.
12065 * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall):
12066 Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall;
12067 rename first argument to `decl'; accept another argument
12068 of type `tree'; make static.
12069 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12070 * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12071 * config/sh/sh.c: (sh_function_ok_for_sibcall): New.
12072 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12073 * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12074 * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New.
12075 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12076 * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12077 * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12078
12079 2002-10-01 Roger Sayle <roger@eyesopen.com>
12080
12081 * unroll.c (loop_iterations): Revert 2002-09-08 change.
12082
12083 2002-10-01 Richard Henderson <rth@redhat.com>
12084
12085 * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
12086 (real_to_hexadecimal): Likewise.
12087 * print-rtl.c (print_rtx): If we are linked with real.c, don't
12088 dump the XWINT fields of a floating point CONST_DOUBLE.
12089
12090 2002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
12091
12092 * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
12093
12094 2002-10-01 Richard Henderson <rth@redhat.com>
12095
12096 * calls.c (precompute_register_parameters): Force non-legitimate
12097 constants into pseudos.
12098
12099 2002-10-01 Nick Clifton <nickc@redhat.com>
12100
12101 * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
12102 to assembler template.
12103
12104 2002-10-01 Richard Henderson <rth@redhat.com>
12105
12106 * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
12107 for TLS debug info to !DECL_EXTERNAL.
12108
12109 2002-10-01 Matt Thomas <matt@3am-software.com>
12110 Jason Thorpe <thorpej@wasabisystems.com>
12111
12112 * config.gcc (vax-*-netbsdelf*): Enable configuration.
12113 * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
12114 if not already defined.
12115 * config/vax/elf.h: New file.
12116 * config/vax/netbsd-elf.h: New file.
12117 * config/vax/vax.c: Include "debug.h".
12118 (vax_output_function_prologue): Add dwarf2 support. Use
12119 MAIN_NAME_P when checking for VMS_TARGET stack adjust.
12120 * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
12121 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
12122 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
12123 (VAX_ISTREAM_SYNC): Remove.
12124 (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
12125 (JUMP_TABLES_IN_TEXT_SECTION): Define.
12126 (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
12127 (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
12128 and assemble_name.
12129 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
12130 (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
12131 (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
12132 (INCOMING_RETURN_ADDR_RTX): Define.
12133 * config/vax/vax.md (VUNSPEC_BLOCKAGE)
12134 (VUNSPEC_SYNC_ISTREAM): Define.
12135 (blockage): Use VUNSPEC_BLOCKAGE.
12136 (sync_istream): New insn.
12137
12138 2002-10-01 Richard Henderson <rth@redhat.com>
12139
12140 * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
12141 (*call_value_pop, call, call_value): Add dwarf2 EH support.
12142 (*call): New insn.
12143
12144 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
12145
12146 PR c/8083
12147 * c-typeck.c (build_c_cast): Warn about type punning which breaks
12148 type based aliasing.
12149
12150 2002-10-01 Mark Mitchell <mark@codesourcery.com>
12151
12152 * stor-layout.c (update_alignment_for_field): New function.
12153 (place_union_field): Use it.
12154 (place_field): Likewise.
12155
12156 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
12157
12158 PR other/8077
12159 * gcc.c (cc1_options): Add space on -auxbase-strip.
12160
12161 2002-10-01 Jim Wilson <wilson@redhat.com>
12162
12163 * config/v850/v850.h (EPILOGUE_USES): Define.
12164
12165 2002-09-30 Andrew Haley <aph@redhat.com>
12166
12167 * flow.c (insn_dead_p): When using non-call-exceptions, don't
12168 eliminate insns that may trap.
12169 * cse.c (insn_live_p): Likewise.
12170
12171 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12172
12173 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
12174 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
12175 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
12176 * config/mips/mips.md: Apply same renaming here.
12177
12178 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12179
12180 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
12181 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
12182 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
12183 * config/mips/mips.md (define_attr cpu): Remove r4320.
12184 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
12185
12186 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12187
12188 * config/mips/mips.c (mips16_strings): New variable.
12189 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
12190 symbol in mips16_strings. Free the list.
12191 (mips_encode_section_info): Keep track of local strings.
12192
12193 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12194
12195 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
12196 (sordered_df, sordered_sf): Remove.
12197 * config/mips/mips.c (get_float_compare_codes): New fn.
12198 (gen_int_relational, gen_conditional_move): Use it.
12199
12200 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12201
12202 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
12203 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
12204 * config/mips/mips.c (fcc_register_operand): New function.
12205 (mips_emit_fcc_reload): New function, extracted from reload_incc.
12206 (override_options): Allow TFmode values in float registers
12207 if ISA_HAS_8CC.
12208 * cnfig/mips/mips.md (reload_incc): Change destination prediate
12209 to fcc_register_operand. Remove misleading source constraint.
12210 Use mips_emit_fcc_reload.
12211 (reload_outcc): Duplicate reload_incc.
12212
12213 2002-09-30 Zack Weinberg <zack@codesourcery.com>
12214
12215 * gcc.c (validate_switches): Handle all new forms of spec
12216 syntax introduced recently. Now returns a char *.
12217 (validate_all_switches): Repetitive logic broken out to...
12218 (validate_switches_from_spec): ...here.
12219 * mklibgcc.in: Don't @-flag commands to generate .oS files.
12220
12221 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
12222
12223 * longlong.h: Partially synchronize with GMP-4.1 version:
12224 Use i370 definitions also for s390.
12225 Add generic definition of umul_ppmm in terms of smul_ppmm.
12226 [s390] (umul_ppmm): Remove.
12227 [s390] (smul_ppmm): Fix incorrect assembler constraints.
12228 [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
12229
12230 2002-09-30 Bob Wilson <bob.wilson@acm.org>
12231
12232 * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
12233 Add new RL_REGS register class.
12234 (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
12235 Call xtensa_preferred_reload_class for both input and output reloads.
12236 * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
12237 (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
12238 instead of either AR_REGS or GR_REGS classes.
12239 (xtensa_secondary_reload_class): Use new RL_REGS class.
12240 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
12241
12242 2002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
12243
12244 * pa.c (hppa_encode_label): Don't drop '*' from function labels.
12245 (pa_strip_name_encoding): Strip '@' and '*', in that order.
12246 * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
12247 there is a '*' prefix in NAME.
12248
12249 Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
12250
12251 * reload.c (push_reload): Handle subregs and secondary memory.
12252 * reload1.c (gen_reload): Likewise.
12253
12254 * jump.c (reg_or_subregno): New function.
12255 * rtl.h (reg_or_subregno): Declare
12256 * unroll.c (find_splittable_givs): Handle subregs.
12257
12258 2002-09-30 Mark Mitchell <mark@codesourcery.com>
12259
12260 * store-layout.c (finish_record_layout): Add free_p parameter.
12261 (layout_type): Pass it.
12262 * tree.h (finish_record_layout): Update prototype.
12263
12264 Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
12265
12266 * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
12267
12268 * gcse.c (cprop_jump): Check that the register has not
12269 been modified
12270 (cprop_jump): Likewise.
12271
12272 2002-09-30 Richard Earnshaw <rearnsha@arm.com>
12273
12274 * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
12275 (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
12276 that we have a SImode access, and only then if reload hasn't completed;
12277 for all other cases, use LO_REGS.
12278
12279 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12280
12281 * openbsd.h: Fix typo in last change.
12282
12283 2002-09-29 Richard Henderson <rth@redhat.com>
12284
12285 * real.c (real_from_string): Apply sign last. Tidy exponent handling.
12286
12287 2002-09-29 Richard Henderson <rth@redhat.com>
12288
12289 PR c/8002
12290 * combine.c (force_to_mode): Handle FLOAT_MODE destinations
12291 for CONST_INT.
12292
12293 2002-09-29 David Edelsohn <edelsohn@gnu.org>
12294
12295 * real.h (ibm_extended_format): Declare.
12296 * real.c (encode_ibm_extended, decode_ibm_extended): New
12297 functions.
12298
12299 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12300
12301 * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
12302
12303 * ia64.c (ia64_hpux_asm_file_end): Const-ify.
12304
12305 2002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
12306
12307 * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
12308
12309 2002-09-29 Kazu Hirata <kazu@cs.umass.edu>
12310
12311 * builtins.def: Fix comment formatting.
12312 * c-common.def: Likewise.
12313 * cfgcleanup.c: Likewise.
12314 * combine.c: Likewise.
12315 * gengtype.c: Likewise.
12316 * params.def: Likewise.
12317 * predict.def: Likewise.
12318 * rtl.def: Likewise.
12319 * stab.def: Likewise.
12320 * stor-layout.c: Likewise.
12321 * tree.def: Likewise.
12322 * config/darwin.c: Likewise.
12323 * config/darwin.h: Likewise.
12324 * config/dbxcoff.h: Likewise.
12325 * config/elfos.h: Likewise.
12326 * config/fp-bit.c: Likewise.
12327 * config/freebsd-spec.h: Likewise.
12328 * config/interix.h: Likewise.
12329 * config/libgloss.h: Likewise.
12330 * config/linux-aout.h: Likewise.
12331 * config/linux.h: Likewise.
12332 * config/lynx-ng.h: Likewise.
12333 * config/lynx.h: Likewise.
12334 * config/netbsd-aout.h: Likewise.
12335 * config/netbsd.h: Likewise.
12336 * config/netware.h: Likewise.
12337 * config/psos.h: Likewise.
12338 * config/ptx4.h: Likewise.
12339
12340 2002-09-28 Kazu Hirata <kazu@cs.umass.edu>
12341
12342 * ChangeLog.4: Fix typos.
12343 * ChangeLog.6: Likewise.
12344 * FSFChangeLog.10: Likewise.
12345 * genattrtab.c: Fix comment typos.
12346 * haifa-sched.c: Likewise.
12347 * real.c: Likewise.
12348 * tree.h: Likewise.
12349 * config/arm/arm.c: Likewise.
12350 * config/arm/crti.asm: Likewise.
12351 * config/arm/crtn.asm: Likewise.
12352 * config/frv/frv.c: Likewise.
12353 * config/frv/frv.md: Likewise.
12354 * config/h8300/h8300.md: Likewise.
12355 * config/i386/rtemself.h: Likewise.
12356 * config/ia64/unwind-ia64.c: Likewise.
12357 * config/ip2k/ip2k.h: Likewise.
12358 * config/m88k/m88k.c: Likewise.
12359 * config/m88k/m88k.md: Likewise.
12360 * config/mips/sr71k.md: Likewise.
12361 * config/mmix/mmix.c: Likewise.
12362 * config/rs6000/rs6000.c: Likewise.
12363 * config/sh/sh.md: Likewise.
12364
12365 2002-09-26 Theodore A. Roth <troth@verinet.com>
12366
12367 * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
12368 * config/avr/avr.md: Ditto.
12369
12370 2002-09-27 Alexander N. Kabaev <ak03@gte.com>
12371
12372 PR preprocessor/8055
12373 * cppmacro.c (stringify_arg): Do not overflow the buffer
12374 with the terminating NUL when the argument to be stringified
12375 has no tokens.
12376
12377 2002-09-27 Richard Henderson <rth@redhat.com>
12378
12379 * unroll.c (simplify_cmp_and_jump_insns): New.
12380 (unroll_loop): Use it. Use simplify_gen_foo+force_operand
12381 instead of expand_simple_foo.
12382
12383 2002-09-27 Richard Henderson <rth@redhat.com>
12384
12385 PR optimization/7520
12386 * cfganal.c (flow_active_insn_p): New.
12387 (forwarder_block_p): Use it.
12388
12389 2002-09-27 Richard Henderson <rth@redhat.com>
12390
12391 * emit-rtl.c (active_insn_p): Revert last change.
12392
12393 2002-09-27 Jakub Jelinek <jakub@redhat.com>
12394
12395 * doc/extend.texi (tls_model): Document.
12396 * varasm.c (decl_tls_model): New.
12397 * c-common.c (handle_tls_model_attribute): New.
12398 (c_common_attribute_table): Add tls_model.
12399 * config/alpha/alpha.c (alpha_encode_section_info): Use
12400 decl_tls_model.
12401 * flags.h (enum tls_model, flag_tls_default): Move...
12402 * tree.h (enum tls_model, flag_tls_default): ...here.
12403 (decl_tls_model): New prototype.
12404 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
12405 * config/i386/i386.c (ix86_encode_section_info): Likewise.
12406 * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
12407 Allow !flag_pic.
12408
12409 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
12410
12411 * LANGUAGES: Follow spelling conventions.
12412 * rtl.def: Likewise.
12413 * sbitmap.c: Likewise.
12414 * sched-int.h: Likewise.
12415 * sched-rgn.c: Likewise.
12416 * sibcall.c: Likewise.
12417 * simplify-rtx.c: Likewise.
12418 * ssa.c: Likewise.
12419 * stab.def: Likewise.
12420 * stmt.c: Likewise.
12421 * stor-layout.c: Likewise.
12422 * target.h: Likewise.
12423 * timevar.c: Likewise.
12424 * toplev.c: Likewise.
12425 * tree-dump.c: Likewise.
12426 * tree-inline.c: Likewise.
12427 * tree.c: Likewise.
12428 * tree.def: Likewise.
12429 * tree.h: Likewise.
12430 * unroll.c: Likewise.
12431 * varasm.c: Likewise.
12432 * vmsdbgout.c: Likewise.
12433 * treelang/treelang.texi: Likewise.
12434 * treelang/treetree.c: Likewise.
12435
12436 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
12437
12438 * config/h8300/h8300.c (compute_saved_regs): Use a macro
12439 instead of a hard register number.
12440 (get_shift_alg): Use an enumerated type instead of numbers.
12441 (h8300_shift_needs_scratch_p): Likewise.
12442
12443 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
12444
12445 * varasm.c (force_data_section): Remove.
12446 (assemble_constant_align): Likewise.
12447 * output.h: Remove corresponding prototypes.
12448
12449 2002-09-26 Roger Sayle <roger@eyesopen.com>
12450
12451 * stmt.c (expand_exit_loop_if_false): Expand a simple conditional
12452 jump, if the loop to exit is the top of the current nesting stack.
12453
12454 2002-09-26 Torbjorn Granlund <tege@swox.com>
12455
12456 * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long'
12457 arithmetic.
12458
12459 2002-09-26 David S. Miller <davem@redhat.com>
12460
12461 PR optimization/7335
12462 * calls.c (emit_library_call_value_1): Passing args by reference
12463 converts a CONST function into a PURE one.
12464
12465 2002-09-26 David Edelsohn <edelsohn@gnu.org>
12466
12467 * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
12468 text_section.
12469 * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
12470 text section.
12471 * config/rs6000/rs6000.c (rs6000_override_options): Allow
12472 function-sections and data-sections functionality on AIX.
12473
12474 2002-09-26 David Edelsohn <edelsohn@gnu.org>
12475 Dale Johannesen <dalej@apple.com>
12476
12477 * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
12478 in RTL for sub-word loads from memory.
12479
12480 2002-09-26 Richard Henderson <rth@redhat.com>
12481
12482 PR c/7160
12483 * sched-deps.c (sched_analyze_insn): Make clobber insns depend
12484 on call insns.
12485
12486 2002-09-26 Richard Henderson <rth@redhat.com>
12487
12488 * emit-rtl.c (const_double_htab_eq): Remove unused variable.
12489
12490 2002-09-26 Chris Lattner <sabre@nondot.org>
12491
12492 * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
12493 handling undefined values.
12494
12495 2002-09-26 Richard Henderson <rth@redhat.com>
12496
12497 PR opt/7520
12498 * emit-rtl.c (active_insn_p): Consider a clobber of the
12499 function return value to be active even after reload.
12500
12501 2002-09-27 Alan Modra <amodra@bigpond.net.au>
12502
12503 * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
12504 by absolute loop increment, not loop increment.
12505
12506 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
12507
12508 * c-common.h: Follow spelling conventions.
12509 * cpplex.c: Likewise.
12510 * cpplib.h: Likewise.
12511 * gthr-dce.h: Likewise.
12512 * gthr-posix.h: Likewise.
12513 * optabs.c: Likewise.
12514 * output.h: Likewise.
12515 * profile.c: Likewise.
12516 * protoize.c: Likewise.
12517 * ra-rewrite.c: Likewise.
12518 * real.c: Likewise.
12519 * recog.c: Likewise.
12520 * reg-stack.c: Likewise.
12521 * regclass.c: Likewise.
12522 * regmove.c: Likewise.
12523 * reload.c: Likewise.
12524 * reload.h: Likewise.
12525 * reload1.c: Likewise.
12526 * reorg.c: Likewise.
12527 * resource.c: Likewise.
12528 * rtl.h: Likewise.
12529 * rtlanal.c: Likewise.
12530
12531 2002-09-26 Steve Ellcey <sje@cup.hp.com>
12532
12533 * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
12534 for symbol address.
12535
12536 2002-09-24 Eric Christopher <echristo@redhat.com>
12537
12538 * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
12539 * config/mips/elf64.h: Ditto.
12540
12541 2002-09-24 Eric Christopher <echristo@redhat.com>
12542
12543 * except.c (expand_builtin_extract_return_address): Handle case
12544 where Pmode != ptr_mode.
12545
12546 2002-09-26 Steve Ellcey <sje@cup.hp.com>
12547
12548 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
12549
12550 2002-09-26 Steve Ellcey <sje@cup.hp.com>
12551
12552 * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
12553
12554 2002-09-26 Igor Shevlyakov <igor@microunity.com>
12555
12556 * combine.c (simplify_set): Don't call to force_to_mode if size
12557 of integer type is larger than HOST_BITS_PER_WIDE_INT.
12558
12559 2002-09-26 Janis Johnson <janis187@us.ibm.com>
12560
12561 * Makefile.in (qmtest-g++): Fix file path.
12562
12563 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
12564
12565 * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
12566 A + (-const) on RTX level, even for unsigned types.
12567
12568 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
12569
12570 * reload.c (dup_replacements): New function.
12571 (find_reloads): Use it to duplicate replacements at the top level
12572 of match_dup operands.
12573
12574 2002-09-26 Miles Bader <miles@gnu.org>
12575
12576 * v850.md ("length"): Change default value to 4.
12577
12578 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
12579
12580 * ChangeLog.1: Follow spelling conventions.
12581 * ChangeLog.4: Likewise.
12582 * ChangeLog.6: Likewise.
12583 * FSFChangeLog.11: Likewise.
12584 * doc/cpp.texi: Likewise.
12585 * doc/invoke.texi: Likewise.
12586 * doc/tm.texi: Likewise.
12587
12588 2002-09-26 Nick Clifton <nickc@redhat.com>
12589
12590 * config.gcc: Add x prefix to v850e case for handling
12591 --with-cpu=v850e.
12592
12593 2002-09-25 Zack Weinberg <zack@codesourcery.com>
12594
12595 * gcc.c (input_suffix_matches, switch_matches,
12596 mark_matching_switches, process_marked_switches,
12597 process_brace_body): New functions - split from handle_braces.
12598 (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept
12599 and ignore whitespace in more places.
12600 (specs documentation comment): Document %{S:X;T:Y;:D}.
12601 Clarify other %{...} docs.
12602 * doc/invoke.texi: Document %{S:X;T:Y;:D}. Clarify other
12603 %{...} docs.
12604
12605 * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}.
12606 * config/rs6000/sysv4.h: Use N-way choice spec syntax.
12607
12608 2002-09-25 David S. Miller <davem@redhat.com>
12609
12610 PR target/7842
12611 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
12612 extend.
12613
12614 2002-09-25 Richard Henderson <rth@redhat.com>
12615
12616 * emit-rtl.c (const_double_htab_eq): Distinguish integer and
12617 fp CONST_DOUBLE; use real_identical.
12618
12619 2002-09-25 Mark Mitchell <mark@codesourcery.com>
12620
12621 * doc/invoke.texi: Add more -Wabi examples.
12622
12623 2002-09-25 Richard Sandiford <rsandifo@redhat.com>
12624
12625 * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
12626
12627 2002-09-24 Nathan Sidwell <nathan@codesourcery.com>
12628
12629 * profile.c (end_branch_prob): Only look for __gcov_init on
12630 weak-enabled native compilers.
12631
12632 2002-09-24 Denis Chertykov <denisc@overta.ru>
12633
12634 * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
12635 cases of optimizing "add sp,w" to "inc sp".
12636
12637 2002-09-24 Adam Nemet <anemet@lnxw.com>
12638
12639 * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
12640 epilogue for naked functions.
12641
12642 2002-09-24 Adam Nemet <anemet@lnxw.com>
12643 Nick Clifton <nickc@redhat.com>
12644
12645 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
12646 (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
12647 is defined.
12648
12649 2002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
12650
12651 * config/s390/s390.c (preferred_la_operand_p): New function.
12652 * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
12653 * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
12654 ("*la_64_cc", "*la_31_cc", splitters): ... these.
12655 ("*la_31"): Deactivate for TARGET_64BIT.
12656 ("*la_31_and", "*la_31_and_cc"): New.
12657
12658 2002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12659
12660 * real.h (real_value): Make `exp' explicitly signed.
12661
12662 2002-09-24 Kazu Hirata <kazu@cs.umass.edu>
12663
12664 * config/elfos.h: Follow spelling conventions.
12665 * config/alpha/alpha.h: Likewise.
12666 * config/arc/arc.h: Likewise.
12667 * config/arm/arm.md: Likewise.
12668 * config/avr/avr.h: Likewise.
12669 * config/cris/cris.md: Likewise.
12670 * config/d30v/d30v.h: Likewise.
12671 * config/frv/frv.c: Likewise.
12672 * config/frv/frv.h: Likewise.
12673 * config/h8300/h8300.c: Likewise.
12674 * config/h8300/h8300.h: Likewise.
12675 * config/h8300/h8300.md: Likewise.
12676 * config/i386/cygwin.h: Likewise.
12677 * config/i386/i386.h: Likewise.
12678 * config/i386/sysv3.h: Likewise.
12679 * config/i960/i960.h: Likewise.
12680 * config/ia64/ia64.h: Likewise.
12681 * config/ia64/ia64.md: Likewise.
12682 * config/ip2k/ip2k.h: Likewise.
12683 * config/m32r/m32r.h: Likewise.
12684 * config/m68k/m68k.h: Likewise.
12685 * config/m88k/m88k.h: Likewise.
12686 * config/mcore/mcore.c: Likewise.
12687 * config/mcore/mcore.h: Likewise.
12688 * config/mcore/mcore.md: Likewise.
12689 * config/mips/mips.h: Likewise.
12690 * config/mmix/mmix.h: Likewise.
12691 * config/mmix/mmix.md: Likewise.
12692 * config/ns32k/netbsd.h: Likewise.
12693 * config/ns32k/ns32k.h: Likewise.
12694 * config/ns32k/ns32k.md: Likewise.
12695 * config/pa/pa.h: Likewise.
12696 * config/romp/romp.h: Likewise.
12697 * config/rs6000/rs6000.h: Likewise.
12698 * config/rs6000/rs6000.md: Likewise.
12699 * config/sparc/sparc.h: Likewise.
12700 * config/stormy16/stormy-abi: Likewise.
12701 * config/stormy16/stormy16.h: Likewise.
12702 * config/vax/vax.h: Likewise.
12703
12704 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
12705
12706 * config/alpha/alpha.h: Remove commented-out macro
12707 definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
12708 * config/avr/avr.h: Likewise.
12709 * config/d30v/d30v.h: Likewise.
12710 * config/dsp16xx/dsp16xx.h: Likewise.
12711 * config/i370/i370.h: Likewise.
12712 * config/i386/i386.h: Likewise.
12713 * config/i960/i960.h: Likewise.
12714 * config/m68k/m68k.h: Likewise.
12715 * config/m88k/m88k.h: Likewise.
12716 * config/mips/mips.h: Likewise.
12717 * config/ns32k/ns32k.h: Likewise.
12718 * config/pdp11/pdp11.h: Likewise.
12719 * config/romp/romp.h: Likewise.
12720 * config/rs6000/rs6000.h: Likewise.
12721 * config/s390/s390.h: Likewise.
12722 * config/sh/sh.h: Likewise.
12723 * config/sparc/sparc.h: Likewise.
12724 * config/stormy16/stormy16.h: Likewise.
12725 * config/vax/vax.h: Likewise.
12726
12727 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
12728
12729 * function.c (push_temp_slots_for_block): Remove.
12730 (push_temp_slots_for_target): Likewise.
12731 (get_target_temp_slot_level): Likewise.
12732 (set_target_temp_slot_level): Likewise.
12733 (get_first_block_beg): Likewise.
12734 * function.h: Remove corresponding prototypes.
12735
12736 2002-09-23 Zack Weinberg <zack@codesourcery.com>
12737
12738 * version.c (version_string): Now const char[].
12739 * version.h: Update to match.
12740
12741 2002-09-23 Richard Henderson <rth@redhat.com>
12742
12743 * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
12744 MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
12745 (TARGET_SWITCHES): Don't reference them.
12746 * config/i386/i386.c (override_options): Use target_flags_explicit
12747 to examine bits set by the user.
12748
12749 2002-09-23 Dale Johannesen <dalej@apple.com>
12750
12751 * dbxout.c (dbxout_parms): Set current_sym_code for params
12752 passed on stack by invisible reference.
12753
12754 2002-09-23 Richard Earnshaw <rearnsha@arm.com>
12755
12756 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
12757 at least one byte of space.
12758
12759 2002-09-23 Mark Mitchell <mark@codesourcery.com>
12760
12761 * c-common.h (flag_abi_version): Fix typo in comment.
12762 * doc/invoke.texi (flag_abi_version): Document default value.
12763
12764 2002-09-23 Hans-Peter Nilsson <hp@axis.com>
12765
12766 * doc/extend.texi (Extended Asm): Clarify that overlap between
12767 asm-declared register variables used in an asm and the asm clobber
12768 list is not allowed.
12769 * stmt.c (decl_conflicts_with_clobbers_p): New function.
12770 (expand_asm_operands): Keep track of clobbered registers. Call
12771 decl_conflicts_with_clobbers_p for each input and output operand.
12772 If no conflicts found before, also do conflict sanity check when
12773 emitting clobbers.
12774
12775 2002-09-23 Richard Henderson <rth@redhat.com>
12776
12777 * c-common.c (cpp_define_data_format): Remove.
12778 (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
12779 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
12780 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
12781 * doc/cpp.texi: Don't document them either.
12782 (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
12783 __LONG_LONG_MAX__): Document.
12784 (__TARGET_FLOAT_FORMAT__): Remove.
12785
12786 2002-09-23 Richard Henderson <rth@redhat.com>
12787
12788 * real.c (do_multiply): Normalize U before addition.
12789
12790 2002-09-23 Mark Mitchell <mark@codesourcery.com>
12791
12792 * c-common.c (flag_abi_version): New variable.
12793 * c-common.h (flag_abi_version): Declare it.
12794 * c-opts.c (missing_arg): Add -fabi-version.
12795 (c_common_decode_option): Process -fabi-version.
12796 * doc/invoke.texi (-fabi-version): Document it.
12797 (-Wabi): Add information about bit-fields in unions.
12798
12799 2002-09-22 Roger Sayle <roger@eyesopen.com>
12800
12801 * expr.c (STORE_BY_PIECES_P): New target macro.
12802 (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P
12803 instead of MOVE_BY_PIECES_P.
12804 * doc/tm.texi: Document this new macro.
12805
12806 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
12807
12808 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
12809 unless -fno-pic or -fno-PIC is specified.
12810
12811 2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
12812
12813 * c-common.c (preprocessing_trad_p): Define.
12814 * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
12815 (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
12816 * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
12817 * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
12818 * pa-linux.h (CPP_PREDEFINES): Delete.
12819 (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
12820 * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
12821 * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
12822 (TARGET_OS_CPP_BUILTINS): Define.
12823 * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
12824 (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
12825 (SUBTARGET_SWITCHES): Provide default definition.
12826 (TARGET_OPTIONS): Reformat. Use N_() macro.
12827 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
12828 CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
12829 EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
12830 (TARGET_CPU_CPP_BUILTINS): Define.
12831 (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
12832 * doc/invoke.texi (msio, mwsio): Document new hppa options.
12833 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
12834 preprocessing_trad_p().
12835
12836 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
12837
12838 * doc/install.texi: Document behavior of --with-headers and
12839 --with-libs when arguments are omitted.
12840
12841 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>
12842
12843 * dbxout.c: Follow spelling conventions.
12844 * defaults.h: Likewise.
12845 * df.c: Likewise.
12846 * diagnostic.h: Likewise.
12847 * doloop.c: Likewise.
12848 * dwarf2out.c: Likewise.
12849 * dwarfout.c: Likewise.
12850 * emit-rtl.c: Likewise.
12851 * except.c: Likewise.
12852 * explow.c: Likewise.
12853 * expmed.c: Likewise.
12854 * expr.c: Likewise.
12855 * expr.h: Likewise.
12856 * flags.h: Likewise.
12857 * flow.c: Likewise.
12858 * fold-const.c: Likewise.
12859 * function.c: Likewise.
12860 * function.h: Likewise.
12861 * gcc.c: Likewise.
12862 * gcov-io.h: Likewise.
12863 * gcov.c: Likewise.
12864 * gcse.c: Likewise.
12865 * genattrtab.c: Likewise.
12866 * genconfig.c: Likewise.
12867 * genrecog.c: Likewise.
12868 * ggc-page.c: Likewise.
12869 * ggc.h: Likewise.
12870 * global.c: Likewise.
12871 * gthr-win32.h: Likewise.
12872 * integrate.c: Likewise.
12873 * jump.c: Likewise.
12874 * langhooks.c: Likewise.
12875 * langhooks.h: Likewise.
12876 * line-map.h: Likewise.
12877 * local-alloc.c: Likewise.
12878 * longlong.h: Likewise.
12879 * loop.c: Likewise.
12880 * loop.h: Likewise.
12881
12882 Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
12883
12884 * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
12885
12886 Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
12887
12888 * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
12889 for -Os/TARGET_64BIT too.
12890
12891 2002-09-21 Kazu Hirata <kazu@cs.umass.edu>
12892
12893 * ChangeLog: Follow spelling conventions.
12894 * ChangeLog.0: Likewise.
12895 * ChangeLog.1: Likewise.
12896 * ChangeLog.2: Likewise.
12897 * ChangeLog.3: Likewise.
12898 * ChangeLog.4: Likewise.
12899 * ChangeLog.5: Likewise.
12900 * ChangeLog.6: Likewise.
12901 * FSFChangeLog.10: Likewise.
12902 * FSFChangeLog.11: Likewise.
12903 * alias.c: Likewise.
12904 * basic-block.h: Likewise.
12905 * c-aux-info.c: Likewise.
12906 * c-common.c: Likewise.
12907 * c-common.h: Likewise.
12908 * c-decl.c: Likewise.
12909 * c-format.c: Likewise.
12910 * c-semantics.c: Likewise.
12911 * c-typeck.c: Likewise.
12912 * calls.c: Likewise.
12913 * cfganal.c: Likewise.
12914 * cfgloop.c: Likewise.
12915 * collect2.c: Likewise.
12916 * combine.c: Likewise.
12917 * conflict.c: Likewise.
12918 * cppexp.c: Likewise.
12919 * cppfiles.c: Likewise.
12920 * cpphash.h: Likewise.
12921 * cppinit.c: Likewise.
12922 * cpplex.c: Likewise.
12923 * cpplib.c: Likewise.
12924 * cpplib.h: Likewise.
12925 * cppmacro.c: Likewise.
12926 * cse.c: Likewise.
12927
12928 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
12929
12930 * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
12931 LINK_SPEC.
12932 (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
12933 * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
12934 (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
12935
12936 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
12937
12938 PR opt/7930
12939 * cse.c (fold_rtx): Calculate old_cost before we fold each
12940 operand.
12941
12942 2002-09-21 Richard Henderson <rth@redhat.com>
12943
12944 * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
12945 __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
12946 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
12947 __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
12948 __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
12949 * doc/cpp.texi: Don't document them.
12950
12951 2002-09-21 Richard Henderson <rth@redhat.com>
12952
12953 * c-common.c (builtin_define_float_constants): Use real_format
12954 to get the floating-point parameters.
12955
12956 2002-09-21 Richard Henderson <rth@redhat.com>
12957
12958 * real.c (struct real_format): Move to real.h.
12959 (real_format_for_mode): Rename from fmt_for_mode; update all users;
12960 initialize with ieee defaults.
12961 (real_to_target_fmt, real_from_target_fmt): New.
12962 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
12963 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
12964 ieee_quad_format, i370_single_format, i370_double_format,
12965 c4x_single_format, c4x_extended_format): Rename from s/_format//.
12966 (ieee_quad_format): Fix emin.
12967 (format_for_size, init_real_once): Remove.
12968 * real.h (struct real_format): Move from real.c.
12969 (real_format_for_mode): Declare.
12970 (real_to_target_fmt, real_from_target_fmt): Declare.
12971 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
12972 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
12973 ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
12974 i370_single_format, i370_double_format, c4x_single_format,
12975 c4x_extended_format): Declare.
12976 * toplev.c (do_compile): Don't call init_real_once.
12977
12978 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
12979 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
12980
12981 * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
12982 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
12983 * config/alpha/alpha.c (override_options): Set real_format_for_mode
12984 for VAX, if enabled.
12985
12986 * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
12987 for C4X.
12988
12989 * config/i370/i370.h (OVERRIDE_OPTIONS): New.
12990 * config/i370/i370.c (override_options): New.
12991 * config/i370/i370-protos.h: Update.
12992
12993 * config/i386/i386.c (override_options): Set real_format_for_mode
12994 for Intel 80-bit extended.
12995 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
12996
12997 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
12998 (OVERRIDE_OPTIONS): Move code...
12999 * config/i960/i960.c (i960_initialize): ... here. Set
13000 real_format_for_mode for Intel 80-bit extended.
13001
13002 * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
13003 for Intel 80-bit extended, if enabled.
13004
13005 * config/m68k/m68k.c (override_options): Set real_format_for_mode
13006 for Motorola 96-bit extended.
13007
13008 * config/vax/vax.h (OVERRIDE_OPTIONS): New.
13009 * config/vax/vax.c (override_options): New.
13010 * config/vax/vax-protos.h: Update.
13011
13012 2002-09-21 Alan Modra <amodra@bigpond.net.au>
13013
13014 * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
13015 #if TARGET_MACHO.
13016
13017 * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
13018 insns. Supply missing clobber of scratch reg.
13019
13020 2002-09-20 Kazu Hirata <kazu@cs.umass.edu>
13021
13022 * config/m32r/m32r.c: Follow spelling conventions.
13023 * config/m32r/m32r.h: Likewise.
13024 * config/m32r/m32r.md: Likewise.
13025 * config/m68k/m68k.c: Likewise.
13026 * config/m88k/m88k.c: Likewise.
13027 * config/mcore/mcore.c: Likewise.
13028 * config/mips/mips.c: Likewise.
13029 * config/mips/mips.h: Likewise.
13030 * config/mmix/mmix.c: Likewise.
13031 * config/mn10200/mn10200.c: Likewise.
13032 * config/ns32k/ns32k.h: Likewise.
13033 * config/pa/pa.c: Likewise.
13034 * config/pa/pa64-linux.h: Likewise.
13035 * config/pdp11/pdp11.h: Likewise.
13036 * config/romp/romp.c: Likewise.
13037 * config/romp/romp.h: Likewise.
13038 * config/rs6000/eabi.asm: Likewise.
13039 * config/rs6000/linux64.h: Likewise.
13040 * config/rs6000/rs6000.c: Likewise.
13041 * config/rs6000/rs6000.h: Likewise.
13042 * config/rs6000/rs6000.md: Likewise.
13043 * config/rs6000/sysv4.h: Likewise.
13044 * config/rs6000/xcoff.h: Likewise.
13045
13046 2002-09-20 Jim Wilson <wilson@redhat.com>
13047
13048 * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
13049
13050 2002-09-20 Jakub Jelinek <jakub@redhat.com>
13051
13052 * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
13053 * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
13054 UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
13055 (legitimate_address_p): Likewise.
13056 (legitimize_address): Use @gotntpoff and @indntpoff.
13057 (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
13058 (output_addr_const_extra): Likewise.
13059
13060 2002-09-20 Jim Wilson <wilson@redhat.com>
13061
13062 * combine.c (try_combine): When split an instruction pair, where the
13063 first has a sign_extend src, verify that the src and dest modes match.
13064
13065 2002-09-20 Richard Henderson <rth@redhat.com>
13066
13067 * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
13068 (override_options): Do not initialize them.
13069 (mips_const_double_ok): Allow no fp constants except zero,
13070 and not even that for mips16.
13071 (const_float_1_operand): Use dconst1.
13072 * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
13073 movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
13074 Don't allow arbitrary constants; fix predicates and C constraint.
13075
13076 2002-09-20 Neil Booth <neil@daikokuya.co.uk>
13077
13078 * cppmacro.c: Don't warn about function-like macros without
13079 '(' during pre-expansion.
13080
13081 2002-09-20 Jim Wilson <wilson@redhat.com>
13082
13083 * config/v850/v850.c (current_function_anonymous_args): Delete.
13084 (expand_prologue): Use current_function_args_info.anonymous_args.
13085 (expand_epilogue): Delete use of current_function_anonymous_args.
13086 * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
13087 (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
13088 (current_function_anonymous_args): Delete extern declaration.
13089 (SETUP_INCOMING_VARARGS): Set anonymous_args field.
13090
13091 2002-09-20 Geoffrey Keating <geoffk@apple.com>
13092
13093 * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
13094 to load_macho_picbase.
13095 * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
13096 (load_macho_picbase): Take the symbol to use as a parameter.
13097 (macho_correct_pic): New insn.
13098 (builtin_setjmp_reciever): On Darwin, restore the PIC register.
13099
13100 * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
13101 RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
13102 (CAN_ELIMINATE): Likewise.
13103 (INITIAL_ELIMINATION_OFFSET): Likewise.
13104 (TOC_REGISTER): Likewise.
13105
13106 2002-09-20 Richard Henderson <rth@redhat.com>
13107
13108 * real.c (real_hash): New.
13109 * real.h: Declare it.
13110 * cse.c (canon_hash): Use it.
13111 * cselib.c (hash_rtx): Likewise.
13112 * emit-rtl.c (const_double_htab_hash): Likewise.
13113 * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
13114 * varasm.c (struct rtx_const): Reduce vector size; separate
13115 integer and fp vectors.
13116 (HASHBITS): Remove.
13117 (const_hash_1): Rename from const_hash. Use real_hash. Do not
13118 take modulus MAX_HASH_TABLE.
13119 (const_hash): New. Do take modulus MAX_HASH_TABLE.
13120 (output_constant_def): Do not take modulus MAX_HASH_TABLE.
13121 (SYMHASH): Don't use HASHBITS.
13122 (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
13123 Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
13124 (simplify_subtraction): Fix kind comparison.
13125 (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
13126 Use a union to pun integer array.
13127 * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
13128 only hash two words of integral CONST_DOUBLE.
13129
13130 2002-09-20 Steve Ellcey <sje@cup.hp.com>
13131
13132 * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
13133 (STARTFILE_PREFIX_SPEC): New.
13134 (LINK_SPEC): Modify.
13135 (LIB_SPEC): Modify.
13136 (LIBGCC_SPEC): New.
13137
13138 2002-09-20 Jakub Jelinek <jakub@redhat.com>
13139
13140 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
13141 UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
13142
13143 2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
13144
13145 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
13146 Add clobber of the condition code register.
13147
13148 2002-09-20 Richard Henderson <rth@redhat.com>
13149
13150 * real.c (do_fix_trunc): Static.
13151 (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
13152 encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
13153 encode_i370_single, encode_i370_double, encode_c4x_single,
13154 encode_c4x_extended): Add default abort case.
13155
13156 2002-09-20 Richard Henderson <rth@redhat.com>
13157
13158 * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
13159 MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
13160 (struct realvaluetype): Remove.
13161 (REAL_VALUE_TYPE): Use struct real_value.
13162 (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
13163 (test_real_width): New.
13164 * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
13165 (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
13166 (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
13167 real_isneg, real_isnegzero, real_identical, exact_real_inverse,
13168 real_to_integer, real_to_integer2, real_to_decimal,
13169 real_to_hexadecimal, real_from_string, real_from_integer,
13170 real_inf, real_nan, real_2expN, real_convert, real_to_target,
13171 real_from_target): Likewise.
13172 * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
13173 * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
13174
13175 2002-09-20 Richard Henderson <rth@redhat.com>
13176
13177 * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
13178 IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
13179 * defaults.h: ... here.
13180 * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
13181 config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
13182 config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
13183 config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
13184
13185 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
13186
13187 * config/mmix/mmix.md ("negdf2"): Rewrite.
13188 ("*expanded_negdf2"): New.
13189
13190 2002-09-19 Jim Wilson <wilson@redhat.com>
13191
13192 * combine.c (simplify_set): When optimizing a subreg src with a
13193 cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
13194
13195 2002-09-19 Dale Johannesen <dalej@apple.com>
13196 * combine.c (make_extraction): Don't create
13197 invalid subreg.
13198
13199 2002-09-19 Roger Sayle <roger@eyesopen.com>
13200
13201 * tree.c (integer_nonzerop): New predicate for nonzero integers.
13202 * tree.h (integer_nonzerop): Add function prototype.
13203 * stmt.c (expand_end_loop): Don't rotate the loop when there
13204 are no instructions in the test, i.e. the loop is unconditional.
13205 (expand_exit_loop_if_false): Optimize RTL generation of loop
13206 tests when the condition is always true or always false.
13207 * c-semantics.c (genrtl_do_stmt): Optimize RTL generation of
13208 do-loops when the condition is always true.
13209 (genrtl_for_stmt): Optimize RTL generation of for-loops when
13210 the for-expression is empty.
13211
13212 2002-09-19 Zack Weinberg <zack@codesourcery.com>
13213
13214 * gcc.c (use_pipes): New flag.
13215 (process_command): Set it. Adjust check for -pipe conflicting
13216 with -time or -save-temps.
13217 (do_spec_1): Use it. Handle %|SUFFIX, %mSUFFIX, and
13218 %<SWITCH. Drop %| (without a SUFFIX).
13219 (handle_braces): Drop %{<SWITCH}, %{^SWITCH}, %{|...}.
13220 (give_switch): Third argument eliminated.
13221 (invoke_as, @assembler_with_cpp spec): Use %|.s or %m.s
13222 depending on AS_NEEDS_DASH_FOR_PIPED_INPUT.
13223 (specs documentation comment): Update.
13224
13225 * config/netbsd-aout.h, config/openbsd.h, config/ptx4.h,
13226 config/svr4.h, config/i386/freebsd-aout.h,
13227 config/m68k/netbsd-elf.h, config/m68k/netbsd.h,
13228 config/m68k/openbsd.h, config/mips/openbsd.h,
13229 config/sparc/sparc.h: Define AS_NEEDS_DASH_FOR_PIPED_INPUT
13230 instead of putting %| into ASM_SPEC and/or ASM_FINAL_SPEC.
13231 * config/avr/avr.h: Delete do-nothing ASM_FINAL_SPEC.
13232 * config/cris/cris.h: Update comment.
13233
13234 * ada/lang-specs.h: Use %(invoke_as). Straighten out
13235 error messages. Don't use %{^SWITCH}.
13236 * ada/misc.c (gnat_decode_option): Handle -I with a
13237 separate argument.
13238
13239 * f/lang-specs.h: Use %| and %m.
13240 * java/jvspec.c: Use %m and %(invoke_as). Change all
13241 uses of %{<SWITCH} to %<SWITCH.
13242
13243 * doc/invoke.texi: Update documentation of specs.
13244 * doc/tm.texi: Document AS_NEEDS_DASH_FOR_PIPED_INPUT.
13245
13246 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
13247
13248 * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
13249 and STRICT_LOW_PART within SET_DEST.
13250 * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
13251 splitters, replacing pre-reload splitters.
13252 ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
13253 "*zero_extendqihi2_31"): New insns.
13254 ("*zero_extendqihi2_64"): Do not clobber CC.
13255
13256 2002-09-18 Devang Patel <dpatel@apple.com>
13257
13258 * cp/cp-tree.h: New prototype for walk_vtables().
13259 * cp/decl.c (walk_vtables_r): New function.
13260 (struct cp_binding_level): Add new members, namespaces,
13261 names_size and vtables.
13262 (add_decl_to_level): Add decl in namespaces or vtables
13263 chain, if conditions match.
13264 (walk_vtables): New function.
13265 (walk_namespaces_r): Travers separate namespace chain
13266 for namespace decls.
13267 (wrapup_globals_for_namespace): Use names_size instead
13268 of list_length().
13269 * cp/decl2.c (finish_file): Use walk_vtables() instead of
13270 walk_globals() to walk vtable decls.
13271
13272 2002-09-19 Steve Ellcey <sje@cup.hp.com>
13273
13274 * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
13275 (DTORS_SECTION_ASM_OP): Ditto.
13276 (READONLY_DATA_SECTION_ASM_OP): Moved.
13277 (DATA_SECTION_ASM_OP): New.
13278 (SDATA_SECTION_ASM_OP): New.
13279 (BSS_SECTION_ASM_OP): New.
13280 (SBSS_SECTION_ASM_OP): New.
13281 (TEXT_SECTION_ASM_OP): New.
13282
13283 2002-09-19 Kazu Hirata <kazu@cs.umass.edu>
13284
13285 * config/fp-bit.c: Follow spelling conventions.
13286 * config/d30v/d30v.c: Likewise.
13287 * config/d30v/d30v.h: Likewise.
13288 * config/fr30/fr30.c: Likewise.
13289 * config/fr30/fr30.h: Likewise.
13290 * config/fr30/fr30.md: Likewise.
13291 * config/frv/frv.c: Likewise.
13292 * config/frv/frv.h: Likewise.
13293 * config/h8300/h8300.c: Likewise.
13294 * config/h8300/lib1funcs.asm: Likewise.
13295 * config/i370/i370.c: Likewise.
13296 * config/i386/i386.h: Likewise.
13297 * config/i386/i386.md: Likewise.
13298 * config/i386/pentium.md: Likewise.
13299 * config/i386/winnt.c: Likewise.
13300 * config/i960/i960.c: Likewise.
13301 * config/ia64/ia64.h: Likewise.
13302 * config/ip2k/ip2k.c: Likewise.
13303 * config/ip2k/ip2k.h: Likewise.
13304 * config/ip2k/ip2k.md: Likewise.
13305 * config/ip2k/libgcc.S: Likewise.
13306
13307 2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
13308
13309 * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
13310 (GOTOFF_P): Extend to allow gotoff plus constant.
13311
13312 2002-09-18 Richard Henderson <rth@redhat.com>
13313
13314 * ifcvt.c (noce_process_if_block): Correctly detect X modified
13315 with INSN_B before COND_EARLIEST. Don't check A and B for
13316 modification in condition range. Reorder INSN_B for A==B properly.
13317 (if_convert): Iterate until no matches for a block.
13318
13319 2002-09-18 Richard Henderson <rth@redhat.com>
13320
13321 * calls.c (store_one_arg): Rename default_align to parm_align;
13322 always adjust parm_align for downward padding.
13323
13324 2002-09-18 Richard Henderson <rth@redhat.com>
13325
13326 * toplev.c (backend_init): Move init_real_once invocation ...
13327 (do_compile): ... here.
13328
13329 2002-09-18 Richard Henderson <rth@redhat.com>
13330
13331 * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
13332 RTX_UNCHANGING_P markers for successful tail-recursive replacement.
13333
13334 2002-09-18 Richard Henderson <rth@redhat.com>
13335
13336 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
13337
13338 2002-09-19 Alan Modra <amodra@bigpond.net.au>
13339
13340 * config/rs6000/rs6000.md: (floatdisf2): Rename to
13341 floatdisf2_internal1.
13342 (floatdisf2): New define_expand.
13343 (floatdisf2_internal2): Likewise.
13344
13345 2002-09-18 Richard Henderson <rth@redhat.com>
13346
13347 * real.c (sticky_rshift_significand): Collect sticky as
13348 unsigned long, not bool.
13349
13350 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
13351
13352 * config/s390/s390.c (s390_address_cost): New function.
13353 config/s390/s390-protos.h (s390_address_cost): Add prototype.
13354 config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
13355 (RTX_COST): Use COSTS_N_INSNS.
13356
13357 2002-09-18 Douglas Rupp <rupp@gnat.com>
13358 Donn Terry <donnte@microsoft.com>
13359
13360 * stor-layout.c (place_field): Handle alignment of whole
13361 structures when MSVC compatible bitfields are involved.
13362 Change method of computing location of MS bitfields to
13363 be compatible with #pragma pack(n).
13364
13365 * tree.h (record_layout_info): Add new field
13366 remaining_in_alignment.
13367
13368 * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
13369 (pragma pack): Add paragraph on MSVC bitfield packing.
13370
13371 2002-09-18 Richard Earnshaw (reanrsha@arm.com)
13372
13373 PR optimization/7967
13374 * arm.md (ne_zeroextractsi): Add clobber of the condition code
13375 register.
13376
13377 2002-09-18 Kazu Hirata <kazu@cs.umass.edu>
13378
13379 * config/s390/s390.c: Follow spelling conventions.
13380 * config/sh/lib1funcs.asm: Likewise.
13381 * config/sh/sh.c: Likewise.
13382 * config/sh/sh.h: Likewise.
13383 * config/sparc/sparc.c: Likewise.
13384 * config/sparc/sparc.h: Likewise.
13385 * config/sparc/sparc.md: Likewise.
13386 * config/stormy16/stormy16.c: Likewise.
13387 * config/stormy16/stormy16.h: Likewise.
13388 * config/v850/v850.c: Likewise.
13389 * config/v850/v850.h: Likewise.
13390 * config/vax/vax.c: Likewise.
13391 * config/vax/vax.h: Likewise.
13392
13393 2002-09-18 Nick Clifton <nickc@redhat.com>
13394
13395 * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
13396 * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
13397 * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
13398
13399 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
13400
13401 * function.c (max_parm_reg_num): Remove.
13402 * stmt.c (in_control_zone_p, stmt_loop_nest_empty,
13403 drop_through_at_end_p, move_cleanups_up,
13404 expand_end_case_dummy, case_index_expr_type): Likewise.
13405 * stor-layout.c (pos_from_byte): Likewise.
13406 * tree.c (chain_member_value, chain_member_purpose, listify,
13407 tree_int_cst_msb, index_type_equal): Likewise.
13408 * tree.h: Remove prototypes for unused functions.
13409
13410 2002-09-17 Zack Weinberg <zack@codesourcery.com>
13411
13412 * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
13413 statement that the only translation is to en_UK.
13414
13415 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
13416
13417 * config/alpha/alpha.c: Follow spelling conventions.
13418 * config/alpha/alpha.h: Likewise.
13419 * config/alpha/alpha.md: Likewise.
13420 * config/arc/arc.h: Likewise.
13421 * config/arm/arm.c: Likewise.
13422 * config/arm/arm.h: Likewise.
13423 * config/arm/arm.md: Likewise.
13424 * config/arm/pe.c: Likewise.
13425 * config/arm/unknown-elf.h: Likewise.
13426 * config/avr/avr.c: Likewise.
13427 * config/avr/avr.h: Likewise.
13428 * config/c4x/c4x.c: Likewise.
13429 * config/cris/cris.c: Likewise.
13430 * config/cris/cris.h: Likewise.
13431
13432 2002-09-17 Samuel Figueroa <figueroa@apple.com>
13433
13434 * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
13435 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
13436 * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
13437
13438 2002-09-17 Dale Johannesen <dalej@apple.com>
13439
13440 * cfgcleanup.c (try_forward_edges): Do not forward a
13441 branch to just after a loop exit before loop optimization;
13442 this interfered with doloop detection.
13443
13444 2002-09-17 Nick Clifton <nickc@redhat.com>
13445
13446 * config/arm/arm.c (output_return_instruction): Do not
13447 writeback the stack pointer when it is being loaded.
13448 (arm_output_epilogue): Likewise.
13449
13450 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
13451
13452 * optabs.c (prepare_cmp_insn): Let emit_library_call_value
13453 generate a pseudo reg that receives the result of a libcall.
13454 (prepare_float_lib_cmp): Likewise.
13455
13456 2002-09-17 Steve Ellcey <sje@cup.hp.com>
13457
13458 * config/ia64/elf.h: Remove CPP_PREDEFINES.
13459
13460 Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
13461
13462 Fix PR/7014 and related objc bugs:
13463 * c-typeck.c (comp_target_types): Added a reflexive argument.
13464 Pass it to ObjC when/if calling objc_comptypes(). Updated all
13465 callers to provide the appropriate reflexive argument.
13466 * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
13467 typechecking for all cases of comparisons and assignments,
13468 particularly the obscure and less common ones involving protocols.
13469
13470 2002-09-17 Nick Clifton <nickc@redhat.com>
13471
13472 * machmode.def (V1DImode): New mode. A single element vector.
13473 * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
13474 (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
13475 * tree.c (build_common_tree_nodes_2): Build
13476 unsigned_V1DI_type_node and V1D1_type_node.
13477 * c-common.c (c_common_type_for_mode): Return
13478 unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
13479 * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
13480
13481 Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
13482
13483 * doc/objc.texi (Constant string objects): Extended documentation
13484 to make clear that the constant string class ivar layout is
13485 completely fixed.
13486
13487 2002-09-17 Roger Sayle <roger@eyesopen.com>
13488
13489 * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
13490 NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
13491
13492 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
13493
13494 * config/mips/mips.c (save_restore_insns): Remove unused variable.
13495 * gcc.c (make_relative_prefix): Likewise.
13496 * loop.c (check_final_value): Likewise.
13497 * jump.c (init_label_info): Remove return value.
13498 * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif.
13499
13500 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13501
13502 * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete.
13503 (ASM_PN_FORMAT): Define.
13504
13505 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13506
13507 * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
13508 c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
13509 i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
13510 m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
13511 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
13512 pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
13513 stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
13514 Delete.
13515 * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
13516 m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
13517 mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
13518
13519 * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
13520 * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
13521
13522 2002-09-16 Richard Henderson <rth@redhat.com>
13523
13524 * expr.c (emit_block_move): Set memory block size as appropriate
13525 for the copy.
13526
13527 2002-09-16 Richard Henderson <rth@redhat.com>
13528
13529 PR fortran/3924
13530 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
13531
13532 2002-09-16 Richard Henderson <rth@redhat.com>
13533
13534 * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
13535 as well as OFFSET for BITPOS.
13536
13537 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
13538
13539 * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
13540 * config/i386/i386.c (processor_alias_table): Add winchip-c6,
13541 winchip2 and c3.
13542 * doc/invoke.texi: Mention new aliases.
13543
13544 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
13545
13546 * calls.c (store_one_arg): Set default alignment for BLKmode arguments
13547 to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
13548 downward.
13549 * function.c (pad_below): Always compile.
13550 (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
13551 alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
13552 Pad below when the argument is not in a register and the padding
13553 direction is downward.
13554
13555 * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
13556 (PAD_VARARGS_DOWN): Define.
13557 * pa.c (function_arg_padding): Revise padding directions to make them
13558 compatible with the 32 and 64-bit runtime architecture documentation.
13559 (hppa_va_arg): Add code to handle variable and size zero arguments
13560 passed by reference on TARGET_64BIT. Reformat.
13561 (function_arg): Use a PARALLEL for BLKmode and aggregates args on
13562 TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
13563 wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
13564 Add comments.
13565 * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
13566 (RETURN_IN_MEMORY): Return size zero types in memory.
13567 (FUNCTION_VALUE): Return TFmode in general registers.
13568 (MUST_PASS_IN_STACK): Define.
13569 (FUNCTION_ARG_BOUNDARY): Simplify.
13570 (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
13571 by reference.
13572 (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
13573
13574 2002-09-16 Richard Henderson <rth@redhat.com>
13575
13576 * real.c (do_fix_trunc): New.
13577 (real_arithmetic): Call it.
13578 * simplify-rtx.c (simplify_unary_operation): Handle FIX
13579 with a floating-point result mode.
13580
13581 2002-09-16 Richard Henderson <rth@redhat.com>
13582
13583 * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
13584 (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
13585 * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
13586 (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
13587 * builtins.c (fold_builtin_nan): New.
13588 (fold_builtin): Call it.
13589 * real.c (real_nan): Parse a non-empty string.
13590 (round_for_format): Fix NaN significand truncation.
13591 * real.h (real_nan): Return bool.
13592 * doc/extend.texi: Document new builtins.
13593
13594 2002-09-16 Jason Merrill <jason@redhat.com>
13595 Danny Smith <dannysmith@users.sourceforge.net>
13596
13597 * config/i386/winnt.c (ix86_handle_dll_attribute): Set
13598 DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
13599 (i386_pe_mark_dllimport): Not here.
13600
13601 2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
13602
13603 * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
13604
13605 2002-09-16 Geoffrey Keating <geoffk@redhat.com>
13606
13607 * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
13608 warnings about unused operands when HOST_BITS_PER_WIDE_INT is
13609 < 64.
13610 (rs6000_emit_cmove): Use real_isinf not target_isinf.
13611
13612 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
13613
13614 * calls.c (emit_library_call_value_1): Don't refer to
13615 hard_libcall_value.
13616 * optabs.c (prepare_float_lib_cmp): Likewise.
13617
13618 2002-09-16 Geoffrey Keating <geoffk@apple.com>
13619
13620 * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
13621 mangling.
13622
13623 The following changes are merged from pch-branch:
13624
13625 * doc/gty.texi (GTY Options): Document %a.
13626 * gengtype.c (do_scalar_typedef): New function.
13627 (process_gc_options): Handle `length' option.
13628 (set_gc_used_type): A pointer to an array of structures doesn't
13629 qualify as a pointer to a structure.
13630 (output_escaped_param): Add `%a' escape.
13631 (write_gc_structure_fields): Allow 'desc' on array of unions.
13632 (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
13633 do_scalar_typedef.
13634
13635 * gengtype.c (enum rtx_code): Make global.
13636 (rtx_format): Make global.
13637 (rtx_next): New.
13638 (gen_rtx_next): New.
13639 (write_rtx_next): New.
13640 (adjust_field_rtx_def): Skip fields marked by chain_next.
13641 (open_base_files): Delete redundant prototype.
13642 (write_enum_defn): New.
13643 (output_mangled_typename): Correct abort call.
13644 (write_gc_marker_routine_for_structure): Handle chain_next and
13645 chain_prev options.
13646 (finish_root_table): Don't output redundant \n.
13647 (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
13648 * c-tree.h (union lang_tree_node): Add chain_next option.
13649
13650 * gengtype.h (NUM_PARAM): New definition.
13651 (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
13652 * gengtype.c (find_param_structure): New.
13653 (adjust_field_type): Handle param<n>_is option.
13654 (process_gc_options): Detect use_params option. Update callers.
13655 (set_gc_used_type): Add 'param' parameter, update callers. Handle
13656 'use_params' option.
13657 (open_base_files): Add splay-tree.h to list of files included.
13658 (output_mangled_typename): New.
13659 (write_gc_structure_fields): Update 'param' parameter to support
13660 multiple parameters. Change name mangling. Allow parameterized
13661 fields to have an apparent scalar type. Handle param<n>_is options,
13662 use_param option.
13663 (write_gc_marker_routine_for_structure): Update for change to name
13664 mangling. Better guess the output file for parameterized types.
13665 (write_gc_types): Update for change to name mangling.
13666 (write_gc_root): Update for change to name mangling. Handle (ignore)
13667 param<n>_is options.
13668 * doc/gty.texi (GTY Options): Add description of param<n>_is
13669 options, use_params option.
13670 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
13671 * gengtype-lex.l: Produce token for param<n>_is.
13672 * gengtype-yacc.y: Parse param<n>_is.
13673
13674 * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
13675
13676 * rtl.c: Update comment describing rtx_format.
13677 * rtl.h (union rtunion): Separate definition and typedef.
13678 (struct rtx_def): Use gengtype to mark.
13679 * Makefile.in (gengtype.o): Also depend on rtl.def.
13680 * ggc.h (ggc_mark_rtx_children): Delete prototype.
13681 (ggc_mark_rtx): Change to alias of gengtype-generated routine.
13682 * ggc-common.c (ggc_mark_rtx_children): Delete.
13683 (ggc_mark_rtx_children_1): Delete.
13684 (gt_ggc_m_rtx_def): Delete.
13685 * gengtype.c (adjust_field_rtx_def): New.
13686 (adjust_field_type): Call adjust_field_rtx_def.
13687 (write_gc_structure_fields): Add 'default' case to switch if none
13688 is specified; remove unused code.
13689
13690 * tree.h (struct tree_exp): Update for change to meaning
13691 of special.
13692 * gengtype.c (adjust_field_tree_exp): New function.
13693 (adjust_field_type): Handle `tree_exp' special here.
13694 (write_gc_structure_fields): Don't handle `tree_exp' special here.
13695 Handle new `dot' option.
13696
13697 * gengtype.h: Make `info' a pointer-to-const.
13698 * gengtype-yacc.y (yacc_ids): Use xasprintf.
13699
13700 * gengtype.c (write_gc_structure_fields): Remove implementation
13701 of `always' option, add `default' option.
13702 * doc/gty.texi (GTY Options): Remove documentation of `always',
13703 add `default'.
13704
13705 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
13706
13707 * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
13708
13709 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13710
13711 * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
13712
13713 * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
13714 instead of the *-protos.h file directly.
13715 * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
13716 * darwin.c (machopic_output_stub): Move prototype ...
13717 * darwin-protos.h (machopic_output_stub): ... here.
13718 * rs6000-protos.h (machopic_output_stub): Don't declare.
13719
13720 2002-09-16 Richard Henderson <rth@redhat.com>
13721
13722 * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
13723
13724 2002-09-16 Richard Henderson <rth@redhat.com>
13725
13726 * real.c, real.h: Rewrite from scratch.
13727
13728 * Makefile.in (simplify-rtx.o): Depend on TREE_H.
13729 (paranoia): New target.
13730 * builtins.c (fold_builtin_inf): Use new real.h interface.
13731 * c-common.c (builtin_define_with_hex_fp_value): Likewise.
13732 * c-lex.c (interpret_float): Likewise.
13733 * emit-rtl.c (gen_lowpart_common): Likewise.
13734 * optabs.c (expand_float): Use real_2expN.
13735 * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
13736 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
13737 (FLOAT_WORDS_BIG_ENDIAN): New.
13738 * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
13739 directly to REAL_VALUE_NEGATIVE.
13740 * loop.c (canonicalize_condition): Likewise.
13741 * simplify-rtx.c: Include tree.h.
13742 (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
13743 with floating-point result modes.
13744 * toplev.c (backend_init): Call init_real_once.
13745
13746 * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
13747 * tree.c (build_real): Likewise.
13748 * config/alpha/alpha.c, config/vax/vax.c (float_strings,
13749 float_values, inited_float_values, check_float_value): Remove.
13750 * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
13751 config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
13752 * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
13753 (VAX_HALFWORD_ORDER): Remove.
13754
13755 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
13756
13757 * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
13758 (s390_load_address): ... this new function.
13759 (s390_decompose_address): Allow the argument pointer and all
13760 virtual registers as 'pointer' registers.
13761 (s390_expand_plus_operand): Use s390_load_address.
13762 config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
13763 ("force_la_31"): New insn pattern.
13764 config/s390/s390-protos.h (legitimize_la_operand): Remove.
13765 (s390_load_address): Add prototype.
13766
13767 * config/s390/s390.c: Include "optabs.h".
13768 (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
13769 config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
13770 s390_expand_cmpstr): Add prototypes.
13771 config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
13772 ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
13773 for operands 0 and 1 to "memory_operand". Add type attribute.
13774 ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
13775 for operands 0 and 1 to "memory_operand". Add type attribute.
13776 ("movstrdi_long", "movstrsi_long"): Remove.
13777 ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
13778 ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
13779 ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
13780 ("clrstrsico"): Remove, replace by ...
13781 ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
13782 ("clrstrsi_64"): Rename to "clrstr_long_64".
13783 ("clrstrsi_31"): Rename to "clrstr_long_31".
13784 ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
13785 ("cmpstr_const"): Remove, replace by ...
13786 ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
13787 ("cmpstr_64"): Rename to "cmpstr_long_64".
13788 ("cmpstr_31"): Rename to "cmpstr_long_31".
13789
13790 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
13791
13792 * ABOUT-NLS: Follow spelling conventions.
13793 * ChangeLog: Likewise.
13794 * ChangeLog.1: Likewise.
13795 * ChangeLog.2: Likewise.
13796 * ChangeLog.3: Likewise.
13797 * ChangeLog.4: Likewise.
13798 * ChangeLog.5: Likewise.
13799 * ChangeLog.6: Likewise.
13800 * FSFChangeLog.10: Likewise.
13801 * FSFChangeLog.11: Likewise.
13802 * c-common.c: Likewise.
13803 * c-lex.c: Likewise.
13804 * c-objc-common.c: Likewise.
13805 * cppexp.c: Likewise.
13806 * cppinit.c: Likewise.
13807 * cpplex.c: Likewise.
13808 * doloop.c: Likewise.
13809 * flow.c: Likewise.
13810 * function.c: Likewise.
13811 * integrate.c: Likewise.
13812 * loop.c: Likewise.
13813 * reg-stack.c: Likewise.
13814 * reload.h: Likewise.
13815 * ssa.c: Likewise.
13816
13817 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13818
13819 * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H)
13820 * vmsdbgout.c: Include "target.h".
13821
13822 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
13823
13824 * ChangeLog: Follow spelling conventions.
13825 * ChangeLog.0: Likewise.
13826 * ChangeLog.1: Likewise.
13827 * ChangeLog.2: Likewise.
13828 * ChangeLog.4: Likewise.
13829 * ChangeLog.6: Likewise.
13830 * config.gcc: Likewise.
13831 * dwarfout.c: Likewise.
13832 * reload1.c: Likewise.
13833 * simplify-rtx.c: Likewise.
13834 * unwind-sjlj.c: Likewise.
13835 * config/avr/avr.h: Likewise.
13836 * config/d30v/d30v.h: Likewise.
13837 * config/frv/frv.c: Likewise.
13838 * config/frv/frv.h: Likewise.
13839 * config/ip2k/ip2k.h: Likewise.
13840 * config/m88k/m88k-move.sh: Likewise.
13841 * config/stormy16/stormy16.c: Likewise.
13842 * config/stormy16/stormy16.h: Likewise.
13843 * doc/extend.texi: Likewise.
13844 * doc/interface.texi: Likewise.
13845 * doc/invoke.texi: Likewise.
13846 * doc/md.texi: Likewise.
13847 * doc/rtl.texi: Likewise.
13848 * doc/tm.texi: Likewise.
13849 * doc/trouble.texi: Likewise.
13850 * ginclude/float.h: Likewise.
13851 * treelang/treelang.texi: Likewise.
13852
13853 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13854
13855 * i386-protos.h (i386_pe_dllexport_name_p,
13856 i386_pe_dllimport_name_p, i386_pe_unique_section,
13857 i386_pe_declare_function_type, i386_pe_record_external_function,
13858 i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
13859 prototype.
13860 * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
13861 * i386/t-interix (winnt.o): Likewise.
13862
13863 * v850-protos.h (v850_output_addr_const_extra): Prototype.
13864
13865 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
13866
13867 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
13868 MIPS ABI CPP macros.
13869 (TARGET_CPU_CPP_BUILTINS): Redefine.
13870 (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
13871 (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
13872
13873 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13874
13875 * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
13876
13877 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
13878
13879 * ChangeLog: Follow spelling conventions.
13880 * ChangeLog.0: Likewise.
13881 * ChangeLog.1: Likewise.
13882 * ChangeLog.2: Likewise.
13883 * ChangeLog.3: Likewise.
13884 * ChangeLog.4: Likewise.
13885 * ChangeLog.5: Likewise.
13886 * ChangeLog.6: Likewise.
13887 * FSFChangeLog.10: Likewise.
13888 * FSFChangeLog.11: Likewise.
13889 * c-common.c: Likewise.
13890 * c-common.h: Likewise.
13891 * c-format.c: Likewise.
13892 * c-opts.c: Likewise.
13893 * cpplib.c: Likewise.
13894 * langhooks.h: Likewise.
13895 * real.c: Likewise.
13896 * reg-stack.c: Likewise.
13897 * toplev.c: Likewise.
13898 * config/arm/arm.c: Likewise.
13899 * config/arm/arm.md: Likewise.
13900 * config/arm/linux-gas.h: Likewise.
13901 * config/arm/netbsd.h: Likewise.
13902 * config/c4x/c4x.c: Likewise.
13903 * config/c4x/c4x.h: Likewise.
13904 * config/c4x/c4x.md: Likewise.
13905 * config/c4x/libgcc.S: Likewise.
13906 * config/fr30/fr30.md: Likewise.
13907 * config/frv/frv.md: Likewise.
13908 * config/ia64/ia64.md: Likewise.
13909 * config/mips/mips.h: Likewise.
13910 * config/mn10300/mn10300.c: Likewise.
13911 * config/stormy16/stormy16.c: Likewise.
13912 * config/v850/v850.md: Likewise.
13913 * doc/extend.texi: Likewise.
13914 * doc/invoke.texi: Likewise.
13915 * doc/md.texi: Likewise.
13916
13917 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
13918
13919 * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
13920 library if -pthread is specified.
13921
13922 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
13923
13924 * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
13925 for --enable-threads=yes and --enable-threads=posix.
13926
13927 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
13928
13929 * config/sparc/cypress.md: Replace Sparc with SPARC.
13930 * config/sparc/freebsd.h: Likewise.
13931 * config/sparc/gmon-sol2.c: Likewise.
13932 * config/sparc/hypersparc.md: Likewise.
13933 * config/sparc/lb1spc.asm: Likewise.
13934 * config/sparc/lb1spl.asm: Likewise.
13935 * config/sparc/linux.h: Likewise.
13936 * config/sparc/linux64.h: Likewise.
13937 * config/sparc/lynx.h: Likewise.
13938 * config/sparc/sol2.h: Likewise.
13939 * config/sparc/sparc-modes.def: Likewise.
13940 * config/sparc/sparc.c: Likewise.
13941 * config/sparc/sparc.h: Likewise.
13942 * config/sparc/sparc.md: Likewise.
13943 * config/sparc/sparclet.md: Likewise.
13944 * config/sparc/supersparc.md: Likewise.
13945 * config/sparc/sysv4.h: Likewise.
13946 * config/sparc/vxsim.h: Likewise.
13947 * config/sparc/vxsparc64.h: Likewise.
13948
13949 2002-09-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13950
13951 * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED.
13952 * collect2.c (ignore_library, aix_std_libs): Move into the context
13953 where it is used.
13954 * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype.
13955 (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes.
13956 * m88k.c (output_call): Wrap variables with macro controlling use.
13957 * rs6000.md: Likewise. Const-ify variable.
13958 * sh.h (ASM_OUTPUT_LABELREF): Likewise.
13959 * final.c (only_leaf_regs_used): Likewise.
13960 * regrename.c (maybe_mode_change): Mark parameter with
13961 ATTRIBUTE_UNUSED.
13962 * reload.c (find_valid_class): Likewise. Likewise for variable.
13963 (find_reloads_address_1): Likewise.
13964 * varasm.c (weak_finish): Wrap variable with macro controlling use.
13965
13966 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
13967
13968 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
13969
13970 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
13971
13972 * ChangeLog: Follow spelling conventions.
13973 * ChangeLog.0: Likewise.
13974 * ChangeLog.2: Likewise.
13975 * ChangeLog.3: Likewise.
13976 * ChangeLog.4: Likewise.
13977 * ChangeLog.5: Likewise.
13978 * ChangeLog.6: Likewise.
13979 * cppfiles.c: Likewise.
13980 * cppinit.c: Likewise.
13981 * cpplib.h: Likewise.
13982 * cse.c: Likewise.
13983 * debug.h: Likewise.
13984 * df.c: Likewise.
13985 * dominance.c: Likewise.
13986 * hashtable.c: Likewise.
13987 * hashtable.h: Likewise.
13988 * loop.c: Likewise.
13989 * config/arm/README-interworking: Likewise.
13990 * config/arm/arm.c: Likewise.
13991 * config/arm/arm.h: Likewise.
13992 * config/arm/arm.md: Likewise.
13993 * config/dsp16xx/dsp16xx.h: Likewise.
13994 * config/frv/frv.c: Likewise.
13995 * config/frv/frv.h: Likewise.
13996 * config/ip2k/ip2k.h: Likewise.
13997 * config/rs6000/rs6000.c: Likewise.
13998 * config/stormy16/stormy-abi: Likewise.
13999 * config/stormy16/stormy16.h: Likewise.
14000 * config/v850/v850.c: Likewise.
14001
14002 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14003
14004 * loop.c: Fix a comment typo.
14005
14006 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14007
14008 * config/fr30/fr30.h: Fix comment typos.
14009 * config/frv/frv.c: Likewise.
14010 * config/i386/xmmintrin.h: Likewise.
14011 * config/mips/mips.c: Likewise.
14012 * config/sh/sh.c: Likewise.
14013
14014 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14015
14016 * haifa-sched.c: Follow spelling conventions.
14017 * regclass.c: Likewise.
14018 * regrename.c: Likewise.
14019 * config/fp-bit.c: Likewise.
14020 * config/frv/frv.h: Likewise.
14021 * config/m88k/m88k.c: Likewise.
14022 * config/mcore/mcore.c: Likewise.
14023 * config/rs6000/darwin.h: Likewise.
14024 * config/rs6000/gnu.h: Likewise.
14025 * config/rs6000/linux.h: Likewise.
14026 * config/rs6000/linux64.h: Likewise.
14027 * config/rs6000/rs6000.c: Likewise.
14028 * config/rs6000/rs6000.h: Likewise.
14029 * config/sh/sh.c: Likewise.
14030 * config/sparc/sparc.c: Likewise.
14031 * config/sparc/ultra1_2.md: Likewise.
14032
14033 2002-09-14 Stephane Carrez <stcarrez@nerim.fr>
14034
14035 * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
14036 memory operand when source is 0 (K constraint).
14037 ("movsi_internal"): Likewise.
14038 ("movdf_internal"): Likewise.
14039 ("movsf_internal"): Likewise.
14040
14041 2002-09-14 Alan Modra <amodra@bigpond.net.au>
14042
14043 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
14044 targetm.binds_local_p to set SYMBOL_REF_FLAG.
14045 (rs6000_xcoff_encode_section_info): Likewise.
14046 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
14047
14048 2002-09-10 Theodore A. Roth <troth@verinet.com>
14049
14050 * gcc/config/avr/avr.h: Set default options for C++ for avr.
14051
14052 2002-09-13 Roger Sayle <roger@eyesopen.com>
14053
14054 * stmt.c (struct nexting): Remove unused alt_end_label field.
14055 (expand_start_loop): Delete initialization of alt_end_label.
14056 (expand_start_null_loop): Likewise.
14057 (expand_exit_loop_if_false): Delete updating of alt_end_label.
14058
14059 2002-09-13 Richard Henderson <rth@redhat.com>
14060
14061 * Makefile.in (toplev.o): Depend on real.h.
14062 (print-rtl.o, varasm.o, ifcvt.o): Likewise.
14063
14064 2002-09-14 Alan Modra <amodra@bigpond.net.au>
14065
14066 * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
14067 * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
14068 * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
14069
14070 2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
14071
14072 * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
14073
14074 2002-09-13 Steve Ellcey <sje@cup.hp.com>
14075
14076 * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
14077 ia64*-*-linux*): Set extra_parts.
14078 * config/ia64/t-aix (EXTRA_PARTS): Remove.
14079 * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
14080
14081 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
14082
14083 * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
14084 * config/h8300/h8300.c: Likewise.
14085 * config/h8300/h8300.h: Likewise.
14086 * config/h8300/h8300.md: Likewise.
14087 * doc/invoke.texi: Likewise.
14088
14089 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
14090
14091 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
14092
14093 2002-09-13 Richard Henderson <rth@redhat.com>
14094
14095 * config/alpha/alpha.md (attr type): Add callpal.
14096 (imb, trap, load_tp, set_tp): Use it.
14097 * config/alpha/ev4.md (ev4_callpal): New.
14098 * config/alpha/ev5.md (ev5_callpal): New.
14099 * config/alpha/ev6.md (ev6_ibr): Handle callpal.
14100 * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
14101 (alphaev5_insn_pipe): Likewise.
14102
14103 2002-09-13 Andreas Jaeger <aj@suse.de>
14104
14105 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
14106
14107 2002-09-13 Steve Ellcey <sje@cup.hp.com>
14108
14109 * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
14110 LIB2ADDEH): New, set to NULL.
14111 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
14112
14113 2002-09-13 Steve Ellcey <sje@cup.hp.com>
14114
14115 * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
14116 (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
14117 (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
14118 Add declarations.
14119 (_U_Qfneg): Remove.
14120
14121 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
14122
14123 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
14124 for H8/300, H8S aa:8 mode.
14125 (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
14126 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
14127 for H8/300 aa:8 mode.
14128
14129 2002-09-13 Hartmut Penner <hpenner@de.ibm.com>
14130
14131 * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
14132 insns.
14133
14134 2002-09-12 Richard Henderson <rth@redhat.com>
14135
14136 * Makefile.in (HOST_PRINT): Use print-rtl1.o
14137 (print-rtl.o): Don't define GENERATOR_FILE.
14138 (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
14139 * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
14140 unless GENERATOR_FILE.
14141
14142 2002-09-12 Stan Shebs <shebs@apple.com>
14143
14144 * config/darwin.h (USER_LABEL_PREFIX): Define here...
14145 * config/i386/darwin.h: ... instead of here.
14146
14147 * target.h (struct gcc_target): New field
14148 terminate_dw2_eh_frame_info.
14149 * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
14150 (TARGET_INITIALIZER): Add it.
14151 * dwarf2out.c (output_call_frame_info): Use target hook.
14152 * dwarf2asm.c (dw2_asm_output_delta): Use macro
14153 ASM_OUTPUT_DWARF_DELTA if defined.
14154 * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
14155 (ASM_OUTPUT_DWARF_DELTA): Ditto.
14156 (ASM_OUTPUT_DWARF_OFFSET): Ditto.
14157 (ASM_OUTPUT_DWARF_PCREL): Ditto.
14158 * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
14159 (powerpc-*-darwin*): Ditto.
14160 * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
14161 to work correctly for Darwin.
14162 * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
14163 (STARTFILE_SPEC): Add crtbegin.o.
14164 (ENDFILE_SPEC): Define.
14165 (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
14166 (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
14167 (ASM_OUTPUT_DWARF_DELTA): Define.
14168 (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
14169 * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
14170
14171 2002-09-13 Alan Modra <amodra@bigpond.net.au>
14172
14173 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
14174 nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
14175 * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
14176
14177 2002-09-12 Zack Weinberg <zack@codesourcery.com>
14178
14179 * toplev.c: Move default definition of USER_LABEL_PREFIX...
14180 * defaults.h: ... here.
14181
14182 2002-09-12 Richard Henderson <rth@redhat.com>
14183
14184 * vax.c: Include tree.h earlier.
14185
14186 2002-09-12 Stan Shebs <shebs@apple.com>
14187
14188 * config/darwin.c (machopic_finish): Remove #if 0 chunks.
14189 (machopic_operand_p): Ditto.
14190
14191 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14192
14193 * config/arm/arm.c (arm_compute_initial_elimination_offset):
14194 Fix a comment typo.
14195
14196 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14197
14198 * toplev.c (do_abort): Fix a comment typo.
14199
14200 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14201
14202 * cselib.c: Fix comment formatting.
14203 * gengtype.c: Likewise.
14204
14205 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14206
14207 * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
14208 (udivmodhi4): Likewise.
14209
14210 2002-09-12 Graham Stott <graham.stott@btinternet.com>
14211 Roger Sayle <roger@eyesopen.com>
14212
14213 * i386.c (any_fp_register_operand, fp_register_operand,
14214 register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
14215 New predicate functions.
14216 * i386-protos.h: Add their prototypes.
14217 * i386.h: Add them to PREDICATE_CODES.
14218 * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
14219 "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
14220 "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
14221 "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
14222 "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
14223 "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
14224 "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
14225 "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
14226 "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
14227 "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
14228 "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
14229 Use these new predicates to simplify and correct the use of
14230 FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
14231
14232 2002-09-12 Jason Merrill <jason@redhat.com>
14233
14234 * diagnostic.c (output_add_identifier): New fn.
14235 * diagnostic.h: Declare it.
14236
14237 * calls.c (store_one_arg): Use size_in_bytes to determine the
14238 amount of space to push.
14239
14240 2002-09-12 Jakub Jelinek <jakub@redhat.com>
14241
14242 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
14243
14244 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
14245
14246 * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
14247 * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
14248 (s390_select_ccmode): Likewise.
14249 (s390_branch_condition_mask): Likewise.
14250 (optimization_options): Do not set flag_branch_on_count.
14251 (s390_split_branches): Handle doloop branches.
14252 (s390_chunkify_pool): Likewise.
14253 * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
14254 ("doloop_end"): New expander.
14255 ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
14256 associated splitters): New.
14257
14258 2002-09-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
14259
14260 * genattrtab.c (simplify_cond): Remove unused variable(s).
14261 * global.c (record_conflicts): Likewise.
14262 * jump.c (rebuild_jump_labels): Likewise.
14263 * loop.c (scan_loop, check_final_value): Likewise.
14264 * ra-colorize.c (colorize_one_web, assign_colors): Likewise.
14265 * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise.
14266 * rtlanal.c (reg_set_p): Likewise.
14267 * stmt.c (expand_asm_operands, expand_decl): Likewise.
14268 * genautomata.c (empty_reserv): Remove.
14269 * loop.c (max_luid): Likewise.
14270 * sched-rgn.c (bitlst_table_size): Likewise.
14271
14272 2002-09-11 Nathan Sidwell <nathan@codesourcery.com>
14273
14274 Reimplement gcov format.
14275 * gcov-io.h: Replace.
14276 * gcov.c: Reimplement.
14277 * gcov-iov.c: New file.
14278 * gcov-dump.c: New file.
14279 * libgcc2.c (L_bb): Replace with ...
14280 (L_gcov): ... this.
14281 (struct bb_function_info, struct bb): Remove.
14282 (inhibit_libc): Never inhibit.
14283 (gcov_list, gcov_crc): New static variables.
14284 (gcov_version_mismatch): New static function.
14285 (__bb_exit_func): Renamed to ...
14286 (__gcov_exit): ... here. Made static. Reimplement.
14287 (__gcov_init_func): Rename to ...
14288 (__gcov_init): ... here. Check version, update crc.
14289 (__bb_fork_func): Rename to ...
14290 (__gcov_flush): ... here.
14291 * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func,
14292 __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove.
14293 * calls.c (expand_call): Call __gcov_flush.
14294 * profile.c (bb_file, last_bb_file_name): Remove.
14295 (bbg_file_name): New global variable.
14296 (output_gcov_string): Remove.
14297 (get_exec_counts): Reimplement.
14298 (branch_prob): Reimplement gcov file writing.
14299 (init_branch_prob): Create bbg_file_name, don't create
14300 bb_file_name.
14301 (end_branch_prob): Adjust. Don't remove counter file when
14302 instrumenting ourselves.
14303 (create_profiler): Adjust.
14304 * doc/gcov.texi (Gcov Data Files): Remove detailed specification,
14305 point to gcov-io.h.
14306 * Makefile.in (LANGUAGES): Add gcov-dump.
14307 (coverageexts): Remove .bb.
14308 (STAGESTUFF): Add gcov-dump.
14309 (LIB2FUNCS_ST): Replace _bb with _gcov.
14310 (profile.o): Depend on gcov-iov.h.
14311 (final.o): Don't depend on profile.h, gcov.h.
14312 (gcov.o): Depend on gcov-iov.h.
14313 (gcov-iov.o): New target.
14314 (gcov-iov): New target.
14315 (gcov-iov.h): New target.
14316 (gcov-dump.o): New target.
14317 (GCOV_DUMP_OBJS): New variable.
14318 (gcov-dump): New target.
14319 (distclean): Remove coverageexts.
14320 (stage1): Remove coverageexts.
14321
14322 2002-09-11 Hartmut Penner <hpenner@de.ibm.com>
14323
14324 * fold-const.c (make_range): Only narrow to signed range if
14325 the signed range is smaller than the unsigned range.
14326
14327 2002-09-12 Alan Modra <amodra@bigpond.net.au>
14328
14329 * emit-rtl.c (set_mem_size): New function.
14330 * expr.h (set_mem_size): Declare.
14331 * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
14332 (expand_block_move): Instead, use adjust_address and
14333 replace_equiv_address to generate proper aliasing info.
14334 Move common code out of conditionals. Localize vars.
14335
14336 2002-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
14337
14338 * optabs.c (expand_binop): Minor cleanup.
14339 (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
14340
14341 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
14342
14343 * print-tree.c (print_node): Print the restrict qualifier.
14344
14345 2002-09-11 Janis Johnson <janis187@us.ibm.com>
14346
14347 * doc/install.texi: Fix typos.
14348
14349 2002-09-11 Zack Weinberg <zack@codesourcery.com>
14350
14351 * Makefile.in: Remove all references to s-under and underscore.c.
14352 * collect2.c, tlink.c: Change all uses of prepends_underscore
14353 to look directly at USER_LABEL_PREFIX.
14354
14355 2002-09-11 David Edelsohn <edelsohn@gnu.org>
14356
14357 * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
14358 alignment to csect.
14359 (rs6000_xcoff_unique_section): Only set section name for public
14360 data.
14361 (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
14362 * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
14363 duplicate definition.
14364
14365 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
14366
14367 * pa.md (extzv): Check predicates before emitting extzv_32.
14368 (insv): Likewise.
14369
14370 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
14371
14372 * config/s390/s390.h (MOVE_MAX): Define to correct value.
14373 (MAX_MOVE_MAX): Define.
14374 (MOVE_BY_PIECES_P): Define.
14375 (CLEAR_BY_PIECES_P): Define.
14376
14377 2002-09-10 Denis Chertykov <denisc@overta.ru>
14378
14379 * config/avr/avr.md (movstrhi): Use right operands for conversion.
14380
14381 2002-09-10 Richard Earnshaw <rearnsha@arm.com>
14382
14383 PR c/7873
14384 * arm.md (insv): Use reg_or_int_operand for operand[3].
14385
14386 2002-09-10 David Edelsohn <edelsohn@gnu.org>
14387
14388 * rs6000.c (rs6000_assemble_visibility): Protect declaration
14389 inside macro. Correct function definition typo.
14390 (rs6000_xcoff_section_type_flags): New function.
14391 (TARGET_SECTION_TYPE_FLAGS): Remove definition.
14392 (rs6000_elf_section_type_flags): Call default_section_type_flags_1
14393 with appropriate PIC test.
14394 (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
14395 determine readonly.
14396 (rs6000_binds_local_p): Combine PIC flags.
14397 * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
14398 * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
14399
14400 2002-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14401
14402 * h8300.md: Fix signed/unsigned warnings.
14403 * mcore.md: Likewise.
14404 * mn10300.c (mask_ok_for_mem_btst): Likewise.
14405
14406 2002-09-09 Per Bothner <per@bothner.com>
14407
14408 * print-tree.c (print_node): In a STRING_CST, escape non-ascii
14409 characters, and only print TREE_STRING_LENGTH chars.
14410
14411 2002-09-09 Steve Ellcey <sje@cup.hp.com>
14412
14413 * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
14414 (ASM_FILE_END) New.
14415 * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
14416 * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
14417 * config/ia64/ia64.c (ia64_asm_output_external): Create list
14418 of external functions if TARGET_HPUX_LD is true.
14419 (ia64_hpux_add_extern_decl): New, routine to put names on
14420 list of external functions.
14421 (ia64_hpux_asm_file_end): Put out declarations for external
14422 functions if and only if they are used.
14423
14424 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14425
14426 * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
14427 on TARGET_64BIT before pic register restore.
14428
14429 2002-09-09 David Edelsohn <edelsohn@gnu.org>
14430
14431 * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
14432 (TARGET_HAVE_TLS): New description.
14433
14434 2002-09-09 Janis Johnson <janis187@us.ibm.com>
14435
14436 * doc/extend.texi (Statement Exprs): Fix broken link.
14437
14438 2002-09-09 Denis Chertykov <denisc@overta.ru>
14439
14440 * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
14441 right conversion of operands[1].
14442
14443 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
14444
14445 * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
14446 commutative. Use "nonimmediate_operand" instead of "register_operand"
14447 as predicate for operand 0. Move to after the "*tmXX_mem" insns.
14448
14449 ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
14450 as commutative.
14451
14452 ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
14453 mark as commutative. Use "nonimmediate_operand" instead of
14454 "register_operand" as predicate for operand 1.
14455
14456 ("movstrictsi"): Fix typo in insn name.
14457
14458 2002-09-09 Jan Hubicka <jh@suse.cz>
14459
14460 * i386.c (index_register_operand): New.
14461 * i386.h (predicate_codes): Add new predicate.
14462 * i386.md (lea_general_*): Use index_register_operand
14463 (ashift to lea splitter): Do not produce invalid leas
14464 (ashift to mov+ashift split): New.
14465
14466 2002-09-09 Nick Clifton <nickc@redhat.com>
14467
14468 * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
14469 Fix folding marks.
14470
14471 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
14472 J"orn Rennecke <joern.rennecke@superh.com>
14473
14474 * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
14475
14476 2002-09-09 Alan Modra <amodra@bigpond.net.au>
14477
14478 * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
14479 (function_ok_for_sibcall): Use binds_local_p. Respect longcall
14480 attributes.
14481
14482 2002-09-08 Nathan Sidwell <nathan@codesourcery.com>
14483
14484 * basic_block.h (gcov_type): Explain why it is signed.
14485 * final.c: Don't include profile.h.
14486 (struct function_list, functions_head, functions_tail,
14487 end_final): Moved to profile.c
14488 (final): Move arc chaining code to profile.c.
14489 * function.c (prepare_function_start): Remove duplicate line.
14490 * output.h (end_final): Remove prototype.
14491 * predict.c (estimate_loops_at_level): Use gcov_type.
14492 * profile.c (struct function_list, functions_head,
14493 functions_tail): Moved from final.c
14494 (need_func_profiler): Remove.
14495 (instrument_edges): Don't set need_func_profiler.
14496 (get_exec_counts): Avoid signed/unsigned warning.
14497 (compute_checksum): Use crc32.
14498 (branch_prob): Adjust. Chain onto functions_head.
14499 (init_branch_prob): Absorb init_edge_profiler.
14500 (init_edge_profiler): Remove.
14501 (create_profiler): Moved and renamed from final.c:end_final.
14502 Emit data and constructor.
14503 (output_func_start_profiler): Remove.
14504 * profile.h (struct profile_info): checksum is unsigned.
14505 * rtl.h (output_func_start_profiler): Remove prototype.
14506 (create_profiler): Declare.
14507 * toplev.c (compile_file): Call create_profiler, if instrumenting
14508 arcs. Don't call end_final.
14509
14510 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14511
14512 * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
14513
14514 2002-09-08 Richard Henderson <rth@redhat.com>
14515
14516 * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
14517 (DW_OP_GNU_push_tls_address): New.
14518 (DW_OP_lo_user): Fix.
14519 * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
14520 (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
14521 (size_of_loc_descr): Likewise.
14522 (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
14523 (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
14524 (loc_descriptor_from_tree): Handle TLS variables.
14525 (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
14526 (add_location_or_const_value_attribute): ... not here. Defer
14527 to loc_descriptor_from_tree for TLS variables.
14528
14529 * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
14530 * config/i386/i386.c (i386_output_dwarf_dtprel): New.
14531 * config/i386/i386-protos.h: Update.
14532
14533 2002-09-08 Roger Sayle <roger@eyesopen.com>
14534
14535 PR optimization/6405
14536 * unroll.c (loop_iterations): last_loop_insn should be the previous
14537 non-note instruction before loop->end.
14538 * loop.c (strength_reduce): The conditional jump is the last
14539 non-note instruction before loop->end (as above).
14540
14541 2002-09-08 Roger Sayle <roger@eyesopen.com>
14542
14543 * combine.c (try_combine): Handle the case that undobuf.other_insn
14544 has been turned into a return or unconditional jump, by inserting
14545 a BARRIER if necessary.
14546 (simplify_set): Test if a condition code setter has a constant
14547 comparison at compile time, if so convert this insn to a no-op move
14548 and update/simplify the condition code user (undobuf.other_insn).
14549
14550 2002-09-08 Krister Walfridsson <cato@df.lth.se>
14551
14552 * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
14553 (CLEAR_INSN_CACHE): Define.
14554
14555 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
14556
14557 * basic-block.h: Fix comment formatting.
14558 * c-common.c: Likewise.
14559 * c-common.h: Likewise.
14560 * c-lex.c: Likewise.
14561 * c-pretty-print.c: Likewise.
14562 * cfglayout.c: Likewise.
14563 * cfgloop.c: Likewise.
14564 * defaults.h: Likewise.
14565 * et-forest.c: Likewise.
14566 * explow.c: Likewise.
14567 * function.h: Likewise.
14568 * gcov.c: Likewise.
14569 * genattrtab.c: Likewise.
14570 * gengtype.c: Likewise.
14571 * ifcvt.c: Likewise.
14572 * libgcc2.c: Likewise.
14573 * loop.c: Likewise.
14574 * profile.c: Likewise.
14575 * ra-build.c: Likewise.
14576 * real.c: Likewise.
14577 * rtl.h: Likewise.
14578 * tracer.c: Likewise.
14579 * tree-inline.c: Likewise.
14580 * varasm.c: Likewise.
14581
14582 2002-09-08 Jan Hubicka <jh@suse.cz>
14583
14584 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
14585 handling.
14586
14587 * loop.c (loop_givs_reduce): Emit addition after.
14588
14589 2002-09-08 Alan Modra <amodra@bigpond.net.au>
14590
14591 * varasm.c (default_assemble_visibility): Rename from
14592 assemble_visibility.
14593 * output.h: Here too.
14594 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
14595 * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
14596
14597 2002-09-08 Alan Modra <amodra@bigpond.net.au>
14598
14599 * reload.c (find_reloads <p constraint>): Pass operand_mode to
14600 find_reloads_address.
14601
14602 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
14603
14604 * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
14605 (anonymous pattern): Likewise.
14606
14607 2002-09-07 Igor Shevlyakov <igor@microunity.com>
14608
14609 * machmode.def: Add modes for half-float vectors.
14610
14611 2002-09-07 Scott Snyder <snyder@fnal.gov>
14612
14613 PR target/7374
14614 * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
14615
14616 2002-09-07 Roger Sayle <roger@eyesopen.com>
14617
14618 * basic-block.h (struct loop): Remove unused cont_dominator field.
14619
14620 2002-09-07 Igor Shevlyakov <igor@microunity.com>
14621
14622 * varasm.c (decode_rtx_const): Don't check undefined field for
14623 CONST_VECTOR.
14624
14625 2002-09-07 Glen Nakamura <glen@imodulo.com>
14626
14627 PR opt/7814
14628 * sched-deps.c (sched_analyze_insn): Make sure to add insn
14629 to reg_last->sets after flushing the dependency lists to guarantee
14630 that subsequent clobbers will be dependent on it.
14631
14632 2002-09-07 Igor Shevlyakov <igor@microunity.com>
14633
14634 * combine.c (simplify_shift_const): Calculate rotate count
14635 correctly for vector operands.
14636
14637 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
14638
14639 * c-typeck.c (c_tree_expr_nonnegative_p): New function.
14640 (build_binary_op): Call c_tree_expr_nonnegative_p rather than
14641 tree_expr_nonnegative_p.
14642 (build_conditional_expr): Likewise.
14643 * c-tree.h (c_tree_expr_nonnegative_p): Declare.
14644
14645 2002-09-07 Richard Henderson <rth@redhat.com>
14646
14647 * builtins.def (inf, inff, infl): Mark const.
14648 (huge_val, huge_valf, huge_vall): Likewise.
14649 (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
14650
14651 * real.c (ereal_inf): Clear E before use.
14652
14653 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
14654
14655 * config/h8300/h8300.md (udivmodqi4): Split the pattern into
14656 an expander and an anonymous pattern. Zero out the upper half
14657 of the dividend in the expander.
14658 (udivmodqi4): Likewise.
14659
14660 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
14661
14662 * config/h8300/h8300.c: Fix formatting.
14663 * config/h8300/h8300.h: Likewise.
14664 * config/h8300/h8300.md: Likewise.
14665
14666 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
14667
14668 * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
14669 information.
14670
14671 2002-09-07 Graham Stott <graham.stott@btinternet.com>
14672
14673 * rtlanal.c (dead_or_set_regno_p): Fix typo.
14674
14675 2002-09-07 Alan Modra <amodra@bigpond.net.au>
14676
14677 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
14678
14679 * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
14680 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
14681 (TARGET_ASM_OUT): Add the above here.
14682 * target.h (struct gcc_target): Add "visibility" field.
14683 * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
14684 * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
14685 (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
14686 (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
14687
14688 2002-09-06 Ziemowit Laski <zlaski@apple.com>
14689
14690 * c-lang.c (objc_is_id): New stub.
14691 * c-tree.h (objc_is_id): New forward declaration.
14692 * c-typeck.c (build_c_cast): Do not strip protocol
14693 qualifiers from 'id' type.
14694 * objc/objc-act.c (objc_comptypes): Correct handling
14695 of protocol qualifiers.
14696 (objc_is_id): New.
14697
14698 Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
14699
14700 * pentium.md (pentium-firstvboth): Fix typo.
14701
14702 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
14703
14704 * h8300.c (enum shift_alg): Move to earlier in h8300.c.
14705 (enum shift_type, enum h8_cpu): Likewise.
14706 (INL, ROT, LOP, SPC macros): Likewise.
14707 (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
14708 const designator.
14709 (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
14710 space efficient algorithms when optimize for codesize.
14711
14712 Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
14713
14714 Fix PR/1727 and long-standing failing testcase
14715 objc/formal-protocol-6.m.
14716 * objc-act.c (build_protocol_expr): If compiling for the GNU
14717 runtime, create a list of Protocol statically allocated instances
14718 if it doesn't exist, then add the Protocol object to this same
14719 list.
14720 (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
14721 instead of TREE_CHAIN.
14722
14723 Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
14724
14725 * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
14726 10k. Fixed category dumping - print out category names with the
14727 proper syntax. Print '@end\n' and not '\n@end' at the end of the
14728 interface.
14729 (finish_objc): Fixed the -gen-decls option. It was printing out
14730 only the last class. Dump an interface declaration of all classes
14731 being compiled instead.
14732
14733 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
14734
14735 * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
14736 prototype.
14737 * config/arm/arm.c (arm_gen_return_addr_mask): New function.
14738 * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
14739 if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
14740 rather than GEN_INT.
14741 * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
14742 (return_addr_mask, *check_arch2): New.
14743
14744 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
14745
14746 * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
14747 "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
14748 "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
14749 "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
14750 "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
14751 "adddf3", "*adddf3", "*adddf3_ibm",
14752 "addsf3", "*addsf3", "*addsf3_ibm",
14753 "muldi3", "mulsi3", "mulsidi3",
14754 "muldf3", "*muldf3", "*muldf3_ibm",
14755 "mulsf3", "*mulsf3", "*mulsf3_ibm",
14756 "*anddi3_cc", "*anddi3_cconly", "anddi3",
14757 "*andsi3_cc", "*andsi3_cconly", "andsi3",
14758 "*iordi3_cc", "*iordi3_cconly", "iordi3",
14759 "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
14760 "*xordi3_cc", "*xordi3_cconly", "xordi3",
14761 "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
14762 instead of "register_operand" as predicate for "%0" operand.
14763
14764 2002-09-06 Jakub Jelinek <jakub@redhat.com>
14765
14766 * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
14767 unconditionally when gcc_cv_as_flags64 checks are gone.
14768 * configure: Rebuilt.
14769
14770 2002-09-06 Alan Modra <amodra@bigpond.net.au>
14771
14772 * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
14773 2002-07-26 change. Comment.
14774
14775 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14776
14777 * frv.c (frv_unique_section, frv_select_section,
14778 frv_select_rtx_section): Delete.
14779 (frv_in_small_data_p): New.
14780 (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
14781 TARGET_ASM_SELECT_RTX_SECTION): Delete.
14782 (TARGET_IN_SMALL_DATA_P): Define.
14783
14784 2002-09-05 Dale Johannesen <dalej@apple.com>
14785
14786 * reload1.c (reload): Retain only those memory clobbers
14787 added for variable-array handling.
14788
14789 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
14790
14791 * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
14792 return-in-memory rules.
14793 * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
14794
14795 2002-09-05 David Edelsohn <edelsohn@gnu.org>
14796
14797 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
14798 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
14799
14800 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
14801
14802 * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
14803 not a compile-time constant for the non-IBM case.
14804 * config/arm/arm-protos.h (arm_float_words_big_endian): New
14805 prototype.
14806 * config/arm/arm.c (arm_float_words_big_endian): New function.
14807 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
14808 if TARGET_VFP and not TARGET_HARD_FLOAT.
14809 (ARM_FLAG_VFP, TARGET_VFP): Define.
14810 (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
14811
14812 2002-09-05 David Edelsohn <edelsohn@gnu.org>
14813
14814 * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
14815 URLs. Fix AIX wording.
14816
14817 2002-09-05 Stan Shebs <shebs@apple.com>
14818
14819 * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
14820 -fPIC equivalent on Darwin.
14821
14822 Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
14823
14824 * sh.c (sh_expand_builtin): Return early if encountering an
14825 error_mark for a type.
14826
14827 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14828
14829 * config/s390/s390.c (s390_expand_plus_operand): Do not require
14830 double-word scratch register.
14831 config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
14832
14833 ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
14834 "*cli"): Replace s_operand by memory_operand.
14835 ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
14836
14837 2002-09-05 Kazu Hirata <kazu@cs.umass.edu>
14838
14839 * config/h8300/h8300.c (asm_file_start): Add a missing
14840 semicolon.
14841
14842 2002-09-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
14843
14844 * c-typeck.c (build_function_call): Remove unused variable(s).
14845 (build_c_cast): Likewise.
14846 * calls.c (rtx_for_function_call): Likewise.
14847 * cfglayout.c (duplicate_insn_chain): Likewise.
14848 * cfgloop.c (flow_loop_nodes_find): Likewise.
14849 * cfgrtl.c (split_edge): Likewise.
14850 * df.c (df_ref_create): Likewise.
14851 * except.c (expand_end_catch): Likewise.
14852 * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise.
14853 * function.c (emit_return_into_block): Likewise.
14854 (reposition_prologue_and_epilogue_notes): Likewise.
14855 * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise.
14856 * combine.c (subst_prev_insn, need_refresh): Remove.
14857 * dwarf2out.c (primary_filename): Remove.
14858 * final.c (new_block): Remove.
14859 * gcse.c (orig_bb_count): Remove.
14860
14861 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14862
14863 * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool.
14864 * dsp16xx.c (dsp16xx_compare_gen): Likewise.
14865 * dsp16xx.md: Treat dsp16xx_compare_gen as a bool. Call functions
14866 directly instead of using a function pointer.
14867
14868 2002-09-04 Krister Walfridsson <cato@df.lth.se>
14869
14870 * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
14871 * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
14872 (ix86_output_addr_diff_elt) Likewise.
14873 (x86_output_mi_thunk) Likewise.
14874 * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
14875
14876 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14877
14878 * frv.c (frv_encode_section_info): Fix error in last change.
14879
14880 2002-09-04 David Edelsohn <edelsohn@gnu.org>
14881
14882 * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
14883 (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
14884 (TARGET_BINDS_LOCAL_P): Define.
14885 (rs6000_override_options): Save original flag_pic value.
14886 (rs6000_elf_select_section): Call default_elf_select_section_1.
14887 (rs6000_elf_unique_section): Call default_unique_section_1.
14888 (rs6000_elf_in_small_data_p): New function.
14889 (rs6000_xcoff_asm_named_section): Determine storage mapping class.
14890 (rs6000_xcoff_select_section): Update based on defaults.
14891 (rs6000_xcoff_unique_section): Set to basic name if not common.
14892 (rs6000_binds_local_p): New function.
14893 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
14894 targetm.have_srodata_section if SDATA_EABI.
14895 (TARGET_IN_SMALL_DATA_P): Define.
14896
14897 2002-09-04 Dale Johannesen <dalej@apple.com>
14898
14899 * varasm.c (struct rtx_const, decode_rtx_const):
14900 Make veclo and vechi fields not share storage.
14901
14902 Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
14903
14904 * loop.c (scan_loop): Don't mark separate insns out of a libcall
14905 for moving.
14906 (move_movables): Abort if we see the first insn of a libcall.
14907
14908 2002-09-04 Richard Henderson <rth@redhat.com>
14909
14910 * builtin-types.def (BT_FN_FLOAT): New.
14911 (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
14912 * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
14913 BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
14914 * builtins.c (fold_builtin_inf): New.
14915 (fold_builtin): Call it.
14916 * real.c (ereal_inf): New.
14917 * real.h: Declare it.
14918 * doc/extend.texi: Document new builtins.
14919
14920 2002-09-04 Richard Henderson <rth@redhat.com>
14921
14922 * cse.c (cse_insn): Avoid subreg games if the equivalence
14923 is already in the proper mode.
14924
14925 2002-09-04 Eric Botcazou <ebotcazou@multimania.com>
14926
14927 PR c/7102
14928 * optabs.c (expand_binop): Convert CONST_INTs in all cases.
14929
14930 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14931
14932 * pa.md (setccfp0, setccfp1): New patterns.
14933
14934 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14935
14936 * frv-protos.h (frv_init_builtins, frv_expand_builtin,
14937 frv_select_section, frv_select_rtx_section,
14938 frv_encode_section_info, frv_unique_section): Delete.
14939 * frv.c: Update for target hooks.
14940 * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
14941 SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
14942 EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
14943
14944 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14945
14946 * ip2k-protos.h (function_prologue, function_epilogue,
14947 encode_section_info): Update to match target hook specification.
14948 * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
14949 (function_prologue, function_epilogue, encode_section_info):
14950 Update to match target hook specification.
14951 * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
14952 ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
14953 (NOTICE_UPDATE_CC): Cast to void.
14954 * ip2k.md: Add defaults in switch statements.
14955
14956 2002-09-04 Janis Johnson <janis187@us.ibm.com>
14957
14958 * doc/trouble.texi (Interoperation): Update information about C++ ABI
14959 issues.
14960
14961 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
14962
14963 * config/sparc/t-netbsd64: Disable multilib for now.
14964
14965 2002-09-04 David Edelsohn <edelsohn@gnu.org>
14966
14967 * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
14968 * target.h (gcc_target): Add have_srodata_section member.
14969 * varasm.c (section_category): Add SECCAT_SRODATA.
14970 (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
14971 READONLY_SDATA_SECTION defined.
14972 (decl_readonly_section_1): True for SECCAT_SRODATA also.
14973 (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
14974 (default_unique_section_1): Likewise.
14975
14976 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
14977
14978 * expr.c (emit_group_load): Revise to allow splitting TCmode source
14979 into DImode pieces.
14980
14981 * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
14982 * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
14983 for floating-point register class.
14984 * pa.c (function_arg): Fix handling of modes wider than one word for
14985 TARGET_64BIT.
14986
14987 Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
14988
14989 * combine.c (make_compound_operation): Don't generate zero / sign
14990 extensions in floating point modes.
14991
14992 2002-09-04 Janis Johnson <janis187@us.ibm.com>
14993
14994 * doc/c-tree.texi: Fix overfull hboxes.
14995 * doc/cppopts.texi: Ditto.
14996 * doc/extend.texi: Ditto.
14997 * doc/gty.texi: Ditto.
14998 * doc/invoke.texi: Ditto.
14999 * doc/makefile.texi: Ditto.
15000 * doc/rtl.texi: Ditto.
15001 * doc/standards.texi: Ditto.
15002 * doc/tm.texi: Ditto.
15003
15004 2002-09-04 Richard Henderson <rth@redhat.com>
15005
15006 * c-common.c (builtin_define_with_hex_fp_value): New.
15007 (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
15008
15009 2002-09-04 Janis Johnson <janis187@us.ibm.com>
15010
15011 * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
15012 (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
15013 -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
15014 Warn that these options can break ABI compatibility.
15015
15016 2002-09-04 Richard Henderson <rth@redhat.com>
15017
15018 * real.c (ereal_to_decimal): Add digits parameter.
15019 * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
15020 * c-pretty-print.c (pp_c_real_literal): Update call.
15021 * print-rtl.c (print_rtx): Likewise.
15022 * print-tree.c (print_node_brief, print_node): Likewise.
15023 * sched-vis.c (print_value): Likewise.
15024 * config/arc/arc.c (arc_print_operand): Likewise.
15025 * config/c4x/c4x.c (c4x_print_operand): Likewise.
15026 * config/i370/i370.h (PRINT_OPERAND): Likewise.
15027 * config/i386/i386.c (print_operand): Likewise.
15028 * config/i960/i960.c (i960_print_operand): Likewise.
15029 * config/ip2k/ip2k.c (asm_output_float): Likewise.
15030 * config/m32r/m32r.c (m32r_print_operand): Likewise.
15031 * config/m68hc11/m68hc11.c (print_operand): Likewise.
15032 * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
15033 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
15034 * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
15035 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
15036 * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
15037 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
15038 * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
15039 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
15040 * config/mips/mips.c (print_operand): Likewise.
15041 * config/ns32k/ns32k.c (print_operand): Likewise.
15042 * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
15043 * config/vax/vax.h (PRINT_OPERAND): Likewise.
15044 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
15045
15046 2002-09-04 Bob Wilson <bob.wilson@acm.org>
15047
15048 * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
15049 xtensa_multibss_section_type_flags.
15050 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
15051
15052 2002-09-04 Richard Henderson <rth@redhat.com>
15053
15054 * doc/install-old.texi: Don't mention enquire.
15055 * doc/sourcebuild.texi: Update float.h description.
15056
15057 Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
15058
15059 * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
15060
15061 2002-09-03 Roger Sayle <roger@eyesopen.com>
15062
15063 * builtins.c (build_function_call_expr): Remove prototype, export
15064 as non-static and add a comment above function definition.
15065 (builtin_mathfn_code): New function to check for math builtins.
15066 (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0,
15067 exp(0.0) as 1.0, and log(1.0) as 0.0. Optimize exp(log(x)) and
15068 log(exp(x)) as x. Optimize sqrt(exp(x)) as exp(x/2.0) and
15069 log(sqrt(x)) as log(x)/2.0.
15070
15071 * tree.h: Prototype build_function_call_expr and builtin_mathfn_code
15072 in new "builtins.c" section. Place the build_range_type prototype
15073 with the other prototypes from "tree.c".
15074
15075 * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x)
15076 and fabs(exp(x)) as exp(x). [MULT_EXPR]: Fold sqrt(x)*sqrt(y)
15077 as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold
15078 x/exp(y) as x*exp(-y).
15079
15080 2002-09-03 David Edelsohn <edelsohn@gnu.org>
15081
15082 * varasm.c (default_section_type_flags): Append _1 to name with
15083 shlib parameter. Use original name to call new function with
15084 implicit flag_pic.
15085 (decl_readonly_section): Likewise.
15086 (default_elf_select_section): Likewise.
15087 (default_unique_section): Likewise.
15088 (default_bind_local_p): Likewise.
15089 (categorize_decl_for_section): Add shlib parameter to use in place
15090 of implicit flag_pic.
15091 * output.h: Declare new functions with _1 and shlib argument.
15092
15093 2002-09-03 Janis Johnson <janis187@us.ibm.com>
15094
15095 * doc/install.texi: Fix typos, formatting problems, and obvious
15096 overfull/underfull boxes.
15097
15098 * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
15099 * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
15100 include its file, compat.texi.
15101 * doc/compat.texi: New file with new chapter, Binary Compatibility.
15102
15103 2002-09-03 Neil Booth <neil@daikokuya.co.uk>
15104
15105 Debian BTS Bug #157416
15106 * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
15107 * cpplib.c (destringize_and_run): Kludge around getting
15108 tokens from in-progress macros.
15109 (_cpp_do__Pragma): Simplify.
15110
15111 2002-09-03 Steve Ellcey <sje@cup.hp.com>
15112
15113 * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
15114 (CPP_CPU_SPEC): Remove.
15115 (TARGET_CPU_CPP_BUILTINS): New.
15116 * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
15117 (CPP_SPEC): Remove.
15118 (TARGET_OS_CPP_BUILTINS): New.
15119 * config/ia64/linux.h (CPP_PREDEFINES): Remove.
15120 (TARGET_OS_CPP_BUILTINS): New.
15121 * config/ia64/aix.h (CPP_SPEC): Move some stuff to
15122 TARGET_OS_CPP_BUILTINS.
15123 (CPP_PREDEFINES): Remove.
15124 (CPLUSPLUS_CPP_SPEC): Remove.
15125 (TARGET_OS_CPP_BUILTINS): New.
15126
15127 2002-09-03 Richard Henderson <rth@redhat.com>
15128
15129 * Makefile.in (USER_H): Add ginclude/float.h.
15130 (FLOAT_H): Remove.
15131 (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
15132 (mostlyclean): Don't remove float.h intermediate files.
15133 (distclean): Don't remove float.h.
15134 * config.gcc: Remove all float_format references.
15135 * configure.in (float_format, float_h_file): Remove.
15136
15137 * c-common.c: Include tree-inline.h.
15138 (builtin_define_with_int_value): New.
15139 (builtin_define_type_precision): Use it.
15140 (builtin_define_float_constants): New.
15141 (cb_register_builtins): Use it. Define __FLT_RADIX__ and
15142 __FLT_EVAL_METHOD__.
15143 * defaults.h (TARGET_FLT_EVAL_METHOD): New.
15144 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
15145 * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
15146 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
15147 (TARGET_FLT_EVAL_METHOD): New.
15148
15149 * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
15150 config/float-i386.h, config/float-i64.h, config/float-m68k.h,
15151 config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
15152 * ginclude/float.h: New.
15153
15154 2002-09-03 Stan Shebs <shebs@apple.com>
15155
15156 * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
15157 (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
15158 (PREFERRED_DEBUGGING_TYPE): Ditto.
15159 (ASM_OUTPUT_IDENT): Remove empty definition.
15160
15161 2002-09-03 Steve Ellcey <sje@cup.hp.com>
15162
15163 * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
15164 cxx_target.
15165 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
15166 handling routine for builtin pragma.
15167 * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
15168 Registered pragma handling routine.
15169 * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
15170 (ia64_hpux_add_pragma_builtin) New subroutine used by above.
15171 If builtin pragma seen for math routine and C89 conformance is
15172 requested use different math function in order to set errno.
15173 * t-ia64 (ia64-c.o): Add new rule for new file.
15174
15175 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
15176
15177 * config/s390/s390.md ("movti"): Add Q->Q alternative.
15178 ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
15179 "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
15180
15181 ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
15182 "*movsf_ss"): Remove.
15183
15184 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15185
15186 * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
15187 Delete macros.
15188
15189 2002-09-03 Arati Dikey <aratid@kpit.com>
15190
15191 * h8300.c (asm_file_start): Corrected optimization comment.
15192
15193 2002-09-03 Stan Shebs <shebs@apple.com>
15194
15195 * c-lang.c (recognize_objc_keyword): Remove, no longer used.
15196 * c-tree.h (recognize_objc_keyword): Remove decl.
15197 * c-typeck.c (comp_target_types): Update a comment.
15198
15199 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
15200
15201 * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
15202 and register validity checks.
15203 (general_s_operand): Adapt to s390_decompose_address interface change.
15204 (q_constraint): Likewise.
15205 (s390_expand_plus_operand): Likewise.
15206 (legitimiate_address_p): Likewise.
15207 (legitimate_la_operand_p): Likewise.
15208 (legitimize_la_operand): Likewise.
15209 (print_operand_address): Likewise.
15210 (print_operand): Likewise.
15211
15212 Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
15213
15214 PR objc/5956:
15215 * objc/objc-act.c (build_typed_selector_reference): Fix typo which
15216 was causing the new selector never to match the existing ones
15217 (Patch by Alexander Malmberg <alexander@malmberg.org>).
15218
15219 2002-09-03 Graham Stott <graham.stott@btinternet.com>
15220
15221 * config/i386/i386.md ("femms"): Add "memory" attr "none".
15222
15223 2002-09-03 Graham Stott <graham.stott@btinternet.com>
15224
15225 * expr.c (expand_expr): Remove extraneous comment and code.
15226
15227 2002-09-02 Nathan Sidwell <nathan@codesourcery.com>
15228
15229 * stor-layout (finish_builtin_struct): Renamed and moved from c++
15230 frontend. Take chain of fields. Allow NULL alignment type.
15231 * tree.h (finish_builtin_struct): Declare.
15232
15233 2002-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15234
15235 * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md
15236 config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h
15237 config/arc/arc.c config/arc/arc.h config/arm/aout.h
15238 config/arm/arm.c config/arm/arm.h config/arm/arm.md
15239 config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h
15240 config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h
15241 config/i386/i386.c config/i386/i386.md config/i386/sco5.h
15242 config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md
15243 config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md
15244 config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h
15245 config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h
15246 config/mcore/mcore.c config/mips/mips.c config/mips/mips.h
15247 config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c
15248 config/pa/pa.h config/pa/pa.md config/romp/romp.h
15249 config/rs6000/linux64.h config/rs6000/lynx.h
15250 config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h
15251 config/s390/s390.c config/s390/s390.md config/sh/sh.c
15252 config/sparc/sparc.c config/sparc/sysv4.h
15253 config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c
15254 dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace
15255 ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook.
15256
15257 * doc/tm.texi: Update docs.
15258 * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define.
15259 * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison.
15260
15261 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15262
15263 * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H).
15264 * arc.c (arc_internal_label): New function.
15265 (TARGET_ASM_INTERNAL_LABEL): Set.
15266 * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15267 * arm.c (arm_internal_label): New function.
15268 (TARGET_ASM_INTERNAL_LABEL): Set.
15269 * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15270 * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15271 * i370.c (i370_internal_label): New function.
15272 (TARGET_ASM_INTERNAL_LABEL): Set.
15273 * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15274 * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15275 * m68k.c (m68k_hp320_internal_label): New function.
15276 (TARGET_ASM_INTERNAL_LABEL): Set.
15277 * m88k.c (m88k_internal_label): New function.
15278 (TARGET_ASM_INTERNAL_LABEL): Set.
15279 * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15280 * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook.
15281 * genoutput.c (output_prologue): Include target.h in output file.
15282 * output.h (default_internal_label): Declare.
15283 * sdbout.c: Include target.h.
15284 * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to
15285 TARGET_ASM_OUT.
15286 * target.h (internal_label): Add to struct gcc_target.
15287 * varasm.c (default_internal_label): New function.
15288
15289 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15290
15291 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15292 * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15293 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15294 * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15295 * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15296 * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15297 * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15298 * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15299 * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15300 * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15301 * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15302 * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15303 * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15304 * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15305 * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15306 * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15307 * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15308 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15309 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15310 * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15311 * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15312 * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15313 * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15314 * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15315 * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15316 * mmix-protos.h (mmix_asm_output_internal_label): Likewise.
15317 * mmix.c (mmix_asm_output_internal_label): Likewise.
15318 * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15319 * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15320 * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15321 * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15322 * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15323 * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15324 * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15325 * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15326 * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15327 * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15328 * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15329 * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15330 * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15331 * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15332 * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15333 * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15334 * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15335 * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15336 * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15337
15338 * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
15339
15340 2002-08-31 Richard Henderson <rth@redhat.com>
15341
15342 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
15343
15344 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
15345
15346 * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
15347
15348 2002-08-30 Richard Henderson <rth@redhat.com>
15349
15350 PR opt/7515
15351 * c-objc-common.c: Include target.h.
15352 (c_cannot_inline_tree_fn): Don't auto-inline functions that
15353 don't bind locally. Factor setting DECL_UNINLINABLE.
15354 * Makefile.in (c-objc-common.o): Update.
15355
15356 2002-08-30 Janis Johnson <janis187@us.ibm.com>
15357
15358 * doc/install.texi (Configuration, Building): Fix a typo and
15359 some formatting directives.
15360
15361 2002-08-30 Paul Koning <pkoning@equallogic.com>
15362
15363 * doc/c-tree.texi (RDIV_EXPR): Fix typo.
15364 * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
15365 implemented" note.
15366 * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
15367 for alphabetic order.
15368 * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
15369 VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
15370 (VAX_HALFWORD_ORDER): Document.
15371 (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
15372 IEEE float format.
15373 (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
15374 (ASM_OUTPUT_LABEL_REF): Fix font.
15375 (CASE_VECTOR_SHORTEN_MODE): Ditto.
15376
15377 2002-08-30 Denis Chertykov <denisc@overta.ru>
15378
15379 * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
15380 stuff.
15381 (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
15382 CONST_DOUBLE constants.
15383
15384 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
15385
15386 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
15387 related defines to...
15388 (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
15389 * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
15390 as a no-op.
15391
15392 2002-08-30 Krister Walfridsson <cato@df.lth.se>
15393
15394 * config/arm/arm.c (arm_asm_output_labelref): New function.
15395 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
15396 * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
15397
15398 2002-08-29 Rodney Brown <rbrown64@csc.com.au>
15399
15400 * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
15401 memory exhausted" workarounds.
15402
15403 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
15404
15405 * diagnostic.c (fancy_abort): Don't repeat "internal error".
15406 * toplev.c (crash_signal): Likewise.
15407
15408 Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
15409
15410 * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
15411 * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
15412 Extended, updated documentation.
15413 (-Wundeclared-selector): Documented.
15414
15415 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
15416
15417 * config/chorus.h: Consistently define *_DEBUGGING_INFO with
15418 the value 1. Do not undef before defining.
15419 * config/darwin.h: Likewise.
15420 * config/dbx.h: Likewise.
15421 * config/dbxcoff.h: Likewise.
15422 * config/dbxelf.h: Likewise.
15423 * config/elfos.h: Likewise.
15424 * config/interix.h: Likewise.
15425 * config/lynx-ng.h: Likewise.
15426 * config/lynx.h: Likewise.
15427 * config/netware.h: Likewise.
15428 * config/psos.h: Likewise.
15429 * config/svr3.h: Likewise.
15430 * config/alpha/alpha.h: Likewise.
15431 * config/alpha/elf.h: Likewise.
15432 * config/alpha/vms.h: Likewise.
15433 * config/arc/arc.h: Likewise.
15434 * config/arm/aout.h: Likewise.
15435 * config/arm/coff.h: Likewise.
15436 * config/c4x/c4x.h: Likewise.
15437 * config/h8300/h8300.h: Likewise.
15438 * config/i386/cygwin.h: Likewise.
15439 * config/i386/djgpp.h: Likewise.
15440 * config/i386/gas.h: Likewise.
15441 * config/i386/gstabs.h: Likewise.
15442 * config/i386/i386-coff.h: Likewise.
15443 * config/i386/i386-interix.h: Likewise.
15444 * config/i386/sco5.h: Likewise.
15445 * config/i386/svr3dbx.h: Likewise.
15446 * config/i386/sysv3.h: Likewise.
15447 * config/i386/win32.h: Likewise.
15448 * config/i386/x86-64.h: Likewise.
15449 * config/i960/i960.h: Likewise.
15450 * config/ia64/ia64.h: Likewise.
15451 * config/ip2k/ip2k.h: Likewise.
15452 * config/m32r/m32r.h: Likewise.
15453 * config/m68k/3b1.h: Likewise.
15454 * config/m68k/3b1g.h: Likewise.
15455 * config/m68k/ccur-GAS.h: Likewise.
15456 * config/m68k/coff.h: Likewise.
15457 * config/m68k/hp2bsd.h: Likewise.
15458 * config/m68k/hp310g.h: Likewise.
15459 * config/m68k/hp320g.h: Likewise.
15460 * config/m68k/hp3bsd.h: Likewise.
15461 * config/m68k/hp3bsd44.h: Likewise.
15462 * config/m68k/linux-aout.h: Likewise.
15463 * config/m68k/m68k-aout.h: Likewise.
15464 * config/m68k/mot3300.h: Likewise.
15465 * config/m68k/netbsd.h: Likewise.
15466 * config/m68k/openbsd.h: Likewise.
15467 * config/m68k/pbb.h: Likewise.
15468 * config/m68k/plexus.h: Likewise.
15469 * config/m68k/sun2.h: Likewise.
15470 * config/m68k/sun3.h: Likewise.
15471 * config/m68k/tower-as.h: Likewise.
15472 * config/m68k/vxm68k.h: Likewise.
15473 * config/m88k/aout-dbx.h: Likewise.
15474 * config/m88k/m88k-aout.h: Likewise.
15475 * config/mcore/mcore-elf.h: Likewise.
15476 * config/mcore/mcore-pe.h: Likewise.
15477 * config/mips/elf.h: Likewise.
15478 * config/mips/elf64.h: Likewise.
15479 * config/mips/iris5gas.h: Likewise.
15480 * config/mips/iris6.h: Likewise.
15481 * config/mips/mips.h: Likewise.
15482 * config/mips/sni-gas.h: Likewise.
15483 * config/mmix/mmix.h: Likewise.
15484 * config/ns32k/netbsd.h: Likewise.
15485 * config/pa/pa64-hpux.h: Likewise.
15486 * config/romp/romp.h: Likewise.
15487 * config/rs6000/sysv4.h: Likewise.
15488 * config/rs6000/xcoff.h: Likewise.
15489 * config/sh/coff.h: Likewise.
15490 * config/sh/elf.h: Likewise.
15491 * config/sparc/linux64.h: Likewise.
15492 * config/sparc/liteelf.h: Likewise.
15493 * config/sparc/netbsd.h: Likewise.
15494 * config/sparc/openbsd.h: Likewise.
15495 * config/sparc/pbd.h: Likewise.
15496 * config/sparc/sp64-elf.h: Likewise.
15497 * config/sparc/sp86x-elf.h: Likewise.
15498 * config/sparc/sparc.h: Likewise.
15499 * config/vax/vax.h: Likewise.
15500 * config/vax/vaxv.h: Likewise.
15501
15502 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
15503
15504 * h8300.c (shift_alg_hi): Various tweaks to improve performance
15505 of HImode shifts.
15506 (get_shift_alg): Corresponding changes.
15507
15508 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
15509
15510 * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
15511
15512 2002-08-29 Richard Henderson <rth@redhat.com>
15513
15514 * expr.h (enum block_op_methods): New.
15515 (emit_block_move): Update prototype.
15516 * expr.c (block_move_libcall_safe_for_call_parm): New.
15517 (emit_block_move_via_loop): New.
15518 (emit_block_move): Use them. New argument METHOD.
15519 (emit_push_insn): Always respect the given alignment.
15520 (expand_assignment): Update call to emit_block_move.
15521 (store_expr, store_field, expand_expr): Likewise.
15522 * builtins.c (expand_builtin_apply): Likewise.
15523 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
15524 * function.c (expand_function_end): Likewise.
15525 * config/sh/sh.c (sh_initialize_trampoline): Likewise.
15526 * config/sparc/sparc.c (sparc_va_arg): Likewise.
15527 * calls.c (expand_call, emit_library_call_value_1): Likewise.
15528 (save_fixed_argument_area): Use emit_block_move with
15529 BLOCK_OP_CALL_PARM instead of move_by_pieces.
15530 (restore_fixed_argument_area): Likewise.
15531 (store_one_arg): Fix alignment parameter to emit_push_insn.
15532
15533 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
15534
15535 * install.texi (hppa64-hp-hpux11*): Document installation procedure.
15536
15537 2002-08-29 Catherine Moore <clm@redhat.com>
15538
15539 * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
15540 NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
15541 (PREDICATE_CODES): Include new predicates.
15542 (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
15543 (TARGET_SWITCHES): Add strict-align.
15544 (TARGET_STRICT_ALIGN): New.
15545 (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
15546 * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
15547 Define.
15548 (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
15549 v850_muldi3.
15550 * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
15551 L_callt_save_r2_r31, L_return_r2_r31,
15552 L_save_all_interrupt): Change addi to add.
15553 (L_save_interrupt, L_return_interrupt): Rework.
15554 (__return_r31): Correct .size directive.
15555 (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
15556 (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
15557 New routines.
15558 * config/v850/v850.c (expand_prologue): Call
15559 gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
15560 gen_callt_return_interrupt and gen_callt_save_all_interrupt.
15561 (reg_or_int9_operand): New predicate.
15562 (reg_or_const_operand): New routine.
15563 * config/v850/v850.md (return_interrupt): Changed from
15564 restore_interrupt.
15565 (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
15566 (callt_save_interrupt): Change save sequence.
15567 (callt_return_interrupt): New.
15568 (save_interrupt): Don't use runtime function for LONG_CALLS
15569 and TARGET_PROLOG_FUNCTION.
15570 (save_all_interrupt): Likewise.
15571 (mulsi3): Use new predicate.
15572 (moviscc): Disallow some combination of constants.
15573 Fix define_split for sasf insns, so that it will not generate bad
15574 code if operand0 and operand5 are the same.
15575 * config/v850/v850-protos.h: Prototype new predicates.
15576
15577 2002-08-29 Zack Weinberg <zack@codesourcery.com>
15578
15579 * config/rs6000/rs6000.c (processor_target_table): Add 405f.
15580 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise.
15581
15582 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
15583
15584 * c-common.c (builtin_define_type_precision): New function.
15585 (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
15586 wchar_t is unsigned in C++.
15587 * doc/cpp.texi (Common Predefined Macros): Document
15588 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
15589 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
15590 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
15591
15592 2002-08-28 Sylvain Pion <pion@cs.nyu.edu>
15593
15594 * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
15595 section. Mention that it is enabled by -Wall.
15596 (-Wall): Mention that there can be language-specific warnings as well.
15597 (-Wctor-dtor-privacy): Mention that it is enabled by default.
15598 (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
15599
15600 Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
15601
15602 * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
15603 if it is ever live.
15604
15605 * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
15606 attribute for SHCOMPACT.
15607
15608 * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
15609 appropriately.
15610 (FUNCTION_BOUNDARY): Specify only the minimum alignment required
15611 by the ABI.
15612
15613 * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
15614
15615 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
15616
15617 * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
15618 "MASK_GAS|MASK_ABICALLS".
15619 * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
15620 (TARGET_DEFAULT): Remove.
15621 (MACHINE_TYPE): Undefine before defining.
15622 (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
15623
15624 2002-08-27 Mark Mitchell <mark@codesourcery.com>
15625
15626 * c-common.c (warn_abi): New variable.
15627 * c-common.h (warn_abi): Likewise.
15628 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
15629 (c_common_decode_option): Handle it.
15630 * doc/invoke.texi: Document -Wabi.
15631
15632 Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
15633
15634 * c-common.c (warn_undeclared_selector): New variable.
15635 * c-common.h (warn_undeclared_selector): Idem.
15636 * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
15637 to on when -Wundeclared-selector is found.
15638 (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
15639 * objc/objc-act.c (build_selector_expr): If
15640 warn_undeclared_selector is set, check that the selector has
15641 already been defined, and emit a warning if not.
15642
15643 2002-08-27 Nick Clifton <nickc@redhat.com>
15644 Catherine Moore <clm@redhat.com>
15645 Jim Wilson <wilson@cygnus.com>
15646
15647 * config.gcc: Add v850e-*-* target.
15648 Add --with-cpu= support for v850.
15649 * config/v850/lib1funcs.asm: Add v850e callt functions.
15650 * config/v850/v850.h: Add support for v850e target.
15651 * config/v850/v850.c: Add functions to support v850e target.
15652 * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
15653 * config/v850/v850.md: Add patterns for v850e instructions.
15654 * doc/invoke.texi: Document new v850e command line switches.
15655
15656 Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
15657 Aldy Hernandez <aldyh at redhat dot com>
15658
15659 * doc/tm.texi: Applied numerous fixes to the automaton based
15660 scheduler descrition.
15661
15662 Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
15663
15664 * i386.c (classify_argument): Handle variable sized objects.
15665
15666 Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
15667
15668 * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
15669
15670 Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
15671
15672 * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
15673
15674 Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
15675
15676 * i386.c (classify_argument): Properly compute word size of the analyzed object.
15677
15678 Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
15679
15680 * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
15681 mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
15682 accordingly.
15683 (attribute insn_class): Provide default definitions based on type.
15684 Remove all insn-specific settings.
15685 (various function units): Remove old SH4 scheduling.
15686 (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
15687 New attributes. Set them where appropriate.
15688 (cpu unit FS): Don't define / use.
15689 (F3, load_store): New cpu units.
15690 (F01): New reservation.
15691 (all insn_reservations): Make dependent on sh4 pipeline model.
15692 Fix latencies.
15693 (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
15694 (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
15695 (mt insn_reservation): Use type mt_group.
15696 (insn_reservation load_store): Split into sh4_load, sh4_load_si,
15697 sh4_fload and sh4_store.
15698 (insn_reservation branch_zero and branch): Replace with sh4_branch.
15699 (insn_reservation branch_far): Replace with sh4_return.
15700 (insn_reservation return_from_exp): Rename to:
15701 (sh4_return_from_exp). Change to be just d_lock*5.
15702 (insn_reservation lds_to_pr): Rename to:
15703 (sh4_lds_to_pr). Change to be just d_lock*2.
15704 (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
15705 d_lock*2.
15706 (insn_reservation prload_mem): Rename to:
15707 (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
15708 (insn_reservation fpscr_store): Rename to:
15709 (fpscr_load). Change to d_lock,nothing,F1*3.
15710 (insn_reservation fpscr_store_mem): Rename to:
15711 (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
15712 (insn_reservation multi): Change to
15713 d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
15714 (insn_reservation fp_arith): Change to issue,F01,F2.
15715 (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
15716 (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
15717 (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
15718 (insn_reservation fp_double_cmp): Change to
15719 d_lock,(d_lock+F01),F1+F2,F2.
15720 (insn_reservation dp_div): Change to
15721 issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
15722 * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
15723 (sh_adjust_cost, SHcompact): Differentiate between different
15724 kinds of dependencies. Drop factor of ten for superscalar.
15725 Use new instruction types. Add new exception rules.
15726
15727 * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
15728
15729 * sh.md (mperm_w): Add DONE.
15730
15731 2002-08-27 David Edelsohn <edelsohn@gnu.org>
15732
15733 * longlong.h: Import current PowerPC defintion from GMP-4.1.
15734
15735 * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
15736
15737 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
15738
15739 Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
15740
15741 * sh.h (MAX_FIXED_MODE_SIZE): Define.
15742
15743 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
15744
15745 * doc/cpp.texi (Common Predefined Macros): Don't mess with table
15746 delimiter.
15747
15748 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
15749
15750 * c-common.c (cpp_define_data_format): New function.
15751 (cb_register_builtins): Call it.
15752
15753 * doc/cpp.texi (Common Predefined Macros): Document
15754 __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
15755 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
15756 __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
15757 __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
15758 __TARGET_USES_VAX_H_FLOAT__.
15759
15760 2002-08-26 Ziemowit Laski <zlaski@apple.com>
15761
15762 * objc/objc-act.c (get_super_receiver): If inside a class method
15763 of a category, cast the receiver to 'id' before accessing the 'isa'
15764 field so that <objc/objc-class.h> is not needed. For NeXT runtime.
15765
15766 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
15767
15768 * config/s390/s390-protos.h (s390_function_prologue,
15769 s390_function_epilogue): Remove.
15770 config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
15771 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
15772
15773 config/s390/s390.c (s390_machine_dependent_recorg): New function.
15774 config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
15775 config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
15776 config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
15777 to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
15778
15779 config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
15780 assume BASE_REGISTER and RETURN_REGNUM need to be saved.
15781 (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
15782 function is not a leaf function. Use save_gprs and restore_gprs.
15783 (s390_emit_epilogue): Likewise.
15784 (save_gprs, restore_gprs): New functions.
15785 (struct s390_frame): Remove return_reg_saved_p member.
15786 (save_fprs_p): Remove.
15787 (s390_optimize_prolog): New function.
15788 (s390_legitimate_reload_constant): Remove now unnecessary check.
15789
15790 (s390_function_count): Remove.
15791 (s390_output_symbolic_const): Replace s390_function_count by
15792 current_function_funcdef_no.
15793 (s390_output_constant_pool): Likewise.
15794
15795 (legitimize_pic_address): Use regs_ever_live to track PIC register
15796 instead of current_function_uses_pic_offset_table.
15797 (s390_emit_prologue): Likewise.
15798 config/s390/s390.md ("call", "call_value"): Likewise.
15799
15800 2002-08-26 Neil Booth <neil@daikokuya.co.uk>
15801
15802 * c-opts.c (find_opt): Don't complain about wrong languages
15803 here. Return exact matches even for wrong language.
15804 (c_common_decode_option): Complain about wrong languages
15805 here.
15806
15807 2002-08-24 Stuart Hastings <stuart@apple.com>
15808
15809 * function.h (struct function): Add flag
15810 all_throwers_are_sibcalls.
15811 * except.c (set_nothrow_function_flags): Replaces
15812 nothrow_function_p. Set new flag.
15813 * except.h (set_nothrow_function_flags): Replaces
15814 nothrow_function_p.
15815 * dwarf2out.c (struct dw_fde_struct): Add flag
15816 all_throwers_are_sibcalls.
15817 (output_call_frame_info): Test it.
15818 (dwarf2out_begin_prologue) Propagate it from cfun to
15819 dw_fde_struct.
15820 * toplev.c (rest_of_compilation): Update calls to
15821 nothrow_function_p.
15822
15823 2002-08-23 Zack Weinberg <zack@codesourcery.com>
15824
15825 * ggc-page.c (compute_inverse): Short circuit calculation for
15826 object sizes larger than half a page.
15827
15828 2002-08-23 David Edelsohn <edelsohn@gnu.org>
15829
15830 * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
15831 DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
15832 default.
15833 (rs6000_elf_unique_section): Likewise.
15834
15835 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15836
15837 * ns32k.c (ns32k_globalize_label): Delete.
15838 * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
15839
15840 2002-08-23 Alan Modra <amodra@bigpond.net.au>
15841
15842 * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
15843 for loading delta with num_insns_constant_wide. Calculate
15844 delta_low, delta_high without using a conditional.
15845
15846 2002-08-22 Jason Merrill <jason@redhat.com>
15847
15848 * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
15849 * c-common.def: Adjust.
15850 * c-dump.c (c_dump_tree): Adjust.
15851 * c-semantics.c (genrtl_return_stmt): Adjust.
15852 * c-pretty-print.c (pp_c_statement): Adjust.
15853 * tree-inline.c (copy_body_r): Adjust.
15854
15855 2002-08-22 Zack Weinberg <zack@codesourcery.com>
15856
15857 * ggc-page.c: Avoid division in ggc_set_mark.
15858 (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
15859 compute_inverse): New.
15860 (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
15861 (init_ggc): Initialize inverse_table.
15862
15863 2002-08-22 Tom Tromey <tromey@redhat.com>
15864
15865 * doc/install.texi (Configuration): Document --datadir.
15866
15867 2002-08-22 Alexandre Oliva <aoliva@redhat.com>
15868
15869 * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
15870
15871 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
15872
15873 * gengtype-lex.l (ID): Allow underscore as first character.
15874
15875 2002-08-21 David Edelsohn <edelsohn@gnu.org>
15876
15877 * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
15878 function.
15879 (rs6000_xcoff_asm_named_section): Rename.
15880 * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
15881
15882 2002-08-21 Tom Tromey <tromey@redhat.com>
15883
15884 For PR java/6005 and PR java/7611:
15885 * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
15886 (fold): Likewise.
15887 * langhooks.c (lhd_can_use_bit_fields_p): New function.
15888 * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
15889 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
15890 (LANG_HOOKS_INITIALIZER): Use it.
15891 * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
15892 field.
15893
15894 2002-08-21 Stan Shebs <shebs@apple.com>
15895
15896 * tree.c (finish_vector_type): Fix a typo in a comment.
15897 * Makefile.in: Fix "the the" stutters in comments.
15898 * genautomata.c: Ditto.
15899 * ifcvt.c: Ditto.
15900 * regrename.c: Ditto.
15901 * config/alpha/alpha.c: Ditto.
15902 * config/alpha/vms-crt0-64.c: Ditto.
15903 * config/alpha/vms-crt0.c: Ditto.
15904 * config/alpha/vms-psxcrt0-64.c: Ditto.
15905 * config/alpha/vms-psxcrt0.c: Ditto.
15906 * config/d30v/d30v.h: Ditto.
15907 * config/fr30/fr30.h: Ditto.
15908 * config/rs6000/rs6000.c: Ditto.
15909 * config/stormy16/stormy16.h: Ditto.
15910 * doc/md.texi: Ditto.
15911
15912 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
15913
15914 * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
15915
15916 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
15917
15918 * c-decl.c (grokdeclarator): Make invalid combinations with long,
15919 short, signed or unsigned into hard errors. Fixes PR c/4319.
15920 Also make duplicate modifiers such as "short short" into hard
15921 errors.
15922
15923 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
15924 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15925
15926 * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
15927 to the actual end. Add '@end table' and '@table @code'.
15928
15929 2002-08-20 Geoffrey Keating <geoffk@redhat.com>
15930
15931 * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
15932
15933 * unroll.c (biv_total_increment): Don't try to compute the total
15934 increment for FP BIVs.
15935
15936 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15937
15938 * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
15939 * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
15940 ASM_OUTPUT_ALIGNED_BSS): Use target hook.
15941 * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
15942 * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
15943 * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
15944 (GLOBAL_ASM_OP): Define.
15945 * arm.c (aof_globalize_label): New function.
15946 (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
15947 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
15948 * c4x.c (c4x_globalize_label): New function.
15949 (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
15950 * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
15951 (GLOBAL_ASM_OP): Define.
15952 * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
15953 * darwin-protos.h (darwin_globalize_label): Declare.
15954 * darwin.c (darwin_globalize_label): New function.
15955 * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
15956 (ASM_GLOBALIZE_LABEL): Delete.
15957 (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
15958 * dsp16xx.c (asm_output_common): Use target hook.
15959 * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
15960 * frv.h (ASM_GLOBALIZE_LABEL): Delete.
15961 (GLOBAL_ASM_OP): Define.
15962 * i370.c (i370_globalize_label): New function.
15963 (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
15964 * i370.h (ASM_GLOBALIZE_LABEL): Delete.
15965 * i386.c (ix86_asm_file_end): Use target hook.
15966 * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
15967 (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
15968 * ia64.c (ia64_asm_output_external): Likewise.
15969 * ia64/sysv4.h: Update comment.
15970 * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
15971 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
15972 * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
15973 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
15974 * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
15975 * mmix-protos.h (mmix_asm_globalize_label): Delete.
15976 * mmix.c (mmix_asm_globalize_label): Likewise.
15977 * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
15978 (GLOBAL_ASM_OP): Define.
15979 * ns32k.c (ns32k_globalize_label): New function.
15980 * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
15981 (ASM_GLOBALIZE_LABEL): Delete.
15982 * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
15983 (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
15984 * pa.c (pa_globalize_label): New function.
15985 * pa.h (ASM_GLOBALIZE_LABEL): Delete.
15986 (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
15987 * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
15988 (GLOBAL_ASM_OP): Define.
15989 (TARGET_ASM_GLOBALIZE_LABEL): Undef.
15990 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
15991 * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
15992 (GLOBAL_ASM_OP): Define.
15993 * v850.c (v850_output_aligned_bss): Use target hook.
15994 * vax.c (vms_globalize_label): New function.
15995 (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
15996 * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
15997 (GLOBAL_ASM_OP): Define.
15998 * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
15999 * doc/tm.texi: Update docs.
16000 * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
16001 target hook.
16002 * final.c (output_alternate_entry_point): Likewise.
16003 * hooks.c (hook_FILEptr_constcharptr_void): New function.
16004 * hooks.h (hook_FILEptr_constcharptr_void): Declare.
16005 * output.h (assemble_global): Delete.
16006 (default_globalize_label): Declare.
16007 * system.h (ASM_GLOBALIZE_LABEL): Poison.
16008 * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
16009 (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
16010 * target.h (gcc_target): Add globalize_label member.
16011 * varasm.c (asm_output_bss, asm_output_aligned_bss,
16012 globalize_decl): Use target hook.
16013 (assemble_global): Delete.
16014 (default_globalize_label): New function.
16015
16016 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16017
16018 * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
16019
16020 2002-08-20 Devang Patel <dpatel@apple.com>
16021 * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
16022
16023 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16024
16025 * arc.c (output_shift): Use stdio instead of asm_fprintf.
16026 * arm.c (thumb_output_function_prologue): Likewise.
16027 * avr.c (print_operand): Likewise.
16028 * c4x.c (c4x_print_operand): Likewise.
16029 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
16030 ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
16031 * cris.c (cris_target_asm_function_prologue,
16032 cris_asm_output_mi_thunk): Likewise.
16033 * h8300.c (print_operand): Likewise.
16034 * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16035 * ip2k.c (print_operand): Likewise. Fix format specifier.
16036 * m68hc11.c (asm_print_register, print_operand,
16037 print_operand_address): Use stdio instead of asm_fprintf.
16038 (print_operand_address): Fix format specifier.
16039 * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
16040 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
16041 asm_fprintf.
16042 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16043 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16044 * m68k.c (m68k_output_function_prologue,
16045 m68k_output_function_epilogue, print_operand): Likewise.
16046 * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
16047 Likewise. Fix format specifier.
16048 * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16049 * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16050 * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16051
16052 2002-08-15 Eric Christopher <echristo@redhat.com>
16053 Jeff Knaggs <jknaggs@redhat.com>
16054
16055 * config.gcc (mipsisa64sr71k-elf): New target.
16056 * config/mips/sr71k.md: New file.
16057 * config/mips/mips.md: Use it.
16058 (rot*): Add sr71k specifics.
16059 * config/mips/t-sr71k: New file.
16060 * config/mips/mips.h (sr71k): New cpu.
16061 (TARGET_SR71K): Use it.
16062 (TUNE_SR71K): Ditto.
16063 (GENERATE_BRANCHLIKELY): Ditto.
16064 (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
16065 ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
16066 * config/mips/mips.c (sr71k): New cpu.
16067 (mips_use_dfa_pipeline_interface): Use.
16068
16069 2002-08-15 Eric Christopher <echristo@redhat.com>
16070 Richard Sandiford <rsandifo@redhat.com>
16071 Aldy Hernandez <aldyh@redhat.com>
16072 Graham Stott <grahams@redhat.com>
16073 Michael Meissner <meissner@redhat.com>
16074 Gavin Romig-Koch <gavin@redhat.com>
16075 Ken Raeburn <raeburn@cygnus.com>
16076 Alexandre Oliva <aoliva@redhat.com>
16077
16078 * config.gcc (mips64vr-elf): New target.
16079 * config/mips/5400.md: New file.
16080 * config/mips/5500.md: Ditto.
16081 * config/mips/mips.md: Use them.
16082 (frsqrt): New.
16083 * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
16084 cpus.
16085 (mips_issue_rate): Use them.
16086 (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
16087 (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
16088 * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
16089 cpus.
16090 (TARGET_MIPSx): Use them.
16091 (TUNE_MIPSx): Ditto.
16092 (GETNATE_MULT3_SI): Ditto.
16093 (ISA_HAS_BRANCHLIKELY): Ditto.
16094 (ISA_HAS_CONDMOVE): Ditto.
16095 (ISA_HAS_NMADD_NMSUB): Ditto.
16096 (ISA_HAS_MULHI): New. Ditto.
16097 (ISA_HAS_MULS): Ditto.
16098 (ISA_HAS_MSAC): Ditto.
16099 (ISA_HAS_MACC): Ditto.
16100 (ISA_HAS_ROTR_SI): Ditto.
16101 (ISA_HAS_ROTR_DI): Ditto.
16102 (RTX_COSTS): Use.
16103
16104 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
16105
16106 * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
16107 at head.
16108 (remove_dup_nonsys_dirs): New function.
16109 (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
16110 (merge_include_chains): Remove non-system include directories from
16111 quote and bracket include chains when they duplicate equivalent system
16112 directories.
16113 * doc/cpp.texi (-I): Update.
16114 * doc/cppopts.texi (-I): Update.
16115 * doc/install.texi (--with-local-prefix): Further document usage of
16116 this option.
16117 * doc/invoke.texi (-I): Update.
16118
16119 2002-08-20 Richard Henderson <rth@redhat.com>
16120
16121 * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
16122 (emit_block_move): Split out subroutines.
16123 (emit_block_move_via_movstr): New.
16124 (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
16125 (emit_block_move_libcall_fn): New. Construct function prototype for
16126 bcopy as well.
16127 (clear_storage): Split out subroutines.
16128 (clear_storage_via_clrstr): New.
16129 (clear_storage_via_libcall): New. Emit bzero as a normal call also.
16130 (clear_storage_libcall_fn): New. Construct function prototype for
16131 bzero as well.
16132 (emit_push_insn): Use emit_block_move.
16133 (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
16134 (store_constructor): Likewise.
16135
16136 2002-08-19 Ziemowit Laski <zlaski@apple.com>
16137
16138 * objc/objc-act.c (building_objc_message_expr): Rename to
16139 current_objc_message_selector.
16140
16141 2002-08-19 Ziemowit Laski <zlaski@apple.com>
16142
16143 * objc/objc-act.c (build_ivar_chain): Remove.
16144 (objc_copy_list): Likewise.
16145 (get_class_ivars): Inline call to removed build_ivar_chain
16146 function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
16147 slot; use that slot (rather than CLASS_IVARS) when accessing
16148 ivars for base classes. Call copy_list and chainon instead of
16149 objc_copy_list.
16150 (build_private_template): Call get_class_ivars instead of
16151 build_ivar_chain.
16152 (start_class): Allocate room for the CLASS_OWN_IVARS slot.
16153 (continue_class): Call get_class_ivars instead of
16154 build_ivar_chain.
16155 (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
16156 of DECL_BIT_FIELD (which may have been cleared).
16157 * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
16158
16159 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16160
16161 * genautomata.c (output_translate_vect, output_state_ainsn_table,
16162 output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
16163 in output file.
16164 (output_internal_min_issue_delay_func): Initialize variable in
16165 output file.
16166
16167 2002-08-19 Alexandre Oliva <aoliva@redhat.com>
16168
16169 * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
16170 (stage2_build, stage3_build, stage4_build): Likewise, to CC.
16171
16172 2002-08-19 Geoffrey Keating <geoffk@redhat.com>
16173 Steve Ellcey <sje@cup.hp.com>
16174
16175 * machmode.h (SCALAR_INT_MODE_P): New macro to test for
16176 scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
16177 * explow.c (trunc_int_for_mode): Abort when the mode is not
16178 a scaler integer mode.
16179 * combine.c (expand_compound_operation): Don't expand Vector
16180 or Complex modes into shifts.
16181 (expand_field_assignment): Don't do bitwise arithmatic and
16182 shifts on Vector or Complex modes.
16183 (simplify_comparison): Don't call trunc_int_for_mode
16184 for VOIDmode.
16185 * recog.c (general_operand): Likewise.
16186 (immediate_operand): Likewise.
16187 (nonmemory_operand): Likewise.
16188
16189 2002-08-19 David Edelsohn <edelsohn@gnu.org>
16190
16191 * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
16192 multi-instruction SImode constant. Add REG_EQUAL note.
16193 * config/rs6000/rs6000.md (movsi splitter): Use
16194 rs6000_emit_set_const.
16195
16196 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16197
16198 * tree-inline.c (initialize_inlined_parameters): Wrap variable in
16199 the macro test controlling its use.
16200
16201 2002-08-18 H.J. Lu (hjl@gnu.org)
16202
16203 * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
16204 crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
16205 gnu_ld=yes.
16206 (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
16207 i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
16208 s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
16209 xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
16210 here.
16211 (cris-*-linux*): Remove setting thread_file here.
16212
16213 2002-08-18 Neil Booth <neil@daikokuya.co.uk>
16214
16215 PR preprocessor/7602
16216 * cppinit.c (path_include): Treat the system environment
16217 variables as being cxx_aware.
16218
16219 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
16220
16221 * c-decl.c (flexible_array_type_p): New function.
16222 (grokdeclarator, finish_struct): Use it.
16223 * doc/extend.texi: Document constraints on use of structures with
16224 flexible array members.
16225
16226 2002-08-17 Richard Sandiford <rsandifo@redhat.com>
16227
16228 * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
16229 config/mips/t-r3900 (MULTILIB_MATCHES): Define.
16230 * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
16231
16232 2002-08-16 Stan Shebs <shebs@apple.com>
16233
16234 * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
16235 for ObjC with -fnext-runtime.
16236 * doc/cpp.texi: Document it.
16237
16238 2002-08-16 Janis Johnson <janis187@us.ibm.com>
16239
16240 * doc/install.texi (Final installation): Replace links to individual
16241 build status pages with a link to a common page that lists them all.
16242
16243 2002-08-16 Sylvain Pion <pion@cs.nyu.edu>
16244
16245 * doc/invoke.texi: Fix typo.
16246
16247 2002-08-16 David Edelsohn <edelsohn@gnu.org>
16248
16249 * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
16250
16251 2002-08-16 Andrew Haley <aph@redhat.com>
16252
16253 * tree-inline.c: Add includes for Java inliner.
16254 (remap_decl): Don't handle anonymous types for Java.
16255 (remap_block): Add handling for Java trees.
16256 (copy_scope_stmt): Conditionalize for non-Java use only.
16257 (copy_body_r): Handle Java trees. Add handling for
16258 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
16259 (initialize_inlined_parameters): Handle Java trees.
16260 (declare_return_variable): Likewise.
16261 (expand_call_inline): Handle Java trees.
16262 (walk_tree): Likewise.
16263 (copy_tree_r): Don't handle SCOPE_STMTs for Java.
16264 (add_stmt_to_compound): New function.
16265
16266 2002-08-15 Richard Henderson <rth@redhat.com>
16267
16268 * Makefile.in (LOOSE_WARN): Remove -fno-common.
16269 (NOCOMMON_FLAG): New substitution point.
16270 (GCC_WARN_CFLAGS): Include it.
16271 * configure.in (ac_checking): Set nocommon_flag.
16272 (nocommon_flag): New substitution point.
16273
16274 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
16275
16276 * c-tree.h (skip_evaluation): Move declaration...
16277 * c-common.h: ... here.
16278 * c-typeck.c (build_external_ref): Don't assemble_external nor
16279 mark a tree as used if skip_evaluation is set.
16280 * c-parse.in (typeof): New non-terminal to set skip_evaluation
16281 around TYPEOF.
16282 (typespec_nonreserved_nonattr): Use it.
16283
16284 2002-08-15 Douglas B Rupp <rupp@gnat.com>
16285
16286 * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
16287 (xcoff_debug_hooks): Update end_prologue.
16288 * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
16289 * debug.h (end_prologue): Add file arg.
16290 (end_epilogue): Add line and file args.
16291 (dwarf2out_end_epilogue): Add line and file args.
16292 (vmsdbgout_after_prologue): Remove.
16293 * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
16294 (dwarf2_debug_hooks): Update end_prologue.
16295 * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
16296 (dwarfout_end_prologue): Add file arg.
16297 * final.c (vmsdbgout_after_prologue): Remove
16298 (final_end_function): Update end_epilogue call.
16299 (final_scan_insn): Update end_prologue call.
16300 * sdbout.c (sdbout_end_epilogue): Add line and file args.
16301 (sdbout_end_prologue): Add file arg.
16302 (sdb_debug_hooks): Update end_prologue.
16303 (sdb_begin_prologue): Update sdbout_end_prologue call.
16304 * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
16305 vmsdbgout_end_function.
16306 (vmsdbgout_end_prologue): New function renamed from
16307 vmsdbgout_after_prologue. Call vmsdbgout_source_line.
16308 (vmsdbgout_end_function): New function.
16309 (vmsdbgout_end_epilogue): Add line and file args. Call
16310 vmsdbgout_source_line.
16311 (write_pclines): Write only valid line numbers.
16312 (write_srccorr): Don't write source correlation records if 0 lines.
16313 * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
16314
16315 2002-08-15 Steve Ellcey <sje@cup.hp.com>
16316
16317 * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
16318 (_Unwind_Internal_Ptr): 32 bit version for use in
16319 read_encoded_value_with_base.
16320 * gcc/unwind-pe.h (read_encoded_value_with_base): Use
16321 _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
16322 right size.
16323
16324 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16325
16326 * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
16327 signed/unsigned warnings.
16328
16329 * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
16330 record_reg_classes): Likewise.
16331
16332 * reload.c (reload_inner_reg_of_subreg, push_reload,
16333 find_reloads_address_1): Likewise.
16334
16335 2002-08-15 David Edelsohn <edelsohn@gnu.org>
16336
16337 * rs6000.c (output_mi_thunk): Return to function section on
16338 TARGET_ELF.
16339
16340 * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
16341
16342 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
16343
16344 * config/s390/s390.c (legitimize_address): Optimize loading
16345 of large displacements.
16346
16347 2002-08-14 Douglas B Rupp <rupp@gnat.com>
16348
16349 * config/alpha/alpha-protos.h: Update.
16350
16351 * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
16352 (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
16353 (alpha_linkage_symbol_p): New static function.
16354 (print_operand_address): Print linkage operand.
16355
16356 (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
16357 variables.
16358 (reloc_kind): New enum.
16359 (struct alpha_funcs): New struct.
16360 (struct alpha_links): Add reloc_kind field. Rename links_kind field.
16361
16362 (alpha_need_linkage): Rewrite.
16363 (alpha_use_linkage): New global function.
16364 (alpha_write_linkage): Rewrite and make static.
16365 (alpha_write_one_linkage): Rewrite
16366
16367 (alpha_start_function): Remove procedure descriptor output.
16368 (alpha_end_function): Write linkages at end of each function.
16369
16370 * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
16371 (call_vms_1, call_value_vms_1): Rewrite.
16372
16373 * config/alpha/vms.h (ASM_FILE_END): Remove.
16374
16375 2002-08-14 Richard Henderson <rth@redhat.com>
16376
16377 * ggc-page.c (RTL_SIZE): New.
16378 (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
16379 * rtl.def (BARRIER, NOTE): Pad to 9 slots.
16380
16381 2002-08-14 Richard Henderson <rth@redhat.com>
16382
16383 * calls.c: Include target.h.
16384 * Makefile.in (calls.o): Update.
16385
16386 * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
16387 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
16388
16389 2002-08-14 Richard Henderson <rth@redhat.com>
16390
16391 * Makefile.in (LOOSE_WARN): Add -fno-common.
16392 * c-common.h (constant_string_class_name): Add missing extern.
16393
16394 2002-08-15 Neil Booth <neil@daikokuya.co.uk>
16395
16396 PR preprocessor/7358
16397 * c-opts.c (check_deps_environment_vars): Ignore main file
16398 for SUNPRO_DEPENDENCIES.
16399 * cppfiles.c (stack_include_file): Ignore main file if
16400 appropriate.
16401 * cpplib.h (struct cpp_options): New member in deps.
16402 * doc/cppenv.texi: Update.
16403
16404 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
16405
16406 PR preprocessor/7526
16407 * cpplib.c (run_directive): Kludge so _Pragma dependency works.
16408
16409 2002-08-14 Nathan Sidwell <nathan@codesourcery.com>
16410
16411 * doc/invoke.texi (-a): Remove documentation.
16412 (-fprofile-arcs): Remove reference to -a, -ax options.
16413 * doc/gcov.texi (Gcov Data Files): Data might be merged.
16414
16415 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
16416
16417 Fix PR/7566
16418 * c-semantics.c (genrtl_case_label): Don't (mis)use
16419 warning_with_decl.
16420
16421 2002-08-14 Dale Johannesen <dalej@apple.com>
16422
16423 * explow.c (emit_stack_restore): Emit memory clobbers
16424 preceding the stack pop, to prevent the scheduler from
16425 moving refs to variable arrays below this pop.
16426 * reload1.c (reload): Preserve these clobbers for sched2.
16427 * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
16428
16429 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
16430
16431 * c-opts.c (c_common_post_options): Correct test.
16432
16433 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16434
16435 * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
16436 order in call to fprintf.
16437
16438 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16439
16440 * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
16441
16442 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
16443
16444 * reload.c (find_reloads): Handle constraint letters marked by
16445 EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
16446 (alternative_allows_memconst): Likewise.
16447 * reload1.c (maybe_fix_stack_asms): Likewise.
16448 * recog.c (asm_operand_ok, preprocess_constraints,
16449 constrain_operands): Likewise.
16450 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
16451 * local-alloc.c (block_alloc, requires_inout): Likewise.
16452 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
16453
16454 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
16455 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
16456 * doc/tm.texi: Document these two new target macros.
16457
16458 * config/s390/s390.c (s390_expand_plus_operand): Accept already
16459 valid operands.
16460 (q_constraint): New function.
16461 config/s390/s390-protos.h (q_constraint): Declare it.
16462 config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
16463 (EXTRA_MEMORY_CONSTRAINT): New macro.
16464
16465 * config/s390/s390.md: Throughout the machine description,
16466 replace all instances of the constraint combinations 'Qo'
16467 or 'oQ' with simply 'Q'.
16468
16469 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
16470
16471 * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
16472 * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
16473 (LIBGCC2_CFLAGS): Compile with -mrelax.
16474
16475 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
16476
16477 * doc/invoke.texi: Document -minmax for 68HC12.
16478
16479 * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
16480 ("uminqi3"): Likewise.
16481 ("uminhi3", "umaxhi3"): Likewise.
16482
16483 * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
16484 (TARGET_MIN_MAX): Define.
16485 (TARGET_SWITCHES): New option -minmax/-mnominmax.
16486
16487 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
16488
16489 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
16490 (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
16491
16492 * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
16493 (ret, declare, farsym): New gas macros.
16494 (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
16495 ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
16496 and declare the symbol far when compiled with -mlong-calls.
16497 (__far_trampoline): New for 68HC12 trampoline code to invoke a
16498 far handler using jsr/bsr.
16499
16500 * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
16501 (jsr): New macro to transform a 'jsr' into a 'call'.
16502
16503 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
16504
16505 * doc/invoke.texi: Document -mlong-calls for 68HC12.
16506
16507 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
16508 -mlong-calls is specified.
16509 (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
16510 assembler directives.
16511 (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
16512 (TARGET_SWITCHES): Add -mlong-calls options.
16513 (current_function_far): Declare.
16514
16515 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
16516 into account the page register saved on the stack.
16517 (m68hc11_override_options): Take into account -mlong-calls option.
16518 (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
16519
16520 * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
16521 if the function is going to be in 68HC12 banked memory (-mlong-calls).
16522 ("*return_16bit"): Likewise.
16523 ("*return_void"): Likewise.
16524 ("call", "call_value"): Use call for a far function call.
16525
16526 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
16527
16528 * toplev.c (parse_options_and_default_flags): Don't call
16529 post_options here.
16530 (general_init): Initialize GC, pools and tree hash here,
16531 instead of lang_independent_init.
16532 (lang_independent_init): Rename backend_init.
16533 (do_compile): Call post_options hook; exit early if there
16534 have been errors after switch processing.
16535 (toplev_main): Update.
16536
16537 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
16538
16539 * c-pretty-print.h: Guard against multiple inclusion.
16540 Robustify macros.
16541 (pp_c_attributes): Declare.
16542 * c-pretty-print.c (pp_c_attributes): New function.
16543
16544 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16545
16546 * m68k.c (m68k_output_function_prologue,
16547 m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
16548 and NEWS/MOTOROLA.
16549 * genattrtab.c: Remove dpx2 comment.
16550 * libgcc2.c (__enable_execute_stack): Delete versions for
16551 NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
16552 sony_news/SYSTYPE_BSD.
16553 * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
16554 __gmicro__, __i860__, __NeXT__ and __pyr__.
16555 * rtl.h: Remove convex comment.
16556 * varasm.c: Likewise.
16557
16558 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16559
16560 * c-opts.c (lang_flags): Const-ify.
16561 * ra-build.c (undef_table): Likewise.
16562 * ra.c (eliminables): Likewise.
16563
16564 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
16565
16566 * tree.h: Guard against multiple inclusion.
16567
16568 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
16569
16570 * reload1.c (reload_cse_simplify): Before checking
16571 REG_FUNCTION_VALUE_P, check REG_P.
16572
16573 2002-08-13 Geoffrey Keating <geoffk@redhat.com>
16574
16575 * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
16576
16577 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
16578
16579 * c-opts.c (c_common_init_options): Extra braces needed.
16580
16581 Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
16582
16583 * sh.c (sh_init_builtins): Add PARAMS to declaration.
16584 (sh_media_init_builtins, sh_expand_builtin): Likewise.
16585 (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
16586 (sh_expand_binop_v2sf): Likewise.
16587 * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
16588 (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
16589 (sh_initialize_trampoline): Likewise.
16590
16591 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
16592
16593 * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
16594 new condition code modes.
16595 s390.c (s390_match_ccmode_set): Handle those new CC modes.
16596 (s390_select_ccmode): Likewise.
16597 (s390_branch_condition_mask): Likewise.
16598
16599 * s390-protos.h (s390_tm_ccmode): Declare.
16600 s390.c (s390_tm_ccmode): New function.
16601 (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
16602
16603 * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
16604 ("*cmpsi_tm2"): Rename to "*tmsi_ext".
16605 ("*cmpqi_tm2"): Rename to "*tmqi_ext".
16606
16607 ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
16608 "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
16609 "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
16610 ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
16611 "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
16612
16613 ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
16614 "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
16615 "*cmpqi_ccs_0"): Remove, replace by ...
16616 ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
16617 "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
16618 "*tstqi", "*tstqi_cconly"): ... these new patterns.
16619
16620 ("*cmpsidi_ccs"): Remove, replace by ...
16621 ("*cmpsi_ccs_sign"): ... this new pattern.
16622 ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
16623
16624 ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
16625 ("*cli"): ... this new pattern.
16626
16627 ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
16628 "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
16629 New patterns.
16630 ("adddi3_64"): Rename to "*adddi3_64".
16631 ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
16632 ("adddi3"): Adapt expander.
16633
16634 ("*addsi3_cc"): Allow "general_operand" for operand 2.
16635 ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
16636 "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
16637
16638 ("addhi3", "addqi3"): Remove, replace by ...
16639 ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
16640
16641 ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
16642 "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
16643 ("subdi3"): Replace by insn and splitter "*subdi3_31".
16644 ("subdi3"): New expander.
16645
16646 ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
16647
16648 ("subhi3", "subqi3"): Remove, replace by ...
16649 ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
16650
16651 ("*muldi3_sign"): New pattern.
16652 ("muldi3"): Do not clobber CC.
16653 ("mulsi3"): Likewise.
16654 ("mulsi_6432"): Likewise.
16655
16656 2002-08-13 Denis Chertykov <denisc@overta.ru>
16657
16658 * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
16659 which can change CC0.
16660
16661 Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
16662
16663 * gcse.c (adjust_libcall_notes): New function.
16664 (do_local_cprop): Use it. Add fourth parameter. Changed caller.
16665
16666 2002-08-13 Nathan Sidwell <nathan@codesourcery.com>
16667
16668 * libgcc2.c (L_bb): Remove unneeded #includes.
16669 (__global_counters, __gthreads_active): Remove unused globals.
16670 (__bb_exit_func): Merge counts into files rather than appending.
16671 * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
16672 (ALL_CFLAGS): ... to here.
16673
16674 2002-08-13 Denis Chertykov <denisc@overta.ru>
16675
16676 * config/ip2k/ip2k.c (commands_in_file): Variable removed.
16677 (function_epilogue): Don't calculate function size.
16678 (ip2k_set_compare): Don't use lookup_const_double.
16679 (asm_file_start): Initialization of commands_in_file removed.
16680 (asm_file_end): Output of commands_in_file removed.
16681
16682 * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
16683 __INT_MAX__.
16684
16685 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
16686
16687 * c-opts.c (c_common_init_options): Check option array is
16688 sorted if checking enabled.
16689
16690 2002-08-13 Gabriel Dos Reis <gdr@nerim.net>
16691
16692 * c-pretty-print.c: #include "c-tree.h".
16693 (pp_c_simple_type_specifier): Tweak.
16694 (pp_c_storage_class_specifier): New.
16695 (pp_c_function_specifier): Likewise.
16696 (pp_c_declaration_specifiers): Likewise.
16697 (pp_c_init_declarator): Likewise.
16698 (pp_c_declaration): Likewise.
16699 (pp_c_direct_declarator): Stub.
16700 (pp_c_declarator): Likewise.
16701 (pp_c_parameter_declaration): Likewise.
16702
16703 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
16704
16705 * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
16706 handle_deferred_opts, sanitize_cpp_opts, defer_opt,
16707 struct deferred_opt): New.
16708 (COMMAND_LINE_OPTIONS): Add -M*.
16709 (missing_arg): Update.
16710 (c_common_decode_option): Handle -M*.
16711 (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
16712 don't call cpp_post_options.
16713 (c_common_finish, check_deps_environment_vars): Update.
16714 * cppfiles.c (stack_include_file, handle_missing_header): Update.
16715 * cpphash.h (CPP_PRINT_DEPS): Remove.
16716 * cppinit.c: Don't include version.h.
16717 (cpp_create_reader): Don't call deps_init. Initialize
16718 warn_long_long.
16719 (cpp_read_main_file): Init deps if necessary.
16720 (cpp_destroy): Conditionally free deps.
16721 (cpp_finish): Update.
16722 (no_tgt): Remove.
16723 (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
16724 (cpp_post_options): Rename post_options.
16725 * cpplib.h (struct cpp_options): Remove some dependency options;
16726 move others to a new structure.
16727 (cpp_post_options): Remove.
16728 (cpp_finish): Comment.
16729 * fix-header.c (read_scan_file): Don't call cpp_post_options.
16730
16731 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
16732
16733 * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
16734 ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
16735 MMIX_rR_REGNUM as clobbered.
16736 * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
16737
16738 2002-08-12 Gabriel Dos Reis <gdr@nerim.net>
16739
16740 * diagnostic.h (output_formatted_scalar): Rename from
16741 output_formatted_integer.
16742 * diagnostic.def: Add DK_DEBUG.
16743 * diagnostic.c (output_decimal): Adjust.
16744 (output_long_decimal): Likewise.
16745 (output_unsigned_decimal): Likewise.
16746 (output_octal): Likewise.
16747 (output_long_octal): Likewise.
16748 (output_hexadecimal): Likewise.
16749 (output_long_hexadecimal): Likewise.
16750 * c-pretty-print.c (pp_c_type_specifier): New function.
16751 (pp_c_specifier_qualifier_list): Likewise.
16752 (pp_c_abstract_declarator): Likewise.
16753 (pp_c_char): Replace pp_format_integer with pp_format_scalar.
16754
16755 2002-08-12 David Edelsohn <edelsohn@gnu.org>
16756
16757 * doc/trouble.texi (Disappointments): Add static constructor and
16758 destructor dependency information for AIX.
16759
16760 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
16761
16762 * cpphash.h (struct printer): New from cppmain.c.
16763 (cpp_reader): New member.
16764 * cppmain.c (struct printer): Move to cpphash.h.
16765 (options, print): Remove.
16766 (account_for_newlines, print_line, maybe_print_line,
16767 cpp_preprocess_file, setup_callbacks, scan_translation_unit,
16768 scan_translation_unit_trad, cb_line_change, cb_ident,
16769 cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
16770 cb_def_pragma): Make reentrant.
16771
16772 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16773
16774 * real.c (ieee_64): Always define.
16775 (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
16776 (dec_h): Not used yet, hide it.
16777 (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
16778 macro controlling use.
16779 (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
16780
16781 Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
16782
16783 * i386.md (tablejump): Sign extend the operand.
16784 * i386.c (classify_argument): Fix missed case from previous patch.
16785
16786 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
16787
16788 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
16789 to c-copts.c.
16790 (warn_multichar): Die.
16791 (cb_register_builtins): Export.
16792 * c-common.h (warn_multichar, preprocess_file): Remove.
16793 (cb_register_builtins): New.
16794 * c-lang.c (c_init): Remove.
16795 (LANG_HOOKS_INIT): Use c_objc_common_init.
16796 * c-lex.c (init_c_lex): Don't canonicalize filename.
16797 * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
16798 (preprocess_file): Make static. Update for cpplib.
16799 (c_common_decode_option): Remove warn_multichar. Use in_fname.
16800 (c_common_post_options): Set some cpp options here.
16801 (c_common_init): Move from c-common.c.
16802 * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
16803 * cpplib.h (struct cpp_options): Remove in_fname.
16804 (cpp_preprocess_file): Update.
16805 * cppmain.c (cpp_preprocess_file): Update for new prototypes.
16806
16807 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16808
16809 * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
16810
16811 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16812
16813 * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
16814 backslash in comment preceeding macro definition.
16815 * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
16816 * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
16817 * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
16818
16819 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
16820
16821 * expr.c (store_expr): In condition for checking if value is
16822 generated in TARGET, move call to expr_size last.
16823
16824 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
16825
16826 * c-common.c (c_common_init): Call preprocess_file instead.
16827 (c_common_finish): Move to c-opts.c.
16828 * c-common.h (preprocess_file): new.
16829 * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
16830 check_deps_environment_vars, c_common_finish): New.
16831 (c_common_decode_option): Update for out_fname and dependencies.
16832 * cppinit.c (init_dependency_output, output_deps): Remove.
16833 (cpp_destroy): Update prototype.
16834 (cpp_add_dependency_target): New.
16835 (cpp_read_main_file): Don't overlay a buffer.
16836 (cpp_finish): Take a deps output stream and write deps to it.
16837 Return the error count.
16838 (cpp_post_options): Don't canonicalize out_fname, or do anything
16839 with dependencies.
16840 * cpplib.h (struct cpp_options): Remove out_fname and
16841 preprocess_only.
16842 (cpp_add_dependency_target): New.
16843 (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
16844 * cppmain.c (cpp_preprocess_file): Update prototype. Don't
16845 set preprocess_only. Don't handle the output stream directly.
16846
16847 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16848
16849 * dsp16xx.c (print_operand): Fix format specifier.
16850 * dsp16xx.md: Avoid automatic aggregate initialization.
16851 * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
16852 * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
16853 integer constant modifier.
16854 * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
16855 * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
16856 guards.
16857 * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
16858 * v850.c (v850_select_section): Mark parameter with
16859 ATTRIBUTE_UNUSED.
16860 * global.c (global_alloc): Const-ify.
16861 * ra-colorize.c (hardregset_to_string): Fix format specifier.
16862
16863 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16864
16865 * darwin-c.c (darwin_pragma_options): Const-ify.
16866 * darwin.c (machopic_non_lazy_ptr_name,
16867 machopic_validate_stub_or_non_lazy_ptr): Likewise.
16868 (machopic_indirect_data_reference): Wrap variables in macros
16869 controlling their use.
16870 (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
16871 (machopic_select_section): Use parentheses around && within ||.
16872 * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
16873
16874 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16875
16876 * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
16877 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
16878 ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
16879 ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
16880 mdr_try_remove_redundant_insns, track_w_reload,
16881 mdr_try_wreg_elim): Make function static to match prototype.
16882 * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
16883 parameter with ATTRIBUTE_UNUSED.
16884
16885 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16886
16887 * arc.c (arc_init): Don't use ISO C style function definitions.
16888 * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
16889 arm_get_strip_length, arm_strip_name_encoding): Likewise.
16890 * avr.h (progmem_section): Likewise.
16891 * h8300.c h8300_asm_insn_count): Likewise.
16892 * m32r.c (init_idents): Likewise.
16893 * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
16894 * sh.c (sh_cfun_interrupt_handler_p): Likewise.
16895 * xtensa.c (xtensa_build_va_list): Likewise.
16896
16897 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
16898
16899 * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
16900 * c-opts.c (parse_option): Rename find_opt.
16901 (set_std_c99): New function.
16902 (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
16903 (missing_arg): Remove OPT_std_bad. Handle -o.
16904 (c_common_decode_option): Handle input and output file names,
16905 -o and -remap. Clean up -std= handling.
16906 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
16907 (cpp_handle_option): Similarly. Don't handle filenames.
16908
16909 Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
16910
16911 * i386.c (classify_argument): Fix computing of field's offsets.
16912
16913 2002-08-11 Andreas Jaeger <aj@suse.de>
16914
16915 PR target/7531:
16916 * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
16917
16918 2002-08-10 Ziemowit Laski <zlaski@apple.com>
16919
16920 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
16921 reference to clk_objective_c with flag_objc.
16922 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
16923 Likewise.
16924 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
16925
16926 2002-08-10 Neil Booth <neil@daikokuya.co.uk>
16927
16928 * c-opts.c (set_std_cxx98, set_std_c89): New.
16929 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
16930 (c_common_decode_option): Handle new switches from cppinit.c.
16931 Add -std=gnu++98.
16932 * cppinit.c (set_lang): Rename cpp_set_lang. Export.
16933 (no_arg, no_num): Remove.
16934 (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
16935 switches apart from -lang-objc and lang-asm.
16936 (cpp_handle_option): Similarly.
16937 * cpplib.h (cpp_set_lang): New.
16938 * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
16939 -std=gnu++98.
16940 * objc/lang-specs.h: Remove -ansi.
16941
16942 Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
16943 Graham Stott
16944
16945 * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
16946 errors.
16947
16948 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16949
16950 * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
16951 emit_jump_insn): Fix uninitialized variable.
16952 * gcov.c (init_line_info): Likewise.
16953 * genautomata.c (transform_3): Add braces around ambiguous
16954 else.
16955 * ifcvt.c (cond_exec_process_insns): Mark parameter with
16956 ATTRIBUTE_UNUSED.
16957 * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
16958 * regrename.c (copyprop_hardreg_forward): Fix uninitialized
16959 variable.
16960
16961 * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
16962 warnings in output files.
16963
16964 2002-08-09 Ziemowit Laski <zlaski@apple.com>
16965
16966 * c-common.c (flag_objc): New.
16967 * c-common.h (c_language_kind): Get rid of clk_objective_c
16968 enum value.
16969 (flag_objc): New extern declaration.
16970 * c-decl.c (implicitly_declare): Call objc_check_decl
16971 instead of maybe_objc_check_decl.
16972 (finish_decl): Likewise.
16973 (grokfield): Likewise.
16974 (finish_struct): Likewise.
16975 * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
16976 (maybe_objc_comptypes): Rename to objc_comptypes.
16977 (maybe_building_objc_message_expr): Rename to
16978 objc_message_selector.
16979 * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
16980 replace with flag_objc as needed.
16981 * c-opts.c (c_common_init_options): Likewise.
16982 (c_common_decode_option): Likewise.
16983 * c-parse.in (init_reswords): Likewise.
16984 * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
16985 (maybe_objc_comptypes): Rename to objc_comptypes.
16986 (maybe_building_objc_message_expr): Rename to
16987 objc_message_selector.
16988 * c-typeck.c (comptypes): Call objc_comptypes instead of
16989 maybe_objc_comptypes, and/or objc_message_selector instead of
16990 maybe_building_objc_message_expr.
16991 (comp_target_types): Likewise.
16992 (convert_for_assignment): Likewise.
16993 (warn_for_assignment): Likewise.
16994 * cppinit.c (init_builtins): Set __OBJC__ manifest constant
16995 independently of those for other languages.
16996 * objc/objc-act.c (maybe_objc_comptypes): Delete.
16997 (maybe_objc_check_decl): Delete.
16998 (maybe_building_objc_message_expr): Rename to
16999 objc_message_selector.
17000 * objc/objc-lang.c (objc_init_options): Use clk_c instead of
17001 clk_objective_c; set flag_objc flag.
17002
17003 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
17004
17005 * ifcvt.c (find_if_case_2): Test correct basic block for size.
17006
17007 2002-08-09 Dale Johannesen <dalej@apple.com>
17008
17009 * config/rs6000/rs6000.md: Add sibcall patterns.
17010 * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
17011 * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
17012 Rewritten to handle sibcalls.
17013 * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
17014 * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
17015
17016 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
17017
17018 * profile.c (da_file_name): New static var.
17019 (init_branch_prob): Initialize it.
17020 (end_branch_prob): Remove da file.
17021
17022 * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
17023 * configure.in (coverage_flags): Default to nothing.
17024 * configure: Rebuilt.
17025
17026 2002-08-09 Neil Booth <neil@daikokuya.co.uk>
17027
17028 * Makefile.in (c-opts.o): Update
17029 * c-opts.c: Include intl.h.
17030 (print_help): Move from cppinit.c. Remove unused options.
17031 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
17032 (missing_arg): Complain for switches without an argument.
17033 (c_common_decode_option): Reject missing joined arguments.
17034 Handle new switches from cppinit.c.
17035 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
17036 (cpp_handle_option): Similarly.
17037 (print_help): Moved to c-opts.c.
17038 * cpplib.h (struct cpp_options): Remove help_only.
17039 * gcc.c (cpp_unique_options): Remove -$.
17040 * doc/cppopts.texi: Undocument -h.
17041
17042 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17043
17044 * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
17045 legitimate constant.
17046 (legitimate_pic_operand_p): Neither pic operand.
17047 (legitimate_address_p): But legitimate address.
17048 (get_thread_pointer): Generate MEM/u instead of CONST around
17049 UNSPEC_TP.
17050 (print_operand): Remove printing of UNSPEC_TP.
17051 (print_operand_address): And print it here.
17052
17053 2002-08-08 Devang Patel <dpatel@apple.com>
17054
17055 * objc/objc-act.c (build_selector_translation_table): Issue warning,
17056 when -Wselector is used,if method for which selector is being
17057 created does not exist.
17058
17059 2002-08-08 Stephen Clarke <stephen.clarke@superh.com>
17060
17061 * config/sh/sh.c (prepare_move_operands): Only call
17062 target_reg_operand if TARGET_SHMEDIA.
17063
17064 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17065
17066 * config/rs6000/rs6000.h, config/rs6000/aix.h,
17067 config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
17068 two patches.
17069 * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
17070
17071 2002-08-08 Lars Brinkhoff <lars@nocrew.org>
17072 Richard Henderson <rth@redhat.com>
17073
17074 * emit-rtl.c (gen_rtx_REG): After reload, only return
17075 frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
17076
17077 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17078
17079 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
17080 * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
17081 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
17082 macro.
17083
17084 2002-08-08 Adam Nemet <anemet@lnxw.com>
17085
17086 * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
17087 register.
17088 (thumb_expand_prologue): Likewise.
17089 (thumb_output_function_prologue): Likewise.
17090 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
17091 the additional push of the PIC register.
17092
17093 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
17094
17095 * configure.in (enable_coverage): New enable switch.
17096 * configure: Rebuilt.
17097 * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
17098 (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
17099 (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
17100 (mostlyclean): Remove coverage files.
17101 * doc/install.texi: Document enable_coverage.
17102
17103 * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
17104 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
17105 * f/Make-lang.in (f.mostlyclean): Remove coverage files.
17106 * java/Make-lang.in (java.mostlyclean): Remove coverage files.
17107 * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
17108 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
17109 files.
17110
17111 2002-08-08 Neil Booth <neil@daikokuya.co.uk>
17112
17113 * c-opts.c (cpp_opts): New.
17114 (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
17115 (c_common_decode_options): Handle cpplib switches.
17116 (c_common_init_options): Set cpp_opts.
17117 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
17118 (cpp_handle_option): Similarly.
17119
17120 2002-08-08 David Edelsohn <edelsohn@gnu.org>
17121
17122 * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
17123 (TARGET_ALTIVEC_ABI): Same.
17124 (TARGET_ALTIVEC_VRSAVE): Same.
17125
17126 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
17127 icode not CODE_FOR_nothing. Change switch to if.
17128
17129 2002-08-08 Alan Modra <amodra@bigpond.net.au>
17130
17131 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
17132
17133 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17134
17135 * stor-layout.c (place_union_field): For bitfields if
17136 PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
17137 TYPE_USER_ALIGN.
17138
17139 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
17140
17141 * pa.c (struct deferred_plabel): Constify name field.
17142
17143 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
17144
17145 * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
17146
17147 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
17148
17149 * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
17150 local_prefix are the same.
17151 * configure: Rebuilt.
17152
17153 2002-08-07 Jakub Jelinek <jakub@redhat.com>
17154 Richard Henderson <rth@redhat.com>
17155
17156 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
17157 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
17158 ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
17159 (place_field): Likewise.
17160 * config/i386/i386.c (x86_field_alignment): Don't check
17161 DECL_USER_ALIGN here.
17162 * config/rs6000/rs6000.c (rs6000_field_alignment): New.
17163 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
17164 prototype.
17165 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
17166 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
17167 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
17168 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
17169 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
17170 * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
17171
17172 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
17173
17174 * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
17175 * c-common.c: Don't include tree-inline.h.
17176 (c_common_init_options, c_common_post_options): Move to c-opts.c.
17177 * c-common.h (c_common_decode_option): New.
17178 * c-decl.c (c_decode_option): Remove.
17179 * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
17180 * c-opts.c: New file.
17181 * c-tree.h (c_decode_option): Remove.
17182 * doc/passes.texi: Update.
17183 * objc/objc-act.c (objc_decode_option): Remove.
17184 * objc/objc-act.h (objc_decode_option): Remove.
17185 * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
17186 c_common_decode_option.
17187
17188 2002-08-07 Chris Demetriou <cgd@broadcom.com>
17189
17190 * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
17191 dependency on TARGET_DOUBLE_FLOAT.
17192
17193 2002-08-07 Stephen Clarke <stephen.clarke@superh.com>
17194
17195 * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
17196 overwrite callee-save registers. Fix comment.
17197
17198 2002-08-06 Chris Demetriou <cgd@broadcom.com>
17199
17200 * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
17201 in target_flags based on ISA, if it was not set on the command
17202 line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
17203 support Branch Likely instructions.
17204 * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
17205 (TARGET_BRANCHLIKELY): Likewise.
17206 (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
17207 (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
17208 ISA_HAS_BRANCHLIKELY.
17209 (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
17210 * doc/invoke.texi: Document new MIPS -mbranch-likely and
17211 -mno-branch-likely options.
17212
17213 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17214
17215 * ip2k.c (ip2k_set_compare): Add missing iteration variable.
17216
17217 * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
17218 $(GCONFIG_H).
17219
17220 2002-08-06 Aldy Hernandez <aldyh@redhat.com>
17221
17222 * c-decl.c (duplicate_decls): Error out for incompatible TLS
17223 declarations.
17224
17225 * testsuite/gcc.dg/tls/diag-3.c: New.
17226
17227 2002-08-06 Dale Johannesen <dalej@apple.com>
17228
17229 * c-common.c (fname_decl): Use line number 0 for
17230 __func__, to avoid confusing debuggers.
17231
17232 2002-08-06 Nathan Sidwell <nathan@codesourcery.com>
17233
17234 * gcov.c: Tidy.
17235 (struct line_info, struct coverage): New structures.
17236 (gcov_file_name, gcov_file): Remove globals.
17237 (output_data): Take source file parameter. Fix memory leak. Break
17238 up into ...
17239 (init_line_info, output_line_info, make_gcov_file_name,
17240 accumulate_branch_counts): ... here.
17241 (calculate_branch_probs, function_summary): Adjust.
17242 (main): Adjust.
17243 (function_*): Remove global variables.
17244
17245 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
17246
17247 * dwarf2out.c: Remove unused macros.
17248
17249 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
17250
17251 * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
17252
17253 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
17254
17255 * cppinit.c (struct lang_flags): Rename trigraphs std.
17256 (set_lang): Update.
17257 * cpplib.h (struct cpp_options): New member std.
17258 * cppmacro.c (_cpp_builtin_macro_text): Use std.
17259 (collect_args): Flag whether to swallow a possible future
17260 comma pasted with varargs.
17261 (replace_args): Use this flag.
17262 * doc/cpp.texi: Update varargs extension documentation.
17263
17264 2002-08-06 Jakub Jelinek <jakub@redhat.com>
17265
17266 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
17267
17268 2002-08-06 Jakub Jelinek <jakub@redhat.com>
17269
17270 * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
17271 and MODE_CLASS_INT modes.
17272
17273 2002-08-06 Jakub Jelinek <jakub@redhat.com>
17274
17275 * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
17276 --{enable,disable}-threads is given to configure.
17277 (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
17278 x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
17279 powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
17280 s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
17281 Remove thread_file setting here.
17282
17283 2002-08-06 David Edelsohn <edelsohn@gnu.org>
17284
17285 * doc/install.texi (Binaries): Update Bull Freeware URL.
17286
17287 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17288
17289 * doc/gcc.texi (Top): Rename Index to Keyword Index.
17290
17291 2002-08-05 Nathan Sidwell <nathan@codesourcery.com>
17292
17293 * gcov.c (output_data): Round to % to nearest, tweak formatting.
17294
17295 2002-08-05 Jakub Jelinek <jakub@redhat.com>
17296
17297 * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
17298 of the operands into MINUS_EXPR if code is PLUS_EXPR.
17299
17300 2002-08-05 Douglas B Rupp <rupp@gnat.com>
17301
17302 * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
17303 * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
17304 drectve_section): Define.
17305 * config/i386/t-interix: Replace interix.o rule with winnt.o.
17306 * config/i386/interix.c: Remove.
17307
17308 2002-08-05 Geoffrey Keating <geoffk@redhat.com>
17309
17310 * attribs.c: Don't include obstack.h.
17311 * builtins.c: Likewise.
17312 * cfganal.c: Likewise.
17313 * cfgbuild.c: Likewise.
17314 * cfgcleanup.c: Likewise.
17315 * emit-rtl.c: Likewise.
17316 * loop.c: Likewise.
17317 * stmt.c: Likewise.
17318
17319 * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
17320
17321 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
17322
17323 * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
17324
17325 2002-08-04 Chris Demetriou <cgd@broadcom.com>
17326
17327 * doc/invoke.texi: Remove duplicated paragraph describing
17328 TARGET_SWITCHES.
17329
17330 2002-08-04 Geoffrey Keating <geoffk@redhat.com>
17331
17332 * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
17333 * collect2.h (permanent_obstack): Delete declaration.
17334 * collect2.c (permanent_obstack): Delete definition.
17335 (main): Don't initialize permanent_obstack. Use xstrdup instead.
17336 * expr.c: Don't include obstack.h.
17337 (permanent_obstack): Delete declaration.
17338 * function.c: Don't include obstack.h.
17339 (permanent_obstack): Delete declaration.
17340 * integrate.c: Don't include obstack.h.
17341 (function_maybepermanent_obstack): Delete declaration.
17342 * print-tree.c (debug_tree): Use x*alloc not permalloc.
17343 * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
17344 * tlink.c (pfgets): Use xstrdup not permanent_obstack.
17345 * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
17346 * tree.h: Rename init_obstacks to init_ttree. Remove declarations
17347 of permalloc, expralloc, perm_calloc.
17348 * tree.c (permanent_obstack): Delete definition.
17349 (init_ttree): Rename from init_obstacks.
17350 (permalloc): Delete.
17351 (perm_calloc): Delete.
17352 (dump_tree_statistics): Don't print information about
17353 permanent_obstack.
17354 * varasm.c (assemble_start_function): Use xstrdup instead of
17355 permalloc/strcpy.
17356 (assemble_variable): Likewise.
17357 * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
17358 permalloc.
17359 (unicosmk_add_extern): Likewise.
17360 * config/c4x/c4x.c (c4x_external_ref): Likewise.
17361 (c4x_global_label): Likewise.
17362 * config/frv/frv.c (frv_encode_section_info): Likewise.
17363 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
17364 (i386_pe_record_exported_symbol): Likewise.
17365 * config/mips/mips.c (mips_output_external): Likewise.
17366 (mips_output_external_libcall): Likewise.
17367 * config/pa/pa.c: (permanent_obstack): Delete declaration.
17368 (output_call): Use ggc_strdup instead of allocating on
17369 permanent_obstack.
17370 * config/romp/romp.c: Include ggc.h.
17371 (get_symref): Don't declare permanent_obstack, use ggc_strdup
17372 intead of permanent_obstack.
17373 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
17374 instead of permalloc.
17375 * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
17376 instead of permalloc
17377 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
17378 instead of permalloc.
17379 * config/vax/vax.c (vms_check_external): Use xmalloc instead of
17380 permalloc.
17381
17382 2002-08-04 Bernd Schmidt <bernds@redhat.com>
17383
17384 Contribute a port developed primarily by Michael Meissner,
17385 Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
17386 * config.gcc: Add frv-elf target.
17387 * config/frv/cmovd.c: New file.
17388 * config/frv/cmovh.c: New file.
17389 * config/frv/cmovw.c: New file.
17390 * config/frv/frv-abi.h: New file.
17391 * config/frv/frv-asm.h: New file.
17392 * config/frv/frv-modes.def: New file.
17393 * config/frv/frv-protos.h: New file.
17394 * config/frv/frv.c: New file.
17395 * config/frv/frv.h: New file.
17396 * config/frv/frv.md: New file.
17397 * config/frv/frvbegin.c: New file.
17398 * config/frv/frvend.c: New file.
17399 * config/frv/lib1funcs.asm: New file.
17400 * config/frv/media.h: New file.
17401 * config/frv/modi.c: New file.
17402 * config/frv/t-frv: New file.
17403 * config/frv/uitod.c: New file.
17404 * config/frv/uitof.c: New file.
17405 * config/frv/ulltod.c: New file.
17406 * config/frv/ulltof.c: New file.
17407 * config/frv/umodi.c: New file.
17408 * config/frv/xm-frv.h: New file.
17409
17410 * config/frv/media.h: Removed again.
17411
17412 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
17413
17414 * gcov.c (bb_file_time): New static variable.
17415 (object_directory): May also be object file.
17416 (preserve_paths): New static variable.
17417 (print_usage): Adjust.
17418 (options): Adjust.
17419 (process_args): Adjust.
17420 (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
17421 file. Find modification date on bb file.
17422 (read_profile): Don't rewind a NULL file.
17423 (format_hwint): New static function.
17424 (function_summary): Use format_hwint.
17425 (output_data): SOURCE_FILE_NAME is never relative to
17426 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
17427 mangling. Adjust output format to make it more machine readable.
17428 * doc/gcov.texi: Document & clarify semantics.
17429
17430 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
17431
17432 * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
17433
17434 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
17435
17436 * gcc.c (cc1_options): Pass output file as auxbase when
17437 appropriate.
17438 * profile.c (init_branch_prob): FILENAME has already had ending
17439 stripped.
17440 * final.c (end_final): Likewise.
17441 * toplev.c (aux_base_name): New global.
17442 (compile_file): Pass aux_base_name to init init_branch_prob and
17443 end_final.
17444 (independent_decode_option, case 'a'): New auxinfo options.
17445 (case 'd'): Protect against mising basename.
17446 (do_compile): Initialize aux_base_name.
17447 * toplev.h (aux_base_name): New global.
17448 * doc/invoke.texi: Adjust documentation.
17449
17450 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
17451
17452 * config/i386/i386.c (x86_field_alignment): Remove duplicate test
17453 of TARGET_ALIGN_DOUBLE.
17454
17455 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
17456
17457 * diagnostic.c (inform): New function.
17458 * diagnostic.h (inform): Declare.
17459
17460 2002-08-03 David Edelsohn <edelsohn@gnu.org>
17461
17462 * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
17463 (movhi_internal): Same.
17464 (movqi_internal): Same.
17465 (movdi_internal64): Same.
17466
17467 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
17468
17469 * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
17470 (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
17471 (COMMON_ASM_OP): Define.
17472 (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
17473 Use ALIGN parameter.
17474 (LOCAL_COMMON_ASM_OP): Define.
17475 (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
17476
17477 2002-08-03 Roger Sayle <roger@eyesopen.com>
17478
17479 * builtins.def: Define new builtin functions exp, expf, expl,
17480 log, logf and logl (and their __builtin_* variants).
17481 * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
17482 Define exp_optab and log_optab.
17483 * optabs.c (init_optans): Initialize exp_optab and log_optab.
17484 * genopinit.c (optabs): Implement exp_optab and log_optab
17485 using exp?f2 and log?f2 patterns.
17486 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
17487 and BUILT_IN_LOG* using exp_optab and log_optab respectively.
17488 (expand_builtin): Ignore the new builtins (and all cos and
17489 sin variants) when not optimizing. Expand new builtins via
17490 expand_builtin_mathfn when flag_unsafe_math_optimizations.
17491
17492 * doc/extend.texi: Document new exp and log builtins.
17493 * doc/md.texi: Document new exp?f2 and log?f2 patterns
17494 (and previously undocumented cos?f2 and sin?f2 patterns).
17495
17496 2002-08-03 Jason Merrill <jason@redhat.com>
17497
17498 * explow.c (int_expr_size): New fn.
17499 * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
17500 * expr.h: Declare it.
17501
17502 2002-08-02 Krister Walfridsson <cato@df.lth.se>
17503
17504 * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
17505 gengtype-* dependencies.
17506
17507 2002-08-02 Eric Christopher <echristo@redhat.com>
17508
17509 * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
17510 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
17511 #ifndef to #undef.
17512 (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
17513
17514 2002-08-02 David Edelsohn <edelsohn@gnu.org>
17515
17516 PR optimize/7067
17517 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
17518 small if optimizing for size.
17519
17520 2002-08-02 Daniel Jacobowitz <drow@mvista.com>
17521
17522 * configure.in (FORBUILD): Use $build_alias.
17523 * configure: Regenerated.
17524
17525 2002-08-02 Richard Sandiford <rsandifo@redhat.com>
17526
17527 * config.gcc: Don't include mips/abi64.h in $tm_file.
17528 * hard-reg-set.h (call_really_used_regs): Declare.
17529 * config/mips/abi64.h: Remove file.
17530 * config/mips/linux.h,
17531 * config/mips/iris6.h: Don't include it.
17532 * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
17533 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
17534 (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
17535 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
17536 FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
17537 Bring across definitions from abi64.h.
17538 (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
17539 (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
17540 (struct mips_args): Use it.
17541 * config/mips/mips.c (mips_conditional_register_usage): Define.
17542
17543 2002-08-02 Jason Merrill <jason@redhat.com>
17544
17545 * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
17546 * langhooks.c (lhd_expr_size): Define default.
17547 * langhooks.h (struct lang_hooks): Add expr_size.
17548 * explow.c (expr_size): Call it.
17549 * expr.c (store_expr): Don't copy an expression of size zero.
17550 (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
17551 to store.
17552 * Makefile.in (builtins.o): Depend on langhooks.h.
17553
17554 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17555
17556 * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
17557 * ra-debug.c: Include "tm_p.h".
17558 * ra-rewrite.c (is_partly_live_1): Change return type to bool.
17559
17560 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
17561
17562 * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
17563 when not honoring signalling NaNs.
17564 (simplify_ternary_operation): a == b has a definite value
17565 when not honoring NaNs.
17566
17567 2002-08-02 Jason Merrill <jason@redhat.com>
17568
17569 * gdbinit.in (pct): New macro.
17570
17571 2002-08-01 Stan Shebs <shebs@apple.com>
17572 Andreas Tobler <toa@pop.agri.ch>
17573
17574 * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
17575 plays nice with Darwin headers.
17576 (_BSD_RUNE_T_DEFINED_): Likewise.
17577
17578 2002-08-01 Zack Weinberg <zack@codesourcery.com>
17579
17580 * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
17581 * cppinit.c (cpp_post_options): Likewise.
17582
17583 * cppexp.c (cpp_classify_number): Suppress -Wtraditional
17584 warning about 'LL' suffix (but not 'ULL' etc) when
17585 -Wno-long-long is in effect.
17586
17587 * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
17588 Check for failing time()/localtime(), issue a warning, and
17589 make __TIME__ and __DATE__ expand to fallback strings.
17590
17591 * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
17592 and __TIME__ when the date and time cannot be determined.
17593
17594 2002-08-02 Alan Modra <amodra@bigpond.net.au>
17595
17596 * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
17597
17598 2002-08-01 Daniel Jacobowitz <drow@mvista.com>
17599
17600 * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
17601
17602 2002-08-01 Chris Demetriou <cgd@broadcom.com>
17603
17604 * config.gcc (mipsisa64sb1-*-elf*): New configuration.
17605 (mipsisa64sb1el-*-elf*): Likewise.
17606 * config/mips/mips.c (mips_cpu_info_table): Add sb1.
17607 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
17608 (TARGET_SB1, TUNE_SB1): New macros.
17609 * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
17610 -mtune flags.
17611
17612 2002-08-01 David Edelsohn <edelsohn@gnu.org>
17613
17614 * varasm.c (asm_emit_uninitialized): Return false if global BSS
17615 and ASM_EMIT_BSS not supported by target.
17616 (assemble_variable): Do not duplicate uninitialized logic.
17617 Fall through if asm_emit_uninitialized failed.
17618
17619 2002-08-01 Chris Demetriou <cgd@broadcom.com>
17620
17621 * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
17622
17623 2002-08-02 Alan Modra <amodra@bigpond.net.au>
17624
17625 * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
17626 (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
17627
17628 * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
17629 HOST_BITS_PER_WIDE_INT == 64.
17630
17631 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17632
17633 * df.c (df_insn_table_realloc): Change parameter to unsigned.
17634 * optabs.c (expand_binop): Make variable unsigned.
17635 * simplify-rtx.c (simplify_subreg): Likewise.
17636 * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
17637
17638 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17639
17640 * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
17641
17642 2002-08-01 Richard Henderson <rth@redhat.com>
17643
17644 * toplev.c (parse_options_and_default_flags): Don't set
17645 flag_reorder_blocks for -Os.
17646
17647 * config/avr/avr.c (avr_optimization_options): Remove.
17648 * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
17649 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
17650 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
17651
17652 2002-08-01 H.J. Lu <hjl@gnu.org>
17653 Richard Henderson <rth@redhat.com>
17654
17655 * output.h (DECL_READONLY_SECTION): Remove.
17656 (decl_readonly_section): Declare.
17657 * varasm.c (decl_readonly_section): New.
17658 (default_section_type_flags, default_select_section): Use it.
17659 * config/arm/pe.c (arm_pe_unique_section): Likewise.
17660 * config/i386/interix.c (i386_pe_unique_section): Likewise.
17661 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
17662 * config/mcore/mcore.c (mcore_unique_section): Likewise.
17663 * config/mips/mips.c (mips_unique_section): Likewise.
17664
17665 2002-08-01 Richard Henderson <rth@redhat.com>
17666
17667 * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
17668 refers to a subroutine parameter.
17669
17670 2002-08-01 Jakub Jelinek <jakub@redhat.com>
17671
17672 * varasm.c (assemble_visibility): Strip name encoding.
17673
17674 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
17675
17676 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
17677 (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
17678 when there is no frame pointer.
17679 (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
17680 registers properly.
17681 * config/ns32k/__unorddf2.c: New file.
17682 * config/ns32k/__unordsf2.c: New file.
17683 * config/ns32k/t-ns32k: New file.
17684 * config.gcc (ns32k-*-netbsd*): Use it.
17685
17686 2002-08-01 Aldy Hernandez <aldyh@redhat.com>
17687
17688 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
17689
17690 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
17691
17692 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
17693
17694 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
17695
17696 * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
17697
17698 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
17699
17700 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
17701
17702 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
17703
17704 * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
17705 n_sets): Removed.
17706 (expr_hash_table, set_hash_table): Type changed to ...
17707 (struct hash_table): New type.
17708 (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
17709 insert_expr_in_table, insert_set_in_table, compute_hash_table,
17710 dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
17711 compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
17712 (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
17713 (alloc_hash_table): New.
17714 (free_set_hash_table, free_expr_hash_table): Merged to ...
17715 (free_hash_table): New.
17716 (compute_set_hash_table, compute_expr_hash_table): Merged to ...
17717 (compute_hash_table_work): New.
17718 (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
17719 find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
17720 pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
17721 one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
17722 hoist_code, one_code_hoisting_pass,
17723 trim_ld_motion_mems): Altered due to changed type of hash tables.
17724
17725 2002-08-01 Zack Weinberg <zack@codesourcery.com>
17726
17727 * final.c (output_alternate_entry_point):
17728 If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
17729
17730 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17731
17732 * objc/objc-act.c (encode_complete_bitfield): Add prototype and
17733 avoid ISO C style function definition.
17734
17735 * expr.c (expand_assignment): Delete unused variable.
17736
17737 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
17738
17739 * c-common.c (cb_register_builtins): Set
17740 __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
17741 is given, and to 0 otherwise.
17742 * combine.c (simplify_if_then_else): HONOR_NANS
17743 implies FLOAT_MODE_P.
17744
17745 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
17746
17747 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
17748 (cpp_handle_option): Don't handle it.
17749 (print_help): Update.
17750 * doc/cppopts.texi: Update.
17751
17752 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
17753
17754 * c-common.c (cb_register_builtins): If C++, define
17755 __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
17756 * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
17757 cp:
17758 * lang-specs.h: Simplify in accordance with new code in
17759 c-common.c.
17760
17761 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
17762
17763 * c-common.c: Define all C/ObjC/C++ warning and flag variables.
17764 * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
17765 * c-decl.c: Move all warning and flag variables to c-common.c.
17766 * c-format.c: Move all warning variables to c-common.c.
17767 * c-tree.h: Move all warning and flag declarations to c-common.h.
17768 * objc/objc-act.c: Move all warning variables to c-common.c.
17769 (flag_warn_protocol): Rename warn_protocol.
17770
17771 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
17772
17773 * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
17774
17775 2002-07-31 Graham Stott <graham.stott@btinternet.com>
17776
17777 * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
17778 .section prefix.
17779
17780 2002-07-31 Stan Shebs <shebs@apple.com>
17781
17782 * config.gcc (i[34567]86-*-darwin*): New configuration.
17783 * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
17784 defining.
17785 (TARGET_ENCODE_SECTION_INFO): Ditto.
17786 (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
17787 * config/darwin.c (machopic_indirect_data_reference): Remove
17788 setting of RTX_UNCHANGING_P.
17789 (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
17790 not to be applied to sums.
17791 * config/i386/t-darwin: New file.
17792 * config/i386/darwin.h: New file.
17793 * config/i386/i386.h (TARGET_MACHO): Add default definition.
17794 * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
17795 * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
17796 label and not the GOT add.
17797 (constant_address_p): For Mach-O, seeing a CONST is enough.
17798 (legitimate_pic_address_disp_p): Add a Mach-O case.
17799 (legitimate_address_p): Also test machopic_operand_p if Mach-O.
17800 (legitimize_pic_address): Use generic Mach-O code to legitimize.
17801 (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
17802 if outputting a difference.
17803 (ix86_output_addr_diff_elt): Add Mach-O case.
17804 (ix86_expand_move): Similarly.
17805 (ix86_expand_call): Similarly.
17806 (current_machopic_label_num): New global.
17807 (machopic_output_stub): New function.
17808 (ix86_value_regno): New function.
17809 (ix86_function_value): Use it instead of VALUE_REGNO.
17810 (ix86_libcall_value): Ditto.
17811 * config/i386/unix.h (VALUE_REGNO): Remove.
17812
17813 2002-07-31 Graham Stott <grahas@btinternet.com>
17814
17815 * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
17816 hash for LABEL_REF's.
17817
17818 2002-07-31 Graham Stott <grahams@btinternet.com>
17819
17820 * config/rs6000/rs6000.c (spe_init_builtins,
17821 altivec_init_builtins, rs6000_common_init_builtins):
17822 Replace ANSI with K&R function def.
17823
17824 2002-07-31 David Edelsohn <edelsohn@gnu.org>
17825
17826 * rs6000.c (validate_condition_mode): Test flag_finite_math_only
17827 for CCFPmode.
17828
17829 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
17830
17831 * config/mips/crtn.asm: Don't use __mips16 to determine the
17832 return-address offset. Define RA to a suitable temporary
17833 register for the return address.
17834
17835 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
17836
17837 * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
17838 constraints to 'd'.
17839
17840 2002-07-30 Chris Demetriou <cgd@broadcom.com>
17841
17842 * config/mips/elf.h (STARTFILE_SPEC): Define differently if
17843 default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
17844 patch on 2002-07-29.)
17845 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
17846
17847 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17848
17849 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
17850 fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
17851 ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
17852 openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
17853 s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
17854 (ASM_GLOBALIZE_LABEL): Delete.
17855 (GLOBAL_ASM_OP): Define.
17856
17857 * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
17858
17859 * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
17860 * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
17861
17862 2002-07-30 Geoffrey Keating <geoffk@redhat.com>
17863
17864 * doc/extend.texi (Hints implementation): Document that GCC
17865 mostly ignores `register'.
17866
17867 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
17868
17869 * flags.h: Declare flag_finite_math_only.
17870 Use it in definition of HONOR_NANS and
17871 HONOR_INFINITIES.
17872 * c-common.c (cb_register_builtins): Emit
17873 __FINITE_MATH_ONLY__ when flag_finite_math_only
17874 is set.
17875 * combine.c (simplify_if_then_else): If
17876 flag_finite_math_only is set, a == b has a
17877 definite value.
17878 * toplev.c: Initialize flag_finite_math_only.
17879 (set_flags_fast_math): Set it on -ffast-math.
17880 (flag_fast_math_set_p): Test it.
17881 * doc/invoke.texi: Document -ffinite-math-only.
17882
17883 2002-07-30 Richard Henderson <rth@redhat.com>
17884
17885 * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
17886 (noce_process_if_block): Likewise.
17887
17888 2002-07-30 Bernd Schmidt <bernds@redhat.com>
17889
17890 * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
17891 Bail out early if false_expr is NULL and we'd crash due to this.
17892 * genemit.c (gen_expand): Recognize return insns even if the return
17893 appears in a parallel.
17894 * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
17895 * config/fp-bit.c: Likewise.
17896 * doc/tm.texi: Document it.
17897
17898 2002-07-30 David Edelsohn <edelsohn@gnu.org>
17899 Zack Weinberg <zack@codesourcery.com>
17900
17901 * rs6000.c (rs6000_expand_unop_builtin): Check icode not
17902 CODE_FOR_nothing. Change switch to if.
17903 (rs6000_expand_binop_builtin): Same.
17904 (rs6000_expand_builtin): Expand builtin if target support enabled.
17905 (rs6000_init_builtins): Init builtin if target support enabled.
17906 (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
17907
17908 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17909
17910 * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
17911
17912 2002-07-30 Richard Sandiford <rsandifo@redhat.com>
17913
17914 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
17915
17916 Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
17917
17918 * sh.md (cond_delay_slot): New attribute.
17919 (cbranch delay): Use it for anulled-true case.
17920 (stuff_delay_slot): New pattern.
17921 * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
17922 delay slot insn.
17923 (gen_far_branch): Emit stuff_delay_slot pattern.
17924
17925 Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
17926
17927 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
17928
17929 2002-07-30 Kazu Hirata <kazu@cs.umass.edu>
17930
17931 * fold-const.c: Fix comment typos.
17932 * gcse.c: Likewise.
17933 * reload1.c: Likewise.
17934
17935 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
17936
17937 * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
17938 for TARGET_SPE.
17939
17940 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
17941
17942 * c-pretty-print.h (pp_c_statement): Declare.
17943 * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
17944 (pp_c_statement): Define.
17945
17946 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17947
17948 * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
17949 darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
17950 ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
17951 mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
17952 rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
17953 v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
17954
17955 * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
17956 * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
17957
17958 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
17959
17960 * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
17961 (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
17962 COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
17963 (pp_c_expression): Update.
17964
17965 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17966
17967 * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
17968 concat in lieu of xmalloc/strcpy/memcpy/sprintf.
17969 * alpha/vms-ld.c (main): Likewise.
17970 * dsp16xx.c (double_reg_to_memory): Likewise.
17971 * mcore.c (mcore_expand_prolog): Likewise.
17972 * cppfiles.c (read_name_map): Likewise.
17973 * gensupport.c (process_rtx, identify_predicable_attribute,
17974 alter_test_for_insn): Likewise.
17975 * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
17976
17977 2002-07-29 Roger Sayle <roger@eyesopen.com>
17978
17979 * builtins.c (expand_builtin): Change the default behavior to
17980 only issue an error if the builtin function doesn't have a
17981 fallback library call. Remove several cases handled by the
17982 new default.
17983
17984 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
17985
17986 * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
17987 floating point format of the target is IEEE.
17988 * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
17989 format of the target is DEC.
17990
17991 2002-07-29 Richard Henderson <rth@redhat.com>
17992
17993 * unroll.c (verify_addresses): Remove.
17994 (find_splittable_givs): Never split DEST_ADDR givs.
17995
17996 2002-07-29 Geoffrey Keating <geoffk@redhat.com>
17997
17998 * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
17999 is exhaustive.
18000 (Files): Improve documentation on generated source files.
18001
18002 * doc/extend.texi (Translation implementation): Document what
18003 diagnostics look like.
18004 (Identifiers implementation): Document that there's normally no
18005 limit on identifier names.
18006 (Integers implementation): Document two's complement.
18007 (Hints implementation): Document that GCC honors 'inline', mostly.
18008 (Preprocessing directives implementation): Document that GCC
18009 requires the current time.
18010
18011 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
18012
18013 * c-pretty-print.h (struct c_pretty_print_info): Add new member.
18014 (pp_initializer): New macro.
18015 (pp_c_initializer): Declare.
18016 * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
18017 (pp_c_initializer): Define.
18018 (pp_c_initializer_list): New function.
18019 (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
18020 VECTOR_CST, CONSTRUCTOR.
18021 (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
18022 IMAGPART_EXPR.
18023 (pp_c_cast_expression): Handle FLOAT_EXPR.
18024 (pp_c_assignment_expression): Handle INIT_EXPR.
18025 (pp_c_expression): Update.
18026
18027 2002-07-30 Neil Booth <neil@daikokuya.co.uk>
18028
18029 * objc/objc-act.c (objc_init): Return immediately if filename
18030 is NULL.
18031
18032 2002-07-29 Eric Christopher <echristo@redhat.com>
18033
18034 * config/mips/elf.h: Remove ecoff.h and gofast includes.
18035 (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
18036 (SDB_DEBUGGING_INFO): Undefine.
18037 (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
18038 (PUT_SDB_SIZE): Remove.
18039 (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
18040 (STARTFILE_SPEC): Add isa3264 define.
18041 * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
18042 * config/mips/ecoff.h: Remove. and here...
18043 * config/mips/iris3.h: and here...
18044 * config/mips/sni-svr4.h: and here...
18045 * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
18046 Add assembler -mmdebug options for non-dwarf debugging.
18047 * config/mips/r3900.h: Remove debug info defines.
18048 * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
18049 * config/mips/isa3264.h: Ditto.
18050 * config/mips/t-isa3264: Fix up for file removal and gofast configure
18051 change.
18052 * config/mips/t-elf: Ditto.
18053 * config/mips/t-ecoff: Ditto.
18054 * config/mips/t-r3900: Ditto.
18055 * config/mips/t-iris5-6: Ditto.
18056 * config/mips/t-isa3264: Ditto.
18057 * config/mips/t-linux: Remove.
18058 * config/mips/t-netbsd: Remove.
18059 * config/mips/t-mips: New file.
18060 * config/mips/t-gofast: Ditto.
18061 * config/mips/netbsd.h: Remove unnecessary undefines.
18062 * config/mips/linux.h: Remove #include of mips.h.
18063 * config.gcc: Add mips.h include for elf targets. Remove tm_file
18064 for ecoff. Add gofast configure option for mips.
18065
18066 2002-07-29 Chris Demetriou <cgd@broadcom.com>
18067
18068 * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
18069 linker scripts use STARTUP directives consistently.
18070 * configure: Regenerate.
18071 * config.in: Regenerate.
18072 * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
18073 on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
18074 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18075 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
18076 HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
18077 will be the same.
18078
18079 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18080
18081 * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
18082
18083 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18084
18085 * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
18086
18087 2002-07-29 Aldy Hernandez <aldy@quesejoda.com>
18088
18089 * config/rs6000/rs6000.md: Move altivec patterns from here...
18090
18091 * config/rs6000/altivec.md: ...to here.
18092
18093 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18094
18095 * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
18096
18097 2002-07-29 Richard Henderson <rth@redhat.com>
18098
18099 * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
18100 set_mem_attributes and add BITPOS argument. Subtract it from
18101 OFFSET when same is adjusted.
18102 (set_mem_attributes): New wrapper function.
18103 * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
18104 remove offset adjustment hack.
18105 * expr.h (set_mem_attributes_minus_bitpos): Declare.
18106
18107 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
18108
18109 * Makefile.in (C_OBJS): Include c-pretty-print.o
18110 (c-pretty-print.o): Add depency rule.
18111 * pretty-print.h: Add more macros.
18112 * c-pretty-print.c: New file.
18113 * c-pretty-print.h: Likewise.
18114
18115 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18116
18117 * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
18118 constants to __ev64_s32__.
18119 (__internal_ev_mwhgsmian): Same.
18120 (__internal_ev_mwhgsmfan): Same.
18121 (__internal_ev_mwhgssfan): Same.
18122 (__internal_ev_mwhgumiaa): Same.
18123 (__internal_ev_mwhgsmiaa): Same.
18124 (__internal_ev_mwhgsmfaa): Same.
18125 (__internal_ev_mwhgssfaa): Same.
18126
18127 2002-07-29 David Edelsohn <edelsohn@gnu.org>
18128
18129 * varasm.c (assemble_variable): Narrow test for uninitialized
18130 without BSS target support.
18131
18132 2002-07-29 Nathan Sidwell <nathan@codesourcery.com>
18133
18134 * profile.c: Add file comment describing the overall algorithm and
18135 structures.
18136 (struct edge_info): Add comments.
18137 (struct bb_info): Add comments.
18138 * basic-block.h (EDGE_*): Add comments.
18139 * doc/gcov.texi (Gcov Data Files): Document bit flags.
18140
18141 2002-07-29 Bob Wilson <bob.wilson@acm.org>
18142
18143 * config/xtensa/elf.h, config/xtensa/linux.h
18144 (TARGET_OS_CPP_BUILTINS): Define.
18145 (CPP_PREDEFINES): Remove.
18146 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
18147 (CPP_SPEC): Remove.
18148
18149 2002-07-29 Zack Weinberg <zack@codesourcery.com>
18150
18151 * gensupport.c: Include hashtab.h.
18152 (insn_elision, condition_table, hash_c_test, cmp_c_test,
18153 maybe_eval_c_test): New routines and data structures to
18154 support insn elision.
18155 (init_md_reader): Read and initialize the condition_table.
18156 (read_md_rtx): Discard insn patterns whose C test is provably
18157 always false.
18158 * gensupport.h: Declare new functions and data structures.
18159
18160 * genconditions.c, dummy-conditions.c: New files.
18161 * Makefile.in: Build genconditions; run it to construct
18162 insn-conditions.c; build that and link it into most gen*
18163 programs.
18164 (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
18165 (GEN): Delete, unused.
18166 (STAGESTUFF): Update.
18167
18168 * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
18169 CODE_FOR_nothing for all elided patterns.
18170 (main): Tweaked to support this.
18171 * genflags.c (gen_proto): Emit a static inline generator
18172 function here for all elided patterns, which simply returns
18173 NULL_RTX.
18174 (gen_insn): Do not define HAVE_xxx for elided patterns.
18175 (main): Tweaked to support this. No need to forward-declare
18176 struct rtx_def.
18177 * genrecog.c: Do not bother emitting the C test if it's known
18178 to be true at compile time.
18179
18180 2002-07-29 Mike Stump <mrs@apple.com>
18181
18182 * config.gcc (target_gtfiles): Initialize, as otherwise cross
18183 compilers hosted on powerpc-apple-darwin6.0 won't even build.
18184
18185 2002-07-29 Richard Earnshaw <rearnsha@arm.com>
18186
18187 * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
18188 remove clobber of LR.
18189 (sibcall_insn, sibcall_value_insn): Update accordingly.
18190 (sibcall_epilogue): Remove debugging comment from assembler stream.
18191
18192 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
18193
18194 * pretty-print.h: Define more macros.
18195 * diagnostic.h (output_formatted_integer): Moved from...
18196 * diagnostic.c: ... here.
18197
18198 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18199
18200 * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
18201
18202 2002-07-28 Zack Weinberg <zack@codesourcery.com>
18203
18204 * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
18205 arguments. Always use ".-symbol" as expression argument.
18206 * doc/tm.texi: Update to match. Document requirement for
18207 ".size symbol, .-symbol" to be acceptable to assembler.
18208
18209 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
18210 config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
18211 config/i386/freebsd-aout.h, config/i386/sco5.h,
18212 config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
18213 config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
18214
18215 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18216
18217 * Makefile.in (gengtype-lex.c): Fix error in last change.
18218
18219 * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
18220 backslash.
18221
18222 * Makefile.in (vmsdbgout.o): Depend on function.h.
18223
18224 * vmsdbgout.c: Include function.h.
18225
18226 2002-07-28 Alan Modra <amodra@bigpond.net.au>
18227
18228 * prefix.c (update_path): Don't strip single `.' path components
18229 unless stripping a later `..' component. Exit loop as soon as
18230 a valid path is found.
18231
18232 2002-07-27 Roger Sayle <roger@eyesopen.com>
18233
18234 * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
18235 argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
18236 BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
18237 floating point unordered comparisons (e.g. __builtin_isgreater)
18238 as const, and leave the remaining GCC_BUILTINs unchanged.
18239
18240 * c-decl.c (builtin_function): No need to explicitly mark
18241 BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
18242
18243 2002-07-27 Roger Sayle <roger@eyesopen.com>
18244
18245 * Makefile.in: rtlanal.o now depends upon real.h.
18246
18247 * flags.h [flag_signaling_nans]: New flag.
18248 [HONOR_SNANS]: New macro.
18249
18250 * toplev.c [flag_signaling_nans]: Initialize to false.
18251 (f_options): Add processing for "-fsignaling-nans".
18252 (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
18253 (process_options): flag_signaling_nans implies flag_trapping_math.
18254
18255 * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
18256 when -fsignaling-nans. First step to implementing WG14's N965.
18257
18258 * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
18259 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
18260 [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
18261
18262 * simplify-rtx.c (simplify_relational_operation): Conditionalize
18263 transforming abs(x) < 0.0 into false on !HONOR_SNANS.
18264
18265 * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
18266 required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
18267 UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
18268 -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
18269 not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
18270
18271 * doc/invoke.texi: Document new -fsignaling-nans compiler option.
18272
18273 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18274
18275 * Makefile.in (gengtype-lex.c): Work around a bug in flex.
18276 * gengtype-lex.l (YY_USE_PROTOS): Undef.
18277 (YY_DECL): Define.
18278
18279 2002-07-27 Roger Sayle <roger@eyesopen.com>
18280
18281 * doc/invoke.texi: Document that both -fno-builtin-foo and
18282 -fno-builtin are supported by the g++ front-end.
18283
18284 2002-07-27 Stan Shebs <shebs@apple.com>
18285
18286 * configure.in: Rename config_gtfiles to target_gtfiles.
18287 * configure: Regenerate.
18288 * doc/gty.texi: Update reference.
18289 * config.gcc (powerpc-*-darwin*): Set target_gtfiles
18290 instead of appending to it.
18291
18292 2002-07-25 Aldy Hernandez <aldyh@redhat.com>
18293
18294 * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
18295 vectors are split into two registers.
18296 (function_arg): Same.
18297
18298 Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
18299
18300 * pa.md (extv): Check predicates before emitting extv_32.
18301
18302 2002-07-27 Alan Modra <amodra@bigpond.net.au>
18303
18304 * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
18305 (rs6000_traceback): New var.
18306 (rs6000_override_options): Set rs6000_traceback.
18307 (rs6000_output_function_epilogue): Implement traceback options.
18308 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
18309 (rs6000_traceback_name): Declare.
18310
18311 * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
18312 label reference when NO_PROFILE_COUNTERS.
18313
18314 2002-07-26 Jason Merrill <jason@redhat.com>
18315
18316 * function.c (assign_parms): Handle frontend-directed pass by
18317 invisible reference.
18318
18319 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
18320
18321 * doc/cppopts.texi: Update.
18322
18323 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
18324
18325 * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
18326 warnings on assertions.
18327
18328 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
18329
18330 * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
18331 RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
18332 RID_COMPL): Remove.
18333 * c-parse.in (rid_to_yy): Similarly.
18334
18335 2002-07-26 Jason Merrill <jason@redhat.com>
18336
18337 * c-dump.c: Resurrect.
18338 * tree-dump.c: Move C-specific stuff to c-dump.c.
18339 * c-common.h: Declare c_dump_tree.
18340 * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
18341 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
18342 (c-dump.o): New rule.
18343
18344 2002-07-26 Alan Modra <amodra@bigpond.net.au>
18345
18346 * config/rs6000/rs6000.md: Enable patterns using rlwinm for
18347 PowerPC64. Replace "T" and "S" constraints with "n" when the
18348 predicate will do. Formatting fixes.
18349 (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
18350 as for extzvsi_internal1.
18351
18352 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18353
18354 * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
18355 DERIV_END_LABEL_FMT): Remove.
18356 (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
18357
18358 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18359
18360 * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
18361 Remove.
18362
18363 2002-07-25 Stan Shebs <shebs@apple.com>
18364
18365 * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
18366 local var dwarfp.
18367 (output_compiler_stub): Remove unused locals.
18368 (output_call): Always initialize line number.
18369
18370 Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
18371
18372 * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
18373 * sh.md (truncdiqi2, movqi_media): Likewise.
18374
18375 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18376
18377 * gcse.c (obstack_chunk_alloc): Remove.
18378 (gcse_alloc): Fix to count allocated bytes.
18379 * collect2.c (SYMBOL__MAIN): Remove.
18380
18381 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18382
18383 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
18384 HAVE_TARGET_EXECUTABLE_SUFFIX.
18385
18386 Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
18387
18388 * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
18389 SIZE, EXPR and OFFSET.
18390
18391 2002-07-25 Richard Henderson <rth@redhat.com>
18392
18393 * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
18394 in ARRAY_REF of DECL_P case.
18395
18396 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
18397
18398 * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
18399 description. Document -mips32, -mips64, and the associated -march
18400 values. Describe the "mipsN" arguments to -march. Say that the
18401 -mipsN options are equivalent to -march. Reword the description
18402 of default type sizes.
18403 * toplev.h (target_flags_explicit): Declare.
18404 * toplev.c (target_flags_explicit): New var.
18405 (set_target_switch): Update target_flags_explicit.
18406 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
18407 * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
18408 * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
18409 * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
18410 * config/mips/mips.h (mips_cpu_info): New struct.
18411 (mips_cpu_string, mips_explicit_type_size_string): Remove.
18412 (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
18413 (MIPS_CPP_SET_PROCESSOR): New macro.
18414 (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
18415 Define _MIPS_ARCH and _MIPS_TUNE.
18416 (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
18417 (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
18418 MIPS_ISA_DEFAULT were already defined.
18419 (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
18420 (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
18421 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
18422 (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
18423 (ABI_GAS_ASM_SPEC): Remove.
18424 (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
18425 (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
18426 Invoke %(asm_abi_default_spec) if no ABI was specified.
18427 (CC1_SPEC): Remove ISA -> register-size rules.
18428 (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
18429 * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
18430 (mips_cpu_string, mips_explicit_type_size_string): Remove.
18431 (mips_cpu_info_table): New array.
18432 (mips_set_architecture, mips_set_tune): New fns.
18433 (override_options): Rework to make -mipsN equivalent to -march.
18434 Detect more erroneous cases, including those removed from CC1_SPEC.
18435 Don't change the ABI based on architecture, or vice versa.
18436 Unify logic with GAS.
18437 (mips_asm_file_start): Get architecture name from mips_arch_info.
18438 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
18439 (mips_parse_cpu): Take the name of the option as argument. Handle
18440 'from-abi'. Raise an error if the option is wrong.
18441 (mips_cpu_info_from_isa): New fn.
18442
18443 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
18444
18445 * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
18446 (tablejump_mips162): Likewise.
18447
18448 Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
18449
18450 * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
18451 int_mode_for_mode.
18452
18453 2002-07-25 Gabriel Dos Reis <gdr@nerim.net>
18454
18455 * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
18456 complaining.
18457 * c-common.h (c_sizeof): Adjust definition.
18458 (c_alignof): Likewise.
18459 * c-tree.h (c_sizeof_nowarn): Now macro.
18460 * c-typeck.c (c_sizeof_nowarn): Remove definition.
18461
18462 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18463
18464 * c-decl.c (c_decode_option): No need to handle switches
18465 cpplib handles.
18466
18467 2002-07-24 Zack Weinberg <zack@codesourcery.com>
18468
18469 * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
18470 ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
18471 * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
18472 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
18473
18474 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
18475 config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
18476 config/cris/aout.h, config/i386/freebsd-aout.h,
18477 config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
18478 config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
18479 config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
18480 config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
18481 config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
18482 config/xtensa/elf.h, config/xtensa/linux.h:
18483 Use the new macros.
18484 Where possible, remove redundant definitions of SIZE_ASM_OP,
18485 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
18486
18487 2002-07-24 Aldy Hernandez <aldyh@redhat.com>
18488
18489 * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
18490 TARGET_ISEL, and TARGET_FPRS.
18491
18492 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
18493 -mabi=spe, -mabi=no-spe, and -misel=.
18494
18495 * config/rs6000/rs6000-protos.h: Add output_isel.
18496 Move vrsave_operation prototype here.
18497
18498 * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
18499 (smaxsi3): Same.
18500 (uminsi3): Same.
18501 (umaxsi3): Same.
18502 (abssi2_nopower): Disallow when TARGET_ISEL.
18503 (*ne0): Same.
18504 (negsf2): Change to expand and rename old pattern to *negsf2.
18505 (abssf2): Change to expand and rename old pattern to *abssf2.
18506
18507 New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
18508 fixunssfsi2.
18509
18510 Change patterns that check for TARGET_HARD_FLOAT or
18511 TARGET_SOFT_FLOAT to also check TARGET_FPRS.
18512
18513 * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
18514 rs6000_isel, rs6000_fprs, rs6000_isel_string.
18515 (rs6000_override_options): Add 8540 case to
18516 processor_target_table.
18517 Set rs6000_isel for the 8540.
18518 Call rs6000_parse_isel_option.
18519 (enable_mask_for_builtins): New.
18520 (rs6000_parse_isel_option): New.
18521 (rs6000_parse_abi_options): Add spe and no-spe.
18522 (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
18523 (rs6000_legitimize_address): Check for TARGET_FPRS when checking
18524 for TARGET_HARD_FLOAT.
18525 Add case for SPE_VECTOR_MODE.
18526 (rs6000_legitimize_reload_address): Handle SPE vector modes.
18527 (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
18528 vector modes.
18529 Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
18530 (rs6000_emit_move): Check for TARGET_FPRS.
18531 Add cases for SPE vector modes.
18532 (function_arg_boundary): Return 64 for SPE vector modes.
18533 (function_arg_advance): Check for TARGET_FPRS and
18534 Handle SPE vectors.
18535 (function_arg): Same.
18536 (setup_incoming_varargs): Check for TARGET_FPRS.
18537 (rs6000_va_arg): Same.
18538 (struct builtin_description): Un-constify mask field. Move up in
18539 file.
18540 (bdesc_2arg): Un-constify and add SPE builtins.
18541 (bdesc_1arg): Same.
18542 (bdesc_spe_predicates): New.
18543 (bdesc_spe_evsel): New.
18544 (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
18545 (rs6000_expand_binop_builtin): Same.
18546 (bdesc_2arg_spe): New.
18547 (spe_expand_builtin): New.
18548 (spe_expand_predicate_builtin): New.
18549 (spe_expand_evsel_builtin): New.
18550 (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
18551 (rs6000_init_builtins): Initialize SPE builtins. Call
18552 rs6000_common_init_builtins.
18553 (altivec_init_builtins): Move all non-altivec builtin code to...
18554 (rs6000_common_init_builtins): ...here. New function.
18555 (branch_positive_comparison_operator): Allow NE code for SPE.
18556 (ccr_bit): Return correct ccr bit for SPE fp.
18557 (print_operand): Emit crnor in 'D' case for SPE.
18558 New case 't'.
18559 Add SPE code for 'y' case.
18560 (rs6000_generate_compare): Generate rtl for SPE fp.
18561 (output_cbranch): Handle SPE hard floats.
18562 (rs6000_emit_cmove): Handle isel.
18563 (rs6000_emit_int_cmove): New.
18564 (output_isel): New.
18565 (rs6000_stack_info): Adjust stack frame so GPRs are saved in
18566 64-bits for SPE.
18567 (debug_stack_info): Add SPE info.
18568 (gen_frame_mem_offset): New.
18569 (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
18570 Change mode of frame pointer, when saving it, to Pmode.
18571 (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
18572 Misc cleanups and use gen_frame_mem_offset when appropriate.
18573
18574 * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
18575 (TARGET_SPE_ABI): New.
18576 (TARGET_SPE): New.
18577 (TARGET_ISEL): New.
18578 (TARGET_FPRS): New.
18579 (FIXED_SCRATCH): New.
18580 (RTX_COSTS): Add PROCESSOR_PPC8540.
18581 (ASM_CPU_SPEC): Add case for 8540.
18582 (TARGET_OPTIONS): Add isel= case.
18583 (rs6000_spe_abi): New.
18584 (rs6000_isel): New.
18585 (rs6000_fprs): New.
18586 (rs6000_isel_string): New.
18587 (UNITS_PER_SPE_WORD): New.
18588 (LOCAL_ALIGNMENT): Adjust for SPE.
18589 (HARD_REGNO_MODE_OK): Same.
18590 (DATA_ALIGNMENT): Same.
18591 (MEMBER_TYPE_FORCES_BLK): New.
18592 (FIRST_PSEUDO_REGISTER): Set to 113.
18593 (FIXED_REGISTERS): Add SPE registers.
18594 (reg_class): Same.
18595 (REG_CLASS_NAMES): Same.
18596 (REG_CLASS_CONTENTS): Same.
18597 (REGNO_REG_CLASS): Same.
18598 (REGISTER_NAMES): Same.
18599 (DEBUG_REGISTER_NAMES): Same.
18600 (ADDITIONAL_REGISTER_NAMES): Same.
18601 (CALL_USED_REGISTERS): Same.
18602 (CALL_REALLY_USED_REGISTERS): Same.
18603 (SPE_ACC_REGNO): New.
18604 (SPEFSCR_REGNO): New.
18605 (SPE_SIMD_REGNO_P): New.
18606 (HARD_REGNO_NREGS): Adjust for SPE.
18607 (VECTOR_MODE_SUPPORTED_P): Same.
18608 (REGNO_REG_CLASS): Same.
18609 (FUNCTION_VALUE): Same.
18610 (LIBCALL_VALUE): Same.
18611 (LEGITIMATE_OFFSET_ADDRESS_P): Same.
18612 (SPE_VECTOR_MODE): New.
18613 (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
18614 the GPRs. Set FIXED_SCRATCH fixed in SPE case.
18615 (rs6000_stack): Add spe_gp_size, spe_padding_size,
18616 spe_gp_save_offset.
18617 (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
18618 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
18619 (SPE_CONST_OFFSET_OK): New.
18620 (rs6000_builtins): Add SPE builtins.
18621
18622 * testsuite/gcc.dg/ppc-spe.c: New.
18623
18624 * config/rs6000/eabispe.h: New.
18625
18626 * config/rs6000/spe.h: New.
18627
18628 * config/rs600/spe.md: New.
18629
18630 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
18631 __SIMD__ for TARGET_SPE.
18632
18633 * config.gcc: Add powerpc-*-eabispe* case.
18634 Add spe.h to user headers for powerpc.
18635
18636 2002-07-24 Chris Demetriou <cgd@broadcom.com>
18637
18638 * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
18639 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18640 * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
18641
18642 2002-07-24 Richard Henderson <rth@redhat.com>
18643
18644 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
18645 form when not optimizing.
18646
18647 2002-07-24 David Mosberger <davidm@hpl.hp.com>
18648
18649 * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
18650 thread_pointer_rtx as unchanging.
18651
18652 2002-07-24 Michael Matz <matz@suse.de>
18653
18654 * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
18655 (free_reg): Use it.
18656
18657 2002-07-24 Richard Earnshaw <rearnsha@arm.com>
18658
18659 * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
18660 pattern.
18661 (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
18662 (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
18663
18664 2002-07-24 Chris Demetriou <cgd@broadcom.com>
18665
18666 * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
18667 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18668 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
18669
18670 Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
18671
18672 * toplev.c (rest_of_compilation): Dump loops before clobbering
18673 the structure.
18674
18675 Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
18676
18677 * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
18678
18679 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
18680
18681 PR optimization/7291
18682 * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
18683 problem on x86_64.
18684
18685 2002-07-24 Gabriel Dos Reis <gdr@nerim.net>
18686
18687 * pretty-print.h: Add macros from cp/error.c
18688
18689 2002-07-24 Alan Modra <amodra@bigpond.net.au>
18690
18691 * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
18692 (mask64_2_operand): Declare.
18693 (build_mask64_2_operands): Declare.
18694 (and64_2_operand): Declare.
18695 (extract_MB): Declare.
18696 (extract_ME): Declare.
18697 * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
18698 CONST_DOUBLE code.
18699 (mask_operand_wrap): New insn predicate.
18700 (mask64_2_operand): Likewise.
18701 (and64_2_operand): Likewise.
18702 (build_mask64_2_operands): New function.
18703 (extract_MB): New function.
18704 (extract_ME): New function.
18705 (print_operand <case m,M>): Use extract_MB and extract_ME.
18706 (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
18707 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
18708 (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
18709 mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
18710 * config/rs6000/rs6000.md (andsi3_internal3): New
18711 (andsi3_internal3+1): Enable split for powerpc64.
18712 (andsi3_internal3+2): New split.
18713 (andsi3_internal4): Renamed old andsi3_internal3.
18714 (andsi3_internal5): New.
18715 (andsi3_internal5+1): Enable split for powerpc64.
18716 (andsi3_internal5+2): New split.
18717 (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
18718 (anddi3): Handle 't' constraint.
18719 (anddi3+1): New split.
18720 (anddi3_internal2): Handle 't' constraint.
18721 (anddi3_internal2+1): New split.
18722 (anddi3_internal3): Handle 't' constraint.
18723 (anddi3_internal3+1): New split.
18724
18725 2002-07-24 Alan Modra <amodra@bigpond.net.au>
18726
18727 * config/rs6000/rs6000.md: Remove scratch reg on insns using
18728 addze and similar (plus (comparison r1 r2) r3) insns. Add
18729 missing scratch reg in one case. Formatting fixes.
18730
18731 2002-07-24 Neil Booth <neil@daikokuya.co.uk>
18732
18733 * cppexp.c (parse_defined): Mark macro used.
18734 * cpphash.h (struct cpp_macro): New member "used".
18735 (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
18736 (struct cpp_reader): New member.
18737 * cppinit.c (cpp_finish_options): Set first_unused_line.
18738 (cpp_finish): Warn of unused macros if requested.
18739 (OPT_TABLE): New switches.
18740 (cpp_handle_option): Handle them.
18741 * cpplib.c (do_undef): Warn if macro unused.
18742 (do_ifdef, do_ifndef): Mark macro used.
18743 * cpplib.h (struct cpp_options): New member.
18744 * cppmacro.c (_cpp_warn_if_unused_macro): New.
18745 (enter_macro_context): Mark macro used.
18746 (_cpp_create_definition): Mark macro unused; warn if unused
18747 when redefined.
18748 * cpptrad.c (scan_out_logcial_line, push_replacement_text):
18749 Mark macros used.
18750 * doc/cppopts.texi: Update.
18751
18752 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
18753
18754 * dwarf2out.c (SECTION_ASM_OP,
18755 ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
18756 * system.h (SECTION_ASM_OP): Poison.
18757 * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
18758 * config/alpha/alpha-interix.h, config/mips/linux.h
18759 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
18760 * config/mmix/mmix-protos.h, config/mmix/mmix.c
18761 (mmix_asm_output_define_label_difference_symbol): Remove.
18762 * config/mmix/mmix.h
18763 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
18764 * doc/tm.texi: Remove documentation.
18765
18766 Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
18767
18768 * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
18769 (constrain_operands): Likewise.
18770 * regclass.c (record_reg_classes): Likewise.
18771 * reload.c (find_reloads): Likewise.
18772 * doc/md.texi: Likewise.
18773
18774 * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
18775 * simplify-rtx.c (simplify_subreg): When converting to a non-int
18776 mode, try to convert to an integer mode of matching size first.
18777
18778 * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
18779 from individual subregs, check that each subreg has been generated
18780 sucessfully.
18781
18782 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
18783
18784 * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
18785 * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
18786 FOR_EACH_BB_IN_SBITMAP): Remove.
18787 * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
18788 * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
18789 LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
18790 * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
18791 PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
18792 * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
18793
18794 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
18795
18796 * pretty-print.h: New file.
18797
18798 2002-07-23 Paul Koning <pkoning@equallogic.com>
18799
18800 * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
18801 (LARGEST_EXPONENT_IS_NORMAL): Ditto.
18802 (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
18803 (TARGET_G_FLOAT): Default to 0 if not defined.
18804 (ieeetoe): New, common routine to convert target format floats
18805 to internal form.
18806 (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
18807 vs. others.
18808 (e113toe): Change to use ieeetoe.
18809
18810 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
18811
18812 * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
18813 IBM.
18814 (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
18815 (e64toe): Remove special cases for DEC and IBM. Remove support for
18816 ARM_EXTENDED_IEEE_FORMAT.
18817 (e24toe): Remove special cases for DEC.
18818 (significand_size): Simplify. Indent.
18819 (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
18820 (etoieee, toieee): New.
18821 (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
18822 etoieee and toieee for IEEE arithmetic.
18823
18824 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
18825
18826 * doc/extend.texi: Say ISO C90, not ISO C89.
18827 * doc/invoke.texi: Likewise.
18828 * doc/standards.texi: Likewise.
18829
18830 2002-07-23 Steve Ellcey <sje@cup.hp.com>
18831
18832 * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
18833 Fix permutation of conversion and plus/mult.
18834 * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
18835 ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
18836 (expand_builtin_strncpy) Ditto.
18837 (expand_builtin_memset) Ditto.
18838
18839 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
18840
18841 Fix PR/7363:
18842 * c-common.c (c_sizeof_or_alignof_type): New function.
18843 (c_alignof): Remove definition.
18844 * c-common.h (c_sizeof, c_alignof): Define as macros.
18845 (c_sizeof_or_alignof_type): Declare.
18846 (my_friendly_assert): Moved from cp/cp-tree.h
18847 * c-typeck.c (c_sizeof): Remove definition.
18848
18849 2002-07-23 Jan Hubicka <jh@suse.cz>
18850
18851 * gcse.c (try_replace_reg): Use num_changes_pending.
18852 * recog.c (num_changes_pending): New function.
18853 (validate_replace_src): Use validate_repalce_src_group.
18854 (validate_replace_src_group): New.
18855 * recog.h (validate_repalce_src_group): New.
18856 (num_changes_pending): Likewise.
18857
18858 Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
18859
18860 * calls.c (emit_library_call_value_1): If
18861 FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
18862 libcall, const call nor pure call.
18863
18864 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
18865
18866 * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
18867
18868 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
18869
18870 * vmsdbgout.c (SECTION_ASM_OP): Remove.
18871
18872 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
18873
18874 * config/i386/i386.c (AT_BP): Remove.
18875
18876 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
18877
18878 * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
18879 Default definition.
18880 * gcse.c: Don't define obstack_chunk_free.
18881 * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
18882 flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
18883 integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
18884 reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
18885 Don't define obstack macros.
18886
18887 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
18888
18889 PR target/6744
18890 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
18891 ASM_OPERANDS instructions.
18892
18893 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
18894
18895 PR target/7361
18896 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
18897 constant addresses only on 68HC12.
18898
18899 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
18900
18901 * cppfiles.c (stack_include_file): Correct test of whether
18902 a dependency should be output.
18903
18904 2002-07-22 David Edelsohn <edelsohn@gnu.org>
18905
18906 * collect2.c (is_ctor_dtor): Add other possible JOINER values.
18907
18908 2002-07-22 Richard Earnshaw <rearnsha@arm.com>
18909
18910 * arm.md (movqi): If optimizing and we can create pseudos, use
18911 a ZERO_EXTEND to load from memory, then copy the result into the
18912 target.
18913 (movhi): Likewise, but only for ARMv4.
18914
18915 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
18916
18917 * ssa-ccp.c (PHI_PARMS): Remove.
18918
18919 2002-07-22 Richard Sandiford <rsandifo@redhat.com>
18920
18921 * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
18922 on big-endian targets.
18923
18924 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18925
18926 * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
18927 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
18928 HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
18929 New formatting macros.
18930
18931 * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
18932
18933 Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
18934
18935 * rtlanal.c (subreg_regno_offset): Return correct offset for
18936 big endian paradoxical subregs.
18937
18938 * optabs.c (expand_vector_unop): Don't expand using sub_optab
18939 if we got the wrong mode.
18940
18941 * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
18942 * genrecog.c (write_switch, write_cond): Use it.
18943 * genemit.c (gen_exp): Likewise.
18944
18945 2002-07-22 Jakub Jelinek <jakub@redhat.com>
18946
18947 * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
18948
18949 2002-07-22 Jakub Jelinek <jakub@redhat.com>
18950
18951 * c-decl.c (build_compound_literal): Defer compound literal decls
18952 until until file end to emit them only if they are actually used.
18953
18954 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18955
18956 * ra-build.c (check_conflict_numbers): Hide unused function.
18957 (livethrough_conflicts_bb): Avoid automatic aggregate
18958 initialization.
18959 (parts_to_webs_1): Avoid `U' integer constant modifier.
18960 (conflicts_between_webs): Wrap a variable in the macro controlling
18961 its usage.
18962 * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
18963 (dump_igraph, dump_graph_cost): Avoid string concatenation
18964 (dump_static_insn_cost): Avoid automatic aggregate
18965 initialization.
18966 * ra-rewrite.c (insert_stores): Avoid automatic aggregate
18967 initialization.
18968 (dump_cost): Avoid string concatenation
18969
18970 2002-07-21 Richard Henderson <rth@redhat.com>
18971
18972 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
18973 GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
18974
18975 2002-07-21 Richard Henderson <rth@redhat.com>
18976
18977 * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
18978 that are not unrolled completely.
18979
18980 2002-07-21 Richard Henderson <rth@redhat.com>
18981
18982 * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
18983 * loop.c (strength_reduce): Update.
18984 * toplev.c (rest_of_compilation): Do unrolling in the first
18985 loop pass, not the second.
18986
18987 2002-07-21 Richard Henderson <rth@redhat.com>
18988
18989 * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
18990 when flag_argument_noalias == 2.
18991 * alias.c (nonoverlapping_memrefs_p): Handle that.
18992 * print-rtl.c (print_mem_expr): Likewise.
18993
18994 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
18995
18996 * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
18997 instead of __negdi2 directly.
18998
18999 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19000
19001 * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
19002 * function.c (SYMBOL__MAIN): Remove definition.
19003 * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
19004 * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
19005 * profile.c (GCOV_INDEX_TO_BB): Remove.
19006 * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
19007 * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
19008
19009 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19010
19011 * c-lex.c (GET_ENVIRONMENT): Remove.
19012 * collect2.c (GET_ENV_PATH_LIST): Remove.
19013 (prefix_from_env): Use GET_ENVIRONMENT.
19014 * cppinit.c (GET_ENV_PATH_LIST): Remove.
19015 (init_standard_includes): Use GET_ENVIRONMENT.
19016 * defaults.h (GET_ENVIRONMENT): Define here if not already.
19017 * gcc.c (GET_ENV_PATH_LIST): Remove.
19018 (make_relative_prefix, process_command): Update.
19019 * protoize.c (GET_ENV_PATH_LIST): Remove.
19020 (do_processing): Update.
19021
19022 2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
19023
19024 * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
19025 (grokdeclarator): Likewise.
19026 * c-format.c (C_STD_NAME): Likewise.
19027 * c-lex.c (interpret_integer): Likewise.
19028 * c-typeck.c (build_array_ref): Likewise.
19029 * cpplex.c (_cpp_lex_direct): Likewise.
19030 * toplev.c (documented_lang_options): Likewise.
19031
19032 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19033
19034 * c-format.c (T99_I, T99_UI): Remove.
19035
19036 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19037
19038 * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
19039
19040 Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
19041
19042 * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
19043 do_local_cprop.
19044
19045 2002-07-21 Andreas Jaeger <aj@suse.de>
19046
19047 * reload1.c (fixup_abnormal_edges): Remove unused variable.
19048
19049 2002-07-21 Bernd Schmidt <bernds@redhat.com>
19050
19051 Improvements for the ifcvt pass from Michael Meissner, with patches
19052 by Richard Sandiford <rsandifo@redhat.com>
19053 * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
19054 * ifcvt.c (cond_exec_changed_p): New static variable.
19055 (last_active_insn): New function, renamed from last_active_insn_p
19056 and changed to return the last active insn in a basic block. All
19057 callers updated.
19058 (block_fallthru): New function.
19059 (cond_exec_process_insns): New argument CE_INFO. Pass it to
19060 IFCVT_MODIFY_INSN. All callers updated.
19061 Return false if START or END are NULL.
19062 Handle case where we're processing an insn that is already
19063 conditional.
19064
19065 (noce_process_if_block): CE_INFO argument rather than
19066 multiple args containing the involved basic blocks. All callers
19067 changed.
19068 (process_if_block, merge_if_block, find_if_block,
19069 cond_exec_process_if_block): Likewise.
19070
19071 (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
19072 changed.
19073 Use new function last_active_insn to simplify some code.
19074 New code to handle multiple tests.
19075 Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
19076 cond_exec_changed_p to TRUE.
19077
19078 (process_if_block): New code to handle multiple tests.
19079 (merge_if_block): Likewise.
19080 (find_if_header): New arg PASS. Changed to return the currently
19081 processed basic block or NULL instead of true/false. All callers
19082 changed.
19083 Call IFCVT_INIT_EXTRA_FIELDS.
19084 (block_jumps_and_fallthru_p): New function.
19085 (find_if_block): Discover opportunities to convert multiple tests.
19086 Add additional debugging output.
19087 Update the ce_info structure before returning.
19088
19089 (if_convert): Run multiple passes of if-conversion.
19090 * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
19091 IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
19092 IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
19093 these macros.
19094
19095 Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
19096
19097 * gcse.c: Include cselib.h
19098 (constptop_register): Break out from ...
19099 (cprop_insn): ... here; kill basic_block argument.
19100 (do_local_cprop, local_cprop_pass): New functions.
19101 (one_cprop_pass): Call local_cprop_pass.
19102
19103 2002-07-20 Roger Sayle <roger@eyesopen.com>
19104
19105 * simplify-rtx.c (simplify_relational_operation): Optimize
19106 abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
19107
19108 2002-07-20 Michae Matz <matz@suse.de>
19109
19110 * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
19111
19112 2002-07-20 Neil Booth <neil@daikokuya.co.uk>
19113
19114 * cppexp.c (struct op): Add token pointer.
19115 (check_promotion, CHECK_PROMOTION): New.
19116 (optab): Update.
19117 (_cpp_parse_expr): Update, use token pointer of struct op.
19118 (reduce): Warn about change of sign owing to promotion.
19119 * cppinit.c (cpp_handle_option): New warning if -Wall.
19120 * cpplib.h (struct cpp_options): New member.
19121
19122 2002-07-19 David Edelsohn <edelsohn@gnu.org>
19123
19124 * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
19125 fpu list. Separate Power4 compare and delayed_compare. Correct
19126 Power4 fpcompare.
19127 (fix_truncdfsi2_internal): Restore FPR preference.
19128 * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
19129 mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
19130
19131 2002-07-19 Momchil Velikov <velco@fadata.bg>
19132
19133 * reload1.c (reload_as_needed): Duplicate oldpat.
19134
19135 2002-07-20 Alan Modra <amodra@bigpond.net.au>
19136
19137 PR optimization/7130
19138 * loop.h (struct loop_info): Add "preconditioned".
19139 * unroll.c (unroll_loop): Set it.
19140 * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
19141
19142 2002-07-19 Zack Weinberg <zack@codesourcery.com>
19143
19144 * rtl.def (CODE_LABEL): Remove slot 8.
19145 * rtl.h (struct rtx_def): Document new uses of jump and call fields.
19146 (LABEL_ALTERNATE_NAME): Delete.
19147 (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
19148 * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
19149
19150 * final.c (output_alternate_entry_point): New.
19151 (final_scan_insn): Use it instead of
19152 ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
19153 of a case label being an alternate entry point.
19154
19155 * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
19156 * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
19157 Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
19158 (field deleted).
19159 * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
19160
19161 * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
19162 LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
19163 * doc/tm.texi: Delete documentation of
19164 ASM_OUTPUT_ALTERNATE_LABEL_NAME.
19165
19166 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
19167
19168 * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
19169 (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
19170 (LINK_SPEC): Define.
19171 (STARTFILE_SPEC): Define.
19172 (ENDFILE_SPEC): Define.
19173
19174 * config/mips/iris6-o32.h (LINK_SPEC): Move ...
19175 * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
19176
19177 * config/mips/iris6-o32-gas.h: New file.
19178 * config.gcc (mips-sgi-irix6*o32): Use it.
19179
19180 * config/mips/t-iris5-gas: New file.
19181 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
19182
19183 2002-07-19 Neil Booth <neil@daikokuya.co.uk>
19184
19185 * cppexp.c (ALWAYS_EVAL): Remove.
19186 (optab, reduce): Always evaluate.
19187 (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
19188 only if not skipping evaluation.
19189
19190 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
19191
19192 * config/avr/avr.c (debug_hard_reg_set): Remove.
19193
19194 2002-07-19 Chris Demetriou <cgd@broadcom.com>
19195
19196 * gcc.c (cpp_options): Include "%1" (cc1_spec).
19197
19198 2002-07-19 Richard Henderson <rth@redhat.com>
19199
19200 * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
19201
19202 2002-07-19 Alan Modra <amodra@bigpond.net.au>
19203
19204 * prefix.c (update_path): Don't zap single `.' path components
19205 unless followed by another `.' and fix typo last patch.
19206
19207 2002-07-18 Neil Booth <neil@daikokuya.co.uk>
19208
19209 * cppexp.c (cpp_num_mul): Remove unused parameter.
19210 (UNARY, BINARY, OTHER, binary_handler): Remove.
19211 (ALWAYS_EVAL): New.
19212 (optab): Update.
19213 (reduce): Refactor to a large switch, don't use a function
19214 pointer.
19215
19216 2002-07-18 Bo Thorsen <bo@berlioz.suse.de>
19217
19218 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
19219
19220 Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
19221
19222 * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
19223 (sh_expand_binop_v2sf): Likewise.
19224 * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
19225 (int_gpr_dest, trunc_hi_operand): New functions.
19226 * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
19227 trunc_hi_operand.
19228 (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
19229 * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
19230 (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
19231 (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
19232 (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
19233 (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
19234 (extendhisi2_media+1, extendqisi2_media+1): Likewise.
19235 (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
19236 (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
19237 (movsf_ie+1): Likewise.
19238 (loaddi_trunc): Use int_gpr_dest predicate.
19239 (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
19240 (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
19241 (casesi_worker_0+[12], casesi_worker): Likewise.
19242 (shcompact_preserve_incoming_args): Likewise.
19243 (mov_nop): Use any_register_operand predicate.
19244 (mperm_w0): Use trunc_hi_operand predicate.
19245
19246 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
19247
19248 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
19249 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
19250 numbering.
19251
19252 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
19253
19254 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
19255
19256 2002-07-18 Richard Henderson <rth@redhat.com>
19257
19258 PR optimization/7147
19259 * ifcvt.c (noce_get_condition): Make certain that the condition
19260 is valid at JUMP.
19261
19262 Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
19263
19264 * sh.c (barrier_align, push): Shut up compiler warnings.
19265 (initial_elimination_offset,sh_media_init_builtins): Likewise.
19266 (reg_no_subreg_operand): Delete.
19267
19268 2002-07-17 Bo Thorsen <bo@suse.de>
19269
19270 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
19271 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
19272 (STARTFILE_SPEC): Remove hardcoded library paths.
19273 (ENDFILE_SPEC): Likewise.
19274
19275 Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
19276
19277 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
19278
19279 * gcse.c (try_replace_reg): Do not return false positives.
19280
19281 2002-07-18 Alan Modra <amodra@bigpond.net.au>
19282
19283 * prefix.c: (update_path): Strip ".." components when prior dir
19284 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
19285
19286 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
19287 (ASM_OUTPUT_REG_POP): Likewise.
19288
19289 2002-07-18 Alan Modra <amodra@bigpond.net.au>
19290
19291 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
19292 adjustments to first_reg for profiling case.
19293 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
19294 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
19295 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
19296 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
19297 (ASM_OUTPUT_REG_POP): Define.
19298 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
19299 (ASM_OUTPUT_REG_POP): Undef.
19300
19301 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
19302
19303 * cpplib.c (do_sccs): Handle #sccs on all systems.
19304 * system.h (SCCS_DIRECTIVE): Poison.
19305 * config/darwin.h, config/freebsd.h, config/netbsd.h,
19306 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
19307 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
19308 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
19309 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
19310 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
19311 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
19312 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
19313 Remove all references to SCCS_DIRECTIVE.
19314 * doc/cpp.texi, doc/tm.texi: Update.
19315
19316 Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
19317
19318 * regrename.c (maybe_mode_change): New function.
19319 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
19320
19321 2002-07-17 Rodney Brown <rbrown64@csc.com.au>
19322
19323 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
19324 suppress addition when either ct or cf are zero.
19325
19326 2002-07-17 Eric Botcazou <ebotcazou@multimania.com>
19327 Glen Nakamura <glen@imodulo.com>
19328
19329 PR optimization/6713
19330 * loop.c (loop_givs_rescan): Explicitly delete the insn that
19331 sets a non-replaceable giv after issuing the new one.
19332
19333 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
19334
19335 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
19336 eval_token): Clarify and correct use of "bool" variables.
19337 * cpplib.h (struct cpp_options): Similarly.
19338 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
19339 * cpptrad.c (recursive_macro): Similarly.
19340
19341 Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
19342
19343 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
19344 SHmedia code.
19345
19346 * sh.md (cmpgtudi_media): Remove spurious @.
19347
19348 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
19349 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
19350
19351 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
19352 * sh-protos.h (sh_initialize_trampoline): Declare.
19353 * sh.c (sh_initialize_trampoline): New function.
19354 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
19355 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
19356 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
19357 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
19358 * sh.md (initialize_trampoline, double_shori): New patterns.
19359 (initialize_trampoline_compact): Likewise.
19360 (shmedia32_initialize_trampoline_big): Remove.
19361 (shmedia32_initialize_trampoline_little): Likewise.
19362
19363 * sh-protos.h (binary_float_operator): Remove declaration.
19364 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
19365 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
19366 (unary_float_operator, sh_expand_unop_v2sf): New functions.
19367 (sh_expand_binop_v2sf): Likewise.
19368 (zero_vec_operand): Delete.
19369 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
19370 all non-shared ones.
19371 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
19372 Enable nsb and byterev.
19373 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
19374 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
19375 in general regs.
19376 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
19377 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
19378 immediate operands.
19379 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
19380 Add DF_HI_REGS.
19381 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
19382 lowpart fp regs - only for big endian for now.
19383 (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
19384 when FPU is in use.
19385 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
19386 (LOAD_EXTEND_OP): NIL for SImode.
19387 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
19388 general and fp registers is 4.
19389 PREDICATE_CODES: Amend binary_float_operator entry.
19390 Remove zero_vec_operand. Add unary_float_operator.
19391 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
19392 subreg SET_DEST.
19393 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
19394 (truncdiqi2): Do sign extension.
19395 (movsi_media, movdi_media): Allow to use r63 to an fp register.
19396 (movdf_media, movsf_media): Likewise.
19397 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
19398 Collapse to one define_insn_and_split. Allow immediate sources.
19399 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
19400 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
19401 (movv4sf): Allow immediate sources.
19402 (movsf_media_nofpu+1): Don't split moves to FP registers.
19403 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
19404 (movv8qi_i+3): Check against CONST0_RTX.
19405 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
19406 for input and output operands. Fix argument 3 to gen_mextr_rl.
19407 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
19408 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
19409 (mshf0_w, fipr, ftrv): Likewise.
19410 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
19411
19412 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
19413
19414 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
19415 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
19416 * arm.c: Similarly.
19417
19418 2002-07-17 Richard Sandiford <rsandifo@redhat.com>
19419
19420 * config/mips/mips-protos.h (mips_sign_extend): Declare.
19421 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
19422 (TARGET_SWITCHES): Remove debugh.
19423 (ISA_HAS_TRUNC_W): New macro.
19424 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
19425 (PREDICATE_CODES): Remove se_nonimmediate_operand.
19426 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
19427 any SImode move_operand.
19428 (se_nonimmediate_operand): Remove.
19429 (mips_sign_extend): New.
19430 (mips_move_2words): Use it for sign-extended source operands.
19431 (override_options): Allow integers to be put into single FPRs.
19432 (mips_secondary_reload_class): Handle integers in float registers.
19433 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
19434 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
19435 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
19436 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
19437 (fix_truncdfdi2): Provide only a single alternative, in which the
19438 integer is in a float register. Depend on TARGET_FLOAT64 rather
19439 than TARGET_64BIT.
19440 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
19441 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
19442 (movdi_internal2): Don't allow the source operand to be sign-extended.
19443 Add alternatives for float registers.
19444 (*movdi_internal2_extend): New. Version of movdi_internal2 that
19445 allows sign-extension.
19446 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
19447 (movsi_internal2): Rename to movsi_internal. Add alternatives for
19448 float registers. Remove TARGET_DEBUG_H_MODE test.
19449 (movhi_internal1): Rename to movhi_internal. Don't check
19450 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
19451 (movqi_internal1): Rename to movqi_internal and remove
19452 TARGET_DEBUG_H_MODE dependency.
19453 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
19454
19455 2002-07-16 Jim Wilson <wilson@redhat.com>
19456
19457 * toplev.c (lang_dependent_init): Create function context for
19458 init_expr_once.
19459
19460 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
19461
19462 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
19463 --gc-sections if -r.
19464 * config/cris/cris.h: Ditto.
19465
19466 2002-07-16 Rodney Brown <rbrown64@csc.com.au>
19467
19468 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
19469 the comparison directly gives a mask suppress addition when cf is
19470 zero by complementing the mask.
19471
19472 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
19473
19474 * Makefile.in: Delete references to enquire.
19475 * enquire.c: Move to contrib.
19476
19477 2002-07-16 Stan Shebs <shebs@apple.com>
19478
19479 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
19480 config/rs6000/darwin.h.
19481 (ASM_OUTPUT_SKIP): Ditto.
19482 (TEXT_SECTION_ASM_OP): Ditto.
19483 (DATA_SECTION_ASM_OP): Ditto.
19484 (ASM_APP_ON): Define.
19485 (ASM_APP_OFF): Define.
19486 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
19487 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
19488
19489 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
19490 (machopic_function_base_name): Declare result to be const.
19491 (machopic_non_lazy_ptr_name): Ditto.
19492 (machopic_stub_name): Ditto.
19493 * config/darwin-protos.h: Ditto for the prototypes.
19494
19495 Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
19496
19497 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
19498
19499 Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
19500
19501 * i386.md (prefetch): Fix for 64bit mode.
19502 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
19503
19504 Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
19505
19506 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
19507 * i386.c (x86_machine_dependent_reorg): New function.
19508 * i386-protos.h (x86_machine_dependent_reorg): Declare.
19509
19510 2002-07-16 Zack Weinberg <zack@codesourcery.com>
19511
19512 * builtins.c (std_expand_builtin_va_start): Remove unused
19513 first argument.
19514 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
19515 std_expand_builtin_va_start with just two arguments.
19516 * expr.h: Update prototypes.
19517
19518 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
19519 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
19520 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
19521 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
19522 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
19523 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
19524 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
19525 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
19526 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
19527 argument from all implementations of EXPAND_BUILTIN_VA_START
19528 and all uses of std_expand_builtin_va_start.
19529
19530 Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
19531
19532 * regrename.c (copy_value): Don't record high part copies.
19533
19534 2002-07-16 Steve Ellcey <sje@cup.hp.com>
19535
19536 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
19537 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
19538 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
19539
19540 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
19541
19542 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
19543
19544 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
19545 into addsi3 using register class "x" and "y".
19546
19547 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
19548 "earlyclobber" constraint modifier for some alternative.
19549
19550 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
19551 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
19552 unordered.
19553 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
19554
19555 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
19556 (TARGET_SWITCHES): Add -mieee-compare option.
19557 (OVERRIDE_OPTIONS): 32332 is a subset of
19558 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
19559 (TARGET_SWITCHES): Fix description of bitfield option.
19560 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
19561 -mieee-compare option. Remove 32332 flag.
19562
19563 2002-07-16 Steve Ellcey <sje@cup.hp.com>
19564
19565 * explow.c (convert_memory_address): Remove special handling
19566 when POINTERS_EXTEND_UNSIGNED < 0.
19567 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
19568 (movedi_symbolic): Fix typo.
19569 (load_fptr): Remove mode restriction so it works for SI and DI.
19570 (load_fptr_internal1): Ditto.
19571 (load_gprel): Ditto.
19572 (load_symptr_internal1): Ditto.
19573 (call_pic): Ditto.
19574 * config/ia64.c (call_operand): Modify mode check.
19575 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
19576 (ia64_expand_move): Ditto.
19577 (ia64_assemble_integer): Handle SImode function pointers.
19578 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
19579 (ia64_expand_op_and_fetch): Ditto.
19580 (ia64_expand_compare_and_swap): Ditto.
19581 (ia64_expand_lock_test_and_set): Ditto.
19582 (ia64_expand_lock_release): Ditto.
19583
19584 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
19585
19586 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
19587
19588 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
19589 Richard Earnshaw <rearnsha@arm.com>
19590
19591 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
19592 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
19593
19594 2002-07-16 Richard Earnshaw <rearnsha@arm.com>
19595
19596 * arm.md (stack_tie): New insn. Use an idiom that the alias code
19597 understands to be a memory clobber.
19598 * arm.c (arm_expand_prologue): Use it.
19599
19600 2002-07-16 Daniel Berlin <dberlin@dberlin.org>
19601
19602 * ra-rewrite.c: #include reload.h, insn-config.h
19603 * ra-build.c: #include reload.h
19604 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
19605 depend on reload.h, insn-config.h.
19606
19607 Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
19608
19609 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
19610 the same size as a word.
19611
19612 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
19613 BYTES_BIG_ENDIAN into account.
19614
19615 Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
19616
19617 * i386.md (prefetch): Fix for 64bit mode.
19618 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
19619
19620 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
19621
19622 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
19623
19624 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
19625
19626 2002-07-15 Zack Weinberg <zack@codesourcery.com>
19627
19628 * ginclude/varargs.h: Replace with stub which issues #error.
19629 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
19630 __builtin_va_start.
19631
19632 * builtins.def (BUILT_IN_VARARGS_START): Delete.
19633 (BUILT_IN_VA_START): New.
19634 * builtins.c (expand_builtin_va_start): Eliminate first
19635 argument and code to implement pre-ISO varargs.
19636 (std_expand_builtin_va_start): Ignore first argument; it is
19637 always 1.
19638 (expand_builtin): Handle BUILT_IN_VA_START and
19639 BUILT_IN_STDARG_START identically. Delete
19640 BUILT_IN_VARARGS_START case.
19641
19642 * function.c (assign_parms): Delete hide_last_arg and all
19643 its uses.
19644 (mark_varargs): Delete function.
19645 * function.h (struct function): Delete 'varargs' bit.
19646 (current_function_varargs): Delete macro.
19647 * tree.h: Don't declare mark_varargs.
19648
19649 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
19650 (c_expand_body): Don't call mark_varargs.
19651 * c-objc-common.c: Handle BUILT_IN_VA_START and
19652 BUILT_IN_STDARG_START identically. Delete
19653 BUILT_IN_VARARGS_START case.
19654 * c-tree.h: Don't declare c_mark_varargs.
19655 * c-parse.in: Remove grammar rules for '&...' (which has been
19656 commented out since before 2.7.2) and for '...' in K+R
19657 argument declarations.
19658
19659 * builtins.c, function.c, integrate.c, sibcall.c,
19660 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
19661 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
19662 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
19663 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
19664 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
19665 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
19666 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
19667 config/stormy16/stormy16.c: Delete all references to
19668 current_function_varargs, and code predicated on that flag.
19669
19670 * config/alpha/alpha.c (alpha_va_start),
19671 config/arc/arc.c (arc_va_start),
19672 config/i386/i386.c (ix86_va_start),
19673 config/mips/mips.c (mips_va_start),
19674 config/mn10300/mn10300.c (mn10300_va_start),
19675 config/rs6000/rs6000.c (rs6000_va_start),
19676 config/s390/s390.c (s390_va_start),
19677 config/sh/sh.c (sh_va_start),
19678 Ignore first argument; it is always 1.
19679
19680 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
19681 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
19682 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
19683 Delete m68hc11_va_start.
19684 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
19685 No need to define EXPAND_BUILTIN_VA_START.
19686
19687 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
19688 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
19689
19690 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
19691
19692 PR optimization/7153
19693 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
19694 dies in more than one insn.
19695
19696 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
19697
19698 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
19699
19700 2002-07-15 Michael Matz <matz@suse.de>,
19701 Daniel Berlin <dberlin@dberlin.org>,
19702 Denis Chertykov <denisc@overta.ru>
19703
19704 Add a new register allocator.
19705
19706 * ra.c: New file.
19707 * ra.h: New file.
19708 * ra-build.c: New file.
19709 * ra-colorize.c: New file.
19710 * ra-debug.c: New file.
19711 * ra-rewrite.c: New file.
19712
19713 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
19714 (ra-rewrite.o): New .o files for libbackend.a.
19715 (GTFILES): Add basic-block.h.
19716
19717 * toplev.c (flag_new_regalloc): New.
19718 (f_options): New option "new-ra".
19719 (rest_of_compilation): Call initialize_uninitialized_subregs()
19720 only for the old allocator. If flag_new_regalloc is set, call
19721 new allocator, instead of local_alloc(), global_alloc() and
19722 friends.
19723
19724 * doc/invoke.texi: Document -fnew-ra.
19725 * basic-block.h (FOR_ALL_BB): New.
19726 * config/rs6000/rs6000.c (print_operand): Write small constants
19727 as @l+80.
19728
19729 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
19730 (df_reg_table_realloc): Make size at least as large as max_reg_num().
19731 (df_insn_table_realloc): Size argument now is absolute, not relative.
19732 Changed all callers.
19733
19734 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
19735 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
19736
19737 2002-06-20 Michael Matz <matz@suse.de>
19738
19739 * df.h (struct ref.id): Make unsigned.
19740 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
19741
19742 2002-06-13 Michael Matz <matz@suse.de>
19743
19744 * df.h (DF_REF_MODE_CHANGE): New flag.
19745 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
19746 involving subregs with invalid mode changes, when
19747 CLASS_CANNOT_CHANGE_MODE is defined.
19748
19749 2002-05-07 Michael Matz <matz@suse.de>
19750
19751 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
19752
19753 2002-05-03 Michael Matz <matz@suse.de>
19754
19755 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
19756
19757 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
19758
19759 * regclass.c (regclass): Work with all regs which have sets or
19760 refs.
19761 (reg_scan_mark_refs): Count regs inside (clobber ...).
19762
19763 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
19764
19765 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
19766 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
19767 add new refs.
19768 (df_bb_refs_update): Don't clear insns_modified here, ...
19769 (df_analyse): ... but here.
19770
19771 * sbitmap.c (dump_sbitmap_file): New.
19772 (debug_sbitmap): Use it.
19773
19774 * sbitmap.h (dump_sbitmap_file): Add prototype.
19775
19776 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
19777
19778 * df.c (df_insn_modify): Grow the UID table if necessary, rather
19779 than assume all emits go through df_insns_modify.
19780
19781 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
19782
19783 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
19784 increase REG_N_REFS (like flow does), so that regclass doesn't
19785 think a reg is useless, and thus, not calculate a class, when it
19786 really should have.
19787
19788 2001-01-28 Daniel Berlin <dberlin@redhat.com>
19789
19790 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
19791 dataflow analysis.
19792
19793 2002-07-15 Jakub Jelinek <jakub@redhat.com>
19794
19795 PR middle-end/7245
19796 * config/i386/i386.c (const_int_1_31_operand): New.
19797 * config/i386/i386.h (PREDICATE_CODES): Add it.
19798 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
19799 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
19800 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
19801
19802 2002-07-14 Alan Modra <amodra@bigpond.net.au>
19803
19804 PR target/7282
19805 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
19806 (floatunssidf2): Likewise.
19807 (floatsidf_ppc64): New insn_and_split.
19808 (floatunssidf_ppc64): Likewise.
19809
19810 2002-07-14 Andreas Jaeger <aj@suse.de>
19811
19812 * config.gcc (sh64): Remove unused
19813 target_requires_64bit_host_wide_int.
19814
19815 2002-07-12 Roger Sayle <roger@eyesopen.com>
19816
19817 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
19818 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
19819 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
19820 whether clear_by_pieces should be used to clear storage.
19821 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
19822
19823 * doc/tm.texi: Document these two new target macros.
19824
19825 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
19826
19827 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
19828 the scratch register.
19829 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
19830 of it, forbid reload to use it.
19831
19832 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
19833
19834 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
19835 usage on 64-bit hosts, return value was truncated to 32 bits.
19836
19837 Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
19838
19839 * simplify-rtx.c (simplify_subreg): Handle floating point
19840 CONST_DOUBLEs. When an integer subreg of a smaller mode than
19841 the element mode is requested, compute a subreg with an
19842 integer mode of the same size as the element mode first.
19843
19844 Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
19845
19846 * combine.c (try_combine): When converting a paradoxical subreg
19847 to an extension, take LOAD_EXTEND_OP into account.
19848
19849 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
19850
19851 * config.gcc (mips-sgi-irix6*o32): New configuration.
19852
19853 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
19854 configurations.
19855 * configure: Regenerate.
19856
19857 * config/mips/iris6-o32-as.h: New file.
19858 * config/mips/iris6-o32.h: New file.
19859
19860 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
19861 (NM_FLAGS): Define.
19862 (HAVE_AS_SHF_MERGE): Undefine.
19863
19864 * config/mips/t-iris5-as: New file.
19865 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
19866
19867 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
19868 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
19869 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
19870 dp-bit.c, fp-bit.c): Move ...
19871 * config/mips/t-iris5-6: ... here.
19872 New file, shared by IRIX 5 and IRIX 6.
19873 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
19874 mips-sgi-irix5*): Use it.
19875
19876 * config/mips/iris6.h: Remove duplicate comment.
19877
19878 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
19879 !TARGET_IRIX6]: Define.
19880 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
19881
19882 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
19883
19884 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
19885
19886 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
19887 and delete code to force constant to register.
19888 * pa-protos.h (adddi3_operand): Add prototype.
19889 * pa.c (adddi3_operand): New function.
19890
19891 2002-07-11 Roger Sayle <roger@eyesopen.com>
19892
19893 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
19894 non-ANSI builtin functions.
19895
19896 Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
19897
19898 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
19899 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
19900 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
19901 (gen_const_vector_0): Use it.
19902
19903 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
19904
19905 * pa.md (adddi3): For 32-bit targets, force constants to a register
19906 if they don't fit in an 11-bit immediate. Change insn predicate to
19907 arith11_operand. Remove comment.
19908 * pa.c (cint_ok_for_move): Fix comment.
19909 (emit_move_sequence): Don't directly split DImode constants on 32-bit
19910 targets.
19911
19912 2002-07-11 Tim Josling <tej@melbpc.org.au>
19913
19914 Remove front end hard coding from gengtype.c.
19915
19916 * Makefile.in
19917 (STAGESTUFF): add gtyp-gen.h
19918 (GTFILES): Remove front end specific files.
19919 (GTFILES_FILES_LANGS): New, from configure..
19920 (GTFILES_FILES_FILES): Likewise.
19921 (GTFILES_LANG_DIR_NAMES): Likewise.
19922 (GTFILES_SRCDIR): Likewise.
19923 (gtyp-gen.h): Build from configure information.
19924 (s-gtype): Remove command line parameters from gengtype.
19925 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
19926 (mostlyclean): Delete files generated by and for gengtype.
19927
19928 * c-config-lang.in: New file.
19929
19930 * configure.in (all_gtfiles_files_langs): New. Accumulate files
19931 for each language.
19932 (all_gtfiles_files_files): New. Accumulate language for each file
19933 accumulated.
19934 (gtfiles): Pick up value for C.
19935 (srcdir): AC-SUBST this variable.
19936 (all_gtfiles_files_langs): AC-SUBST this variable.
19937 (all_gtfiles_files_files): AC-SUBST this variable.
19938
19939 * configure: Regenerate.
19940
19941 * gengtype-lex.l (parse_file): Make parameter const.
19942
19943 * gengtype.c (toplevel): include gtyp-gen.h.
19944 (BASE_FILE_<language> unnamed enum): Delete.
19945 (lang_names): Delete (replaced by gtyp-gen.h)
19946 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
19947 all references.
19948 (NUM_GT_FILES): New.
19949 (NUM_LANG_FILES): New.
19950 (srcdir_len): New.
19951 (NUM_BASE_FILES): Change calculation.
19952 (open_base_files): Change prototype to avoid warning.
19953 (startswith): Delete.
19954 (get_file_basename): Iterate through generated language list not
19955 hard coded list.
19956 (get_base_file_bitmap): Use generated list of files and languages.
19957 (close_output_files): Add prototype to rmove warning.
19958 (main): Iterate through list of generated files from gtyp-gen.h
19959 rather than command line paramaters. Ignore duplicated file
19960 names.
19961
19962 * gengtype.h (parse_file): Amend prototype for const parameter.
19963
19964 * doc/sourcebuild.texi: Document gtfiles variable.
19965
19966 * doc/gty.texi: Document changes to gtfiles variable for front
19967 ends.
19968
19969 * objc/config-lang.in (gtfiles): Add files needed for objc front
19970 end.
19971
19972 2002-07-10 Roger Sayle <roger@eyesopen.com>
19973
19974 PR c/2454
19975 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
19976 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
19977
19978 2002-07-10 Roger Sayle <roger@eyesopen.com>
19979 Zack Weinberg <zack@codesourcery.com>
19980
19981 * builtins.def: Make the argument types of abort and exit
19982 independent of the front-end.
19983
19984 2002-07-11 Alan Modra <amodra@bigpond.net.au>
19985
19986 * config/rs6000/linux64.h (ASM_SPEC): Define.
19987
19988 2002-07-10 Aldy Hernandez <aldyh@redhat.com>
19989
19990 * config/rs6000/rs6000.c (emit_frame_save): New.
19991 (rs6000_frame_related): Replace reg2 before reg.
19992 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
19993 and eh_return registers.
19994
19995 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
19996
19997 Revert all patches for optimization of Complex .op. Real.
19998 * complex_part_zero_p: Remove
19999 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
20000 with x.
20001 * expand_cmplxdiv_wide: Ditto.
20002 * expand_binop: Ditto.
20003
20004 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
20005
20006 * config/avr/avr.md: Fix two 0x80000000 constants to make them
20007 negative also on 64-bit hosts.
20008
20009 Default to -fno-reorder-blocks when optimizing for size.
20010 * config/avr/avr-protos.h (avr_optimization_options): Declare.
20011 * config/avr/avr.c (avr_optimization_options): New function.
20012 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
20013
20014 Optimize returning from simple functions.
20015 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
20016 * config/avr/avr.c (avr_simple_epilogue): New function.
20017 * config/avr/avr.md (return): New insn.
20018
20019 2002-07-10 Douglas B Rupp <rupp@gnat.com>
20020
20021 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
20022 HAS_INIT_SECTION to protection.
20023
20024 2002-07-10 Mark Mitchell <mark@codesourcery.com>
20025
20026 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
20027 deprecated.
20028
20029 Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
20030
20031 * combine.c (gen_lowpart_for_combine): Handle vector modes.
20032 Supply non-VOID mode to simplify_gen_subreg.
20033
20034 Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
20035
20036 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
20037
20038 2002-07-10 Jeffrey A Law <law@redhat.com>
20039
20040 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
20041 as appropriate.
20042
20043 * mn10200.c (expand_epilogue): Fix test to determine which scratch
20044 register to use.
20045
20046 Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
20047
20048 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
20049 Get mode from dest.
20050 If simplify_gen_subreg fails, try next equivalent.
20051
20052 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
20053
20054 * diagnostic.h: #include location.h
20055 (location_t): Move definition to..
20056 * location.h: ... here. New file.
20057 * tree.h: #include location.h
20058 (DECL_SOURCE_LOCATION): New macro.
20059 (DECL_SOURCE_FILE): Use.
20060 (DECL_SOURCE_LINE): Likewise.
20061 (struct tree_decl): REplace filename and linenum with locus.
20062 * Makefile.in (TREE_H): add location.h
20063 (diagnostic.o): Depends on gt-location.h
20064 (gt-location.h): Depends on s-gtype
20065
20066 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
20067
20068 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
20069 TARGET_OS_CPP_BUILTINS.
20070 * config/rs6000/aix31.h: Likewise.
20071 * config/rs6000/aix41.h: Likewise.
20072 * config/rs6000/aix43.h: Likewise.
20073 * config/rs6000/aix51.h: Likewise.
20074 * config/rs6000/beos.h: Likewise.
20075 * config/rs6000/darwin.h: Likewise.
20076 * config/rs6000/eabi.h: Likewise.
20077 * config/rs6000/eabisim.h: Likewise.
20078 * config/rs6000/linux.h: Likewise.
20079 * config/rs6000/linux64.h: Likewise.
20080 * config/rs6000/lynx.h: Likewise.
20081 * config/rs6000/mach.h: Likewise.
20082 * config/rs6000/rtems.h: Likewise.
20083 * config/rs6000/sysv4.h: Likewise.
20084 * config/rs6000/vxppc.h: Likewise.
20085
20086 2002-07-09 Devang Patel <dpatel@apple.com>
20087 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
20088 Do not allow ObjC objects as a parameter type for Objective-C methods.
20089 My previous patch restricted 'struct' also.
20090
20091 2002-07-09 Neil Booth <neil@daikokuya.co.uk>
20092
20093 * cpperror.c (cpp_error): Default to directive_line within
20094 directives here.
20095 * cppexp.c (cpp_interpret_integer): Only use traditional
20096 number semantics in directives.
20097 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
20098 (do_include_common): Similarly.
20099 * cpptrad.c (scan_out_logical_line): Implement accurate
20100 quoting of <> in #include.
20101 * doc/cpp.texi: Update.
20102
20103 Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
20104 J"orn Rennecke <joern.rennecke@superh.com>
20105
20106 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
20107 * sh.md (attribute issues): Replace with:
20108 (attribute pipe_model). All users changed.
20109 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
20110 All users changed.
20111 (function units sh5issue, sh5fds): New.
20112 (attribute is_mac_media): New.
20113 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
20114 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
20115 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
20116 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
20117 (call_media, call_value_media, sibcall_media): Likewise.
20118 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
20119 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
20120 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
20121 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
20122 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
20123 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
20124 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
20125 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
20126 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
20127 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
20128 (truncdfsf2_media): Likewise.
20129 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
20130 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
20131
20132 Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
20133
20134 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
20135 * sh.c (general_extend_operand, inqhi_operand): New functions.
20136 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
20137 alternatives using 'N' modifier. Add type.
20138 (adddi3z_media): Likewise. Enable generator function generation.
20139 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
20140 exact predicates / constraints. Add type.
20141 (subsi3): Allow 0 for SHMEDIA.
20142 (udivsi3_i4_media): Use match_operand for input values
20143 rather than hard registers.
20144 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
20145 unnecessarily through hard registers. Keep copies of pseudo
20146 registers outside of the libcall sequence.
20147 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
20148 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
20149 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
20150 (extendhidi2, extendqidi2): Likewise.
20151 (andsi3_compact): Name.
20152 (andcdi3): Enable generator function generation.
20153 (zero_extendhisi2, zero_extendqisi2): Rename to
20154 (zero_extendhisi2_compact, zero_extendqisi2_compact).
20155 (extendhisi2, extendqisi2): Rename to
20156 (extendhisi2_compact, extendqisi2_compact).
20157 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
20158 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
20159 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
20160 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
20161 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
20162 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
20163 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
20164 (shmedia32_initialize_trampoline_big): Likewise.
20165 (shmedia32_initialize_trampoline_little): Likewise.
20166 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
20167 (negdi2): Remove spurious T clobber.
20168 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
20169 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
20170 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
20171 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
20172 (ic_invalidate_line_media): Write back data cache before invalidating
20173 instruction cache. Add type.
20174 (movsf_media): Sign-extend when the destination is a general
20175 purpose register. Add type.
20176 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
20177 (casesi_worker_0+1): Only increment ref count for proper label.
20178 (casesi_worker_0+2): Likewise.
20179
20180 2002-07-09 Mark Mitchell <mark@codesourcery.com>
20181
20182 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
20183
20184 2002-07-09 Steve Ellcey <sje@cup.hp.com>
20185
20186 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
20187 from Pmode to ptr_mode.
20188 (get_exception_pointer): Ditto.
20189 (connect_post_landing_pads): Ditto.
20190 (dw2_build_landing_pads): Ditto.
20191
20192 2002-07-08 Steve Ellcey <sje@cup.hp.com>
20193 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
20194 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
20195 (handle_pragma_redefine_extname): Change to use new function.
20196
20197 2002-07-08 Roger Sayle <roger@eyesopen.com>
20198
20199 * combine.c (combine_simplify_rtx): Add an explicit cast
20200 to avoid signed/unsigned comparison warning.
20201 (simplify_if_then_else): Likewise.
20202 (extended_count): Likewise.
20203 (simplify_shift_const): Likewise.
20204 (simplify_comparison): Likewise.
20205
20206 2002-07-08 Richard Sandiford <rsandifo@redhat.com>
20207
20208 * config/mips/mips.md: Add imadd type. Update scheduler description
20209 to use imadd as well as imul.
20210 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
20211 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
20212 (*mul_sub_si): Likewise for first alternative. Change second
20213 alternative from imul to multi.
20214
20215 2002-07-07 Neil Booth <neil@daikokuya.co.uk>
20216
20217 * c-common.c (c_common_post_options): Update prototype;
20218 don't init backends if preprocessing only.
20219 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
20220 * langhooks.h (struct lang_hooks): Update post_options to
20221 return a boolean.
20222 * toplev.c (parse_options_and_default_flags, do_compile,
20223 lang_independent_init): Update prototypes. Allow the
20224 front end to specify that there is no need to initialize
20225 the back end.
20226 (general_init): Move call to hex_init here...
20227 (toplev_main): ...from here. Pass flag for back end init
20228 suppression.
20229
20230 Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
20231
20232 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
20233 (PREDICATE_CODES): Add entries for equality_comparison_operator,
20234 greater_comparison_operator and less_comparison_operator.
20235 * sh.c (print_operand): Add '\'' code. Make 'o' handle
20236 more operators.
20237 (equality_comparison_operator): New function.
20238 (greater_comparison_operator, less_comparison_operator): Likewise.
20239 * sh.md (beq_media_i): Disable generator function generation.
20240 Use match_operator to handle a whole class of comparisons. Add
20241 modifier in output template to provide branch prediction. Add type.
20242 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
20243 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
20244 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
20245 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
20246
20247 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
20248
20249 Emit MMIX function prologue and epilogue as rtl.
20250 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
20251 not unprototyped get_hard_reg_initial_val.
20252 ("call_value", "nonlocal_goto_receiver"): Ditto.
20253 ("return"): Make define_expand. Move real insn to...
20254 ("*expanded_return"): New pattern.
20255 ("prologue", "epilogue"): New define_expands.
20256 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
20257 (struct machine_function): New member in_prologue.
20258 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
20259 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
20260 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
20261 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
20262 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
20263 (LOCAL_REGNO): Define. Adjust comment.
20264 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
20265 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
20266 leaf_function_p.
20267 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
20268 the prologue.
20269 (mmix_target_asm_function_prologue): Make static. Just mark that
20270 the prologue is being emitted. Move guts to...
20271 (mmix_expand_prologue): New function. Adjust for emitting
20272 prologue as rtl. For sizes, use HOST_WIDE_INT only.
20273 (mmix_target_asm_function_epilogue): Make static. Simply emit a
20274 \n. Move guts to...
20275 (mmix_expand_epilogue): New function. Adjust for emitting
20276 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
20277 (mmix_target_asm_function_end_prologue): Mark that the prologue
20278 has ended.
20279 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
20280 (mmix_conditional_register_usage): Improve comments.
20281 (mmix_local_regno): New function.
20282 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
20283 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
20284 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
20285 (mmix_get_hard_reg_initial_val): Ditto.
20286
20287 2002-07-06 Andreas Jaeger <aj@suse.de>
20288
20289 * toplev.c (set_fast_math_flags): Don't use ISO C style function
20290 definitions.
20291 * gengtype.c (open_base_files): Likewise.
20292 (close_output_files): Likewise.
20293 * tracer.c (find_best_predecessor): Likewise.
20294 (find_best_successor): Likewise.
20295 (ignore_bb_p): Likewise.
20296
20297 2002-07-05 Roger Sayle <roger@eyesopen.com>
20298
20299 PR c++/7099
20300 * builtin-attrs.def: Define new attribute lists for use in
20301 builtins.def.
20302 * builtins.def [DEF_BUILTIN]: Modify to take an additional
20303 ATTRS argument, an enumerated value defined in builtin-attrs.def
20304 that represents the attribute list for the builtins. Modify
20305 all builtin functions to pass an appropriate attribute list.
20306 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
20307 their required noreturn attributes.
20308 * tree.h (enum_builtin_function): Ignore the additional parameter
20309 to DEF_BUILTIN.
20310 * builtins.c (built_in_names): Likewise.
20311 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
20312 argument with a tree representing the functions attribute list.
20313 Pass this "attrs" argument to builtin_function. No longer handle
20314 the noreturn_p processing manually.
20315 (built_in_attributes): Move the definitions from builtin-attrs.def
20316 before c_common_nodes_and_builtins.
20317 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
20318 DEF_BUILTIN, passing it to both builtin_function and the changed
20319 builtin_function_2.
20320
20321 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
20322 __builtin__exit and __builtin__Exit.
20323
20324 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
20325
20326 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
20327 QI mode registers in soft registers.
20328 ("zero_extendqihi2"): Do not take into account soft registers
20329 for register allocation (use '*' constraint).
20330
20331 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
20332
20333 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
20334 it is dead.
20335 ("*ashrsi3"): Likewise.
20336 ("*lshrsi3"): Likewise.
20337
20338 2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
20339
20340 * genautomata.c (output_max_insn_queue_index_def): Take latencies
20341 into account.
20342
20343 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
20344
20345 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
20346 address computation and memory moves.
20347
20348 2002-07-03 Mark Mitchell <mark@codesourcery.com>
20349
20350 PR c++/6706
20351 * dwarfout.c (output_reg_number): Fix warning message.
20352 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
20353 before using it.
20354
20355 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20356
20357 * gcc/gcc.c (asm_debug): Move initialization ...
20358 (init_spec): ... here.
20359
20360 2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
20361
20362 * c-parse.in (extdef): Append ';'.
20363 (old_style_parm_decls): Append ';'.
20364
20365 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
20366
20367 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
20368 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
20369 to gcc_cv_as_gstabs_flag.
20370 * configure: Rebuilt.
20371
20372 2002-07-04 Geoffrey Keating <geoffk@redhat.com>
20373
20374 * ggc.h (ggc_add_root): Document as obsolete.
20375
20376 Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
20377
20378 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
20379 (mshflo_w): Likewise.
20380
20381 Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
20382
20383 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
20384 vector mode subregs of constants to finding integer mode
20385 subregs of constants.
20386 * cse.c (cse_insn): Use simplify_gen_subreg.
20387 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
20388 From a vector mode expression of different size than the
20389 target mode.
20390
20391 2002-07-03 Eric Christopher <echristo@redhat.com>
20392
20393 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
20394 * config/mips/mips.h: Remove deprecated -m<processor> options
20395 and cc1_cpu_spec associated.
20396 (CONSTANT_ADDRESS_P): Fix last patch.
20397 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
20398 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
20399 sunge_sf): Remove.
20400
20401 2002-07-03 Stan Shebs <shebs@apple.com>
20402
20403 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
20404 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
20405 (CPP_SPEC): Remove insertion of APPLE_CC definition.
20406
20407 2002-07-03 Roger Sayle <roger@eyesopen.com>
20408
20409 * combine.c (struct_undo): Change types of recorded substitutions
20410 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
20411 (do_SUBST_INT): Change types of the substitution from unsigned int
20412 to int, to avoid compilation warning from SUBST_INT's only caller.
20413
20414 (make_extraction): Add cast to avoid compilation warning.
20415 (force_to_mode): Remove cast to avoid compilation warning.
20416
20417 2002-07-03 Eric Botcazou <ebotcazou@multimania.com>
20418 Jeff Law <law@redhat.com>
20419
20420 * i386.md (length_immediate attribute): Fix typo.
20421 (length_address attribute): Likewise.
20422 (modrm attribute): Set it to 0 for immediate call instructions.
20423 (jcc_1 pattern): Set modrm attribute to 0.
20424 (jcc_2 pattern ): Likewise.
20425 (jump pattern): Likewise.
20426 (doloop_end_internal pattern): Explicitly set length.
20427 (leave pattern): Fix typo.
20428 (leave_rex64 pattern): Likewise.
20429
20430 2002-07-03 David Edelsohn <edelsohn@gnu.org>
20431
20432 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
20433 in FPR as preference.
20434 (fctiwz): Same.
20435 (floatdidf2, fix_truncdfdi2): Same.
20436 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
20437 (floatditf2): Same.
20438 (floatsitf2, fix_trunctfsi2): SImode in GPR.
20439 (ctrdi): Remove FPR alternative and splitter.
20440
20441 2002-07-03 Will Cohen <wcohen@redhat.com>
20442
20443 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
20444
20445 Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
20446
20447 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
20448 than UNITS_PER_WORD, unless this is little endian and the first unit
20449 in this word. Let extract_bit_field decide how to load an element.
20450 Force arguments to matching mode.
20451 (expand_vector_unop): Likewise.
20452
20453 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
20454 consist of word_mode elements.
20455 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
20456 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
20457 (build_unary_op): Allow vector types for BIT_NOT_EPR.
20458 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
20459 CONST_VECTOR.
20460 * optabs.c (expand_vector_binop): Try to perform operation in
20461 smaller vector modes with same inner size. Add handling of AND, IOR
20462 and XOR. Reject expansion to inner-mode sized scalars when using
20463 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
20464 (expand_vector_unop): Try to perform operation in smaller vector
20465 modes with same inner size. Add handling of one's complement.
20466 When there is no vector negate operation, try a vector subtract
20467 operation. Use simplify_gen_subreg on constants.
20468 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
20469 constants into smaller vectors with same inner mode, and to
20470 integer CONST_DOUBLEs.
20471
20472 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20473
20474 * c-parse.in (parsing_iso_function_signature): New variable.
20475 (extdef_1): New, copied from...
20476 (extdef): ... here. Reset parsing_iso_function_signature.
20477 (old_style_parm_decls): Reset parsing_iso_function_signature.
20478 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
20479 Warn about ISO C style function definitions.
20480 (nested_function, notype_nested_function): Reset
20481 parsing_iso_function_signature.
20482 (parmlist_2): Set parsing_iso_function_signature.
20483
20484 * doc/invoke.texi (-Wtraditional): Document new behavior.
20485
20486 2002-07-02 Chris Demetriou <cgd@broadcom.com>
20487
20488 * config.gcc (mips*el-*-*): Use tm_defines to set
20489 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
20490 * config/mips/little.h: Remove.
20491
20492 2002-07-02 Devang Patel <dpatel@apple.com>
20493
20494 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
20495 object as parameter. Prevent something like 'NSObject' to be
20496 used as the type for a method argument.
20497
20498 2002-07-03 Neil Booth <neil@daikokuya.co.uk>
20499
20500 * cpptrad.c: Update comment.
20501
20502 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
20503
20504 * doc/cpp.texi: Update for traditional preprocessing changes.
20505 * goc/cppopts.texi: Similarly.
20506
20507 2002-07-02 Ziemowit Laski <zlaski@apple.com>
20508
20509 * c-parse.in (designator): Enable designated initializers if ObjC.
20510 (objcmessageexpr): Remove references to objc_receiver_context.
20511 * objc/objc-act.h (objc_receiver_context): Remove decl.
20512 * objc/objc-act.c (objc_receiver_context): Remove.
20513 (lookup_objc_ivar): Test objc_method_context instead of
20514 objc_receiver_context.
20515
20516 Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
20517
20518 * sh.c (print_operand, case 'N'): Allow zero vector.
20519 (arith_reg_or_0_operand): Likewise.
20520 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
20521 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
20522 IOR, XOR, PLUS and SET and take their respective constant
20523 ranges into account.
20524 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
20525 * sh.md (subdi3, subdi3_media): Allow zero operand.
20526 (movv8qi_i+3): Only vector that is not split is the zero vector.
20527 Fix operand 3 to simplify_subreg.
20528 (movv2si_i): Split alternative 1.
20529 (mshfhi_l_di_rev+1): New splitter.
20530
20531 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
20532
20533 PR preprocessor/7029
20534 * cppinit.c (cpp_handle_option): Suppress warnings with an
20535 implicit "-w" for "-M" and "-MM".
20536 * doc/cppopts.texi: Update.
20537
20538 2002-07-01 Roger Sayle <roger@eyesopen.com>
20539
20540 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
20541 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
20542 builtin_function.
20543
20544 2002-07-02 Alan Modra <amodra@bigpond.net.au>
20545
20546 * README.Portability: Fix typos.
20547
20548 2002-07-01 Hans-Peter Nilsson <hp@axis.com>
20549
20550 PR target/7177
20551 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
20552 of indirections for register inside sign-extended mem part.
20553
20554 2002-07-01 Roger Sayle <roger@eyesopen.com>
20555
20556 * tree.h: Modify builtin_function interface to take an extra
20557 argument ATTRS, which is a tree representing an attribute list.
20558
20559 * c-decl.c (builtin_function): Accept additional parameter.
20560 * objc/objc-act.c (builtin_function): Likewise.
20561 * f/com.c (builtin_function): Likewise.
20562 * java/decl.c (builtin_function): Likewise.
20563 * ada/utils.c (builtin_function): Likewise.
20564 * cp/decl.c (builtin_function): Likewise.
20565 (builtin_function_1): Likewise.
20566
20567 * c-common.c (c_common_nodes_and_builtins): Pass an additional
20568 NULL_TREE argument to builtin_function. (builtin_function_2):
20569 Likewise.
20570 * cp/call.c (build_java_interface_fn_ref): Likewise.
20571 * objc/objc-act.c (synth_module_prologue): Likewise.
20572 * java/decl.c (java_init_decl_processing): Likewise.
20573 * f/com.c (ffe_com_init_0): Likewise.
20574
20575 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
20576 NULL_TREE argument to builtin_function.
20577 * config/arm/arm.c (def_builtin): Likewise.
20578 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
20579 * config/i386/i386.c (def_builtin): Likewise.
20580 * config/ia64/ia64.c (def_builtin): Likewise.
20581 * config/rs6000/rs6000.c (def_builtin): Likewise.
20582
20583 2002-07-01 Zack Weinberg <zack@codesourcery.com>
20584
20585 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
20586 * config/mips/t-isa3264: Likewise.
20587 * config/mmix/t-mmix: Likewise.
20588
20589 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
20590
20591 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
20592
20593 2002-07-01 Roger Sayle <roger@eyesopen.com>
20594
20595 PR opt/4046
20596 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
20597 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
20598 B are truth values.
20599
20600 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
20601
20602 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
20603
20604 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
20605
20606 * README.Portability (Function prototypes): Give an example of
20607 declaring and defining a function with no arguments.
20608
20609 * README.Portability (Function prototypes): Document new
20610 variable-argument function macros.
20611
20612 Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
20613
20614 * sh.c (langhooks.h): Include.
20615 (sh_init_builtins, sh_media_init_builtins): New functions.
20616 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
20617 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
20618 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
20619 (builtin_description): New struct tag.
20620 (signature_args, bdesc): New arrays.
20621 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
20622 (print_operand): Add 'N' modifier.
20623 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
20624 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
20625 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
20626 (CONST_COSTS): Add special case for SHmedia AND.
20627 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
20628 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
20629 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
20630 target_operand can also be const or unspec.
20631 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
20632 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
20633 (attribute type): Add new types.
20634 (anddi3): Add splitter.
20635 (movdi_const_16bit+1): Add code to handle vector constants and
20636 bitmasks efficiently.
20637 (shori_media): Have generator function made.
20638 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
20639 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
20640 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
20641 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
20642 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
20643 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
20644 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
20645 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
20646 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
20647 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
20648 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
20649 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
20650 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
20651 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
20652 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
20653 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
20654 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
20655 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
20656 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
20657 (ftrv): Likewise.
20658
20659 (fpu_switch+1, fpu_switch+2): Remove constraint.
20660
20661 2002-07-01 Aldy Hernandez <aldyh@redhat.com>
20662
20663 * tree.c (build_function_type_list): Update function comment.
20664 Rename first argument to return_type.
20665
20666 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
20667
20668 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
20669 tradcif.y and related files.
20670
20671 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
20672
20673 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
20674
20675 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20676
20677 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
20678
20679 See ChangeLog.7 for earlier changes.
This page took 0.936072 seconds and 5 git commands to generate.