function.c (STACK_ALIGNMENT_NEEDED): New macro.
[gcc.git] / gcc / ChangeLog
1 2003-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2
3 * function.c (STACK_ALIGNMENT_NEEDED): New macro. Default to 1.
4 (assign_stack_local_1): Perform overall stack alignment only when
5 STACK_ALIGNMENT_NEEDED is non-zero.
6 * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
7
8 * pa.c (compute_frame_size): Rename fsize to size. Account for
9 alignment to a word boundary before general register save block. Only
10 account for double-word alignment before floating point register save
11 block if one or more are saved. Don't allocate space for %r3 when
12 frame pointer is needed.
13 (hppa_expand_prologue): Include alignment to word boundary in local
14 frame size.
15 * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
16 (STACK_ALIGNMENT_NEEDED): Define.
17
18 2003-03-04 Kevin Buettner <kevinb@redhat.com>
19
20 * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
21 global register variables.
22
23 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
24
25 * reload.c (reload_adjust_reg_for_mode): New function.
26 (subst_reloads): Call it.
27 (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
28 * reload.h (reload_adjust_reg_for_mode): Declare.
29 * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
30 Call it.
31
32 2003-03-03 James E Wilson <wilson@tuliptree.org>
33
34 * optabs.c (add_equal_note): Delete SUBREG_REG use.
35 Fixes PR c/7872.
36
37 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
38
39 * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
40 (*ixorsi3_lshiftrt_16): New.
41 (*iorsi3_ashift_16): Remove.
42
43 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
44
45 * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
46 pattern.
47
48 2003-03-03 Geoffrey Keating <geoffk@apple.com>
49
50 * doc/install.texi (Specific): Update entry for powerpc-darwin.
51
52 2003-03-03 Richard Henderson <rth@redhat.com>
53
54 * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
55
56 2003-03-03 David Edelsohn <edelsohn@gnu.org>
57
58 * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
59 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
60 (rs6000_variable_issue): Do not return negative value.
61 (rs6000_issue_rate): Uniformly set issue rate to 1 for first
62 scheduling pass.
63
64 2003-03-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
65
66 * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
67 prune_unused_types calls.
68
69 2003-03-03 Jason Merrill <jason@redhat.com>
70
71 * tree-inline.c (find_builtin_longjmp_call): Save and restore
72 lineno and input_filename.
73 (find_alloca_call): Likewise.
74 (inlinable_function_p): Run the langhook earlier.
75
76 * calls.c (compute_argument_addresses): Give the new MEMs a
77 minimum alignment of PARM_BOUNDARY.
78
79 Mon Mar 3 20:45:25 2003 J"orn Rennecke <joern.rennecke@superh.com>
80
81 * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
82 subtarget_asm_isa_spec.
83 (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
84 (ASM_SPEC): Define as SH_ASM_SPEC.
85 (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
86 Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
87 * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
88 (SUBTARGET_ASM_ISA_SPEC): Undef / define.
89
90 * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
91 and align_jumps if not set.
92 Force align_jumps to be at least 2.
93 When relaxing, force align_functions to be at least the maximum of
94 align_loops, align_jumps and 4.
95 * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
96 (sh_loop_align): Honour align_loops_log.
97
98 * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
99 to check for indirect_jump_scratch.
100 (indirect_jump_scratch): Add second set.
101 * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
102 when looking for indirect_jump_scratch.
103 Extract scratch register taking new structure of indirect_jump_scratch
104 into account.
105 (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
106
107 Mon Mar 3 19:07:21 CET 2003 Jan Hubicka <jh@suse.cz>
108
109 * calls.c (rtx_for_function_call): Take the address as an argument
110 (expand_call): Do not modify the expression.
111
112 * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not
113 optimizing.
114
115 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
116
117 * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
118 TARGET_H8300H and TARGET_H8300S.
119
120 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
121
122 * config/h8300/h8300.md (a peephole2): New.
123
124 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
125
126 * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
127 operands[0] and operands[1] are different.
128
129 2003-03-03 Kazu Hirata <kazu@cs.umass.edu>
130
131 * reload1.c (reload_cse_move2add): Remove variable success.
132
133 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
134
135 * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
136 warnings.
137
138 2003-03-02 Richard Henderson <rth@redhat.com>
139
140 * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
141 * config.in, configure: Rebuild.
142 * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
143 * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
144 paired ldtoffx and ldxmov annotations.
145 (load_symptr_internal1): Remove.
146 (load_symptr_high, load_symptr_low): New.
147
148 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
149
150 * c-incpath.c (add_path): Fix sysp assignment.
151
152 2003-03-02 Kurt Garloff <garloff@suse.de>
153
154 * params.def: Introduce parameter max-inline-insns-rtl for
155 a separate limit for the RTL inliner.
156 * params.h: Likewise.
157 * integrate.c (function_cannot_inline_p): Use it.
158 * toplev.c (decode_f_option): Set multiple parameters
159 controlling inlining with -finline-limit.
160 * params.def: Fix orthographic and typographic errors.
161 * doc/invoke.texi: Document parameters controlling inlining
162 and the way -finline-limit sets multiple of them.
163
164 * tree.h (struct tree_decl): Introduce inlined_function_flag,
165 recording whether the function became eligible for inlining
166 by a compiler flag rather than the declaration.
167 Provide DID_INLINE_FUNC macro to access it.
168 * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
169 * cp/decl.c (grokfndecl): Likewise.
170 * toplev.c (rest_of_compilation): Likewise.
171 * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
172 * print-tree.c (print_node): Report it.
173 * params.def: Introduce new max-inline-insns-auto limit.
174 * params.h: Likewise.
175 * tree-inline.c (inlinable_function_p): Apply it to functions
176 with DID_INLINE_FUNC set.
177 * toplev.c (decode_f_option): Initialize it from -finline-limit
178 value.
179 * doc/invoke.texi: Document new parameter.
180
181 2003-03-02 Geoffrey Keating <geoffk@apple.com>
182
183 * fix-header.c (read_scan_file): Don't reference simplify_path.
184
185 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
186
187 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
188 min/max instructions by default as may result in reload errors.
189
190 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
191
192 * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
193 avoid reload problems; define split for it.
194
195 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
196
197 * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
198 * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
199 * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
200 * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
201 rotatert and rotate.
202 ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
203 ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
204 ("*rotrhi3_addr"): New split for shift insns on address register.
205 ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
206 * config/m68hc11/larith.asm (___rotlhi3): New asm function.
207 (___rotrhi3): Likewise.
208 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
209
210 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
211
212 * toplev.c (aux_base_name): Moved from toplev.h.
213 (filename): Constify.
214 (lang_dependent_init): Don't duplicate name.
215 (process_options): Set aux_base_name here, not...
216 (do_compile): ...here. Change protoype.
217 (toplev_main): Move some code from do_compile.
218 * toplev.h: Remove aux_base_name.
219
220 2003-03-02 Kazu Hirata <kazu@cs.umass.edu>
221
222 * config/h8300/h8300-protos.h: Add a prototype for
223 iorxor_operator.
224 * config/h8300/h8300.c (print_operand): Handle 'c'.
225 (iorxor_operator): New.
226 * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
227 * config/h8300/h8300.md (*iorhi3_zext): Remove.
228 (*iorsi3_zexthi): Likewise.
229 (*iorsi3_zextsi): Likewise.
230 (*xorhi3_zextqi): Likewise.
231 (*xorsi3_zexthi): Likewise.
232 (*xorsi3_zextsi): Likewise.
233 (*ixorhi3_zext): New.
234 (*ixorsi3_zext_qi): Likewise.
235 (*ixorsi3_zext_hi): Likewise.
236
237 2003-03-02 Neil Booth <neil@daikokuya.co.uk>
238
239 * c-incpath.c (remove_component_p, simplify_path): Move back to
240 cppfiles.c.
241 (remove_duplicates): Use cpp_simplify_path.
242 * c-incpath.h (simplify_path): Remove.
243 * c-lex.c: Don't include c-incpath.h.
244 (init_c_lex): Remove simplify_path.
245 * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
246 (find_or_create_entry, validate_pch): Revert.
247
248 2003-03-02 Ashif Harji <asharji@uwaterloo.ca>
249
250 * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
251 an external cpp during compilation.
252 (option_map): Likewise.
253 * objc/lang-specs.h (default_compilers): Similarly.
254 * doc/invoke.texi: Document -no-integrated-cpp flag.
255
256 2003-03-02 Kazu Hirata <kazu@cs.umass.edu>
257
258 * config/h8300/h8300.md (zero_extendqisi2): Change to an
259 expander.
260 (*zero_extendqisi2_h8300): New.
261 (*zero_extendqisi2_h8300hs): New.
262 (two splitters): New.
263
264 2003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
265
266 * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
267
268 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
269
270 * config/h8300/h8300.md (a peephole2): Remove dead code.
271
272 2003-03-01 Roger Sayle <roger@eyesopen.com>
273
274 PR c++/9367
275 * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
276 (BT_FN_INT_CONST_STRING_VALIST_ARG,
277 BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
278 BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
279 BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
280 BT_FN_INT_STRING_CONST_STRING_VAR,
281 BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
282 BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
283 * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
284 ATTR_NONNULL_3): Also include the nothrow attribute.
285 (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
286 vsnprintf, vscanf, vsscanf): Don't define attributes here.
287 * builtins.def (putchar, puts): Make full C89 built-ins.
288 (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
289 vsscanf, vsnprintf, vsprintf): New built-ins.
290 * c-common.c (c_common_nodes_and_builtins): Handle new macro
291 DEF_FUNCTION_TYPE_VAR_3.
292
293 * doc/extend.texi: Document these new built-in functions.
294
295 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
296
297 * config/h8300/h8300.md (a peephole2): New.
298
299 2003-03-01 Richard Earnshaw <rearnsha@arm.com>
300
301 * predict.c (estimate_bb_frequencies): Correctly set
302 real_values_initialized after initialization.
303
304 2003-03-01 Neil Booth <neil@daikokuya.co.uk>
305
306 * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
307 cppinit.o, cppdefault.o, fix-header): Update.
308 * c-incpath.c: New file.
309 * c-incpath.h: New file.
310 * c-lex.c: Include c-incpath.h.
311 (init_c_lex): Register path simplifier.
312 * c-opts.c: Include cppdefault.h and c-incpath.h.
313 (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
314 std_cxx_inc, quote_chain_split, add_prefixed_path): New.
315 (COMMAND_LINE_OPTIONS): Add more options from cpplib.
316 (missing_arg, c_common_decode_option): Handle them.
317 (c_common_post_options): Register include chains.
318 (print_help): Update.
319 * cppdefault.h (struct default include): Update.
320 Move some macros to ...
321 * cppdefault.c: ... here.
322 (cpp_include_defaults): Add extra field add_sysroot.
323 * cppfiles.c (include_file, search_from, find_or_create_entry,
324 cpp_included, find_include_file, remap_filename): Update for
325 renaming of search_path to cpp_path, and of the chain headers.
326 (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
327 * cpphash.h (struct search_path): Move to cpplib.h.
328 (struct cpp_buffer, struct cpp_reader): Update.
329 (_cpp_simplify_pathname): Remove.
330 * cppinit.c: Don't include prefix.h and cppdefault.h.
331 (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
332 remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
333 init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
334 no_pth, cpp_handle_options): Remove.
335 (struct pending_option): Remove chain members.
336 (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
337 cpp_handle_option): Update.
338 * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
339 (struct cpp_options): Remove quote_include, bracket_include,
340 include_prefix, include_prefix_len, verbose, ignore_srcdir,
341 no_standard_includes, no_standard_cplusplus_includes.
342 (struct cpp_callbacks): Add simplify_path.
343 (cpp_handle_options): Remove.
344 * fix-header.c: Include c-incpath.h.
345 (read_scan_file): Update to use c-incpath functionality.
346 * doc/passes.texi: Update.
347
348 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
349
350 * config/h8300/h8300.c (bit_operand): Accept MEM only if it
351 satisfies EXTRA_CONSTRAINT 'U'.
352
353 2003-03-01 Kazu Hirata <kazu@cs.umass.edu>
354
355 * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
356 register.
357 (*tst_extzv_memqi_1_n): Change to a splitter.
358 (a peephole2): Update.
359
360 2003-03-01 Richard Earnshaw <rearnsha@arm.com>
361
362 * predict.c (estimate_bb_frequencies): Initialize the sreal
363 constants once per compilation.
364
365 2003-02-28 Richard Henderson <rth@redhat.com>
366
367 * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
368
369 2003-02-28 scott snyder <snyder@fnal.gov>
370
371 * flags.h: Add flag_eliminate_unused_debug_types.
372 * toplev.c: Add flag_eliminate_unused_debug_types.
373 (f_options): Add -feliminate-unused-debug-types.
374 * dwarf2out.c (struct file_table): Add emitted member.
375 (splice_child_die): Fix the parent pointer for the child being
376 spliced.
377 (lookup_filename): Maintain file_table.emitted array. Don't
378 output .file directive here.
379 (maybe_emit_file): (new)
380 (init_file_table): Set up file_table.emitted.
381 (dwarf2out_source_line): Use maybe_emit_file.
382 (dwarf2out_start_source_file): Use maybe_emit_file.
383 (dwarf2out_init): Use maybe_emit_file.
384 (prune_unused_types_walk_attribs): (new)
385 (prune_unused_types_mark): (new)
386 (prune_unused_types_walk): (new)
387 (prune_unused_types_prune): (new)
388 (prune_unused_types): (new)
389 (dwarf2out_finish): Call prune_unused_types if
390 flag_eliminate_unused_debug_types is set.
391 * doc/invoke.texi (Option Summary): Add
392 -feliminate-unused-debug-types.
393 (Debugging Options): Likewise.
394
395 2003-02-28 Geoffrey Keating <geoffk@apple.com>
396
397 * doc/invoke.texi: Change .pch to .gch.
398 * cppfiles.c (open_file_pch): Likewise.
399 * gcc.c (default_compilers): Likewise.
400
401 2003-02-28 Aldy Hernandez <aldyh@redhat.com>
402
403 * floatlib.c: Remove.
404
405 2003-02-28 Jason Merrill <jason@redhat.com>
406
407 * stor-layout.c (variable_size): Leave a "minus 1" outside the
408 SAVE_EXPR.
409
410 2003-02-28 David Edelsohn <edelsohn@gnu.org>
411
412 * config/rs6000/power4.md: Add compare bypass.
413
414 2003-02-28 Jason Thorpe <thorpej@wasabisystems.com>
415
416 * config/netbsd.h: Update copyright years.
417 (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
418 -pthread is specified on the command line.
419
420 2003-02-28 Dale Johannesen <dalej@apple.com>
421
422 * loop.c (struct movable): Add insert_temp, shrink savemode.
423 (scan_loop): Accept invariants that require copying; mark as
424 insert_temp.
425 (combine_movables): Don't combine insert_temp movables.
426 (move_movables): Insert copies for insert_temp movables.
427 Don't record the info based on regno for insert_temp's.
428
429 2003-02-28 Joel Sherrill <joel@OARcorp.com>
430
431 PR 9638/other
432 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
433 this constant defaults to 1.
434
435 2003-02-28 Bob Wilson <bob.wilson@acm.org>
436
437 * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
438
439 2003-02-28 Richard Earnshaw <rearnsha@arm.com>
440
441 * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
442 ARMv5e processor, not just for XScale. Instructions are predicable.
443 (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
444
445 2003-02-28 Nick Clifton <nickc@redhat.com>
446
447 * config/arm/arm.c (note_invalid_constants): Change parameter type
448 from bool to int.
449
450 2003-02-28 Kazu Hirata <kazu@cs.umass.edu>
451
452 * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
453 test of bit 7.
454 (*tst_extzv_memqi_1_n): Likewise.
455 (a peephole2): New.
456
457 2002-02-28 Richard Sandiford <rsandifo@redhat.com>
458
459 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
460 #ifndef __mips16.
461
462 Fri Feb 28 11:09:14 CET 2003 Jan Hubicka <jh@suse.cz>
463
464 * combine.c (gen_lowpart_for_combine): Update handling of
465 subregs_of_mode
466 * flow.c (life_analysis, mark_used_regs): Likewise.
467 * regclass.c (subregs_of_mode): Turn into single bitmap.
468 (cannot_change-mode_set_regs, invalid_mode_change_p): Update
469 dealing with subregs_of_mode
470 * regs.h (subregs_of_mode): Update prototype.
471
472 2003-02-28 Josef Zlomek <zlomekj@suse.cz>
473
474 * emit-rtl.c (set_reg_attrs_for_parm): New function.
475 * rtl.h (set_reg_attrs_for_parm): New exported function.
476 * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
477 set_reg_attrs_from_mem.
478
479 2003-02-27 Roger Sayle <roger@eyesopen.com>
480 Zack Weinberg <zack@codesourcery.com>
481
482 * gcc.c (do_spec_1): Treat %U like %u for unique associations.
483
484 2003-02-27 Kazu Hirata <kazu@cs.umass.edu>
485
486 * reload1.c (sext_for_mode): Remove.
487 (reload_cse_move2add): Use trunc_int_for_mode instead of
488 sext_for_mode.
489 (move2add_note_store): Likewise.
490 Reset register information if we see a set in non-integer
491 mode.
492
493 2003-02-27 David Edelsohn <edelsohn@gnu.org>
494
495 * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
496 option.
497 (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
498 * config/rs6000/aix51.h: Same.
499 * config/rs6000/aix52.h: Same.
500 * config/rs6000/power4.md: Additional VMX bypasses.
501
502 2003-02-27 Geert Bosch <bosch@gnat.com>
503
504 * toplev.c (print_version): Add indentation for GGC heuristics and
505 output after printing version information.
506
507 2003-02-27 James E Wilson <wilson@tuliptree.org>
508
509 * combine.c (simplify_comparison): Require integral mode when
510 permuting SUBREG with AND.
511
512 2003-02-27 Steve Ellcey <sje@cup.hp.com>
513
514 * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
515
516 2003-02-27 Nick Clifton <nickc@redhat.com>
517
518 * config/arm/arm.md (extendsfdf2): Add pattern accidentally
519 deleted when cirrus instructions were added.
520
521 2003-02-27 Jason Thorpe <thorpej@wasabisystems.com>
522
523 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
524 POSIX thread support by default.
525
526 2003-02-27 Roger Sayle <roger@eyesopen.com>
527
528 * config/i386/cygwin.h: Don't include any other files directly.
529 * config/i386/mingw32.h: Don't include cygwin.h directly.
530 * config.gcc (cygwin, mingw32, uwin): Instead make these files
531 explicit in the tm_files variable.
532
533 2003-02-27 Alan Modra <amodra@bigpond.net.au>
534
535 * config/rs6000/rs6000.md: Add TI constant splitter.
536
537 2003-02-26 Alexandre Oliva <aoliva@redhat.com>
538
539 * builtins.c (purge_builtin_constant_p): Handle subreg of
540 constant_p_rtx too.
541
542 * function.c (assign_stack_local_1): Truncate constant added to
543 frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
544
545 2003-02-26 David Edelsohn <edelsohn@gnu.org>
546
547 * config.gcc: Add power4 to PowerPC with_cpu list.
548
549 Wed Feb 26 19:46:25 CET 2003 Jan Hubicka <jh@suse.cz>
550
551 * objc-act.c: (mark_referenced_methods): Fix compilation problem.
552
553 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
554
555 * gcov-dump.c (print_prefix): Fix signedness warning.
556 * gcov-io.h (struct counter_section, struct counter_section_data): New.
557 (struct function_info): n_arc_counts field removed, n_counter_sections,
558 counter_sections fields added.
559 (struct gcov_info): arc_counts, n_arc_counts fields removed,
560 n_counter_sections, counter_sections fields added.
561 * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
562 profile sections.
563 * profile.h (MAX_COUNTER_SECTIONS): New.
564 (struct section_info): New.
565 (struct profile_info): count_instrumented_edges,
566 count_edges_instrumented_now fields removed, n_sections, section_info
567 fields added.
568 (find_counters_section): Declare.
569 * profile.c (struct function_list): count_edges field removed,
570 n_counter_sections, counter_sections fields added.
571 (set_purpose, label_for_tag, build_counter_section_fields,
572 build_counter_section_value, build_counter_section_data_fields,
573 build_counter_section_data_value, build_function_info_fields,
574 build_function_info_value, build_gcov_info_fields,
575 build_gcov_info_value): New static functions.
576 (find_counters_section): New function.
577 (instrument_edges, get_exec_counts, compute_branch_probabilities,
578 branch_prob, create_profiler): Modified to support multiple profile
579 sections.
580
581 2003-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
582
583 * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
584 is 8 * STACK_BOUNDARY.
585 * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
586
587 2003-02-26 Michael Matz <matz@suse.de>
588
589 * ra-colorize.c (merge_moves): Fix list handling.
590
591 2003-02-26 Nick Clifton <nickc@redhat.com>
592
593 * config/arm/arm.c (is_load_address): Rename to...
594 (arm_memory_load_p) ... this and make it check for SUBREGs and
595 constant loads that will be converted into loads from the
596 minipool.
597 (is_cirrus_insn): Rename to ...
598 (arm_cirrus_insn_p): ... this, for consistency. Replace test
599 of CIRRUS_NO with CIRRUS_NOT.
600 (cirrus_reorg): Use renamed functions.
601 (note_invalid_constants): Change from a void function to bool.
602 Add an extra parameter, saying whether the fixups should be
603 pushed. Return true if fixups are needed.
604 (arm_reorg): Use renamed functions. Use INSN_P. Replace test
605 of CIRRUS_NO with CIRRUS_NOT.
606 * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
607 other floating point co-processors can also affect this.
608 * config/arm/arm.md ("type" attribute): Add mav_farith and
609 mav_dmult. Replace references to "cirrus_type" attribute with
610 "type".
611 * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
612 ("cirrus_type" attribute): Delete - use "type" instead.
613 ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
614 'normal'.
615
616 Tue Feb 25 22:46:27 CET 2003 Jan Hubicka <jh@suse.cz>
617
618 * objc-act.c: Include cgraph.h
619 (mark_referenced_methods): New function.
620 (objc_init): Call it.
621 * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
622
623 * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
624 mode.
625
626 * optabs.c (expand_fix): Do not widen the input operand.
627
628 * expr.c (emit_group_store): Fix crash when converting single
629 register into complex register.
630
631 * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
632 * alias.c: Include timevar.h
633 (init_alias_analysis): Set timevar
634 * jump.c: Include timevar.h
635 (rebuild_jump_labels): Set timevar
636 * regcalss.c: Include timevar.h
637 (reg_scan): Set timevar
638 * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
639
640 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
641
642 * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
643
644 * Makefile.in (loop-unroll.o): New.
645 * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
646 (unroll_and_peel_loops): Declare.
647 * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
648 flag_old_unroll_loops.
649 * loop.c (loop_invariant_p): Ditto.
650 * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
651 flag_old_unroll_all_loops.
652 * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
653 (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
654 * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
655 (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
656 PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
657 PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
658 PARAM_MAX_ONCE_PEELED_INSNS): New.
659 * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
660 (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
661 instead of old one.
662 (flag_peel_loops): New.
663 (lang_independent_options): The new flags added.
664 (rest_of_compilation): Call new unroller.
665 (process_options): Setup flags for coexistence of old and new unroller.
666 * doc/invoke.texi: Document new options.
667 * doc/passes.texi: Document new unroller pass.
668
669 2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com>
670
671 * fixinc/fixincl.x: Regenerate
672
673 2003-02-26 Josef Zlomek <zlomekj@suse.cz>
674
675 * function.c (assign_parms): Set reg_attrs for parameters passed in
676 registers.
677
678 2003-02-26 Alan Modra <amodra@bigpond.net.au>
679
680 PR target/9681
681 * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
682
683 2003-02-25 David Edelsohn <edelsohn@gnu.org>
684
685 * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
686 pseudo-op.
687
688 2003-02-25 Roger Sayle <roger@eyesopen.com>
689
690 * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P.
691 * cse.c (invalidate_skipped_set): Likewise.
692 * integrate.c (subst_constants): Likewise.
693 * jump.c (reversed_comparison_code_parts): Likewise.
694 * loop.c (canonicalize_condition): Likewise.
695 * simplify-rtx.c (simplify_relational_operation): Likewise.
696
697 2003-02-25 Roger Sayle <roger@eyesopen.com>
698
699 * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
700 (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use
701 the appropriate macro to define built-in function.
702 (fmod,fmodf,fmodl): New built-in functions.
703
704 * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
705
706 2003-02-25 Richard Henderson <rth@redhat.com>
707
708 * config/i386/i386.c (function_arg): Pass variable sized
709 structures correctly on the stack.
710
711 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
712
713 * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
714 does not reduce the cost of SET.
715
716 2003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
717
718 PR target/9732
719 * config/rs6000/rs6000.c (first_reg_to_save): Handle
720 PIC_OFFSET_TABLE_REGNUM for -fPIC too.
721 (rs6000_emit_prologue): Likewise.
722 (rs6000_emit_epilogue): Likewise.
723 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
724 PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
725
726 2003-02-25 Richard Henderson <rth@redhat.com>
727
728 * real.c (real_to_integer2): Force overflow result only for
729 unsigned overflow.
730
731 2003-02-25 Kazu Hirata <kazu@cs.umass.edu>
732
733 * gcse.c (cprop_jump): Revert the 2003-02-23 change.
734
735 2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
736 Richard Henderson <rth@redhat.com>
737
738 * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
739 there is no similar load.
740
741 2003-02-25 Vladimir Makarov <vmakarov@redhat.com>
742 Richard Henderson <rth@redhat.com>
743
744 * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
745 sched-rgn.c.
746 (add_forward_dependence): New function prototype.
747
748 * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
749 sched-init.h.
750 (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
751 them to haifa-sched.c.
752
753 * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
754 haifa_classify_insn): Move them from sched-rgn.c.
755
756 * sched-deps.c (add_dependence): Return flag of creating a new
757 entry.
758 (add_forward_dependence): New function.
759 (compute_forward_dependences): Use the function.
760
761 * sched-ebb.c (earliest_block_with_similiar_load): New function.
762 (add_deps_for_risky_insns): New function.
763 (schedule_ebb): Call the function.
764
765 2003-02-20 Aldy Hernandez <aldyh@redhat.com>
766
767 * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
768 TARGET_VECTOR_OPAQUE_P. Document accordingly.
769
770 * testsuite/gcc.dg/20030218-1.c: Check that initialization of
771 opaque types fail.
772
773 * c-typeck.c (comptypes): Change call to vector_types_compatible
774 to vector_opaque_p.
775 (convert_for_assignment): Call vector_opaque_p instead of
776 vector_types_compatible.
777 (really_start_incremental_init): Disallow initialization of opaque
778 types.
779
780 * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
781 Define TARGET_VECTOR_OPAQUE_P.
782 (TARGET_INITIALIZER): Same.
783
784 * target.h (struct gcc_target): Remove vector_types_compatible.
785 Add vector_opaque_p.
786
787 * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
788 Remove.
789 (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
790 a vector type. Change return type to bool.
791 (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
792 (TARGET_VECTOR_OPAQUE_P): Define.
793
794 * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
795 target hook.
796 Include target.h.
797 (cp_parser_init_declarator): Fix typo in function comments.
798
799 Tue Feb 25 12:35:34 CET 2003 Jan Hubicka <jh@suse.cz>
800
801 * Makefile.in (lcm.o): Add dependency on function.h
802 * lcm.c (function.h): Include.
803 * i386.c (machine_function, ix86_stack_locals,
804 * ix86_save_varrargs_registers) : Move to
805 ...
806 * i386.h (machine_function, ix86_stack_locals,
807 ix86_save_varrargs_registers): ... here; add optimize_mode_switching
808 (ix86_optimize_mode_switching): New.
809 * i386.md (fix patterns): Set ix86_optimize_mode_switching
810
811 2003-02-25 Nick Clifton <nickc@redhat.com>
812
813 * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name
814 of fourth arg is 'fndecl' not 'indirect'. Update comment
815 describing the function's parameters.
816
817 Mon Feb 24 22:08:22 CET 2003 Jan Hubicka <jh@suse.cz>
818
819 * combine.c (simplify_shift_const): Fix previous patch.
820
821 2003-02-24 Jeff Law <law@redhat.com>
822
823 * i386.md (testdi_1_rex64): Discourage reload from using the %eax
824 alternative.
825 (testsi_1, testhi_1, testqi_1): Likewise.
826
827 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
828
829 * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
830 __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
831 * doc/extend.texi (Tru64 Pragmas): Reflect this.
832
833 * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
834 extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
835 * fixinc/fixincl.x: Regenerate.
836 * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
837 testcase.
838 Fixes PR c/5059, c/6126, other/9671.
839
840 2003-02-24 Roger Sayle <roger@eyesopen.com>
841
842 * gcc.c (do_spec_1) ['{']: Handle pending argument upon return
843 from handle_braces in "%{...}".
844
845 2003-02-24 Kaz Kojima <kkojima@gcc.gnu.org>
846
847 * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
848 (prepare_move_operands): Handle TLS operands.
849 (tls_symbolic_operand): New.
850 (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
851 (legitimize_pic_address): Do nothing for the TLS symbol.
852 (sh_encode_section_info): Handle TLS case.
853 (sh_strip_name_encoding): Drop TLS encoding.
854 * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
855 * config/sh/sh.h (SH_TLS_ENCODING): Define.
856 (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
857 (ASM_OUTPUT_LABELREF): Drop TLS encoding.
858 (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
859 * config/sh/sh.md: Define TLS UNSPEC constants.
860 (type): Add tls_load.
861 ("tls_global_dynamic", "tls_local_dynamic"): New insns.
862 ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
863 ("tls_initial_exec"): New insn.
864 ("sym2TPOFF", "symTPOFF2reg"): New expanders.
865 ("load_gbr"): New insn.
866
867 * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
868 * configure: Regenerate.
869
870 2003-02-24 Alan Modra <amodra@bigpond.net.au>
871
872 PR 9297, PR 9722
873 * calls.c (store_one_arg): Revert 1999-02-16 change. Revert
874 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr.
875 * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
876 (enum block_op_methods): Reorder for better store_expr optimization.
877 * expr.c (store_expr): Test bit 1 of "want_value" for call param
878 stores, test bit 0 for original want_value meaning. Pass
879 BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust
880 recursive calls, and calls to expand_param.
881 (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse
882 expected, set target to 0 rather than to subtarget. Formatting.
883
884 2003-02-23 Kazu Hirata <kazu@cs.umass.edu>
885
886 * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
887
888 2003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
889
890 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
891 new default behavior.
892 * ggc-common.c: Include sys/resource.h.
893 (ggc_rlimit_bound): New function.
894 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
895 defaults to account for rlimits.
896
897 2003-02-22 Richard Henderson <rth@redhat.com>
898
899 * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
900
901 2003-02-22 Kelley Cook <kelley@dwhoops.info>
902
903 * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
904 (ix86_tune_string): Rename from ix86_cpu_string.
905
906 2003-02-22 Kelley Cook <kelleycook@comcast.net>
907
908 * config/i386/i386.c: Replace "mcpu" with "mtune".
909 * config/i386/i386.h (TARGET_OPTIONS): Likewise.
910 (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
911 * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
912 with "mtune". Note that "mcpu" is a deprecated synonym for "mtune".
913
914 2003-02-23 Andreas Schwab <schwab@suse.de>
915
916 * config.gcc: Delete references to m68k/t-linux and
917 m68k/t-linux-aout.
918 * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
919
920 Sat Feb 22 20:22:19 CET 2003 Jan Hubicka <jh@suse.cz>
921
922 * toplev.c (rest_of_compilation): Apply fotgotten hunk
923 of track scheduling patch.
924
925 Sat Feb 22 19:29:28 CET 2003 Jan Hubicka <jh@suse.cz>
926
927 * config/linux.h (TARGET_HAS_F_SETLKW): Define.
928 * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
929
930 Sat Feb 22 12:42:16 CET 2003 Jan Hubicka <jh@suse.cz>
931
932 * c-decl.c (c_expand_body_1): Fix.
933
934 Sat Feb 22 03:13:36 CET 2003 Jan Hubicka <jh@suse.cz>
935
936 * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
937
938 * cfgcleanup.c (try_forward_edges): Don't check loop structures
939 when not optimizing.
940 (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
941 when not expensive.
942 * toplev.c (rest_of_compilation): Duplicate loop headers only when
943 optimizing; Delete trivially dead insns early; fix optimize check.
944
945 * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
946 dependency on cgraph.h
947 * c-decl.c: Include cgraph.h
948 (finish_function): Update call of tree_inlinable_function_p.
949 * c-objc-common.c: Include cgraph.h
950 * cgraph.h: New file.
951 * cgraphunit.c: New file.
952 * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
953 (cgraph_nodes, cgraph_n_nodes): Globalize.
954 (cgraph_finalize_function, cgraph_finalize_compilation_unit
955 cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
956 Move into cgraphunit.c
957 * tree-inline.c: Include cgraph.h
958 * tree-inline.c: Include cgraph.h
959
960 2003-02-22 Josef Zlomek <zlomekj@suse.cz>
961
962 * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
963 for copying a register.
964
965 2003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
966
967 PR other/3782
968 * toplev.c (process_options): If flag_detailed_statistics is set,
969 then set time_report as well.
970
971 PR c/8828
972 * jump.c (never_reached_warning): Don't fall through BARRRIER
973 insns. Update comments to reflect what the function really does.
974
975 2003-02-21 Roger Sayle <roger@eyesopen.com>
976
977 * fold-const.c (omit_one_operand): No longer static.
978 * tree.h (omit_one_operand): Prototype here.
979 (div_and_round_double): Keep fold-const.c prototypes together.
980 * builtins.c (builtin_mathfn_code): Handle binary built-in
981 funtions, such as "pow" and "atan2".
982 (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
983 Simplify optimizations using "type" the builtin's return type.
984
985 2003-02-22 Hans-Peter Nilsson <hp@axis.com>
986
987 * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
988 Fix functionalization typo.
989
990 * regmove.c (optimize_reg_copy_1): Do not replace a hard register
991 in an asm.
992
993 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
994
995 * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
996 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
997 documentation.
998 * ggc-common.c: Include params.h
999 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
1000 init_ggc_heuristics): New functions.
1001 * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
1002 init_ggc_heuristics): Prototype.
1003 * toplev.c (print_version): Output GGC heuristics.
1004 (parse_options_and_default_flags): Call init_ggc_heuristics.
1005
1006 Sat Feb 22 02:35:07 CET 2003 Jan Hubicka <jh@suse.cz>
1007
1008 * i386.c (def_builtin): Special case 64bit builtins.
1009 (MASK_SSE164, MASK_SSE264): New constants.
1010 (builtin_description): Add 64bit builtins.
1011 (ix86_init_mmx_sse_builtins): Likewise.
1012 * i386.h (enum ix86_builtins): Likewise.
1013 * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
1014 sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
1015 (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
1016 * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
1017 * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
1018 _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
1019 _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
1020
1021 Sat Feb 22 00:48:22 CET 2003 Jan Hubicka <jh@suse.cz>
1022
1023 * i386.c (builtin_description): Add __builtin_ia32_paddq and
1024 __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
1025 and __builtin_ia32_psubq128.
1026 * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
1027 * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
1028 (mmx_adddi3, mmx_subdi3): New.
1029 * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
1030 * xmmintrin.h (_mm_movepi64_pi64): New.
1031 (_mm_add_epi64, _mm_sub_epi64): fix.
1032 (_mm_mul_pu16): Rename to...
1033 (_mm_mul_su32): ... this one.
1034
1035 * builtins.c (expand_builtin_expect): Do not predict
1036 flag_guess_branch_prob is not set.
1037 * c-semantics.c (expand_stmt): Likewise.
1038 * predict.c (predict_insn): Likewise.
1039 * stmt.c (expand_continue_loop): Likewise.
1040 * toplev.c (rest_of_compilation): Do not call
1041 note_prediction_to_br_prob and note_prediction_to_br_prob
1042 when not optimizing.
1043
1044 Fri Feb 21 23:10:13 CET 2003 Jan Hubicka <jh@suse.cz>
1045
1046 * cfgrtl.c (commit_edge_insertions): Call
1047 find_many_sub_basic_block only when some code has been emitted.
1048 (commit_edge_insertions_watch_calls): Bring into sync with
1049 commit_edge_insertions
1050
1051 Fri Feb 21 20:41:29 2003 J"orn Rennecke <joern.rennecke@superh.com>
1052
1053 * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
1054
1055 * sh.md (binary_sf_op): Use extra constant operand instead of
1056 negating constant operand 4.
1057 * sh.c (sh_expand_binop_v2sf): Supply it.
1058
1059 2003-02-21 Zack Weinberg <zack@codesourcery.com>
1060
1061 * cpphash.h (struct lexer_state): Add directive_wants_padding.
1062 * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
1063 for directives of type INCL.
1064 (glue_header_name, parse_include): Use get_token_no_padding.
1065 * cppmacro.c (replace_args): If directive_wants_padding,
1066 provide padding tokens.
1067
1068 2003-02-21 Kazu Hirata <kazu@cs.umass.edu>
1069
1070 * config/h8300/h8300.md (a peephole2): New.
1071
1072 Fri Feb 21 11:05:44 CET 2003 Jan Hubicka <jh@suse.cz>
1073
1074 * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
1075 (commit_edge_insertions): Call find_many_sub_basic_blocks
1076
1077 * reg-stack.c (convert_regs): Cleax aux for blocks.
1078
1079 Fri Feb 21 10:29:52 CET 2003 Jan Hubicka <jh@suse.cz>
1080
1081 * toplev.c (parse_options_and_default_flags): Undo accidental commit.
1082
1083 2003-02-21 Glen Nakamura <glen@imodulo.com>
1084
1085 PR optimization/8613
1086 * builtins.c (expand_builtin): Emit postincrements before expanding
1087 builtin functions.
1088
1089 2003-02-21 Ben Elliston <bje@redhat.com>
1090
1091 PR other/5634
1092 * doc/install.texi (Configuration): Explain using $HOME instead of
1093 the ~ metacharacter when referring to home directories.
1094
1095 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1096
1097 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1098 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1099 '${exec_prefix}' (in addition to the expansion thereof) as
1100 relocatable.
1101 * configure: Rebuilt.
1102
1103 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
1104
1105 * config/h8300/h8300.md (addhi3_incdec): Change the name to
1106 *addhi3_incdec.
1107 (addsi3_incdec): Change the name to *addsi3_incdec.
1108
1109 2003-02-20 Roger Sayle <roger@eyesopen.com>
1110
1111 * explow.c (force_reg): Avoid useless REG_EQUAL notes.
1112
1113 2003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
1114
1115 PR fortran/9038
1116 * c-opts.c (sanitize_cpp_opts): Add Fortran front end
1117 options to be ignored.
1118 (c_common_decode_option): Ignore them when preprocessing.
1119
1120 Thu Feb 20 21:41:19 CET 2003 Jan Hubicka <jh@suse.cz>
1121
1122 * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
1123 global variables.
1124 (lang_independent_options): Add -fsched2-use-superblocks
1125 -fsced2-use-traces.
1126 (rest_of_compilation): Deal with it.
1127 * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
1128 * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
1129 Declare.
1130 * rtl.h (reg_to_stack): Update prototype.
1131 * reg-stack.c (reg_to_stack): Return when something has changed;
1132 update liveness when executing after superblock scheduling.
1133
1134 * combine.c (simplify_shift_const): Simplify few special cases
1135 into constants.
1136
1137 2003-02-20 David Edelsohn <edelsohn@gnu.org>
1138
1139 * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
1140 (add.,subf.,neg.): Change attribute to fast_compare.
1141 All DFA descriptions updated.
1142
1143 2003-02-20 Nathan Sidwell <nathan@codesourcery.com>
1144
1145 Change base class access representation.
1146 * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
1147 TREE_VIA_PRIVATE): Remove.
1148 (BINFO_BASEACCESSES): New binfo elt.
1149 (BINFO_BASEACCESS): New accessor.
1150 (BINFO_ELTS): Increase.
1151 (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
1152 (access_public_node, access_protected_node,
1153 access_private_node): New global nodes.
1154 * tree.c (build_common_tree_nodes_2): Initialize access nodes.
1155 * dbxout.c (dbxout_type): Adjust.
1156 * dwarf2out.c (gen_inheritance_die): Add access parameter.
1157 (gen_member_die): Adjust.
1158 * dwarfout.c (output_inheritance_die): ARG is array of two trees.
1159 (output_type): Adjust.
1160 * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
1161
1162 Change base class access representation. Share virtual base
1163 binfos.
1164 * cp/call.c (build_special_member_call): Remove binfo_for_vbase
1165 call.
1166 * cp/class.c (build_base_path): Likewise.
1167 (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
1168 (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
1169 (make_new_vtable): Adjust.
1170 (force_canonical_binfo_r): Delete.
1171 (force_canonical_binfo): Delete.
1172 (mark_primary_virtual_base): Delete.
1173 (dfs_unshared_virtual_bases): Delete.
1174 (mark_primary_bases): Adjust.
1175 (maybe_warn_about_overly_private_class): Adjust.
1176 (dfs_base_derived_from): Delete.
1177 (base_derived_from): Follow the inheritance chain.
1178 (struct find_final_overrider_data): Add vpath member.
1179 (dfs_find_final_overrider): Adjust.
1180 (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
1181 (find_final_overrider): Adjust.
1182 (update_vtable_entry_for_fn): Adjust.
1183 (modify_all_vtables): Adjust.
1184 (walk_subobject_offsets): Adjust.
1185 (layout_nonempty_base_or_field): Adjust.
1186 (layout_empty_base): Remove last parameter. Adjust.
1187 (build_base_field): Adjust.
1188 (build_base_fields): Adjust.
1189 (propagate_binfo_offsets): Remove last parameter. Adjust.
1190 (dfs_set_offset_for_unshared_vbases): Delete.
1191 (layout_virtual_bases): Adjust.
1192 (finish_struct_1): Adjust.
1193 (init_class_processing): Don't init access nodes.
1194 (dfs_get_primary_binfo): Delete.
1195 (get_primary_binfo): Adjust.
1196 (dump_class_hierarchy_r): Remove most derived arg, add IGO
1197 parameter. Adjust.
1198 (dump_class_hierarchy): Adjust.
1199 (finish_vtbls): Adjust.
1200 (get_original_base): Delete.
1201 (build_vtt_inits): Adjust.
1202 (dfs_build_secondary_vptr_vtt_inits): Adjust.
1203 (dfs_ctor_vtable_bases_queue_p): Adjust.
1204 (build_ctor_vtbl_group): Adjust.
1205 (dfs_accumulate_vtbl_inits): Adjust.
1206 (build_vtbl_initializer): Adjust.
1207 (build_vbase_offset_vtbl_entries): Adjust.
1208 (add_vcall_offset_vtbl_entries_1): Adjust.
1209 * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
1210 (access_*_node): Remove.
1211 (CANONICAL_BINFO): Delete.
1212 (BINFO_UNSHARED_MARKED): Remove.
1213 (BINFO_MARKED): Set LANG_FLAG_0 directly.
1214 (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
1215 (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
1216 (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
1217 Delete.
1218 (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
1219 (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
1220 (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
1221 Delete.
1222 (BINFO_DEPENDENT_BASE_P): New.
1223 (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
1224 index.
1225 (markedp, unmarkedp): Adjust.
1226 (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
1227 dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
1228 find_vbase_instance, binfo_for_vbase): Delete.
1229 (copied_binfo, original_binfo): Declare.
1230 (finish_base_specifier): Add virtual_p arg.
1231 (unshare_base_binfos): Delete.
1232 (copy_base_binfos): Declare.
1233 (reverse_path): Delete.
1234 * cp/decl.c (xref_basetypes): Access and virtuality passed
1235 differently. Don't copy direct base binfos here. Call
1236 copy_base_binfos.
1237 * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
1238 (initialize_vtbl_ptrs): Adjust.
1239 (expand_member_init): Adjust.
1240 * cp/parser.c (cp_parser_base_specifier): Adjust.
1241 * cp/pt.c (instantiate_class_template): Adjust.
1242 (get_template_base_recursive): Adjust.
1243 * cp/rtti.c (get_pseudo_ti_init): Adjust.
1244 (get_pseudo_ti_desc): Adjust.
1245 * cp/tree.c (unshare_base_binfos): Rename to ...
1246 (copy_base_binfos): ... here, reimplement.
1247 (make_binfo): Set BINFO_DEPENDENT_BASE_P.
1248 (reverse_path): Remove.
1249 * cp/typeck.c (get_delta_difference): Adjust error messages.
1250 * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
1251 * cp/search.c (lookup_base_r): Adjust.
1252 (dynamic_cast_base_recurse): Adjust.
1253 (canonical_binfo): Remove.
1254 (dfs_canonical_queue): Remove.
1255 (dfs_assert_unmarked_p): Remove.
1256 (assert_canonical_unmarked): Remove.
1257 (shared_marked_p, shared_unmarked_p): Remove.
1258 (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
1259 (dfs_access_in_type): Adjust.
1260 (access_in_type): Adjust.
1261 (dfs_accessible_queue_p): Adjust.
1262 (dfs_accessible_p): Adjust.
1263 (is_subobject_of_p_1, is_subobject_of_p): Remove.
1264 (struct lookup_field_info): Remove from_dep_base_p field.
1265 (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
1266 (lookup_field_r): Remove dependent base code.
1267 (lookup_member): Likewise.
1268 (dfs_walk, dfs_walk_real): Add access arg to queue fn.
1269 (dfs_unmarked_real_bases_queue_p): Remove.
1270 (dfs_marked_real_bases_queue_p): Remove.
1271 (dfs_skip_vbases): Remove.
1272 (dfs_get_pure_virtuals): Adjust.
1273 (markedp, unmarkedp): Adjust.
1274 (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
1275 (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
1276 (dfs_unmark): Adjust.
1277 (dfs_get_vbase_types):Remove.
1278 (dfs_build_inheritance_graph_order): Remove.
1279 (get_vbase_types): Remove
1280 (dfs_find_vbase_instance): Remove.
1281 (find_vbase_instance): Remove.
1282 (dfs_debug_unmarkedp): Adjust.
1283 (dependent_base_p): Remove.
1284 (dfs_push_type_decls): Adjust.
1285 (dfs_push_decls): Adjust.
1286 (dfs_no_overlap_yet): Adjust.
1287 (copied_binfo): New function.
1288 (original_binfo): New function.
1289 (binfo_for_vbase): Remove.
1290
1291 Change base class access representation.
1292 * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
1293 (add_interface_do): Likewise.
1294
1295 2003-02-20 David Edelsohn <edelsohn@gnu.org>
1296
1297 * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
1298 * config/rs6000/power4.md (power4-store,power4-vecstore): New
1299 insn reservations.
1300 (power4-fpstore): Compact.
1301
1302 2003-02-20 Kazu Hirata <kazu@cs.umass.edu>
1303
1304 * config/h8300/h8300.md (*iorsi3_w): New.
1305
1306 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
1307
1308 * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
1309 * rtl.c (reg_note_name): Likewise.
1310 * rtl.h (enum reg_note): Likewise.
1311 * doc/invoke.texi: Likewise.
1312 * doc/rtl.texi: Likewise.
1313
1314 2003-02-20 Josef Zlomek <zlomekj@suse.cz>
1315
1316 * bb-reorder.c (find_traces_1_round): Fix comment typo.
1317
1318 2003-02-19 Roger Sayle <roger@eyesopen.com>
1319
1320 * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
1321 addition in the presence of signaling NaNs.
1322
1323 2003-02-19 Krister Walfridsson <cato@df.lth.se>
1324
1325 * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
1326
1327 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
1328
1329 * config/h8300/h8300.c (output_logical_op): Optimize or.l when
1330 ORing with 0xffff??00 with the highest bit of the ?? part set.
1331 (compute_logical_op_length): Update.
1332 (compute_logical_op_cc): Likewise.
1333
1334 2003-02-19 Josef Zlomek <zlomekj@suse.cz>
1335
1336 * bb-reorder.c (find_traces_1_round): Fixed condition for small
1337 destination block with multiple predecessors.
1338 (connect_traces): Check whether the block is a start of trace.
1339
1340 Wed Feb 19 19:00:24 CET 2003 Jan Hubicka <jh@suse.cz>
1341
1342 * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
1343 * function.c (assign_params): Likewise.
1344 * arm-protos.h (arm_init_cumulative_args): Update prototype.
1345 * arm.c (arm_init_cumulative_args): Update function.
1346 * arm.h (INIT_CUMULATIVE_ARGS): Update.
1347 * avr-protos.h (init_cumulative_args): Update prototype.
1348 * avr.c (init_cumulative_args): Update function.
1349 * avr.h (INIT_CUMULATIVE_ARGS): Update.
1350 * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
1351 * d30v.c (d30v_init_cumulative_args): Update function.
1352 * d30v.h (INIT_CUMULATIVE_ARGS): Update.
1353 * frv-protos.h (frv_init_cumulative_args): Update prototype.
1354 * frv.c (frv_init_cumulative_args): Update function.
1355 * frv.h (INIT_CUMULATIVE_ARGS): Update.
1356 * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
1357 * pa.h (INIT_CUMULATIVE_ARGS): Update.
1358 * sparc-protos.h (init_cumulative_args): Update prototype.
1359 * sparc.c (init_cumulative_args): Update function.
1360 * sparc.h (INIT_CUMULATIVE_ARGS): Update.
1361 * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
1362
1363 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
1364
1365 * config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
1366 (*ashiftsi_sextqi_7): Likewise.
1367
1368 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1369
1370 * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
1371 ISO C99 and C++.
1372
1373 * fixinc/inclhack.def (irix___restrict): Don't change __restrict
1374 for C++ on IRIX 6.5.1[89].
1375 * fixinc/tests/base/internal/sgimacros.h: New file.
1376
1377 * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
1378 * fixinc/tests/base/internal/wchar_core.h: New file.
1379
1380 * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
1381 socklen_t definition.
1382 * fixinc/fixincl.x: Regenerate.
1383 * fixinc/tests/base/sys/socket.h: New file.
1384 Fixes PR libgcj/9652.
1385
1386 Wed Feb 19 17:22:51 CET 2003 Jan Hubicka <jh@suse.cz>
1387
1388 * i386.md (movsfcc_1, movdfcc_1): Fix constrains.
1389
1390 2003-02-19 David Edelsohn <edelsohn@gnu.org>
1391
1392 * config/rs6000/rs6000.c (rs6000_override_options): Initialize
1393 align_jumps_max_skip and align_loops_max_skip.
1394
1395 2003-02-19 Thierry Moreau <thierry.moreau@connotech.com>
1396
1397 * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
1398 test size if named section.
1399
1400 2003-02-19 Daniel Jacobowitz <drow@mvista.com>
1401
1402 * expr.c (expand_expr): Use gen_int_mode for the argument
1403 to gen_rtx_MULT.
1404
1405 Wed Feb 19 14:22:42 CET 2003 Jan Hubicka <jh@suse.cz>
1406
1407 * i386.md (cosxf2): Fix conditional.
1408
1409 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
1410
1411 * config/h8300/h8300.md (extendqisi2): Change to an expander.
1412 (*extendqisi2_h8300): New.
1413 (*extendqisi2_h8300hs): Likewise.
1414
1415 2003-02-19 Kazu Hirata <kazu@cs.umass.edu>
1416
1417 * config/h8300/h8300-protos.h: Update the prototype for
1418 split_adds_subs. Remove the prototypes for
1419 const_int_le_2_operand and const_int_le_6_operand.
1420 * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
1421 (const_int_le_2_operand): Remove.
1422 (const_int_le_6_operand): Likewise.
1423 * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
1424 for const_int_le_2_operand and const_int_le_6_operand.
1425 * config/h8300/h8300.md: Update all uses of split_adds_subs.
1426 (a peephole2): New.
1427
1428 Tue Feb 18 23:50:59 CET 2003 Jan Hubicka <jh@suse.cz>
1429
1430 * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
1431 (cgraph_expand_function): Rewrite.
1432
1433 2003-02-18 Matt Austern <austern@apple.com>
1434
1435 * toplev.c, langhooks.c, langhooks-def.h: Move
1436 write_global_declarations from toplev.c to langhooks.c.
1437
1438 2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
1439
1440 * config/h8300/h8300.c (general_operand_src): Always check
1441 MODE.
1442 (general_operand_dst): Likewise.
1443
1444 2003-02-18 Roger Sayle <roger@eyesopen.com>
1445
1446 * convert.c (convert_to_real): Also optimize (float)log(x) into
1447 logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
1448
1449 2003-02-18 Kaz Kojima <kkojima@gcc.gnu.org>
1450
1451 * config/sh/sh.c (unspec_caller_rtx_p): New.
1452 (sh_cannot_copy_insn_p): New.
1453 (TARGET_CANNOT_COPY_INSN_P): New.
1454
1455 2003-02-18 Richard Henderson <rth@redhat.com>
1456
1457 * c-common.c (handle_used_attribute): Accept static data too.
1458
1459 2003-02-18 Nick Clifton <nickc@redhat.com>
1460 Aldy Hernandez <aldyh@redhat.com>
1461
1462 * testsuite/gcc.dg/20030218-1.c: New.
1463
1464 * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
1465
1466 * target-def.h (TARGET_INITIALIZER): Add
1467 TARGET_VECTOR_TYPES_COMPATIBLE.
1468 (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
1469
1470 * target.h (struct gcc_target): Add field vector_types_compatible.
1471
1472 * c-typeck.c (comptypes): Take into account
1473 TARGET_VECTOR_TYPES_COMPATIBLE.
1474 (convert_for_assignment): Same.
1475
1476 * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
1477 (rs6000_spe_vector_types_compatible): New.
1478 (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
1479
1480 2003-02-19 Andreas Schwab <schwab@suse.de>
1481
1482 * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
1483 * toplev.c: Include langhooks-def.h.
1484
1485 2003-02-18 Chris Demetriou <cgd@broadcom.com>
1486
1487 * config/mips/mips.h (enum processor_type): Sort entries
1488 alphabetically.
1489 * config/mips/mips.md (define_attr cpu): Sync with processor_type
1490 enum values, including adding entries that were missing.
1491
1492 Tue Feb 18 20:15:54 2003 J"orn Rennecke <joern.rennecke@superh.com>
1493
1494 * sh.c (calc_live_regs): Also check GET_CODE when checking if
1495 initial value for PR_REG is still the PR_REG register.
1496
1497 2003-02-18 Jim Wilson <wilson@redhat.com>
1498
1499 * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
1500 instruction in output template.
1501 (bsp_value): Change output template from string to C code, add %,
1502 before actual instruction.
1503 (flushrs): Mark as not predicable.
1504
1505 2003-02-18 Krister Walfridsson <cato@df.lth.se>
1506
1507 * inclhack.def (netbsd_bogus_semicolon): New fix.
1508 * fixincl.x: Rebuilt.
1509 * tests/base/ctype.h: Update.
1510
1511 2003-02-18 Roger Sayle <roger@eyesopen.com>
1512
1513 * fold-const.c (negate_expr_p): New function to determine whether
1514 an expression can be negated cheaply.
1515 (fold) [MINUS_EXPR]: Use it to determine whether to transform
1516 -A - B into -B - A for floating point types.
1517
1518 2003-02-18 Roger Sayle <roger@eyesopen.com>
1519
1520 * sbitmap.c (sbitmap_resize): New function.
1521 * sbitmap.h (sbitmap_resize): Prototype here.
1522 * recog.c (split_all_insns): Use sbitmap_resize.
1523
1524 2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
1525
1526 * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
1527 insn length.
1528 (extendqisi2): Likewise.
1529 (*extendhisi2_h8300): Likewise.
1530
1531 2003-02-18 Matt Austern <austern@apple.com>
1532
1533 * langhooks.h, langhooks-def.h: introduce new langhook,
1534 final_write_globals, with write_global_declarations as default.
1535 * toplev.c: Move invocation of wrapup_global_declarations from
1536 compile_file to new function, write_global_declarations. Change
1537 compile_file to use final_write_globals hook. Change
1538 wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
1539 conditional.
1540
1541 2003-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1542
1543 * pa.md: Correct and enhance comment.
1544
1545 2003-02-18 Geoffrey Keating <geoffk@apple.com>
1546
1547 * gcc.c (validate_switches): Don't scan past closing '}'.
1548
1549 2003-02-18 Ben Elliston <bje@redhat.com>
1550
1551 PR c++/1607
1552 * doc/extend.texi (Function Attributes): Document the effect of
1553 the C++ "this" parameter on the counting of arguments for the
1554 "format" and "format_arg" attributes.
1555
1556 2003-02-17 Aldy Hernandez <aldyh@redhat.com>
1557
1558 * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
1559 (__ev_stdw): Same.
1560 (__ev_stdh): Same.
1561
1562 Mon Feb 17 16:16:54 CET 2003 Jan Hubicka <jh@suse.cz>
1563
1564 * recog.c (split_all_insns): Fix memory overflow.
1565
1566 2003-02-17 Kazu Hirata <kazu@cs.umass.edu>
1567
1568 * config/h8300/h8300.md (cmpqi): Remove mode from compare.
1569 (cmphi): Likewise.
1570 (*cmphi_h8300): Likewise.
1571 (*cmphi_h8300hs): Likewise.
1572 (cmpsi): Likewise.
1573 (7 peephole2): Likewise.
1574
1575 Sun Feb 16 23:07:52 CET 2003 Jan Hubicka <jh@suse.cz>
1576
1577 * c-typeck.c (build_c_cast): Fold constant variables into
1578 initial values.
1579
1580 2003-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1581
1582 * doc/install.texi (Specific): Fix link for m68k-att-sysv.
1583 (Binaries): Ditto for Sinix/Reliant Unix.
1584
1585 2003-02-16 Richard Earnshaw <rearnsha@arm.com>
1586
1587 * arm.c (arm_reload_in_hi): Ensure that the scratch register does
1588 not overlap the final result register.
1589
1590 2003-02-16 Arend Bayer <arend.bayer@web.de>
1591 Richard Henderson <rth@redhat.com>
1592
1593 PR c/8068
1594 * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
1595 rearrange mult arguments for less recursion.
1596 (extract_muldiv): New. Prevent runaway recursion.
1597
1598 2003-02-16 Danny Smith <dannysmith@users.sourceforge.net>
1599
1600 * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
1601 MASK_ALIGN_DOUBLE.
1602
1603 2003-02-15 Roger Sayle <roger@eyesopen.com>
1604
1605 * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
1606 to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
1607 (ext_80387_constants_table): Global table of 80387 special constants
1608 guarded by ext_80387_constants_init flag when not initialized.
1609 (init_ext_80387_constants): New function to initialize this table.
1610 (standard_80387_constant_p): Extend to recognize extra 80387
1611 constants, in XFmode, on processors where this is a win.
1612 (standard_80387_constant_opcode): New function to return the
1613 opcode associated with standard_80387_constant_p.
1614 (standard_80387_constant_rtx): New function to return the XFmode
1615 CONST_DOUBLE associated with standard_80387_constant_p.
1616 (ix86_rtx_costs): Give the new constants the same cost as 1.0.
1617
1618 * config/i386/i386-protos.h (standard_80387_constant_opcode):
1619 Prototype here.
1620 (standard_80387_constant_rtx): Likewise.
1621
1622 * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
1623 *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
1624 *movtf_integer): Simplify using new standard_80387_constant_opcode.
1625
1626 2003-02-15 Geoffrey Keating <geoffk@apple.com>
1627
1628 * doc/invoke.texi (Optimize Options): Correct @option syntax.
1629
1630 2003-02-15 Richard Henderson <rth@redhat.com>
1631
1632 * Makefile.in (cfglayout.o): Depend on TARGET_H.
1633 * cfglayout.c: Include target.h.
1634 (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
1635 * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
1636 * target.h (struct gcc_target): Add cannot_copy_insn_p.
1637
1638 * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
1639 (TARGET_CANNOT_COPY_INSN_P): New.
1640 (override_options): Revert 2003-02-08 hack.
1641
1642 2003-02-15 Richard Henderson <rth@redhat.com>
1643
1644 * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
1645 (bypass_conditional_jumps): Accept computed_jump_p insns as well.
1646
1647 2003-02-15 David Edelsohn <edelsohn@gnu.org>
1648
1649 * config/rs6000/rs6000.h (processor_type): Add PPC440.
1650 * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
1651 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
1652 TARGET_SCHED_VARIABLE_ISSUE): Define.
1653 (rs6000_use_dfa_pipeline_interface): New function.
1654 (rs6000_multipass_dfa_lookahead): New Function.
1655 (rs6000_variable_issue): New function.
1656 (rs6000_adjust_cost): Add CMP and DELAYED_CR types.
1657 (rs6000_issue_rate): Add PPC440.
1658 * config/rs6000/rs6000.md (unspec list): Correct typo.
1659 (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
1660 store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
1661 cmp, delayed_cr, mfcr, mtcr.
1662 (automata_option): Set "ndfa".
1663 (extendMMNN2): Update attributes.
1664 (movcc_internal1): Discourage move to non-cr0. Update
1665 attributes.
1666 (movMM_update): Update attributes.
1667 (cmpMM_internal): Update attributes.
1668 (sCC CR materialization): Update attributes.
1669 (branch patterns): Do not discourage non-cr0.
1670 (cr logical patterns): Prefer destructive register allocation.
1671 Update attributes.
1672 (movesi_from_cr): Update attribute.
1673 (mtcrf_operation): Update attribute.
1674 (mtcrfsi): Update attribute.
1675 * config/rs6000/40x.md: New file.
1676 * config/rs6000/603.md: New file.
1677 * config/rs6000/6xx.md: New file.
1678 * config/rs6000/7450.md: New file.
1679 * config/rs6000/7xx.md: New file.
1680 * config/rs6000/mpc.md: New file.
1681 * config/rs6000/power4.md: New file.
1682 * config/rs6000/rios1.md: New file.
1683 * config/rs6000/rios2.md: New file.
1684 * config/rs6000/rs64.md: New file.
1685 [Some DFA descriptions based on work by Michael Hayes]
1686
1687 2003-02-15 Richard Henderson <rth@redhat.com>
1688
1689 * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
1690 successors with multiple predecessors.
1691 (connect_traces): Try harder to copy traces of length 1.
1692
1693 * function.h (struct function): Add computed_goto_common_label,
1694 computed_goto_common_reg.
1695 * function.c (free_after_compilation): Zap them.
1696 * stmt.c (expand_computed_goto): Use them to produce one
1697 indirect branch per function.
1698
1699 2003-02-15 Richard Henderson <rth@redhat.com>
1700
1701 * cfgcleanup.c: Include params.h.
1702 (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for
1703 too many outgoing edges from a block.
1704 * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
1705 * params.def (max-crossjump-edges): New.
1706 * doc/invoke.texi: Document it.
1707
1708 2003-02-15 Richard Henderson <rth@redhat.com>
1709
1710 * recog.c (split_all_insns): Include new blocks in life update;
1711 do a global life update.
1712
1713 2003-02-15 Danny Smith <dannysmith@users.sourceforge.net>
1714
1715 * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
1716 Update copyright.
1717 * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
1718 -mno-cygwin case.
1719
1720 2003-02-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
1721
1722 PR optimization/7702
1723 * reload1.c (reload_cse_simplify_set): Honor
1724 CANNOT_CHANGE_MODE_CLASS.
1725
1726 2003-02-14 Alexandre Oliva <aoliva@redhat.com>
1727
1728 * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
1729 function.
1730 * config/mn10300/mn10300-protos.h: Declare it.
1731 * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
1732 attribute cc of instructions that may use clr.
1733
1734 2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
1735
1736 * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
1737 (x - (x & y)) is found.
1738
1739 2003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1740
1741 * configure.in: Fix typo.
1742 * configure: Regenerate.
1743
1744 2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
1745
1746 * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
1747
1748 2003-02-13 Adam Nemet <anemet@lnxw.com>
1749
1750 PR opt/2391
1751 * combine.c: Fix spelling in comment.
1752 (cached_nonzero_bits): New function.
1753 (cached_num_sign_bit_copies): New function.
1754 (nonzero_bits_with_known): New macro.
1755 (num_sign_bit_copies_with_known): New macro.
1756 (nonzero_bits1): Rename from nonzero_bits. Add three new
1757 arguments. Change calls from nonzero_bits to
1758 nonzero_bits_with_known.
1759 (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add
1760 three new arguments. Change calls from num_sign_bit_copies to
1761 num_sign_bit_copies_with_known.
1762 (nonzero_bits): New macro.
1763 (num_sign_bit_copies): New macro.
1764 (update_table_tick): Don't traverse identical subexpression more
1765 than once.
1766 (get_last_value_validate): Likewise.
1767
1768 2003-02-13 Zack Weinberg <zack@codesourcery.com>
1769
1770 * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
1771 * function.h (struct emit_status): Length of regno_pointer_align
1772 and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
1773 not regno_pointer_align_length (i.e. length actually used, not
1774 length as allocated)
1775
1776 * config/i386/i386.c (struct stack_local_entry): New.
1777 (struct machine_function): Replace huge array with alist.
1778 (assign_386_stack_local): Change to match.
1779
1780 2003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca>
1781
1782 * inclhack.def (hpux_long_double): Tighten select and add bypass
1783 regexp.
1784 * fixincl.x: Rebuilt.
1785
1786 2003-02-13 Josef Zlomek <zlomekj@suse.cz>
1787
1788 * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
1789 edge and block ends with a jump insn it must be simple jump.
1790
1791 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
1792
1793 * Makefile.in (PREPROCESSOR_DEFINES): Add
1794 @TARGET_SYSTEM_ROOT_DEFINE@.
1795 * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
1796 is specified or if building a cross compiler.
1797 (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
1798 if the sysroot is under $exec_prefix.
1799 * configure: Regenerated.
1800 * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
1801 defined.
1802 (struct default_include): Add add_sysroot field.
1803 (cpp_SYSROOT): Declare.
1804 * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
1805 field.
1806 (cpp_SYSROOT): New variable.
1807 * cppinit.c (cpp_create_reader): Initialize
1808 CPP_OPTION (pfile, sysroot).
1809 (init_standard_includes): Handle add_sysroot. Do not
1810 add unrelocated copies of relocated directories.
1811 (COMMAND_LINE_OPTIONS): Add -isysroot.
1812 (cpp_handle_option): Handle -isysroot.
1813 * cpplib.h (struct cpp_options): Add sysroot member.
1814 * gcc.c (The Specs Language): Update description of %I.
1815 (target_system_root_changed): New variable.
1816 (process_command): Conditionalize make_relative_prefix call
1817 on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set
1818 target_system_root_changed.
1819 (do_spec_1): Add -isysroot to %I.
1820 * doc/invoke.texi (Spec Files): Update description of %I.
1821 * doc/install.texi (--with-sysroot): Update comment about
1822 relocation.
1823
1824 2003-02-13 Kazu Hirata <kazu@cs.umass.edu>
1825
1826 * config/h8300/h8300.md (a peephole2): New.
1827
1828 2003-02-13 Robert Lipe <robertlipe@usa.net>
1829 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1830
1831 * doc/install.texi (Specific): Update three SCO-related URLs.
1832
1833 2003-02-13 Andreas Schwab <schwab@suse.de>
1834
1835 * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
1836 Parenthesize properly.
1837 (NPREDECESORS): Parenthesize properly.
1838
1839 2003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
1840
1841 * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
1842
1843 2003-02-12 Roger Sayle <roger@eyesopen.com>
1844
1845 * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
1846 (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
1847
1848 * reg-stack.c (subst_stack_regs_pat): Add support for binary
1849 UNSPEC instructions (e.g. "fpatan").
1850
1851 2003-02-12 Mike Stump <mrs@apple.com>
1852
1853 * varray.c (element_size): Remove.
1854 (uses_ggc): Remove.
1855 (element): Add.
1856 (varray_init): Use new interface.
1857 (varray_grow): Use new interface.
1858 (varray_clear): Use new interface.
1859
1860 2003-02-12 Aldy Hernandez <aldyh@redhat.com>
1861
1862 * config/rs6000/spe.h: Add casts to the arguments of the following
1863 macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
1864 evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
1865 evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
1866 __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
1867 __ev_get_u16, __ev_get_s16.
1868
1869 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
1870
1871 * config/h8300/h8300.md (a peephole2): New.
1872
1873 Wed Feb 12 22:47:18 CET 2003 Jan Hubicka <jh@suse.cz>
1874
1875 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
1876 (OBJS): Add callgraph.o
1877 (callgraph.o): New.
1878 * c-decl.c (expand_body_1): Break out from ...
1879 (expand_body): This one; change calling convention
1880 (finish_function): Move some of expand_body logic here.
1881 (c_expand_deferred_function): Update call of expand_body
1882 (c_expand_stmt): Use c_expand_body_1.
1883 * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
1884 * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
1885 * c-tree.h (c_expand_body): Declare.
1886 * callgraph.c: New file.
1887 * flags.h (flag_unit_at_a_time): Declare.
1888 * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
1889 LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
1890 LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
1891 * langhooks.h (struct lang_hooks_for_callgraph): New.
1892 (struct lang_hooks): Add callgraph field.
1893 * toplev.c (flag_unit_at_a_time): New.
1894 (lang_independent_options): Add flag_unit_at_a_time.
1895 (process_options): Disable unit-at-a-time mode for frontends not
1896 supporting callgraph.
1897 * tree-inline.c (typedef struct inline_data): Add "decl"
1898 (expand_call_inline): Update callgraph.
1899 (optimize_inline_calls): Set id.decl.
1900 * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
1901 cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
1902 cgraph_calls_p): Declare.
1903 * invoke.texi (-funit-at-a-time): Document
1904
1905 2003-02-12 Aldy Hernandez <aldyh@redhat.com>
1906
1907 * config/rs6000/spe.h: Fix misc formatting.
1908 (__ev_create_ufix32_fs): Cast ev argument.
1909 (__ev_create_sfix32_fs): Same.
1910 (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
1911 (__ev_get_ufix32_fs_internal): Same.
1912
1913 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
1914
1915 * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
1916 * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
1917
1918 2003-02-12 Zack Weinberg <zack@codesourcery.com>
1919
1920 * cpplib.c (do_include_common): Move warnings for
1921 #include_next and #import out to callers. Use early-return
1922 instead of nested ifs. Don't do check_eol here.
1923 (parse_include): Do check_eol here with the rest of the
1924 parsing stuff.
1925 (do_include_next, do_import): Now handle warnings.
1926
1927 2003-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1928
1929 * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
1930
1931 Wed Feb 12 15:19:42 CET 2003 Jan Hubicka <jh@suse.cz>
1932
1933 * predict.c (estimate_probability): Fix roundoff error.
1934
1935 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
1936
1937 * config/h8300/h8300.md (a peephole2): Don't handle 65535.
1938 (two peephole2): New.
1939
1940 2003-02-12 Kazu Hirata <kazu@cs.umass.edu>
1941
1942 * config/h8300/h8300.md (several peephole2): Replace
1943 find_regno_note with peep2_reg_dead_p.
1944
1945 2003-02-11 Richard Henderson <rth@redhat.com>
1946
1947 * gcse.c (lookup_set): Remove unused argument PAT. Update
1948 both callers.
1949
1950 2003-02-11 Geoffrey Keating <geoffk@apple.com>
1951
1952 * diagnostic.c (real_abort): New.
1953 (diagnostic_report_diagnostic): Call real_abort on error.
1954 * diagnostic.h (diagnostic_abort_on_error): New.
1955 (struct diagnostic_context): Add abort_on_error field.
1956 * toplev.c (setup_core_dumping): New.
1957 (decode_d_option): Handle 'H' case.
1958 * doc/invoke.texi (Debugging Options): Document -dH.
1959
1960 2003-02-11 Nathanael Nerode <neroden@gcc.gnu.org>
1961
1962 * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
1963 which refers to obsolete directories.
1964
1965 2003-02-11 Richard Henderson <rth@redhat.com>
1966
1967 * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
1968
1969 Mon Oct 21 17:07:47 CEST 2002 Jan Hubicka <jh@suse.cz>
1970
1971 * i386.c (contains_128bit_aligned_vector_p): New function.
1972 (ix86_function_arg_boundary): Properly align vector modes.
1973
1974 2003-02-11 Bob Wilson <bob.wilson@acm.org>
1975
1976 * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
1977 * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
1978 as a SET pattern.
1979
1980 2003-02-11 Roger Sayle <roger@eyesopen.com>
1981
1982 * builtins.c: Fix failure caused by commiting wrong patch.
1983
1984 2003-02-11 Dale Johannesen <dalej@apple.com>
1985 * ra-build.c (compare_and_free_webs): Relax checking.
1986 * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define.
1987 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
1988
1989 2003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
1990
1991 PR optimization/9651
1992 * rtlanal.c (may_trap_p): Handle FIX.
1993
1994 2003-02-11 Dave Jones <davej@codemonkey.org.uk>
1995
1996 * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
1997 * doc/invoke.texi: Extra alias.
1998
1999 2003-02-11 Geoffrey Keating <geoffk@apple.com>
2000
2001 * config/rs6000/host-darwin.c: Fix comment.
2002
2003 2003-02-11 David Edelsohn <edelsohn@gnu.org>
2004
2005 * config/rs6000/rs6000.md (divmodsi4): Use register_operand
2006 predicate for mod result.
2007
2008 2003-02-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2009
2010 * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
2011 hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
2012 * fixincl.x: Rebuilt.
2013 * tests/base/stdlib.h: Update.
2014 * tests/base/ctype.h: New file.
2015
2016 Tue Feb 11 20:44:45 CET 2003 Jan Hubicka <jh@suse.cz>
2017
2018 * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
2019
2020 2003-02-11 Richard Henderson <rth@redhat.com>
2021
2022 * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
2023 appropriated as globals.
2024 (ix86_expand_clrstr): Similarly.
2025 * config/i386/i386.md (cmpstrsi): Similarly.
2026
2027 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
2028
2029 * config/h8300/h8300.md (a peephole2): Add a case of 255.
2030
2031 2003-02-11 Roger Sayle <roger@eyesopen.com>
2032
2033 * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
2034 (pow_optab, atan2_optab): Define corresponding macros.
2035 * optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
2036 * genopinit.c (optabs): Implement pow_optab and atan2_optab
2037 using pow?f3 and atan2?f3 patterns.
2038 * builtins.c (expand_errno_check): New function to update errno
2039 if necessary, split out from expand_builtin_mathfn.
2040 (expand_builtin_mathfn): Use expand_errno_check.
2041 (expand_builtin_mathfn_2): New function to handle expanding binary
2042 math functions, reusing the code in expand_errno_check.
2043 (expand_builtin): Handle the pow and atan2 math built-ins,
2044 BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
2045 expand_builtin_mathfn_2.
2046
2047 * doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
2048
2049 Tue Feb 11 19:03:22 MET 2003 Jan Hubicka <jh@suse.cz>
2050
2051 * combine.c (combine_simplify_rtx): Fix folding of
2052 nested float_truncates.
2053
2054 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
2055
2056 * config/h8300/h8300.md (a peephole2): Fix a typo.
2057
2058 2003-02-11 Richard Earnshaw <rearnsha@arm.com>
2059
2060 * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
2061 register number.
2062
2063 2003-02-11 Kazu Hirata <kazu@cs.umass.edu>
2064
2065 * config/h8300/h8300-protos.h: Add a prototype for
2066 gtuleu_operator.
2067 * config/h8300/h8300.c (gtuleu_operator): New.
2068 * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
2069 * config/h8300/h8300.md (a peephole2): New.
2070
2071 Tue Feb 11 13:32:12 CET 2003 Jan Hubicka <jh@suse.cz>
2072
2073 * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
2074
2075 Tue Feb 11 10:02:54 CET 2003 Jan Hubicka <jh@suse.cz>
2076
2077 * predict.c (choose_function_section): Choose sections correctly.
2078
2079 2003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2080
2081 * reload1.c (first_label_num): New.
2082 (reload): Index offsets_known_at and offsets_at using difference of
2083 label number and first label number. Don't use offset pointers.
2084 (set_label_offsets, set_initial_label_offsets): Likewise.
2085
2086 2003-02-10 Roger Sayle <roger@eyesopen.com>
2087
2088 * mips-tfile.c (init_file): Add missing initializers in the
2089 "#ifdef __alpha" case.
2090 (file_offset, max_file_offset): Declare as unsigned long.
2091 (write_varray): Cast to "unsigned long" in comparisons against
2092 either file_offset or max_file_offset.
2093 (write_object): Likewise.
2094 (read_seek): Likewise.
2095 (copy_object): Likewise. Declare "ifd" as int to match its use
2096 in add_ext_symbol, and avoid signed/unsigned conditional warning.
2097
2098 2003-02-10 Nick Clifton <nickc@redhat.com>
2099 Aldy Hernandez <aldyh@redhat.com>
2100
2101 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
2102 override options which have been specified on the command line.
2103
2104 2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
2105
2106 * config/h8300/h8300.md (abssf2): New.
2107 (*abssf2_h8300): Likewise.
2108 (*abssf2_h8300hs): Likewise.
2109
2110 2003-02-10 Phil Edwards <pme@gcc.gnu.org>
2111
2112 * tree.c (build_tree_list): Fix parameter names in comment.
2113
2114 2003-02-10 Janis Johnson <janis187@us.ibm.com>
2115
2116 * config/rs6000/ppc64-fp.c: New file.
2117 * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
2118
2119 2003-02-10 Josef Zlomek <zlomekj@suse.cz>
2120
2121 * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
2122 * bb-reorder.c (make_reorder_chain): Deleted.
2123 (make_reorder_chain_1): Deleted.
2124 (find_traces): New function.
2125 (rotate_loop): New function.
2126 (mark_bb_visited): New function.
2127 (find_traces_1_round): New function.
2128 (copy_bb): New function.
2129 (bb_to_key): New function.
2130 (better_edge_p): New function.
2131 (connect_traces): New function.
2132 (copy_bb_p): New function.
2133 (get_uncond_jump_length): New function.
2134 (reorder_basic_blocks): Use new functions (Software Trace Cache).
2135 * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
2136 boundaries.
2137
2138 2003-02-10 Aldy Hernandez <aldyh@redhat.com>
2139
2140 * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
2141
2142 2003-02-09 Dan Nicolaescu <dann@ics.uci.edu>
2143
2144 * tree.h (struct tree_decl): Remove unused live_range_rtl field.
2145 (DECL_LIVE_RANGE_RTL): Remove.
2146
2147 2003-02-10 Nick Clifton <nickc@redhat.com>
2148
2149 * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
2150 config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
2151 config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
2152 config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
2153 config/arm/freebsd.h, config/arm/linux-elf.h,
2154 config/arm/linux-gas.h, config/arm/netbsd-elf.h,
2155 config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
2156 config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
2157 config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
2158 config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
2159 config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
2160 config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
2161 and reformat as appropriate.
2162
2163 2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
2164
2165 * config/h8300/clzsi2.c: Remove.
2166 * config/h8300/ctzsi2.c: Likewise.
2167 * config/h8300/paritysi2.c: Likewise.
2168 * config/h8300/popcountsi2.c: Likewise.
2169 * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
2170 ctzsi2, paritysi2, and popcountsi2.
2171
2172 2003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr>
2173 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
2174
2175 PR c/7741
2176 * c-decl.c (duplicate_decls): Discard the initializer of the
2177 new decl when the types are conflicting.
2178
2179 2003-02-10 Josef Zlomek <zlomekj@suse.cz>
2180
2181 * Makefile.in (sreal.o): Added.
2182 (predict.o): Depends on sreal.h instead of real.h.
2183 * sreal.c: New file.
2184 * sreal.h: New file.
2185 * predict.c: Use sreal.c instead of real.c.
2186
2187 2003-02-10 Nick Clifton <nickc@redhat.com>
2188
2189 * Contributed support for the Cirrus EP9312 "Maverick"
2190 floating point co-processor. Written by Aldy Hernandez
2191 <aldyh@redhat.com>.
2192 (config/arm/arm.c): Add Cirrus support.
2193 (config/arm/arm.h): Likewise.
2194 (config/arm/aout.h): Likewise.
2195 (config/arm/arm.md): Likewise.
2196 (config/arm/arm-protos.h): Likewise.
2197 (config.gcc): Likewise.
2198 (doc/invoke.texi): Describe new -mcpu value and new
2199 -mcirrus-fix-invalid-insns switch,
2200 (cirrus.md): New file.
2201
2202 Mon Feb 10 11:40:18 CET 2003 Jan Hubicka <jh@suse.cz>
2203
2204 * combine.c (combine_simplify_rtx): Simplify using
2205 (float_truncate (float x)) is (float x)
2206 (float_extend (float_extend x)) is (float_extend x).
2207
2208 2003-02-10 Alan Modra <amodra@bigpond.net.au>
2209
2210 * calls.c (try_to_integrate): Tidy stack_usage_map access.
2211 (emit_library_call_value_1): Likewise. Formatting.
2212 (store_one_arg): Likewise.
2213
2214 2003-02-09 Nick Clifton <nickc@redhat.com>
2215 Aldy Hernandez <aldyh@redhat.com>
2216
2217 * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
2218 spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
2219 spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
2220 spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
2221 spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
2222 docs. Add range test for immediate value.
2223
2224 2003-02-09 Aldy Hernandez <aldyh@redhat.com>
2225
2226 Rename spe_evxor to xorv2si3.
2227 (xorv4hi3): New.
2228 (xorv1di3): New.
2229
2230 2003-02-10 Glen Nakamura <glen@imodulo.com>
2231
2232 * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
2233 tag.
2234
2235 Mon Feb 10 00:29:17 CET 2003 Jan Hubicka <jh@suse.cz>
2236
2237 * i386.c (vector_move_operand): New predicate.
2238 (ix86_expand_vector_move): Be happy about 0.
2239 * i386.h (PREDICATE_CODES): Add sse-move_operand.
2240 * i386.md (mov*_internal): Add 'C' alternative.
2241
2242 Sun Feb 9 23:58:33 CET 2003 Jan Hubicka <jh@suse.cz>
2243
2244 * i386.md (floathi*): Deal with SSE.
2245
2246 Sun Feb 9 23:54:59 CET 2003 Jan Hubicka <jh@suse.cz>
2247
2248 * simplify-rtx.c (simplify_unary_operation,
2249 simplify_binary_operation): Deal with vector modes
2250 (simplify_ternary_operation): Deal with no-op VEC_MERGE.
2251
2252 2002-02-09 Richard Sandiford <rsandifo@redhat.com>
2253
2254 * toplev.c (rest_of_compilation): Recompute register usage after
2255 split_all_insns.
2256
2257 2003-02-09 Richard Henderson <rth@redhat.com>
2258
2259 * libgcc-std.ver (__clztf2): New.
2260 (__ctztf2, __popcounttf2, __paritytf2): New.
2261 * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
2262 __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
2263 adjust code to match the different type sizes.
2264 * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
2265 __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
2266
2267 * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
2268 TImode; select word_mode and twice that.
2269 (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
2270 select the modes from float, double, and long double.
2271 (init_optabs): Remove duplicate initializations.
2272
2273 2003-02-09 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
2274
2275 * doc/install.texi: Squeeze and streamline section on
2276 testing and regression checking.
2277
2278 Sun Feb 9 13:33:34 CET 2003 Jan Hubicka <jh@suse.cz>
2279
2280 * i386.md (ahi?v*3): Set third operand type to TImode.
2281 * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
2282
2283 * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
2284 integer mode.
2285
2286 * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
2287 Change code so they are arithmetic expressions now.
2288 * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
2289 simplify_ternary_operation): Deal with VEC_* expressions.
2290
2291 * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation.
2292
2293 Sat Feb 8 00:21:22 CET 2003 Jan Hubicka <jh@suse.cz>
2294
2295 * cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
2296 * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges
2297 possibly got duplicated.
2298
2299 2003-02-08 Richard Henderson <rth@redhat.com>
2300
2301 * config/alpha/alpha.c (override_options): Turn off explicit
2302 relocs until post-peep2 code duplication resolved.
2303
2304 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
2305
2306 * optabs.c (expand_unop): Widen clz properly when clz is done
2307 via libcall.
2308
2309 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
2310
2311 * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
2312 * config/h8300/crti.asm: Likewise.
2313 * config/h8300/crtn.asm: Likewise.
2314 * config/h8300/ctzsi2.c: Likewise.
2315 * config/h8300/fixunssfsi.c: Likewise.
2316 * config/h8300/h8300-protos.h: Likewise.
2317 * config/h8300/h8300.c: Likewise.
2318 * config/h8300/h8300.h: Likewise.
2319 * config/h8300/h8300.md: Likewise.
2320 * config/h8300/paritysi2.c: Likewise.
2321 * config/h8300/popcountsi2.c: Likewise.
2322 * config/h8300/rtems.h: Likewise.
2323
2324 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2325
2326 * doc/invoke.texi: Documentation for my previous commit.
2327 * doc/passes.texi: Ditto.
2328
2329 2003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2330
2331 * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
2332 duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
2333 Declare.
2334 (DLTHE_FLAG_UPDATE_FREQ): New.
2335 * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
2336 loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
2337 rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
2338 fix_bb_placement, fix_bb_placements, place_new_loop,
2339 scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
2340 New static functions.
2341 (fix_loop_placement, can_duplicate_loop_p,
2342 duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
2343 New functions.
2344
2345 * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
2346 unswitch_loops): Declare.
2347 * loop-init.c: New file.
2348 * loop-unswitch.c: New file.
2349 * Makefile.in (loop-init.o, loop-unswitch.o): New.
2350 * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
2351 * toplev.c (DFI_loop2): New dump.
2352 (flag_unswitch_loops): New.
2353 (lang_independent_options): Add it.
2354 (rest_of_compilation): Call new loop optimizer.
2355 (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
2356
2357 2003-02-08 Kazu Hirata <kazu@cs.umass.edu>
2358
2359 * config/h8300/clzsi2.c: New.
2360 * config/h8300/ctzsi2.c: Likewise.
2361 * config/h8300/paritysi2.c: Likewise.
2362 * config/h8300/popcountsi2.c: Likewise.
2363 * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
2364
2365 2003-02-07 David Edelsohn <edelsohn@gnu.org>
2366
2367 * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
2368 * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
2369 (ctzsi2): New pattern.
2370 (ffssi2): Use clz instead of unspec.
2371 (clzdi2): Rename from cntlzd2.
2372 (ctzdi2): New pattern.
2373 (ffsdi2): Use clz instead of unspec.
2374
2375 2003-02-07 Loren James Rittle <ljrittle@acm.org>
2376
2377 * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
2378 * config/ia64/freebsd.h (LINK_SPEC): Likewise.
2379 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
2380 * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
2381
2382 2003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
2383
2384 * doc/trouble.texi: Document pitfalls of two-stage name lookup.
2385
2386 2003-02-07 Richard Henderson <rth@redhat.com>
2387
2388 PR 9226
2389 * gcse.c (local_cprop_find_used_regs): New.
2390 (local_cprop_pass): Use it.
2391
2392 2003-02-07 Fred Fish <fnf@intrinsity.com>
2393
2394 * mips-tfile.c (parse_def): Parenthesize assignments to fix
2395 precedence bugs.
2396
2397 2003-02-07 Segher Boessenkool <segher@koffie.nl>
2398
2399 * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
2400
2401 2003-02-07 Roger Sayle <roger@eyesopen.com>
2402
2403 * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
2404 (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
2405 (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
2406 * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
2407 builtin functions (and their __builtin_* variants).
2408 * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
2409 (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
2410 when not optimizing.
2411
2412 * doc/extend.texi: Document new pow and atan2 builtins, and
2413 their float and long double variants. Realphabetize builtins.
2414
2415 Fri Feb 7 23:24:28 CET 2003 Jan Hubicka <jh@suse.cz>
2416
2417 * i386.md (sse2_nandv2di3): Fix.
2418
2419 2003-03-07 Danny Smith <dannysmith@users.sourceforge.net>
2420
2421 * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
2422 * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
2423 definition.
2424 * config/i386/i386.h (ix86_return_in_memory): Return aggregate
2425 types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
2426
2427 Fri Feb 7 22:22:40 CET 2003 Jan Hubicka <jh@suse.cz>
2428
2429 * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
2430
2431 2003-02-07 Daniel Berlin <dberlin@dberlin.org>
2432
2433 * cfg.c (dump_flow_info): Add back accidently deleted line.
2434
2435 2003-02-07 Andrey Petrov <petrov@netbsd.org>
2436
2437 * optabs.c (expand_float): Search wider integer modes first.
2438
2439 2003-02-07 Bob Wilson <bob.wilson@acm.org>
2440
2441 * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
2442 based on preprocessor flag.
2443
2444 2003-02-07 Roger Sayle <roger@eyesopen.com>
2445 Richard Henderson <rth@redhat.com>
2446
2447 * gcse.c (implicit_sets): New.
2448 (compute_hash_table_work): Include them in hash table.
2449 (find_implicit_sets, fis_get_condition): New.
2450 (one_cprop_pass): Allocate and free implicit_sets; call
2451 find_implicit_sets before building hash table.
2452
2453 2003-02-07 Jason Thorpe <thorpej@wasabisystems.com>
2454
2455 * config/t-netbsd (USER_H): Revert previous change.
2456
2457 2003-02-07 Gabor Greif <ggreif@lucent.com>
2458
2459 * doc/c-tree.texi (Namespaces): Fix typo.
2460
2461 Fri Feb 7 02:18:57 CET 2003 Jan Hubicka <jh@suse.cz>
2462
2463 * regrename.c (do_replace, find_oldest_value_reg,
2464 copyprop_hardreg_forward_1): Update register attributes.
2465
2466 2003-02-06 Vladimir Makarov <vmakarov@redhat.com>
2467
2468 * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
2469 VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
2470 variables starting with underscore.
2471 (struct unit_usage): New structure.
2472 (unit_usages, cycle_alt_unit_usages): New global variables.
2473 (check_unit_distribution_in_reserv): Remove it.
2474 (store_alt_unit_usage): New function.
2475 (check_regexp_units_distribution): Rewrite it.
2476
2477 2003-02-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2478
2479 * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
2480 target_cpu_default.
2481 * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
2482 if not MASK_NO_SPACE_REGS.
2483 (output_call): Adjust return pointer, don't load new space register
2484 into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
2485 (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
2486 TARGET_NO_SPACE_REGS is true.
2487 * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
2488 conditions.
2489 (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
2490 (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
2491 true. Use bve when TARGET_64BIT is true.
2492
2493 2003-02-06 Richard Henderson <rth@redhat.com>
2494
2495 * combine.c (nonzero_bits): Fix double break.
2496
2497 2003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr>
2498 Richard Henderson <rth@redhat.com>
2499
2500 PR c/9530
2501 * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
2502 from functions that return a float to functions that don't.
2503
2504 Thu Feb 6 00:18:38 CET 2003 Jan Hubicka <jh@suse.cz>
2505
2506 * i386.c (x86_inter_unit_moves): New variable.
2507 (ix86_secondary_memory_needed): Fix 64bit case, honor
2508 TARGET_INTER_UNIT_MOVES
2509 * i386.h (x86_inter_unit_moves): Declare.
2510 (TARGET_INTER_UNIT_MOVES): New macro.
2511 * i386.md (movsi_1): Cleanup constraints; disable
2512 when not doing inter-unit moves.
2513 (movsi_1_nointernunit): New.
2514 (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
2515 (movdi_1_rex64_nointerunit): New.
2516 (mivsf_1): disable when not doing inter-unit moves.
2517 (movsf_1_nointerunit): New.
2518
2519 * basic-block.h (inside_basic_block_p): Declare.
2520 * cfgbuild.c (inside_basic_block_p): Make global.
2521 * haifa-sched.c (unlink_other_notes0: Deal with NOT_INSN_BASIC_BLOCK.
2522 * scheudle-ebb.c (schedule_ebb): Return last basic block of trace;
2523 update CFG.
2524 (fix_basic_block_boundaries, add_missing_bbs): New.
2525 (rank): Use profile.
2526 (scheudle_ebbs): Rely on CFG; update coments.
2527
2528 2003-02-05 Geoffrey Keating <geoffk@apple.com>
2529
2530 * Makefile.in (host_hook_obj): New.
2531 (OBJS): Add $(host_hook_obj).
2532 (host_default.o): New rule.
2533 * config.gcc (host_hook_obj): New, default to host-default.o.
2534 (powerpc-*-darwin*): Use host-darwin.o.
2535 (out_host_hook_obj): New.
2536 * configure: Regenerate.
2537 * configure.in: Print information about out_host_hook_obj, substitute
2538 into output files.
2539 * host-default.c: New file.
2540 * hosthooks.h: New file.
2541 * toplev.c (general_init): Call host_hooks.extra_signals.
2542 * config/rs6000/host-darwin.c: New file.
2543 * config/rs6000/x-darwin: New file.
2544 * doc/hostconfig.texi: Add documentation for new host hook.
2545 Rearrange existing documentation.
2546
2547 2003-02-05 Roger Sayle <roger@eyesopen.com>
2548
2549 * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
2550 with *targetm.delegitimize_address.
2551 (rtl_for_decl_location): Likewise.
2552 * dwarfout.c (output_mem_loc_descriptor): Likewise. Include target.h.
2553 * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
2554
2555 * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
2556 * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
2557 prototype.
2558 * config/i386/i386.c (ix86_delegitimize_address): Renamed from
2559 i386_simplify_dwarf_addr. Made static. Prototyped.
2560 (TARGET_DELEGITIMIZE_ADDRESS): Update definition from
2561 i386_simplify_dwarf_addr to ix86_delegitimize_address.
2562 (ix86_find_base_term): Likewise.
2563 (maybe_get_pool_constant): Likewise.
2564
2565 * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
2566 * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
2567 prototype.
2568 * config/s390/s390.c (s390_delegitimize_address): Renamed from
2569 s390_simplify_dwarf_addr. Made static. Prototyped.
2570 (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
2571
2572 2003-02-05 Richard Henderson <rth@redhat.com>
2573
2574 PR c/8602
2575 * integrate.c (output_inline_function): Reset input_filename
2576 and lineno from the decl before rest_of_compilation.
2577
2578 2003-02-05 Richard Henderson <rth@redhat.com>
2579
2580 * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
2581 (CTZ_DEFINED_VALUE_AT_ZERO): New.
2582 * doc/rtl.texi, doc/tm.texi: Document them.
2583
2584 * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
2585 of the value at zero properly.
2586 * fold-const.c (tree_expr_nonnegative_p): Likewise.
2587 * simplify-rtx.c (simplify_unary_operation): Likewise.
2588
2589 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
2590 (CTZ_DEFINED_VALUE_AT_ZERO): New.
2591
2592 * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
2593 (TARGET_EXPAND_BUILTIN): Remove.
2594 (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
2595 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
2596 (enum arm_builtins): Remove.
2597 * config/arm/arm.md (UNSPEC_CLZ): Remove.
2598 (clzsi2): Rename from clz; use clz instead of unspec.
2599 (ctzsi2): New.
2600 * config/arm/arm-protos.h: Update.
2601
2602 Wed Feb 5 23:12:57 CET 2003 Jan Hubicka <jh@suse.cz>
2603
2604 * i386-protos.h (x86_emit_floatuns): Declare.
2605 * i386.c (x86_emit_floatuns): New global function.
2606 * i386.md (floatunssisf2, floatunsdisf2,
2607 floatunsdidf2): New patterns.
2608
2609 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2610
2611 * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
2612
2613 2003-02-05 Hans Boehm <Hans.Boehm@hp.com>
2614
2615 * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
2616 config/ia64/linux.h
2617
2618 2002-02-05 Roger Sayle <roger@eyesopen.com>
2619
2620 * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
2621
2622 2003-02-05 Jakub Jelinek <jakub@redhat.com>
2623
2624 PR optimization/8555
2625 * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
2626 instead of aborting.
2627
2628 2003-02-04 Richard Henderson <rth@redhat.com>
2629
2630 * config/i386/i386.md (UNSPEC_BSF): Remove.
2631 (ffssi2): Split into cmove and no_cmove insns and splitters;
2632 lose pentium float trick for now.
2633 (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
2634 (ctzsi2, clzsi2, bsr): New.
2635
2636 2003-02-04 Richard Henderson <rth@redhat.com>
2637
2638 * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
2639 UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
2640 * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
2641 (ffsdi2): Use popcount instead of unspec.
2642 (popcountdi2): Rename from *popcnt.
2643 (ctzdi2, clzdi2, getf_exp_tf): New.
2644
2645 2003-02-04 Kazu Hirata <kazu@cs.umass.edu>
2646
2647 * genconfig.c (main): Generate CC0_P.
2648 * rtl.h (CC0_P): Remove.
2649
2650 2003-02-04 Richard Henderson <rth@redhat.com>
2651
2652 * libgcc2.h, libgcc2.c (__ffsSI2): New.
2653 (__ffsDI2): Rename from __ffsdi2.
2654 * mklibgcc.in (lib2funcs): Add _ffssi2.
2655
2656 2003-02-04 Richard Henderson <rth@redhat.com>
2657
2658 * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
2659 rounds with a "bit table" lookup.
2660
2661 2003-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2662
2663 * reload.c (find_reloads): Do not use the mode specified in the insn
2664 pattern as reload mode for address operands. Do not generate optional
2665 reloads for operands where a mandatory reload was already pushed.
2666
2667 2003-02-04 Richard Henderson <rth@redhat.com>
2668
2669 * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
2670 builtins instead of inline assembly.
2671
2672 2003-02-04 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
2673
2674 PR c/9376
2675 * libgcc2.c (__subvdi3): Fix typo.
2676
2677 Tue Feb 4 21:46:05 CET 2003 Jan Hubicka <jh@suse.cz>
2678
2679 * i386.md (movti_rex64): Fix constraint.
2680
2681 Tue Feb 4 18:40:42 CET 2003 Jan Hubicka <jh@suse.cz>
2682
2683 * i386.md (vector push splitters): Fix typo in resolving conflict.
2684
2685 2003-02-04 Rodney Brown <rbrown64@csc.com.au>
2686
2687 * config/i386/i386.c (x86_function_profiler): Fix typo in format.
2688
2689 2003-02-04 Phil Edwards <pme@gcc.gnu.org>
2690
2691 * doc/install.texi (*-*-linux-gnu): Mention glibc requirements
2692 for recent libstdc++. Remove formatting cruft.
2693
2694 2003-02-04 Jakub Jelinek <jakub@redhat.com>
2695
2696 * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
2697 attribute even if input file name is absolute, but one of the
2698 includes is relative.
2699
2700 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2701
2702 * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
2703 doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
2704 * doc/install.texi: Update copyright dates. Update to GFDL 1.2.
2705
2706 2003-02-03 Richard Henderson <rth@redhat.com>
2707
2708 * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2709 __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
2710 return type to "int". Shuffle declarations and undef int trap.
2711 * libgcc2.h: Remove their declarations.
2712 * optabs.c (expand_unop): Force outmode to int for bitops.
2713
2714 2003-02-03 Bob Wilson <bob.wilson@acm.org>
2715
2716 * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
2717 coprocessor registers before floating-point registers.
2718 * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
2719 to account for a previously removed register.
2720 (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
2721 Delete unused macros.
2722
2723 Mon Feb 3 21:19:11 CET 2003 Jan Hubicka <jh@suse.cz>
2724
2725 * i386.c (ix86_expand_store_builtin): Always force op1 to register.
2726 (mov*_internal): Fix predicates; require one of operands to not be
2727 memory.
2728 (SSE?MMX move expanders): Fix predicates; force one of operands to
2729 register.
2730 (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
2731 (movups/movupd/movdqu patterns): Force one of operands to not be
2732 memory.
2733
2734 2002-02-03 Roger Sayle <roger@eyesopen.com>
2735
2736 * hooks.c (hook_rtx_rtx_identity): Generic hook function that
2737 takes a single rtx and returns it unmodified.
2738 * hooks.h (hook_rtx_rtx_identity): Prototype here.
2739 * target.h (struct gcc_target): Add "delegitimize_address"
2740 field to target structure.
2741 * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default
2742 for delegitimize_address target using hook_rtx_rtx_identity.
2743 (TARGET_INITIALIZER): Initialize delegitimize_address field
2744 using TARGET_DELEGITIMIZE_ADDRESS macro.
2745 * simplify-rtx.c (avoid_constant_pool_reference): Handle float
2746 extensions of constant pool references. Use delegitimize_address
2747 to undo the obfuscation of "-fpic".
2748 * Makefile.in (simplify-rtx.o): Add dependency on target.h.
2749
2750 * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
2751 i386_simplify_dwarf_addr.
2752 (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
2753 (maybe_get_pool_constant): Likewise.
2754
2755 Mon Feb 3 16:01:17 CET 2003 Jan Hubicka <jh@suse.cz>
2756
2757 * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
2758
2759 Mon Feb 3 01:30:11 CET 2003 Jan Hubicka <jh@suse.cz>
2760
2761 * regclass.c (cannot_change_mode_set_regs): Correct argument order.
2762
2763 2003-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2764
2765 * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't
2766 define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h.
2767
2768 2003-02-02 Andreas Schwab <schwab@suse.de>
2769
2770 * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
2771
2772 2003-02-02 Richard Earnshaw <rearnsha@arm.com>
2773
2774 * arm.md (sibcall_epilogue): Set the "conds" to "clob".
2775 (epilogue_insns): Likewise.
2776
2777 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2778
2779 * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
2780
2781 2003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2782
2783 * pa-protos.h (attr_length_millicode_call): Remove second argument.
2784 (attr_length_indirect_call, attr_length_indirect_call,
2785 attr_length_save_restore_dltp): New prototypes.
2786 * pa.c (attr_length_millicode_call): Remove second argument. Check
2787 INSN_ADDRESSES_SET_P in distance calculation.
2788 (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
2789 INSN_ADDRESSES.
2790 (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
2791 (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
2792 Call attr_length_call directly.
2793 (attr_length_indirect_call, output_indirect_call,
2794 attr_length_save_restore_dltp): New functions.
2795 * pa.md (attr_length_millicode_call): Drop second argument from all
2796 patterns.
2797 (return_internal_pic): Delete.
2798 (return_external_pic): Remove use of PIC register and pic operand and
2799 flag checks.
2800 (epilogue): Use return_internal for both normal and pic code.
2801 (call, call_value): Emit new 32-bit pic patterns for symref and
2802 indirect calls. Remove uses for arg pointer and pic register.
2803 (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
2804 call_reg_pic_post_reload, call_val_symref_pic,
2805 call_val_symref_pic_post_reload, call_val_reg_pic,
2806 call_val_reg_pic_post_reload): New pre and post reload insn patterns.
2807 Implement define_split and define_peephole2 patterns for pre reload
2808 patterns.
2809 (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
2810 call_value_internal_reg_64bit): Shorten names.
2811 (all call patterns): Explicitly indicate registers used and clobbered.
2812 Use attr_length_indirect_call and attr_length_save_restore_dltp for
2813 attribute length calculation. Move code generation for indirect calls
2814 to output_indirect_call.
2815 (sibcall, sibcall_value): Don't restore PIC register.
2816 (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
2817 register retore.
2818
2819 2003-02-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2820
2821 * doc/install.texi (Testing): Simplify and compress instructions
2822 concerning Dejagnu.
2823
2824 2003-02-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2825
2826 * collect2.c (pexecute_pid): Rename to pid.
2827 (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
2828 pid.
2829
2830 2003-02-01 Geoffrey Keating <geoffk@apple.com>
2831
2832 * doc/extend.texi (Function Attributes): Remove documentation
2833 for PowerPC Windows NT function attributes..
2834
2835 2003-02-01 Daniel Jacobowitz <drow@mvista.com>
2836
2837 * dwarf2out.c (gen_type_die): Check for typedefs before calling
2838 for TYPE_MAIN_VARIANT.
2839
2840 2003-02-01 Richard Henderson <rth@redhat.com>
2841
2842 * libgcc2.c: Include auto-host.h.
2843 (ATTRIBUTE_HIDDEN): New.
2844 (__clz_tab): Don't declare here for clz and ctz.
2845 (__clzsi2, __clzdi2): Use count_leading_zeros.
2846 (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
2847 (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
2848 (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
2849 * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
2850
2851 2003-02-01 Richard Henderson <rth@redhat.com>
2852
2853 * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
2854 to the conditional.
2855 (ashlsi3_1_zext splitter): Likewise.
2856
2857 2003-02-01 Richard Henderson <rth@redhat.com>
2858
2859 * optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
2860 * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2861 __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
2862 return type to Wtype.
2863
2864 * libgcc-std.ver (GCC_3.4): Fix inheritance.
2865
2866 * config/i386/i386.md (ffssi2): Use nonimmediate_operand for
2867 expander input constraint.
2868
2869 2003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
2870
2871 * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
2872 OTI_parity.
2873 (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
2874 * optabs.c (widen_clz, expand_parity): New.
2875 (expand_unop): Handle clz and parity. Hardcode SImode as outmode
2876 for libcalls to clz, ctz, popcount, and parity.
2877 (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
2878 parity_optab, and set up libfunc handlers.
2879 * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
2880 __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
2881 __popcount_tab): New.
2882 * libgcc2.h: Declare them.
2883 * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
2884 * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
2885 and parity_optab.
2886 * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
2887 * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
2888 BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
2889 BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
2890 BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
2891 BUILT_IN_PARITYLL): New.
2892 * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
2893 and add optab argument.
2894 (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
2895 * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
2896 * expr.c (expand_expr): Handle them.
2897 * fold-const.c (tree_expr_nonnegative_p): Likewise.
2898 * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
2899 * reload1.c (eliminate_regs): Handle them.
2900 (elimination_effects): Likewise.
2901 * function.c (instantiate_virtual_regs_1): Likewise
2902 * genattrtab.c (check_attr_value): Likewise.
2903 * simplify-rtx.c (simplify_unary_operation): Likewise.
2904 * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
2905 * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
2906 (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
2907 * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
2908 * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
2909 __builtin_arm_clz.
2910 * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
2911 * mklibgcc.in (lib2funcs): ...here and merge. Add new members.
2912 * doc/extend.texi (Other Builtins): Add new builtins.
2913 * doc/md.texi (Standard Names): Add new patterns.
2914
2915 2003-02-01 Ulrich Weigand <uweigand@de.ibm.com>
2916
2917 * reload.c: Revert 2003-01-31 change.
2918
2919 Sat Feb 1 14:14:40 CET 2003 Jan Hubicka <jh@suse.cz>
2920
2921 * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
2922
2923 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
2924
2925 * flags.h (flag_volatile): Remove declaration.
2926 (flag_volatile_global, flag_volatile_static): Likewise.
2927 * c-typeck.c (build_indirect_ref): Don't check flag_volatile.
2928 * toplev.c (flag_volatile): Remove definition.
2929 (flag_volatile_global, flag_volatile_static): Likewise.
2930 (f_options): Remove corresponding entries here.
2931 * varasm.c (make_decl_rtl): Don't check flag_volatile_global
2932 or flag_volatile_static.
2933 * doc/invoke.texi: Remove documentation of -fvolatile,
2934 -fvolatile-global and -fvolatile-static.
2935
2936 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2937
2938 * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
2939 updating of total_code_bytes from prologue to epilogue.
2940
2941 2003-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2942
2943 * reload.c (find_reloads): Do not use the mode specified in the insn
2944 pattern as reload mode for address operands. Do not generate optional
2945 reloads for operands where a mandatory reload was already pushed.
2946 Generate optional reloads only in the final pass though find_reloads.
2947 (have_replacement_p): New function.
2948
2949 2003-01-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2950
2951 * doc/install.texi (Testing): Remove a reference to our obsolete
2952 /testresults web pages and strip redundant information concerning
2953 test results.
2954 (Binaries): Refer to Microsoft Windows instead of listing all
2955 possible variants.
2956
2957 Sat Feb 1 00:28:30 CET 2003 Jan Hubicka <jh@suse.cz>
2958
2959 * loop.c (emit_prefetch_instructions): Do conversion at right place in
2960 RTL chain.
2961
2962 * combine.c (simplify_set): Reverse order of ragumetns to
2963 REG_CANNOT_CHANGE_MODE_P
2964 * df.c (df_def_record_1): Likewise.
2965 * recog.c (register_operand): Likewise.
2966 * simplify-rtx.c (simplify_subreg): Likewise.
2967 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
2968 CANNOT_CHANGE_MODE_CLASS.
2969 * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
2970 Likewise.
2971 * reload.c (push_reload): Likewise.
2972 * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2973 * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2974 * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2975 * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
2976 * mips.c (mips_cannot_change_mode_class): Update.
2977 * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2978 * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2979 * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2980 * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
2981 * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
2982 * sh.c (sh_cannot_change_mode_class): Update.
2983 * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
2984 * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
2985
2986 2003-01-31 Geoffrey Keating <geoffk@apple.com>
2987
2988 * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
2989 change to LINK_COMMAND_SPEC in gcc.c.
2990
2991 2003-01-31 Jan Hubicka <jh@suse.cz>
2992
2993 PR c/9506
2994 * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
2995
2996 2003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2997
2998 * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
2999 duplicated code.
3000
3001 2003-01-31 Nathan Sidwell <nathan@codesourcery.com>
3002
3003 * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
3004 (BINFO_ELTS): New #define.
3005 * stor-layout.c (finalize_record_size): Don't set them.
3006 * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
3007 BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
3008 (BINFO_LANG_ELTS): New #define.
3009 * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
3010 * java/class.c (make_class): Use BINFO_ELTS.
3011 (set_super_info): Likewse.
3012 (add_interface_do): Likewise.
3013 * objc/objc-act.c (start_class): Use BINFO_ELTS.
3014
3015 2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
3016
3017 * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
3018 (times): Don't ever declare if not HAVE_TIMES.
3019 (clock): Don't ever declare if not HAVE_CLOCK.
3020
3021 2003-01-30 Richard Henderson <rth@redhat.com>
3022
3023 * flow.c (update_life_info): Zap life info after cleanup_cfg.
3024 (regno_uninitialized): Use correct live at function entry set.
3025 (regno_clobbered_at_setjmp): Likewise.
3026
3027 * expr.c (store_expr): Promote all MEM intermediates to regs.
3028
3029 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
3030
3031 * config/arm/arm.c: Fix comment typos.
3032 * config/arm/arm.h: Likewise.
3033 * config/arm/netbsd-elf.h: Likewise.
3034 * config/arm/netbsd.h: Likewise.
3035
3036 2003-01-30 Geoffrey Keating <geoffk@apple.com>
3037
3038 * gengtype.c (struct walk_type_data): Add needs_cast_p.
3039 (walk_type): Set needs_cast_p in walk_type_data.
3040 (write_types_process_field): Supply casts when required to suppress
3041 warnings.
3042 (write_root): Cast gt_pch_n_S to suppress warning.
3043 * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
3044 * config/rs6000/rs6000.c (print_operand): Mask off high bits only
3045 when they might exist.
3046 * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
3047 insn-conditions.o, and rs6000.o.
3048
3049 2003-01-30 Richard Henderson <rth@redhat.com>
3050
3051 * ggc-page.c (G.context_depth_allocations): New.
3052 (G.context_depth_collections): New.
3053 (alloc_page): Set G.context_depth_allocations.
3054 (ggc_collect): Set G.context_depth_collections.
3055 (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
3056 (ggc_pop_context): Early exit for no allocations or collections.
3057
3058 2003-01-30 Richard Henderson <rth@redhat.com>
3059
3060 * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
3061
3062 2003-01-30 Richard Earnshaw <rearnsha@arm.com>
3063
3064 * arm.c (arm_compute_initial_elimination_offset): If optimizing for
3065 size, the link register is always saved if any other register is
3066 saved.
3067
3068 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
3069
3070 * config/h8300/h8300-protos.h: Update the prototype for
3071 compute_plussi_cc.
3072 (cpp_reader): Declare before it is used.
3073 * config/h8300/h8300.c (compute_plussi_cc): Change the return
3074 type to int.
3075 * config/h8300/h8300.md (monitor_prologue): Call abort() if we
3076 see an unknown H8 variant.
3077
3078 2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3079
3080 PR target/9316
3081 * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
3082 * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
3083 * config/rs6000/t-rtems: New file. multilib variants to match OS.
3084 * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
3085 rs6000/t-ppcgas so we get the desired multilibs.
3086
3087 2003-01-30 Nick Clifton <nickc@redhat.com>
3088
3089 * config/arm/arm.c (arm_output_epilogue): Update stack pointer
3090 when popping saved IP register off the stack.
3091
3092 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
3093
3094 * config/rs6000/aix43.h: Fix comment typos.
3095 * config/rs6000/aix51.h: Likewise.
3096 * config/rs6000/aix52.h: Likewise.
3097 * config/rs6000/altivec.h: Likewise.
3098 * config/rs6000/rs6000.c: Likewise.
3099 * config/rs6000/rs6000.h: Likewise.
3100 * config/rs6000/rs6000.md: Likewise.
3101 * config/rs6000/spe.md: Likewise.
3102
3103 2003-01-29 Mark Mitchell <mark@codesourcery.com>
3104
3105 * c-common.c (builtin_define_float_constants): Define
3106 __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
3107
3108 2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
3109
3110 * config/sh/lib1funcs.asm: Fix comment typos.
3111 * config/sh/linux.h: Likewise.
3112 * config/sh/sh.c: Likewise.
3113 * config/sh/sh.md: Likewise.
3114
3115 2003-01-30 Loren James Rittle <ljrittle@acm.org>
3116
3117 * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
3118
3119 2003-01-30 Alexandre Oliva <aoliva@redhat.com>
3120
3121 * config/fp-bit.h (__make_dp): Declare if TMODES.
3122
3123 2003-01-29 Kazu Hirata <kazu@cs.umass.edu>
3124
3125 * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
3126 general_operand_src and general_operand_dst.
3127
3128 2003-01-29 David Edelsohn <edelsohn@gnu.org>
3129
3130 * config/rs6000/rs6000.c (function_arg_pass_by_reference):
3131 Return true for variable sized types.
3132 (rs6000_va_arg): Handle variable sized types passed by reference
3133 on non-SVR4 ABI.
3134
3135 2003-01-29 Richard Earnshaw <rearnsha@arm.com>
3136
3137 * arm.c (arm_legtimize_address): New function.
3138 * arm-protos.h (arm_legtimize_address): Add prototype.
3139 * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
3140 (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
3141 do ... while (0)
3142
3143 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3144
3145 PR bootstrap/9296
3146 * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code
3147 depended on it being defined until now.
3148
3149 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3150
3151 PR target/9295
3152 * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
3153 RTEMS code knows which C++ initialization style the toolset
3154 configuration is using.
3155
3156 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3157
3158 PR bootstrap/9293
3159 * config/m68k/t-crtstuff: Replace spaces with tabs, add
3160 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
3161
3162 2003-01-29 Joel Sherrill <joel@OARcorp.com>
3163
3164 PR bootstrap/9292
3165 * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
3166 RTEMS threads.
3167 * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
3168
3169 2003-01-29 Nick Clifton <nickc@redhat.com>
3170
3171 * Makefile.in (c-parse.o): Locate source file in $(parsedir)
3172 not $(srcdir).
3173
3174 2003-01-29 Andrew Haley <aph@redhat.com>
3175
3176 * tree-inline.c (walk_tree): Add CHAR_TYPE.
3177
3178 Wed Jan 29 10:26:12 CET 2003 Jan Hubicka <jh@suse.cz>
3179
3180 * i386.md (subdi3_carry_rex64): Fix typo.
3181
3182 2003-01-28 Stan Shebs <shebs@apple.com>
3183
3184 * coretypes.h (cpp_reader): Forward declare struct.
3185 * c-pragma.h (cpp_reader): Remove forward declaration.
3186 * hashtable.h (cpp_reader): Likewise.
3187 * scan.h (cpp_reader): Likewise.
3188 * tree.h (cpp_reader): Likewise.
3189 * config/darwin-protos.h (cpp_reader): Likewise.
3190 * config/arm/arm-protos.h (cpp_reader): Likewise.
3191 * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
3192 struct cpp_reader in prototypes.
3193
3194 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3195
3196 * doc/install.texi: Add documentation for installation into
3197 tooldirs and with DESTDIR.
3198
3199 2003-01-28 Richard Henderson <rth@redhat.com>
3200
3201 * config.gcc (ia64*-*-aix*): Remove.
3202 * config/ia64/aix.h, config/ia64/t-aix: Remove file.
3203 * config/ia64/unwind-aix.c: Remove file.
3204
3205 2003-01-28 Andreas Schwab <schwab@suse.de>
3206
3207 * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
3208 register.
3209 * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
3210 * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
3211 * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
3212 * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
3213 * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
3214 * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
3215 * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
3216
3217 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
3218
3219 * combine.c (nonzero_bits): Fix check for negative divide operands.
3220
3221 2003-01-28 Richard Henderson <rth@redhat.com>
3222
3223 * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
3224 * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
3225
3226 2003-01-28 Richard Henderson <rth@redhat.com>
3227
3228 * cse.c (find_best_addr): Kill !ADDRESS_COST code.
3229
3230 * config/cris/cris.c (cris_address_cost): Make static.
3231 (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
3232 * config/cris/cris.h (ADDRESS_COST): Remove.
3233 * config/cris/cris-protos.h: Update.
3234
3235 2003-01-23 Mike Stump <mrs@apple.com>
3236
3237 * regclass.c (init_reg_autoinc): New function.
3238 (regclass): Move initialization of forbidden_inc_dec_class from
3239 here...
3240 (init_regs): to here. Avoids reinitialization for each function,
3241 saving compilation time.
3242
3243 2003-01-28 Jason Merrill <jason@redhat.com>
3244
3245 * cpplib.h (struct cpp_options): Add warn_deprecated field.
3246 * cppinit.c (cpp_create_reader): Turn it on by default.
3247 * c-opts.c (c_common_decode_option): Set it.
3248 * cpplib.c (do_pragma_once): Only complain about #pragma once
3249 if warn_deprecated is set.
3250
3251 2003-01-28 Dale Johannesen <dalej@apple.com>
3252
3253 * emit-rtl.c (const_double_htab_hash): Use mode in the hash.
3254 * loop.c (scan_loop): Move movables on -Os rich-register targets.
3255 * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
3256
3257 2003-01-28 Richard Henderson <rth@redhat.com>
3258
3259 * target.h (targetm.address_cost): New.
3260 * target-def.h (TARGET_ADDRESS_COST): New.
3261 (TARGET_RTX_COSTS): Uncomment. Oops.
3262 * cse.c (address_cost): Use new target hook.
3263 (default_address_cost): New.
3264 * output.h (default_address_cost): Declare.
3265 * hooks.c (hook_int_rtx_0): New.
3266 * hooks.h (hook_int_rtx_0): Declare.
3267 * loop.c (combine_givs_p): Remove if 0 code.
3268 * system.h (ADDRESS_COST): Poison.
3269
3270 * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
3271 config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
3272 config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
3273 config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
3274 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
3275 config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
3276 config/xtensa/xtensa.c, config/xtensa/xtensa.h
3277 (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
3278 (ADDRESS_COST): Remove.
3279
3280 * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
3281 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
3282 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
3283 config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
3284 config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
3285 config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
3286 config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
3287 config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
3288 config/mips/mips.c, config/mips/mips.h,
3289 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
3290 config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
3291 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
3292 config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
3293 config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
3294 config/vax/vax.c, config/vax/vax.h
3295 (foo_address_cost): Make static.
3296 (TARGET_ADDRESS_COST): New.
3297 (ADDRESS_COST): Remove.
3298
3299 * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
3300 config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
3301 config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
3302 config/stormy16/stormy16.h
3303 (ADDRESS_COST): Move code ...
3304 (foo_address_cost): ... here.
3305 (TARGET_ADDRESS_COST): New.
3306
3307 * config/m32r/m32r.c (m32r_address_cost): Remove.
3308 * config/m32r/m32r-protos.h: Update.
3309
3310 * config/mmix/mmix.c (mmix_address_cost): Remove.
3311 * config/mmix/mmix-protos.h: Update.
3312
3313 * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
3314 mn10300_address_cost; move unsig allocation ...
3315 (mn10300_address_cost): ... here.
3316 (TARGET_ADDRESS_COST): New.
3317 * config/mn10300/mn10300-protos.h: Update.
3318 * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
3319
3320 * doc/tm.texi: Update.
3321
3322 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
3323
3324 * haifa-sched.c (schedule_insn): Return necessary cycle advance
3325 after issuing the insn.
3326 (rank_for_schedule): Make a insn with /S the highest priority
3327 insn.
3328 (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P.
3329 (choose_ready): Check SCHED_GROUP_P.
3330 (schedule_block): Advance cycle after issuing insn if it is
3331 necessary. Don't reorder insns if there is an insn with /S.
3332 (set_priorities): Ignore schedule groups.
3333
3334 * sched-deps.c (remove_dependence, group_leader): Remove the
3335 functions.
3336 (add_dependence): Ignore schedule groups.
3337 (set_sched_group_p): Don't make copy of dependencies from previous
3338 insn of the schedule group. Add anti-dependency to the previous
3339 insn of the schedule group.
3340 (compute_forward_dependences): Ignore schedule groups.
3341
3342 * sched-ebb.c (init_ready_list): Ignore schedule groups.
3343
3344 * sched-rgn.c (init_ready_list): Ditto.
3345 (can_schedule_ready_p): Ditto.
3346
3347 2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
3348
3349 * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
3350 register to another one.
3351
3352 2003-01-28 Richard Henderson <rth@redhat.com>
3353
3354 * calls.c (default_must_pass_in_stack): Fix typo in !type case.
3355
3356 2003-01-28 Roger Sayle <roger@eyesopen.com>
3357
3358 * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
3359
3360 2003-01-28 Richard Sandiford <rsandifo@redhat.com>
3361
3362 * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
3363 class contains a floating-point register, return the size of the
3364 mode in half words.
3365
3366 Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz>
3367
3368 * i386.c (ix86_carry_flag_operator): New predicate.
3369 (fcmov_operator): Fix whitespace.
3370 (ix86_expand_carry_flag_compare): Deal with floating point.
3371 (ix86_expand_int_movcc): Deal with fp; update insn expansion
3372 (ix86_expand_int_addcc): Likewise.
3373 (ix86_expand_strlensi_unroll_1): likewsie.
3374 * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
3375 * i386.md (add?i_carry_rex64): Use new predicate.
3376 (sub?i3_carry_rex64): Likewise.
3377 (x86_mov?icc_0_m1*): Likewise.
3378
3379 2003-01-28 Andreas Schwab <schwab@suse.de>
3380
3381 * cfgloopmanip.c (create_preheader): Initialize src to avoid
3382 warning.
3383
3384 * expmed.c (emit_store_flag): Fix cast to avoid sign
3385 comparison warning.
3386
3387 * combine.c (force_to_mode): Add cast to fix warning when
3388 STORE_FLAG_VALUE is negative.
3389
3390 2003-01-27 Richard Henderson <rth@redhat.com>
3391
3392 * Makefile.in (cse.o): Depend on TARGET_H.
3393 * cse.c (rtx_cost): Use targetm.rtx_costs.
3394 * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
3395 * doc/tm.texi: Update.
3396
3397 * target.h (targetm.rtx_costs): New.
3398 * target-def.h (TARGET_RTX_COSTS): New.
3399 * hooks.c (hook_bool_rtx_int_int_intp_false): New.
3400 * hooks.h: Update.
3401
3402 * config/alpha/alpha.c (alpha_rtx_cost_data): New.
3403 (alpha_rtx_costs, TARGET_RTX_COSTS): New.
3404 * config/alpha/alpha.h (PROCESSOR_MAX): New.
3405 (CONST_COSTS, RTX_COSTS): Remove.
3406
3407 * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
3408 config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
3409 config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
3410 config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
3411 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
3412 config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
3413 config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
3414 config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
3415 config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
3416 config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
3417 config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
3418 config/mn10200/mn10200.h, config/mn10300/mn10300.c,
3419 config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
3420 config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
3421 config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
3422 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
3423 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
3424 config/stormy16/stormy16.c, config/stormy16/stormy16.h,
3425 config/v850/v850.c, config/v850/v850.h,
3426 config/xtensa/xtensa.c, config/xtensa/xtensa.h
3427 (CONST_COSTS, RTX_COSTS): Move code ...
3428 (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
3429
3430 * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
3431 (arm_rtx_costs, TARGET_RTX_COSTS): New.
3432 * config/arm/arm-protos.h: Update.
3433 * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
3434
3435 * config/avr/avr.h (CONST_COSTS): Move code ...
3436 * config/avr/avr.c (avr_rtx_costs): ... here.
3437 (default_rtx_costs): Make static.
3438 * config/avr/avr-protos.h: Update.
3439
3440 * config/h8300/h8300.c (const_costs): Make static.
3441 (h8300_and_costs, h8300_shift_costs): Likewise.
3442 * config/h8300/h8300-protos.h: Update.
3443
3444 * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
3445 (CONST_COSTS): Move code ...
3446 * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from
3447 default_rtx_costs; update for signature change.
3448 * config/ip2k/ip2k-protos.h: Update.
3449
3450 * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
3451 (CONST_COSTS): Move code ...
3452 * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
3453 (TARGET_RTX_COSTS): New.
3454 (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
3455 * config/m68hc11/m68hc11-protos.h: Update.
3456
3457 * config/m68k/m68k.c (const_int_cost): Make static.
3458 * config/m68k/m68k-protos.h: Update.
3459
3460 * config/mcore/mcore.c (mcore_const_costs): Make static.
3461 (mcore_and_cost, mcore_ior_cost): Likewise.
3462 * config/mcore/mcore-protos.h: Update.
3463
3464 * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
3465 (mmix_rtx_cost_recalculated): Remove.
3466 * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
3467 * config/mmix/mmix-protos.h: Update.
3468
3469 * config/sh/sh.c (shiftcosts): Make static.
3470 (addsubcosts, andcosts, multcosts): Likewise.
3471 * config/sh/sh-protos.h: Update.
3472
3473 * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
3474 (sparc_rtx_costs): Make static; update for change in signature.
3475 * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
3476 * config/sparc/sparc-protos.h: Update.
3477
3478 * config/v850/v850.c (const_costs): Make static.
3479 * config/v850/v850-protos.h: Update.
3480
3481 * config/vax/vax.h (RTX_COSTS): Remove.
3482 (CONST_COSTS): Move code ...
3483 * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
3484 from vax_rtx_cost.
3485 (vax_rtx_costs, TARGET_RTX_COSTS): New.
3486
3487 2003-01-27 Richard Henderson <rth@redhat.com>
3488
3489 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
3490 * config/vax/vax-protos.h: Update. Really.
3491
3492 2003-01-28 Alexandre Oliva <aoliva@redhat.com>
3493
3494 * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
3495 (UNITS_PER_FPVALUE): Defined as the width of a long double, or
3496 zero if no hardware floating point.
3497 (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
3498 (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
3499 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
3500 (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
3501 (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
3502 * config/mips/mips.c (mips_arg_info): Pass TFmode values in
3503 even FP registers on N32 and N64.
3504 (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
3505 (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
3506 (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional
3507 even-register-like alignment to 128-bit arguments.
3508 (save_restore_insns): Use UNITS_PER_HWFPVALUE.
3509 (mips_function_value): Likewise. Return TFmode in $f0 and $f2
3510 on N32 or N64.
3511 * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
3512 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
3513 (TPBIT): Set to tp-bit.c.
3514 (tp-bit.c): Create out of fp-bit.c.
3515
3516 2003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
3517
3518 * c-parse.in: Remove '%expect 32' directive in objc mode.
3519
3520 2003-01-27 Nathan Sidwell <nathan@codesourcery.com>
3521
3522 * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
3523 (LIBGCOV): New variable.
3524 (libgcc.mk): Add LIBGCOV.
3525 (LIBGCC_DEPS): Add libgcov.c.
3526 (libgcov.a): New target.
3527 (clean): Remove libgcov.a.
3528 (install-libgcc): Do libgcov too.
3529 (stage1-start, stage2-start, stage3-start, stage4-start): Deal
3530 with libgcov.a.
3531 * libgcc2.c (L_gcov): Move into ...
3532 * libgcov.c: ... here. New file.
3533 * mklibgcc.in: Add libgcov rules.
3534 * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
3535
3536 * doc/invoke.texi (profile-arcs, test-coverage): Update and
3537 clarify.
3538
3539 * profile.c (index_counts_file): Remove duplicate check for open file.
3540
3541 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
3542
3543 * gcc/doc/invoke.texi (Optimization Options): Group together
3544 optional and experimental flags. Move trapv and bounds-check
3545 out of this section. Group floating point flags together.
3546 (Code Gen Options): Move trapv and bounds-check to here.
3547
3548 2003-01-27 Josef Zlomek <zlomekj@suse.cz>
3549
3550 * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
3551
3552 2003-01-27 Richard Earnshaw <rearnsha@arm.com>
3553
3554 PR optimization/9090
3555 * function.c (purge_addressof_1): After pushing an addressed register
3556 onto the stack, simplify the result.
3557
3558 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3559
3560 * doc/extend.texi: Fix typo.
3561
3562 2003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3563
3564 * doc/cppopts.texi: Fix typo.
3565 * doc/objc.texi: Likewise.
3566 * doc/passes.texi: Likewise.
3567
3568 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3569
3570 * real.c (ibm_extended_format): Add 53 to minimum exponent.
3571 (encode_ibm_extended): Adjust.
3572
3573 2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
3574
3575 * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
3576 timevar_id enumerations.
3577
3578 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
3579
3580 * combine.c: Fix formatting.
3581
3582 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
3583
3584 * doc/gccint.texi: Update the copyright.
3585
3586 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
3587
3588 * doc/cpp.texi: Fix typos.
3589 * doc/extend.texi: Likewise.
3590 * doc/gty.texi: Likewise.
3591 * doc/install.texi: Likewise.
3592 * doc/passes.texi: Likewise.
3593 * doc/rtl.texi: Likewise.
3594 * doc/tm.texi: Likewise.
3595
3596 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
3597
3598 * config/ia64/fde-glibc.c: Fix comment typos.
3599 * config/ia64/hpux.h: Likewise.
3600 * config/ia64/ia64.c: Likewise.
3601 * config/ia64/ia64.h: Likewise.
3602 * config/ia64/unwind-ia64.c: Likewise.
3603
3604 2003-01-26 Kazu Hirata <kazu@cs.umass.edu>
3605
3606 * config/i386/i386-modes.def: Fix comment typos.
3607 * config/i386/i386.c: Likewise.
3608 * config/i386/i386.md: Likewise.
3609
3610 2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl>
3611
3612 * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
3613 config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
3614 ASM_FINISH_DECLARE_OBJECT before defining it.
3615 * toplev.c (rest_of_decl_compilation): Don't define
3616 ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined.
3617 (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
3618 parameters for DWARF2 targets because they _are_ used.
3619
3620 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
3621
3622 * fp-bit.h: Define macros for TFmode floating-point constants
3623 in IBM-extended TFmode types.
3624 (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
3625 widths.
3626 * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
3627 TFmode type.
3628
3629 * config/fp-bit.h: Define macros for TFmode floating-point
3630 constants in IEEE quad TFmode type. Declare functions according
3631 to L_ macros.
3632 (TMODES): Define if __LDBL_MANT_DIG__ is 113.
3633 (TFtype, TItype, UTItype): Define if TMODES is defined.
3634 (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
3635 (F_T_BITOFF, D_T_BITOFF): Define.
3636 (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
3637 guaranteed to be wide enough.
3638 * config/fp-bit.c: Check for L_ macros for tf functions.
3639 (__thenan_tf): New.
3640 (nan): Adjust.
3641 (pack_d, unpack_d): Support IEEE 854 quad type.
3642 (_fpmul_parts): Support TFmode. Compute exponent adjustment
3643 from FRAC_NBITS, FRAC_BITS and NGARDS.
3644 (usi_to_float): Cast constants to be shifted to fractype
3645 instead of assuming long long is wide enough.
3646 (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
3647
3648 2003-01-26 Andreas Jaeger <aj@suse.de>
3649
3650 * df.c: Remove prototype of unused function df_regno_rtl_debug.
3651
3652 2003-01-26 Alexandre Oliva <aoliva@redhat.com>
3653
3654 * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
3655 (DBBIT_FUNCS): Added _df_to_tf.
3656 (TPBIT_FUNCS): New.
3657 (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
3658 (LIBGCC_DEPS): Added TPBIT.
3659 * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
3660
3661 * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
3662 been able to move the result to target.
3663
3664 * expr.c (emit_group_store): Initialize dst with CONST0_RTX
3665 for the appropriate mode.
3666
3667 * calls.c (emit_library_call_value_1): Handle return values
3668 in a PARALLEL.
3669
3670 * rtl.c (get_mode_alignment): Moved to...
3671 * stor-layout.c: ... here.
3672
3673 * print-rtl.c (print_rtx): Don't print MEM details in
3674 GENERATOR_FILEs.
3675
3676 2003-01-26 Michael Hayes <mph@paradise.net.nz>
3677
3678 * df.h: Update comments, tidy formatting.
3679 (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
3680 REVERSE, UNION, INTERSECTION. All uses updated.
3681 (OLD_DF_INTERFACE): Remove.
3682 (struct insn_info): Remove commented out insn field.
3683 * df.c: Update comments, tidy formatting.
3684 (df_def_table_realloc): Remove.
3685
3686
3687 2003-01-26 Alan Modra <amodra@bigpond.net.au>
3688
3689 * calls.c (save_fixed_argument_area): Tidy.
3690 (restore_fixed_argument_area): Tidy. Set alignment of stack_area.
3691 (expand_call): Comment typo fixes. Don't init low_to_save. Start
3692 call chain loop at 1 if !try_tail_call. Formatting.
3693 (emit_library_call_value_1): Don't init low_to_save or high_to_save.
3694 Use save_fixed_argument_area and restore_fixed_argument_area.
3695
3696 2003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3697
3698 * df.c (df_uses_record): Handle CC0.
3699
3700 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
3701
3702 * reload.c (maybe_memory_address_p): New function.
3703 (find_reloads_address): Use it instead of memory_address_p.
3704
3705 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
3706
3707 * final.c (shorten_branches): Align the address of code label
3708 when computing initial lengths and addresses.
3709
3710 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
3711
3712 * config/m68hc11/m68hc11.md: Fix a comment typo.
3713
3714 2003-01-25 Andreas Jaeger <aj@suse.de>
3715
3716 * config/i386/i386.c (x86_output_mi_thunk): Correct test for
3717 TARGET_MACHO.
3718
3719 2003-01-25 Roger Sayle <roger@eyesopen.com>
3720
3721 * gcse.c (bypass_last_basic_block): New global variable.
3722 (bypass_block): Use redirect_edge_and_branch_force to redirect
3723 fall-through edges. Use bypass_last_basic_block to determine
3724 which blocks have valid PRE information.
3725 (bypass_conditional_jumps): Initialize bypass_last_basic_block.
3726
3727 Sat Jan 25 22:31:59 CET 2003 Jan Hubicka <jh@suse.cz>
3728
3729 * gcse.c (local_cprop_pass): Update reg_sets table when needed.
3730
3731 Sat Jan 25 21:04:33 CET 2003 Jan Hubicka <jh@suse.cz>
3732 Eric Botcazou <ebotcazou@libertysurf.fr>
3733 PR opt/8492
3734 * gcse.c (one_cprop_pass): Delete unreachable blocks.
3735
3736 2003-01-25 Richard Henderson <rth@redhat.com>
3737
3738 * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
3739 from ia64_aix_select_rtx_section.
3740 (ia64_rwreloc_select_section): Simlarly; use default*_1 function
3741 instead of saving and restoring flag_pic.
3742 (ia64_rwreloc_unique_section): Similarly.
3743 * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
3744 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
3745 * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
3746 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
3747
3748 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
3749
3750 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
3751 comment.
3752
3753 2002-01-25 Richard Henderson <rth@redhat.com>
3754
3755 * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
3756
3757 2002-01-25 Kelley Cook <kelleycook@comcast.net>
3758
3759 * ggc-simple.c (debug_ggc_tree): Add PTR cast.
3760
3761 2003-01-25 Segher Boessenkool <segher@koffie.nl>
3762
3763 * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
3764 type for bitmaps. Use unsigned long.
3765 (nBITMAP_WORD_BITS): New macro.
3766 (BITMAP_WORD_BITS): New macro.
3767 (rest of file): Use it.
3768 * bitmap.c: Use it.
3769
3770 2003-01-25 Richard Henderson <rth@redhat.com>
3771
3772 2002-02-19 Robert Lipe <robertlipe@usa.net>
3773 * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
3774
3775 2002-01-25 Roger Sayle <roger@eyesopen.com>
3776
3777 * builtins.c (purge_builtin_constant_p): Scan insn stream
3778 sequentially rather than by basic block.
3779 * function.c (purge_addressof): Simplify test with INSN_P.
3780
3781 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
3782
3783 * combine.c (simplify_comparison, case AND): Remove a redundant test.
3784
3785 2002-01-25 Roger Sayle <roger@eyesopen.com>
3786
3787 * function.h (struct function): New field calls_constant_p.
3788 (current_function_calls_constant_p): New macro for above.
3789 * function.c (prepare_function_start): Initialize calls_eh_return
3790 and calls_constant_p.
3791 * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
3792 * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
3793 when the current_function_calls_constant_p.
3794 * integrate.c (expand_inline_function): Set calls_constant_p if
3795 the function being inlined has calls_constant_p set.
3796
3797 2002-01-25 Roger Sayle <roger@eyesopen.com>
3798
3799 * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
3800 optimizing, even if flag_gcse is true.
3801 * toplev.c (rest_of_compilation): purge_builtin_constant_p
3802 only needs to be called when "optimize > 0 && flag_gcse".
3803
3804 2003-01-25 Roger Sayle <roger@eyesopen.com>
3805
3806 * stmt.c (emit_case_bit_tests): New routine to implement suitable
3807 switch statements using the equivalent of "if ((1<<x) & cst) ... ".
3808 (case_bit_test_cmp): New comparison function for "qsort" to order
3809 case_bit_tests by decreasing number of destination nodes.
3810 (lshift_cheap_p): New function to determine if "1 << x" is cheap.
3811 (expand_end_case_type): Use emit_case_bit_tests to implement
3812 suitable switch statments.
3813 (CASE_USE_BIT_TESTS): New target macro to disable the above.
3814 * Makefile.in (stmt.o): Add dependency on optab.h.
3815 * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
3816
3817 2003-01-23 Andreas Schwab <schwab@suse.de>
3818
3819 * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
3820 __do_global_ctors_aux hidden global and don't put it in
3821 .init_array.
3822 * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
3823 instead so that it comes first.
3824
3825 Sat Jan 25 16:11:22 CET 2003 Jan Hubicka <jh@suse.cz>
3826
3827 * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD,
3828 subreg is read/modify.
3829
3830 Sat Jan 25 15:55:08 CET 2003 Jan Hubicka <jh@suse.cz>
3831
3832 * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
3833 do libcall for large blocks.
3834 * i386.md (comi patterns): Set type to ssecomi.
3835 (sse2_unpck?pd): Fix mode of vec_select.
3836
3837 * cse.c: Include except.h
3838 (cse_set_around_loop): Do not create new basic blocks.
3839 * Makefile.in (cse.o): Add dependnecy on except.h
3840
3841 Sat Jan 25 12:05:17 CET 2003 Jan Hubicka <jh@suse.cz>
3842
3843 * builtins.c (fold_trunc_transparent_mathfn): New function.
3844 (fold_builtin): Use it.
3845 * convert.c (convert_to_real): Re-enable code to convert
3846 math functions; add support for floor familly functions.
3847
3848 2003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3849
3850 * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
3851 dependencies on coretypes.h and $(TM_H).
3852
3853 Sat Jan 25 11:10:03 CET 2003 Jan Hubicka <jh@suse.cz>
3854
3855 * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
3856
3857 2002-01-24 Stuart Hastings <stuart@apple.com>
3858
3859 * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
3860
3861 2003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3862
3863 * config/c4x/c4x.md (UNSPEC_BU): New constants.
3864 (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
3865 (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
3866 (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
3867 (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise.
3868 (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise.
3869 (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise.
3870 (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise.
3871
3872 Fri Jan 24 23:44:12 CET 2003 Jan Hubicka <jh@suse.cz>
3873
3874 * emit-rtl.c (reg_attrs_htab): New static variable.
3875 (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
3876 functions.
3877 (reg_rtx): Do not maintain regno_decl.
3878 (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
3879 set_mem_attrs_from_reg): New global function.
3880 (init_emit): Do not initialize regno_decl.
3881 (init_emit_once): initialize reg_attrs_htab.
3882 * final.c (alter_subreg): Do not replace REG by SUBREG.
3883 (gen_mem_expr_from_op): Improve output.
3884 (output_asm_operands): Likewise.
3885 * function.c (assign_params): Do not set REGNO_DECL.
3886 * function.h (struct function): Kill regno_decl.
3887 (REGNO_DECL): Kill.
3888 * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
3889 * print_rtl.c (print_rtx): Output REG information.
3890 * regclass.c (reg_scan_mark_refs): Update attrs.
3891 * reload1.c (alter_reg): Likewise.
3892 * simplify_rtx.c (simplify_subreg): Likewise.
3893 * stmt.c (expand_decl): Likewise.
3894 * rtl.def (REG): Add new field.
3895 * rtl.h (struct reg_attrs): New.
3896 (rtunion_def): At rtreg.
3897 (X0MEMATTR): Add checking.
3898 (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
3899 (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
3900 Declare.
3901 * tree.h (SET_DECL_RTL): Call set_decl_rtl.
3902
3903 2003-01-24 Bob Wilson <bob.wilson@acm.org>
3904
3905 * config/xtensa/xtensa.c: Remove unused include of machmode.h.
3906 (xtensa_emit_call, print_operand): Fix printf format strings
3907 to avoid compile warnings.
3908 (xtensa_function_prologue, xtensa_function_epilogue): Change type
3909 of "size" argument to HOST_WIDE_INT to fix compile warnings.
3910 * config/xtensa/xtensa-protos.h
3911 (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
3912
3913 Fri Jan 24 23:03:32 CET 2003 Jan Hubicka <jh@suse.cz>
3914
3915 * builtins.c (DEF_BUILTIN): Accept 10 arguments.
3916 (implicit_built_in_decls): New global array.
3917 (mathfn_built_in): New global function.
3918 (fold_trunc_transparent_mathfn): New static function
3919 (expand_builtin_strstr, expand_bultin_strchr,
3920 expand_builtin_strpbrk, expand_builtin_strcpy,
3921 expand_builtin_strncpy, expand_bultin_strcmp,
3922 expand_bultin_strncat, expand_builtin_fputs): Use
3923 implicint_built_in_decls.
3924 (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
3925 * builtins.def: Fix comments.
3926 (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
3927 DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
3928 DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
3929 DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
3930 (DEF_C99_C90RES_BULTIN): New.
3931 (*f, *l builtins): Update.
3932 * c-common.c (DEF_BUILTIN): Initialize implicit array.
3933 (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
3934 * convert.c (strip_float_extensions): New global function.
3935 * tree.h (DEF_BUILTIN): Accept 10 arguments.
3936 (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
3937 Declare.
3938 * java/builtins.c (define_builtin): Handle implicit.
3939 (DEF_BUILTIN): Update.
3940 * tm.texi (TARGET_C99_FUNCTIONS): Document.
3941 * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
3942 * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
3943 when using glibc2.
3944
3945 2003-01-24 Bob Wilson <bob.wilson@acm.org>
3946
3947 * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
3948 extra_parts, and fixincludes. Add xtensa/t-elf tmake_file.
3949 (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
3950 * config/xtensa/crti.asm: New file.
3951 * config/xtensa/crtn.asm: New file.
3952 * config/xtensa/t-elf: New file.
3953 * config/xtensa/t-linux: New file.
3954 * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
3955 Move various CFLAGS settings to new t-elf file.
3956
3957 2003-01-24 Richard Henderson <rth@redhat.com>
3958
3959 PR optimization/4382
3960 * tree-inline.c (find_builtin_longjmp_call_1): New.
3961 (find_builtin_longjmp_call): New.
3962 (inlinable_function_p): Use it.
3963
3964 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3965
3966 * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
3967 * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
3968 * config/i386/i386.c (function_arg_pass_by_reference): New.
3969 (ix86_va_arg): Support arguments passed by reference.
3970
3971 2003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3972
3973 * cfgloopanal.c: New file.
3974 * cfgloopmanip.c: New file.
3975 * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
3976 (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
3977 cfglayout.o): Add dependency on cfgloop.h.
3978 (cfgloop.o): Add flags.h dependency.
3979 * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
3980 (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
3981 (struct loop, struct loops, flow_loops_find, flow_loops_update,
3982 flow_loops_free, flow_loops_dump, flow_loop_dump,
3983 flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
3984 LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
3985 LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
3986 flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
3987 loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
3988 find_common_loop, verify_loop_structure): Declarations moved to ...
3989 * cfgloop.h: New file.
3990 * bb-reorder.c (reorder_basic_blocks): Modified.
3991 * cfglayout.c: Include cfgloop.h.
3992 (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
3993 cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
3994 (break_superblocks): New static function.
3995 (cfg_layout_finalize): Use it.
3996 (cfg_layout_split_block): New function.
3997 * cfglayout.h (struct reorder_block_def): Add copy and duplicated
3998 fields.
3999 (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
4000 changed.
4001 (cfg_layout_split_block): Declare.
4002 * cfgloop.c: Include cfgloop.h and flags.h.
4003 (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
4004 get_loop_body): Avoid signed versus unsigned comparison warnings.
4005 (make_forwarder_block, flow_loops_find, loop_preheader_edge,
4006 loop_latch_edge): Modified.
4007 (verify_loop_structure): Modified to use flags stored in loop structure;
4008 check irreducible loops.
4009 (cancel_loop, cancel_loop_tree): New functions.
4010 (estimate_probability): Use loop analysis code for predictions.
4011 (estimate_loops_at_level): Avoid signed versus unsigned comparison
4012 warnings.
4013 * doloop.c: Include cfgloop.h.
4014 * loop.c: Include cfgloop.h.
4015 * predict.c: Include cfgloop.h.
4016 * toplev.c: Include cfgloop.h.
4017 * unroll.c: Include cfgloop.h.
4018 * tracer.c (tracer): Modified.
4019
4020 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
4021
4022 * config/h8300/h8300.c (get_shift_alg): Fix a typo.
4023
4024 2003-01-24 Ulrich Weigand <uweigand@de.ibm.com>
4025
4026 * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
4027 * configure: Regenerate.
4028
4029 * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
4030 (tls_symbolic_reference_mentioned_p): Add prototype.
4031 (s390_tls_get_offset): Add prototype.
4032 (emit_pic_move): Remove prototype, replace by ...
4033 (emit_symbolic_move): .. this new prototype.
4034
4035 * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
4036 (tls_model_chars): New global variable.
4037 (s390_encode_section_info): Encode TLS model.
4038 Use targetm.binds_local_p to check for local symbols.
4039 (s390_strip_name_encoding): New function.
4040 (TARGET_STRIP_NAME_ENCODING): Define.
4041
4042 (get_thread_pointer): New function.
4043 (legitimize_tls_address): New function.
4044 (legitimize_address): Call it.
4045 (emit_pic_move): Remove, replace by ...
4046 (emit_symbolic_move): ... this new function.
4047
4048 (larl_operand): Handle TLS operands.
4049 (legitimate_constant_p): Likewise.
4050 (s390_decompose_address): Likewise.
4051 (s390_cannot_force_const_mem): New function.
4052 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
4053
4054 (s390_output_symbolic_const): Handle TLS unspecs.
4055 (print_operand): New code 'J'.
4056 (machine_function): Add struct member 'some_ld_name'.
4057 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
4058
4059 (enum s390_builtin): New type.
4060 (code_for_builtin_64, code_for_builtin_31): New global variables.
4061 (s390_init_builtins, s390_expand_builtin): New functions.
4062 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
4063
4064 * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
4065 (ASM_OUTPUT_LABELREF): Define.
4066 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
4067
4068 * config/s390/s390.md: Define TLS UNSPEC constants.
4069 ("movdi", "movsi"): Handle TLS operands.
4070 ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
4071 ("*tls_load_64", "*tls_load_31"): New insns.
4072 ("call_value_tls", "call_value_tls_exp"): New expanders.
4073 ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
4074 "bas_tls_64", "bas_tls_31"): New insns.
4075
4076 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
4077
4078 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
4079 spe ABI is configured, if requested.
4080
4081 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4082
4083 * doc/passes.texi: Fix typo.
4084
4085 2003-01-24 Andreas Schwab <schwab@suse.de>
4086
4087 * stor-layout.c (excess_unit_span): Only define if used.
4088
4089 2003-01-24 Jerry Quinn <jlquinn@optonline.net>
4090
4091 * gcc/doc/invoke.texi (Optimization Options): List -O levels
4092 for each optimization flag.
4093
4094 2003-01-24 Kazu Hirata <kazu@cs.umass.edu>
4095
4096 * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
4097
4098 2003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4099
4100 * doc/bugreport.texi: Use @command instead of @code for commands.
4101 * doc/collect2.texi: Likewise.
4102 * doc/headerdirs.texi: Likewise.
4103 * doc/invoke.texi: Likewise.
4104 * doc/standards.texi: Likewise.
4105 * doc/tm.texi: Likewise.
4106 * doc/trouble.texi: Likewise.
4107
4108 2003-01-24 Nick Clifton <nickc@redhat.com>
4109
4110 * config/arm/arm.c (use_return_insn): Do not use a single return
4111 instruction for interrupt handelrs which have to create a stack
4112 frame.
4113 (arm_expand_prologue): Do not pre-bias the return address of
4114 interrupt handlers which create a stack frame.
4115
4116 2003-01-24 Nick Clifton <nickc@redhat.com>
4117
4118 * Add sh2e support:
4119
4120 2002-08-12 Alexandre Oliva <aoliva@redhat.com>
4121
4122 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
4123 med_cbranches. Fix logic in short_cbranches.
4124
4125 2002-04-03 Alexandre Oliva <aoliva@redhat.com>
4126
4127 * config/sh/sh.md (delay for cbranch): Don't annul delay
4128 slots on SH2e.
4129 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
4130 cbranch with unfilled delay slot on SH2e.
4131 (output_branch): Fill with a nop the delay slot of a
4132 branch that required a delay slot but didn't get one.
4133
4134 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
4135
4136 * doc/invoke.texi (SH options): Document -m2e.
4137 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
4138 * config/sh/lib1funcs.asm: Likewise.
4139 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
4140 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
4141 not __sh1__.
4142 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
4143 SH2E up.
4144 (SH3E_BIT): Renamed to...
4145 (SH_E_BIT): ... this. Replace all uses.
4146 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
4147 Replace all uses of TARGET_SH3E with TARGET_SH2E.
4148 (TARGET_SWITCHES): Added 2e.
4149 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
4150 (processor_type): Added PROCESSOR_SH2E.
4151 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
4152 TARGET_SH2E, except in sqrtsf2_i.
4153 (attribute cpu): Added sh2e.
4154 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
4155 (MULTILIB_MATCHES): Use m2e multilib for m3e.
4156 * config.gcc: Add sh2e target support.
4157
4158 2003-01-24 Phil Edwards <pme@gcc.gnu.org>
4159
4160 Rename -W to -Wextra.
4161 * c-decl.c: Update comments.
4162 * c-typeck.c: Likewise.
4163 * flags.h: Likewise.
4164 * function.c: Likewise.
4165 * stmt.c: Likewise.
4166 * toplev.c: Update comments.
4167 (W_options): Add 'extra'.
4168 (display_help): Remove '-W'.
4169 (decode_W_option): Special warn_uninitialized treatment in the case
4170 of -Wextra.
4171 * doc/invoke.texi: Update with new entries.
4172
4173 2003-01-23 Richard Henderson <rth@redhat.com>
4174
4175 * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
4176 in no-else-block case. Add commentary.
4177
4178 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4179
4180 * configure.in: Revert last change.
4181
4182 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4183
4184 * configure.in: Don't include ansidecl.h in tconfig.h.
4185 * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
4186 * unwind-dw2-fde.h (last_fde): Use __attribute__, not
4187 ATTRIBUTE_UNUSED.
4188
4189 * configure: Regenerate.
4190
4191 2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4192
4193 PR java/6748
4194 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
4195 regs->nip. Fix rt_sigreturn frame layout. Add support for newer
4196 kernels.
4197
4198 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4199
4200 * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
4201
4202 2003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
4203
4204 * genattrtab.c (write_attr_get): Mark 'insn' paramter
4205 as ATTRIBUTE_UNUSED.
4206
4207 2003-01-23 Richard Earnshaw <rearnsha@arm.com>
4208
4209 * arm.c (thumb_base_register_rtx_p): New function.
4210 (thumb_index_register_rtx_p): New function.
4211 (thumb_legitimate_address_p): New function.
4212 (thumb_legitimate_offset_p): New function.
4213 * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
4214 (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
4215 definitions.
4216 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
4217 (THUMB_LEGITIMATE_OFFSET): Delte.
4218 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
4219 * arm-protos.h (thumb_legitimate_address_p): Add prototype.
4220 (thumb_legitimate_offset_p): Likewise.
4221
4222 2003-01-23 Andreas Schwab <schwab@suse.de>
4223
4224 * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
4225
4226 2003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4227
4228 * fixinc/Makefile.in (FL_LIST): Revert last change.
4229
4230 2003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4231
4232 PR other/7341
4233 * invoke.texi (ftest-coverage): Fix broken cross-reference.
4234 Change @code to @command for gcov command.
4235
4236 * gcc.texi: Adjust title of gcov section.
4237 Adjust copyright.
4238 * gcov.texi: Likewise.
4239
4240 2003-01-22 Roger Sayle <roger@eyesopen.com>
4241
4242 PR optimization/8423
4243 * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
4244 its argument is constant, or 0 if !flag_gcse.
4245 * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
4246 if it's argument is constant.
4247 * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
4248 (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
4249 (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
4250 * builtins.c (purge_builtin_constant_p): New function to force
4251 instantiation of any remaining CONSTANT_P_RTX nodes.
4252 * rtl.h (purge_builtin_constant_p): Prototype here.
4253 * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
4254 pass after GCSE and before loop.
4255 (flag_gcse): No longer static.
4256 * flags.h (flag_gcse): Prototype here.
4257
4258 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
4259
4260 * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
4261 introduced by last change.
4262
4263 2003-01-22 Andreas Schwab <schwab@suse.de>
4264
4265 * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
4266
4267 2003-01-22 Kazu Hirata <kazu@cs.umass.edu>
4268
4269 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
4270 request a scratch reg on H8S when the shift count is 8.
4271
4272 2003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
4273
4274 * config/s390/s390-protos.h (preferred_la_operand_p):
4275 Remove second parameter.
4276 * config/s390/s390.c (preferred_la_operand_p): Likewise.
4277 * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
4278 (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
4279 * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
4280 Add peepholes to transform ADD to LOAD ADDRESS.
4281
4282 2003-01-22 Richard Earnshaw <rearnsha@arm.com>
4283
4284 * arm.c (arm_address_register_rtx_p): New function.
4285 (arm_legitimate_address_p): New function.
4286 (arm_legitimate_index_p): New function.
4287 (legitimize_pic_address): Use arm_legitimate_index_p.
4288 * arm-protos.h (arm_legtimate_address_p): Add prototype.
4289 * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
4290 (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
4291
4292 2003-01-22 Hartmut Penner <hpenner@de.ibm.com>
4293
4294 * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
4295 * config/s390/2064.md (define_bypass): Correct 'Load' and
4296 'Load-address' bypass values.
4297
4298 2003-01-22 Andreas Schwab <schwab@suse.de>
4299
4300 * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
4301
4302 2003-01-21 Zack Weinberg <zack@codesourcery.com>
4303
4304 * genautomata.c (output_internal_insn_latency_func,
4305 output_print_reservation_func): Short circuit when there is no
4306 automaton to generate code for.
4307
4308 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4309
4310 * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
4311 (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
4312
4313 2003-01-21 Geoffrey Keating <geoffk@apple.com>
4314
4315 * config/rs6000/rs6000.md: Remove warning.
4316 (builtin_setjmp_receiver): Likewise.
4317 * config/darwin.c (update_stubs): Slightly improve terrible hack
4318 with identifiers. Add comment pointing out problems with it.
4319 (update_non_lazy_ptrs): Likewise.
4320
4321 2003-01-21 Richard Henderson <rth@redhat.com>
4322
4323 * dwarf2out.c (lookup_filename): Fix printf format warning.
4324 * system.h (fread_unlocked, fwrite_unlocked): Undef.
4325
4326 * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
4327 (fixincl.o-warn, gnu-regex.o-warn): New.
4328 * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
4329 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
4330 * fixinc/fixincl.c (process): Fix printf format warning.
4331
4332 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
4333
4334 * dwarf2out (output_file_names): Don't crash if called
4335 with empty file_table.
4336
4337 2003-01-21 Zack Weinberg <zack@codesourcery.com>
4338
4339 * genautomata.c (output_internal_insn_latency_func): Add
4340 missing break statement to generated code.
4341
4342 2003-01-21 Roger Sayle <roger@eyesopen.com>
4343
4344 * stmt.c (same_case_target_p): New function to determine whether
4345 two case labels branch to the same target. Split out from...
4346 (group_case_nodes): ... here. Use same_case_target_p instead.
4347 (strip_default_case_nodes): Remove explicit case nodes
4348 that branch to the default destination.
4349 (expand_end_case_type): Call strip_default_case_nodes after
4350 group_case_nodes, to simplify the case-list before we count it.
4351 Only generate table_label RTX when actually needed. Try to share
4352 thiscase->exit_label and thiscase->data.case_stmt.default_label
4353 when a switch has no explicit default case. Simplify test for
4354 constant index.
4355
4356 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
4357
4358 * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
4359 \t.
4360 (*negsf2_h8300hs): Likewise.
4361 (*addsi3_lshiftrt_16_zexthi): Likewise.
4362 (*iorhi3_lshiftrt_8): Likewise.
4363
4364 2003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
4365
4366 * dwarf2out.c (fde_table_in_use): Mark GTY.
4367 (dwarf2out_cfi_label_num): New variable, marked GTY.
4368 (dwarf2out_cfi_label): Use it instead of static label_num.
4369 * emit-rtl.c (label_num): Mark GTY.
4370
4371 2003-01-21 Kazu Hirata <kazu@cs.umass.edu>
4372
4373 * config/h8300/h8300.c (output_plussi): Support H8/300.
4374 (compute_plussi_length): Likewise.
4375 (compute_plussi_cc): Likewise.
4376 * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
4377 output assembly instructions.
4378
4379 2003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4380
4381 * calls.c (fix_unsafe_tree): Prototype.
4382
4383 * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
4384 (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
4385 insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
4386 c-parse.o-warn): Add -Wno-error.
4387 (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
4388
4389 * configure.in (--enable-werror): Add new flag.
4390 * doc/install.texi (--enable-werror): Document.
4391 * configure: Regenerate.
4392
4393 * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
4394
4395 2003-01-21 Andreas Schwab <schwab@suse.de>
4396
4397 * genautomata.c (output_internal_insn_latency_func): Fix missing
4398 close paren in output.
4399
4400 2003-01-21 Zack Weinberg <zack@codesourcery.com>
4401
4402 * genautomata.c: Space savings in generated code:
4403 (output_dfa_insn_code_func): Split out the table-enlargement
4404 path to an out-of-line static function, dfa_insn_code_enlarge.
4405 (output_internal_insn_latency_func): Use a lookup table for the
4406 default latencies.
4407 (output_print_reservation_func): Use a lookup table for the
4408 strings.
4409
4410 2003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
4411
4412 PR opt/7507
4413 * calls.c (fix_unsafe_tree): Split out from ...
4414 (expand_call): ... here. Use it on the function address too.
4415
4416 2003-01-20 Richard Henderson <rth@redhat.com>
4417
4418 * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
4419
4420 2003-01-20 Richard Henderson <rth@redhat.com>
4421
4422 PR opt/7154
4423 * stmt.c (expand_asm_operands): Validize memory operands.
4424
4425 2003-01-20 Richard Henderson <rth@redhat.com>
4426
4427 PR opt/8848
4428 * ifcvt.c (noce_process_if_block): Correct arguments to
4429 modified_between_p for no-else-block case.
4430
4431 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
4432
4433 * config/h8300/h8300.c (const_costs): Remove a warning.
4434 (output_plussi): Likewise.
4435 (compute_plussi_length): Likewise.
4436 (compute_plussi_cc): Likewise.
4437
4438 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
4439
4440 * config/h8300/h8300.md (addsi_h8300): Remove the last
4441 alternative.
4442
4443 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
4444
4445 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
4446
4447 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4448
4449 * system.h (__NO_STRING_INLINES): Define.
4450
4451 2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4452
4453 * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
4454 is not a scalar int mode.
4455
4456 2003-01-20 Roger Sayle <roger@eyesopen.com>
4457
4458 * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
4459 insn's notes following a substitution inside a libcall.
4460
4461 2003-01-20 Zack Weinberg <zack@codesourcery.com>
4462
4463 * configure.in: Check for system-provided 'uchar' type.
4464 * configure, config.in: Regenerate.
4465 * cpphash.h: Only typedef 'uchar' if the system doesn't.
4466
4467 2003-01-20 Richard Henderson <rth@redhat.com>
4468
4469 * expr.h (MUST_PASS_IN_STACK): Move implementation...
4470 * calls.c (default_must_pass_in_stack): ... here.
4471
4472 2003-01-20 Vladimir Makarov <vmakarov@redhat.com>
4473
4474 * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
4475
4476 * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
4477
4478 * genattr.c (main): Output default definition of AUTOMATON_ALTS.
4479 Wrap up definition of `insn_alts'.
4480
4481 * genattrtab.c (main): Wrap up `insn_alts'.
4482
4483 2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4484
4485 * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
4486 prototyping.
4487 * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
4488
4489 * config.in, configure: Regenerate.
4490
4491 2003-01-20 Nick Clifton <nickc@redhat.com>
4492
4493 * config/arm/arm.md (sibcall_epilogue): Add an
4494 UNSPEC_PROLOGUE_USE to prevent the link register from being
4495 considered dead.
4496
4497 Mon Jan 20 14:36:23 CET 2003 Jan Hubicka <jh@suse.cz>
4498
4499 * i386.md (SSE cmov splitter): Handle memory operand in operand 5.
4500
4501 2003-01-20 Andreas Schwab <schwab@suse.de>
4502
4503 * system.h: Don't declare strsignal if the decl test hasn't been
4504 run yet.
4505
4506 2003-01-20 Kazu Hirata <kazu@cs.umass.edu>
4507
4508 * config/h8300/h8300.c (notice_update_cc): Don't assume that
4509 recog_data.operands[0] is always associated with cc0.
4510
4511 2003-01-19 David Edelsohn <edelsohn@gnu.org>
4512
4513 * collect2.c (ldgetname): Expand declaration to prototype.
4514 * read-rtl.c (atoll): Add prototype.
4515 * system.h (strsignal): Also declare if no declaration found.
4516
4517 2003-01-19 Alexandre Oliva <aoliva@redhat.com>
4518
4519 * config.gcc (mips64*-*-linux*): Added.
4520 * config/mips/linux64.h, config/mips/t-linux64: New file.
4521 * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
4522 * config/mips/mips.c (override_options): Use it.
4523 * config/mips/mips.h (TARGET_SWITCHES): Added...
4524 (SUBTARGET_TARGET_SWITCHES): New, empty by default.
4525 * Makefile.in (SPECS): New.
4526 (STAGESTUFF, specs, mostlyclean, install-common): Use it.
4527 * gcc.c (process_command): Move self-spec processing past spec
4528 file loading.
4529 * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
4530 * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
4531 CRTSTUFF_T_CFLAGS.
4532 (SPECS): Document.
4533 * doc/invoke.texi (-mabi-fake-default): Document.
4534
4535 2003-01-19 Stephane Carrez <stcarrez@nerim.fr>
4536
4537 * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
4538 z_reg, z_reg_qi): Declare static and GTY().
4539 (da_reg): Remove.
4540 (create_regs_rtx): Don't create da_reg.
4541 ("gt-m68hc11.h"): Include for GTY roots.
4542 * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
4543 and GTY() here.
4544 (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
4545 (m68hc11_soft_tmp_reg): Likewise.
4546 * config/m68hc11/m68hc11-protos.h: Remove above declarations.
4547
4548 2003-01-18 Kazu Hirata <kazu@cs.umass.edu>
4549
4550 * basic-block.h: Fix comment formatting.
4551 * calls.c: Likewise.
4552 * combine.c: Likewise.
4553 * convert.c: Likewise.
4554 * gcov.c: Likewise.
4555 * haifa-sched.c: Likewise.
4556 * libgcc2.c: Likewise.
4557 * loop.c: Likewise.
4558 * profile.c: Likewise.
4559 * system.h: Likewise.
4560
4561 2003-01-18 Roger Sayle <roger@eyesopen.com>
4562
4563 * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
4564
4565 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4566
4567 * ra-build.c (undef_to_size_word): Avoid `switch' warning.
4568
4569 2003-01-17 Dale Johannesen <dalej@apple.com>
4570
4571 * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers.
4572 (*floatunssidf2_internal): Ditto.
4573
4574 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
4575
4576 * alias.c: Fix comment typos.
4577 * basic-block.h: Likewise.
4578 * c-common.c: Likewise.
4579 * c-common.h: Likewise.
4580 * c-decl.c: Likewise.
4581 * c-opts.c: Likewise.
4582 * c-pragma.c: Likewise.
4583 * c-pretty-print.h: Likewise.
4584 * cfg.c: Likewise.
4585 * cfganal.c: Likewise.
4586 * cfgbuild.c: Likewise.
4587 * cfgcleanup.c: Likewise.
4588 * cfglayout.c: Likewise.
4589 * cfgrtl.c: Likewise.
4590 * convert.c: Likewise.
4591 * cpphash.h: Likewise.
4592 * cpplex.c: Likewise.
4593 * cpplib.h: Likewise.
4594 * df.h: Likewise.
4595 * diagnostic.c: Likewise.
4596 * diagnostic.h: Likewise.
4597 * dwarf2.h: Likewise.
4598
4599 2003-01-17 Stan Shebs <shebs@apple.com>
4600
4601 * config/darwin-protos.h: Forward-declare struct cpp_reader.
4602
4603 2003-01-17 Douglas B Rupp <rupp@gnat.com>
4604
4605 * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
4606 mistake in last checkin.
4607
4608 2003-01-17 Kazu Hirata <kazu@cs.umass.edu>
4609
4610 * et-forest.c: Fix comment typos.
4611 * et-forest.h: Likewise.
4612 * except.c: Likewise.
4613 * expr.c: Likewise.
4614 * flags.h: Likewise.
4615 * flow.c: Likewise.
4616 * gcc.c: Likewise.
4617 * gcse.c: Likewise.
4618 * genattrtab.c: Likewise.
4619 * genautomata.c: Likewise.
4620 * gengtype.c: Likewise.
4621 * genrecog.c: Likewise.
4622 * global.c: Likewise.
4623 * gthr-rtems.h: Likewise.
4624
4625 2003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4626
4627 * i386.c (x86_function_profiler): Fix format specifier.
4628
4629 2003-01-17 Richard Henderson <rth@redhat.com>
4630
4631 * gengtype.c (walk_type): Allow paramN_is.
4632
4633 2003-01-17 Nick Clifton <nickc@redhat.com>
4634
4635 * config/i960/t-960bare (i960-c.o): Add missing newline escape.
4636
4637 2003-01-16 Richard Henderson <rth@redhat.com>
4638
4639 * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
4640
4641 2003-01-16 Richard Henderson <rth@redhat.com>
4642
4643 * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
4644 (alpha_next_sequence_number): Likewise.
4645 (alpha_this_literal_sequence_number): Likewise.
4646 (alpha_this_gpdisp_sequence_number): Likewise.
4647 (struct alpha_funcs, alpha_funcs_num): Likewise.
4648 (struct alpha_links): Fix branch merge error.
4649 (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
4650
4651 2003-01-17 Alexandre Oliva <aoliva@redhat.com>
4652
4653 * config/mips/mips.h: Don't use #elif. Reported by Kaveh
4654 R. Ghazi.
4655
4656 2003-01-16 Kazu Hirata <kazu@cs.umass.edu>
4657
4658 * ifcvt.c: Fix comment typos.
4659 * lcm.c: Likewise.
4660 * libgcc2.c: Likewise.
4661 * local-alloc.c: Likewise.
4662 * loop.c: Likewise.
4663 * predict.c: Likewise.
4664 * ra-build.c: Likewise.
4665 * ra.c: Likewise.
4666 * ra-colorize.c: Likewise.
4667 * ra.h: Likewise.
4668 * ra-rewrite.c: Likewise.
4669 * regmove.c: Likewise.
4670 * reload.h: Likewise.
4671 * rtlanal.c: Likewise.
4672 * toplev.c: Likewise.
4673 * tree.h: Likewise.
4674 * unwind-dw2-fde-glibc.c: Likewise.
4675 * vmsdbgout.c: Likewise.
4676
4677 2003-01-16 Richard Henderson <rth@redhat.com>
4678
4679 * dwarf2out.c (struct file_table): Remove.
4680 (FILE_TABLE_INCREMENT): Remove.
4681 (file_table): Make a varray; mark for GC. Update all users.
4682 (file_table_last_lookup_index): Extract from struct file_table.
4683 (output_file_names): Fix unsigned compare warnings.
4684 (add_name_attribute): Remove inline marker.
4685 (add_comp_dir_attribute): Split out from gen_compile_unit_die.
4686 (lookup_filename): Don't manage size of file_table.
4687 (init_file_table): Allocate file_table with GC.
4688 (dwarf2out_init): Don't record main_input_filename here.
4689 (dwarf2out_finish): Do it here instead.
4690
4691 2003-01-16 Bruce Korb <bkorb@gnu.org>
4692
4693 * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
4694
4695 2003-01-16 Kaz Kojima <kkojima@gcc.gnu.org>
4696
4697 * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
4698 instead of rotldi3_mextr.
4699
4700 2003-01-16 Vladimir Makarov <vmakarov@redhat.com>
4701
4702 * haifa-sched.c (move_insn): Restore moving all schedule group.
4703 (set_priorities): Restore taking SCHED_GROUP_P into account.
4704
4705 * sched-deps.c (add_dependence): Restore processing the last group
4706 insn.
4707 (remove_dependence, group_leader): Restore the functions.
4708 (set_sched_group_p): Restore adding dependencies from previous insn
4709 in the group.
4710 (compute_forward_dependences): Restore usage of group_leader.
4711
4712 * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
4713 account.
4714
4715 * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
4716 account.
4717 (can_schedule_ready_p): Ditto.
4718 (add_branch_dependences): Restore skipping over the group insns.
4719
4720 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
4721
4722 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
4723 68HC12 pre/post inc/dec side effects.
4724
4725 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
4726
4727 * config/m68hc11/m68hc11.h (MASK_M6812): Define.
4728
4729 Thu Jan 16 21:50:25 2003 J"orn Rennecke <amylaar@onetel.net.uk>
4730
4731 * sh.md (mshflo_w_x): Fix description of operation.
4732
4733 2003-01-16 Zack Weinberg <zack@codesourcery.com>
4734
4735 * config/rs6000/rs6000.h: Mention Altivec registers in
4736 commentary. Fix typo.
4737
4738 2003-01-16 David Edelsohn <edelsohn@gnu.org>
4739
4740 * config/rs6000/rs6000.md (movti_string): Remove clobber.
4741 * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
4742 generate PARALLEL with clobber for TARGET_POWER.
4743
4744 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4745
4746 * ra-colorize.c (colorize_one_web): Initialize variable.
4747 * regmove.c (fixup_match_1): Likewise.
4748 * reload1.c (reload_as_needed): Likewise.
4749 * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
4750
4751 2003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4752
4753 * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
4754
4755 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4756
4757 * dbxout.c (lastfile, cwd): Fix `unused' warning.
4758 * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
4759 dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
4760 is_main_source, file_table, decl_die_table_in_use,
4761 abbrev_die_table_in_use, line_info_table_in_use,
4762 separate_line_info_table_in_use, pubname_table_in_use,
4763 arange_table_in_use, ranges_table_in_use,
4764 current_function_has_inlines): Likewise.
4765 * flow.c (life_analysis): Likewise.
4766 * genemit.c (gen_insn): Likewise.
4767 * protoize.c (cplus_suffix): Likewise.
4768
4769 * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
4770 * arm.h (ROUND_UP_WORD): Likewise.
4771
4772 * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
4773 warning.
4774 * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
4775 init_emit_once): Likewise.
4776 * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
4777 Likewise.
4778 * function.c (assign_stack_temp_for_type): Likewise.
4779 * loop.c (loop_invariant_p): Likewise.
4780 * recog.c (push_operand): Likewise.
4781 * regclass.c (init_reg_sets_1): Likewise.
4782 * reload.c (update_auto_inc_notes): Likewise.
4783 * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
4784 * stmt.c (expand_asm_operands): Likewise.
4785 * stor-layout.c (start_record_layout): Likewise.
4786
4787 2003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
4788
4789 * config/c4x/c4x.md (epilogue): Correct last patch.
4790
4791 2003-01-15 Richard Henderson <rth@redhat.com>
4792
4793 * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
4794 also check that GP is being used.
4795 (alpha_find_lo_sum_using_gp): New.
4796 (alpha_does_function_need_gp): Use get_attr_usegp.
4797 * config/alpha/alpha-protos.h: Update.
4798 * config/alpha/alpha.md (attr usegp): New. Annotate patterns
4799 as needed.
4800
4801 2003-01-15 Roger Sayle <roger@eyesopen.com>
4802
4803 * gcse.c (one_cprop_pass): Change function arguments to take both
4804 cprop_jumps and bypass_jumps flags instead of just alter_jumps.
4805 (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
4806 (bypass_jumps): New function to perform separate jump bypassing pass.
4807 * rtl.h (bypass_jumps): Add function prototype.
4808 * timevar.def (TV_BYPASS): New timing variable.
4809 * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
4810 (dump_file): New entry for the bypass RTL dump file.
4811 (rest_of_compilation): Insert new jump bypassing optimization
4812 pass after loop.
4813 * doc/passes.texi: Document new pass.
4814
4815 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4816
4817 * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
4818 ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
4819 * pa.h (TARGET_SOM_SDEF): Define.
4820 * pa-hpux11.h (TARGET_SOM_SDEF): Define.
4821
4822 2003-01-16 Stephane Carrez <stcarrez@nerim.fr>
4823
4824 * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
4825 allocate 4-bytes of locals on 68HC11.
4826 (expand_epilogue): Likewise.
4827 (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
4828
4829 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
4830
4831 * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
4832 and -mshort-double to the assembler to specify the ABI.
4833 (LINK_SPEC): Likewise.
4834 (CPP_SPEC): Pass HCS12 specific define.
4835 (MASK_M68S12): New define.
4836 (TARGET_M68S12): Likewise.
4837 (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
4838 (TARGET_VERSION): Update.
4839 * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
4840 (LINK_SPEC): Update.
4841 (ASM_SPEC): Update.
4842 * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
4843 * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
4844
4845 2003-01-15 Stephane Carrez <stcarrez@nerim.fr>
4846
4847 * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
4848 the return code.
4849
4850 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
4851
4852 * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
4853 flag before setting it.
4854
4855 2003-01-15 Roger Sayle <roger@eyesopen.com>
4856
4857 * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
4858 when loop condition is known true, i.e. "while (1) { ... }".
4859 (genrtl_for_stmt): Similarly for "for" statements.
4860
4861 2003-01-15 Roger Sayle <roger@eyesopen.com>
4862
4863 * real.c (real_sqrt): Return a bool result indicating whether
4864 a floating point exception or trap should be raised.
4865 * real.h (real_sqrt): Update function prototype.
4866 * builtins.c (fold_builtin): Only fold non-trapping square
4867 roots unless we're ignoring errno and trapping math.
4868
4869 2003-01-15 John David Anglin <dave.anglin@nrc.gc.ca>
4870
4871 * expr.h (emit_conditional_add): Add PARAMS to declaration.
4872 * gengtype-lex.l (malloc, realloc): Move defines after include of
4873 system.h. Remove duplicate include of system.h.
4874
4875 2003-01-15 Roger Sayle <roger@eyesopen.com>
4876
4877 PR middle-end/9009
4878 * optabs.c (expand_unop): When manipulating the FP sign bit
4879 using integer operations, account for targets with different
4880 integer and FP word orders.
4881 (expand_abs): Likewise.
4882
4883 2003-01-15 David Edelsohn <edelsohn@gnu.org>
4884
4885 * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
4886 file extension in section name.
4887
4888 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
4889
4890 * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
4891 constant offset.
4892
4893 2003-01-15 Richard Earnshaw <rearnsha@arm.com>
4894
4895 * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
4896 (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
4897 (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
4898 (ARM_PRINT_OPERAND_ADDRESS): Likewise.
4899
4900 Wed Jan 15 12:23:21 CET 2003 Jan Hubicka <jh@suse.cz>
4901
4902 PR f/9258
4903 * global.c (struct allocno): Add no_stack_reg.
4904 (global_conflicts): Set no_stack_reg.
4905 (find_reg): Use it.
4906
4907 * convert.c (convert_to_real): Fold - and abs only when profitable.
4908 * fold-const.c (fold): Fold truncates in - and abs.
4909
4910 2003-01-15 Josef Zlomek <zlomekj@suse.cz>
4911
4912 Segher Boessenkool <segher@koffie.nl>
4913
4914 * predict.c (real_inv_br_prob_base): New variable.
4915 (propagate_freq): Use multiply by reciprocal instead of
4916 division. Don't divide by 1.0 at all.
4917 (estimate_bb_frequencies): Similar.
4918
4919 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
4920
4921 * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
4922 * configure: Rebuilt.
4923
4924 2003-01-15 Hartmut Penner <hpenner@de.ibm.com>
4925
4926 * config/s390/s390.c (s390_safe_attr_type): New function.
4927 (s390_use_dfa_pipeline_interface): New function, return true for z900.
4928 (s390_issue_rate): New function.
4929 (s390_agen_dep_p): New function.
4930 (addr_generation_dependency_p): Use 's390_safe_attr_type'.
4931 (s390_adjust_cost): Return 'cost' if new DFA is used.
4932 (s390_adjust_priority): Delete function.
4933 * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
4934 * config/s390/s390.md (atype attribute): Attribute 'atype' default
4935 determined by 'op_type'.
4936 (type attribute): Added more type attributes.
4937 * config/s390/2064.md: New DFA description for z900 pipeline.
4938
4939 2003-01-15 Alexandre Oliva <aoliva@redhat.com>
4940
4941 * config/i386/i386.c (ix86_expand_vector_move): Validize constant
4942 forced to memory. Fixes PR bootstrap/9036.
4943
4944 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
4945 to set $gp before the call.
4946
4947 2003-01-14 Richard Henderson <rth@redhat.com>
4948
4949 * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
4950 for force_const_mem.
4951
4952 2003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4953
4954 * genattr.c (main): Rearrange output to avoid prototype warning.
4955 * genautomata.c (transform_3): Fix ambiguous-else warning.
4956 * local-alloc.c (requires_inout): Add parentheses around
4957 assignment used as truth-value.
4958 * timevar.c: Move system includes above local includes. Include
4959 toplev.h
4960 * Makefile.in (timevar.o): Depend on toplev.h.
4961
4962 2003-01-14 Denis Chertykov <denisc@overta.ru>
4963
4964 * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
4965 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
4966
4967 * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
4968 attributes.
4969 (TARGET_ATTRIBUTE_TABLE): New macro.
4970 (valid_machine_type_attribute): Remove.
4971 (valid_machine_decl_attribute): Remove.
4972 (ip2k_handle_progmem_attribute): New function.
4973 (ip2k_handle_fndecl_attribute): New function.
4974
4975 2003-01-10 Andrew Haley <aph@redhat.com>
4976
4977 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
4978 registers to be in correct order. Add rip.
4979
4980 2003-01-14 Kazu Hirata <kazu@cs.umass.edu>
4981
4982 * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
4983 (*iorsi3_and_lshiftrt_9_sb): Likewise.
4984
4985 Tue Jan 14 00:45:33 CET 2003 Jan Hubicka <jh@suse.cz>
4986
4987 * convert.c (strip_float_extensions): Look for narrowest type handling
4988 FP constants.
4989
4990 * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into
4991 float1 CMP float2.
4992 * convert.c (strip_float_extensions): Make global.
4993 * tree.h (strip_float_extensions): Declare.
4994
4995 2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
4996
4997 * timevar.def: define TV_NAME_LOOKUP.
4998 * timevar.c (timevar_pop): Be verbose when aborting.
4999
5000 2003-01-13 Andreas Schwab <schwab@suse.de>
5001
5002 * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
5003 $(parsedir), just move the temporary file at the end.
5004 ($(parsedir)/gengtype-yacc.c): Likewise.
5005
5006 2003-01-13 Alexandre Oliva <aoliva@redhat.com>
5007
5008 * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
5009 ${ac_tool_prefix} to ADAC or CC. Protect them from word
5010 splitting.
5011 * configure: Rebuilt.
5012
5013 2003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5014
5015 * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
5016 internal_mcount): Don't use PARAMS.
5017 (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
5018 ISO C style.
5019 (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
5020
5021 2003-01-13 Andreas Schwab <schwab@suse.de>
5022
5023 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
5024 directive.
5025
5026 2003-01-13 Kazu Hirata <kazu@cs.umass.edu>
5027
5028 * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
5029 (*iorsi3_and_lshiftrt_n_sb): Likewise.
5030
5031 2003-01-12 Mark Mitchell <mark@codesourcery.com>
5032
5033 PR c++/9264
5034 * c-lex.c (c_lex): Set the token value to error_mark_node for
5035 invalid numeric constants.
5036
5037 2003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5038
5039 * c-pch.c (asm_file_startpos): Change to `long'.
5040 (pch_init): Use ftell, not ftello.
5041 (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
5042 Use `long' instead of `off_t'.
5043 (c_common_read_pch): Likewise.
5044 * ggc-common.c (gt_pch_save): Use long/ftell instead of
5045 off_t/ftello.
5046
5047 2003-01-12 Alan Modra <amodra@bigpond.net.au>
5048
5049 * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
5050
5051 2003-01-11 Richard Earnshaw (rearnsha@arm.com)
5052
5053 * arm-protos.h (struct cpp_reader): Add declaration.
5054
5055 Sat Jan 11 11:02:58 CET 2003 Jan Hubicka <jh@suse.cz>
5056
5057 PR target/9068
5058 * i386.c (output_fp_compare): Fix typo.
5059
5060 2003-01-10 David Edelsohn <edelsohn@gnu.org>
5061
5062 * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
5063
5064 2003-01-10 Geoffrey Keating <geoffk@apple.com>
5065
5066 * Makefile.in (parsedir): New variable.
5067 (docobjdir): New variable.
5068 (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
5069 gengtype-lex.c, gengtype-yacc.c): Use parsedir.
5070 (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
5071 cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
5072 gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
5073 Use docobjdir.
5074 * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
5075 objc.maintainer-clean): Use parsedir.
5076
5077 * varasm.c (struct constant_descriptor_rtx): Remove unused
5078 `label' field.
5079
5080 * toplev.c (documented_lang_options): Document -Winvalid-pch.
5081
5082 2003-01-10 Richard Henderson <rth@redhat.com>
5083
5084 * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
5085 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
5086
5087 2003-01-10 Richard Henderson <rth@redhat.com>
5088
5089 * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
5090 not INTEGRAL_MODE_P when widening extensions.
5091
5092 2003-01-10 Richard Henderson <rth@redhat.com>
5093
5094 * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
5095
5096 2003-01-10 Geoffrey Keating <geoffk@apple.com>
5097
5098 * ggc-page.c (ggc_collect): Avoid overflow computing
5099 min_expand.
5100
5101 * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
5102 (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes.
5103 Remove calls.
5104 * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
5105
5106 Fri Jan 10 22:05:35 CET 2003 Jan Hubicka <jh@suse.cz>
5107
5108 * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
5109 with weird operands.
5110
5111 2003-01-10 Dale Johannesen <dalej@apple.com>
5112
5113 * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure
5114 parameters. Call check_sibcall_argument_overlap if indicated.
5115 (check_sibcall_argument_overlap): Add mark_stored_args_map
5116 parameter. Don't mark parameter area as clobbered if not set.
5117 (expand_call): Adjust calls to above.
5118
5119 2003-01-10 Kelley Cook <kelleycook@comcast.net>
5120
5121 * configure.in (linker read-only and read-write section mixing):
5122 Squelch some assembler warnings.
5123 * configure: Likewise.
5124
5125 2003-01-10 Hartmut Penner <hpenner@de.ibm.com>
5126
5127 * doc/invoke.texi: Document -mtune, delete -mcpu
5128 option for S/390 and zSeries.
5129 * config/s390/s390.c (s390_tune_string) New variable.
5130 (s390_cpu_string) Delete variable.
5131 (override_options): Use s390_tune_string instead of
5132 s390_cpu_string.
5133 * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
5134
5135 2003-01-10 Kazu Hirata <kazu@cs.umass.edu>
5136
5137 * config/h8300/h8300.md (*iorsi3_ashift_31): New.
5138
5139 2003-01-10 Josef Zlomek <zlomekj@suse.cz>
5140
5141 * jump.c (next_nonnote_insn_in_loop): New function.
5142 (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
5143 next_nonnote_insn.
5144 (duplicate_loop_exit_test). Likewise.
5145
5146 2003-01-09 Geoffrey Keating <geoffk@apple.com>
5147
5148 Merge from pch-branch:
5149
5150 2003-01-06 Geoffrey Keating <geoffk@apple.com>
5151
5152 * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
5153 load.
5154
5155 2002-12-24 Geoffrey Keating <geoffk@apple.com>
5156
5157 * cpplib.c (count_registered_pragmas): New function.
5158 (save_registered_pragmas): New function.
5159 (_cpp_save_pragma_names): New function.
5160 (restore_registered_pragmas): New function.
5161 (_cpp_restore_pragma_names): New function.
5162 * cpphash.h (_cpp_save_pragma_names): Prototype.
5163 (_cpp_restore_pragma_names): Likewise.
5164 * cpppch.c (struct save_macro_item): Split from save_macro_data.
5165 (struct save_macro_data): New field 'saved_pragmas'.
5166 (save_macros): Update for changes to struct save_macro_data.
5167 (cpp_prepare_state): Call _cpp_save_pragma_names, update
5168 for changes to struct save_macro_data.
5169 (cpp_read_state): Call _cpp_restore_pragma_names, update
5170 for changes to struct save_macro_data.
5171
5172 * cpppch.c (cpp_read_state): Restore the hashtable references
5173 in the cpp_reader.
5174
5175 * tree.h (built_in_decls): Mark for PCH.
5176
5177 * dbxout.c (lastfile): Don't mark for PCH.
5178
5179 * ggc.h: Document PCH calls into memory managers.
5180
5181 2002-12-18 Geoffrey Keating <geoffk@apple.com>
5182
5183 * doc/invoke.texi (Precompiled Headers): Document the
5184 directory form of PCH.
5185 * cppfiles.c (validate_pch): New function.
5186 (open_file_pch): Search suitably-named directories for PCH files.
5187
5188 2002-12-14 Geoffrey Keating <geoffk@apple.com>
5189
5190 * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
5191 reorder options.
5192 (Type Information): Mention that the information is also
5193 used to implement PCH.
5194 * doc/passes.texi (Passes): Improve documentation of
5195 language-specific files.
5196
5197 2002-12-11 Geoffrey Keating <geoffk@apple.com>
5198
5199 * gengtype.c (struct write_types_data): Add reorder_note_routine field.
5200 (struct walk_type_data): Add reorder_fn field.
5201 (walk_type): Process 'reorder' option.
5202 (write_types_process_field): Reorder parameters to gt_pch_note_object,
5203 call reorder_note_routine.
5204 (write_func_for_structure): Reorder parameters to gt_pch_note_object.
5205 (ggc_wtd): Update for change to struct write_types_data.
5206 (pch_wtd): Likewise.
5207 * ggc.h (gt_pch_note_object): Reorder parameters.
5208 (gt_handle_reorder): New definition.
5209 (gt_pch_note_reorder): New prototype.
5210 * ggc-common.c (struct ptr_data): Add reorder_fn.
5211 (gt_pch_note_object): Reorder parameters.
5212 (gt_pch_note_reorder): New.
5213 (gt_pch_save): Call reorder_fn.
5214 * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
5215
5216 * dbxout.c (cwd): Don't mark for PCH.
5217
5218 2002-12-09 Geoffrey Keating <geoffk@apple.com>
5219
5220 * gengtype.c (finish_root_table): Fix some warnings.
5221 (write_root): Handle TYPE_STRING.
5222 * ggc.h (gt_ggc_m_S): Add prototype.
5223 * stringpool.c (gt_ggc_m_S): New function.
5224
5225 2002-11-30 Geoffrey Keating <geoffk@apple.com>
5226
5227 * dwarf2out.c (dw2_string_counter): New.
5228 (AT_string_form): Use it.
5229 (same_dw_val_p): Update for removal of hashtable.h hash tables.
5230
5231 2002-11-22 Geoffrey Keating <geoffk@apple.com>
5232
5233 * dbxout.c: Include gt-dbxout.h.
5234 (lastfile): Mark for PCH/GGC.
5235 (cwd): Likewise.
5236 (struct typeinfo): Likewise.
5237 (typevec): Likewise.
5238 (typevec_len): Likewise.
5239 (next_type_number): Likewise.
5240 (struct dbx_file): Likewise.
5241 (current_file): Likewise.
5242 (next_file_number): Likewise.
5243 (dbxout_init): Allocate typevec, struct dbx_file with GGC.
5244 (dbxout_start_source_file): Allocate struct dbx_file with GGC.
5245 (dbxout_end_source_file): Don't free struct dbx_file.
5246 (dbxout_type): Use GGC to allocate typevec.
5247 * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
5248 (GTFILES): Add dbxout.c.
5249 (gt-dbxout.h): New rule.
5250
5251 * Makefile.in (c-pch.o): Add debug.h as dependency.
5252 * c-pch.c: Include debug.h.
5253 (pch_init): Call start_source_file to keep nesting right.
5254 (c_common_read_pch): Add orig_name parameter. Call
5255 start_source_file debug hook. Call end_source_file debug hook.
5256 * c-common.h (c_common_read_pch): Update prototype.
5257 * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
5258 callback.
5259 * cppfiles.c (struct include_file): Add new field `header_name'.
5260 (find_or_create_entry): Default it to `name'.
5261 (open_file_pch): Set it to the original header file searched for.
5262 (stack_include_file): Don't stack an empty buffer, just handle
5263 PCH files immediately. Pass header_name field to read_pch callback.
5264
5265 2002-11-19 Geoffrey Keating <geoffk@apple.com>
5266
5267 * function.c (funcdef_no): Mark to be saved in a PCH.
5268
5269 2002-11-15 Geoffrey Keating <geoffk@apple.com>
5270
5271 * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
5272
5273 * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
5274
5275 2002-11-14 Geoffrey Keating <geoffk@apple.com>
5276
5277 * optabs.h (code_to_optab): Add GTY marker.
5278
5279 2002-11-13 Geoffrey Keating <geoffk@apple.com>
5280
5281 * Makefile.in (GTFILES): Add cpplib.h.
5282 * c-common.h (struct c_common_identifier): Don't skip 'node' field.
5283 * c-decl.c (build_compound_literal): Don't use var_labelno.
5284 * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
5285 * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
5286 * varasm.c (const_labelno): Use gengtype to mark.
5287 (var_labelno): Likewise.
5288 (in_section): Likewise.
5289 (in_named_name): Likewise.
5290 (struct in_named_entry): Likewise.
5291 (in_named_htab): Likewise.
5292 (set_named_section_flags): Use GGC to allocate struct in_named_entry.
5293 (init_varasm_once): Use GGC to allocate in_named_htab.
5294 * config/darwin.c (current_pic_label_num): Mark for PCH.
5295
5296 2002-11-11 Geoffrey Keating <geoffk@apple.com>
5297
5298 * ggc-simple.c (init_ggc_pch): New stub procedure.
5299 (ggc_pch_count_object): Likewise.
5300 (ggc_pch_total_size): Likewise.
5301 (ggc_pch_this_base): Likewise.
5302 (ggc_pch_alloc_object): Likewise.
5303 (ggc_pch_prepare_write): Likewise.
5304 (ggc_pch_write_object): Likewise
5305 (ggc_pch_finish): Likewise.
5306 (ggc_pch_read): Likewise.
5307
5308 2002-11-08 Geoffrey Keating <geoffk@apple.com>
5309
5310 * c-pch.c (c_common_write_pch): Write the macro definitions after
5311 the GCed data.
5312 (c_common_read_pch): Call cpp_prepare_state. Restore the macro
5313 definitions after the GCed data.
5314 * cpplib.c (save_macros): New.
5315 (reset_ht): New.
5316 (cpp_write_pch_deps): Split out of cpp_write_pch.
5317 (cpp_write_pch_state): Split out of cpp_write_pch.
5318 (cpp_write_pch): Delete.
5319 (struct save_macro_data): Delete.
5320 (cpp_prepare_state): New.
5321 (cpp_read_state): Erase and restore initial macro definitions.
5322 * cpplib.h (struct save_macro_data): Forward-declare.
5323 (cpp_write_pch_deps): Prototype.
5324 (cpp_write_pch_state): Prototype.
5325 (cpp_write_pch): Delete prototype.
5326 (cpp_prepare_state): Prototype.
5327 (cpp_read_state): Add fourth argument.
5328
5329 2002-11-04 Geoffrey Keating <geoffk@apple.com>
5330
5331 * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
5332 (write_array): Remove warning.
5333
5334 * gengtype.c (contains_scalar_p): New.
5335 (finish_root_table): Add the table to all languages, even if it's
5336 empty.
5337 (write_roots): Output gt_pch_scalar_rtab.
5338 * ggc-common.c (gt_pch_save): Write out scalars.
5339 (gt_pch_restore): Read scalars back.
5340
5341 * ggc-page.c (OBJECTS_IN_PAGE): New macro.
5342 (struct page_entry): Delete pch_page field.
5343 (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
5344 (clear_marks): Likewise.
5345 (sweep_pages): Likewise.
5346 (poison_pages): Likewise.
5347 (ggc_print_statistics): Likewise.
5348 (ggc_pch_read): Don't free objects read from a PCH.
5349 Properly set up in_use_p and page_tails.
5350
5351 2002-10-25 Geoffrey Keating <geoffk@apple.com>
5352
5353 * gengtype.c (struct write_types_data): New.
5354 (struct walk_type_data): Make `cookie' const; add extra
5355 prev_val item; add `orig_s' field.
5356 (walk_type): Update prev_val[3].
5357 (write_types_process_field): New.
5358 (write_func_for_structure): Take write_types_data structure.
5359 (write_types): New.
5360 (ggc_wtd): New.
5361 (pch_wtd): New.
5362 (write_types_local_process_field): New.
5363 (gc_mark_process_field): Delete.
5364 (write_local_func_for_structure): New.
5365 (gc_mark_func_name): Delete.
5366 (write_gc_types): Delete.
5367 (write_local): New.
5368 (finish_root_table): Don't include 'ggc_' in PFX.
5369 (write_root): Rename from write_root. Fill pchw field of structures.
5370 (write_array): New.
5371 (write_roots): Rename from write_gc_roots. Split out to write_array.
5372 Update to changes to other routines. Write gt_pch_cache_rtab table.
5373 (main): Write PCH walking routines.
5374 * ggc-common.c: Include toplev.h, sys/mman.h.
5375 (ggc_mark_roots): For cache hashtables, also mark the hash table
5376 and the array of entries.
5377 (saving_htab): New.
5378 (struct ptr_data): New.
5379 (POINTER_HASH): New.
5380 (gt_pch_note_object): New.
5381 (saving_htab_hash): New.
5382 (saving_htab_eq): New.
5383 (struct traversal_state): New.
5384 (call_count): New.
5385 (call_alloc): New.
5386 (compare_ptr_data): New.
5387 (relocate_ptrs): New.
5388 (write_pch_globals): New.
5389 (struct mmap_info): New.
5390 (gt_pch_save): New.
5391 (gt_pch_restore): New.
5392 * ggc-page.c (ROUND_UP_VALUE): New.
5393 (ROUND_UP): New.
5394 (struct page_entry): Add field `pch_page'.
5395 (init_ggc): Use ROUND_UP.
5396 (struct ggc_pch_data): Declare.
5397 (init_ggc_pch): New.
5398 (ggc_pch_count_object): New.
5399 (ggc_pch_total_size): New.
5400 (ggc_pch_this_base): New.
5401 (ggc_pch_alloc_object): New.
5402 (ggc_pch_prepare_write): New.
5403 (ggc_pch_write_object): New.
5404 (ggc_pch_finish): New.
5405 (ggc_pch_read): New.
5406 * ggc.h (gt_pointer_operator): New.
5407 (gt_note_pointers): New.
5408 (gt_pch_note_object): New prototype.
5409 (gt_pointer_walker): New.
5410 (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
5411 (LAST_GGC_ROOT_TAB): Update.
5412 (gt_pch_cache_rtab): Declare.
5413 (gt_pch_scalar_rtab): Declare.
5414 (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
5415 (LAST_GGC_CACHE_TAB): Update.
5416 (gt_pch_save_stringpool): Declare.
5417 (gt_pch_restore_stringpool): Declare.
5418 (gt_pch_p_S): Declare.
5419 (gt_pch_n_S): Declare.
5420 (struct ggc_pch_data): Forward-declare.
5421 (init_ggc_pch): Declare.
5422 (ggc_pch_count_object): Declare.
5423 (ggc_pch_total_size): Declare.
5424 (ggc_pch_this_base): Declare.
5425 (ggc_pch_alloc_object): Declare.
5426 (ggc_pch_prepare_write): Declare.
5427 (ggc_pch_write_object): Declare.
5428 (ggc_pch_finish): Declare.
5429 (ggc_pch_read): Declare.
5430 (gt_pch_save): Declare.
5431 (gt_pch_restore): Declare.
5432 * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
5433 * emit-rtl.c (init_emit_once): Allocate const_int_htab,
5434 const_double_htab, mem_attrs_htab using GGC.
5435 * c-pch.c: Include ggc.h.
5436 (pch_init): Allow reading PCH file back.
5437 (c_common_write_pch): Call gt_pch_save.
5438 (c_common_read_pch): Call gt_pch_restore.
5439 * c-parse.in (init_reswords): Delete now-untrue comment.
5440 Allocate ridpointers using GGC.
5441 * c-objc-common.c (c_objc_common_finish_file): Write PCH before
5442 calling expand_deferred_fns.
5443 * c-common.h (ridpointers): Mark for GTY machinery.
5444 * Makefile.in (stringpool.o): Update dependencies.
5445 (c-pch.o): Update dependencies.
5446 (ggc-common.o): Update dependencies.
5447 * stringpool.c: Include gt-stringpool.h.
5448 (gt_pch_p_S): New.
5449 (gt_pch_n_S): New.
5450 (struct string_pool_data): New.
5451 (spd): New.
5452 (gt_pch_save_stringpool): New.
5453 (gt_pch_restore_stringpool): New.
5454 * tree.c (init_ttree): Make type_hash_table allocated using GC.
5455
5456 2002-10-04 Geoffrey Keating <geoffk@apple.com>
5457
5458 * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
5459 (output_mangled_typename): Don't pass size_t to printf.
5460
5461 * tree.h (union tree_type_symtab): Add tag to `address' field.
5462 (union tree_decl_u2): Add tag to 'i' field.
5463 * varasm.c (union rtx_const_un): Add tags to all fields.
5464 * gengtype.c (struct walk_type_data): New.
5465 (output_escaped_param): Take struct walk_type_data parameter.
5466 (write_gc_structure_fields): Delete.
5467 (walk_type): New.
5468 (write_gc_marker_routine_for_structure): Delete.
5469 (write_func_for_structure): New.
5470 (gc_mark_process_field): New.
5471 (gc_mark_func_name): New.
5472 (gc_counter): Delete.
5473 (write_gc_types): Use write_func_for_structure.
5474 (write_gc_roots): Use walk_type.
5475
5476 2002-10-02 Geoffrey Keating <geoffk@apple.com>
5477
5478 * ggc-common.c (ggc_mark_roots): Delete 'x'.
5479 (ggc_splay_dont_free): Fix warning about unused 'x'.
5480 (ggc_print_common_statistics): Remove warnings.
5481
5482 2002-10-01 Mike Stump <mrs@apple.com>
5483
5484 * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
5485 * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
5486
5487 2002-09-01 Geoffrey Keating <geoffk@redhat.com>
5488 Catherine Moore <clm@redhat.com>
5489
5490 * Makefile (c-pch.o): Update dependencies.
5491 (LIBCPP_OBJS): Add cpppch.o.
5492 (cpppch.o): New.
5493 * c-common.c (c_common_init): Don't call pch_init here.
5494 * c-common.h (c_common_read_pch): Update prototype.
5495 * c-lex.c (c_common_parse_file): Call pch_init here.
5496 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
5497 (c_common_decode_option): Handle them.
5498 * c-pch.c: Include c-pragma.h.
5499 (save_asm_offset): Delete.
5500 (pch_init): Move contents of save_asm_offset into here, call
5501 cpp_save_state.
5502 (c_common_write_pch): Call cpp_write_pch.
5503 (c_common_valid_pch): Warn only when -Winvalid-pch. Call
5504 cpp_valid_state.
5505 (c_common_read_pch): Add NAME parameter. Call cpp_read_state.
5506 * cppfiles.c (stack_include_file): Update for change to
5507 parameters of cb.read_pch.
5508 * cpphash.h (struct cpp_reader): Add `savedstate' field.
5509 * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
5510 `restore_pch_deps' fields.
5511 (struct cpp_callbacks): Add NAME parameter to `read_pch'.
5512 (cpp_save_state): Prototype.
5513 (cpp_write_pch): Prototype.
5514 (cpp_valid_state): Prototype.
5515 (cpp_read_state): Prototype.
5516 * cpppch.c: New file.
5517 * flags.h (version_flag): Remove prototype.
5518 * mkdeps.c (deps_save): New.
5519 (deps_restore): New.
5520 * mkdeps.h (deps_save): Prototype.
5521 (deps_restore): Prototype.
5522 * toplev.c (late_init_hook): Delete.
5523 (version_flag): Make static again.
5524 (compile_file): Don't call late_init_hook.
5525 * toplev.h (late_init_hook): Delete.
5526 * doc/cppopts.texi: Document -fpch-deps.
5527 * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
5528
5529 2002-08-27 Geoffrey Keating <geoffk@redhat.com>
5530
5531 * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
5532 callers.
5533 (c_common_valid_pch): Rename from c_valid_pch, change callers.
5534 (c_common_read_pch): Rename from c_read_pch, change callers.
5535
5536 * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
5537 a space between it and its argument.
5538
5539 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
5540
5541 * c-pch.c: New file.
5542 * toplev.h (late_init_hook): Declare.
5543 * toplev.c (late_init_hook): Define.
5544 (version_flag): Make globally visible.
5545 (compile_file): Call late_init_hook.
5546 (init_asm_output): Make output file seekable.
5547 * gcc.c (default_compilers): Update c-header rule.
5548 * flags.h (version_flag): Declare.
5549 * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
5550 fields.
5551 * cppfiles.c (struct include_file): Add 'pch' field.
5552 (INCLUDE_PCH_P): New.
5553 (open_file_pch): New.
5554 (stack_include_file): Handle PCH files specially.
5555 (find_include_file): Call open_file_pch instead of open_file.
5556 (_cpp_read_file): Explain why open_file is used instead of
5557 open_file_pch.
5558 * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
5559 * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
5560 * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
5561 in cpplib callbacks.
5562 * c-common.c (pch_file): Correct comment.
5563 (allow_pch): Define.
5564 (c_common_init): Call pch_init.
5565 * c-common.h (allow_pch): Declare.
5566 (pch_init): Declare.
5567 (c_valid_pch): Declare.
5568 (c_read_pch): Declare.
5569 (c_write_pch): Declare.
5570 * Makefile.in (c-pch.o): New.
5571 (C_AND_OBJC_OBJS): Add c-pch.o.
5572 * doc/invoke.texi (Precompiled Headers): Add index entries,
5573 complete truncated paragraph.
5574
5575 2002-08-17 Geoffrey Keating <geoffk@redhat.com>
5576
5577 * c-common.c: (pch_file): Define.
5578 * c-common.h (pch_file): Declare.
5579 * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
5580 (missing_arg): Require --output-pch= to have an argument.
5581 (c_common_decode_option): Handle --output-pch=.
5582 * gcc.c: Document new %V.
5583 (default_compilers): Handle compiling C header files.
5584 (do_spec_1): Implement %V.
5585 (main): Handle "gcc foo.h" without trying to run linker.
5586 * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
5587 (Overall Options): Document what the driver does with header files,
5588 document new -x option possibilities.
5589 (Invoking G++): More documentation for PCH.
5590 (Precompiled Headers): New.
5591
5592 2002-08-09 Geoffrey Keating <geoffk@redhat.com>
5593
5594 * ggc.h: Don't include varray.h. Rearrange functions to be more
5595 organized.
5596 (ggc_add_root): Delete.
5597 (ggc_mark_rtx): Delete.
5598 (ggc_mark_tree): Delete.
5599 (struct ggc_statistics): Remove contents.
5600 * ggc-common.c: Remove unneeded includes.
5601 (struct ggc_root): Delete.
5602 (roots): Delete.
5603 (ggc_add_root): Delete.
5604 (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool.
5605 (ggc_print_common_statistics): Remove most of the contents.
5606 * Makefile.in (GGC_H): No longer uses varray.h.
5607 (ggc-common.o): Update dependencies.
5608 (c-parse.o): Add varray.h to dependencies.
5609 (c-common.o): Add varray.h.
5610 * stringpool.c (mark_ident): Use mangled name for tree marker routine.
5611 (mark_ident_hash): Rename to ggc_mark_stringpool.
5612 (init_stringpool): Don't use ggc_add_root.
5613 * c-parse.in: Include varray.h.
5614 * c-common.c: Include varray.h.
5615 * objc/Make-lang.in (objc-act.o): Add varray.h.
5616 * objc/objc-act.c: Include varray.h.
5617
5618 2002-07-25 Geoffrey Keating <geoffk@redhat.com>
5619
5620 * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
5621 (dw_cfi_oprnd1_desc): Likewise.
5622
5623 2002-07-17 Geoffrey Keating <geoffk@redhat.com>
5624
5625 * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
5626 move out of ifdef.
5627 (alpha_links): Use gengtype to mark; move out of ifdef.
5628 (mark_alpha_links_node): Delete.
5629 (mark_alpha_links): Delete.
5630 (alpha_need_linkage): Use GGC to allocate splay tree, struct
5631 alpha_links, strings. Don't use ggc_add_root.
5632 * ggc-common.c (ggc_splay_alloc): New.
5633 (ggc_splay_dont_free): New.
5634 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
5635 (ggc_mark_tree): Likewise.
5636 (splay_tree_new_ggc): New.
5637 (ggc_splay_alloc): Declare.
5638 (ggc_splay_dont_free): Declare.
5639 * dwarf2asm.c: Include gt-dwarf2asm.h.
5640 (mark_indirect_pool_entry): Delete.
5641 (mark_indirect_pool): Delete.
5642 (indirect_pool): Use gengtype to mark.
5643 (dw2_force_const_mem): Don't use ggc_add_root.
5644 * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
5645 (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
5646 (gt-dwarf2asm.h): Depend on s-gtype.
5647
5648 2002-07-08 Geoffrey Keating <geoffk@redhat.com>
5649
5650 * tree.h (union tree_type_symtab): Mark `die' field.
5651 * Makefile.in (dwarf2out.o): Update dependencies.
5652 * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t
5653 hash tables.
5654 (dw_cfi_oprnd1_desc): New function.
5655 (dw_cfi_oprnd2_desc): New function.
5656 (indirect_string_alloc): Delete.
5657 (debug_str_do_hash): New function.
5658 (debug_str_eq): New function.
5659 (mark_limbo_die_list): Delete.
5660 (dwarf2out_init): Don't call ggc_add_root.
5661
5662 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
5663
5664 The following changes are merged from itanium-sched-branch:
5665
5666 2003-01-08 David Edelsohn <edelsohn@gnu.org>
5667
5668 * doc/md.texi: Clarify assignment of units to automata description.
5669
5670 2003-01-08 Vladimir Makarov <vmakarov@redhat.com>
5671
5672 * genautomata.c (unit_decl): Remove members
5673 `the_same_automaton_unit' and
5674 `the_same_automaton_message_reported_p'.
5675 (process_unit_to_form_the_same_automaton_unit_lists,
5676 form_the_same_automaton_unit_lists_from_regexp,
5677 form_the_same_automaton_unit_lists, the_same_automaton_lists):
5678 Remove them.
5679 (annotation_message_reported_p): New global variable.
5680 (check_unit_distribution_in_reserv,
5681 check_regexp_units_distribution): New functions.
5682 (check_unit_distributions_to_automata): Rewrite it.
5683
5684 2003-01-04 Vladimir Makarov <vmakarov@redhat.com>
5685
5686 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
5687 Use continue instead of break if cycle is too big.
5688
5689 2002-12-20 Vladimir Makarov <vmakarov@redhat.com>
5690
5691 * genautomata.c (check_unit_distributions_to_automata): Output at
5692 most one message for a unit.
5693 (process_unit_to_form_the_same_automaton_unit_lists): Check
5694 automaton of units instead of units themself.
5695
5696 * doc/md.texi: Describe the constraint about assigning unit to
5697 automata.
5698
5699 2002-12-20 Jan Hubicka <jH@suse.cz>
5700 Vladimir Makarov <vmakarov@redhat.com>
5701
5702 * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
5703 and `in_set_p'.
5704 (gen_cpu_unit): Initialize the new members.
5705 (process_regexp_cycles): Calculate minimal finish cycle too. Set
5706 up `min_occ_cycle_num'.
5707 (evaluate_max_reserv_cycles): Change the function call.
5708 (CLEAR_BIT): New macro.
5709 (states_union, state_shift): Use the mask.
5710 (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
5711 (form_reservs_matter): New function.
5712 (make_automaton): Call the function and use the mask.
5713 (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
5714 account.
5715
5716 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5717
5718 * config/ia64/itanium2.md (lfetch): Change the insn reservation.
5719
5720 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5721
5722 * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
5723 for Itanium.
5724
5725 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5726
5727 * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
5728 default cpu.
5729
5730 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
5731 2002-10-31 Dale Johannesen <dalej@apple.com>
5732
5733 * haifa-sched.c (find_set_reg_weight): New function.
5734 (find_insn_reg_weight): Use the new function.
5735 (schedule_block): Do sorting ready queue always
5736 after insn issue.
5737
5738 2002-11-27 Vladimir Makarov <vmakarov@redhat.com>
5739
5740 * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
5741
5742 2002-11-19 Vladimir Makarov <vmakarov@redhat.com>
5743
5744 * haifa-sched.c (choice_entry): New structure.
5745 (choice_stack, cycle_issued_insns): New variables.
5746 (max_issue): Rewrite it.
5747 (choose_ready): Set up ready_try for unknown insns too.
5748 (schedule_block): Allocate and free choice_stack. Set up
5749 and modify cycle_issued_insns.
5750
5751 * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
5752 with and without filling the bundle.
5753 (bundling): Combine calls of issue_nops_and_insn.
5754
5755 2002-10-17 Vladimir Makarov <vmakarov@redhat.com>
5756
5757 * config/ia64/itanium1.md: New file.
5758
5759 * config/ia64/itanium2.md: New file.
5760
5761 * config/ia64/ia64.md: Move DFA descriptions into the new files.
5762 Remove the old pipeline description.
5763
5764 * config/ia64/ia64.c (ia64_override_options): Add aliases of
5765 itanium processor names.
5766
5767 2002-10-16 Vladimir Makarov <vmakarov@redhat.com>
5768
5769 * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
5770 (ia64_reorg): Set up queried unit codes for Itanium2 too.
5771
5772 * config/ia64/ia64.md: Add descriptions for Itanium2.
5773
5774 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
5775
5776 * config/ia64/ia64.h (processor_type): New enumeration.
5777 (ia64_tune, ia64_tune_string): New external declarations.
5778 (TARGET_OPTIONS): Add option `tune='.
5779
5780 * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
5781 variables.
5782 (ia64_override_options): Set up `ia64_tune'.
5783 (ia64_sched_reorder2): Set up `clocks' only for Itanium.
5784 (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
5785 (bundling): Add nops for MM-insns only for Itanium.
5786 (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
5787 Itanium.
5788
5789 * config/ia64/ia64.md (cpu): New attribute.
5790 (DFA description): Enable it only for Itanium.
5791
5792 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
5793 Richard Henderson <rth@redhat.com>
5794
5795 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
5796 MASK_EARLY_STOP_BITS.
5797 (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
5798 (TARGET_SWITCHES): Rename option `tune-stop-bits' to
5799 `early-stop-bits'.
5800
5801 * config/ia64/ia64.c (ia64_dfa_new_cycle,
5802 final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
5803 instead of TARGET_TUNE_STOP_BITS.
5804
5805 * doc/invoke.texi: Rename option `-mtune-stop-bits' to
5806 `-mearly-stop-bits'.
5807
5808 * config/ia64/ia64.c (automata_option "v"): Comment it.
5809
5810 2002-10-07 Vladimir Makarov <vmakarov@redhat.com>
5811
5812 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
5813 New macros.
5814 (TARGET_SWITCHES): Add entries for the new option.
5815
5816 * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
5817 dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
5818 (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
5819 global variables.
5820 (ia64_sched_reorder2): Set up `clocks'.
5821 (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
5822 (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready
5823 queue when TARGET_TUNE_STOP_BITS.
5824 (bundling): Insert additional nops for MM-insns.
5825 (final_emit_insn_group_barriers): Add insertion of stop bits
5826 according `stops_p'.
5827 (ia64_reorg): Initiate the new varibales.
5828
5829 * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
5830
5831 2002-10-02 Vladimir Makarov <vmakarov@redhat.com>
5832
5833 * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
5834 insns at the end of block insn scheduling.
5835
5836 2002-09-30 Vladimir Makarov <vmakarov@redhat.com>
5837
5838 * sched-deps.c (remove_dependence, group_leader): Remove it.
5839 (add_dependence): Add dependence to group leader to.
5840 (set_sched_group_p): Add dependence to the first insn of the
5841 schedule group too.
5842 (sched_analyze_insn): Make dependence to jump as anti-dependence.
5843 Change true dependence by anti-dependence when
5844 `reg_pending_barrier'.
5845
5846 * sched-rgn.c (init_ready_list, can_schedule_ready_p,
5847 add_branch_dependences): Ignore schedule groups.
5848
5849 * sched-ebb.c (init_ready_list): Ditto.
5850
5851 * (move_insn, set_priorities): Ditto.
5852
5853 * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
5854 flag is clear after reload.
5855 (adjust_cost): Change cost only for output dependencies.
5856
5857 * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
5858
5859 2002-09-26 Vladimir Makarov <vmakarov@redhat.com>
5860
5861 * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
5862
5863 * target.h (gcc_target): Add member
5864 `dependencies_evaluation_hook'.
5865
5866 * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
5867 macro.
5868 (TARGET_SCHED): Add initiatialization of the new member.
5869
5870 * sched-ebb.c: Include `target.h'.
5871 (schedule_ebb): Call `dependencies_evaluation_hook'.
5872
5873 * sched-rgn.c (schedule_region): Call
5874 `dependencies_evaluation_hook'.
5875
5876 * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
5877 New macro.
5878 (ia64_dependencies_evaluation_hook): New function.
5879
5880 * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
5881 Describe the new hook.
5882
5883 2002-09-25 Vladimir Makarov <vmakarov@redhat.com>
5884
5885 * target.h (gcc_target): Add members
5886 `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
5887
5888 * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
5889 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
5890 macros.
5891 (TARGET_SCHED): Add initiatialization of the new members.
5892
5893 * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
5894 insn scheduling too.
5895 (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
5896 initialize `ready_try'.
5897 (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless
5898 `dfa_new_cycle' says not to do it.
5899
5900 * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
5901 bundling.
5902
5903 * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
5904
5905 * config/ia64/ia64.c: Include `hashtab.h'.
5906 (ia64_first_cycle_multipass_dfa_lookahead_guard,
5907 ia64_dfa_new_cycle, final_emit_insn_group_barriers,
5908 ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
5909 initiate_bundle_states, finish_bundle_states, bundle_state_hash,
5910 bundle_state_eq_p, insert_bundle_state,
5911 initiate_bundle_state_table, finish_bundle_state_table,
5912 try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
5913 get_template, get_next_important_insn, bundling): New functions.
5914 (ia64_internal_sched_reorder): Remove it.
5915 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
5916 TARGET_SCHED_DFA_NEW_CYCLE): New macros.
5917 (ia64_safe_itanium_requires_unit0): Remove it.
5918 (group_barrier_needed_p): Place group barrier right before a real
5919 insn.
5920 (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
5921 Remove them.
5922 (bundle_name): New variable.
5923 (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
5924 _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
5925 _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
5926 pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
5927 temp_dfa_state, prev_cycle_state): New global variables.
5928 (insn_matches_slot, maybe_rotate, finish_last_head,
5929 rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
5930 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
5931 find_best_packet, itanium_reorder, dump_current_packet,
5932 schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
5933 (sched_data, sched_ready, sched_types): Remove them.
5934 (ia64_sched_init): Initiate only `last_scheduled_insn' and call
5935 `init_insn_group_barriers'.
5936 (ia64_sched_reorder, ia64_sched_reorder2): Call
5937 ia64_dfa_sched_reorder.
5938 (ia64_variable_issue): Rewrite it.
5939 (bundle_state): New structure.
5940 (index_to_bundle_states, bundle_states_num,
5941 allocated_bundle_states_chain, free_bundle_state_chain): New
5942 global variables.
5943 (ia64_sched_finish): Add stop bits and call `bundling' after the
5944 2nd insn scheduling.
5945 (ia64_use_dfa_pipeline_interface): Return zero always.
5946 (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
5947 insn scheduling.
5948 (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
5949 `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
5950 (ia64_reorg): Add bundling insns.
5951
5952 * doc/tm.texi
5953 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
5954 TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
5955
5956 2002-09-23 Vladimir Makarov <vmakarov@redhat.com>
5957
5958 * config/ia64/ia64.md: Add Itanium1 DFA description.
5959 (itanium_class): Add `nop' and `pre_cycle'. Add
5960 define_function_unit for `nop'.
5961 (nop): Change attribute `itanium_class'.
5962 (pre_cycle): New define_insn.
5963
5964 * config/ia64/ia64-protos.h (bundling_p): New external variable.
5965 (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
5966 ia64_produce_address_p): New function prototypes.
5967
5968 * config/ia64/ia64.c (bundling_p): New global variable.
5969 (ia64_use_dfa_pipeline_interface,
5970 ia64_first_cycle_multipass_dfa_lookahead,
5971 ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
5972 functions.
5973 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
5974 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
5975 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
5976 TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
5977 (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
5978 ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
5979 (dfa_pre_cycle_insn): New variable.
5980
5981 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
5982
5983 * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
5984 constructions.
5985
5986 * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
5987 New function prototypes.
5988
5989 * genattrtab.c (main): Process the new constructions.
5990
5991 * genautomata.c (gen_presence_absence_set,
5992 process_presence_absence_names, process_presence_absence_patterns,
5993 add_presence_absence, check_absence_pattern_sets): Add parameter
5994 `final_p'.
5995 (unit_decl): Add new members `final_presence_list' and
5996 `final_absence_list'.
5997 (unit_pattern_rel_decl): Add new member `final_p'.
5998 (gen_final_presence_set, gen_final_absence_set): New functions.
5999 (process_decls): Use member `final_p'.
6000 (temp_reserv): New global variable.
6001 (reserv_sets_are_intersected): Add processing `final_presence_set'
6002 and `final_absence_set'.
6003 (initiate_states): Allocate `temp_reserv'.
6004 (unit_final_presence_set_table, unit_final_absence_set_table): New
6005 gloabal variables.
6006 (initiate_presence_absence_pattern_sets): Initiate them.
6007 (NDFA_to_DFA): Fix typo.
6008 (output_description): Output `final_presence_set' and
6009 `final_absence_set'.
6010
6011 * doc/md.texi (final_presence_set, final_absence_set): Describe
6012 them.
6013
6014 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
6015
6016 * genautomata.c (transform_3): Process a missing case (nothing on
6017 unit place).
6018
6019 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
6020
6021 * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
6022 comments about queried units and the minimization.
6023
6024 * doc/md.texi: Ditto.
6025
6026 * genautomata.c (create_composed_state): Return nonzero if the new
6027 state has been created.
6028 (first_cycle_unit_presence): New function.
6029 (state_is_differed): Add new parameter. Use the new function.
6030 Take queried units into account.
6031 (partition_equiv_class): Pass additional parameter to
6032 `state_is_differed'.
6033 (merge_states): Process composed states too.
6034 (build_automaton, create_automata, output_min_issue_delay_table,
6035 output_tables, output_statistics): Output more information.
6036 (output_reserved_units_table): Use function
6037 `first_cycle_unit_presence'.
6038 (output_tables): Output table of queried units even if the
6039 minimization is switched on.
6040 (write_automata): Output code for querying units even if the
6041 minimization is switched on.
6042
6043 2002-09-19 Vladimir Makarov <vmakarov@redhat.com>
6044
6045 * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
6046 syntax of the constructions.
6047
6048 * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
6049 extended syntax of the constructions.
6050
6051 * genautomata.c (unit_rel_decl): Rename it to
6052 `unit_pattern_rel_decl'.
6053 (pattern_set_el, pattern_reserv): New structures.
6054 (pattern_set_el_t, pattern_reserv_t): New types.
6055 (gen_presence_absence_set): New function.
6056 (process_presence_absence): Remove it.
6057 (process_presence_absence_names,
6058 process_presence_absence_patterns): New functions.
6059 (get_presence_absence_set): Remove it.
6060 (initiate_presence_absence_sets): Rename it on
6061 `initiate_presence_absence_pattern_sets'. Use new function
6062 `form_reserv_sets_list'.
6063 (form_reserv_sets_list, check_presence_pattern_sets,
6064 check_absence_pattern_sets, output_pattern_set_el_list): New
6065 functions.
6066 (unit_decl): Change types of members `presence_list' and
6067 `absence_list'.
6068 (unit_rel_decl): Rename member `names_num' to `all_names_num'.
6069 (decl): Change types of members `excl', `presence', and `absence'.
6070 (get_str_vect): Rename `par_flag' to `paren_p'. Add null element
6071 at the end of the vector.
6072 (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
6073 gen_automaton, gen_regexp_repeat, gen_regexp_allof,
6074 gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
6075 (gen_presence_set, gen_absence_set): Use new function
6076 `gen_presence_absence_set'.
6077 (add_presence_absence): Process `pattern_list' instead of
6078 `source_list'.
6079 (process_decls): USe new functions
6080 `process_presence_absence_names' and
6081 `process_presence_absence_patterns'.
6082 (reserv_sets_are_intersected): Use new function
6083 `check_presence_pattern_sets'.
6084 (presence_set, absence_set): Remove them.
6085 (unit_presence_set_table, unit_absence_set_table): New global
6086 variables.
6087 (output_description): Use new function
6088 `output_pattern_set_el_list'.
6089 (generate): Use `initiate_presence_absence_pattern_sets'.
6090
6091 2002-09-18 Vladimir Makarov <vmakarov@redhat.com>
6092
6093 * genattr.c (main): Add output of prototype of new interface
6094 function `dfa_clean_insn_cache'.
6095
6096 * genautomata.c (output_dfa_clean_insn_cache_func): New function.
6097 (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
6098 (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
6099 the generated code.
6100 (write_automata): Call the new function.
6101
6102 Thu Jan 9 22:47:38 CET 2003 Jan Hubicka <jh@suse.cz>
6103
6104 * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
6105 correctly.
6106
6107 2003-01-09 Paolo Carlini <pcarlini@unitus.it>
6108
6109 * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
6110
6111 Thu Jan 9 17:26:40 2003 J"orn Rennecke <joern.rennecke@superh.com>
6112
6113 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
6114 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
6115 (CONSTRAINT_LEN): Provide default definition.
6116 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
6117 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
6118 (EXTRA_CONSTRAINT_STR): Likewise.
6119 (REG_CLASS_FROM_CONSTRAINT): Define.
6120 * genoutput.c (check_constraint_len, constraint_len): New functions.
6121 (validate_insn_alternatives): Check CONSTRAINT_LEN for each
6122 constraint / modifier.
6123 (gen_insn): Call check_constraint_len.
6124 * local-alloc.c (block_alloc): Update to use new macros / pass
6125 second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
6126 * ra-build.c (handle_asm_insn): Likewise.
6127 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
6128 (constrain_operands, peep2_find_free_register): Likewise.
6129 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
6130 * regmove.c (find_matches): Likewise.
6131 * reload.c (push_secondary_reload, find_reloads): Likewise.
6132 (alternative_allows_memconst): Likewise.
6133 * reload1.c (maybe_fix_stack_asms): Likewise.
6134 (reload_cse_simplify_operands): Likewise.
6135 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
6136 * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
6137 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
6138 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
6139 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
6140 * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
6141
6142 * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
6143
6144 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
6145
6146 * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
6147 length.
6148 (*extzv_1_r_h8300hs): Likewise.
6149 (*extzv_1_r_inv_h8300): Likewise.
6150 (*extzv_1_r_inv_h8300hs): Likewise.
6151
6152 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
6153
6154 * config/h8300/h8300.h (PREDICATE_CODES): New.
6155
6156 2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
6157
6158 * config/h8300/h8300.md (*addsi3_upper): New.
6159 (*iorsi3_shift): Likewise.
6160 (two splitters): Likewise.
6161 (*addsi3_shift): Likewise.
6162 (two splitters): Likewise.
6163
6164 2003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
6165
6166 * Makefile.in (optabs.o): Add dependency on basic-block.h.
6167 * basic-block.h (control_flow_insn_p): Fuction was exported.
6168 * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
6169 * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
6170 notes only when the region is contained in a single basic block.
6171
6172 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
6173
6174 PR inline-asm/8832
6175 * tree.h (expand_asm): New prototype.
6176 * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
6177 to do so.
6178 * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
6179 down to expand_asm.
6180 * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
6181 * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
6182 (volatile_refs_p) [ASM_INPUT]: Likewise.
6183 (side_effects_p) [ASM_INPUT]: Likewise.
6184
6185 Thu Jan 9 12:00:36 CET 2003 Jan Hubicka <jh@suse.cz>
6186
6187 * i386.md (*mul*): FIx constraints; remove confused comment; fix
6188 athlon_decode attributes
6189 (imul/k8 optimization peep2s): New.
6190
6191 * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
6192 * i386.md (type attribute): Add ssecomi.
6193 (unit, memory, prefix attributes): Handle ssecomi.
6194 (cvt?2? patterns): Fix athlon_decode attribute
6195 (comi patterns): Set attribute to ssecomi.
6196
6197 PR target/8343
6198 * m68k.md (umulsidi, mulsidi expanders): Use register operand.
6199
6200 2003-01-09 Richard Sandiford <rsandifo@redhat.com>
6201
6202 * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
6203 that match register_operands.
6204 * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
6205 register_operand the default case.
6206
6207 2003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
6208
6209 PR c/8032
6210 * c-typeck.c (process_init_element) [RECORD_TYPE]: For
6211 an empty element, do not advance the pointer to unfilled
6212 fields if there are pending initializers.
6213
6214 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6215
6216 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
6217 (install-gcc-tooldir, install-cpp, installdirs,
6218 install-common, install-driver, install-info, install-man,
6219 install-headers, install-include-dir, install-headers-tar,
6220 install-headers-cpio, install-headers-cp, install-mkheaders,
6221 install-collect2, uninstall): Prepend $(DESTDIR) to
6222 destination paths in all (un)installation commands.
6223 (install-driver): Rewrite $(LN) commands to support DESTDIR
6224 with "ln" as well as with "ln -s".
6225 (installdirs): Simply use mkinstalldirs.
6226 (install-libgcc, install-multilib): Also pass DESTDIR.
6227 * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
6228 installation destination variable ldir.
6229 * config/alpha/t-osf4, config/arm/t-netbsd,
6230 config/ia64/t-hpux, config/mips/t-iris5-6,
6231 config/pa/t-hpux-shlib, config/rs6000/t-aix43,
6232 config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
6233 config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
6234 in the definition of SHLIB_INSTALL.
6235 * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
6236 $(libsubdir) in the installation commands.
6237
6238 2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
6239
6240 * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
6241 non-optimizing compile.
6242 (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
6243 compile.
6244
6245 2003-01-08 Douglas B Rupp <rupp@gnat.com>
6246
6247 * config/i386/i386.c (ix86_attribute_table): Add new attributes
6248 ms_struct and gcc_struct.
6249 (ix86_handle_struct_attribute): New function.
6250 (ix86_ms_bitfield_layout_p): Update to take new attributes
6251 into account.
6252 * doc/extend.texi: Document new attributes.
6253 * testsuite/gcc.dg/bf-ms-attrib.c: New test.
6254
6255 2003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
6256
6257 PR optimization/8750
6258 * config/i386/i386.c (ix86_expand_prologue): Don't allow
6259 scheduling pass to move insns across __alloca call.
6260
6261 2003-01-08 Dale Johannesen <dalej@apple.com>
6262
6263 * config/rs6000/rs6000.md: Replace *store_multiple_string
6264 with *stmsi[3-8].
6265
6266 2003-01-08 Jeff Sturm <jsturm@one-point.com>
6267
6268 PR target/9210
6269 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
6270 Set SYMBOL_REF_FLAG on local data sym_ref.
6271
6272 2003-01-08 Dale Johannesen <dalej@apple.com>
6273
6274 * function.c (assign_parms): Don't set pretend_args_size if
6275 REG_PARM_STACK_SPACE.
6276 config/rs6000/rs6000.c (setup_incoming_varargs): Don't set
6277 pretend_args_size.
6278
6279 2003-01-08 Nathanael Nerode <neroden@gcc.gnu.org>
6280
6281 * gcc.hlp: Delete.
6282
6283 Thu Jan 9 00:57:15 CET 2003 Jan Hubicka <jh@suse.cz>
6284
6285 * i386.c (ix86_expand_int_addcc): Fix thinko.
6286
6287 2003-01-08 David Edelsohn <edelsohn@gnu.org>
6288
6289 * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
6290 * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
6291 as hook_bool_tree_hwi_hwi_tree_true.
6292 (rs6000_emit_allocate_stack): Use TARGET_32BIT.
6293 (rs6000_emit_epilogue): Same.
6294 (rs6000_output_mi_thunk): Re-implement as RTL.
6295 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
6296 xcoffout_declare_function if any debugging enabled.
6297
6298 2003-01-08 Chris Demetriou <cgd@broadcom.com>
6299
6300 * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
6301 targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
6302 * config/mips/mips.h (enum processor_type): Rename
6303 PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
6304 PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
6305 Add PROCESSOR_M4K.
6306 (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
6307 (ISA_MIPS32R2): New define.
6308 (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
6309 (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
6310 (ISA_HAS_PREFETCH): Add support for MIPS32R2.
6311 (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation.
6312 (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new
6313 predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
6314 (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
6315 compiling MIPS16 code.
6316 (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
6317 comment.
6318 (ISA_HAS_SEB_SEH): New define.
6319 (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
6320 * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
6321 processor_type value renaming. Add support for MIPS32R2.
6322 Clean up comments, and move "sb1" entry with other MIPS64 CPU
6323 entries.
6324 (override_options): Reimplement -mipsN option handling so that
6325 it will work correctly for -mips32r2. Avoid branch-likely
6326 instructions on MIPS32R2.
6327 * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
6328 (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
6329 (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
6330 (extendhisi2_hw, extendqisi2_hw): New.
6331 * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
6332 for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32,
6333 MIPS32R2, and MIPS64.
6334 (LINK_SPEC): Pass -mips32r2 to linker.
6335 * config/mips/t-isa3264: Built -mips32r2 multilibs.
6336 * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
6337 for mips32r2 in the -march description. Alphabetically sort
6338 CPU names in the -march description. Add long-missed -mips32
6339 and -mips64 to MIPS option summary.
6340
6341 * config.gcc: Update copyright years to include 2003.
6342 * config/mips/mips.c: Likewise.
6343 * config/mips/mips.h: Likewise.
6344 * config/mips/mips.md: Likewise.
6345 * config/mips/netbsd.h: Likewise.
6346 * doc/invoke.texi: Likewise.
6347
6348 2003-01-08 Andreas Schwab <schwab@suse.de>
6349
6350 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
6351 variable.
6352 * configure: Regenerated.
6353
6354 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
6355
6356 * config/h8300/h8300.c (output_logical_op): Replace byte/word
6357 extraction of det with b0, b1, w0, w2, etc.
6358 (compute_logical_op_length): Likewise.
6359 (compute_logical_op_cc): Likewise.
6360
6361 2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
6362
6363 * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
6364 HIGH on all variants.
6365
6366 Wed Jan 8 14:06:34 CET 2003 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
6367
6368 * Makefile.in (PARTITION_H): New.
6369 (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
6370 * basic-block.h: Include hard-reg-set.h.
6371
6372 2003-01-08 Richard Earnshaw <rearnsha@arm.com>
6373
6374 * arm.h (ENABLE_XF_PATTERNS): Delete.
6375 * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
6376 (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
6377 (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
6378 (cmpxf_trap): Delete.
6379 (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
6380
6381 Wed Jan 8 12:10:57 CET 2003 Jan Hubicka <jh@suse.cz>
6382
6383 * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
6384 (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
6385 (add??cc): New expanders.
6386 * i386.c (expand_int_addcc): New function.
6387 * i386-protos.h (expand_int_addcc): Declare.
6388
6389 * alias.c (memory_modified_1): New static function.
6390 (memory_modified): New static varaible.
6391 (memory_modified_in_insn_p): New global function.
6392 * rtl.h (memory_modified_in_insn_p): Declare.
6393 * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
6394 references.
6395
6396 * expr.h (emit_conditional_add): Declare.
6397
6398 2003-01-07 Janis Johnson <janis187@us.ibm.com>
6399
6400 PR other/8947
6401 * doc/invoke.texi (-malign-double): Explain that the option breaks
6402 binary compatibility.
6403
6404 2003-01-08 Andreas Schwab <schwab@suse.de>
6405
6406 * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
6407 should come from the generic *-*-linux* entry.
6408
6409 Tue Jan 7 22:29:56 CET 2003 Jan Hubicka <jh@suse.cz>
6410
6411 * cselib.c (cselib_current_insn_in_libcall): New static variable.
6412 (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
6413 we are inside libcall.
6414 * cselib.h (elt_loc_list): Add in_libcall.
6415 * gcse.c (do_local_cprop): Do not copy propagate using insns
6416 in libcalls.
6417
6418 2003-01-07 David Edelsohn <edelsohn@gnu.org>
6419
6420 * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
6421 not normally affect to issue rate.
6422
6423 Tue Jan 7 21:46:57 CET 2003 Jan Hubicka <jh@suse.cz>
6424
6425 * genopinit.c (optabs): Add addc_optab.
6426 * ifcvt.c (noce_try_store_flag): Rename to ...
6427 (noce_try_addcc): ... this one; handle generic conditional increment.
6428 (noce_process_if_block): Update noce_try_addcc call.
6429 * optabs.c (emit_conditional_add): New.
6430 (init_obtabs): Initialize addc_optab.
6431 * optabs.h (optab_index): Add OTI_addcc.
6432 (addcc_optab): New macro.
6433 * md.texi: Document addMcc
6434
6435 PR target/8322
6436 * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
6437 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
6438 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
6439
6440 * reload1.c (delete_output_reload): Avoid repeated attempts
6441 to delete insn.
6442
6443 2003-01-07 Andreas Schwab <schwab@suse.de>
6444
6445 * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
6446 Move --enable-initfini-array check ...
6447 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
6448 HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
6449 Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
6450 * configure: Rebuild.
6451
6452 2003-01-07 Richard Henderson <rth@redhat.com>
6453
6454 * alias.c (find_base_value): Only use new_reg_base_value shortcut
6455 if the register is set once.
6456
6457 2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
6458
6459 * config/i386/i386.c (ix86_init_mmx_sse_builtins):
6460 __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
6461 * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
6462
6463 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6464 Sunil Davasam <sunil.k.davasam@intel.com>
6465
6466 PR libstdc++/9076
6467 * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
6468 DW_CFA_same_value, read next and ignore.
6469
6470 2003-01-07 Richard Henderson <rth@redhat.com>
6471
6472 * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
6473
6474 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
6475
6476 * cfg.c: Include alloc-pool.h
6477 (edge_pool): New pool.
6478 (bb_pool): New pool.
6479 (first_deleted_edge): Remove.
6480 (first_deleted_block): Remove.
6481 (init_flow): Alloc/free the pools.
6482 (free_edge): Use pools.
6483 (alloc_block): Ditto.
6484 (expunge_block): Ditto.
6485 (cached_make_edge): Ditto.
6486
6487 * Makefile.in (cfg.o): Add alloc-pool.h dependency.
6488
6489 2003-01-07 Daniel Berlin <dberlin@dberlin.org>
6490
6491 * et-forest.c: Include alloc-pool.h.
6492 (struct et_forest): Add node_pool and occur_pool.
6493 (et_forest_create): Create the new pools.
6494 (et_forest_delete): Delete them.
6495 (et_forest_add_node): Allocate and free using pools.
6496 (et_forest_add_edge): Ditto.
6497 (et_forest_remove_node): Ditto.
6498 (et_forest_remove_edge): Ditto.
6499
6500 * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
6501
6502 2003-01-07 Kazu Hirata <kazu@cs.umass.edu>
6503
6504 * config/h8300/h8300.c (output_logical_op): Simplify and
6505 optimize the handling of SImode.
6506 * config/h8300/h8300.c (compute_logical_op_length): Update
6507 accordingly.
6508 * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
6509
6510 2003-01-07 Richard Sandiford <rsandifo@redhat.com>
6511
6512 * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
6513 big-endian correction to indirect arguments too.
6514
6515 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
6516
6517 Segher Boessenkool <segher@koffie.nl>
6518
6519 * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
6520 (alt_reg_names): Ditto, fix formatting.
6521 * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
6522
6523 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
6524
6525 * config/h8300/h8300.c (final_prescan_insn): Constify uid.
6526 (output_logical_op): Constify intval and det.
6527 (compute_logical_length): Likewise.
6528 (compute_logical_cc): Likewise.
6529 (output_a_shift): Constify mask.
6530 (h8300_encode_label): Constify len.
6531
6532 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
6533
6534 * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
6535 (h8300_expand_epilogue): Likewise.
6536
6537 2003-01-06 Aldy Hernandez <aldyh@redhat.com>
6538
6539 Segher Boessenkool <segher@koffie.nl>
6540
6541 * config/rs6000/altivec.md: Remove spaces from assembler
6542 instruction argument lists.
6543
6544 2003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6545
6546 * config/c4x/c4x.c (c4x_naked_function_p): Rename from
6547 c4x_assembler_function_p.
6548 (c4x_null_epilogue_p): Complement return value, all uses updated.
6549 (c4x_insert_attributes): Add naked.
6550 * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
6551 * doc/extend.texi: Update C4x function attributes.
6552
6553 2003-01-06 Richard Henderson <rth@redhat.com>
6554
6555 * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
6556 properly when changing "local-ness".
6557 * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
6558
6559 2003-01-06 Dale Johannesen <dalej@apple.com>
6560
6561 * config/darwin-protos.h: Add prototypes for new section functions.
6562
6563 2003-01-06 Chris Demetriou <cgd@broadcom.com>
6564
6565 * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
6566 to EABI.
6567
6568 2003-01-06 Zack Weinberg <zack@codesourcery.com>
6569
6570 * hwint.h: If the current compiler has no 64-bit type at all,
6571 make HOST_WIDEST_INT 32 bits.
6572
6573 2003-01-06 Eric Christopher <echristo@redhat.com>
6574
6575 * config/mips/mips.md (movdf_internal2): Fix constraints.
6576
6577 2003-01-06 Kazu Hirata <kazu@cs.umass.edu>
6578
6579 * config/h8300/h8300.md (*twoshifts_l16_r1): New.
6580
6581 2003-01-06 Richard Sandiford <rsandifo@redhat.com>
6582
6583 * config/mips/mips.md (leadi): Use dla rather than la.
6584
6585 2003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com>
6586
6587 * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
6588 in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
6589
6590 2003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
6591
6592 * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
6593 redefinition.
6594
6595 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
6596
6597 * config/h8300/h8300.md (*extzv_8_23): New.
6598
6599 2003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
6600
6601 * pa64-hpux.h (JCR_SECTION_NAME): Define.
6602 (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
6603 USE_EH_FRAME_REGISTRY when defining.
6604
6605 2003-01-05 Kazu Hirata <kazu@cs.umass.edu>
6606
6607 * config/h8300/h8300.c (output_a_shift): Do not output a
6608 variable shift.
6609 * config/h8300/h8300.md (two splitters): New.
6610
6611 2003-01-05 Richard Sandiford <rsandifo@redhat.com>
6612
6613 * config/mips/mips.md: Disable the movstrsi define_split.
6614
6615 2003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6616
6617 * alloc-pool.c: Don't include "libiberty.h".
6618 * config/sparc/gmon-sol2.c: Include <fcntl.h>.
6619 * convert.c (convert_to_real): Hide unused variable.
6620
6621 2003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6622
6623 * Makefile.in (gtyp-gen.h): Const-ify.
6624 * gcov-dump.c (tag_table): Likewise.
6625
6626 2003-01-04 Bruce Korb <bkorb@gnu.org>
6627
6628 * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
6629 of *both* the file name and the fix name.
6630
6631 2003-01-04 John David Anglin <dave.anglin@nrc.ca>
6632
6633 * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use
6634 collect2.
6635 * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
6636 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
6637 * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
6638 GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
6639 GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
6640 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
6641 elfos.h.
6642 (EH_FRAME_IN_DATA_SECTION): Delete define.
6643 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
6644 (STARTFILE_SPEC): Use crtbegin.o.
6645 (ENDFILE_SPEC): Use crtend.o.
6646 (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
6647 SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
6648 PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
6649 DTOR_LIST_BEGIN): Define.
6650 * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
6651 (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
6652 * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
6653
6654 2002-12-31 Larin Hennessy <larin@science.oregonstate.edu>
6655
6656 * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
6657 * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
6658 m88k-*-sysv3*, Sony NewsOS. Remove references to i860.
6659 Cleanup handling of replacement text.
6660 * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
6661
6662 2003-01-04 Bruce Korb <bkorb@gnu.org>
6663
6664 * fixinc/tests/base/math.h: removed obsolete results
6665 * fixinc/tests/base/stdlib.h: ditto
6666 * fixinc/tests/base/sys/param.h: ditto
6667 * fixinc/tests/base/sys/stat.h: ditto
6668 * fixinc/tests/base/time.h: ditto
6669 * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
6670 * fixinc/tests/base/sys/byteorder.h: ditto
6671 * fixinc/inclhack.def: Remove superfluous backslashes
6672
6673 2003-01-04 Kazu Hirata <kazu@cs.umass.edu>
6674
6675 * config/h8300/h8300-protos.h: Add prototypes for
6676 the new functions defined below.
6677 * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
6678 define.
6679 (dosize): Emit RTL instead of assembly code.
6680 (push): Likewise.
6681 (pop): Likewise.
6682 (h8300_output_function_prologue): Remove.
6683 (h8300_expand_prologue): New.
6684 (h8300_expand_epilogue): New.
6685 (h8300_output_function_epilogue): Do only the reset of
6686 pragma_saveall.
6687 * config/h8300/h8300.md (push_h8300): New.
6688 (push_h8300hs): Likewise.
6689 (pop_h8300): Likewise.
6690 (pop_h8300hs): Likewise.
6691 (*stm_h8300s_2): Change the name to stm_h8300s_2.
6692 (*stm_h8300s_3): Change the name to stm_h8300s_3.
6693 (*stm_h8300s_4): Change the name to stm_h8300s_4.
6694 (*ldm_h8300s_2): New.
6695 (*ldm_h8300s_3): Likewise.
6696 (*ldm_h8300s_4): Likewise.
6697 (return): Likewise.
6698 (*return_1): Likewise.
6699 (prologue): Likewise.
6700 (epilogue): Likewise.
6701 (monitor_prologue): Likewise.
6702
6703 2003-01-03 Dale Johannesen <dalej@apple.com>
6704
6705 * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1,
6706 machopic_picsymbol_stub1.
6707 (EXTRA_SECTION_FUNCTIONS): Ditto.
6708 * rs6000/rs6000.c: Update copyright.
6709 (machopic_output_stub): Use them. Remove an insn from stub code.
6710
6711 2003-01-02 Jason Merrill <jason@redhat.com>
6712
6713 * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
6714
6715 * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
6716 static/external decls.
6717
6718 * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
6719 outermost scope.
6720 * c-decl.c (c_make_fname_decl): Push the decls there, too.
6721
6722 2003-01-03 Kazu Hirata <kazu@cs.umass.edu>
6723
6724 * config/h8300/h8300-protos.h: Add a prototype for
6725 h8300_current_function_interrupt_function_p.
6726 * config/h8300/h8300.c (interrupt_handler): Remove.
6727 (os_task): Likewise.
6728 (monitor): Likewise.
6729 (pragma_interrupt): New.
6730 (WORD_REG_USED): Use
6731 h8300_current_function_interrupt_function_p.
6732 (dosize): Likewise.
6733 (h8300_output_function_prologue): Likewise.
6734 Do not set interrupt_handler, os_task, monitor.
6735 (h8300_output_function_prologue): Use
6736 h8300_current_function_interrupt_function_p.
6737 Do not set interrupt_handler, os_task, monitor.
6738 (h8300_current_function_interrupt_function_p): New.
6739 (h8300_pr_interrupt): Set pragma_interrupt.
6740 (h8300_insert_attributes): Reset pragma_interrupt.
6741
6742 2003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6743
6744 * doc/install.texi (Configuration): Fix markup for reference to
6745 gcc/config.gcc.
6746
6747 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
6748
6749 * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
6750 (*iorhi3_two_qi): Likewise.
6751 (*iorsi3_zexthi): Likewise.
6752 (*xorhi3_zextqi): Likewise.
6753 (*xorsi3_zexthi): Likewise.
6754 (*xorsi3_zextqi): Likewise.
6755
6756 2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
6757
6758 * config/h8300/h8300.c (stack_pointer_operand): New.
6759 (const_int_gt_2_operand): Likewise.
6760 (const_int_ge_8_operand): Likewise.
6761 * config/h8300/h8300.md (a splitter): Likewise.
6762 (a peephole2): Likewise.
6763 * config/h8300/h8300-protos.h: Add prototypes for the new
6764 functions above.
6765
6766 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
6767
6768 * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
6769 objc/objc-act.h: Fix copyright years.
6770
6771 2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
6772
6773 * doc/passes.texi: Fix documentation for -fssa-ccp
6774
6775 2003-01-02 Neil Booth <neil@daikokuya.co.uk>
6776
6777 * gccbug.in: Update for new categories.
6778
6779 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6780
6781 * config/h8300/h8300.md: Reorder some patterns.
6782
6783 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6784
6785 * config/h8300/h8300.c (output_logical_op): Fix a warning.
6786
6787 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
6788
6789 * config/darwin-protos.h, config/c4x/c4x-protos.h,
6790 config/cris/cris-protos.h, config/i370/i370-protos.h,
6791 config/i960/i960-protos.h, config/ia64/ia64-protos.h,
6792 config/v850/v850-protos.h: Use struct, and don't conditionally
6793 compile on GCC_C_PRAGMA_H.
6794
6795 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6796
6797 * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
6798 * config/h8300/h8300-protos.h: Likewise.
6799 * config/sh/sh-protos.h: Likewise.
6800
6801 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6802
6803 * config/arm/arm-protos.h: Use struct cpp_reader instead of
6804 cpp_reader.
6805 * config/h8300/h8300-protos.h: Likewise.
6806 * config/sh/sh-protos.h: Likewise.
6807
6808 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
6809
6810 * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
6811 arm_pr_long_calls_off): Use struct.
6812 * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
6813 : Similarly.
6814 Don't include cpplib.h.
6815 * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
6816 sh_pr_nosave_low_regs): Similarly.
6817
6818 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
6819
6820 * config/h8300/h8300.c: Include cpplib.h.
6821
6822 2003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl>
6823
6824 * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
6825 objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
6826 objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
6827 "GCC" in the copyright header.
6828
6829 2003-01-01 Neil Booth <neil@daikokuya.co.uk>
6830
6831 * c-pragma.c (c_register_pragma): New.
6832 (init_pragma): Use it.
6833 * c-pragma.h (cpp_register_pragma): Don't declare.
6834 (c_register_pragma): New.
6835 * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
6836 * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
6837 * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
6838 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6839 * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
6840 * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
6841 * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
6842 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
6843 * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
6844 * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
6845 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
6846 * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
6847
6848 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
6849
6850 * config/h8300/h8300-protos.h: Update the prototypes.
6851 * config/h8300/h8300.c (const_le_2_operand): Change to
6852 const_int_le_2_operand.
6853 (const_int_le_6_operand): Change to const_int_le_6_operand.
6854 * config/h8300/h8300.md (two peepholes): Update the function
6855 names.
6856
6857 2002-12-31 Tom Tromey <tromey@redhat.com>
6858
6859 * doc/install.texi (Testing): Fixed typo.
6860
6861 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
6862
6863 * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
6864 (TRAMPOLINE_SIZE): Support the normal mode.
6865 (INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
6866
6867 2002-12-31 Mark Mitchell <mark@codesourcery.com>
6868
6869 * c-common.h (pending_lang_change): Declare.
6870
6871 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
6872
6873 * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
6874 descriptions.
6875
6876 2002-12-31 Jerry Quinn <jlquinn@optonline.net>
6877
6878 * gcc/doc/invoke.texi (Optimization Options): List the options
6879 enabled by each -O flag.
6880
6881 2002-12-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6882
6883 * doc/install.texi (Configuration): Explicitly refer
6884 gcc/config.gcc for a list of cpu models.
6885
6886 2002-12-31 Kazu Hirata <kazu@cs.umass.edu>
6887
6888 * config/h8300/h8300.h: Fix comment typos.
6889
6890 2002-12-30 David Edelsohn <edelsohn@gnu.org>
6891
6892 * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
6893
6894 2002-12-30 Tom Tromey <tromey@redhat.com>
6895
6896 * doc/install.texi (Testing): Mention Jacks.
6897
6898 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
6899
6900 * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
6901
6902 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
6903
6904 * config/h8300/h8300.c (output_logical_op): Use extu.w in more
6905 cases.
6906 (compute_logical_op_length): Update to reflect the change in
6907 output_logical_op.
6908 (compute_logical_op_cc): Likewise.
6909
6910 2002-12-30 Joseph S. Myers <jsm@polyomino.org.uk>
6911
6912 * doc/service.texi: Uncomment and update FAQ link.
6913
6914 2002-12-30 Andreas Jaeger <aj@suse.de>
6915
6916 * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
6917
6918 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
6919
6920 * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
6921
6922 2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
6923
6924 * config/h8300/h8300.c (output_logical_op): Use extu.w if we
6925 are clearing the most significant byte.
6926 (compute_logical_op_length): Update to reflect the change in
6927 output_logical_op.
6928 (compute_logical_op_cc): Likewise.
6929
6930 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
6931
6932 * config/h8300/h8300.md: Give internal names to anonymous
6933 insns.
6934
6935 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
6936
6937 * config/h8300/h8300.md: Reorder some insns.
6938
6939 2002-12-29 Kazu Hirata <kazu@cs.umass.edu>
6940
6941 * config/h8300/h8300-protos.h: Add prototypes for
6942 const_int_qi_operand and const_int_hi_operand.
6943 * config/h8300/h8300.c (const_int_qi_operand): New.
6944 (const_int_hi_operand): Likewise.
6945 * config/h8300/h8300.md (three peepholes): New.
6946
6947 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
6948
6949 * doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
6950 Use @copying.
6951
6952 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
6953
6954 * configure.in: Increase makeinfo version requirement to 4.[2-9].
6955 * configure: Regenerate.
6956 * doc/install.texi: Update Texinfo version requirement.
6957
6958 2002-12-28 Andreas Jaeger <aj@suse.de>
6959
6960 * config/i386/i386.c (x86_function_profiler): Mark labelno as
6961 possibly unused.
6962
6963 * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
6964 correct format.
6965
6966 2002-12-27 Kazu Hirata <kazu@cs.umass.edu>
6967
6968 * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
6969 *iorhi_ashift_8.
6970 (*iorhi_lshiftrt_8): New.
6971
6972 2002-12-27 Joseph S. Myers <jsm@polyomino.org.uk>
6973
6974 * doc/include/texinfo.tex: Update to version 2002-12-26.16.
6975
6976 2002-12-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6977
6978 * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
6979
6980 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
6981
6982 * config/h8300/h8300-protos.h: Fix comment typos.
6983 Update copyright.
6984 * config/h8300/h8300.c: Fix comment typos.
6985
6986 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
6987
6988 * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
6989
6990 2002-12-26 Kazu Hirata <kazu@cs.umass.edu>
6991
6992 * config/i386/athlon.md: Fix comment typos.
6993 * config/i386/crtdll.h: Likewise.
6994 * config/i386/djgpp.h: Likewise.
6995 * config/i386/i386-interix.h: Likewise.
6996 * config/i386/i386.c: Likewise.
6997 * config/i386/i386.h: Likewise.
6998 * config/i386/i386.md: Likewise.
6999 * config/i386/k6.md: Likewise.
7000 * config/i386/mingw32.h: Likewise.
7001 * config/i386/pentium.md: Likewise.
7002 * config/i386/sco5.h: Likewise.
7003 * config/i386/winnt.c: Likewise.
7004 * config/i386/xmmintrin.h: Likewise.
7005
7006 2002-12-26 Jose Renau <renau@cs.uiuc.edu>
7007
7008 * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
7009 INSN_P before checking to see if it is dead.
7010 (mark_all_insn_unnecessary): Similarly.
7011 (ssa_eliminate_dead_code): Similarly.
7012 * rtl.h (struct rtx_def): Update comments for in_struct usage
7013 in dead code elimination pass.
7014 (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.
7015
7016 2002-12-26 Andreas Schwab <schwab@suse.de>
7017
7018 * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
7019
7020 2002-12-25 David Edelsohn <edelsohn@gnu.org>
7021
7022 * config/rs6000/rs6000.c (rs6000_override_options): Convert to
7023 tartet_flags_explicit.
7024 * config/rs6000/rs6000.h (MASK_MULTIPLE_SET, MASK_STRING_SET): Delete.
7025 Compact target_flags bits.
7026 (TARGET_MULTIPLE_SET, TARGET_STRING_SET): Delete.
7027 (TARGET_SWITCHES): Delete references to *_SET flags.
7028
7029 Wed Dec 25 20:30:53 CET 2002 Jan Hubicka <jh@suse.cz>
7030
7031 * i386.md (memory attribute): Fix setcc attribute.
7032
7033 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
7034
7035 * output.h: Fix comment typos.
7036 * predict.c: Likewise.
7037 * print-tree.c: Likewise.
7038 * profile.c: Likewise.
7039 * ra-build.c: Likewise.
7040 * ra-colorize.c: Likewise.
7041 * ra-debug.c: Likewise.
7042 * ra-rewrite.c: Likewise.
7043 * ra.c: Likewise.
7044 * ra.h: Likewise.
7045 * real.c: Likewise.
7046 * recog.c: Likewise.
7047 * reg-stack.c: Likewise.
7048 * regclass.c: Likewise.
7049
7050 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
7051
7052 * config/h8300/h8300.c (print_operand_address): Do not negate
7053 a negative number when printing one.
7054
7055 2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
7056
7057 * config/h8300/h8300-protos.h: Add prototypes for
7058 output_plussi, compute_plussi_length, and compute_plussi_cc.
7059 * config/h8300/h8300.c (output_plussi): New.
7060 (compute_plussi_length): Likewise.
7061 (compute_plussi_cc): Likewise.
7062 * config/h8300/h8300.md (addsi_h8300h): Call
7063 output_plussi, compute_plussi_length, and compute_plussi_cc.
7064
7065 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
7066
7067 * config/h8300/h8300.md (two peepholes): Use match_dup instead
7068 of match_operand in the new patterns.
7069
7070 2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
7071
7072 * doc/include/texinfo.tex: Update to version 2002-11-25.11.
7073
7074 2002-12-24 Nathan Sidwell <nathan@codesourcery.com>
7075
7076 * configure.in (enable-coverage): Add SELF_COVERAGE.
7077 * profile.c (end_branch_prob): Use SELF_COVERAGE.
7078
7079 2002-12-24 Jim Wilson <wilson@redhat.com>
7080
7081 * alias.c (record_set): Handle multi-reg hard registers.
7082
7083 2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
7084
7085 * regmove.c: Fix comment typos.
7086 * reload.c: Likewise.
7087 * reload1.c: Likewise.
7088 * resource.c: Likewise.
7089 * rtl.def: Likewise.
7090 * rtl.h: Likewise.
7091 * rtlanal.c: Likewise.
7092 * sched-deps.c: Likewise.
7093 * sched-rgn.c: Likewise.
7094 * sibcall.c: Likewise.
7095 * simplify-rtx.c: Likewise.
7096 * ssa-ccp.c: Likewise.
7097 * ssa.c: Likewise.
7098 * stmt.c: Likewise.
7099 * stor-layout.c: Likewise.
7100 * system.h: Likewise.
7101 * tlink.c: Likewise.
7102 * toplev.c: Likewise.
7103 * tracer.c: Likewise.
7104 * tree-inline.c: Likewise.
7105 * tree.c: Likewise.
7106 * tree.h: Likewise.
7107 * unroll.c: Likewise.
7108 * varasm.c: Likewise.
7109
7110 2002-12-23 Larin Hennessy <larin@science.oregonstate.edu>
7111
7112 * doc/install.texi: Remove i386-*-isc, i860-*-bsd,
7113 m68k-altos-sysv, m68k-isi-bsd, m68k-sony-bsd entries.
7114 * doc/invoke.texi: Remove AMD 29K, ARM RISC/iX, Clipper, Convex,
7115 DG/UX entries.
7116 * doc/md.texi: Remove AMD 29K entries.
7117 * doc/trouble.texi: Remove Alliant, DG/UX, Iris 4.0.5F, GAS
7118 1.38.1, NewsOS, RT PC, WE32K entries.
7119
7120 2002-12-23 Aldy Hernandez <aldyh@redhat.com>
7121
7122 PR/8763
7123 * config/rs6000/altivec.md (mulv4sf3): Rewrite to add -0.0 vector.
7124 (altivec_vspltisw_v4sf): Name pattern.
7125 (altivec_vslw_v4sf): New pattern.
7126
7127 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
7128
7129 * doc/include/gcc-common.texi: Define DEVELOPMENT.
7130
7131 2002-12-23 Mark Mitchell <mark@codesourcery.com>
7132
7133 * stor-layout.c (update_alignment_for_field): Correct handling of
7134 unnamed bitfields on PCC_BITFIELD_TYPE_MATTERS machines.
7135 * doc/tm.texi (PCC_BITFIELD_TYPE_MATTERS): Note that an unnamed
7136 bitfield does not affect alignment.
7137
7138 2002-12-23 David Edelsohn <edelsohn@gnu.org>
7139
7140 * expr.c (expand_assignment): Apply special treatment to
7141 ARRAY_TYPE.
7142
7143 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
7144
7145 * config/h8300/h8300-protos.h: Update the prototype of
7146 expand_a_shift.
7147 * config/h8300/h8300.c (expand_a_shift): Change the return
7148 type to void.
7149 * config/h8300/h8300.md: Update all the uses of
7150 expand_a_shift.
7151
7152 2002-12-22 Nathan Sidwell <nathan@codesourcery.com>
7153
7154 * tree.c (save_expr): Allow either side of a dyadic operand to be
7155 constant.
7156
7157 * doc/portability.texi (portability): Update portability goals.
7158
7159 2002-12-23 Kazu Hirata <kazu@cs.umass.edu>
7160
7161 * config/h8300/h8300.c (output_a_shift): Remove unused code.
7162
7163 2002-12-22 Mark Mitchell <mark@codesourcery.com>
7164
7165 * stor-layout.c (update_alignment_for_field): Guard use of
7166 ADJUST_FIELD_ALIGN with #ifdef.
7167
7168 * stor-layout.c (update_alignment_for_field): Use
7169 ADJUST_FIELD_ALIGN when computing the alignment for a zero-width
7170 bitfield when PCC_BITFIELD_TYPE_MATTERS.
7171
7172 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
7173
7174 * genautomata.c: Fix comment typos.
7175
7176 Sun Dec 22 18:23:44 CET 2002 Jan Hubicka <jh@suse.cz>
7177
7178 * params.def (tracer-min-branch-probability-feedback): Fix default.
7179 * final.c (compute_alignments): Use profile to avoid code bloat.
7180
7181 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
7182
7183 * config/h8300/h8300.c (get_shift_alg): Make shift insn
7184 sequences end with a valid cc0 whenever possible.
7185
7186 2002-12-22 Kazu Hirata <kazu@cs.umass.edu>
7187
7188 * config/h8300/h8300.md (negsf2): New.
7189 (*negsf2_h8300): Likewise.
7190 (*negsf2_h8300hs): Likewise.
7191
7192 2002-12-21 Geoffrey Keating <geoffk@apple.com>
7193
7194 * integrate.c (output_inline_function): Don't hold private
7195 pointers to 'struct function' over GC calls.
7196
7197 2002-12-21 Kaz kojima <kkojima@gcc.gnu.org>
7198
7199 * config/sh/lib1funcs.asm (__fpscr_values): Conditionalize with
7200 NO_FPSCR_VALUES.
7201 * config/sh/t-linux (TARGET_LIBGCC2_CFLAGS): Add -DNO_FPSCR_VALUES.
7202
7203 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
7204
7205 * config/h8300/h8300.md (zero_extendqisi2): Correct the
7206 length.
7207
7208 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
7209
7210 * config/h8300/h8300.md (*zero_extendqihi2_h8300): Make the
7211 second alternative "#".
7212 (*zero_extendqihi2_h8300hs): Likewise.
7213 (a define_split): New.
7214
7215 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
7216
7217 * config/h8300/h8300-protos.h: Update the prototype for
7218 split_adds_subs.
7219 Add prototypes for const_le_2_operand and const_le_6_operand.
7220 * config/h8300/h8300.c (split_adds_subs): Add an argument to
7221 specify whether inc/dec should be used when possible.
7222 (const_le_2_operand): New.
7223 (const_le_6_operand): Likewise.
7224 * config/h8300/h8300.md (two peepholes): New.
7225
7226 2002-12-21 Kazu Hirata <kazu@cs.umass.edu>
7227
7228 * config/fr30/fr30.md: Fix a comment typo.
7229 * config/i386/i386.c: Likewise.
7230 * config/ip2k/ip2k.h: Likewise.
7231
7232 2002-12-20 Jim Wilson <wilson@redhat.com>
7233
7234 * config/rs6000/spe.h (__ev_subifw): Reverse arguments.
7235 (__ev_subw, __ev_subiw): New.
7236 (ev_mwlssf, ev_mwlsmf, ev_mwlssfa, ev_mwlsmfa, ev_mwlssfaaw,
7237 ev_mwlsmfaaw, ev_mwlssfanw, ev_mwlsmfanw): Delete.
7238
7239 2002-12-20 John David Anglin <dave.anglin@nrc.gc.ca>
7240
7241 * pa-linux.h (TARGET_HAS_STUBS_AND_ELF_SECTIONS): Delete define.
7242 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete define.
7243 * pa.c (pa_function_ok_for_sibcall): Allow non indirect sibcalls on
7244 TARGET_ELF32. Add comment on sibcall issues for TARGET_64BIT.
7245
7246 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
7247
7248 * config/h8300/h8300-protos.h: Add prototypes for
7249 incdec_operand and eqne_operator.
7250 * config/h8300/h8300.c (incdec_operand): New.
7251 (eqne_operator): Likewise.
7252 * config/h8300/h8300.h (CONST_OK_FOR_M): Likewise.
7253 (CONST_OK_FOR_O): Likewise.
7254 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_M and
7255 CONST_OK_FOR_O.
7256 * config/h8300/h8300.md (UNSPEC_INCDEC): New.
7257 (addhi3_incdec): New.
7258 (addsi3_incdec): Likewise.
7259 (two peepholes): Likewise.
7260
7261 2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
7262
7263 * config/h8300/h8300.c (dosize): Remove warnings.
7264 (print_operand): Likewise.
7265
7266 2002-12-20 Richard Henderson <rth@redhat.com>
7267
7268 * config/alpha/alpha.c (decl_has_samegp): New.
7269 (samegp_function_operand): Use it. Rename from
7270 current_file_function_operand.
7271 (direct_call_operand): Handle -msmall-text via symbol->jump.
7272 (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
7273 (tls_symbolic_operand_type): Likewise.
7274 (alpha_encode_section_info): Likewise. Handle -msmall-text.
7275 (alpha_function_ok_for_sibcall): Use decl_has_samegp.
7276 (alpha_end_function): Set symbol->jump for functions defined in
7277 the text section.
7278 * config/alpha/alpha-protos.h: Update.
7279 * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
7280 (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
7281 (PREDICATE_CODES): Update.
7282 * config/alpha/alpha.md (call patterns): Update for
7283 samegp_function_operand rename; use !samegp reloc if
7284 TARGET_EXPLICIT_RELOCS.
7285 * doc/invoke.text: Document -msmall-text and -mlarge-text.
7286
7287 2002-12-20 Ian Dall <ian@sibyl.beware.dropbear.id.au>
7288
7289 * config/ns32k/ns32k.md (movdi): Use "l" instead of "f" to match
7290 all registers capable of holding a double float.
7291 (*rcond): change name of "reverse branch" insns to
7292 something more meaningful.
7293 (*rbgt, *rblt, *rbge, *rble): Reverse branches to handle IEEE
7294 comparisons properly.
7295 (*ffs): Change operand 0 from write to read-modify-write.
7296 (*ffsssi2): Drop constraints from define_expand.
7297
7298 * config/ns32k/ns32k.h (STORE_RATIO, STORE_BY_PIECES): Avoid using
7299 MOVE_RATIO as default for store operations.
7300
7301 * config/ns32k/ns32k.h (enum reg_class, REG_CLASS_NAMES): Add
7302 LONG_REGS class.
7303 (CANNOT_CHANGE_MODE_CLASS): Can't subreg LONG_REGS.
7304 (GO_IF_LEGITIMATE_ADDRESS): Remove spurious abort().
7305 * config/ns32k/ns32k.c (regclass_map): Add LONG_REGS class.
7306
7307 * config/ns32k/STATUS: New File
7308 * config/ns32k/NOTES: New file.
7309
7310 2002-12-20 Hartmut Penner <hpenner@de.ibm.com>
7311
7312 * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
7313 option for S/390 and zSeries.
7314 * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
7315 s390_arch_string): New variables.
7316 (override_options): Checking for options and setting of
7317 appropriate target_flags, cpu and arch flags.
7318 * config/s390/s390.h: (processor_type): New enum.
7319 (TARGET_SWITCHES): New switches -mesa/zarch.
7320 * config/s390/s390.md: New attribute 'cpu'.
7321
7322 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
7323
7324 * c-pretty-print.h: Fix comment typos.
7325 * integrate.c: Likewise.
7326 * varasm.c: Likewise.
7327 * config/c4x/c4x.h: Likewise.
7328 * config/c4x/c4x.md: Likewise.
7329 * config/fr30/fr30.md: Likewise.
7330 * config/frv/frv.c: Likewise.
7331 * config/h8300/h8300.c: Likewise.
7332 * config/i386/i386.c: Likewise.
7333 * config/i386/i386.h: Likewise.
7334 * config/ia64/ia64.c: Likewise.
7335 * config/ia64/ia64.h: Likewise.
7336 * config/ip2k/ip2k.md: Likewise.
7337 * config/m68hc11/m68hc11-crt0.S: Likewise.
7338 * config/m68hc11/m68hc11.h: Likewise.
7339 * config/m68hc11/m68hc11.md: Likewise.
7340 * config/m68hc11/m68hc12.h: Likewise.
7341 * config/mcore/mcore.md: Likewise.
7342 * config/mips/mips.c: Likewise.
7343 * config/mips/mips.md: Likewise.
7344 * config/mmix/mmix-modes.def: Likewise.
7345 * config/pa/pa.c: Likewise.
7346 * config/rs6000/rs6000.c: Likewise.
7347 * config/rs6000/rs6000.h: Likewise.
7348 * config/rs6000/rs6000.md: Likewise.
7349
7350 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
7351
7352 * config/h8300/h8300.md (output_a_shift): Clean up the code to
7353 output shifts using rotation.
7354
7355 2002-12-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7356
7357 * flow.c (allocate_reg_life_data): Reset REG_FREQ.
7358
7359 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
7360
7361 * config/h8300/h8300.md (pushqi_h8300): Don't push the stack
7362 pointer.
7363 (pushqi_h8300hs): Likewise.
7364 (pushhi_h8300): Likewise.
7365 (pushhi_h8300hs): Likewise.
7366
7367 Thu Dec 19 23:44:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
7368
7369 * sched-rgn.c (init_regions): Update comment.
7370
7371 2002-12-19 David Edelsohn <edelsohn@gnu.org>
7372
7373 * config/rs6000/rs6000.md (define_attr type): Remove altivec.
7374 * config/rs6000/altivec.md (movv4si_internal): Set correct instruction
7375 attributes.
7376 (movv8hi_internal,movv16qi_internal,movv4sf_internal): Same.
7377 (get_vrsave_internal,set_vrsave_internal): Same.
7378 (altivec_vspltisb,altivec_vspltish,altivec_vspltisw): Same.
7379 (absv16qi2,absv8hi2,absv4si2,absv4sf2): Same
7380 (altivec_abss_v16qi,altivec_abss_v8hi,altivec_abss_v4si): Same.
7381
7382 2002-12-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
7383 Danny Smith <dannysmith@users.sourceforge.net>
7384 Eric Kohl <ekohl@rz-online.de>
7385
7386 * config/i386/i386.c (ix86_handle_cdecl_attribute): Check for
7387 attributes incompatible with fastcall attribute.
7388 (ix86_handle_regparm_attribute): Likewise.
7389
7390 * config/i386/i386.c (ix86_comp_type_attributes): Check for mismatched
7391 fastcall types.
7392
7393 * config/i386/cygwin.h (TARGET_OS_CPP_BUILTINS): Add fastcall
7394 attributes.
7395 (ASM_OUTPUT_LABELREF): Define as i386_pe_output_labelref.
7396 * config/i386/i386-protos.h (i386_pe_output_labelref): Declare.
7397 * config/i386/winnt.c (i386_pe_mark_dllimport). Add __imp_ prefix in
7398 i386_pe_output_labelref rather than here.
7399 (gen_fastcall_suffix): New function. Decorates a label name with the
7400 fastcall prefix (@) and the stdcall suffix.
7401 (i386_pe_encode_section_info): Call gen_fastcall_suffix() if a symbol
7402 has a fastcall attribute.
7403 (i386_pe_output_labelref): New function. Outputs a label reference.
7404 * config/i386/i386.c (ix86_attribute_table): Accept 'fastcall' as a
7405 valid attribute.
7406 (ix86_return_pops_args): Fastcall functions pop the stack.
7407 (init_cumulative_args): Reserve registers ECX and EDX if function has
7408 fastcall attribute.
7409 (function_arg): Use registers ECX and EDX if function has fastcall
7410 attribute.
7411 * config/i386/i386.h (CUMULATIVE_ARGS): Add fastcall attribute flag.
7412 (DLL_IMPORT_EXPORT_PREFIX): Redefine as '#'.
7413 (FASTCALL_PREFIX): Define as '@'.
7414 * config/i386/mingw32.h (TARGET_OS_CPP_BUILTINS): Add fastcall
7415 attributes.
7416 * doc/extend.texi: Add documentation of fastcall attribute.
7417
7418 2002-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
7419
7420 * configure.in: FORBUILD when build!=host changed from
7421 ../$build-alias to ../build-$build_alias to match change made
7422 in top directory.
7423 * configure: Regenerated.
7424
7425 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
7426
7427 PR optimization/8988
7428 * loop.c (maybe_eliminate_biv): Kill REG_EQUAL notes mentioning
7429 the biv when eliminating.
7430
7431 2002-12-19 Devang Patel <dpatel@apple.com>
7432 * gcc.c (struct default_compiler): Recognizes input file name with
7433 .CPP extension as C++ source files
7434 * cp/lang-spec.h: Same
7435 * doc/invoke.texi: Add documentation for .CPP support.
7436
7437 2002-12-19 Aldy Hernandez <aldyh@redhat.com>
7438
7439 PR 8553
7440 * config/rs6000/altivec.md ("absv8hi2"): Add & to clobbered
7441 registers.
7442 ("absv16qi2"): Same.
7443 ("absv4si2"): Same.
7444 ("absv4sf2"): Same.
7445 ("altivec_abss_v16qi"): Same.
7446 ("altivec_abss_v8hi"): Same.
7447 ("altivec_abss_v4si"): Same.
7448
7449 2002-12-19 Ulrich Weigand <uweigand@de.ibm.com>
7450
7451 * config/s390/s390.md ("*tsthiCCT", "*tsthiCCT_cconly",
7452 "*tstqiCCT", "*tstqiCCT_cconly"): New insns.
7453
7454 2002-12-19 Eric Botcazou <ebotcazou@libertysurf.fr>
7455
7456 PR target/8340
7457 * stmt.c (expand_asm_operands): Produce an error when
7458 the PIC register is clobbered.
7459
7460 2002-12-18 Daniel Berlin <dberlin@dberlin.org>
7461
7462 * Makefile.in (OBJS): Add alloc-pool.o
7463 (alloc-pool.o): New object.
7464
7465 * alloc-pool.c: New file.
7466 * alloc-pool.h: New file.
7467
7468 2002-12-18 Loren James Rittle <ljrittle@acm.org>
7469
7470 * gcc.c (validate_switches): Robustify against skipping past '\0'.
7471
7472 2002-12-18 Geoffrey Keating <geoffk@apple.com>
7473
7474 * config.gcc: Set extra_objs in the generic Darwin rule,
7475 not in the machine-specific rules.
7476
7477 2002-12-19 Kazu Hirata <kazu@cs.umass.edu>
7478
7479 * ChangeLog: Follow spelling conventions.
7480 * ChangeLog.2: Likewise.
7481 * ChangeLog.4: Likewise.
7482 * ChangeLog.5: Likewise.
7483 * cppexp.c: Likewise.
7484 * df.c: Likewise.
7485 * gcov.c: Likewise.
7486 * gengtype.c: Likewise.
7487 * reload1.c: Likewise.
7488 * sched-rgn.c: Likewise.
7489 * stmt.c: Likewise.
7490 * stor-layout.c: Likewise.
7491 * timevar.c: Likewise.
7492 * toplev.c: Likewise.
7493 * tree.h: Likewise.
7494 * varasm.c: Likewise.
7495 * config/fr30/fr30.md: Likewise.
7496 * config/i386/i386.c: Likewise.
7497 * config/ia64/ia64.c: Likewise.
7498 * config/pa/pa.c: Likewise.
7499
7500 2002-12-18 Roger Sayle <roger@eyesopen.com>
7501
7502 * basic-block.h (flow_bb_inside_loop_p): Correct prototype.
7503
7504 2002-12-18 Aldy Hernandez <aldyh@redhat.com>
7505
7506 PR 8551
7507 * config/rs6000/altivec.h (vec_cmplt macro): Reverse arguments in
7508 macro.
7509 (vec_cmplt C++ functions): Reverse arguments.
7510
7511 2002-12-18 Geoffrey Keating <geoffk@apple.com>
7512
7513 * config/rs6000/t-rs6000: Move contents to t-fprules,
7514 add rules for dependencies of rs6000.o and to build rs6000-c.o
7515 * config/rs6000/t-fprules: New file from t-rs6000.
7516 * config/rs6000/t-beos: Remove soft-fp rules.
7517 * config/rs6000/t-ppccomm: Likewise.
7518 * config/rs6000/t-newas: Likewise.
7519 * config/rs6000/t-rs6000-c-rule: Delete.
7520 * config.gcc: Use t-fprules for rs6000/ ports when appropriate.
7521 Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule.
7522 Create generic Darwin rules.
7523
7524 * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration.
7525
7526 2002-12-18 Doug Evans <dje@sebabeach.org>
7527
7528 * m32r/m32r.c (addr24_operand): Fix arg to CONSTANT_POOL_ADDRESS_P
7529 and LIT_NAME_P.
7530 (move_src_operand): Remove compile-time warning.
7531 * m32r/m32r.h (ROUND_ADVANCE_ARG): Ditto.
7532
7533 2002-12-18 Jason Merrill <jason@redhat.com>
7534
7535 * unwind-dw2-fde.c (frame_downheap): Split out from...
7536 (frame_heapsort): Here.
7537
7538 2002-12-17 Jason Merrill <jason@redhat.com>
7539
7540 * tree.c (make_node): Don't set TREE_TYPE on 's' class nodes.
7541 (build1): Always set TREE_SIDE_EFFECTS on 's' class nodes.
7542
7543 * gcc.c (do_spec_1) ['W']: End any pending argument from the braces.
7544
7545 * calls.c (expand_call): Don't try to be clever about expanding
7546 the return slot address.
7547
7548 2002-12-18 Kaz kojima <kkojima@gcc.gnu.org>
7549
7550 * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
7551 Define.
7552
7553 2002-12-17 Jason Merrill <jason@redhat.com>
7554
7555 * genmultilib: Use 'cd ./foo'.
7556
7557 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
7558
7559 * doc/c-tree.texi: Restore deliberate spelling mistakes.
7560
7561 2002-12-17 Kazu Hirata <kazu@cs.umass.edu>
7562
7563 * doc/c-tree.texi: Fix typos and follow spelling conventions.
7564 * doc/cpp.texi: Likewise.
7565 * doc/extend.texi: Likewise.
7566 * doc/gty.texi: Likewise.
7567 * doc/install.texi: Likewise.
7568 * doc/invoke.texi: Likewise.
7569 * doc/md.texi: Likewise.
7570 * doc/passes.texi: Likewise.
7571 * doc/rtl.texi: Likewise.
7572 * doc/sourcebuild.texi: Likewise.
7573 * doc/tm.texi: Likewise.
7574
7575 2002-12-17 Jerry Quinn <jlquinn@optonline.net>
7576
7577 * doc/invoke.texi: Minor spelling and grammar fixes.
7578
7579 2002-12-17 Ulrich Weigand <uweigand@de.ibm.com>
7580
7581 * config/s390/s390.c (s390_output_constant_pool): Replace
7582 ASM_OUTPUT_INTERNAL_LABEL by (*targetm.asm_out.internal_label).
7583
7584 Tue Dec 17 09:47:57 CET 2002 Jan Hubicka <jh@suse.cz>
7585
7586 * convert.c (convert_to_real): Disable function transformation for
7587 now.
7588
7589 2002-12-16 Geoffrey Keating <geoffk@apple.com>
7590
7591 * gcc.c (handle_braces): Allow '@' as a switch name.
7592
7593 2002-12-16 Jason Merrill <jason@redhat.com>
7594
7595 * calls.c (expand_call): Handle CALL_EXPR_HAS_RETURN_SLOT_ADDR
7596 with special struct-return ABIs.
7597
7598 * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
7599 doesn't match the begin SCOPE_STMT in partialness.
7600
7601 2002-12-16 Geoffrey Keating <geoffk@apple.com>
7602
7603 * genmultilib: Create temporary files in unique subdirectory.
7604
7605 * gcc.c (validate_switches): Allow '@' as a switch name.
7606
7607 2002-12-16 Loren J. Rittle <ljrittle@acm.org>
7608
7609 * Makefile.in (gcov-iov.h): Improve portability.
7610
7611 Mon Dec 16 23:39:19 CET 2002 Jan Hubicka <jh@suse.cz>
7612
7613 * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
7614 gas
7615 * mips.md (tablejump insn): Likewise.
7616
7617 2002-12-16 Mark Mitchell <mark@codesourcery.com>
7618
7619 * doc/include/gcc-common.texi: Change version number to 3.4.
7620
7621 2002-12-16 Bruce Korb <bkorb@gnu.org>
7622
7623 * fixinc/fixlib.h: add: #include <signal.h>
7624 * fixinc/fixincl.c: remove: #include <signal.h>
7625
7626 Mon Dec 16 17:20:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
7627
7628 * sh.h (EXTRA_CONSTRAINT_Z): New macro.
7629 (EXTRA_CONSTRAINT): Use it.
7630 * sh.md (anddi3): Use 'Z' constraint for alternative 2.
7631
7632 2002-12-15 Zack Weinberg <zack@codesourcery.com>
7633
7634 * config.gcc (need_64bit_hwint): New variable.
7635 (alpha*-*-*, x86_64-*-*, ia64-*-*, mips*-*-*, powerpc*-*-*,
7636 mmix-knuth-mmixware, rs6000*-*-*, sparc64*-*-*, s390*-*-*,
7637 sh*-*-*, hppa*64*-*-linux, parisc*64*-*-linux, hppa*64*-*-hpux11*,
7638 sparcv9-*-solaris2*, sparc*-*-solaris2.[789], ultrasparc-*-freebsd*):
7639 Set it.
7640 (powerpc*-*-darwin*): Unset it.
7641 (alpha-*-interix, alpha64-dec-*vms*, i?86-*-interix3*,
7642 i?86-*-interix*, sparc64-*-openbsd*): Remove references to
7643 deleted/nonexistent xm-*.h headers.
7644 * configure.in: AC_DEFINE NEED_64BIT_HOST_WIDE_INT if the
7645 target set need_64bit_hwint in config.gcc.
7646 * configure, config.in: Regenerate.
7647
7648 * hwint.h: Overhaul. Don't bother trying int for
7649 HOST_WIDE_INT. Do try __int64 if long is not enough. Base
7650 decision to force 64-bit HOST_WIDE_INT on
7651 NEED_64BIT_HOST_WIDE_INT, not (MAX_)LONG_TYPE_SIZE which is
7652 not visible at this point. Don't allow prior definition of
7653 any macro defined by this file.
7654
7655 * config/alpha/xm-vms.h: Don't define HOST_WIDE_INT or
7656 HOST_BITS_PER_WIDE_INT.
7657 * config/c4x/c4x.h: Adjust redefinition of
7658 HOST_WIDE_INT_PRINT_HEX to match changes to hwint.h.
7659 * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms64.h,
7660 config/i386/xm-i386-interix.h: Delete file.
7661
7662 2002-12-14 Rodney Brown <rbrown64@csc.com.au>
7663 John David Anglin <dave@hiauly1.hia.nrc.ca>
7664
7665 * pa.c (output_millicode_call): Convert ASM_OUTPUT_INTERNAL_LABEL.
7666 * pa64-hpux.h (ASM_OUTPUT_INTERNAL_LABEL): Delete define.
7667
7668 2002-12-14 Zack Weinberg <zack@codesourcery.com>
7669
7670 * mkconfig.sh: Correct comment. Add copyright boilerplate.
7671
7672 2002-12-14 Zack Weinberg <zack@codesourcery.com>
7673
7674 * config/t-darwin, config/arm/t-pe, config/arm/t-strongarm-pe,
7675 config/c4x/t-c4x, config/i370/t-i370, config/i386/t-cygwin,
7676 config/i386/t-interix, config/i960/t-960bare, config/ia64/t-ia64,
7677 config/rs6000/t-rs6000-c-rule, config/sparc/t-sol2,
7678 config/v850/t-v850: Correct dependencies and normalize
7679 compilation commands for files that include coretypes.h and tm.h.
7680
7681 * config/sparc/gmon-sol2.c: Include tconfig.h and tsystem.h,
7682 not config.h and system.h.
7683
7684 Sat Dec 14 20:43:41 CET 2002 Jan Hubicka <jh@suse.cz>
7685
7686 * i386.c (flags_reg_operand): New function.
7687 * i386.h (PREDICATE_CODES): Add flags_reg_operand.
7688 * i386.md (cmov splitter, movqicc): Use new predicate.
7689
7690 Sat Dec 14 17:03:17 CET 2002 Jan Hubicka <jh@suse.cz>
7691
7692 * i386.md (movqicc splitter): Fix template.
7693
7694 2002-12-13 Jason Merrill <jason@redhat.com>
7695
7696 * tree.h (CALL_EXPR_HAS_RETURN_SLOT_ADDR): New macro.
7697 * calls.c (expand_call): Handle it.
7698 * tree-inline.c (struct inline_data): Remove target_exprs field.
7699 (optimize_inline_calls): Don't initialize it.
7700 (expand_call_inline): Don't modify it. Handle
7701 CALL_EXPR_HAS_RETURN_SLOT_ADDR.
7702 (declare_return_variable): Take return slot addr.
7703 * langhooks.h (copy_res_decl_for_inlining): Change target_exprs parm
7704 to return_slot_addr.
7705 * langhooks-def.h, langhooks.c: Adjust.
7706 * explow.c (maybe_set_unchanging): Don't set RTX_UNCHANGING_P for
7707 a decl with no DECL_INITIAL.
7708
7709 * expr.c (expand_expr): Don't discard the target of a call which
7710 returns in memory.
7711
7712 2002-12-13 Neil Booth <neil@daikokuya.co.uk>
7713
7714 * cppinit.c (path_include): Take an environment variable name.
7715 Tidy up.
7716 (init_standard_includes): Simplify environment handling, and
7717 move to ...
7718 (cpp_read_main_file): ...here as -nostdinc should not affect
7719 environment variable paths.
7720
7721 2002-12-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
7722
7723 * pa.c (output_millicode_call): Correct typo.
7724 (output_call): Likewise.
7725
7726 Fri Dec 13 21:07:18 2002 Alexandre Oliva <aoliva@redhat.com>
7727
7728 * config/mn10300/mn10300.c (print_operand) <case N>: Check
7729 operand's range. Print value directly, without aid from
7730 output_address.
7731 <case U>: New.
7732 <case S>: Make sure argument to fprintf has the right type.
7733 * config/mn10300/mn10300.h (OK_FOR_T): New macro.
7734 (EXTRA_CONSTRAINT): Adjust.
7735 * config/mn10300/mn10300.md: Add new all-QImode pattern for
7736 bclr. Use %U for immediate operands of bset and bclr.
7737 (iorqi3): New expand, with insns for AM33 and mn10300.
7738
7739 Fri Dec 13 16:02:27 2002 J"orn Rennecke <joern.rennecke@superh.com>
7740
7741 * sh.c (sh_register_operand): New function.
7742 (prepare_move_operands): Use it.
7743 * sh.h (PREDICATE_CODES): Add entry for sh_register_operand.
7744 * sh.md (movsi_media, movsi_media_nofpu): Allow stores of 0.
7745 (movqi_media, movhi_media, movdi_media, movdi_media_nofpu): Likewise.
7746 (movdf_media, movdf_media_nofpu, movv4sf_i, movsf_media): Likewise.
7747 (movsf_media_nofpu, movv2hi_i, movv4hi_i, movv8qi_i): Likewise.
7748 (movv2si_i): Likewise.
7749
7750 2002-12-13 Jim Wilson <wilson@redhat.com>
7751
7752 * doc/extend.texi (Complex Numbers): Update info on debug info.
7753
7754 2002-12-13 Kazu Hirata <kazu@cs.umass.edu>
7755
7756 * config/h8300/h8300.md (addhi3_h8300): Remove the last
7757 alternative.
7758
7759 2002-12-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7760
7761 * hooks.h (hook_tree_tree_bool_false): Declare
7762 hook_bool_tree_tree_false instead.
7763
7764 2002-12-12 Devang Patel <dpatel@apple.com>
7765
7766 * doc/invoke.texi: Document Darwin linker options, -bundle
7767 -bind_at_load, -all_load and -arch_errors_fatal
7768
7769 2002-12-12 Jim Wilson <wilson@redhat.com>
7770
7771 * dbxout.c (dbxout_fptype_value): New.
7772 (dbxout_type, case COMPLEX_TYPE): Call it. Use 'R' instead of 'r'.
7773
7774 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7775
7776 * c-decl.c: Fix a comment typo.
7777 * cfg.c: Likewise.
7778 * cfgcleanup.c: Likewise.
7779 * cfglayout.c: Likewise.
7780 * cfgrtl.c: Likewise.
7781 * c-typeck.c: Likewise.
7782 * dominance.c: Likewise.
7783 * dwarf2asm.c: Likewise.
7784 * dwarfout.c: Likewise.
7785 * expmed.c: Likewise.
7786 * expr.c: Likewise.
7787 * final.c: Likewise.
7788 * flow.c: Likewise.
7789 * function.c: Likewise.
7790 * gcc.c: Likewise.
7791 * genautomata.c: Likewise.
7792 * integrate.c: Likewise.
7793 * loop.c: Likewise.
7794 * loop.h: Likewise.
7795 * output.h: Likewise.
7796 * profile.c: Likewise.
7797 * ra.h: Likewise.
7798 * reload1.c: Likewise.
7799 * reload.c: Likewise.
7800 * sched-rgn.c: Likewise.
7801 * stmt.c: Likewise.
7802 * tree.h: Likewise.
7803 * vmsdbgout.c: Likewise.
7804
7805 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7806
7807 * config/h8300/h8300.md: Add a new peephole2.
7808
7809 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7810
7811 * config/h8300/h8300.md (a peephole2): Accept a constant
7812 that's accepted by CONST_OK_FOR_J.
7813
7814 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7815
7816 * config/h8300/h8300.h (CONST_OK_FOR_J): New.
7817 (CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
7818 * config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
7819 (*addhi_h8300hs): Likewise.
7820
7821 Thu Dec 12 16:24:59 2002 J"orn Rennecke <joern.rennecke@superh.com>
7822
7823 * sh.c (reg_class_from_letter): No longer const. Add 'e' entry.
7824 (sh_register_move_cost): Add clause for SImode fp-fp moves.
7825 Increase cost for moves involving multiple general purpose registers.
7826 * sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
7827 TARGET_FMOVD.
7828 (HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
7829 registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
7830 (enum reg_class reg_class_from_letter): No longer const.
7831 (SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
7832 REGCLASS_HAS_GENERAL_REG.
7833 Handle SImode moves from/to fp registers.
7834 ! TARGET_SHMEDIA && TARGET_FMOVD.
7835 (SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
7836 * sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.
7837
7838 2002-12-12 Andreas Schwab <schwab@suse.de>
7839
7840 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
7841 change and some warnings.
7842
7843 2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
7844
7845 * doc/md.texi (pushm): Fix a typo.
7846
7847 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
7848
7849 * config/mips/mips.c (mips_output_conditional_branch): Support
7850 PIC-safe out-of-range branch and branch-likely.
7851 * config/mips/mips.md (attr length): PIC-safe out-of-range
7852 branches are longer.
7853 ("jump"): Support PIC-safe out-of-range-for-branch jumps. Remove
7854 unused code to support indirect jumps.
7855
7856 2002-12-11 Zack Weinberg <zack@codesourcery.com>
7857
7858 * Makefile.in (GTFILES): Add $(host_xm_file_list) and
7859 $(tm_file_list).
7860
7861 2002-12-11 David Edelsohn <edelsohn@gnu.org>
7862
7863 * config/rs6000/t-rs6000-c-rule: Add coretypes.h $(TM_H) dependencies.
7864
7865 Wed Dec 11 15:20:45 CET 2002 Jan Hubicka <jh@suse.cz>
7866
7867 * i386.md (cmove splitters): Avoid creation of unnecesary subregs.
7868
7869 2002-12-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7870
7871 * pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
7872 (MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
7873 BIGGEST_ALIGNMENT.
7874 (PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
7875 (FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.
7876
7877 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
7878
7879 * doc/invoke.texi: Correct dump file names.
7880
7881 2002-12-09 Steve Ellcey <sje@cup.hp.com>
7882
7883 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
7884 name to globalize_label or assemble_name.
7885
7886 Wed Dec 11 20:15:19 2002 J"orn Rennecke <joern.rennecke@superh.com>
7887
7888 * sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
7889 if not TARGET_SHMEDIA.
7890
7891 Wed Dec 11 19:05:05 2002 J"orn Rennecke <joern.rennecke@superh.com>
7892
7893 * sh.h (REG_CLASS_HAS_FP_REG): New.
7894 (REGISTER_MOVE_COST) Use it. Put body into a function and
7895 move it into:
7896 * sh.c (sh_register_move_cost).
7897 * sh-protos.h (sh_register_move_cost): Declare.
7898
7899 * sh.c (sh_expand_builtin): Abort for unexpected nop values.
7900 (sh_adjust_cost): Always return a value.
7901
7902 Wed Dec 11 18:39:52 2002 J"orn Rennecke <joern.rennecke@superh.com>
7903
7904 * sh.h (REG_CLASS_HAS_GENERAL_REG): New.
7905 (REGISTER_MOVE_COST): Use it.
7906
7907 2002-12-11 Richard Henderson <rth@redhat.com>
7908
7909 * tree.h (MODULE_LOCAL_P): Kill.
7910 * varasm.c (default_binds_local_p_1): Use decl_visibility instead.
7911
7912 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
7913
7914 * config/h8300/h8300.md (two define_peephole2): New.
7915
7916 2002-12-11 Kazu Hirata <kazu@cs.umass.edu>
7917
7918 * config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
7919 (CONST_OK_FOR_K): Likewise.
7920 (CONST_OK_FOR_M): Likewise.
7921 (CONST_OK_FOR_LETTER_P): Do not use the above macros.
7922
7923 2002-12-11 Neil Booth <neil@daikokuya.co.uk>
7924
7925 * c-common.c (builtin_define_type_max): Handle unsigned
7926 types too.
7927
7928 2002-12-10 David Edelsohn <edelsohn@gnu.org>
7929
7930 * haifa-sched.c (rank_for_schedule): Correct style.
7931
7932 2002-12-10 Per Bothner <pbothner@apple.com>
7933
7934 * cpplib.h (struct cpp_hashnode): Split a non-portably-signed field
7935 directive_index into an unsigned field and a new is_directive field.
7936 * cppinit.c (mark_named_operators): Update to set new fields.
7937 * cpplex.c (_cpp_lex_direct): Now directive_field is unsigned.
7938 * cpplib.c [_cpp_handle_directive]: Test is_directive field.
7939 No longer need to subtract 1 from directive_index.
7940 (_cpp_init_directives): No longer need to add 1 to directive_index.
7941 * cpptrad.c (scan_out_logical_line): Use is_directive field.
7942
7943 2002-12-10 Roger Sayle <roger@eyesopen.com>
7944
7945 * builtins.c (fold_builtin): Remove -funsafe-math-optimizations
7946 check for evaluating sqrt of a constant at compile time.
7947 * simplify-rtx.c (simplify_unary_operation): Likewise.
7948
7949 2002-12-10 Janis Johnson <janis187@us.ibm.com>
7950
7951 PR other/8882
7952 * doc/tm.texi (PUSH_ARGS): Remove misplaced line.
7953
7954 2002-12-10 Devang Patel <dpatel@appple.com>
7955
7956 * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
7957 * doc/invoke.texi: Add new "Darwin Options" section.
7958
7959 2002-12-10 Jim Wilson <wilson@redhat.com>
7960
7961 * rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
7962 memory.
7963
7964 2002-12-10 Andrew Haley <aph@redhat.com>
7965
7966 * cse.c (cse_insn): Don't cse past a basic block boundary.
7967
7968 2002-12-10 Jakub Jelinek <jakub@redhat.com>
7969
7970 * config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
7971 -shared.
7972 * config/alpha/linux-elf.h (LIB_SPEC): Likewise.
7973 * config/alpha/linux.h (LIB_SPEC): Likewise.
7974 * config/arm/linux-elf.h (LIB_SPEC): Likewise.
7975 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
7976 * config/sparc/linux.h (LIB_SPEC): Likewise.
7977 * config/sparc/linux64.h (LIB_SPEC): Likewise.
7978
7979 2002-12-09 Larin Hennessy <larin@science.oregonstate.edu>
7980
7981 * doc/invoke.texi: Document UltraSparc III option.
7982
7983 2002-12-09 Richard Henderson <rth@redhat.com>
7984
7985 * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
7986 __tune_pentium2__ and __tune_pentium3__ as necessary.
7987
7988 2002-12-09 Richard Henderson <rth@redhat.com>
7989
7990 * target.h (gcc_target): Add cannot_force_const_mem.
7991 * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
7992 (TARGET_INITIALIZER): Add it.
7993 * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
7994 * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
7995 * reload1.c (reload): Likewise.
7996 * hooks.c (hook_bool_rtx_false): New.
7997 * hooks.h: Declare it.
7998
7999 * config/i386/i386.c (ix86_cannot_force_const_mem): New.
8000 (TARGET_CANNOT_FORCE_CONST_MEM): New.
8001 (ix86_expand_move): Remove de-const-pooling hack.
8002
8003 Mon Dec 9 21:33:38 CET 2002 Jan Hubicka <jh@suse.cz>
8004
8005 * toplev.c (dump_file): Fix order to match reality.
8006
8007 2002-12-08 Geoffrey Keating <geoffk@apple.com>
8008
8009 * config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
8010 (store_multiple): Likewise.
8011
8012 2002-12-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
8013
8014 * pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
8015 function pointers in page 0.
8016
8017 2002-12-09 Steve Ellcey <sje@cup.hp.com>
8018
8019 * config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
8020 definition
8021 (MEMBER_TYPE_FORCES_BLK): Move.
8022 * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
8023 aggregate arguments.
8024 (ia64_function_value): Use PARALLEL to return aggregate values.
8025
8026 2002-12-09 Steve Ellcey <sje@cup.hp.com>
8027
8028 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
8029 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
8030 * calls.c (store_unaligned_arguments_into_pseudos) Remove
8031 FUNCTION_ARG_REG_LITTLE_ENDIAN.
8032 * stmt.c (expand_return): Ditto.
8033 * expr.c (move_block_from_reg): Ditto.
8034 (copy_blkmode_from_reg): Ditto.
8035 * expmed.c (store_bit_field): Ditto.
8036
8037 2002-12-09 Svein E. Seldal <Svein.Seldal@solidas.com>
8038
8039 * config.gcc: Added tic4x-* target as an alias to c4x-*
8040
8041 Sun Dec 8 14:57:39 CET 2002 Jan Hubicka <jh@suse.cz>
8042
8043 * i386.c (ix86_expand_int_movcc): Use force_operand instead of
8044 constructing insn directly.
8045
8046 2002-12-06 Per Bothner <pbothner@apple.com>
8047
8048 * cpplib.h (struct cpp_hashnode): Change field directive_index from
8049 char to an int bit-field, for hosts where char is unsigned.
8050
8051 2002-12-07 Roger Sayle <roger@eyesopen.com>
8052 Richard Henderson <rth@redhat.com>
8053
8054 * real.c (ieee_extended_motorola_format,
8055 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
8056 ieee_quad_format, vax_d_format, vax_g_format, i370_double_format):
8057 Provide appropriate values for new signbit field.
8058
8059 2002-12-07 Roger Sayle <roger@eyesopen.com>
8060
8061 * real.h (real_format): Add signbit field.
8062 * real.c (ieee_single_format, ieee_double_format,
8063 ieee_extended_motorola_format, ieee_extended_intel_96_format,
8064 ieee_extended_intel_128_format, ibm_extended_format,
8065 ieee_quad_format, vax_f_format, vax_d_format,
8066 vax_g_format, i370_single_format, i370_double_format,
8067 c4x_single_format, c4x_extended_format, real_internal_format):
8068 Provide suitable signbit value, or -1 to avoid bit twiddling.
8069
8070 * optabs.c (expand_unop): Try implementing negation of
8071 floating point modes by flipping the sign bit.
8072 (expand_abs): Try implementing abs of floating point modes
8073 by clearing the sign bit.
8074
8075 Sat Dec 7 22:29:47 CET 2002 Jan Hubicka <jh@suse.cz>
8076
8077 * i386.c (ix86_expand_int_movcc): Use force_operand instead
8078 of constructing insn directly.
8079
8080 2002-12-07 Kazu Hirata <kazu@cs.umass.edu>
8081
8082 * config/h8300/h8300.md (*iorhi_shift_8): New.
8083
8084 2002-12-06 Bernd Schmidt <bernds@redhat.com>
8085
8086 * doc/invoke.texi: Document FRV port options.
8087 * doc/md.texi: Document FRV register classes.
8088
8089 2002-12-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8090
8091 * doc/install.texi (Configuration): Improve description of cases
8092 where `make distclean` may fail; clarify --with-gnu-as; fix grammar.
8093
8094 2002-12-06 Per Bothner <pbothner@apple.com>
8095
8096 * cpplib.h (NODE_MACRO_ARG): New flag.
8097 (struct cpp_hashnode): Give _cpp_hashnode_value tag to value union.
8098 Remove value.operator field. Move arg_index field to value union.
8099 (directive_index): Make signed, since also used for C++ operators.
8100 * cppmacro.c (_cpp_save_parameter): Use NODE_MACRO_ARG flag to
8101 check for duplicate parameter. Set NODE_MACRO_ARG flag.
8102 Save node->value, and set node->value.arg_index.
8103 (_cpp_create_definition): For each paramater, restore node->value.
8104 (lex_expansion_token): Use NODE_MACRO_ARG flag, and moved arg_index.
8105 * cpptrad.c (scan_out_logical_line): Likewise.
8106 (scan_out_logical_line): Check for directive > 0.
8107 * cpplib.c (cpp_handle_directive): Likewise.
8108 * cpplex.c (_cpp_lex_direct): Update as value.operator is replaced
8109 by negative of directive_index.
8110 * cppinit.c (mark_named_operators): Likewise.
8111
8112 * hashtable.h (struct ht_identifier): Swap fields, for better packing.
8113
8114 2002-12-06 Dhananjay Deshpande <dhananjayd@kpit.com>
8115
8116 * gcc/config/sh/sh.c (calc_live_regs): Save fpscr only if target has
8117 FPU.
8118 (push): Generate push_fpscr.
8119 (pop): Generate pop_fpscr.
8120 * gcc/config/sh/sh.md : Add define_expand "push_fpscr", "pop_fpscr".
8121 (fpu_switch): Add alternative to push fpscr. Enable for TARGET_SH3E.
8122
8123 Fri Dec 6 19:36:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
8124
8125 * sh.c (dump_table): DImode pool constants need only 32 bit alignment.
8126 DFmode alignment depends on TARGET_FMOVD && TARGET_ALIGN_DOUBLE.
8127
8128 Fri Dec 6 19:17:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
8129
8130 * sh.md (movdi_i): Name. Remove inappropriate comment.
8131
8132 Fri Dec 6 15:44:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
8133 Merged from basic improvements branch (excerpt):
8134
8135 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
8136 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
8137
8138 2002-12-06 Jakub Jelinek <jakub@redhat.com>
8139
8140 * expr.c (expand_expr) <case COND_EXPR>: Never modify exp in place.
8141
8142 Thu Dec 5 16:58:25 CET 2002 Jan Hubicka <jh@suse.cz>
8143
8144 * i386.md (dimode peep2s): Re-add "&& 1".
8145
8146 Thu Dec 5 14:10:15 CET 2002 Jan Hubicka <jh@suse.cz>
8147
8148 * i386.c (ix86_expand_prologue): Add comment, do not use
8149 fast prologues for cold and normal functions.
8150
8151 Thu Dec 5 00:52:37 CET 2002 Jan Hubicka <jh@suse.cz>
8152
8153 * i386.c (x86_rep_movl_optimal): New variable.
8154 (ix86_expand_movstr, ix86_expand_clrstr): Use TARGET_REP_MOVL_OPTIMAL
8155 * i386.h (TARGET_REP_MOVL_OPTIMAL): New macro.
8156
8157 * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
8158 absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
8159 neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
8160 generate unnecesary subregs.
8161
8162 2002-12-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8163
8164 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): Move define.
8165 * pa.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL): To here.
8166
8167 2002-12-05 Dale Johannesen <dalej@apple.com>
8168
8169 * tree.c (unsafe_for_reeval): Consider callee child of CALL_EXPR.
8170
8171 2002-12-05 Danny Smith <dannysmith@users.sourceforge.net>
8172
8173 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Replace with
8174 PROFILE_HOOK.
8175 * config/i386/mingw32.h (SUBTARGET_PROLOGUE): Don't undef.
8176
8177 2002-12-05 Aldy Hernandez <aldyh@redhat.com>
8178
8179 * config/rs6000/spe.h (__ev_mwlufi): Remove.
8180 (__ev_mwlufia): Remove.
8181 (__ev_mwlumfaaw): Remove.
8182 (__ev_mwlusfaaw): Remove.
8183 (__ev_mwlumfanw): Remove.
8184 (__ev_mwlusfanw): Remove.
8185
8186 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
8187
8188 * config/h8300/h8300.md (*andorsi3_shift_8): New.
8189
8190 2002-12-05 Kazu Hirata <kazu@cs.umass.edu>
8191
8192 * config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
8193 lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
8194 (get_shift_alg): Return optimal assembly instructions for the
8195 shifts mentioned above.
8196
8197 Wed Dec 4 11:53:07 CET 2002 Jan Hubicka <jh@suse.cz>
8198
8199 * i386.c (ix86_expand_int_movcc): Force operand into register for QImode
8200 condtiional moves.
8201
8202 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
8203
8204 * config/h8300/h8300.c (h8300_init_once): Do not use loop to
8205 implement ashiftrt:HI by 13 bits on H8S.
8206
8207 2002-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
8208
8209 * pa/fptr.c (__canonicalize_funcptr_for_compare): New file and function.
8210 * pa.md (canonicalize_funcptr_for_compare): Output library call to
8211 canonicalize_funcptr_for_compare_libfunc on TARGET_ELF32.
8212 * pa32-linux.h (CANONICALIZE_FUNCPTR_FOR_COMPARE_LIBCALL,
8213 CTOR_LIST_BEGIN): New defines.
8214 * pa/t-linux (LIB2FUNCS_EXTRA): New define.
8215 (fptr.c): Add make rules.
8216
8217 2002-12-04 Geoffrey Keating <geoffk@apple.com>
8218
8219 * combine.c (combine_simplify_rtx): Add new canonicalizations.
8220 * doc/md.texi (Insn Canonicalizations): Document new
8221 canonicalizations for multiply/add combinations.
8222 * config/rs6000/rs6000.md: Add and modify floating add/multiply
8223 patterns to ensure they're used whenever they can be.
8224
8225 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
8226
8227 * config/h8300/h8300.c: Update the comments related to shifts.
8228
8229 2002-12-04 Chris Demetriou <cgd@broadcom.com>
8230
8231 * config/mips/mips.md (get_fnaddr): Correct length attribute.
8232
8233 2002-12-04 Kazu Hirata <kazu@cs.umass.edu>
8234
8235 * config/h8300/h8300.md (*extzv_8_8): New.
8236 (*extzv_8_16): Likewise.
8237
8238 2002-12-04 Jason Merrill <jason@redhat.com>
8239
8240 PR c++/8461, c++/8625
8241 * integrate.c (copy_decl_for_inlining): Handle explicit invisible
8242 references.
8243 * tree-inline.c (initialize_inlined_parameters): Likewise.
8244
8245 * tree.c (variably_modified_type_p): Just return an error_mark_node.
8246
8247 2002-12-04 Chris Demetriou <cgd@broadcom.com>
8248
8249 * config/mips/mips.md (get_fnaddr): Avoid placing an "la"
8250 macro instruction in a branch delay slot, to avoid assembler
8251 warnings.
8252
8253 2002-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
8254
8255 PR c/7622
8256 * c-semantics (genrtl_scope_stmt): Do not output inlined
8257 nested functions that contain no code.
8258
8259 Wed Dec 4 15:20:54 CET 2002 Jan Hubicka <jh@suse.cz>
8260
8261 * cfgrtl.c (force_nonfallthru_and_redirect): Allow abnormal edge
8262 to be forced into nonfallthru.
8263
8264 2002-12-03 Jason Thorpe <thorpej@wasabisystems.com>
8265
8266 * config/t-netbsd (USER_H): Set to $(EXTRA_HEADERS).
8267
8268 2002-12-03 Aldy Hernandez <aldyh@redhat.com>
8269
8270 * config/rs6000/spe.md (*movv1di_const0): New pattern.
8271
8272 2002-12-03 Richard Henderson <rth@redhat.com>
8273
8274 * libgcc-std.ver: Inherit GCC_3.3 from GCC_3.0.
8275
8276 2002-12-03 Hans-Peter Nilsson <hp@bitrange.com>
8277
8278 * bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff):
8279 Initialize tmp.using_obstack to 0.
8280
8281 2002-12-03 Andreas Schwab <schwab@suse.de>
8282
8283 * config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define.
8284 (EH_RETURN_STACKADJ_RTX): Define.
8285 (EH_RETURN_HANDLER_RTX): Define.
8286 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
8287 * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh
8288 registers and don't save fixed registers.
8289 (m68k_output_function_prologue): Use it.
8290 (use_return_insn): Likewise.
8291 (m68k_output_function_epilogue): Likewise.
8292
8293 2002-12-03 Kazu Hirata <kazu@cs.umass.edu>
8294
8295 * config/h8300/h8300.c (single_one_operand): Fix a warning.
8296 (single_zero_operand): Likewise.
8297
8298 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
8299
8300 * Makefile.in configure configure.in dummy-conditions.c fix-header.c
8301 gcov-iov.c gen-protos.c genattr.c genattrtab.c genautomata.c
8302 gencheck.c gencodes.c genconditions.c genconfig.c genconstants.c
8303 genemit.c genextract.c genflags.c gengenrtl.c gengtype-lex.l
8304 gengtype-yacc.y gengtype.c genopinit.c genoutput.c genpeep.c
8305 genpreds.c genrecog.c gensupport.c mkconfig.sh read-rtl.c
8306 scan-decls.c scan.c config/sh/sh.h doc/configfiles.texi
8307 doc/install-old.texi: Replace hconfig.h with bconfig.h.
8308 * Makefile.in: Replace HCONFIG_H with BCONFIG_H.
8309
8310 2002-12-02 Andrew Pinski <pinskia@physics.uc.edu>
8311
8312 * config/rs6000/rs6000.md (ffssi): Convert to expander.
8313 (ffsdi): Likewise.
8314 (cntlzw2, cntlzd2): New patterns.
8315
8316 2002-12-02 H.J. Lu <hjl@gnu.org>
8317
8318 * config.gcc (mips*-*-netbsd*): Remove mips/t-netbsd.
8319 (mips*-*-linux*): Remove mips/t-linux.
8320
8321 Mon Dec 2 19:26:30 CET 2002 Jan Hubicka <jh@suse.cz>
8322
8323 * i386.c (ix86_expand_int_movcc): Avoid overflow.
8324
8325 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
8326
8327 * config/h8300/h8300.c (dosize): Replace argument op with
8328 sign.
8329 (h8300_output_function_prologue): Update the call to dosize.
8330 (h8300_output_function_epilogue): Likewise.
8331
8332 2002-12-02 Bob Wilson <bob.wilson@acm.org>
8333
8334 * config/xtensa/xtensa.h: Delete ifndefs with nothing inside them.
8335
8336 2002-12-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
8337
8338 * configure.in: Use "missing" script to generate warning if
8339 flex or bison programs not found, instead of invoking "false".
8340 * configure: Rebuilt.
8341
8342 Mon Dec 2 20:28:48 CET 2002 Jan Hubicka <jh@suse.cz>
8343
8344 * unroll.c (copy_loop_body): Copy CONST_OR_PURE_CALL_P.
8345
8346 Mon Dec 2 19:42:52 CET 2002 Jan Hubicka <jh@suse.cz>
8347
8348 * i386.c (ix86_expand_int_movcc): Avoid overflow.
8349
8350 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
8351
8352 * config/h8300/h8300.c (dosize): Output r7/er7 instead of sp.
8353 (push): Likewise.
8354 (pop): Likewise.
8355 (h8300_output_function_prologue): Likewise.
8356 (h8300_output_function_epilogue): Likewise.
8357
8358 Mon Dec 2 14:43:22 2002 J"orn Rennecke <joern.rennecke@superh.com>
8359
8360 * expmed.c (store_bit_field): Use int_mode_for_mode to find
8361 corresponding mode of non-integer mode, unless it is VOIDmode.
8362
8363 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
8364
8365 * config/h8300/h8300.md (stm_h8300s_2): New.
8366 (stm_h8300s_3): Likewise.
8367 (stm_h8300s_4): Likewise.
8368 (five define_peephole2): Likewise.
8369
8370 2002-12-02 Kazu Hirata <kazu@cs.umass.edu>
8371
8372 * ra-build.c: Fix a comment typo.
8373
8374 Sun Dec 1 16:50:47 CET 2002 Jan Hubicka <jh@suse.cz>
8375
8376 * i386.c (ix86_expand_int_movcc): fix
8377 reversed BRANCH_COST test; be curefull about infinite recursion.
8378
8379 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
8380
8381 * config/h8300/h8300.c (h8300_output_function_prologue):
8382 Remove variable idx.
8383 (h8300_output_function_epilogue): Likewise.
8384
8385 2002-12-01 Zack Weinberg <zack@codesourcery.com>
8386
8387 * config/frv/xm-frv.h: Delete, unnecessary.
8388
8389 2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
8390
8391 * config/h8300/h8300.md: Add comments for define_peephole2.
8392
8393 2002-12-01 Mark Mitchell <mark@codesourcery.com>
8394
8395 * builtin-types.def (BT_SIZE): Use size_type_node.
8396 * builtins.c (fold_builtin): Make the builtin strlen returns a
8397 size_t, not a sizetype.
8398 * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not
8399 c_size_type_node.
8400 (c_alignof_expr): Likewise.
8401 (c_common_nodes_and_builtins): Likewise.
8402 * c-common.h (CTI_C_SIZE_TYPE): Remove.
8403 (c_size_type_node): Likewise.
8404 * c-format.c (T_ST): Use size_type_node, not c_size_type_node.
8405 * tree.h (TI_SIZE_TYPE): New enumeral.
8406 (size_type_node): Likewise.
8407
8408 2002-11-30 Zack Weinberg <zack@codesourcery.com>
8409
8410 * configure.in: Don't put ${tm_file} into host_xm_file,
8411 build_xm_file, or xm_file. Do put tm-preds.h into tm_p_file.
8412 Take location of tm-preds.h into account when calculating
8413 tm_p_file_list.
8414 * configure: Regenerate.
8415 * mkconfig.sh: No need for separate TM_DEFINES and XM_DEFINES
8416 arguments. Do not provide rtx, rtvec, tree, or GTY here.
8417 Remove special case code for tm_p.h and *config.h; add new
8418 special case code for tm.h and tconfig.h. Clean up a bit.
8419
8420 * Makefile.in (tm_file, tm_file_list): New variables set from
8421 @-substitutions.
8422 (GCONFIG_H): Deleted.
8423 (GTM_H, TM_H): New.
8424 (CONFIG_H): Is now just config.h $(host_xm_file_list).
8425 (TM_P_H): Move up with the other mkconfig.sh-generated
8426 headers; don't mention tm-preds.h explicitly.
8427 (tm.h, cs-tm.h): New rule.
8428 (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): Adjust
8429 invocations of mkconfig.sh for changes to that program.
8430 (mostlyclean): Delete print-rtl1.c.
8431 (clean): Delete tm.h.
8432 Update dependencies for the files listed below.
8433
8434 * mklibgcc.in: Add 'coretypes.h $(TM_H)' to libgcc2_c_dep.
8435
8436 * coretypes.h: New file.
8437 * system.h: #define malloc to xmalloc and realloc to xrealloc
8438 when FLEX_SCANNER or YYBISON is defined, independent of the
8439 value of GCC_VERSION.
8440 * alias.c, attribs.c, bb-reorder.c, bitmap.c, builtins.c,
8441 c-aux-info.c, c-common.c, c-convert.c, c-decl.c, c-dump.c,
8442 c-errors.c, c-format.c, c-lang.c, c-lex.c, c-objc-common.c,
8443 c-opts.c, c-parse.in, c-pragma.c, c-pretty-print.c,
8444 c-semantics.c, c-typeck.c, caller-save.c, calls.c, cfg.c,
8445 cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c,
8446 cfgrtl.c, collect2.c, combine.c, conflict.c, convert.c,
8447 cppdefault.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
8448 cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppmain.c,
8449 cppspec.c, cpptrad.c, crtstuff.c, cse.c, cselib.c, dbxout.c,
8450 debug.c, df.c, diagnostic.c, doloop.c, dominance.c,
8451 dummy-conditions.c, dwarf2asm.c, dwarf2out.c, dwarfout.c,
8452 emit-rtl.c, errors.c, et-forest.c, except.c, explow.c,
8453 expmed.c, expr.c, final.c, fix-header.c, flow.c, fold-const.c,
8454 function.c, gcc.c, gccspec.c, gcov-dump.c, gcov-iov.c, gcov.c,
8455 gcse.c, gen-protos.c, genattr.c, genattrtab.c, genautomata.c,
8456 gencheck.c, gencodes.c, genconditions.c, genconfig.c,
8457 genconstants.c, genemit.c, genextract.c, genflags.c,
8458 gengenrtl.c, gengtype-lex.l, gengtype-yacc.y, gengtype.c,
8459 genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
8460 gensupport.c, ggc-common.c, ggc-none.c, ggc-page.c,
8461 ggc-simple.c, global.c, graph.c, haifa-sched.c, hashtable.c,
8462 hooks.c, ifcvt.c, integrate.c, intl.c, jump.c, langhooks.c,
8463 lcm.c, libgcc2.c, line-map.c, lists.c, local-alloc.c, loop.c,
8464 main.c, mbchar.c, mips-tdump.c, mips-tfile.c, mkdeps.c,
8465 optabs.c, params.c, predict.c, prefix.c, print-rtl.c,
8466 print-tree.c, profile.c, protoize.c, ra-build.c,
8467 ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, read-rtl.c,
8468 real.c, recog.c, reg-stack.c, regclass.c, regmove.c,
8469 regrename.c, reload.c, reload1.c, reorg.c, resource.c,
8470 rtl-error.c, rtl.c, rtlanal.c, sbitmap.c, scan-decls.c,
8471 scan.c, sched-deps.c, sched-ebb.c, sched-rgn.c, sched-vis.c,
8472 sdbout.c, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c,
8473 ssa.c, stmt.c, stor-layout.c, stringpool.c, timevar.c,
8474 tlink.c, toplev.c, tracer.c, tree-dump.c, tree-inline.c,
8475 tree.c, unroll.c, varasm.c, varray.c, varray.h, vmsdbgout.c,
8476 xcoffout.c, config/darwin-c.c, config/darwin.c,
8477 config/fp-bit.c, config/alpha/alpha.c, config/alpha/vms-cc.c,
8478 config/alpha/vms-ld.c, config/arc/arc.c, config/arm/arm.c,
8479 config/arm/pe.c, config/avr/avr.c, config/c4x/c4x-c.c,
8480 config/c4x/c4x.c, config/cris/cris.c, config/d30v/d30v.c,
8481 config/dsp16xx/dsp16xx.c, config/fr30/fr30.c,
8482 config/frv/frv.c, config/h8300/h8300.c, config/i370/i370-c.c,
8483 config/i370/i370.c, config/i386/i386.c, config/i386/winnt.c,
8484 config/i960/i960-c.c, config/i960/i960.c,
8485 config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
8486 config/m32r/m32r.c, config/m68hc11/m68hc11.c,
8487 config/m68k/m68k.c, config/m88k/m88k.c, config/mcore/mcore.c,
8488 config/mips/irix6-libc-compat.c, config/mips/mips.c,
8489 config/mmix/mmix.c, config/mn10200/mn10200.c,
8490 config/mn10300/mn10300.c, config/ns32k/ns32k.c,
8491 config/pa/pa.c, config/pdp11/pdp11.c, config/romp/romp.c,
8492 config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
8493 config/s390/s390.c, config/sh/sh.c, config/sparc/gmon-sol2.c,
8494 config/sparc/sparc.c, config/stormy16/stormy16.c,
8495 config/v850/v850-c.c, config/v850/v850.c, config/vax/vax.c,
8496 config/xtensa/xtensa.c, objc/objc-act.c, objc/objc-lang.c:
8497 Include coretypes.h and tm.h.
8498
8499 * genattrtab.c, genconditions.c, genemit.c, genextract.c,
8500 gengenrtl.c, gengtype.c, genopinit.c, genoutput.c, genpeep.c,
8501 genrecog.c: Include coretypes.h and tm.h from the file
8502 generated by this program.
8503
8504 * unwind-dw2-fde-darwin.c, unwind-dw2-fde-glibc.c,
8505 unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c: Include
8506 coretypes.h and tm.h, and tsystem.h when not already included.
8507 No need to include stddef.h nor stdlib.h.
8508
8509 * fixinc/fixlib.h: Include coretypes.h and tm.h. Do not
8510 include auto-host.h or ansidecl.h/
8511 * fixinc/server.h: Do not include stdio.h, unistd.h, or fixlib.h.
8512 * fixinc/procopen.c: Include server.h after fixlib.h. Do not
8513 include auto-host.h, ansidecl.h, or system.h.
8514 * fixinc/server.c: Likewise. Also, do not include signal.h,
8515 and do not redefine volatile.
8516
8517 Sat Nov 30 17:16:46 CET 2002 Jan Hubicka <jh@suse.cz>
8518
8519 * i386.md (movdf_integer): Always enable in 64bit.
8520 (movdf_nointeger): Always disable in 64bit.
8521
8522 2002-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
8523
8524 * cfg.c (dump_flow_info): Use max_reg_num () to determine the largest
8525 pseudo register number plus 1.
8526
8527 Fri Nov 29 20:10:56 2002 J"orn Rennecke <joern.rennecke@superh.com>
8528
8529 * expmed.c (store_bit_field): Use int_mode_for_mode to find
8530 corresponding mode of non-integer mode, unless it is VOIDmode.
8531
8532 2002-11-29 Hans-Peter Nilsson <hp@bitrange.com>
8533
8534 * cpplib.c (_cpp_test_assertion): Default *value to 0.
8535
8536 * cppexp.c (num_part_mul): Initialize result.unsignedp, to 1.
8537
8538 2002-11-29 Ulrich Weigand <uweigand@de.ibm.com>
8539
8540 * config/s390/t-crtstuff: New target makefile fragment.
8541 * config.gcc [s390-*-linux, s390x-*-linux]: Use it.
8542
8543 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
8544
8545 * config/h8300/h8300.md (movsi_h8300hs): Change the order of
8546 alternatives to correct the length when the memory operand is
8547 either pre_dec or post_inc.
8548
8549 2002-11-29 Kazu Hirata <kazu@cs.umass.edu>
8550
8551 * config/h8300/h8300.md (an anonymous pattern): Give an
8552 internal name *tst_extzv_bitqi_1_n.
8553 Accept bit_operand instead of bit_memory_operand.
8554 Do not accept bit tests with the MSB.
8555 (*tst_extzv_memqi_1_n): New.
8556
8557 Thu Nov 28 23:56:24 CET 2002 Jan Hubicka <jh@suse.cz>
8558
8559 * i386.c (ix86_expand_int_movcc): Add copy_rtx to avoid invalid RTX
8560 sharing when operand is SUBREG.
8561
8562 Thu Nov 28 08:57:26 CET 2002 Jan Hubicka <jh@suse.cz>
8563
8564 * athlon.md (athlon-decodev): New reservation unit.
8565 (athlon-direct0): New reservation.
8566 (athlon-vector): New use athlon-decodev.
8567 (athlon-double, athlon-direct): Better model.
8568 (athlon_imul_k8): Use athlon-direct0.
8569 (athlon_movlpd_load): New insn reservation.
8570
8571 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
8572
8573 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
8574 Fix a comment typo.
8575 (h8300_tiny_constant_address_p): Likewise.
8576
8577 2002-11-28 Michael Matz <matz@suse.de>
8578
8579 * doc/passes.texi: Mention the other register allocator.
8580
8581 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
8582
8583 * config/h8300/h8300.md (6 new peephole2 patterns): New.
8584
8585 2002-11-28 Jakub Jelinek <jakub@redhat.com>
8586
8587 * config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff.
8588 * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
8589 * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define.
8590
8591 2002-11-28 Kazu Hirata <kazu@cs.umass.edu>
8592
8593 * config/h8300/h8300.c (h8300_and_costs): New.
8594 * config/h8300/h8300.h (RTX_COSTS): Use h8300_and_costs.
8595 * config/h8300/h8300-protos.h: Add a prototype for
8596 h8300_and_costs.
8597
8598 Wed Nov 27 20:34:13 CET 2002 Jan Hubicka <jh@suse.cz>
8599
8600 * i386.c (x86_sse_partial_regs_for_cvtsd2ss): New.
8601 * i386.h (x86_sse_partial_regs_for_cvtsd2ss): Declare.
8602 (TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS): New macro.
8603 * i386.md (truncdfsf patterns and splitters): Use
8604 TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
8605
8606 2002-11-27 Zack Weinberg <zack@codesourcery.com>
8607
8608 * config/rs6000/rs6000.c (altivec_init_builtins): Make the
8609 pointer argument in the prototypes of the following builtins
8610 be (const TYPE *) rather than (TYPE *):
8611 + __builtin_altivec_ld_internal_4sf
8612 + __builtin_altivec_ld_internal_4si
8613 + __builtin_altivec_ld_internal_8hi
8614 + __builtin_altivec_ld_internal_16qi
8615 + __builtin_altivec_lvsl
8616 + __builtin_altivec_lvsr
8617 + __builtin_altivec_lvebx
8618 + __builtin_altivec_lvehx
8619 + __builtin_altivec_lvewx
8620 + __builtin_altivec_lvxl
8621 + __builtin_altivec_lvx
8622 + __builtin_altivec_dst
8623 + __builtin_altivec_dstt
8624 + __builtin_altivec_dstst
8625 + __builtin_altivec_dststt
8626
8627 2002-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8628
8629 * except.c (default_exception_section): Move variable into the
8630 scope where it is used.
8631
8632 2002-11-27 Krister Walfridsson <cato@df.lth.se>
8633
8634 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for
8635 correct version.
8636
8637 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
8638
8639 * config/h8300/h8300.h (OK_FOR_U): Remove extra parentheses.
8640
8641 2002-11-27 Kazu Hirata <kazu@cs.umass.edu>
8642
8643 * config/h8300/h8300.c (h8300_shift_costs): New.
8644 * config/h8300/h8300.h (RTX_COSTS): Use h8300_shift_costs.
8645 * config/h8300/h8300-protos.h: Add a prototype for
8646 h8300_shift_costs.
8647
8648 2002-11-27 Jim Wilson <wilson@redhat.com>
8649
8650 * config/rs6000/spe.md (spu_evsplatfi, spu_evsplati): Swap operands
8651 in output template.
8652
8653 2002-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
8654
8655 * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Define.
8656 * config/i386/winnt.c (i386_pe_dllexport_name_p): Use
8657 DLL_IMPORT_EXPORT_PREFIX, not '@'.
8658 (i386_pe_dllimport_name_p): Likewise.
8659 (i386_pe_mark_dllexport): Likewise.
8660 (i386_pe_mark_dllimport): Likewise.
8661 (i386_pe_encode_section_info): Likewise.
8662 (i386_pe_strip_name_encoding): Likewise.
8663
8664 2002-11-27 Richard Henderson <rth@redhat.com>
8665
8666 * mkmap-symver.awk (BEGIN): Set sawsymbol false.
8667 (nm && NF == 3): Set sawsymbol true.
8668 (END): Exit if no symbols seen.
8669 (output): Fix map syntax error if no globals for the version.
8670
8671 Wed Nov 27 14:45:46 CET 2002 Jan Hubicka <jh@suse.cz>
8672
8673 * builtins.def (DEF_C99_BUILTIN): Fix.
8674
8675 2002-11-26 Kaz Kojima <kkojima@gcc.gnu.org>
8676
8677 * config/sh/lib1funcs.asm (FUNC, ENDFUNC0, ENDFUNC): New macros.
8678 (all): Add .size and .type information.
8679
8680 Tue Nov 26 22:43:50 CET 2002 Jan Hubicka <jh@suse.cz>
8681
8682 * i386.c (ix86_expand_int_movcc): Do not emit lea for short mode on
8683 partial_reg_stall target.
8684
8685 Tue Nov 26 22:27:47 CET 2002 Jan Hubicka <jh@suse.cz>
8686
8687 * i386.md (movhicc): Allow general operand.
8688 (movqicc): New expander.
8689 (movqicc_noc): New pattern.
8690 * i386.c (ix86_expand_carry_flag_compare): New function.
8691 (ix86_expand_int_movcc): Optimize harder using sbb; support more
8692 HImode conversion; support QImode conditional moves
8693
8694 Tue Nov 26 16:30:59 CET 2002 Jan Hubicka <jh@suse.cz>
8695
8696 * i386.c (FAST_PROLOGUE_INSN_COUNT): Set to 20.
8697 (ix86_expand_prologue): Multiply the count by amount of registers to be
8698 pushed.
8699
8700 Tue Nov 26 15:55:27 CET 2002 Jan Hubicka <jh@suse.cz>
8701
8702 * i386.c (override_options): Error about wrong -mcpu on x86-64
8703 compilation.
8704
8705 2002-11-26 NIIBE Yutaka <gniibe@m17n.org>
8706
8707 * config/sh/linux.h (FUNCTION_PROFILER): Implemented.
8708
8709 Tue Nov 26 00:14:20 CET 2002 Jan Hubicka <jh@suse.cz>
8710
8711 * i386-protos.h (x86_extended_QIreg_mentioned_p,
8712 x86_extended_reg_mentioned_p): Declare.
8713 * i386.c (extended_reg_mentioned_1): New static function.
8714 (x86_extended_QIreg_mentioned_p,
8715 x86_extended_reg_mentioned_p): New global functions.
8716 * i386.h (REX_SSE_REGNO_P): New macro.
8717 * i386.md (prefix_rex): New attribute.
8718 (length attribute): Add rex.
8719
8720 2002-11-26 Andrew Haley <aph@redhat.com>
8721
8722 * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename
8723 from_Unwind_Find_Enclosing_Function.
8724 * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise.
8725 * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise.
8726 * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from
8727 _Unwind_Find_Enclosing_Function, export @@GCC_3.3.
8728 * unwind.h (_Unwind_FindEnclosingFunction): Add.
8729
8730 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
8731
8732 * config/s390/s390.c (390_output_constant_pool): Set alignment
8733 before label in 64 bit mode, behind otherwise.
8734
8735 2002-11-26 Richard Henderson <rth@redhat.com>
8736
8737 * c-common.c (handle_visibility_attribute): Accept "default".
8738 * tree.h (enum symbol_visibility): New.
8739 (decl_visibility): Declare.
8740 * target.h (gcc_target.visibility): Take visibility arg as integer.
8741 * varasm.c (default_assemble_visibility): Likewise.
8742 (decl_visibility): New.
8743 (maybe_assemble_visibility): Use it.
8744 * output.h (default_assemble_visibility): Update prototype.
8745 * config/rs6000/rs6000.c (rs6000_assemble_visibility): Take
8746 visibility arg as integer.
8747 * doc/extend.texi: Document default visibility.
8748
8749 2002-11-26 Kazu Hirata <kazu@cs.umass.edu>
8750
8751 * config/h8300/h8300.c: Adjust spacing.
8752 * config/h8300/h8300.h: Likewise.
8753
8754 2002-11-26 Richard Henderson <rth@redhat.com>
8755
8756 * hooks.c (hook_bool_void_false, hook_void_tree_int,
8757 hook_void_FILEptr_constcharptr): Rename so that the return
8758 type is first.
8759 (hook_int_tree_tree_1, hook_void_tree, hook_void_tree_treeptr,
8760 hook_bool_tree_false): New.
8761 * hooks.h: Update.
8762 * langhooks-def.h: Update for renames.
8763 * target-def.h: Likewise.
8764 * tree.c (default_comp_type_attributes,
8765 default_set_default_type_attributes, default_insert_attributes,
8766 default_function_attribute_inlinable_p,
8767 default_ms_bitfield_layout_p): Remove.
8768 * tree.h: Update.
8769
8770 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
8771
8772 * pa-protos.h (function_value): New prototype.
8773 * pa.c (function_value): Use a PARALLEL to return small aggregates on
8774 TARGET_64BIT.
8775 * pa.h (FUNCTION_VALUE): Use function_value.
8776 * pa.md (call_value_internal_symref, call_value_internal_reg_64bit,
8777 call_value_internal_reg, sibcall_value_internal_symref,
8778 sibcall_value_internal_symref_64bit): Remove =rf constraint on return
8779 value.
8780
8781 2002-11-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
8782
8783 * expr.c (gen_group_rtx, emit_group_move): New functions.
8784 * expr.h (gen_group_rtx, emit_group_move): Prototype.
8785 * function.c (expand_function_start): Use gen_group_rtx to create a
8786 PARALLEL rtx to hold the return value when the real return rtx is a
8787 PARALLEL.
8788 (expand_function_end): Use emit_group_move to move the return value
8789 from a PARALLEL to the real return registers.
8790 * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
8791 in PARALLELs.
8792
8793 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
8794
8795 * config/t-libc-ok: Fix typo.
8796
8797 2002-11-26 Jakub Jelinek <jakub@redhat.com>
8798
8799 * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM back
8800 before AC_PROG_CC.
8801 * configure: Rebuilt.
8802
8803 2002-11-26 Nathan Sidwell <nathan@codesourcery.com>
8804
8805 * c-decl.c: (start_struct): Commonize flag setting.
8806
8807 2002-11-26 Jason Thorpe <thorpej@wasabisystems.com>
8808
8809 * config/rs6000/rs6000.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): New.
8810 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Use
8811 RS6000_CPU_CPP_ENDIAN_BUILTINS.
8812 * config/rs6000/netbsd.h (RS6000_CPU_CPP_ENDIAN_BUILTINS): Redefine.
8813
8814 2002-11-26 Hartmut Penner <hpenner@de.ibm.com>
8815
8816 * config/s390/s390.md (literal_pool_64, literal_pool_31 ): New
8817 insns.
8818 * config/s390/s390.c (struct machine_function): Introduction of
8819 struct machine_function.
8820 (s390_output_symbolic_const): Use of cfun.
8821 (s390_optimize_prolog): Likewise.
8822 (s390_fixup_clobbered_return_reg): Likewise.
8823 (s390_frame_info): Likewise.
8824 (s390_emit_prologue, s390_emit_epilogue): Likewise.
8825 (s390_init_machine_status): New function.
8826 (override_options): call s390_init_machine_status.
8827 * config/s390/s390-protos.h (s390_output_constant_pool): Changed
8828 prototype.
8829
8830 2002-11-26 Jakub Jelinek <jakub@redhat.com>
8831
8832 * varasm.c (output_constant_pool): For pool constants in mergeable
8833 section ensure each constant is padded to multiple of entity size.
8834
8835 2002-11-26 Jakub Jelinek <jakub@redhat.com>
8836
8837 * varasm.c (default_exception_section): Move to...
8838 * except.c (default_exception_section): ... here. Make
8839 .gcc_except_table read-only if it is not expected to have any
8840 dynamic relocations and linker handles it.
8841 * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only
8842 if it is not expected to have any dynamic relocations and linker
8843 handles it.
8844 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does
8845 when linking read-only and read-write sections together.
8846 * configure, config.in: Rebuilt.
8847 * crtstuff.c (EH_FRAME_SECTION_CONST): Define.
8848 (__EH_FRAME_BEGIN__, __FRAME_END__): Add it.
8849
8850 Mon Nov 25 18:32:37 CET 2002 Jan Hubicka <jh@suse.cz>
8851
8852 * i386.md (pushsf_rex64): Fix typo.
8853
8854 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
8855
8856 * config/rs6000/spe.h (__ev_create_sfix32_fs): Change macro into
8857 new function.
8858 (__ev_create_ufix32_fs): Same.
8859 (__ev_get_sfix32_fs_internal): New.
8860 (__ev_get_sfix32_fs): Define to use function.
8861 (__ev_get_ufix32_fs_internal): New.
8862 (__ev_get_ufix32_fs): Define to use function.
8863 (__ev_get_upper_ufix32_fs): Call __ev_get_ufix32_fs.
8864 (__ev_get_lower_ufix32_fs): Same.
8865 (__ev_get_upper_sfix32_fs): Call __ev_get_sfix32_fs.
8866 (__ev_get_lower_sfix32_fs): Same.
8867 (__ev_set_sfix32_fs_internal): New.
8868 (__ev_set_ufix32_fs_internal): New.
8869 (__ev_set_sfix32_fs): Call __ev_set_sfix32_fs_internal.
8870 (__ev_set_ufix32_fs): Call __ev_set_ufix32_fs_internal.
8871 (__ev_set_upper_sfix32_fs): Call function.
8872 (__ev_set_lower_sfix32_fs): Same.
8873 (__ev_set_upper_ufix32_fs): Same.
8874 (__ev_set_lower_ufix32_fs): Same.
8875
8876 2002-11-25 Douglas B Rupp <rupp@gnat.com>
8877
8878 * gcc.c (do_spec_1): Reset delete_this_arg to zero.
8879
8880 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
8881
8882 * config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
8883 * config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
8884 * config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
8885 * config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
8886 * config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
8887 * config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
8888 * config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
8889 * config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
8890 * config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
8891 * config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
8892 * config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
8893 * config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
8894 * config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
8895 * config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
8896 * config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
8897 * config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
8898 * config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
8899 * config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
8900 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
8901 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
8902 * config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
8903 * config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
8904 * config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
8905 * config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
8906 defining.
8907 * config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
8908 * config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
8909
8910 2002-11-25 Dave Pitts <dpitts@cozx.com>
8911
8912 * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
8913
8914 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
8915
8916 * config/h8300/h8300.md (an anonymous pattern): New.
8917
8918 2002-11-25 Richard Henderson <rth@redhat.com>
8919
8920 * alias.c (find_base_value): Use new_reg_base_value if it's live.
8921 (copying_arguments): Make boolean.
8922
8923 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
8924
8925 * gcc.c (static_spec_functions): Add if-exists-else spec
8926 function.
8927 (if_exists_else_spec_function): New function.
8928 * doc/invoke.texi: Document the if-exists-else spec function.
8929
8930 * config/netbsd-elf.h (NETBSD_STARTFILE_SPEC): For -static, use
8931 "%:if-exists-else(crtbeginT%O%s crtbegin%O%s)".
8932
8933 2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
8934
8935 * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
8936 "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to
8937 "${tmake_file} rs6000/t-netbsd".
8938 * config/rs6000/netbsd.h: Rewrite.
8939 * config/rs6000/t-netbsd: New file.
8940
8941 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
8942
8943 * config/h8300/h8300.md (an anonymous pattern): Relax the
8944 condition for the pattern.
8945
8946 2002-11-25 Aldy Hernandez <aldyh@redhat.com>
8947
8948 * config/rs6000/rs6000.h (enum rs6000_builtins): Remove evmwlssf,
8949 evmwlsmf, evmwlssfa, evmwlsmfa, evmwlssfaaw, evmwlsmfaaw,
8950 evmwlssfanw, evmwlsmfanw.
8951
8952 * config/rs6000/rs6000.c (bdesc_2arg): Same.
8953
8954 * config/rs6000/spe.md: Same for patterns.
8955
8956 2002-11-25 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
8957
8958 PR c/8639
8959 * fold-const.c (extract_muldiv): Don't propagate division unless
8960 both arguments are multiples of C.
8961
8962 2002-11-25 Andrew Haley <aph@redhat.com>
8963
8964 * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add.
8965 * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
8966 * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
8967 * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
8968
8969 Sun Nov 24 10:38:04 CET 2002 Jan Hubicka <jh@suse.cz>
8970
8971 * i386.c (x86_use_ffreep): New global variable.
8972 * i386.h (x86_use_frfeep): Declare
8973 (TARGET_USE_FFREEP): New macro
8974 * i386.md (movs?f*): Use freep when asked for.
8975 (push?f): Remove dead code.
8976
8977 2002-11-24 Kazu Hirata <kazu@cs.umass.edu>
8978
8979 * config/h8300/h8300.c (h8300_init_once): Fix a typo in the
8980 target help message.
8981
8982 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
8983
8984 * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set
8985 extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o
8986 crtbeginT.o".
8987 (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*)
8988 (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts
8989 to "" for a.out configurations.
8990 * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC".
8991
8992 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
8993
8994 * config/alpha/netbsd.h (CPP_SUBTARGET_SPEC): Just use
8995 NETBSD_CPP_SPEC directly.
8996 (SUBTARGET_EXTRA_SPECS): Remove netbsd_cpp_spec. Add
8997 netbsd_endfile_spec.
8998 (ENDFILE_SPEC): Use %(netbsd_endfile_spec).
8999
9000 2002-11-24 Jason Thorpe <thorpej@wasabisystems.com>
9001
9002 * config/netbsd-elf.h (STARTFILE_SPEC): Rename to
9003 NETBSD_STARTFILE_SPEC.
9004 (STARTFILE_SPEC): Redefine in terms of NETBSD_STARTFILE_SPEC.
9005 (ENDFILE_SPEC): Likewise.
9006 * config/netbsd.h (LIB_SPEC, LIBGCC_SPEC): Likewise.
9007
9008 2002-11-24 Andreas Schwab <schwab@suse.de>
9009
9010 * Makefile.in (install-driver): Remove versioned link before
9011 trying to create it.
9012
9013 * config/m68k/m68k.c: Fix typo in last change defining
9014 TARGET_ASM_CAN_OUTPUT_MI_THUNK.
9015
9016 2002-11-23 H.J. Lu <hjl@gnu.org>
9017
9018 * aclocal.m4: Include ../config/accross.m4.
9019 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
9020 (gcc_AC_C_COMPILE_ENDIAN): Removed.
9021 (gcc_AC_C_FLOAT_FORMAT): Check $ac_cv_c_bigendian
9022 instead of $ac_cv_c_compile_endian.
9023
9024 * configure.in: Replace gcc_AC_COMPILE_CHECK_SIZEOF with
9025 AC_COMPILE_CHECK_SIZEOF.
9026 Replace gcc_AC_C_COMPILE_ENDIAN with AC_C_BIGENDIAN_CROSS.
9027 * configure: Rebuild.
9028
9029 2002-11-23 Kazu Hirata <kazu@cs.umass.edu>
9030
9031 * config/h8300/h8300.c (print_operand): Update the use of
9032 h8300_tiny_constant_address_p.
9033 (h8300_adjust_insn_length): Likewise.
9034 (h8300_tiny_constant_address_p): Check if the given rtx is a
9035 variable declared with __attribute__ ((tiny_data)).
9036
9037 2002-11-22 Dale Johannesen <dalej@apple.com>
9038
9039 * toplev.c (rest_of_compilation): Fix comments.
9040
9041 2002-11-22 Geoffrey Keating <geoffk@apple.com>
9042
9043 * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does not
9044 allow mmap from /dev/zero. Don't make decisions for the host
9045 based on presence or absence of /dev/zero on the build machine.
9046 (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON.
9047 (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file.
9048 * configure: Regenerate.
9049
9050 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
9051
9052 * gcc.c (make_relative_prefix, split_directories)
9053 (free_split_directories): Removed.
9054
9055 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
9056
9057 * configure.in: Set insn=nop for DWARF-2 tests on ARM.
9058 * configure: Regenerated.
9059
9060 2002-11-22 Kazu Hirata <kazu@cs.umass.edu>
9061
9062 * config/h8300/h8300.c (compute_a_shift_length): Fix the insn
9063 length computation when xor.l is output.
9064
9065 2002-11-21 Douglas B Rupp <rupp@gnat.com>
9066
9067 * alpha.md (movstrdi, clrstrdi): New VMS patterns.
9068 (call_vms_1, call_value_vms_1): Cleanup syntax.
9069
9070 Thu Nov 21 19:20:27 CET 2002 Jan Hubicka <jh@suse.cz>
9071
9072 * athlon.md (define_atuomaton): Add athlon_load.
9073 (athlon-double): New reservation.
9074 (athlon-ieu0): New CPU unit.
9075 (athlon-load?): Use athlon_load automaton.
9076 (*_k8 reservations): New.
9077 (other insn revervations): Activate for K8.
9078
9079 Thu Nov 21 15:07:42 CET 2002 Jan Hubicka <jh@suse.cz>
9080
9081 * cfgrtl.c (verify_flow_info): Accept EDGE_CAN_FALLTHRU flag.
9082
9083 2002-11-21 Jim Wilson <wilson@redhat.com>
9084
9085 * config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
9086 vectors to SI.
9087
9088 2002-11-21 Bob Wilson <bob.wilson@acm.org>
9089
9090 * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
9091 * config/xtensa/xtensa.c (struct machine_function): Add
9092 incoming_a7_copied flag.
9093 (xtensa_copy_incoming_a7): Define.
9094 (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
9095 * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.
9096
9097 Thu Nov 21 23:52:04 CET 2002 Jan Hubicka <jH@suse.cz>
9098
9099 * i386-protos.h (x86_64_sign_extended_value): Fix prototype.
9100 * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
9101 x86_64_nonmemory_operand, x86_64_movabs_operand,
9102 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
9103 ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
9104 (local_symbolic_operand): Do not care the 64bit limits.
9105 (x86_64_sign_extended_value): Remove allow_rip support.
9106 (legitimate_pic_address_disp_p): Handle all cases allowed
9107 with RIP addressing.
9108 (legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
9109 (legitimize_pic_address): Reorganize.
9110 * i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.
9111
9112 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
9113
9114 * config.gcc (arm*-*-netbsdelf*): Enable configuration.
9115 * config/arm/netbsd-elf.h: New file.
9116
9117 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
9118
9119 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
9120 subtarget_asm_float_spec.
9121 (SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
9122 defaults from...
9123 (ASM_SPEC): ...here. Use subtarget_asm_float_spec.
9124
9125 2002-11-21 Nick Clifton <nickc@redhat.com>
9126
9127 * config/fr30/fr30.md (movsf_constant_store): Move code to
9128 detect 0.0 into fr30.c.
9129 * config/fr30/fr30-protos.h (fr30_const_double_is_zero):
9130 Prototype.
9131 * config/fr30/fr30.c (fr30_const_double_is_zero): New
9132 function. Return true if the rtx is 0.0.
9133
9134 2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
9135
9136 * config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
9137 if -mlittle-endian is specified.
9138
9139 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
9140
9141 PR optimization/2903
9142 * arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
9143 (anddi_notsesidi_di): Likewise.
9144
9145 2002-11-21 Kazu Hirata <kazu@cs.umass.edu>
9146
9147 * config/h8300/h8300.c (print_operand): Use
9148 h8300_eightbit_constant_address_p and
9149 h8300_tiny_constant_address_p.
9150 (h8300_adjust_insn_length): Likewise.
9151 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
9152 (TINY_CONSTANT_ADDRESS_P): Likewise.
9153 (OK_FOR_U): Use eightbit_constant_address_p.
9154
9155 2002-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9156
9157 * config/s390/libgcc-libc.ver: Add multilib support.
9158 * config/s390/linux.h (MULTILIB_DEFAULT): Define.
9159 * config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
9160 MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
9161 EXTRA_MULTILIB_PARTS): Define.
9162
9163 2002-11-21 Richard Earnshaw <rearnsha@arm.com>
9164
9165 * arm.c (arm_get_frame_size): A leaf function does not need its
9166 stack padding to an aligned boundary if it has no frame.
9167 (thumb_get_frame_size): Likewise.
9168
9169 Wed Nov 20 22:25:53 CET 2002 Jan Hubicka <jh@suse.cz>
9170
9171 * x86-64.h (MCOUNT_NAME): Fix typo in my previous patch.
9172 (override_options): Likewise.
9173
9174 Wed Nov 20 19:07:17 CET 2002 Jan Hubicka <jh@suse.cz>
9175
9176 * config.gcc: Add k8 target alias support
9177 * i386.c (_cost): Declare costs for various variants of divides and
9178 multiplies.
9179 (k8_cost): New.
9180 (m_K8, m_ATHLON_K8): New macros.
9181 (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
9182 x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_fiop,
9183 x86_promote_QImode, x86_sub_esp_?, x86_add_esp_?,
9184 x86_integer_DFmode_moves, x86_partial_reg_dependency,
9185 x86_memory_mismatch_stall, x86_accumulate_outgoing_args,
9186 x86_prologue_using_move, x86_epilogue_using_move,
9187 x86_arch_always_fancy_math_387, x86_sse_partial_regs,
9188 x86_sse_typeless_stores): Set for K8
9189 (override_options): Add k8 support; fix athlon alignment;
9190 complain about non-x86-64 capable CPU being used in x86-64 compilation.
9191 (ix86_issue_rate): Set for K8.
9192 (ix86_adjust_cost, ia32_use_dfa_pipeline_interface,
9193 x86_machine_dependent_reorg): Handle K8 like
9194 * i386.h
9195 (x86_costs): Change mult_init and divide into array.
9196 (TARGET_K8, TARGET_ATHLON): New macros.
9197 (MODE_INDEX): New macro.
9198 (RTX_COST): Use new costs.
9199 (TARGET_CPU_CPP_BUILTINS): Define __k8__ and __tune_k8__.
9200 (TARGET_CPU_DEFAULT_NAMES): Add k8
9201 (TARGET_CPU_DEFAULT_k8): New constant
9202 (enum processor_type): Add PROCESSOR_K8.
9203 * i386.md (cpu attribute): Add k8.
9204
9205 * invoke.texi: Document -march=k8.
9206
9207 * i386.md (type attribute): Add leave
9208 (mode attribute): Remove unknownfp.
9209 (length_immediate, modrm, memory attributes): Handle leave correctly.
9210 (fp comparison patterns): Determine FP mode.
9211 (leave, leave_rex64): Remove special cases.
9212 * ppro.md (ppro_uops, ppro_p2): Add leave
9213 * pentiun.md (pent_pop): Handle leave too.
9214 * k6.md (k6_load): Handle leave.
9215 * athlon.md (athlon_leave, athlon_pop): Fix.
9216 (athlon_decode): Handle leave.
9217
9218 2002-11-20 Steve Ellcey <sje@cup.hp.com>
9219
9220 * emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
9221 to component type using GET_MODE_INNER.
9222 * expr.c (emit_move_insn_1): Ditto.
9223 * optabs.c (expand_binop): Ditto.
9224 (expand_unop): Ditto.
9225 (expand_complex_abs): Ditto.
9226
9227 2002-11-20 Douglas B Rupp <rupp@gnat.com>
9228
9229 * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
9230
9231 2002-11-20 DJ Delorie <dj@redhat.com>
9232
9233 * config/stormy16/stormy16.c (s16builtins,
9234 xstormy16_init_builtins, xstormy16_expand_builtin): New.
9235 * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
9236
9237 2002-11-20 Hans-Peter Nilsson <hp@bitrange.com>
9238
9239 * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
9240 (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
9241 (executing gencheck, genconfigs, genconditions, genflags,
9242 gencodes, genconstants, genemit, genrecog, genopinit, genextract,
9243 genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
9244 gengtype, genprotos): Prepend $(RUN_GEN).
9245 * configure.in: Move host compiler tests before --enable-checking
9246 tests.
9247 (--enable-checking=valgrind): New.
9248 * config.in, configure: Regenerate.
9249 * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
9250 Define as empty.
9251 (read_include_file): When doing the mmap+1 trick,
9252 valgrind-annotate the byte after the mmap:ed area as readable.
9253 (purge_cache): Remove above annotation.
9254 * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
9255 VALGRIND_PATH -q to each command.
9256
9257 * ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
9258 Define as empty.
9259 (ggc_realloc): Update valgrind annotations.
9260 * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
9261 Define as empty.
9262 (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
9263 valgrind-annotate memory.
9264
9265 2002-11-20 Ulrich Weigand <uweigand@de.ibm.com>
9266
9267 * recog.c (constrain_operands): Prefer exact match over reloadable
9268 EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.
9269
9270 * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
9271 operands in Pmode.
9272
9273 2002-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
9274
9275 PR c/8518
9276 * c-decl.c (duplicate_decls): Outline the second definition
9277 of an extern inline function in all cases.
9278
9279 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
9280
9281 * stor-layout.c (place_field): Update rli->offset as well as
9282 rli->bitpos.
9283
9284 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
9285
9286 * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
9287
9288 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
9289
9290 * config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
9291 into a libcall block.
9292 (divsi3): Likewise divsi3_i4_media.
9293
9294 2002-11-20 Richard Sandiford <rsandifo@redhat.com>
9295
9296 * global.c (find_reg): Check HARD_REGNO_NREGS before kicking
9297 out another register.
9298
9299 2002-11-20 Jakub Jelinek <jakub@redhat.com>
9300
9301 * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask
9302 (not just mask) are set in C.
9303
9304 2002-11-19 Steven Bosscher <steven.bosscher@usafa.af.mil>
9305
9306 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %{<mgp32} to %<mgp32.
9307
9308 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
9309
9310 * profile.c (index_counts_file): Fix obvious mistake.
9311
9312 2002-11-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
9313
9314 * Makefile.in (profile.o): Add hashtab.h dependency.
9315 * gcov-io.h (GCOV_SUMMARY_LENGTH): New.
9316 * profile.c: Include hashtab.h.
9317 (htab_counts_index_hash, htab_counts_index_eq, htab_counts_index_del,
9318 cleanup_counts_index, index_counts_file, struct section_reference,
9319 struct da_index_entry, counts_file_name, counts_file_index): New.
9320 (get_exec_counts, init_branch_prob): Modified.
9321
9322 2002-11-19 Kaz Kojima <kkojima@gcc.gnu.org>
9323
9324 * config.gcc (sh*-*-linux*): Add t-slibgcc-elf-ver and t-linux
9325 to tmake_file. Remove setting gas and gnu_ld here.
9326 * config/sh/libgcc-glibc.ver: New file.
9327 * config/sh/t-linux (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
9328 (SHLIB_MAPFILES): New.
9329 * config/sh/linux.h (MD_EXEC_PREFIX): Undefine.
9330 (MD_STARTFILE_PREFIX): Likewise.
9331 (HANDLE_PRAGMA_PACK_PACK_PUSH_POP): Define.
9332 (DWARF2_UNWIND_INFO): Redefine.
9333 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9334 (LINK_EH_SPEC): Redefine.
9335 (MD_FALLBACK_FRAME_STATE_FOR): Define except for SH-media.
9336 (SH_FALLBACK_FRAME_FLOAT_STATE): Define.
9337 (SH_DWARF_FRAME_GP0, SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_XD0,
9338 SH_DWARF_FRAME_BT0, SH_DWARF_FRAME_PR, SH_DWARF_FRAME_PR_MEDIA,
9339 SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_MACL,
9340 SH_DWARF_FRAME_PC, SH_DWARF_FRAME_SR, SH_DWARF_FRAME_FPUL,
9341 SH_DWARF_FRAME_FPSCR): Likewise.
9342 * config/sh/sh-protos.h (sh_set_return_address): Declare.
9343 * config/sh/sh.c (calc_live_regs): Count EH_RETURN_DATA_REGNO
9344 registers if the current function calls EH return.
9345 (sh_expand_epilogue): Handle EH stack adjustments.
9346 (sh_set_return_address): New function.
9347 * config/sh/sh.h (SH_DBX_REGISTER_NUMBER): Handle PR_MEDIA_REG.
9348 Don't abort even if the number is mapped to -1.
9349 (EH_RETURN_DATA_REGNO): Define.
9350 (EH_RETURN_STACKADJ_RTX): Define.
9351 * config/sh/sh.md (UNSPEC_EH_RETURN): New.
9352 (eh_return): New pattern.
9353 (eh_set_ra_di, eh_set_ra_si): Likewise.
9354 Add splitter to perform EH return after reload.
9355
9356 Tue Nov 19 12:52:07 2002 J"orn Rennecke <joern.rennecke@superh.com>
9357
9358 * stor-layout.c (excess_unit_span): New function.
9359 (place_field): Use it.
9360
9361 2002-11-19 Andreas Schwab <schwab@suse.de>
9362
9363 * unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
9364 not valid in C++.
9365
9366 2002-11-19 Nathanael Nerode <neroden@gcc.gnu.org>
9367
9368 * configure.in, Makefile.in: Correct BUILD/HOST confusion.
9369 * configure: Regenerate.
9370
9371 Tue Nov 19 00:11:44 CET 2002 Jan Hubicka <jh@suse.cz>
9372
9373 * convert.c (strip_float_extensions): New function.
9374 (convert_to_real): Optimize some cases.
9375
9376 2002-11-19 Andreas Jaeger <aj@suse.de>
9377
9378 * loop.c (record_giv): Initialize not_replaceable.
9379 (check_final_value): Likewise.
9380
9381 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
9382
9383 * config/h8300/h8300.c (h8300_init_once): Replace 1 with
9384 MASK_H8300S.
9385
9386 2002-11-19 Vijay L. Khuspe <vijayk1@kpit.com>
9387
9388 * config/h8300/h8300.c (h8300_init_once): Allow -mn switch
9389 only if -mh or -ms present.
9390 (h8300_eightbit_constant_address_p): Support the normal mode.
9391 (h8300_tiny_constant_address_p): Likewise.
9392 * config/h8300/h8300.h (TARGET_NORMAL_MODE): New.
9393 (POINTER_SIZE): Add 16 bit pointer for the normal mode.
9394 (Pmode): Evaluate to HImode for the normal mode.
9395 (SIZE_TYPE): Evaluate to unsigned int for normal mode.
9396 (PTRDIFF_TYPE): Evaluate to int for the normal mode.
9397 (ASM_WORD_OP): Evaluate to word for the normal mode.
9398 * config/h8300/h8300.md (tablejump_normal_mode): New.
9399 (indirect_jump_normal_mode): New.
9400 * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to
9401 directory.
9402 (MULTILIB_DIRNAMES): Create target dependent directory
9403 'normal'.
9404 (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300.
9405 * doc/invoke.texi (gccoptlist): Describe the new switch -mn.
9406
9407 Tue Nov 19 23:50:56 CET 2002 Jan Hubicka <jh@suse.cz>
9408
9409 * i386.md (length_immediate): Do not refer to insn address.
9410 (jcc*, jmp patterns): Compute length explicitly.
9411
9412 2002-11-19 Eric Botcazou <ebotcazou@libertysurf.fr>
9413
9414 PR c/8588
9415 * optabs.c (expand_binop): Convert CONST_INTs in shift
9416 operations too.
9417
9418 2002-11-19 Roger Sayle <roger@eyesopen.com>
9419
9420 * gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.
9421
9422 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
9423
9424 * config/h8300/h8300.md (an anonymous pattern): Relax the
9425 condition to accept the same operands and/or subregs.
9426
9427 2002-11-19 Daniel Jacobowitz <drow@mvista.com>
9428
9429 * config/sh/sh.c (gen_shl_and): Revert previous patch.
9430 * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on
9431 reload_completed.
9432
9433 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
9434
9435 * config/h8300/h8300.c (print_operand): Update the use of
9436 EIGHTBIT_CONSTANT_ADDRESS_P.
9437 (h8300_adjust_insn_length): Likewise.
9438 (h8300_eightbit_constant_address_p): Check if the given rtx is
9439 a variable with __attribute__((eightbit_data)).
9440 * config/h8300/h8300.h (OK_FOR_U): Update the use of
9441 EIGHTBIT_CONSTANT_ADDRESS_P.
9442
9443 2002-11-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9444
9445 * doc/contrib.texi (Contributors): Add self as second contact in
9446 addition to Jeff Law.
9447
9448 2002-11-19 Andreas Jaeger <aj@suse.de>
9449
9450 * tree-inline.c: Move prototpyes of find_alloca_call_1 and
9451 find_alloca_call to right place.
9452
9453 2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
9454
9455 * cppfiles.c: Fix formatting.
9456
9457 2002-11-19 Jason Thorpe <thorpej@wasabisystems.com>
9458
9459 * gcc.c (The Specs Language): Document spec functions.
9460 (static_spec_functions, lookup_spec_function)
9461 (eval_spec_function, handle_spec_function)
9462 (if_exists_spec_function, alloc_args): New.
9463 (execute): Abort if processing_spec_function is true.
9464 (do_spec_1): Hand off spec to handle_spec_function if %:
9465 is encountered. If processing_spec_function is true,
9466 end any pending argument when the end of the string is reached.
9467 (main): Use alloc_args to allocate the initial argument vector.
9468 * gcc.h (struct spec_function): New.
9469 (lang_specific_spec_functions): New extern.
9470
9471 * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
9472 (ENDFILE_SPEC): Add if-exists(crtn%O%s).
9473 * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
9474
9475 * doc/invoke.texi: Document spec functions.
9476
9477 * cppspec.c (lang_specific_spec_functions): New.
9478 * gccspec.c: Likewise.
9479
9480 2002-11-18 Steve Ellcey <sje@cup.hp.com>
9481
9482 * config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.
9483 (FIXUNS_TRUNCTFDI2_LIBCALL): New.
9484 (fixunstfsi_libfunc): Change.
9485 (fixunstfdi_libfunc): Change.
9486 (sdiv_optab): Don't zero out SImode handler.
9487 (udiv_optab): Don't zero out SImode handler.
9488 (smod_optab): Don't zero out SImode handler.
9489 (umod_optab): Don't zero out SImode handler.
9490
9491 2002-11-18 Neil Booth <neil@daikokuya.co.uk>
9492
9493 PR preprocessor/8524
9494 * cpplib.c (run_directive): Remove previous kludge to _Pragma.
9495 Add a new one in its place, which hopefully works.
9496 (skip_rest_of_line): Change test for bottom-of-context-stack.
9497
9498 Mon Nov 18 21:29:03 CET 2002 Jan Hubicka <jh@suse.cz>
9499
9500 * i386.md (addqi_1_slp): Fix output template.
9501 (subqi_1_slp): Fix type.
9502
9503 Sun Nov 17 00:01:28 CET 2002 Jan Hubicka <jh@suse.cz>
9504
9505 * calls.c (alloca_call_p): New global function.
9506 * tree.h (alloca_call_p): New.
9507 * tree-inline.c (inlinable_function_p): Do not inline when
9508 function calls alloca.
9509 (find_alloca_call, find_alloca_call_1): New functions.
9510
9511 2002-11-18 Kazu Hirata <kazu@cs.umass.edu>
9512
9513 * config/h8300/h8300.md (*andorqi3): Use bor between bld and
9514 bst. Update the insn length.
9515 (*andorhi3): Likewise.
9516 (*andorsi3): Likewise.
9517
9518 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
9519
9520 * config/sh/sh-protos.h (sh_mark_label): Declare.
9521 * config/sh/sh.c (sh_mark_label): New function, taken from
9522 movdi_const, but fixing the case when the address has an addend.
9523 * config/sh/sh.md (movdi_const, movdi_const_32bit): Use it.
9524
9525 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
9526
9527 * config/sh/sh.c (pool_node): New field: part_of_sequence_p.
9528 (add_constant): Set it.
9529 (dump_table): Don't reorder a constant if part_of_sequence_p.
9530 (machine_dependent_reorg): Assume that float constants will
9531 stay in their original order if used as a sequence.
9532
9533 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
9534
9535 * config/sh/sh.c (calc_live_regs): Update check for PIC liveness
9536 in compact code.
9537
9538 2002-11-18 Richard Sandiford <rsandifo@redhat.com>
9539
9540 * config/sh/sh.md (initialize_trampoline): Do not force the
9541 trampoline address into R0_REGS here.
9542
9543 Sun Nov 17 14:01:09 CET 2002 Jan Hubicka <jh@suse.cz>
9544
9545 * i386.md (negsf2_ifs, negdf2_ifs, negdf2_ifs_rex64, abssf2_ifs,
9546 absdf2_ifs, absdf2_ifs_rex64): Fix constraints.
9547 (neg?f2_ifs, abs?f2_ifs splitters): Refuse memory operand; do not
9548 generate unnecesary subregs.
9549
9550 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
9551
9552 * df.c: Fix formatting.
9553
9554 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
9555
9556 * config/h8300/h8300.md (two anonymous patterns): Fix insn
9557 lengths.
9558
9559 2002-11-17 Daniel Jacobowitz <drow@mvista.com>
9560
9561 * sh.c (gen_shl_and): Don't create a zero_extend if the operand
9562 is not an arith_reg_operand.
9563
9564 2002-11-17 Graham Stott <graham.stott@btinternet.com>
9565
9566 * real.c (real_to_decimal): Fix buffer overrun when buffer size
9567 is smaller than representation.
9568
9569 2002-11-17 Kazu Hirata <kazu@cs.umass.edu>
9570
9571 * builtins.c: Fix formatting.
9572
9573 Sat Nov 16 16:49:58 CET 2002 Jan Hubicka <jh@suse.cz>
9574
9575 * i386.md (truncdfsf2_1_sse, truncdfsf2_1_sse_nooverlap, truncdfsf2_2,
9576 floats?dff2_i387):
9577 Work around regclass stupidity.
9578 (truncdfsf_2_1_sse splitter): Accept !TARGET_PARTIAL_SSE_REGS
9579
9580 Sat Nov 16 02:17:48 CET 2002 Jan Hubicka <jh@suse.cz>
9581
9582 * i386.md (fop_df_6): New pattern.
9583 (fop_xf_4, fop_xf_5): Handle both SF and DFmode extensions.
9584 (fop_xf_6): Rewrite
9585 (fop_xf_7): Delete.
9586 (fop_tf_4, fop_tf_5): Handle both SF and DFmode extensions.
9587 (fop_tf_6): Rewrite
9588 (fop_tf_7): Delete.
9589
9590 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9591
9592 * config/h8300/h8300.md (two anonymous patterns): Fix typos.
9593
9594 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9595
9596 * config/h8300/h8300.md: Fix formatting.
9597
9598 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9599
9600 * config/h8300/h8300.md: Replace spaces with tabs.
9601 * config/h8300/t-h8300: Remove a trailing empty line.
9602
9603 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9604
9605 * tlink.c: Fix formatting.
9606
9607 2002-11-16 David Edelsohn <edelsohn@gnu.org>
9608
9609 PR 8362
9610 * config/rs6000/rs6000.c (rs6000_outout_load_multiple): New function.
9611 * config/rs6000/rs6000.md (movti_string): Remove output modifier
9612 when scratch register never needed.
9613 (ldmsi[3-8]): New patterns.
9614
9615 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9616
9617 * hard-reg-set.h: Follow spelling conventions.
9618 * real.c: Likewise.
9619 * target.h: Likewise.
9620
9621 2002-11-16 Jakub Jelinek <jakub@redhat.com>
9622
9623 * config/i386/x86-64.h (MCOUNT_NAME): Change into string literal.
9624
9625 2002-11-16 Kazu Hirata <kazu@cs.umass.edu>
9626
9627 * optabs.c: Fix formatting.
9628
9629 Sat Nov 16 02:06:02 CET 2002 Jan Hubicka <jh@suse.cz>
9630
9631 * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
9632 * i386.md (attribute type): Add type shift1 and rotate1.
9633 (*_slp): Rewrite to have just two operands to avoid reload problems.
9634
9635 2002-11-15 Kazu Hirata <kazu@cs.umass.edu>
9636
9637 * config/h8300/h8300.md (4 anonymous patterns): New.
9638
9639 2002-11-15 Geoffrey Keating <geoffk@apple.com>
9640
9641 * params.def (GGC_MIN_HEAPSIZE): Fix GGC_ALWAYS_COLLECT problem.
9642 * doc/invoke.texi: Correct description of what needs to be done to
9643 force collection at every ggc_collect call.
9644
9645 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
9646
9647 * config/s390/s390.c (optimization_options): Set
9648 flag_asynchronous_unwind_tables to 1 by default.
9649
9650 2002-11-15 Ulrich Weigand <uweigand@de.ibm.com>
9651
9652 * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
9653
9654 Fri Nov 15 14:54:19 CET 2002 Jan Hubicka <jh@suse.cz>
9655
9656 * i386-protos.h (x86_function_profiler): New function
9657 * i386.h (MCOUNT_NAME): New.
9658 (PROFILE_COUNT_REGISTER): New.
9659 (FUNCTION_PROFILER): Move offline to ...
9660 * i386.c (x86_function_profiler) ... here; fix 64bit support
9661 * beos-elf.h (FUNCTION_PROFILER): Kill.
9662 (MCOUNT_NAME): New.
9663 * freebsd-aout.h (FUNCTION_PROFILER): Kill.
9664 (MCOUNT_NAME): New.
9665 (PROFILE_COUNT_REGISTER): New.
9666 * linux.h (FUNCTION_PROFILER): Kill.
9667 (MCOUNT_NAME): New.
9668 * x86-64.h (FUNCTION_PROFILER): Kill.
9669 (MCOUNT_NAME): New.
9670 * freebsd.h (FUNCTION_PROFILER): Kill.
9671 (MCOUNT_NAME): New.
9672
9673 2002-11-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
9674
9675 * config/arm/arm.h (EXPAND_BUILTIN_VA_ARG,
9676 FUNCTION_ARG_PASS_BY_REFERENCE): Define.
9677 * config/arm/arm.c (arm_va_arg,
9678 arm_function_arg_pass_by_reference): New.
9679 * config/arm/arm-protos.h: Add prototypes.
9680
9681 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
9682
9683 * gthr-single.h: Fix formatting.
9684
9685 2002-11-14 Zack Weinberg <zack@codesourcery.com>
9686
9687 * tree.c (tree_vec_elt_check_failed): New function.
9688 * tree.h (TREE_VEC_ELT_CHECK): New checking macro.
9689 (TREE_VEC_ELT): Use it.
9690
9691 * tree-inline.c (optimize_inline_calls): Don't copy a
9692 zero-length vector.
9693
9694 2002-11-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
9695
9696 * diagnostic.c (sorry): Don't repeat "sorry, unimplemented" text.
9697
9698 2002-11-14 Jakub Jelinek <jakub@redhat.com>
9699
9700 * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
9701 both operands contain local relocations.
9702 (categorize_decl_for_section): Don't use mergeable sections if
9703 initializer has any relocations.
9704
9705 2002-11-14 Kazu Hirata <kazu@cs.umass.edu>
9706
9707 * gthr-vxworks.h: Fix formatting.
9708
9709 2002-11-13 Janis Johnson <janis187@us.ibm.com>
9710
9711 * doc/install.texi (Testing): Document extra Java testing.
9712 * doc/sourcebuild.texi (Test Suites): Document libgcj testing.
9713
9714 2002-11-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
9715
9716 * pa64-hpux.h (LINK_SPEC): Move "+Accept TypeMismatch" switch to the
9717 beginning of the spec.
9718 (LDD_SUFFIX, PARSE_LDD_OUTPUT): Delete.
9719 (LD_INIT_SWITCH, LD_FINI_SWITCH): Define but don't enable. Add comment
9720 regarding problems with global constructors when using GNU ld.
9721
9722 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
9723
9724 * gthr-solaris.h: Fix formatting.
9725
9726 2002-11-13 Kazu Hirata <kazu@cs.umass.edu>
9727
9728 * gthr-posix.h: Fix formatting.
9729
9730 2002-11-12 Devang Patel <dpatel@apple.com>
9731 * gcc.c (display_help): Two new options -Xpreprocessor and -Xassembler.
9732 (process_command): Same.
9733 * doc/invoke.texi: Info about these two new options.
9734
9735 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9736
9737 * config/h8300/h8300.md (*andorsi3): New.
9738
9739 2002-11-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9740
9741 * doc/install.texi (powerpc-*-linux-gnu*): Update binutils requirement.
9742
9743 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9744
9745 * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
9746 expressions appropriately.
9747
9748 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9749
9750 * gthr-win32.h: Fix formatting.
9751
9752 2002-11-12 Kazu Hirata <kazu@cs.umass.edu>
9753
9754 * config/h8300/h8300.c (single_one_operand): Correctly compute
9755 mask when mode is SImode.
9756 (single_zero_operand): Likewise.
9757 * config/h8300/h8300.md (two new anonymous insns): New.
9758
9759 2002-11-12 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9760
9761 * doc/contrib.texi (Contributors): Use GCJ instead of gcj to refer
9762 to that entire project.
9763
9764 2002-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9765
9766 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Restore old
9767 directories.
9768
9769 2002-11-11 Zack Weinberg <zack@codesourcery.com>
9770
9771 * params.def (ggc-min-expand, ggc-min-heapsize): New parameters.
9772 * doc/invoke.texi: Document them.
9773
9774 * ggc-page.c: Include params.h. Remove definitions of
9775 GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED. Replace
9776 GGC_POISON with ENABLE_GC_CHECKING in ifdefs, delete #define.
9777 (init_gcc): Don't set G.allocated_last_gc here.
9778 (ggc_collect): Use PARAM_VALUE (GGC_MIN_HEAPSIZE) and
9779 PARAM_VALUE (GGC_MIN_EXPAND) to decide whether or not to
9780 perform collection.
9781 * ggc-simple.c: Similarly.
9782 * Makefile.in (ggc-common.o, ggc-simple.o): Add $(PARAMS_H) to
9783 dependencies.
9784
9785 2002-11-11 Kazu Hirata <kazu@cs.umass.edu>
9786
9787 * gthr-dce.h: Fix formatting.
9788
9789 2002-11-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9790
9791 PR c/8467
9792 * stmt.c (tail_recursion_args): Handle DECL_MODE differing from the
9793 mode of DECL_RTL case.
9794
9795 2002-11-11 Janis Johnson <janis187@us.ibm.com>
9796
9797 * doc/contrib.texi: Merge in the list from the libstdc++ web pages.
9798
9799 Mon Nov 11 12:06:08 CET 2002 Jan Hubicka <jh@suse.cz>
9800
9801 * i386.c (construct_container): Fix handling of SSE_CLASS.
9802
9803 2002-11-10 Joel Sherrill <joel@gcc.gnu.org>
9804
9805 * config/m68k/t-crtstuff (crti.o): Use this...
9806 ($(T)crti.o): ... instead.
9807 (crtn.o): Use this...
9808 ($(T)crtn.o): ... instead.
9809
9810 2002-11-10 Eric Botcazou <ebotcazou@libertysurf.fr>
9811
9812 PR c/8439
9813 * recog.c (validate_replace_rtx_1) [PLUS]: Simplify only
9814 if there is something new to be simplified.
9815
9816 2002-11-10 H.J. Lu <hjl@gnu.org>
9817
9818 * calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
9819 * expr.c (PUSH_ARGS_REVERSED): Likewise.
9820
9821 * config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
9822
9823 2002-11-10 Zack Weinberg <zack@codesourcery.com>
9824
9825 * config/rs6000/sysv4.h: Define NO_IMPLICIT_EXTERN_C here...
9826 * config/rs6000/linux.h, config/rs6000/linux64.h,
9827 config/rs6000/windiss.h: ... not here.
9828
9829 2002-11-10 Jason Thorpe <thorpej@wasabisystems.com>
9830
9831 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define
9832 __ABICALLS__ if TARGET_ABICALLS.
9833
9834 Sun Nov 10 18:49:21 CET 2002 Jan Hubicka <jh@suse.cz>
9835
9836 * i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
9837
9838 2002-11-10 Joseph S. Myers <jsm@polyomino.org.uk>
9839
9840 * c-decl.c (grokdeclarator): Make error for duplicate type
9841 qualifiers into a pedwarn, disabled for C99.
9842
9843 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
9844
9845 * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Define the same
9846 as FUNCTION_ARG_PASS_BY_REFERENCE.
9847
9848 2002-11-09 Zack Weinberg <zack@codesourcery.com>
9849
9850 * doc/install.texi: Add *-*-vxworks* specific installation
9851 instructions.
9852
9853 * config/vxlib.c: Rewrite using generation numbers to identify
9854 valid TSD keys.
9855
9856 Sat Nov 9 00:10:54 CET 2002 Jan Hubicka <jh@suse.cz>
9857
9858 * i386.c (x86_machine_dependent_reorg): Fix even more side cases.
9859
9860 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9861
9862 * pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.
9863
9864 * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define.
9865 (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas.
9866 * pa.c (output_millicode_call): Use symbol difference rather than
9867 $PIC_pcrel$0 when using HP assembler.
9868 * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or
9869 not elfos.h (i.e., gas) is being used.
9870 (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
9871 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON,
9872 ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME,
9873 ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL,
9874 ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when
9875 using elfos.h.
9876 (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h.
9877 (DWARF2_ASM_LINE_DEBUG_INFO): Delete.
9878 (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not
9879 using elfos.h.
9880 (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
9881 BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h.
9882 (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL):
9883 Don't define when not using elfos.h.
9884 (ASM_DECLARE_RESULT): Don't define.
9885 * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler
9886 doesn't work on hppa64-hp-hpux11.
9887 (hppa*-hp-hpux11): Update.
9888
9889 2002-11-09 Jason Thorpe <thorpej@wasabisystems.com>
9890
9891 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
9892 to the assembler if -mno-abicalls was specified.
9893
9894 2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9895
9896 * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
9897 ASM_OUTPUT_DEF): Delete.
9898
9899 2002-11-09 Neil Booth <neil@daikokuya.co.uk>
9900
9901 * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
9902
9903 2002-11-08 Roger Sayle <roger@eyesopen.com>
9904
9905 * real.c (real_sqrt): Update comment with bibliographic reference.
9906
9907 Fri Nov 8 13:33:58 CET 2002 Jan Hubicka <jh@suse.cz>
9908
9909 * i386.md (sse_loadss, sse2_loadsd): Fix expander.
9910
9911 Fri Nov 8 13:25:41 CET 2002 Jan Hubicka <jh@suse.cz>
9912
9913 * i386.c (x86_machine_dependent_reorg): Fix handling of empty functions.
9914
9915 Fri Nov 8 13:01:42 CET 2002 Jan Hubicka <jh@suse.cz>
9916
9917 * builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
9918 (expand_builtin): Likewise.
9919 * builtins.def: Add
9920 __builtin_floor, __builtin_floorf, __builtin_floorl
9921 __builtin_ceil, __builtin_ceilf, __builtin_ceill
9922 __builtin_round, __builtin_roundf, __builtin_roundl
9923 __builtin_trunc, __builtin_truncf, __builtin_truncl
9924 __builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
9925 * genopinit.c (optabs): Initialize the new optabs.
9926 * optab.c (init_optabs): Likewise.
9927 * optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
9928 OTI_round, OTI_nearbyint.
9929 (floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
9930 * doc/md.texi: Document new named patterns.
9931 * doc/extend.texi (builtin functions) Document
9932 floor, floorf, floorl, ceil, ceilf,
9933 ceill, round, roundf, roundl, trunc,
9934 truncf, truncl, nearbyint, nearbyintf, nearbyintl.
9935
9936 Fri Nov 8 11:36:11 CET 2002 Jan Hubicka <jh@suse.cz>
9937
9938 * i386.md (sse_movdfcc, sse_movsfcc): Fix typo in previous patch.
9939
9940 2002-11-08 Dale Johannesen <dalej@apple.com>
9941
9942 * dbxout.c (dbxout_type): Fix stabs info for vector types.
9943
9944 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
9945
9946 PR preprocessor/8497
9947 PR preprocessor/8501
9948 * cpptrad.c (scan_out_logical_line): A '#' from a macro doesn't
9949 start a directive. In assembler, #NUM is not a line directive.
9950
9951 2002-11-08 Neil Booth <neil@daikokuya.co.uk>
9952
9953 * cppmain.c (cpp_preprocess_file): Loop to pop any -included
9954 buffers.
9955
9956 2002-11-08 Kazu Hirata <kazu@cs.umass.edu>
9957
9958 * config/h8300/h8300.md (two anonymous test insns): New.
9959
9960 Fri Nov 8 11:20:19 CET 2002 Jan Hubicka <jh@suse.cz>
9961
9962 * jump.c (mark_jump_label): Handle subregs of label_refs.
9963
9964 Thu Nov 7 21:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
9965
9966 * i386.md (sse_movdfcc, sse_movsfcc): Avoid overactive matching.
9967 * i386.c (ix86_expand_fp_movcc): Match the reversed cases.
9968
9969 2002-11-07 David Mosberger <davidm@hpl.hp.com>
9970
9971 * config/ia64/crtend.asm: Include "auto-host.h".
9972 [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
9973 * config/ia64/crtbegin.asm: Similarly.
9974 * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
9975 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
9976
9977 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
9978 * configure.in: Use it if --enable-initfini-array not specified.
9979 * doc/install.texi (Configuration): Document --enable-initfini-array.
9980 * configure, config.in: Rebuild.
9981
9982 2002-11-07 Jason Thorpe <thorpej@wasabisystems.com>
9983
9984 * config/arm/arm-protos.h (arm_get_frame_size)
9985 (thumb_get_frame_size): New prototypes.
9986 * config/arm/arm.c (arm_get_frame_size)
9987 (thumb_get_frame_size): New functions.
9988 (use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
9989 (arm_compute_initial_elimination_offset, arm_expand_prologue): Use
9990 arm_get_frame_size.
9991 (thumb_expand_prologue, thumb_expand_epilogue): Use
9992 thumb_get_frame_size.
9993 * config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
9994 (machine_function): Add frame_size member.
9995 (THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.
9996
9997 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
9998
9999 * arm.c (bit_count): Make argument unsigned long. Return unsigned.
10000 Adjust code to use portable unsigned bit manipulation.
10001 (insn_flags, tune_flags): Change type to unsigned.
10002 (struct processors): Make flags unsigned long.
10003 (arm_override_options): Change type of count and current_bit_count
10004 to unsigned.
10005
10006 2002-11-07 Richard Earnshaw <rearnsha@arm.com>
10007
10008 * arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
10009
10010 Thu Nov 7 15:50:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
10011
10012 * sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
10013
10014 Thu Nov 7 11:18:01 CET 2002 Jan Hubicka <jh@suse.cz>
10015
10016 * reg-stack.c (compensate_edge): Fix sanity check.
10017
10018 2002-11-05 Geoffrey Keating <geoffk@apple.com>
10019
10020 * config.gcc: Don't create crtbegin, crtend on Darwin; do create
10021 crt2.o. Rearrange t-darwin makefiles.
10022 * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
10023 * unwind-dw2-fde-darwin.c: New.
10024 * unwind-dw2-fde-glibc.c: Correct comment.
10025 * unwind-dw2-fde.c (__register_frame_info_bases)
10026 [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
10027 (classify_object_over_fdes): Use last_fde.
10028 (add_fdes): Likewise.
10029 (linear_search_fdes): Likewise.
10030 * unwind-dw2-fde.h (struct object)
10031 [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
10032 (last_fde): New.
10033 * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
10034 (ENDFILE_SPEC): No crtend.o.
10035 * config/t-darwin: New.
10036 * config/i386/t-darwin: Delete.
10037 * config/darwin-crt2.c: New.
10038 * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
10039 or config/t-darwin.
10040
10041 2002-11-06 Douglas B Rupp <rupp@gnat.com>
10042
10043 * config/i386/i386-interix.h (TARGET_SUBTARGET_DEFAULT): Or
10044 MASK_MS_BITFIELD_LAYOUT
10045 (SUBTARGET_OVERRIDE_OPTIONS): Warn about and turn off
10046 MS bitfields for Objective-C.
10047 (PCC_BIT_FIELD_TYPE_TEST, GROUP_BITFIELDS_BY_ALIGN): Remove
10048 defines.
10049
10050 * config/i386/i386.c (ix86_ms_bitfield_layout): New function.
10051 (TARGET_MS_BITFIELD_LAYOUT_P): Define to above function.
10052 (TARGET_USE_MS_BITFIELD_LAYOUT): Define.
10053
10054 * config/i386/i386.h (MASK_MS_BITFIELD_LAYOUT: New mask.
10055 TARGET_USE_MS_BITFIELD_LAYOUT): New macro.
10056 (TARGET_SWITCHES): Add above mask.
10057
10058 * testsuite/gcc.dg/bf-ms-layout.c: New test case.
10059 * testsuite/gcc.dg/bf-no-ms-layout.c: New test case.
10060 * testsuite/gcc.dg/i386-bitfield1.c (dg-options): Add appropriate
10061 flags for interix.
10062
10063 Wed Nov 6 18:54:47 2002 Alexandre Oliva <aoliva@redhat.com>
10064
10065 * config/mips/mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output
10066 .gpword/.gpdword for ABI_N32 and ABI_64 too, if using the GNU
10067 assembler.
10068 * config/mips/mips.md (tablejump_internal3): Output .cpadd
10069 before jump on ABI_N32 too.
10070 (tablejump_internal4): Ditto on ABI_64. Increase maximum
10071 length to match.
10072
10073 Wed Nov 6 17:16:48 CET 2002 Jan Hubicka <jh@.suse.cz>
10074
10075 * i386.md (negsf splitter): Accept memory operand in second register.
10076 (abssf/absdf splitters): Simplify
10077 (sse_loadss, sse_loadsd): Turn into expander.
10078
10079 2002-11-06 David Edelsohn <edelsohn@gnu.org>
10080
10081 PR target/8480
10082 * config/rs6000/rs6000.md (movdi_internal64): Discourage
10083 FPR to FPR moves.
10084
10085 2002-11-06 Janis Johnson <janis187@us.ibm.com>
10086
10087 * doc/contrib.texi: Merge in the list from the Java web pages.
10088
10089 2002-11-06 David O'Brien <obrien@FreeBSD.org>
10090
10091 * config/sparc/freebsd: Fix typo.
10092
10093 2002-11-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
10094
10095 * pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
10096
10097 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
10098
10099 * config/mips/mips.md (call_value_multiple_internal2): Use dla for
10100 non-SImode addresses.
10101
10102 Tue Nov 5 14:34:36 CET 2002 Jan Hubicka <jh@suse.cz>
10103
10104 * i386.md (float_truncate SSE splitter): Ensure that operand is not
10105 stack register.
10106 (float SSE splitters): Reorder conditional.
10107
10108 2002-11-05 Bob Wilson <bob.wilson@acm.org>
10109
10110 * config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
10111
10112 2002-11-05 John David Anglin <dave2hiauly1.hia.nrc.ca>
10113
10114 * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
10115 (STARTFILE_SPEC): Remove p and pg options.
10116
10117 2002-11-05 Andrew Haley <aph@redhat.com>
10118
10119 * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
10120 to (compound(a1,a0 op a2)) if a0 or a1 have side effects.
10121
10122 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
10123
10124 * config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
10125 * config/mips/mips.c (mips_cannot_change_mode_class): ...here.
10126
10127 2002-11-04 Zack Weinberg <zack@codesourcery.com>
10128
10129 * gthr-vxworks.h: Rewritten from scratch.
10130 * config/vxlib.c: New file.
10131 * config/t-vxworks: Add config/vxlib.c to LIB2FUNCS_EXTRA.
10132 * config/rs6000/t-vxworks: Add config/vxlib.c to
10133 LIB2FUNCS_EXTRA here too, because of clash with
10134 config/rs6000/t-ppccomm.
10135
10136 2002-11-04 Dale Johannesen <dalej@apple.com>
10137
10138 * doloop.c (doloop_modify_runtime): Fix loop count computation
10139 for unrolled loops.
10140 * loop.c (loop_invariant_p): Support calling from unroller.
10141
10142 2002-11-04 Ulrich Weigand <uweigand@de.ibm.com>
10143
10144 * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
10145 for comparison.
10146
10147 2002-11-04 Aldy Hernandez <aldyh@redhat.com>
10148
10149 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
10150
10151 * config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
10152 (CLASS_CANNOT_CHANGE_MODE): Remove.
10153 (CANNOT_CHANGE_MODE_CLASS): New.
10154
10155 * config/alpha/alpha.h: Same.
10156
10157 * config/ia64/ia64.h: Same.
10158
10159 * config/mips/mips.h: Same.
10160
10161 * config/s390/s390.h: Same.
10162
10163 * config/sh/sh.h: Same.
10164
10165 * config/pa/pa64-regs.h: Same.
10166
10167 * config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.
10168
10169 * config/sh/sh.c (sh_cannot_change_mode_class): New.
10170
10171 * config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
10172 prototype.
10173
10174 * config/mips/mips.c (mips_cannot_change_mode_class): New.
10175
10176 * doc/tm.texi (Register Classes): Remove
10177 CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
10178 Document CANNOT_CHANGE_MODE_CLASS.
10179
10180 * reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
10181 (push_reload): Same.
10182
10183 * simplify-rtx.c (simplify_subreg): Same.
10184
10185 * reload1.c (choose_reload_regs): Same.
10186
10187 * recog.c (register_operand): Same.
10188
10189 * regrename.c (mode_change_ok): Change to use new
10190 CANNOT_CHANGE_MODE_CLASS infrastructure.
10191
10192 * regclass.c (cannot_change_mode_set_regs): New.
10193 Declare subregs_of_mode.
10194 (regclass): Use subregs_of_mode.
10195 Remove references to reg_changes_mode.
10196 (init_reg_sets_1): Remove class_can_change_mode and
10197 reg_changes_mode code.
10198 (invalid_mode_change_p): New.
10199 (dump_regclass): Use invalid_mode_change_p instead of
10200 class_can_change_mode.
10201 (regclass): Same.
10202 (record_operand_costs): Do not set reg_changes_mode.
10203
10204 * local-alloc.c (struct qty): Remove changes_mode field.
10205 (alloc_qty): Remove changes_mode initialization.
10206 (update_qty_class): Remove set of changes_mode.
10207 (find_free_reg): Use subregs_of_mode.
10208
10209 * global.c (find_reg): Use subregs_of_mode info.
10210
10211 * rtl.h (cannot_change_mode_set_regs): New prototype.
10212 (invalid_mode_change_p): Same.
10213 (REG_CANNOT_CHANGE_MODE_P): New macro.
10214
10215 * flow.c (mark_used_regs): Calculate subregs_of_mode. Remove
10216 REG_CHANGES_MODE.
10217 (life_analysis): Clear subregs_of_mode.
10218
10219 * combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
10220 Remove use of CLASS_CANNOT_CHANGE_MODE.
10221 (simplify_set): Same.
10222 (gen_lowpart_for_combine): Calculate subregs_of_mode. Remove
10223 REG_CHANGES_MODE.
10224
10225 * regs.h: Add extern for subregs_of_mode;
10226 Include hard-reg-set and basic-block.
10227 (REG_CHANGES_MODE): Delete.
10228
10229 2002-11-03 Roger Sayle <roger@eyesopen.com>
10230
10231 * real.c (real_sqrt): New function to calculate square roots.
10232 * real.h (real_sqrt): Add function prototype.
10233 * builtins.c (fold_builtin): Fold sqrt of constant argument.
10234 * simplify-rtx.c (simplify_unary_operation): Simplify sqrt
10235 of constant argument.
10236
10237 2002-11-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
10238
10239 * jump.c (never_reached_warning): Don't set contains_insn until the
10240 first line note is seen.
10241
10242 2002-11-03 David Edelsohn <edelsohn@gnu.org>
10243
10244 * config/rs6000/rs6000.md (movti_string): Use string instructions.
10245
10246 2002-11-03 Roger Sayle <roger@eyesopen.com>
10247
10248 PR c/7128
10249 * c-typeck.c (c_expand_asm_operands): Defend against
10250 error_mark_nodes in the output argument to avoid ICE.
10251
10252 2002-11-03 Eric Botcazou <ebotcazou@libertysurf.fr>
10253
10254 PR middle-end/8408
10255 * genrecog.c (preds): Handle ADDRESSOF.
10256 (validate_pattern): Mark it as an lvalue.
10257
10258 2002-11-02 David Edelsohn <edelsohn@gnu.org>
10259
10260 * config/rs6000/rs6000.c (rs6000_override_options): Use string
10261 instructions when optimizing for size.
10262
10263 2002-11-02 Kazu Hirata <kazu@cs.umass.edu>
10264
10265 * config/h8300/h8300.h: Fix comment typos.
10266 * config/h8300/h8300.md: Likewise.
10267 * config/h8300/lib1funcs.asm: Likewise.
10268
10269 2002-11-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10270
10271 Revert this change:
10272
10273 *doc/install.texi (Installing GCC: Configuration): Clarify
10274 the only supported ways to configure gcc.
10275
10276 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
10277
10278 * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
10279 instead of 'O' for the constraint for the second operand.
10280
10281 2002-11-01 Mark Mitchell <mark@codesourcery.com>
10282
10283 PR c++/8391
10284 * toplev.c (rest_of_compilation): Do not refuse to output code for
10285 an inline function in a local class.
10286
10287 2002-11-01 David O'Brien <obrien@FreeBSD.org>
10288
10289 * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
10290 (TRANSFER_FROM_TRAMPOLINE): Reformat.
10291 Add comment.
10292
10293 2002-11-01 Kazu Hirata <kazu@cs.umass.edu>
10294
10295 * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
10296
10297 2002-11-01 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
10298
10299 * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
10300
10301 2002-11-01 Steve Ellcey <sje@cup.hp.com>
10302
10303 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
10304 (MASK_INLINE_DIV_THR): Remove.
10305 (TARGET_INLINE_DIV_LAT): Remove.
10306 (TARGET_INLINE_DIV_THR): Remove.
10307 (TARGET_INLINE_DIV): Remove.
10308 (MASK_INLINE_FLOAT_DIV_LAT): New macro.
10309 (MASK_INLINE_FLOAT_DIV_THR): New macro.
10310 (MASK_INLINE_INT_DIV_LAT): New macro.
10311 (MASK_INLINE_INT_DIV_THR): New macro.
10312 (TARGET_INLINE_FLOAT_DIV_LAT): New macro.
10313 (TARGET_INLINE_FLOAT_DIV_THR): New macro.
10314 (TARGET_INLINE_INT_DIV_LAT): New macro.
10315 (TARGET_INLINE_INT_DIV_THR): New macro.
10316 (TARGET_INLINE_FLOAT_DIV): New macro.
10317 (TARGET_INLINE_INT_DIV): New macro.
10318 * config/ia64/ia64.md (divsi3): Change to use new macros.
10319 (modsi3): Ditto.
10320 (udivsi3): Ditto.
10321 (umodsi3): Ditto.
10322 (divsi3_internal): Ditto.
10323 (divdi3): Ditto.
10324 (moddi3): Ditto.
10325 (udivdi3): Ditto.
10326 (umoddi3): Ditto.
10327 (divdi3_internal_lat): Ditto.
10328 (divdi3_internal_thr): Ditto.
10329 (divsf3): Ditto.
10330 (divsf3_internal_lat): Ditto.
10331 (divsf3_internal_thr): Ditto.
10332 (divdf3): Ditto.
10333 (divdf3_internal_lat): Ditto.
10334 (divdf3_internal_thr): Ditto.
10335 (divtf3): Ditto.
10336 (divtf3_internal_lat): Ditto.
10337 (divtf3_internal_thr): Ditto.
10338 * config/ia64/ia64.c (ia64_override_options): Change
10339 to check new macros for conflicts in settings.
10340 * doc/invoke.texi (-minline-divide-min-latency): Remove.
10341 (-minline-divide-max-throughput): Remove.
10342 (-minline-float-divide-min-latency): New.
10343 (-minline-float-divide-max-throughput): New.
10344 (-minline-int-divide-min-latency): New.
10345 (-minline-int-divide-max-throughput): New.
10346
10347 2002-11-01 Richard Earnshaw (rearnsha@arm.com)
10348
10349 PR target/7856
10350 * arm.c (use_return_insn): Don't use a return insn if there are
10351 saved integer regs, but LR is not one of them.
10352
10353 Fri Nov 1 10:33:15 CET 2002 Jan Hubicka <jh@suse.cz>
10354
10355 * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
10356 * machmode.h (SCALAR_FLOAT_MODE_P): New macro.
10357
10358 Thu Oct 31 18:20:50 CET 2002 Jan Hubicka <jh@suse.cz>
10359
10360 * i386.md (sse_loadss, sse_loadsd): Canonicalize; add expander
10361 (movps, movpd splitters): Use canonical form.
10362 (movv2di): Fix merge problem.
10363
10364 Thu Oct 31 16:22:31 CET 2002 Jan Hubicka <jh@suse.cz>
10365
10366 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
10367
10368 2002-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
10369
10370 PR optimization/6162
10371 * doc/md.texi: Document restriction on commutative operand
10372 specification.
10373
10374 2002-10-31 Eric Christopher <echristo@redhat.com>
10375
10376 * explow.c (convert_memory_address): Use shallow_copy_rtx.
10377
10378 2002-10-31 Steve Ellcey <sje@cup.hp.com>
10379
10380 * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
10381
10382 2002-10-31 Steve Ellcey <sje@cup.hp.com>
10383
10384 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
10385
10386 Thu Oct 31 Dale Johannesen <dalej@apple.com>
10387
10388 * config/rs6000/darwin.h: Correct formatting in previous.
10389
10390 Thu Oct 31 Dale Johannesen <dalej@apple.com>
10391
10392 * config/rs6000/darwin.h: Enable -falign-xxx options.
10393
10394 Thu Oct 31 18:08:00 CET 2002 Jan Hubicka <jh@suse.cz>
10395
10396 * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
10397 flag_asynchronous_unwind_tables, flag_pcc_struct_return.
10398 * i386.c (optimization_options): Set flag_omit_frame_pointer,
10399 flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
10400 Do not clear -momit-leaf-frame-pointer when profiling.
10401 (ix86_frame_pointer_required): Frame pointer is always required when
10402 profiling.
10403
10404 Thu Oct 31 16:09:44 CET 2002 Jan Hubicka <jh@suse.cz>
10405
10406 * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
10407
10408 Thu Oct 31 12:45:55 2002 J"orn Rennecke <joern.rennecke@superh.com>
10409
10410 * sh.h (binary_logical_operator): Declare.
10411 * sh.c (binary_logical_operator): New function.
10412 * sh.md (xordi3+1): New combiner splitter pattern.
10413
10414 2002-10-31 David O'Brien <obrien@FreeBSD.org>
10415
10416 * config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
10417 __enable_execute_stack function.
10418
10419 2002-10-30 Zack Weinberg <zack@codesourcery.com>
10420
10421 * gthr.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h,
10422 gthr-solaris.h, gthr-win32.h: Remove __gthread_key_dtor.
10423 * unwind-sjlj.c (fc_key_dtor): Delete.
10424 (fc_key_init): Adjust __gthread_key_create call to match.
10425
10426 2002-10-30 Aldy Hernandez <aldyh@redhat.com>
10427
10428 * c-common.c: Add GTY to vector_type_node_list.
10429
10430 2002-10-30 John David Anglin <dave@hiauly.hia.nrc.ca>
10431
10432 * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
10433 * pa-protos.h (attr_length_millicode_call, attr_length_call,
10434 pa_init_machine_status): Declare new global functions.
10435 * pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
10436 implement new functions.
10437 (attr_length_millicode_call, attr_length_call): Implement.
10438 (total_code_bytes): Change type to long.
10439 (pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
10440 Reset counter if flag_function_sections.
10441 (output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
10442 (output_cbranch): Move call to gen_label_rtx.
10443 (output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
10444 delay slot in all variants, shorten pc-relative calls.
10445 (output_call): Rewrite adding long TARGET_64BIT call, improved delay
10446 slot usage and exposure, various new call variants, and shortened
10447 sequences for some variants on TARGET_PA_20.
10448 Miscellaneous format changes.
10449 * pa.h (total_code_bytes): Change type to long.
10450 (MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
10451 TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
10452 (TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
10453 (EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
10454 LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
10455 stores on TARGET_ELF32.
10456 *pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
10457 (unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
10458 canonicalize_funcptr_for_compare expanders): Calculate attribute length
10459 attr_length_millicode_call().
10460 (call_internal_symref, call_value_internal_symref): Clobber register 1.
10461 Calculate attribute length using attr_length_call().
10462 (call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
10463 to delay slot.
10464 (sibcall, sibcall_value): Rewrite.
10465 (sibcall_internal_symref, sibcall_value_internal_symref): Clobber
10466 register 1. Use attr_length_call().
10467 (sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
10468 New patterns.
10469 (unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
10470 * som.h (MEMBER_TYPE_FORCES_BLK): Define.
10471 * t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
10472 * doc/invoke.texi (mlong-calls): Document.
10473
10474 2002-10-30 Roger Sayle <roger@eyesopen.com>
10475
10476 * fold-const.c (fold_binary_op_with_conditional_arg): Improve
10477 handling of cases where one or both branches of the conditional
10478 have void type, i.e. throw an exception or don't return.
10479 (fold): Only apply (and undo) type conversion to the non-void
10480 branches of a COND_EXPR.
10481
10482 2002-10-30 Mark Mitchell <mark@codesourcery.com>
10483
10484 PR c++/8333
10485 * varasm.c (asm_output_aligned_bss): Do not call
10486 ASM_GLOBALIZE_LABEL.
10487
10488 2002-10-30 David Edelsohn <edelsohn@gnu.org>
10489 Torbjorn Granlund <tege@swox.com>
10490
10491 * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
10492 for addressibility.
10493 (load_toc_v4_PIC_1b): Same.
10494
10495 2002-10-30 Kazu Hirata <kazu@cs.umass.edu>
10496
10497 * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
10498 Truncate the addresses for H8/300 using HImode.
10499
10500 Tue Oct 29 23:28:10 CET 2002 Jan Hubicka <jh@suse.cz>
10501
10502 * i386.md (negdf splitter): Fix construction of the constant.
10503
10504 Tue Oct 29 20:47:06 CET 2002 Jan Hubicka <jh@suse.cz>
10505
10506 * i386.md (negsf, negdf): Reorganize to use vector modes
10507 for SSE variants.
10508 (abssf, absdf): Use force_reg.
10509 (movv4sf, movv2df): New splitters.
10510 * i386.h (PREDICATE_CODES): add zero_extended_scalar_load_operand
10511 * i386.c (zero_extended_scalar_load_operand
10512
10513 * i386-protos.h (ix86_expand_call): Update prototype.
10514 * i386.c (ix86_function_ok_for_sibcall): Handle 64bit
10515 (ix86_expand_call): Use r11 for indirect sibcalls.
10516 * i386.md (call, call_value, untyped_call, call_value_pop):
10517 update x86_expand_call call.
10518 (sibcall, sibcall_value): new patterns
10519 (call_rex64, call_value_rex64): Do not accept sibcalls.
10520 (sibcall_rex64, sibcall_value_rex64,
10521 sibcall_rex64_v, sibcall_value_rex64_v): New.
10522
10523 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
10524
10525 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
10526 before final pass.
10527
10528 2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
10529
10530 * toplev.c (rest_of_type_compilation): Return early in case of
10531 errors.
10532 (check_global_declarations): Don't call debug_hooks->global_decl
10533 in case of errors.
10534
10535 2002-10-28 Andreas Bauer <baueran@in.tum.de>
10536
10537 * doc/c-tree.texi (Tree overview): Fix typos.
10538
10539 2002-10-29 Phil Edwards <pme@gcc.gnu.org>
10540
10541 * Makefile.in (gnucompare*): Only record bad comparisons
10542 if there really was a bad comparison.
10543
10544 Tue Oct 29 19:32:16 CET 2002 Jan Hubicka <jh@suse.cz>
10545
10546 * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
10547 * i386.md (movsf*, movdf*): Use 'C' instead of 'H'
10548 * md.texi (machine dependent constraints): Document 'C'
10549
10550 * simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
10551
10552 * i386.c (ix86_expand_vector_move): Fix.
10553
10554 * i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
10555 * i386.md (sse2_maskmovdqu_rex64): New pattern
10556
10557 PR target/8322
10558 * xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
10559 (ix86_init_mmx_sse_builtins): Fix type.
10560
10561 2002-10-29 Jason Thorpe <thorpej@wasabisystems.com>
10562
10563 * gthr-posix.h: Include <unistd.h> for feature tests.
10564 (sched_get_priority_max, sched_get_priority_min)
10565 (pthread_getschedparam, pthread_setschedparam): Only use
10566 if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
10567 (__gthread_objc_thread_set_priority): Don't treat all nonzero
10568 returns from sched_get_priority_max and sched_get_priority_min
10569 as an error.
10570
10571 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
10572
10573 * config/h8300/h8300.h (TARGET_DEFAULT): Make it
10574 MASK_QUICKCALL.
10575
10576 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
10577
10578 * config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
10579 (h8300_tiny_constant_address_p): Likewise.
10580 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
10581 h8300_eightbit_constant_address_p.
10582 (TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
10583 * config/h8300/h8300-protos.h: Add the prototypes for the two
10584 new functions.
10585
10586 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
10587
10588 * reload1.c (update_eliminables): Unconditionally check if
10589 frame_pointer_needed has changed.
10590
10591 Tue Oct 29 15:37:39 CET 2002 Jan Hubicka <jh@suse.cz>
10592
10593 * toplev.c (rest_of_compilation): Reorganize way reg_scan is called
10594 before final pass.
10595
10596 2002-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
10597
10598 PR optimization/8334
10599 * expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
10600 check for zero operands explicitly.
10601
10602 2002-10-29 Richard Sandiford <rsandifo@redhat.com>
10603
10604 * config/mips/mips.md (extv, extzv, insv): Set size of referenced
10605 memory after adjusting to BLKmode.
10606
10607 2002-10-29 Kazu Hirata <kazu@cs.umass.edu>
10608
10609 * config/h8300/h8300.h (MASK_*): New.
10610 (TARGET_*): Use MASK_*.
10611
10612 2002-10-28 Zack Weinberg <zack@codesourcery.com>
10613
10614 * config.gcc (*-*-vxworks, powerpc-wrs-vxworks*): New stanzas.
10615 * config/t-vxworks, config/vxworks.h, config/rs6000/t-vxworks,
10616 config/rs6000/vxworks.h: New files.
10617 * config/rs6000/sysv4.h: Rip out -mvxworks and all related code.
10618
10619 * config.gcc (alpha*-*-vxworks*, arm-*-vxworks*,
10620 i?86-wrs-vxworks*, i960-wrs-vxworks* [all],
10621 m68k-wrs-vxworks*, mips-wrs-vxworks, powerpc-wrs-vxworks*,
10622 powerpcle-wrs-vxworks*, sparc*-wrs-vxworks* [all],
10623 sparc-*-vxsim*): Delete stanzas.
10624 * gthr-vxworks.h: Rip out all substantive code and just
10625 include gthr-single.h.
10626
10627 * config/alpha/vxworks.h, config/arm/vxarm.h,
10628 config/i386/vxi386.h, config/i960/t-vxworks960,
10629 config/i960/vx960-coff.h, config/i960/vx960.h,
10630 config/m68k/t-vxworks68, config/m68k/vxm68k.h,
10631 config/mips/vxworks.h, config/rs6000/vxppc.h,
10632 config/sparc/t-vxsparc, config/sparc/t-vxsparc64,
10633 config/sparc/vxsim.h, config/sparc/vxsparc.h,
10634 config/sparc/vxsparc64.h: Delete files.
10635
10636 2002-10-28 Jason Thorpe <thorpej@wasabisystems.com>
10637
10638 * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
10639 tm_defines if pthreads are enabled.
10640 * config/netbsd.h (LIB_SPEC): Only support the -pthread option
10641 if NETBSD_ENABLE_PTHREADS is defined.
10642
10643 2002-10-28 Kazu Hirata <kazu@cs.umass.edu>
10644
10645 * ChangeLog.1: Fix typos.
10646 * cse.c: Fix a comment typo.
10647 * reload1.c: Likewise.
10648
10649 2002-10-27 Hans-Peter Nilsson <hp@bitrange.com>
10650
10651 * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
10652 * fixinc/tests/base/_G_config.h: New file.
10653
10654 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
10655
10656 * combine.c: Fix comment formatting.
10657 * loop.c: Likewise.
10658 * real.c: Likewise.
10659 * regclass.c: Likewise.
10660 * regmove.c: Likewise.
10661 * regrename.c: Likewise.
10662 * reg-stack.c: Likewise.
10663 * reload1.c: Likewise.
10664 * reload.c: Likewise.
10665 * reload.h: Likewise.
10666 * unroll.c: Likewise.
10667
10668 2002-10-27 Kazu Hirata <kazu@cs.umass.edu>
10669
10670 * reload1.c (reload): Fix a comment typo.
10671
10672 Sun Oct 27 10:15:24 CET 2002 Jan Hubicka <jh@suse.cz>
10673
10674 * linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
10675
10676 2002-10-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
10677
10678 * Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
10679 * dwarf2out.c: Include hashtab.h.
10680 (is_main_source): New static variable.
10681 (attr_checksum, die_checksum): Modified to handle die references.
10682 (same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
10683 unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
10684 record_comdat_symbol_number): New static functions.
10685 (output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
10686 mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
10687 * toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
10688 declarations added.
10689
10690 2002-10-26 Kazu Hirata <kazu@cs.umass.edu>
10691
10692 * config/h8300/h8300.c (initial_offset): Change to
10693 h8300_initial_elimination_offset.
10694 * config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
10695 h8300_initial_elimination_offset.
10696 * config/h8300/h8300-protos.h: Update the prototype.
10697
10698 2002-10-26 Hans-Peter Nilsson <hp@bitrange.com>
10699
10700 * config/mmix/mmix.h (LIBCALL_VALUE): Use
10701 MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
10702 (FUNCTION_VALUE_REGNO_P): Similar, but move code to...
10703 * config/mmix/mmix.c (mmix_function_value_regno_p): New.
10704 * config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
10705 and RTX_CODE.
10706 (mmix_function_value_regno_p): Declare.
10707
10708 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
10709 invalid for floating point mode result, with fix.
10710
10711 Fri Oct 25 00:04:21 2002 Alexandre Oliva <aoliva@redhat.com>
10712
10713 * Makefile.in (GCC_FOR_TARGET): Add -L$(objdir)/../ld.
10714 (STAGE2_FLAGS_TO_PASS): Pass GCC_FOR_TARGET.
10715 (stage1_build): Likewise.
10716
10717 2002-10-25 Mike Stump <mrs@apple.com>
10718
10719 Fixes gcc.dg/warn-1.c.
10720 * c-typeck.c (warn_for_assignment): Don't print argument number,
10721 if zero.
10722
10723 Sat Oct 26 01:44:46 CEST 2002 Jan Hubicka <jh@suse.cz>
10724
10725 * toplev.c (dump_file_index): Add DFI_ce3.
10726 (dump_file_info): Likewise.
10727 (rest_of_compilation): Run first ifcvt pass before tracer.
10728
10729 2002-10-25 Steve Ellcey <sje@cup.hp.com>
10730
10731 * config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
10732
10733 2002-10-25 Richard Henderson <rth@redhat.com>
10734
10735 * real.c (real_to_decimal): If the >1 tens reduction loop results
10736 in a negative exponent, fall into the <1 pten computation.
10737
10738 2002-10-25 Zack Weinberg <zack@codesourcery.com>
10739
10740 PR middle-end/6994
10741 * c-objc-common.c (inline_forbidden_p): Can not inline
10742 functions containing structures or unions containing VLAs.
10743 * tree-inline.c (walk_tree): For all class 't' nodes, walk
10744 TYPE_SIZE and TYPE_SIZE_UNIT.
10745 (copy_tree_r): Copy types if they are variably modified.
10746
10747 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
10748
10749 * config/s390/s390.md: Remove old-style peepholes.
10750
10751 2002-10-25 Ulrich Weigand <uweigand@de.ibm.com>
10752
10753 * config/s390/s390.c (s390_decompose_address): Do not range check the
10754 displacement if base or index is the argument pointer register.
10755
10756 2002-10-24 Hans-Peter Nilsson <hp@bitrange.com>
10757
10758 PR other/3337
10759 PR bootstrap/6763
10760 PR bootstrap/8122
10761 * fixinc/inclhack.def (libc1_G_va_list): New fix.
10762 * fixinc/fixincl.x: Regenerate.
10763 * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
10764 ifndef IN_LIBGCC2. Wrap it together with signal.h and
10765 sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
10766 * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
10767 * config.in, configure: Regenerate.
10768
10769 2002-10-24 Igor Shevlyakov <igor@microunity.com>
10770
10771 * varasm.c (struct rtx_const): Array size 16 for V16QImode.
10772
10773 2002-10-24 Richard Henderson <rth@redhat.com>
10774
10775 * config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
10776
10777 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
10778
10779 * config/h8300/h8300.c (initial_offset): Simplify by using
10780 round_frame_size.
10781
10782 2002-10-24 Marek Michalkiewicz <marekm@amelek.gda.pl>
10783
10784 * doc/install.texi (avr): Update required binutils version.
10785
10786 2002-10-24 Theodore A. Roth <troth@openavr.org>
10787
10788 * doc/install.texi: Point avr users at more up-to-date information.
10789
10790 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
10791
10792 * config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
10793 to pull operands out of the literal pool where possible.
10794
10795 2002-10-24 Denis Chertykov <denisc@overta.ru>
10796
10797 * config/avr/avr.c (init_cumulative_args): Test fntype for zero.
10798
10799 2002-10-24 Steve Ellcey <sje@cup.hp.com>
10800
10801 * expr.c (convert_move): If unsignedp is less then zero there
10802 is no equivalent code.
10803
10804 2002-10-24 Zack Weinberg <zack@codesourcery.com>
10805
10806 * tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
10807
10808 2002-10-24 Ulrich Weigand <uweigand@de.ibm.com>
10809
10810 * config/s390/s390.h: Rework comments; re-sort target macro definitions
10811 according to the sequence they are defined in the manual.
10812 (POINTER_BOUNDARY): Remove.
10813
10814 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
10815
10816 * config/h8300/h8300.c (round_frame_size): Replace 8 with
10817 BITS_PER_UNIT.
10818
10819 2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
10820
10821 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
10822 64-bit safe.
10823 (TINY_CONSTANT_ADDRESS_P): Likewise.
10824
10825 2002-10-24 Richard Henderson <rth@redhat.com>
10826
10827 * config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
10828 (ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
10829 vcall offset.
10830
10831 2002-10-24 Richard Henderson <rth@redhat.com>
10832
10833 PR opt/7944
10834 * reload.c (find_reloads_toplev): Mode of X is not important
10835 when simplifying subregs of constants.
10836
10837 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
10838
10839 * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
10840 MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
10841 * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
10842 (override_options): Base default setting of MASK_SOFT_FLOAT on -march
10843 if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
10844
10845 2002-10-24 Richard Sandiford <rsandifo@redhat.com>
10846
10847 * optabs.c (expand_binop): Don't reuse the shift target in the
10848 middle of shift sequences.
10849
10850 Wed Oct 23 22:48:44 CEST 2002 Jan Hubicka <jh@suse.cz>
10851
10852 * i386.md (abs splitters): Do not produce nested subregs.
10853
10854 Wed Oct 23 12:42:32 CEST 2002 Jan Hubicka <jh@suse.cz>
10855
10856 * i386.md (movti_rex64): Fix constraints.
10857
10858 Wed Oct 23 12:01:21 CEST 2002 Jan Hubicka <jh@suse.cz>
10859
10860 * i386.md (abssf,absdf): Use vector operands for SSE
10861 (abssf2_ifs, absdf2_ifs, absdf2_ifs_rex64 and splitters): Update for
10862 vector operand.
10863
10864 2002-10-23 Ziemowit Laski <zlaski@apple.com>
10865
10866 * objc/objc-act.c (get_static_reference): Remove unneeded
10867 TYPE_BINFO initialization.
10868 (get_object-reference): Likewise.
10869 (build_constructor): Tighten precondition check.
10870 (finish_message_expr): Likewise.
10871
10872 2002-10-23 Jakub Jelinek <jakub@redhat.com>
10873
10874 * config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
10875 after CONST test.
10876
10877 2002-10-23 Steve Ellcey <sje@cup.hp.com>
10878
10879 * config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
10880 in HFAs.
10881
10882 2002-10-23 Richard Henderson <rth@redhat.com>
10883
10884 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
10885 (alpha_output_mi_thunk_osf): Handle vcall_offset.
10886
10887 2002-10-23 Zack Weinberg <zack@codesourcery.com>
10888
10889 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
10890 var_mod_type_p.
10891 * langhooks-def.h: Default for tree_inlining.var_mod_type_p is
10892 hook_tree_bool_false.
10893
10894 * tree.c (variably_modified_type_p): Moved here from
10895 cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
10896 language-specific cases. Due to this, must weaken some 'if
10897 and only if' checks to merely 'if'.
10898 * tree.h: Prototype variably_modified_type_p.
10899
10900 * tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
10901
10902 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
10903
10904 * config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
10905 * config/s390/s390.c (optimization_options): Disable -fcaller-saves.
10906
10907 * config/s390/s390-protos.h (fp_operand): Remove.
10908 * config/s390/s390.c (fp_operand): Remove.
10909 * config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
10910 ("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
10911 ("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
10912 (movdi_31, movdf_31 splitters): Likewise.
10913
10914 * config/s390/s390.h (IEEE_FLOAT): Remove.
10915 (TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
10916 (INT_REGNO_P): Rename to ...
10917 (GENERAL_REGNO_P): ... this.
10918 (FLOAT_REGNO_P): Rename to ...
10919 (FP_REGNO_P): ... this.
10920 (ADDR_REGNO_P): New macro.
10921 (GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
10922 (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
10923 (DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
10924 (HARD_REGNO_NREGS): Adapt to macro renaming.
10925 (HARD_REGNO_MODE_OK): Likewise.
10926
10927 2002-10-23 David Edelsohn <edelsohn@gnu.org>
10928 Geoff Keating <geoffk@apple.com>
10929
10930 * config/rs6000/rs6000.c (rs6000_register_move_cost): New function.
10931 (rs6000_memory_move_cost): New function.
10932 * config/rs6000/rs6000-protos.h: Declare them.
10933 * config/rs6000/rs6000.h: Use them.
10934
10935 2002-10-23 Ulrich Weigand <uweigand@de.ibm.com>
10936
10937 * libgcc2.c (__udiv_w_sdiv): Use attribute ((always_inline)) when
10938 inlining it into other libgcc2 routines.
10939 (__udivmoddi4): Likewise.
10940
10941 2002-10-22 Nathanael Nerode <neroden@gcc.gnu.org>
10942
10943 * doc/sourcebuild.texi (Test Suites): Improve.
10944
10945 2002-10-22 Stan Shebs <shebs@apple.com>
10946
10947 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Add missing
10948 case for Darwin.
10949
10950 2002-10-22 Jim Wilson <wilson@redhat.com>
10951
10952 * config/i386/i386.md (subdi3_1): Add call to ix86_binary_operator_ok.
10953
10954 Wed Oct 23 01:52:36 CEST 2002 Jan Hubicka <jh@suse.cz>
10955
10956 PR other/8289
10957 * xmmintrin.h: Add const to the argument of loads.
10958
10959 * i386.md (pushv2di): New pattern.
10960 PR target/6890
10961 * xmmintrin.h (_MM_TRANSPOSE4_PS): New.
10962
10963 2002-10-22 Richard Henderson <rth@redhat.com>
10964
10965 * target.h (gcc_target.asm_out): Merge output_mi_thunk and
10966 output_mi_vcall_thunk into a single hook. Add can_output_mi_thunk.
10967 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Don't conditionalize.
10968 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
10969 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10970 (TARGET_ASM_OUT): Update.
10971 * hooks.c (hook_bool_tree_hwi_hwi_tree_false): New.
10972 (hook_bool_tree_hwi_hwi_tree_true): New.
10973 (default_can_output_mi_thunk_no_vcall): New.
10974 * hooks.h: Declare them.
10975 * system.h (ASM_OUTPUT_MI_THUNK): Poison.
10976
10977 * config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10978 (alpha_output_mi_thunk_osf): Add VCALL_OFFSET parameter.
10979 * config/arm/arm.c, config/cris/cris.c, config/frv/frv.c,
10980 config/i960/i960.c, config/ia64/ia64.c, config/m68k/m68k.c,
10981 config/mmix/mmix.c, config/pa/pa.c, config/sparc/sparc.c,
10982 config/stormy16/stormy16.c: Similarly.
10983
10984 * config/i386/i386.c (x86_output_mi_thunk): Merge vcall_offset code.
10985 Handle 64-bit properly. Streamline.
10986 (x86_output_mi_vcall_thunk): Remove.
10987 (x86_this_parameter): Rename from ia32_this_parameter; handle 64-bit.
10988 (x86_can_output_mi_thunk): New.
10989 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Remove.
10990 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10991 (override_options): Don't zap targetm.asm_out.output_mi_vcall_thunk.
10992
10993 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Rename from
10994 output_mi_thunk; make static; always use function_section.
10995 (TARGET_ASM_OUTPUT_MI_THUNK): New.
10996 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
10997 (rs6000_ra_ever_killed): Test no_new_pseudos not
10998 targetm.asm_out.output_mi_thunk in conjunction with thunks.
10999 * config/rs6000/rs6000-protos.h: Update.
11000 * config/rs6000/sysv4.h (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
11001 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't call
11002 xcoffout_declare_function when using rs6000_output_mi_thunk.
11003
11004 * config/s390/s390.c (s390_output_mi_thunk): Rename from
11005 s390_output_mi_vcall_thunk.
11006 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
11007 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11008
11009 * config/vax/vax.c (vax_output_mi_thunk): Static; add vcall_offset.
11010 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): New.
11011 * config/vax/vax-protos.h: Update.
11012 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.
11013
11014 Wed Oct 23 00:33:11 CEST 2002 Jan Hubicka <jh@suse,cz>
11015
11016 * i386.c (standard_sse_constant_p): Accept vector and integer zeros too.
11017 * i386.h (EXTRA_CONSTRAINT): Recognize 'C'
11018 * i386.md (movti_internal): Use 'C'
11019
11020 * xmmintrin.h (_mm_cmplt_epi*): New.
11021
11022 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
11023
11024 * config/s390/s390.md ("*movdi_64"): Fix op_type attribute.
11025 ("*movdf_64"): Likewise.
11026 ("*lshrdi3_64"): Likewise.
11027 ("blockage"): Add length attribute.
11028 ("lit"): Likewise.
11029
11030 Tue Oct 22 23:51:34 CEST 2002 Jan Hubicka <jh@suse.cz>
11031
11032 * i386.md: FIx typo.
11033 (sse2_cvtsi2sd, sse2_pslrdq): Fix template.
11034 (sse2_umulv2siv2di3): Fix predicate.
11035 (sse2_psadbw, ashrv8hi3, ashrv4si3, lshrv8hi3 lshrv4si3,
11036 lshrv2di3, ashlv8hi3, ashlv4si3, ashlv2di3): Likewise.
11037 * xmmintrin.h (_mm_mul_epu16): Rename to...
11038 (_mm_mul_epu32): This one.
11039 (_mm_cvtsi32_si128, _mm_cvtsi128_si32): New.
11040
11041 (contains_128bit_aligned_vector_p): Undo accidental checkin.
11042
11043 2002-10-22 Eric Christopher <echristo@redhat.com>
11044
11045 * config/sparc/sparc.h: Add #error.
11046
11047 2002-10-22 Ulrich Weigand <uweigand@de.ibm.com>
11048
11049 * config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file.
11050 [s390x-*-linux*]: Likewise.
11051 * config/s390/t-linux: Remove.
11052 * config/s390/s390.h: Include fixdfdi.h when building libgcc2.
11053
11054 Tue Oct 22 19:07:03 CEST 2002 Jan Hubicka <jh@suse.cz>
11055
11056 * i386.c (builtin_description): Add IX86_BUILTIN_PUNPCKHQDQ128.
11057 (ix86_expand_builtin): Fix MASKMOVDQU expasion.
11058 * i386.h (ix86_builtins): Add IX86_BUILTIN_PUNPCKHQDQ128.
11059 * i386.md (mmx_punpck?dq): Simplify.
11060 (sse2_pubpcklqdq): Fix.
11061 (sse2_pubpckhqdq): New.
11062 * xmmintrin.h (_mm_unpackhi_epi32): New.
11063
11064 * xmmintrin.h (_mm_cvt*, _mm_stream_pd): Fix prototypes.
11065 (_mm_shufflehi_epi16, _mm_shufflelo_epi16): Fix typo.
11066
11067 2002-10-22 Nathan Sidwell <nathan@codesourcery.com>
11068
11069 PR c++/7209
11070 * fold_const.c (fold_binary_op_with_conditional_arg): Always
11071 build compound_expr if we used save_expr.
11072
11073 2002-10-22 Alan Modra <amodra@bigpond.net.au>
11074
11075 * output.h (SECTION_NOTYPE): Define.
11076 * varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
11077 init array sections.
11078 (default_elf_asm_named_section): Mind SECTION_NOTYPE.
11079 * config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
11080 merge TLS support.
11081
11082 2002-10-21 Richard Henderson <rth@redhat.com>
11083
11084 * config/i386/i386.c (ix86_function_ok_for_sibcall): Look at
11085 the function type, not the return type.
11086
11087 2002-10-21 Richard Henderson <rth@redhat.com>
11088
11089 * real.c (sticky_rshift_significand): Return inexact, don't
11090 or it in immediately.
11091 (sub_significands): Accept incomming carry.
11092 (div_significands, rtd_divmod): Update for sub_significands change.
11093 (round_for_format): Update for sticky_rshift_significand change.
11094 (do_add): Don't involve the inexact bit in addition, do give the
11095 inexact bit as the subtraction carry-in.
11096 (encode_internal, decode_internal, real_internal_format): New.
11097 * real.h (real_internal_format): Declare.
11098
11099 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
11100
11101 * libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
11102 don't define sdiv_qrnnd.
11103
11104 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
11105
11106 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
11107 using IN_RANGE.
11108 (TINY_CONSTANT_ADDRESS_P): Likewise.
11109
11110 Tue Oct 22 00:04:20 CEST 2002 Jan Hubicka <jh@suse.cz>
11111
11112 * i386.c (builtin_description): Add punpcklqdq and movdq2q
11113 (ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
11114 v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
11115 void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
11116 __builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
11117 __builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
11118 __builtin_ia32_setzero128.
11119 (ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
11120 IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
11121 IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
11122 * i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
11123 IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
11124 IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
11125 IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
11126 * i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
11127 sse2_movq): New patterns.
11128 (sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
11129 * xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
11130 _mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
11131 _mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
11132 _mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
11133 _mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
11134 _mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
11135 (_mm_insert_epi16): Fix.
11136
11137 2002-10-21 Dale Johannesen <dalej@apple.com>
11138
11139 * config/rs6000/rs6000.c (rs6000_reverse_condition): Handle
11140 unsafe math reversals correctly for RTL generation.
11141 (output_cbranch): Replace rs6000_reverse_condition call
11142 by its former definition.
11143
11144 2002-10-21 Jakub Jelinek <jakub@redhat.com>
11145
11146 * config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
11147 argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
11148 from constant pool or LABEL_REFs as sign extended if allow_rip.
11149 Change all +-1GB limits to +-16MB.
11150 (x86_64_general_operand, x86_64_szext_general_operand,
11151 x86_64_nonmemory_operand, x86_64_movabs_operand,
11152 x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
11153 legitimate_address_p, ix86_expand_int_movcc): Update callers.
11154 (local_symbolic_operand): Don't allow offsets bigger than +-16MB
11155 in CM_SMALL_PIC model.
11156 (legitimate_pic_address_disp_p): Don't check offsets before
11157 calling local_symbolic_operand.
11158 (legitimize_pic_address): Force offsets bigger than +-16MB into
11159 register.
11160 * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
11161 * config/i386/i386-protos.h (x86_64_sign_extended_value): Update
11162 prototype.
11163
11164 * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
11165 Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
11166 * configure: Rebuilt.
11167 * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
11168 SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
11169 UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
11170 (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
11171 -fpic.
11172 (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
11173 non-pic code if TARGET_64BIT.
11174 (legitimize_address): Generate 64-bit TLS sequences.
11175 (output_pic_addr_const): Support x86-64 TLS operators.
11176 (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
11177 (print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
11178 Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
11179 (output_addr_const_extra): Support x86-64 TLS operators.
11180 (maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
11181 (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
11182 unconditionally.
11183 * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
11184 (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
11185 (*tls_global_dynamic_sun): Renamed to...
11186 (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
11187 (tls_global_dynamic): Renamed to...
11188 (tls_global_dynamic_32): ... this.
11189 (tls_global_dynamic_64, *tls_global_dynamic_64): New.
11190 (*tls_local_dynamic_base_dynamic_gnu): Renamed to...
11191 (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
11192 (*tls_local_dynamic_base_dynamic_sun): Renamed to...
11193 (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
11194 (tls_local_dynamic_base_dynamic): Renamed to...
11195 (tls_local_dynamic_base_dynamic_32): ... this.
11196 (tls_local_dynamic_base_dynamic_64,
11197 *tls_local_dynamic_base_dynamic_64): New.
11198 (*tls_local_dynamic_once): Renamed to...
11199 (*tls_local_dynamic_32_once): ... this.
11200
11201 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
11202
11203 * libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
11204 __divdi3, __umoddi3, or __moddi3.
11205
11206 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
11207
11208 * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
11209 instead of just opt_index as switch expression.
11210
11211 * calls.c (store_one_arg): Change type of 'excess_align'
11212 to unsigned int.
11213
11214 * profile.c (output_gcov_string): Change type of 'temp'
11215 to size_t.
11216
11217 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
11218
11219 * config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
11220 (__fixunssfdi, __fixsfdi): Likewise.
11221 * config/s390/s390.c (s390_single_hi): Initialize 'value'.
11222 (s390_single_qi): Likewise.
11223 (s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
11224 unsigned comparison warning.
11225 (s390_return_addr_rtx): New function.
11226 * config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
11227 * config/s390/s390.h (RETURN_ADDR_RTX): Use it.
11228 (HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
11229
11230 2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
11231
11232 * config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
11233 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
11234 (s390_output_mi_thunk): Remove.
11235 (TARGET_ASM_OUTPUT_MI_THUNK): Remove.
11236
11237 2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
11238
11239 * config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
11240
11241 2002-10-20 Zack Weinberg <zack@codesourcery.com>
11242
11243 * config/i386/i386.c (ix86_function_ok_for_sibcall): Fix an
11244 inverted test in the conditional determining the possibility
11245 of sibcalls in PIC mode.
11246
11247 2002-10-20 Richard Henderson <rth@redhat.com>
11248
11249 * target.h (struct gcc_target): Line wrap.
11250
11251 * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
11252 (TARGET_ASM_OUTPUT_MI_THUNK): Define here...
11253 * config/alpha/alpha.h: ... not here.
11254 * config/alpha/alpha-protos.h: Update.
11255
11256 * config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
11257 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
11258 config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
11259 config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
11260 config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
11261 config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
11262 config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
11263 config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
11264 config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
11265 config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
11266 config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
11267 config/sparc/openbsd.h, config/sparc/sparc-protos.h,
11268 config/sparc/sparc.c, config/sparc/sparc.h,
11269 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
11270 config/stormy16/stormy16.h: Similarly.
11271
11272 * config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
11273 selection logic from call patterns.
11274
11275 2002-10-20 Mark Mitchell <mark@codesourcery.com>
11276
11277 * config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
11278
11279 2002-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
11280
11281 PR other/8202
11282 * i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
11283 expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
11284 * i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
11285 * xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
11286
11287 2002-10-20 Roger Sayle <roger@eyesopen.com>
11288
11289 PR c/761
11290 * toplev.c (flag_unsafe_profile_arcs): Remove.
11291 (flag_bounded_pointers): Remove.
11292 (flag_bounds_check): Correct comments.
11293 (lang_independent_options): Remove -funsafe-profile-arcs and
11294 -fbounded-pointers. Correct -fbounds-check comments.
11295
11296 * flags.h: Correct flag_schedule_interblock comments.
11297 (flag_bounded_pointers): Remove prototype.
11298 (flag_bounds_check): Correct comments.
11299
11300 * c-opts.c (c_common_init_options): No need to mark
11301 flag_bounds_check as unspecified.
11302 (c_common_post_options): And no need to set it from
11303 flag_bounded_pointers if its still unspecified.
11304
11305 * doc/invoke.texi: Fix some overfull hboxes in "make dvi".
11306 Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
11307 -fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
11308 -fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
11309
11310 Sat Oct 19 22:02:28 2002 Alexandre Oliva <aoliva@redhat.com>
11311 Angela Marie Thomas <angela@releasedominatrix.com>
11312 Brendan Kehoe <brendan@zen.org>
11313 Nick Clifton <nickc@redhat.com>
11314 Andrew Haley <aph@redhat.com>
11315
11316 * configure.in (--with-sysroot): New. Don't inhibit libc if
11317 given. AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
11318 and CROSS_SYSTEM_HEADER_DIR.
11319 * configure: Rebuilt.
11320 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
11321 (TARGET_SYSTEM_ROOT): New.
11322 (DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
11323 CROSS_SYSTEM_HEADER_DIR.
11324 (install-gcc-tooldir): New target.
11325 (stmp-fixinc): Do not create $(libsubdir), but rather bail out
11326 if SYSTEM_HEADER_DIR does not exist and it's not the default
11327 sys-include directory.
11328 (deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
11329 (install-mkheaders): Likewise.
11330 * gcc.c (target_system_root): New variable.
11331 (add_sysrooted_prefix): New function.
11332 (process_command): Recompute run-time target_system_root from
11333 gcc_exec_prefix, keeping it unchanged if the relocated sysroot
11334 does not exist.
11335 (do_spec_1): Process 'R' spec.
11336 (main): Add md_exec_prefix to exec_prefixes regardless of
11337 startfile_prefix_spec. Use add_sysrooted_prefix for
11338 startfile_prefixes, and don't skip the default ones when cross
11339 compiling with sysroot enabled. Removed unused case of
11340 non-absolute standard_startfile_prefix.
11341 * config/interix.h: Remove the only potential, yet disabled,
11342 occurrence of non-absolute (empty) standard_startfile_prefix.
11343 * config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
11344 linking.
11345 * config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.
11346 * doc/install.texi (--with-sysroot): Document.
11347 (--with-headers, --with-libs): Deprecate.
11348
11349 2002-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11350 Mark Mitchell <mark@codesourcery.com>
11351
11352 * alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
11353 match target.h.
11354 * arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
11355 * cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
11356 * frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
11357 * i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
11358 x86_output_mi_thunk): Likewise.
11359 * i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
11360 * ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
11361 * m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
11362 * mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
11363 * rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
11364 * s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
11365 * stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
11366 Likewise.
11367 * vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
11368
11369 * target.h (gcc_target): Update output_mi_thunk and
11370 output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
11371 vcall_index.
11372
11373 * config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
11374 TARGET_ASM_OUTPUT_MI_THUNK in comments.
11375 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
11376 (TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
11377 * config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
11378 * config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
11379 signature.
11380 * config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
11381 * config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
11382 TARGET_ASM_OUTPUT_MI_THUNK in comments.
11383 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
11384 (TARGET_ASM_OUTPUT_MI_THUNK): Do define.
11385 * config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
11386 TARGET_ASM_OUTPUT_MI_THUNK in comments.
11387 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
11388 ASM_OUTPUT_MI_THUNK and replace with check of targetm.
11389
11390 * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
11391 (TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
11392
11393 2002-10-19 Brad Lucier <lucier@math.purdue.edu>
11394
11395 * real.c (do_add): Fix 0+0 sign corner case.
11396 (do_divide): Fix Inf/0 corner case.
11397
11398 Sun Oct 20 00:31:31 CEST 2002 Jan Hubicka <jh@suse.cz>
11399
11400 * i386.c (classify_argument): Pass MMX arguments in memory
11401 (ix86_expand_builtin): Expand proper address mode for cflush.
11402 * i386.md (movdqa): Fix typo.
11403 (sse2_cflush): Accept DImode addresses.
11404
11405 * xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
11406 (_mm_max_sd): Fix pasto.
11407 (_mm_storeh_pd, _mm_storel_pd): Fix.
11408
11409 * i386.c (bdesc_comi): Fix to match specification.
11410 (ix86_expand_sse_comi): Emit the comparison properly.
11411 * i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
11412 Do not use comparison operator.
11413 (vnmaskcmp): Fix template.
11414
11415 * xmmintrin.h (_mm_cvtps_pi16): Fix.
11416
11417 2002-10-19 Sebastian Pop <s.pop@laposte.net>
11418
11419 * dependence.c : Removed.
11420 * Makefile.in : Remove dependence.o.
11421
11422 Sat Oct 19 10:46:52 CEST 2002 Jan Hubicka <jh@suse.cz>
11423
11424 * mmintrin.h (__m64): typedef it to v2si.
11425 (_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
11426 _mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
11427 _mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
11428 _mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
11429 _mm_or_si64, _mm_xor_si64): Add neccesary casts.
11430 * xmmintrin.h (_mm_setzero_si64): Likewise.
11431
11432 * i386.h (ALIGN_MODE_128): Update comment; add missing modes
11433 (SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
11434
11435 PR target/7693
11436 Patch by Shawn Wagner
11437 * mmintrin.h: Replace pi64 by si64.
11438
11439 2002-10-18 David Edelsohn <edelsohn@gnu.org>
11440
11441 * rs6000.md (movdf_hardfloat32): Order alternatives consistently.
11442 Use length of 4 not *.
11443 (movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
11444 (movdf_softfloat64): Likewise.
11445 (movdi_internal32): Use length of 4 not *.
11446 (movti_power): Same.
11447 (ctrsi, ctrdi): Same.
11448
11449 2002-10-18 Zack Weinberg <zack@codesourcery.com>
11450
11451 * c-decl.c (start_decl): Point users of the old initialized-
11452 typedef extension at __typeof__.
11453
11454 2002-10-18 Richard Henderson <rth@redhat.com>
11455
11456 * real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
11457 (real_to_decimal): Re-implement using the logic from the
11458 gcc 3.2 etoasc. Comment heavily.
11459 (div_significands): Simplify loop startup and comparison logic.
11460
11461 2002-10-18 Mark Mitchell <mark@codesourcery.com>
11462
11463 * target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
11464 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
11465 (TARGET_ASM_OUT): Add them.
11466 * target.h (asm_out): Add output_mi_thunk and
11467 output_mi_vcall_thunk.
11468 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11469 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11470 * config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
11471 * config/arm/arm.c (arm_output_mi_thunk): Define.
11472 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11473 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11474 * config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11475 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11476 * config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11477 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11478 * config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
11479 prototype.
11480 (x86_output_mi_vcall_thunk): Declare.
11481 * config/i386/i386.c (override_options): Clear
11482 output_mi_vcall_thunk in 64-bit mode.
11483 (ix86_fntype_regparm): New function.
11484 (ix86_return_pops_args): Use it.
11485 (ia32_this_parameter): New function.
11486 (x86_output_mi_vcall_thunk): New function.
11487 (x86_output_mi_thunk): Use it
11488 * config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
11489 (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
11490 * config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
11491 * config/i960/i960.c (i960_output_mi_thunk): New function.
11492 * config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
11493 * config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
11494 * config/ia64/ia64.c (ia64_output_mi_thunk): Define.
11495 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11496 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11497 * config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
11498 * config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11499 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11500 * config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11501 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11502 * config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11503 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11504 * config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11505 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11506 * config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11507 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11508 * config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
11509 * config/s390/s390.c (s390_output_mi_thunk): Define.
11510 * config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11511 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11512 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11513 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11514 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11515 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11516 * config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
11517 * config/vax/vax.c (vax_output_mi_thunk): Define.
11518 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
11519 (TARGET_ASM_OUTPUT_MI_THUNK): ... this.
11520 * doc/tm.texi: Adjust documentation.
11521
11522 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
11523
11524 * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
11525 __enable_execute_stack function.
11526 * config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
11527 as NETBSD_ENABLE_EXECUTE_STACK.
11528 * config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11529 * config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11530 * config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11531 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11532 * config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
11533
11534 2002-10-18 Jason Thorpe <thorpej@wasabisystems.com>
11535
11536 * config/i386/i386.c (x86_initialize_trampoline): Emit a call
11537 to __enable_execute_stack with the address of the trampoline
11538 if TRANSFER_FROM_TRAMPOLINE is defined.
11539 * config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
11540 constant if building libgcc2.
11541
11542 Thu Oct 17 17:40:05 CEST 2002 Jan Hubicka <jh@suse.cz>
11543
11544 * i386.c (pentium4_cost): Fix according to Intel recommendations.
11545 (ix86_memory_move_cost): Fix for 64bit compilation.
11546
11547 2002-10-17 Roger Sayle <roger@eyesopen.com>
11548
11549 * doc/c-tree.texi: Update description of COND_EXPR tree nodes.
11550
11551 2002-10-17 Geoffrey Keating <geoffk@apple.com>
11552
11553 * config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
11554 in CTR/LR/MQ.
11555 * config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
11556 to/from CTR/LR/MQ.
11557 (movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
11558 (movsf_softfloat): Likewise.
11559
11560 2002-10-17 Janis Johnson <janis187@us.ibm.com>
11561
11562 * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
11563
11564 2002-10-17 Jason Thorpe <thorpej@wasabisystems.com>
11565
11566 * config/alpha/alpha.c (alpha_initialize_trampoline): Use
11567 tramp, not addr, to pass the trampoline address to
11568 __enable_execute_stack.
11569
11570 Thu Oct 17 18:40:47 CEST 2002 Jan Hubicka <jh@suse.cz>
11571
11572 * mmintrin.h: Guard by __MMX__
11573 * xmmintrin.h: Guard by __SSE__
11574
11575 PR other/8062
11576 * xmmintrin.h (_MM_SHUFFLE2): New macro.
11577 (_mm_load*_?d): New functions.
11578 (_mm_set*_?d): New functions.
11579 (_mm_store*_?d): New functions.
11580
11581 Wed Oct 16 15:01:29 CEST 2002 Jan Hubicka <jh@suse.cz>
11582
11583 Really commit patch announced at Oct 14
11584 PR c/7344
11585 * predict.c (can_predict_insn_p): New function.
11586 (estimate_probability): Avoid unnecesary work.
11587 (process_note_prediction): Likewise.
11588 * toplev.c (rest_of_compilation): Account early branch prediction pass
11589 as TV_BRANCH_PROB.
11590
11591 PR other/8048
11592 Found by Ian Ollmann
11593 * xmmintrin.h (_mm_shuffle_pd): Fix typo.
11594 (_mm_load?_pd): Likewise.
11595 (_mm_store?_pd): Likewise.
11596
11597 PR target/7386
11598 * i386.c (builtin_description):Drop cmpg[te]s[sd].
11599 * xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
11600 swapped alternative.
11601
11602 PR opt/7630
11603 * reload1.c (reload_inner_reg_of_subreg): New argument output;
11604 (push_reload): Update call.
11605
11606 2002-10-17 Richard Sandiford <rsandifo@redhat.com>
11607
11608 * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
11609 if using mips/elf.h or mips/elf64.h.
11610 * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
11611 * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
11612
11613 2002-10-16 Aldy Hernandez <aldyh@redhat.com>
11614
11615 * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
11616 SI.
11617
11618 2002-10-16 Ulrich Weigand <uweigand@de.ibm.com>
11619
11620 * config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
11621 (LPREFIX): Likewise.
11622 (ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
11623 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
11624 ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
11625 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
11626 GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
11627
11628 * config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
11629 ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
11630 ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
11631 BSS_SECTION_ASM_OP): Move from linux.h.
11632 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
11633 Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
11634
11635 * config/s390/s390.c (s390_function_profiler): Use
11636 ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
11637
11638 2002-10-15 Eric Christopher <echristo@redhat.com>
11639
11640 * stor-layout.c (layout_type): Call GET_MODE_BITSIZE once.
11641 * java/parse.y (obtain_incomplete_type): Make pointer
11642 ptr_mode.
11643
11644 2002-10-15 Richard Henderson <rth@redhat.com>
11645
11646 * real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
11647 as arguments. Bound DIGITS by the available buffer size.
11648 (real_to_hexadecimal): Likewise.
11649 * real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
11650 (REAL_VALUE_TO_DECIMAL): Remove.
11651 * c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
11652 sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
11653 config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
11654 config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
11655 config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
11656 config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
11657 config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
11658 use real_to_decimal directly, and with the proper arguments.
11659 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
11660
11661 2002-10-15 Jim Wilson <wilson@redhat.com>
11662
11663 * reload1.c (merge_assigned_reloads): After converting overlapping
11664 reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
11665
11666 * config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
11667
11668 Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka <jh@suse.cz>
11669
11670 * expr.c (do_tablejump): Fix typo in my previous commit.
11671
11672 2002-10-15 Richard Sandiford <rsandifo@redhat.com>
11673
11674 * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
11675
11676 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
11677
11678 * config/s390/s390.c (s390_split_branches): Add return
11679 value. Add parameters TEMP_REG and TEMP_USED. Use unspec 104.
11680
11681 (find_base_register_in_addr): New function.
11682 (find_base_register_ref): New function.
11683 (replace_base_register_ref): New function.
11684
11685 (struct constant_pool): Add members pool_insn, insns, and anchor.
11686 Remove member last_insn.
11687 (s390_start_pool): Initialize them.
11688 (s390_end_pool): Emit pool placeholder insn.
11689 (s390_add_pool_insn): New function.
11690 (s390_find_pool): Use insns bitmap instead of addresses.
11691 (s390_dump_pool): Replace placeholder insn. Emit anchor.
11692 Replace unspec 104 by local-pool-relative references.
11693 (s390_output_constant_pool): Output anchor label if required.
11694 (s390_output_symbolic_const): Handle unspec 104 and 105.
11695 (s390_add_pool): Remove, replace by ...
11696 (s390_add_constant, s390_find_constant): ... these new functions.
11697 (s390_add_anchor): New function.
11698
11699 (s390_chunkify_pool): Delete, replace by ...
11700 (s390_chunkify_start, s390_chunkify_finish,
11701 s390_chunkify_cancel): ... these new functions.
11702 (s390_optimize_prolog): Add parameter TEMP_REGNO.
11703 Recompute register live data for special registers.
11704 (s390_fixup_clobbered_return_reg): New function.
11705 (s390_machine_dependent_reorg): Rewrite to use new
11706 s390_chunkify_... routines.
11707
11708 config/s390/s390.md ("reload_base"): Rename to ...
11709 ("reload_base_31"): ... this.
11710 ("reload_base_64"): New insn.
11711 ("reload_base2"): Remove.
11712 ("reload_anchor"): New insn.
11713 ("pool"): New insn.
11714
11715 s390.c (s390_pool_overflow): Remove.
11716 s390.h (s390_pool_overflow): Likewise.
11717 s390.md ("cjump", "icjump", "doloop_si"): Remove s390_pool_overflow.
11718
11719 Tue Oct 15 16:51:04 2002 J"orn Rennecke <joern.rennecke@superh.com>
11720
11721 * sh.md (movv8qi_i+2): Don't split if source is -1.
11722
11723 2002-10-15 Janis Johnson <janis187@us.ibm.com>
11724
11725 * doc/install.texi: Formatting changes for conformance to HTML 4.01.
11726
11727 2002-10-15 Ulrich Weigand <uweigand@de.ibm.com>
11728
11729 PR opt/7409
11730 * loop.c (loop_regs_scan): Mark registers used for function
11731 argument passing as MAY_NOT_OPTIMIZE.
11732
11733 Mon Oct 14 19:22:19 CEST 2002 Jan Hubicka <jh@suse.cz>
11734
11735 * gcov-io.h (gcov_info): Fix type.
11736 * profile.c (create_profiler): Fix type mismatch.
11737
11738 Mon Oct 14 20:33:12 CEST 2002 Jan Hubicka <jh@suse.cz>
11739
11740 * i386.md (movv2di_internal): New pattern.
11741 (movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
11742 (movv2di): New expander.
11743 * i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
11744
11745 * i386.c (ix86_expand_timode_binop_builtin): Delete.
11746 (builtin_description): Add SSE1 logicals; rename SSE2 logicals.
11747 (ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
11748 (ix86_expand_builtin): Likewise.
11749 * i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
11750 sse_andti3,
11751 sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
11752 sse_andnti3,
11753 sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
11754 sse_orti3,
11755 sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
11756 sse_xorti3): Kill.
11757 (sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
11758 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
11759 (*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
11760 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
11761 (*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
11762 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
11763
11764 * xmmintrin.h (__m128i): Define as __v2di.
11765
11766 PR c++/6419
11767 (expand_expr): Use DECL_RTL_SET_P.
11768
11769 2002-10-14 Roger Sayle <roger@eyesopen.com>
11770
11771 * combine.c (simplify_set): Treat MODE_CC registers like cc0.
11772
11773 2002-10-14 Roger Sayle <roger@eyesopen.com>
11774 Zack Weinberg <zack@codesourcery.com>
11775
11776 * config/i386/i386.c (k6_cost): Correct typo.
11777
11778 2002-10-14 Mark Mitchell <mark@codesourcery.com>
11779
11780 PR optimization/6631
11781 * alias.c (objects_must_conflict_p): Check honor_readonly when
11782 examining TYPE_READONLY.
11783 * function.c (assign_stack_temp_for_type): Likewise.
11784
11785 2002-10-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
11786
11787 * config/alpha/alpha.md (extendsidi2_nofix, extendsidi2_fix):
11788 Swap zero extension arguments.
11789 (umaxhi3): Fix instruction class.
11790 PR target/7211
11791 (prefetch): Fix prefetch instructions.
11792 PR target/7238
11793 (pkwb): Fix output constraint.
11794
11795 2002-10-14 Alexandre Oliva <aoliva@redhat.com>
11796
11797 * config/mips/mips.c (print_operand): Increase buffer size for
11798 real numbers.
11799
11800 2002-10-14 Richard Henderson <rth@redhat.com>
11801
11802 PR opt/8165
11803 * gcse.c (adjust_libcall_notes): Revert last change.
11804 * simplify-rtx.c (simplify_replace_rtx): Handle LO_SUM.
11805
11806 2002-10-14 Andrew Haley <aph@redhat.com>
11807
11808 * tree-inline.c (remap_block): All local class initialization
11809 flags go in the outermost scope.
11810 (expand_call_inline): Call java_inlining_map_static_initializers.
11811 (expand_call_inline): Call java_inlining_merge_static_initializers.
11812 * java/lang.c (merge_init_test_initialization): New.
11813 (java_inlining_merge_static_initializers): New.
11814 (inline_init_test_initialization): New.
11815 (java_inlining_map_static_initializers): New.
11816
11817 * tree-inline.c (expand_call_inline): Convert retvar to expected
11818 type.
11819
11820 2002-10-14 Graham Stott <graham.stott@btinternet.com>
11821
11822 * stmt.c (decl_conflicts_with_clobbers_p): Add REG_P check.
11823
11824 2002-10-14 Aldy Hernandez <aldyh@redhat.com>
11825
11826 * stmt.c: Fix typo in comment.
11827
11828 Mon Oct 14 11:35:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
11829
11830 * c-common.c (c_common_type_for_mode): Add V2HImode case.
11831 * tree.c (build_common_tree_nodes_2): Initialize
11832 unsigned_V2HI_type_node and V2HI_type_node.
11833 * tree.h (enum tree_index): Add TI_UV2HI_TYPE and TI_V2HI_TYPE.
11834 (unsigned_V2HI_type_node, V2HI_type_node): Define.
11835
11836 2002-10-14 Jakub Jelinek <jakub@redhat.com>
11837
11838 * config/i386/i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
11839 Handle TARGET_64BIT.
11840
11841 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
11842
11843 * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
11844 * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
11845 (MULTILIB_DIRNAMES): Remove long32.
11846 (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
11847 (MULTILIB_REDUNDANT_DIRS): Remove.
11848
11849 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
11850
11851 * doc/tm.texi (DRIVER_SELF_SPECS): Document.
11852 * gcc.c (driver_self_specs): New variable.
11853 (do_self_spec): New function.
11854 (main): Use it to process driver_self_specs.
11855
11856 2002-10-13 Richard Henderson <rth@redhat.com>
11857
11858 * config/i386/i386.c (ix86_function_ok_for_sibcall): Reject
11859 indirect sibcalls when regparm >= 3.
11860
11861 * config/i386/i386.c (sibcall_insn_operand): New.
11862 * config/i386/i386.h (PREDICATE_CODES): Update.
11863 * config/i386/i386-protos.h: Update.
11864 * config/i386/i386.md (sibcall_1, sibcall_value_1): Use it.
11865
11866 * rtl.c (shallow_copy_rtx): Use memcpy for the entire node.
11867
11868 2002-10-12 Roger Sayle <roger@eyesopen.com>
11869
11870 * simplify-rtx.c (simplify_binary_operation) [ASHIFTRT]: Optimize
11871 arithmetic right shifts of ~0 during RTL simplifications.
11872
11873 2002-10-12 Neil Booth <neil@daikokuya.co.uk>
11874
11875 PR preprocessor/7862
11876 PR preprocessor/8190
11877 * gcc.c (cpp_unique_options): Don't delete .d files.
11878 Remove stray whitespace.
11879
11880 2002-10-12 Naohiko Shimizu <pshimizu@fa2.so-net.ne.jp>
11881
11882 * pdp11.h (ASM_OUTPUT_SKIP): Add preceding 0 for octal constant.
11883 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
11884 * pdp11.c (pdp11_output_function_prologue): 0%o -> %#o.
11885 (pdp11_output_function_epilogue, output_ascii): Likewise.
11886 (output_addr_const_pdp11): Likewise.
11887 * pdp11.md (movdi): Use offsetable memory for floating store.
11888 (lshrsi3, negsi2): Delete irrelevant comment.
11889
11890 2002-10-11 Andreas Bauer <baueran@in.tum.de>
11891
11892 * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow
11893 indirect calls to be sibcall optimized.
11894 * config/i386/i386.md (sibcall_1): New.
11895 (call_1): Add no-sibcalls condition.
11896 (sibcall_value_1): New.
11897 (call_value_1): Add no-sibcalls condition.
11898
11899 2002-10-11 Eric Christopher <echristo@redhat.com>
11900
11901 * output.h (default_valid_pointer_mode): Declare.
11902 * varasm.c (default_valid_pointer_mode): Define.
11903 * target-def.h (TARGET_VALID_POINTER_MODE): Use.
11904 * target.h: Ditto.
11905 * tree.c (build_pointer_type_for_mode): New function.
11906 (build_pointer_type): Use.
11907 (build_reference_type_for_mode): New function.
11908 (build_reference_type): Use.
11909 * tree.h: Declare new functions.
11910 * c-common.c (handle_mode_attribute): Use new functions, check
11911 for type.
11912 * stor-layout.c (layout_type): Depend on machine mode for
11913 REFERENCE_TYPE and POINTER_TYPE.
11914 * dwarf2out.c (simple_type_size_in_bits): Move upward in file.
11915 (modified_type_die): Use instead of PTR_SIZE for POINTER_TYPE
11916 and REFERENCE_TYPE.
11917 * config/mips/mips.c (mips_valid_pointer_mode): New function.
11918 (TARGET_VALID_POINTER_MODE): Use and define.
11919 * config/mips/mips-protos.h (mips_valid_pointer_mode): Declare.
11920
11921 2002-10-11 Geoffrey Keating <geoffk@apple.com>
11922
11923 * cse.c (mention_regs): Set SUBREG_TICKED to the register number,
11924 not the address of the REG.
11925 (struct cse_reg_info): Make subreg_ticked unsigned.
11926
11927 2002-10-11 Janis Johnson <janis187@us.ibm.com>
11928
11929 * doc/compat.texi: Add info about C++ libraries.
11930
11931 2002-10-11 Richard Henderson <rth@redhat.com>
11932
11933 PR opt/8165
11934 * gcse.c (adjust_libcall_notes): Also adjust notes for INSN.
11935
11936 2002-10-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
11937
11938 * cfganal.c (dfs_enumerate_from): Use PARAMS.
11939 * genautomata.c (output_insn_code_cases): Likewise.
11940 * real.c (real_format): Likewise.
11941 * tree.c (tree_size): Revise expressions using TREE_CODE_LENGTH to
11942 ensure value is promoted before doing subtraction.
11943
11944 Fri Oct 11 22:22:38 CEST 2002 Jan Hubicka <jh@suse.cz>
11945
11946 * calls.c (expand_call): Simplify noreturn call.
11947
11948 PR c/7344
11949 * cfgbuild.c (make_edges): Create edge cache when we do have
11950 large jumptable.
11951 * expr.c (do_tablejump): Note size of maximal jumptable.
11952 * function.c (prepare_function_start): Zero out size.
11953 * function.h (function): Add max_jumptable_ents.
11954
11955 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
11956
11957 Fri Oct 11 12:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
11958
11959 * sh.md (movv8qi_i+2): For V8QI destinations, generate V4HI
11960 register for mperm_w operation.
11961
11962 Fri Oct 11 10:56:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
11963
11964 * emit-rtl.c (gen_lowpart_common): When asked to make a vector from
11965 an integer, use simplify_gen_subreg.
11966
11967 2002-10-10 Diego Novillo <dnovillo@redhat.com>
11968
11969 * calls.c (flags_from_decl_or_type): Make extern.
11970 (ECF_*): Move ...
11971 * rtl.h (ECF_*): ... here.
11972 (flags_from_decl_or_type): Declare.
11973
11974 2002-10-10 Roger Sayle <roger@eyesopen.com>
11975 Nathan Sidwell <nathan@codesourcery.com>
11976
11977 * fold-const.c (fold) [RSHIFT_EXPR]: Optimize arithmetic right
11978 shifts of the form -1 >> x.
11979
11980 Thu Oct 10 16:52:55 CEST 2002 Jan Hubicka <jh@suse.cz>
11981
11982 * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to.
11983
11984 2002-10-10 Aldy Hernandez <aldyh@redhat.com>
11985
11986 * extend.texi (Vector Extensions): Remove comment about single
11987 element vectors.
11988
11989 2002-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11990
11991 * fold-const.c (size_htab_hash): Use htab_hash_pointer.
11992 * function.c (insns_for_mem_hash): Likewise.
11993 * varasm.c (STRHASH): Likewise.
11994
11995 2002-10-10 Stuart Hastings <stuart@apple.com>
11996
11997 * cse.c (struct cse_reg_info): Add subreg_ticked.
11998 (SUBREG_TICKED): New.
11999 (get_cse_reg_info): Initialize SUBREG_TICKED.
12000 (mention_regs): Use it.
12001 (invalidate): Set SUBREG_TICKED.
12002 (invalidate_for_call): Likewise.
12003 (addr_affects_sp_p): Likewise.
12004
12005 2002-10-10 Jakub Jelinek <jakub@redhat.com>
12006
12007 * config/i386/i386.md (tls_local_dynamic_base): Put pic reg
12008 into proper operand.
12009
12010 2002-10-10 Denis Chertykov <denisc@overta.ru>
12011
12012 * config/ip2k/ip2k.c (function_epilogue): Optimize stack
12013 deallocation.
12014 * config/ip2k/libgcc.S: Combine routines used by function
12015 epilogue.
12016
12017 2002-10-10 Jim Wilson <wilson@redhat.com>
12018
12019 * cse.c (fold_rtx): Don't perform associative optimization for DIV and
12020 UDIV.
12021
12022 2002-10-10 David Edelsohn <edelsohn@gnu.org>
12023
12024 * config/rs6000/aix52.h: New file.
12025 * config/rs6000/t-aix52: New File.
12026 * config.gcc (rs6000-ibm-aix5.1.*): New entry.
12027 (rs6000-ibm-aix[56789].*): Default to AIX 5.2.
12028
12029 Thu Oct 10 19:37:54 CEST 2002 Jan Hubicka <jh@suse.cz>
12030
12031 PR target/5610
12032 * invoke.texi (-msse-math): Kill
12033 (-msse): Add note to mfpmath=sse.
12034
12035 Thu Oct 10 17:08:30 CEST 2002 Jan Hubicka <jh@suse.cz>
12036
12037 PR target/7723
12038 * i386.c (ix86_expand_vector_move): Do not generate const0->mem moves.
12039
12040 2002-10-10 Neil Booth <neil@daikokuya.co.uk>
12041
12042 PR preprocessor/8179
12043 * gcc.c (cpp_options): Add {ansi}, move %{m*} to same location
12044 as cc1_options.
12045 (default_compilers): Pass debug options when preprocessing
12046 stdin.
12047
12048 2002-10-06 Richard Henderson <rth@redhat.com>
12049
12050 * toplev.c (rest_of_compilation): Revert opt/2960 change.
12051
12052 Wed Oct 9 21:18:43 CEST 2002 Jan Hubicka <jh@suse.cz>
12053
12054 * i386.c (*_cost): Add branch costs.
12055 (override_options): set ix86_branch_cost.
12056 (ix86_expand_int_movcc): Use BRANCH_COST.
12057 * i386.h (costs): Add branch_cost.
12058
12059 2002-10-09 Zack Weinberg <zack@codesourcery.com>
12060
12061 PR c/7353
12062 * c-decl.c (start_decl): Unconditionally issue error for
12063 'typedef foo = bar'.
12064 (finish_decl): Remove special case for TYPE_DECL with initializer.
12065
12066 * doc/extend.texi: Delete "Naming Types" section. Change all
12067 cross-references to that section to refer to "Typeof" instead.
12068 Add the useful safe-max()-macro example from "Naming Types" to
12069 "Typeof", rewritten using that extension. Add some compatibility
12070 notes to "Typeof."
12071
12072 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12073
12074 * loop.c: Revert 2002-08-15 change.
12075 (LOOP_REGNO_NREGS): Ensure type is int.
12076
12077 2002-10-09 David Edelsohn <edelsohn@gnu.org>
12078
12079 * config/rs6000/rs6000.md (extenddftf2): Change to define_insn
12080 which copies first FPR and clears second.
12081 (extendsftf2): Same.
12082 (floatditf2): Fix typo.
12083 (floatsitf2): Same.
12084 (fix_trunctfdi2): Same.
12085 (fix_trunctfsi2): Same.
12086
12087 2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12088
12089 * conflict.c (arc_hash): Change return type to hashval_t.
12090 * cselib.c (get_value_hash): Likewise.
12091 * genautomata.c (automaton_decl_hash, insn_decl_hash, decl_hash,
12092 state_hash, automata_list_hash): Likewise.
12093 * read-rtl.c (def_hash): Likewise.
12094 * tree.c (type_hash_hash): Likewise.
12095
12096 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
12097
12098 * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Call
12099 prologue_epilogue_contains instead of using REG_MAYBE_DEAD notes.
12100
12101 Wed Oct 9 15:54:49 2002 J"orn Rennecke <joern.rennecke@superh.com>
12102
12103 * sh.md (ffssi2): Fix emitted code.
12104
12105 2002-10-09 Ulrich Weigand <uweigand@de.ibm.com>
12106
12107 * cse.c (insn_live_p): Pass insn pattern, not full insn
12108 to may_trap_p.
12109
12110 2002-10-09 Neil Booth <neil@daikokuya.co.uk>
12111
12112 * cppmacro.c (paste_tokens): Only allow / to paste with =.
12113
12114 2002-10-09 David Edelsohn <edelsohn@gnu.org>
12115
12116 * config/rs6000/rs6000.md (movdf splitter): Use gen_int_mode on
12117 64-bit hosts.
12118 (movtf_internal): Reference correct displacement for second value
12119 in memory.
12120 (movtf splitter): Correct generation of constants in 64-bit mode.
12121
12122 2002-10-09 Alan Modra <amodra@bigpond.net.au>
12123
12124 * libgcc2.c (__floatdisf): Properly cure double rounding.
12125
12126 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
12127
12128 * c-common.c (cb_register_builtins): Define __WCHAR_MAX__.
12129 * doc/cpp.texi (Common Predefined Macros): Document.
12130
12131 2002-10-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
12132
12133 PR doc/7484
12134 * doc/invoke.texi (Option Summary): List
12135 -Wmissing-declarations as a C only option.
12136
12137 2002-10-08 Roger Sayle <roger@eyesopen.com>
12138
12139 * fold-const.c (fold) [LROTATE_EXPR, RROTATE_EXPR]: Optimize
12140 left and right rotates of ~0, i.e. integer_all_onesp (arg0).
12141 [LSHIFT_EXPR, RSHIFT_EXPR]: Optimize shifts and rotates of zero.
12142
12143 Tue Oct 8 01:24:19 CEST 2002 Jan Hubicka <jh@suse.cz>
12144
12145 * i386.c (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
12146 x86_sse_typeless_stores, x86_sse_load0_by_pxor): New global
12147 variables.
12148 (safe_vector_operand): Update sse_clrv4sf call.
12149 (ix86_expand_buildin): Likewise
12150 * i386.h (x86_sse_partial_reg_dependency, x86_sse_partial_regs,
12151 x86_sse_typeless_stores, x86_sse_load0_by_pxor): Declare.
12152 (TARGET_SSE_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REGS,
12153 TARGET_SSE_TYPELESS_STORES, TARGET_SSE_TYPELESS_LOAD0): New
12154 macros.
12155 * i386.md (movsf*, movdf*, movti, movv4sf, movv2df, movv16qi, movv8hi,
12156 movv4si): Obey the new flags.
12157 (floatsi2sf, floatdi2sf, truncatedf2sf): Emit extra load of 0 to avoid
12158 reformating penalty.
12159 (anddf, cmov patterns): Avoid reformating by first converting.
12160 (sse_cvtsd2ss): Fix predicate.
12161 (sse2_clrti): Fix mode,
12162 (sse_clrv4sf): Avoid unspec.
12163
12164 2002-10-08 Jakub Jelinek <jakub@redhat.com>
12165
12166 * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
12167 mno-app-regs|mcmodel=medany.
12168 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
12169 (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
12170 (CRTSTUFF_T_CFLAGS): Define.
12171
12172 2002-10-08 Roger Sayle <roger@eyesopen.com>
12173
12174 PR target/8087
12175 * simplify-rtx.c (avoid_constant_pool_reference): Allow constant
12176 pool references that are constructed using LO_SUM.
12177
12178 2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
12179
12180 * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
12181 -Wall.
12182 * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
12183 message.
12184 * flags.h (warn_strict_aliasing): Declare.
12185 * toplev.c (warn_strict_aliasing): Define.
12186 (lang_independent_options): Add it.
12187 * doc/invoke.texi (-Wstrict-aliasing): Document it.
12188
12189 2002-10-08 Zack Weinberg <zack@codesourcery.com>
12190
12191 * system.h (GCCBUGURL): Delete.
12192 * version.c (bug_report_url): New. Add commentary about
12193 modifying both these strings in modified distributions.
12194 * version.h: Declare bug_report_url.
12195
12196 * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
12197 bug_report_url.
12198
12199 2002-10-08 Nick Clifton <nickc@redhat.com>
12200
12201 * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
12202 convert uint64_t into __ev64_opaque__.
12203 (__ev_set_acc_s64): Likewise, but using signed types.
12204
12205 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
12206
12207 * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
12208 ("*doloop_di_long"): Likewise.
12209
12210 Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
12211
12212 * print-rtl.c (print_rtx): Increase buffer size for real numbers.
12213
12214 2002-10-08 Richard Sandiford <rsandifo@redhat.com>
12215
12216 * config/mips/mips.md (define_attr cpu): Add r4111.
12217
12218 2002-10-08 Anthony Green <green@redhat.com>
12219
12220 * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
12221
12222 2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12223
12224 * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
12225 for REAL_VALUE_TO_DECIMAL output.
12226
12227 2002-10-07 Richard Henderson <rth@redhat.com>
12228
12229 * cse.c (fixed_base_plus_p): Turn FIXED_BASE_PLUS_P into a
12230 function; cleanup PLUS case by using recursion. Update all users.
12231 (NONZERO_BASE_PLUS_P): Remove.
12232 (find_comparison_args): Use rtx_addr_can_trap_p instead.
12233 (fold_rtx): Use nonzero_address_p.
12234 * rtl.h (nonzero_address_p): Declare.
12235 * rtlanal.c (rtx_varies_p): Handle ADDRESSOF.
12236 (rtx_addr_can_trap_p): Likewise.
12237 (nonzero_address_p): New.
12238 * simplify-rtx.c (NONZERO_BASE_PLUS_P): Remove.
12239 (simplify_relational_operation): Use nonzero_address_p.
12240
12241 2002-10-07 David Edelsohn <edelsohn@gnu.org>
12242
12243 * config/rs6000/rs6000.c (rs6000_override_options): Set
12244 real_format_for_mode for IBM extended format, if enabled.
12245 (easy_fp_constant): Add TFmode.
12246 (rs6000_legitimize_address): Add TFmode.
12247 (rs6000_legitimate_address): Same.
12248 (function_arg_advance): TFmode uses two FPRs.
12249 (rs6000_emit_prologue): Fix warning.
12250 (rs6000_output_function_epilogue): Add TFmode.
12251 (output_toc): Add TFmode.
12252 * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
12253 (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
12254 * rs6000.md (movtf splitter): Load TFmode constant.
12255
12256 2002-10-07 Dale Johannesen <dalej@apple.com>
12257
12258 * rtl.h: Add NOTE_PRECONDITIONED.
12259 * unroll.c: Set it.
12260 * loop.c: Set loop_info->preconditioned from it.
12261 * doloop.c: Permit doloop treatment when loop_info->preconditoned.
12262
12263 2002-10-07 Richard Henderson <rth@redhat.com>
12264
12265 * config/i960/i960.c (i960_setup_incoming_varargs): Create a
12266 new rtx for comparing the argument pointer against zero.
12267 (i960_va_start): Similarly.
12268
12269 2002-10-07 Richard Henderson <rth@redhat.com>
12270
12271 * config/i960/i960.md (*): Use TFmode, not XFmode.
12272 * config/i960/i960.c (*): Likewise.
12273 (i960_arg_size_and_align): Remove XFmode alignment hack.
12274 (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
12275 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
12276 (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
12277 (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
12278
12279 2002-10-07 Richard Henderson <rth@redhat.com>
12280
12281 * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
12282 entry points; use void return value and argument list.
12283
12284 2002-10-06 Andreas Bauer <baueran@in.tum.de>
12285
12286 * calls.c (expand_call): Fix function-is-volatile check.
12287
12288 2002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
12289
12290 * t-pdp11: Add MULTILIB support for msoft-float.
12291 * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
12292
12293 * t-pdp11: Add LIB2FUNCS_EXTRA.
12294 * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
12295 add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
12296 'fldd' to 'ldd', rename 'fstd' to 'std'.
12297 (pdp11_output_function_epilogue): Likewise.
12298 (output_move_quad): Make the comment gas compatible.
12299 (output_ascii): Add preceding 0 to the octal constant.
12300 (print_operand_address): Add pre_modify, post_modify.
12301 (output_addr_const_pdp11): Add preceding 0 to the octal constant.
12302 * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
12303 with the indication of Paul Koning.
12304 (PRINT_OPERAND): Fix floating constant.
12305 * pdp11.md (movdi): Restrict matching pattern.
12306 (movqi): Generalize the matching pattern.
12307 (movdf): Restrict matching pattern.
12308 (zero_extendqihi2): Change constant representation.
12309 (floatsidf2): Fix wrong operands.
12310 (addqi3): Fix wrong instruction name.
12311 (subqi3): Fix wrong instruction name.
12312 (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
12313 (xorsi3): Fix wrong insn.
12314 (one_cmplqi2): Add two operand pattern.
12315 (lsrsi3): New.
12316 (negsi2): New.
12317 (call): Add register indirect case.
12318 (mod): Fix wrong subreg.
12319
12320 2002-10-06 Eric Botcazou <ebotcazou@libertysurf.fr>
12321 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
12322
12323 PR c/7411
12324 * expr.c (expand_expr) [PLUS]: Simplify after the operands
12325 have been expanded in EXPAND_NORMAL mode.
12326
12327 2002-10-06 Richard Henderson <rth@redhat.com>
12328
12329 * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
12330
12331 2002-10-06 Richard Henderson <rth@redhat.com>
12332
12333 PR optimization/2960
12334 * toplev.c (rest_of_compilation): Don't copy_loop_headers if
12335 optimize_size.
12336
12337 2002-10-06 Alexandre Oliva <aoliva@redhat.com>
12338
12339 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
12340 previously definitions.
12341
12342 2002-10-06 Frank Ch. Eigler <fche@redhat.com>
12343
12344 * cppinit.c (init_standard_includes, parse_option): Use strncmp.
12345 * c-opts.c (find_opt): Similarly.
12346
12347 Sat Oct 5 22:48:06 CEST 2002 Jan Hubicka <jh@suse.cz>
12348
12349 * athlon.md: rewrite to DFA.
12350 * i386 (ix86_adjust_cost): Drop memory latency code.
12351 (ia32_use_dfa_pipeline_interface): Return true for Athlon.
12352
12353 2002-10-05 Jakub Jelinek <jakub@redhat.com>
12354
12355 * gcc.c (set_multilib_dir): Don't access *end.
12356 Use memcpy instead of strncpy. Don't write beyond malloced buffer.
12357 (print_multilib_info): Don't show paths starting with ".:".
12358 * genmultilib: Add new option, "yes" if multilibs are enabled.
12359 Update comments. If multilibs not enabled, print .:${osdirout}
12360 for each directory. If multilibs are enabled, always print
12361 ${dirout}:${osdirout}, even if the two are the same.
12362 * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
12363 Pass all MULTILIB_* variables to genmultilib even if
12364 --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
12365
12366 2002-10-04 Zack Weinberg <zack@codesourcery.com>
12367
12368 * gcc.c (process_command): Set .validated for -pipe. Correct
12369 grammar in comment.
12370
12371 2002-10-04 Bruce Korb <bkorb@gnu.org>
12372
12373 * fixinc/inclhack.def(hpux11_abs): use format fix
12374 * fixinc/fixincl.x: regenerate
12375 * fixinc/tests/base/stdlib.h: accommodate new fix test
12376
12377 Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
12378
12379 * c-common.c (cb_register_builtins): Use really_no_inline.
12380
12381 2002-10-04 David Edelsohn <edelsohn@gnu.org>
12382
12383 * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
12384 copied instruction if the note is not loop invariant.
12385
12386 2002-10-04 Loren J. Rittle <ljrittle@acm.org>
12387
12388 * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
12389
12390 2002-10-04 Steve Ellcey <sje@cup.hp.com>
12391
12392 * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
12393 and -mhp-ld options to list of options. Add -mgnu-ld
12394 and -mhp-ld option descriptions.
12395
12396 2002-10-04 Steve Ellcey <sje@cup.hp.com>
12397
12398 * fixinc/inclhack.def (hpux11_abs): New.
12399 (stdio_va_list): change __va_list__ to __gnuc_va_list.
12400 * fixinc/fixincl.x: Rebuild.
12401
12402 2002-10-04 Roger Sayle <roger@eyesopen.com>
12403
12404 * config/i386/i386.h (processor_costs): Add new fields fadd,
12405 fmul, fdiv, fabs, fchs and fsqrt to costs structure.
12406 (RTX_COSTS): Use these fields to determine the RTX costs
12407 of floating point addition/subtraction, multiplication,
12408 division, fabs, negation and square root respectively.
12409 * config/i386/i386.c (size_cost): Provide instruction sizes
12410 for these new fields.
12411 (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
12412 k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
12413 counts for these new fields for all x86 processor variants.
12414
12415 2002-10-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12416
12417 * mips.c (mips_const_double_ok): Delete unused variable.
12418
12419 * gengtype.c (rtx_next): Change type to int.
12420
12421 2002-10-04 Andreas Jaeger <aj@suse.de>
12422
12423 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
12424
12425 2002-10-04 Richard Henderson <rth@redhat.com>
12426
12427 * real.h (SIGNIFICAND_BITS): Add one more word.
12428 (CONST_DOUBLE_FORMAT): Accomodate 6 words.
12429 * real.c (times_pten): New.
12430 (real_to_decimal, real_from_string): Use it.
12431 (sticky_rshift_significand): Use & to find modulus.
12432 (rshift_significand, lshift_significand): Likewise.
12433 (do_divide): Apply sticky bit after normalization.
12434 (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
12435
12436 2002-10-03 Andreas Bauer <baueran@in.tum.de>
12437
12438 * doc/tm.texi (FUNCTION_OK_FOR_SIBCALL): Remove.
12439 (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
12440
12441 2002-10-03 Andreas Jaeger <aj@suse.de>
12442
12443 * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
12444 to unsigned long, adjust printf format string.
12445 (output_mangled_typename): Likewise.
12446
12447 2002-10-03 Jason Thorpe <thorpej@wasabisystems.com>
12448
12449 * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
12450 * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
12451 (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
12452 assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
12453 (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
12454 (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
12455 * config/vax/elf.h (FUNCTION_PROFILER): Remove.
12456 (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
12457
12458 2002-10-03 Mark Mitchell <mark@codesourcery.com>
12459
12460 * doc/invoke.texi (-Wabi): Document mangling bug.
12461
12462 2002-10-04 Alan Modra <amodra@bigpond.net.au>
12463
12464 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
12465 name for the tbtab label that depends on the function asm name.
12466 Don't output tbtab label unless optional_tbtab.
12467 (output_mi_thunk): Formatting.
12468
12469 2002-10-03 Richard Henderson <rth@redhat.com>
12470
12471 * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
12472 * config/m68k/m68k.c (override_options): ... here.
12473 * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
12474 * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
12475 * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
12476 * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
12477
12478 2002-10-03 Richard Henderson <rth@redhat.com>
12479
12480 * real.h (struct real_value): Use ENUM_BITFIELD.
12481
12482 2002-10-03 Richard Henderson <rth@redhat.com>
12483
12484 * config/i960/i960.md (call, call_value): Use emit_call_insn.
12485
12486 2002-10-03 Steve Ellcey <sje@cup.hp.com>
12487
12488 * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
12489
12490 2002-10-03 Steve Ellcey <sje@cup.hp.com>
12491
12492 * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
12493 * config/pa/pa.h (MASK_GNU_LD): New.
12494 (TARGET_GNU_LD): New.
12495 * config/pa/pa64-hpux.h (LINK_SPEC): Set based
12496 on gnu-ld and MASK_GNU_LD.
12497 (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
12498
12499 Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka <jh@suse.cz>
12500
12501 * i386.c (athlon_cost): Fix the move costs.
12502
12503 Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
12504
12505 * final.c (final): Use symbol name as function name for profiling.
12506 * profile.c (get_exec_counts): Likewise.
12507 (branch_prob): Likewise.
12508
12509 2002-10-03 Jakub Jelinek <jakub@redhat.com>
12510
12511 * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
12512
12513 2002-10-03 Jakub Jelinek <jakub@redhat.com>
12514
12515 * gcc.c (print_multi_os_directory): New variable.
12516 (option_map): Support --print-multi-os-directory.
12517 (struct prefix_list): Add os_multilib field.
12518 (multilib_os_dir): New variable.
12519 (static_specs): Add multilib_options.
12520 (find_a_file): Add multilib argument. Search in GCC or OS multilib
12521 subdirs if nonzero.
12522 (read_specs, execute): Update callers.
12523 (find_file): Likewise. Don't prefix name with multilib_dir, instead
12524 pass 1 as multilib option.
12525 (display_help): Include --print-multi-os-directory.
12526 (add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
12527 (process_command): Update callers. Handle --print-multi-os-directory.
12528 (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
12529 set.
12530 (main): Update find_a_file and add_prefix callers.
12531 Handle print_multi_os_directory.
12532 (struct mdswitchstr): New.
12533 (mdswitches, n_mdswitches): New variables.
12534 (used_arg): Add MULTILIB_DEFAULT switches too if they are not
12535 present on the command line nor their mutually incompatible
12536 switches.
12537 (default_arg): Optimize.
12538 (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
12539 array.
12540 (print_multilib_info): Only print GCC multilib dir name, not OS
12541 multilib dirname.
12542 * genmultilib: Add osdirnames parameter. Output multilib_options
12543 variable. If osdirnames is specified, output dirnames as
12544 dirname:osdirname.
12545 * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
12546 and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
12547 to compute libgcc_s soname and install path.
12548 * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
12549 SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
12550 (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
12551 argument.
12552
12553 * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
12554 (SHLIB_SLIBDIR_SUFFIXES): Remove.
12555 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
12556 ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
12557 (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
12558 and -m64.
12559 * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
12560 (SHLIB_SLIBDIR_SUFFIXES): Remove.
12561 * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
12562 (STARTFILE_ARCH_SPEC): Remove.
12563 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
12564 (SHLIB_SLIBDIR_SUFFIXES): Remove.
12565 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
12566 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
12567 (SHLIB_SLIBDIR_SUFFIXES): Remove.
12568
12569 Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka <jh@suse.cz>
12570
12571 * predict.c (choose_function_section): Avoid choice for linkonce functions.
12572
12573 Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka <jh@suse.cz>
12574
12575 * i386.md (lea to mul peep2): Fix condition.
12576
12577 2002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
12578
12579 * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
12580 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
12581
12582 2002-10-02 David Mosberger-Tang <David.Mosberger@acm.org>
12583
12584 * unwind.h (_Unwind_GetTextRelBase): Mark _C argument with
12585 attribute "unused".
12586
12587 * config/t-libunwind: Mention unwind-sjlj.c.
12588 * unwind-libunwind.c: Change #ifdef __USING_LIBUNWIND_EXCEPTIONS__
12589 to #ifndef __USING_SJLJ_EXCEPTIONS__.
12590
12591 * configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
12592 before inclusion of config.gcc, but after configuring the compiler etc.
12593 Determine default value for --enable-libunwind-exceptions based on
12594 whether the host has a libunwind library (not guaranteed to be correct,
12595 but it's a reasonable first guess and can always be overridden with an
12596 explicit --enable/disable-libunwind-exceptions.
12597 * config.gcc: For target ia64*-*-linux*, mention t-libunwind as a
12598 tmake_file when $use_libunwind_exceptions is enabled.
12599 * Makefile.in: Update comment: LIB2ADDEH is updated not just by
12600 ia64 (e.g., config/t-linux also updates it).
12601 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS]: Mention -lunwind
12602 along with the shared version of libgcc since the latter requires
12603 the former.
12604 * unwind-libunwind.c: New file.
12605 * config/t-libunwind: Ditto.
12606
12607 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
12608
12609 * config.gcc: Remove support for vax-*-vms*.
12610 * config/vax/vms.h: Remove.
12611 * config/vax/xm-vms.h: Remove.
12612 * config/vax/vax-protos.h: Remove VMS-specific code.
12613 * config/vax/vax.c: Remove VMS-specific code.
12614
12615 2002-10-02 Richard Henderson <rth@redhat.com>
12616
12617 PR opt/7124
12618 * config/i386/i386.c (ix86_register_move_cost): Increase cost
12619 for secondary_memory_needed pairs.
12620
12621 2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
12622
12623 * doc/vms.texi: Blow away false include file section.
12624
12625 2002-10-02 Roger Sayle <roger@eyesopen.com>
12626
12627 PR optimization/6627
12628 * toplev.c (force_align_functions_log): New global variable.
12629 * flags.h (force_align_functions_log): Add extern prototype.
12630 * varasm.c (assemble_start_function): Use it to force minimum
12631 function alignment.
12632 * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
12633 minimum function alignment to one byte.
12634 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
12635 the least significant bit of vtable member function pointers.
12636 * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
12637 here from cp/cp-tree.h.
12638
12639 Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
12640
12641 * i386.c (print_operand_address): Use RIP addressing for offsetted
12642 label refs too.
12643
12644 2002-09-30 David S. Miller <davem@redhat.com>
12645
12646 PR middle-end/7151
12647 * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
12648 (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
12649
12650 2002-10-01 Andreas Bauer <baueran@in.tum.de>
12651
12652 * calls.c (expand_call): Remove the `no indirect check'
12653 for sibcall optimization; use function_ok_for_sibcall
12654 target hook; refine check for `function is volatile'.
12655 (FUNCTION_OK_FOR_SIBCALL): Remove the redefinition.
12656 * hooks.c (hook_tree_tree_bool_false): New.
12657 * hooks.h (hook_tree_tree_bool_false): Declare.
12658 * target-def.h (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
12659 (TARGET_INITIALIZER): Add it.
12660 * target.h (struct gcc_target): Add function_ok_for_sibcall.
12661 * config/alpha/alpha.c: (alpha_function_ok_for_sibcall): New.
12662 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12663 * config/alpha/alpha.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12664 * config/arm/arm-protos.h: (arm_function_ok_for_sibcall):
12665 Remove function declaration.
12666 * config/arm/arm.c: (arm_function_ok_for_sibcall): Make
12667 function static and accept another argument of type `tree'.
12668 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12669 * config/arm/arm.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12670 * config/frv/frv.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12671 * config/i386/i386.c: (ix86_function_ok_for_sibcall): New.
12672 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12673 * config/i386/i386.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12674 * config/pa/pa-linux.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12675 (TARGET_HAS_STUBS_AND_ELF_SECTIONS): New definition.
12676 * config/pa/pa.c: (pa_function_ok_for_sibcall): New.
12677 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12678 * config/pa/pa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12679 * config/rs6000/rs6000-protos.h: (function_ok_for_sibcall):
12680 Remove function declaration.
12681 * config/rs6000/rs6000.c: (rs6000_function_ok_for_sibcall):
12682 Rename function_ok_for_sibcall to rs6000_function_ok_for_sibcall;
12683 rename first argument to `decl'; accept another argument
12684 of type `tree'; make static.
12685 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12686 * config/rs6000/rs6000.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12687 * config/sh/sh.c: (sh_function_ok_for_sibcall): New.
12688 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12689 * config/sh/sh.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12690 * config/sparc/sparc.c: (sparc_function_ok_for_sibcall): New.
12691 (TARGET_FUNCTION_OK_FOR_SIBCALL): Redefine accordingly.
12692 * config/sparc/sparc.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12693 * config/xtensa/xtensa.h: (FUNCTION_OK_FOR_SIBCALL): Remove.
12694
12695 2002-10-01 Roger Sayle <roger@eyesopen.com>
12696
12697 * unroll.c (loop_iterations): Revert 2002-09-08 change.
12698
12699 2002-10-01 Richard Henderson <rth@redhat.com>
12700
12701 * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
12702 (real_to_hexadecimal): Likewise.
12703 * print-rtl.c (print_rtx): If we are linked with real.c, don't
12704 dump the XWINT fields of a floating point CONST_DOUBLE.
12705
12706 2002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
12707
12708 * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
12709
12710 2002-10-01 Richard Henderson <rth@redhat.com>
12711
12712 * calls.c (precompute_register_parameters): Force non-legitimate
12713 constants into pseudos.
12714
12715 2002-10-01 Nick Clifton <nickc@redhat.com>
12716
12717 * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
12718 to assembler template.
12719
12720 2002-10-01 Richard Henderson <rth@redhat.com>
12721
12722 * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
12723 for TLS debug info to !DECL_EXTERNAL.
12724
12725 2002-10-01 Matt Thomas <matt@3am-software.com>
12726 Jason Thorpe <thorpej@wasabisystems.com>
12727
12728 * config.gcc (vax-*-netbsdelf*): Enable configuration.
12729 * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
12730 if not already defined.
12731 * config/vax/elf.h: New file.
12732 * config/vax/netbsd-elf.h: New file.
12733 * config/vax/vax.c: Include "debug.h".
12734 (vax_output_function_prologue): Add dwarf2 support. Use
12735 MAIN_NAME_P when checking for VMS_TARGET stack adjust.
12736 * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
12737 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
12738 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
12739 (VAX_ISTREAM_SYNC): Remove.
12740 (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
12741 (JUMP_TABLES_IN_TEXT_SECTION): Define.
12742 (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
12743 (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
12744 and assemble_name.
12745 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
12746 (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
12747 (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
12748 (INCOMING_RETURN_ADDR_RTX): Define.
12749 * config/vax/vax.md (VUNSPEC_BLOCKAGE)
12750 (VUNSPEC_SYNC_ISTREAM): Define.
12751 (blockage): Use VUNSPEC_BLOCKAGE.
12752 (sync_istream): New insn.
12753
12754 2002-10-01 Richard Henderson <rth@redhat.com>
12755
12756 * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
12757 (*call_value_pop, call, call_value): Add dwarf2 EH support.
12758 (*call): New insn.
12759
12760 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
12761
12762 PR c/8083
12763 * c-typeck.c (build_c_cast): Warn about type punning which breaks
12764 type based aliasing.
12765
12766 2002-10-01 Mark Mitchell <mark@codesourcery.com>
12767
12768 * stor-layout.c (update_alignment_for_field): New function.
12769 (place_union_field): Use it.
12770 (place_field): Likewise.
12771
12772 2002-10-01 Nathan Sidwell <nathan@codesourcery.com>
12773
12774 PR other/8077
12775 * gcc.c (cc1_options): Add space on -auxbase-strip.
12776
12777 2002-10-01 Jim Wilson <wilson@redhat.com>
12778
12779 * config/v850/v850.h (EPILOGUE_USES): Define.
12780
12781 2002-09-30 Andrew Haley <aph@redhat.com>
12782
12783 * flow.c (insn_dead_p): When using non-call-exceptions, don't
12784 eliminate insns that may trap.
12785 * cse.c (insn_live_p): Likewise.
12786
12787 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12788
12789 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
12790 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
12791 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
12792 * config/mips/mips.md: Apply same renaming here.
12793
12794 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12795
12796 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
12797 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
12798 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
12799 * config/mips/mips.md (define_attr cpu): Remove r4320.
12800 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
12801
12802 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12803
12804 * config/mips/mips.c (mips16_strings): New variable.
12805 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
12806 symbol in mips16_strings. Free the list.
12807 (mips_encode_section_info): Keep track of local strings.
12808
12809 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12810
12811 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
12812 (sordered_df, sordered_sf): Remove.
12813 * config/mips/mips.c (get_float_compare_codes): New fn.
12814 (gen_int_relational, gen_conditional_move): Use it.
12815
12816 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
12817
12818 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
12819 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
12820 * config/mips/mips.c (fcc_register_operand): New function.
12821 (mips_emit_fcc_reload): New function, extracted from reload_incc.
12822 (override_options): Allow TFmode values in float registers
12823 if ISA_HAS_8CC.
12824 * cnfig/mips/mips.md (reload_incc): Change destination prediate
12825 to fcc_register_operand. Remove misleading source constraint.
12826 Use mips_emit_fcc_reload.
12827 (reload_outcc): Duplicate reload_incc.
12828
12829 2002-09-30 Zack Weinberg <zack@codesourcery.com>
12830
12831 * gcc.c (validate_switches): Handle all new forms of spec
12832 syntax introduced recently. Now returns a char *.
12833 (validate_all_switches): Repetitive logic broken out to...
12834 (validate_switches_from_spec): ...here.
12835 * mklibgcc.in: Don't @-flag commands to generate .oS files.
12836
12837 2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
12838
12839 * longlong.h: Partially synchronize with GMP-4.1 version:
12840 Use i370 definitions also for s390.
12841 Add generic definition of umul_ppmm in terms of smul_ppmm.
12842 [s390] (umul_ppmm): Remove.
12843 [s390] (smul_ppmm): Fix incorrect assembler constraints.
12844 [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
12845
12846 2002-09-30 Bob Wilson <bob.wilson@acm.org>
12847
12848 * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
12849 Add new RL_REGS register class.
12850 (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
12851 Call xtensa_preferred_reload_class for both input and output reloads.
12852 * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
12853 (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
12854 instead of either AR_REGS or GR_REGS classes.
12855 (xtensa_secondary_reload_class): Use new RL_REGS class.
12856 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
12857
12858 2002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
12859
12860 * pa.c (hppa_encode_label): Don't drop '*' from function labels.
12861 (pa_strip_name_encoding): Strip '@' and '*', in that order.
12862 * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
12863 there is a '*' prefix in NAME.
12864
12865 Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
12866
12867 * reload.c (push_reload): Handle subregs and secondary memory.
12868 * reload1.c (gen_reload): Likewise.
12869
12870 * jump.c (reg_or_subregno): New function.
12871 * rtl.h (reg_or_subregno): Declare
12872 * unroll.c (find_splittable_givs): Handle subregs.
12873
12874 2002-09-30 Mark Mitchell <mark@codesourcery.com>
12875
12876 * store-layout.c (finish_record_layout): Add free_p parameter.
12877 (layout_type): Pass it.
12878 * tree.h (finish_record_layout): Update prototype.
12879
12880 Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
12881
12882 * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
12883
12884 * gcse.c (cprop_jump): Check that the register has not
12885 been modified
12886 (cprop_jump): Likewise.
12887
12888 2002-09-30 Richard Earnshaw <rearnsha@arm.com>
12889
12890 * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
12891 (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
12892 that we have a SImode access, and only then if reload hasn't completed;
12893 for all other cases, use LO_REGS.
12894
12895 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12896
12897 * openbsd.h: Fix typo in last change.
12898
12899 2002-09-29 Richard Henderson <rth@redhat.com>
12900
12901 * real.c (real_from_string): Apply sign last. Tidy exponent handling.
12902
12903 2002-09-29 Richard Henderson <rth@redhat.com>
12904
12905 PR c/8002
12906 * combine.c (force_to_mode): Handle FLOAT_MODE destinations
12907 for CONST_INT.
12908
12909 2002-09-29 David Edelsohn <edelsohn@gnu.org>
12910
12911 * real.h (ibm_extended_format): Declare.
12912 * real.c (encode_ibm_extended, decode_ibm_extended): New
12913 functions.
12914
12915 2002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12916
12917 * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
12918
12919 * ia64.c (ia64_hpux_asm_file_end): Const-ify.
12920
12921 2002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
12922
12923 * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
12924
12925 2002-09-29 Kazu Hirata <kazu@cs.umass.edu>
12926
12927 * builtins.def: Fix comment formatting.
12928 * c-common.def: Likewise.
12929 * cfgcleanup.c: Likewise.
12930 * combine.c: Likewise.
12931 * gengtype.c: Likewise.
12932 * params.def: Likewise.
12933 * predict.def: Likewise.
12934 * rtl.def: Likewise.
12935 * stab.def: Likewise.
12936 * stor-layout.c: Likewise.
12937 * tree.def: Likewise.
12938 * config/darwin.c: Likewise.
12939 * config/darwin.h: Likewise.
12940 * config/dbxcoff.h: Likewise.
12941 * config/elfos.h: Likewise.
12942 * config/fp-bit.c: Likewise.
12943 * config/freebsd-spec.h: Likewise.
12944 * config/interix.h: Likewise.
12945 * config/libgloss.h: Likewise.
12946 * config/linux-aout.h: Likewise.
12947 * config/linux.h: Likewise.
12948 * config/lynx-ng.h: Likewise.
12949 * config/lynx.h: Likewise.
12950 * config/netbsd-aout.h: Likewise.
12951 * config/netbsd.h: Likewise.
12952 * config/netware.h: Likewise.
12953 * config/psos.h: Likewise.
12954 * config/ptx4.h: Likewise.
12955
12956 2002-09-28 Kazu Hirata <kazu@cs.umass.edu>
12957
12958 * ChangeLog.4: Fix typos.
12959 * ChangeLog.6: Likewise.
12960 * FSFChangeLog.10: Likewise.
12961 * genattrtab.c: Fix comment typos.
12962 * haifa-sched.c: Likewise.
12963 * real.c: Likewise.
12964 * tree.h: Likewise.
12965 * config/arm/arm.c: Likewise.
12966 * config/arm/crti.asm: Likewise.
12967 * config/arm/crtn.asm: Likewise.
12968 * config/frv/frv.c: Likewise.
12969 * config/frv/frv.md: Likewise.
12970 * config/h8300/h8300.md: Likewise.
12971 * config/i386/rtemself.h: Likewise.
12972 * config/ia64/unwind-ia64.c: Likewise.
12973 * config/ip2k/ip2k.h: Likewise.
12974 * config/m88k/m88k.c: Likewise.
12975 * config/m88k/m88k.md: Likewise.
12976 * config/mips/sr71k.md: Likewise.
12977 * config/mmix/mmix.c: Likewise.
12978 * config/rs6000/rs6000.c: Likewise.
12979 * config/sh/sh.md: Likewise.
12980
12981 2002-09-26 Theodore A. Roth <troth@verinet.com>
12982
12983 * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
12984 * config/avr/avr.md: Ditto.
12985
12986 2002-09-27 Alexander N. Kabaev <ak03@gte.com>
12987
12988 PR preprocessor/8055
12989 * cppmacro.c (stringify_arg): Do not overflow the buffer
12990 with the terminating NUL when the argument to be stringified
12991 has no tokens.
12992
12993 2002-09-27 Richard Henderson <rth@redhat.com>
12994
12995 * unroll.c (simplify_cmp_and_jump_insns): New.
12996 (unroll_loop): Use it. Use simplify_gen_foo+force_operand
12997 instead of expand_simple_foo.
12998
12999 2002-09-27 Richard Henderson <rth@redhat.com>
13000
13001 PR optimization/7520
13002 * cfganal.c (flow_active_insn_p): New.
13003 (forwarder_block_p): Use it.
13004
13005 2002-09-27 Richard Henderson <rth@redhat.com>
13006
13007 * emit-rtl.c (active_insn_p): Revert last change.
13008
13009 2002-09-27 Jakub Jelinek <jakub@redhat.com>
13010
13011 * doc/extend.texi (tls_model): Document.
13012 * varasm.c (decl_tls_model): New.
13013 * c-common.c (handle_tls_model_attribute): New.
13014 (c_common_attribute_table): Add tls_model.
13015 * config/alpha/alpha.c (alpha_encode_section_info): Use
13016 decl_tls_model.
13017 * flags.h (enum tls_model, flag_tls_default): Move...
13018 * tree.h (enum tls_model, flag_tls_default): ...here.
13019 (decl_tls_model): New prototype.
13020 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
13021 * config/i386/i386.c (ix86_encode_section_info): Likewise.
13022 * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
13023 Allow !flag_pic.
13024
13025 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
13026
13027 * LANGUAGES: Follow spelling conventions.
13028 * rtl.def: Likewise.
13029 * sbitmap.c: Likewise.
13030 * sched-int.h: Likewise.
13031 * sched-rgn.c: Likewise.
13032 * sibcall.c: Likewise.
13033 * simplify-rtx.c: Likewise.
13034 * ssa.c: Likewise.
13035 * stab.def: Likewise.
13036 * stmt.c: Likewise.
13037 * stor-layout.c: Likewise.
13038 * target.h: Likewise.
13039 * timevar.c: Likewise.
13040 * toplev.c: Likewise.
13041 * tree-dump.c: Likewise.
13042 * tree-inline.c: Likewise.
13043 * tree.c: Likewise.
13044 * tree.def: Likewise.
13045 * tree.h: Likewise.
13046 * unroll.c: Likewise.
13047 * varasm.c: Likewise.
13048 * vmsdbgout.c: Likewise.
13049 * treelang/treelang.texi: Likewise.
13050 * treelang/treetree.c: Likewise.
13051
13052 2002-09-27 Kazu Hirata <kazu@cs.umass.edu>
13053
13054 * config/h8300/h8300.c (compute_saved_regs): Use a macro
13055 instead of a hard register number.
13056 (get_shift_alg): Use an enumerated type instead of numbers.
13057 (h8300_shift_needs_scratch_p): Likewise.
13058
13059 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
13060
13061 * varasm.c (force_data_section): Remove.
13062 (assemble_constant_align): Likewise.
13063 * output.h: Remove corresponding prototypes.
13064
13065 2002-09-26 Roger Sayle <roger@eyesopen.com>
13066
13067 * stmt.c (expand_exit_loop_if_false): Expand a simple conditional
13068 jump, if the loop to exit is the top of the current nesting stack.
13069
13070 2002-09-26 Torbjorn Granlund <tege@swox.com>
13071
13072 * libgcc2.c (fixunsdfdi, fixunssfdi): Rewrite, avoiding `long long'
13073 arithmetic.
13074
13075 2002-09-26 David S. Miller <davem@redhat.com>
13076
13077 PR optimization/7335
13078 * calls.c (emit_library_call_value_1): Passing args by reference
13079 converts a CONST function into a PURE one.
13080
13081 2002-09-26 David Edelsohn <edelsohn@gnu.org>
13082
13083 * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
13084 text_section.
13085 * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
13086 text section.
13087 * config/rs6000/rs6000.c (rs6000_override_options): Allow
13088 function-sections and data-sections functionality on AIX.
13089
13090 2002-09-26 David Edelsohn <edelsohn@gnu.org>
13091 Dale Johannesen <dalej@apple.com>
13092
13093 * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
13094 in RTL for sub-word loads from memory.
13095
13096 2002-09-26 Richard Henderson <rth@redhat.com>
13097
13098 PR c/7160
13099 * sched-deps.c (sched_analyze_insn): Make clobber insns depend
13100 on call insns.
13101
13102 2002-09-26 Richard Henderson <rth@redhat.com>
13103
13104 * emit-rtl.c (const_double_htab_eq): Remove unused variable.
13105
13106 2002-09-26 Chris Lattner <sabre@nondot.org>
13107
13108 * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
13109 handling undefined values.
13110
13111 2002-09-26 Richard Henderson <rth@redhat.com>
13112
13113 PR opt/7520
13114 * emit-rtl.c (active_insn_p): Consider a clobber of the
13115 function return value to be active even after reload.
13116
13117 2002-09-27 Alan Modra <amodra@bigpond.net.au>
13118
13119 * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
13120 by absolute loop increment, not loop increment.
13121
13122 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
13123
13124 * c-common.h: Follow spelling conventions.
13125 * cpplex.c: Likewise.
13126 * cpplib.h: Likewise.
13127 * gthr-dce.h: Likewise.
13128 * gthr-posix.h: Likewise.
13129 * optabs.c: Likewise.
13130 * output.h: Likewise.
13131 * profile.c: Likewise.
13132 * protoize.c: Likewise.
13133 * ra-rewrite.c: Likewise.
13134 * real.c: Likewise.
13135 * recog.c: Likewise.
13136 * reg-stack.c: Likewise.
13137 * regclass.c: Likewise.
13138 * regmove.c: Likewise.
13139 * reload.c: Likewise.
13140 * reload.h: Likewise.
13141 * reload1.c: Likewise.
13142 * reorg.c: Likewise.
13143 * resource.c: Likewise.
13144 * rtl.h: Likewise.
13145 * rtlanal.c: Likewise.
13146
13147 2002-09-26 Steve Ellcey <sje@cup.hp.com>
13148
13149 * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
13150 for symbol address.
13151
13152 2002-09-24 Eric Christopher <echristo@redhat.com>
13153
13154 * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
13155 * config/mips/elf64.h: Ditto.
13156
13157 2002-09-24 Eric Christopher <echristo@redhat.com>
13158
13159 * except.c (expand_builtin_extract_return_address): Handle case
13160 where Pmode != ptr_mode.
13161
13162 2002-09-26 Steve Ellcey <sje@cup.hp.com>
13163
13164 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
13165
13166 2002-09-26 Steve Ellcey <sje@cup.hp.com>
13167
13168 * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
13169
13170 2002-09-26 Igor Shevlyakov <igor@microunity.com>
13171
13172 * combine.c (simplify_set): Don't call to force_to_mode if size
13173 of integer type is larger than HOST_BITS_PER_WIDE_INT.
13174
13175 2002-09-26 Janis Johnson <janis187@us.ibm.com>
13176
13177 * Makefile.in (qmtest-g++): Fix file path.
13178
13179 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
13180
13181 * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
13182 A + (-const) on RTX level, even for unsigned types.
13183
13184 2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
13185
13186 * reload.c (dup_replacements): New function.
13187 (find_reloads): Use it to duplicate replacements at the top level
13188 of match_dup operands.
13189
13190 2002-09-26 Miles Bader <miles@gnu.org>
13191
13192 * v850.md ("length"): Change default value to 4.
13193
13194 2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
13195
13196 * ChangeLog.1: Follow spelling conventions.
13197 * ChangeLog.4: Likewise.
13198 * ChangeLog.6: Likewise.
13199 * FSFChangeLog.11: Likewise.
13200 * doc/cpp.texi: Likewise.
13201 * doc/invoke.texi: Likewise.
13202 * doc/tm.texi: Likewise.
13203
13204 2002-09-26 Nick Clifton <nickc@redhat.com>
13205
13206 * config.gcc: Add x prefix to v850e case for handling
13207 --with-cpu=v850e.
13208
13209 2002-09-25 Zack Weinberg <zack@codesourcery.com>
13210
13211 * gcc.c (input_suffix_matches, switch_matches,
13212 mark_matching_switches, process_marked_switches,
13213 process_brace_body): New functions - split from handle_braces.
13214 (handle_braces): Rewrite; handle %{S:X;T:Y;:D} syntax; accept
13215 and ignore whitespace in more places.
13216 (specs documentation comment): Document %{S:X;T:Y;:D}.
13217 Clarify other %{...} docs.
13218 * doc/invoke.texi: Document %{S:X;T:Y;:D}. Clarify other
13219 %{...} docs.
13220
13221 * config/arm/aof.h (LINK_SPEC): Change %{ov*,*} to %{ov*}.
13222 * config/rs6000/sysv4.h: Use N-way choice spec syntax.
13223
13224 2002-09-25 David S. Miller <davem@redhat.com>
13225
13226 PR target/7842
13227 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
13228 extend.
13229
13230 2002-09-25 Richard Henderson <rth@redhat.com>
13231
13232 * emit-rtl.c (const_double_htab_eq): Distinguish integer and
13233 fp CONST_DOUBLE; use real_identical.
13234
13235 2002-09-25 Mark Mitchell <mark@codesourcery.com>
13236
13237 * doc/invoke.texi: Add more -Wabi examples.
13238
13239 2002-09-25 Richard Sandiford <rsandifo@redhat.com>
13240
13241 * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
13242
13243 2002-09-24 Nathan Sidwell <nathan@codesourcery.com>
13244
13245 * profile.c (end_branch_prob): Only look for __gcov_init on
13246 weak-enabled native compilers.
13247
13248 2002-09-24 Denis Chertykov <denisc@overta.ru>
13249
13250 * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
13251 cases of optimizing "add sp,w" to "inc sp".
13252
13253 2002-09-24 Adam Nemet <anemet@lnxw.com>
13254
13255 * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
13256 epilogue for naked functions.
13257
13258 2002-09-24 Adam Nemet <anemet@lnxw.com>
13259 Nick Clifton <nickc@redhat.com>
13260
13261 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
13262 (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
13263 is defined.
13264
13265 2002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
13266
13267 * config/s390/s390.c (preferred_la_operand_p): New function.
13268 * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
13269 * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
13270 ("*la_64_cc", "*la_31_cc", splitters): ... these.
13271 ("*la_31"): Deactivate for TARGET_64BIT.
13272 ("*la_31_and", "*la_31_and_cc"): New.
13273
13274 2002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13275
13276 * real.h (real_value): Make `exp' explicitly signed.
13277
13278 2002-09-24 Kazu Hirata <kazu@cs.umass.edu>
13279
13280 * config/elfos.h: Follow spelling conventions.
13281 * config/alpha/alpha.h: Likewise.
13282 * config/arc/arc.h: Likewise.
13283 * config/arm/arm.md: Likewise.
13284 * config/avr/avr.h: Likewise.
13285 * config/cris/cris.md: Likewise.
13286 * config/d30v/d30v.h: Likewise.
13287 * config/frv/frv.c: Likewise.
13288 * config/frv/frv.h: Likewise.
13289 * config/h8300/h8300.c: Likewise.
13290 * config/h8300/h8300.h: Likewise.
13291 * config/h8300/h8300.md: Likewise.
13292 * config/i386/cygwin.h: Likewise.
13293 * config/i386/i386.h: Likewise.
13294 * config/i386/sysv3.h: Likewise.
13295 * config/i960/i960.h: Likewise.
13296 * config/ia64/ia64.h: Likewise.
13297 * config/ia64/ia64.md: Likewise.
13298 * config/ip2k/ip2k.h: Likewise.
13299 * config/m32r/m32r.h: Likewise.
13300 * config/m68k/m68k.h: Likewise.
13301 * config/m88k/m88k.h: Likewise.
13302 * config/mcore/mcore.c: Likewise.
13303 * config/mcore/mcore.h: Likewise.
13304 * config/mcore/mcore.md: Likewise.
13305 * config/mips/mips.h: Likewise.
13306 * config/mmix/mmix.h: Likewise.
13307 * config/mmix/mmix.md: Likewise.
13308 * config/ns32k/netbsd.h: Likewise.
13309 * config/ns32k/ns32k.h: Likewise.
13310 * config/ns32k/ns32k.md: Likewise.
13311 * config/pa/pa.h: Likewise.
13312 * config/romp/romp.h: Likewise.
13313 * config/rs6000/rs6000.h: Likewise.
13314 * config/rs6000/rs6000.md: Likewise.
13315 * config/sparc/sparc.h: Likewise.
13316 * config/stormy16/stormy-abi: Likewise.
13317 * config/stormy16/stormy16.h: Likewise.
13318 * config/vax/vax.h: Likewise.
13319
13320 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
13321
13322 * config/alpha/alpha.h: Remove commented-out macro
13323 definitions of HAVE_{POST|PRE}_{INC|DEC}REMENT.
13324 * config/avr/avr.h: Likewise.
13325 * config/d30v/d30v.h: Likewise.
13326 * config/dsp16xx/dsp16xx.h: Likewise.
13327 * config/i370/i370.h: Likewise.
13328 * config/i386/i386.h: Likewise.
13329 * config/i960/i960.h: Likewise.
13330 * config/m68k/m68k.h: Likewise.
13331 * config/m88k/m88k.h: Likewise.
13332 * config/mips/mips.h: Likewise.
13333 * config/ns32k/ns32k.h: Likewise.
13334 * config/pdp11/pdp11.h: Likewise.
13335 * config/romp/romp.h: Likewise.
13336 * config/rs6000/rs6000.h: Likewise.
13337 * config/s390/s390.h: Likewise.
13338 * config/sh/sh.h: Likewise.
13339 * config/sparc/sparc.h: Likewise.
13340 * config/stormy16/stormy16.h: Likewise.
13341 * config/vax/vax.h: Likewise.
13342
13343 2002-09-23 Kazu Hirata <kazu@cs.umass.edu>
13344
13345 * function.c (push_temp_slots_for_block): Remove.
13346 (push_temp_slots_for_target): Likewise.
13347 (get_target_temp_slot_level): Likewise.
13348 (set_target_temp_slot_level): Likewise.
13349 (get_first_block_beg): Likewise.
13350 * function.h: Remove corresponding prototypes.
13351
13352 2002-09-23 Zack Weinberg <zack@codesourcery.com>
13353
13354 * version.c (version_string): Now const char[].
13355 * version.h: Update to match.
13356
13357 2002-09-23 Richard Henderson <rth@redhat.com>
13358
13359 * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
13360 MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
13361 (TARGET_SWITCHES): Don't reference them.
13362 * config/i386/i386.c (override_options): Use target_flags_explicit
13363 to examine bits set by the user.
13364
13365 2002-09-23 Dale Johannesen <dalej@apple.com>
13366
13367 * dbxout.c (dbxout_parms): Set current_sym_code for params
13368 passed on stack by invisible reference.
13369
13370 2002-09-23 Richard Earnshaw <rearnsha@arm.com>
13371
13372 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
13373 at least one byte of space.
13374
13375 2002-09-23 Mark Mitchell <mark@codesourcery.com>
13376
13377 * c-common.h (flag_abi_version): Fix typo in comment.
13378 * doc/invoke.texi (flag_abi_version): Document default value.
13379
13380 2002-09-23 Hans-Peter Nilsson <hp@axis.com>
13381
13382 * doc/extend.texi (Extended Asm): Clarify that overlap between
13383 asm-declared register variables used in an asm and the asm clobber
13384 list is not allowed.
13385 * stmt.c (decl_conflicts_with_clobbers_p): New function.
13386 (expand_asm_operands): Keep track of clobbered registers. Call
13387 decl_conflicts_with_clobbers_p for each input and output operand.
13388 If no conflicts found before, also do conflict sanity check when
13389 emitting clobbers.
13390
13391 2002-09-23 Richard Henderson <rth@redhat.com>
13392
13393 * c-common.c (cpp_define_data_format): Remove.
13394 (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
13395 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
13396 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
13397 * doc/cpp.texi: Don't document them either.
13398 (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
13399 __LONG_LONG_MAX__): Document.
13400 (__TARGET_FLOAT_FORMAT__): Remove.
13401
13402 2002-09-23 Richard Henderson <rth@redhat.com>
13403
13404 * real.c (do_multiply): Normalize U before addition.
13405
13406 2002-09-23 Mark Mitchell <mark@codesourcery.com>
13407
13408 * c-common.c (flag_abi_version): New variable.
13409 * c-common.h (flag_abi_version): Declare it.
13410 * c-opts.c (missing_arg): Add -fabi-version.
13411 (c_common_decode_option): Process -fabi-version.
13412 * doc/invoke.texi (-fabi-version): Document it.
13413 (-Wabi): Add information about bit-fields in unions.
13414
13415 2002-09-22 Roger Sayle <roger@eyesopen.com>
13416
13417 * expr.c (STORE_BY_PIECES_P): New target macro.
13418 (can_store_by_pieces, store_by_pieces): Use STORE_BY_PIECES_P
13419 instead of MOVE_BY_PIECES_P.
13420 * doc/tm.texi: Document this new macro.
13421
13422 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
13423
13424 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
13425 unless -fno-pic or -fno-PIC is specified.
13426
13427 2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
13428
13429 * c-common.c (preprocessing_trad_p): Define.
13430 * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
13431 (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
13432 * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
13433 * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
13434 * pa-linux.h (CPP_PREDEFINES): Delete.
13435 (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
13436 * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
13437 * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
13438 (TARGET_OS_CPP_BUILTINS): Define.
13439 * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
13440 (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
13441 (SUBTARGET_SWITCHES): Provide default definition.
13442 (TARGET_OPTIONS): Reformat. Use N_() macro.
13443 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
13444 CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
13445 EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
13446 (TARGET_CPU_CPP_BUILTINS): Define.
13447 (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
13448 * doc/invoke.texi (msio, mwsio): Document new hppa options.
13449 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
13450 preprocessing_trad_p().
13451
13452 2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
13453
13454 * doc/install.texi: Document behavior of --with-headers and
13455 --with-libs when arguments are omitted.
13456
13457 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>
13458
13459 * dbxout.c: Follow spelling conventions.
13460 * defaults.h: Likewise.
13461 * df.c: Likewise.
13462 * diagnostic.h: Likewise.
13463 * doloop.c: Likewise.
13464 * dwarf2out.c: Likewise.
13465 * dwarfout.c: Likewise.
13466 * emit-rtl.c: Likewise.
13467 * except.c: Likewise.
13468 * explow.c: Likewise.
13469 * expmed.c: Likewise.
13470 * expr.c: Likewise.
13471 * expr.h: Likewise.
13472 * flags.h: Likewise.
13473 * flow.c: Likewise.
13474 * fold-const.c: Likewise.
13475 * function.c: Likewise.
13476 * function.h: Likewise.
13477 * gcc.c: Likewise.
13478 * gcov-io.h: Likewise.
13479 * gcov.c: Likewise.
13480 * gcse.c: Likewise.
13481 * genattrtab.c: Likewise.
13482 * genconfig.c: Likewise.
13483 * genrecog.c: Likewise.
13484 * ggc-page.c: Likewise.
13485 * ggc.h: Likewise.
13486 * global.c: Likewise.
13487 * gthr-win32.h: Likewise.
13488 * integrate.c: Likewise.
13489 * jump.c: Likewise.
13490 * langhooks.c: Likewise.
13491 * langhooks.h: Likewise.
13492 * line-map.h: Likewise.
13493 * local-alloc.c: Likewise.
13494 * longlong.h: Likewise.
13495 * loop.c: Likewise.
13496 * loop.h: Likewise.
13497
13498 Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
13499
13500 * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
13501
13502 Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
13503
13504 * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
13505 for -Os/TARGET_64BIT too.
13506
13507 2002-09-21 Kazu Hirata <kazu@cs.umass.edu>
13508
13509 * ChangeLog: Follow spelling conventions.
13510 * ChangeLog.0: Likewise.
13511 * ChangeLog.1: Likewise.
13512 * ChangeLog.2: Likewise.
13513 * ChangeLog.3: Likewise.
13514 * ChangeLog.4: Likewise.
13515 * ChangeLog.5: Likewise.
13516 * ChangeLog.6: Likewise.
13517 * FSFChangeLog.10: Likewise.
13518 * FSFChangeLog.11: Likewise.
13519 * alias.c: Likewise.
13520 * basic-block.h: Likewise.
13521 * c-aux-info.c: Likewise.
13522 * c-common.c: Likewise.
13523 * c-common.h: Likewise.
13524 * c-decl.c: Likewise.
13525 * c-format.c: Likewise.
13526 * c-semantics.c: Likewise.
13527 * c-typeck.c: Likewise.
13528 * calls.c: Likewise.
13529 * cfganal.c: Likewise.
13530 * cfgloop.c: Likewise.
13531 * collect2.c: Likewise.
13532 * combine.c: Likewise.
13533 * conflict.c: Likewise.
13534 * cppexp.c: Likewise.
13535 * cppfiles.c: Likewise.
13536 * cpphash.h: Likewise.
13537 * cppinit.c: Likewise.
13538 * cpplex.c: Likewise.
13539 * cpplib.c: Likewise.
13540 * cpplib.h: Likewise.
13541 * cppmacro.c: Likewise.
13542 * cse.c: Likewise.
13543
13544 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
13545
13546 * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
13547 LINK_SPEC.
13548 (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
13549 * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
13550 (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
13551
13552 2002-09-21 Richard Earnshaw <rearnsha@arm.com>
13553
13554 PR opt/7930
13555 * cse.c (fold_rtx): Calculate old_cost before we fold each
13556 operand.
13557
13558 2002-09-21 Richard Henderson <rth@redhat.com>
13559
13560 * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
13561 __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
13562 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
13563 __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
13564 __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
13565 * doc/cpp.texi: Don't document them.
13566
13567 2002-09-21 Richard Henderson <rth@redhat.com>
13568
13569 * c-common.c (builtin_define_float_constants): Use real_format
13570 to get the floating-point parameters.
13571
13572 2002-09-21 Richard Henderson <rth@redhat.com>
13573
13574 * real.c (struct real_format): Move to real.h.
13575 (real_format_for_mode): Rename from fmt_for_mode; update all users;
13576 initialize with ieee defaults.
13577 (real_to_target_fmt, real_from_target_fmt): New.
13578 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
13579 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
13580 ieee_quad_format, i370_single_format, i370_double_format,
13581 c4x_single_format, c4x_extended_format): Rename from s/_format//.
13582 (ieee_quad_format): Fix emin.
13583 (format_for_size, init_real_once): Remove.
13584 * real.h (struct real_format): Move from real.c.
13585 (real_format_for_mode): Declare.
13586 (real_to_target_fmt, real_from_target_fmt): Declare.
13587 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
13588 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
13589 ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
13590 i370_single_format, i370_double_format, c4x_single_format,
13591 c4x_extended_format): Declare.
13592 * toplev.c (do_compile): Don't call init_real_once.
13593
13594 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
13595 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
13596
13597 * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
13598 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
13599 * config/alpha/alpha.c (override_options): Set real_format_for_mode
13600 for VAX, if enabled.
13601
13602 * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
13603 for C4X.
13604
13605 * config/i370/i370.h (OVERRIDE_OPTIONS): New.
13606 * config/i370/i370.c (override_options): New.
13607 * config/i370/i370-protos.h: Update.
13608
13609 * config/i386/i386.c (override_options): Set real_format_for_mode
13610 for Intel 80-bit extended.
13611 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
13612
13613 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
13614 (OVERRIDE_OPTIONS): Move code...
13615 * config/i960/i960.c (i960_initialize): ... here. Set
13616 real_format_for_mode for Intel 80-bit extended.
13617
13618 * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
13619 for Intel 80-bit extended, if enabled.
13620
13621 * config/m68k/m68k.c (override_options): Set real_format_for_mode
13622 for Motorola 96-bit extended.
13623
13624 * config/vax/vax.h (OVERRIDE_OPTIONS): New.
13625 * config/vax/vax.c (override_options): New.
13626 * config/vax/vax-protos.h: Update.
13627
13628 2002-09-21 Alan Modra <amodra@bigpond.net.au>
13629
13630 * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
13631 #if TARGET_MACHO.
13632
13633 * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
13634 insns. Supply missing clobber of scratch reg.
13635
13636 2002-09-20 Kazu Hirata <kazu@cs.umass.edu>
13637
13638 * config/m32r/m32r.c: Follow spelling conventions.
13639 * config/m32r/m32r.h: Likewise.
13640 * config/m32r/m32r.md: Likewise.
13641 * config/m68k/m68k.c: Likewise.
13642 * config/m88k/m88k.c: Likewise.
13643 * config/mcore/mcore.c: Likewise.
13644 * config/mips/mips.c: Likewise.
13645 * config/mips/mips.h: Likewise.
13646 * config/mmix/mmix.c: Likewise.
13647 * config/mn10200/mn10200.c: Likewise.
13648 * config/ns32k/ns32k.h: Likewise.
13649 * config/pa/pa.c: Likewise.
13650 * config/pa/pa64-linux.h: Likewise.
13651 * config/pdp11/pdp11.h: Likewise.
13652 * config/romp/romp.c: Likewise.
13653 * config/romp/romp.h: Likewise.
13654 * config/rs6000/eabi.asm: Likewise.
13655 * config/rs6000/linux64.h: Likewise.
13656 * config/rs6000/rs6000.c: Likewise.
13657 * config/rs6000/rs6000.h: Likewise.
13658 * config/rs6000/rs6000.md: Likewise.
13659 * config/rs6000/sysv4.h: Likewise.
13660 * config/rs6000/xcoff.h: Likewise.
13661
13662 2002-09-20 Jim Wilson <wilson@redhat.com>
13663
13664 * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
13665
13666 2002-09-20 Jakub Jelinek <jakub@redhat.com>
13667
13668 * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
13669 * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
13670 UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
13671 (legitimate_address_p): Likewise.
13672 (legitimize_address): Use @gotntpoff and @indntpoff.
13673 (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
13674 (output_addr_const_extra): Likewise.
13675
13676 2002-09-20 Jim Wilson <wilson@redhat.com>
13677
13678 * combine.c (try_combine): When split an instruction pair, where the
13679 first has a sign_extend src, verify that the src and dest modes match.
13680
13681 2002-09-20 Richard Henderson <rth@redhat.com>
13682
13683 * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
13684 (override_options): Do not initialize them.
13685 (mips_const_double_ok): Allow no fp constants except zero,
13686 and not even that for mips16.
13687 (const_float_1_operand): Use dconst1.
13688 * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
13689 movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
13690 Don't allow arbitrary constants; fix predicates and C constraint.
13691
13692 2002-09-20 Neil Booth <neil@daikokuya.co.uk>
13693
13694 * cppmacro.c: Don't warn about function-like macros without
13695 '(' during pre-expansion.
13696
13697 2002-09-20 Jim Wilson <wilson@redhat.com>
13698
13699 * config/v850/v850.c (current_function_anonymous_args): Delete.
13700 (expand_prologue): Use current_function_args_info.anonymous_args.
13701 (expand_epilogue): Delete use of current_function_anonymous_args.
13702 * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
13703 (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
13704 (current_function_anonymous_args): Delete extern declaration.
13705 (SETUP_INCOMING_VARARGS): Set anonymous_args field.
13706
13707 2002-09-20 Geoffrey Keating <geoffk@apple.com>
13708
13709 * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
13710 to load_macho_picbase.
13711 * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
13712 (load_macho_picbase): Take the symbol to use as a parameter.
13713 (macho_correct_pic): New insn.
13714 (builtin_setjmp_reciever): On Darwin, restore the PIC register.
13715
13716 * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
13717 RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
13718 (CAN_ELIMINATE): Likewise.
13719 (INITIAL_ELIMINATION_OFFSET): Likewise.
13720 (TOC_REGISTER): Likewise.
13721
13722 2002-09-20 Richard Henderson <rth@redhat.com>
13723
13724 * real.c (real_hash): New.
13725 * real.h: Declare it.
13726 * cse.c (canon_hash): Use it.
13727 * cselib.c (hash_rtx): Likewise.
13728 * emit-rtl.c (const_double_htab_hash): Likewise.
13729 * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
13730 * varasm.c (struct rtx_const): Reduce vector size; separate
13731 integer and fp vectors.
13732 (HASHBITS): Remove.
13733 (const_hash_1): Rename from const_hash. Use real_hash. Do not
13734 take modulus MAX_HASH_TABLE.
13735 (const_hash): New. Do take modulus MAX_HASH_TABLE.
13736 (output_constant_def): Do not take modulus MAX_HASH_TABLE.
13737 (SYMHASH): Don't use HASHBITS.
13738 (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
13739 Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
13740 (simplify_subtraction): Fix kind comparison.
13741 (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
13742 Use a union to pun integer array.
13743 * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
13744 only hash two words of integral CONST_DOUBLE.
13745
13746 2002-09-20 Steve Ellcey <sje@cup.hp.com>
13747
13748 * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
13749 (STARTFILE_PREFIX_SPEC): New.
13750 (LINK_SPEC): Modify.
13751 (LIB_SPEC): Modify.
13752 (LIBGCC_SPEC): New.
13753
13754 2002-09-20 Jakub Jelinek <jakub@redhat.com>
13755
13756 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
13757 UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
13758
13759 2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
13760
13761 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
13762 Add clobber of the condition code register.
13763
13764 2002-09-20 Richard Henderson <rth@redhat.com>
13765
13766 * real.c (do_fix_trunc): Static.
13767 (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
13768 encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
13769 encode_i370_single, encode_i370_double, encode_c4x_single,
13770 encode_c4x_extended): Add default abort case.
13771
13772 2002-09-20 Richard Henderson <rth@redhat.com>
13773
13774 * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
13775 MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
13776 (struct realvaluetype): Remove.
13777 (REAL_VALUE_TYPE): Use struct real_value.
13778 (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
13779 (test_real_width): New.
13780 * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
13781 (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
13782 (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
13783 real_isneg, real_isnegzero, real_identical, exact_real_inverse,
13784 real_to_integer, real_to_integer2, real_to_decimal,
13785 real_to_hexadecimal, real_from_string, real_from_integer,
13786 real_inf, real_nan, real_2expN, real_convert, real_to_target,
13787 real_from_target): Likewise.
13788 * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
13789 * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
13790
13791 2002-09-20 Richard Henderson <rth@redhat.com>
13792
13793 * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
13794 IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
13795 * defaults.h: ... here.
13796 * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
13797 config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
13798 config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
13799 config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
13800
13801 2002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
13802
13803 * config/mmix/mmix.md ("negdf2"): Rewrite.
13804 ("*expanded_negdf2"): New.
13805
13806 2002-09-19 Jim Wilson <wilson@redhat.com>
13807
13808 * combine.c (simplify_set): When optimizing a subreg src with a
13809 cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
13810
13811 2002-09-19 Dale Johannesen <dalej@apple.com>
13812 * combine.c (make_extraction): Don't create
13813 invalid subreg.
13814
13815 2002-09-19 Roger Sayle <roger@eyesopen.com>
13816
13817 * tree.c (integer_nonzerop): New predicate for nonzero integers.
13818 * tree.h (integer_nonzerop): Add function prototype.
13819 * stmt.c (expand_end_loop): Don't rotate the loop when there
13820 are no instructions in the test, i.e. the loop is unconditional.
13821 (expand_exit_loop_if_false): Optimize RTL generation of loop
13822 tests when the condition is always true or always false.
13823 * c-semantics.c (genrtl_do_stmt): Optimize RTL generation of
13824 do-loops when the condition is always true.
13825 (genrtl_for_stmt): Optimize RTL generation of for-loops when
13826 the for-expression is empty.
13827
13828 2002-09-19 Zack Weinberg <zack@codesourcery.com>
13829
13830 * gcc.c (use_pipes): New flag.
13831 (process_command): Set it. Adjust check for -pipe conflicting
13832 with -time or -save-temps.
13833 (do_spec_1): Use it. Handle %|SUFFIX, %mSUFFIX, and
13834 %<SWITCH. Drop %| (without a SUFFIX).
13835 (handle_braces): Drop %{<SWITCH}, %{^SWITCH}, %{|...}.
13836 (give_switch): Third argument eliminated.
13837 (invoke_as, @assembler_with_cpp spec): Use %|.s or %m.s
13838 depending on AS_NEEDS_DASH_FOR_PIPED_INPUT.
13839 (specs documentation comment): Update.
13840
13841 * config/netbsd-aout.h, config/openbsd.h, config/ptx4.h,
13842 config/svr4.h, config/i386/freebsd-aout.h,
13843 config/m68k/netbsd-elf.h, config/m68k/netbsd.h,
13844 config/m68k/openbsd.h, config/mips/openbsd.h,
13845 config/sparc/sparc.h: Define AS_NEEDS_DASH_FOR_PIPED_INPUT
13846 instead of putting %| into ASM_SPEC and/or ASM_FINAL_SPEC.
13847 * config/avr/avr.h: Delete do-nothing ASM_FINAL_SPEC.
13848 * config/cris/cris.h: Update comment.
13849
13850 * ada/lang-specs.h: Use %(invoke_as). Straighten out
13851 error messages. Don't use %{^SWITCH}.
13852 * ada/misc.c (gnat_decode_option): Handle -I with a
13853 separate argument.
13854
13855 * f/lang-specs.h: Use %| and %m.
13856 * java/jvspec.c: Use %m and %(invoke_as). Change all
13857 uses of %{<SWITCH} to %<SWITCH.
13858
13859 * doc/invoke.texi: Update documentation of specs.
13860 * doc/tm.texi: Document AS_NEEDS_DASH_FOR_PIPED_INPUT.
13861
13862 2002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
13863
13864 * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
13865 and STRICT_LOW_PART within SET_DEST.
13866 * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
13867 splitters, replacing pre-reload splitters.
13868 ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
13869 "*zero_extendqihi2_31"): New insns.
13870 ("*zero_extendqihi2_64"): Do not clobber CC.
13871
13872 2002-09-18 Devang Patel <dpatel@apple.com>
13873
13874 * cp/cp-tree.h: New prototype for walk_vtables().
13875 * cp/decl.c (walk_vtables_r): New function.
13876 (struct cp_binding_level): Add new members, namespaces,
13877 names_size and vtables.
13878 (add_decl_to_level): Add decl in namespaces or vtables
13879 chain, if conditions match.
13880 (walk_vtables): New function.
13881 (walk_namespaces_r): Travers separate namespace chain
13882 for namespace decls.
13883 (wrapup_globals_for_namespace): Use names_size instead
13884 of list_length().
13885 * cp/decl2.c (finish_file): Use walk_vtables() instead of
13886 walk_globals() to walk vtable decls.
13887
13888 2002-09-19 Steve Ellcey <sje@cup.hp.com>
13889
13890 * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
13891 (DTORS_SECTION_ASM_OP): Ditto.
13892 (READONLY_DATA_SECTION_ASM_OP): Moved.
13893 (DATA_SECTION_ASM_OP): New.
13894 (SDATA_SECTION_ASM_OP): New.
13895 (BSS_SECTION_ASM_OP): New.
13896 (SBSS_SECTION_ASM_OP): New.
13897 (TEXT_SECTION_ASM_OP): New.
13898
13899 2002-09-19 Kazu Hirata <kazu@cs.umass.edu>
13900
13901 * config/fp-bit.c: Follow spelling conventions.
13902 * config/d30v/d30v.c: Likewise.
13903 * config/d30v/d30v.h: Likewise.
13904 * config/fr30/fr30.c: Likewise.
13905 * config/fr30/fr30.h: Likewise.
13906 * config/fr30/fr30.md: Likewise.
13907 * config/frv/frv.c: Likewise.
13908 * config/frv/frv.h: Likewise.
13909 * config/h8300/h8300.c: Likewise.
13910 * config/h8300/lib1funcs.asm: Likewise.
13911 * config/i370/i370.c: Likewise.
13912 * config/i386/i386.h: Likewise.
13913 * config/i386/i386.md: Likewise.
13914 * config/i386/pentium.md: Likewise.
13915 * config/i386/winnt.c: Likewise.
13916 * config/i960/i960.c: Likewise.
13917 * config/ia64/ia64.h: Likewise.
13918 * config/ip2k/ip2k.c: Likewise.
13919 * config/ip2k/ip2k.h: Likewise.
13920 * config/ip2k/ip2k.md: Likewise.
13921 * config/ip2k/libgcc.S: Likewise.
13922
13923 2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
13924
13925 * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
13926 (GOTOFF_P): Extend to allow gotoff plus constant.
13927
13928 2002-09-18 Richard Henderson <rth@redhat.com>
13929
13930 * ifcvt.c (noce_process_if_block): Correctly detect X modified
13931 with INSN_B before COND_EARLIEST. Don't check A and B for
13932 modification in condition range. Reorder INSN_B for A==B properly.
13933 (if_convert): Iterate until no matches for a block.
13934
13935 2002-09-18 Richard Henderson <rth@redhat.com>
13936
13937 * calls.c (store_one_arg): Rename default_align to parm_align;
13938 always adjust parm_align for downward padding.
13939
13940 2002-09-18 Richard Henderson <rth@redhat.com>
13941
13942 * toplev.c (backend_init): Move init_real_once invocation ...
13943 (do_compile): ... here.
13944
13945 2002-09-18 Richard Henderson <rth@redhat.com>
13946
13947 * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
13948 RTX_UNCHANGING_P markers for successful tail-recursive replacement.
13949
13950 2002-09-18 Richard Henderson <rth@redhat.com>
13951
13952 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
13953
13954 2002-09-19 Alan Modra <amodra@bigpond.net.au>
13955
13956 * config/rs6000/rs6000.md: (floatdisf2): Rename to
13957 floatdisf2_internal1.
13958 (floatdisf2): New define_expand.
13959 (floatdisf2_internal2): Likewise.
13960
13961 2002-09-18 Richard Henderson <rth@redhat.com>
13962
13963 * real.c (sticky_rshift_significand): Collect sticky as
13964 unsigned long, not bool.
13965
13966 2002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
13967
13968 * config/s390/s390.c (s390_address_cost): New function.
13969 config/s390/s390-protos.h (s390_address_cost): Add prototype.
13970 config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
13971 (RTX_COST): Use COSTS_N_INSNS.
13972
13973 2002-09-18 Douglas Rupp <rupp@gnat.com>
13974 Donn Terry <donnte@microsoft.com>
13975
13976 * stor-layout.c (place_field): Handle alignment of whole
13977 structures when MSVC compatible bitfields are involved.
13978 Change method of computing location of MS bitfields to
13979 be compatible with #pragma pack(n).
13980
13981 * tree.h (record_layout_info): Add new field
13982 remaining_in_alignment.
13983
13984 * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
13985 (pragma pack): Add paragraph on MSVC bitfield packing.
13986
13987 2002-09-18 Richard Earnshaw (reanrsha@arm.com)
13988
13989 PR optimization/7967
13990 * arm.md (ne_zeroextractsi): Add clobber of the condition code
13991 register.
13992
13993 2002-09-18 Kazu Hirata <kazu@cs.umass.edu>
13994
13995 * config/s390/s390.c: Follow spelling conventions.
13996 * config/sh/lib1funcs.asm: Likewise.
13997 * config/sh/sh.c: Likewise.
13998 * config/sh/sh.h: Likewise.
13999 * config/sparc/sparc.c: Likewise.
14000 * config/sparc/sparc.h: Likewise.
14001 * config/sparc/sparc.md: Likewise.
14002 * config/stormy16/stormy16.c: Likewise.
14003 * config/stormy16/stormy16.h: Likewise.
14004 * config/v850/v850.c: Likewise.
14005 * config/v850/v850.h: Likewise.
14006 * config/vax/vax.c: Likewise.
14007 * config/vax/vax.h: Likewise.
14008
14009 2002-09-18 Nick Clifton <nickc@redhat.com>
14010
14011 * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
14012 * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
14013 * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
14014
14015 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
14016
14017 * function.c (max_parm_reg_num): Remove.
14018 * stmt.c (in_control_zone_p, stmt_loop_nest_empty,
14019 drop_through_at_end_p, move_cleanups_up,
14020 expand_end_case_dummy, case_index_expr_type): Likewise.
14021 * stor-layout.c (pos_from_byte): Likewise.
14022 * tree.c (chain_member_value, chain_member_purpose, listify,
14023 tree_int_cst_msb, index_type_equal): Likewise.
14024 * tree.h: Remove prototypes for unused functions.
14025
14026 2002-09-17 Zack Weinberg <zack@codesourcery.com>
14027
14028 * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
14029 statement that the only translation is to en_UK.
14030
14031 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
14032
14033 * config/alpha/alpha.c: Follow spelling conventions.
14034 * config/alpha/alpha.h: Likewise.
14035 * config/alpha/alpha.md: Likewise.
14036 * config/arc/arc.h: Likewise.
14037 * config/arm/arm.c: Likewise.
14038 * config/arm/arm.h: Likewise.
14039 * config/arm/arm.md: Likewise.
14040 * config/arm/pe.c: Likewise.
14041 * config/arm/unknown-elf.h: Likewise.
14042 * config/avr/avr.c: Likewise.
14043 * config/avr/avr.h: Likewise.
14044 * config/c4x/c4x.c: Likewise.
14045 * config/cris/cris.c: Likewise.
14046 * config/cris/cris.h: Likewise.
14047
14048 2002-09-17 Samuel Figueroa <figueroa@apple.com>
14049
14050 * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
14051 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
14052 * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
14053
14054 2002-09-17 Dale Johannesen <dalej@apple.com>
14055
14056 * cfgcleanup.c (try_forward_edges): Do not forward a
14057 branch to just after a loop exit before loop optimization;
14058 this interfered with doloop detection.
14059
14060 2002-09-17 Nick Clifton <nickc@redhat.com>
14061
14062 * config/arm/arm.c (output_return_instruction): Do not
14063 writeback the stack pointer when it is being loaded.
14064 (arm_output_epilogue): Likewise.
14065
14066 2002-09-17 Kazu Hirata <kazu@cs.umass.edu>
14067
14068 * optabs.c (prepare_cmp_insn): Let emit_library_call_value
14069 generate a pseudo reg that receives the result of a libcall.
14070 (prepare_float_lib_cmp): Likewise.
14071
14072 2002-09-17 Steve Ellcey <sje@cup.hp.com>
14073
14074 * config/ia64/elf.h: Remove CPP_PREDEFINES.
14075
14076 Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
14077
14078 Fix PR/7014 and related objc bugs:
14079 * c-typeck.c (comp_target_types): Added a reflexive argument.
14080 Pass it to ObjC when/if calling objc_comptypes(). Updated all
14081 callers to provide the appropriate reflexive argument.
14082 * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
14083 typechecking for all cases of comparisons and assignments,
14084 particularly the obscure and less common ones involving protocols.
14085
14086 2002-09-17 Nick Clifton <nickc@redhat.com>
14087
14088 * machmode.def (V1DImode): New mode. A single element vector.
14089 * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
14090 (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
14091 * tree.c (build_common_tree_nodes_2): Build
14092 unsigned_V1DI_type_node and V1D1_type_node.
14093 * c-common.c (c_common_type_for_mode): Return
14094 unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
14095 * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
14096
14097 Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
14098
14099 * doc/objc.texi (Constant string objects): Extended documentation
14100 to make clear that the constant string class ivar layout is
14101 completely fixed.
14102
14103 2002-09-17 Roger Sayle <roger@eyesopen.com>
14104
14105 * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
14106 NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
14107
14108 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
14109
14110 * config/mips/mips.c (save_restore_insns): Remove unused variable.
14111 * gcc.c (make_relative_prefix): Likewise.
14112 * loop.c (check_final_value): Likewise.
14113 * jump.c (init_label_info): Remove return value.
14114 * cse.c (prev_insn): Move variable between #ifdef HAVE_cc0 ... #endif.
14115
14116 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14117
14118 * dsp16xx.h (ASM_FORMAT_PRIVATE_NAME): Delete.
14119 (ASM_PN_FORMAT): Define.
14120
14121 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14122
14123 * alpha.h, alpha/vms.h, arc.h, arm/aof.h, arm/aout.h, avr.h,
14124 c4x.h, cris.h, d30v.h, fr30.h, frv.h, h8300.h, i370.h, i386.h,
14125 i960.h, ia64.h, ip2k.h, m32r.h, m68hc11.h, m68k/3b1.h,
14126 m68k/hp320.h, m68k.h, m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h,
14127 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
14128 pa.h, pdp11.h, romp.h, rs6000.h, s390/linux.h, sh.h, sparc.h,
14129 stormy16.h, v850.h, vax.h, xtensa.h (ASM_FORMAT_PRIVATE_NAME):
14130 Delete.
14131 * alpha/vms.h, h8300.h, i370.h, ia64.h, m68k/3b1.h, m68k/hp320.h,
14132 m68k/mot3300.h, m68k/sgs.h, m68k/tower-as.h, mmix.h, mn10200.h,
14133 mn10300.h, pa.h, v850.h (ASM_PN_FORMAT): Define.
14134
14135 * defaults.h (ASM_PN_FORMAT, ASM_FORMAT_PRIVATE_NAME): Define.
14136 * doc/tm.texi (ASM_FORMAT_PRIVATE_NAME): Update documentation.
14137
14138 2002-09-16 Richard Henderson <rth@redhat.com>
14139
14140 * expr.c (emit_block_move): Set memory block size as appropriate
14141 for the copy.
14142
14143 2002-09-16 Richard Henderson <rth@redhat.com>
14144
14145 PR fortran/3924
14146 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
14147
14148 2002-09-16 Richard Henderson <rth@redhat.com>
14149
14150 * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
14151 as well as OFFSET for BITPOS.
14152
14153 2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
14154
14155 * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
14156 * config/i386/i386.c (processor_alias_table): Add winchip-c6,
14157 winchip2 and c3.
14158 * doc/invoke.texi: Mention new aliases.
14159
14160 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
14161
14162 * calls.c (store_one_arg): Set default alignment for BLKmode arguments
14163 to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
14164 downward.
14165 * function.c (pad_below): Always compile.
14166 (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
14167 alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
14168 Pad below when the argument is not in a register and the padding
14169 direction is downward.
14170
14171 * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
14172 (PAD_VARARGS_DOWN): Define.
14173 * pa.c (function_arg_padding): Revise padding directions to make them
14174 compatible with the 32 and 64-bit runtime architecture documentation.
14175 (hppa_va_arg): Add code to handle variable and size zero arguments
14176 passed by reference on TARGET_64BIT. Reformat.
14177 (function_arg): Use a PARALLEL for BLKmode and aggregates args on
14178 TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
14179 wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
14180 Add comments.
14181 * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
14182 (RETURN_IN_MEMORY): Return size zero types in memory.
14183 (FUNCTION_VALUE): Return TFmode in general registers.
14184 (MUST_PASS_IN_STACK): Define.
14185 (FUNCTION_ARG_BOUNDARY): Simplify.
14186 (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
14187 by reference.
14188 (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
14189
14190 2002-09-16 Richard Henderson <rth@redhat.com>
14191
14192 * real.c (do_fix_trunc): New.
14193 (real_arithmetic): Call it.
14194 * simplify-rtx.c (simplify_unary_operation): Handle FIX
14195 with a floating-point result mode.
14196
14197 2002-09-16 Richard Henderson <rth@redhat.com>
14198
14199 * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
14200 (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
14201 * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
14202 (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
14203 * builtins.c (fold_builtin_nan): New.
14204 (fold_builtin): Call it.
14205 * real.c (real_nan): Parse a non-empty string.
14206 (round_for_format): Fix NaN significand truncation.
14207 * real.h (real_nan): Return bool.
14208 * doc/extend.texi: Document new builtins.
14209
14210 2002-09-16 Jason Merrill <jason@redhat.com>
14211 Danny Smith <dannysmith@users.sourceforge.net>
14212
14213 * config/i386/winnt.c (ix86_handle_dll_attribute): Set
14214 DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
14215 (i386_pe_mark_dllimport): Not here.
14216
14217 2002-09-16 Nathan Sidwell <nathan@codesourcery.com>
14218
14219 * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
14220
14221 2002-09-16 Geoffrey Keating <geoffk@redhat.com>
14222
14223 * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
14224 warnings about unused operands when HOST_BITS_PER_WIDE_INT is
14225 < 64.
14226 (rs6000_emit_cmove): Use real_isinf not target_isinf.
14227
14228 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
14229
14230 * calls.c (emit_library_call_value_1): Don't refer to
14231 hard_libcall_value.
14232 * optabs.c (prepare_float_lib_cmp): Likewise.
14233
14234 2002-09-16 Geoffrey Keating <geoffk@apple.com>
14235
14236 * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
14237 mangling.
14238
14239 The following changes are merged from pch-branch:
14240
14241 * doc/gty.texi (GTY Options): Document %a.
14242 * gengtype.c (do_scalar_typedef): New function.
14243 (process_gc_options): Handle `length' option.
14244 (set_gc_used_type): A pointer to an array of structures doesn't
14245 qualify as a pointer to a structure.
14246 (output_escaped_param): Add `%a' escape.
14247 (write_gc_structure_fields): Allow 'desc' on array of unions.
14248 (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
14249 do_scalar_typedef.
14250
14251 * gengtype.c (enum rtx_code): Make global.
14252 (rtx_format): Make global.
14253 (rtx_next): New.
14254 (gen_rtx_next): New.
14255 (write_rtx_next): New.
14256 (adjust_field_rtx_def): Skip fields marked by chain_next.
14257 (open_base_files): Delete redundant prototype.
14258 (write_enum_defn): New.
14259 (output_mangled_typename): Correct abort call.
14260 (write_gc_marker_routine_for_structure): Handle chain_next and
14261 chain_prev options.
14262 (finish_root_table): Don't output redundant \n.
14263 (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
14264 * c-tree.h (union lang_tree_node): Add chain_next option.
14265
14266 * gengtype.h (NUM_PARAM): New definition.
14267 (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
14268 * gengtype.c (find_param_structure): New.
14269 (adjust_field_type): Handle param<n>_is option.
14270 (process_gc_options): Detect use_params option. Update callers.
14271 (set_gc_used_type): Add 'param' parameter, update callers. Handle
14272 'use_params' option.
14273 (open_base_files): Add splay-tree.h to list of files included.
14274 (output_mangled_typename): New.
14275 (write_gc_structure_fields): Update 'param' parameter to support
14276 multiple parameters. Change name mangling. Allow parameterized
14277 fields to have an apparent scalar type. Handle param<n>_is options,
14278 use_param option.
14279 (write_gc_marker_routine_for_structure): Update for change to name
14280 mangling. Better guess the output file for parameterized types.
14281 (write_gc_types): Update for change to name mangling.
14282 (write_gc_root): Update for change to name mangling. Handle (ignore)
14283 param<n>_is options.
14284 * doc/gty.texi (GTY Options): Add description of param<n>_is
14285 options, use_params option.
14286 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
14287 * gengtype-lex.l: Produce token for param<n>_is.
14288 * gengtype-yacc.y: Parse param<n>_is.
14289
14290 * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
14291
14292 * rtl.c: Update comment describing rtx_format.
14293 * rtl.h (union rtunion): Separate definition and typedef.
14294 (struct rtx_def): Use gengtype to mark.
14295 * Makefile.in (gengtype.o): Also depend on rtl.def.
14296 * ggc.h (ggc_mark_rtx_children): Delete prototype.
14297 (ggc_mark_rtx): Change to alias of gengtype-generated routine.
14298 * ggc-common.c (ggc_mark_rtx_children): Delete.
14299 (ggc_mark_rtx_children_1): Delete.
14300 (gt_ggc_m_rtx_def): Delete.
14301 * gengtype.c (adjust_field_rtx_def): New.
14302 (adjust_field_type): Call adjust_field_rtx_def.
14303 (write_gc_structure_fields): Add 'default' case to switch if none
14304 is specified; remove unused code.
14305
14306 * tree.h (struct tree_exp): Update for change to meaning
14307 of special.
14308 * gengtype.c (adjust_field_tree_exp): New function.
14309 (adjust_field_type): Handle `tree_exp' special here.
14310 (write_gc_structure_fields): Don't handle `tree_exp' special here.
14311 Handle new `dot' option.
14312
14313 * gengtype.h: Make `info' a pointer-to-const.
14314 * gengtype-yacc.y (yacc_ids): Use xasprintf.
14315
14316 * gengtype.c (write_gc_structure_fields): Remove implementation
14317 of `always' option, add `default' option.
14318 * doc/gty.texi (GTY Options): Remove documentation of `always',
14319 add `default'.
14320
14321 2002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
14322
14323 * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
14324
14325 2002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14326
14327 * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
14328
14329 * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
14330 instead of the *-protos.h file directly.
14331 * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
14332 * darwin.c (machopic_output_stub): Move prototype ...
14333 * darwin-protos.h (machopic_output_stub): ... here.
14334 * rs6000-protos.h (machopic_output_stub): Don't declare.
14335
14336 2002-09-16 Richard Henderson <rth@redhat.com>
14337
14338 * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
14339
14340 2002-09-16 Richard Henderson <rth@redhat.com>
14341
14342 * real.c, real.h: Rewrite from scratch.
14343
14344 * Makefile.in (simplify-rtx.o): Depend on TREE_H.
14345 (paranoia): New target.
14346 * builtins.c (fold_builtin_inf): Use new real.h interface.
14347 * c-common.c (builtin_define_with_hex_fp_value): Likewise.
14348 * c-lex.c (interpret_float): Likewise.
14349 * emit-rtl.c (gen_lowpart_common): Likewise.
14350 * optabs.c (expand_float): Use real_2expN.
14351 * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
14352 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
14353 (FLOAT_WORDS_BIG_ENDIAN): New.
14354 * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
14355 directly to REAL_VALUE_NEGATIVE.
14356 * loop.c (canonicalize_condition): Likewise.
14357 * simplify-rtx.c: Include tree.h.
14358 (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
14359 with floating-point result modes.
14360 * toplev.c (backend_init): Call init_real_once.
14361
14362 * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
14363 * tree.c (build_real): Likewise.
14364 * config/alpha/alpha.c, config/vax/vax.c (float_strings,
14365 float_values, inited_float_values, check_float_value): Remove.
14366 * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
14367 config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
14368 * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
14369 (VAX_HALFWORD_ORDER): Remove.
14370
14371 2002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
14372
14373 * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
14374 (s390_load_address): ... this new function.
14375 (s390_decompose_address): Allow the argument pointer and all
14376 virtual registers as 'pointer' registers.
14377 (s390_expand_plus_operand): Use s390_load_address.
14378 config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
14379 ("force_la_31"): New insn pattern.
14380 config/s390/s390-protos.h (legitimize_la_operand): Remove.
14381 (s390_load_address): Add prototype.
14382
14383 * config/s390/s390.c: Include "optabs.h".
14384 (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
14385 config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
14386 s390_expand_cmpstr): Add prototypes.
14387 config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
14388 ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
14389 for operands 0 and 1 to "memory_operand". Add type attribute.
14390 ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
14391 for operands 0 and 1 to "memory_operand". Add type attribute.
14392 ("movstrdi_long", "movstrsi_long"): Remove.
14393 ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
14394 ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
14395 ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
14396 ("clrstrsico"): Remove, replace by ...
14397 ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
14398 ("clrstrsi_64"): Rename to "clrstr_long_64".
14399 ("clrstrsi_31"): Rename to "clrstr_long_31".
14400 ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
14401 ("cmpstr_const"): Remove, replace by ...
14402 ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
14403 ("cmpstr_64"): Rename to "cmpstr_long_64".
14404 ("cmpstr_31"): Rename to "cmpstr_long_31".
14405
14406 2002-09-16 Kazu Hirata <kazu@cs.umass.edu>
14407
14408 * ABOUT-NLS: Follow spelling conventions.
14409 * ChangeLog: Likewise.
14410 * ChangeLog.1: Likewise.
14411 * ChangeLog.2: Likewise.
14412 * ChangeLog.3: Likewise.
14413 * ChangeLog.4: Likewise.
14414 * ChangeLog.5: Likewise.
14415 * ChangeLog.6: Likewise.
14416 * FSFChangeLog.10: Likewise.
14417 * FSFChangeLog.11: Likewise.
14418 * c-common.c: Likewise.
14419 * c-lex.c: Likewise.
14420 * c-objc-common.c: Likewise.
14421 * cppexp.c: Likewise.
14422 * cppinit.c: Likewise.
14423 * cpplex.c: Likewise.
14424 * doloop.c: Likewise.
14425 * flow.c: Likewise.
14426 * function.c: Likewise.
14427 * integrate.c: Likewise.
14428 * loop.c: Likewise.
14429 * reg-stack.c: Likewise.
14430 * reload.h: Likewise.
14431 * ssa.c: Likewise.
14432
14433 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14434
14435 * Makefile.in (vmsdbgout.o): Depend on $(TARGET_H)
14436 * vmsdbgout.c: Include "target.h".
14437
14438 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
14439
14440 * ChangeLog: Follow spelling conventions.
14441 * ChangeLog.0: Likewise.
14442 * ChangeLog.1: Likewise.
14443 * ChangeLog.2: Likewise.
14444 * ChangeLog.4: Likewise.
14445 * ChangeLog.6: Likewise.
14446 * config.gcc: Likewise.
14447 * dwarfout.c: Likewise.
14448 * reload1.c: Likewise.
14449 * simplify-rtx.c: Likewise.
14450 * unwind-sjlj.c: Likewise.
14451 * config/avr/avr.h: Likewise.
14452 * config/d30v/d30v.h: Likewise.
14453 * config/frv/frv.c: Likewise.
14454 * config/frv/frv.h: Likewise.
14455 * config/ip2k/ip2k.h: Likewise.
14456 * config/m88k/m88k-move.sh: Likewise.
14457 * config/stormy16/stormy16.c: Likewise.
14458 * config/stormy16/stormy16.h: Likewise.
14459 * doc/extend.texi: Likewise.
14460 * doc/interface.texi: Likewise.
14461 * doc/invoke.texi: Likewise.
14462 * doc/md.texi: Likewise.
14463 * doc/rtl.texi: Likewise.
14464 * doc/tm.texi: Likewise.
14465 * doc/trouble.texi: Likewise.
14466 * ginclude/float.h: Likewise.
14467 * treelang/treelang.texi: Likewise.
14468
14469 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14470
14471 * i386-protos.h (i386_pe_dllexport_name_p,
14472 i386_pe_dllimport_name_p, i386_pe_unique_section,
14473 i386_pe_declare_function_type, i386_pe_record_external_function,
14474 i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
14475 prototype.
14476 * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
14477 * i386/t-interix (winnt.o): Likewise.
14478
14479 * v850-protos.h (v850_output_addr_const_extra): Prototype.
14480
14481 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
14482
14483 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
14484 MIPS ABI CPP macros.
14485 (TARGET_CPU_CPP_BUILTINS): Redefine.
14486 (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
14487 (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
14488
14489 2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14490
14491 * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
14492
14493 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
14494
14495 * ChangeLog: Follow spelling conventions.
14496 * ChangeLog.0: Likewise.
14497 * ChangeLog.1: Likewise.
14498 * ChangeLog.2: Likewise.
14499 * ChangeLog.3: Likewise.
14500 * ChangeLog.4: Likewise.
14501 * ChangeLog.5: Likewise.
14502 * ChangeLog.6: Likewise.
14503 * FSFChangeLog.10: Likewise.
14504 * FSFChangeLog.11: Likewise.
14505 * c-common.c: Likewise.
14506 * c-common.h: Likewise.
14507 * c-format.c: Likewise.
14508 * c-opts.c: Likewise.
14509 * cpplib.c: Likewise.
14510 * langhooks.h: Likewise.
14511 * real.c: Likewise.
14512 * reg-stack.c: Likewise.
14513 * toplev.c: Likewise.
14514 * config/arm/arm.c: Likewise.
14515 * config/arm/arm.md: Likewise.
14516 * config/arm/linux-gas.h: Likewise.
14517 * config/arm/netbsd.h: Likewise.
14518 * config/c4x/c4x.c: Likewise.
14519 * config/c4x/c4x.h: Likewise.
14520 * config/c4x/c4x.md: Likewise.
14521 * config/c4x/libgcc.S: Likewise.
14522 * config/fr30/fr30.md: Likewise.
14523 * config/frv/frv.md: Likewise.
14524 * config/ia64/ia64.md: Likewise.
14525 * config/mips/mips.h: Likewise.
14526 * config/mn10300/mn10300.c: Likewise.
14527 * config/stormy16/stormy16.c: Likewise.
14528 * config/v850/v850.md: Likewise.
14529 * doc/extend.texi: Likewise.
14530 * doc/invoke.texi: Likewise.
14531 * doc/md.texi: Likewise.
14532
14533 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
14534
14535 * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
14536 library if -pthread is specified.
14537
14538 2002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
14539
14540 * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
14541 for --enable-threads=yes and --enable-threads=posix.
14542
14543 2002-09-15 Kazu Hirata <kazu@cs.umass.edu>
14544
14545 * config/sparc/cypress.md: Replace Sparc with SPARC.
14546 * config/sparc/freebsd.h: Likewise.
14547 * config/sparc/gmon-sol2.c: Likewise.
14548 * config/sparc/hypersparc.md: Likewise.
14549 * config/sparc/lb1spc.asm: Likewise.
14550 * config/sparc/lb1spl.asm: Likewise.
14551 * config/sparc/linux.h: Likewise.
14552 * config/sparc/linux64.h: Likewise.
14553 * config/sparc/lynx.h: Likewise.
14554 * config/sparc/sol2.h: Likewise.
14555 * config/sparc/sparc-modes.def: Likewise.
14556 * config/sparc/sparc.c: Likewise.
14557 * config/sparc/sparc.h: Likewise.
14558 * config/sparc/sparc.md: Likewise.
14559 * config/sparc/sparclet.md: Likewise.
14560 * config/sparc/supersparc.md: Likewise.
14561 * config/sparc/sysv4.h: Likewise.
14562 * config/sparc/vxsim.h: Likewise.
14563 * config/sparc/vxsparc64.h: Likewise.
14564
14565 2002-09-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14566
14567 * c-lex.c (cb_ident): Mark variable with ATTRIBUTE_UNUSED.
14568 * collect2.c (ignore_library, aix_std_libs): Move into the context
14569 where it is used.
14570 * m68hc11.c (m68hc11_autoinc_compatible_p): Delete prototype.
14571 (autoinc_mode, m68hc11_make_autoinc_notes): Add prototypes.
14572 * m88k.c (output_call): Wrap variables with macro controlling use.
14573 * rs6000.md: Likewise. Const-ify variable.
14574 * sh.h (ASM_OUTPUT_LABELREF): Likewise.
14575 * final.c (only_leaf_regs_used): Likewise.
14576 * regrename.c (maybe_mode_change): Mark parameter with
14577 ATTRIBUTE_UNUSED.
14578 * reload.c (find_valid_class): Likewise. Likewise for variable.
14579 (find_reloads_address_1): Likewise.
14580 * varasm.c (weak_finish): Wrap variable with macro controlling use.
14581
14582 2002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
14583
14584 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
14585
14586 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14587
14588 * ChangeLog: Follow spelling conventions.
14589 * ChangeLog.0: Likewise.
14590 * ChangeLog.2: Likewise.
14591 * ChangeLog.3: Likewise.
14592 * ChangeLog.4: Likewise.
14593 * ChangeLog.5: Likewise.
14594 * ChangeLog.6: Likewise.
14595 * cppfiles.c: Likewise.
14596 * cppinit.c: Likewise.
14597 * cpplib.h: Likewise.
14598 * cse.c: Likewise.
14599 * debug.h: Likewise.
14600 * df.c: Likewise.
14601 * dominance.c: Likewise.
14602 * hashtable.c: Likewise.
14603 * hashtable.h: Likewise.
14604 * loop.c: Likewise.
14605 * config/arm/README-interworking: Likewise.
14606 * config/arm/arm.c: Likewise.
14607 * config/arm/arm.h: Likewise.
14608 * config/arm/arm.md: Likewise.
14609 * config/dsp16xx/dsp16xx.h: Likewise.
14610 * config/frv/frv.c: Likewise.
14611 * config/frv/frv.h: Likewise.
14612 * config/ip2k/ip2k.h: Likewise.
14613 * config/rs6000/rs6000.c: Likewise.
14614 * config/stormy16/stormy-abi: Likewise.
14615 * config/stormy16/stormy16.h: Likewise.
14616 * config/v850/v850.c: Likewise.
14617
14618 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14619
14620 * loop.c: Fix a comment typo.
14621
14622 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14623
14624 * config/fr30/fr30.h: Fix comment typos.
14625 * config/frv/frv.c: Likewise.
14626 * config/i386/xmmintrin.h: Likewise.
14627 * config/mips/mips.c: Likewise.
14628 * config/sh/sh.c: Likewise.
14629
14630 2002-09-14 Kazu Hirata <kazu@cs.umass.edu>
14631
14632 * haifa-sched.c: Follow spelling conventions.
14633 * regclass.c: Likewise.
14634 * regrename.c: Likewise.
14635 * config/fp-bit.c: Likewise.
14636 * config/frv/frv.h: Likewise.
14637 * config/m88k/m88k.c: Likewise.
14638 * config/mcore/mcore.c: Likewise.
14639 * config/rs6000/darwin.h: Likewise.
14640 * config/rs6000/gnu.h: Likewise.
14641 * config/rs6000/linux.h: Likewise.
14642 * config/rs6000/linux64.h: Likewise.
14643 * config/rs6000/rs6000.c: Likewise.
14644 * config/rs6000/rs6000.h: Likewise.
14645 * config/sh/sh.c: Likewise.
14646 * config/sparc/sparc.c: Likewise.
14647 * config/sparc/ultra1_2.md: Likewise.
14648
14649 2002-09-14 Stephane Carrez <stcarrez@nerim.fr>
14650
14651 * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
14652 memory operand when source is 0 (K constraint).
14653 ("movsi_internal"): Likewise.
14654 ("movdf_internal"): Likewise.
14655 ("movsf_internal"): Likewise.
14656
14657 2002-09-14 Alan Modra <amodra@bigpond.net.au>
14658
14659 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
14660 targetm.binds_local_p to set SYMBOL_REF_FLAG.
14661 (rs6000_xcoff_encode_section_info): Likewise.
14662 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
14663
14664 2002-09-10 Theodore A. Roth <troth@verinet.com>
14665
14666 * gcc/config/avr/avr.h: Set default options for C++ for avr.
14667
14668 2002-09-13 Roger Sayle <roger@eyesopen.com>
14669
14670 * stmt.c (struct nexting): Remove unused alt_end_label field.
14671 (expand_start_loop): Delete initialization of alt_end_label.
14672 (expand_start_null_loop): Likewise.
14673 (expand_exit_loop_if_false): Delete updating of alt_end_label.
14674
14675 2002-09-13 Richard Henderson <rth@redhat.com>
14676
14677 * Makefile.in (toplev.o): Depend on real.h.
14678 (print-rtl.o, varasm.o, ifcvt.o): Likewise.
14679
14680 2002-09-14 Alan Modra <amodra@bigpond.net.au>
14681
14682 * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
14683 * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
14684 * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
14685
14686 2002-09-13 Nathan Sidwell <nathan@codesourcery.com>
14687
14688 * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
14689
14690 2002-09-13 Steve Ellcey <sje@cup.hp.com>
14691
14692 * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
14693 ia64*-*-linux*): Set extra_parts.
14694 * config/ia64/t-aix (EXTRA_PARTS): Remove.
14695 * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
14696
14697 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
14698
14699 * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
14700 * config/h8300/h8300.c: Likewise.
14701 * config/h8300/h8300.h: Likewise.
14702 * config/h8300/h8300.md: Likewise.
14703 * doc/invoke.texi: Likewise.
14704
14705 2002-09-13 Kazu Hirata <kazu@cs.umass.edu>
14706
14707 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
14708
14709 2002-09-13 Richard Henderson <rth@redhat.com>
14710
14711 * config/alpha/alpha.md (attr type): Add callpal.
14712 (imb, trap, load_tp, set_tp): Use it.
14713 * config/alpha/ev4.md (ev4_callpal): New.
14714 * config/alpha/ev5.md (ev5_callpal): New.
14715 * config/alpha/ev6.md (ev6_ibr): Handle callpal.
14716 * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
14717 (alphaev5_insn_pipe): Likewise.
14718
14719 2002-09-13 Andreas Jaeger <aj@suse.de>
14720
14721 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
14722
14723 2002-09-13 Steve Ellcey <sje@cup.hp.com>
14724
14725 * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
14726 LIB2ADDEH): New, set to NULL.
14727 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
14728
14729 2002-09-13 Steve Ellcey <sje@cup.hp.com>
14730
14731 * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
14732 (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
14733 (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
14734 Add declarations.
14735 (_U_Qfneg): Remove.
14736
14737 2002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
14738
14739 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
14740 for H8/300, H8S aa:8 mode.
14741 (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
14742 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
14743 for H8/300 aa:8 mode.
14744
14745 2002-09-13 Hartmut Penner <hpenner@de.ibm.com>
14746
14747 * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
14748 insns.
14749
14750 2002-09-12 Richard Henderson <rth@redhat.com>
14751
14752 * Makefile.in (HOST_PRINT): Use print-rtl1.o
14753 (print-rtl.o): Don't define GENERATOR_FILE.
14754 (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
14755 * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
14756 unless GENERATOR_FILE.
14757
14758 2002-09-12 Stan Shebs <shebs@apple.com>
14759
14760 * config/darwin.h (USER_LABEL_PREFIX): Define here...
14761 * config/i386/darwin.h: ... instead of here.
14762
14763 * target.h (struct gcc_target): New field
14764 terminate_dw2_eh_frame_info.
14765 * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
14766 (TARGET_INITIALIZER): Add it.
14767 * dwarf2out.c (output_call_frame_info): Use target hook.
14768 * dwarf2asm.c (dw2_asm_output_delta): Use macro
14769 ASM_OUTPUT_DWARF_DELTA if defined.
14770 * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
14771 (ASM_OUTPUT_DWARF_DELTA): Ditto.
14772 (ASM_OUTPUT_DWARF_OFFSET): Ditto.
14773 (ASM_OUTPUT_DWARF_PCREL): Ditto.
14774 * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
14775 (powerpc-*-darwin*): Ditto.
14776 * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
14777 to work correctly for Darwin.
14778 * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
14779 (STARTFILE_SPEC): Add crtbegin.o.
14780 (ENDFILE_SPEC): Define.
14781 (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
14782 (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
14783 (ASM_OUTPUT_DWARF_DELTA): Define.
14784 (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
14785 * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
14786
14787 2002-09-13 Alan Modra <amodra@bigpond.net.au>
14788
14789 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
14790 nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
14791 * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
14792
14793 2002-09-12 Zack Weinberg <zack@codesourcery.com>
14794
14795 * toplev.c: Move default definition of USER_LABEL_PREFIX...
14796 * defaults.h: ... here.
14797
14798 2002-09-12 Richard Henderson <rth@redhat.com>
14799
14800 * vax.c: Include tree.h earlier.
14801
14802 2002-09-12 Stan Shebs <shebs@apple.com>
14803
14804 * config/darwin.c (machopic_finish): Remove #if 0 chunks.
14805 (machopic_operand_p): Ditto.
14806
14807 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14808
14809 * config/arm/arm.c (arm_compute_initial_elimination_offset):
14810 Fix a comment typo.
14811
14812 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14813
14814 * toplev.c (do_abort): Fix a comment typo.
14815
14816 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14817
14818 * cselib.c: Fix comment formatting.
14819 * gengtype.c: Likewise.
14820
14821 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
14822
14823 * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
14824 (udivmodhi4): Likewise.
14825
14826 2002-09-12 Graham Stott <graham.stott@btinternet.com>
14827 Roger Sayle <roger@eyesopen.com>
14828
14829 * i386.c (any_fp_register_operand, fp_register_operand,
14830 register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
14831 New predicate functions.
14832 * i386-protos.h: Add their prototypes.
14833 * i386.h: Add them to PREDICATE_CODES.
14834 * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
14835 "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
14836 "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
14837 "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
14838 "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
14839 "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
14840 "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
14841 "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
14842 "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
14843 "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
14844 "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
14845 Use these new predicates to simplify and correct the use of
14846 FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
14847
14848 2002-09-12 Jason Merrill <jason@redhat.com>
14849
14850 * diagnostic.c (output_add_identifier): New fn.
14851 * diagnostic.h: Declare it.
14852
14853 * calls.c (store_one_arg): Use size_in_bytes to determine the
14854 amount of space to push.
14855
14856 2002-09-12 Jakub Jelinek <jakub@redhat.com>
14857
14858 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
14859
14860 2002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
14861
14862 * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
14863 * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
14864 (s390_select_ccmode): Likewise.
14865 (s390_branch_condition_mask): Likewise.
14866 (optimization_options): Do not set flag_branch_on_count.
14867 (s390_split_branches): Handle doloop branches.
14868 (s390_chunkify_pool): Likewise.
14869 * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
14870 ("doloop_end"): New expander.
14871 ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
14872 associated splitters): New.
14873
14874 2002-09-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
14875
14876 * genattrtab.c (simplify_cond): Remove unused variable(s).
14877 * global.c (record_conflicts): Likewise.
14878 * jump.c (rebuild_jump_labels): Likewise.
14879 * loop.c (scan_loop, check_final_value): Likewise.
14880 * ra-colorize.c (colorize_one_web, assign_colors): Likewise.
14881 * reload1.c (eliminate_regs_in_insn, do_input_reload): Likewise.
14882 * rtlanal.c (reg_set_p): Likewise.
14883 * stmt.c (expand_asm_operands, expand_decl): Likewise.
14884 * genautomata.c (empty_reserv): Remove.
14885 * loop.c (max_luid): Likewise.
14886 * sched-rgn.c (bitlst_table_size): Likewise.
14887
14888 2002-09-11 Nathan Sidwell <nathan@codesourcery.com>
14889
14890 Reimplement gcov format.
14891 * gcov-io.h: Replace.
14892 * gcov.c: Reimplement.
14893 * gcov-iov.c: New file.
14894 * gcov-dump.c: New file.
14895 * libgcc2.c (L_bb): Replace with ...
14896 (L_gcov): ... this.
14897 (struct bb_function_info, struct bb): Remove.
14898 (inhibit_libc): Never inhibit.
14899 (gcov_list, gcov_crc): New static variables.
14900 (gcov_version_mismatch): New static function.
14901 (__bb_exit_func): Renamed to ...
14902 (__gcov_exit): ... here. Made static. Reimplement.
14903 (__gcov_init_func): Rename to ...
14904 (__gcov_init): ... here. Check version, update crc.
14905 (__bb_fork_func): Rename to ...
14906 (__gcov_flush): ... here.
14907 * libgcc2.h (struct bb, __bb_exit_func, __bb_init_func,
14908 __bb_fork_func, gcov_type, __bb_find_arc_counters): Remove.
14909 * calls.c (expand_call): Call __gcov_flush.
14910 * profile.c (bb_file, last_bb_file_name): Remove.
14911 (bbg_file_name): New global variable.
14912 (output_gcov_string): Remove.
14913 (get_exec_counts): Reimplement.
14914 (branch_prob): Reimplement gcov file writing.
14915 (init_branch_prob): Create bbg_file_name, don't create
14916 bb_file_name.
14917 (end_branch_prob): Adjust. Don't remove counter file when
14918 instrumenting ourselves.
14919 (create_profiler): Adjust.
14920 * doc/gcov.texi (Gcov Data Files): Remove detailed specification,
14921 point to gcov-io.h.
14922 * Makefile.in (LANGUAGES): Add gcov-dump.
14923 (coverageexts): Remove .bb.
14924 (STAGESTUFF): Add gcov-dump.
14925 (LIB2FUNCS_ST): Replace _bb with _gcov.
14926 (profile.o): Depend on gcov-iov.h.
14927 (final.o): Don't depend on profile.h, gcov.h.
14928 (gcov.o): Depend on gcov-iov.h.
14929 (gcov-iov.o): New target.
14930 (gcov-iov): New target.
14931 (gcov-iov.h): New target.
14932 (gcov-dump.o): New target.
14933 (GCOV_DUMP_OBJS): New variable.
14934 (gcov-dump): New target.
14935 (distclean): Remove coverageexts.
14936 (stage1): Remove coverageexts.
14937
14938 2002-09-11 Hartmut Penner <hpenner@de.ibm.com>
14939
14940 * fold-const.c (make_range): Only narrow to signed range if
14941 the signed range is smaller than the unsigned range.
14942
14943 2002-09-12 Alan Modra <amodra@bigpond.net.au>
14944
14945 * emit-rtl.c (set_mem_size): New function.
14946 * expr.h (set_mem_size): Declare.
14947 * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
14948 (expand_block_move): Instead, use adjust_address and
14949 replace_equiv_address to generate proper aliasing info.
14950 Move common code out of conditionals. Localize vars.
14951
14952 2002-09-11 Eric Botcazou <ebotcazou@libertysurf.fr>
14953
14954 * optabs.c (expand_binop): Minor cleanup.
14955 (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
14956
14957 2002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
14958
14959 * print-tree.c (print_node): Print the restrict qualifier.
14960
14961 2002-09-11 Janis Johnson <janis187@us.ibm.com>
14962
14963 * doc/install.texi: Fix typos.
14964
14965 2002-09-11 Zack Weinberg <zack@codesourcery.com>
14966
14967 * Makefile.in: Remove all references to s-under and underscore.c.
14968 * collect2.c, tlink.c: Change all uses of prepends_underscore
14969 to look directly at USER_LABEL_PREFIX.
14970
14971 2002-09-11 David Edelsohn <edelsohn@gnu.org>
14972
14973 * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
14974 alignment to csect.
14975 (rs6000_xcoff_unique_section): Only set section name for public
14976 data.
14977 (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
14978 * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
14979 duplicate definition.
14980
14981 2002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
14982
14983 * pa.md (extzv): Check predicates before emitting extzv_32.
14984 (insv): Likewise.
14985
14986 2002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
14987
14988 * config/s390/s390.h (MOVE_MAX): Define to correct value.
14989 (MAX_MOVE_MAX): Define.
14990 (MOVE_BY_PIECES_P): Define.
14991 (CLEAR_BY_PIECES_P): Define.
14992
14993 2002-09-10 Denis Chertykov <denisc@overta.ru>
14994
14995 * config/avr/avr.md (movstrhi): Use right operands for conversion.
14996
14997 2002-09-10 Richard Earnshaw <rearnsha@arm.com>
14998
14999 PR c/7873
15000 * arm.md (insv): Use reg_or_int_operand for operand[3].
15001
15002 2002-09-10 David Edelsohn <edelsohn@gnu.org>
15003
15004 * rs6000.c (rs6000_assemble_visibility): Protect declaration
15005 inside macro. Correct function definition typo.
15006 (rs6000_xcoff_section_type_flags): New function.
15007 (TARGET_SECTION_TYPE_FLAGS): Remove definition.
15008 (rs6000_elf_section_type_flags): Call default_section_type_flags_1
15009 with appropriate PIC test.
15010 (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
15011 determine readonly.
15012 (rs6000_binds_local_p): Combine PIC flags.
15013 * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
15014 * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
15015
15016 2002-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15017
15018 * h8300.md: Fix signed/unsigned warnings.
15019 * mcore.md: Likewise.
15020 * mn10300.c (mask_ok_for_mem_btst): Likewise.
15021
15022 2002-09-09 Per Bothner <per@bothner.com>
15023
15024 * print-tree.c (print_node): In a STRING_CST, escape non-ascii
15025 characters, and only print TREE_STRING_LENGTH chars.
15026
15027 2002-09-09 Steve Ellcey <sje@cup.hp.com>
15028
15029 * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
15030 (ASM_FILE_END) New.
15031 * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
15032 * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
15033 * config/ia64/ia64.c (ia64_asm_output_external): Create list
15034 of external functions if TARGET_HPUX_LD is true.
15035 (ia64_hpux_add_extern_decl): New, routine to put names on
15036 list of external functions.
15037 (ia64_hpux_asm_file_end): Put out declarations for external
15038 functions if and only if they are used.
15039
15040 2002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
15041
15042 * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
15043 on TARGET_64BIT before pic register restore.
15044
15045 2002-09-09 David Edelsohn <edelsohn@gnu.org>
15046
15047 * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
15048 (TARGET_HAVE_TLS): New description.
15049
15050 2002-09-09 Janis Johnson <janis187@us.ibm.com>
15051
15052 * doc/extend.texi (Statement Exprs): Fix broken link.
15053
15054 2002-09-09 Denis Chertykov <denisc@overta.ru>
15055
15056 * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
15057 right conversion of operands[1].
15058
15059 2002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
15060
15061 * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
15062 commutative. Use "nonimmediate_operand" instead of "register_operand"
15063 as predicate for operand 0. Move to after the "*tmXX_mem" insns.
15064
15065 ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
15066 as commutative.
15067
15068 ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
15069 mark as commutative. Use "nonimmediate_operand" instead of
15070 "register_operand" as predicate for operand 1.
15071
15072 ("movstrictsi"): Fix typo in insn name.
15073
15074 2002-09-09 Jan Hubicka <jh@suse.cz>
15075
15076 * i386.c (index_register_operand): New.
15077 * i386.h (predicate_codes): Add new predicate.
15078 * i386.md (lea_general_*): Use index_register_operand
15079 (ashift to lea splitter): Do not produce invalid leas
15080 (ashift to mov+ashift split): New.
15081
15082 2002-09-09 Nick Clifton <nickc@redhat.com>
15083
15084 * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
15085 Fix folding marks.
15086
15087 2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
15088 J"orn Rennecke <joern.rennecke@superh.com>
15089
15090 * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
15091
15092 2002-09-09 Alan Modra <amodra@bigpond.net.au>
15093
15094 * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
15095 (function_ok_for_sibcall): Use binds_local_p. Respect longcall
15096 attributes.
15097
15098 2002-09-08 Nathan Sidwell <nathan@codesourcery.com>
15099
15100 * basic_block.h (gcov_type): Explain why it is signed.
15101 * final.c: Don't include profile.h.
15102 (struct function_list, functions_head, functions_tail,
15103 end_final): Moved to profile.c
15104 (final): Move arc chaining code to profile.c.
15105 * function.c (prepare_function_start): Remove duplicate line.
15106 * output.h (end_final): Remove prototype.
15107 * predict.c (estimate_loops_at_level): Use gcov_type.
15108 * profile.c (struct function_list, functions_head,
15109 functions_tail): Moved from final.c
15110 (need_func_profiler): Remove.
15111 (instrument_edges): Don't set need_func_profiler.
15112 (get_exec_counts): Avoid signed/unsigned warning.
15113 (compute_checksum): Use crc32.
15114 (branch_prob): Adjust. Chain onto functions_head.
15115 (init_branch_prob): Absorb init_edge_profiler.
15116 (init_edge_profiler): Remove.
15117 (create_profiler): Moved and renamed from final.c:end_final.
15118 Emit data and constructor.
15119 (output_func_start_profiler): Remove.
15120 * profile.h (struct profile_info): checksum is unsigned.
15121 * rtl.h (output_func_start_profiler): Remove prototype.
15122 (create_profiler): Declare.
15123 * toplev.c (compile_file): Call create_profiler, if instrumenting
15124 arcs. Don't call end_final.
15125
15126 2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15127
15128 * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
15129
15130 2002-09-08 Richard Henderson <rth@redhat.com>
15131
15132 * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
15133 (DW_OP_GNU_push_tls_address): New.
15134 (DW_OP_lo_user): Fix.
15135 * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
15136 (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
15137 (size_of_loc_descr): Likewise.
15138 (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
15139 (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
15140 (loc_descriptor_from_tree): Handle TLS variables.
15141 (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
15142 (add_location_or_const_value_attribute): ... not here. Defer
15143 to loc_descriptor_from_tree for TLS variables.
15144
15145 * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
15146 * config/i386/i386.c (i386_output_dwarf_dtprel): New.
15147 * config/i386/i386-protos.h: Update.
15148
15149 2002-09-08 Roger Sayle <roger@eyesopen.com>
15150
15151 PR optimization/6405
15152 * unroll.c (loop_iterations): last_loop_insn should be the previous
15153 non-note instruction before loop->end.
15154 * loop.c (strength_reduce): The conditional jump is the last
15155 non-note instruction before loop->end (as above).
15156
15157 2002-09-08 Roger Sayle <roger@eyesopen.com>
15158
15159 * combine.c (try_combine): Handle the case that undobuf.other_insn
15160 has been turned into a return or unconditional jump, by inserting
15161 a BARRIER if necessary.
15162 (simplify_set): Test if a condition code setter has a constant
15163 comparison at compile time, if so convert this insn to a no-op move
15164 and update/simplify the condition code user (undobuf.other_insn).
15165
15166 2002-09-08 Krister Walfridsson <cato@df.lth.se>
15167
15168 * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
15169 (CLEAR_INSN_CACHE): Define.
15170
15171 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
15172
15173 * basic-block.h: Fix comment formatting.
15174 * c-common.c: Likewise.
15175 * c-common.h: Likewise.
15176 * c-lex.c: Likewise.
15177 * c-pretty-print.c: Likewise.
15178 * cfglayout.c: Likewise.
15179 * cfgloop.c: Likewise.
15180 * defaults.h: Likewise.
15181 * et-forest.c: Likewise.
15182 * explow.c: Likewise.
15183 * function.h: Likewise.
15184 * gcov.c: Likewise.
15185 * genattrtab.c: Likewise.
15186 * gengtype.c: Likewise.
15187 * ifcvt.c: Likewise.
15188 * libgcc2.c: Likewise.
15189 * loop.c: Likewise.
15190 * profile.c: Likewise.
15191 * ra-build.c: Likewise.
15192 * real.c: Likewise.
15193 * rtl.h: Likewise.
15194 * tracer.c: Likewise.
15195 * tree-inline.c: Likewise.
15196 * varasm.c: Likewise.
15197
15198 2002-09-08 Jan Hubicka <jh@suse.cz>
15199
15200 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
15201 handling.
15202
15203 * loop.c (loop_givs_reduce): Emit addition after.
15204
15205 2002-09-08 Alan Modra <amodra@bigpond.net.au>
15206
15207 * varasm.c (default_assemble_visibility): Rename from
15208 assemble_visibility.
15209 * output.h: Here too.
15210 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
15211 * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
15212
15213 2002-09-08 Alan Modra <amodra@bigpond.net.au>
15214
15215 * reload.c (find_reloads <p constraint>): Pass operand_mode to
15216 find_reloads_address.
15217
15218 2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
15219
15220 * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
15221 (anonymous pattern): Likewise.
15222
15223 2002-09-07 Igor Shevlyakov <igor@microunity.com>
15224
15225 * machmode.def: Add modes for half-float vectors.
15226
15227 2002-09-07 Scott Snyder <snyder@fnal.gov>
15228
15229 PR target/7374
15230 * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
15231
15232 2002-09-07 Roger Sayle <roger@eyesopen.com>
15233
15234 * basic-block.h (struct loop): Remove unused cont_dominator field.
15235
15236 2002-09-07 Igor Shevlyakov <igor@microunity.com>
15237
15238 * varasm.c (decode_rtx_const): Don't check undefined field for
15239 CONST_VECTOR.
15240
15241 2002-09-07 Glen Nakamura <glen@imodulo.com>
15242
15243 PR opt/7814
15244 * sched-deps.c (sched_analyze_insn): Make sure to add insn
15245 to reg_last->sets after flushing the dependency lists to guarantee
15246 that subsequent clobbers will be dependent on it.
15247
15248 2002-09-07 Igor Shevlyakov <igor@microunity.com>
15249
15250 * combine.c (simplify_shift_const): Calculate rotate count
15251 correctly for vector operands.
15252
15253 2002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
15254
15255 * c-typeck.c (c_tree_expr_nonnegative_p): New function.
15256 (build_binary_op): Call c_tree_expr_nonnegative_p rather than
15257 tree_expr_nonnegative_p.
15258 (build_conditional_expr): Likewise.
15259 * c-tree.h (c_tree_expr_nonnegative_p): Declare.
15260
15261 2002-09-07 Richard Henderson <rth@redhat.com>
15262
15263 * builtins.def (inf, inff, infl): Mark const.
15264 (huge_val, huge_valf, huge_vall): Likewise.
15265 (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
15266
15267 * real.c (ereal_inf): Clear E before use.
15268
15269 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
15270
15271 * config/h8300/h8300.md (udivmodqi4): Split the pattern into
15272 an expander and an anonymous pattern. Zero out the upper half
15273 of the dividend in the expander.
15274 (udivmodqi4): Likewise.
15275
15276 2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
15277
15278 * config/h8300/h8300.c: Fix formatting.
15279 * config/h8300/h8300.h: Likewise.
15280 * config/h8300/h8300.md: Likewise.
15281
15282 2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
15283
15284 * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
15285 information.
15286
15287 2002-09-07 Graham Stott <graham.stott@btinternet.com>
15288
15289 * rtlanal.c (dead_or_set_regno_p): Fix typo.
15290
15291 2002-09-07 Alan Modra <amodra@bigpond.net.au>
15292
15293 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
15294
15295 * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
15296 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
15297 (TARGET_ASM_OUT): Add the above here.
15298 * target.h (struct gcc_target): Add "visibility" field.
15299 * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
15300 * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
15301 (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
15302 (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
15303
15304 2002-09-06 Ziemowit Laski <zlaski@apple.com>
15305
15306 * c-lang.c (objc_is_id): New stub.
15307 * c-tree.h (objc_is_id): New forward declaration.
15308 * c-typeck.c (build_c_cast): Do not strip protocol
15309 qualifiers from 'id' type.
15310 * objc/objc-act.c (objc_comptypes): Correct handling
15311 of protocol qualifiers.
15312 (objc_is_id): New.
15313
15314 Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
15315
15316 * pentium.md (pentium-firstvboth): Fix typo.
15317
15318 2002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
15319
15320 * h8300.c (enum shift_alg): Move to earlier in h8300.c.
15321 (enum shift_type, enum h8_cpu): Likewise.
15322 (INL, ROT, LOP, SPC macros): Likewise.
15323 (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
15324 const designator.
15325 (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
15326 space efficient algorithms when optimize for codesize.
15327
15328 Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
15329
15330 Fix PR/1727 and long-standing failing testcase
15331 objc/formal-protocol-6.m.
15332 * objc-act.c (build_protocol_expr): If compiling for the GNU
15333 runtime, create a list of Protocol statically allocated instances
15334 if it doesn't exist, then add the Protocol object to this same
15335 list.
15336 (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
15337 instead of TREE_CHAIN.
15338
15339 Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
15340
15341 * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
15342 10k. Fixed category dumping - print out category names with the
15343 proper syntax. Print '@end\n' and not '\n@end' at the end of the
15344 interface.
15345 (finish_objc): Fixed the -gen-decls option. It was printing out
15346 only the last class. Dump an interface declaration of all classes
15347 being compiled instead.
15348
15349 2002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
15350
15351 * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
15352 prototype.
15353 * config/arm/arm.c (arm_gen_return_addr_mask): New function.
15354 * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
15355 if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
15356 rather than GEN_INT.
15357 * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
15358 (return_addr_mask, *check_arch2): New.
15359
15360 2002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
15361
15362 * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
15363 "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
15364 "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
15365 "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
15366 "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
15367 "adddf3", "*adddf3", "*adddf3_ibm",
15368 "addsf3", "*addsf3", "*addsf3_ibm",
15369 "muldi3", "mulsi3", "mulsidi3",
15370 "muldf3", "*muldf3", "*muldf3_ibm",
15371 "mulsf3", "*mulsf3", "*mulsf3_ibm",
15372 "*anddi3_cc", "*anddi3_cconly", "anddi3",
15373 "*andsi3_cc", "*andsi3_cconly", "andsi3",
15374 "*iordi3_cc", "*iordi3_cconly", "iordi3",
15375 "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
15376 "*xordi3_cc", "*xordi3_cconly", "xordi3",
15377 "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
15378 instead of "register_operand" as predicate for "%0" operand.
15379
15380 2002-09-06 Jakub Jelinek <jakub@redhat.com>
15381
15382 * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
15383 unconditionally when gcc_cv_as_flags64 checks are gone.
15384 * configure: Rebuilt.
15385
15386 2002-09-06 Alan Modra <amodra@bigpond.net.au>
15387
15388 * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
15389 2002-07-26 change. Comment.
15390
15391 2002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15392
15393 * frv.c (frv_unique_section, frv_select_section,
15394 frv_select_rtx_section): Delete.
15395 (frv_in_small_data_p): New.
15396 (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
15397 TARGET_ASM_SELECT_RTX_SECTION): Delete.
15398 (TARGET_IN_SMALL_DATA_P): Define.
15399
15400 2002-09-05 Dale Johannesen <dalej@apple.com>
15401
15402 * reload1.c (reload): Retain only those memory clobbers
15403 added for variable-array handling.
15404
15405 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
15406
15407 * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
15408 return-in-memory rules.
15409 * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
15410
15411 2002-09-05 David Edelsohn <edelsohn@gnu.org>
15412
15413 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
15414 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
15415
15416 2002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
15417
15418 * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
15419 not a compile-time constant for the non-IBM case.
15420 * config/arm/arm-protos.h (arm_float_words_big_endian): New
15421 prototype.
15422 * config/arm/arm.c (arm_float_words_big_endian): New function.
15423 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
15424 if TARGET_VFP and not TARGET_HARD_FLOAT.
15425 (ARM_FLAG_VFP, TARGET_VFP): Define.
15426 (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
15427
15428 2002-09-05 David Edelsohn <edelsohn@gnu.org>
15429
15430 * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
15431 URLs. Fix AIX wording.
15432
15433 2002-09-05 Stan Shebs <shebs@apple.com>
15434
15435 * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
15436 -fPIC equivalent on Darwin.
15437
15438 Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
15439
15440 * sh.c (sh_expand_builtin): Return early if encountering an
15441 error_mark for a type.
15442
15443 2002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
15444
15445 * config/s390/s390.c (s390_expand_plus_operand): Do not require
15446 double-word scratch register.
15447 config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
15448
15449 ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
15450 "*cli"): Replace s_operand by memory_operand.
15451 ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
15452
15453 2002-09-05 Kazu Hirata <kazu@cs.umass.edu>
15454
15455 * config/h8300/h8300.c (asm_file_start): Add a missing
15456 semicolon.
15457
15458 2002-09-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
15459
15460 * c-typeck.c (build_function_call): Remove unused variable(s).
15461 (build_c_cast): Likewise.
15462 * calls.c (rtx_for_function_call): Likewise.
15463 * cfglayout.c (duplicate_insn_chain): Likewise.
15464 * cfgloop.c (flow_loop_nodes_find): Likewise.
15465 * cfgrtl.c (split_edge): Likewise.
15466 * df.c (df_ref_create): Likewise.
15467 * except.c (expand_end_catch): Likewise.
15468 * expr.c (emit_push_insn, store_constructor, expand_expr): Likewise.
15469 * function.c (emit_return_into_block): Likewise.
15470 (reposition_prologue_and_epilogue_notes): Likewise.
15471 * gengtype.c (get_file_basename, write_gc_structure_fields): Likewise.
15472 * combine.c (subst_prev_insn, need_refresh): Remove.
15473 * dwarf2out.c (primary_filename): Remove.
15474 * final.c (new_block): Remove.
15475 * gcse.c (orig_bb_count): Remove.
15476
15477 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15478
15479 * dsp16xx-protos.h (dsp16xx_compare_gen): Change to bool.
15480 * dsp16xx.c (dsp16xx_compare_gen): Likewise.
15481 * dsp16xx.md: Treat dsp16xx_compare_gen as a bool. Call functions
15482 directly instead of using a function pointer.
15483
15484 2002-09-04 Krister Walfridsson <cato@df.lth.se>
15485
15486 * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
15487 * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
15488 (ix86_output_addr_diff_elt) Likewise.
15489 (x86_output_mi_thunk) Likewise.
15490 * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
15491
15492 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15493
15494 * frv.c (frv_encode_section_info): Fix error in last change.
15495
15496 2002-09-04 David Edelsohn <edelsohn@gnu.org>
15497
15498 * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
15499 (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
15500 (TARGET_BINDS_LOCAL_P): Define.
15501 (rs6000_override_options): Save original flag_pic value.
15502 (rs6000_elf_select_section): Call default_elf_select_section_1.
15503 (rs6000_elf_unique_section): Call default_unique_section_1.
15504 (rs6000_elf_in_small_data_p): New function.
15505 (rs6000_xcoff_asm_named_section): Determine storage mapping class.
15506 (rs6000_xcoff_select_section): Update based on defaults.
15507 (rs6000_xcoff_unique_section): Set to basic name if not common.
15508 (rs6000_binds_local_p): New function.
15509 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
15510 targetm.have_srodata_section if SDATA_EABI.
15511 (TARGET_IN_SMALL_DATA_P): Define.
15512
15513 2002-09-04 Dale Johannesen <dalej@apple.com>
15514
15515 * varasm.c (struct rtx_const, decode_rtx_const):
15516 Make veclo and vechi fields not share storage.
15517
15518 Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
15519
15520 * loop.c (scan_loop): Don't mark separate insns out of a libcall
15521 for moving.
15522 (move_movables): Abort if we see the first insn of a libcall.
15523
15524 2002-09-04 Richard Henderson <rth@redhat.com>
15525
15526 * builtin-types.def (BT_FN_FLOAT): New.
15527 (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
15528 * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
15529 BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
15530 * builtins.c (fold_builtin_inf): New.
15531 (fold_builtin): Call it.
15532 * real.c (ereal_inf): New.
15533 * real.h: Declare it.
15534 * doc/extend.texi: Document new builtins.
15535
15536 2002-09-04 Richard Henderson <rth@redhat.com>
15537
15538 * cse.c (cse_insn): Avoid subreg games if the equivalence
15539 is already in the proper mode.
15540
15541 2002-09-04 Eric Botcazou <ebotcazou@multimania.com>
15542
15543 PR c/7102
15544 * optabs.c (expand_binop): Convert CONST_INTs in all cases.
15545
15546 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
15547
15548 * pa.md (setccfp0, setccfp1): New patterns.
15549
15550 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15551
15552 * frv-protos.h (frv_init_builtins, frv_expand_builtin,
15553 frv_select_section, frv_select_rtx_section,
15554 frv_encode_section_info, frv_unique_section): Delete.
15555 * frv.c: Update for target hooks.
15556 * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
15557 SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
15558 EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
15559
15560 2002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15561
15562 * ip2k-protos.h (function_prologue, function_epilogue,
15563 encode_section_info): Update to match target hook specification.
15564 * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
15565 (function_prologue, function_epilogue, encode_section_info):
15566 Update to match target hook specification.
15567 * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
15568 ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
15569 (NOTICE_UPDATE_CC): Cast to void.
15570 * ip2k.md: Add defaults in switch statements.
15571
15572 2002-09-04 Janis Johnson <janis187@us.ibm.com>
15573
15574 * doc/trouble.texi (Interoperation): Update information about C++ ABI
15575 issues.
15576
15577 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
15578
15579 * config/sparc/t-netbsd64: Disable multilib for now.
15580
15581 2002-09-04 David Edelsohn <edelsohn@gnu.org>
15582
15583 * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
15584 * target.h (gcc_target): Add have_srodata_section member.
15585 * varasm.c (section_category): Add SECCAT_SRODATA.
15586 (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
15587 READONLY_SDATA_SECTION defined.
15588 (decl_readonly_section_1): True for SECCAT_SRODATA also.
15589 (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
15590 (default_unique_section_1): Likewise.
15591
15592 2002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
15593
15594 * expr.c (emit_group_load): Revise to allow splitting TCmode source
15595 into DImode pieces.
15596
15597 * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
15598 * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
15599 for floating-point register class.
15600 * pa.c (function_arg): Fix handling of modes wider than one word for
15601 TARGET_64BIT.
15602
15603 Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
15604
15605 * combine.c (make_compound_operation): Don't generate zero / sign
15606 extensions in floating point modes.
15607
15608 2002-09-04 Janis Johnson <janis187@us.ibm.com>
15609
15610 * doc/c-tree.texi: Fix overfull hboxes.
15611 * doc/cppopts.texi: Ditto.
15612 * doc/extend.texi: Ditto.
15613 * doc/gty.texi: Ditto.
15614 * doc/invoke.texi: Ditto.
15615 * doc/makefile.texi: Ditto.
15616 * doc/rtl.texi: Ditto.
15617 * doc/standards.texi: Ditto.
15618 * doc/tm.texi: Ditto.
15619
15620 2002-09-04 Richard Henderson <rth@redhat.com>
15621
15622 * c-common.c (builtin_define_with_hex_fp_value): New.
15623 (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
15624
15625 2002-09-04 Janis Johnson <janis187@us.ibm.com>
15626
15627 * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
15628 (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
15629 -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
15630 Warn that these options can break ABI compatibility.
15631
15632 2002-09-04 Richard Henderson <rth@redhat.com>
15633
15634 * real.c (ereal_to_decimal): Add digits parameter.
15635 * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
15636 * c-pretty-print.c (pp_c_real_literal): Update call.
15637 * print-rtl.c (print_rtx): Likewise.
15638 * print-tree.c (print_node_brief, print_node): Likewise.
15639 * sched-vis.c (print_value): Likewise.
15640 * config/arc/arc.c (arc_print_operand): Likewise.
15641 * config/c4x/c4x.c (c4x_print_operand): Likewise.
15642 * config/i370/i370.h (PRINT_OPERAND): Likewise.
15643 * config/i386/i386.c (print_operand): Likewise.
15644 * config/i960/i960.c (i960_print_operand): Likewise.
15645 * config/ip2k/ip2k.c (asm_output_float): Likewise.
15646 * config/m32r/m32r.c (m32r_print_operand): Likewise.
15647 * config/m68hc11/m68hc11.c (print_operand): Likewise.
15648 * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
15649 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
15650 * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
15651 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
15652 * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
15653 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
15654 * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
15655 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
15656 * config/mips/mips.c (print_operand): Likewise.
15657 * config/ns32k/ns32k.c (print_operand): Likewise.
15658 * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
15659 * config/vax/vax.h (PRINT_OPERAND): Likewise.
15660 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
15661
15662 2002-09-04 Bob Wilson <bob.wilson@acm.org>
15663
15664 * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
15665 xtensa_multibss_section_type_flags.
15666 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
15667
15668 2002-09-04 Richard Henderson <rth@redhat.com>
15669
15670 * doc/install-old.texi: Don't mention enquire.
15671 * doc/sourcebuild.texi: Update float.h description.
15672
15673 Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
15674
15675 * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
15676
15677 2002-09-03 Roger Sayle <roger@eyesopen.com>
15678
15679 * builtins.c (build_function_call_expr): Remove prototype, export
15680 as non-static and add a comment above function definition.
15681 (builtin_mathfn_code): New function to check for math builtins.
15682 (fold_builtin): Optimize sqrt(0.0) as 0.0, sqrt(1.0) as 1.0,
15683 exp(0.0) as 1.0, and log(1.0) as 0.0. Optimize exp(log(x)) and
15684 log(exp(x)) as x. Optimize sqrt(exp(x)) as exp(x/2.0) and
15685 log(sqrt(x)) as log(x)/2.0.
15686
15687 * tree.h: Prototype build_function_call_expr and builtin_mathfn_code
15688 in new "builtins.c" section. Place the build_range_type prototype
15689 with the other prototypes from "tree.c".
15690
15691 * fold-const.c (fold) [ABS_EXPR]: Fold fabs(sqrt(x)) as sqrt(x)
15692 and fabs(exp(x)) as exp(x). [MULT_EXPR]: Fold sqrt(x)*sqrt(y)
15693 as sqrt(x*y) and exp(x)*exp(y) as exp(x+y). [RDIV_EXPR]: Fold
15694 x/exp(y) as x*exp(-y).
15695
15696 2002-09-03 David Edelsohn <edelsohn@gnu.org>
15697
15698 * varasm.c (default_section_type_flags): Append _1 to name with
15699 shlib parameter. Use original name to call new function with
15700 implicit flag_pic.
15701 (decl_readonly_section): Likewise.
15702 (default_elf_select_section): Likewise.
15703 (default_unique_section): Likewise.
15704 (default_bind_local_p): Likewise.
15705 (categorize_decl_for_section): Add shlib parameter to use in place
15706 of implicit flag_pic.
15707 * output.h: Declare new functions with _1 and shlib argument.
15708
15709 2002-09-03 Janis Johnson <janis187@us.ibm.com>
15710
15711 * doc/install.texi: Fix typos, formatting problems, and obvious
15712 overfull/underfull boxes.
15713
15714 * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
15715 * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
15716 include its file, compat.texi.
15717 * doc/compat.texi: New file with new chapter, Binary Compatibility.
15718
15719 2002-09-03 Neil Booth <neil@daikokuya.co.uk>
15720
15721 Debian BTS Bug #157416
15722 * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
15723 * cpplib.c (destringize_and_run): Kludge around getting
15724 tokens from in-progress macros.
15725 (_cpp_do__Pragma): Simplify.
15726
15727 2002-09-03 Steve Ellcey <sje@cup.hp.com>
15728
15729 * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
15730 (CPP_CPU_SPEC): Remove.
15731 (TARGET_CPU_CPP_BUILTINS): New.
15732 * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
15733 (CPP_SPEC): Remove.
15734 (TARGET_OS_CPP_BUILTINS): New.
15735 * config/ia64/linux.h (CPP_PREDEFINES): Remove.
15736 (TARGET_OS_CPP_BUILTINS): New.
15737 * config/ia64/aix.h (CPP_SPEC): Move some stuff to
15738 TARGET_OS_CPP_BUILTINS.
15739 (CPP_PREDEFINES): Remove.
15740 (CPLUSPLUS_CPP_SPEC): Remove.
15741 (TARGET_OS_CPP_BUILTINS): New.
15742
15743 2002-09-03 Richard Henderson <rth@redhat.com>
15744
15745 * Makefile.in (USER_H): Add ginclude/float.h.
15746 (FLOAT_H): Remove.
15747 (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
15748 (mostlyclean): Don't remove float.h intermediate files.
15749 (distclean): Don't remove float.h.
15750 * config.gcc: Remove all float_format references.
15751 * configure.in (float_format, float_h_file): Remove.
15752
15753 * c-common.c: Include tree-inline.h.
15754 (builtin_define_with_int_value): New.
15755 (builtin_define_type_precision): Use it.
15756 (builtin_define_float_constants): New.
15757 (cb_register_builtins): Use it. Define __FLT_RADIX__ and
15758 __FLT_EVAL_METHOD__.
15759 * defaults.h (TARGET_FLT_EVAL_METHOD): New.
15760 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
15761 * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
15762 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
15763 (TARGET_FLT_EVAL_METHOD): New.
15764
15765 * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
15766 config/float-i386.h, config/float-i64.h, config/float-m68k.h,
15767 config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
15768 * ginclude/float.h: New.
15769
15770 2002-09-03 Stan Shebs <shebs@apple.com>
15771
15772 * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
15773 (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
15774 (PREFERRED_DEBUGGING_TYPE): Ditto.
15775 (ASM_OUTPUT_IDENT): Remove empty definition.
15776
15777 2002-09-03 Steve Ellcey <sje@cup.hp.com>
15778
15779 * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
15780 cxx_target.
15781 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
15782 handling routine for builtin pragma.
15783 * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
15784 Registered pragma handling routine.
15785 * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
15786 (ia64_hpux_add_pragma_builtin) New subroutine used by above.
15787 If builtin pragma seen for math routine and C89 conformance is
15788 requested use different math function in order to set errno.
15789 * t-ia64 (ia64-c.o): Add new rule for new file.
15790
15791 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
15792
15793 * config/s390/s390.md ("movti"): Add Q->Q alternative.
15794 ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
15795 "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
15796
15797 ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
15798 "*movsf_ss"): Remove.
15799
15800 2002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
15801
15802 * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
15803 Delete macros.
15804
15805 2002-09-03 Arati Dikey <aratid@kpit.com>
15806
15807 * h8300.c (asm_file_start): Corrected optimization comment.
15808
15809 2002-09-03 Stan Shebs <shebs@apple.com>
15810
15811 * c-lang.c (recognize_objc_keyword): Remove, no longer used.
15812 * c-tree.h (recognize_objc_keyword): Remove decl.
15813 * c-typeck.c (comp_target_types): Update a comment.
15814
15815 2002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
15816
15817 * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
15818 and register validity checks.
15819 (general_s_operand): Adapt to s390_decompose_address interface change.
15820 (q_constraint): Likewise.
15821 (s390_expand_plus_operand): Likewise.
15822 (legitimiate_address_p): Likewise.
15823 (legitimate_la_operand_p): Likewise.
15824 (legitimize_la_operand): Likewise.
15825 (print_operand_address): Likewise.
15826 (print_operand): Likewise.
15827
15828 Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
15829
15830 PR objc/5956:
15831 * objc/objc-act.c (build_typed_selector_reference): Fix typo which
15832 was causing the new selector never to match the existing ones
15833 (Patch by Alexander Malmberg <alexander@malmberg.org>).
15834
15835 2002-09-03 Graham Stott <graham.stott@btinternet.com>
15836
15837 * config/i386/i386.md ("femms"): Add "memory" attr "none".
15838
15839 2002-09-03 Graham Stott <graham.stott@btinternet.com>
15840
15841 * expr.c (expand_expr): Remove extraneous comment and code.
15842
15843 2002-09-02 Nathan Sidwell <nathan@codesourcery.com>
15844
15845 * stor-layout (finish_builtin_struct): Renamed and moved from c++
15846 frontend. Take chain of fields. Allow NULL alignment type.
15847 * tree.h (finish_builtin_struct): Declare.
15848
15849 2002-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15850
15851 * config/alpha/alpha.c config/alpha/alpha.h config/alpha/alpha.md
15852 config/alpha/elf.h config/alpha/unicosmk.h config/alpha/vms.h
15853 config/arc/arc.c config/arc/arc.h config/arm/aout.h
15854 config/arm/arm.c config/arm/arm.h config/arm/arm.md
15855 config/avr/avr.h config/d30v/d30v.h config/dbxcoff.h
15856 config/dbxelf.h config/elfos.h config/fr30/fr30.h config/frv/frv.h
15857 config/i386/i386.c config/i386/i386.md config/i386/sco5.h
15858 config/ia64/ia64.h config/ip2k/ip2k.h config/m68hc11/m68hc11.md
15859 config/m68k/hp320.h config/m68k/m68k.c config/m68k/m68k.md
15860 config/m68k/mot3300.h config/m68k/sgs.h config/m68k/tower-as.h
15861 config/m88k/m88k.c config/m88k/m88k.h config/mcore/mcore-pe.h
15862 config/mcore/mcore.c config/mips/mips.c config/mips/mips.h
15863 config/ns32k/ns32k.md config/pa/pa-linux.h config/pa/pa.c
15864 config/pa/pa.h config/pa/pa.md config/romp/romp.h
15865 config/rs6000/linux64.h config/rs6000/lynx.h
15866 config/rs6000/rs6000.c config/rs6000/sysv4.h config/rs6000/xcoff.h
15867 config/s390/s390.c config/s390/s390.md config/sh/sh.c
15868 config/sparc/sparc.c config/sparc/sysv4.h
15869 config/stormy16/stormy16.h dbxout.c defaults.h dwarf2out.c
15870 dwarfout.c except.c final.c varasm.c vmsdbgout.c: Replace
15871 ASM_OUTPUT_INTERNAL_LABEL macro with a call to the target hook.
15872
15873 * doc/tm.texi: Update docs.
15874 * default.h (ASM_OUTPUT_INTERNAL_LABEL): Don't define.
15875 * system.h (ASM_OUTPUT_INTERNAL_LABEL): Poison.
15876
15877 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15878
15879 * Makefile.in (sdbout.o, insn-output.o): Depend on $(TARGET_H).
15880 * arc.c (arc_internal_label): New function.
15881 (TARGET_ASM_INTERNAL_LABEL): Set.
15882 * arc.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15883 * arm.c (arm_internal_label): New function.
15884 (TARGET_ASM_INTERNAL_LABEL): Set.
15885 * arm.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15886 * arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15887 * i370.c (i370_internal_label): New function.
15888 (TARGET_ASM_INTERNAL_LABEL): Set.
15889 * i370.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15890 * m68k/hp320.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15891 * m68k.c (m68k_hp320_internal_label): New function.
15892 (TARGET_ASM_INTERNAL_LABEL): Set.
15893 * m88k.c (m88k_internal_label): New function.
15894 (TARGET_ASM_INTERNAL_LABEL): Set.
15895 * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15896 * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Set to target hook.
15897 * genoutput.c (output_prologue): Include target.h in output file.
15898 * output.h (default_internal_label): Declare.
15899 * sdbout.c: Include target.h.
15900 * target-def.h (TARGET_ASM_INTERNAL_LABEL): Set and add to
15901 TARGET_ASM_OUT.
15902 * target.h (internal_label): Add to struct gcc_target.
15903 * varasm.c (default_internal_label): New function.
15904
15905 2002-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15906
15907 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Delete.
15908 * avr.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15909 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15910 * cris.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15911 * d30v.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15912 * darwin.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15913 * dsp16xx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15914 * elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15915 * h8300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15916 * i386/att.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15917 * i386/bsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15918 * i386/i386-coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15919 * i386/lynx-ng.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15920 * i386/lynx.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15921 * i386/sco5.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15922 * i960/i960.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15923 * m68k/3b1.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15924 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15925 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15926 * m68k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15927 * m68k/mot3300.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15928 * m68k/tower-as.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15929 * m88k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15930 * mcore.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15931 * mips.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15932 * mmix-protos.h (mmix_asm_output_internal_label): Likewise.
15933 * mmix.c (mmix_asm_output_internal_label): Likewise.
15934 * mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15935 * ns32k.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15936 * pa.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15937 * pdp11.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15938 * romp.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15939 * rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15940 * sh/coff.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15941 * sh/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15942 * sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15943 * sparc/linux.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15944 * sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15945 * sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15946 * sparc/pbd.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15947 * sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15948 * sparc.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15949 * sparc/vxsim.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15950 * stormy16.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15951 * svr3.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15952 * vax.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
15953
15954 * defaults.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
15955
15956 2002-08-31 Richard Henderson <rth@redhat.com>
15957
15958 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
15959
15960 2002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
15961
15962 * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
15963
15964 2002-08-30 Richard Henderson <rth@redhat.com>
15965
15966 PR opt/7515
15967 * c-objc-common.c: Include target.h.
15968 (c_cannot_inline_tree_fn): Don't auto-inline functions that
15969 don't bind locally. Factor setting DECL_UNINLINABLE.
15970 * Makefile.in (c-objc-common.o): Update.
15971
15972 2002-08-30 Janis Johnson <janis187@us.ibm.com>
15973
15974 * doc/install.texi (Configuration, Building): Fix a typo and
15975 some formatting directives.
15976
15977 2002-08-30 Paul Koning <pkoning@equallogic.com>
15978
15979 * doc/c-tree.texi (RDIV_EXPR): Fix typo.
15980 * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
15981 implemented" note.
15982 * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
15983 for alphabetic order.
15984 * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
15985 VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
15986 (VAX_HALFWORD_ORDER): Document.
15987 (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
15988 IEEE float format.
15989 (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
15990 (ASM_OUTPUT_LABEL_REF): Fix font.
15991 (CASE_VECTOR_SHORTEN_MODE): Ditto.
15992
15993 2002-08-30 Denis Chertykov <denisc@overta.ru>
15994
15995 * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
15996 stuff.
15997 (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
15998 CONST_DOUBLE constants.
15999
16000 2002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
16001
16002 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
16003 related defines to...
16004 (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
16005 * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
16006 as a no-op.
16007
16008 2002-08-30 Krister Walfridsson <cato@df.lth.se>
16009
16010 * config/arm/arm.c (arm_asm_output_labelref): New function.
16011 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
16012 * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
16013
16014 2002-08-29 Rodney Brown <rbrown64@csc.com.au>
16015
16016 * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
16017 memory exhausted" workarounds.
16018
16019 2002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
16020
16021 * diagnostic.c (fancy_abort): Don't repeat "internal error".
16022 * toplev.c (crash_signal): Likewise.
16023
16024 Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
16025
16026 * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
16027 * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
16028 Extended, updated documentation.
16029 (-Wundeclared-selector): Documented.
16030
16031 2002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
16032
16033 * config/chorus.h: Consistently define *_DEBUGGING_INFO with
16034 the value 1. Do not undef before defining.
16035 * config/darwin.h: Likewise.
16036 * config/dbx.h: Likewise.
16037 * config/dbxcoff.h: Likewise.
16038 * config/dbxelf.h: Likewise.
16039 * config/elfos.h: Likewise.
16040 * config/interix.h: Likewise.
16041 * config/lynx-ng.h: Likewise.
16042 * config/lynx.h: Likewise.
16043 * config/netware.h: Likewise.
16044 * config/psos.h: Likewise.
16045 * config/svr3.h: Likewise.
16046 * config/alpha/alpha.h: Likewise.
16047 * config/alpha/elf.h: Likewise.
16048 * config/alpha/vms.h: Likewise.
16049 * config/arc/arc.h: Likewise.
16050 * config/arm/aout.h: Likewise.
16051 * config/arm/coff.h: Likewise.
16052 * config/c4x/c4x.h: Likewise.
16053 * config/h8300/h8300.h: Likewise.
16054 * config/i386/cygwin.h: Likewise.
16055 * config/i386/djgpp.h: Likewise.
16056 * config/i386/gas.h: Likewise.
16057 * config/i386/gstabs.h: Likewise.
16058 * config/i386/i386-coff.h: Likewise.
16059 * config/i386/i386-interix.h: Likewise.
16060 * config/i386/sco5.h: Likewise.
16061 * config/i386/svr3dbx.h: Likewise.
16062 * config/i386/sysv3.h: Likewise.
16063 * config/i386/win32.h: Likewise.
16064 * config/i386/x86-64.h: Likewise.
16065 * config/i960/i960.h: Likewise.
16066 * config/ia64/ia64.h: Likewise.
16067 * config/ip2k/ip2k.h: Likewise.
16068 * config/m32r/m32r.h: Likewise.
16069 * config/m68k/3b1.h: Likewise.
16070 * config/m68k/3b1g.h: Likewise.
16071 * config/m68k/ccur-GAS.h: Likewise.
16072 * config/m68k/coff.h: Likewise.
16073 * config/m68k/hp2bsd.h: Likewise.
16074 * config/m68k/hp310g.h: Likewise.
16075 * config/m68k/hp320g.h: Likewise.
16076 * config/m68k/hp3bsd.h: Likewise.
16077 * config/m68k/hp3bsd44.h: Likewise.
16078 * config/m68k/linux-aout.h: Likewise.
16079 * config/m68k/m68k-aout.h: Likewise.
16080 * config/m68k/mot3300.h: Likewise.
16081 * config/m68k/netbsd.h: Likewise.
16082 * config/m68k/openbsd.h: Likewise.
16083 * config/m68k/pbb.h: Likewise.
16084 * config/m68k/plexus.h: Likewise.
16085 * config/m68k/sun2.h: Likewise.
16086 * config/m68k/sun3.h: Likewise.
16087 * config/m68k/tower-as.h: Likewise.
16088 * config/m68k/vxm68k.h: Likewise.
16089 * config/m88k/aout-dbx.h: Likewise.
16090 * config/m88k/m88k-aout.h: Likewise.
16091 * config/mcore/mcore-elf.h: Likewise.
16092 * config/mcore/mcore-pe.h: Likewise.
16093 * config/mips/elf.h: Likewise.
16094 * config/mips/elf64.h: Likewise.
16095 * config/mips/iris5gas.h: Likewise.
16096 * config/mips/iris6.h: Likewise.
16097 * config/mips/mips.h: Likewise.
16098 * config/mips/sni-gas.h: Likewise.
16099 * config/mmix/mmix.h: Likewise.
16100 * config/ns32k/netbsd.h: Likewise.
16101 * config/pa/pa64-hpux.h: Likewise.
16102 * config/romp/romp.h: Likewise.
16103 * config/rs6000/sysv4.h: Likewise.
16104 * config/rs6000/xcoff.h: Likewise.
16105 * config/sh/coff.h: Likewise.
16106 * config/sh/elf.h: Likewise.
16107 * config/sparc/linux64.h: Likewise.
16108 * config/sparc/liteelf.h: Likewise.
16109 * config/sparc/netbsd.h: Likewise.
16110 * config/sparc/openbsd.h: Likewise.
16111 * config/sparc/pbd.h: Likewise.
16112 * config/sparc/sp64-elf.h: Likewise.
16113 * config/sparc/sp86x-elf.h: Likewise.
16114 * config/sparc/sparc.h: Likewise.
16115 * config/vax/vax.h: Likewise.
16116 * config/vax/vaxv.h: Likewise.
16117
16118 2002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
16119
16120 * h8300.c (shift_alg_hi): Various tweaks to improve performance
16121 of HImode shifts.
16122 (get_shift_alg): Corresponding changes.
16123
16124 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
16125
16126 * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
16127
16128 2002-08-29 Richard Henderson <rth@redhat.com>
16129
16130 * expr.h (enum block_op_methods): New.
16131 (emit_block_move): Update prototype.
16132 * expr.c (block_move_libcall_safe_for_call_parm): New.
16133 (emit_block_move_via_loop): New.
16134 (emit_block_move): Use them. New argument METHOD.
16135 (emit_push_insn): Always respect the given alignment.
16136 (expand_assignment): Update call to emit_block_move.
16137 (store_expr, store_field, expand_expr): Likewise.
16138 * builtins.c (expand_builtin_apply): Likewise.
16139 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
16140 * function.c (expand_function_end): Likewise.
16141 * config/sh/sh.c (sh_initialize_trampoline): Likewise.
16142 * config/sparc/sparc.c (sparc_va_arg): Likewise.
16143 * calls.c (expand_call, emit_library_call_value_1): Likewise.
16144 (save_fixed_argument_area): Use emit_block_move with
16145 BLOCK_OP_CALL_PARM instead of move_by_pieces.
16146 (restore_fixed_argument_area): Likewise.
16147 (store_one_arg): Fix alignment parameter to emit_push_insn.
16148
16149 2002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
16150
16151 * install.texi (hppa64-hp-hpux11*): Document installation procedure.
16152
16153 2002-08-29 Catherine Moore <clm@redhat.com>
16154
16155 * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
16156 NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
16157 (PREDICATE_CODES): Include new predicates.
16158 (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
16159 (TARGET_SWITCHES): Add strict-align.
16160 (TARGET_STRICT_ALIGN): New.
16161 (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
16162 * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
16163 Define.
16164 (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
16165 v850_muldi3.
16166 * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
16167 L_callt_save_r2_r31, L_return_r2_r31,
16168 L_save_all_interrupt): Change addi to add.
16169 (L_save_interrupt, L_return_interrupt): Rework.
16170 (__return_r31): Correct .size directive.
16171 (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
16172 (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
16173 New routines.
16174 * config/v850/v850.c (expand_prologue): Call
16175 gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
16176 gen_callt_return_interrupt and gen_callt_save_all_interrupt.
16177 (reg_or_int9_operand): New predicate.
16178 (reg_or_const_operand): New routine.
16179 * config/v850/v850.md (return_interrupt): Changed from
16180 restore_interrupt.
16181 (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
16182 (callt_save_interrupt): Change save sequence.
16183 (callt_return_interrupt): New.
16184 (save_interrupt): Don't use runtime function for LONG_CALLS
16185 and TARGET_PROLOG_FUNCTION.
16186 (save_all_interrupt): Likewise.
16187 (mulsi3): Use new predicate.
16188 (moviscc): Disallow some combination of constants.
16189 Fix define_split for sasf insns, so that it will not generate bad
16190 code if operand0 and operand5 are the same.
16191 * config/v850/v850-protos.h: Prototype new predicates.
16192
16193 2002-08-29 Zack Weinberg <zack@codesourcery.com>
16194
16195 * config/rs6000/rs6000.c (processor_target_table): Add 405f.
16196 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Likewise.
16197
16198 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
16199
16200 * c-common.c (builtin_define_type_precision): New function.
16201 (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
16202 wchar_t is unsigned in C++.
16203 * doc/cpp.texi (Common Predefined Macros): Document
16204 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
16205 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
16206 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
16207
16208 2002-08-28 Sylvain Pion <pion@cs.nyu.edu>
16209
16210 * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
16211 section. Mention that it is enabled by -Wall.
16212 (-Wall): Mention that there can be language-specific warnings as well.
16213 (-Wctor-dtor-privacy): Mention that it is enabled by default.
16214 (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
16215
16216 Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
16217
16218 * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
16219 if it is ever live.
16220
16221 * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
16222 attribute for SHCOMPACT.
16223
16224 * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
16225 appropriately.
16226 (FUNCTION_BOUNDARY): Specify only the minimum alignment required
16227 by the ABI.
16228
16229 * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
16230
16231 2002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
16232
16233 * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
16234 "MASK_GAS|MASK_ABICALLS".
16235 * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
16236 (TARGET_DEFAULT): Remove.
16237 (MACHINE_TYPE): Undefine before defining.
16238 (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
16239
16240 2002-08-27 Mark Mitchell <mark@codesourcery.com>
16241
16242 * c-common.c (warn_abi): New variable.
16243 * c-common.h (warn_abi): Likewise.
16244 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
16245 (c_common_decode_option): Handle it.
16246 * doc/invoke.texi: Document -Wabi.
16247
16248 Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
16249
16250 * c-common.c (warn_undeclared_selector): New variable.
16251 * c-common.h (warn_undeclared_selector): Idem.
16252 * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
16253 to on when -Wundeclared-selector is found.
16254 (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
16255 * objc/objc-act.c (build_selector_expr): If
16256 warn_undeclared_selector is set, check that the selector has
16257 already been defined, and emit a warning if not.
16258
16259 2002-08-27 Nick Clifton <nickc@redhat.com>
16260 Catherine Moore <clm@redhat.com>
16261 Jim Wilson <wilson@cygnus.com>
16262
16263 * config.gcc: Add v850e-*-* target.
16264 Add --with-cpu= support for v850.
16265 * config/v850/lib1funcs.asm: Add v850e callt functions.
16266 * config/v850/v850.h: Add support for v850e target.
16267 * config/v850/v850.c: Add functions to support v850e target.
16268 * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
16269 * config/v850/v850.md: Add patterns for v850e instructions.
16270 * doc/invoke.texi: Document new v850e command line switches.
16271
16272 Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
16273 Aldy Hernandez <aldyh at redhat dot com>
16274
16275 * doc/tm.texi: Applied numerous fixes to the automaton based
16276 scheduler descrition.
16277
16278 Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
16279
16280 * i386.c (classify_argument): Handle variable sized objects.
16281
16282 Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
16283
16284 * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
16285
16286 Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
16287
16288 * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
16289
16290 Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
16291
16292 * i386.c (classify_argument): Properly compute word size of the analyzed object.
16293
16294 Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
16295
16296 * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
16297 mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
16298 accordingly.
16299 (attribute insn_class): Provide default definitions based on type.
16300 Remove all insn-specific settings.
16301 (various function units): Remove old SH4 scheduling.
16302 (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
16303 New attributes. Set them where appropriate.
16304 (cpu unit FS): Don't define / use.
16305 (F3, load_store): New cpu units.
16306 (F01): New reservation.
16307 (all insn_reservations): Make dependent on sh4 pipeline model.
16308 Fix latencies.
16309 (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
16310 (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
16311 (mt insn_reservation): Use type mt_group.
16312 (insn_reservation load_store): Split into sh4_load, sh4_load_si,
16313 sh4_fload and sh4_store.
16314 (insn_reservation branch_zero and branch): Replace with sh4_branch.
16315 (insn_reservation branch_far): Replace with sh4_return.
16316 (insn_reservation return_from_exp): Rename to:
16317 (sh4_return_from_exp). Change to be just d_lock*5.
16318 (insn_reservation lds_to_pr): Rename to:
16319 (sh4_lds_to_pr). Change to be just d_lock*2.
16320 (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
16321 d_lock*2.
16322 (insn_reservation prload_mem): Rename to:
16323 (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
16324 (insn_reservation fpscr_store): Rename to:
16325 (fpscr_load). Change to d_lock,nothing,F1*3.
16326 (insn_reservation fpscr_store_mem): Rename to:
16327 (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
16328 (insn_reservation multi): Change to
16329 d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
16330 (insn_reservation fp_arith): Change to issue,F01,F2.
16331 (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
16332 (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
16333 (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
16334 (insn_reservation fp_double_cmp): Change to
16335 d_lock,(d_lock+F01),F1+F2,F2.
16336 (insn_reservation dp_div): Change to
16337 issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
16338 * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
16339 (sh_adjust_cost, SHcompact): Differentiate between different
16340 kinds of dependencies. Drop factor of ten for superscalar.
16341 Use new instruction types. Add new exception rules.
16342
16343 * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
16344
16345 * sh.md (mperm_w): Add DONE.
16346
16347 2002-08-27 David Edelsohn <edelsohn@gnu.org>
16348
16349 * longlong.h: Import current PowerPC defintion from GMP-4.1.
16350
16351 * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
16352
16353 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
16354
16355 Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
16356
16357 * sh.h (MAX_FIXED_MODE_SIZE): Define.
16358
16359 2002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
16360
16361 * doc/cpp.texi (Common Predefined Macros): Don't mess with table
16362 delimiter.
16363
16364 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
16365
16366 * c-common.c (cpp_define_data_format): New function.
16367 (cb_register_builtins): Call it.
16368
16369 * doc/cpp.texi (Common Predefined Macros): Document
16370 __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
16371 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
16372 __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
16373 __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
16374 __TARGET_USES_VAX_H_FLOAT__.
16375
16376 2002-08-26 Ziemowit Laski <zlaski@apple.com>
16377
16378 * objc/objc-act.c (get_super_receiver): If inside a class method
16379 of a category, cast the receiver to 'id' before accessing the 'isa'
16380 field so that <objc/objc-class.h> is not needed. For NeXT runtime.
16381
16382 2002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
16383
16384 * config/s390/s390-protos.h (s390_function_prologue,
16385 s390_function_epilogue): Remove.
16386 config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
16387 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
16388
16389 config/s390/s390.c (s390_machine_dependent_recorg): New function.
16390 config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
16391 config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
16392 config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
16393 to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
16394
16395 config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
16396 assume BASE_REGISTER and RETURN_REGNUM need to be saved.
16397 (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
16398 function is not a leaf function. Use save_gprs and restore_gprs.
16399 (s390_emit_epilogue): Likewise.
16400 (save_gprs, restore_gprs): New functions.
16401 (struct s390_frame): Remove return_reg_saved_p member.
16402 (save_fprs_p): Remove.
16403 (s390_optimize_prolog): New function.
16404 (s390_legitimate_reload_constant): Remove now unnecessary check.
16405
16406 (s390_function_count): Remove.
16407 (s390_output_symbolic_const): Replace s390_function_count by
16408 current_function_funcdef_no.
16409 (s390_output_constant_pool): Likewise.
16410
16411 (legitimize_pic_address): Use regs_ever_live to track PIC register
16412 instead of current_function_uses_pic_offset_table.
16413 (s390_emit_prologue): Likewise.
16414 config/s390/s390.md ("call", "call_value"): Likewise.
16415
16416 2002-08-26 Neil Booth <neil@daikokuya.co.uk>
16417
16418 * c-opts.c (find_opt): Don't complain about wrong languages
16419 here. Return exact matches even for wrong language.
16420 (c_common_decode_option): Complain about wrong languages
16421 here.
16422
16423 2002-08-24 Stuart Hastings <stuart@apple.com>
16424
16425 * function.h (struct function): Add flag
16426 all_throwers_are_sibcalls.
16427 * except.c (set_nothrow_function_flags): Replaces
16428 nothrow_function_p. Set new flag.
16429 * except.h (set_nothrow_function_flags): Replaces
16430 nothrow_function_p.
16431 * dwarf2out.c (struct dw_fde_struct): Add flag
16432 all_throwers_are_sibcalls.
16433 (output_call_frame_info): Test it.
16434 (dwarf2out_begin_prologue) Propagate it from cfun to
16435 dw_fde_struct.
16436 * toplev.c (rest_of_compilation): Update calls to
16437 nothrow_function_p.
16438
16439 2002-08-23 Zack Weinberg <zack@codesourcery.com>
16440
16441 * ggc-page.c (compute_inverse): Short circuit calculation for
16442 object sizes larger than half a page.
16443
16444 2002-08-23 David Edelsohn <edelsohn@gnu.org>
16445
16446 * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
16447 DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
16448 default.
16449 (rs6000_elf_unique_section): Likewise.
16450
16451 2002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16452
16453 * ns32k.c (ns32k_globalize_label): Delete.
16454 * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
16455
16456 2002-08-23 Alan Modra <amodra@bigpond.net.au>
16457
16458 * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
16459 for loading delta with num_insns_constant_wide. Calculate
16460 delta_low, delta_high without using a conditional.
16461
16462 2002-08-22 Jason Merrill <jason@redhat.com>
16463
16464 * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
16465 * c-common.def: Adjust.
16466 * c-dump.c (c_dump_tree): Adjust.
16467 * c-semantics.c (genrtl_return_stmt): Adjust.
16468 * c-pretty-print.c (pp_c_statement): Adjust.
16469 * tree-inline.c (copy_body_r): Adjust.
16470
16471 2002-08-22 Zack Weinberg <zack@codesourcery.com>
16472
16473 * ggc-page.c: Avoid division in ggc_set_mark.
16474 (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
16475 compute_inverse): New.
16476 (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
16477 (init_ggc): Initialize inverse_table.
16478
16479 2002-08-22 Tom Tromey <tromey@redhat.com>
16480
16481 * doc/install.texi (Configuration): Document --datadir.
16482
16483 2002-08-22 Alexandre Oliva <aoliva@redhat.com>
16484
16485 * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
16486
16487 2002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
16488
16489 * gengtype-lex.l (ID): Allow underscore as first character.
16490
16491 2002-08-21 David Edelsohn <edelsohn@gnu.org>
16492
16493 * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
16494 function.
16495 (rs6000_xcoff_asm_named_section): Rename.
16496 * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
16497
16498 2002-08-21 Tom Tromey <tromey@redhat.com>
16499
16500 For PR java/6005 and PR java/7611:
16501 * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
16502 (fold): Likewise.
16503 * langhooks.c (lhd_can_use_bit_fields_p): New function.
16504 * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
16505 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
16506 (LANG_HOOKS_INITIALIZER): Use it.
16507 * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
16508 field.
16509
16510 2002-08-21 Stan Shebs <shebs@apple.com>
16511
16512 * tree.c (finish_vector_type): Fix a typo in a comment.
16513 * Makefile.in: Fix "the the" stutters in comments.
16514 * genautomata.c: Ditto.
16515 * ifcvt.c: Ditto.
16516 * regrename.c: Ditto.
16517 * config/alpha/alpha.c: Ditto.
16518 * config/alpha/vms-crt0-64.c: Ditto.
16519 * config/alpha/vms-crt0.c: Ditto.
16520 * config/alpha/vms-psxcrt0-64.c: Ditto.
16521 * config/alpha/vms-psxcrt0.c: Ditto.
16522 * config/d30v/d30v.h: Ditto.
16523 * config/fr30/fr30.h: Ditto.
16524 * config/rs6000/rs6000.c: Ditto.
16525 * config/stormy16/stormy16.h: Ditto.
16526 * doc/md.texi: Ditto.
16527
16528 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
16529
16530 * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
16531
16532 2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
16533
16534 * c-decl.c (grokdeclarator): Make invalid combinations with long,
16535 short, signed or unsigned into hard errors. Fixes PR c/4319.
16536 Also make duplicate modifiers such as "short short" into hard
16537 errors.
16538
16539 2002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
16540 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16541
16542 * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
16543 to the actual end. Add '@end table' and '@table @code'.
16544
16545 2002-08-20 Geoffrey Keating <geoffk@redhat.com>
16546
16547 * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
16548
16549 * unroll.c (biv_total_increment): Don't try to compute the total
16550 increment for FP BIVs.
16551
16552 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16553
16554 * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
16555 * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
16556 ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16557 * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
16558 * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
16559 * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
16560 (GLOBAL_ASM_OP): Define.
16561 * arm.c (aof_globalize_label): New function.
16562 (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
16563 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16564 * c4x.c (c4x_globalize_label): New function.
16565 (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
16566 * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
16567 (GLOBAL_ASM_OP): Define.
16568 * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
16569 * darwin-protos.h (darwin_globalize_label): Declare.
16570 * darwin.c (darwin_globalize_label): New function.
16571 * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
16572 (ASM_GLOBALIZE_LABEL): Delete.
16573 (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
16574 * dsp16xx.c (asm_output_common): Use target hook.
16575 * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
16576 * frv.h (ASM_GLOBALIZE_LABEL): Delete.
16577 (GLOBAL_ASM_OP): Define.
16578 * i370.c (i370_globalize_label): New function.
16579 (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
16580 * i370.h (ASM_GLOBALIZE_LABEL): Delete.
16581 * i386.c (ix86_asm_file_end): Use target hook.
16582 * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
16583 (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
16584 * ia64.c (ia64_asm_output_external): Likewise.
16585 * ia64/sysv4.h: Update comment.
16586 * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16587 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
16588 * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
16589 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
16590 * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
16591 * mmix-protos.h (mmix_asm_globalize_label): Delete.
16592 * mmix.c (mmix_asm_globalize_label): Likewise.
16593 * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
16594 (GLOBAL_ASM_OP): Define.
16595 * ns32k.c (ns32k_globalize_label): New function.
16596 * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
16597 (ASM_GLOBALIZE_LABEL): Delete.
16598 * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
16599 (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
16600 * pa.c (pa_globalize_label): New function.
16601 * pa.h (ASM_GLOBALIZE_LABEL): Delete.
16602 (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
16603 * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
16604 (GLOBAL_ASM_OP): Define.
16605 (TARGET_ASM_GLOBALIZE_LABEL): Undef.
16606 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
16607 * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
16608 (GLOBAL_ASM_OP): Define.
16609 * v850.c (v850_output_aligned_bss): Use target hook.
16610 * vax.c (vms_globalize_label): New function.
16611 (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
16612 * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
16613 (GLOBAL_ASM_OP): Define.
16614 * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
16615 * doc/tm.texi: Update docs.
16616 * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
16617 target hook.
16618 * final.c (output_alternate_entry_point): Likewise.
16619 * hooks.c (hook_FILEptr_constcharptr_void): New function.
16620 * hooks.h (hook_FILEptr_constcharptr_void): Declare.
16621 * output.h (assemble_global): Delete.
16622 (default_globalize_label): Declare.
16623 * system.h (ASM_GLOBALIZE_LABEL): Poison.
16624 * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
16625 (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
16626 * target.h (gcc_target): Add globalize_label member.
16627 * varasm.c (asm_output_bss, asm_output_aligned_bss,
16628 globalize_decl): Use target hook.
16629 (assemble_global): Delete.
16630 (default_globalize_label): New function.
16631
16632 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16633
16634 * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
16635
16636 2002-08-20 Devang Patel <dpatel@apple.com>
16637 * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
16638
16639 2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16640
16641 * arc.c (output_shift): Use stdio instead of asm_fprintf.
16642 * arm.c (thumb_output_function_prologue): Likewise.
16643 * avr.c (print_operand): Likewise.
16644 * c4x.c (c4x_print_operand): Likewise.
16645 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
16646 ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
16647 * cris.c (cris_target_asm_function_prologue,
16648 cris_asm_output_mi_thunk): Likewise.
16649 * h8300.c (print_operand): Likewise.
16650 * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16651 * ip2k.c (print_operand): Likewise. Fix format specifier.
16652 * m68hc11.c (asm_print_register, print_operand,
16653 print_operand_address): Use stdio instead of asm_fprintf.
16654 (print_operand_address): Fix format specifier.
16655 * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
16656 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
16657 asm_fprintf.
16658 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16659 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
16660 * m68k.c (m68k_output_function_prologue,
16661 m68k_output_function_epilogue, print_operand): Likewise.
16662 * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
16663 Likewise. Fix format specifier.
16664 * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16665 * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16666 * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
16667
16668 2002-08-15 Eric Christopher <echristo@redhat.com>
16669 Jeff Knaggs <jknaggs@redhat.com>
16670
16671 * config.gcc (mipsisa64sr71k-elf): New target.
16672 * config/mips/sr71k.md: New file.
16673 * config/mips/mips.md: Use it.
16674 (rot*): Add sr71k specifics.
16675 * config/mips/t-sr71k: New file.
16676 * config/mips/mips.h (sr71k): New cpu.
16677 (TARGET_SR71K): Use it.
16678 (TUNE_SR71K): Ditto.
16679 (GENERATE_BRANCHLIKELY): Ditto.
16680 (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
16681 ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
16682 * config/mips/mips.c (sr71k): New cpu.
16683 (mips_use_dfa_pipeline_interface): Use.
16684
16685 2002-08-15 Eric Christopher <echristo@redhat.com>
16686 Richard Sandiford <rsandifo@redhat.com>
16687 Aldy Hernandez <aldyh@redhat.com>
16688 Graham Stott <grahams@redhat.com>
16689 Michael Meissner <meissner@redhat.com>
16690 Gavin Romig-Koch <gavin@redhat.com>
16691 Ken Raeburn <raeburn@cygnus.com>
16692 Alexandre Oliva <aoliva@redhat.com>
16693
16694 * config.gcc (mips64vr-elf): New target.
16695 * config/mips/5400.md: New file.
16696 * config/mips/5500.md: Ditto.
16697 * config/mips/mips.md: Use them.
16698 (frsqrt): New.
16699 * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
16700 cpus.
16701 (mips_issue_rate): Use them.
16702 (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
16703 (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
16704 * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
16705 cpus.
16706 (TARGET_MIPSx): Use them.
16707 (TUNE_MIPSx): Ditto.
16708 (GETNATE_MULT3_SI): Ditto.
16709 (ISA_HAS_BRANCHLIKELY): Ditto.
16710 (ISA_HAS_CONDMOVE): Ditto.
16711 (ISA_HAS_NMADD_NMSUB): Ditto.
16712 (ISA_HAS_MULHI): New. Ditto.
16713 (ISA_HAS_MULS): Ditto.
16714 (ISA_HAS_MSAC): Ditto.
16715 (ISA_HAS_MACC): Ditto.
16716 (ISA_HAS_ROTR_SI): Ditto.
16717 (ISA_HAS_ROTR_DI): Ditto.
16718 (RTX_COSTS): Use.
16719
16720 2002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
16721
16722 * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
16723 at head.
16724 (remove_dup_nonsys_dirs): New function.
16725 (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
16726 (merge_include_chains): Remove non-system include directories from
16727 quote and bracket include chains when they duplicate equivalent system
16728 directories.
16729 * doc/cpp.texi (-I): Update.
16730 * doc/cppopts.texi (-I): Update.
16731 * doc/install.texi (--with-local-prefix): Further document usage of
16732 this option.
16733 * doc/invoke.texi (-I): Update.
16734
16735 2002-08-20 Richard Henderson <rth@redhat.com>
16736
16737 * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
16738 (emit_block_move): Split out subroutines.
16739 (emit_block_move_via_movstr): New.
16740 (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
16741 (emit_block_move_libcall_fn): New. Construct function prototype for
16742 bcopy as well.
16743 (clear_storage): Split out subroutines.
16744 (clear_storage_via_clrstr): New.
16745 (clear_storage_via_libcall): New. Emit bzero as a normal call also.
16746 (clear_storage_libcall_fn): New. Construct function prototype for
16747 bzero as well.
16748 (emit_push_insn): Use emit_block_move.
16749 (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
16750 (store_constructor): Likewise.
16751
16752 2002-08-19 Ziemowit Laski <zlaski@apple.com>
16753
16754 * objc/objc-act.c (building_objc_message_expr): Rename to
16755 current_objc_message_selector.
16756
16757 2002-08-19 Ziemowit Laski <zlaski@apple.com>
16758
16759 * objc/objc-act.c (build_ivar_chain): Remove.
16760 (objc_copy_list): Likewise.
16761 (get_class_ivars): Inline call to removed build_ivar_chain
16762 function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
16763 slot; use that slot (rather than CLASS_IVARS) when accessing
16764 ivars for base classes. Call copy_list and chainon instead of
16765 objc_copy_list.
16766 (build_private_template): Call get_class_ivars instead of
16767 build_ivar_chain.
16768 (start_class): Allocate room for the CLASS_OWN_IVARS slot.
16769 (continue_class): Call get_class_ivars instead of
16770 build_ivar_chain.
16771 (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
16772 of DECL_BIT_FIELD (which may have been cleared).
16773 * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
16774
16775 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16776
16777 * genautomata.c (output_translate_vect, output_state_ainsn_table,
16778 output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
16779 in output file.
16780 (output_internal_min_issue_delay_func): Initialize variable in
16781 output file.
16782
16783 2002-08-19 Alexandre Oliva <aoliva@redhat.com>
16784
16785 * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
16786 (stage2_build, stage3_build, stage4_build): Likewise, to CC.
16787
16788 2002-08-19 Geoffrey Keating <geoffk@redhat.com>
16789 Steve Ellcey <sje@cup.hp.com>
16790
16791 * machmode.h (SCALAR_INT_MODE_P): New macro to test for
16792 scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
16793 * explow.c (trunc_int_for_mode): Abort when the mode is not
16794 a scaler integer mode.
16795 * combine.c (expand_compound_operation): Don't expand Vector
16796 or Complex modes into shifts.
16797 (expand_field_assignment): Don't do bitwise arithmatic and
16798 shifts on Vector or Complex modes.
16799 (simplify_comparison): Don't call trunc_int_for_mode
16800 for VOIDmode.
16801 * recog.c (general_operand): Likewise.
16802 (immediate_operand): Likewise.
16803 (nonmemory_operand): Likewise.
16804
16805 2002-08-19 David Edelsohn <edelsohn@gnu.org>
16806
16807 * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
16808 multi-instruction SImode constant. Add REG_EQUAL note.
16809 * config/rs6000/rs6000.md (movsi splitter): Use
16810 rs6000_emit_set_const.
16811
16812 2002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16813
16814 * tree-inline.c (initialize_inlined_parameters): Wrap variable in
16815 the macro test controlling its use.
16816
16817 2002-08-18 H.J. Lu (hjl@gnu.org)
16818
16819 * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
16820 crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
16821 gnu_ld=yes.
16822 (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
16823 i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
16824 s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
16825 xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
16826 here.
16827 (cris-*-linux*): Remove setting thread_file here.
16828
16829 2002-08-18 Neil Booth <neil@daikokuya.co.uk>
16830
16831 PR preprocessor/7602
16832 * cppinit.c (path_include): Treat the system environment
16833 variables as being cxx_aware.
16834
16835 2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
16836
16837 * c-decl.c (flexible_array_type_p): New function.
16838 (grokdeclarator, finish_struct): Use it.
16839 * doc/extend.texi: Document constraints on use of structures with
16840 flexible array members.
16841
16842 2002-08-17 Richard Sandiford <rsandifo@redhat.com>
16843
16844 * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
16845 config/mips/t-r3900 (MULTILIB_MATCHES): Define.
16846 * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
16847
16848 2002-08-16 Stan Shebs <shebs@apple.com>
16849
16850 * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
16851 for ObjC with -fnext-runtime.
16852 * doc/cpp.texi: Document it.
16853
16854 2002-08-16 Janis Johnson <janis187@us.ibm.com>
16855
16856 * doc/install.texi (Final installation): Replace links to individual
16857 build status pages with a link to a common page that lists them all.
16858
16859 2002-08-16 Sylvain Pion <pion@cs.nyu.edu>
16860
16861 * doc/invoke.texi: Fix typo.
16862
16863 2002-08-16 David Edelsohn <edelsohn@gnu.org>
16864
16865 * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
16866
16867 2002-08-16 Andrew Haley <aph@redhat.com>
16868
16869 * tree-inline.c: Add includes for Java inliner.
16870 (remap_decl): Don't handle anonymous types for Java.
16871 (remap_block): Add handling for Java trees.
16872 (copy_scope_stmt): Conditionalize for non-Java use only.
16873 (copy_body_r): Handle Java trees. Add handling for
16874 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
16875 (initialize_inlined_parameters): Handle Java trees.
16876 (declare_return_variable): Likewise.
16877 (expand_call_inline): Handle Java trees.
16878 (walk_tree): Likewise.
16879 (copy_tree_r): Don't handle SCOPE_STMTs for Java.
16880 (add_stmt_to_compound): New function.
16881
16882 2002-08-15 Richard Henderson <rth@redhat.com>
16883
16884 * Makefile.in (LOOSE_WARN): Remove -fno-common.
16885 (NOCOMMON_FLAG): New substitution point.
16886 (GCC_WARN_CFLAGS): Include it.
16887 * configure.in (ac_checking): Set nocommon_flag.
16888 (nocommon_flag): New substitution point.
16889
16890 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
16891
16892 * c-tree.h (skip_evaluation): Move declaration...
16893 * c-common.h: ... here.
16894 * c-typeck.c (build_external_ref): Don't assemble_external nor
16895 mark a tree as used if skip_evaluation is set.
16896 * c-parse.in (typeof): New non-terminal to set skip_evaluation
16897 around TYPEOF.
16898 (typespec_nonreserved_nonattr): Use it.
16899
16900 2002-08-15 Douglas B Rupp <rupp@gnat.com>
16901
16902 * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
16903 (xcoff_debug_hooks): Update end_prologue.
16904 * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
16905 * debug.h (end_prologue): Add file arg.
16906 (end_epilogue): Add line and file args.
16907 (dwarf2out_end_epilogue): Add line and file args.
16908 (vmsdbgout_after_prologue): Remove.
16909 * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
16910 (dwarf2_debug_hooks): Update end_prologue.
16911 * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
16912 (dwarfout_end_prologue): Add file arg.
16913 * final.c (vmsdbgout_after_prologue): Remove
16914 (final_end_function): Update end_epilogue call.
16915 (final_scan_insn): Update end_prologue call.
16916 * sdbout.c (sdbout_end_epilogue): Add line and file args.
16917 (sdbout_end_prologue): Add file arg.
16918 (sdb_debug_hooks): Update end_prologue.
16919 (sdb_begin_prologue): Update sdbout_end_prologue call.
16920 * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
16921 vmsdbgout_end_function.
16922 (vmsdbgout_end_prologue): New function renamed from
16923 vmsdbgout_after_prologue. Call vmsdbgout_source_line.
16924 (vmsdbgout_end_function): New function.
16925 (vmsdbgout_end_epilogue): Add line and file args. Call
16926 vmsdbgout_source_line.
16927 (write_pclines): Write only valid line numbers.
16928 (write_srccorr): Don't write source correlation records if 0 lines.
16929 * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
16930
16931 2002-08-15 Steve Ellcey <sje@cup.hp.com>
16932
16933 * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
16934 (_Unwind_Internal_Ptr): 32 bit version for use in
16935 read_encoded_value_with_base.
16936 * gcc/unwind-pe.h (read_encoded_value_with_base): Use
16937 _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
16938 right size.
16939
16940 2002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16941
16942 * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
16943 signed/unsigned warnings.
16944
16945 * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
16946 record_reg_classes): Likewise.
16947
16948 * reload.c (reload_inner_reg_of_subreg, push_reload,
16949 find_reloads_address_1): Likewise.
16950
16951 2002-08-15 David Edelsohn <edelsohn@gnu.org>
16952
16953 * rs6000.c (output_mi_thunk): Return to function section on
16954 TARGET_ELF.
16955
16956 * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
16957
16958 2002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
16959
16960 * config/s390/s390.c (legitimize_address): Optimize loading
16961 of large displacements.
16962
16963 2002-08-14 Douglas B Rupp <rupp@gnat.com>
16964
16965 * config/alpha/alpha-protos.h: Update.
16966
16967 * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
16968 (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
16969 (alpha_linkage_symbol_p): New static function.
16970 (print_operand_address): Print linkage operand.
16971
16972 (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
16973 variables.
16974 (reloc_kind): New enum.
16975 (struct alpha_funcs): New struct.
16976 (struct alpha_links): Add reloc_kind field. Rename links_kind field.
16977
16978 (alpha_need_linkage): Rewrite.
16979 (alpha_use_linkage): New global function.
16980 (alpha_write_linkage): Rewrite and make static.
16981 (alpha_write_one_linkage): Rewrite
16982
16983 (alpha_start_function): Remove procedure descriptor output.
16984 (alpha_end_function): Write linkages at end of each function.
16985
16986 * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
16987 (call_vms_1, call_value_vms_1): Rewrite.
16988
16989 * config/alpha/vms.h (ASM_FILE_END): Remove.
16990
16991 2002-08-14 Richard Henderson <rth@redhat.com>
16992
16993 * ggc-page.c (RTL_SIZE): New.
16994 (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
16995 * rtl.def (BARRIER, NOTE): Pad to 9 slots.
16996
16997 2002-08-14 Richard Henderson <rth@redhat.com>
16998
16999 * calls.c: Include target.h.
17000 * Makefile.in (calls.o): Update.
17001
17002 * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
17003 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
17004
17005 2002-08-14 Richard Henderson <rth@redhat.com>
17006
17007 * Makefile.in (LOOSE_WARN): Add -fno-common.
17008 * c-common.h (constant_string_class_name): Add missing extern.
17009
17010 2002-08-15 Neil Booth <neil@daikokuya.co.uk>
17011
17012 PR preprocessor/7358
17013 * c-opts.c (check_deps_environment_vars): Ignore main file
17014 for SUNPRO_DEPENDENCIES.
17015 * cppfiles.c (stack_include_file): Ignore main file if
17016 appropriate.
17017 * cpplib.h (struct cpp_options): New member in deps.
17018 * doc/cppenv.texi: Update.
17019
17020 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
17021
17022 PR preprocessor/7526
17023 * cpplib.c (run_directive): Kludge so _Pragma dependency works.
17024
17025 2002-08-14 Nathan Sidwell <nathan@codesourcery.com>
17026
17027 * doc/invoke.texi (-a): Remove documentation.
17028 (-fprofile-arcs): Remove reference to -a, -ax options.
17029 * doc/gcov.texi (Gcov Data Files): Data might be merged.
17030
17031 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
17032
17033 Fix PR/7566
17034 * c-semantics.c (genrtl_case_label): Don't (mis)use
17035 warning_with_decl.
17036
17037 2002-08-14 Dale Johannesen <dalej@apple.com>
17038
17039 * explow.c (emit_stack_restore): Emit memory clobbers
17040 preceding the stack pop, to prevent the scheduler from
17041 moving refs to variable arrays below this pop.
17042 * reload1.c (reload): Preserve these clobbers for sched2.
17043 * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
17044
17045 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
17046
17047 * c-opts.c (c_common_post_options): Correct test.
17048
17049 2002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17050
17051 * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
17052 order in call to fprintf.
17053
17054 2002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17055
17056 * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
17057
17058 2002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
17059
17060 * reload.c (find_reloads): Handle constraint letters marked by
17061 EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
17062 (alternative_allows_memconst): Likewise.
17063 * reload1.c (maybe_fix_stack_asms): Likewise.
17064 * recog.c (asm_operand_ok, preprocess_constraints,
17065 constrain_operands): Likewise.
17066 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
17067 * local-alloc.c (block_alloc, requires_inout): Likewise.
17068 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
17069
17070 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
17071 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
17072 * doc/tm.texi: Document these two new target macros.
17073
17074 * config/s390/s390.c (s390_expand_plus_operand): Accept already
17075 valid operands.
17076 (q_constraint): New function.
17077 config/s390/s390-protos.h (q_constraint): Declare it.
17078 config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
17079 (EXTRA_MEMORY_CONSTRAINT): New macro.
17080
17081 * config/s390/s390.md: Throughout the machine description,
17082 replace all instances of the constraint combinations 'Qo'
17083 or 'oQ' with simply 'Q'.
17084
17085 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
17086
17087 * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
17088 * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
17089 (LIBGCC2_CFLAGS): Compile with -mrelax.
17090
17091 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
17092
17093 * doc/invoke.texi: Document -minmax for 68HC12.
17094
17095 * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
17096 ("uminqi3"): Likewise.
17097 ("uminhi3", "umaxhi3"): Likewise.
17098
17099 * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
17100 (TARGET_MIN_MAX): Define.
17101 (TARGET_SWITCHES): New option -minmax/-mnominmax.
17102
17103 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
17104
17105 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
17106 (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
17107
17108 * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
17109 (ret, declare, farsym): New gas macros.
17110 (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
17111 ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
17112 and declare the symbol far when compiled with -mlong-calls.
17113 (__far_trampoline): New for 68HC12 trampoline code to invoke a
17114 far handler using jsr/bsr.
17115
17116 * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
17117 (jsr): New macro to transform a 'jsr' into a 'call'.
17118
17119 2002-08-14 Stephane Carrez <stcarrez@nerim.fr>
17120
17121 * doc/invoke.texi: Document -mlong-calls for 68HC12.
17122
17123 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
17124 -mlong-calls is specified.
17125 (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
17126 assembler directives.
17127 (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
17128 (TARGET_SWITCHES): Add -mlong-calls options.
17129 (current_function_far): Declare.
17130
17131 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
17132 into account the page register saved on the stack.
17133 (m68hc11_override_options): Take into account -mlong-calls option.
17134 (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
17135
17136 * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
17137 if the function is going to be in 68HC12 banked memory (-mlong-calls).
17138 ("*return_16bit"): Likewise.
17139 ("*return_void"): Likewise.
17140 ("call", "call_value"): Use call for a far function call.
17141
17142 2002-08-14 Neil Booth <neil@daikokuya.co.uk>
17143
17144 * toplev.c (parse_options_and_default_flags): Don't call
17145 post_options here.
17146 (general_init): Initialize GC, pools and tree hash here,
17147 instead of lang_independent_init.
17148 (lang_independent_init): Rename backend_init.
17149 (do_compile): Call post_options hook; exit early if there
17150 have been errors after switch processing.
17151 (toplev_main): Update.
17152
17153 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
17154
17155 * c-pretty-print.h: Guard against multiple inclusion.
17156 Robustify macros.
17157 (pp_c_attributes): Declare.
17158 * c-pretty-print.c (pp_c_attributes): New function.
17159
17160 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17161
17162 * m68k.c (m68k_output_function_prologue,
17163 m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
17164 and NEWS/MOTOROLA.
17165 * genattrtab.c: Remove dpx2 comment.
17166 * libgcc2.c (__enable_execute_stack): Delete versions for
17167 NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
17168 sony_news/SYSTYPE_BSD.
17169 * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
17170 __gmicro__, __i860__, __NeXT__ and __pyr__.
17171 * rtl.h: Remove convex comment.
17172 * varasm.c: Likewise.
17173
17174 2002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17175
17176 * c-opts.c (lang_flags): Const-ify.
17177 * ra-build.c (undef_table): Likewise.
17178 * ra.c (eliminables): Likewise.
17179
17180 2002-08-14 Gabriel Dos Reis <gdr@nerim.net>
17181
17182 * tree.h: Guard against multiple inclusion.
17183
17184 2002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
17185
17186 * reload1.c (reload_cse_simplify): Before checking
17187 REG_FUNCTION_VALUE_P, check REG_P.
17188
17189 2002-08-13 Geoffrey Keating <geoffk@redhat.com>
17190
17191 * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
17192
17193 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
17194
17195 * c-opts.c (c_common_init_options): Extra braces needed.
17196
17197 Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
17198
17199 * sh.c (sh_init_builtins): Add PARAMS to declaration.
17200 (sh_media_init_builtins, sh_expand_builtin): Likewise.
17201 (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
17202 (sh_expand_binop_v2sf): Likewise.
17203 * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
17204 (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
17205 (sh_initialize_trampoline): Likewise.
17206
17207 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
17208
17209 * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
17210 new condition code modes.
17211 s390.c (s390_match_ccmode_set): Handle those new CC modes.
17212 (s390_select_ccmode): Likewise.
17213 (s390_branch_condition_mask): Likewise.
17214
17215 * s390-protos.h (s390_tm_ccmode): Declare.
17216 s390.c (s390_tm_ccmode): New function.
17217 (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
17218
17219 * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
17220 ("*cmpsi_tm2"): Rename to "*tmsi_ext".
17221 ("*cmpqi_tm2"): Rename to "*tmqi_ext".
17222
17223 ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
17224 "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
17225 "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
17226 ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
17227 "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
17228
17229 ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
17230 "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
17231 "*cmpqi_ccs_0"): Remove, replace by ...
17232 ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
17233 "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
17234 "*tstqi", "*tstqi_cconly"): ... these new patterns.
17235
17236 ("*cmpsidi_ccs"): Remove, replace by ...
17237 ("*cmpsi_ccs_sign"): ... this new pattern.
17238 ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
17239
17240 ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
17241 ("*cli"): ... this new pattern.
17242
17243 ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
17244 "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
17245 New patterns.
17246 ("adddi3_64"): Rename to "*adddi3_64".
17247 ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
17248 ("adddi3"): Adapt expander.
17249
17250 ("*addsi3_cc"): Allow "general_operand" for operand 2.
17251 ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
17252 "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
17253
17254 ("addhi3", "addqi3"): Remove, replace by ...
17255 ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
17256
17257 ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
17258 "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
17259 ("subdi3"): Replace by insn and splitter "*subdi3_31".
17260 ("subdi3"): New expander.
17261
17262 ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
17263
17264 ("subhi3", "subqi3"): Remove, replace by ...
17265 ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
17266
17267 ("*muldi3_sign"): New pattern.
17268 ("muldi3"): Do not clobber CC.
17269 ("mulsi3"): Likewise.
17270 ("mulsi_6432"): Likewise.
17271
17272 2002-08-13 Denis Chertykov <denisc@overta.ru>
17273
17274 * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
17275 which can change CC0.
17276
17277 Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
17278
17279 * gcse.c (adjust_libcall_notes): New function.
17280 (do_local_cprop): Use it. Add fourth parameter. Changed caller.
17281
17282 2002-08-13 Nathan Sidwell <nathan@codesourcery.com>
17283
17284 * libgcc2.c (L_bb): Remove unneeded #includes.
17285 (__global_counters, __gthreads_active): Remove unused globals.
17286 (__bb_exit_func): Merge counts into files rather than appending.
17287 * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
17288 (ALL_CFLAGS): ... to here.
17289
17290 2002-08-13 Denis Chertykov <denisc@overta.ru>
17291
17292 * config/ip2k/ip2k.c (commands_in_file): Variable removed.
17293 (function_epilogue): Don't calculate function size.
17294 (ip2k_set_compare): Don't use lookup_const_double.
17295 (asm_file_start): Initialization of commands_in_file removed.
17296 (asm_file_end): Output of commands_in_file removed.
17297
17298 * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
17299 __INT_MAX__.
17300
17301 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
17302
17303 * c-opts.c (c_common_init_options): Check option array is
17304 sorted if checking enabled.
17305
17306 2002-08-13 Gabriel Dos Reis <gdr@nerim.net>
17307
17308 * c-pretty-print.c: #include "c-tree.h".
17309 (pp_c_simple_type_specifier): Tweak.
17310 (pp_c_storage_class_specifier): New.
17311 (pp_c_function_specifier): Likewise.
17312 (pp_c_declaration_specifiers): Likewise.
17313 (pp_c_init_declarator): Likewise.
17314 (pp_c_declaration): Likewise.
17315 (pp_c_direct_declarator): Stub.
17316 (pp_c_declarator): Likewise.
17317 (pp_c_parameter_declaration): Likewise.
17318
17319 2002-08-13 Neil Booth <neil@daikokuya.co.uk>
17320
17321 * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
17322 handle_deferred_opts, sanitize_cpp_opts, defer_opt,
17323 struct deferred_opt): New.
17324 (COMMAND_LINE_OPTIONS): Add -M*.
17325 (missing_arg): Update.
17326 (c_common_decode_option): Handle -M*.
17327 (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
17328 don't call cpp_post_options.
17329 (c_common_finish, check_deps_environment_vars): Update.
17330 * cppfiles.c (stack_include_file, handle_missing_header): Update.
17331 * cpphash.h (CPP_PRINT_DEPS): Remove.
17332 * cppinit.c: Don't include version.h.
17333 (cpp_create_reader): Don't call deps_init. Initialize
17334 warn_long_long.
17335 (cpp_read_main_file): Init deps if necessary.
17336 (cpp_destroy): Conditionally free deps.
17337 (cpp_finish): Update.
17338 (no_tgt): Remove.
17339 (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
17340 (cpp_post_options): Rename post_options.
17341 * cpplib.h (struct cpp_options): Remove some dependency options;
17342 move others to a new structure.
17343 (cpp_post_options): Remove.
17344 (cpp_finish): Comment.
17345 * fix-header.c (read_scan_file): Don't call cpp_post_options.
17346
17347 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
17348
17349 * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
17350 ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
17351 MMIX_rR_REGNUM as clobbered.
17352 * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
17353
17354 2002-08-12 Gabriel Dos Reis <gdr@nerim.net>
17355
17356 * diagnostic.h (output_formatted_scalar): Rename from
17357 output_formatted_integer.
17358 * diagnostic.def: Add DK_DEBUG.
17359 * diagnostic.c (output_decimal): Adjust.
17360 (output_long_decimal): Likewise.
17361 (output_unsigned_decimal): Likewise.
17362 (output_octal): Likewise.
17363 (output_long_octal): Likewise.
17364 (output_hexadecimal): Likewise.
17365 (output_long_hexadecimal): Likewise.
17366 * c-pretty-print.c (pp_c_type_specifier): New function.
17367 (pp_c_specifier_qualifier_list): Likewise.
17368 (pp_c_abstract_declarator): Likewise.
17369 (pp_c_char): Replace pp_format_integer with pp_format_scalar.
17370
17371 2002-08-12 David Edelsohn <edelsohn@gnu.org>
17372
17373 * doc/trouble.texi (Disappointments): Add static constructor and
17374 destructor dependency information for AIX.
17375
17376 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
17377
17378 * cpphash.h (struct printer): New from cppmain.c.
17379 (cpp_reader): New member.
17380 * cppmain.c (struct printer): Move to cpphash.h.
17381 (options, print): Remove.
17382 (account_for_newlines, print_line, maybe_print_line,
17383 cpp_preprocess_file, setup_callbacks, scan_translation_unit,
17384 scan_translation_unit_trad, cb_line_change, cb_ident,
17385 cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
17386 cb_def_pragma): Make reentrant.
17387
17388 2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17389
17390 * real.c (ieee_64): Always define.
17391 (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
17392 (dec_h): Not used yet, hide it.
17393 (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
17394 macro controlling use.
17395 (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
17396
17397 Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
17398
17399 * i386.md (tablejump): Sign extend the operand.
17400 * i386.c (classify_argument): Fix missed case from previous patch.
17401
17402 2002-08-12 Neil Booth <neil@daikokuya.co.uk>
17403
17404 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
17405 to c-copts.c.
17406 (warn_multichar): Die.
17407 (cb_register_builtins): Export.
17408 * c-common.h (warn_multichar, preprocess_file): Remove.
17409 (cb_register_builtins): New.
17410 * c-lang.c (c_init): Remove.
17411 (LANG_HOOKS_INIT): Use c_objc_common_init.
17412 * c-lex.c (init_c_lex): Don't canonicalize filename.
17413 * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
17414 (preprocess_file): Make static. Update for cpplib.
17415 (c_common_decode_option): Remove warn_multichar. Use in_fname.
17416 (c_common_post_options): Set some cpp options here.
17417 (c_common_init): Move from c-common.c.
17418 * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
17419 * cpplib.h (struct cpp_options): Remove in_fname.
17420 (cpp_preprocess_file): Update.
17421 * cppmain.c (cpp_preprocess_file): Update for new prototypes.
17422
17423 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17424
17425 * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
17426
17427 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17428
17429 * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
17430 backslash in comment preceeding macro definition.
17431 * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
17432 * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
17433 * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
17434
17435 2002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
17436
17437 * expr.c (store_expr): In condition for checking if value is
17438 generated in TARGET, move call to expr_size last.
17439
17440 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
17441
17442 * c-common.c (c_common_init): Call preprocess_file instead.
17443 (c_common_finish): Move to c-opts.c.
17444 * c-common.h (preprocess_file): new.
17445 * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
17446 check_deps_environment_vars, c_common_finish): New.
17447 (c_common_decode_option): Update for out_fname and dependencies.
17448 * cppinit.c (init_dependency_output, output_deps): Remove.
17449 (cpp_destroy): Update prototype.
17450 (cpp_add_dependency_target): New.
17451 (cpp_read_main_file): Don't overlay a buffer.
17452 (cpp_finish): Take a deps output stream and write deps to it.
17453 Return the error count.
17454 (cpp_post_options): Don't canonicalize out_fname, or do anything
17455 with dependencies.
17456 * cpplib.h (struct cpp_options): Remove out_fname and
17457 preprocess_only.
17458 (cpp_add_dependency_target): New.
17459 (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
17460 * cppmain.c (cpp_preprocess_file): Update prototype. Don't
17461 set preprocess_only. Don't handle the output stream directly.
17462
17463 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17464
17465 * dsp16xx.c (print_operand): Fix format specifier.
17466 * dsp16xx.md: Avoid automatic aggregate initialization.
17467 * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
17468 * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
17469 integer constant modifier.
17470 * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
17471 * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
17472 guards.
17473 * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
17474 * v850.c (v850_select_section): Mark parameter with
17475 ATTRIBUTE_UNUSED.
17476 * global.c (global_alloc): Const-ify.
17477 * ra-colorize.c (hardregset_to_string): Fix format specifier.
17478
17479 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17480
17481 * darwin-c.c (darwin_pragma_options): Const-ify.
17482 * darwin.c (machopic_non_lazy_ptr_name,
17483 machopic_validate_stub_or_non_lazy_ptr): Likewise.
17484 (machopic_indirect_data_reference): Wrap variables in macros
17485 controlling their use.
17486 (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
17487 (machopic_select_section): Use parentheses around && within ||.
17488 * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
17489
17490 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17491
17492 * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
17493 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
17494 ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
17495 ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
17496 mdr_try_remove_redundant_insns, track_w_reload,
17497 mdr_try_wreg_elim): Make function static to match prototype.
17498 * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
17499 parameter with ATTRIBUTE_UNUSED.
17500
17501 2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17502
17503 * arc.c (arc_init): Don't use ISO C style function definitions.
17504 * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
17505 arm_get_strip_length, arm_strip_name_encoding): Likewise.
17506 * avr.h (progmem_section): Likewise.
17507 * h8300.c h8300_asm_insn_count): Likewise.
17508 * m32r.c (init_idents): Likewise.
17509 * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
17510 * sh.c (sh_cfun_interrupt_handler_p): Likewise.
17511 * xtensa.c (xtensa_build_va_list): Likewise.
17512
17513 2002-08-11 Neil Booth <neil@daikokuya.co.uk>
17514
17515 * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
17516 * c-opts.c (parse_option): Rename find_opt.
17517 (set_std_c99): New function.
17518 (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
17519 (missing_arg): Remove OPT_std_bad. Handle -o.
17520 (c_common_decode_option): Handle input and output file names,
17521 -o and -remap. Clean up -std= handling.
17522 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
17523 (cpp_handle_option): Similarly. Don't handle filenames.
17524
17525 Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
17526
17527 * i386.c (classify_argument): Fix computing of field's offsets.
17528
17529 2002-08-11 Andreas Jaeger <aj@suse.de>
17530
17531 PR target/7531:
17532 * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
17533
17534 2002-08-10 Ziemowit Laski <zlaski@apple.com>
17535
17536 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
17537 reference to clk_objective_c with flag_objc.
17538 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
17539 Likewise.
17540 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
17541
17542 2002-08-10 Neil Booth <neil@daikokuya.co.uk>
17543
17544 * c-opts.c (set_std_cxx98, set_std_c89): New.
17545 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
17546 (c_common_decode_option): Handle new switches from cppinit.c.
17547 Add -std=gnu++98.
17548 * cppinit.c (set_lang): Rename cpp_set_lang. Export.
17549 (no_arg, no_num): Remove.
17550 (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
17551 switches apart from -lang-objc and lang-asm.
17552 (cpp_handle_option): Similarly.
17553 * cpplib.h (cpp_set_lang): New.
17554 * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
17555 -std=gnu++98.
17556 * objc/lang-specs.h: Remove -ansi.
17557
17558 Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
17559 Graham Stott
17560
17561 * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
17562 errors.
17563
17564 2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17565
17566 * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
17567 emit_jump_insn): Fix uninitialized variable.
17568 * gcov.c (init_line_info): Likewise.
17569 * genautomata.c (transform_3): Add braces around ambiguous
17570 else.
17571 * ifcvt.c (cond_exec_process_insns): Mark parameter with
17572 ATTRIBUTE_UNUSED.
17573 * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
17574 * regrename.c (copyprop_hardreg_forward): Fix uninitialized
17575 variable.
17576
17577 * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
17578 warnings in output files.
17579
17580 2002-08-09 Ziemowit Laski <zlaski@apple.com>
17581
17582 * c-common.c (flag_objc): New.
17583 * c-common.h (c_language_kind): Get rid of clk_objective_c
17584 enum value.
17585 (flag_objc): New extern declaration.
17586 * c-decl.c (implicitly_declare): Call objc_check_decl
17587 instead of maybe_objc_check_decl.
17588 (finish_decl): Likewise.
17589 (grokfield): Likewise.
17590 (finish_struct): Likewise.
17591 * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
17592 (maybe_objc_comptypes): Rename to objc_comptypes.
17593 (maybe_building_objc_message_expr): Rename to
17594 objc_message_selector.
17595 * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
17596 replace with flag_objc as needed.
17597 * c-opts.c (c_common_init_options): Likewise.
17598 (c_common_decode_option): Likewise.
17599 * c-parse.in (init_reswords): Likewise.
17600 * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
17601 (maybe_objc_comptypes): Rename to objc_comptypes.
17602 (maybe_building_objc_message_expr): Rename to
17603 objc_message_selector.
17604 * c-typeck.c (comptypes): Call objc_comptypes instead of
17605 maybe_objc_comptypes, and/or objc_message_selector instead of
17606 maybe_building_objc_message_expr.
17607 (comp_target_types): Likewise.
17608 (convert_for_assignment): Likewise.
17609 (warn_for_assignment): Likewise.
17610 * cppinit.c (init_builtins): Set __OBJC__ manifest constant
17611 independently of those for other languages.
17612 * objc/objc-act.c (maybe_objc_comptypes): Delete.
17613 (maybe_objc_check_decl): Delete.
17614 (maybe_building_objc_message_expr): Rename to
17615 objc_message_selector.
17616 * objc/objc-lang.c (objc_init_options): Use clk_c instead of
17617 clk_objective_c; set flag_objc flag.
17618
17619 2002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
17620
17621 * ifcvt.c (find_if_case_2): Test correct basic block for size.
17622
17623 2002-08-09 Dale Johannesen <dalej@apple.com>
17624
17625 * config/rs6000/rs6000.md: Add sibcall patterns.
17626 * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
17627 * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
17628 Rewritten to handle sibcalls.
17629 * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
17630 * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
17631
17632 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
17633
17634 * profile.c (da_file_name): New static var.
17635 (init_branch_prob): Initialize it.
17636 (end_branch_prob): Remove da file.
17637
17638 * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
17639 * configure.in (coverage_flags): Default to nothing.
17640 * configure: Rebuilt.
17641
17642 2002-08-09 Neil Booth <neil@daikokuya.co.uk>
17643
17644 * Makefile.in (c-opts.o): Update
17645 * c-opts.c: Include intl.h.
17646 (print_help): Move from cppinit.c. Remove unused options.
17647 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
17648 (missing_arg): Complain for switches without an argument.
17649 (c_common_decode_option): Reject missing joined arguments.
17650 Handle new switches from cppinit.c.
17651 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
17652 (cpp_handle_option): Similarly.
17653 (print_help): Moved to c-opts.c.
17654 * cpplib.h (struct cpp_options): Remove help_only.
17655 * gcc.c (cpp_unique_options): Remove -$.
17656 * doc/cppopts.texi: Undocument -h.
17657
17658 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17659
17660 * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
17661 legitimate constant.
17662 (legitimate_pic_operand_p): Neither pic operand.
17663 (legitimate_address_p): But legitimate address.
17664 (get_thread_pointer): Generate MEM/u instead of CONST around
17665 UNSPEC_TP.
17666 (print_operand): Remove printing of UNSPEC_TP.
17667 (print_operand_address): And print it here.
17668
17669 2002-08-08 Devang Patel <dpatel@apple.com>
17670
17671 * objc/objc-act.c (build_selector_translation_table): Issue warning,
17672 when -Wselector is used,if method for which selector is being
17673 created does not exist.
17674
17675 2002-08-08 Stephen Clarke <stephen.clarke@superh.com>
17676
17677 * config/sh/sh.c (prepare_move_operands): Only call
17678 target_reg_operand if TARGET_SHMEDIA.
17679
17680 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17681
17682 * config/rs6000/rs6000.h, config/rs6000/aix.h,
17683 config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
17684 two patches.
17685 * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
17686
17687 2002-08-08 Lars Brinkhoff <lars@nocrew.org>
17688 Richard Henderson <rth@redhat.com>
17689
17690 * emit-rtl.c (gen_rtx_REG): After reload, only return
17691 frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
17692
17693 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17694
17695 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
17696 * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
17697 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
17698 macro.
17699
17700 2002-08-08 Adam Nemet <anemet@lnxw.com>
17701
17702 * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
17703 register.
17704 (thumb_expand_prologue): Likewise.
17705 (thumb_output_function_prologue): Likewise.
17706 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
17707 the additional push of the PIC register.
17708
17709 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
17710
17711 * configure.in (enable_coverage): New enable switch.
17712 * configure: Rebuilt.
17713 * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
17714 (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
17715 (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
17716 (mostlyclean): Remove coverage files.
17717 * doc/install.texi: Document enable_coverage.
17718
17719 * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
17720 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
17721 * f/Make-lang.in (f.mostlyclean): Remove coverage files.
17722 * java/Make-lang.in (java.mostlyclean): Remove coverage files.
17723 * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
17724 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
17725 files.
17726
17727 2002-08-08 Neil Booth <neil@daikokuya.co.uk>
17728
17729 * c-opts.c (cpp_opts): New.
17730 (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
17731 (c_common_decode_options): Handle cpplib switches.
17732 (c_common_init_options): Set cpp_opts.
17733 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
17734 (cpp_handle_option): Similarly.
17735
17736 2002-08-08 David Edelsohn <edelsohn@gnu.org>
17737
17738 * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
17739 (TARGET_ALTIVEC_ABI): Same.
17740 (TARGET_ALTIVEC_VRSAVE): Same.
17741
17742 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
17743 icode not CODE_FOR_nothing. Change switch to if.
17744
17745 2002-08-08 Alan Modra <amodra@bigpond.net.au>
17746
17747 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
17748
17749 2002-08-08 Jakub Jelinek <jakub@redhat.com>
17750
17751 * stor-layout.c (place_union_field): For bitfields if
17752 PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
17753 TYPE_USER_ALIGN.
17754
17755 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
17756
17757 * pa.c (struct deferred_plabel): Constify name field.
17758
17759 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
17760
17761 * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
17762
17763 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
17764
17765 * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
17766 local_prefix are the same.
17767 * configure: Rebuilt.
17768
17769 2002-08-07 Jakub Jelinek <jakub@redhat.com>
17770 Richard Henderson <rth@redhat.com>
17771
17772 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
17773 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
17774 ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
17775 (place_field): Likewise.
17776 * config/i386/i386.c (x86_field_alignment): Don't check
17777 DECL_USER_ALIGN here.
17778 * config/rs6000/rs6000.c (rs6000_field_alignment): New.
17779 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
17780 prototype.
17781 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
17782 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
17783 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
17784 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
17785 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
17786 * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
17787
17788 2002-08-07 Neil Booth <neil@daikokuya.co.uk>
17789
17790 * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
17791 * c-common.c: Don't include tree-inline.h.
17792 (c_common_init_options, c_common_post_options): Move to c-opts.c.
17793 * c-common.h (c_common_decode_option): New.
17794 * c-decl.c (c_decode_option): Remove.
17795 * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
17796 * c-opts.c: New file.
17797 * c-tree.h (c_decode_option): Remove.
17798 * doc/passes.texi: Update.
17799 * objc/objc-act.c (objc_decode_option): Remove.
17800 * objc/objc-act.h (objc_decode_option): Remove.
17801 * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
17802 c_common_decode_option.
17803
17804 2002-08-07 Chris Demetriou <cgd@broadcom.com>
17805
17806 * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
17807 dependency on TARGET_DOUBLE_FLOAT.
17808
17809 2002-08-07 Stephen Clarke <stephen.clarke@superh.com>
17810
17811 * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
17812 overwrite callee-save registers. Fix comment.
17813
17814 2002-08-06 Chris Demetriou <cgd@broadcom.com>
17815
17816 * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
17817 in target_flags based on ISA, if it was not set on the command
17818 line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
17819 support Branch Likely instructions.
17820 * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
17821 (TARGET_BRANCHLIKELY): Likewise.
17822 (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
17823 (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
17824 ISA_HAS_BRANCHLIKELY.
17825 (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
17826 * doc/invoke.texi: Document new MIPS -mbranch-likely and
17827 -mno-branch-likely options.
17828
17829 2002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17830
17831 * ip2k.c (ip2k_set_compare): Add missing iteration variable.
17832
17833 * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
17834 $(GCONFIG_H).
17835
17836 2002-08-06 Aldy Hernandez <aldyh@redhat.com>
17837
17838 * c-decl.c (duplicate_decls): Error out for incompatible TLS
17839 declarations.
17840
17841 * testsuite/gcc.dg/tls/diag-3.c: New.
17842
17843 2002-08-06 Dale Johannesen <dalej@apple.com>
17844
17845 * c-common.c (fname_decl): Use line number 0 for
17846 __func__, to avoid confusing debuggers.
17847
17848 2002-08-06 Nathan Sidwell <nathan@codesourcery.com>
17849
17850 * gcov.c: Tidy.
17851 (struct line_info, struct coverage): New structures.
17852 (gcov_file_name, gcov_file): Remove globals.
17853 (output_data): Take source file parameter. Fix memory leak. Break
17854 up into ...
17855 (init_line_info, output_line_info, make_gcov_file_name,
17856 accumulate_branch_counts): ... here.
17857 (calculate_branch_probs, function_summary): Adjust.
17858 (main): Adjust.
17859 (function_*): Remove global variables.
17860
17861 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
17862
17863 * dwarf2out.c: Remove unused macros.
17864
17865 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
17866
17867 * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
17868
17869 2002-08-06 Neil Booth <neil@daikokuya.co.uk>
17870
17871 * cppinit.c (struct lang_flags): Rename trigraphs std.
17872 (set_lang): Update.
17873 * cpplib.h (struct cpp_options): New member std.
17874 * cppmacro.c (_cpp_builtin_macro_text): Use std.
17875 (collect_args): Flag whether to swallow a possible future
17876 comma pasted with varargs.
17877 (replace_args): Use this flag.
17878 * doc/cpp.texi: Update varargs extension documentation.
17879
17880 2002-08-06 Jakub Jelinek <jakub@redhat.com>
17881
17882 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
17883
17884 2002-08-06 Jakub Jelinek <jakub@redhat.com>
17885
17886 * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
17887 and MODE_CLASS_INT modes.
17888
17889 2002-08-06 Jakub Jelinek <jakub@redhat.com>
17890
17891 * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
17892 --{enable,disable}-threads is given to configure.
17893 (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
17894 x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
17895 powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
17896 s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
17897 Remove thread_file setting here.
17898
17899 2002-08-06 David Edelsohn <edelsohn@gnu.org>
17900
17901 * doc/install.texi (Binaries): Update Bull Freeware URL.
17902
17903 2002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17904
17905 * doc/gcc.texi (Top): Rename Index to Keyword Index.
17906
17907 2002-08-05 Nathan Sidwell <nathan@codesourcery.com>
17908
17909 * gcov.c (output_data): Round to % to nearest, tweak formatting.
17910
17911 2002-08-05 Jakub Jelinek <jakub@redhat.com>
17912
17913 * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
17914 of the operands into MINUS_EXPR if code is PLUS_EXPR.
17915
17916 2002-08-05 Douglas B Rupp <rupp@gnat.com>
17917
17918 * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
17919 * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
17920 drectve_section): Define.
17921 * config/i386/t-interix: Replace interix.o rule with winnt.o.
17922 * config/i386/interix.c: Remove.
17923
17924 2002-08-05 Geoffrey Keating <geoffk@redhat.com>
17925
17926 * attribs.c: Don't include obstack.h.
17927 * builtins.c: Likewise.
17928 * cfganal.c: Likewise.
17929 * cfgbuild.c: Likewise.
17930 * cfgcleanup.c: Likewise.
17931 * emit-rtl.c: Likewise.
17932 * loop.c: Likewise.
17933 * stmt.c: Likewise.
17934
17935 * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
17936
17937 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
17938
17939 * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
17940
17941 2002-08-04 Chris Demetriou <cgd@broadcom.com>
17942
17943 * doc/invoke.texi: Remove duplicated paragraph describing
17944 TARGET_SWITCHES.
17945
17946 2002-08-04 Geoffrey Keating <geoffk@redhat.com>
17947
17948 * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
17949 * collect2.h (permanent_obstack): Delete declaration.
17950 * collect2.c (permanent_obstack): Delete definition.
17951 (main): Don't initialize permanent_obstack. Use xstrdup instead.
17952 * expr.c: Don't include obstack.h.
17953 (permanent_obstack): Delete declaration.
17954 * function.c: Don't include obstack.h.
17955 (permanent_obstack): Delete declaration.
17956 * integrate.c: Don't include obstack.h.
17957 (function_maybepermanent_obstack): Delete declaration.
17958 * print-tree.c (debug_tree): Use x*alloc not permalloc.
17959 * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
17960 * tlink.c (pfgets): Use xstrdup not permanent_obstack.
17961 * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
17962 * tree.h: Rename init_obstacks to init_ttree. Remove declarations
17963 of permalloc, expralloc, perm_calloc.
17964 * tree.c (permanent_obstack): Delete definition.
17965 (init_ttree): Rename from init_obstacks.
17966 (permalloc): Delete.
17967 (perm_calloc): Delete.
17968 (dump_tree_statistics): Don't print information about
17969 permanent_obstack.
17970 * varasm.c (assemble_start_function): Use xstrdup instead of
17971 permalloc/strcpy.
17972 (assemble_variable): Likewise.
17973 * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
17974 permalloc.
17975 (unicosmk_add_extern): Likewise.
17976 * config/c4x/c4x.c (c4x_external_ref): Likewise.
17977 (c4x_global_label): Likewise.
17978 * config/frv/frv.c (frv_encode_section_info): Likewise.
17979 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
17980 (i386_pe_record_exported_symbol): Likewise.
17981 * config/mips/mips.c (mips_output_external): Likewise.
17982 (mips_output_external_libcall): Likewise.
17983 * config/pa/pa.c: (permanent_obstack): Delete declaration.
17984 (output_call): Use ggc_strdup instead of allocating on
17985 permanent_obstack.
17986 * config/romp/romp.c: Include ggc.h.
17987 (get_symref): Don't declare permanent_obstack, use ggc_strdup
17988 intead of permanent_obstack.
17989 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
17990 instead of permalloc.
17991 * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
17992 instead of permalloc
17993 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
17994 instead of permalloc.
17995 * config/vax/vax.c (vms_check_external): Use xmalloc instead of
17996 permalloc.
17997
17998 2002-08-04 Bernd Schmidt <bernds@redhat.com>
17999
18000 Contribute a port developed primarily by Michael Meissner,
18001 Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
18002 * config.gcc: Add frv-elf target.
18003 * config/frv/cmovd.c: New file.
18004 * config/frv/cmovh.c: New file.
18005 * config/frv/cmovw.c: New file.
18006 * config/frv/frv-abi.h: New file.
18007 * config/frv/frv-asm.h: New file.
18008 * config/frv/frv-modes.def: New file.
18009 * config/frv/frv-protos.h: New file.
18010 * config/frv/frv.c: New file.
18011 * config/frv/frv.h: New file.
18012 * config/frv/frv.md: New file.
18013 * config/frv/frvbegin.c: New file.
18014 * config/frv/frvend.c: New file.
18015 * config/frv/lib1funcs.asm: New file.
18016 * config/frv/media.h: New file.
18017 * config/frv/modi.c: New file.
18018 * config/frv/t-frv: New file.
18019 * config/frv/uitod.c: New file.
18020 * config/frv/uitof.c: New file.
18021 * config/frv/ulltod.c: New file.
18022 * config/frv/ulltof.c: New file.
18023 * config/frv/umodi.c: New file.
18024 * config/frv/xm-frv.h: New file.
18025
18026 * config/frv/media.h: Removed again.
18027
18028 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
18029
18030 * gcov.c (bb_file_time): New static variable.
18031 (object_directory): May also be object file.
18032 (preserve_paths): New static variable.
18033 (print_usage): Adjust.
18034 (options): Adjust.
18035 (process_args): Adjust.
18036 (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
18037 file. Find modification date on bb file.
18038 (read_profile): Don't rewind a NULL file.
18039 (format_hwint): New static function.
18040 (function_summary): Use format_hwint.
18041 (output_data): SOURCE_FILE_NAME is never relative to
18042 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
18043 mangling. Adjust output format to make it more machine readable.
18044 * doc/gcov.texi: Document & clarify semantics.
18045
18046 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
18047
18048 * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
18049
18050 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
18051
18052 * gcc.c (cc1_options): Pass output file as auxbase when
18053 appropriate.
18054 * profile.c (init_branch_prob): FILENAME has already had ending
18055 stripped.
18056 * final.c (end_final): Likewise.
18057 * toplev.c (aux_base_name): New global.
18058 (compile_file): Pass aux_base_name to init init_branch_prob and
18059 end_final.
18060 (independent_decode_option, case 'a'): New auxinfo options.
18061 (case 'd'): Protect against mising basename.
18062 (do_compile): Initialize aux_base_name.
18063 * toplev.h (aux_base_name): New global.
18064 * doc/invoke.texi: Adjust documentation.
18065
18066 2002-08-04 Nathan Sidwell <nathan@codesourcery.com>
18067
18068 * config/i386/i386.c (x86_field_alignment): Remove duplicate test
18069 of TARGET_ALIGN_DOUBLE.
18070
18071 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
18072
18073 * diagnostic.c (inform): New function.
18074 * diagnostic.h (inform): Declare.
18075
18076 2002-08-03 David Edelsohn <edelsohn@gnu.org>
18077
18078 * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
18079 (movhi_internal): Same.
18080 (movqi_internal): Same.
18081 (movdi_internal64): Same.
18082
18083 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
18084
18085 * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
18086 (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
18087 (COMMON_ASM_OP): Define.
18088 (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
18089 Use ALIGN parameter.
18090 (LOCAL_COMMON_ASM_OP): Define.
18091 (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
18092
18093 2002-08-03 Roger Sayle <roger@eyesopen.com>
18094
18095 * builtins.def: Define new builtin functions exp, expf, expl,
18096 log, logf and logl (and their __builtin_* variants).
18097 * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
18098 Define exp_optab and log_optab.
18099 * optabs.c (init_optans): Initialize exp_optab and log_optab.
18100 * genopinit.c (optabs): Implement exp_optab and log_optab
18101 using exp?f2 and log?f2 patterns.
18102 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
18103 and BUILT_IN_LOG* using exp_optab and log_optab respectively.
18104 (expand_builtin): Ignore the new builtins (and all cos and
18105 sin variants) when not optimizing. Expand new builtins via
18106 expand_builtin_mathfn when flag_unsafe_math_optimizations.
18107
18108 * doc/extend.texi: Document new exp and log builtins.
18109 * doc/md.texi: Document new exp?f2 and log?f2 patterns
18110 (and previously undocumented cos?f2 and sin?f2 patterns).
18111
18112 2002-08-03 Jason Merrill <jason@redhat.com>
18113
18114 * explow.c (int_expr_size): New fn.
18115 * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
18116 * expr.h: Declare it.
18117
18118 2002-08-02 Krister Walfridsson <cato@df.lth.se>
18119
18120 * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
18121 gengtype-* dependencies.
18122
18123 2002-08-02 Eric Christopher <echristo@redhat.com>
18124
18125 * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
18126 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
18127 #ifndef to #undef.
18128 (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
18129
18130 2002-08-02 David Edelsohn <edelsohn@gnu.org>
18131
18132 PR optimize/7067
18133 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
18134 small if optimizing for size.
18135
18136 2002-08-02 Daniel Jacobowitz <drow@mvista.com>
18137
18138 * configure.in (FORBUILD): Use $build_alias.
18139 * configure: Regenerated.
18140
18141 2002-08-02 Richard Sandiford <rsandifo@redhat.com>
18142
18143 * config.gcc: Don't include mips/abi64.h in $tm_file.
18144 * hard-reg-set.h (call_really_used_regs): Declare.
18145 * config/mips/abi64.h: Remove file.
18146 * config/mips/linux.h,
18147 * config/mips/iris6.h: Don't include it.
18148 * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
18149 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
18150 (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
18151 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
18152 FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
18153 Bring across definitions from abi64.h.
18154 (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
18155 (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
18156 (struct mips_args): Use it.
18157 * config/mips/mips.c (mips_conditional_register_usage): Define.
18158
18159 2002-08-02 Jason Merrill <jason@redhat.com>
18160
18161 * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
18162 * langhooks.c (lhd_expr_size): Define default.
18163 * langhooks.h (struct lang_hooks): Add expr_size.
18164 * explow.c (expr_size): Call it.
18165 * expr.c (store_expr): Don't copy an expression of size zero.
18166 (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
18167 to store.
18168 * Makefile.in (builtins.o): Depend on langhooks.h.
18169
18170 2002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18171
18172 * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
18173 * ra-debug.c: Include "tm_p.h".
18174 * ra-rewrite.c (is_partly_live_1): Change return type to bool.
18175
18176 2002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
18177
18178 * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
18179 when not honoring signalling NaNs.
18180 (simplify_ternary_operation): a == b has a definite value
18181 when not honoring NaNs.
18182
18183 2002-08-02 Jason Merrill <jason@redhat.com>
18184
18185 * gdbinit.in (pct): New macro.
18186
18187 2002-08-01 Stan Shebs <shebs@apple.com>
18188 Andreas Tobler <toa@pop.agri.ch>
18189
18190 * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
18191 plays nice with Darwin headers.
18192 (_BSD_RUNE_T_DEFINED_): Likewise.
18193
18194 2002-08-01 Zack Weinberg <zack@codesourcery.com>
18195
18196 * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
18197 * cppinit.c (cpp_post_options): Likewise.
18198
18199 * cppexp.c (cpp_classify_number): Suppress -Wtraditional
18200 warning about 'LL' suffix (but not 'ULL' etc) when
18201 -Wno-long-long is in effect.
18202
18203 * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
18204 Check for failing time()/localtime(), issue a warning, and
18205 make __TIME__ and __DATE__ expand to fallback strings.
18206
18207 * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
18208 and __TIME__ when the date and time cannot be determined.
18209
18210 2002-08-02 Alan Modra <amodra@bigpond.net.au>
18211
18212 * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
18213
18214 2002-08-01 Daniel Jacobowitz <drow@mvista.com>
18215
18216 * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
18217
18218 2002-08-01 Chris Demetriou <cgd@broadcom.com>
18219
18220 * config.gcc (mipsisa64sb1-*-elf*): New configuration.
18221 (mipsisa64sb1el-*-elf*): Likewise.
18222 * config/mips/mips.c (mips_cpu_info_table): Add sb1.
18223 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
18224 (TARGET_SB1, TUNE_SB1): New macros.
18225 * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
18226 -mtune flags.
18227
18228 2002-08-01 David Edelsohn <edelsohn@gnu.org>
18229
18230 * varasm.c (asm_emit_uninitialized): Return false if global BSS
18231 and ASM_EMIT_BSS not supported by target.
18232 (assemble_variable): Do not duplicate uninitialized logic.
18233 Fall through if asm_emit_uninitialized failed.
18234
18235 2002-08-01 Chris Demetriou <cgd@broadcom.com>
18236
18237 * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
18238
18239 2002-08-02 Alan Modra <amodra@bigpond.net.au>
18240
18241 * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
18242 (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
18243
18244 * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
18245 HOST_BITS_PER_WIDE_INT == 64.
18246
18247 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18248
18249 * df.c (df_insn_table_realloc): Change parameter to unsigned.
18250 * optabs.c (expand_binop): Make variable unsigned.
18251 * simplify-rtx.c (simplify_subreg): Likewise.
18252 * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
18253
18254 2002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18255
18256 * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
18257
18258 2002-08-01 Richard Henderson <rth@redhat.com>
18259
18260 * toplev.c (parse_options_and_default_flags): Don't set
18261 flag_reorder_blocks for -Os.
18262
18263 * config/avr/avr.c (avr_optimization_options): Remove.
18264 * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
18265 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
18266 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
18267
18268 2002-08-01 H.J. Lu <hjl@gnu.org>
18269 Richard Henderson <rth@redhat.com>
18270
18271 * output.h (DECL_READONLY_SECTION): Remove.
18272 (decl_readonly_section): Declare.
18273 * varasm.c (decl_readonly_section): New.
18274 (default_section_type_flags, default_select_section): Use it.
18275 * config/arm/pe.c (arm_pe_unique_section): Likewise.
18276 * config/i386/interix.c (i386_pe_unique_section): Likewise.
18277 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
18278 * config/mcore/mcore.c (mcore_unique_section): Likewise.
18279 * config/mips/mips.c (mips_unique_section): Likewise.
18280
18281 2002-08-01 Richard Henderson <rth@redhat.com>
18282
18283 * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
18284 refers to a subroutine parameter.
18285
18286 2002-08-01 Jakub Jelinek <jakub@redhat.com>
18287
18288 * varasm.c (assemble_visibility): Strip name encoding.
18289
18290 2002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
18291
18292 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
18293 (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
18294 when there is no frame pointer.
18295 (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
18296 registers properly.
18297 * config/ns32k/__unorddf2.c: New file.
18298 * config/ns32k/__unordsf2.c: New file.
18299 * config/ns32k/t-ns32k: New file.
18300 * config.gcc (ns32k-*-netbsd*): Use it.
18301
18302 2002-08-01 Aldy Hernandez <aldyh@redhat.com>
18303
18304 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
18305
18306 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
18307
18308 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
18309
18310 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
18311
18312 * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
18313
18314 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
18315
18316 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
18317
18318 2002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
18319
18320 * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
18321 n_sets): Removed.
18322 (expr_hash_table, set_hash_table): Type changed to ...
18323 (struct hash_table): New type.
18324 (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
18325 insert_expr_in_table, insert_set_in_table, compute_hash_table,
18326 dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
18327 compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
18328 (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
18329 (alloc_hash_table): New.
18330 (free_set_hash_table, free_expr_hash_table): Merged to ...
18331 (free_hash_table): New.
18332 (compute_set_hash_table, compute_expr_hash_table): Merged to ...
18333 (compute_hash_table_work): New.
18334 (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
18335 find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
18336 pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
18337 one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
18338 hoist_code, one_code_hoisting_pass,
18339 trim_ld_motion_mems): Altered due to changed type of hash tables.
18340
18341 2002-08-01 Zack Weinberg <zack@codesourcery.com>
18342
18343 * final.c (output_alternate_entry_point):
18344 If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
18345
18346 2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18347
18348 * objc/objc-act.c (encode_complete_bitfield): Add prototype and
18349 avoid ISO C style function definition.
18350
18351 * expr.c (expand_assignment): Delete unused variable.
18352
18353 2002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
18354
18355 * c-common.c (cb_register_builtins): Set
18356 __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
18357 is given, and to 0 otherwise.
18358 * combine.c (simplify_if_then_else): HONOR_NANS
18359 implies FLOAT_MODE_P.
18360
18361 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
18362
18363 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
18364 (cpp_handle_option): Don't handle it.
18365 (print_help): Update.
18366 * doc/cppopts.texi: Update.
18367
18368 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
18369
18370 * c-common.c (cb_register_builtins): If C++, define
18371 __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
18372 * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
18373 cp:
18374 * lang-specs.h: Simplify in accordance with new code in
18375 c-common.c.
18376
18377 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
18378
18379 * c-common.c: Define all C/ObjC/C++ warning and flag variables.
18380 * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
18381 * c-decl.c: Move all warning and flag variables to c-common.c.
18382 * c-format.c: Move all warning variables to c-common.c.
18383 * c-tree.h: Move all warning and flag declarations to c-common.h.
18384 * objc/objc-act.c: Move all warning variables to c-common.c.
18385 (flag_warn_protocol): Rename warn_protocol.
18386
18387 2002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
18388
18389 * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
18390
18391 2002-07-31 Graham Stott <graham.stott@btinternet.com>
18392
18393 * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
18394 .section prefix.
18395
18396 2002-07-31 Stan Shebs <shebs@apple.com>
18397
18398 * config.gcc (i[34567]86-*-darwin*): New configuration.
18399 * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
18400 defining.
18401 (TARGET_ENCODE_SECTION_INFO): Ditto.
18402 (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
18403 * config/darwin.c (machopic_indirect_data_reference): Remove
18404 setting of RTX_UNCHANGING_P.
18405 (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
18406 not to be applied to sums.
18407 * config/i386/t-darwin: New file.
18408 * config/i386/darwin.h: New file.
18409 * config/i386/i386.h (TARGET_MACHO): Add default definition.
18410 * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
18411 * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
18412 label and not the GOT add.
18413 (constant_address_p): For Mach-O, seeing a CONST is enough.
18414 (legitimate_pic_address_disp_p): Add a Mach-O case.
18415 (legitimate_address_p): Also test machopic_operand_p if Mach-O.
18416 (legitimize_pic_address): Use generic Mach-O code to legitimize.
18417 (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
18418 if outputting a difference.
18419 (ix86_output_addr_diff_elt): Add Mach-O case.
18420 (ix86_expand_move): Similarly.
18421 (ix86_expand_call): Similarly.
18422 (current_machopic_label_num): New global.
18423 (machopic_output_stub): New function.
18424 (ix86_value_regno): New function.
18425 (ix86_function_value): Use it instead of VALUE_REGNO.
18426 (ix86_libcall_value): Ditto.
18427 * config/i386/unix.h (VALUE_REGNO): Remove.
18428
18429 2002-07-31 Graham Stott <grahas@btinternet.com>
18430
18431 * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
18432 hash for LABEL_REF's.
18433
18434 2002-07-31 Graham Stott <grahams@btinternet.com>
18435
18436 * config/rs6000/rs6000.c (spe_init_builtins,
18437 altivec_init_builtins, rs6000_common_init_builtins):
18438 Replace ANSI with K&R function def.
18439
18440 2002-07-31 David Edelsohn <edelsohn@gnu.org>
18441
18442 * rs6000.c (validate_condition_mode): Test flag_finite_math_only
18443 for CCFPmode.
18444
18445 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
18446
18447 * config/mips/crtn.asm: Don't use __mips16 to determine the
18448 return-address offset. Define RA to a suitable temporary
18449 register for the return address.
18450
18451 2002-07-31 Richard Sandiford <rsandifo@redhat.com>
18452
18453 * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
18454 constraints to 'd'.
18455
18456 2002-07-30 Chris Demetriou <cgd@broadcom.com>
18457
18458 * config/mips/elf.h (STARTFILE_SPEC): Define differently if
18459 default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
18460 patch on 2002-07-29.)
18461 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18462
18463 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18464
18465 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
18466 fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
18467 ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
18468 openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
18469 s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
18470 (ASM_GLOBALIZE_LABEL): Delete.
18471 (GLOBAL_ASM_OP): Define.
18472
18473 * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
18474
18475 * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
18476 * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
18477
18478 2002-07-30 Geoffrey Keating <geoffk@redhat.com>
18479
18480 * doc/extend.texi (Hints implementation): Document that GCC
18481 mostly ignores `register'.
18482
18483 2002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
18484
18485 * flags.h: Declare flag_finite_math_only.
18486 Use it in definition of HONOR_NANS and
18487 HONOR_INFINITIES.
18488 * c-common.c (cb_register_builtins): Emit
18489 __FINITE_MATH_ONLY__ when flag_finite_math_only
18490 is set.
18491 * combine.c (simplify_if_then_else): If
18492 flag_finite_math_only is set, a == b has a
18493 definite value.
18494 * toplev.c: Initialize flag_finite_math_only.
18495 (set_flags_fast_math): Set it on -ffast-math.
18496 (flag_fast_math_set_p): Test it.
18497 * doc/invoke.texi: Document -ffinite-math-only.
18498
18499 2002-07-30 Richard Henderson <rth@redhat.com>
18500
18501 * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
18502 (noce_process_if_block): Likewise.
18503
18504 2002-07-30 Bernd Schmidt <bernds@redhat.com>
18505
18506 * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
18507 Bail out early if false_expr is NULL and we'd crash due to this.
18508 * genemit.c (gen_expand): Recognize return insns even if the return
18509 appears in a parallel.
18510 * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
18511 * config/fp-bit.c: Likewise.
18512 * doc/tm.texi: Document it.
18513
18514 2002-07-30 David Edelsohn <edelsohn@gnu.org>
18515 Zack Weinberg <zack@codesourcery.com>
18516
18517 * rs6000.c (rs6000_expand_unop_builtin): Check icode not
18518 CODE_FOR_nothing. Change switch to if.
18519 (rs6000_expand_binop_builtin): Same.
18520 (rs6000_expand_builtin): Expand builtin if target support enabled.
18521 (rs6000_init_builtins): Init builtin if target support enabled.
18522 (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
18523
18524 2002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18525
18526 * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
18527
18528 2002-07-30 Richard Sandiford <rsandifo@redhat.com>
18529
18530 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
18531
18532 Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
18533
18534 * sh.md (cond_delay_slot): New attribute.
18535 (cbranch delay): Use it for anulled-true case.
18536 (stuff_delay_slot): New pattern.
18537 * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
18538 delay slot insn.
18539 (gen_far_branch): Emit stuff_delay_slot pattern.
18540
18541 Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
18542
18543 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
18544
18545 2002-07-30 Kazu Hirata <kazu@cs.umass.edu>
18546
18547 * fold-const.c: Fix comment typos.
18548 * gcse.c: Likewise.
18549 * reload1.c: Likewise.
18550
18551 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18552
18553 * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
18554 for TARGET_SPE.
18555
18556 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
18557
18558 * c-pretty-print.h (pp_c_statement): Declare.
18559 * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
18560 (pp_c_statement): Define.
18561
18562 2002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18563
18564 * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
18565 darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
18566 ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
18567 mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
18568 rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
18569 v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
18570
18571 * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
18572 * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
18573
18574 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
18575
18576 * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
18577 (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
18578 COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
18579 (pp_c_expression): Update.
18580
18581 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18582
18583 * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
18584 concat in lieu of xmalloc/strcpy/memcpy/sprintf.
18585 * alpha/vms-ld.c (main): Likewise.
18586 * dsp16xx.c (double_reg_to_memory): Likewise.
18587 * mcore.c (mcore_expand_prolog): Likewise.
18588 * cppfiles.c (read_name_map): Likewise.
18589 * gensupport.c (process_rtx, identify_predicable_attribute,
18590 alter_test_for_insn): Likewise.
18591 * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
18592
18593 2002-07-29 Roger Sayle <roger@eyesopen.com>
18594
18595 * builtins.c (expand_builtin): Change the default behavior to
18596 only issue an error if the builtin function doesn't have a
18597 fallback library call. Remove several cases handled by the
18598 new default.
18599
18600 2002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
18601
18602 * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
18603 floating point format of the target is IEEE.
18604 * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
18605 format of the target is DEC.
18606
18607 2002-07-29 Richard Henderson <rth@redhat.com>
18608
18609 * unroll.c (verify_addresses): Remove.
18610 (find_splittable_givs): Never split DEST_ADDR givs.
18611
18612 2002-07-29 Geoffrey Keating <geoffk@redhat.com>
18613
18614 * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
18615 is exhaustive.
18616 (Files): Improve documentation on generated source files.
18617
18618 * doc/extend.texi (Translation implementation): Document what
18619 diagnostics look like.
18620 (Identifiers implementation): Document that there's normally no
18621 limit on identifier names.
18622 (Integers implementation): Document two's complement.
18623 (Hints implementation): Document that GCC honors 'inline', mostly.
18624 (Preprocessing directives implementation): Document that GCC
18625 requires the current time.
18626
18627 2002-07-30 Gabriel Dos Reis <gdr@nerim.net>
18628
18629 * c-pretty-print.h (struct c_pretty_print_info): Add new member.
18630 (pp_initializer): New macro.
18631 (pp_c_initializer): Declare.
18632 * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
18633 (pp_c_initializer): Define.
18634 (pp_c_initializer_list): New function.
18635 (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
18636 VECTOR_CST, CONSTRUCTOR.
18637 (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
18638 IMAGPART_EXPR.
18639 (pp_c_cast_expression): Handle FLOAT_EXPR.
18640 (pp_c_assignment_expression): Handle INIT_EXPR.
18641 (pp_c_expression): Update.
18642
18643 2002-07-30 Neil Booth <neil@daikokuya.co.uk>
18644
18645 * objc/objc-act.c (objc_init): Return immediately if filename
18646 is NULL.
18647
18648 2002-07-29 Eric Christopher <echristo@redhat.com>
18649
18650 * config/mips/elf.h: Remove ecoff.h and gofast includes.
18651 (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
18652 (SDB_DEBUGGING_INFO): Undefine.
18653 (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
18654 (PUT_SDB_SIZE): Remove.
18655 (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
18656 (STARTFILE_SPEC): Add isa3264 define.
18657 * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
18658 * config/mips/ecoff.h: Remove. and here...
18659 * config/mips/iris3.h: and here...
18660 * config/mips/sni-svr4.h: and here...
18661 * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
18662 Add assembler -mmdebug options for non-dwarf debugging.
18663 * config/mips/r3900.h: Remove debug info defines.
18664 * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
18665 * config/mips/isa3264.h: Ditto.
18666 * config/mips/t-isa3264: Fix up for file removal and gofast configure
18667 change.
18668 * config/mips/t-elf: Ditto.
18669 * config/mips/t-ecoff: Ditto.
18670 * config/mips/t-r3900: Ditto.
18671 * config/mips/t-iris5-6: Ditto.
18672 * config/mips/t-isa3264: Ditto.
18673 * config/mips/t-linux: Remove.
18674 * config/mips/t-netbsd: Remove.
18675 * config/mips/t-mips: New file.
18676 * config/mips/t-gofast: Ditto.
18677 * config/mips/netbsd.h: Remove unnecessary undefines.
18678 * config/mips/linux.h: Remove #include of mips.h.
18679 * config.gcc: Add mips.h include for elf targets. Remove tm_file
18680 for ecoff. Add gofast configure option for mips.
18681
18682 2002-07-29 Chris Demetriou <cgd@broadcom.com>
18683
18684 * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
18685 linker scripts use STARTUP directives consistently.
18686 * configure: Regenerate.
18687 * config.in: Regenerate.
18688 * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
18689 on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
18690 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
18691 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
18692 HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
18693 will be the same.
18694
18695 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18696
18697 * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
18698
18699 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18700
18701 * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
18702
18703 2002-07-29 Aldy Hernandez <aldy@quesejoda.com>
18704
18705 * config/rs6000/rs6000.md: Move altivec patterns from here...
18706
18707 * config/rs6000/altivec.md: ...to here.
18708
18709 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18710
18711 * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
18712
18713 2002-07-29 Richard Henderson <rth@redhat.com>
18714
18715 * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
18716 set_mem_attributes and add BITPOS argument. Subtract it from
18717 OFFSET when same is adjusted.
18718 (set_mem_attributes): New wrapper function.
18719 * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
18720 remove offset adjustment hack.
18721 * expr.h (set_mem_attributes_minus_bitpos): Declare.
18722
18723 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
18724
18725 * Makefile.in (C_OBJS): Include c-pretty-print.o
18726 (c-pretty-print.o): Add depency rule.
18727 * pretty-print.h: Add more macros.
18728 * c-pretty-print.c: New file.
18729 * c-pretty-print.h: Likewise.
18730
18731 2002-07-29 Aldy Hernandez <aldyh@redhat.com>
18732
18733 * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
18734 constants to __ev64_s32__.
18735 (__internal_ev_mwhgsmian): Same.
18736 (__internal_ev_mwhgsmfan): Same.
18737 (__internal_ev_mwhgssfan): Same.
18738 (__internal_ev_mwhgumiaa): Same.
18739 (__internal_ev_mwhgsmiaa): Same.
18740 (__internal_ev_mwhgsmfaa): Same.
18741 (__internal_ev_mwhgssfaa): Same.
18742
18743 2002-07-29 David Edelsohn <edelsohn@gnu.org>
18744
18745 * varasm.c (assemble_variable): Narrow test for uninitialized
18746 without BSS target support.
18747
18748 2002-07-29 Nathan Sidwell <nathan@codesourcery.com>
18749
18750 * profile.c: Add file comment describing the overall algorithm and
18751 structures.
18752 (struct edge_info): Add comments.
18753 (struct bb_info): Add comments.
18754 * basic-block.h (EDGE_*): Add comments.
18755 * doc/gcov.texi (Gcov Data Files): Document bit flags.
18756
18757 2002-07-29 Bob Wilson <bob.wilson@acm.org>
18758
18759 * config/xtensa/elf.h, config/xtensa/linux.h
18760 (TARGET_OS_CPP_BUILTINS): Define.
18761 (CPP_PREDEFINES): Remove.
18762 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
18763 (CPP_SPEC): Remove.
18764
18765 2002-07-29 Zack Weinberg <zack@codesourcery.com>
18766
18767 * gensupport.c: Include hashtab.h.
18768 (insn_elision, condition_table, hash_c_test, cmp_c_test,
18769 maybe_eval_c_test): New routines and data structures to
18770 support insn elision.
18771 (init_md_reader): Read and initialize the condition_table.
18772 (read_md_rtx): Discard insn patterns whose C test is provably
18773 always false.
18774 * gensupport.h: Declare new functions and data structures.
18775
18776 * genconditions.c, dummy-conditions.c: New files.
18777 * Makefile.in: Build genconditions; run it to construct
18778 insn-conditions.c; build that and link it into most gen*
18779 programs.
18780 (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
18781 (GEN): Delete, unused.
18782 (STAGESTUFF): Update.
18783
18784 * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
18785 CODE_FOR_nothing for all elided patterns.
18786 (main): Tweaked to support this.
18787 * genflags.c (gen_proto): Emit a static inline generator
18788 function here for all elided patterns, which simply returns
18789 NULL_RTX.
18790 (gen_insn): Do not define HAVE_xxx for elided patterns.
18791 (main): Tweaked to support this. No need to forward-declare
18792 struct rtx_def.
18793 * genrecog.c: Do not bother emitting the C test if it's known
18794 to be true at compile time.
18795
18796 2002-07-29 Mike Stump <mrs@apple.com>
18797
18798 * config.gcc (target_gtfiles): Initialize, as otherwise cross
18799 compilers hosted on powerpc-apple-darwin6.0 won't even build.
18800
18801 2002-07-29 Richard Earnshaw <rearnsha@arm.com>
18802
18803 * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
18804 remove clobber of LR.
18805 (sibcall_insn, sibcall_value_insn): Update accordingly.
18806 (sibcall_epilogue): Remove debugging comment from assembler stream.
18807
18808 2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
18809
18810 * pretty-print.h: Define more macros.
18811 * diagnostic.h (output_formatted_integer): Moved from...
18812 * diagnostic.c: ... here.
18813
18814 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18815
18816 * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
18817
18818 2002-07-28 Zack Weinberg <zack@codesourcery.com>
18819
18820 * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
18821 arguments. Always use ".-symbol" as expression argument.
18822 * doc/tm.texi: Update to match. Document requirement for
18823 ".size symbol, .-symbol" to be acceptable to assembler.
18824
18825 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
18826 config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
18827 config/i386/freebsd-aout.h, config/i386/sco5.h,
18828 config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
18829 config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
18830
18831 2002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18832
18833 * Makefile.in (gengtype-lex.c): Fix error in last change.
18834
18835 * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
18836 backslash.
18837
18838 * Makefile.in (vmsdbgout.o): Depend on function.h.
18839
18840 * vmsdbgout.c: Include function.h.
18841
18842 2002-07-28 Alan Modra <amodra@bigpond.net.au>
18843
18844 * prefix.c (update_path): Don't strip single `.' path components
18845 unless stripping a later `..' component. Exit loop as soon as
18846 a valid path is found.
18847
18848 2002-07-27 Roger Sayle <roger@eyesopen.com>
18849
18850 * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
18851 argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
18852 BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
18853 floating point unordered comparisons (e.g. __builtin_isgreater)
18854 as const, and leave the remaining GCC_BUILTINs unchanged.
18855
18856 * c-decl.c (builtin_function): No need to explicitly mark
18857 BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
18858
18859 2002-07-27 Roger Sayle <roger@eyesopen.com>
18860
18861 * Makefile.in: rtlanal.o now depends upon real.h.
18862
18863 * flags.h [flag_signaling_nans]: New flag.
18864 [HONOR_SNANS]: New macro.
18865
18866 * toplev.c [flag_signaling_nans]: Initialize to false.
18867 (f_options): Add processing for "-fsignaling-nans".
18868 (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
18869 (process_options): flag_signaling_nans implies flag_trapping_math.
18870
18871 * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
18872 when -fsignaling-nans. First step to implementing WG14's N965.
18873
18874 * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
18875 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
18876 [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
18877
18878 * simplify-rtx.c (simplify_relational_operation): Conditionalize
18879 transforming abs(x) < 0.0 into false on !HONOR_SNANS.
18880
18881 * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
18882 required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
18883 UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
18884 -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
18885 not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
18886
18887 * doc/invoke.texi: Document new -fsignaling-nans compiler option.
18888
18889 2002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18890
18891 * Makefile.in (gengtype-lex.c): Work around a bug in flex.
18892 * gengtype-lex.l (YY_USE_PROTOS): Undef.
18893 (YY_DECL): Define.
18894
18895 2002-07-27 Roger Sayle <roger@eyesopen.com>
18896
18897 * doc/invoke.texi: Document that both -fno-builtin-foo and
18898 -fno-builtin are supported by the g++ front-end.
18899
18900 2002-07-27 Stan Shebs <shebs@apple.com>
18901
18902 * configure.in: Rename config_gtfiles to target_gtfiles.
18903 * configure: Regenerate.
18904 * doc/gty.texi: Update reference.
18905 * config.gcc (powerpc-*-darwin*): Set target_gtfiles
18906 instead of appending to it.
18907
18908 2002-07-25 Aldy Hernandez <aldyh@redhat.com>
18909
18910 * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
18911 vectors are split into two registers.
18912 (function_arg): Same.
18913
18914 Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
18915
18916 * pa.md (extv): Check predicates before emitting extv_32.
18917
18918 2002-07-27 Alan Modra <amodra@bigpond.net.au>
18919
18920 * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
18921 (rs6000_traceback): New var.
18922 (rs6000_override_options): Set rs6000_traceback.
18923 (rs6000_output_function_epilogue): Implement traceback options.
18924 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
18925 (rs6000_traceback_name): Declare.
18926
18927 * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
18928 label reference when NO_PROFILE_COUNTERS.
18929
18930 2002-07-26 Jason Merrill <jason@redhat.com>
18931
18932 * function.c (assign_parms): Handle frontend-directed pass by
18933 invisible reference.
18934
18935 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
18936
18937 * doc/cppopts.texi: Update.
18938
18939 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
18940
18941 * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
18942 warnings on assertions.
18943
18944 2002-07-26 Neil Booth <neil@daikokuya.co.uk>
18945
18946 * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
18947 RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
18948 RID_COMPL): Remove.
18949 * c-parse.in (rid_to_yy): Similarly.
18950
18951 2002-07-26 Jason Merrill <jason@redhat.com>
18952
18953 * c-dump.c: Resurrect.
18954 * tree-dump.c: Move C-specific stuff to c-dump.c.
18955 * c-common.h: Declare c_dump_tree.
18956 * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
18957 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
18958 (c-dump.o): New rule.
18959
18960 2002-07-26 Alan Modra <amodra@bigpond.net.au>
18961
18962 * config/rs6000/rs6000.md: Enable patterns using rlwinm for
18963 PowerPC64. Replace "T" and "S" constraints with "n" when the
18964 predicate will do. Formatting fixes.
18965 (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
18966 as for extzvsi_internal1.
18967
18968 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18969
18970 * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
18971 DERIV_END_LABEL_FMT): Remove.
18972 (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
18973
18974 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18975
18976 * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
18977 Remove.
18978
18979 2002-07-25 Stan Shebs <shebs@apple.com>
18980
18981 * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
18982 local var dwarfp.
18983 (output_compiler_stub): Remove unused locals.
18984 (output_call): Always initialize line number.
18985
18986 Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
18987
18988 * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
18989 * sh.md (truncdiqi2, movqi_media): Likewise.
18990
18991 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18992
18993 * gcse.c (obstack_chunk_alloc): Remove.
18994 (gcse_alloc): Fix to count allocated bytes.
18995 * collect2.c (SYMBOL__MAIN): Remove.
18996
18997 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
18998
18999 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
19000 HAVE_TARGET_EXECUTABLE_SUFFIX.
19001
19002 Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
19003
19004 * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
19005 SIZE, EXPR and OFFSET.
19006
19007 2002-07-25 Richard Henderson <rth@redhat.com>
19008
19009 * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
19010 in ARRAY_REF of DECL_P case.
19011
19012 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
19013
19014 * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
19015 description. Document -mips32, -mips64, and the associated -march
19016 values. Describe the "mipsN" arguments to -march. Say that the
19017 -mipsN options are equivalent to -march. Reword the description
19018 of default type sizes.
19019 * toplev.h (target_flags_explicit): Declare.
19020 * toplev.c (target_flags_explicit): New var.
19021 (set_target_switch): Update target_flags_explicit.
19022 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
19023 * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
19024 * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
19025 * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
19026 * config/mips/mips.h (mips_cpu_info): New struct.
19027 (mips_cpu_string, mips_explicit_type_size_string): Remove.
19028 (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
19029 (MIPS_CPP_SET_PROCESSOR): New macro.
19030 (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
19031 Define _MIPS_ARCH and _MIPS_TUNE.
19032 (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
19033 (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
19034 MIPS_ISA_DEFAULT were already defined.
19035 (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
19036 (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
19037 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
19038 (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
19039 (ABI_GAS_ASM_SPEC): Remove.
19040 (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
19041 (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
19042 Invoke %(asm_abi_default_spec) if no ABI was specified.
19043 (CC1_SPEC): Remove ISA -> register-size rules.
19044 (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
19045 * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
19046 (mips_cpu_string, mips_explicit_type_size_string): Remove.
19047 (mips_cpu_info_table): New array.
19048 (mips_set_architecture, mips_set_tune): New fns.
19049 (override_options): Rework to make -mipsN equivalent to -march.
19050 Detect more erroneous cases, including those removed from CC1_SPEC.
19051 Don't change the ABI based on architecture, or vice versa.
19052 Unify logic with GAS.
19053 (mips_asm_file_start): Get architecture name from mips_arch_info.
19054 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
19055 (mips_parse_cpu): Take the name of the option as argument. Handle
19056 'from-abi'. Raise an error if the option is wrong.
19057 (mips_cpu_info_from_isa): New fn.
19058
19059 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
19060
19061 * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
19062 (tablejump_mips162): Likewise.
19063
19064 Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
19065
19066 * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
19067 int_mode_for_mode.
19068
19069 2002-07-25 Gabriel Dos Reis <gdr@nerim.net>
19070
19071 * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
19072 complaining.
19073 * c-common.h (c_sizeof): Adjust definition.
19074 (c_alignof): Likewise.
19075 * c-tree.h (c_sizeof_nowarn): Now macro.
19076 * c-typeck.c (c_sizeof_nowarn): Remove definition.
19077
19078 2002-07-25 Neil Booth <neil@daikokuya.co.uk>
19079
19080 * c-decl.c (c_decode_option): No need to handle switches
19081 cpplib handles.
19082
19083 2002-07-24 Zack Weinberg <zack@codesourcery.com>
19084
19085 * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
19086 ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
19087 * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
19088 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
19089
19090 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
19091 config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
19092 config/cris/aout.h, config/i386/freebsd-aout.h,
19093 config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
19094 config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
19095 config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
19096 config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
19097 config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
19098 config/xtensa/elf.h, config/xtensa/linux.h:
19099 Use the new macros.
19100 Where possible, remove redundant definitions of SIZE_ASM_OP,
19101 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
19102
19103 2002-07-24 Aldy Hernandez <aldyh@redhat.com>
19104
19105 * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
19106 TARGET_ISEL, and TARGET_FPRS.
19107
19108 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
19109 -mabi=spe, -mabi=no-spe, and -misel=.
19110
19111 * config/rs6000/rs6000-protos.h: Add output_isel.
19112 Move vrsave_operation prototype here.
19113
19114 * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
19115 (smaxsi3): Same.
19116 (uminsi3): Same.
19117 (umaxsi3): Same.
19118 (abssi2_nopower): Disallow when TARGET_ISEL.
19119 (*ne0): Same.
19120 (negsf2): Change to expand and rename old pattern to *negsf2.
19121 (abssf2): Change to expand and rename old pattern to *abssf2.
19122
19123 New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
19124 fixunssfsi2.
19125
19126 Change patterns that check for TARGET_HARD_FLOAT or
19127 TARGET_SOFT_FLOAT to also check TARGET_FPRS.
19128
19129 * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
19130 rs6000_isel, rs6000_fprs, rs6000_isel_string.
19131 (rs6000_override_options): Add 8540 case to
19132 processor_target_table.
19133 Set rs6000_isel for the 8540.
19134 Call rs6000_parse_isel_option.
19135 (enable_mask_for_builtins): New.
19136 (rs6000_parse_isel_option): New.
19137 (rs6000_parse_abi_options): Add spe and no-spe.
19138 (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
19139 (rs6000_legitimize_address): Check for TARGET_FPRS when checking
19140 for TARGET_HARD_FLOAT.
19141 Add case for SPE_VECTOR_MODE.
19142 (rs6000_legitimize_reload_address): Handle SPE vector modes.
19143 (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
19144 vector modes.
19145 Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
19146 (rs6000_emit_move): Check for TARGET_FPRS.
19147 Add cases for SPE vector modes.
19148 (function_arg_boundary): Return 64 for SPE vector modes.
19149 (function_arg_advance): Check for TARGET_FPRS and
19150 Handle SPE vectors.
19151 (function_arg): Same.
19152 (setup_incoming_varargs): Check for TARGET_FPRS.
19153 (rs6000_va_arg): Same.
19154 (struct builtin_description): Un-constify mask field. Move up in
19155 file.
19156 (bdesc_2arg): Un-constify and add SPE builtins.
19157 (bdesc_1arg): Same.
19158 (bdesc_spe_predicates): New.
19159 (bdesc_spe_evsel): New.
19160 (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
19161 (rs6000_expand_binop_builtin): Same.
19162 (bdesc_2arg_spe): New.
19163 (spe_expand_builtin): New.
19164 (spe_expand_predicate_builtin): New.
19165 (spe_expand_evsel_builtin): New.
19166 (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
19167 (rs6000_init_builtins): Initialize SPE builtins. Call
19168 rs6000_common_init_builtins.
19169 (altivec_init_builtins): Move all non-altivec builtin code to...
19170 (rs6000_common_init_builtins): ...here. New function.
19171 (branch_positive_comparison_operator): Allow NE code for SPE.
19172 (ccr_bit): Return correct ccr bit for SPE fp.
19173 (print_operand): Emit crnor in 'D' case for SPE.
19174 New case 't'.
19175 Add SPE code for 'y' case.
19176 (rs6000_generate_compare): Generate rtl for SPE fp.
19177 (output_cbranch): Handle SPE hard floats.
19178 (rs6000_emit_cmove): Handle isel.
19179 (rs6000_emit_int_cmove): New.
19180 (output_isel): New.
19181 (rs6000_stack_info): Adjust stack frame so GPRs are saved in
19182 64-bits for SPE.
19183 (debug_stack_info): Add SPE info.
19184 (gen_frame_mem_offset): New.
19185 (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
19186 Change mode of frame pointer, when saving it, to Pmode.
19187 (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
19188 Misc cleanups and use gen_frame_mem_offset when appropriate.
19189
19190 * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
19191 (TARGET_SPE_ABI): New.
19192 (TARGET_SPE): New.
19193 (TARGET_ISEL): New.
19194 (TARGET_FPRS): New.
19195 (FIXED_SCRATCH): New.
19196 (RTX_COSTS): Add PROCESSOR_PPC8540.
19197 (ASM_CPU_SPEC): Add case for 8540.
19198 (TARGET_OPTIONS): Add isel= case.
19199 (rs6000_spe_abi): New.
19200 (rs6000_isel): New.
19201 (rs6000_fprs): New.
19202 (rs6000_isel_string): New.
19203 (UNITS_PER_SPE_WORD): New.
19204 (LOCAL_ALIGNMENT): Adjust for SPE.
19205 (HARD_REGNO_MODE_OK): Same.
19206 (DATA_ALIGNMENT): Same.
19207 (MEMBER_TYPE_FORCES_BLK): New.
19208 (FIRST_PSEUDO_REGISTER): Set to 113.
19209 (FIXED_REGISTERS): Add SPE registers.
19210 (reg_class): Same.
19211 (REG_CLASS_NAMES): Same.
19212 (REG_CLASS_CONTENTS): Same.
19213 (REGNO_REG_CLASS): Same.
19214 (REGISTER_NAMES): Same.
19215 (DEBUG_REGISTER_NAMES): Same.
19216 (ADDITIONAL_REGISTER_NAMES): Same.
19217 (CALL_USED_REGISTERS): Same.
19218 (CALL_REALLY_USED_REGISTERS): Same.
19219 (SPE_ACC_REGNO): New.
19220 (SPEFSCR_REGNO): New.
19221 (SPE_SIMD_REGNO_P): New.
19222 (HARD_REGNO_NREGS): Adjust for SPE.
19223 (VECTOR_MODE_SUPPORTED_P): Same.
19224 (REGNO_REG_CLASS): Same.
19225 (FUNCTION_VALUE): Same.
19226 (LIBCALL_VALUE): Same.
19227 (LEGITIMATE_OFFSET_ADDRESS_P): Same.
19228 (SPE_VECTOR_MODE): New.
19229 (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
19230 the GPRs. Set FIXED_SCRATCH fixed in SPE case.
19231 (rs6000_stack): Add spe_gp_size, spe_padding_size,
19232 spe_gp_save_offset.
19233 (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
19234 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
19235 (SPE_CONST_OFFSET_OK): New.
19236 (rs6000_builtins): Add SPE builtins.
19237
19238 * testsuite/gcc.dg/ppc-spe.c: New.
19239
19240 * config/rs6000/eabispe.h: New.
19241
19242 * config/rs6000/spe.h: New.
19243
19244 * config/rs600/spe.md: New.
19245
19246 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
19247 __SIMD__ for TARGET_SPE.
19248
19249 * config.gcc: Add powerpc-*-eabispe* case.
19250 Add spe.h to user headers for powerpc.
19251
19252 2002-07-24 Chris Demetriou <cgd@broadcom.com>
19253
19254 * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
19255 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
19256 * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
19257
19258 2002-07-24 Richard Henderson <rth@redhat.com>
19259
19260 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
19261 form when not optimizing.
19262
19263 2002-07-24 David Mosberger <davidm@hpl.hp.com>
19264
19265 * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
19266 thread_pointer_rtx as unchanging.
19267
19268 2002-07-24 Michael Matz <matz@suse.de>
19269
19270 * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
19271 (free_reg): Use it.
19272
19273 2002-07-24 Richard Earnshaw <rearnsha@arm.com>
19274
19275 * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
19276 pattern.
19277 (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
19278 (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
19279
19280 2002-07-24 Chris Demetriou <cgd@broadcom.com>
19281
19282 * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
19283 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
19284 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
19285
19286 Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
19287
19288 * toplev.c (rest_of_compilation): Dump loops before clobbering
19289 the structure.
19290
19291 Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
19292
19293 * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
19294
19295 2002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
19296
19297 PR optimization/7291
19298 * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
19299 problem on x86_64.
19300
19301 2002-07-24 Gabriel Dos Reis <gdr@nerim.net>
19302
19303 * pretty-print.h: Add macros from cp/error.c
19304
19305 2002-07-24 Alan Modra <amodra@bigpond.net.au>
19306
19307 * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
19308 (mask64_2_operand): Declare.
19309 (build_mask64_2_operands): Declare.
19310 (and64_2_operand): Declare.
19311 (extract_MB): Declare.
19312 (extract_ME): Declare.
19313 * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
19314 CONST_DOUBLE code.
19315 (mask_operand_wrap): New insn predicate.
19316 (mask64_2_operand): Likewise.
19317 (and64_2_operand): Likewise.
19318 (build_mask64_2_operands): New function.
19319 (extract_MB): New function.
19320 (extract_ME): New function.
19321 (print_operand <case m,M>): Use extract_MB and extract_ME.
19322 (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
19323 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
19324 (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
19325 mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
19326 * config/rs6000/rs6000.md (andsi3_internal3): New
19327 (andsi3_internal3+1): Enable split for powerpc64.
19328 (andsi3_internal3+2): New split.
19329 (andsi3_internal4): Renamed old andsi3_internal3.
19330 (andsi3_internal5): New.
19331 (andsi3_internal5+1): Enable split for powerpc64.
19332 (andsi3_internal5+2): New split.
19333 (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
19334 (anddi3): Handle 't' constraint.
19335 (anddi3+1): New split.
19336 (anddi3_internal2): Handle 't' constraint.
19337 (anddi3_internal2+1): New split.
19338 (anddi3_internal3): Handle 't' constraint.
19339 (anddi3_internal3+1): New split.
19340
19341 2002-07-24 Alan Modra <amodra@bigpond.net.au>
19342
19343 * config/rs6000/rs6000.md: Remove scratch reg on insns using
19344 addze and similar (plus (comparison r1 r2) r3) insns. Add
19345 missing scratch reg in one case. Formatting fixes.
19346
19347 2002-07-24 Neil Booth <neil@daikokuya.co.uk>
19348
19349 * cppexp.c (parse_defined): Mark macro used.
19350 * cpphash.h (struct cpp_macro): New member "used".
19351 (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
19352 (struct cpp_reader): New member.
19353 * cppinit.c (cpp_finish_options): Set first_unused_line.
19354 (cpp_finish): Warn of unused macros if requested.
19355 (OPT_TABLE): New switches.
19356 (cpp_handle_option): Handle them.
19357 * cpplib.c (do_undef): Warn if macro unused.
19358 (do_ifdef, do_ifndef): Mark macro used.
19359 * cpplib.h (struct cpp_options): New member.
19360 * cppmacro.c (_cpp_warn_if_unused_macro): New.
19361 (enter_macro_context): Mark macro used.
19362 (_cpp_create_definition): Mark macro unused; warn if unused
19363 when redefined.
19364 * cpptrad.c (scan_out_logcial_line, push_replacement_text):
19365 Mark macros used.
19366 * doc/cppopts.texi: Update.
19367
19368 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
19369
19370 * dwarf2out.c (SECTION_ASM_OP,
19371 ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
19372 * system.h (SECTION_ASM_OP): Poison.
19373 * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
19374 * config/alpha/alpha-interix.h, config/mips/linux.h
19375 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
19376 * config/mmix/mmix-protos.h, config/mmix/mmix.c
19377 (mmix_asm_output_define_label_difference_symbol): Remove.
19378 * config/mmix/mmix.h
19379 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
19380 * doc/tm.texi: Remove documentation.
19381
19382 Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
19383
19384 * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
19385 (constrain_operands): Likewise.
19386 * regclass.c (record_reg_classes): Likewise.
19387 * reload.c (find_reloads): Likewise.
19388 * doc/md.texi: Likewise.
19389
19390 * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
19391 * simplify-rtx.c (simplify_subreg): When converting to a non-int
19392 mode, try to convert to an integer mode of matching size first.
19393
19394 * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
19395 from individual subregs, check that each subreg has been generated
19396 sucessfully.
19397
19398 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
19399
19400 * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
19401 * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
19402 FOR_EACH_BB_IN_SBITMAP): Remove.
19403 * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
19404 * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
19405 LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
19406 * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
19407 PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
19408 * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
19409
19410 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
19411
19412 * pretty-print.h: New file.
19413
19414 2002-07-23 Paul Koning <pkoning@equallogic.com>
19415
19416 * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
19417 (LARGEST_EXPONENT_IS_NORMAL): Ditto.
19418 (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
19419 (TARGET_G_FLOAT): Default to 0 if not defined.
19420 (ieeetoe): New, common routine to convert target format floats
19421 to internal form.
19422 (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
19423 vs. others.
19424 (e113toe): Change to use ieeetoe.
19425
19426 2002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
19427
19428 * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
19429 IBM.
19430 (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
19431 (e64toe): Remove special cases for DEC and IBM. Remove support for
19432 ARM_EXTENDED_IEEE_FORMAT.
19433 (e24toe): Remove special cases for DEC.
19434 (significand_size): Simplify. Indent.
19435 (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
19436 (etoieee, toieee): New.
19437 (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
19438 etoieee and toieee for IEEE arithmetic.
19439
19440 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
19441
19442 * doc/extend.texi: Say ISO C90, not ISO C89.
19443 * doc/invoke.texi: Likewise.
19444 * doc/standards.texi: Likewise.
19445
19446 2002-07-23 Steve Ellcey <sje@cup.hp.com>
19447
19448 * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
19449 Fix permutation of conversion and plus/mult.
19450 * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
19451 ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
19452 (expand_builtin_strncpy) Ditto.
19453 (expand_builtin_memset) Ditto.
19454
19455 2002-07-23 Gabriel Dos Reis <gdr@nerim.net>
19456
19457 Fix PR/7363:
19458 * c-common.c (c_sizeof_or_alignof_type): New function.
19459 (c_alignof): Remove definition.
19460 * c-common.h (c_sizeof, c_alignof): Define as macros.
19461 (c_sizeof_or_alignof_type): Declare.
19462 (my_friendly_assert): Moved from cp/cp-tree.h
19463 * c-typeck.c (c_sizeof): Remove definition.
19464
19465 2002-07-23 Jan Hubicka <jh@suse.cz>
19466
19467 * gcse.c (try_replace_reg): Use num_changes_pending.
19468 * recog.c (num_changes_pending): New function.
19469 (validate_replace_src): Use validate_repalce_src_group.
19470 (validate_replace_src_group): New.
19471 * recog.h (validate_repalce_src_group): New.
19472 (num_changes_pending): Likewise.
19473
19474 Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
19475
19476 * calls.c (emit_library_call_value_1): If
19477 FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
19478 libcall, const call nor pure call.
19479
19480 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
19481
19482 * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
19483
19484 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
19485
19486 * vmsdbgout.c (SECTION_ASM_OP): Remove.
19487
19488 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
19489
19490 * config/i386/i386.c (AT_BP): Remove.
19491
19492 2002-07-23 Neil Booth <neil@daikokuya.co.uk>
19493
19494 * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
19495 Default definition.
19496 * gcse.c: Don't define obstack_chunk_free.
19497 * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
19498 flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
19499 integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
19500 reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
19501 Don't define obstack macros.
19502
19503 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
19504
19505 PR target/6744
19506 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
19507 ASM_OPERANDS instructions.
19508
19509 2002-07-22 Stephane Carrez <stcarrez@nerim.fr>
19510
19511 PR target/7361
19512 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
19513 constant addresses only on 68HC12.
19514
19515 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
19516
19517 * cppfiles.c (stack_include_file): Correct test of whether
19518 a dependency should be output.
19519
19520 2002-07-22 David Edelsohn <edelsohn@gnu.org>
19521
19522 * collect2.c (is_ctor_dtor): Add other possible JOINER values.
19523
19524 2002-07-22 Richard Earnshaw <rearnsha@arm.com>
19525
19526 * arm.md (movqi): If optimizing and we can create pseudos, use
19527 a ZERO_EXTEND to load from memory, then copy the result into the
19528 target.
19529 (movhi): Likewise, but only for ARMv4.
19530
19531 2002-07-22 Neil Booth <neil@daikokuya.co.uk>
19532
19533 * ssa-ccp.c (PHI_PARMS): Remove.
19534
19535 2002-07-22 Richard Sandiford <rsandifo@redhat.com>
19536
19537 * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
19538 on big-endian targets.
19539
19540 2002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19541
19542 * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
19543 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
19544 HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
19545 New formatting macros.
19546
19547 * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
19548
19549 Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
19550
19551 * rtlanal.c (subreg_regno_offset): Return correct offset for
19552 big endian paradoxical subregs.
19553
19554 * optabs.c (expand_vector_unop): Don't expand using sub_optab
19555 if we got the wrong mode.
19556
19557 * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
19558 * genrecog.c (write_switch, write_cond): Use it.
19559 * genemit.c (gen_exp): Likewise.
19560
19561 2002-07-22 Jakub Jelinek <jakub@redhat.com>
19562
19563 * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
19564
19565 2002-07-22 Jakub Jelinek <jakub@redhat.com>
19566
19567 * c-decl.c (build_compound_literal): Defer compound literal decls
19568 until until file end to emit them only if they are actually used.
19569
19570 2002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19571
19572 * ra-build.c (check_conflict_numbers): Hide unused function.
19573 (livethrough_conflicts_bb): Avoid automatic aggregate
19574 initialization.
19575 (parts_to_webs_1): Avoid `U' integer constant modifier.
19576 (conflicts_between_webs): Wrap a variable in the macro controlling
19577 its usage.
19578 * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
19579 (dump_igraph, dump_graph_cost): Avoid string concatenation
19580 (dump_static_insn_cost): Avoid automatic aggregate
19581 initialization.
19582 * ra-rewrite.c (insert_stores): Avoid automatic aggregate
19583 initialization.
19584 (dump_cost): Avoid string concatenation
19585
19586 2002-07-21 Richard Henderson <rth@redhat.com>
19587
19588 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
19589 GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
19590
19591 2002-07-21 Richard Henderson <rth@redhat.com>
19592
19593 * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
19594 that are not unrolled completely.
19595
19596 2002-07-21 Richard Henderson <rth@redhat.com>
19597
19598 * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
19599 * loop.c (strength_reduce): Update.
19600 * toplev.c (rest_of_compilation): Do unrolling in the first
19601 loop pass, not the second.
19602
19603 2002-07-21 Richard Henderson <rth@redhat.com>
19604
19605 * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
19606 when flag_argument_noalias == 2.
19607 * alias.c (nonoverlapping_memrefs_p): Handle that.
19608 * print-rtl.c (print_mem_expr): Likewise.
19609
19610 2002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
19611
19612 * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
19613 instead of __negdi2 directly.
19614
19615 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19616
19617 * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
19618 * function.c (SYMBOL__MAIN): Remove definition.
19619 * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
19620 * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
19621 * profile.c (GCOV_INDEX_TO_BB): Remove.
19622 * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
19623 * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
19624
19625 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19626
19627 * c-lex.c (GET_ENVIRONMENT): Remove.
19628 * collect2.c (GET_ENV_PATH_LIST): Remove.
19629 (prefix_from_env): Use GET_ENVIRONMENT.
19630 * cppinit.c (GET_ENV_PATH_LIST): Remove.
19631 (init_standard_includes): Use GET_ENVIRONMENT.
19632 * defaults.h (GET_ENVIRONMENT): Define here if not already.
19633 * gcc.c (GET_ENV_PATH_LIST): Remove.
19634 (make_relative_prefix, process_command): Update.
19635 * protoize.c (GET_ENV_PATH_LIST): Remove.
19636 (do_processing): Update.
19637
19638 2002-07-21 Gabriel Dos Reis <gdr@nerim.net>
19639
19640 * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
19641 (grokdeclarator): Likewise.
19642 * c-format.c (C_STD_NAME): Likewise.
19643 * c-lex.c (interpret_integer): Likewise.
19644 * c-typeck.c (build_array_ref): Likewise.
19645 * cpplex.c (_cpp_lex_direct): Likewise.
19646 * toplev.c (documented_lang_options): Likewise.
19647
19648 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19649
19650 * c-format.c (T99_I, T99_UI): Remove.
19651
19652 2002-07-21 Neil Booth <neil@daikokuya.co.uk>
19653
19654 * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
19655
19656 Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
19657
19658 * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
19659 do_local_cprop.
19660
19661 2002-07-21 Andreas Jaeger <aj@suse.de>
19662
19663 * reload1.c (fixup_abnormal_edges): Remove unused variable.
19664
19665 2002-07-21 Bernd Schmidt <bernds@redhat.com>
19666
19667 Improvements for the ifcvt pass from Michael Meissner, with patches
19668 by Richard Sandiford <rsandifo@redhat.com>
19669 * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
19670 * ifcvt.c (cond_exec_changed_p): New static variable.
19671 (last_active_insn): New function, renamed from last_active_insn_p
19672 and changed to return the last active insn in a basic block. All
19673 callers updated.
19674 (block_fallthru): New function.
19675 (cond_exec_process_insns): New argument CE_INFO. Pass it to
19676 IFCVT_MODIFY_INSN. All callers updated.
19677 Return false if START or END are NULL.
19678 Handle case where we're processing an insn that is already
19679 conditional.
19680
19681 (noce_process_if_block): CE_INFO argument rather than
19682 multiple args containing the involved basic blocks. All callers
19683 changed.
19684 (process_if_block, merge_if_block, find_if_block,
19685 cond_exec_process_if_block): Likewise.
19686
19687 (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
19688 changed.
19689 Use new function last_active_insn to simplify some code.
19690 New code to handle multiple tests.
19691 Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
19692 cond_exec_changed_p to TRUE.
19693
19694 (process_if_block): New code to handle multiple tests.
19695 (merge_if_block): Likewise.
19696 (find_if_header): New arg PASS. Changed to return the currently
19697 processed basic block or NULL instead of true/false. All callers
19698 changed.
19699 Call IFCVT_INIT_EXTRA_FIELDS.
19700 (block_jumps_and_fallthru_p): New function.
19701 (find_if_block): Discover opportunities to convert multiple tests.
19702 Add additional debugging output.
19703 Update the ce_info structure before returning.
19704
19705 (if_convert): Run multiple passes of if-conversion.
19706 * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
19707 IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
19708 IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
19709 these macros.
19710
19711 Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
19712
19713 * gcse.c: Include cselib.h
19714 (constptop_register): Break out from ...
19715 (cprop_insn): ... here; kill basic_block argument.
19716 (do_local_cprop, local_cprop_pass): New functions.
19717 (one_cprop_pass): Call local_cprop_pass.
19718
19719 2002-07-20 Roger Sayle <roger@eyesopen.com>
19720
19721 * simplify-rtx.c (simplify_relational_operation): Optimize
19722 abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
19723
19724 2002-07-20 Michae Matz <matz@suse.de>
19725
19726 * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
19727
19728 2002-07-20 Neil Booth <neil@daikokuya.co.uk>
19729
19730 * cppexp.c (struct op): Add token pointer.
19731 (check_promotion, CHECK_PROMOTION): New.
19732 (optab): Update.
19733 (_cpp_parse_expr): Update, use token pointer of struct op.
19734 (reduce): Warn about change of sign owing to promotion.
19735 * cppinit.c (cpp_handle_option): New warning if -Wall.
19736 * cpplib.h (struct cpp_options): New member.
19737
19738 2002-07-19 David Edelsohn <edelsohn@gnu.org>
19739
19740 * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
19741 fpu list. Separate Power4 compare and delayed_compare. Correct
19742 Power4 fpcompare.
19743 (fix_truncdfsi2_internal): Restore FPR preference.
19744 * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
19745 mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
19746
19747 2002-07-19 Momchil Velikov <velco@fadata.bg>
19748
19749 * reload1.c (reload_as_needed): Duplicate oldpat.
19750
19751 2002-07-20 Alan Modra <amodra@bigpond.net.au>
19752
19753 PR optimization/7130
19754 * loop.h (struct loop_info): Add "preconditioned".
19755 * unroll.c (unroll_loop): Set it.
19756 * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
19757
19758 2002-07-19 Zack Weinberg <zack@codesourcery.com>
19759
19760 * rtl.def (CODE_LABEL): Remove slot 8.
19761 * rtl.h (struct rtx_def): Document new uses of jump and call fields.
19762 (LABEL_ALTERNATE_NAME): Delete.
19763 (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
19764 * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
19765
19766 * final.c (output_alternate_entry_point): New.
19767 (final_scan_insn): Use it instead of
19768 ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
19769 of a case label being an alternate entry point.
19770
19771 * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
19772 * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
19773 Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
19774 (field deleted).
19775 * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
19776
19777 * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
19778 LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
19779 * doc/tm.texi: Delete documentation of
19780 ASM_OUTPUT_ALTERNATE_LABEL_NAME.
19781
19782 2002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
19783
19784 * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
19785 (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
19786 (LINK_SPEC): Define.
19787 (STARTFILE_SPEC): Define.
19788 (ENDFILE_SPEC): Define.
19789
19790 * config/mips/iris6-o32.h (LINK_SPEC): Move ...
19791 * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
19792
19793 * config/mips/iris6-o32-gas.h: New file.
19794 * config.gcc (mips-sgi-irix6*o32): Use it.
19795
19796 * config/mips/t-iris5-gas: New file.
19797 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
19798
19799 2002-07-19 Neil Booth <neil@daikokuya.co.uk>
19800
19801 * cppexp.c (ALWAYS_EVAL): Remove.
19802 (optab, reduce): Always evaluate.
19803 (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
19804 only if not skipping evaluation.
19805
19806 2002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
19807
19808 * config/avr/avr.c (debug_hard_reg_set): Remove.
19809
19810 2002-07-19 Chris Demetriou <cgd@broadcom.com>
19811
19812 * gcc.c (cpp_options): Include "%1" (cc1_spec).
19813
19814 2002-07-19 Richard Henderson <rth@redhat.com>
19815
19816 * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
19817
19818 2002-07-19 Alan Modra <amodra@bigpond.net.au>
19819
19820 * prefix.c (update_path): Don't zap single `.' path components
19821 unless followed by another `.' and fix typo last patch.
19822
19823 2002-07-18 Neil Booth <neil@daikokuya.co.uk>
19824
19825 * cppexp.c (cpp_num_mul): Remove unused parameter.
19826 (UNARY, BINARY, OTHER, binary_handler): Remove.
19827 (ALWAYS_EVAL): New.
19828 (optab): Update.
19829 (reduce): Refactor to a large switch, don't use a function
19830 pointer.
19831
19832 2002-07-18 Bo Thorsen <bo@berlioz.suse.de>
19833
19834 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
19835
19836 Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
19837
19838 * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
19839 (sh_expand_binop_v2sf): Likewise.
19840 * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
19841 (int_gpr_dest, trunc_hi_operand): New functions.
19842 * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
19843 trunc_hi_operand.
19844 (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
19845 * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
19846 (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
19847 (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
19848 (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
19849 (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
19850 (extendhisi2_media+1, extendqisi2_media+1): Likewise.
19851 (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
19852 (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
19853 (movsf_ie+1): Likewise.
19854 (loaddi_trunc): Use int_gpr_dest predicate.
19855 (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
19856 (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
19857 (casesi_worker_0+[12], casesi_worker): Likewise.
19858 (shcompact_preserve_incoming_args): Likewise.
19859 (mov_nop): Use any_register_operand predicate.
19860 (mperm_w0): Use trunc_hi_operand predicate.
19861
19862 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
19863
19864 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
19865 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
19866 numbering.
19867
19868 2002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
19869
19870 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
19871
19872 2002-07-18 Richard Henderson <rth@redhat.com>
19873
19874 PR optimization/7147
19875 * ifcvt.c (noce_get_condition): Make certain that the condition
19876 is valid at JUMP.
19877
19878 Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
19879
19880 * sh.c (barrier_align, push): Shut up compiler warnings.
19881 (initial_elimination_offset,sh_media_init_builtins): Likewise.
19882 (reg_no_subreg_operand): Delete.
19883
19884 2002-07-17 Bo Thorsen <bo@suse.de>
19885
19886 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
19887 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
19888 (STARTFILE_SPEC): Remove hardcoded library paths.
19889 (ENDFILE_SPEC): Likewise.
19890
19891 Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
19892
19893 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
19894
19895 * gcse.c (try_replace_reg): Do not return false positives.
19896
19897 2002-07-18 Alan Modra <amodra@bigpond.net.au>
19898
19899 * prefix.c: (update_path): Strip ".." components when prior dir
19900 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
19901
19902 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
19903 (ASM_OUTPUT_REG_POP): Likewise.
19904
19905 2002-07-18 Alan Modra <amodra@bigpond.net.au>
19906
19907 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
19908 adjustments to first_reg for profiling case.
19909 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
19910 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
19911 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
19912 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
19913 (ASM_OUTPUT_REG_POP): Define.
19914 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
19915 (ASM_OUTPUT_REG_POP): Undef.
19916
19917 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
19918
19919 * cpplib.c (do_sccs): Handle #sccs on all systems.
19920 * system.h (SCCS_DIRECTIVE): Poison.
19921 * config/darwin.h, config/freebsd.h, config/netbsd.h,
19922 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
19923 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
19924 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
19925 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
19926 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
19927 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
19928 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
19929 Remove all references to SCCS_DIRECTIVE.
19930 * doc/cpp.texi, doc/tm.texi: Update.
19931
19932 Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
19933
19934 * regrename.c (maybe_mode_change): New function.
19935 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
19936
19937 2002-07-17 Rodney Brown <rbrown64@csc.com.au>
19938
19939 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
19940 suppress addition when either ct or cf are zero.
19941
19942 2002-07-17 Eric Botcazou <ebotcazou@multimania.com>
19943 Glen Nakamura <glen@imodulo.com>
19944
19945 PR optimization/6713
19946 * loop.c (loop_givs_rescan): Explicitly delete the insn that
19947 sets a non-replaceable giv after issuing the new one.
19948
19949 2002-07-17 Neil Booth <neil@daikokuya.co.uk>
19950
19951 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
19952 eval_token): Clarify and correct use of "bool" variables.
19953 * cpplib.h (struct cpp_options): Similarly.
19954 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
19955 * cpptrad.c (recursive_macro): Similarly.
19956
19957 Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
19958
19959 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
19960 SHmedia code.
19961
19962 * sh.md (cmpgtudi_media): Remove spurious @.
19963
19964 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
19965 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
19966
19967 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
19968 * sh-protos.h (sh_initialize_trampoline): Declare.
19969 * sh.c (sh_initialize_trampoline): New function.
19970 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
19971 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
19972 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
19973 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
19974 * sh.md (initialize_trampoline, double_shori): New patterns.
19975 (initialize_trampoline_compact): Likewise.
19976 (shmedia32_initialize_trampoline_big): Remove.
19977 (shmedia32_initialize_trampoline_little): Likewise.
19978
19979 * sh-protos.h (binary_float_operator): Remove declaration.
19980 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
19981 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
19982 (unary_float_operator, sh_expand_unop_v2sf): New functions.
19983 (sh_expand_binop_v2sf): Likewise.
19984 (zero_vec_operand): Delete.
19985 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
19986 all non-shared ones.
19987 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
19988 Enable nsb and byterev.
19989 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
19990 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
19991 in general regs.
19992 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
19993 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
19994 immediate operands.
19995 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
19996 Add DF_HI_REGS.
19997 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
19998 lowpart fp regs - only for big endian for now.
19999 (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
20000 when FPU is in use.
20001 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
20002 (LOAD_EXTEND_OP): NIL for SImode.
20003 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
20004 general and fp registers is 4.
20005 PREDICATE_CODES: Amend binary_float_operator entry.
20006 Remove zero_vec_operand. Add unary_float_operator.
20007 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
20008 subreg SET_DEST.
20009 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
20010 (truncdiqi2): Do sign extension.
20011 (movsi_media, movdi_media): Allow to use r63 to an fp register.
20012 (movdf_media, movsf_media): Likewise.
20013 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
20014 Collapse to one define_insn_and_split. Allow immediate sources.
20015 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
20016 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
20017 (movv4sf): Allow immediate sources.
20018 (movsf_media_nofpu+1): Don't split moves to FP registers.
20019 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
20020 (movv8qi_i+3): Check against CONST0_RTX.
20021 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
20022 for input and output operands. Fix argument 3 to gen_mextr_rl.
20023 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
20024 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
20025 (mshf0_w, fipr, ftrv): Likewise.
20026 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
20027
20028 2002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
20029
20030 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
20031 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
20032 * arm.c: Similarly.
20033
20034 2002-07-17 Richard Sandiford <rsandifo@redhat.com>
20035
20036 * config/mips/mips-protos.h (mips_sign_extend): Declare.
20037 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
20038 (TARGET_SWITCHES): Remove debugh.
20039 (ISA_HAS_TRUNC_W): New macro.
20040 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
20041 (PREDICATE_CODES): Remove se_nonimmediate_operand.
20042 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
20043 any SImode move_operand.
20044 (se_nonimmediate_operand): Remove.
20045 (mips_sign_extend): New.
20046 (mips_move_2words): Use it for sign-extended source operands.
20047 (override_options): Allow integers to be put into single FPRs.
20048 (mips_secondary_reload_class): Handle integers in float registers.
20049 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
20050 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
20051 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
20052 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
20053 (fix_truncdfdi2): Provide only a single alternative, in which the
20054 integer is in a float register. Depend on TARGET_FLOAT64 rather
20055 than TARGET_64BIT.
20056 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
20057 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
20058 (movdi_internal2): Don't allow the source operand to be sign-extended.
20059 Add alternatives for float registers.
20060 (*movdi_internal2_extend): New. Version of movdi_internal2 that
20061 allows sign-extension.
20062 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
20063 (movsi_internal2): Rename to movsi_internal. Add alternatives for
20064 float registers. Remove TARGET_DEBUG_H_MODE test.
20065 (movhi_internal1): Rename to movhi_internal. Don't check
20066 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
20067 (movqi_internal1): Rename to movqi_internal and remove
20068 TARGET_DEBUG_H_MODE dependency.
20069 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
20070
20071 2002-07-16 Jim Wilson <wilson@redhat.com>
20072
20073 * toplev.c (lang_dependent_init): Create function context for
20074 init_expr_once.
20075
20076 2002-07-16 Hans-Peter Nilsson <hp@axis.com>
20077
20078 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
20079 --gc-sections if -r.
20080 * config/cris/cris.h: Ditto.
20081
20082 2002-07-16 Rodney Brown <rbrown64@csc.com.au>
20083
20084 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
20085 the comparison directly gives a mask suppress addition when cf is
20086 zero by complementing the mask.
20087
20088 2002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
20089
20090 * Makefile.in: Delete references to enquire.
20091 * enquire.c: Move to contrib.
20092
20093 2002-07-16 Stan Shebs <shebs@apple.com>
20094
20095 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
20096 config/rs6000/darwin.h.
20097 (ASM_OUTPUT_SKIP): Ditto.
20098 (TEXT_SECTION_ASM_OP): Ditto.
20099 (DATA_SECTION_ASM_OP): Ditto.
20100 (ASM_APP_ON): Define.
20101 (ASM_APP_OFF): Define.
20102 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
20103 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
20104
20105 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
20106 (machopic_function_base_name): Declare result to be const.
20107 (machopic_non_lazy_ptr_name): Ditto.
20108 (machopic_stub_name): Ditto.
20109 * config/darwin-protos.h: Ditto for the prototypes.
20110
20111 Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
20112
20113 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
20114
20115 Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
20116
20117 * i386.md (prefetch): Fix for 64bit mode.
20118 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
20119
20120 Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
20121
20122 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
20123 * i386.c (x86_machine_dependent_reorg): New function.
20124 * i386-protos.h (x86_machine_dependent_reorg): Declare.
20125
20126 2002-07-16 Zack Weinberg <zack@codesourcery.com>
20127
20128 * builtins.c (std_expand_builtin_va_start): Remove unused
20129 first argument.
20130 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
20131 std_expand_builtin_va_start with just two arguments.
20132 * expr.h: Update prototypes.
20133
20134 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
20135 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
20136 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
20137 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
20138 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
20139 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
20140 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
20141 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
20142 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
20143 argument from all implementations of EXPAND_BUILTIN_VA_START
20144 and all uses of std_expand_builtin_va_start.
20145
20146 Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
20147
20148 * regrename.c (copy_value): Don't record high part copies.
20149
20150 2002-07-16 Steve Ellcey <sje@cup.hp.com>
20151
20152 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
20153 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
20154 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
20155
20156 2002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
20157
20158 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
20159
20160 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
20161 into addsi3 using register class "x" and "y".
20162
20163 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
20164 "earlyclobber" constraint modifier for some alternative.
20165
20166 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
20167 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
20168 unordered.
20169 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
20170
20171 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
20172 (TARGET_SWITCHES): Add -mieee-compare option.
20173 (OVERRIDE_OPTIONS): 32332 is a subset of
20174 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
20175 (TARGET_SWITCHES): Fix description of bitfield option.
20176 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
20177 -mieee-compare option. Remove 32332 flag.
20178
20179 2002-07-16 Steve Ellcey <sje@cup.hp.com>
20180
20181 * explow.c (convert_memory_address): Remove special handling
20182 when POINTERS_EXTEND_UNSIGNED < 0.
20183 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
20184 (movedi_symbolic): Fix typo.
20185 (load_fptr): Remove mode restriction so it works for SI and DI.
20186 (load_fptr_internal1): Ditto.
20187 (load_gprel): Ditto.
20188 (load_symptr_internal1): Ditto.
20189 (call_pic): Ditto.
20190 * config/ia64.c (call_operand): Modify mode check.
20191 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
20192 (ia64_expand_move): Ditto.
20193 (ia64_assemble_integer): Handle SImode function pointers.
20194 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
20195 (ia64_expand_op_and_fetch): Ditto.
20196 (ia64_expand_compare_and_swap): Ditto.
20197 (ia64_expand_lock_test_and_set): Ditto.
20198 (ia64_expand_lock_release): Ditto.
20199
20200 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
20201
20202 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
20203
20204 2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
20205 Richard Earnshaw <rearnsha@arm.com>
20206
20207 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
20208 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
20209
20210 2002-07-16 Richard Earnshaw <rearnsha@arm.com>
20211
20212 * arm.md (stack_tie): New insn. Use an idiom that the alias code
20213 understands to be a memory clobber.
20214 * arm.c (arm_expand_prologue): Use it.
20215
20216 2002-07-16 Daniel Berlin <dberlin@dberlin.org>
20217
20218 * ra-rewrite.c: #include reload.h, insn-config.h
20219 * ra-build.c: #include reload.h
20220 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
20221 depend on reload.h, insn-config.h.
20222
20223 Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
20224
20225 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
20226 the same size as a word.
20227
20228 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
20229 BYTES_BIG_ENDIAN into account.
20230
20231 Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
20232
20233 * i386.md (prefetch): Fix for 64bit mode.
20234 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
20235
20236 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
20237
20238 2002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
20239
20240 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
20241
20242 2002-07-15 Zack Weinberg <zack@codesourcery.com>
20243
20244 * ginclude/varargs.h: Replace with stub which issues #error.
20245 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
20246 __builtin_va_start.
20247
20248 * builtins.def (BUILT_IN_VARARGS_START): Delete.
20249 (BUILT_IN_VA_START): New.
20250 * builtins.c (expand_builtin_va_start): Eliminate first
20251 argument and code to implement pre-ISO varargs.
20252 (std_expand_builtin_va_start): Ignore first argument; it is
20253 always 1.
20254 (expand_builtin): Handle BUILT_IN_VA_START and
20255 BUILT_IN_STDARG_START identically. Delete
20256 BUILT_IN_VARARGS_START case.
20257
20258 * function.c (assign_parms): Delete hide_last_arg and all
20259 its uses.
20260 (mark_varargs): Delete function.
20261 * function.h (struct function): Delete 'varargs' bit.
20262 (current_function_varargs): Delete macro.
20263 * tree.h: Don't declare mark_varargs.
20264
20265 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
20266 (c_expand_body): Don't call mark_varargs.
20267 * c-objc-common.c: Handle BUILT_IN_VA_START and
20268 BUILT_IN_STDARG_START identically. Delete
20269 BUILT_IN_VARARGS_START case.
20270 * c-tree.h: Don't declare c_mark_varargs.
20271 * c-parse.in: Remove grammar rules for '&...' (which has been
20272 commented out since before 2.7.2) and for '...' in K+R
20273 argument declarations.
20274
20275 * builtins.c, function.c, integrate.c, sibcall.c,
20276 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
20277 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
20278 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
20279 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
20280 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
20281 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
20282 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
20283 config/stormy16/stormy16.c: Delete all references to
20284 current_function_varargs, and code predicated on that flag.
20285
20286 * config/alpha/alpha.c (alpha_va_start),
20287 config/arc/arc.c (arc_va_start),
20288 config/i386/i386.c (ix86_va_start),
20289 config/mips/mips.c (mips_va_start),
20290 config/mn10300/mn10300.c (mn10300_va_start),
20291 config/rs6000/rs6000.c (rs6000_va_start),
20292 config/s390/s390.c (s390_va_start),
20293 config/sh/sh.c (sh_va_start),
20294 Ignore first argument; it is always 1.
20295
20296 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
20297 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
20298 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
20299 Delete m68hc11_va_start.
20300 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
20301 No need to define EXPAND_BUILTIN_VA_START.
20302
20303 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
20304 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
20305
20306 2002-07-15 Eric Botcazou <ebotcazou@multimania.com>
20307
20308 PR optimization/7153
20309 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
20310 dies in more than one insn.
20311
20312 2002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
20313
20314 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
20315
20316 2002-07-15 Michael Matz <matz@suse.de>,
20317 Daniel Berlin <dberlin@dberlin.org>,
20318 Denis Chertykov <denisc@overta.ru>
20319
20320 Add a new register allocator.
20321
20322 * ra.c: New file.
20323 * ra.h: New file.
20324 * ra-build.c: New file.
20325 * ra-colorize.c: New file.
20326 * ra-debug.c: New file.
20327 * ra-rewrite.c: New file.
20328
20329 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
20330 (ra-rewrite.o): New .o files for libbackend.a.
20331 (GTFILES): Add basic-block.h.
20332
20333 * toplev.c (flag_new_regalloc): New.
20334 (f_options): New option "new-ra".
20335 (rest_of_compilation): Call initialize_uninitialized_subregs()
20336 only for the old allocator. If flag_new_regalloc is set, call
20337 new allocator, instead of local_alloc(), global_alloc() and
20338 friends.
20339
20340 * doc/invoke.texi: Document -fnew-ra.
20341 * basic-block.h (FOR_ALL_BB): New.
20342 * config/rs6000/rs6000.c (print_operand): Write small constants
20343 as @l+80.
20344
20345 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
20346 (df_reg_table_realloc): Make size at least as large as max_reg_num().
20347 (df_insn_table_realloc): Size argument now is absolute, not relative.
20348 Changed all callers.
20349
20350 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
20351 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
20352
20353 2002-06-20 Michael Matz <matz@suse.de>
20354
20355 * df.h (struct ref.id): Make unsigned.
20356 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
20357
20358 2002-06-13 Michael Matz <matz@suse.de>
20359
20360 * df.h (DF_REF_MODE_CHANGE): New flag.
20361 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
20362 involving subregs with invalid mode changes, when
20363 CLASS_CANNOT_CHANGE_MODE is defined.
20364
20365 2002-05-07 Michael Matz <matz@suse.de>
20366
20367 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
20368
20369 2002-05-03 Michael Matz <matz@suse.de>
20370
20371 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
20372
20373 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
20374
20375 * regclass.c (regclass): Work with all regs which have sets or
20376 refs.
20377 (reg_scan_mark_refs): Count regs inside (clobber ...).
20378
20379 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
20380
20381 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
20382 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
20383 add new refs.
20384 (df_bb_refs_update): Don't clear insns_modified here, ...
20385 (df_analyse): ... but here.
20386
20387 * sbitmap.c (dump_sbitmap_file): New.
20388 (debug_sbitmap): Use it.
20389
20390 * sbitmap.h (dump_sbitmap_file): Add prototype.
20391
20392 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
20393
20394 * df.c (df_insn_modify): Grow the UID table if necessary, rather
20395 than assume all emits go through df_insns_modify.
20396
20397 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
20398
20399 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
20400 increase REG_N_REFS (like flow does), so that regclass doesn't
20401 think a reg is useless, and thus, not calculate a class, when it
20402 really should have.
20403
20404 2001-01-28 Daniel Berlin <dberlin@redhat.com>
20405
20406 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
20407 dataflow analysis.
20408
20409 2002-07-15 Jakub Jelinek <jakub@redhat.com>
20410
20411 PR middle-end/7245
20412 * config/i386/i386.c (const_int_1_31_operand): New.
20413 * config/i386/i386.h (PREDICATE_CODES): Add it.
20414 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
20415 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
20416 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
20417
20418 2002-07-14 Alan Modra <amodra@bigpond.net.au>
20419
20420 PR target/7282
20421 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
20422 (floatunssidf2): Likewise.
20423 (floatsidf_ppc64): New insn_and_split.
20424 (floatunssidf_ppc64): Likewise.
20425
20426 2002-07-14 Andreas Jaeger <aj@suse.de>
20427
20428 * config.gcc (sh64): Remove unused
20429 target_requires_64bit_host_wide_int.
20430
20431 2002-07-12 Roger Sayle <roger@eyesopen.com>
20432
20433 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
20434 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
20435 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
20436 whether clear_by_pieces should be used to clear storage.
20437 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
20438
20439 * doc/tm.texi: Document these two new target macros.
20440
20441 2002-07-12 Stephane Carrez <stcarrez@nerim.fr>
20442
20443 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
20444 the scratch register.
20445 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
20446 of it, forbid reload to use it.
20447
20448 2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
20449
20450 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
20451 usage on 64-bit hosts, return value was truncated to 32 bits.
20452
20453 Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
20454
20455 * simplify-rtx.c (simplify_subreg): Handle floating point
20456 CONST_DOUBLEs. When an integer subreg of a smaller mode than
20457 the element mode is requested, compute a subreg with an
20458 integer mode of the same size as the element mode first.
20459
20460 Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
20461
20462 * combine.c (try_combine): When converting a paradoxical subreg
20463 to an extension, take LOAD_EXTEND_OP into account.
20464
20465 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20466
20467 * config.gcc (mips-sgi-irix6*o32): New configuration.
20468
20469 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
20470 configurations.
20471 * configure: Regenerate.
20472
20473 * config/mips/iris6-o32-as.h: New file.
20474 * config/mips/iris6-o32.h: New file.
20475
20476 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
20477 (NM_FLAGS): Define.
20478 (HAVE_AS_SHF_MERGE): Undefine.
20479
20480 * config/mips/t-iris5-as: New file.
20481 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
20482
20483 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
20484 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
20485 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
20486 dp-bit.c, fp-bit.c): Move ...
20487 * config/mips/t-iris5-6: ... here.
20488 New file, shared by IRIX 5 and IRIX 6.
20489 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
20490 mips-sgi-irix5*): Use it.
20491
20492 * config/mips/iris6.h: Remove duplicate comment.
20493
20494 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
20495 !TARGET_IRIX6]: Define.
20496 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
20497
20498 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
20499
20500 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
20501
20502 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
20503 and delete code to force constant to register.
20504 * pa-protos.h (adddi3_operand): Add prototype.
20505 * pa.c (adddi3_operand): New function.
20506
20507 2002-07-11 Roger Sayle <roger@eyesopen.com>
20508
20509 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
20510 non-ANSI builtin functions.
20511
20512 Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
20513
20514 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
20515 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
20516 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
20517 (gen_const_vector_0): Use it.
20518
20519 2002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
20520
20521 * pa.md (adddi3): For 32-bit targets, force constants to a register
20522 if they don't fit in an 11-bit immediate. Change insn predicate to
20523 arith11_operand. Remove comment.
20524 * pa.c (cint_ok_for_move): Fix comment.
20525 (emit_move_sequence): Don't directly split DImode constants on 32-bit
20526 targets.
20527
20528 2002-07-11 Tim Josling <tej@melbpc.org.au>
20529
20530 Remove front end hard coding from gengtype.c.
20531
20532 * Makefile.in
20533 (STAGESTUFF): add gtyp-gen.h
20534 (GTFILES): Remove front end specific files.
20535 (GTFILES_FILES_LANGS): New, from configure..
20536 (GTFILES_FILES_FILES): Likewise.
20537 (GTFILES_LANG_DIR_NAMES): Likewise.
20538 (GTFILES_SRCDIR): Likewise.
20539 (gtyp-gen.h): Build from configure information.
20540 (s-gtype): Remove command line parameters from gengtype.
20541 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
20542 (mostlyclean): Delete files generated by and for gengtype.
20543
20544 * c-config-lang.in: New file.
20545
20546 * configure.in (all_gtfiles_files_langs): New. Accumulate files
20547 for each language.
20548 (all_gtfiles_files_files): New. Accumulate language for each file
20549 accumulated.
20550 (gtfiles): Pick up value for C.
20551 (srcdir): AC-SUBST this variable.
20552 (all_gtfiles_files_langs): AC-SUBST this variable.
20553 (all_gtfiles_files_files): AC-SUBST this variable.
20554
20555 * configure: Regenerate.
20556
20557 * gengtype-lex.l (parse_file): Make parameter const.
20558
20559 * gengtype.c (toplevel): include gtyp-gen.h.
20560 (BASE_FILE_<language> unnamed enum): Delete.
20561 (lang_names): Delete (replaced by gtyp-gen.h)
20562 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
20563 all references.
20564 (NUM_GT_FILES): New.
20565 (NUM_LANG_FILES): New.
20566 (srcdir_len): New.
20567 (NUM_BASE_FILES): Change calculation.
20568 (open_base_files): Change prototype to avoid warning.
20569 (startswith): Delete.
20570 (get_file_basename): Iterate through generated language list not
20571 hard coded list.
20572 (get_base_file_bitmap): Use generated list of files and languages.
20573 (close_output_files): Add prototype to rmove warning.
20574 (main): Iterate through list of generated files from gtyp-gen.h
20575 rather than command line paramaters. Ignore duplicated file
20576 names.
20577
20578 * gengtype.h (parse_file): Amend prototype for const parameter.
20579
20580 * doc/sourcebuild.texi: Document gtfiles variable.
20581
20582 * doc/gty.texi: Document changes to gtfiles variable for front
20583 ends.
20584
20585 * objc/config-lang.in (gtfiles): Add files needed for objc front
20586 end.
20587
20588 2002-07-10 Roger Sayle <roger@eyesopen.com>
20589
20590 PR c/2454
20591 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
20592 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
20593
20594 2002-07-10 Roger Sayle <roger@eyesopen.com>
20595 Zack Weinberg <zack@codesourcery.com>
20596
20597 * builtins.def: Make the argument types of abort and exit
20598 independent of the front-end.
20599
20600 2002-07-11 Alan Modra <amodra@bigpond.net.au>
20601
20602 * config/rs6000/linux64.h (ASM_SPEC): Define.
20603
20604 2002-07-10 Aldy Hernandez <aldyh@redhat.com>
20605
20606 * config/rs6000/rs6000.c (emit_frame_save): New.
20607 (rs6000_frame_related): Replace reg2 before reg.
20608 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
20609 and eh_return registers.
20610
20611 2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
20612
20613 Revert all patches for optimization of Complex .op. Real.
20614 * complex_part_zero_p: Remove
20615 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
20616 with x.
20617 * expand_cmplxdiv_wide: Ditto.
20618 * expand_binop: Ditto.
20619
20620 2002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
20621
20622 * config/avr/avr.md: Fix two 0x80000000 constants to make them
20623 negative also on 64-bit hosts.
20624
20625 Default to -fno-reorder-blocks when optimizing for size.
20626 * config/avr/avr-protos.h (avr_optimization_options): Declare.
20627 * config/avr/avr.c (avr_optimization_options): New function.
20628 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
20629
20630 Optimize returning from simple functions.
20631 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
20632 * config/avr/avr.c (avr_simple_epilogue): New function.
20633 * config/avr/avr.md (return): New insn.
20634
20635 2002-07-10 Douglas B Rupp <rupp@gnat.com>
20636
20637 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
20638 HAS_INIT_SECTION to protection.
20639
20640 2002-07-10 Mark Mitchell <mark@codesourcery.com>
20641
20642 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
20643 deprecated.
20644
20645 Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
20646
20647 * combine.c (gen_lowpart_for_combine): Handle vector modes.
20648 Supply non-VOID mode to simplify_gen_subreg.
20649
20650 Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
20651
20652 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
20653
20654 2002-07-10 Jeffrey A Law <law@redhat.com>
20655
20656 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
20657 as appropriate.
20658
20659 * mn10200.c (expand_epilogue): Fix test to determine which scratch
20660 register to use.
20661
20662 Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
20663
20664 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
20665 Get mode from dest.
20666 If simplify_gen_subreg fails, try next equivalent.
20667
20668 2002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
20669
20670 * diagnostic.h: #include location.h
20671 (location_t): Move definition to..
20672 * location.h: ... here. New file.
20673 * tree.h: #include location.h
20674 (DECL_SOURCE_LOCATION): New macro.
20675 (DECL_SOURCE_FILE): Use.
20676 (DECL_SOURCE_LINE): Likewise.
20677 (struct tree_decl): REplace filename and linenum with locus.
20678 * Makefile.in (TREE_H): add location.h
20679 (diagnostic.o): Depends on gt-location.h
20680 (gt-location.h): Depends on s-gtype
20681
20682 2002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
20683
20684 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
20685 TARGET_OS_CPP_BUILTINS.
20686 * config/rs6000/aix31.h: Likewise.
20687 * config/rs6000/aix41.h: Likewise.
20688 * config/rs6000/aix43.h: Likewise.
20689 * config/rs6000/aix51.h: Likewise.
20690 * config/rs6000/beos.h: Likewise.
20691 * config/rs6000/darwin.h: Likewise.
20692 * config/rs6000/eabi.h: Likewise.
20693 * config/rs6000/eabisim.h: Likewise.
20694 * config/rs6000/linux.h: Likewise.
20695 * config/rs6000/linux64.h: Likewise.
20696 * config/rs6000/lynx.h: Likewise.
20697 * config/rs6000/mach.h: Likewise.
20698 * config/rs6000/rtems.h: Likewise.
20699 * config/rs6000/sysv4.h: Likewise.
20700 * config/rs6000/vxppc.h: Likewise.
20701
20702 2002-07-09 Devang Patel <dpatel@apple.com>
20703 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
20704 Do not allow ObjC objects as a parameter type for Objective-C methods.
20705 My previous patch restricted 'struct' also.
20706
20707 2002-07-09 Neil Booth <neil@daikokuya.co.uk>
20708
20709 * cpperror.c (cpp_error): Default to directive_line within
20710 directives here.
20711 * cppexp.c (cpp_interpret_integer): Only use traditional
20712 number semantics in directives.
20713 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
20714 (do_include_common): Similarly.
20715 * cpptrad.c (scan_out_logical_line): Implement accurate
20716 quoting of <> in #include.
20717 * doc/cpp.texi: Update.
20718
20719 Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
20720 J"orn Rennecke <joern.rennecke@superh.com>
20721
20722 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
20723 * sh.md (attribute issues): Replace with:
20724 (attribute pipe_model). All users changed.
20725 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
20726 All users changed.
20727 (function units sh5issue, sh5fds): New.
20728 (attribute is_mac_media): New.
20729 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
20730 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
20731 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
20732 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
20733 (call_media, call_value_media, sibcall_media): Likewise.
20734 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
20735 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
20736 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
20737 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
20738 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
20739 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
20740 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
20741 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
20742 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
20743 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
20744 (truncdfsf2_media): Likewise.
20745 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
20746 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
20747
20748 Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
20749
20750 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
20751 * sh.c (general_extend_operand, inqhi_operand): New functions.
20752 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
20753 alternatives using 'N' modifier. Add type.
20754 (adddi3z_media): Likewise. Enable generator function generation.
20755 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
20756 exact predicates / constraints. Add type.
20757 (subsi3): Allow 0 for SHMEDIA.
20758 (udivsi3_i4_media): Use match_operand for input values
20759 rather than hard registers.
20760 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
20761 unnecessarily through hard registers. Keep copies of pseudo
20762 registers outside of the libcall sequence.
20763 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
20764 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
20765 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
20766 (extendhidi2, extendqidi2): Likewise.
20767 (andsi3_compact): Name.
20768 (andcdi3): Enable generator function generation.
20769 (zero_extendhisi2, zero_extendqisi2): Rename to
20770 (zero_extendhisi2_compact, zero_extendqisi2_compact).
20771 (extendhisi2, extendqisi2): Rename to
20772 (extendhisi2_compact, extendqisi2_compact).
20773 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
20774 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
20775 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
20776 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
20777 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
20778 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
20779 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
20780 (shmedia32_initialize_trampoline_big): Likewise.
20781 (shmedia32_initialize_trampoline_little): Likewise.
20782 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
20783 (negdi2): Remove spurious T clobber.
20784 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
20785 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
20786 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
20787 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
20788 (ic_invalidate_line_media): Write back data cache before invalidating
20789 instruction cache. Add type.
20790 (movsf_media): Sign-extend when the destination is a general
20791 purpose register. Add type.
20792 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
20793 (casesi_worker_0+1): Only increment ref count for proper label.
20794 (casesi_worker_0+2): Likewise.
20795
20796 2002-07-09 Mark Mitchell <mark@codesourcery.com>
20797
20798 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
20799
20800 2002-07-09 Steve Ellcey <sje@cup.hp.com>
20801
20802 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
20803 from Pmode to ptr_mode.
20804 (get_exception_pointer): Ditto.
20805 (connect_post_landing_pads): Ditto.
20806 (dw2_build_landing_pads): Ditto.
20807
20808 2002-07-08 Steve Ellcey <sje@cup.hp.com>
20809 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
20810 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
20811 (handle_pragma_redefine_extname): Change to use new function.
20812
20813 2002-07-08 Roger Sayle <roger@eyesopen.com>
20814
20815 * combine.c (combine_simplify_rtx): Add an explicit cast
20816 to avoid signed/unsigned comparison warning.
20817 (simplify_if_then_else): Likewise.
20818 (extended_count): Likewise.
20819 (simplify_shift_const): Likewise.
20820 (simplify_comparison): Likewise.
20821
20822 2002-07-08 Richard Sandiford <rsandifo@redhat.com>
20823
20824 * config/mips/mips.md: Add imadd type. Update scheduler description
20825 to use imadd as well as imul.
20826 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
20827 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
20828 (*mul_sub_si): Likewise for first alternative. Change second
20829 alternative from imul to multi.
20830
20831 2002-07-07 Neil Booth <neil@daikokuya.co.uk>
20832
20833 * c-common.c (c_common_post_options): Update prototype;
20834 don't init backends if preprocessing only.
20835 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
20836 * langhooks.h (struct lang_hooks): Update post_options to
20837 return a boolean.
20838 * toplev.c (parse_options_and_default_flags, do_compile,
20839 lang_independent_init): Update prototypes. Allow the
20840 front end to specify that there is no need to initialize
20841 the back end.
20842 (general_init): Move call to hex_init here...
20843 (toplev_main): ...from here. Pass flag for back end init
20844 suppression.
20845
20846 Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
20847
20848 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
20849 (PREDICATE_CODES): Add entries for equality_comparison_operator,
20850 greater_comparison_operator and less_comparison_operator.
20851 * sh.c (print_operand): Add '\'' code. Make 'o' handle
20852 more operators.
20853 (equality_comparison_operator): New function.
20854 (greater_comparison_operator, less_comparison_operator): Likewise.
20855 * sh.md (beq_media_i): Disable generator function generation.
20856 Use match_operator to handle a whole class of comparisons. Add
20857 modifier in output template to provide branch prediction. Add type.
20858 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
20859 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
20860 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
20861 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
20862
20863 2002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
20864
20865 Emit MMIX function prologue and epilogue as rtl.
20866 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
20867 not unprototyped get_hard_reg_initial_val.
20868 ("call_value", "nonlocal_goto_receiver"): Ditto.
20869 ("return"): Make define_expand. Move real insn to...
20870 ("*expanded_return"): New pattern.
20871 ("prologue", "epilogue"): New define_expands.
20872 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
20873 (struct machine_function): New member in_prologue.
20874 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
20875 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
20876 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
20877 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
20878 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
20879 (LOCAL_REGNO): Define. Adjust comment.
20880 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
20881 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
20882 leaf_function_p.
20883 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
20884 the prologue.
20885 (mmix_target_asm_function_prologue): Make static. Just mark that
20886 the prologue is being emitted. Move guts to...
20887 (mmix_expand_prologue): New function. Adjust for emitting
20888 prologue as rtl. For sizes, use HOST_WIDE_INT only.
20889 (mmix_target_asm_function_epilogue): Make static. Simply emit a
20890 \n. Move guts to...
20891 (mmix_expand_epilogue): New function. Adjust for emitting
20892 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
20893 (mmix_target_asm_function_end_prologue): Mark that the prologue
20894 has ended.
20895 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
20896 (mmix_conditional_register_usage): Improve comments.
20897 (mmix_local_regno): New function.
20898 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
20899 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
20900 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
20901 (mmix_get_hard_reg_initial_val): Ditto.
20902
20903 2002-07-06 Andreas Jaeger <aj@suse.de>
20904
20905 * toplev.c (set_fast_math_flags): Don't use ISO C style function
20906 definitions.
20907 * gengtype.c (open_base_files): Likewise.
20908 (close_output_files): Likewise.
20909 * tracer.c (find_best_predecessor): Likewise.
20910 (find_best_successor): Likewise.
20911 (ignore_bb_p): Likewise.
20912
20913 2002-07-05 Roger Sayle <roger@eyesopen.com>
20914
20915 PR c++/7099
20916 * builtin-attrs.def: Define new attribute lists for use in
20917 builtins.def.
20918 * builtins.def [DEF_BUILTIN]: Modify to take an additional
20919 ATTRS argument, an enumerated value defined in builtin-attrs.def
20920 that represents the attribute list for the builtins. Modify
20921 all builtin functions to pass an appropriate attribute list.
20922 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
20923 their required noreturn attributes.
20924 * tree.h (enum_builtin_function): Ignore the additional parameter
20925 to DEF_BUILTIN.
20926 * builtins.c (built_in_names): Likewise.
20927 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
20928 argument with a tree representing the functions attribute list.
20929 Pass this "attrs" argument to builtin_function. No longer handle
20930 the noreturn_p processing manually.
20931 (built_in_attributes): Move the definitions from builtin-attrs.def
20932 before c_common_nodes_and_builtins.
20933 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
20934 DEF_BUILTIN, passing it to both builtin_function and the changed
20935 builtin_function_2.
20936
20937 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
20938 __builtin__exit and __builtin__Exit.
20939
20940 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
20941
20942 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
20943 QI mode registers in soft registers.
20944 ("zero_extendqihi2"): Do not take into account soft registers
20945 for register allocation (use '*' constraint).
20946
20947 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
20948
20949 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
20950 it is dead.
20951 ("*ashrsi3"): Likewise.
20952 ("*lshrsi3"): Likewise.
20953
20954 2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
20955
20956 * genautomata.c (output_max_insn_queue_index_def): Take latencies
20957 into account.
20958
20959 2002-07-05 Stephane Carrez <stcarrez@nerim.fr>
20960
20961 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
20962 address computation and memory moves.
20963
20964 2002-07-03 Mark Mitchell <mark@codesourcery.com>
20965
20966 PR c++/6706
20967 * dwarfout.c (output_reg_number): Fix warning message.
20968 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
20969 before using it.
20970
20971 2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
20972
20973 * gcc/gcc.c (asm_debug): Move initialization ...
20974 (init_spec): ... here.
20975
20976 2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
20977
20978 * c-parse.in (extdef): Append ';'.
20979 (old_style_parm_decls): Append ';'.
20980
20981 2002-07-04 Daniel Jacobowitz <drow@mvista.com>
20982
20983 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
20984 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
20985 to gcc_cv_as_gstabs_flag.
20986 * configure: Rebuilt.
20987
20988 2002-07-04 Geoffrey Keating <geoffk@redhat.com>
20989
20990 * ggc.h (ggc_add_root): Document as obsolete.
20991
20992 Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
20993
20994 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
20995 (mshflo_w): Likewise.
20996
20997 Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
20998
20999 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
21000 vector mode subregs of constants to finding integer mode
21001 subregs of constants.
21002 * cse.c (cse_insn): Use simplify_gen_subreg.
21003 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
21004 From a vector mode expression of different size than the
21005 target mode.
21006
21007 2002-07-03 Eric Christopher <echristo@redhat.com>
21008
21009 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
21010 * config/mips/mips.h: Remove deprecated -m<processor> options
21011 and cc1_cpu_spec associated.
21012 (CONSTANT_ADDRESS_P): Fix last patch.
21013 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
21014 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
21015 sunge_sf): Remove.
21016
21017 2002-07-03 Stan Shebs <shebs@apple.com>
21018
21019 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
21020 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
21021 (CPP_SPEC): Remove insertion of APPLE_CC definition.
21022
21023 2002-07-03 Roger Sayle <roger@eyesopen.com>
21024
21025 * combine.c (struct_undo): Change types of recorded substitutions
21026 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
21027 (do_SUBST_INT): Change types of the substitution from unsigned int
21028 to int, to avoid compilation warning from SUBST_INT's only caller.
21029
21030 (make_extraction): Add cast to avoid compilation warning.
21031 (force_to_mode): Remove cast to avoid compilation warning.
21032
21033 2002-07-03 Eric Botcazou <ebotcazou@multimania.com>
21034 Jeff Law <law@redhat.com>
21035
21036 * i386.md (length_immediate attribute): Fix typo.
21037 (length_address attribute): Likewise.
21038 (modrm attribute): Set it to 0 for immediate call instructions.
21039 (jcc_1 pattern): Set modrm attribute to 0.
21040 (jcc_2 pattern ): Likewise.
21041 (jump pattern): Likewise.
21042 (doloop_end_internal pattern): Explicitly set length.
21043 (leave pattern): Fix typo.
21044 (leave_rex64 pattern): Likewise.
21045
21046 2002-07-03 David Edelsohn <edelsohn@gnu.org>
21047
21048 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
21049 in FPR as preference.
21050 (fctiwz): Same.
21051 (floatdidf2, fix_truncdfdi2): Same.
21052 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
21053 (floatditf2): Same.
21054 (floatsitf2, fix_trunctfsi2): SImode in GPR.
21055 (ctrdi): Remove FPR alternative and splitter.
21056
21057 2002-07-03 Will Cohen <wcohen@redhat.com>
21058
21059 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
21060
21061 Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
21062
21063 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
21064 than UNITS_PER_WORD, unless this is little endian and the first unit
21065 in this word. Let extract_bit_field decide how to load an element.
21066 Force arguments to matching mode.
21067 (expand_vector_unop): Likewise.
21068
21069 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
21070 consist of word_mode elements.
21071 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
21072 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
21073 (build_unary_op): Allow vector types for BIT_NOT_EPR.
21074 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
21075 CONST_VECTOR.
21076 * optabs.c (expand_vector_binop): Try to perform operation in
21077 smaller vector modes with same inner size. Add handling of AND, IOR
21078 and XOR. Reject expansion to inner-mode sized scalars when using
21079 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
21080 (expand_vector_unop): Try to perform operation in smaller vector
21081 modes with same inner size. Add handling of one's complement.
21082 When there is no vector negate operation, try a vector subtract
21083 operation. Use simplify_gen_subreg on constants.
21084 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
21085 constants into smaller vectors with same inner mode, and to
21086 integer CONST_DOUBLEs.
21087
21088 2002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21089
21090 * c-parse.in (parsing_iso_function_signature): New variable.
21091 (extdef_1): New, copied from...
21092 (extdef): ... here. Reset parsing_iso_function_signature.
21093 (old_style_parm_decls): Reset parsing_iso_function_signature.
21094 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
21095 Warn about ISO C style function definitions.
21096 (nested_function, notype_nested_function): Reset
21097 parsing_iso_function_signature.
21098 (parmlist_2): Set parsing_iso_function_signature.
21099
21100 * doc/invoke.texi (-Wtraditional): Document new behavior.
21101
21102 2002-07-02 Chris Demetriou <cgd@broadcom.com>
21103
21104 * config.gcc (mips*el-*-*): Use tm_defines to set
21105 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
21106 * config/mips/little.h: Remove.
21107
21108 2002-07-02 Devang Patel <dpatel@apple.com>
21109
21110 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
21111 object as parameter. Prevent something like 'NSObject' to be
21112 used as the type for a method argument.
21113
21114 2002-07-03 Neil Booth <neil@daikokuya.co.uk>
21115
21116 * cpptrad.c: Update comment.
21117
21118 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
21119
21120 * doc/cpp.texi: Update for traditional preprocessing changes.
21121 * goc/cppopts.texi: Similarly.
21122
21123 2002-07-02 Ziemowit Laski <zlaski@apple.com>
21124
21125 * c-parse.in (designator): Enable designated initializers if ObjC.
21126 (objcmessageexpr): Remove references to objc_receiver_context.
21127 * objc/objc-act.h (objc_receiver_context): Remove decl.
21128 * objc/objc-act.c (objc_receiver_context): Remove.
21129 (lookup_objc_ivar): Test objc_method_context instead of
21130 objc_receiver_context.
21131
21132 Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
21133
21134 * sh.c (print_operand, case 'N'): Allow zero vector.
21135 (arith_reg_or_0_operand): Likewise.
21136 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
21137 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
21138 IOR, XOR, PLUS and SET and take their respective constant
21139 ranges into account.
21140 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
21141 * sh.md (subdi3, subdi3_media): Allow zero operand.
21142 (movv8qi_i+3): Only vector that is not split is the zero vector.
21143 Fix operand 3 to simplify_subreg.
21144 (movv2si_i): Split alternative 1.
21145 (mshfhi_l_di_rev+1): New splitter.
21146
21147 2002-07-02 Neil Booth <neil@daikokuya.co.uk>
21148
21149 PR preprocessor/7029
21150 * cppinit.c (cpp_handle_option): Suppress warnings with an
21151 implicit "-w" for "-M" and "-MM".
21152 * doc/cppopts.texi: Update.
21153
21154 2002-07-01 Roger Sayle <roger@eyesopen.com>
21155
21156 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
21157 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
21158 builtin_function.
21159
21160 2002-07-02 Alan Modra <amodra@bigpond.net.au>
21161
21162 * README.Portability: Fix typos.
21163
21164 2002-07-01 Hans-Peter Nilsson <hp@axis.com>
21165
21166 PR target/7177
21167 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
21168 of indirections for register inside sign-extended mem part.
21169
21170 2002-07-01 Roger Sayle <roger@eyesopen.com>
21171
21172 * tree.h: Modify builtin_function interface to take an extra
21173 argument ATTRS, which is a tree representing an attribute list.
21174
21175 * c-decl.c (builtin_function): Accept additional parameter.
21176 * objc/objc-act.c (builtin_function): Likewise.
21177 * f/com.c (builtin_function): Likewise.
21178 * java/decl.c (builtin_function): Likewise.
21179 * ada/utils.c (builtin_function): Likewise.
21180 * cp/decl.c (builtin_function): Likewise.
21181 (builtin_function_1): Likewise.
21182
21183 * c-common.c (c_common_nodes_and_builtins): Pass an additional
21184 NULL_TREE argument to builtin_function. (builtin_function_2):
21185 Likewise.
21186 * cp/call.c (build_java_interface_fn_ref): Likewise.
21187 * objc/objc-act.c (synth_module_prologue): Likewise.
21188 * java/decl.c (java_init_decl_processing): Likewise.
21189 * f/com.c (ffe_com_init_0): Likewise.
21190
21191 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
21192 NULL_TREE argument to builtin_function.
21193 * config/arm/arm.c (def_builtin): Likewise.
21194 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
21195 * config/i386/i386.c (def_builtin): Likewise.
21196 * config/ia64/ia64.c (def_builtin): Likewise.
21197 * config/rs6000/rs6000.c (def_builtin): Likewise.
21198
21199 2002-07-01 Zack Weinberg <zack@codesourcery.com>
21200
21201 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
21202 * config/mips/t-isa3264: Likewise.
21203 * config/mmix/t-mmix: Likewise.
21204
21205 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
21206
21207 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
21208
21209 2002-07-01 Roger Sayle <roger@eyesopen.com>
21210
21211 PR opt/4046
21212 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
21213 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
21214 B are truth values.
21215
21216 2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
21217
21218 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
21219
21220 2002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
21221
21222 * README.Portability (Function prototypes): Give an example of
21223 declaring and defining a function with no arguments.
21224
21225 * README.Portability (Function prototypes): Document new
21226 variable-argument function macros.
21227
21228 Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
21229
21230 * sh.c (langhooks.h): Include.
21231 (sh_init_builtins, sh_media_init_builtins): New functions.
21232 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
21233 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
21234 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
21235 (builtin_description): New struct tag.
21236 (signature_args, bdesc): New arrays.
21237 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
21238 (print_operand): Add 'N' modifier.
21239 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
21240 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
21241 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
21242 (CONST_COSTS): Add special case for SHmedia AND.
21243 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
21244 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
21245 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
21246 target_operand can also be const or unspec.
21247 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
21248 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
21249 (attribute type): Add new types.
21250 (anddi3): Add splitter.
21251 (movdi_const_16bit+1): Add code to handle vector constants and
21252 bitmasks efficiently.
21253 (shori_media): Have generator function made.
21254 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
21255 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
21256 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
21257 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
21258 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
21259 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
21260 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
21261 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
21262 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
21263 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
21264 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
21265 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
21266 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
21267 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
21268 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
21269 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
21270 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
21271 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
21272 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
21273 (ftrv): Likewise.
21274
21275 (fpu_switch+1, fpu_switch+2): Remove constraint.
21276
21277 2002-07-01 Aldy Hernandez <aldyh@redhat.com>
21278
21279 * tree.c (build_function_type_list): Update function comment.
21280 Rename first argument to return_type.
21281
21282 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
21283
21284 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
21285 tradcif.y and related files.
21286
21287 2002-07-01 Neil Booth <neil@daikokuya.co.uk>
21288
21289 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
21290
21291 2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21292
21293 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
21294
21295 See ChangeLog.7 for earlier changes.