]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
final.c (end_final): Do not output profile_arcs constructor, when no functions are...
[gcc.git] / gcc / ChangeLog
1 Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
2
3 * final.c (end_final): Do not output profile_arcs constructor, when
4 no functions are instrumented.
5
6 Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
7
8 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
9
10 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11
12 * doc/install.texi: Remove special markup originally required for
13 HTML generation with texi2html.
14
15 2002-05-14 Andreas Schwab <schwab@suse.de>
16
17 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
18 SELECT_SECTION.
19 (UNIQUE_SECTION): Define to get small data correctly.
20
21 * varasm.c (resolve_unique_section): Add third parameter
22 flag_function_or_data_sections and use it instead of
23 flag_function_sections.
24 (assemble_start_function): Pass flag_function_sections.
25 (asm_emit_uninitialised): Pass flag_data_sections.
26 (assemble_variable): Likewise.
27
28 2002-05-14 Richard Henderson <rth@redhat.com>
29
30 * config/i386/i386.md: Use define_constants for unspec numbers.
31 * config/i386/i386.c: Likewise.
32
33 2002-05-13 Mark Mitchell <mark@codesourcery.com>
34
35 * fixinc/inclhack.def (winidss_valist): Limit applicability.
36 * fixinc/fixincl.x: Regenerated.
37 * fixinc/tests/base/math.h: Update.
38 * fixinc/tests/base/testing.h: Likewise.
39
40 2002-05-13 Zack Weinberg <zack@codesourcery.com>
41
42 * genattr.c (gen_attr): Don't emit a comma after the last
43 enumerator.
44
45 2002-05-13 Richard Henderson <rth@redhat.com>
46
47 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
48 by non-local gotos.
49 * recog.c (peephole2_optimize): Likewise.
50
51 2002-05-13 Andris Pavenis <pavenis@lanet.lv>
52
53 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
54 input to O_BINARY.
55
56 2002-05-13 Jeffrey A Law (law@redhat.com)
57
58 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
59 Update prototype and callers.
60 (propagate_one_insn): Stack pointer adjustments kill MEMs on
61 the mem_set_list which reference the stack pointer, as do
62 calls to constant functions as they may clobber outgoing
63 argument space.
64
65 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
66
67 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
68 (ia32_multipass_dfa_lookahead): New function.
69
70 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
71
72 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
73 (translate_options): Remove 'V'.
74 (process_command): Similarly.
75 doc:
76 * invoke.texi: Remove documentation of 'V'.
77
78 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
79
80 * config/s390/linux.h: Revert 2002-04-22 changes.
81
82 2002-05-13 Scott Marks <SMarks@mobile-mind.com>
83
84 * config/fr30/fr30.md: Only allow splits of immediate loads
85 if the destination is a register.
86
87 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
88
89 * Makefile.in (c-common.o, cppinit.o): Update.
90 * c-common.c: Include except.h.
91 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
92 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
93 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
94 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
95 CPP_PREDEFINES): Handle here.
96 config:
97 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
98 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
99 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
100 TARGET_OS_CPP_BUILTINS.
101 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
102 (CPP_SPEC, EXTRA_SPECS): Update.
103 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
104 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
105 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
106 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
107 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
108 doc:
109 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
110 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
111
112 2002-05-12 Zack Weinberg <zack@codesourcery.com>
113
114 * emit-rtl.c (global_rtl): Update comment.
115 (const_double_htab, const_double_htab_hash,
116 const_double_htab_hash, lookup_const_double): New.
117 (const_int_htab_hash, const_int_htab_eq): Remove const
118 qualifiers, which cause tons of warnings with RTL checking on.
119 (gen_rtx_CONST_DOUBLE): Deleted.
120 (const_double_from_real_value): New function - bears some
121 resemblance to the former immed_real_const_1.
122 (immed_double_const): Moved here from varasm.c and
123 simplified.
124 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
125 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
126 (gen_rtx): Use immed_double_const.
127 (init_emit_once): Initialize the const_double_htab. Use
128 REAL_VALUE_FROM_INT where possible. Can now use
129 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
130 * varasm.c (struct varasm_status): Remove x_const_double_chain.
131 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
132 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
133 (init_varasm_status, mark_varasm_status): Don't touch
134 x_const_double_chain.
135
136 * output.h: Delete prototype for clear_const_double_mem.
137 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
138 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
139 const_double_from_real_value, not immed_real_const_1, and use
140 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
141 CONST_DOUBLE_ATOF.
142 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
143 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
144 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
145 (gen_rtx_REG): Second arg is unsigned.
146
147 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
148 (excluded_rtx): New, return true for CONST_DOUBLE.
149 (genmacro): Write nothing for excluded codes.
150 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
151 * expr.c (expand_expr): Likewise.
152 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
153 CONST_DOUBLE_CHAIN.
154 * toplev.c (rest_of_compilation): Don't call
155 clear_const_double_mem.
156
157 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
158 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
159 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
160 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
161 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
162 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
163 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
164 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
165
166 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
167
168 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
169
170 2002-05-12 Tom Tromey <tromey@redhat.com>
171
172 * tree.h (copy_node): Don't mention TREE_PERMANENT.
173
174 2002-05-12 Zack Weinberg <zack@codesourcery.com>
175
176 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
177 (scan_comma_elt): New function. Accepts whitespace in comma lists.
178 * gensupport.h: Prototype new routines.
179 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
180 use of printf.
181 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
182 (next_comma_elt): Use scan_comma_elt.
183
184 * config/i386/i386.md: Use new attribute notation to break up
185 long lines in define_attr forms.
186
187 2002-05-12 Richard Henderson <rth@redhat.com>
188
189 * expr.c (compress_float_constant): New.
190 (emit_move_insn): Use it.
191 (float_extend_from_mem): New.
192 (init_expr_once): Initialize it.
193 * real.c (exact_real_truncate): New.
194
195 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
196 dropped into memory; penalize for size.
197 (RTX_COSTS): FLOAT_EXTEND is free.
198 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
199 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
200
201 2002-05-12 Richard Henderson <rth@redhat.com>
202
203 * profile.h (profile_info): Add missing extern to declaration.
204 * profile.c (profile_info): Define it.
205
206 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
207
208 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
209 used for DImode and TImode.
210
211 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
212
213 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
214 fake a newline.
215
216 2002-05-11 Zack Weinberg <zack@codesourcery.com>
217
218 * config/rs6000/rs6000.c (rs6000_default_long_calls,
219 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
220 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
221 (rs6000_override_options): Handle -m(no-)longcall.
222 (init_cumulative_args, output_mi_thunk): Check for both
223 longcall and shortcall attributes on the function.
224 (rs6000_attribute_table): Add "shortcall".
225 (rs6000_handle_longcall_attribute): Update comment.
226 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
227 altivec_expand_ternop_builtin): Add default clauses to switches
228 to silence warnings.
229
230 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
231 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
232 (TARGET_OPTIONS): Add longcall and no-longcall.
233
234 * config/rs6000/rs6000.md (call_nonlocal_sysv,
235 call_value_nonlocal_sysv): Split by alternatives. One pair
236 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
237 the call cookie. The other pair accepts only LR/CTR and has
238 no restriction.
239
240 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
241 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
242 tmake_file.
243 * config/rs6000/rs6000-c.c: New file.
244 * config/rs6000/t-rs6000-c-rule: New file.
245 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
246 Prototype rs6000_pragma_longcall.
247
248 * doc/extend.texi: Document shortcall attribute.
249 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
250
251 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
252
253 * reorg.c (dbr_schedule): Remove unnecessary test.
254
255 Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
256
257 * i386.md (testsi to testqi spliters): New.
258
259 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
260
261 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
262
263 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
264
265 * basic-block.h: New flag EDGE_CAN_FALLTHRU
266 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
267 that can be made fallthru.
268
269 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
270
271 * cfglayout.c (cleanup_unconditional_jumps): New static function.
272 (cfg_layout_initialize): Use it.
273
274 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
275
276 * config/avr/avr.c (avr_mcu_types): Update supported devices.
277 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
278 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
279
280 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
281
282 * dbxout.c: Fix formatting.
283 * dependence.c: Likewise.
284 * df.c: Likewise.
285 * diagnostic.c: Likewise.
286 * doloop.c: Likewise.
287 * dominance.c: Likewise.
288 * doschk.c: Likewise.
289 * dwarf2asm.c: Likewise.
290 * dwarf2out.c: Likewise.
291 * dwarfout.c: Likewise.
292
293 2002-05-10 Richard Henderson <rth@redhat.com>
294
295 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
296 Convert integers constants as needed. Replace "nwords" field with
297 "sizeof_bb".
298 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
299 * function.h: Fix typo in comment.
300 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
301
302 2002-05-10 Roger Sayle <roger@eyesopen.com>
303
304 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
305 into the equivalent (signed char)c > 0.
306
307 2002-05-10 Janis Johnson <janis187@us.ibm.com>
308
309 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
310 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
311 (struct prefetch_info): Fix spelling of member bytes_accessed.
312 (emit_prefetch_instructions): Make dump messages more regular;
313 restructure code to add more dump messages; use new macros for
314 heuristics. (There are no code generation changes in any of this).
315
316 2002-05-10 David S. Miller <davem@redhat.com>
317
318 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
319 (struct rtx_def): Update unchanging flag comment.
320 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
321 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
322 to be handled to INSN too.
323 (dbr_schedule): Likewise.
324 * resource.c (next_insn_no_annul): Likewise.
325
326 * cse.c (rtx_cost): Remove multiplication by power of 2 special
327 casing.
328
329 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
330
331 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
332 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
333 (possibly) work around broken /bin/sh.
334
335 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
336
337 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
338 . as N64/N32 libgcc_s.so subdirs.
339
340 2002-05-10 David S. Miller <davem@redhat.com>
341
342 * config/sparc/sparc.md: Use define_constants for unspec numbers.
343
344 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
345 more accurately.
346 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
347 comment.
348 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
349 * doc/rtl.texi: Document these macros more accurately.
350 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
351 JUMP_INSNs and CALL_INSNs.
352 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
353 or INSN_FROM_TARGET_P if the code is appropriate.
354
355 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
356
357 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
358 before using SYMBOL_REF_FLAG (addr).
359
360 * config/avr/avr-protos.h (avr_io_address_p): Declare.
361 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
362 Make non-static. Update all callers.
363 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
364 New insns to clear/set/test a single bit in I/O address space.
365
366 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
367
368 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
369
370 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
371
372 * Makefile.in: Update.
373 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
374 builtin_define_std): New.
375 (c_common_init): Register CPP builtins callback.
376 * c-common.h (flag_iso, flag_undef): New.
377 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
378 * c-lex.c: Don't include target.h.
379 (cb_register_builtins): Move to c-common.c.
380 (init_c_lex): Don't register hook here.
381 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
382 (cpp_define, cpp_assert): Remove.
383 * gcc.c (cc1_options): Pass -undef to front end.
384 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
385 (TARGET_INITIALIZER): Update.
386 * target.h (struct cpp_reader): Don't predeclare.
387 (struct gcc_target): Remove cpp builtin hook.
388 * tree.c (default_register_cpp_builtins): Remove.
389 doc:
390 * tm.texi: Update.
391
392 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
393
394 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
395
396 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
397
398 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
399 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
400
401 2002-05-09 Jakub Jelinek <jakub@redhat.com>
402
403 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
404 * config/sparc/libgcc-sparc-glibc.ver: New file.
405 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
406 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
407
408 2002-05-09 Jakub Jelinek <jakub@redhat.com>
409
410 PR target/6429
411 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
412 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
413 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
414 base multilibs.
415 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
416 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
417 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
418 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
419
420 2002-05-09 Richard Henderson <rth@redhat.com>
421
422 * config/ia64/ia64.md: Use define_constants for unspec numbers.
423 * config/ia64/ia64.c: Likewise.
424
425 2002-05-09 Richard Sandiford <rsandifo@redhat.com>
426
427 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
428 (save_restore_insns): Likewise.
429 (mips_expand_prologue, mips_expand_epilogue): Update callers.
430 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
431
432 Thu May 9 11:50:09 2002 Jeffrey A Law (law@cygnus.com)
433
434 * athlon.md, k6.md, pentium.md, ppro.md): New files.
435 * i386.md: Move scheduling information into new files.
436
437 * i386.md (type attribute): Add "rotate" for rotate insns.
438 (rotate insns): Set type to "rotate".
439 (various attributes and function units): Treat rotate like shift.
440 (pent_pair attribute): Only rotates by one bit position are
441 pairable.
442 (sbb insns): Explicitly set pent_pair attribute on a couple
443 that were missing it.
444
445 Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
446
447 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
448 make sure that buffer starts on odd word address.
449 (sh_va_arg): Skip odd fp registers when reading a double precision
450 value.
451
452 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
453
454 * tree.h (preserve_data, object_permanent_p, type_precision):
455 Remove.
456
457 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
458
459 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
460 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
461 doc:
462 * cpp.texi: Update for removal of obsolete features.
463
464 Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
465 Jeffrey A Law (law@redhat.com)
466
467 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
468 the DFA interface for Pentium processors.
469 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
470 (attr_pent_pair, ix86_pent_find_pair): Remove.
471 (ix86_sched_reorder_pentium): Remove.
472 (ix86_sched_reorder): Remove reordering for Pentium.
473 * i386.md (Pentium scheduling): Rewrite using DFA description.
474
475 Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
476
477 * cfganal.c (can_fallthru): Fix fast path.
478 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
479 with edges to the next block.
480
481 Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
482 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
483
484 * final.c (end_final): Use C trees to output data structures for profiling.
485
486 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
487 (profile.o): New dependency profile.h
488 (final.o): New dependency profile.h
489 * profile.h: New file. New global structure profile_info.
490 * final.h (count_edges_instrumented_now): Declare.
491 (current_function_cfg_checksum): Declare.
492 (function_list): New structure.
493 (functions_head, functions_tail): New static variables.
494 (end_final): Emits more data, removed some -ax stuff.
495 (final): Stores function names and chcksums.
496 * gcov-io.h (__write_gcov_string): New function.
497 (__read_gcov_string): New function.
498 * gcov.c (read_profile): New function.
499 (create_program_flow_graph): Uses read_profile instead of reading
500 da_file.
501 (read_files): Removed da_file checking, it's done by read_profile now.
502 * libgcc2.c (bb_function_info): New structure.
503 (bb): New field in structure, removed some -ax stuff.
504 (__bb_exit_func): Changed structure of da_file.
505 * profile.c (count_edges_instrumented_now): New global variable.
506 (current_function_cfg_checksum): New global variable.
507 (max_counter_in_program): New global variable.
508 (get_exec_counts): New function.
509 (compute_checksum): New function.
510 (instrument_edges): Sets count_edges_instrumented_now.
511 (compute_branch_probabilities): Uses get_exec_counts instead of
512 reading da_file.
513 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
514 (init_branch_prob): Removed da_file checking, done in get_exec_counts
515 now.
516 (end_branch_prob): Removed da_file checking, done in get_exec_counts
517 now.
518 * gcov.texi: Updated information about gcov file format.
519
520 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
521
522 * sbitmap.c: Fix formatting.
523 * scan.c: Likewise.
524 * scan-decls.c: Likewise.
525 * sched-deps.c: Likewise.
526 * sched-ebb.c: Likewise.
527 * sched-rgn.c: Likewise.
528 * sched-vis.c: Likewise.
529 * sdbout.c: Likewise.
530 * sibcall.c: Likewise.
531 * simplify-rtx.c: Likewise.
532 * ssa.c: Likewise.
533 * ssa-ccp.c: Likewise.
534 * ssa-dce.c: Likewise.
535 * stmt.c: Likewise.
536 * stor-layout.c: Likewise.
537 * stringpool.c: Likewise.
538
539 2002-05-09 David S. Miller <davem@redhat.com>
540
541 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
542
543 2002-05-07 David S. Miller <davem@redhat.com>
544
545 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
546 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
547 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
548 library implementation clobbers the output before the inputs
549 are fully consumed, use stack temporary for the output.
550
551 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
552
553 * config/netbsd.h (CPP_SPEC): Remove.
554 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
555 * config/i386/netbsd.h (CPP_SPEC): Define.
556 * config/ns32k/netbsd.h (CPP_SPEC): Define.
557 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
558 * config/sparc/netbsd.h (CPP_SPEC): Define.
559 * config/vax/netbsd.h (CPP_SPEC): Define.
560
561 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
562
563 * read-rtl.c: Fix formatting.
564 * real.c: Likewise.
565 * recog.c: Likewise.
566 * regclass.c: Likewise.
567 * regmove.c: Likewise.
568 * reg-stack.c: Likewise.
569 * reload1.c: Likewise.
570 * reload.c: Likewise.
571 * resource.c: Likewise.
572 * rtlanal.c: Likewise.
573 * rtl.c: Likewise.
574 * rtl-error.c: Likewise.
575
576 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
577
578 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
579 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
580
581 2002-05-08 Bernd Schmidt <bernds@redhat.com>
582
583 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
584 use __SSE2__ macro instead.
585 * config/i386/xmmintrin.h: Likewise.
586
587 2002-05-08 Janis Johnson <janis187@us.ibm.com>
588
589 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
590 and use it in all invocations of these macros. Clean up comments.
591 * rtl.c (rtl_check_failed_flag): Add an argument for the name
592 of the flag access macro whose check failed.
593 * doc/rtl.texi (Flags): Document additional flag uses.
594
595 2002-05-08 Robert Spier <rspier@pobox.com>
596 Neil Booth <neil@daikokuya.demon.co.uk>
597
598 PR preprocessor/6521
599 * cppfiles.c (handle_missing_header): Don't do anything
600 different for <> includes.
601 doc:
602 * cppopts.texi: Update documentation for -MG.
603
604 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
605
606 * cpplex.c (cpp_interpret_charconst): Truncate as well as
607 sign-extend.
608 doc:
609 * cpp.texi: Clarify multichar charconst valuation.
610
611 2002-05-08 Mark Mitchell <mark@codesourcery.com>
612
613 * doc/invoke.texi: Document -mwindiss option.
614
615 2002-05-08 Jason Merrill <jason@redhat.com>
616
617 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
618
619 * dwarf2out.c (gen_type_die): Abort on broken recursion.
620
621 PR c++/6381
622 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
623 REAL_CST.
624
625 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
626
627 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
628 little-endian multilibs to override arm/thumb multilibs.
629 Do not build hardware floating point multilibs, nor apcs-26
630 multilibs for the Thumb.
631
632 2002-05-08 Mark Mitchell <mark@codesourcery.com>
633
634 PR c/6569.
635 * varasm.c (mark_weak): New function.
636 (merge_weak): Use it. Do not call declare_weak.
637 (declare_weak): Use merge_weak.
638
639 Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
640
641 * cse.c (dead_libcall_p): Update counts.
642 (delete_trivially_dead_insns): Update call of dead_libcall_p.
643
644 Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
645
646 * cfglayout.c (function_tail_eff_head): Rename to ...
647 (function_footer): ... this one.
648 (unlink_insn_chain): New functions.
649 (label_for_bb): Only call block_label and emit debug message.
650 (record_effective_endpoints): Actually unlink the headers and footers.
651 (fixup_reorder_cahin): Re-insert the unlinked sequences.
652 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
653 * cfglayout.h (struct reorder_block_def): New fields footer/header;
654 remove eff_head/eff_end.
655 * rtl.h (set_first_insn): Declare.
656 * emit-rtl.c (set_first_insn): New function.
657
658 * cfglayout.c (fixup_reorder_chain): Dump duplicated
659 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
660 cfg_layout_duplicate_bb): New global function.
661 (duplicate_insn_chain): New static function.
662 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
663 cfg_layout_duplicate_bb): Declare.
664 (struct reorder_block_def): Add "original" field.
665 * emit-rtl.c (emit_copy_of_insn_after): New function.
666 * rtl.h (emit_copy_of_insn_after): Declare.
667
668 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
669 (fixup_reorder_chain): properly handle edges to exit block.
670
671 Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
672 Jan Hubicka <jh@suse.cz>
673
674 * basic-block.h (note_prediction_to_br_prob): declare.
675 * c-semantics.c: Inlucde predit.h
676 (expand_stmt): predict GOTO_STMT as not taken.
677 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
678 (cleanup_cfg): Do not free tail_recursion_list.
679 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
680 (flow_delete_block): Kill predictions past end of basic block.
681 * output.h (delete_unreachable_blocks): Declare.
682 * predict.c (predicted_by_p, process_note_predictions,
683 process_note_prediction, last_block_p): New function.
684 (estimate_probability): Bypass loop on PRED_CONTINUE;
685 do not handle noreturn heuristics; kill PRED_RETURN; add
686 PRED_EARLY_RETURN.
687 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
688 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
689 * predict.h (IS_TAKEN): New constant.
690 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
691 * rtl.c (NOTE_INSN_PREDICTION): New.
692 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
693 New macro.
694 (insn_note): add NOTE_INSN_PREDICTION.
695 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
696 CFG; free tail_recursion_label_list.
697 * stmt.c: Include predict.h;
698 (return_prediction): New.
699 (expand_value_return): Use it.
700 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
701
702 2002-05-08 Richard Sandiford <rsandifo@redhat.com>
703
704 * config/mips/mips.md: Name the unspecs with define_constant.
705 (*HILO_delay): Rename to 'hilo_delay' (no star).
706 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
707 (reload_outdi, reload_outsi): Likewise.
708
709 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
710
711 * toplev.c: Fix formatting.
712
713 2002-05-07 Janis Johnson <janis187@us.ibm.com>
714
715 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
716 * configure.in (ac_rtlflag_checking): New.
717 * doc/install.texi (--enable-checking): Document RTL flag checking.
718
719 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
720
721 * c-common.c (c_common_init): Set options->unsigned_wchar.
722 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
723 group target dependencies.
724 (init_builtins, cpp_handle_option): Update.
725 * cpplex.c (cpp_interpret_charconst): Update.
726 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
727 signed_char to unsigned_char, group target dependencies.
728 * defaults.h (WCHAR_UNSIGNED): Remove.
729 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
730 config:
731 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
732 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
733 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
734 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
735 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
736 doc:
737 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
738
739 2002-05-07 Mark Mitchell <mark@codesourcery.com>
740
741 * fixinc/inclhack.def (windiss_math1): New fix.
742 (windiss_math2): Likewise.
743 (windiss_valist): Likewise.
744 * fixinc/fixincl.x: Regenerated.
745
746 2002-05-07 Andreas Jaeger <aj@suse.de>
747
748 * genautomata.c (output_internal_min_issue_delay_func): Add
749 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
750 (output_internal_trans_func): Likewise.
751
752 Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
753
754 * pa.c (hppa_profile_hook): Use force_reg to get the address
755 of the profile hook into an appropriate pseudo register.
756
757 2002-05-07 Mark Mitchell <mark@codesourcery.com>
758
759 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
760 (LINK_START_SPEC): Handle it.
761 (LINK_OS_SPEC): Likewise.
762 (CPP_SPEC): Likewise.
763 (STARTFILE_SPEC): Likewise.
764 (LIB_SPEC): Likewise.
765 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
766 all platforms.
767 (CRTSAVRES_DEFAULT_SPEC): New macro.
768 (LIB_WINDISS_SPEC): New macro.
769 (CPP_OS_WINDISS_SPEC): Likewise.
770 (STARTFILE_WINDISS_SPEC): Likewise.
771 (ENDFILE_WINDISS_SPEC): Likewise.
772 (LINK_START_WINDISS_SPEC): Likewise.
773 (LINK_OS_WINDISS_SPEC): Likewise.
774 * config/rs6000/windiss.h: New file.
775
776 2002-05-07 Aldy Hernandez <aldyh@redhat.com>
777
778 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
779
780 2002-05-06 David S. Miller <davem@redhat.com>
781
782 * config/sparc/sparc.md (shift insns): Do not mask off
783 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
784 take care of it.
785
786 2002-05-06 Richard Henderson <rth@redhat.com>
787
788 PR c++/6212
789 * expr.c (highest_pow2_factor_for_type): New.
790 (expand_assignment): Use it.
791
792 2002-05-06 Aldy Hernandez <aldyh@redhat.com>
793
794 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
795 unspec_volatile.
796 ("altivec_mfvscr"): Same.
797
798 2002-05-06 Janis Johnson <janis187@us.ibm.com>
799
800 * rtl.h (struct rtx_def): Update comments.
801 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
802 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
803 RTL_FLAG_CHECK macros with list of expected RTL codes.
804 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
805 (rtl_check_failed_flag): New.
806 * reload1.c (reload): Use REG macro before changing rtx to MEM.
807 (reload_cse_noop_set_p): Check rtx code before using access macro.
808 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
809 before using access macro.
810
811 2002-05-06 Janis Johnson <janis187@us.ibm.com>
812
813 * doc/rtl.texi (Flags): Update to reflect current usage.
814
815 2002-05-06 Roger Sayle <roger@eyesopen.com>
816
817 PR opt/3995
818 * fold-const.c (sign_bit_p): New function.
819 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
820 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
821 Reapply fold when converting (A & C) == C into (A & C) != 0.
822 (fold_binary_op_with_conditional_arg): Fix typo in comment.
823
824 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
825
826 * c-common.c (warn_multichar): New.
827 (c_common_init): Set CPP's warn_multichar.
828 * c-common.h (warn_multichar): New.
829 * c-decl.c (warn_multichar): Remove.
830 * c-lex.c (lex_charconst): Update.
831 * c-tree.h (warn_multichar): Remove.
832 * cppexp.c (eval_token): Sign-extend charconst value.
833 * cppinit.c (cpp_create_reader): Set warn_multichar.
834 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
835 each character. Update prototype. Sign-extend the result.
836 * cpplib.h: Fix conditions.
837 (struct cpp_options): Add new warning flag.
838 (cpp_interpret_charconst): Update prototype.
839 doc:
840 * cpp.texi: Update documentation.
841
842 2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
843
844 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
845 Fix typo in usage of allof instead of unit.
846
847 2002-05-06 Richard Henderson <rth@redhat.com>
848
849 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
850 and any jump or call for IN.
851
852 2002-05-06 Bernd Schmidt <bernds@redhat.com>
853
854 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
855 -msse2.
856 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
857
858 2002-05-06 Roger Sayle <roger@eyesopen.com>
859
860 * fold-const.c (lshift-double): Cast the high word to an unsigned
861 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
862 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
863 avoid compiler warning. (fold): Remove redundant code from
864 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
865
866 2002-05-06 Jeff Law <law@redhat.com>
867
868 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
869 * pa.c (pa_adjust_cost): Remove all true dependency cost
870 adjustments. Also remove support for non-DFA scheduling.
871 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
872 to adjust true dependency costs. Update various comments.
873 (7100lc, 7200, 7300 scheduling): Simplify by combining the
874 FP ALU & MPY units into a single unit.
875
876 2002-05-06 Catherine Moore <clm@redhat.com>
877
878 * config/v850/v850.c (compute_register_save_size): Make sure
879 to count all of the registers that will be saved.
880
881 Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
882
883 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
884
885 2002-05-06 David S. Miller <davem@redhat.com>
886
887 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
888 allow result to overlap input operands in memory.
889
890 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
891
892 doc:
893 * cpp.texi: Update multichar charconst docs.
894
895 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
896
897 * cpplex.c (cpp_interpret_charconst): Sign-extend each
898 character. Don't ignore excess characters. Treat
899 multicharacter character constants as signed.
900 (cpp_parse_escape): Clarify diagnostic.
901
902 2002-05-05 Jakub Jelinek <jakub@redhat.com>
903
904 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
905 use add instead of shift.
906 (ashldi3_sp64): Likewise.
907 (ashlsi3_const1, ashldi3_const1): Remove.
908 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
909 * config/sparc/sparc.c (const1_operand): New.
910
911 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
912
913 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
914
915 2002-05-05 Jakub Jelinek <jakub@redhat.com>
916
917 PR target/6561
918 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
919
920 2002-05-05 Richard Henderson <rth@redhat.com>
921
922 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
923 memory latency adjustments.
924 (alpha_variable_issue): Remove.
925 (alpha_use_dfa_pipeline_interface): New.
926 (alpha_multipass_dfa_lookahead): New.
927 * config/alpha/alpha.md: Remove define_function_unit scheduling;
928 include new dfa scheduling.
929 (attr type): Add none.
930 (blockage): Use it.
931 * config/alpha/ev4.md: New.
932 * config/alpha/ev5.md: New.
933 * config/alpha/ev6.md: New.
934
935 2002-05-05 David S. Miller <davem@redhat.com>
936
937 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
938
939 2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
940
941 * cse.c: Fix formatting.
942 * emit-rtl.c: Likewise.
943
944 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
945
946 * genautomata.c (initiate_states): Add additional guard to
947 initialize `units_array'.
948
949 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
950
951 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
952 process_unit_to_form_the_same_automaton_unit_lists,
953 form_the_same_automaton_unit_lists
954 check_unit_distributions_to_automata): New prototypes and
955 functions.
956 (check_automata): Rename it into `check_automata_insn_issues'.
957 (unit_decl): New fields `the_same_automaton_unit' and
958 `the_same_automaton_message_reported_p'.
959 (unit_decl_t): New typedef.
960 (the_same_automaton_lists): New gloval variable.
961 (unit_regexp, unit_set_el, units_array, units_cmp,
962 output_get_cpu_unit_code_func): Use the typedef.
963 (evaluate_max_reserv_cycles): Increment
964 `description->max_insn_reserv_cycles'.
965 (initiate_states): Don't increment `max_cycles_num'.
966 (transform_insn_regexps): Move code around transformation of
967 regexps from `generate'.
968 (generate): Remove call of `transform_insn_regexps'.
969 (expand_automata): Call `transform_insn_regexps' and
970 `check_unit_distributions_to_automata'. Check errors before
971 `generate'.
972
973 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
974 automaton `ultrasparc3_1'.
975
976 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
977
978 * c-common.c (c_common_init): Set up CPP arithmetic.
979 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
980 something reasonable for the host.
981 (sanity_checks): Add checks.
982 (cpp_read_main_file): Call sanity_checks() from here...
983 (cpp_post_options): ... not here.
984 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
985 * cpplib.h (struct cpp_options): New member int_precision.
986
987 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
988
989 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
990
991 2002-05-04 David S. Miller <davem@redhat.com>
992
993 * config/sparc/linux.h, config/sparc/linux64.h
994 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
995
996 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
997 more RTX codes.
998 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
999
1000 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
1001 of SETs.
1002
1003 2002-05-05 Tim Josling <tej@melbpc.org.au>
1004
1005 * treelang; New directory for new sample language treelang.
1006
1007 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
1008
1009 * Makefile.in (c-lex.o): Update.
1010 * c-lex.c: Include target.h.
1011 (cb_register_builtins): New.
1012 (init_c_lex): Set builtins callback.
1013 * c-lex.h (cpp_define, cpp_assert): New prototypes.
1014 * cppinit.c (init_builtins): Use callback, including for
1015 GXX_WEAK.
1016 * cpplib.h (struct cpp_callbacks): New member.
1017 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
1018 (TARGET_INITIALIZER): Update.
1019 * target.h (struct gcc_target): New hook.
1020 * tree.c (default_register_cpp_builtins): New.
1021 * tree.h (default_register_cpp_builtins): New.
1022 doc:
1023 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
1024
1025 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
1026
1027 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
1028 (cpp_post_options): Move sanity checks to...
1029 (sanity_checks): New.
1030 * cpplex.c (maybe_read_ucs): Fix prototype.
1031 (parse_string, cpp_parse_escape): Cast for %c format specifier.
1032 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
1033 if necessary.
1034
1035 2002-05-04 Bernd Schmidt <bernds@redhat.com>
1036
1037 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
1038 builtins. Use V2DI patterns instead of TI for logical operations.
1039 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
1040 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
1041 (ix86_expand_builtins): Change the pattern used for movntdq.
1042 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
1043 sse2_nandv2di3): New patterns.
1044 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
1045 on operands.
1046 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
1047 (cvtdq2pd): Correct mode on operand 1.
1048 (sse2_umulsidi3): Describe without unspec.
1049 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
1050 machine modes.
1051 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
1052 (ashlv2di3): Likewise, from sse2_ashlv2di3.
1053 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
1054 ashlv4si3, ashlv2di3): Use SImode for shift count.
1055 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
1056 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
1057 New patterns.
1058 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
1059 New typedefs.
1060 (__m128i, __m128d): New macros.
1061 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
1062 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
1063 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
1064 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
1065 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
1066 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
1067 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
1068 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
1069 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
1070 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
1071 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
1072 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
1073 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
1074 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
1075 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
1076 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
1077 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
1078 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
1079 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
1080 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
1081 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
1082 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
1083 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
1084 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
1085 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
1086 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
1087 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
1088 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
1089 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
1090 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
1091 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
1092 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
1093 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
1094 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
1095 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
1096 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
1097 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
1098 functions.
1099 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
1100 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
1101
1102 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
1103
1104 * dwarf2out.c: Fix formatting.
1105 * varasm.c: Likewise.
1106
1107 2002-05-04 David Edelsohn <edelsohn@gnu.org>
1108
1109 PR c/6543
1110 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
1111 clobber and use result as temporary value.
1112
1113 Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
1114
1115 * expr.c (force_operand): Use expand_simple_* to handle more
1116 cases.
1117
1118 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
1119
1120 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
1121 and sign-extension.
1122 (lex_charconst): Update for change in prototype of
1123 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
1124 appropriately.
1125 * cpphash.h (BITS_PER_CPPCHAR_T): New.
1126 * cppinit.c (cpp_create_reader): Initialize them for no
1127 change in semantics.
1128 (cpp_post_options): Add sanity checks.
1129 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
1130 and truncation issues. Calculate in type cppchar_t.
1131 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
1132 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
1133 run-time dependent precision correctly. Return whether the
1134 result is signed or not.
1135 * cpplib.c (dequote_string): Use cppchar_t; update.
1136 * cpplib.h (cppchar_signed_t): New.
1137 struct cpp_options): New precision members.
1138 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
1139 * cppexp.c (eval_token): Update.
1140
1141 2002-05-03 David S. Miller <davem@redhat.com>
1142
1143 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
1144 * config/sparc/sparc.c (sparc_rtx_costs): New function
1145 implementing RTX_COSTS and CONST_COSTS.
1146 * config/sparc/sparc.h (CONST_COSTS): Delete.
1147 (RTX_COSTS_CASES): Define.
1148 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
1149 the work.
1150
1151 * config/sparc/sparc.md (DFA schedulers): Split out...
1152 * config/sparc/cypress.md, config/sparc/hypersparc.md,
1153 config/sparc/sparclet.md, config/sparc/supersparc.md,
1154 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
1155
1156 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
1157 checks on it, always defined for Sparc.
1158
1159 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
1160 Tweak, and add more detailed comments.
1161
1162 2002-05-03 Zack Weinberg <zack@codesourcery.com>
1163
1164 * Re-apply patch accidentally reverted with
1165 DFA scheduler merge: remove all rules and variables to slurp
1166 source files out of libiberty and rebuild them with HOST_CC.
1167 ($(HOST_PREFIX_1)varray.o): New rule.
1168 (genattrtab rule): Word wrap.
1169
1170 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
1171
1172 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
1173 (CPP_SUBTARGET_SPEC): Define.
1174 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
1175 cpp_subtarget specs.
1176 (CPP_SPEC): Redefine to include %(cpp_subtarget).
1177
1178 2002-05-03 David S. Miller <davem@redhat.com>
1179
1180 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
1181 * target.h (struct gcc_target): Delete cycle_display member.
1182
1183 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
1184 (rtx_needs_barrier): Delete reference to cycle_display unspec.
1185 (ia64_sched_reorder2): Mention need for cycle display handling
1186 once such notes exist.
1187
1188 2002-05-03 Richard Henderson <rth@redhat.com>
1189
1190 * real.c (etoasc): Strip most trailing zeros for clarity.
1191 * sched-vis.c: Include real.h.
1192 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
1193 * Makefile.in (sched-vis.o): Add real.h.
1194
1195 2002-05-03 David S. Miller <davem@redhat.com>
1196
1197 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
1198 no longer needed.
1199
1200 2002-05-03 Aldy Hernandez <aldyh@redhat.com>
1201
1202 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
1203 when we get an out of range literal.
1204 (altivec_expand_ternop_builtin): Same.
1205 (altivec_expand_unop_builtin): Same.
1206 (altivec_expand_builtin): Same, for dss.
1207 (altivec_expand_builtin): Use trees instead of rtl when
1208 determining literal argument validity.
1209
1210 2002-05-03 David S. Miller <davem@redhat.com>
1211
1212 Delete cycle display scheduling hook.
1213 * config/ia64/ia64.c (ia64_cycle_display,
1214 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
1215 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
1216 and use emit_insn_before instead of ia64_emit_insn_before.
1217 * config/ia64/ia64.md (unspec usage): Delete cycle display.
1218 (cycle_display): Delete insn pattern.
1219 * config/sparc/sparc.md (unspec usage): Delete cycle display.
1220 (cycle_display): Delete insn pattern.
1221 * config/sparc/sparc.c (sparc_cycle_display,
1222 TARGET_SCHED_CYCLE_DISPLAY): Delete.
1223 * doc/md.texi (cycle_display): Don't mention.
1224 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
1225
1226 2002-05-03 Richard Henderson <rth@redhat.com>
1227
1228 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
1229 * recog.h: Declare them.
1230
1231 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
1232 * config/sparc/sparc.md: Use store_data_bypass_p instead.
1233 * config/sparc/sparc-protos.h: Update.
1234
1235 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
1236
1237 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
1238 -D__arch64__. Add -D_LP64.
1239 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
1240 from sparc.h.
1241 (CPP_ARCH64_SPEC): Likewise.
1242 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
1243 (NO_BUILTIN_SIZE_TYPE): Undef.
1244
1245 2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
1246
1247 * genautomata.c (min_issue_delay_pass_states): Change return type
1248 in the prototype.
1249 (min_issue_delay_pass_states): Change the algorithm.
1250 (min_issue_delay): Set up min_insn_issue_delay for the state.
1251 (output_min_issue_delay_table): Interchange the nested loops and
1252 and initiate min_insn_issue_delay for states.
1253
1254 Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
1255
1256 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
1257 jump is simplejump.
1258
1259 Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
1260
1261 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
1262 sequence.
1263
1264 2002-05-03 Richard Henderson <rth@redhat.com>
1265
1266 PR opt/6534
1267 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
1268 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
1269 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
1270 code before JUMP, not EARLIEST.
1271
1272 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
1273
1274 * c-format.c (check_format_info_main): Don't check for presence of
1275 parameter for * width until after operand number has been read,
1276 and only check for it if format parameters are available.
1277 Fixes PR c/6547.
1278
1279 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
1280
1281 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
1282 (LINK_SPEC): Undef before defining.
1283
1284 2002-05-03 Jakub Jelinek <jakub@redhat.com>
1285
1286 PR preprocessor/6489
1287 * tradcpp.c (fixup_newlines): New.
1288 (main, finclude): Use it.
1289
1290 2002-05-03 Richard Sandiford <rsandifo@redhat.com>
1291
1292 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
1293 * config/mips/mips.c (mips_unique_section): Strip encoding from
1294 decl name.
1295
1296 2002-05-03 Jakub Jelinek <jakub@redhat.com>
1297
1298 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
1299 mode.
1300
1301 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1302
1303 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
1304 (Specific): Removed buildstats references.
1305 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
1306 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
1307 Accomodate Solaris versions beyond 8.
1308 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
1309 (Specific, *-*-solaris2.8): Removed, obsolete.
1310
1311 2002-05-03 Jakub Jelinek <jakub@redhat.com>
1312
1313 PR target/6542
1314 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
1315 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
1316 fill leaf_reg_remap with identity.
1317 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
1318
1319 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
1320
1321 * config/h8300/crti.asm: Remove trailing spaces.
1322 * config/h8300/h8300.c: Likewise.
1323 * config/h8300/lib1funcs.asm: Likewise.
1324
1325 2002-05-02 Jason Merrill <jason@redhat.com>
1326
1327 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
1328 * c-decl.c (c_init_decl_processing): Use it.
1329 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
1330 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
1331 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
1332
1333 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
1334
1335 * regrename.c: Fix formatting.
1336 * tree.c: Likewise.
1337
1338 Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
1339
1340 * i386.md (attribute memory): Handle compares properly.
1341
1342 Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
1343
1344 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
1345 to none.
1346
1347 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
1348
1349 * function.c: Fix formatting.
1350
1351 2002-05-02 Jan Hubicka <jh@suse.cz>
1352
1353 * haifa-sched.c (schedule_insn): Print table of instructions and
1354 reservations.
1355 (sched_block): Do not print ready list at verbosity level 1.
1356 * sched-vis.c (print_insn): Make global.
1357 * sched-ebb.c (ebb_print_insn): Rename from...
1358 (print_insn): ... this one.
1359 * sched-int.h (print_insn): Declare
1360
1361 2002-05-02 Richard Henderson <rth@redhat.com>
1362
1363 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
1364 emitted by cycle_display.
1365
1366 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
1367
1368 * doc/install.texi (*-*-freebsd*): Update to latest status.
1369
1370 2002-05-02 Jakub Jelinek <jakub@redhat.com>
1371
1372 PR target/6540
1373 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
1374 * config/float-sparc.h: Assume 128-bit long double if
1375 __LONG_DOUBLE_128__ is defined.
1376
1377 2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
1378
1379 * genattrtab.c (write_function_unit_info): Add a dummy element
1380 when num_units == 0.
1381
1382 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1383
1384 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
1385 TYPE_MODE (double_type_node) instead of DFmode.
1386
1387 Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
1388
1389 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
1390 jumps post reload.
1391 * toplev.c (rest_of_compilation): Revert Richard's patch.
1392
1393 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1394
1395 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
1396
1397 2002-05-02 Catherine Moore <clm@redhat.com>
1398
1399 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
1400
1401 2002-05-02 Kazu Hirata <kazu@hxi.com>
1402
1403 * combine.c: Fix comment typos.
1404 * expr.c: Likewise.
1405 * genautomata.c: Likewise.
1406 * stmt.c: Likewise.
1407 * tree.h: Likewise.
1408
1409 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
1410
1411 * doc/install.texi: State GNAT version requirements.
1412
1413 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
1414
1415 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
1416 of the frame pointer or arg pointer register which strict register
1417 checking is not enabled.
1418
1419 2002-05-02 Aldy Hernandez <aldyh@redhat.com>
1420
1421 * gcc.dg/altivec-8.c: New.
1422
1423 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
1424 PRE_INC and PRE_DEC for altivec modes.
1425
1426 2002-05-01 Bruce Korb <bkorb@gnu.org>
1427
1428 * fixinc/check.tpl(set-writable): make sure the function exists first
1429 * fixinc/inclhack.def(alpha_assert): fix test_text
1430 * fixinc/tests/base/assert.h: add in missing result
1431
1432 2002-05-01 Jeff Law <law@redhat.com>
1433
1434 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
1435 'T' constraint.
1436
1437 2002-05-01 Joel Brobecker <brobecker@gnat.com>
1438
1439 * dbxout.c (dbxout_type): Emit size information for range types,
1440 as well, but only when using GDB extensions.
1441
1442 2002-05-01 Richard Henderson <rth@redhat.com>
1443
1444 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
1445 target-independent gnu binutils date test.
1446
1447 2002-05-01 Richard Henderson <rth@redhat.com>
1448
1449 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
1450 info before expunging the block.
1451
1452 2002-05-01 Jakub Jelinek <jakub@redhat.com>
1453
1454 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
1455 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
1456 -M -or -MM is in effect.
1457
1458 2002-05-01 Zack Weinberg <zack@codesourcery.com>
1459
1460 * config.gcc: Correct test of --enable-obsolete. Obsolete all
1461 A29k configurations.
1462 * doc/install.texi: Update to match.
1463
1464 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1465
1466 PR bootstrap/6514
1467 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
1468 for duplicates. Always loop over whole list.
1469
1470 Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1471
1472 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
1473
1474 2002-05-01 Joel Sherrill <joel@OARcorp.com>
1475
1476 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
1477 support routines.
1478
1479 2002-05-01 Joel Sherrill <joel@OARcorp.com>
1480
1481 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
1482
1483 2002-05-01 David Edelsohn <edelsohn@gnu.org>
1484
1485 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
1486 (nabs_nopower): Same.
1487 (floatdisf2): New pattern.
1488 (absdi2): Convert to define_insn_and_split.
1489 (nabsdi2): Same.
1490 (trunctfsf2): Same.
1491 (floatditf2): Same.
1492 (floatsitf2): Same.
1493 (fix_trunctfdi2): Same.
1494 (fix_trunctfsi2): Same.
1495
1496 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
1497
1498 * doc/install.texi: Update Texinfo version requirement
1499 documentation.
1500
1501 2002-05-01 Jakub Jelinek <jakub@redhat.com>
1502
1503 PR target/6512, PR target/5628
1504 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
1505 when memory is not aligned.
1506 (movdf_insn_v9only_vis): Likewise.
1507 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
1508 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
1509 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
1510
1511 2002-05-01 Aldy Hernandez <aldyh@redhat.com>
1512
1513 * gcc.dg/altivec-7.c: New.
1514
1515 * config/rs6000/altivec.h: Cleanup.
1516
1517 2002-04-30 Aldy Hernandez <aldyh@redhat.com>
1518
1519 * doc/invoke.texi (Option Summary): Add -mvrsave=.
1520 (RS/6000 and PowerPC Options): Document -mvrsave=.
1521
1522 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
1523 (rs6000_altivec_vrsave_string): Same.
1524 (rs6000_override_options): Call rs6000_parse_vrsave_option.
1525 (rs6000_parse_vrsave_option): New.
1526 (rs6000_stack_info): Only generate vrsave instructions when
1527 TARGET_ALTIVEC_VRSAVE.
1528
1529 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
1530 (rs6000_altivec_vrsave_string): Define extern.
1531 (rs6000_altivec_vrsave): Same.
1532 (TARGET_ALTIVEC_VRSAVE): New.
1533
1534 2002-04-30 Richard Henderson <rth@redhat.com>
1535
1536 PR opt/6516
1537 * toplev.c (rest_of_compilation): Don't run cross-jump before
1538 bb-reorder.
1539
1540 2002-04-30 Tom Rix <trix@redhat.com>
1541
1542 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
1543 check which_alternative.
1544
1545 2002-04-30 Kazu Hirata <kazu@hxi.com>
1546
1547 * cpplex.c: Fix comment formatting.
1548 * function.c: Likewise.
1549 * integrate.c: Likewise.
1550 * regrename.c: Likewise.
1551 * sibcall.c: Likewise.
1552 * simplify-rtx.c: Likewise.
1553 * tree-inline.c: Likewise.
1554
1555 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1556
1557 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
1558 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
1559 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
1560 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
1561 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
1562 * pa/x-ada: New file. Define ADA_CFLAGS.
1563
1564 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
1565
1566 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
1567 from MMIX_LAST_REGISTER_FILE_REGNUM.
1568 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
1569 (struct machine_function): New member highest_saved_stack_register
1570 previously static variable in mmix.c.
1571 (MACHINE_DEPENDENT_REORG): Define.
1572 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
1573 (MMIX_OUTPUT_REGNO): New.
1574 (mmix_target_asm_function_prologue): Move calculation of last used
1575 saved-stack-register into...
1576 (mmix_machine_dependent_reorg): New function. Update to also handle
1577 !TARGET_ABI_GNU.
1578 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
1579 register names, simplify somewhat by new variable regno.
1580 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
1581 register.
1582 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
1583 emitting register names.
1584 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
1585 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
1586 Remove fixed FIXME.
1587 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
1588 Declare.
1589
1590 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
1591
1592 2002-04-30 Richard Henderson <rth@redhat.com>
1593
1594 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
1595 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
1596 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
1597 emit_tfmode_cvt): New.
1598 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
1599 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
1600 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
1601 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
1602 * config/sparc/sparc-protos.h: Update.
1603
1604 2002-04-30 Janis Johnson <janis187@us.ibm.com>
1605
1606 * install.texi (Final install): Add to the list of info to include
1607 in a report of a successful bootstrap, and add link to 3.1 list.
1608
1609 Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
1610
1611 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
1612 (mode): Add vector modes
1613 (i387): Kill attribute.
1614 (unit): New attribute.
1615 (length_immediate): Grok new types.
1616 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
1617 (modrm): Use "unit".
1618 (memory): Handle MMX/SSE properly.
1619 (scheduling descriptions): Kill uses of fop1.
1620 (sse, mmx, fp patterns): Set type and mode properly.
1621
1622 Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com)
1623
1624 * pa.c (override_options): Default to PA8000 scheduling.
1625 * doc/invoke.texi (HP-PA options): Mention newly added 7300
1626 scheduling parameter.
1627
1628 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
1629 handling of double precision multiplies.
1630
1631 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
1632 fpdiv and fpsqrt instructions.
1633 (7200 & 7300 scheduling): Fix typo in handling of
1634 store-load and store-store penalties.
1635
1636 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1637
1638 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
1639 mips. Add two missing commas.
1640
1641 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
1642
1643 * doc/contrib.texi (Contributors): Update Paolo Carlini's
1644 and Benjamin Kosnik's entries.
1645
1646 2002-04-29 David S. Miller <davem@redhat.com>
1647
1648 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
1649 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
1650 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
1651 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
1652
1653 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1654
1655 * combine.c (find_split_point): Use gen_int_mode.
1656
1657 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
1658
1659 Merging code from dfa-branch:
1660
1661 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
1662
1663 * genautomata.c (output_reserv_sets): Fix typo.
1664
1665 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
1666
1667 * genautomata.c (output_reserv_sets): Remove
1668 next_cycle_output_flag.
1669
1670 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
1671
1672 * sched-rgn.c (init_ready_list): Make the DFA code handle
1673 USE/CLOBBER insns in the same way as the traditional
1674 scheduler.
1675 (new_ready): Similarly..
1676
1677 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
1678
1679 * haifa-sched.c (schedule_block): Change the DFA state only after
1680 issuing insn.
1681
1682 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
1683
1684 * pa.c (hppa_use_dfa_pipeline_interface): New function.
1685 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
1686 (override_options): Add PA7300 scheduling support.
1687 (pa_adjust_cost): Update various comments. Properly
1688 handle anti and output dependencies when using the
1689 DFA scheduler.
1690 (pa_issue_rate): Add PA7300 scheduling support.
1691 (pa_can_combine_p): Call extract_insn before calling
1692 constrain_operands (taken from mainline tree).
1693 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
1694 * pa.md (cpu attr): Add 7300. Rewrite pipeline
1695 descriptions using DFA descriptions. Add PA7300
1696 scheduling support.
1697
1698 2002-03-30 David S. Miller <davem@redhat.com>
1699
1700 Add UltraSPARC-III DFA scheduling support.
1701 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
1702 Update FP conditional move on register insn patterns to use it, as
1703 appropriate.
1704 (define_attr cpu): Add ultrasparc3.
1705 (define_attr us3load_type): New, update integer load patterns to
1706 set it, as appropriate.
1707 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
1708 (rest): Add UltraSPARC3 scheduling description.
1709 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
1710 (PROCESSOR_ULTRASPARC3): New.
1711 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
1712 ({ASM,CPP}_CPU_SPEC): Likewise.
1713 (REGISTER_MOVE_COST): Likewise.
1714 (RTX_COSTS): Likewise.
1715 * config/sparc/sparc.c (sparc_override_options,
1716 sparc_initialize_trampoline, sparc64_initialize_trampoline,
1717 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
1718 sparc_issue_rate): Likewise.
1719 * config/sparc/sol2.h: Likewise.
1720 * config/sparc/sol2-sld-64.h: Likewise.
1721 * config/sparc/linux64.h: Likewise.
1722
1723 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
1724
1725 * doc/md.texi: Add comments about usage the latency time for the
1726 different dependencies and about case when two or more conditions
1727 in different define_insn_reservations returns TRUE for an insn.
1728
1729 * doc/md.texi: Add reference for automaton based pipeline
1730 description.
1731
1732 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
1733
1734 * doc/passes.texi: Add missed information about genattrtab.
1735
1736 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
1737
1738 * genautomata.c (output_automata_list_transition_code): Check
1739 automata_list on NULL.
1740
1741 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
1742
1743 * genautomata.c (output_insn_code_cases,
1744 output_automata_list_min_issue_delay_code,
1745 output_automata_list_transition_code,
1746 output_automata_list_state_alts_code): Comment the functions.
1747
1748 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
1749
1750 * genautomata.c (automata_list_el_t): New typedef.
1751 (get_free_automata_list_el,free_automata_list_el,
1752 free_automata_list, automata_list_hash, automata_list_eq_p,
1753 initiate_automata_lists, automata_list_start, automata_list_add,
1754 automata_list_finish, finish_automata_lists,
1755 output_insn_code_cases, output_automata_list_min_issue_delay_code,
1756 output_automata_list_transition_code,
1757 output_automata_list_state_alts_code, add_automaton_state,
1758 form_important_insn_automata_lists): New functions and prototypes.
1759 (insn_reserv_decl): Add members important_automata_list and
1760 processed_p.
1761 (ainsn): Add members important_p.
1762 (automata_list_el): New structure.
1763 (first_free_automata_list_el, current_automata_list,
1764 automata_list_table): New global variables.
1765 (create_ainsns): Initiate member important_p.
1766 (output_internal_min_issue_delay_func): Generate the switch and
1767 call output_insn_code_cases.
1768 (output_internal_trans_func, output_internal_state_alts_func):
1769 Ditto.
1770 (generate): Call initiate_automata_lists.
1771 (automaton_states): New global variable.
1772 (expand_automata): Call form_important_insn_automata_lists.
1773 (write_automata): Call finish_automata_lists.
1774
1775 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
1776
1777 * genautomata.c (add_excls, add_presence_absence): Check that
1778 cpu units in the sets belong the same automaton.
1779
1780 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
1781 about that cpu units in the sets belong the same automaton.
1782
1783 * doc/md.texi: Ditto.
1784
1785 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
1786 Nitin Gupta <niting@noida.hcltech.com>
1787
1788 * config/sh/sh.c (sh_use_dfa_interface): New function.
1789
1790 (sh_issue_rate): New Function.
1791 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
1792 TARGET_SCHED_ISSUE_RATE: define.
1793
1794 * config/sh/sh.md: Add DFA based pipeline description for SH4.
1795
1796 (define_attr insn_class): New attribute used for DFA
1797 scheduling.
1798 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
1799 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
1800 cmpeqdi_t): Likewise.
1801
1802 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
1803 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
1804 ex_group.
1805 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
1806
1807 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
1808
1809 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
1810 break.
1811
1812 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
1813
1814 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
1815 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
1816 necessary.
1817 (output_dfa_start_func): Initiate new variable insn_codes_length,
1818 (write_automata): Output definition of the new variable.
1819
1820 2001-10-02 David S. Miller <davem@redhat.com>
1821
1822 * haifa-sched.c (advance_one_cycle): New function.
1823 (schedule_block): Use it.
1824 (queue_to_ready): Use it, and also make sure to advance the DFA
1825 state on all stall cycles, not just those where insn_queue links
1826 are found.
1827
1828 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
1829
1830 * haifa-sched.c (max_issue): Remove last_p argument. Only return
1831 non-zero if the highest-priority instruction could be scheduled.
1832 (choose_ready): Remove last argument from max_issue call.
1833
1834 2001-09-28 David S. Miller <davem@redhat.com>
1835
1836 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
1837 ultrasparc and 3 for other multi-issue sparcs.
1838
1839 2001-09-27 David S. Miller <davem@redhat.com>
1840
1841 * config/sparc/sparc.md (cycle_display): New pattern.
1842 * config/sparc/sparc.c (sparc_cycle_display): New.
1843 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
1844
1845 2001-09-25 David S. Miller <davem@redhat.com>
1846
1847 Convert all of Sparc scheduling to DFA
1848 * config/sparc/sparc.md: Kill all define_function_unit
1849 directives and replace with DFA equivalent.
1850 * config/sparc/sparc.c (ultrasparc_adjust_cost,
1851 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
1852 ultra_fpmode_conflict_exists, ultra_find_type,
1853 ultra_build_types_avail, ultra_flush_pipeline,
1854 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
1855 ultrasparc_variable_issue, ultrasparc_sched_init,
1856 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
1857 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
1858 ultra_cur_hist, ultra_cycles_elapsed): Kill.
1859 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
1860 ultrasparc_store_bypass_p): New.
1861 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
1862 Declare.
1863
1864 2001-09-24 David S. Miller <davem@redhat.com>
1865
1866 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
1867 ready->vec[foo] not ready[foo].
1868
1869 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
1870
1871 * doc/md.texi: Correct examples for define_insn_reservations
1872 `mult' and `div'.
1873
1874 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
1875
1876 * genautomata.c (create_automata): Print message about creation of
1877 each automaton.
1878 (generate): Remove printing meease about creation of
1879 automata.
1880
1881 2001-09-05 David S. Miller <davem@redhat.com>
1882
1883 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
1884 * config/sparc/linux64.h: Likewise.
1885
1886 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
1887
1888 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
1889 schedule_block, sched_init, sched_finish): Add missed calls of
1890 use_dfa_pipeline_interface.
1891
1892 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
1893 Ditto.
1894
1895 * sched-vis.c (get_visual_tbl_length): Ditto.
1896
1897 2001-08-27 Richard Henderson <rth@redhat.com>
1898
1899 * genattr.c (main): Emit state_t even when not doing scheduling.
1900
1901 2001-08-27 Richard Henderson <rth@redhat.com>
1902
1903 * genautomata.c (expand_automata): Always create a description.
1904
1905 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
1906
1907 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
1908 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
1909 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
1910 RTL constructions.
1911
1912 * genattr.c (main): New variable num_insn_reservations. Increase
1913 it if there is DEFINE_INSN_RESERVATION. Output automaton based
1914 pipeline hazard recognizer interface.
1915
1916 * genattrtab.h: New file.
1917
1918 * genattrtab.c: Include genattrtab.h.
1919 (attr_printf, check_attr_test, make_internal_attr,
1920 make_numeric_value): Move protypes into genattrtab.h. Define them
1921 as external.
1922 (num_dfa_decls): New global variable.
1923 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
1924 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
1925 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
1926 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
1927
1928 * genautomata.c: New file.
1929
1930 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
1931
1932 * sched-int.h: (curr_state): Add the external definition for
1933 automaton pipeline interface.
1934 (haifa_insn_data): Add comments for members blockage and units.
1935
1936 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
1937 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
1938 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
1939 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
1940 TARGET_SCHED_DFA_POST_CYCLE_INSN,
1941 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
1942 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
1943 macros.
1944 (TARGET_SCHED): Use the new macros.
1945
1946 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
1947 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
1948 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
1949 dfa_bubble): New members in gcc_target.sched.
1950
1951 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
1952 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
1953 (insn_queue): Redefine it as pointer to array.
1954 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
1955 INSN_QUEUE_SIZE.
1956 (max_insn_queue_index_macro_value): New variable.
1957 (curr_state, dfa_state_size, ready_try): New varaibles for
1958 automaton interface.
1959 (ready_element, ready_remove, max_issue): New function prototypes
1960 for automaton interface.
1961 (choose_ready): New function prototype.
1962 (insn_unit, blockage_range): Add comments.
1963 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
1964 FUNCTION_UNITS_SIZE == 0.
1965 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
1966 actual_hazard, potential_hazard): Add comments.
1967 (insn_cost): Use cost -1 as undefined value. Remove
1968 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
1969 pipeline interface.
1970 (ready_element, ready_remove): New functions for automaton
1971 interface.
1972 (schedule_insn): Add new code for automaton pipeline interface.
1973 (queue_to_ready): Add new code for automaton pipeline interface.
1974 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
1975 (debug_ready_list): Print newline when the queue is empty.
1976 (max_issue): New function for automaton pipeline interface.
1977 (choose_ready): New function.
1978 (schedule_block): Add new code for automaton pipeline interface.
1979 Print ready list before scheduling each insn.
1980 (sched_init): Add new code for automaton pipeline interface.
1981 Initiate insn cost by -1.
1982 (sched_finish): Free the current automaton state and finalize
1983 automaton pipeline interface.
1984
1985 * sched-rgn.c: Include target.h.
1986 (init_ready_list, new_ready, debug_dependencies): Add new code for
1987 automaton pipeline interface.
1988
1989 * sched-vis.c: Include target.h.
1990 (get_visual_tbl_length): Add code for automaton interface.
1991 (target_units, print_block_visualization): Add comments.
1992
1993 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
1994 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
1995 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
1996 (getruntime.o, genautomata.o): New entries.
1997 (genattrtab.o): Add new dependency file genattrtab.h.
1998 (genattrtab): Add new dependencies. Link it with `libm.a'.
1999 (getruntime.o, hashtab.o): New entries for canadian cross.
2000
2001 * doc/md.texi: Description of automaton based model.
2002
2003 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
2004 Add comments.
2005 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
2006 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
2007 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
2008 TARGET_SCHED_DFA_POST_CYCLE_INSN,
2009 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
2010 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
2011 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
2012 hook descriptions.
2013 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
2014 MAX_DFA_ISSUE_RATE): New macro descriptions.
2015
2016 * doc/contrib.texi: Add dfa based scheduler contribution.
2017
2018 * doc/gcc.texi: Add more information about genattrtab.
2019
2020 Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2021
2022 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
2023 adjust_address_nv call.
2024
2025 2002-04-29 Janis Johnson <janis187@us.ibm.com>
2026
2027 * doc/install.texi (Testing): Provide additional information, and
2028 a stronger encouragement, for running the testsuites.
2029
2030 2002-04-29 DJ Delorie <dj@redhat.com>
2031
2032 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
2033 given in upper case.
2034
2035 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2036
2037 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
2038 Solaris 2 <widec.h> if missing.
2039 * fixinc/fixincl.x: Regenerate.
2040 * fixinc/tests/base/widec.h: New file.
2041
2042 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
2043
2044 * toplev.c (f_options): Add "profile" switch so that
2045 -fno-profile can be used to disable -p.
2046
2047 2002-04-29 Bernd Schmidt <bernds@redhat.com>
2048
2049 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
2050 UV2DImode.
2051 * tree.c (build_common_tree_nodes_2): Likewise.
2052 * tree.h (enum tree_index): Likewise.
2053 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
2054
2055 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
2056 entries.
2057 (init_mmx_sse_builtins): Initialize SSE2 builtins.
2058 (ix86_expand_builtin): Add support for SSE2 builtins.
2059 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
2060 (VALID_SSE_REG_MODE): Use it.
2061 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
2062 (enum ix86_builtins): Add SSE2 builtins.
2063 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
2064 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
2065 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
2066 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
2067 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
2068 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
2069 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
2070 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
2071 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
2072 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
2073 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
2074 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
2075 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
2076 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
2077 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
2078 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
2079 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
2080 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
2081 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
2082 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
2083 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
2084 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
2085 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
2086 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
2087 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
2088 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
2089 lfence_insn): New patterns.
2090 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
2091 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
2092
2093 Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
2094
2095 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
2096
2097 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2098
2099 * doc/contrib.texi (Contributors): Add Paolo Carlini and
2100 Janis Johnson.
2101 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
2102 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
2103 and CPU instead of cpu.
2104
2105 Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
2106
2107 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
2108 variables.
2109 (lang_independent_options): Add -fif-conversion, -fif-conversion2
2110 (rest_of_compilation): Do if conversion only when asked for.
2111 (parse_options_and_default_flags): Set new variables to 1 for -O1
2112 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
2113
2114 Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
2115
2116 * i386.c (dbx64_register_map): Fix typo.
2117
2118 Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
2119
2120 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
2121 real_one_half, real_bb_freq_max): New static variables.
2122 (debug_profile_bbauxs): Kill.
2123 (process_note_predictions): Kill unused variable.
2124 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
2125 volatile double.
2126 (propagate_freq): Use REAL_ARITHMETICS.
2127 (estimate_bb_frequencies): Likevise; init new static variables.
2128 * Makefile.in (predict.o): Add dependency on real.h
2129
2130 2002-04-28 David S. Miller <davem@redhat.com>
2131
2132 PR target/6500
2133 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
2134 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
2135 several {reads,writes} instead.
2136 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
2137 Define.
2138
2139 2002-04-27 David S. Miller <davem@redhat.com>
2140
2141 PR target/6494
2142 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
2143 of the stack bias.
2144
2145 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
2146 including signal.h and sys/ucontext.h, not needed.
2147
2148 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
2149
2150 * varasm.c (output_constant_def): Correct test for not calling
2151 ENCODE_SECTION_INFO for INTEGER_CST.
2152
2153 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
2154
2155 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
2156 keep most cases as function eval_token.
2157 (eval_token): New function.
2158 (_cpp_parse_expr): Read token here for improved diagnostics.
2159 Don't use op_as_text. Detect bad ':' here.
2160 (reduce): Don't detect bad ':' here.
2161 (op_as_text): Remove.
2162 * cpphash.h (_cpp_test_assertion): Change prototype.
2163 * cpplib.c (_cpp_test_assertion): Change prototype.
2164
2165 2002-04-28 Richard Henderson <rth@redhat.com>
2166
2167 PR c/5154
2168 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
2169 (ggc_mark_rtx_children): New.
2170
2171 2002-04-28 Jakub Jelinek <jakub@redhat.com>
2172
2173 PR target/6496
2174 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
2175 after call peepholes for UltraSPARC.
2176 (call + jump 64-bit peepholes): Remove.
2177
2178 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2179
2180 PR c/6497
2181 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
2182 result as temporary value.
2183
2184 2002-04-28 Jakub Jelinek <jakub@redhat.com>
2185
2186 PR c++/6396
2187 * toplev.c (rest_of_compilation): Only run regrename and copy
2188 propagation if optimizing.
2189
2190 2002-04-28 Jakub Jelinek <jakub@redhat.com>
2191
2192 PR optimization/6475
2193 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
2194 register of REGNO_DECL (i).
2195 * Makefile.in (reload1.o): Add $(TREE_H).
2196
2197 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
2198
2199 * cppexp.c (lex): Update to use state.skip_eval.
2200 (struct op): Remove prio and flags members.
2201 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
2202 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
2203 (LEFT_ASSOC): New macro.
2204 (optab): New table of operator priorities and flags.
2205 (SHIFT): Update.
2206 (_cpp_parse_expr): Clean up logic. Return bool. Use a
2207 malloc-ed parser stack.
2208 (reduce): New; reduce the operator stack.
2209 (_cpp_expand_op_stack): Expand the operator stack as necessary.
2210 * cpphash.h (struct op): Predeclare.
2211 (struct cpp_reader): New members op_stack, op_limit.
2212 (struct lexer_state): New member skip_eval.
2213 (_cpp_parse_expr): Update.
2214 (_cpp_expand_op_stack): New.
2215 * cpplib.c (do_if): Update.
2216 * cppinit.c (cpp_create_reader): Create op stack.
2217 (cpp_destroy): And destroy it.
2218 * cpplib.h (CPP_LAST_CPP_OP): Correct.
2219 (TTYPE_TABLE): Correct.
2220
2221 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2222
2223 PR c/6343
2224 * c-decl.c (duplicate_decls): Call merge_weak.
2225 * c-pragma.c (apply_pragma_weak): Warn about misuse.
2226 * output.h (merge_weak): Prototype merge_weak.
2227 * varasm.c (merge_weak): New function.
2228 (declare_weak): Make sure we don't give an error on VAR_DECLs.
2229 Mark RTL with SYMBOL_REF_WEAK.
2230
2231 2002-04-27 Kurt Garloff <garloff@suse.de>
2232
2233 * tree-inline.c (inlinable_function_p): Improve heuristics
2234 by using a smoother function to cut down allowable inlinable size.
2235 * param.def: Add parameters max-inline-insns-single,
2236 max-inline-slope, min-inline-insns that determine the exact
2237 shape of the above function.
2238 * param.h: Likewise.
2239
2240 2002-04-26 Richard Henderson <rth@redhat.com>
2241
2242 * c-parse.in (malloced_yyss, malloced_yyvs): New.
2243 (yyoverflow): Re-add. Set them.
2244 (free_parser_stacks): New.
2245 * c-common.h: Declare it.
2246 * c-lex.c (c_common_parse_file): Call it.
2247
2248 2002-04-26 Richard Henderson <rth@redhat.com>
2249
2250 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
2251 for fallthru search.
2252
2253 2002-04-26 Eric Christopher <echristo@redhat.com>
2254
2255 PR optimization/3700
2256 * config/mips/mips.c (mips_issue_rate): Define. New function.
2257 (TARGET_SCHED_ISSUE_RATE): Use.
2258
2259 2002-04-25 David S. Miller <davem@redhat.com>
2260
2261 PR target/6422
2262 * reorg.c (optimize_skip): Do not allow exception causing
2263 instructions to be considered for delay slots.
2264 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
2265 (relax_delay_slots): Do not try to consider exception causing
2266 instructions as redundant.
2267
2268 2002-04-26 Richard Henderson <rth@redhat.com>
2269
2270 PR c/5225
2271 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
2272
2273 2002-04-26 Mark Mitchell <mark@codesourcery.com>
2274
2275 PR bootstrap/6445
2276 * config/i386/i386.md (untyped_call): Return the value in a float
2277 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
2278 TARGET_80387.
2279
2280 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
2281
2282 * tree.c (tree_int_cst_lt): Compare constants whose types differ
2283 in unsigned-ness correctly.
2284
2285 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
2286
2287 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
2288 portable runtime model.
2289
2290 2002-04-26 Richard Henderson <rth@redhat.com>
2291
2292 * c-parse.in (yyoverflow): Revert.
2293
2294 2002-04-26 David Edelsohn <edelsohn@gnu.org>
2295 Richard Henderson <rth@redhat.com>
2296
2297 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
2298 result as temporary value.
2299
2300 2002-04-26 Richard Henderson <rth@redhat.com>
2301
2302 PR c/3581
2303 * c-common.c (fix_string_type): Split out of ...
2304 (combine_strings): ... here. Take a varray, not a tree list.
2305 (c_expand_builtin_printf): Use fix_string_type.
2306 * c-common.h: Update decls.
2307 * c-parse.in (string): Remove. Update all uses to use STRING
2308 instead, and not call combine_strings.
2309 (yylexstring): New.
2310 (_yylex): Use it.
2311 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
2312 (build_asm_stmt): Likewise.
2313 * objc/objc-act.c (my_build_string): Use fix_string_type.
2314 (build_objc_string_object): Build varray for combine_strings.
2315
2316 2002-04-26 Bo Thorsen <bo@suse.co.uk>
2317
2318 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
2319 x86-64.
2320
2321 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
2322
2323 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
2324 (HAVE_NO_R_OPERAND): Remove.
2325 (HAVE_VALUE): Remove.
2326 (op_to_prio): Update.
2327 (UNARY): Don't alter flags.
2328 (_cpp_parse_expr): want_value used to indicate whether
2329 a number or unary operator is expected next. Distinguish
2330 unary and binary +/-.
2331 (op_as_text): Update for unary operators.
2332
2333 2002-04-25 Richard Henderson <rth@redhat.com>
2334
2335 PR c/2161
2336 * c-parse.in (yyoverflow): New.
2337
2338 2002-04-25 Richard Henderson <rth@redhat.com>
2339
2340 PR c/2098
2341 * c-common.c (shorten_compare): Simplfy conditions leading to
2342 the generation of a warning.
2343
2344 2002-04-25 Richard Henderson <rth@redhat.com>
2345
2346 PR c/2035
2347 * expmed.c (extract_bit_field): Fall through to generic code rather
2348 than aborting on subreg special case.
2349
2350 2002-04-25 David S. Miller <davem@redhat.com>
2351
2352 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
2353 for DECL being NULL.
2354
2355 2002-04-25 Steve Christiansen <smc@us.ibm.com>
2356
2357 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
2358
2359 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
2360
2361 * c-decl.c (grokdeclarator): Remove outdated ??? note
2362 on invalid declaration of flexible array members.
2363
2364 2002-04-25 Richard Henderson <rth@redhat.com>
2365
2366 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
2367
2368 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
2369
2370 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
2371 needed by the compiler, even if they are used as global regs.
2372
2373 2002-04-25 Matt Hiller <hiller@redhat.com>
2374
2375 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
2376 functions.
2377 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
2378 of the corresponding functions.
2379 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
2380 New prototypes.
2381
2382 2002-04-25 Matt Hiller <hiller@redhat.com>
2383
2384 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
2385
2386 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
2387 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
2388 registers, adjust comment accordingly.
2389 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
2390 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
2391 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
2392 for coprocessor registers.
2393 (ADDITIONAL_REGISTER_NAMES): Include
2394 ALL_COP_ADDITIONAL_REGISTER_NAMES.
2395
2396 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
2397 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
2398 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
2399 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
2400 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
2401
2402 (mips_char_to_class): Adjust comment to include coprocessor
2403 constraint letters.
2404
2405 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
2406 New functions.
2407 (mips_reg_names, mips_regno_to_class): Include coprocessor
2408 information.
2409 (mips_sw_reg_names): Ditto, make non-static.
2410 (mips_move_1word): Handle moves to and from coprocessor registers.
2411 (mips_move_2words): Handle moves to and from coprocessor
2412 registers.
2413 (mips_class_max_nregs, mips_register_move_cost): Handle
2414 coprocessor register classes.
2415 (override_options): Initialize mips_char_to_class and
2416 mips_hard_regno_mode_ok properly for coprocessor registers.
2417
2418 * config/mips/mips.md (movdi_internal, movdi_internal2,
2419 movsi_internal1, movsi_internal2): Add constraint-sets for
2420 coprocessor registers.
2421 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
2422 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
2423 isn't mips.
2424 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
2425 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
2426 isn't mips.
2427 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
2428 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
2429 isn't mips.
2430 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
2431 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
2432 isn't mips.
2433
2434 * doc/tm.texi: Document feature.
2435
2436 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
2437
2438 * integrate.c (function_attribute_inlinable_p): Simplify.
2439 Check the table pointer is not NULL.
2440
2441 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
2442
2443 * doc/c-tree.texi: Fix typo in introduction.
2444
2445 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
2446
2447 * c-common.h (c_common_parse_file): Update.
2448 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
2449 * c-lex.c (YYDEBUG): Get from c-lex.h.
2450 (c_common_parse_file): Update.
2451 * c-lex.h (YYDEBUG, yydebug): New.
2452 * c-parse.in (YYDEBUG): Get from c-lex.h.
2453 (c_set_yydebug): Remove.
2454 * c-tree.h (c_set_yydebug): Remove.
2455 * langhooks-def.h (lhd_do_nothing_i): New.
2456 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
2457 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
2458 * langhooks.c (lhd_do_nothing_i): New.
2459 (lhd_set_yydebug): Remove.
2460 * langhooks.h (struct lang_hooks): Update.
2461 * toplev.c (set_yydebug): New.
2462 (compile_file): Update call to parse_file hook.
2463 (decode_d_option): Update.
2464 objc:
2465 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
2466
2467 Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
2468
2469 * loop.c (load_mems): Don't change the interface of called functions.
2470
2471 * calls.c (expand_call): Take current_function_pretend_args_size
2472 into account when setting argblock for sibcalls.
2473
2474 2002-04-24 Matt Hiller <hiller@redhat.com>
2475
2476 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
2477 * c-lex.c: Ditto.
2478
2479 * cpplex.c (skip_line_comment): Process comment one multibyte
2480 character at a time rather than one char at a time, if
2481 appropriate.
2482 (parse_string): Process string one multibyte character at a time
2483 rather than one char at a time, if appropriate.
2484 * c-lex.c (lex_string): Lex and copy multibyte strings
2485 appropriately.
2486 * cpplib.h (cppchar_t): Change to unsigned.
2487
2488 2002-04-24 Richard Henderson <rth@redhat.com>
2489
2490 PR c/3467
2491 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
2492 for c99.
2493
2494 Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
2495
2496 * sh.c (sh_va_arg): If argument was passed by reference,
2497 dereference the pointer.
2498
2499 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
2500
2501 * sh.md (divsi3_i4_media): Use match_operand for input values
2502 rather than hard registers.
2503 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
2504 unnecessarily through hard registers. Keep copies of pseudo
2505 registers outside of the libcall sequence.
2506
2507 * sh.md (casesi_shift_media): Add modes.
2508
2509 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
2510 values in memory.
2511
2512 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
2513
2514 * attribs.c (c_common_attribute_table): Move table and handlers
2515 to c-common.c.
2516 (format_attribute_table, lang_attribute_table,
2517 lang_attribute_common): Remove.
2518 (init_attributes): Replace NULL pointers with pointers to the
2519 empty table.
2520 (handle_packed_attribute, handle_nocommon_attribute,
2521 handle_common_attribute, handle_noreturn_attribute,
2522 handle_noinline_attribute, handle_always_inline_attribute,
2523 handle_used_attribute, handle_unused_attribute,
2524 handle_const_attribute, handle_transparent_union_attribute,
2525 handle_constructor_attribute, handle_destructor_attribute,
2526 handle_mode_attribute, handle_section_attribute,
2527 handle_aligned_attribute, handle_weak_attribute,
2528 handle_alias_attribute, handle_visibility_attribute,
2529 handle_no_instrument_function_attribute, handle_malloc_attribute,
2530 handle_no_limit_stack_attribute, handle_pure_attribute,
2531 handle_deprecated_attribute, handle_vector_size_attribute,
2532 vector_size_helper): Move to c-common.c.
2533 * c-common.c (c_common_attribute_table,
2534 handle_packed_attribute, handle_nocommon_attribute,
2535 handle_common_attribute, handle_noreturn_attribute,
2536 handle_noinline_attribute, handle_always_inline_attribute,
2537 handle_used_attribute, handle_unused_attribute,
2538 handle_const_attribute, handle_transparent_union_attribute,
2539 handle_constructor_attribute, handle_destructor_attribute,
2540 handle_mode_attribute, handle_section_attribute,
2541 handle_aligned_attribute, handle_weak_attribute,
2542 handle_alias_attribute, handle_visibility_attribute,
2543 handle_no_instrument_function_attribute, handle_malloc_attribute,
2544 handle_no_limit_stack_attribute, handle_pure_attribute,
2545 handle_deprecated_attribute, handle_vector_size_attribute,
2546 vector_size_helper): Move from attribs.c.
2547 * c-common.h (c_common_attribute_table,
2548 c_common_format_attribute_table): New.
2549 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
2550 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
2551 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
2552 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
2553 (LANG_HOOKS_INITIALIZER): Update.
2554 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
2555 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
2556 * target.h: Update comment.
2557 * tree.c (default_target_attribute_table): Remove.
2558 * tree.h (default_target_attribute_table, format_attribute_table,
2559 lang_attribute_table, lang_attribute_common): Remove.
2560 objc:
2561 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
2562 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
2563
2564 2002-04-24 Jason Merrill <jason@redhat.com>
2565
2566 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
2567 * dwarf2out.c (dwarf_attr_name): Support it.
2568 (gen_array_type_die): Emit it.
2569 (lookup_type_die): No special handling for VECTOR_TYPE.
2570 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
2571
2572 2002-04-24 Richard Henderson <rth@redhat.com>
2573
2574 * config/mips/mips.md (movdi_usd): Renumber.
2575
2576 2002-04-24 David S. Miller <davem@redhat.com>
2577
2578 PR target/6420
2579 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
2580 32-bit Sparc and current_function_returns_struct is true.
2581
2582 Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
2583
2584 * loop.c (canonicalize_condition): Use gen_int_mode.
2585
2586 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
2587
2588 * config/rs6000/altivec.h: Cleanup file. Add non individual
2589 variants.
2590 (vec_vaddubm): New.
2591 (vec_vadduhm): New.
2592 (vec_vadduwm): New.
2593 (vec_vaddfp): New.
2594 (vec_vaddcuw): New.
2595 (vec_vaddubs): New.
2596 (vec_vaddsbs): New.
2597 (vec_vadduhs): New.
2598 (vec_vadduws): New.
2599 (vec_vaddsws): New.
2600 (vec_vand): New.
2601 (vec_vandc): New.
2602 (vec_vavgub): New.
2603 (vec_vavgsb): New.
2604 (vec_vavguh): New.
2605 (vec_vavgsh): New.
2606 (vec_vavguw): New.
2607 (vec_vavgsw): New.
2608 (vec_vrfip): New.
2609 (vec_vcmpbfp): New.
2610 (vec_vcmpequb): New.
2611 (vec_vcmpequh): New.
2612 (vec_vcmpequw): New.
2613 (vec_vcmpeqfp): New.
2614 (vec_vcmpgefp): New.
2615 (vec_vcmpgtub): New.
2616 (vec_vcmpgtsb): New.
2617 (vec_vcmpgtuh): New.
2618 (vec_vcmpgtsh): New.
2619 (vec_vcmpgtuw): New.
2620 (vec_vcmpgtsw): New.
2621 (vec_vcmpgtfp): New.
2622 (vec_vcmpgefp): New.
2623 (vec_vcfux): New.
2624 (vec_vcfsx): New.
2625 (vec_vctsxs): New.
2626 (vec_vctuxs): New.
2627 (vec_vexptefp): New.
2628 (vec_vrfim): New.
2629 (vec_lvx): New.
2630 (vec_lvebx): New.
2631 (vec_lvehx): New.
2632 (vec_lde): Add vector float variant.
2633 (vec_lvewx): New.
2634 (vec_lvxl): New.
2635 (vec_vlogefp): New.
2636 (vec_vmaddfp): New.
2637 (vec_vmhaddshs): New.
2638 (vec_vmaxub): New.
2639 (vec_vmaxsb): New.
2640 (vec_vmaxuh): New.
2641 (vec_vmaxsh): New.
2642 (vec_vmaxuw): New.
2643 (vec_vmaxsw): New.
2644 (vec_vmaxsw): New.
2645 (vec_vmaxfp): New.
2646 (vec_vmrghb): New.
2647 (vec_vmrghh): New.
2648 (vec_vmrghw): New.
2649 (vec_vmrglb): New.
2650 (vec_vmrglh): New.
2651 (vec_vmrglw): New.
2652 (vec_vminub): New.
2653 (vec_vminsb): New.
2654 (vec_vminuh): New.
2655 (vec_vminsh): New.
2656 (vec_vminuw): New.
2657 (vec_vminsw): New.
2658 (vec_vminfp): New.
2659 (vec_vmladduhm): New.
2660 (vec_vmhraddshs): New.
2661 (vec_msumubm): New.
2662 (vec_vmsummbm): New.
2663 (vec_vmsumuhm): New.
2664 (vec_vmsumshm): New.
2665 (vec_vmsumuhs): New.
2666 (vec_vmsumshs): New.
2667 (vec_vmuleub): New.
2668 (vec_vmulesb): New.
2669 (vec_vmuleuh): New.
2670 (vec_vmulesh): New.
2671 (vec_vmuloub): New.
2672 (vec_mulosb): New.
2673 (vec_vmulouh): New.
2674 (vec_vmulosh): New.
2675 (vec_vnmsubfp): New.
2676 (vec_vnor): New.
2677 (vec_vor): New.
2678 (vec_vpkuhum): New.
2679 (vec_vpkuwum): New.
2680 (vec_vpkpx): New.
2681 (vec_vpkuhus): New.
2682 (vec_vpkshss): New.
2683 (vec_vpkuwus): New.
2684 (vec_vpkswss): New.
2685 (vec_vpkshus): New.
2686 (vec_vpkswus): New.
2687 (vec_vperm): New.
2688 (vec_vrefp): New.
2689 (vec_vrlb): New.
2690 (vec_vrlh): New.
2691 (vec_vrlw): New.
2692 (vec_vrfin): New.
2693 (vec_vrsqrtefp): New.
2694 (vec_vsel): New.
2695 (vec_vslb): New.
2696 (vec_vslh): New.
2697 (vec_vslw): New.
2698 (vec_vsldoi): New.
2699 (vec_vsl): New.
2700 (vec_vslo): New.
2701 (vec_vspltb): New.
2702 (vec_vsplth): New.
2703 (vec_vspltw): New.
2704 (vec_vspltisb): New.
2705 (vec_vspltish): New.
2706 (vec_vspltisw): New.
2707 (vec_vsrb): New.
2708 (vec_vsrh): New.
2709 (vec_vsrw): New.
2710 (vec_vsrab): New.
2711 (vec_vsrah): New.
2712 (vec_vsraw): New.
2713 (vec_vsr): New.
2714 (vec_vsro): New.
2715 (vec_stvx): New.
2716 (vec_stvebx): New.
2717 (vec_stvehx): New.
2718 (vec_stvewx): New.
2719 (vec_stvxl): New.
2720 (vec_vsububm): New.
2721 (vec_vsubuhm): New.
2722 (vec_vsubuwm): New.
2723 (vec_vsubfp): New.
2724 (vec_vsubcuw): New.
2725 (vec_vsububs): New.
2726 (vec_vsubsbs): New.
2727 (vec_vsubuhs): New.
2728 (vec_vsubshs): New.
2729 (vec_vsubuws): New.
2730 (vec_vsubsws): New.
2731 (vec_vsum4ubs): New.
2732 (vec_vsum4sbs): New.
2733 (vec_vsum4shs): New.
2734 (vec_vsum2sws): New.
2735 (vec_vsumsws): New.
2736 (vec_vrfiz): New.
2737 (vec_vupkhsb): New.
2738 (vec_vupkhpx): New.
2739 (vec_vupkhsh): New.
2740 (vec_vupklsb): New.
2741 (vec_vupklpx): New.
2742 (vec_vupklsh): New.
2743 (vec_vxor): New.
2744
2745 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
2746
2747 PR c/5430
2748 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
2749 added literals from substracted literals.
2750 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
2751 (fold) [associate]: Preserve MINUS_EXPR if needed.
2752
2753 2002-04-23 Zack Weinberg <zack@codesourcery.com>
2754
2755 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
2756 are obsoleted.
2757
2758 2002-04-23 Tom Tromey <tromey@redhat.com>
2759
2760 * gcc.c: Added --resource. For PR java/6314.
2761
2762 2002-04-23 David O'Brien <obrien@FreeBSD.org>
2763
2764 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
2765 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
2766 these libraries.
2767
2768 2002-04-23 David O'Brien <obrien@FreeBSD.org>
2769
2770 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
2771
2772 Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
2773
2774 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
2775 workaround.
2776 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
2777 (ix86_expand_clrstr): Fix typo.
2778 * loop.c (gen_load_of_final_value): New.
2779 (loop_givs_rescan, strength_reduce, check_dbra_loop):
2780 Use it.
2781
2782 2002-04-23 Roger Sayle <roger@eyesopen.com>
2783
2784 * builtins.c (builtin_memset_gen_str): New function.
2785 (expand_builtin_memset): Optimize the case of constant length, but
2786 unknown value.
2787
2788 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
2789
2790 * config/rs6000/altivec.h (vec_step): Remove extraneous
2791 parentheses.
2792 (vec_ctu): Cast return.
2793
2794 2002-04-23 Alan Modra <amodra@bigpond.net.au>
2795
2796 PR target/6413
2797 * function.h: (struct function): Add profile_label_no field.
2798 (current_function_profile_label_no): Define.
2799 * function.c: (profile_label_no): New static var.
2800 (expand_function_start): Increment it, and copy to
2801 current_function_profile_label_no.
2802 * output.h (profile_label_no): Delete.
2803 * final.c (profile_label_no): Delete.
2804 (profile_function): Use current_function_profile_label_no.
2805 (final_end_function): Don't increment profile_label_no here.
2806 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
2807 profile_label_no with current_function_profile_label_no.
2808 * config/pa/pa.c (current_function_number): Delete.
2809 (pa_output_function_prologue): Don't output profile label here.
2810 (hppa_profile_hook): Use label_no param rather than
2811 current_function_number.
2812 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
2813 * config/pa/pa.h: .. here.
2814 (FUNCTION_PROFILER): Output profile label here.
2815
2816 2002-04-22 Eric Christopher <echristo@redhat.com>
2817
2818 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
2819 patch of 2002-04-09 due to binutils issues.
2820 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
2821
2822 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
2823
2824 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
2825 constraint to 'o' for m=r and r=m alternatives.
2826 ("*movv8hi_internal1"): Same.
2827 ("*movv16qi_internal1"): Same.
2828 ("*movv4sf_internal1"): Same.
2829
2830 2002-04-22 Janis Johnson <janis187@us.ibm.com>
2831
2832 * rtl.h (RTX_FLAG): New macro.
2833 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
2834 * final.c (alter_subreg): Use macro to access rtx flag.
2835 * integrate.c (copy_rtx_and_substitute): Use new access macro.
2836 * print-rtl.c (print_rtx): Use new access macro.
2837
2838 * cse.c (insert): Check rtx code before accessing flag.
2839
2840 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
2841 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
2842 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
2843 convert_const_symbol_ref, make_canonical, make_alternative_compare,
2844 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
2845 simplify_test_exp, optimize_attrs, simplify_by_exploding,
2846 find_and_mark_used_attributes, unmark_used_attributes,
2847 add_values_to_cover, simplify_with_current_value,
2848 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
2849 copy_rtx_unchanging, main): Use new access macros.
2850
2851 2002-04-22 Tom Rix <trix@redhat.com>
2852
2853 * expmed.c (init_expmed): Generate shifted constant once.
2854
2855 2002-04-22 Zack Weinberg <zack@codesourcery.com>
2856
2857 * c-lex.c (lex_charconst): Call convert to get constant in
2858 proper type; don't just smash the type field.
2859 Fixes PR c/6300.
2860
2861 * config.gcc: Add list of obsolete configurations. Disallow
2862 building these without --enable-obsolete.
2863 * doc/install.texi: Document --enable-obsolete and obsoletion
2864 policy. Mention obsoletion of individual targets in
2865 appropriate places.
2866
2867 2002-04-22 Richard Henderson <rth@redhat.com>
2868
2869 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
2870
2871 2002-04-22 Mark Mitchell <mark@codesourcery.com>
2872
2873 PR f/6138.
2874 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
2875 (walk_fixup_memory_subreg): Likewise.
2876 (fixup_var_refs_insn): Adjust accordingly.
2877 (fixup_var_refs_1): Likewise.
2878
2879 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
2880
2881 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
2882 LIBPATH_ARCH64_SPEC): Define.
2883 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
2884 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
2885 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
2886 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
2887
2888 2002-04-22 Joel Sherrill <joel@OARcorp.com>
2889
2890 * gthr-rtems.h: Correct prototypes to remove warnings.
2891
2892 2002-04-22 Richard Henderson <rth@redhat.com>
2893
2894 PR c/6344
2895 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
2896
2897 * gcse.c (free_insn_expr_list_list): New.
2898 (clear_modify_mem_tables): Use it. Fix bit set usage.
2899 (canon_list_insert): Use EXPR_LISTs for expressions.
2900 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
2901
2902 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
2903
2904 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
2905 file change and include code to _cpp_pop_buffer.
2906 * cpphash.h (struct pending_option): Predeclare.
2907 (struct cpp_reader): New member next_include_file.
2908 (_cpp_pop_file_buffer): Update.
2909 (_cpp_push_next_buffer): Update, rename.
2910 * cppinit.c (cpp_destroy): Free include chain and pending here.
2911 (cpp_finish_options): Simplify.
2912 (_cpp_push_next_buffer): Rename and clean up.
2913 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
2914 Clarify.
2915 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
2916
2917 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
2918
2919 * config/rs6000/altivec.h (vec_xor): Add variant for both args
2920 being vector signed int.
2921 (vec_andc): Same.
2922 (vec_xor): Add variant for both args being vector signed char.
2923 Remove redundant variant.
2924 (vec_andc): Same.
2925
2926 2002-04-21 David S. Miller <davem@redhat.com>
2927
2928 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
2929 compare mode in output RTL.
2930
2931 2002-04-22 David Edelsohn <edelsohn@gnu.org>
2932
2933 * config/rs6000/rs6000.c (rs6000_override_options): Correct
2934 style and formatting of previous patch.
2935
2936 2002-04-22 Alan Modra <amodra@bigpond.net.au>
2937
2938 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
2939 flag_pic for ABI_AIX.
2940
2941 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
2942
2943 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
2944 * cppfiles.c (read_include_file): Similarly.
2945 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
2946 uxstrdup ustrchr, ufputs): Similarly.
2947 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
2948 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
2949 cpp_ideq, parse_identifier, parse_number): Similarly.
2950 * cpplib.c (struct directive, dequote_string, D, run_directive,
2951 cpp_push_buffer): Similarly.
2952 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
2953 _cpp_create_definition, check_trad_stringification,
2954 cpp_macro_definition): Similarly.
2955
2956 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
2957
2958 * cppmacro.c (funlike_invocation_p): Don't step back
2959 over CPP_EOF.
2960
2961 2002-04-21 David Edelsohn <edelsohn@gnu.org>
2962
2963 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
2964 labelno.
2965
2966 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
2967
2968 * doc/invoke.texi: Remove Chill references.
2969 * doc/gcc.texi: Update last modified date.
2970
2971 2002-04-20 Kazu Hirata <kazu@hxi.com>
2972
2973 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
2974 push and pop. Replace add.l with add.w.
2975
2976 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
2977
2978 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
2979 multiply instructions for H8/300H case.
2980
2981 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
2982
2983 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
2984 Bum three instructions from each routine.
2985
2986 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
2987
2988 * Makefile.in: Update.
2989 * decl.c (push_c_function_context, pop_c_function_context,
2990 mark_c_function_context): Rename for consistency.
2991 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
2992 * c-tree.h (push_c_function_context, pop_c_function_context,
2993 mark_c_function_context): Rename for consistency.
2994 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
2995 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
2996 * function.c (init_lang_status, save_lang_status,
2997 restore_lang_status, mark_lang_status, free_lang_status):
2998 Move to langhooks.h.
2999 (push_function_context_to, pop_function_context_from,
3000 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
3001 Update.
3002 * function.h (init_lang_status, save_lang_status,
3003 restore_lang_status, mark_lang_status, free_lang_status):
3004 Move to langhooks.h.
3005 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
3006 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
3007 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
3008 LANG_HOOKS_FUNCTION_INITIALIZER): New.
3009 (LANG_HOOKS_INITIALIZER): Update.
3010 (lhd_do_nothing_f): New.
3011 * langhooks.h (struct lang_hooks_for_functions): New.
3012 (struct lang_hooks): New hooks.
3013 * langhooks.c (lhd_do_nothing_f): New.
3014 objc:
3015 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
3016 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
3017
3018 2002-04-19 David S. Miller <davem@redhat.com>
3019
3020 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
3021 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
3022
3023 2002-04-19 Jakub Jelinek <jakub@redhat.com>
3024
3025 PR optimization/3756
3026 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
3027 x = ((int) y < 0) ? cst1 : cst2.
3028
3029 2002-04-19 Jakub Jelinek <jakub@redhat.com>
3030
3031 PR c/6358
3032 * function.c: Reapply patch for c/6358.
3033 (expand_function_end): Copy decl_rtl's mode, not
3034 current_function_return_rtx mode.
3035
3036 2002-04-19 Joel Sherrill <joel@OARcorp.com>
3037
3038 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
3039 targets.
3040
3041 2002-04-19 Tom Tromey <tromey@redhat.com>
3042
3043 * doc/install.texi (Specific): Update status of Solaris 2.8.
3044 For PR libgcj/6158.
3045
3046 2002-04-19 Andreas Schwab <schwab@suse.de>
3047
3048 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
3049 (PUT_REAL): Restore old definition.
3050
3051 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
3052 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3053
3054 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
3055 binutils 2.11.2 and higher generate smaller binaries than Sun's
3056 native tools.
3057
3058 2002-04-19 Mark Mitchell <mark@codesourcery.com>
3059
3060 PR c++/6352
3061 * toplev.c (rest_of_compilation): Do not defer functions for which
3062 TREE_SYMBOL_REFERENCED has already been set.
3063
3064 Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
3065
3066 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
3067 alternative.
3068
3069 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
3070
3071 * builtins.c: Include langhooks.h.
3072 (lang_type_promotes_to): Remove.
3073 (expand_builtin_va_arg): Use new hook.
3074 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
3075 (simple_type_promotes_to): Move to c-typeck.c.
3076 * c-common.h (simple_type_promotes_to): Remove.
3077 * c-decl.c (duplicate_decls, grokdeclarator): Update.
3078 * c-format.c: Include langhooks.h.
3079 (check_format_types): Update.
3080 * c-tree.h (c_type_promotes_to): New.
3081 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
3082 (type_lists_compatible_p): Update.
3083 * langhooks-def.h (lhd_type_promotes_to): New.
3084 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
3085 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
3086 * langhooks.c (lhd_type_promotes_to): New.
3087 * langhooks.h (struct lang_hooks_for_types): New hook.
3088 * tree.h (lang_type_promotes_to): Remove.
3089 objc:
3090 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
3091
3092 2002-04-18 Richard Henderson <rth@redhat.com>
3093
3094 * function.c: Revert patch for c/6358.
3095
3096 2002-04-18 Richard Henderson <rth@redhat.com>
3097
3098 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
3099 blocks. Handle multiple references to the TRAP block. Handle
3100 non-adjacent THEN and OTHER blocks.
3101
3102 2002-04-18 Richard Henderson <rth@redhat.com>
3103
3104 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
3105 crash with no type for by-mode libcalls.
3106
3107 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
3108
3109 2002-04-18 Bob Wilson <bob.wilson@acm.org>
3110
3111 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3112 __xtensa_nonlocal_goto): Use a syscall instructions to flush
3113 the register windows.
3114
3115 2002-04-18 Zack Weinberg <zack@codesourcery.com>
3116
3117 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
3118 appropriate. Document need for extended precision even when
3119 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
3120 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
3121 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
3122 instead of relying on later syntax error when REAL_WIDTH > 5.
3123 * real.c: Define NE based only on whether or not we have a
3124 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
3125 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
3126 define GET_REAL and PUT_REAL as simple memcpy operations; no
3127 need to byteswap or round.
3128 Use #error instead of #ifdef-ing out the entire file, for
3129 prompt error detection.
3130
3131 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
3132
3133 2002-04-18 David S. Miller <davem@redhat.com>
3134
3135 * config/sparc/sparc.h (BRANCH_COST): Define.
3136
3137 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
3138 does it.
3139
3140 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
3141
3142 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
3143 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
3144 propagate_block calls after relaxation loop using new variable
3145 stabilized_prop_flags.
3146
3147 2002-04-18 Richard Henderson <rth@redhat.com>
3148
3149 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
3150 (ia64_va_arg): Expect variable sized types by reference.
3151 * config/ia64/ia64-protos.h: Update.
3152 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
3153 ia64_function_arg_pass_by_reference.
3154
3155 2002-04-18 Richard Henderson <rth@redhat.com>
3156
3157 * ifcvt.c: Include except.h.
3158 (block_has_only_trap): Break out from find_cond_trap.
3159 (find_cond_trap): Use it. Always delete the trap block.
3160 (merge_if_block): Allow then block null. Be less simplistic about
3161 what insns can end a block.
3162 * Makefile.in (ifcvt.o): Depend on except.h.
3163
3164 * config/ia64/ia64.md (trap, conditional_trap): New.
3165
3166 2002-04-18 Jakub Jelinek <jakub@redhat.com>
3167
3168 PR c/6358
3169 * function.c (assign_parms): Assign hard current_function_return_rtx
3170 register here...
3171 (expand_function_end): ...not here.
3172
3173 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
3174
3175 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
3176 * c-tree.h (c_incomplete_type_error): New.
3177 * c-typeck.c (require_complete_type, build_component_ref): Update.
3178 (incomplete_type_error): Rename.
3179 * langhooks-def.h (lhd_incomplete_type_error): New.
3180 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
3181 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
3182 * langhooks.c (lhd_incomplete_type_error): New.
3183 * langhooks.h (struct lang_hooks_for_types): New hook.
3184 * tree.c (size_in_bytes): Use new hook.
3185 * tree.h (incomplete_type_error): Remove.
3186 objc:
3187 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
3188
3189 2002-04-18 Zack Weinberg <zack@codesourcery.com>
3190
3191 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
3192 TARGET_FLOAT_FORMAT blocks.
3193
3194 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3195
3196 * doc/install.texi (Downloading the source): Do not mention Chill
3197 any longer, but mention Ada.
3198 (Configuration): Do not mention Chill any longer.
3199
3200 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
3201
3202 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
3203
3204 Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
3205
3206 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
3207 in last patch.
3208
3209 2002-04-18 Jakub Jelinek <jakub@redhat.com>
3210
3211 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
3212 instead of unsigned_type.
3213
3214 Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
3215
3216 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
3217 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
3218 later.
3219
3220 2002-04-18 Bernd Schmidt <bernds@redhat.com>
3221
3222 * attribs.c (vector_type_node_list): New static variable.
3223 (handle_vector_size_attribute): Use it to avoid generating a
3224 new type node each time we are called.
3225
3226 * combine.c (subst): Avoid trying to make a vector mode subreg of
3227 an integer constant.
3228 (gen_lowpart_for_combine): Likewise.
3229
3230 2002-04-18 Roger Sayle <roger@eyesopen.com>
3231 Jakub Jelinek <jakub@redhat.com>
3232
3233 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
3234 for integer constant c (if x has unsigned type or sign bit is not
3235 set in c). This folds the zero/sign extension into the bit-wise and
3236 operation.
3237
3238 2002-04-18 Jakub Jelinek <jakub@redhat.com>
3239
3240 PR middle-end/6205
3241 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
3242 otherwise xorps.
3243
3244 2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
3245
3246 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
3247
3248 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
3249
3250 * gcc.c (read_specs): Detect and fail if an attempt is made to
3251 rename a spec string to an already existing string.
3252
3253 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
3254
3255 * config/s390/s390.c (legitimize_pic_address): Do not generate
3256 illegal address constant without CONST.
3257
3258 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3259
3260 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
3261 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
3262
3263 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
3264
3265 PR optimization/6305
3266 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
3267 to make sure previous reloads are taken into account. Generate
3268 better code if one operand is an in-range immediate constant.
3269
3270 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
3271
3272 * doc/install.texi (Building): libgcj requires GNU make.
3273
3274 2002-04-17 Jakub Jelinek <jakub@redhat.com>
3275
3276 PR bootstrap/6315
3277 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
3278 even if hard quad and register is not floating.
3279 (movtf reg<-mem split): Disallow splitting if hard quad and
3280 register is floating.
3281 (movtf mem<-reg split): Likewise.
3282 * config/sparc/sparc.c (fp_register_operand): New predicate.
3283 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
3284
3285 2002-04-17 Zack Weinberg <zack@codesourcery.com>
3286
3287 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
3288 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
3289 (unprotoize.o): Ditto. Build from protoize.c. Define
3290 UNPROTOIZE on command line.
3291 * protoize.c: Include cppdefault.h. Delete include_defaults.
3292 (in_system_include_dir): Use cpp_include_defaults (defined in
3293 cppdefault.o).
3294 * unprotoize.c: Delete file.
3295
3296 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
3297
3298 * config/rs6000/altivec.h (vec_ld): Add array variants.
3299 (vec_lde): Same.
3300 (vec_ldl): Same.
3301
3302 2002-04-17 Alan Matsuoka <alanm@redhat.com>
3303 Aldy Hernandez <aldyh@redhat.com>
3304
3305 * config/rs6000/altivec.h: Define __ALTIVEC__.
3306 (bool): New.
3307 (__pixel): New.
3308 (pixel): New.
3309 (vec_cfux): New.
3310 (vec_vmaddfp): New.
3311 (vec_vsldoi): New.
3312 Add parentheses to all macro arguments.
3313
3314 2002-04-16 Richard Henderson <rth@redhat.com>
3315
3316 PR c++/6320
3317 * except.c (remove_eh_handler): Insert inner regions at beginning
3318 of sibling chain. Refactor expressions.
3319
3320 2002-04-16 Richard Henderson <rth@redhat.com>
3321
3322 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
3323 * config/sparc/sol2-gas-bi.h: New file.
3324 * config.gcc (sparc*-solaris): Add it as needed.
3325 * configure.in (AS_SPARC64_FLAG): Remove check.
3326 * config.in, configure: Regenerate.
3327
3328 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
3329
3330 2002-04-16 Richard Henderson <rth@redhat.com>
3331
3332 * config/mips/mips.c (override_options): Don't override N32 for
3333 a 64-bit ISA.
3334
3335 PR 6202
3336 * config/mips/mips.md (can_delay): Split out of existing define_delays.
3337 (HILO_delay): Set can_delay false.
3338
3339 2002-04-16 Dale Johannesen <dalej@apple.com>
3340
3341 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
3342 instruction addresses.
3343 (rs6000_output_function_epilogue): Likewise.
3344
3345 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
3346
3347 * c-parse.in (poplevel, compstmt_start,
3348 compstmt_primary_start): Add ending ';', in accordance
3349 with POSIX.
3350
3351 2002-04-16 Richard Henderson <rth@redhat.com>
3352
3353 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
3354 Adjust tm_file order to get TARGET_DEFAULT set properly.
3355 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
3356 * doc/install.texi (sparc-solaris): Update.
3357
3358 2002-04-16 Dale Johannesen <dalej@apple.com>
3359
3360 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
3361 comparison operands do not match each other or if modes of
3362 conditions do not match result.
3363
3364 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
3365
3366 PR target/6305
3367 * config/s390/s390.md (mulsidi3): Set both subregs of the
3368 multiword register.
3369
3370 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
3371
3372 * config/rs6000/altivec.h (vec_addc): Type check.
3373
3374 2002-04-16 Jakub Jelinek <jakub@redhat.com>
3375
3376 PR middle-end/6279
3377 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
3378
3379 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
3380
3381 2002-04-15 Richard Henderson <rth@redhat.com>
3382
3383 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
3384 call_really_used_regs too.
3385
3386 2002-04-15 Richard Henderson <rth@redhat.com>
3387
3388 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
3389
3390 2002-04-15 David S. Miller <davem@redhat.com>
3391
3392 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
3393 as being CLOBBERed.
3394
3395 2002-04-16 Jakub Jelinek <jakub@redhat.com>
3396
3397 PR c/6290
3398 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
3399 CONST_VECTOR is { 0, ... 0 }.
3400
3401 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
3402
3403 * doc/install.texi (Installing GCC: Configuration): Clarify
3404 the only supported ways to configure gcc.
3405
3406 2002-04-15 Roland McGrath <roland@frob.com>
3407
3408 * config.gcc (alpha*-*-gnu*): New target configuration.
3409 * config/alpha/gnu.h: New file for it.
3410 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
3411
3412 2002-04-16 Mark Mitchell <mark@codesourcery.com>
3413
3414 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
3415 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
3416 * tree.h (expand_start_stmt_expr): Update prototype.
3417 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
3418 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
3419 on the STMT_EXPR created for the inline function.
3420
3421 2002-04-15 Richard Henderson <rth@redhat.com>
3422
3423 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
3424 config/i386/linux-aout.h, config/i386/linux-oldld.h,
3425 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
3426 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
3427 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
3428 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
3429 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
3430 Define __gnu_linux__, not gnu_linux.
3431 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
3432
3433 2002-04-15 Mark Mitchell <mark@codesourcery.com>
3434
3435 Remove Chill front end.
3436 * gcc.c (default_compilers): Remove Chill entries.
3437 * ch: Remove directory.
3438 * doc/frontends.texi: Remove information about Chill.
3439 * doc/sourcebuild.texi: Likewise.
3440 * doc/standards.texi: Likewise.
3441
3442 2002-04-15 Douglas B Rupp <rupp@gnat.com>
3443
3444 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
3445 (LONGLONG_STANDALONE): Define.
3446
3447 2002-04-15 David S. Miller <davem@redhat.com>
3448
3449 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
3450 Call emit_library_call with LCT_NORMAL.
3451 (sparc_initialize_trampoline): Use LCT_foo instead of
3452 magic constant in emit_library_call invocations.
3453 (sparc64_initialize_trampoline): Likewise.
3454 (sparc_profile_hook): Likewise.
3455 * config/sparc/sparc.md: Likewise.
3456
3457 * config/sparc/sparc.c (sparc_extra_constraint_check):
3458 Fix type of argument 'c'.
3459 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
3460 Likewise.
3461
3462 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3463
3464 * diagnostic.h (output_buffer_state): Redefine.
3465 (output_format_decoder): New macro.
3466 (output_prefixing_rule): Likewise.
3467 (output_line_cutoff): Likewise.
3468 (diagnostic_format_decoder): Adjust.
3469 (diagnostic_prefixing_rule): Likewise.
3470 (diagnostic_line_cutoff): Likewise.
3471 (diagnostic_state): Likewise.
3472 (diagnostic_kind_count): Likewise.
3473 (diagnostic_buffer): Now a macro.
3474
3475 * diagnostic.c (diagnostic_buffer): Remove definition.
3476 (output_is_line_wrapping): Adjust.
3477 (set_real_maximum_length): Likewise.
3478 (output_set_maximum_length): Likewise.
3479 (init_output_buffer): Likewise.
3480 (lhd_print_error_function): Likewise.
3481 (output_do_verbatim): Likewise.
3482
3483 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
3484
3485 * cpperror.c (print_location): Don't print include chain
3486 if line == 0.
3487 (cpp_begin_message): Update to use DL_ macros.
3488 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
3489 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
3490 cpp_notice, cpp_notice_from_errno): Remove.
3491 (cpp_error, cpp_error_with_line): Update to take a diagnostic
3492 level.
3493 (cpp_errno): New.
3494 * cppexp.c (CPP_ICE): Remove.
3495 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
3496 lex, integer_overflow, _cpp_parse_expr): Update.
3497 * cppfiles.c (read_include_file, find_include_file,
3498 handle_missing_header, _cpp_read_file, remap_filename): Update.
3499 * cpphash.h (enum error_type): Remove.
3500 (_cpp_begin_message): Update.
3501 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
3502 cpp_handle_option, cpp_post_options): Update.
3503 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
3504 skip_whitespace, parse_identifier, parse_slow, parse_string,
3505 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
3506 cpp_interpret_charconst): Update.
3507 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
3508 lex_macro_node, do_undef, glue_header_name, parse_include,
3509 do_include_common, read_flag, do_line, do_linemarker, do_ident,
3510 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
3511 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
3512 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
3513 _cpp_pop_buffer, do_diagnostic): Update.
3514 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
3515 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
3516 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
3517 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
3518 cpp_notice, cpp_notice_from_errno): Remove.
3519 (cpp_error, cpp_error_with_line): Update to take a diagnostic
3520 level.
3521 (cpp_errno): New.
3522 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
3523 collect_args, enter_macro_context, save_parameter, parse_params,
3524 _cpp_create_definition, check_trad_stringification,
3525 cpp_macro_definition): Update.
3526 * cppmain.c (cpp_preprocess_file): Update.
3527 * fix-header.c (read_scan_file): Update.
3528
3529 2002-04-14 Andreas Schwab <schwab@suse.de>
3530
3531 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
3532
3533 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
3534
3535 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
3536
3537 2002-04-13 Mark Mitchell <mark@codesourcery.com>
3538
3539 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
3540 not gnu_hurd.
3541
3542 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
3543
3544 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
3545
3546 2002-04-13 Joel Sherrill <joel@OARcorp.com>
3547
3548 * config/sparc/t-elf: Enable v8 multilibs. Impacts
3549 sparc-elf and sparc-rtems targets.
3550
3551 2002-04-13 Mark Mitchell <mark@codesourcery.com>
3552
3553 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
3554 defined, and __gnu_hurd__ wherever __GNU__ is defined.
3555 * arm/linux-elf.h: Likewise.
3556 * cris/aout.h: Likewise.
3557 * cris/linux.h: Likewise.
3558 * i370/linux.h: Likewise.
3559 * i386/gnu.h: Likewise.
3560 * i386/linux-aout.h: Likewise.
3561 * i386/linux-oldld.h: Likewise.
3562 * i386/linux.h: Likewise.
3563 * i386/linux64.h: Likewise.
3564 * ia64/linux.h: Likewise.
3565 * m68k/linux-aout.h: Likewise.
3566 * m68k/linux.h: Likewise.
3567 * mips/linux.h: Likewise.
3568 * pa/pa-linux.h: Likewise.
3569 * pj/linux.h: Likewise.
3570 * rs6000/sysv4.h: Likewise.
3571 * s390/linux.h: Likewise.
3572 * sh/linux.h: Likewise.
3573 * sparc/linux-aout.h: Likewise.
3574 * sparc/linux.h: Likewise.
3575 * sparc/linux64.h: Likewise.
3576 * xtensa/linux.h: Likewise.
3577
3578 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
3579
3580 * stmt.c (check_unique_operand_names): Expect operand names to
3581 be strings rather than identifiers. Use simple_cst_equal to
3582 compare them.
3583 (resolve_operand_name_1): Make same identifier to string change here.
3584 * c-parse.in (asm_operand): Convert a named operand into a string.
3585 * cp/parse.y (asm_operand): Likewise.
3586
3587 2002-04-13 Andreas Schwab <schwab@suse.de>
3588
3589 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
3590
3591 2002-04-12 Mark Mitchell <mark@codesourcery.com>
3592
3593 Revert these changes:
3594
3595 2002-04-06 Mark Mitchell <mark@codesourcery.com>
3596
3597 PR c++/5571
3598 * stor-layout.c (layout_decl): Reset the RTL for the decl.
3599
3600 2002-04-12 Richard Henderson <rth@redhat.com>
3601
3602 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
3603 (sparc*-*-solaris): Clean up header files.
3604 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
3605 and plan on generating 64-bit code.
3606 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
3607 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
3608 * config/sparc/sol2-sld-64.h: Rename ...
3609 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
3610 for AS_SPARC64_FLAG not defined.
3611 * config/sparc/sol2-gld-bi.h: New.
3612 * config/sparc/sol2-sld.h: Remove.
3613 * config/sparc/sol26-sld.h: New.
3614 * config/sparc/sol2.h: Tidy comments.
3615 * doc/install.texi: Document sparc-solaris configury changes.
3616
3617 2002-04-12 Richard Henderson <rth@redhat.com>
3618
3619 * recog.c (offsettable_address_p): Match the logic in adjust_address.
3620
3621 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
3622 in 64-bit mode only. Use only for 32-bit or MEDLOW.
3623
3624 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3625
3626 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
3627
3628 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
3629
3630 * pa.c (pa_can_combine_p): Call extract_insn before calling
3631 constrain_operands.
3632
3633 2002-04-12 Douglas B Rupp <rupp@gnat.com>
3634
3635 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
3636 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
3637 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
3638 (CPP_PREDEFINES): Handle __declspec.
3639 * config/i386/t-interix (USER_H): Remove.
3640
3641 2002-04-12 DJ Delorie <dj@redhat.com>
3642
3643 * integrate.c (compare_blocks): Make comparisons safe for when
3644 sizeof(int) < sizeof(char *).
3645 (find_block): Likewise.
3646
3647 2002-04-12 Jan Hubicka <jh@suse.cz>
3648 David Edelsohn <edelsohn@gnu.org>
3649
3650 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
3651 registers.
3652 (symbol_ref_operand): New.
3653 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
3654 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
3655
3656 2002-04-12 Andreas Schwab <schwab@suse.de>
3657
3658 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
3659 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
3660 overrides the definition in config/svr4.h.
3661
3662 2002-04-12 Eric Norum <eric.norum@usask.ca>
3663
3664 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
3665 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
3666 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
3667 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
3668 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
3669 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
3670 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
3671 definitions to config/rtems.h and make the targets more similar.
3672
3673 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3674
3675 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
3676 POINTERS_EXTEND_UNSIGNED.
3677 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
3678 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
3679
3680 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
3681 not specified.
3682
3683 Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
3684
3685 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
3686 depends on TARGET_SHMEDIA, not TARGET_SH5.
3687
3688 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
3689
3690 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
3691 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
3692
3693 Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
3694
3695 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
3696 no r0 clobber.
3697
3698 2002-04-12 Andreas Schwab <schwab@suse.de>
3699
3700 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
3701
3702 2002-04-12 Richard Henderson <rth@redhat.com>
3703
3704 PR bootstrap/4191
3705 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
3706
3707 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
3708 modes spanning multiple hard regs.
3709
3710 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
3711
3712 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
3713
3714 * pa.c (pa_output_function_prologue): Don't accumulate the total
3715 number of code bytes when using TARGET_64BIT, or gas, SOM and not
3716 the portable runtime.
3717 (output_deferred_plabels): Handle 64bit plabels.
3718 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
3719 generating pic code using the GAS assembler for object formats that
3720 are not SOM (ie., ELF32 and ELF64).
3721 (output_millicode_call): Check attribute type if attribute length is 28.
3722 Likewise use $PIC_pcrel$0. Only call get_attr_length and
3723 dbr_sequence_length once.
3724 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
3725 dbr_sequence_length once.
3726 * pa.h (TARGET_SOM): Define if not defined.
3727 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
3728 with GAS and not SOM.
3729 (jump, call_internal_reg, call_value_internal_reg): Likewise.
3730 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
3731
3732 2002-04-11 David O'Brien <obrien@FreeBSD.org>
3733
3734 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
3735 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
3736 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
3737 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
3738 elfos.h and dbxelf.h values are fine now.
3739 * config/i386/freebsd.h, config/alpha/freebsd.h
3740 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
3741
3742 2002-04-11 David O'Brien <obrien@FreeBSD.org>
3743
3744 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
3745 or set Acpu or Amachine. Reformat.
3746 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
3747 define.
3748 (LINK_SPEC): Do not need to undef.
3749 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
3750 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
3751 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
3752 define.
3753 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
3754 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
3755 (LINK_SPEC): Do not need to undef.
3756 (DONT_USE_BUILTIN_SETJMP): Do not define.
3757 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
3758 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
3759 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
3760 Remove trailing spaces.
3761 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
3762 __ELF__, or set Acpu or Amachine. Reformat.
3763 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
3764 define.
3765
3766 2002-04-11 David O'Brien <obrien@FreeBSD.org>
3767
3768 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
3769 all other *-*-freebsd* targets.
3770
3771 2002-04-11 Richard Henderson <rth@redhat.com>
3772
3773 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
3774
3775 2002-04-11 David O'Brien <obrien@FreeBSD.org>
3776
3777 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
3778 Include {cpu}/{cpu}.h thru tm_file.
3779 (alpha*-*-linux*ecoff): Remove target.
3780 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
3781 (LINK_SPEC): Remove, is not OS independent.
3782 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
3783 (LINK_SPEC): Do not need to #undef any longer.
3784 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
3785 any longer.
3786 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
3787 __ELF__.
3788 (LINK_SPEC): Moved here from alpha/elf.h.
3789 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
3790 SUB_CPP_PREDEFINES.
3791 * config/alpha/linux-ecoff.h: Remove.
3792 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
3793 (CPP_SPEC): Define _POSIX_SOURCE as needed.
3794 (CPP_SUBTARGET_SPEC): Do not define.
3795 (LINK_SPEC): Do not need to #undef any longer.
3796 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
3797 * config/alpha/vms.h: Likewise.
3798
3799 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
3800
3801 * doc/extend.texi: Remove old claim that typedefs cannot have
3802 an alignment attribute.
3803
3804 2002-04-11 Jakub Jelinek <jakub@redhat.com>
3805
3806 PR optimization/6177
3807 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
3808 bitpos is 0 and bitsize CONCAT size.
3809
3810 2002-04-11 Jakub Jelinek <jakub@redhat.com>
3811
3812 PR c/6223
3813 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
3814
3815 2002-04-10 David O'Brien <obrien@FreeBSD.org>
3816
3817 * config/alpha/freebsd.h: Minor reformatting.
3818 (CPP_SPEC): Define ELF and add cpp_subtarget.
3819 (ASM_SPEC): No longer needed.
3820
3821 2002-04-11 Richard Henderson <rth@redhat.com>
3822
3823 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
3824 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
3825 (dimode mem/zero splitter): New.
3826
3827 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
3828
3829 * config/cris/cris.c (cris_override_options): Tweak error message
3830 for PIC not implemented.
3831
3832 * config/cris/cris.h: Tweak comments related to parameter-passing.
3833
3834 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
3835
3836 2002-04-10 Richard Henderson <rth@redhat.com>
3837
3838 * except.c (add_ehl_entry): Allow duplicates after landing pad
3839 creation.
3840
3841 2002-04-10 David Edelsohn <edelsohn@gnu.org>
3842
3843 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
3844
3845 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
3846
3847 * c-decl.c (c_init_decl_processing): Move generation of
3848 decls for g77_integer_type_node and friends from here ...
3849 * c-common.c (c_common_nodes_and_builtins): ... to here.
3850
3851 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
3852
3853 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
3854 is only used as frame pointer when frame_pointer_needed is true.
3855
3856 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
3857
3858 PR target/817
3859 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
3860 for the fact that the pool entry uses two words.
3861 (movdf_hard_insn): Similarly. Also, ADR instruction can span
3862 1k bytes.
3863 (movdf_soft_insn): Similarly.
3864 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
3865 for the fact that the pool entry uses three words.
3866
3867 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
3868
3869 * config/mips/mips.c (mips_va_arg): When using the struct version
3870 of the EABI va_list, allow arguments in the register save area to
3871 take up less room than a stack argument.
3872
3873 2002-04-10 Richard Henderson <rth@redhat.com>
3874
3875 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
3876 if EXPAND_INITIALIZER.
3877
3878 2002-04-09 Richard Henderson <rth@redhat.com>
3879
3880 * config/alpha/alpha.md (movdi_er_maybe_g): New.
3881 * config/alpha/alpha.c (alpha_expand_mov): Use it.
3882
3883 2002-04-10 Alan Modra <amodra@bigpond.net.au>
3884
3885 PR optimization/6233
3886 * rtlanal.c (pure_call_p): New function.
3887 * rtl.h (pure_call_p): Declare.
3888 * loop.c (prescan_loop): Use it to set has_nonconst_call.
3889 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
3890
3891 2002-04-09 Eric Christopher <echristo@redhat.com>
3892
3893 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
3894 information to .comm directive.
3895
3896 2002-04-09 Richard Henderson <rth@redhat.com>
3897
3898 PR c/5078
3899 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
3900
3901 2002-04-09 Richard Henderson <rth@redhat.com>
3902
3903 * basic-block.h (flow_delete_block_noexpunge): Declare.
3904 (expunge_block_nocompact): Declare.
3905 * cfg.c (expunge_block_nocompact): Split out from ...
3906 (expunge_block): ... here.
3907 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
3908 (flow_delete_block_noexpunge): Split out from ...
3909 (flow_delete_block): ... here.
3910 * cfgcleanup.c (delete_unreachable_blocks): Compact while
3911 removing dead blocks.
3912 * except.c (exception_handler_labels): Remove.
3913 (exception_handler_label_map): New.
3914 (struct eh_region): Add aka member.
3915 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
3916 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
3917 (for_each_eh_label, for_each_eh_label_1): New.
3918 (init_eh): Register exception_handler_label_map.
3919 (free_eh_status): Use free_region.
3920 (find_exception_handler_labels): Use the map, not the list.
3921 (remove_exception_handler_label): Likewise.
3922 (maybe_remove_eh_handler): Likewise.
3923 (remove_eh_handler): Use the region aka bitmap.
3924 * except.h (exception_handler_labels): Remove.
3925 (for_each_eh_label): Declare.
3926 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
3927 * loop.c (invalidate_loops_containing_label): New.
3928 (find_and_verify_loops): Use it. Use for_each_eh_label.
3929 * sched-rgn.c (is_cfg_nonregular): Use
3930 current_function_has_exception_handlers.
3931
3932 2002-04-09 Richard Henderson <rth@redhat.com>
3933
3934 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
3935 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
3936 Do not return changed status.
3937 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
3938 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
3939 New functions that do return changed status.
3940 * sbitmap.h: Update decls.
3941 * gcse.c, lcm.c: Use _cg functions as needed.
3942
3943 Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
3944
3945 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
3946 (sh64-*-elf*, sh-*-rtemself*): Likewise.
3947 * config/sh/embed_bb.c: New file.
3948 * config/sh/embed-elf.h: New file.
3949 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
3950 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
3951 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
3952 __PTRDIFF_TYPE__ .
3953 (SUBTARGET_CPP_PTR_SPEC): Don't define.
3954 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
3955 Add subtarget_asm_endian_spec.
3956 (ASM_SPEC): Use subtarget_asm_endian_spec.
3957 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
3958 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
3959 (WCHAR_UNSIGNED): Define.
3960 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
3961 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
3962 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
3963 Fix value.
3964 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
3965 (sh_adjust_cost): Likewise.
3966 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
3967 __PTRDIFF_TYPE__ .
3968 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
3969 (WCHAR_TYPE_SIZE): Likewise.
3970 (ASM_SPEC): Use subtarget_asm_endian_spec.
3971 (SH_ELF_WCHAR_TYPE): #undef/ #define.
3972 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
3973 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
3974 (MAX_WCHAR_TYPE_SIZE): Don't #define .
3975 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
3976 (USER_LABEL_PREFIX): Don't #undef /#define .
3977 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
3978 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
3979 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
3980 (ASM_SPEC): Likewise.
3981 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
3982 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
3983 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
3984 (LIB2FUNCS_EXTRA): Define.
3985 * t-sh64 (LIB2FUNCS_EXTRA): Define.
3986 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
3987 (LIB1ASMFUNCS_CACHE): Define.
3988 (LIB2FUNCS_EXTRA): Redefine empty.
3989
3990 2002-04-08 Richard Henderson <rth@redhat.com>
3991
3992 * reorg.c (get_branch_condition): Use reversed_comparison_code.
3993
3994 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3995
3996 * config/m68hc11/larith.asm (__map_data_section): Fix condition
3997 and optimize for size.
3998 (__do_global_ctors): Fix pointer comparison.
3999 (__do_global_dtors): Likewise.
4000
4001 2002-04-09 David S. Miller <davem@redhat.com>
4002
4003 * config/sparc/sparc.c (sparc_extra_constraint_check): New
4004 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
4005 allow reloading pseudos.
4006 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
4007 * config/sparc/sparc-protos.h: Declare it.
4008
4009 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
4010 unsigned comparison warning.
4011 (output_restore_regs): Mark leaf_function as unused.
4012
4013 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4014
4015 * expr.c (is_aligning_offset): New function.
4016 (expand_expr, case COMPONENT_EXPR): Call it.
4017
4018 2002-04-08 David S. Miller <davem@redhat.com>
4019
4020 PR target/6082
4021 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
4022
4023 Make init_priority work on Sparc when using GNU ld.
4024 * config/sparc/linux.h, config/sparc/linux64.h,
4025 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
4026 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
4027 * config/sparc/sol2-gld.h: New file to do the same.
4028 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
4029 sparc/sol2-gld.h to tm_file.
4030
4031 PR optimization/4328
4032 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
4033 * doc/md.texi: Document it.
4034 * config/sparc/sparc.md (movdi_insn_sp64_novis,
4035 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
4036 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
4037 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
4038 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
4039
4040 2002-04-08 Andreas Jaeger <aj@suse.de>
4041
4042 * stmt.c (expand_asm_operands): Revert last patch from Richard
4043 Henderson.
4044
4045 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4046
4047 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
4048 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
4049
4050 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4051
4052 * doc/contrib.texi (Contributors): Add David O'Brien.
4053
4054 2002-04-08 Alan Modra <amodra@bigpond.net.au>
4055
4056 * configure.in (auto-build.h): Use target_alias and build_alias
4057 when running configure.
4058 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
4059 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
4060 * configure: Regenerate.
4061
4062 2002-04-07 David S. Miller <davem@redhat.com>
4063
4064 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
4065
4066 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
4067
4068 PR 5933
4069 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
4070 generating 32-bit pic code.
4071
4072 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
4073
4074 * cppinit.c (cpp_create_reader): Initialize
4075 discard_comments_in_macro_exp.
4076 (COMMAND_LINE_OPTIONS): Add "-CC" option.
4077 (cpp_handle_option): Handle "-CC" option.
4078 * cpplex.c (save_comment): If saving a C++ comment in
4079 a directive, convert it to a C comment.
4080 (_cpp_lex_direct): Pass second comment start character to
4081 save_comment to indicate comment type.
4082 * cpplib.c (_cpp_handle_directive): If processing
4083 a "#define" directive and discard_comments_in_macro_exp
4084 is false, re-enable saving of comments.
4085 (lex_macro_node): If discard_comments_in_macro_exp is false,
4086 discard any comments before the macro identifier.
4087 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
4088 member.
4089 * cppmacro.c (cpp_get_token): If expanding a macro while
4090 processing a directive, discard any comments we might encounter.
4091 (parse_params): If discard_comments_in_macro_exp is false,
4092 ignore comments in the macro parameter list.
4093 * gcc.c (cpp_unique_options): Add "-CC" option.
4094 (option_map): Map "--comments-in-macros" to "-CC".
4095 * doc/cppopts.texi: Document "-CC" option.
4096 * f/lang-specs.h: Add "-CC" option.
4097 * testsuite/gcc.dg/cpp/maccom1.c: New test.
4098 * testsuite/gcc.dg/cpp/maccom2.c: New test.
4099 * testsuite/gcc.dg/cpp/maccom3.c: New test.
4100 * testsuite/gcc.dg/cpp/maccom4.c: New test.
4101 * testsuite/gcc.dg/cpp/maccom5.c: New test.
4102 * testsuite/gcc.dg/cpp/maccom6.c: New test.
4103
4104 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
4105
4106 PR middle-end/6180
4107 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
4108
4109 2002-04-06 Mark Mitchell <mark@codesourcery.com>
4110
4111 PR c++/5571
4112 * stor-layout.c (layout_decl): Reset the RTL for the decl.
4113
4114 PR opt/5120
4115 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
4116 RTX_UNCHANGING_P for the functions arguments when a tail call
4117 is made.
4118
4119 2002-04-06 Jason Merrill <jason@redhat.com>
4120
4121 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
4122 (parse_options_and_default_flags): Set them appropriately.
4123 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
4124
4125 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
4126
4127 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
4128 here.
4129
4130 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
4131 semicolon.
4132
4133 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
4134 types come in by-reference. Fix typo in comment.
4135
4136 2002-04-05 David S. Miller <davem@redhat.com>
4137
4138 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
4139 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
4140 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
4141 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
4142
4143 2002-04-05 David S. Miller <davem@redhat.com>
4144
4145 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
4146 are not going to emit return instructions, emit at least a nop
4147 for the sake of sane backtraces.
4148
4149 2002-04-05 Richard Henderson <rth@redhat.com>
4150
4151 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
4152
4153 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
4154
4155 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
4156
4157 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
4158
4159 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
4160 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
4161 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
4162
4163 2002-04-05 Andreas Schwab <schwab@suse.de>
4164
4165 * c-convert.c: Include c-common.h.
4166 * Makefile.in (c-convert.o): Updated.
4167
4168 2002-04-05 Jakub Jelinek <jakub@redhat.com>
4169
4170 * mklibgcc.in: Use separate libgcc.map for each multilib.
4171 * Makefile.in (distclean): Don't remove libgcc.map here.
4172
4173 2002-04-05 Jakub Jelinek <jakub@redhat.com>
4174
4175 * Makefile.in (s-mlib): Handle --disable-multilib by separate
4176 genmultilib invocation.
4177
4178 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
4179
4180 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
4181 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
4182 to num_gprs for symmetry.
4183 * config/mips/mips.c: Adjust accordingly.
4184
4185 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
4186
4187 * c-common.c (truthvalue_conversion): Rename, update.
4188 * c-common.h (c_common_truthvalue_conversion): New.
4189 * c-convert.c (convert): Update.
4190 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4191 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
4192 * c-typeck.c (build_binary_op, build_unary_op,
4193 build_conditional_expr): Update.
4194 * fold-const.c (constant_boolean_node, fold): Use langhook.
4195 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
4196 * langhooks.h (struct lang_hooks): New hook.
4197 * stmt.c (expand_decl_cleanup): Use langhook.
4198 * tree.h (truthvalue_conversion): Remove.
4199 objc:
4200 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
4201
4202 2002-04-05 Alan Modra <amodra@bigpond.net.au>
4203
4204 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
4205 Add rules to make null object file.
4206
4207 2002-04-04 Jim Blandy <jimb@redhat.com>
4208
4209 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
4210 macro formal parameter names.
4211
4212 2002-04-04 David S. Miller <davem@redhat.com>
4213
4214 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
4215
4216 2002-04-04 Richard Henderson <rth@redhat.com>
4217
4218 PR middle-end/5099
4219 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
4220 Support copies into and out of memory. Don't accept allows_reg
4221 and allows_mem as gospel.
4222
4223 2002-04-04 Richard Henderson <rth@redhat.com>
4224
4225 PR opt/6165
4226 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
4227 (write_dependence_p): Likewise.
4228
4229 2002-04-04 Richard Henderson <rth@redhat.com>
4230
4231 * predict.c (estimate_bb_frequencies): Do frequency calculation
4232 with a volatile temporary.
4233
4234 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
4235
4236 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
4237
4238 2002-04-04 Jakub Jelinek <jakub@redhat.com>
4239
4240 PR c++/6119
4241 * final.c (final_start_function): Don't bump profile_label_no here...
4242 (final_end_function): ...but here.
4243
4244 2002-04-04 Jakub Jelinek <jakub@redhat.com>
4245
4246 * config/sparc/sparc.md (pic): New attribute.
4247 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
4248 into stack slots.
4249 (split after do_builtin_setjmp_setup): New.
4250
4251 2002-04-04 Jakub Jelinek <jakub@redhat.com>
4252
4253 PR fortran/6106
4254 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
4255 change.
4256
4257 2002-04-04 Jakub Jelinek <jakub@redhat.com>
4258
4259 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
4260 UNITS_PER_WORD for zero sized aggregates.
4261
4262 2002-04-03 David S. Miller <davem@redhat.com>
4263
4264 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
4265 one-character spec for this, just use %(link_gcc_c_sequence).
4266
4267 2002-04-03 David S. Miller <davem@redhat.com>
4268
4269 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
4270 handling.
4271
4272 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
4273
4274 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
4275 (DWARF_FRAME_RETURN_COLUMN): Move.
4276 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
4277 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
4278 * pa.c (except.h, predict.h): Include.
4279 (FRP): Delete.
4280 (store_reg_modify, set_reg_plus_d): Revise prototypes.
4281 (output_ascii): Add cast.
4282 (store_reg_modify): Revise to add frame notes.
4283 (set_reg_plus_d): Likewise.
4284 (compute_frame_size): Include space for eh data registers in frame if
4285 the current function calls eh_return.
4286 (hppa_expand_prologue): Ensure register %r2 is saved if the current
4287 function calls eh_return. Save eh data registers if the current
4288 function calls eh_return. Fix code to add frame notes. Emit
4289 blockage to prevent insns with frame notes being scheduled in the
4290 delay slot of calls.
4291 (hppa_expand_epilogue): Restore eh data registers and do final stack
4292 adjustment if the current function calls eh_return. Don't add frame
4293 notes.
4294 (output_call): Revise for change in length of call insn. Don't do
4295 return pointer adjustment for an unconditional jump in the delay slot
4296 of a call when using frame notes.
4297 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
4298 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
4299 (ARG_POINTER_CFA_OFFSET): Define.
4300 * pa.md (return_external_pic): New pattern.
4301 (prologue): Correct formatting. Use return_external_pic if current
4302 function calls eh_return.
4303 (call_internal_symref, call_value_internal_symref,
4304 sibcall_internal_symref, sibcall_value_internal_symref): Change default
4305 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
4306 respectively.
4307 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
4308
4309 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
4310 list of targets to check using "nop" insn.
4311 * configure: Rebuilt.
4312
4313 2002-04-04 Alan Modra <amodra@bigpond.net.au>
4314
4315 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
4316
4317 2002-04-03 David S. Miller <davem@redhat.com>
4318
4319 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
4320 library sequence passed to the linker.
4321 (LINK_COMMAND_SPEC): Use it.
4322 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
4323 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
4324 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
4325
4326 2002-04-03 Jason Merrill <jason@redhat.com>
4327
4328 * except.c (struct eh_status): Remove protect_list.
4329 (begin_protect_partials, end_protect_partials): Remove.
4330 (add_partial_entry): Remove.
4331 * except.h: Remove prototypes.
4332
4333 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
4334 expand_decl_cleanup_eh.
4335
4336 PR c++/5636
4337 * tree.h (CLEANUP_EH_ONLY): New macro.
4338 * stmt.c (expand_decl_cleanup_eh): New fn.
4339 (expand_cleanups): Check CLEANUP_EH_ONLY.
4340 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
4341 Use expand_decl_cleanup_eh.
4342 (expand_stmt): Adjust.
4343 * c-common.h: Adjust prototype.
4344
4345 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
4346
4347 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
4348 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
4349 (cris_target_asm_function_epilogue): Ditto.
4350 (cris_initial_frame_pointer_offset): Ditto.
4351 (cris_simple_epilogue): Ditto.
4352 (cris_expand_builtin_va_arg): Variable-size types come in
4353 by-reference.
4354
4355 2002-04-03 David S. Miller <davem@redhat.com>
4356
4357 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
4358 little-endian.
4359 (set_fast_math): Correct 'fsr' type.
4360
4361 2002-04-03 Richard Henderson <rth@redhat.com>
4362
4363 PR opt/3569
4364 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
4365 * toplev.c (check_global_declarations): Use it.
4366 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
4367 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
4368 (LANG_HOOKS_DECLS): Add it.
4369 * langhooks.c (lhd_warn_unused_global_decl): New.
4370 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
4371 * c-objc-common.c (c_warn_unused_global_decl): New.
4372 * c-tree.h (c_warn_unused_global_decl): Declare.
4373 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
4374
4375 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
4376
4377 * langhooks-def.h (lhd_set_decl_assembler_name,
4378 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
4379 (LANG_HOOKS_INITIALIZER): Update.
4380 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
4381 * langhooks.h (struct lang_hooks): New hook.
4382 * tree.c (set_decl_assembler_name): Move to langhooks.c.
4383 (lang_set_decl_assembler_name): Remove.
4384 (init_obstacks): Don't set hook.
4385 (decl_assembler_name): New function.
4386 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
4387 (decl_assembler_name): New.
4388 (lang_set_decl_assembler_name): Remove.
4389
4390 2002-04-03 Jakub Jelinek <jakub@redhat.com>
4391
4392 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
4393 works properly with .hidden symbols.
4394 * configure: Rebuilt.
4395 * config.in: Rebuilt.
4396 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
4397 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
4398 properly with .hidden symbols.
4399
4400 2002-04-03 Jakub Jelinek <jakub@redhat.com>
4401
4402 PR middle-end/6102
4403 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
4404 USE argument.
4405
4406 2002-04-03 Richard Henderson <rth@redhat.com>
4407
4408 PR opt/4120
4409 * sched-rgn.c (sets_likely_spilled): New.
4410 (sets_likely_spilled_1): New.
4411 (add_branch_dependences): Use it.
4412
4413 2002-04-02 Richard Henderson <rth@redhat.com>
4414
4415 PR opt/4311
4416 * loop.h (LOOP_FIRST_PASS): New.
4417 * loop.c (strength_reduce): Mind it when deciding to unroll.
4418 * toplev.c (rest_of_compilation): Set it.
4419
4420 2002-04-02 David S. Miller <davem@redhat.com>
4421
4422 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
4423 mems_ok_for_ldd_peep when the order of the loads being examined
4424 is reversed.
4425 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
4426 existing comment to increase comprehension of this situation.
4427
4428 2002-04-02 Zack Weinberg <zack@codesourcery.com>
4429
4430 * config/sh/sh.md: Don't use union real_extract.
4431
4432 2002-04-02 Richard Henderson <rth@redhat.com>
4433
4434 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
4435
4436 2002-04-02 David O'Brien <obrien@FreeBSD.org>
4437
4438 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
4439 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
4440 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
4441 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
4442 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
4443 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
4444 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
4445 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
4446 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
4447 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
4448 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
4449 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
4450 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
4451 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
4452 Include as many configury headers via tm_file as possible. This
4453 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
4454 * config/openbsd-oldgas.h: New file.
4455 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
4456 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
4457 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
4458 config/i386/i386-coff.h, config/i386/i386-interix.h,
4459 config/i386/iscdbx.h, config/i386/linux-aout.h,
4460 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
4461 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
4462 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
4463 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
4464 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
4465 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
4466 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
4467 config/i386/vxi386.h: Do not directly include configury headers.
4468 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
4469 Directly include configury headers that are no longer automatically
4470 included by the above headers.
4471 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
4472 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
4473 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
4474 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
4475 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
4476 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
4477 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
4478 (TARGET_VERSION): Define.
4479 * config/i386/beos-elf.h, config/i386/freebsd.h,
4480 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
4481 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
4482 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
4483 config/i386/sco5.h, config/i386/sysv4.h
4484 (TARGET_VERSION): Do not need to protect.
4485 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
4486 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
4487 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
4488 config/i386/i386-interix.h, config/i386/linux-aout.h,
4489 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
4490 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
4491 (YES_UNDERSCORES): Do not define - not needed.
4492 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
4493 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
4494 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
4495 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
4496 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
4497 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
4498 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
4499 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
4500
4501 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
4502 Richard Henderson <rth@redhat.com>
4503
4504 PR c/5484
4505 * function.c (assign_temp): Accept either type or decl argument.
4506 Detect variables whose size is too large to fit into an integer.
4507 * stmt.c (expand_decl): Pass the decl, not the type.
4508
4509 2002-04-02 David O'Brien <obrien@FreeBSD.org>
4510
4511 * protoize.c: Match include directory usage with cppdefault.c.
4512
4513 2002-04-03 Jeffrey A Law (law@redhat.com)
4514 Hans-Peter Nilsson <hp@bitrange.com>
4515
4516 * combine.c (simplify_comparison): Avoid narrowing a comparison
4517 with a paradoxical subreg when doing so would drop signficant bits.
4518
4519 2002-04-02 Steve Ellcey <sje@cup.hp.com>
4520
4521 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
4522 if POINTERS_EXTEND_UNSIGNED is defined.
4523
4524 2002-04-02 Richard Henderson <rth@redhat.com>
4525
4526 PR opt/3967
4527 * local-alloc.c (contains_replace_regs): LO_SUM may contain
4528 replace regs.
4529
4530 2002-04-02 Richard Henderson <rth@redhat.com>
4531
4532 * doc/standards.texi: Document required freestanding libc entry points.
4533
4534 2002-04-02 Alan Modra <amodra@bigpond.net.au>
4535
4536 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
4537 associated splitter. Remove MQ constraint.
4538 (ctrdi_internal4): Correct CCmode clobber.
4539
4540 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4541
4542 * milli64.S ($$dyncall): New function.
4543 * t-linux (LIB1ASMFUNCS): Revise module list.
4544 (LIB1ASMSRC): Use pa/milli64.S.
4545
4546 2002-04-02 Richard Henderson <rth@redhat.com>
4547
4548 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
4549 rename solaris_sys_varargs_h.
4550
4551 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4552
4553 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
4554 the same mode as its component.
4555
4556 2002-04-02 Richard Henderson <rth@redhat.com>
4557
4558 PR opt/190
4559 * final.c (this_is_asm_operands): Export.
4560 * output.h (this_is_asm_operands): Declare.
4561 * config/i386/i386.c (print_operand): Error odd asm operands.
4562
4563 2002-04-02 Richard Henderson <rth@redhat.com>
4564
4565 PR opt/420
4566 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
4567
4568 2002-04-01 Richard Henderson <rth@redhat.com>
4569
4570 PR target/1538
4571 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
4572 * fixinc/fixincl.x: Rebuild.
4573
4574 2002-04-01 Richard Henderson <rth@redhat.com>
4575
4576 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
4577 (atomic_alloc, atomic_free): New.
4578 (SIZE, MASK_FOR, PTR_IN): New.
4579 (emergency_reg_state, emergency_reg_state_free): New.
4580 (emergency_labeled_state, emergency_labeled_state_free): New.
4581 (reg_state_alloced, labeled_state_alloced): New.
4582 (alloc_reg_state, free_reg_state): New.
4583 (alloc_label_state, free_label_state, free_label_states): New.
4584 (push, pop, dup_state_stack, free_state_stack): Use them.
4585 (desc_label_state): Likewise.
4586 (uw_frame_state_for): Free label states and state stack.
4587 (uw_update_reg_address): Eliminate warnings.
4588
4589 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
4590
4591 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
4592 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
4593
4594 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4595
4596 * c-decl.c (grokdeclarator): Update.
4597 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4598 * c-tree.h (c_mark_addressable): New.
4599 * c-typeck.c (default_function_array_conversion, build_unary_op,
4600 build_array_ref, convert_for_assignment): Update.
4601 (mark_addressable): Rename.
4602 * calls.c (try_to_integrate, expand_call): Use langhook.
4603 * expr.c (expand_expr): Use langhook.
4604 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
4605 * langhooks.h (struct lang_hooks): New hook.
4606 * stmt.c (expand_asm_operands): Use langhook.
4607 * tree.h (mark_addressable): Remove.
4608 objc:
4609 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
4610
4611 2002-04-01 Bob Wilson <bob.wilson@acm.org>
4612
4613 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
4614 in previous change.
4615
4616 2002-04-01 Bob Wilson <bob.wilson@acm.org>
4617
4618 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
4619 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
4620
4621 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4622
4623 * c-common.c (unsigned_conversion_warning, convert_and_check,
4624 unsigned_type, signed_type, shorten_compare,
4625 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
4626 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
4627 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
4628 New.
4629 * c-decl.c (grokdeclarator): Update.
4630 * c-format.c (check_format_types): Update.
4631 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4632 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4633 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
4634 * convert.c (convert_to_integer): Use new hooks.
4635 * expmed.c (make_tree): Use new hooks.
4636 * expr.c (store_expr): Use new hooks.
4637 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
4638 all_ones_mask_p, unextend, fold): Use new hooks.
4639 * langhooks.h (struct lang_hooks_for_types): New hooks.
4640 * tree.h (signed_or_unsigned_type, signed_type,
4641 unsigned_type): Remove.
4642 objc:
4643 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
4644 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
4645
4646 2002-03-31 Richard Henderson <rth@redhat.com>
4647
4648 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
4649 (desc_frgr_mem): Fix reference to f16-f31.
4650
4651 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4652
4653 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
4654 RTVEC_ELT): Const-ify.
4655 * varray.h (VARRAY_CHECK): Const-ify.
4656 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
4657 ggc_mark_rtvec, ggc_mark): Const-ify.
4658
4659 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
4660
4661 * diagnostic.c: Include langhooks-def.h.
4662 * Makefile.in (diagnostic.o): Update.
4663
4664 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4665
4666 * c-common.c (c_unsafe_for_reeval): Rename.
4667 * c-common.h (c_unsafe_for_reeval): Rename.
4668 * c-decl.c (finish_incomplete_decl): Rename.
4669 (c_init_decl_processing): Don't set langhook.
4670 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
4671 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
4672 * c-objc-common.c (c_objc_common_init): Don't set langhook.
4673 * c-tree.h (finish_incomplete_decl): Rename.
4674 * langhooks-def.h (lhd_unsafe_for_reeval): New.
4675 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
4676 (LANG_HOOKS_INITIALIZER): Update.
4677 * langhooks.c (lhd_unsafe_For_reeval): New.
4678 * langhooks.h (struct langhooks): New hooks.
4679 * toplev.c (incomplete_decl_finalize_hook): Remove.
4680 (wrapup_global_declarations): Update.
4681 * tree.c (lang_unsafe_for_reeval): Remove.
4682 (unsafe_for_reeval): Update.
4683 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
4684 Remove.
4685 objc:
4686 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
4687 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
4688
4689 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
4690
4691 * diagnostic.c (print_error_function): Remove.
4692 (default_print_error_function): Rename.
4693 (report_error_function): Update.
4694 * diagnostic.h (print_error_function): Remove.
4695 (default_print_error_function): Remove.
4696 * langhooks-def.h (struct diagnostic_context): Predeclare.
4697 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
4698 (LANG_HOOKS_INITIALIZER): Update.
4699 * langhooks.h (struct diagnostic context): Predeclare.
4700 (struct lang_hooks): New hook.
4701
4702 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4703
4704 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
4705 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
4706 !flag_pic.
4707 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
4708 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
4709 of PIC_OFFSET_TABLE_REGNUM thruout.
4710 * config/rs6000/rs6000.md: Likewise.
4711 * config/rs6000/darwin.h: Likewise.
4712
4713 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4714
4715 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
4716 unsigned HOST_WIDE_INT, not unsigned int.
4717
4718 2002-03-31 Jakub Jelinek <jakub@redhat.com>
4719
4720 PR middle-end/6096, middle-end/6098, middle-end/6099
4721 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
4722 CODE_LABELs.
4723 (fill_slots_from_thread): Likewise.
4724
4725 2002-03-31 Jakub Jelinek <jakub@redhat.com>
4726
4727 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
4728 floating fields in float regs.
4729 (function_arg_record_value_2): Likewise.
4730
4731 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
4732
4733 * config/mmix/mmix.md (define_constants): Remove misleading
4734 FIXME. Add MMIX_fp_rO_OFFSET.
4735 ("nonlocal_goto_receiver"): Don't have stack-frame address of
4736 saved rO as part of the pattern. Remove FIXME.
4737 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
4738 here, at output-time.
4739
4740 2002-03-31 Jakub Jelinek <jakub@redhat.com>
4741
4742 PR middle-end/6100
4743 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
4744 REG_BR_PRED.
4745 (output_v9branch): Likewise.
4746
4747 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
4748
4749 * gcc.c: Revert previous patch for now.
4750 * config/i386/djgpp.h: Likewise.
4751
4752 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
4753
4754 * config/mmix/crti.asm (_init): Register _fini with atexit.
4755 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
4756
4757 2002-03-31 Richard Henderson <rth@redhat.com>
4758
4759 PR target/3997
4760 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
4761 (ASM_OUTPUT_DEF_FROM_DECLS): New.
4762
4763 2002-03-31 Richard Henderson <rth@redhat.com>
4764
4765 * libgcc2.c (__bb_exit_func): Make static.
4766
4767 * config/alpha/alpha.md (trap): New.
4768
4769 2002-03-31 Richard Henderson <rth@redhat.com>
4770
4771 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
4772 promoted argument types; build trap.
4773 (expand_builtin_trap): New.
4774 (expand_builtin): Use it.
4775 * stmt.c (expand_nl_goto_receivers): Likewise.
4776 * expr.h (expand_builtin_trap): Declare.
4777 * libfuncs.h (LTI_abort, abort_libfunc): New.
4778 * optabs.c (init_optabs): Init abort_libfunc.
4779
4780 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
4781
4782 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
4783 (LINK_COMMAND_SPEC): ... from here.
4784 (init_gcc_specs): Duplicate it here too, omitting
4785 shared_name in the second copy.
4786 (init_spec): Test for duplicate
4787 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
4788
4789 2002-03-30 David S. Miller <davem@redhat.com>
4790
4791 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
4792 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
4793
4794 2002-03-30 Roger Sayle <roger@eyesopen.com>
4795 Richard Henderson <rth@redhat.com>
4796
4797 * regmove.c (combine_stack_adjustments_for_block): Avoid
4798 emitting a stack adjustment of zero bytes. Let delete_insn
4799 update bb->head.
4800
4801 2002-03-30 Richard Henderson <rth@redhat.com>
4802
4803 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
4804 (sparc_emitting_epilogue): New.
4805 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
4806 * config/sparc/sparc-protos.h: Update.
4807 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
4808 (TARGET_SWITCHES): Update.
4809 * config/sparc/sparc.md (return): Remove.
4810 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
4811 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
4812 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
4813 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
4814 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
4815 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
4816 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
4817 Remove MASK_EPILOGUE.
4818 * doc/invoke.texi: Update.
4819
4820 2002-03-30 Daniel Berlin <dan@dberlin.org>
4821
4822 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
4823 CPP will start the file for us.
4824
4825 2002-03-30 Richard Henderson <rth@redhat.com>
4826
4827 PR target/5446
4828 * config/ia64/ia64.c (group_barrier_needed_p): Special case
4829 prologue_allocate_stack.
4830 (ia64_single_set): Use insn codes for recognition of special
4831 cases, not rtl matching.
4832 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
4833
4834 Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
4835
4836 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
4837
4838 2002-03-30 Richard Henderson <rth@redhat.com>
4839
4840 PR target/6032
4841 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
4842 or -fomit-frame-pointer with profiling.
4843 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4844 (FUNCTION_PROFILER): Do nothing.
4845 (PROFILE_HOOK): New.
4846 * config/sparc/sparc.c (sparc_override_options): Don't check
4847 code models for profiling.
4848 (sparc_function_profiler): Remove.
4849 (sparc_profile_hook): New.
4850 * config/sparc/sparc-protos.h: Update.
4851
4852 2002-03-30 Jakub Jelinek <jakub@redhat.com>
4853
4854 PR optimization/6086
4855 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
4856 of SUBREG of volatile MEM or because the MEM was mode dependent,
4857 return CLOBBER instead of unmodified SUBREG.
4858
4859 Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
4860
4861 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
4862 when not optimizing.
4863
4864 * toplev.c (rest_of_compilation): Cann mark_constant_function
4865 only when optimizing.
4866
4867 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
4868 are NULL.
4869
4870 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
4871 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
4872 (try_optimize_cfg): clear all AUX fields.
4873
4874 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
4875 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
4876 (ix86_address_cost): Be prepared for SUBREGed registers.
4877 (legitimate_address_p): Accept SUBREGed registers.
4878
4879 2002-03-29 Richard Henderson <rth@redhat.com>
4880
4881 PR target/5672
4882 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
4883
4884 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4885
4886 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
4887 for aggregate and TFmode types.
4888
4889 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
4890
4891 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
4892
4893 2002-03-29 Richard Henderson <rth@redhat.com>
4894
4895 PR target/5886
4896 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
4897 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
4898
4899 2002-03-29 Richard Henderson <rth@redhat.com>
4900
4901 PR target/6041
4902 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
4903 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
4904 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
4905 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
4906 conditional.
4907 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
4908
4909 2002-03-29 Dale Johannesen <dalej@apple.com>
4910
4911 * loop.c (combine_movables): Do allow combination of pseudos.
4912
4913 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
4914
4915 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
4916 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
4917 No functional change except ...
4918 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
4919 * doc/install.texi (*-*-freebsd*): Document port configuration.
4920
4921 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
4922
4923 * Makefile.in (convert.o, calls.o, expmed.o): Update.
4924 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
4925 Use new hooks.
4926 * builtin-types.def (BT_PTRMODE): Update.
4927 * c-common.c (type_for_size): Rename c_common_type_for_size.
4928 (type_for_mode): Similarly.
4929 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
4930 Use new hook.
4931 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
4932 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
4933 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
4934 Redefine.
4935 * c-typeck.c (common_type, comptypes, default_conversion):
4936 Use new hooks.
4937 * calls.c: Include langhooks.h.
4938 (emit_library_call_value_1): Use new hooks. Avoid redundant
4939 calls.
4940 * convert.c: Include langhooks.h
4941 (convert_to_pointer, convert_to_integer): Use new hooks.
4942 * except.c (init_eh): Similarly.
4943 * expmed.c: Include langhooks.h.
4944 (expand_mult_add): Use new hooks.
4945 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
4946 try_casesi): Similarly.
4947 * fold-const.c (optimize_bit_field_compare, make_range,
4948 decode_field_reference, fold_truthop, fold): Similarly.
4949 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
4950 put_var_into_stack): Similarly.
4951 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
4952 LANG_HOOKS_TYPE_FOR_SIZE): New.
4953 (LANG_HOOKS_TYPES_INITIALIZER): Update.
4954 * langhooks.h (lang_hooks_for_types): New hooks.
4955 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
4956 * tree.c (get_unwidened, get_narrower): Similarly.
4957 * tree.h (type_for_mode, type_for_size): Remove.
4958 * varasm.c (force_const_mem): Use new hooks.
4959 * utils2.c (nonbinary_modular_operation): Update.
4960 objc:
4961 * objc-act.c (handle_impent): Update.
4962 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
4963 Redefine.
4964
4965 2002-03-29 Steve Ellcey <sje@cup.hp.com>
4966
4967 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
4968 * config/ia64/ia64.c (basereg_operand): New.
4969 * config/ia64/ia64-protos.h (basereg_operand): Declare.
4970 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
4971
4972 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
4973
4974 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
4975 unwind information when frame_pointer_needed.
4976 (mmix_assemble_integer): Tweak wording in comment.
4977
4978 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
4979
4980 * Makefile.in (except.o): Update.
4981 * except.c: Include langhooks.h.
4982 (init_eh): Use langhook.
4983 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
4984 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
4985 (LANG_HOOKS_INITIALIZER): Update.
4986 * langhooks.h (lang_hooks_for_types): New.
4987 (struct lang_hooks): Add it.
4988 * tree.c (make_lang_type_fn, make_lang_type): Remove.
4989 * tree.h (make_lang_type_fn, make_lang_type): Remove.
4990 config:
4991 * alpha/alpha.c: Include langhooks.h.
4992 (alpha_build_va_list): Use langhook.
4993 * d30v/d30v.c: Include langhooks.h.
4994 (d30v_build_va_list): Use langhook.
4995 * i386/i386.c: Include langhooks.h.
4996 (ix86_build_va_list): Use langhook.
4997 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
4998 * s390/s390.c: Include langhooks.h.
4999 (s390_build_va_list): Use langhook.
5000 * stormy16/stormy16.c: Include langhooks.h.
5001 (stormy16_build_va_list): Use langhook.
5002
5003 2002-03-29 Jakub Jelinek <jakub@redhat.com>
5004
5005 PR c++/5964
5006 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
5007 attributes.
5008 (length): Compute variable length for branches/calls/jumps here.
5009 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
5010 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
5011 define branch_type attribute.
5012 (divsi3_sp32): Maximum length is 6 not 7.
5013 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
5014 call_address_untyped_struct_value_sp32,
5015 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
5016 * config/sparc/sparc.c (empty_delay_slot): New function.
5017 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
5018 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
5019
5020 2002-03-29 Jakub Jelinek <jakub@redhat.com>
5021
5022 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
5023 nonzero_bits if not needed.
5024 (nonzero_bits) [XOR]: Likewise.
5025 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
5026 reg_last_set_mode and mode are both MODE_INT, but not equal.
5027 (record_value_for_reg): Compute reg_last_set_nonzero_bits
5028 in nonzero_bits_mode for MODE_INT modes.
5029
5030 2002-03-28 Richard Henderson <rth@redhat.com>
5031
5032 PR target/5715
5033 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
5034 to GAS. Correct drift between alternatives.
5035
5036 2002-03-28 Richard Henderson <rth@redhat.com>
5037
5038 PR target/6087
5039 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
5040
5041 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
5042
5043 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
5044 emulation to the linker.
5045
5046 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
5047
5048 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
5049 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
5050
5051 Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
5052
5053 * combine.c (simplify_and_const_int): Make sure to apply mask
5054 when force_to_mode returns a constant integer. PR3311.
5055
5056 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
5057
5058 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
5059
5060 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5061
5062 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
5063 and Objective-C Dialect Options.
5064
5065 2002-03-28 Richard Henderson <rth@redhat.com>
5066
5067 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
5068 comparison should be done vs !=0 not >0 return code. Tidy cases.
5069
5070 2002-03-28 Richard Henderson <rth@redhat.com>
5071
5072 * c-decl.c (finish_function): New arg can_defer_p. Pass it
5073 on to c_expand_body.
5074 * c-tree.h (finish_function): Update decl.
5075 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
5076
5077 Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
5078
5079 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
5080
5081 Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
5082
5083 * rtlanal.c: Include flags.h
5084 (may_trap_p): Do not mark FP operations if trapping
5085 if !flag_trapping_math
5086 * Makefile.in (rtlanal.o): Add dependency on flag.h
5087 * ifcvt.c (noce_operand_ok): Avoid the lameness.
5088
5089 2002-03-27 Zack Weinberg <zack@codesourcery.com>
5090
5091 * mips.md: Use dconst1, not 1.0, as first argument of
5092 REAL_VALUE_LDEXP. Don't use union real_extract.
5093
5094 2002-03-28 Alan Modra <amodra@bigpond.net.au>
5095
5096 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
5097 rather than $target. Heed program_prefix and
5098 program_transform_name. Search for gas in cross-compiler case too.
5099 "test -x" rather than "test -f".
5100 (gcc_cv_ld): Likewise.
5101 (gcc_cv_nm): Heed program_prefix and program_transform_name.
5102 (gcc_cv_objdump): Likewise.
5103 * configure: Regenerate.
5104
5105 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
5106
5107 * Makefile.in (attribs.o): Update.
5108 * attribs.c: Include langhooks.h.
5109 (decl_attributes): Use langhook.
5110 * c-decl.c (insert_default_attributes): Rename.
5111 * c-tree.h (c_insert_default_attributes): New.
5112 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
5113 (LANG_HOOKS_INITIALIZER): Update.
5114 * langhooks.h (struct lang_hooks): New hook.
5115 * tree.h (insert_default_attributes): Remove.
5116 objc:
5117 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
5118
5119 2002-03-27 Andreas Schwab <schwab@suse.de>
5120
5121 * config/i386/i386.c (classify_argument): Also check for
5122 QUAL_UNION_TYPE.
5123
5124 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5125
5126 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
5127 any more.
5128
5129 Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
5130
5131 * i960.md (ret): Set PC.
5132 (nonlocal_goto): Fix expander.
5133 * builtins.c (epxand_builin_longjmp): Check that we've emitted
5134 some jump or call.
5135
5136 Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
5137
5138 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
5139 of libcall regions.
5140
5141 Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5142
5143 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
5144 assigning to BLOCK_FOR_INSN directly.
5145
5146 Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
5147
5148 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
5149
5150 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
5151
5152 * c-common.c (c_expand_expr): Fix prototype.
5153 * c-common.h (c_expand_expr): Always declare, update.
5154 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
5155 * c-objc-common.c (c_objc_common_init): No global hook.
5156 * expr.c (expand_expr): Use langhook.
5157 * expr.h (enum expand_modifier): Conditionally declare.
5158 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
5159 (LANG_HOOKS_INITIALIZER): Update.
5160 * langhooks.c (lhd_expand_expr): New.
5161 * langhooks.h (struct lang_hooks): New hook.
5162 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
5163 (lang_independent_init): Don't default hook.
5164 objc:
5165 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
5166
5167 2002-03-27 Richard Henderson <rth@redhat.com>
5168
5169 PR target/6054
5170 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
5171 TARGET_CONST_GP. Simplify conditions.
5172
5173 2002-03-27 Richard Henderson <rth@redhat.com>
5174
5175 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
5176 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
5177 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
5178
5179 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
5180
5181 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
5182 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
5183 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
5184 Remove unnecessary masks.
5185 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
5186 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
5187 -mwindows, -mdll switches and their negations.
5188
5189 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
5190
5191 * gcc-common.c (lang_mark_false_label_stack): Remove.
5192 * ggc.h (lang_mark_false_label_stack): Similarly.
5193
5194 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
5195
5196 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
5197
5198 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
5199 or __rtems_ is defined.
5200
5201 2002-03-26 Richard Henderson <rth@redhat.com>
5202
5203 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
5204 if a non-trivial load was emitted.
5205 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
5206 in high+extra+low case.
5207
5208 2002-03-26 Richard Henderson <rth@redhat.com>
5209
5210 * config.gcc (sparc*-solaris): Use float_format=sparc.
5211
5212 2002-03-26 Richard Henderson <rth@redhat.com>
5213
5214 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
5215 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
5216 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
5217 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
5218 (WINT_TYPE_SIZE): Fix at 32.
5219
5220 2002-03-26 Richard Henderson <rth@redhat.com>
5221
5222 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
5223 until after eh landing pad generation.
5224 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
5225 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
5226
5227 2002-03-26 Richard Henderson <rth@redhat.com>
5228
5229 * expr.h (ADD_PARM_SIZE): One more convert for INC.
5230
5231 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
5232
5233 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
5234 and warning switches.
5235 (cc1_options): Likewise.
5236
5237 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
5238
5239 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
5240 Restore more of the signal context. Set no_reg_stack_frame.
5241 * config/ia64/unwind-ia64.c (unw_state_record):
5242 Add no_reg_stack_frame, comments.
5243 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
5244 (uw_update_context): Adjust bsp when unwinding from leaf,
5245 but not signal frame.
5246
5247 2002-03-26 David Edelsohn <edelsohn@gnu.org>
5248
5249 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
5250
5251 2002-03-26 Bob Wilson <bob.wilson@acm.org>
5252
5253 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
5254
5255 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
5256
5257 PR target/5621
5258 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
5259 "Add a pool_range attribute", which was lost during the ARM/Thumb
5260 merge.
5261
5262 2002-03-26 Bob Wilson <bob.wilson@acm.org>
5263
5264 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
5265 a register into the MAC16 accumulator.
5266
5267 2002-03-26 Andrew Cagney <ac131313@redhat.com>
5268
5269 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
5270 (Warning Options): Document -Wswitch-enum.
5271 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
5272 -Wswitch.
5273 (warn_switch_enum): Define variables.
5274 * flags.h (warn_switch_enum): Declare variables.
5275 * stmt.c (expand_end_case_type): When warn_switch_enum /
5276 -Wswitch-enum, perform switch checks.
5277 Fix PR c/5044.
5278
5279 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
5280
5281 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
5282 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
5283 (reload_muladdsi_compare0_scratch): Delete.
5284
5285 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
5286
5287 * doc/install.texi (*-*-freebsd*): Update.
5288
5289 2002-03-26 Richard Henderson <rth@redhat.com>
5290
5291 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
5292 (SUB_PARM_SIZE): Cast DEC to ssizetype.
5293
5294 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
5295 types from the normal argument frame.
5296
5297 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
5298 variable sized objects by reference.
5299 (sparc_va_arg): Receive them by reference too.
5300
5301 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
5302
5303 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
5304 code to not restoring global registers.
5305
5306 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
5307
5308 * Makefile.in (ggc-common.o): Update.
5309 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
5310 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
5311 * c-tree.h (c_mark_tree): New.
5312 * ggc-common.c: Include langhooks.h.
5313 (gcc_mark_trees): Use new langhook.
5314 * ggc-callbacks.c: Delete file.
5315 * ggc.h (lang_mark_tree): Remove.
5316 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
5317 (LANG_HOOKS_INITIALIZER): Update.
5318 * langhooks.h (struct lang_hooks): New hook.
5319 objc:
5320 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
5321
5322 2002-03-25 Zack Weinberg <zack@codesourcery.com>
5323
5324 * doc/cpp.texi: Exclude entire Top node from printed manual.
5325 Move option index after directive index. Insert page breaks
5326 before GFDL and concept index. Index environment variables
5327 with command line options.
5328 * doc/cppenv.texi: Use @vtable for environment variable list.
5329 Add paragraph explaining semantics of empty elements in path
5330 variables. Exclude a cross-reference to Fishkill from the
5331 manpage. Remove an unnecessary cross-reference of the entry
5332 right above the referer. Don't use @anchor in text that goes
5333 into manpage.
5334 * doc/cppopts.texi: Cross-reference the environment variables
5335 section, not the specific environment variable, for consistency.
5336
5337 2002-03-25 Richard Henderson <rth@redhat.com>
5338
5339 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
5340 anywhere in the block. Don't refer to insns that have been
5341 removed from the chain. Iterate backward through the new insns.
5342 Don't refer to edges that have been removed.
5343
5344 2002-03-26 Alan Modra <amodra@bigpond.net.au>
5345
5346 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
5347 test for overflow of constant.
5348
5349 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
5350
5351 PR target/2623
5352 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
5353 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
5354 these patterns on arm_archv4.
5355
5356 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
5357
5358 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
5359 int".
5360
5361 2002-03-25 Zack Weinberg <zack@codesourcery.com>
5362
5363 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
5364 float_handled, float_handler, float_signal, set_float_handler,
5365 and do_float_handler. Set handler for SIGFPE to crash_signal.
5366 * toplev.h: Don't prototype do_float_handler.
5367
5368 * c-lex.c: Fold parse_float into lex_number. Make warning
5369 about portability of hex float constants more informative, and
5370 don't issue it on top of a syntax error.
5371 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
5372 their callers.
5373 * real.h: Define REAL_VALUE_ABS here...
5374 * simplify-rtx.c: ... not here. Fold check_fold_consts,
5375 simplify_unary_real, simplify_binary_real, and
5376 simplify_binary_is2orm1 into their callers.
5377 * tree.c: Fold build_real_from_int_cst_1 into caller.
5378
5379 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
5380
5381 * tsystem.h: Include float.h here...
5382 * libgcc2.c: ... not here.
5383
5384 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
5385
5386 Fixes for: PR bootstrap/3591, target/5676
5387 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
5388 defined. Do not disable exceptions or rtti.
5389 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
5390 mcore.h. Disable exceptions and rtti, since they are not
5391 supported by EPOC.
5392
5393 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
5394
5395 * c-decl.c (maybe_build_cleanup): Remove.
5396 * expr.c (expand_expr): Use langhook.
5397 * langhooks-def.h (lhd_return_null_tree,
5398 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
5399 (LANGHOOKS_INITIALIZER): Update.
5400 * langhooks.c (lhd_return_null_tree): New.
5401 * langhooks.h (struct lang_hooks): New hook.
5402 * tree-inline.c (initialize_inlined_parameters): Use langhook.
5403 * tree.h (maybe_build_cleanup): Remove.
5404
5405 2002-03-25 Jakub Jelinek <jakub@redhat.com>
5406
5407 * regrename.c (build_def_use): Move recog_memoized
5408 before extract_insn.
5409
5410 2002-03-25 Jakub Jelinek <jakub@redhat.com>
5411
5412 PR target/6043
5413 * expr.c (emit_group_store): Handle storing into CONCAT.
5414
5415 2002-03-25 Jakub Jelinek <jakub@redhat.com>
5416
5417 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
5418 corresponding MATCH_DUP.
5419
5420 2002-03-24 Richard Henderson <rth@redhat.com>
5421
5422 * unroll.c (unroll_loop): Zero label_map.
5423
5424 * gcse.c: Include except.h.
5425 * Makefile.in (gcse.o): Update.
5426
5427 2002-03-24 Richard Henderson <rth@redhat.com>
5428
5429 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
5430 Do resolve_unique_section before shared data clause.
5431
5432 2002-03-24 Richard Henderson <rth@redhat.com>
5433
5434 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
5435
5436 2002-03-24 Richard Henderson <rth@redhat.com>
5437
5438 * recog.c (peephole2_optimize): Split blocks when EH insns are
5439 generated in the middle of a block. Do global life update if
5440 zapped EH edges.
5441
5442 2002-03-24 Richard Henderson <rth@redhat.com>
5443
5444 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
5445
5446 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
5447
5448 preprocessor/3951
5449 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
5450 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
5451 (init_dependency_output): Don't make no_output decision here.
5452
5453 2002-03-24 Andrew Cagney <ac131313@redhat.com>
5454
5455 * stmt.c (check_for_full_enumeration_handling): Remove tests of
5456 warn_switch. Update description.
5457 (expand_end_case_type): Call check_for_full_enumeration_handling
5458 when warn_switch.
5459
5460 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5461
5462 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
5463 (m68hc11_split_move): Call it to see if the source and destination
5464 operands use the same direction auto inc/dec mode, otherwise make the
5465 source an offsetable memory operand and generate an add.
5466
5467 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5468
5469 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
5470 register for operand 2.
5471 ("*subsi3_zero_extendqi"): Likewise.
5472 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
5473 bits so that it is compatible with a pop.
5474 ("*andhi3_gen"): Likewise.
5475 ("xorhi3"): Likewise.
5476
5477 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
5478
5479 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
5480 -pedantic here...
5481 (cpp_post_options): ... not here.
5482
5483 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
5484 Aldy Hernandez <aldyh@redhat.com>
5485
5486 Removal of separate preprocessor cpp0.
5487
5488 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
5489 cpp0, install-common): Update.
5490 * c-common.c (flag_preprocess_only): New.
5491 (c_common_init): Preprocess for -E.
5492 * c-common.h (flag_preprocess_only): New.
5493 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
5494 * c-objc-common.c (c_init_decl_processing): Exit quickly
5495 for NULL return from c_common_init.
5496 * cpplib.h (cpp_preprocess_file): New.
5497 * cppmain.c (main, general_init, pfile, progname): Remove.
5498 (do_preprocessing): Rename cpp_preprocess_file, don't call
5499 cpp_finish. Don't close stdout here.
5500 (setup_callbacks): Update prototype.
5501 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
5502 Update.
5503 * tradcpp.c (main): Ignore -quiet.
5504 objc:
5505 * lang-specs.h (default_compilers): Preprocess with cc1obj.
5506
5507 2002-03-24 Richard Henderson <rth@redhat.com>
5508
5509 PR optimization/5742
5510 * machmode.def: Add inner mode field to complex modes.
5511 * config/mips/mips.c (mips_function_value): Always define. Add
5512 new argument to handle libcalls.
5513 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
5514 (FUNCTION_VALUE): Likewise.
5515 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
5516 * config/mips/mips-protos.h: Update.
5517
5518 2002-03-23 Richard Henderson <rth@redhat.com>
5519
5520 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
5521 * config/sparc/sparc-protos.h: Update.
5522 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
5523
5524 2002-03-23 Richard Henderson <rth@redhat.com>
5525
5526 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
5527 _start or _init begins the text segment.
5528
5529 2002-03-23 David Edelsohn <edelsohn@gnu.org>
5530
5531 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
5532 not HOST_WIDEST_INT.
5533 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
5534
5535 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
5536
5537 PR java/5489
5538 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
5539 operand argument to output_return_instruction.
5540 * arm.c (arm_print_operand, case 'd'): If the operand is
5541 const_true_rtx then just return.
5542 (arm_print_operand, case 'D'): If the operand is const_true_rtx
5543 then abort.
5544
5545 2002-03-23 Andrew Cagney <ac131313@redhat.com>
5546
5547 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
5548 (Warning Options): Document -Wswitch-default.
5549 * toplev.c (W_options): Add -Wswitch-default. Update comment on
5550 -Wswitch.
5551 (warn_switch_default): Define variable.
5552 (warn_switch): Update comment.
5553 * flags.h (warn_switch_default): Declare variable.
5554 (warn_switch): Update comment.
5555 * stmt.c (expand_end_case): Check for and, when
5556 warn_switch_no_default, warn of a missing default case.
5557
5558 2002-03-23 Alan Modra <amodra@bigpond.net.au>
5559
5560 * real.h (N): Special case 128 bit doubles.
5561
5562 * combine.c (simplify_comparison): When widening modes, ignore
5563 sign extension on CONST_INTs.
5564
5565 2002-03-22 Bob Wilson <bob.wilson@acm.org>
5566
5567 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
5568 passed to adjust_address. Fix comment formatting.
5569
5570
5571 2002-03-22 Zack Weinberg <zack@codesourcery.com>
5572
5573 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
5574 Always make REAL_VALUE_TYPE a struct containing an array of
5575 HOST_WIDE_INT, not a double. Tidy up the code deciding how
5576 big it is. Don't declare or use union real_extract.
5577
5578 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
5579 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
5580 (print_operand), config/arm/arm.c (output_move_double),
5581 config/arm/arm.md (consttable_4, consttable_8),
5582 config/romp/romp.c (output_fpops), config/s390/s390.h
5583 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
5584 (xtensa_output_literal): Don't use union real_extract.
5585
5586 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
5587 (sfmode_constant_to_ulong), config/ns32k/merlin.h
5588 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
5589 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
5590 (PRINT_OPERAND): Don't use local version of union
5591 real_extract.
5592
5593 * config/convex/convex.c (check_float_value), config/vax/vax.c
5594 (vax_float_literal), config/m88k/m88k.md (divdf3),
5595 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
5596 config/pdp11/pdp11.c (output_move_quad): Don't do host
5597 arithmetic on target floating point quantities.
5598
5599 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
5600 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
5601
5602 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
5603 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
5604
5605 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
5606 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
5607 INFINITY.
5608 * print-rtl.c (print_rtx): Disable code which needs
5609 floating-point emulator.
5610 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
5611 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
5612 depending on HOST_FLOAT_FORMAT to be defined properly.
5613
5614 * config/1750a/1750a.c (get_double, float_label): Delete.
5615 (print_operand): Delete huge commented-out chunk. Use
5616 REAL_VALUE_TO_DECIMAL.
5617 * config/1750a/1750a-protos.h: Delete prototypes of deleted
5618 functions.
5619 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
5620 IEEE_FLOAT_FORMAT.
5621 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
5622 Use REAL_VALUE_TO_DECIMAL as ELF version does.
5623 * config/m88k/m88k.c (real_power_of_2_operand,
5624 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
5625 real_extract out of the union; run the input through
5626 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
5627 from that into the union.
5628 * config/pdp11/pdp11.c (output_move_double): Rearrange
5629 parentheses to make automatic indenter happy.
5630
5631 * doc/tm.texi (Cross-compilation): Rename node to "Floating
5632 Point" and rewrite to describe current situation. Also adjust
5633 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
5634 match code.
5635 * doc/rtl.texi: Adjust cross reference.
5636
5637 2002-03-22 Bob Wilson <bob.wilson@acm.org>
5638
5639 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
5640 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
5641 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
5642 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
5643 prevent use of sp as a reload register.
5644 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
5645 non_acc_reg_operand.
5646 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
5647 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
5648 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
5649 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
5650
5651 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
5652
5653 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
5654 * cpplex.c (unterminated): Delete.
5655 (parse_string): No string literal may extend over multiple
5656 lines. Suppress the error when preprocessing assembly.
5657 * cppmain.c (scan_translation_unit): Strings are single-line.
5658
5659 * doc/cpp.texi: Update to match.
5660
5661 2002-03-22 Jakub Jelinek <jakub@redhat.com>
5662
5663 PR optimization/5854
5664 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
5665 Shut up warnings.
5666 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
5667 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
5668 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
5669 const0 if scratch register was not allocated.
5670 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
5671 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
5672 with GEN_INT (...).
5673 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
5674 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
5675 with GEN_INT (...) everywhere. Remove constraints in define_split
5676 patterns.
5677 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
5678 require scratch register for setting 0 into regs/non-pushable memory.
5679
5680 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
5681
5682 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
5683 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
5684
5685 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
5686
5687 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
5688 * cppinit.c (cpp_create_reader): On by default.
5689 (cpp_handle_option): Handle -W[no-]endif-labels.
5690 (cpp_post_options): Also enable if -pedantic.
5691 * cpplib.c (do_else): Use it.
5692 (do_endif): Likewise.
5693 * doc/cppopts.texi: Document new option.
5694 * doc/invoke.texi: Document new option.
5695
5696 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
5697
5698 * config/i386/i386.c, config/i386/i386.md: Change all occurences
5699 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
5700
5701 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
5702
5703 * flow.c (calculate_global_regs_live): Clear aux fields of
5704 ENTRY and EXIT.
5705
5706 2002-03-22 Jakub Jelinek <jakub@redhat.com>
5707
5708 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
5709 REG or MEM subregs, pass rtx * instead of rtx to it.
5710 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
5711 rtx * instead of rtx to alter_subreg.
5712 * config/m32r/m32r.c (gen_split_move_double): Likewise.
5713 * config/pj/pj.c (pj_output_rval): Likewise.
5714
5715 2002-03-22 Richard Henderson <rth@redhat.com>
5716
5717 PR target/3177
5718 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
5719 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
5720 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
5721 (ia64_expand_prologue): Look at int_regs, not words, for number
5722 of incomming int regs.
5723
5724 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
5725
5726 * expr.c (expand_expr): A RESULT_DECL is part of a call.
5727
5728 Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
5729
5730 * toplev.c (flag_loop_optimize, flag_crossjumping):
5731 New static variables.
5732 (rest_of_compilation): Conditionalize crossjumping and
5733 loop optimizer.
5734 (parse_options_and_default_flags): Default loop_optimize and
5735 crossjumping.
5736 (lang_independent_options): Add -fcrossjumping and -floop-optimize
5737 * invoke.texi (crossjumping, loop-optimize): Document.
5738
5739 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
5740
5741 * real.c (eiisneg): Move outside #ifdef NANS.
5742
5743 Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
5744
5745 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
5746 frequencies match; avoid match on different loop depths.
5747 (try_crossjump_to_bb): Kill tests that no longer brings time
5748 savings.
5749 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
5750 updating code.
5751 (split_edge): Likewise.
5752
5753 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
5754 variable.
5755
5756 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
5757 * cfgrtl.c: Include insn-config.h
5758 (split_block) Dirtify block in presence of conditional execution
5759
5760 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
5761
5762 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
5763 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
5764 (function_arg): Constify CUMULATIVE_ARGS.
5765 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
5766 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
5767 (UNITS_PER_DOUBLE): New macro.
5768 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
5769 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
5770 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
5771 fp_regs and stack_words.
5772 (EABI_FLOAT_VARARGS_P): New macro.
5773 * config/mips/mips.c (struct mips_arg_info): New.
5774 (mips_arg_info): New function.
5775 (function_arg_advance): Use it. Add adjustment instructions here
5776 rather than in function_arg.
5777 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
5778 for VOIDmode at the beginning of the function.
5779 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
5780 (function_arg_pass_by_reference): Likewise.
5781 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
5782 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
5783 (mips_va_start): Likewise. Use the new stack_words field of
5784 CUMULATIVE_ARGS to set up overflow area. Reformat.
5785 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
5786 doubles and other types, aligning the overflow pointer for non-doubles
5787 too. Remove some code duplication. Replace hard-coded constants.
5788
5789 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
5790
5791 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
5792 (CLASS_UNITS): Undefine.
5793 (CLASS_MAX_NREGS): Use FP_INC.
5794 * config/mips/mips.c (compute_frame_size): Likewise.
5795 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
5796
5797 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
5798
5799 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
5800 prototype, and handle lexing numbers and identifiers.
5801 (parse_identifier): Update to new form of parse_slow.
5802 (parse_number): Fast path only, use parse_slow otherwise.
5803 (_cpp_lex_direct): Update calls to parse_number.
5804
5805 2002-03-21 DJ Delorie <dj@redhat.com>
5806
5807 * bb-reorder.c (make_reorder_chain_1): Protect against
5808 when redundant edges are omitted.
5809 * predict.c (dump_prediction): Likewise.
5810
5811 2002-03-21 Richard Henderson <rth@redhat.com>
5812
5813 PR target/5996
5814 * fixinc/inclhack.def (solaris_stdio_tag): New.
5815 * fixinc/fixincl.x: Regenerate.
5816
5817 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
5818
5819 PR c/5597
5820 * c-typeck.c (process_init_element): Flag non-static
5821 initialization of a flexible array member as illegal.
5822
5823 2002-03-22 Alan Modra <amodra@bigpond.net.au>
5824
5825 * config/rs6000/t-linux64: New.
5826 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
5827 t-ppccomm. Use t-rs6000 and t-linux64.
5828 (powerpc64-*-gnu* <tmake_file>): Likewise.
5829 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
5830 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
5831 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
5832
5833 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
5834
5835 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
5836 flag_really_no_inline instead of optimize == 0.
5837
5838 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
5839
5840 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
5841
5842 * flags.h (flag_really_no_inline): New.
5843
5844 * c-common.c (c_common_post_options): Initialize
5845 flag_really_no_inline.
5846
5847 * toplev.c (flag_really_no_inline): New.
5848
5849 2002-03-21 Jakub Jelinek <jakub@redhat.com>
5850
5851 * config/avr/avr.md (length): Fix length computation for
5852 conditional branches.
5853
5854 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
5855
5856 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
5857 sdbout.o, profile.o): Update.
5858 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
5859 langhook.
5860 * c-common.h (gettags): Move here from tree.h.
5861 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
5862 insert_block, getdecls, kept_level_p, global_bindings_p): New.
5863 * dbxout.c (dbxout_init): Use getdecls langhook.
5864 * expr.c (expand_expr): Use insert_block langhook.
5865 * fold-const.c: Include langhooks.h.
5866 (fold_range_test, fold_binary_op_with_conditional_arg,
5867 fold): Use global_bindings_p langhook.
5868 * integrate.c (expand_inline_function): Use insert_block langhook.
5869 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
5870 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
5871 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
5872 LANG_HOOKS_GETDECLS): New.
5873 (LANG_HOOKS_INITIALIZER): Update.
5874 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
5875 langhook.
5876 * langhooks.h (struct lang_hooks_for_decls): New.
5877 (struct lang_hooks): Update.
5878 * profile.c: Include langhooks.h.
5879 (output_func_start_profiler): Use new langhooks.
5880 * sdbout.c: Include langhooks.h.
5881 (sdbout_init, sdbout_finish): Use getdecls langhook.
5882 * stmt.c: Include langhooks.h.
5883 (expand_fixup, fixup_gotos): Use new langhooks.
5884 * stor-layout.c: Include langhooks.h.
5885 (variable_size): Use global_bindings_p langhook.
5886 * toplev.c (compile_file): Use getdecls langhook.
5887 * tree-inline.c (remap_block): Use insert_block langhook.
5888 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
5889 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
5890
5891 2002-03-21 Richard Henderson <rth@redhat.com>
5892
5893 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
5894 constants in .data when -fpic.
5895
5896 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5897
5898 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
5899 where appropriate.
5900
5901 2002-03-21 Tom Tromey <tromey@redhat.com>
5902
5903 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
5904
5905 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5906
5907 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
5908
5909 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
5910
5911 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
5912 Richard Henderson <rth@redhat.com>
5913
5914 PR c/5354
5915 * c-common.c (c_expand_expr): Preserve result of a statement
5916 expression if needed.
5917
5918 2002-03-21 Jakub Jelinek <jakub@redhat.com>
5919
5920 PR bootstrap/4195
5921 * genrecog.c (maybe_both_true_mode): Remove.
5922 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
5923 * machmode.def (Pmode): Likewise.
5924
5925 Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
5926
5927 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
5928 (nonlocal_mentioned_p_1): New function.
5929 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
5930 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
5931 (mark_constant_function): Recognize pure functions.
5932 * rtl.h (global_reg_mentioned_p): New prototype.
5933 * rtlanal.c (global_reg_mentioned_p,
5934 global_reg_mentioned_p_1): New function.
5935
5936 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5937
5938 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
5939 UNIX assert.h.
5940 * fixinc/fixincl.x: Regenerate.
5941
5942 2002-03-20 Jason Merrill <jason@redhat.com>
5943
5944 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
5945
5946 2002-03-20 Michael Meissner <meissner@redhat.com>
5947
5948 * doc/invoke.texi (Optimize Options): Document that -O2 sets
5949 -fstrict-aliasing.
5950
5951 2002-03-20 Bob Wilson <bob.wilson@acm.org>
5952
5953 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
5954 ".literal_position" directive before the constant pool.
5955
5956 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5957
5958 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
5959 Add Craig Rodrigues.
5960 Add Brad Lucier to testers.
5961
5962 2002-03-20 Jakub Jelinek <jakub@redhat.com>
5963
5964 PR target/4792
5965 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
5966 to if_then_else.
5967 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
5968 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
5969 instead of insn_extract.
5970
5971 2002-03-20 Jakub Jelinek <jakub@redhat.com>
5972
5973 PR bootstrap/4192
5974 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
5975
5976 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
5977 stmt if some case has been output.
5978
5979 2002-03-20 Jakub Jelinek <jakub@redhat.com>
5980
5981 PR c/5972
5982 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
5983 movsfcc_1, movdfcc_1): Add %O2.
5984 * config/i386/i386.c (print_operand): Handle %ON.
5985 Print . before float condition codes in Sun as cmov syntax.
5986 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
5987 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
5988 no longer true.
5989
5990 2002-03-20 Philip Blundell <pb@nexus.co.uk>
5991
5992 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
5993 return instruction if PC was popped.
5994
5995 2002-03-20 Bob Wilson <bob.wilson@acm.org>
5996
5997 * config/xtensa/xtensa.md: Remove unused type attributes.
5998 (adddi_carry, subddi_carry): Change type attribute to "multi".
5999
6000 2002-03-19 Dale Johannesen <dalej@apple.com>
6001
6002 PR optimization/5999, middle-end/5731
6003 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
6004 multiplications by reciprocals.
6005
6006 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
6007
6008 * Makefile.in: Update.
6009 * c-common.c: Include langhooks.h.
6010 (inline_forbidden_p): Use new hook.
6011 * diagnostic.c: Include langhooks.h.
6012 (format_with_decl, announce_function,
6013 default_print_error_function): Use new hook.
6014 * dwarf2out.c (dwarf2_name): Use new hook.
6015 * function.c: Include langhooks.h.
6016 (init_function_start): Use new hook.
6017 * langhooks-def.h (lhd_decl_printable_name): New.
6018 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
6019 (LANGHOOKS_INITIALIZER): Update.
6020 * langhooks.c (lhd_decl_printable_name): New.
6021 * langhooks.h (struct lang_hooks): New hook.
6022 * toplev.c (decl_name, decl_printable_name): Remove.
6023 (open_dump_file): Use new hook.
6024 (process_options): Remove old hook.
6025 * tree.h (decl_printable_name): Remove.
6026 objc:
6027 * objc-act.c (objc_init): Remove old hook.
6028 (objc_printable_name): Export.
6029 * objc-act.h (objc_printable_name): New.
6030 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
6031
6032 2002-03-19 Jim Blandy <jimb@redhat.com>
6033
6034 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
6035 the start_source_file debug hook, not the current line number.
6036
6037 2002-03-19 Richard Henderson <rth@redhat.com>
6038
6039 * flow.c (EH_USES): Provide default.
6040 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
6041 * doc/tm.texi (EH_USES): New.
6042
6043 * config/ia64/ia64.c (ia64_eh_uses): New.
6044 * config/ia64/ia64-protos.h: Update.
6045 * config/ia64/ia64.h (EH_USES): New.
6046
6047 2002-03-19 Richard Henderson <rth@redhat.com>
6048
6049 * varasm.c (output_constant_def): Fix stupid typo.
6050
6051 2002-03-19 Richard Henderson <rth@redhat.com>
6052
6053 PR 5879
6054 * except.c (current_function_has_exception_handlers): New.
6055 * except.h: Declare it.
6056 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
6057 Combine tests that disable all sibcalls for the function.
6058
6059 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
6060
6061 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
6062 for INTEGER_CST.
6063
6064 2002-03-19 Richard Henderson <rth@redhat.com>
6065
6066 PR 5977, 5991
6067 * config/ia64/ia64.c: Revert 2002-03-01 patch.
6068 * config/ia64/ia64.h (INIT_EXPANDERS): New.
6069
6070 2002-03-19 Jim Blandy <jimb@redhat.com>
6071
6072 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
6073 name, even if the replacement list contains no tokens, as required
6074 by Dwarf.
6075
6076 2002-03-19 Jason Merrill <jason@redhat.com>
6077
6078 * varasm.c (globalize_decl): Get the name from the RTL, not
6079 DECL_ASSEMBLER_NAME.
6080
6081 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
6082
6083 2002-03-19 Bob Wilson <bob.wilson@acm.org>
6084
6085 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
6086 subdi_carry): Define.
6087
6088 2002-03-19 David Edelsohn <edelsohn@gnu.org>
6089
6090 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
6091 about -fpic/-fPIC if extra_warnings set.
6092
6093 2002-03-19 David Edelsohn <edelsohn@gnu.org>
6094
6095 * expr.c (expand_expr): Sign-extend CONST_INT generated from
6096 TREE_STRING_POINTER.
6097 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
6098
6099 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6100
6101 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
6102 in favor of SP if FRAME_POINTER_REQUIRED is false.
6103
6104 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
6105
6106 * emit-rtl.c (gen_int_mode): New function.
6107 * rtl.h: Prototype for it.
6108 * combine.c (make_extraction, simplify_comparison), expmed.c
6109 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
6110 (convert_modes, store_field), optabs.c (expand_fix),
6111 simplify-rtx.c (neg_const_int, simplify_unary_real),
6112
6113 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
6114 Use it instead of GEN_INT (trunc_int_for_mode (...)).
6115
6116 2002-03-19 Jakub Jelinek <jakub@redhat.com>
6117
6118 PR c/5656
6119 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
6120 convert_parm_for_inlining.
6121 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
6122 Define.
6123 * langhooks-def.h: Likewise.
6124 * objc/objc-lang.c: Likewise.
6125 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
6126 function.
6127 * tree-inline.c (initialize_inlined_parameters):
6128 Call convert_parm_for_inlining lang hook if needed.
6129 * c-typeck.c (c_convert_parm_for_inlining): New function.
6130 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
6131
6132 2002-03-18 Mark Mitchell <mark@codesourcery.com>
6133
6134 * calls.c (precompute_arguments): Do not assume that temporaries
6135 can be destroyed after expanding the argument.
6136 (expand_call): Likewise.
6137
6138 2002-03-15 Eric Christopher <echristo@redhat.com>
6139
6140 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
6141 Fix register preference on last change.
6142 * config/mips/mips.c (mips_return_in_memory): New function.
6143 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
6144 * config/mips/mips-protos.h: Declare.
6145 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
6146 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
6147
6148 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
6149
6150 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
6151 a register too.
6152 (anddi3, iorsi3): Likewise.
6153
6154 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
6155 use %gprel for symbols that are going to be placed in linkonce
6156 sections.
6157
6158 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
6159 RETURN_ADDRESS_POINTER_REGNUM to $ra.
6160 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
6161 not needed. Disregard leaf_function_p().
6162 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
6163 mips16 frame pointer.
6164 * config/mips/mips.md (store ra): Only to small SP offsets.
6165 2001-08-22 Graham Stott <grahams@redhat.com>
6166 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
6167 return a REG rtx for the return address register.
6168
6169 2002-03-18 Bob Wilson <bob.wilson@acm.org>
6170
6171 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
6172 constant-pool addresses as "mode-dependent".
6173 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
6174
6175 2002-03-18 Jakub Jelinek <jakub@redhat.com>
6176
6177 PR target/5740
6178 * expr.c (emit_group_load): Use extract_bit_field if
6179 needed for CONCAT arguments.
6180
6181 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
6182
6183 PR target/4863
6184 * arm.md (tablejump): Make this a define_expand. For PIC add the
6185 offset to the base of the table.
6186 (thumb_tablejump): Matcher for Thumb tablejump insn.
6187 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
6188 as the difference of two labels.
6189 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6190 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
6191 tables in the code.
6192 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
6193 * arm.c (get_jump_table_size): If the table is not in the text
6194 section, return zero.
6195
6196 2002-03-18 Bernd Schmidt <bernds@redhat.com>
6197
6198 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
6199 of gen_rtx_SUBREG.
6200 (arm_reload_out_hi): Use gen_lowpart instead of
6201 gen_rtx_SUBREG to access QImode components.
6202 * config/arm/arm.md: Disable zero_extend split for QImode
6203 subregs in BIG_ENDIAN mode.
6204 (storehi_bigend): Match use of least significant byte.
6205 (storeinthi): Remove extraneous SUBREG.
6206 Add missing construction of operands[2].
6207 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
6208 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
6209 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
6210
6211 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
6212
6213 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
6214 any_operand.
6215
6216 2002-03-17 Richard Henderson <rth@redhat.com>
6217
6218 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
6219 explicitly.
6220
6221 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
6222
6223 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
6224 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
6225
6226 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6227
6228 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
6229
6230 * predict.c (estimate_bb_frequencies): Delete unused variables.
6231
6232 2002-03-17 Richard Henderson <rth@redhat.com>
6233
6234 * config/ia64/ia64.c (ia64_attribute_table): Move before
6235 targetm definition. Make static.
6236
6237 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
6238
6239 * c-common.h (yyparse, c_common_parse_file): New.
6240 * c-lang.c: Include c-common.h.
6241 (LANG_HOOKS_PARSE_FILE): Redefine.
6242 * c-lex.c: Include c-common.h.
6243 (yyparse): Rename c_common_parse_file. Call yyparse.
6244 * c-parse.in (yyparse): Remove macro.
6245 * c-tree.h (yyparse_1): Remove.
6246 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
6247 (LANG_HOOKS_INITIALIZER): Update.
6248 * langhooks.h (struct lang_hoooks): New hook parse_file.
6249 * toplev.c (compile_file): Use parse_file hook.
6250 * tree.h (yyparse): Remove.
6251 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
6252
6253 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
6254
6255 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
6256 float_truncate, not fix.
6257 ("*truncdfsf2_real"): Ditto.
6258 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
6259
6260 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
6261
6262 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
6263
6264 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
6265 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
6266 where appropriate. Make the second reference to
6267 leaf_function_p a function call, as intended. Reindented.
6268
6269 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
6270 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
6271
6272 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
6273 add register to non-constant into sp.
6274
6275 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
6276 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
6277 (mips16_gp_pseudo_rtx): Lose.
6278 (INIT_EXPANDERS): Deleted.
6279 * config/mips/mips.c (mips_init_machine_status): New.
6280 (mips_free_machine_status): New.
6281 (mips_mark_machine_status): New.
6282 (override_options): Set them.
6283 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
6284 (struct machine_function): ... new. Replaced all references.
6285 (mips_add_gc_roots): Don't mark them.
6286 (embedded_pic_fnaddr_reg): New, extracted from...
6287 (embedded_pic_offset): ... here.
6288 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
6289 (movsi): Likewise.
6290
6291 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
6292
6293 * cppinit.c: Revert -MD removal.
6294
6295 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6296
6297 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
6298 soft registers by default for 68HC12.
6299 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
6300 when compiling with -fomit-frame-pointer.
6301 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
6302 (expand_epilogue): Likewise.
6303 (m68hc11_gen_rotate): Use exg when rotating by 8.
6304
6305 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6306
6307 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
6308 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
6309 (splits): Remove unused add splits.
6310 ("*addhi3_68hc12"): Tune constraints.
6311 ("addhi_sp"): Try to use X instead of Y in all cases and if the
6312 constant fits in 8-bits and D is dead use abx/aby instructions.
6313 ("*addhi3"): Remove extern declaration of ix_reg.
6314 ("*subsi3"): Optimize and provide new split.
6315 ("subhi3"): Cleanup.
6316 ("*subhi3_sp"): Avoid saving X if we know it is dead.
6317 (arith splits): For 68hc12 save the address register on the stack
6318 and do the arithmetic operation with a pop.
6319
6320 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6321
6322 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
6323 allocating QImode in address registers.
6324 ("*movqi_m68hc11"): Likewise.
6325
6326 Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
6327
6328 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
6329
6330 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
6331
6332 * cppinit.c (print_help): Display -MD and -MMD.
6333 Don't display usage string. Update assertion syntax and
6334 typo.
6335 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
6336 (cpp_handle_option): Update.
6337
6338 2002-03-15 Chris Demetriou <cgd@broadcom.com>
6339
6340 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
6341 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
6342 and define it so that regardless of target CPU size,
6343 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
6344 of "int" rather than "long."
6345
6346 2002-03-15 Richard Henderson <rth@redhat.com>
6347
6348 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
6349 size as a tree.
6350
6351 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6352
6353 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
6354 ("tstqi" split): Avoid using memory for tstqi on address register.
6355 (splits): Remove constraints.
6356 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
6357 ("cmpdf", "cmpsf"): Remove since not used.
6358 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
6359 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
6360
6361 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6362
6363 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
6364 ("neghi2"): Tighten constraints.
6365 ("one_cmplsi2"): Optimize and simplify split.
6366 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
6367
6368 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6369
6370 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
6371 and split of AND operation to clear the upper bits.
6372 ("*logicalsi3_zextqi"): Likewise.
6373 ("*logicallhi3_zexthi_ashift8"): Likewise.
6374 ("*logicalsi3_silshr16"): Likewise.
6375 ("logicalsi3_silshl16"): Likewise.
6376 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
6377
6378 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6379
6380 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
6381 (m68hc11_indirect_p): New function.
6382 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
6383 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
6384 TARGET_M6812.
6385 (asm_print_register): Likewise.
6386 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
6387 (m68hc11_indirect_p): Declare.
6388 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
6389 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
6390 (TARGET_SWITCHES): New option -mrelax.
6391 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
6392 destination.
6393 ("iorsi3", "xorsi3"): Likewise.
6394 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
6395 ("*andhi3_mem"): New to handle destination in memory with bclr
6396 and a scratch register.
6397 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
6398 ("*andhi3_const"): New when operand2 is constant.
6399 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
6400 ("*andhi3_gen"): Cleanup of the old "andhi3".
6401 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
6402 ("xorqi3"): Update constraints.
6403
6404 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6405
6406 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
6407 for reg_equiv_memory_loc when the operand is a register that does
6408 not get a hard register (stack location).
6409 (tst_operand): After reload, accept all memory operand.
6410 (symbolic_memory_operand): Fix detection of symbolic references.
6411 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
6412 accept symbols and any constant.
6413
6414 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6415
6416 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
6417 note on the insn that sets the soft frame register.
6418 (must_parenthesize): ix and iy are also reserved names.
6419 (print_operand_address): One more place where parenthesis are required
6420 to avoid confusion with register names.
6421 (m68hc11_gen_movhi): Allow push of stack pointer.
6422 (m68hc11_check_z_replacement): Fix handling of parallel with a
6423 clobber.
6424 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
6425 the replacement register is.
6426 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
6427 and D8_REGS classes.
6428 (MODES_TIEABLE_P): All modes are tieable except QImode.
6429
6430 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6431
6432 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
6433 (___subdi3): Likewise.
6434 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
6435 (__map_data_section): Optimize 68hc11 case.
6436
6437 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6438
6439 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
6440 than a shift to avoid adding a register with itself.
6441 (m68hc11_memory_move_cost): Take into account NO_REGS.
6442 (m68hc11_register_move_cost): Update and use memory move cost
6443 for soft registers.
6444 (m68hc11_address_cost): Make cost of valid offset not 0 so that
6445 it gives more opportunities to cse to optimize.
6446 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
6447 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
6448
6449 2002-03-15 Mark Mitchell <mark@codesourcery.com>
6450
6451 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
6452 * c-common.def (CLEANUP_STMT): New tree node.
6453 * c-common.h (CLEANUP_DECL): New macro.
6454 (CLEANUP_EXPR): Likewise.
6455 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
6456 * expr.c (expand_expr): Tidy.
6457 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
6458 * tree-inline.c (initialize_inlined_parameters): Clean up
6459 new local variables.
6460
6461 2002-03-15 Jakub Jelinek <jakub@redhat.com>
6462
6463 PR bootstrap/4128
6464 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
6465 before movrXX only, use reg_overlap_mentioned_p.
6466 Only special case NE if just one insn can be generated.
6467
6468 2002-03-15 Jason Merrill <jason@redhat.com>
6469
6470 * varasm.c (assemble_variable): Call resolve_unique_section before
6471 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
6472 of error_mark_node.
6473
6474 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
6475
6476 PR target/5170
6477 * arm.md (split pattern for thumb shiftable immediates): Add comment
6478 explaining non-obvious test.
6479
6480 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
6481
6482 PR target/5712
6483 * arm.md (movaddr, movaddr_insn): Delete.
6484
6485 2002-03-15 Jason Merrill <jason@redhat.com>
6486
6487 * toplev.c (wrapup_global_declarations): Clarify variable handling.
6488 -fkeep-static-consts doesn't apply to comdats.
6489
6490 2002-03-14 Richard Henderson <rth@redhat.com>
6491
6492 * c-decl.c: Include c-pragma.h.
6493 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
6494 (finish_function): Tidy.
6495 * c-pragma.c: Include c-common.h.
6496 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
6497 (handle_pragma_weak): Use them.
6498 (init_pragma): Register pending_weaks.
6499 * c-pragma.h (maybe_apply_pragma_weak): Declare.
6500 * print-tree.c (print_node): Print DECL_WEAK.
6501 * varasm.c (mark_weak_decls): Remove.
6502 (remove_from_pending_weak_list): Remove.
6503 (add_weak): Remove.
6504 (asm_emit_uninitialised): Call globalize_decl for weak commons.
6505 (weak_decls): Make a tree_list.
6506 (declare_weak): Cons weak_decls directly.
6507 (globalize_decl): Remove weak_decls elements directly.
6508 (weak_finish): Simplify weak_decls walk. Don't weaken unused
6509 symbols. Don't pretend to handle aliases.
6510 (init_varasm_once): Update weak_decls registry.
6511 * Makefile.in: Update dependencies.
6512
6513 2002-03-14 Richard Henderson <rth@redhat.com>
6514
6515 PR target/5312
6516 * config/ia64/ia64.c: Include tm_p.h last.
6517 (gen_nop_type): Remove duplicate definition.
6518 (cycle_end_fill_slots): Set sched_data for second L slot.
6519 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
6520 (nop_cycles_until): Fix typos.
6521
6522 2002-03-15 Jakub Jelinek <jakub@redhat.com>
6523
6524 PR optimization/5891
6525 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
6526
6527 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
6528
6529 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
6530 descriptors correctly.
6531
6532 2002-03-14 Michael Meissner <meissner@redhat.com>
6533
6534 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
6535 100, allowing MAX_UNROLLED_INSNS to be overridden.
6536
6537 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
6538 --param.
6539
6540 * unroll.c (params.h): Include.
6541 (MAX_UNROLLED_INSNS): Delete, now in params.h.
6542
6543 * doc/invoke.texi (--param max-unroll-insns): Document.
6544
6545 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
6546
6547 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
6548
6549 * arm.md: Fix warnings about constraints in peepholes and splits.
6550
6551 2002-03-14 Zack Weinberg <zack@codesourcery.com>
6552
6553 * cpphash.h (struct lexer_state): Remove line_extension member.
6554 * cpplib.c (dequote_string, do_linemarker): New functions.
6555 (linemarker_dir): New data object.
6556 (DIRECTIVE_TABLE): No longer need to interpret #line in
6557 preprocessed source. Delete obsolete comment about return
6558 values of handlers.
6559 (end_directive, directive_diagnostics, _cpp_handle_directive):
6560 Don't muck with line_extension.
6561 (directive_diagnostics): No need to issue warnings for
6562 linemarkers here.
6563 (_cpp_handle_directive): Issue warnings for linemarkers here,
6564 when appropriate. Dispatch linemarkers to do_linemarker, not
6565 do_line.
6566 (do_line): Code to handle linemarkers split out to do_linemarker.
6567 Convert escape sequences in filename argument, both places.
6568
6569 * cppmacro.c (quote_string): Rename cpp_quote_string and
6570 export. All callers changed.
6571 * cpplib.h (cpp_quote_string): Prototype.
6572 * cppmain.c (print_line): Call cpp_quote_string on to_file
6573 before printing it.
6574
6575 * doc/cpp.texi: Document that escapes are now interpreted in
6576 #line and in linemarkers, and that non-printing characters are
6577 converted to octal escapes when linemarkers are generated.
6578
6579 Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
6580
6581 * emit-rtl.c (try_split): Use delete_insns.
6582 * recog.c (split_all_insns): Fix terminating condition.
6583
6584 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
6585 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
6586
6587 PR target/5828
6588 * arm.c (arm_output_epilogue): Fix floating-point register save
6589 adjustment when using a frame pointer.
6590
6591 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
6592
6593 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
6594 * config/mips/mips.c (compute_frame_size): Retrofit them here.
6595 (save_restore_insns, mips_expand_epilogue): And here.
6596 (build_mips16_call_stub): And here.
6597 (mips_function_value): Use the new macros to decide whether a single
6598 or complex float can be returned in floating-point registers. Return
6599 a parallel rtx in the complex case.
6600
6601 Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
6602
6603 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
6604 call after liveness analysis.
6605
6606 * recog.c (split_insn): Use delete_insn_and_edges.
6607
6608 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
6609 instructions to have branch prediction notes.
6610 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
6611
6612 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
6613
6614 * configure.in: Don't pass -Wno-long-long to a ADA compiler
6615 that doesn't support it.
6616 * configure: Regenerate.
6617
6618 2002-03-13 Jakub Jelinek <jakub@redhat.com>
6619
6620 PR target/5626
6621 * config/sparc/sparc.md (normal_branch, inverted_branch,
6622 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
6623 inverted_fp_branch): Adjust calls to output_cbranch.
6624 Set length attribute.
6625 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
6626 output_v9branch. Set length attribute.
6627 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
6628 predicates.
6629 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
6630 (output_cbranch): Likewise. Handle far branches.
6631 (output_v9branch): Handle far branches.
6632 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
6633 Adjust prototypes.
6634 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
6635 noov_compare64_op predicates.
6636
6637 2002-03-13 Jason Merrill <jason@redhat.com>
6638
6639 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
6640 into the function and constify it.
6641 * gthr-dce.h, gthr-solaris.h: Likewise.
6642
6643 2002-03-13 David Edelsohn <edelsohn@gnu.org>
6644
6645 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
6646 * config/rs6000/rs6000.c (rs6000_va_arg): Use
6647 std_expand_builtin_va_arg if not ABI_V4.
6648
6649 2002-03-13 Jason Merrill <jason@redhat.com>
6650
6651 * varasm.c (globalize_decl): New fn.
6652 (assemble_start_function): Use it.
6653 (asm_emit_uninitialized): Use it.
6654 (assemble_alias): Use it.
6655 (assemble_variable): Use it.
6656
6657 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
6658
6659 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
6660 2002-03-12 internal visibility change.
6661 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
6662 visibility into SYMBOL_REF_FLAG.
6663
6664 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
6665
6666 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
6667 VOIDmode operand. Add compile-time optimization for constant results.
6668
6669 2002-03-12 Jason Merrill <jason@redhat.com>
6670
6671 * c-typeck.c (convert_for_assignment): Don't allow conversions
6672 between pointers and references. Only allow lvalues to convert to
6673 reference.
6674
6675 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
6676
6677 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
6678 before prologue, to avoid scheduling problems.
6679
6680 2002-03-13 Jakub Jelinek <jakub@redhat.com>
6681
6682 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
6683 (ELIMINABLE_REGS): Add sfp->sp.
6684 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
6685
6686 2002-03-13 Jakub Jelinek <jakub@redhat.com>
6687
6688 PR optimization/5892
6689 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
6690
6691 2002-03-13 Jakub Jelinek <jakub@redhat.com>
6692
6693 * loop.c (basic_induction_var): Don't call convert_modes if mode
6694 classes are different.
6695
6696 2002-03-12 Richard Henderson <rth@redhat.com>
6697
6698 PR optimization/5901
6699 * function.c (reposition_prologue_and_epilogue_notes): Position
6700 the markers after/before the last/first insn not deleted.
6701
6702 2002-03-12 Richard Henderson <rth@redhat.com>
6703
6704 PR optimization/5878
6705 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
6706 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
6707 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
6708
6709 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
6710 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
6711 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
6712
6713 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
6714 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
6715 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
6716 also. Don't set it if not flag_pic.
6717 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
6718 to be INVALID_REGNUM when not used.
6719
6720 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
6721
6722 * expmed.c (store_bit_field): Reset alias set for memory.
6723 (extract_bit_field): Same.
6724
6725 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6726
6727 * c-common.c (c_tree_code_type, c_tree_code_length,
6728 c_tree_code_name, add_c_tree_codes): Delete.
6729 * c-common.h (add_c_tree_codes): Delete.
6730 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
6731 Define.
6732 * c-objc-common.c (c_objc_common_init): Don't call
6733 add_c_tree_codes, instead set lang_unsafe_for_reeval.
6734 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
6735 objc_tree_code_name, add_objc_tree_codes): Delete.
6736 (objc_init): Don't call add_objc_tree_codes.
6737 * objc/objc-lang.c (tree_code_type, tree_code_length,
6738 tree_code_name): Define.
6739 * toplev.c (lang_independent_init): Don't set
6740 tree_code_length[IDENTIFIER_NODE].
6741 * tree.c (tree_code_type, tree_code_length, tree_code_name):
6742 Delete definitions, moved to language front-ends.
6743 * tree.def (IDENTIFIER_NODE): Hardwire the length.
6744 * tree.h (tree_code_type, tree_code_length, tree_code_name):
6745 Const-ify.
6746 (tree_code_length): Change type to unsigned char.
6747
6748 2002-03-12 Richard Henderson <rth@redhat.com>
6749
6750 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
6751 internal visibility change.
6752
6753 2002-03-12 Bob Wilson <bob.wilson@acm.org>
6754
6755 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
6756 validize_mem() instead of change_address to avoid clobbering
6757 memory attributes.
6758
6759 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
6760
6761 * c-lex.h (position_after_whitespace): Remove.
6762
6763 2002-03-12 Jakub Jelinek <jakub@redhat.com>
6764
6765 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
6766 (lex_string): Use unsigned char pointers.
6767
6768 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
6769
6770 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
6771 is not a valid memory_operand.
6772
6773 2002-03-12 Bob Wilson <bob.wilson@acm.org>
6774
6775 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
6776 * config/xtensa/lib1funcs.asm: Fix copyright to include
6777 special case for libgcc files.
6778 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
6779 (__divsi3): Likewise.
6780 (__umodsi3): Likewise.
6781 (__modsi3): Likewise.
6782 * config/xtensa/lib2funcs.S: Fix copyright to include
6783 special case for libgcc files.
6784
6785 2002-03-12 Tom Rix <trix@redhat.com>
6786
6787 * collect2.c (resolve_lib_name): Move outside of
6788 OBJECT_FORMAT_COFF ifdef.
6789 (ignore_library): Same.
6790
6791 2002-03-12 Bob Wilson <bob.wilson@acm.org>
6792
6793 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
6794
6795 2002-03-12 Bob Wilson <bob.wilson@acm.org>
6796
6797 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
6798 to function_section before writing out the constant pool.
6799
6800 2002-03-12 David Edelsohn <edelsohn@gnu.org>
6801
6802 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
6803 zero_constant.
6804 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
6805
6806 2002-03-12 Alan Modra <amodra@bigpond.net.au>
6807
6808 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
6809 (adddi3): Likewise.
6810 (movdf): Likewise.
6811 (movdi): Likewise.
6812 (cmpsi splitter): Likewise.
6813 (modsi3): Fail if <= 0.
6814 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
6815 redundant test when HOST_BITS_PER_WIDE_INT != 32.
6816 (reg_or_sub_cint64_operand): Likewise.
6817 (num_insns_constant_wide): Optimize sign extension.
6818 (rs6000_legitimize_address): Likewise.
6819
6820 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
6821
6822 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
6823 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
6824
6825 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
6826
6827 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
6828 address calculation.
6829
6830 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
6831
6832 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
6833 scratch register to DImode / TImode.
6834 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
6835 register used does not overlap the target.
6836
6837 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6838
6839 * Makefile.in (debug.o): Depend on debug.h.
6840 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
6841 * debug.c (do_nothing_debug_hooks): Likewise.
6842 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
6843 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
6844 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
6845 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
6846 * dwarfout.c (dwarf_debug_hooks): Likewise.
6847 * integrate.c (output_inline_function): Likewise.
6848 * objc/objc-act.c (synth_module_prologue): Likewise.
6849 * sdbout.c (sdb_debug_hooks): Likewise.
6850 * toplev.c (debug_hooks): Likewise.
6851 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
6852
6853 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6854
6855 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
6856 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
6857 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
6858 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
6859 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
6860 * defaults.h (POINTER_SIZE): Define.
6861 * doc/tm.texi (POINTER_SIZE): Document default.
6862
6863 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6864
6865 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
6866
6867 2002-03-11 Richard Henderson <rth@redhat.com>
6868
6869 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
6870 if rebuild_label_notes_after_reload.
6871
6872 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
6873
6874 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
6875 emit pic register load if "internal" visibility.
6876 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
6877 (cris_expand_builtin_va_arg): Do all computations on trees.
6878
6879 2002-03-11 Richard Henderson <rth@redhat.com>
6880
6881 * rtlanal.c: Include recog.h.
6882 (keep_with_call_p): Fix thinko.
6883 * Makefile.in (rtlanal.o): Update dependencies.
6884
6885 2002-03-11 Chris Meyer <cmeyer@gatan.com>
6886
6887 * genflags.c (gen_insn): Use IS_VSPACE.
6888 * genoutput.c (output_insn_data): Likewise.
6889 (process_template): Likewise.
6890
6891 2002-03-11 Richard Henderson <rth@redhat.com>
6892
6893 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
6894
6895 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
6896
6897 * Makefile.in: Update.
6898 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
6899 Update documentation.
6900 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
6901 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
6902
6903 2002-03-11 Zack Weinberg <zack@codesourcery.com>
6904
6905 * Makefile.in: Give texi2pod its input file as a command line
6906 argument, not on stdin.
6907
6908 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6909 Daniel Berlin <dan@dberlin.org>
6910
6911 C++ alias analysis improvement.
6912 * alias.c (record_component_aliases): Record aliases for base
6913 classes too.
6914
6915 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
6916
6917 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
6918
6919 2002-03-11 Douglas B Rupp <rupp@gnat.com>
6920
6921 * toplev.c (vms_fopen): Remove, not needed.
6922
6923 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
6924
6925 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
6926
6927 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
6928 for FP, already done later.
6929
6930 * toplev.c (debug_args): Add entry for VMS_DEBUG.
6931 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
6932
6933 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
6934
6935 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
6936 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
6937 LARGEST_EXPONENT_IS_NORMAL for the given mode.
6938 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
6939 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
6940 (ediv, emul, eldexp, esqrt): Likewise.
6941 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
6942 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
6943 (saturate): New function.
6944 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
6945 (make_nan): Use a saturation value instead of a NaN if
6946 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
6947 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
6948 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
6949 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
6950 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
6951 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
6952 !ROUND_TOWARDS_ZERO.
6953 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
6954 (ROUND_TOWARDS_ZERO): Document.
6955
6956 2002-03-11 Andreas Jaeger <aj@suse.de>
6957
6958 * cfg.c (dump_flow_info): Remove unused variable.
6959
6960 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
6961
6962 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
6963 computations on trees.
6964
6965 2002-03-10 Richard Henderson <rth@redhat.com>
6966
6967 PR 5693:
6968 * reload.c (copy_replacements_1): New.
6969 (copy_replacements): Use it to recurse through the rtx.
6970
6971 2002-03-10 Richard Henderson <rth@redhat.com>
6972
6973 * loop.c (strength_reduce): Compute number of iterations as
6974 unsigned HOST_WIDE_INT.
6975
6976 2002-03-10 Richard Henderson <rth@redhat.com>
6977
6978 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
6979 to move away from the end of the block.
6980
6981 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
6982
6983 PR preprocessor/5899
6984 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
6985
6986 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6987
6988 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
6989
6990 * attribs.c (decl_attributes): Fix signed/unsigned warning.
6991
6992 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
6993
6994 * config/mmix/mmix.c: Improve comments.
6995 (mmix_target_asm_function_prologue): Drop variable
6996 empty_stack_frame. Don't allocate unused slot above fp.
6997 (mmix_target_asm_function_epilogue): Mirror prologue changes.
6998 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
6999 brace in first column.
7000 (enum reg_class): Ditto.
7001 (FIRST_PARM_OFFSET): Now 0.
7002 (USER_LABEL_PREFIX): Remove #if 0:d definition.
7003
7004 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7005
7006 * combine.c (make_extraction): Fix error in last change.
7007
7008 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7009
7010 * c4x.c (c4x_fp_reglist): Const-ify.
7011 * cris.c (cris_print_operand): Likewise.
7012 * i386.c (ix86_va_arg): Likewise.
7013 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
7014 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
7015 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
7016 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
7017 * mcore.h (regno_reg_class): Likewise.
7018 * mips.c (gen_int_relational): Likewise.
7019 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
7020 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
7021 * pdp11.c (move_costs): Likewise.
7022 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
7023 * s390.c (s390_branch_condition_mnemonic, regclass_map):
7024 Likewise.
7025 * s390.h (regclass_map): Likewise.
7026 * sh.c (shift_amounts): Likewise.
7027 * sh.md (rotlsi3): Likewise.
7028
7029 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
7030
7031 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
7032 (ne0+5): Use new clobber to generate proper shift pattern.
7033 Patch by Michael Matz <matz@kde.org>.
7034
7035 2002-03-09 Andreas Schwab <schwab@suse.de>
7036
7037 * gcc.c (validate_all_switches): Also handle `%W{...}'.
7038
7039 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
7040
7041 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
7042
7043 2002-03-09 Jakub Jelinek <jakub@redhat.com>
7044
7045 PR middle-end/5877
7046 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
7047 even for non-representable constants.
7048
7049 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7050
7051 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
7052 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
7053 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
7054 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
7055 (pop_function_context): Compute MAY_SHARE parameter for
7056 fixup_var_refs.
7057 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
7058 (gen_mem_addressof): Call fixup_var_refs with new parm.
7059
7060 * combine.c (make_extraction): Don't make extension of CONST_INT.
7061
7062 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
7063
7064 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
7065 in o32 and o64 ABIs.
7066 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
7067 but getting fixed-size structs passed in registers regardless of
7068 padding in o32 and o64 ABIs.
7069
7070 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
7071 offset before loading address of argument passed by transparent
7072 reference.
7073
7074 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
7075
7076 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
7077
7078 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
7079
7080 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
7081 marker such that registers after it are saved.
7082
7083 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7084
7085 * sparc.c (arith_4096_operand): Fix error in last change.
7086
7087 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
7088
7089 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
7090 defaults for MEABI.
7091
7092 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
7093
7094 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
7095 vectors.
7096
7097 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
7098
7099 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
7100
7101 Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
7102
7103 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
7104 removed; fix return value.
7105 * combine.c (combine_instructions): Dirtify blocks where we failed to
7106 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
7107 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
7108
7109 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7110
7111 * gcse.c (insert_insn_end_bb): Fix typo in last change.
7112
7113 Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
7114
7115 * recog.c (peephole2_optimize): Re-distribute EH edges.
7116
7117 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
7118
7119 * expr.c (expand_expr): Use unsave lang hook.
7120 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
7121 (LANG_HOOKS_INITIALIZER): Update.
7122 * langhooks.h (struct lang_hooks): New hook unsave.
7123 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
7124 (unsave_expr_1): Remove unused lang_unsave_expr_now.
7125 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
7126 (unsave_expr_now): Remove.
7127 * tree.h (unsave_expr_now, lang_unsave,
7128 lang_unsave_expr_now): Remove.
7129 (lhd_unsave): New.
7130
7131 2002-03-08 Andreas Jaeger <aj@suse.de>
7132
7133 * flow.c (propagate_block_delete_insn): Remove unused variable.
7134
7135 2002-03-08 Kazu Hirata <kazu@hxi.com>
7136
7137 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
7138 insn length for memory load/store.
7139
7140 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
7141
7142 * doc/install.texi (--with-libiconv-prefix): Document.
7143
7144 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
7145
7146 * doc/sourcebuild.texi: Fix typo.
7147
7148 2002-03-08 Jakub Jelinek <jakub@redhat.com>
7149
7150 PR c/3711
7151 * builtins.c (std_expand_builtin_va_arg): Do all computations on
7152 trees.
7153
7154 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7155
7156 * rtl.c (copy_most_rtx): Move from here ...
7157 * emit-rtl.c (copy_most_rtx): ... to here.
7158
7159 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
7160
7161 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
7162 SUBTARGET_CPP_SIZE_SPEC.
7163 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
7164
7165 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
7166
7167 2002-03-07 Matt Hiller <hiller@redhat.com>
7168
7169 * gensupport.c (first_dir_md_include): Renamed from include;
7170 change all references.
7171 (last_dir_md_include): Renamed from last_include; change all
7172 references.
7173 (init_md_reader): Unconditionally initialize base_dir whether or
7174 not filename is a relative path.
7175
7176 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
7177
7178 * config/fp-bit.c (_unord_f2): Compile it in even if
7179 US_SOFTWARE_GOFAST is enabled.
7180
7181 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
7182 NULL_RTX. Set all HFmode operations as NULL_RTX.
7183 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
7184 NULL_RTX, try reversing the comparison and the operands.
7185
7186 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
7187
7188 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
7189 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
7190 and MATCH_OP_DUP.
7191
7192 Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
7193
7194 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
7195
7196 Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
7197
7198 * basic-block.h (fixup_abnormal_edges): Declare.
7199 * reload1.c (fixup_abnormal_edges): New function.
7200 * reg-stack.c (convert_regs): Use it.
7201
7202 * gcse.c (insert_insn_end_bb): Handle trapping insns.
7203
7204 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
7205
7206 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
7207
7208 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
7209 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
7210 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
7211 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
7212 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
7213 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
7214 unless x and y could be infinite.
7215 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
7216 Check that the common type of both arguments is a real, even for
7217 targets without unordered comparisons. Allow an integer argument
7218 to be compared against a real.
7219 (expand_tree_builtin): Use expand_unordered_cmp.
7220 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
7221 * cse.c (fold_rtx): Likewise. Fix indentation.
7222 * fold-const.c (fold_real_zero_addition_p): New.
7223 (fold): Use it, and the new HONOR_... macros.
7224 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
7225 * jump.c (reversed_comparison_code_parts): After searching for
7226 the true comparison mode, use HONOR_NANS to decide whether it
7227 can be safely reversed.
7228 (reverse_condition_maybe_unordered): Remove IEEE check.
7229 * simplify-rtx.c (simplify_binary_operation): Use the new macros
7230 to decide which simplifications are valid. Allow the following
7231 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
7232 and (a - -b) to (a + b).
7233 (simplify_relational_operation): Use HONOR_NANS.
7234 * doc/tm.texi: Document the MODE_HAS_... macros.
7235
7236 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
7237
7238 * combine.c (simplify_comparison): If simplifying a logical shift
7239 right and compare with constant, force the comparison to unsigned.
7240
7241 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
7242
7243 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
7244
7245 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
7246 -mabi=no-altivec
7247 (alt_reg_names): Remove % for vrsave.
7248
7249 2002-03-06 Richard Henderson <rth@redhat.com>
7250
7251 PR optimization/5844
7252 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
7253 if used indicates we've already emitted one copy of an operand.
7254 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
7255 (gen_split): Supply a non-null used.
7256
7257 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
7258
7259 * reload1.c (reload): Unshare all rtl after reload is done.
7260
7261 * simplify-rtx.c (simplify_plus_minus): Do not abort,
7262 but simply fail if the expression is too complex to simplify.
7263 (simplify_gen_binary): Handle simplify_plus_minus failures.
7264
7265 Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
7266
7267 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
7268 consistently call delete_trivially_dead_insns after CSE and GCSE;
7269 fix DFI_life dumping; do jump threading after liveness; do crossjumping
7270 after liveness2; update comment in last crossjumping.
7271 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
7272
7273 Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
7274
7275 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
7276 after completing fast dead code elimination.
7277
7278 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
7279 COMPARE operator.
7280
7281 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
7282
7283 * version.c: Fix misplaced leading blanks on first line.
7284
7285 Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
7286
7287 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
7288
7289 Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
7290
7291 * cfgcleanup.c (mentions_nonequal_regs): New function.
7292 (thread_jump): Use it.
7293 * toplev.c (rest_of_compilation): Run jump threading after
7294 liveness.
7295
7296 2002-03-06 Jakub Jelinek <jakub@redhat.com>
7297
7298 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
7299 patch.
7300
7301 Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
7302
7303 * predict.c (estimate_bb_frequencies): Do not reload the
7304 frequencies from notes.
7305
7306 Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
7307
7308 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
7309 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
7310
7311 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
7312 delete_noop_moves): Return indeger.
7313 * flow.c (ndead): New variable.
7314 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
7315 BB argument; update callers.
7316 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
7317 (life_analysis): Do not call purge_all_dead_edges.
7318 (update_life_info): Return number of deleted insns; print statistics.
7319 (update_life_info_in_dirty_blocks): likewise.
7320 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
7321 return number of insns deleted.
7322
7323 * cse.c: Include timevar.h
7324 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
7325 iterate until stabilizes; print statistics; return number of killed
7326 insns.
7327 * Makefile.in: (cse.o): Add timevar.h dependency
7328 * rtl.h (delete_trivially_dead_insns): New.
7329 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
7330 * toplev.c (rest_of_compilation): Update callers.
7331
7332 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
7333 (try_optimize_cfg): Do not update liveness.
7334 (cleanup-cfg): Loop until try_optimize_cfg and dead code
7335 removal stabilizes; use delete_trivially_dead_insns.
7336
7337 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
7338
7339 2002-03-05 Zack Weinberg <zack@codesourcery.com>
7340
7341 * cppmain.c (setup_callbacks): Disable #pragma and #ident
7342 callbacks when processing assembly language.
7343
7344 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
7345
7346 * pa.h (ASM_FILE_END): Define.
7347 * som.h (ASM_FILE_END): Delete.
7348
7349 * pa.c (function_arg): Don't pass floats in general registers in
7350 indirect calls if TARGET_ELF32.
7351
7352 2002-03-05 Richard Henderson <rth@redhat.com>
7353
7354 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
7355
7356 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
7357
7358 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
7359
7360 2002-03-05 Jakub Jelinek <jakub@redhat.com>
7361
7362 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
7363 -r command line. Don't hide any symbols if not building
7364 shared libgcc.
7365
7366 Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
7367
7368 * cfg.c (dump_flow_info): Warn about profile mismatches.
7369 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
7370 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
7371
7372 2002-03-05 Jakub Jelinek <jakub@redhat.com>
7373
7374 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
7375 wide volatile memory by parts.
7376
7377 2002-03-05 Jakub Jelinek <jakub@redhat.com>
7378
7379 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
7380 is NULL.
7381
7382 2002-03-05 Richard Henderson <rth@redhat.com>
7383
7384 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
7385
7386 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
7387
7388 * toplev.c (documented_lang_options): Document more
7389 language-specific options.
7390 * doc/invoke.texi (Warning Options): Correct documentation for
7391 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
7392 * c-decl.c (c_decode_option): Use a table to handle warning options.
7393
7394 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
7395
7396 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
7397 parameter to mmix_encode_section_info.
7398 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
7399 relocatably. Always produce ELF, not mmo if linking relocatably.
7400 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
7401 first is non-zero, don't add symbol prefix.
7402 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
7403 prototype accordingly.
7404
7405 2002-03-04 Krister Walfridsson <cato@df.lth.se>
7406
7407 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
7408
7409 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
7410
7411 * configure.in: Increase required makeinfo version to 4.1.
7412 * configure: Regenerate.
7413
7414 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
7415
7416 * .cvsignore: Remove *.info* and genrtl*; these files are generated
7417 elsewhere now.
7418
7419 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
7420
7421 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
7422 * doc/invoke.texi: Fix @math uses.
7423
7424 Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
7425
7426 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
7427 removal
7428
7429 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
7430
7431 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
7432 (powerpc-*-eabisimaltivec*): Same.
7433
7434 * config/rs6000/t-ppcendian: New.
7435
7436 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7437
7438 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
7439 nonimmediate_src_operand and nonimmediate_lsrc_operand to
7440 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
7441
7442 2002-03-03 Richard Henderson <rth@redhat.com>
7443
7444 * toplev.c (rest_of_decl_compilation): Revert last two changes.
7445
7446 2002-03-03 Zack Weinberg <zack@codesourcery.com>
7447
7448 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
7449 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
7450 tree.c, config/m68k/m68k.c:
7451 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
7452 REAL_ARITHMETIC blocks unconditional. Delete some further
7453 #ifdef blocks predicated on REAL_ARITHMETIC.
7454 * flags.h, toplev.c: Delete remaining references to
7455 flag_pretend_float.
7456
7457 * doc/invoke.texi: Remove documentation of -fpretend-float.
7458 * doc/tm.texi: Describe the various REAL_* macros as provided by
7459 real.h, not by the target configuration files.
7460
7461 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
7462 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
7463 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
7464 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
7465 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
7466 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
7467 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
7468 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
7469 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
7470 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
7471 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
7472 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
7473 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
7474 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
7475 config/xtensa/xtensa.h:
7476 Do not define, undefine, or mention in comments any of
7477 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
7478 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
7479 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
7480 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
7481 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
7482 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
7483 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
7484 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
7485 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
7486
7487 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7488
7489 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
7490 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
7491 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
7492 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
7493 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
7494 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
7495 Delete.
7496 * defaults.h (BITS_PER_WORD): Define.
7497 * doc/tm.texi (BITS_PER_WORD): Document default value.
7498
7499 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
7500 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
7501 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
7502
7503 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7504
7505 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
7506 lieu of explicit sizeof/sizeof.
7507 * i386.c (override_options, ix86_init_mmx_sse_builtins,
7508 ix86_expand_builtin): Likewise.
7509 * mips.c (mips_add_gc_roots): Likewise.
7510 * mmix.c (mmix_output_condition): Likewise.
7511 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
7512 altivec_init_builtins): Likewise.
7513 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
7514 * cppexp.c (Nsuff, parse_number): Likewise.
7515 * cppinit.c (builtin_array_end): Likewise.
7516 * gcc.c (n_default_compilers, process_command): Likewise.
7517 * genpreds.c (output_predicate_decls): Likewise.
7518 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
7519 * lcm.c (N_ENTITIES): Likewise.
7520 * stor-layout.c (set_sizetype): Likewise.
7521
7522 2002-03-03 Richard Henderson <rth@redhat.com>
7523
7524 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
7525 for types or labels.
7526
7527 2002-03-03 Richard Henderson <rth@redhat.com>
7528
7529 * c-decl.c (start_decl): Initialized variables are not common.
7530
7531 2002-03-02 Per Bothner <per@bothner.com>
7532
7533 * gcc.c (option_map): Suport new --bootclasspath option.
7534 --CLASSPATH is now just an alias for --classpath.
7535
7536 2002-03-02 Richard Henderson <rth@redhat.com>
7537
7538 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
7539 load if "internal" visibility.
7540 * doc/extend.texi: Document visibility meanings.
7541
7542 2002-03-02 Richard Henderson <rth@redhat.com>
7543
7544 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
7545 to functions as well.
7546
7547 2002-03-02 Richard Henderson <rth@redhat.com>
7548
7549 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
7550 (handle_visibility_attribute): Don't call assemble_visibility.
7551 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
7552 without asmspec. Invoke assemble_alias when needed.
7553 * varasm.c (maybe_assemble_visibility): New.
7554 (assemble_start_function, assemble_variable, assemble_alias): Use it.
7555
7556 2002-03-02 Richard Henderson <rth@redhat.com>
7557
7558 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
7559 invoke ENCODE_SECTION_INFO with first call flag.
7560
7561 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
7562 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
7563 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
7564 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
7565 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
7566 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
7567 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
7568 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
7569 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
7570 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
7571 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7572 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
7573 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
7574 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
7575 config/mcore/mcore-protos.h, config/mcore/mcore.c,
7576 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
7577 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
7578 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
7579 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
7580 config/sh/sh.h, config/sparc/sparc.h,
7581 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
7582 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
7583 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
7584 FIRST argument. As needed, examine it and do nothing.
7585
7586 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
7587 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
7588 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
7589
7590 * config/arm/t-pe (pe.o): Add dependencies.
7591
7592 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7593
7594 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
7595 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
7596 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
7597 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
7598 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
7599 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
7600 * defaults.h (BITS_PER_UNIT): Define.
7601 * doc/tm.texi (BITS_PER_UNIT): Document default value.
7602
7603 2002-03-02 Kazu Hirata <kazu@hxi.com>
7604
7605 * config/h8300/h8300-protos.h: Add a prototype for
7606 compute_a_shift_length.
7607 * config/h8300/h8300.c (h8300_asm_insn_count): New.
7608 (compute_a_shift_length): Likewise.
7609 (h8300_adjust_insn_length): Do not adjust insn length of shift
7610 insns.
7611 * config/h8300/h8300.md (anonymous shift patterns): Use
7612 compute_a_shift_length.
7613
7614 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7615
7616 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
7617 trunc_int_for_mode.
7618
7619 * emit-rtl.c (offset_address): Call update_temp_slot_address.
7620
7621 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7622
7623 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
7624 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
7625 * flags.h (flag_zero_initialized_in_bss): Declare.
7626 * toplev.c (flag_zero_initialized_in_bss): New flag.
7627 (lang_independent_options): Add flag_zero_initialized_in_bss.
7628 * tree.c (initializer_zerop): New function.
7629 * tree.h (initializer_zerop): Declare.
7630 * varasm.c (assemble_variable): If we can emit bss, put zero
7631 initializers in the bss section.
7632
7633 2002-03-02 Alan Modra <amodra@bigpond.net.au>
7634
7635 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
7636 like more than one symbol per .weak directive.
7637
7638 2002-03-01 Richard Henderson <rth@redhat.com>
7639
7640 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
7641 adjust argument_pointer by pretend_args_size.
7642 (ia64_va_start): Adjust va_start address by -pretend_args_size.
7643
7644 2002-03-01 Kazu Hirata <kazu@hxi.com>
7645
7646 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
7647
7648 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
7649
7650 * toplev.c (rest_of_compilation): Delete dead jumptables before
7651 loop.
7652 * flow.c (delete_dead_jumptables): Make global.
7653 * rtl.h (delete_dead_jumptables): Declare.
7654
7655 2002-03-01 David Edelsohn <edelsohn@gnu.org>
7656
7657 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
7658 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
7659 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
7660
7661 2002-03-01 Kazu Hirata <kazu@hxi.com>
7662
7663 * config/h8300/h8300-protos.h: Fix formatting.
7664 * config/h8300/h8300.c: Likewise.
7665 * config/h8300/h8300.h: Likewise.
7666
7667 2002-03-01 Kazu Hirata <kazu@hxi.com>
7668
7669 * config/h8300/h8300.c (print_operand): Support 16-bit
7670 constant addresses.
7671 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
7672
7673 2002-02-28 Richard Henderson <rth@redhat.com>
7674
7675 * expmed.c (store_bit_field): Prevent generation of CONCATs;
7676 pun complex values as integers; use gen_lowpart instead of
7677 gen_rtx_SUBREG.
7678 (extract_bit_field): Likewise.
7679
7680 2002-03-01 Alan Modra <amodra@bigpond.net.au>
7681 David Edelsohn <edelsohn@gnu.org>
7682
7683 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
7684 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
7685 (SUPPORTS_WEAK): Likewise.
7686 * output.h (add_weak): Add tree param.
7687 * varasm.c (add_weak): Likewise. Save decl.
7688 (struct weak_syms): Add decl field.
7689 (mark_weak_decls): New function.
7690 (init_varasm_once): ggc_add_root mark_weak_decls.
7691 (assemble_start_function): Use ASM_WEAKEN_DECL.
7692 (assemble_variable): Likewise.
7693 (assemble_alias): Likewise.
7694 (declare_weak): Pass decl to add_weak.
7695 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
7696 (remove_from_pending_weak_list): Declare and define for
7697 ASM_WEAKEN_DECL.
7698 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
7699 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
7700 * defaults.h (SUPPORTS_WEAK): Likewise.
7701 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
7702 .weak for code sym. Do emit .size for descriptor sym.
7703 (ASM_DECLARE_FUNCTION_SIZE): Define.
7704 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
7705 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
7706 .lglobl unless TARGET_XCOFF. Formatting fixes.
7707 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
7708 .weak for code sym.
7709 (HANDLE_PRAGMA_WEAK): Remove.
7710 (ASM_WEAKEN_LABEL): Remove.
7711 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
7712
7713 2002-03-01 Jason Merrill <jason@redhat.com>
7714
7715 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
7716 (TARGET_EXPR_CLEANUP): New macro.
7717
7718 2002-02-28 Steve Ellcey <sje@cup.hp.com>
7719
7720 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
7721 to take ptr_extend into account as third type of extension.
7722 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
7723 fields used by SUBREG_PROMOTED_UNSIGNED_P.
7724 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
7725 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
7726 * calls.c (precompute_arguments): Use new macro.
7727 (expand_call): Ditto.
7728 * combine.c (nonzero_bits): Ditto.
7729 (record_promoted_value): Ditto.
7730 * expr.c (store_expr): Ditto.
7731 (expand_expr): Ditto.
7732 * function.c (assign_parms): Ditto.
7733
7734 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
7735
7736 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
7737 override -shared and -shared-libgcc.
7738
7739 2002-02-28 David O'Brien <obrien@FreeBSD.org>
7740
7741 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
7742 of "ultrasparc".
7743 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
7744 to be broken.
7745
7746 2002-02-28 Richard Henderson <rth@redhat.com>
7747
7748 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
7749 4 cycle latency from MM producers.
7750 (ia64_internal_sched_reorder): Likewise with pipeline flush.
7751
7752 2002-02-28 Jakub Jelinek <jakub@redhat.com>
7753
7754 * mklibgcc.in: Don't use GNU make extension.
7755
7756 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
7757
7758 * c-parse.in (STATIC): New terminal.
7759 (scspec): New non-terminal. Update productions accordingly.
7760 (program): Remove bogus ifc / end ifc.
7761 (array_declarator): Simplify production using STATIC.
7762
7763 2002-02-28 Jim Meyering <meyering@lucent.com>
7764
7765 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
7766 \a still means TARGET_BELL.
7767
7768 2002-02-28 Richard Henderson <rth@redhat.com>
7769
7770 * haifa-sched.c (sched_emit_insn): New.
7771 (schedule_block): Use last_scheduled_insn to track last insn.
7772 * sched-int.h (sched_emit_insn): Prototype.
7773 * config/ia64/ia64.c (last_issued): Remove.
7774 (ia64_variable_issue): Don't set it.
7775 (nop_cycles_until): Use sched_emit_insn.
7776
7777 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
7778
7779 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
7780 extended constants.
7781
7782 2002-02-28 Kazu Hirata <kazu@hxi.com>
7783
7784 * config/h8300/h8300.c: Fix formatting.
7785 * config/h8300/h8300.h: Likewise.
7786
7787 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
7788
7789 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
7790 which may overwrite the high byte of the frame pointer.
7791
7792 2002-02-28 Bo Thorsen <bo@suse.de>
7793
7794 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
7795 (STARTFILE_SPEC): Add 64 bit files.
7796 (ENDFILE_SPEC): Likewise.
7797
7798 2002-02-28 Jason Merrill <jason@redhat.com>
7799
7800 * c-decl.c (finish_function): Only warn about missing return
7801 statement with -Wreturn-type.
7802
7803 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
7804
7805 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
7806
7807 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
7808 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
7809
7810 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
7811
7812 * basic-block.h (BB_REACHABLE): Renumber.
7813 (BB_DIRTY, BB_NEW): New flags.
7814 (clear_bb_flags): Declare.
7815 (update_life_info_in_dirty_blocks): Declare.
7816 * cfg.c (clear_bb_flags): New function.
7817 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
7818 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
7819 reorder_insns, emit_insn_after): Mark block as dirty.
7820 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
7821 (update_life_info_in_dirty_blocks): New function.
7822 * recog.c (apply_change_group): Dirtify block.
7823
7824 * cse.c (cse_insn): Reorder emitting of jump insn to keep
7825 cfg consistent.
7826 * gcse.c (delete_null_pointer_checks): Likewise.
7827
7828 * toplev.c (dump_file_index): Move cse2 after bp,
7829 add DFI_null
7830 (dump_file_info): Similary.
7831 (rest_of_compilation): Avoid most of CFG rebuilds;
7832 do first if converision after null pointer checks, do cse2
7833 after branch prediction; avoid full liveness rebuild after
7834 initializing subregs.
7835 * invoke.texi (-d options): Document -du, renumber.
7836
7837 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
7838 (notice_new_block): Do not set BB_UPDATE_LIFE.
7839 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
7840 merge_blocks_move_successor_nojumps, merge_blocks,
7841 try_crossjump_to_edge): Likewise.
7842 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
7843 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
7844 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
7845 (merge_of_block): Do not use life_data_ok.
7846 (find_if_case_1): Do not use SET_UPDATE_LIFE.
7847 (if_convert): Use BB_DIRTY mechanizm to update life.
7848 * lcm.c (optimize_mode_switching): Update
7849 update_life_info_in_dirty_blocks
7850
7851 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
7852
7853 * Makefile.in (integrate.o): Update.
7854 * c-decl.c (copy_lang_decl): Rename.
7855 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
7856 * integrate.c: Include langhooks.h.
7857 (copy_decl_for_inlining): Update to use langhook.
7858 * langhooks-def.h (lhd_do_nothing_t,
7859 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
7860 (LANG_HOOKS_INITIALIZER): Update.
7861 * langhooks.c (lhd_do_nothing_t): New.
7862 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
7863 * tree.h (copy_lang_decl): Remove.
7864 objc:
7865 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
7866
7867 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
7868
7869 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
7870 POST_DEC, and POST_MODIFY.
7871
7872 2002-02-27 Zack Weinberg <zack@codesourcery.com>
7873
7874 * c-typeck.c (digest_init): Remove unused parameter; all
7875 callers changed.
7876
7877 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
7878
7879 * expmed.c (expand_shift): Correctly test for low part of a
7880 subreg.
7881
7882 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
7883
7884 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
7885 insn UIDs with insn addresses.
7886
7887 2002-02-27 Zack Weinberg <zack@codesourcery.com>
7888
7889 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
7890 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
7891 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
7892 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
7893 gcc.c, toplev.c: Delete code implementing -traditional mode.
7894
7895 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
7896 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
7897 Document removal of -traditional mode for compilation, and
7898 remove documentation only relevant to that mode.
7899
7900 * config/nextstep.h, config/ptx4.h, config/svr4.h,
7901 config/convex/convex.h, config/d30v/d30v.h,
7902 config/i386/dgux.h, config/i386/osf1elf.h,
7903 config/i386/osfelf.h, config/i386/osfrose.h,
7904 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
7905 config/m68k/hp310.h, config/m88k/dgux.h,
7906 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
7907 config/m88k/m88k.h, config/m88k/openbsd.h,
7908 config/mips/abi64.h, config/mips/osfrose.h,
7909 config/mips/svr4-5.h, config/mips/svr4-t.h,
7910 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
7911 config/stormy16/stormy16.h: Remove all references to
7912 -traditional from target specs. Delete all mention of the
7913 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
7914 delete a couple of commented-out definitions of
7915 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
7916 to -traditional.
7917
7918 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
7919 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
7920
7921 2002-02-27 Zack Weinberg <zack@codesourcery.com>
7922
7923 * mklibgcc.in: Don't use \n in a line subject to
7924 interpretation by echo.
7925
7926 2002-02-27 Graham Stott <grahams@redhat.com>
7927
7928 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
7929 Constify NAME.
7930
7931 * loop.c (prescan_loop): Handle PARALLEL.
7932
7933 * unroll.c (loop_iterations): Return 0 if the add_val for
7934 a BIV is REG.
7935
7936 * final.c (output_operand_lossage): Constify PFX_STR.
7937
7938 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
7939
7940 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
7941
7942 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
7943 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
7944
7945 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
7946
7947 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
7948
7949 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
7950
7951 * cpplex.c (_cpp_lex_token): Handle directives in macro
7952 arguments.
7953 * cpplib.c (_cpp_handle_directive): Save and restore state
7954 if parsing macro args when entering a directive.
7955 * cppmacro.c (collect_args): No need to handle directives
7956 in macro arguments.
7957 (enter_macro_context, replace_args): Use the original macro
7958 definition in case it was redefined whilst collecting arguments.
7959 doc:
7960 * cpp.texi: Update.
7961
7962 2002-02-26 David Edelsohn <edelsohn@gnu.org>
7963
7964 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
7965 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
7966 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
7967 method on AIX.
7968 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
7969 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
7970 (load_toc_v4_PIC_2): Same.
7971
7972 2002-02-26 Alan Modra <amodra@bigpond.net.au>
7973
7974 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
7975
7976 2002-02-26 Richard Henderson <rth@redhat.com>
7977
7978 * config/alpha/alpha.md (ashldi_se): Re-enable.
7979
7980 2002-02-26 Richard Henderson <rth@redhat.com>
7981
7982 * config/alpha/alpha.c (alpha_encode_section_info): Examine
7983 MODULE_LOCAL_P; improve commentary.
7984
7985 2002-02-26 Zack Weinberg <zack@codesourcery.com>
7986
7987 * doc/cpp.texi: Clarify documentation of relationship between
7988 #line and #include.
7989
7990 2002-02-26 Kazu Hirata <kazu@hxi.com>
7991
7992 * config/h8300/h8300-protos.h: Update the prototype for
7993 compute_logical_op_length. Add the prototype for
7994 compute_logical_op_cc.
7995 * config/h8300/h8300.c (compute_logical_op_length): Figure out
7996 code from operands.
7997 (compute_logical_op_cc): New.
7998 * config/h8300/h8300.md: Combine all the logical op patterns
7999 in HImode and SImode. Use compute_logical_op_cc.
8000
8001 2002-02-26 Kelley Cook <kelleycook@comcast.net>
8002
8003 * config/i386/i386.c (print_operand): Don't append ATT-style
8004 length suffixs to x87 opcodes when in Intel mode.
8005
8006 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
8007
8008 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
8009 (init_emit_once): Update calls.
8010 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
8011 (init_syntax_once): Prototype.
8012
8013 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
8014
8015 * pa-linux.h (LIB_SPEC): Update definition.
8016 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
8017
8018 2002-02-26 Richard Henderson <rth@redhat.com>
8019
8020 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
8021 if we emitted a stop bit.
8022
8023 2002-02-26 Jakub Jelinek <jakub@redhat.com>
8024
8025 * configure.in (libgcc_visibility): Substitute.
8026 * configure: Rebuilt.
8027 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
8028 defined symbols .hidden.
8029
8030 2002-02-26 Jakub Jelinek <jakub@redhat.com>
8031
8032 * attribs.c (c_common_attribute_table): Add visibility.
8033 (handle_visibility_attribute): New function.
8034 * varasm.c (assemble_visibility): New function.
8035 * output.h (assemble_visibility): Add prototype.
8036 * tree.h (MODULE_LOCAL_P): Define.
8037 * crtstuff.c (__dso_handle): Use visibility attribute.
8038 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
8039 for MODULE_LOCAL_P symbols too.
8040 * config/ia64/ia64.c (ia64_encode_section_info): Handle
8041 MODULE_LOCAL_P symbols the same way as local symbols.
8042 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
8043 into .sdata/.sbss by the user.
8044 * doc/extend.texi (Function Attributes): Document visibility
8045 attribute.
8046
8047 2002-02-26 Jakub Jelinek <jakub@redhat.com>
8048
8049 PR debug/5770
8050 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
8051 STRING_CST initializer spanning the whole variable without
8052 embedded zeros.
8053 If expand_expr returned MEM, don't use it.
8054
8055 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
8056
8057 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
8058 generate a die for the lexical block.
8059
8060 2002-02-26 Kazu Hirata <kazu@hxi.com>
8061
8062 * config/h8300/h8300-protos.h: Add a prototype for
8063 compute_logical_op_length.
8064 * config/h8300/h8300.c (compute_logical_op_length): New.
8065 * config/h8300/h8300.md (anonymous logical patterns): Use
8066 compute_logical_op_length for length.
8067
8068 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8069
8070 * dwarf2out.c (modified_type_die): Do not call type_main_variant
8071 for vectors.
8072 (gen_type_die): Same.
8073
8074 * attribs.c (handle_vector_size_attribute): Set debug information.
8075
8076 2002-02-26 Daniel Egger <degger@fhm.edu>
8077
8078 * config/rs6000/rs6000.md: Swap define_insn attributes to
8079 fix incorrect generation of merge high instructions instead
8080 of merge low.
8081
8082 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8083
8084 * c-typeck.c (really_start_incremental_init): Use
8085 bitsize_zero_node for vectors.
8086
8087 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
8088
8089 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
8090 ("*set_vrsave_internal"): Same.
8091
8092 2002-02-25 Richard Henderson <rth@redhat.com>
8093
8094 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
8095 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
8096
8097 2002-02-25 Jakub Jelinek <jakub@redhat.com>
8098
8099 PR target/5755
8100 * config/i386/i386.c (ix86_return_pops_args): Only pop
8101 fake structure return argument if it was passed on the stack.
8102
8103 2002-02-25 Jason Merrill <jason@redhat.com>
8104
8105 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
8106 RESULT_DECL.
8107
8108 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
8109
8110 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
8111 link with shared_name only.
8112 * doc/invoke.texi (Link Options): Document new behavior.
8113
8114 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
8115
8116 * c-typeck.c (push_init_level): Handle vectors.
8117
8118 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
8119
8120 * config/sparc/sparc.c (const64_high_operand): Zero-extend
8121 operands of SPARC_SETHI_P.
8122 (input_operand): Likewise.
8123 (sparc_emit_set_const32): Likewise.
8124 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
8125 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
8126 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
8127 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
8128 (movdi_insn_sp64_vis): Likewise.
8129 (movdi split, movdf split): Use SETHI32.
8130 * doc/md.texi: Document SPARC constraints L, M and N.
8131
8132 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
8133
8134 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
8135 ("*set_vrsave_internal"): use mfspr for Darwin.
8136
8137 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
8138 gen_get_vrsave_internal.
8139
8140 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8141
8142 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
8143
8144 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
8145
8146 * cpplex.c (cpp_interpret_charconst): Get signedness or
8147 otherwise of wide character constants correct.
8148 * cppexp.c (lex): Get signedness of wide charconsts correct.
8149
8150 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8151
8152 * optabs.c (widen_operand): Only call convert_modes for
8153 promoted SUBREG if signedness matches.
8154 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
8155
8156 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
8157
8158 * cpplib.c (glue_header_name): Use local buffer to build up
8159 header name.
8160
8161 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
8162
8163 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
8164
8165 2002-02-23 Kazu Hirata <kazu@hxi.com>
8166
8167 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
8168 H8/300[HS] separately.
8169 * config/h8300/h8300.md: Remove the early clobber constraint
8170 from bit field patterns.
8171
8172 2002-02-23 Kazu Hirata <kazu@hxi.com>
8173
8174 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
8175 register_operand.
8176 (mulhisi3): Likewise.
8177 (umulqisi3): Likewise.
8178 (umulhisi3): Likewise.
8179
8180 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
8181
8182 * cppinit.c (output_deps): Correct test for stdout output.
8183 (init_dependency_output): Cure warning.
8184
8185 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8186
8187 * expr.c (store_expr): When converting expression to promoted
8188 equivalent type, allow using SUBREG_REG of TARGET as the target
8189 of the expansion of EXP.
8190 * loop.c (basic_induction_var, case SUBREG): Always look inside.
8191 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
8192 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
8193 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
8194 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
8195
8196 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
8197
8198 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
8199 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
8200 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
8201
8202 2002-02-23 Jakub Jelinek <jakub@redhat.com>
8203
8204 PR optimization/5747
8205 * loop.c (scan_loop): Update reg info if move_movables created new
8206 pseudos.
8207
8208 2002-02-23 David Edelsohn <edelsohn@gnu.org>
8209
8210 * gcc.c (init_gcc_spec): Revert last change.
8211
8212 2002-02-23 David Edelsohn <edelsohn@gnu.org>
8213
8214 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
8215 gpc_reg_operand constraint.
8216
8217 2002-02-23 Alan Modra <amodra@bigpond.net.au>
8218
8219 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
8220 Simplify comparison of `low'.
8221 (add_operand): Fix formatting.
8222 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
8223 (mask_operand): Disallow mask to wrap in 64-bit mode.
8224 (rs6000_stack_info): Remove redundant test setting push_p.
8225 (output_toc): Fix formatting.
8226 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
8227 cc_reg_not_cr0_operand constraint.
8228 (booldi3, boolcdi3 splitters): Same.
8229
8230 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
8231
8232 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
8233
8234 2002-02-22 David Edelsohn <edelsohn@gnu.org>
8235
8236 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
8237 gcc invoked with -shared-libgcc.
8238
8239 2002-02-22 Jakub Jelinek <jakub@redhat.com>
8240
8241 PR c++/5748
8242 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
8243 decl if any of elements was TREE_USED.
8244
8245 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
8246
8247 * config/sparc/sol2.h: Don't include sys/mman.h.
8248 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
8249 (arith_4096_operand): Don't throw high bits away.
8250 (const64_operand): Take sign extension of CONST_INTs into account.
8251 (const64_high_operand, sparc_emit_set_const32): Likewise.
8252 (GEN_HIGHINT64): Likewise.
8253 (sparc_emit_set_const64_quick1): Likewise.
8254 (const64_is_2insns): Likewise.
8255 (print_operand): Use trunc_int_for_mode for sign extension.
8256 * config/sparc/sparc.h (SMALL_INT32): Likewise.
8257 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
8258 chars. Assume CONST_INT is already properly sign-extended.
8259 (movdi split): Sign-extend each SImode part.
8260 (andsi3 split): Don't mask high bits off, so that result
8261 remains properly sign-extend.
8262 (iorsi3 split): Likewise.
8263 (xorsi3 split): Likewise.
8264
8265 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
8266
8267 * fold-const.c (fold): Fix typo in comments.
8268
8269 2002-02-21 Diego Novillo <dnovillo@redhat.com>
8270
8271 * Makefile.in (langhooks.o): Update dependencies.
8272
8273 2002-02-21 Diego Novillo <dnovillo@redhat.com>
8274
8275 * langhooks.c: Include flags.h.
8276
8277 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
8278
8279 * testsuite/gcc.dg/attr-alwaysinline.c: New.
8280
8281 * c-common.c (c_common_post_options): Set inline trees by
8282 default.
8283
8284 * doc/extend.texi (Function Attributes): Document always_inline
8285 attribute.
8286 Update documentation about inlining when not optimizing.
8287
8288 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
8289
8290 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
8291 unless DECL_ALWAYS_INLINE.
8292
8293 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
8294 unless DECL_ALWAYS_INLINE.
8295 (c_disregard_inline_limits): Disregard if always_inline set.
8296
8297 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
8298 Disregard if always_inline set.
8299 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
8300 unless DECL_ALWAYS_INLINE.
8301
8302 * attribs.c (handle_always_inline_attribute): New.
8303 (c_common_attribute_table): Add always_inline.
8304
8305 * config/rs6000/altivec.h: Add prototypes for builtins
8306 requiring the always_inline attribute.
8307
8308 2002-02-21 Eric Christopher <echristo@redhat.com>
8309
8310 * expmed.c (store_bit_field): Try to simplify the subreg
8311 before generating a new one when when the mode size of
8312 value is less than maxmode.
8313
8314 2002-02-21 Richard Henderson <rth@redhat.com>
8315
8316 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
8317 than gen_rtx_PLUS to form the sum.
8318 * explow.c (force_reg): Rearrange to not allocate new pseudo
8319 when force_operand returns a register.
8320 * expr.c (expand_assignment): Allow offset_rtx expansion to
8321 return a sum. Do not force addresses into registers.
8322 (expand_expr): Likewise.
8323 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
8324 to canonicalize arithmetic that didn't simpify.
8325 (simplify_plus_minus): New argument force; update
8326 all callers. Don't split CONST unless we can do something with it,
8327 and wouldn't lose the constness of the operands.
8328
8329 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
8330 that we generated earlier.
8331
8332 2002-02-21 Tom Tromey <tromey@redhat.com>
8333
8334 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
8335 (output_line_info): Use constant `1', with a long explanatory
8336 comment.
8337 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
8338
8339 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
8340
8341 * jump.c (redirect_jump): If old label has no UID, don't try to
8342 delete it.
8343
8344 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
8345
8346 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
8347 If input is constant, do shifts at compile time.
8348
8349 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
8350
8351 * doc/extend.texi: Fix some more overfull hboxes.
8352
8353 2002-02-21 Jakub Jelinek <jakub@redhat.com>
8354
8355 PR optimization/4994
8356 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
8357 register moves.
8358
8359 2002-02-21 Jakub Jelinek <jakub@redhat.com>
8360
8361 PR c++/4574
8362 * expr.h (expand_and): Add mode argument.
8363 * expmed.c (expand_and): Add mode argument.
8364 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
8365 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
8366 * except.c (expand_builtin_extract_return_addr): Likewise.
8367 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
8368 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
8369 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
8370 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
8371 * config/c4x/c4x.md: Use GEN_INT (x) instead of
8372 gen_rtx (CONST_INT, VOIDmode, x).
8373
8374 2002-02-21 Jakub Jelinek <jakub@redhat.com>
8375
8376 PR c/4697:
8377 * stmt.c (warn_if_unused_value): Move side effects test once more.
8378
8379 2002-02-20 Torbjorn Granlund <tege@swox.com>
8380
8381 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
8382 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
8383
8384 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
8385
8386 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
8387 SUBREG or ZERO_EXTEND.
8388
8389 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
8390
8391 * sh.h (current_function_anonymous_args): Remove.
8392 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
8393 of current_function_varargs and current_function_stdarg is set.
8394 * sh.c (sh_expand_prologue): Check current_function_varargs /
8395 current_function_stdarg / TARGET_SH5 instead of
8396 current_function_anonymous_args.
8397
8398 * sh64.h (TARGET_VERSION): Define.
8399
8400 2002-02-20 David Edelsohn <edelsohn@gnu.org>
8401
8402 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
8403 VRSAVE_REGNO on TARGET_ALTIVEC.
8404
8405 2002-02-20 Alan Modra <amodra@bigpond.net.au>
8406
8407 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
8408 bits of SImode const_int.
8409 (includes_rshift_p): Likewise.
8410 (print_operand): Call mask_operand and mask64_operand with correct
8411 mode.
8412 (rs6000_output_function_epilogue): Pad traceback table to word.
8413 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
8414 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
8415 mask64_operand with correct mode.
8416 (FUNCTION_ARG_REGNO_P): Correct parentheses.
8417
8418 2002-02-20 Jakub Jelinek <jakub@redhat.com>
8419
8420 PR debug/4461
8421 * varasm.c (get_pool_constant_mark): New.
8422 * rtl.h (get_pool_constant_mark): Add prototype.
8423 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
8424 be represented if it has not been output.
8425
8426 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
8427
8428 * combine.c (do_SUBST): Sanity check substitutions of
8429 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
8430 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
8431 CONST_INT into its operand.
8432 (known_cond): Likewise, for ZERO_EXTEND.
8433 * simplify-rtx.c (simplify_unary_operation): Fix condition to
8434 allow for simplification of wide modes. Reject CONST_INTs in
8435 ZERO_EXTEND when their actual mode is not given.
8436
8437 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
8438
8439 * c-decl.c (pushdecl): If no global declaration is found for an
8440 extern declaration in block scope, try a limbo one.
8441
8442 2002-02-20 Jakub Jelinek <jakub@redhat.com>
8443
8444 PR c++/4401
8445 * c-common.c (pointer_int_sum): Moved from...
8446 * c-typeck.c (pointer_int_sum): ...here.
8447 * c-common.h (pointer_int_sum): Add prototype.
8448
8449 2002-02-20 Jakub Jelinek <jakub@redhat.com>
8450
8451 PR c++/5713
8452 * c-decl.c (duplicate_decls): Return 0 if issued error about
8453 redeclaration.
8454
8455 2002-02-20 Roger Sayle <roger@eyesopen.com>
8456 Jakub Jelinek <jakub@redhat.com>
8457
8458 PR c/4389
8459 * tree.c (host_integerp): Ensure that the constant integer is
8460 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
8461 when pos is zero or non-zero respectively. Clarify comment.
8462 * c-format.c (check_format_info_recurse): Fix host_integerp
8463 usage; the pos argument should be zero when assigning to a
8464 signed HOST_WIDE_INT.
8465
8466 2002-02-20 Richard Henderson <rth@redhat.com>
8467
8468 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
8469 of the operand, rather than assuming TImode.
8470 (ix86_expand_binop_builtin): Cope with commutative patterns
8471 using nonimmediate_operand for both operands.
8472 (ix86_expand_timode_binop_builtin): Likewise.
8473 (ix86_expand_store_builtin): Validate operand 1.
8474 (ix86_expand_unop1_builtin): Likewise.
8475
8476 2002-02-20 Philip Blundell <philb@gnu.org>
8477
8478 PR 5705
8479 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
8480
8481 2002-02-20 Richard Henderson <rth@redhat.com>
8482
8483 PR c/5615
8484 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
8485
8486 2002-02-20 Tom Tromey <tromey@redhat.com>
8487
8488 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
8489 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
8490 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
8491 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
8492 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
8493 unconditionally.
8494
8495 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
8496
8497 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
8498 for (const_int 0) in X not just INTVAL.
8499
8500 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
8501
8502 * doc/extend.texi: Avoid or reduce overfull hboxes.
8503
8504 2002-02-20 Diego Novillo <dnovillo@redhat.com>
8505
8506 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
8507 operations if the field does not start at a mode boundary.
8508
8509 2001-02-20 Joel Sherrill <joel@OARcorp.com>
8510
8511 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
8512 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
8513 Also done for -Acpu and -Amachine.
8514
8515 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
8516
8517 * cppinit.c (init_dependency_output): Take deps output file
8518 from -o if none given with -MF. Suppress normal output.
8519 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
8520 * doc/cpp.texi, doc/invoke.texi: Update.
8521
8522 2002-02-19 Zack Weinberg <zack@codesourcery.com>
8523
8524 * toplev.c (output_quoted_string): Write unprintable
8525 characters with octal escapes.
8526
8527 2002-02-19 David Edelsohn <edelsohn@gnu.org>
8528
8529 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
8530 really_call_used[VRSAVE_REGNO] if not Altivec.
8531
8532 2002-02-19 Alan Modra <amodra@bigpond.net.au>
8533
8534 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
8535 MODE_MASK.
8536 (constant_pool_expr_1): Fix formatting.
8537 (rs6000_legitimize_reload_address): Likewise.
8538
8539 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8540
8541 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
8542 now that we have one.
8543
8544 2002-02-19 Zack Weinberg <zack@codesourcery.com>
8545
8546 * tree.h (struct tree_common): Remove aux. Add unused_0 at
8547 end of first block of bitfields (which was only seven bits);
8548 rename dummy to unused_1; remove comment which is no longer true.
8549
8550 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
8551
8552 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
8553
8554 2002-02-19 Philip Blundell <pb@nexus.co.uk>
8555
8556 PR 5399
8557 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
8558 if generating PIC.
8559
8560 PR 5054
8561 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
8562 arm_is_longcall_p rather than inspecting call-type cookie
8563 directly.
8564 (call_value_insn) [TARGET_THUMB]: Likewise.
8565
8566 2002-02-19 Graham Stott <grahams@redhat.com>
8567
8568 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
8569
8570 2002-02-19 David Edelsohn <edelsohn@gnu.org>
8571
8572 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
8573 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
8574 (FP_SAVE_INLINE): Delete.
8575
8576 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
8577 * config/rs6000/eabi.asm: Remove ABI save restore routines.
8578 * config/rs6000/t-ppccomm: Build crtsavres.o.
8579 * config/rs6000/crtsavres.asm: New file.
8580
8581 2002-02-19 Philip Blundell <philb@gnu.org>
8582
8583 * config/arm/arm.c (use_return_insn): Don't reject interrupt
8584 functions.
8585 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
8586 (output_return_instruction): Allow interrupt functions to return with
8587 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
8588 (arm_expand_prologue): Subtract 4 before stacking LR in an
8589 interrupt function.
8590
8591 2002-02-19 Philip Blundell <pb@nexus.co.uk>
8592
8593 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
8594 decl, not just FUNCTION_DECL.
8595 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
8596 (arm_assemble_integer): Likewise.
8597 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
8598 marked local.
8599
8600 2002-02-19 matthew green <mrg@eterna.com.au>
8601
8602 * config.gcc (sparc-*-netbsdelf*): Enable target.
8603 (sparc64-*-netbsd*): New target.
8604 * config/sparc/netbsd-elf.h: New file.
8605 * config/sparc/t-netbsd64: New file.
8606
8607 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
8608
8609 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
8610
8611 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
8612
8613 * doc/invoke.texi: explicitly list the style guidelines that
8614 -Weffc++ checks for.
8615
8616 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
8617
8618 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
8619
8620 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
8621
8622 PR other/5718
8623 * gcc.c (cpp_unique_options): Treat -o as indicating object file
8624 only if not -E. If -E, pass -o through to the preprocessor.
8625
8626 2002-02-19 Kazu Hirata <kazu@hxi.com>
8627
8628 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
8629 register number with an appropriate macro.
8630
8631 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8632
8633 * doc/rtl.texi (Constants): Close @code tag.
8634
8635 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
8636
8637 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
8638 ("mmx_uavgv4hi3"): Same.
8639 ("pmulhrwv4hi3"): Same.
8640
8641 * tree-inline.c (walk_tree): Handle vectors.
8642
8643 * c-common.c (constant_expression_warning): Handle vectors.
8644 (overflow_warning): Same.
8645
8646 * sched-deps.c (sched_analyze_2): Handle vectors.
8647
8648 * rtlanal.c (rtx_unstable_p): Handle vectors.
8649 (rtx_varies_p): Same.
8650 (count_occurrences): Same.
8651 (regs_set_between_p): Same.
8652 (modified_between_p): Same.
8653 (modified_in_p): Same.
8654 (volatile_insn_p): Same.
8655 (volatile_refs_p): Same.
8656 (side_effects_p): Same.
8657 (may_trap_p): Same.
8658 (inequality_comparisons_p): Same.
8659 (replace_regs): Same.
8660 (computed_jump_p_1): Same.
8661
8662 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
8663 argument.
8664 (inner_mode_array): New.
8665 (copy_rtx): Handle vectors.
8666 (copy_most_rtx): Same.
8667 (rtx_equal_p): Same.
8668 (get_mode_alignment): Adjust for vectors.
8669
8670 * resource.c (mark_referenced_resources): Handle vectors.
8671 (mark_set_resources): Same.
8672
8673 * reload1.c (eliminate_regs): Handle vectors.
8674 (elimination_effects): Same.
8675 (scan_paradoxical_subregs): Same.
8676
8677 * reload.c (subst_reg_equivs): Handle vectors.
8678
8679 * regrename.c (scan_rtx): Handle vectors.
8680
8681 * regclass.c (reg_scan_mark_refs): Handle vectors.
8682
8683 * recog.c (find_single_use_1): Handle vectors.
8684
8685 * local-alloc.c (equiv_init_varies_p): Handle vectors.
8686 (contains_replace_regs): Same.
8687 (memref_referenced_p): Same.
8688
8689 * integrate.c (copy_rtx_and_substitute): Handle vectors.
8690 (subst_constants): Same.
8691
8692 * genattrtab.c (attr_copy_rtx): Handle vectors.
8693 (encode_units_mask): Same.
8694 (clear_struct_flag): Same.
8695 (count_sub_rtxs): Same.
8696
8697 * gcse.c (want_to_gcse_p): Handle vectors.
8698 (oprs_unchanged_p): Same.
8699 (hash_expr_1): Same.
8700 (oprs_not_set_p): Same.
8701 (expr_killed_p): Same.
8702 (compute_transp): Same.
8703 (store_ops_ok): Same.
8704
8705 * function.c (purge_addressof_1): Do not allow paradoxical subregs
8706 of vectors.
8707 (fixup_var_refs_1): Same.
8708 (instantiate_virtual_regs_1): Same.
8709
8710 * fold-const.c (operand_equal_p): Handle vectors.
8711 (fold): Same.
8712 (rtl_expr_nonnegative_p): Same.
8713
8714 * flow.c (mark_used_regs): Handle vectors.
8715
8716 * df.c (df_uses_record): Handle vectors.
8717
8718 * cselib.c (cselib_subst_to_values): Handle vectors.
8719 (cselib_mem_conflict_p): Same.
8720 (hash_rtx): Same.
8721
8722 * cse.c (canon_reg): Handle vectors.
8723 (fold_rt): Same.
8724 (cse_process_notes): Same.
8725 (count_reg_usage): Same.
8726 (canon_hash): Same.
8727
8728 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
8729
8730 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
8731
8732 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
8733 (gen_rtx): Handle CONST_VECTOR.
8734 (gen_const_vector_0): New.
8735 (copy_rtx_if_shared): CONST_VECTORs can be shared.
8736 (reset_used_flags): Same.
8737 (copy_insn_1): Same.
8738 (initializer_constant_valid_p): Handle VECTOR_CST.
8739
8740 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
8741
8742 * doc/rtl.texi (Constants): Document const_vector.
8743 (CONST0_RTX): Update for vectors.
8744 (RTL sharing): Same.
8745
8746 * print-tree.c (print_node): Add case for VECTOR_CST.
8747
8748 * tree.h (TREE_VECTOR_CST_ELTS): New.
8749 (struct tree_vector): New.
8750 (union tree_node): Add vector node.
8751 (build_vector): Add prototype.
8752
8753 * tree.def (VECTOR_CST): New.
8754
8755 * tree.c (build_vector): New.
8756
8757 * expmed.c (make_tree): Handle CONST_VECTOR.
8758
8759 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
8760 (CONST_VECTOR_ELT): New.
8761 (CONST_VECTOR_NUNITS): New.
8762
8763 * machmode.h (GET_MODE_INNER): New.
8764 (DEF_MACHMODE): Accept 8th arg.
8765
8766 * machmode.def: Add 8th argument for vector inner mode.
8767 Add inner vector modes for vectors.
8768
8769 * rtl.def (VEC_CONST): Remove.
8770 (CONST_VECTOR): New.
8771
8772 * expr.c (clear_storage): Allow vectors.
8773 (is_zeros_p): Handle VECTOR_CST.
8774
8775 * varasm.c (output_constant_pool): Handle vectors.
8776 (rtx_const): Add veclo and vechi fields.
8777 (kind): Add RTX_VECTOR.
8778 (decode_rtx_const): Add case for vector.
8779
8780 * config/rs6000/rs6000-protos.h: Add zero_constant.
8781
8782 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
8783 constants. Force easy vector constants into memory.
8784 (easy_vector_constant): New.
8785 (emit_easy_vector_constant): New.
8786 (rs6000_legitimize_reload_address): Do not generate bad reloads on
8787 darwin.
8788
8789 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
8790 instruction does.
8791 ("altivec_lvxl"): Same.
8792 (altivec_lvebx): Same.
8793 (altivec_lvehx): Same.
8794 (altivec_lvewx): Same.
8795 ("*movv4si_const0"): New.
8796 ("*movv4sf_const0"): New.
8797 ("*movv8hi_const0"): New.
8798 ("*movv16qi_const0"): New.
8799
8800 2002-02-18 Kazu Hirata <kazu@hxi.com>
8801
8802 * config/h8300/h8300.c (notice_update_cc): Use
8803 cc_status.value2.
8804
8805 2002-02-18 Kazu Hirata <kazu@hxi.com>
8806
8807 * config/h8300/h8300.md (divmod patterns): Change the
8808 constraints for operands[1] to register_operand.
8809
8810 2002-02-18 Kazu Hirata <kazu@hxi.com>
8811
8812 * config/h8300/h8300-protos.h: Remove the prototype for
8813 p_operand.
8814 * config/h8300/h8300.c (p_operand): Remove.
8815 * config/h8300/h8300.md: Replace p_operand with
8816 const_int_operand.
8817
8818 2002-02-18 Philip Blundell <pb@nexus.co.uk>
8819
8820 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
8821 comment.
8822 (output_return_instruction): Allow use of LDR to unstack
8823 return addresss even for interrupt handlers or when
8824 interworking. If compiling for ARMv5, use interworking-safe
8825 return instructions by default. Remove duplicated code and
8826 lengthy "strcat" sequences.
8827
8828 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8829
8830 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
8831 (LINK_EH_SPEC): Define.
8832 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
8833
8834 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
8835
8836 * config/s390/s390.c (s390_emit_prologue): Do not set the
8837 frame_related flag for call-clobbered registers.
8838
8839 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
8840
8841 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
8842 (construct_container): Fix handling of SSE operands.
8843 (ix86_expand_builtin): Fix handling of 64bit pointers.
8844 (mmx_maskmovq_rex): New pattern.
8845
8846 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
8847
8848 * regrename.c (kill_set_value): Handle subregs properly.
8849
8850 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
8851
8852 * objc/objc-act.c (handle_impent): Remove leading '*'
8853 from objc_class_name.
8854
8855 2002-02-17 Richard Henderson <rth@redhat.com>
8856
8857 * config/alpha/alpha.c (some_small_symbolic_operand,
8858 some_small_symbolic_operand_1, split_small_symbolic_operand,
8859 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
8860 Handle small SYMBOL_REFs anywhere, not just inside memories.
8861 * config/alpha/alpha-protos.h: Update.
8862 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8863 * config/alpha/alpha.md (small symbolic operand splitter): Update.
8864
8865 2002-02-17 Roland McGrath <roland@frob.com>
8866
8867 * config.gcc (powerpc-*-gnu-gnualtivec*,
8868 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
8869 * config/rs6000/gnu.h: New file.
8870 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
8871 Grok "gnu" in rs6000_abi_name.
8872 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
8873 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
8874 Grok -mcall-gnu analogous to -mcall-linux et al.
8875 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
8876 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
8877 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
8878
8879 2002-02-17 Jakub Jelinek <jakub@redhat.com>
8880
8881 PR c/3444:
8882 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
8883 shortening.
8884
8885 2002-02-17 Philipp Thomas <pthomas@suse.de>
8886
8887 * config/cris/cris.h: Undefine STARTFILE_SPEC and
8888 ENDFILE_SPEC before (re)defining them.
8889
8890 2002-02-17 Kazu Hirata <kazu@hxi.com>
8891
8892 * config/h8300/h8300.c: Fix formatting.
8893 * config/h8300/h8300.h: Likewise.
8894
8895 2002-02-17 Philipp Thomas <pthomas@suse.de>
8896
8897 * doc/tm.texi: Explain why empty strings should not be
8898 marked for translation.
8899
8900 2002-02-17 Philipp Thomas <pthomas@suse.de>
8901
8902 * final.c (output_operand_lossage): Changed to accept
8903 printf style arguments. Change calls where necessary.
8904 * output.h (output_operand_lossage): Change declaration
8905 accordingly. Update copyright.
8906 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
8907 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
8908 Update copyright date where necessary.
8909
8910 * config/i386/i386.c (print_operand): Likewise. Remove use of
8911 sprintf.
8912
8913 * config/cris/cris.c (cris_operand_lossage): Likewise.
8914 Rename parameter so that exgettext recognizes it as
8915 translatable message.
8916 (LOSE_AND_RETURN): Rename parameter to msgid.
8917
8918 2002-02-17 Kazu Hirata <kazu@hxi.com>
8919
8920 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
8921 hard coded register number with an appropriate macro.
8922 (HARD_REGNO_MODE_OK): Likewise.
8923 (ARG_POINTER_REGNUM): Likewise.
8924 (STATIC_CHAIN_REGNUM): Likewise.
8925 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
8926 * config/h8300/h8300.md (define_constants): Define more
8927 register numbers.
8928
8929 2002-02-17 Philipp Thomas <pthomas@suse.de>
8930
8931 * config/i386/i386.h: Don't mark empty strings for translation.
8932
8933 2002-02-16 H.J. Lu <hjl@gnu.org>
8934
8935 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
8936
8937 2002-02-16 Zack Weinberg <zack@codesourcery.com>
8938
8939 * cppinit.c (merge_include_chains): Check for brack being
8940 NULL before attempting to merge it with qtail.
8941
8942 2002-02-16 Andrew Cagney <ac131313@redhat.com>
8943
8944 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
8945 DBX_DEBUG.
8946
8947 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
8948
8949 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
8950
8951 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
8952
8953 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
8954 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
8955 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
8956
8957 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8958
8959 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
8960 now only if !TARGET_FIX.
8961 (*movsi_nt_vms_fix): New pattern.
8962
8963 2002-02-16 Douglas B Rupp <rupp@gnat.com>
8964
8965 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
8966 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
8967 (alpha_sa_mask, alpha_sa_size): Reflect above change.
8968 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
8969 (alpha_start_function, alpha_expand_epilogue): Likewise.
8970 (unicosmk_gen_dsib): Likewise.
8971
8972 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8973
8974 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
8975
8976 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
8977
8978 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
8979 check_and_change_labels, s390_final_chunkify): Delete.
8980 (s390_split_branches, s390_chunkify_pool): New functions.
8981 (s390_function_prologue): Call them.
8982
8983 * config/s390/s390.h (S390_REL_MAX): Delete.
8984 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
8985
8986 * config/s390/s390.md (cjump, icjump, jump): Fix length
8987 attribute calculation.
8988
8989
8990 2002-02-15 David Edelsohn <edelsohn@gnu.org>
8991
8992 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
8993 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
8994
8995 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
8996
8997 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
8998 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
8999 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
9000
9001 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
9002
9003 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
9004
9005 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
9006
9007 * reload.c (find_dummy_reload): Check that an output register
9008 is valid for its mode.
9009
9010 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
9011
9012 * combine.c (known_cond): After replacing the REG of a SUBREG, try
9013 to simplify it.
9014
9015 * function.c (assign_parms): Demote promoted argument passed by
9016 transparent reference.
9017
9018 2001-02-14 Joel Sherrill <joel@OARcorp.com>
9019
9020 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
9021 -Acpu() and -Amachine() to eliminate warnings.
9022
9023 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
9024
9025 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
9026
9027 2002-02-14 Kazu Hirata <kazu@hxi.com>
9028
9029 * config/h8300/h8300-protos.h: Update the prototype for
9030 const_costs.
9031 * config/h8300/h8300.c (const_costs): Treat SET as a little
9032 more expensive operation.
9033 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
9034 reference to const_costs.
9035
9036 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
9037
9038 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
9039
9040 2002-02-14 Jakub Jelinek <jakub@redhat.com>
9041
9042 PR c/5503:
9043 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
9044 use arguments from newtype.
9045
9046 2002-02-13 Eric Christopher <echristo@redhat.com>
9047
9048 * config/mips/mips.c (override_options): Add check for march/mipsX
9049 on the same command line. Fix error message in cpu processing.
9050 Remove architecture and ISA checks.
9051
9052 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
9053
9054 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
9055
9056 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
9057
9058 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
9059
9060 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
9061 alternatives.
9062 ("*movv8hi_internal1"): Same.
9063 ("*movv16qi_internal1"): Same.
9064 ("*movv4sf_internal1"): Same.
9065
9066 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
9067 not push_reload for altivec modes.
9068
9069 2002-02-13 Joel Sherrill <joel@OARcorp.com>
9070
9071 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
9072 all RTEMS targets including removal of #includes from config/*/rtems*.h
9073 file and adding them to tm_file setting. Added xm_defines=POSIX to
9074 many targets.
9075 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
9076 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
9077 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
9078 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
9079 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
9080 config/m68k/rtemself.h: Ditto.
9081 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
9082 config/mips/rtems64.h: Ditto.
9083 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
9084 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
9085 Ditto.
9086 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
9087 config/sparc/rtemself.h: Ditto.
9088 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
9089 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
9090 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
9091 more like arm-elf.
9092 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
9093 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
9094 target made more similar to i386-elf.
9095 * config/i386/t-rtems-i386: Added soft float support and multilibs.
9096 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
9097 be similar to config/m68k/t-m68kelf.
9098 * gthr-rtems.h: Encapsulate with extern "C" for C++.
9099
9100 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
9101
9102 * regmove.c (kill_value): Handle subregs.
9103
9104 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
9105
9106 * i386.md (mul patterns): Allow memory operand to be first;
9107 add expanders where needed; fix constraints.
9108 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
9109 Allow memory operand to be the first.
9110
9111 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
9112 operands.
9113
9114 2002-02-13 Jakub Jelinek <jakub@redhat.com>
9115
9116 PR c/5681:
9117 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
9118 GET_MODE (x).
9119
9120 2002-02-13 Jakub Jelinek <jakub@redhat.com>
9121
9122 PR optimization/5547:
9123 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
9124 all valid IA-32 address modes involving non-scaled %ebx and
9125 GOT/GOTOFF as displacement.
9126
9127 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
9128
9129 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
9130 after emitting ltorg insns.
9131
9132 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
9133 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
9134 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
9135 *abssf2): Fix "op_type" attribute.
9136
9137 2002-02-13 Douglas B Rupp <rupp@gnat.com>
9138
9139 * mkconfig.sh: Avoid using a subshell redirect.
9140 ($output.T): Change to $(output)T.
9141 (ENABLE_NLS): Remove unneeded undef.
9142
9143 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
9144 * config/alpha/x-vms (libsubdir): Define.
9145
9146 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
9147 register frame procedures. Optimize retrieving context.
9148
9149 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
9150 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
9151 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
9152
9153 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9154
9155 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
9156 Make same change as for find_base_value.
9157
9158 2002-02-13 Kazu Hirata <kazu@hxi.com>
9159
9160 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
9161 of QImode and SImode.
9162
9163 2002-02-13 Kazu Hirata <kazu@hxi.com>
9164
9165 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
9166 length computation of movsi.
9167 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
9168
9169 2002-02-13 Kazu Hirata <kazu@hxi.com>
9170
9171 * config/h8300/h8300.md (subqi3): Tighten the predicate for
9172 operands[2] to register_operand.
9173
9174 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
9175
9176 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
9177
9178 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
9179
9180 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
9181 for altivec_lvx* and altivec_stvx*.
9182 ("*movv4si_internal"): Add constraint for loading from GPRs.
9183 ("*movv8hi_internal1"): Same.
9184 ("*movv16qi_internal1"): Same.
9185 ("*movv4sf_internal1"): Same.
9186
9187 * config/rs6000/rs6000.c (altivec_register_operand): New.
9188
9189 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
9190 altivec_register_operand.
9191
9192 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
9193
9194 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
9195 handle SYMBOL_REF.
9196
9197 2002-02-13 Stan Shebs <shebs@apple.com>
9198
9199 * c-typeck.c (digest_init): Handle vectors.
9200 (really_start_incremental_init): Same.
9201 (pop_init_level): Same.
9202 (process_init_element): Same.
9203
9204 * varasm.c (output_constant): Same.
9205
9206 * expr.c (clear_storage): Same.
9207 (store_constructor): Same.
9208
9209 2002-02-12 Eric Christopher <echristo@redhat.com>
9210
9211 * explow.c (hard_function_value): Add comment explaining
9212 signed/unsigned comparison.
9213
9214 2002-02-12 Jakub Jelinek <jakub@redhat.com>
9215
9216 * jump.c (never_reached_warning): Add finish argument.
9217 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
9218 real insn after end.
9219 * rtl.h (never_reached_warning): Adjust prototype.
9220 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
9221 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
9222 never_reached_warning.
9223
9224 2002-02-12 Graham Stott <grahams@redhat.com>
9225
9226 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
9227
9228 2002-02-12 Kazu Hirata <kazu@hxi.com>
9229
9230 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
9231 logical shifts on H8/300.
9232 (shift_alg_si): Improve several shifts on H8/300.
9233 (get_shift_alg): Likewise.
9234
9235 2002-02-12 Graham Stott <grahams@redhat.com>
9236
9237 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
9238
9239 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9240
9241 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
9242 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
9243
9244 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
9245
9246 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
9247 non-CONST_INT through default_assemble_integer.
9248 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
9249 <case 8>: Abort for CONST_DOUBLE.
9250
9251 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
9252
9253 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
9254 is specified.
9255 * config/pa/pa-linux.h (LIB_SPEC): Delete.
9256 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
9257
9258 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
9259
9260 * config/stormy16/stormy16.md (zero_extendqihi2): New.
9261
9262 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
9263
9264 * regrename.c (regrename_optimize): Don't accept a
9265 part-clobbered register if the replaced register is not part
9266 clobbered.
9267
9268 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
9269 take padding into account when computing the argument value.
9270
9271 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
9272
9273 * combine.c (try_combine): Apply substitutions in
9274 CALL_INSN_FUNCTION_USAGE too.
9275
9276 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
9277
9278 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
9279 __builtin_altivec_abs*.
9280 (bdesc_abs): New.
9281
9282 * config/rs6000/rs6000.h (rs6000_builtins): Add
9283 ALTIVEC_BUILTIN_ABS*.
9284
9285 * config/rs6000/altivec.h: Use const char for builtins expecting
9286 literals.
9287 (vec_abs): New versions for C and C++.
9288 (vec_abss): Same.
9289
9290 2002-02-10 Kazu Hirata <kazu@hxi.com>
9291
9292 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
9293 using Pmode.
9294
9295 2002-02-10 Kazu Hirata <kazu@hxi.com>
9296
9297 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
9298 constant definition from h8300.md.
9299 (FRAME_POINTER_REGNUM): Likewise.
9300 * config/h8300/h8300.md (define_constants): Add FP_REG.
9301
9302 2002-02-10 Kazu Hirata <kazu@hxi.com>
9303
9304 * config/h8300/h8300.c (print_operand): Remove redundant code.
9305
9306 2002-02-10 Kazu Hirata <kazu@hxi.com>
9307
9308 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
9309 * config/h8300/h8300.c (byte_reg): Make it static.
9310
9311 2002-02-10 Richard Henderson <rth@redhat.com>
9312
9313 PR c/5623
9314 * c-typeck.c (incomplete_type_error): Handle flexible array members.
9315
9316 2002-02-10 Richard Henderson <rth@redhat.com>
9317
9318 PR c++/5624
9319 * tree.c (append_random_chars): Don't abort if main_input_filename
9320 does not exist.
9321
9322 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
9323
9324 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
9325
9326 2002-02-10 Kazu Hirata <kazu@hxi.com>
9327
9328 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
9329 (pushhi1): Likewise.
9330
9331 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
9332
9333 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
9334 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
9335
9336 2002-02-09 David O'Brien <obrien@FreeBSD.org>
9337
9338 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
9339 remove MASK_VIS.
9340 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
9341
9342 2002-02-09 Kazu Hirata <kazu@hxi.com>
9343
9344 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
9345 a half of an SImode register on H8/300.
9346
9347 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
9348
9349 * i386.md (movdi_2): Add missing '!'.
9350
9351 2002-02-09 Kazu Hirata <kazu@hxi.com>
9352
9353 * config/h8300/h8300.h: Fix formatting. Remove commented-out
9354 definitions.
9355
9356 2002-02-09 Kazu Hirata <kazu@hxi.com>
9357
9358 * config/h8300/h8300.md (length): Correct the distance valid
9359 for the short branch.
9360
9361 2002-02-09 Kazu Hirata <kazu@hxi.com>
9362
9363 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
9364
9365 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
9366
9367 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
9368 registers in SImode.
9369 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
9370 part-clobbered.
9371
9372 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
9373 patch.
9374
9375 Contribute sh64-elf.
9376 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
9377 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
9378 (sh_cannot_modify_jumps_p): New function.
9379 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
9380 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
9381 (sh_ms_bitfield_layout_p): New function.
9382 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
9383 Zack Weinberg <zack@codesourcery.com>
9384 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
9385 expand_simple_binop instead of expand_binop.
9386 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
9387 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
9388 use of .quad and .uaquad.
9389 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
9390 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
9391 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
9392 * config/sh/sh.md (movdi_const, movdi_const_32bit,
9393 movdi_const_16bit): Make sure all CONSTs have modes.
9394 (sym2PIC): Ditto, but by adjusting all callers.
9395 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
9396 if the prologue calls the SHmedia argument decoder or register
9397 saver.
9398 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
9399 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
9400 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
9401 (sh_expand_epilogue): Don't emit USE of return target register.
9402 (prepare_move_operands): Legitimize DImode PIC addresses.
9403 (sh_media_register_for_return): Skip tr0, used to initialize the
9404 PIC register.
9405 (sh_expand_prologue): Remove explicit USE of return register.
9406 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
9407 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
9408 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
9409 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
9410 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
9411 EXTRA_CONSTRAINT_T.
9412 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
9413 (MOVI_SHORI_BASE_OPERAND_P): New.
9414 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
9415 (EXTRA_CONSTRAINT_T): Define in terms of them.
9416 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
9417 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
9418 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
9419 alternatives supporting TARGET_REGS.
9420 (UNSPEC_GOTPLT): New constant.
9421 (movdi split): Move incrementing of LABEL_NUSES...
9422 (movdi_const, movdi_const_32bit): Here. Use
9423 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
9424 (movdi_const_16bit): New.
9425 (call, call_value) [flag_pic]: Use GOTPLT.
9426 (call_pop, call_value_pop): New expands.
9427 (call_pop_compact, call_pop_rettramp): New insns.
9428 (call_value_pop_compact, call_value_pop_rettramp): New insns.
9429 (sibcall) [flag_pic]: Use GOT.
9430 (builtint_setjmp_receiver): Remove bogus, unused expand.
9431 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
9432 (*pt, *ptb, ptrel): New insns.
9433 (sym2GOT): Handle DImode GOT.
9434 (sym2GOTPLT, symGOTPLT2reg): New expands.
9435 (sym2PIC): New expand.
9436 (shcompact_return_tramp): Use GOTPLT to return trampoline.
9437 (shcompact_return_tramp_i): Use return register explicitly.
9438 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
9439 disable flag_reorder_blocks.
9440 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
9441 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
9442 clobbers, for clarity.
9443 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
9444 restoring of r0 in macl as MAYBE_DEAD.
9445 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
9446 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
9447 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
9448 alter_subreg all over.
9449 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
9450 reload, instead of emitting instructions that would require
9451 reloading.
9452 (casesi_load_media): Add missing modes.
9453 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
9454 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
9455 as used if the argument decoder is called.
9456 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
9457 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
9458 Pmode, then extend it to DImode if necessary.
9459 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
9460 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
9461 constants in FPU-enabled SHmedia, let them be loaded from memory.
9462 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
9463 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
9464 Adjust whitespace in assembly output templates.
9465 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
9466 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
9467 mode of if_then_else.
9468 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
9469 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
9470 sh.h.
9471 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
9472 Joern Rennecke <amylaar@redhat.com>
9473 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
9474 (SUBTARGET_CPP_PTR_SPEC): New.
9475 (SUBTARGET_CPP_SPEC): Remove.
9476 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
9477 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
9478 Fix typo in previous checkin.
9479 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
9480 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
9481 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
9482 Alexandre Oliva <aoliva@redhat.com>
9483 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
9484 what single FP register can hold for SHmedia target.
9485 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
9486 Alexandre Oliva <aoliva@redhat.com>
9487 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
9488 Do not split into SUBREG.
9489 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
9490 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
9491 and added new functions as specified in SH5 ABI r9.
9492 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
9493 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
9494 8-byte boundary.
9495 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
9496 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
9497 gen_consttable_4 and gen_consttable_8. Emit multiple labels
9498 and consttable_window_ends.
9499 2001-06-03 Graham Stott <grahams@redhat,com>
9500 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
9501 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
9502 * config/sh/sh.c (print_operand): Handle floating-point pair,
9503 vector and matrix registers.
9504 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
9505 vector modes into account.
9506 * config/sh/sh.md (movv2sf): Split move between registers into
9507 movdf.
9508 (movv4sf, movv16sf): Introduce insns that get split only after
9509 reload.
9510 * config/sh/shmedia.h: Fix Copyright dates.
9511 * config/sh/ushmedia.h: Likewise. Move loop counter
9512 declarations into conditionals that uses them.
9513 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
9514 loop boundary.
9515 * config/sh/sshmedia.h: Fix Copyright dates.
9516 (sh_media_PUTCFG): Fix constraints.
9517 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
9518 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
9519 ptrmemfunc_vbit_in_delta for SH5.
9520 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
9521 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
9522 * invoke.texi: Likewise.
9523 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
9524 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
9525 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
9526 GCC_pop_shmedia_regs_nofpu): New global symbols.
9527 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
9528 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
9529 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
9530 compact function with nonlocal labels.
9531 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
9532 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
9533 (initial_elimination_offset): Account for their stack space.
9534 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
9535 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
9536 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
9537 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
9538 least one of the operands to be a register.
9539 (movv2sf): Likewise. Renamed to movv2sf_i.
9540 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
9541 prepare_move_operands() before emitting SHmedia insns.
9542 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
9543 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
9544 Don't save nor initialize r12. Don't mis-align the stack.
9545 Pad the code with a nop.
9546 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
9547 stack.
9548 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9549 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
9550 [__SHMEDIA__]: Implement.
9551 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
9552 * config/sh/sh.md: Set latency of `pt' closer to reality.
9553 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
9554 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
9555 Set move, load and store type attributes.
9556 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
9557 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
9558 profiling.
9559 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
9560 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
9561 * config/sh/sh.c (sh_media_register_for_return): New function.
9562 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
9563 branch-target register.
9564 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
9565 * config/sh/sh.md (return_media_i): Use any call-clobbered
9566 branch-target register.
9567 (return_media): If r18 wasn't copied in the prologue, copy it
9568 here.
9569 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
9570 Clear class FP0_REGS.
9571 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
9572 from elf.h.
9573 2001-03-08 DJ Delorie <dj@redhat.com>
9574 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
9575 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
9576 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
9577 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
9578 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
9579 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
9580 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
9581 return value correctly for call_cookie.
9582 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
9583 * config/sh/crt1.asm (start): Modified so as to call
9584 ___setup_argv_and_call_main.
9585 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
9586 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
9587 SHmedia mode.
9588 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
9589 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
9590 (STRIP_NAME_ENCODING): Use it.
9591 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
9592 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
9593 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
9594 prepare_scc_operands().
9595 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
9596 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
9597 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
9598 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
9599 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
9600 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
9601 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
9602 used in shcompact_incoming_args.
9603 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
9604 change.
9605 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
9606 mode.
9607 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
9608 Adjust accordingly.
9609 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
9610 Simplify. Adjust. Add sanity check.
9611 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
9612 FPU_SINGLE_BIT.
9613 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
9614 TARGET_SHCOMPACT.
9615 (udivsi3, divsi3): Use them.
9616 (force_mode_for_call): New insn.
9617 (call, call_value, sibcall_value): Emit it before SHcompact
9618 calls.
9619 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
9620 * config/sh/sh.md (call, call_value, sibcall): Make sure the
9621 call cookie is non-NULL before taking its value.
9622 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
9623 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
9624 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
9625 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
9626 block.
9627 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
9628 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
9629 temporary for stack adjusts. Use MACL and MACH to pass
9630 arguments to shcompact_incoming_args.
9631 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
9632 clobber r1.
9633 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
9634 (nested_trampoline): Load static chain address into r1.
9635 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
9636 2001-01-07 Alexandre Oliva <aoliva@redhat.com
9637 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
9638 fp_arith_reg_operand().
9639 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
9640 * config/sh/sh.md (casesi): Sign-extend the first two operands,
9641 and use signed compares for them.
9642 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
9643 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
9644 ones properly aligned.
9645 (find_barrier): Account for extra alignment needed for 8-byte wide
9646 constants.
9647 (machine_dependent_reorg): Require a label for the second 4-byte
9648 constant after an 8-byte one.
9649 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
9650 change.
9651 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
9652 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
9653 last_float when switching float modes.
9654 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
9655 auto-increment for general-purpose registers.
9656 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
9657 result.
9658 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
9659 for stack adjust.
9660 * config/sh/sh.c (sh_builtin_saveregs): Support using all
9661 registers for varargs.
9662 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
9663 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
9664 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
9665 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
9666 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
9667 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
9668 call_cookie accordingly.
9669 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
9670 (SHCOMPACT_BYREF): Likewise.
9671 (SHCOMPACT_FORCE_ON_STACK): New macro.
9672 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
9673 (sh_builtin_saveregs): Likewise.
9674 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
9675 shcompact_incoming_args): Use new shift values. Support
9676 sequences of consecutive and non-consecutive pushes/pops.
9677 * config/sh/sh.md (return): Don't explicitly use PR_REG.
9678 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
9679 * config/sh/sh.h (TEXT_SECTION): Define.
9680 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
9681 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
9682 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
9683 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
9684 return values on FPU-enabled SHmedia.
9685 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
9686 FPU-enabled SHmedia.
9687 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
9688 value is returned in a non-FP reg and is not returned by
9689 reference.
9690 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
9691 jump_ind.
9692 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
9693 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
9694 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
9695 quad-aligned to be passed by callee-copy reference.
9696 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
9697 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
9698 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
9699 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
9700 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
9701 copying low-numbered FP regs to r7 and r8.
9702 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
9703 FP regs to general-purpose regs only if the copy was passed on the
9704 stack.
9705 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
9706 copying FP reg to r9.
9707 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
9708 copy FP regs to general-purpose regs only in outgoing calls.
9709 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
9710 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
9711 HOST_WIDE_INT.
9712 * config/sh/sh.h (struct sh_args): Document all fields.
9713 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
9714 passed partially on the stack should not consider making
9715 sibcalls.
9716 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
9717 stack_regs only for incoming calls. When passing FP args,
9718 make sure there are FP regs available before modifying
9719 call_cookie.
9720 (SHCOMPACT_BYREF): Pass double args in general-purpose
9721 registers by reference.
9722 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
9723 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
9724 attempt to generate sibcalls if the caller got any arguments
9725 by reference.
9726 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
9727 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
9728 to 8-byte boundaries.
9729 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
9730 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
9731 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
9732 stored in the stack.
9733 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
9734 for the offsets to have the ISA bit set.
9735 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
9736 invocation. Use beq instead of bgt to mark end of sequence of
9737 loads.
9738 (shcompact_incoming_args): Fix store of r2. Use beq instead of
9739 bgt to mark end of sequence of stores.
9740 * config/sh/sh.c (arith_operand): Don't check whether
9741 CONST_OK_FOR_J for now.
9742 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
9743 instead of long for conversion.
9744 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
9745 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
9746 before passing it to fprintf.
9747 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
9748 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
9749 Call set_fpscr before reading/writing SR.
9750 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
9751 Call set_fpscr.
9752 * config/sh/lib1funcs.asm: Add `.align 2' directives before
9753 SHmedia code.
9754 (FMOVD_WORKS): Define on SH5 with FPU.
9755 (set_fpscr): Define on SH5. Remove separate _fpscr_values
9756 setting.
9757 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
9758 _fpscr_values.
9759 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
9760 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
9761 address.
9762 (ia_main_table): Ditto.
9763 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
9764 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
9765 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
9766 the definitions from sh.h.
9767 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
9768 TARGET_SH5.
9769 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
9770 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
9771 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
9772 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
9773 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
9774 Increment LABEL_NUSES.
9775
9776 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
9777 TARGET_SH5.
9778 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
9779 defined.
9780 * config/sh/elf.h (SIZE_TYPE): Likewise.
9781 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
9782 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
9783 shcompact_incoming_args): Load switch table addresses using
9784 datalabel.
9785 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
9786 (NO_BUILTIN_SIZE_TYPE): Define.
9787 (SIZE_TYPE): Don't define.
9788 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
9789 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
9790 definition of __SH5__=32 for -m5-compact-nofpu.
9791 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
9792 ADDR_DIFF_VEC.
9793 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
9794 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
9795 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
9796 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
9797 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
9798 (INSN_LENGTH_ALIGNMENT): Likewise.
9799 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
9800 * config/sh/sh.md (call, call_value, sibcall): Simplify
9801 copying of non-branch-target register.
9802 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
9803 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
9804 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
9805 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
9806 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
9807 floating-point values as structs.
9808 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
9809 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
9810 general-purpose register.
9811 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
9812 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
9813 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
9814 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
9815 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
9816 (ENCODE_SECTION_INFO): Enclose variables and constants in
9817 DATALABEL unspecs.
9818 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
9819 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
9820 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
9821 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
9822 only for LABEL_REFs. For SYMBOL_REFs, prepend
9823 SH_DATALABEL_ENCODING to the symbol name.
9824 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
9825 convert_mode().
9826 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
9827 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
9828 UNSPEC_DATALABEL.
9829 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
9830 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
9831 (DATALABEL_REF_P): Don't require CONST.
9832 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
9833 REL label.
9834 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
9835 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
9836 right.
9837 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
9838 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
9839 Use shallow_copy_rtx and PUT_MODE to change the mode of
9840 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
9841 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
9842 on SHmedia using GENERAL_REGs.
9843 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
9844 bltu_media_i): Fix reversion of conditions.
9845 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
9846 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
9847 * config/sh/sh.c (output_far_jump): Save r13 in macl.
9848 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
9849 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
9850 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9851 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
9852 (GCC_nested_trampoline): Likewise.
9853 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
9854 * config/sh/sh.c (gen_datalabel_ref): Define.
9855 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
9856 (INITIALIZE_TRAMPOLINE): Likewise.
9857 (TRAMPOLINE_ADJUST_ADDRESS): Define.
9858 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
9859 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
9860 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
9861 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
9862 (ic_invalidate): Adjust for SH5.
9863 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
9864 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
9865 _nested_trampoline.
9866 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
9867 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
9868 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
9869 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
9870 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
9871 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
9872 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
9873 * config/sh/sh.c (target_reg_operand): Match only target-branch
9874 registers and pseudos that aren't virtual registers.
9875 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
9876 Copy operands that don't match target_reg_operand to pseudos.
9877 (call_media, call_value_media, sibcall_media): Use
9878 target_reg_operand instead of target_operand.
9879 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
9880 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
9881 * config/sh/sh.c (target_reg_operand): Match hardware registers
9882 other than branch-target registers.
9883 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
9884 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
9885 (fpscr_values) [SH5 == 32]: Define.
9886 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
9887 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
9888 Handle function addresses coming in SUBREGs.
9889 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
9890 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
9891 shcompact_return_trampoline): Use datalabel where appropriate.
9892 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
9893 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
9894 general-purpose register to copy one branch-target register to
9895 another.
9896 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
9897 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
9898 SYMBOL_REFs with VOIDmode.
9899 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
9900 bltu_media_i): New insns.
9901 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
9902 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
9903 (INIT_CUMULATIVE_ARGS): Likewise.
9904 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9905 * machmode.def (V16SFmode): New mode.
9906 * c-common.c (type_for_mode): Support V2SF and V16SF.
9907 * tree.c (build_common_tree_nodes_2): Likewise.
9908 * tree.h (tree_index): Likewise.
9909 * calls.c (emit_call_1): Take args_so_far. Adjust all
9910 callers. Introduce CALL_POPS_ARGS.
9911 * tm.texi (CALL_POPS_ARGS): Document.
9912 * config/sh/crt1.asm: Implement in SHmedia mode.
9913 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
9914 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
9915 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
9916 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
9917 Implement divsi and udivsi in SHmedia mode. Introduce
9918 SHcompact trampolines.
9919 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
9920 only in SHmedia64.
9921 (regno_reg_class): Rewrite.
9922 (fp_reg_names): Remove.
9923 (sh_register_names, sh_additional_register_names): New.
9924 (print_operand): Added `u'. Support SUBREGs in addresses.
9925 Add parentheses around shifted CONSTs.
9926 (output_file_start): Output .mode and .abi directives.
9927 (shiftcosts, addsubcosts, multcosts): Adjust.
9928 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
9929 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
9930 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
9931 bytes, not registers. Take into account the need for the
9932 SHcompact incoming args trampoline. Adjust all callers.
9933 (sh_expand_prologue): Take stack_regs into account. Call
9934 incoming args trampoline. Keep stack aligned as per SH5 ABI.
9935 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
9936 stack aligned as per SH5 ABI.
9937 (sh_builtin_saveregs): Support SH5 ABI.
9938 (sh_build_va_list, sh_va_start): Likewise.
9939 (initial_elimination_offset): Take alignment into account.
9940 Compute location of PR according to the SH5 stack frame.
9941 (arith_reg_operand): Reject branch-target registers.
9942 (shmedia_6bit_operand): New.
9943 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
9944 (target_reg_operand): Match DImode only. Accept SUBREGs.
9945 (target_operand): New.
9946 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
9947 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
9948 SIBCALL_REGS for SHmedia.
9949 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
9950 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
9951 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
9952 (TARGET_SWITCHES): New SH5 flags.
9953 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
9954 VALID_REGISTER_P to disable unsupported registers.
9955 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
9956 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
9957 (FUNCTION_ARG_PADDING): Define.
9958 (FASTEST_ALIGNMENT): Adjust.
9959 (SH_REGISTER_NAMES_INITIALIZER): New.
9960 (sh_register_names): Declare.
9961 (DEBUG_REGISTER_NAMES): Define.
9962 (REGISTER_NAMES): Define based on sh_register_names.
9963 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
9964 (sh_additional_register_names): Declare.
9965 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
9966 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
9967 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
9968 (REGISTER_NATURAL_MODE): Define.
9969 (FIRST_PSEUDO_REGISTER): Adjust.
9970 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
9971 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
9972 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
9973 (VECTOR_MODE_SUPPORTED_P): Define.
9974 (REG_CLASS_CONTENTS): Adjust.
9975 (SMALL_REGISTER_CLASSES): Adjust.
9976 (REG_ALLOC_ORDER): Adjust.
9977 (INDEX_REG_CLASS): Adjust.
9978 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
9979 (CONST_OK_FOR_LETTER_P): Adjust.
9980 (PREFERRED_RELOAD_CLASS): Adjust.
9981 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
9982 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
9983 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
9984 (FIRST_FP_PARM_REG): Adjust.
9985 (CALL_POPS_ARGS): Define.
9986 (FUNCTION_ARG_REGNO_P): Adjust.
9987 (struct sh_args): New fields.
9988 (GET_SH_ARG_CLASS): Adjust.
9989 (INIT_CUMULATIVE_ARGS): Adjust.
9990 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
9991 (FUNCTION_ARG_ADVANCE): Adjust.
9992 (FUNCTION_ARG): Adjust.
9993 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
9994 (FUNCTION_ARG_CALLEE_COPIES): Define.
9995 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
9996 (STRICT_ARGUMENT_NAMING): Define.
9997 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
9998 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
9999 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
10000 (SETUP_INCOMING_VARARGS): Adjust.
10001 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
10002 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
10003 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
10004 (SUBREG_OK_FOR_INDEX_P): Adjust.
10005 (EXTRA_CONSTRAINT_S): Update.
10006 (EXTRA_CONSTRAINT_T): New.
10007 (EXTRA_CONSTRAINT): Adjust.
10008 (GO_IF_LEGITIMATE_INDEX): Adjust.
10009 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
10010 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
10011 (MOVE_MAX): Adjust.
10012 (MAX_MOVE_MAX): Define.
10013 (Pmode): Adjust.
10014 (CONST_COSTS): Adjust.
10015 (REGISTER_MOVE_COST): Adjust.
10016 (BRANCH_COST): Adjust.
10017 (TEXT_SECTION_ASM_OP): Adjust.
10018 (DBX_REGISTER_NUMBER): Adjust.
10019 (ASM_OUTPUT_DOUBLE_INT): New.
10020 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
10021 (PREDICATE_CODES): Adjust.
10022 (PROMOTE_MODE): Adjust.
10023 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
10024 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
10025 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
10026 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
10027 (DR0_REG, DR2_REG, DR4_REG): Renumber.
10028 (TR0_REG, TR1_REG, TR2_REG): New.
10029 (XD0_REG): Renumber.
10030 (UNSPEC_COMPACT_ARGS): New.
10031 (type): Added pt and ptabs.
10032 (length): Default to 4 on SHmedia. Default pt length to 12
10033 and 20 on SHmedia32 and SHmedia64, respectively.
10034 (pt): New function unit.
10035 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
10036 Add whitespace between operands of SHmedia instructions.
10037 (movdicc): Fix.
10038 (adddi3_media, addsi3_media): Adjust constraints.
10039 (subsi3) [SHmedia]: Force operand 1 into a register.
10040 (udivsi3_i1_media, udivsi3_i4_media): New.
10041 (udivsi3): Support SHmedia.
10042 (divsi3_i1_media, divsi3_i4_media): New.
10043 (divsi3): Support SHmedia.
10044 (anddi3, iordi3, xordi3): Adjust constraints.
10045 (zero_extendhidi2, zero_extendqidi2): New.
10046 (extendsidi2, extendhidi2, extendqidi2): New.
10047 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
10048 (pop_e, pop_fpul, pop_4): Likewise.
10049 (movsi_media): Support FP and BT registers.
10050 (movsi_media_nofpu): New. Adjust splits to DImode.
10051 (lduw, ldub): Renamed to zero_extend* above.
10052 (movqi_media): Fix typo.
10053 (movdi_media): Support FP and BT registers.
10054 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
10055 (movdi_const_32bit): New.
10056 (shori_media): Require immediate operand. Use `u' for output.
10057 (movdf_media, movsf_media): Simplified.
10058 (movdf_media_nofpu, movsf_media_nofpu): New.
10059 (movdf, movsf): Adjust
10060 (movv2sf, movv2sf, movv16sf): New.
10061 (beq_media, beq_media_i): Adjust constraints. Don't use
10062 scratch BT register.
10063 (bne_media, bne_media_i): Likewise.
10064 (bgt_media, bgt_media_i): Likewise.
10065 (bge_media, bge_media_i): Likewise.
10066 (bgtu_media, bgtu_media_i): Likewise.
10067 (bgeu_media, bgeu_media_i): Likewise.
10068 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
10069 bunordered): Emit jump insn. Force operands to registers when
10070 needed.
10071 (jump_media, jump): Simplify.
10072 (call_compact, call_compact_rettramp): New.
10073 (call_value_compact, call_value_compact_rettramp): New.
10074 (call_media, call_value_media): Simplify.
10075 (sibcall_compact, sibcall_media): New.
10076 (call, call_value): Adjust for SHmedia and SHcompact.
10077 (sibcall, sibcall_value, untyped_call): Likewise.
10078 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
10079 (indirect_jump): Adjust for SHmedia.
10080 (casesi_jump_media): New.
10081 (nop): Re-enable for SHmedia.
10082 (call_site): Restrict to SH1.
10083 (casesi): Adjust for SHmedia.
10084 (casesi_shift_media, casesi_load_media): New.
10085 (return): Explicitly use PR register. Call return trampoline
10086 on SHcompact.
10087 (return_i): Explicitly use PR register.
10088 (shcompact_return_tramp, shcompact_return_tramp_i): New.
10089 (return_media): Adjust.
10090 (shcompact_incoming_args): New.
10091 (epilogue): Adjust.
10092 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
10093 (movstrsi): Disable on SH5.
10094 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
10095 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
10096 (subsf3, subsf3_media): Likewise.
10097 (mulsf3, mulsf3_media, mac_media): Likewise.
10098 (divsf3, divsf3_media): Likewise.
10099 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
10100 (floatsisf2, fux_truncsfsi2): Likewise.
10101 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
10102 constraints.
10103 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
10104 (cmpunsf_media, cmpsf): Likewise.
10105 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
10106 (abssf2, abssf2_media): Likewise.
10107 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
10108 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
10109 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
10110 (floatsidf2, fix_truncdfsi2): Likewise.
10111 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
10112 constraints.
10113 (cmpeqdf_media, cmpgtdf_media): Likewise.
10114 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
10115 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
10116 (absdf2, absdf2_media): Likewise.
10117 (extendsfdf2, extendsfdf2_media): Likewise.
10118 (truncsfdf2, truncsfdf2_media): Likewise.
10119 * config/sh/sh64.h: New file.
10120 * config/sh/t-sh64: New file.
10121 * config/sh/shmedia.h: New file.
10122 * config/sh/ushmedia.h: New file.
10123 * config/sh/sshmedia.h: New file.
10124 * configure.in: Added sh64-*-elf.
10125 * configure: Rebuilt.
10126 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
10127 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
10128 (reg_class_from_letter): Use `b' for TARGET_REGS.
10129 (print_operand): Support `%M', `%m', `AND' and
10130 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
10131 (andcosts): Adjust for SHmedia.
10132 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
10133 Likewise.
10134 (target_reg_operand): New function.
10135 * config/sh/sh-protos.h (target_reg_operand): Declare.
10136 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
10137 FP registers on SH5.
10138 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
10139 on SH4.
10140 (TARGET_REGISTER_P): New macro.
10141 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
10142 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
10143 (EXTRA_CONSTRAINT_S): New macro.
10144 (EXTRA_CONSTRAINT): Adjust.
10145 (FLOAT_TYPE_SIZE): Define to 32.
10146 (Pmode): DImode on SHmedia.
10147 (CONST_COSTS): Adjust for SHmedia literals.
10148 (PREDICATE_CODES): Added target_reg_operand.
10149 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
10150 * config/sh/sh.md: Remove all attrs from SHmedia insns.
10151 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
10152 (cmpdi): Accept SHmedia.
10153 (movdicc_false, movdicc_true): New insns.
10154 (movdicc): New expand.
10155 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
10156 no_new_pseudos.
10157 (addsi3_media): Match `S' constraint.
10158 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
10159 (negdi2): Expand for SHmedia.
10160 (one_cmpldi2): New expand.
10161 (zero_extendsidi2): Change from expand to insn.
10162 (extendsidi2): Add constraints.
10163 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
10164 LD/ST address. Fix SI immediate loading split.
10165 (movhi_media, movqi_media, lduw, ldub): New insns.
10166 (movhi, movqi): Accept SHmedia.
10167 (shori_media, movdi_media): Relax input constraints. Split
10168 symbolic constants.
10169 (movdf_media, movsf_media): New insn. New split to movdi.
10170 (movdf, movsf): Match on SHmedia.
10171 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
10172 bgeu_media): New insns and splits. New insns with `_i' suffix.
10173 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
10174 (bunordered): New expand.
10175 (jump_compact): Renamed from `jump'.
10176 (jump_media): New insn.
10177 (jump): New expand.
10178 (call_media, call_value_media): New insns.
10179 (call, call_value): Adjust.
10180 (indirect_jump_compact): Renamed from `indirect_jump'.
10181 (indirect_jump_media): New insn.
10182 (indirect_jump): New expand.
10183 (untyped_call, return): Accept SHmedia.
10184 (return_media): New insn.
10185 (prologue, epilogue, blockage): Accept SHmedia.
10186 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
10187 (sunordered): New expand.
10188 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
10189 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
10190 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
10191 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
10192 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
10193 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
10194 abssf2_media): New insns.
10195 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
10196 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
10197 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
10198 floatdidf2, floatsidf2_media, fix_truncdfdi2,
10199 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
10200 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
10201 absdf2_media): New insns.
10202 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
10203 (extendsfdf2_media, truncdfsf2_media): New insns.
10204 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
10205 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
10206 * config/sh/sh.h (CONST_OK_FOR_J): Document.
10207 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
10208 * config/sh/sh.md (adddi3): New expand.
10209 (adddi3_media, adddi3z_media): New insns.
10210 (adddi3_compact): Renamed from adddi3.
10211 (addsi3_media): Use add.l r63 to add constant zero.
10212 (subdi3): New expand.
10213 (subdi3_media): New insn.
10214 (subdi3_compact): Renamed from subdi3.
10215 (mulsidi3): New expand.
10216 (mulsidi3_media): New insn.
10217 (mulsidi3_compact): Renamed from mulsidi3.
10218 (umulsidi3): New expand.
10219 (umulsidi3_media): New insn.
10220 (umulsidi3_compact): Renamed from umulsidi3.
10221 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
10222 (ashlsi3, ashrsi3, lshrsi3): Use them.
10223 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
10224 (ashldi3, ashrdi3, lshrdi3): Use them.
10225 (zero_extendsidi2): New expand.
10226 (extendsidi2): New insn.
10227 (movsi_media): New insn. Split to movdi to load constants.
10228 (movsi): Enable for shmedia.
10229 (movdi_media): New insn. Use shori_media to load wide constants.
10230 (short_media): New insn.
10231 (movdi): Enable for shmedia.
10232 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
10233 * config/sh/sh.h (CPP_SPEC): Added `m5'.
10234 (SUBTARGET_CPP_SPEC): Added `!m5'.
10235 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
10236 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
10237 to all other SH variants.
10238 (TARGET_DEFAULT): Set to SH1_BIT.
10239 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
10240 (BITS_PER_WORD): Raise to 64 on shmedia.
10241 (MAX_BITS_PER_WORD): Change to 64.
10242 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
10243 (INT_TYPE_SIZE): Keep as 32.
10244 (UNITS_PER_WORD): Raise to 8 on shmedia.
10245 (MIN_UNITS_PER_WORD): Keep as 4.
10246 (POINTER_SIZE): Raise to 64 on shmedia.
10247 (CONST_OK_FOR_J): New macro.
10248 (CONST_OK_FOR_LETTER_P): Use it.
10249 (processor_type): Add PROCESSOR_SH5.
10250 * config/sh/sh.md: Conditionalize all expands, insns and
10251 splits to TARGET_SH1.
10252 (cpu): Added sh5.
10253 (addsi3_compact): Renamed from...
10254 (addsi3): Now an expand.
10255 (addsi3_media, subsi3_media): New insns.
10256 (subsi3): Don't negate constants with SHmedia.
10257
10258 * hooks.c: New file.
10259 * hooks.h: New file.
10260 * Makefile.in (HOOKS_H): New.
10261 (TARGET_DEF_H): Added $(HOOKS_H).
10262 (OBJS): Added hooks.o.
10263 (cfgcleanup.o, bb-reorder.o): Added target.h.
10264 (hooks.o): Added dependencies.
10265 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
10266 (TARGET_INITIALIZER): this.
10267 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
10268 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
10269 * bb-reorder.c: Include target.h.
10270 (reorder_basic_blocks): Skip if cannot modify jumps.
10271 * cfgcleanup.c: Include target.h.
10272 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
10273
10274 2002-02-08 Chris Demetriou <cgd@broadcom.com>
10275
10276 * config/mips/mips.md (casesi_internal, casesi_internal_di):
10277 Protect jump delay slot instructions with .set noreorder and
10278 .set nomacro.
10279
10280 2002-02-08 Chris Demetriou <cgd@broadcom.com>
10281
10282 * config/mips/mips.md (casesi_internal_di): Calculate
10283 the index into the target offset table correctly.
10284
10285 2002-02-08 Richard Henderson <rth@redhat.com>
10286
10287 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
10288 * final.c (output_addr_const): Accept and discard SUBREG.
10289 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
10290 mark them unknown instead.
10291 (simplify_subtraction): Handle RTX_UNKNOWN.
10292 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
10293
10294 2002-02-08 David Edelsohn <edelsohn@gnu.org>
10295
10296 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
10297
10298 2002-02-08 Richard Henderson <rth@redhat.com>
10299
10300 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
10301
10302 2002-02-08 Andreas Jaeger <aj@suse.de>
10303
10304 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
10305 * config/i386/t-linux64: New file.
10306
10307 2002-02-08 Jakub Jelinek <jakub@redhat.com>
10308
10309 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
10310 * c-parse.in (compstmt): Clear last_expr_type.
10311
10312 2002-02-07 Richard Henderson <rth@redhat.com>
10313
10314 * loop.c (strength_reduce): Sink final_value when not
10315 eliminating a biv.
10316
10317 2002-02-07 David O'Brien <obrien@FreeBSD.org>
10318
10319 * config/sparc/freebsd.h: Fix mismatched spec {.
10320
10321 2002-02-07 Richard Henderson <rth@redhat.com>
10322
10323 * cfgrtl.c: Include recog.h and insn-config.h.
10324 (keep_with_call_p): Fix general_operand invocation.
10325 * Makefile.in (cfgrtl.o): Update dependencies.
10326
10327 2002-02-07 Kazu Hirata <kazu@hxi.com>
10328
10329 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
10330 comment. Accept HImode only if TARGET_H8300.
10331
10332 2002-02-07 Eric Christopher <echristo@redhat.com>
10333
10334 * config/mips/crtn.asm: Cleanup #ifdefs.
10335
10336 2002-02-07 Eric Christopher <echristo@redhat.com>
10337
10338 * config/mips/crti.asm: Add changes for mips16. mips16 uses
10339 register 7 as RA instead of $31.
10340 * config/mips/crtn.asm: Ditto.
10341 * config/mips/mips.c (mips_move_2words): Add case for
10342 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
10343 (compute_frame_size): Fix typo.
10344 (save_restore_insns): Ditto. Make documentation about using
10345 register $7 as return register more precise.
10346 (mips_expand_epilogue): Fix comment. Add code to work around not
10347 being able to add to the stack pointer directly.
10348 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
10349 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
10350 epilogue.
10351
10352 2002-02-07 Tom Rix <trix@redhat.com>
10353
10354 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
10355 immediates in ldu and stdu DS opcode field.
10356 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
10357 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
10358 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
10359
10360 2002-02-07 Jeff Sturm <jsturm@one-point.com>
10361
10362 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
10363 offset for stack bias.
10364
10365 2002-02-07 H.J. Lu <hjl@gnu.org>
10366
10367 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
10368
10369 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
10370
10371 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
10372
10373 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
10374
10375 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
10376 * i386.c (x86_order_regs_for_local_alloc): New global function.
10377 * i386.h (REG_ALLOC_ORDER): CLeanup.
10378 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
10379
10380 2002-02-07 Richard Henderson <rth@redhat.com>
10381
10382 PR optimization/2463
10383 * alias.c (find_base_value): Recall base values for fixed hard regs.
10384 * loop.c (loop_regs_update): Don't use single_set on non-insns.
10385
10386 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
10387
10388 * config/mips/mips.md (define_delay) [mips16]: Adjust required
10389 length.
10390
10391 2002-02-06 Richard Henderson <rth@redhat.com>
10392
10393 PR c/5609
10394 * stmt.c (resolve_operand_name_1): Take more care with mixed
10395 named and unnamed operands.
10396
10397 2002-02-06 Janis Johnson <janis187@us.ibm.com>
10398 Jan Hubicka <jh@suse.cz>
10399
10400 * loop.c (remove_constant_addition): Avoid clobbering a shared
10401 CONST expression.
10402
10403 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
10404
10405 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
10406 * config/s390/t-linux64: New file.
10407 * config/s390/libgcc-glibc.ver: New file.
10408
10409 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
10410
10411 * config/s390/linux64.h: Delete file.
10412 * config/s390/s390x.h: New file.
10413 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
10414 as target header file.
10415 * config/s390/linux.h (TARGET_VERSION): Define depending on
10416 DEFAULT_TARGET_64BIT.
10417 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
10418 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
10419 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
10420 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
10421 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
10422 (EXTRA_SPEC): New define.
10423 * config/s390/s390.h (TARGET_VERSION): Define depending on
10424 DEFAULT_TARGET_64BIT.
10425 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
10426
10427 2002-02-06 Jason Merrill <jason@redhat.com>
10428
10429 * c-decl.c (finish_function): Warn about a non-void function with
10430 no return statement and no abnormal exit.
10431 (current_function_returns_abnormally): New variable.
10432 (start_function): Clear it.
10433 (struct c_language_function): Add returns_abnormally.
10434 (push_c_function_context): Save it.
10435 (pop_c_function_context): Restore it.
10436 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
10437 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
10438 an explicit return type.
10439 * c-tree.h: Declare current_function_returns_abnormally.
10440 (C_FUNCTION_IMPLICIT_INT): New macro.
10441 * c-typeck.c (build_function_call): Set it.
10442 (c_expand_return): Set current_function_returns_value even if the
10443 value is erroneous.
10444
10445 2002-02-06 Jakub Jelinek <jakub@redhat.com>
10446
10447 PR c/5420:
10448 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
10449 unsafe for reevaluation.
10450
10451 2002-02-06 Jakub Jelinek <jakub@redhat.com>
10452
10453 PR c/5482:
10454 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
10455 EXPR_STMT, but COMPOUND_STMT, recurse into it.
10456
10457 2002-02-06 Richard Henderson <rth@redhat.com>
10458
10459 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
10460 be a general_operand. Dest for function value must be a pseudo.
10461
10462 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
10463
10464 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
10465 as SYMBOL_REFs from the constant pool.
10466
10467 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
10468
10469 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
10470 passed by invisible reference.
10471
10472 2002-02-05 Richard Henderson <rth@redhat.com>
10473
10474 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
10475
10476 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
10477
10478 Implement using "base addresses" in insn operands as default.
10479 * config/mmix/mmix.c (mmix_conditional_register_usage): if
10480 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
10481 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
10482 used to read the rtx value.
10483 (mmix_target_asm_function_epilogue): Fix spacing.
10484 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
10485 (mmix_legitimate_address): Ditto.
10486 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
10487 should be loaded with a GETA insn. Don't allocate needless extra
10488 char for nul termination and fix misleading comment.
10489 (mmix_print_operand_address): Handle constants if
10490 TARGET_BASE_ADDRESSES.
10491 (mmix_output_register_setting): Use base addressing if
10492 TARGET_BASE_ADDRESSES and the number of insns is 3.
10493 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
10494 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
10495 to use R as constraint, add LDA to match s.
10496 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
10497 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
10498 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
10499 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
10500 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
10501 order with other fixed registers.
10502 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
10503 other parameter/call-clobbered registers.
10504 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
10505 -mbase-addresses, -mno-base-addresses.
10506 (MMIX Options): Ditto.
10507
10508 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
10509
10510 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
10511
10512 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
10513
10514 * config/rs6000/altivec.h: Change elem to _S_elem.
10515
10516 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
10517
10518 * config/netbsd.h (WCHAR_TYPE): Define.
10519 (WCHAR_TYPE_SIZE): Ditto.
10520 (WINT_TYPE): Ditto.
10521 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
10522 (WCHAR_UNSIGNED): Ditto.
10523 (WCHAR_TYPE_SIZE): Ditto.
10524 (WINT_TYPE): Ditto.
10525 * config/arm/netbsd.h: Likewise.
10526 * config/i386/netbsd-elf.h: Likewise.
10527 * config/i386/netbsd.h: Likewise.
10528 * config/m68k/netbsd-elf.h: Likewise.
10529 * config/m68k/netbsd.h: Likewise.
10530 * config/ns32k/netbsd.h: Likewise.
10531 * config/sparc/netbsd.h: Likewise.
10532 * config/vax/netbsd.: Likewise.
10533
10534 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
10535
10536 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
10537 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
10538 (TARGET_INITIALIZER): this.
10539 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
10540 (BITFIELD_NBYTES_LIMITED): Markup fix.
10541 * tree.h (default_ms_bitfield_layout_p): Declare.
10542 (record_layout_info): Added prev_field.
10543 * tree.c (default_ms_bitfield_layout_p): New fn.
10544 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
10545 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
10546 * stor-layout.c: Include target.h.
10547 (start_record_layout): Initialize prev_field.
10548 (place_field): Handle MS bit-field layout, and disregard
10549 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
10550 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
10551 * Makefile.in (stor-layout.o): Adjust dependencies.
10552
10553 2002-02-05 Jason Merrill <jason@redhat.com>
10554
10555 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
10556
10557 2002-02-05 Andreas Jaeger <aj@suse.de>
10558
10559 * crtstuff.c: Fix comments.
10560
10561 2002-02-05 Richard Henderson <rth@redhat.com>
10562
10563 PR fortran/3393
10564 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
10565 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
10566
10567 PR fortran/3392
10568 * config/mips/mips.c (function_arg): Handle TImode.
10569 (function_arg_advance): Likewise.
10570
10571 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
10572
10573 * config/rs6000/altivec.h (vec_step_help): Rename to
10574 __vec_step_help.
10575
10576 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
10577
10578 * config/rs6000/altivec.h: Fix typos.
10579
10580 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
10581
10582 * config/arm/netbsd.h: Correct a comment.
10583
10584 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
10585
10586 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
10587 building void typed builtins.
10588
10589 * config/rs6000/altivec.h (vec_ld*): Fix typos.
10590 (vec_step): Implement for C++.
10591
10592 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10593
10594 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
10595
10596 2002-02-04 Richard Henderson <rth@redhat.com>
10597
10598 * combine.c (nonzero_bits): Re-introduce special case for
10599 sp/fp/ap wrt REGNO_POINTER_ALIGN.
10600
10601 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
10602
10603 * doc/extend.texi: Warn about unsupported usage of altivec
10604 builtins.
10605
10606 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
10607 (altivec_predicate_*): New.
10608
10609 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
10610 Add C++ version of vec_*() functions.
10611
10612 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
10613 (bdesc_2arg): Remove altivec predicates.
10614 (altivec_expand_builtin): Handle predicates.
10615 (altivec_init_builtins): Handle predicates.
10616 (altivec_expand_predicate_builtin): New.
10617
10618 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
10619
10620 * pa.c (DO_FRAME_NOTES): Move forward.
10621 (store_reg): Revise handling of frame notes.
10622 (load_reg): Likewise.
10623 (set_reg_plus_d): Likewise.
10624 (hppa_expand_prologue): Likewise.
10625 (hppa_expand_epilogue): Likewise.
10626
10627 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
10628
10629 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
10630
10631 2002-02-04 Jakub Jelinek <jakub@redhat.com>
10632
10633 PR c/4475, c++/3780:
10634 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
10635 * c-common.h (SWITCH_TYPE): Define.
10636 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
10637 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
10638 Rename spareness variable to sparseness.
10639 (expand_end_case_type): Renamed from expand_end_case, use orig_type
10640 if non-NULL instead of TREE_TYPE (orig_index).
10641 * tree.h (expand_end_case_type): Renamed from expand_end_case.
10642 (expand_end_case): Define using expand_end_case_type.
10643 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
10644 to expand_end_case_type.
10645 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
10646
10647 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
10648
10649 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
10650 (BIGGEST_ALIGNMENT): Change to 128.
10651
10652 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
10653
10654 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
10655
10656 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
10657
10658 * pa.md (call_internal_reg_64bit): Remove unused variable.
10659
10660 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
10661
10662 * config/arm/arm.h (machine_function): Add uses_anonymous_args
10663 field.
10664 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
10665 * config/arm/arm.c (current_function_anonymous_args): Delete,
10666 replace uses with cfun->machine->uses_anonymous_args.
10667 (arm_reorg): Do not reset uses_anonymous_args.
10668
10669 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
10670 any geenral register.
10671
10672 2001-02-04 Bernd Schmidt <bernds@redhat.com>s
10673
10674 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
10675 the entry block.
10676
10677 2002-02-04 Richard Henderson <rth@redhat.com>
10678
10679 * combine.c (force_to_mode): Remove STACK_BIAS code.
10680 (nonzero_bits): Likewise. Replace sp/fp special case with
10681 REGNO_POINTER_ALIGN.
10682
10683 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
10684 (HARD_FRAME_POINTER_REGNUM): New.
10685 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
10686 (FIXED_REGS, CALL_USED_REGS): Update.
10687 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
10688 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
10689 (HARD_REGNO_NREGS): Update for SFP.
10690 (STACK_POINTER_OFFSET): Include bias here ...
10691 (FIRST_PARM_OFFSET): ... not here.
10692 (STACK_BIAS): Remove.
10693 (INIT_EXPANDERS): New.
10694 (STARTING_FRAME_OFFSET): Do not include bias.
10695 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
10696 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
10697 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
10698 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
10699 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
10700 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
10701 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
10702 (MUST_SAVE_REGISTER): Likewise.
10703 (sparc_flat_function_prologue): Likewise.
10704 (sparc_flat_function_epilogue): Likewise.
10705 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
10706 (sparc_init_modes): SFP is GENERAL_REGS.
10707 (sparc_builtin_saveregs): SFP does not have bias applied.
10708
10709 2002-02-04 Richard Henderson <rth@redhat.com>
10710
10711 * config/alpha/alpha.c (current_function_is_thunk): Don't check
10712 current_function_is_thunk.
10713 (alpha_sa_mask): Distinguish between current_function_is_thunk
10714 called from ASM_OUTPUT_MI_THUNK and not.
10715 (alpha_does_function_need_gp): Thunks always need gp.
10716 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
10717 (alpha_output_mi_thunk_osf): New.
10718 * config/alpha/alpha-protos.h: Update.
10719 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
10720
10721 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
10722
10723 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
10724 function types, not when they're taken away.
10725
10726 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
10727
10728 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
10729 CODE_LABEL and jump table when replacing a table jump with a
10730 simple jump.
10731
10732 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10733
10734 * config/s390/s390-protos.h (legitimize_la_operand,
10735 s390_secondary_input_reload_class, s390_plus_operand,
10736 s390_expand_plus_operand): Add prototypes.
10737
10738 config/s390/s390.c (s390_secondary_input_reload_class,
10739 s390_plus_operand, s390_expand_plus_operand): New functions.
10740
10741 (struct s390_address): New member 'pointer'.
10742 (s390_decompose_address): Compute it.
10743 (legitimate_la_operand_p): Use it.
10744 (legitimize_la_operand): New function.
10745 (movti, movdi, movdf splitters): Call it.
10746
10747 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
10748 (PREDICATE_CODES): Add s390_plus_operand.
10749
10750 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
10751 (la_ccclobber): Allow GENERAL_REGS as output operand.
10752
10753 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
10754 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
10755 (*la_64, *la_31, reload_indi, reload_insi): ... these.
10756
10757 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
10758
10759 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
10760 register names for regular asm () construct.
10761
10762 2002-02-04 Jakub Jelinek <jakub@redhat.com>
10763
10764 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
10765 registers.
10766
10767 2002-02-04 Jakub Jelinek <jakub@redhat.com>
10768
10769 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
10770 pat for recog.
10771
10772 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
10773
10774 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
10775 constant pool to be identical by string address and index.
10776
10777 2002-02-04 Anthony Green <green@redhat.com>
10778
10779 * output.h (SECTION_OVERRIDE): Define.
10780 * varasm.c (named_section): Obey SECTION_OVERRIDE.
10781
10782 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
10783
10784 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
10785 by existing arm*-*-netbsd* (a.out) target.
10786 (ns32k-*-netbsdelf*): Likewise.
10787 (sparc-*-netbsdelf*): Likewise.
10788 (vax-*-netbsdelf*): Likewise.
10789
10790 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
10791
10792 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
10793 headers and libobjc headers.
10794
10795 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
10796
10797 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
10798 (_mingw.h): Remove duplicate include.
10799
10800 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
10801
10802 * config.gcc: Set cpu_type to m68k for 68010, as well.
10803 (m68010-*-netbsdelf*): New...
10804 (m68k*-*-netbsdelf*): ...targets.
10805 * config/m68k/netbsd-elf.h: New file.
10806
10807 2002-02-02 Kazu Hirata <kazu@hxi.com>
10808
10809 * config/h8300/h8300.c (hand_list): Move inside function_arg.
10810
10811 2002-02-02 Kazu Hirata <kazu@hxi.com>
10812
10813 * config/h8300/h8300.c (h8_push_ops): Move inside
10814 h8300_init_once.
10815 (h8_pop_ops): Likewise.
10816 (h8_move_ops): Likewise.
10817
10818 2002-02-02 Kazu Hirata <kazu@hxi.com>
10819
10820 * config/h8300/h8300.c (os_task): Make it static.
10821 (monitor): Likewise.
10822 (pragma_saveall): Likewise.
10823
10824 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
10825
10826 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
10827 constant is a valid sign-extension for Pmode.
10828
10829 2002-02-02 Kazu Hirata <kazu@hxi.com>
10830
10831 * config/h8300/h8300.c: Fix formatting.
10832
10833 2002-02-02 Kazu Hirata <kazu@hxi.com>
10834
10835 * config/h8300/h8300.md: Fix formatting.
10836
10837 2002-02-02 Kazu Hirata <kazu@hxi.com>
10838
10839 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
10840 predicates of operands[1]. Split the patterns for each
10841 processor variant.
10842
10843 2002-02-02 Kazu Hirata <kazu@hxi.com>
10844
10845 * config/h8300/h8300.md (xor patterns): Tighten the predicates
10846 of operands[1] to register_operand.
10847
10848 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
10849
10850 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
10851 * cpphash.c (_cpp_init_hashtable): Similarly.
10852 * cppinit.c (cpp_create_reader): Default the signed_char flag.
10853 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
10854 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
10855 (cpp_handle_option): Handle the new options.
10856 * cpplex.c (cpp_interpret_charconst): Use new flag.
10857 * cpplib.h (struct cpp_options): New member signed_char.
10858 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
10859 (cpp_options): Handle -fsigned-char and -funsigned-char.
10860 (static_specs): Remove signed_char_spec.
10861 (do_spec1): Don't handle %c.
10862 * system.h: Poison SIGNED_CHAR_SPEC.
10863 * tradcif.y (yylex): Use flag_signed_char.
10864 * tradcpp.h (flag_signed_char): New.
10865 * tradcpp.c (flag_signed_char): New.
10866 (main): Handle new command-line options.
10867 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
10868 config:
10869 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
10870 * avr/avr.h: Remove old comments.
10871 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
10872 (CC1_SPEC): Pass -fsigned-char if -mic*.
10873 (SIGNED_CHAR_SPEC): Remove.
10874 doc:
10875 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
10876
10877 2002-02-01 Eric Christopher <echristo@redhat.com>
10878
10879 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
10880 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
10881 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
10882 (ASM_OUTPUT_REG_POP): Ditto.
10883
10884 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
10885
10886 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
10887 patch.
10888
10889 2002-02-02 Jakub Jelinek <jakub@redhat.com>
10890
10891 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
10892
10893 2002-02-02 Jakub Jelinek <jakub@redhat.com>
10894
10895 PR c/5304:
10896 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
10897 unconditionally.
10898
10899 2002-02-01 Janis Johnson <janis187@us.ibm.com>
10900
10901 * cfganal.c: Include tm_p.h.
10902 (keep_with_call_p): Fix the test that determines if a register holds
10903 the return value of a call.
10904
10905 2002-02-01 DJ Delorie <dj@redhat.com>
10906
10907 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
10908 we are given conflicting registers, switch to the other one we
10909 had allocated for us.
10910 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
10911 as TImode so we know when the "other" register is available.
10912
10913 2002-02-01 David O'Brien <obrien@FreeBSD.org>
10914
10915 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
10916 sparc/sparc_bi.h.
10917
10918 2002-02-01 Janis Johnson <janis187@us.ibm.com>
10919
10920 * cfganal.c (keep_with_call_p): New function.
10921 (flow_call_edges_add): Prevent splitting a block between a call and
10922 a single-set instruction that should be kept in the same block.
10923
10924 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
10925
10926 * doc/install.texi (avr): Update outdated URL.
10927
10928 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
10929
10930 * config/stormy16/stormy16.md (pushqi): New.
10931 (popqi): New.
10932 (pushhi): New.
10933 (pophi): New.
10934 (movhi): Remove stack operands.
10935 (movqi): Likewise.
10936 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
10937 nonimmediate_nonstack_operand.
10938 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
10939 New.
10940 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
10941 New.
10942
10943 2002-01-31 Jason Merrill <jason@redhat.com>
10944
10945 * Makefile.in (c-parse.c): Handle .output file.
10946 * objc/Make-lang.in (objc-parse.c): Likewise.
10947
10948 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
10949
10950 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
10951 the -me[lb] option is given. Don't output the default flag
10952 twice.
10953
10954 2002-01-31 Zack Weinberg <zack@codesourcery.com>
10955
10956 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
10957 the primary source file; this has not been done yet.
10958 * c-decl.c (c_expand_body): Reset input_filename from
10959 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
10960
10961 2002-01-31 Kazu Hirata <kazu@hxi.com>
10962
10963 * rtlanal.c (subreg_regno_offset): Do not use
10964 SUBREG_REGNO_OFFSET.
10965 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
10966 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
10967
10968 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
10969
10970 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
10971 version rather than GNATS version in --version output.
10972
10973 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
10974
10975 * ifcvt.c (noce_process_if_block): Make a copy of the destination
10976 when copying back from a temporary.
10977
10978 2002-01-30 Richard Henderson <rth@redhat.com>
10979
10980 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
10981 and new_dest are the same.
10982
10983 2002-01-30 Richard Henderson <rth@redhat.com>
10984
10985 PR opt/5076
10986 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
10987 * rtl.c (note_insn_name): Update.
10988 * emit-rtl.c (remove_unnecessary_notes): Kill it.
10989 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
10990 to perform loop rotation.
10991 (expand_exit_loop_top_cond): New.
10992 * tree.h (expand_exit_loop_top_cond): Declare it.
10993 * c-semantics.c (genrtl_while_stmt): Use it.
10994 (genrtl_for_stmt): Likewise.
10995
10996 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
10997
10998 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
10999 arguments to 64-bit boundaries on 64-bit ABIs.
11000
11001 2002-01-30 Steve Ellcey <sje@cup.hp.com>
11002
11003 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
11004
11005 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11006
11007 * c-decl.c (grokdeclarator): Handle type being a typedef for an
11008 invalid type.
11009
11010 2002-01-30 David O'Brien <obrien@FreeBSD.org>
11011
11012 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
11013 * config/sparc/sparc_bi.h: Remove file.
11014 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
11015
11016 2002-01-30 Richard Henderson <rth@redhat.com>
11017
11018 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
11019
11020 2002-01-30 Zack Weinberg <zack@codesourcery.com>
11021
11022 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
11023
11024 2002-01-30 Jason Merrill <jason@redhat.com>
11025
11026 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
11027 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
11028 (reg_save): Use DW_CFA_offset_extended_sf instead.
11029
11030 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
11031
11032 2002-01-29 Jakub Jelinek <jakub@redhat.com>
11033
11034 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
11035 in cselib_lookup.
11036
11037 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
11038
11039 * rs6000.md ("*call_value_local32"): Remove constraints.
11040 ("*call_value_local64"): Same.
11041 ("*call_value_indirect_nonlocal_aix32"): Same.
11042 ("*call_value_nonlocal_aix32"): Same.
11043 ("*call_value_indirect_nonlocal_aix64"): Same.
11044 ("*call_value_nonlocal_aix64"): Same.
11045 ("*call_value_nonlocal_sysv"): Same.
11046
11047 2002-01-29 Richard Henderson <rth@redhat.com>
11048
11049 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
11050
11051 2002-01-29 Richard Henderson <rth@redhat.com>
11052
11053 * expr.c (force_operand): Ignore flag_pic for detecting pic
11054 address loads.
11055 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
11056 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
11057 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
11058 instead of open-coded loop.
11059 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
11060 be fixed when in use.
11061
11062 2002-01-29 Richard Henderson <rth@redhat.com>
11063
11064 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
11065 * sched-rgn.c (propagate_deps): Update them.
11066 * sched-deps.c (sched_analyze_insn): Update them. Flush the
11067 clobbers list when either gets too long.
11068
11069 2002-01-29 Jakub Jelinek <jakub@redhat.com>
11070
11071 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
11072 and INDEX_REGS the same as GENERAL_REGS.
11073 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
11074
11075 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
11076
11077 * tree.c (build_nonstandard_integer_type): Correct prototype.
11078
11079 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
11080
11081 * config/s390/s390.md (movstrsico, movstrdix_64,
11082 movstrsix_31): Remove, replace by ...
11083 (movstrdi_short, movstrsi_short, movstrdi_long,
11084 movstrsi_long): ... these. New.
11085 (movstrdi, movstrsi): Adapt.
11086
11087 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
11088 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
11089 Remove unnecessary CC clobber.
11090 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
11091 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
11092
11093 (divmoddi4): Don't partially initialize TImode register.
11094
11095 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
11096
11097 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
11098
11099 2002-01-29 Richard Henderson <rth@redhat.com>
11100
11101 * flow.c (print_rtl_and_abort): Remove.
11102 (print_rtl_and_abort_fcn): Remove.
11103 (verify_local_live_at_start): Use dump_bb instead.
11104 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
11105 (verify_wide_reg_1): Return 2 on mode test failure.
11106
11107 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
11108
11109 PR c/3325, c/3326, c/2511, c/3347
11110 * c-decl.c (enum_decl_context): Remove BITFIELD.
11111 (grokdeclarator): Take bitfield width as an input.
11112 Ensure bitfields are given the correct type. Perform
11113 bitfield width validation with build_bitfield_integer_type
11114 rather than waiting for finish_struct.
11115 (grok_typename, grok_typename_in_parm_context, start_decl,
11116 push_parmdecl, grokfield, start_function): Update calls to
11117 grokdeclarator.
11118 (build_bitfield_integer_type): New function.
11119 (finish_struct): Move bitfield validation to grokdeclarator
11120 and build_bitfield_integer_type.
11121 * tree.c (build_nonstandard_integer_type): New function.
11122 * tree.h (build_nonstandard_integer_type): New prototype.
11123 objc:
11124 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
11125
11126 2002-01-29 Jakub Jelinek <jakub@redhat.com>
11127
11128 PR other/1502:
11129 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
11130 don't ignore unrecognized -W* options.
11131 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
11132 * cpplib.h (cpp_handle_option): Adjust prototype.
11133 * c-decl.c (c_decode_options): Pass 0 as last argument to
11134 cpp_handle_option.
11135
11136 PR c/2896:
11137 * gcc.c (cpp_unique_options): Split from cpp_options.
11138 (cpp_options): Source cpp_unique_options.
11139 (default_compilers): Use cpp_unique_options instead of cpp_options
11140 when used together with cc1_options.
11141 (static_specs): Add cpp_unique_options.
11142 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
11143 when used together with cc1_options.
11144
11145 2002-01-29 Kazu Hirata <kazu@hxi.com>
11146
11147 * config/h8300/h8300-protos.h: Update the prototype of
11148 output_a_shift.
11149 * config/h8300/h8300.c (output_a_shift): Remove an unused
11150 argument 'insn'. Remove redundant code.
11151 * config/h8300/h8300.md: Adust to the new prototype of
11152 output_a_shift.
11153
11154 2002-01-29 Kazu Hirata <kazu@hxi.com>
11155
11156 * config/h8300/h8300-protos.h: Update the prototypes of
11157 emit_a_rotate and expand_a_rotate.
11158 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
11159 first argument to 'enum rtx_code'.
11160 (expand_a_rotate): Likewise.
11161
11162 2002-01-28 Kazu Hirata <kazu@hxi.com>
11163
11164 * config/h8300/h8300-protos.h: Update the prototype of
11165 output_simode_bld.
11166 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
11167 'log2'.
11168 * config/h8300/h8300.md: Adjust to the new prototype.
11169
11170 2002-01-28 Kazu Hirata <kazu@hxi.com>
11171
11172 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
11173 redundant code.
11174
11175 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
11176
11177 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
11178 is a fixed register before returning pic_offset_table_rtx.
11179 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
11180 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
11181
11182 2002-01-28 Jason Merrill <jason@redhat.com>
11183
11184 * dwarf2.h: Sync with src version.
11185
11186 2002-01-28 Paul Koning <pkoning@equallogic.com>
11187
11188 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
11189 BT_FN_VOID_PTR_VAR.
11190 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
11191 * doc/extend.texi (__builtin_prefetch): Update documentation:
11192 first argument is now const void ptr.
11193
11194 2002-01-28 Kazu Hirata <kazu@hxi.com>
11195
11196 * config/h8300/h8300-protos.h: Remove an unused prototype.
11197
11198 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
11199
11200 * toplev.c (lang_independent_init): Round up identifier size.
11201
11202 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
11203
11204 * config.gcc: Revert previous change.
11205
11206 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
11207
11208 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
11209
11210 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
11211
11212 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
11213 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
11214 other non-elf netbsd config frags.
11215 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
11216 collect2 will does that.
11217 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
11218 shared-lib frobbing will work.
11219
11220 2002-01-28 Kazu Hirata <kazu@hxi.com>
11221
11222 * config/h8300/h8300.h: Fix formatting.
11223 * config/h8300/h8300.md: Likewise.
11224
11225 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
11226
11227 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
11228 the old, removed AAA_standards fix.
11229 * fixinc/fixincl.x: Rebuilt.
11230
11231 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
11232
11233 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
11234 atexit call in crtbegin, hooked in after call to frame_dummy;
11235 register EH before registering __fini__start.
11236
11237 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
11238
11239 * config/rs6000/altivec.h: Remove spurious semicolons.
11240
11241 2002-01-27 Kazu Hirata <kazu@hxi.com>
11242
11243 * config/h8300/h8300.md: Replace dead bit extraction patterns
11244 with ones that work.
11245
11246 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11247
11248 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
11249 if not STRICT_ALIGNMENT.
11250 * rtl.h (MEM_ALIGN): Likewise.
11251
11252 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
11253
11254 * doc/invoke.texi (-fdump-translation-unit): Revert this
11255 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
11256
11257 2002-01-27 Kazu Hirata <kazu@hxi.com>
11258
11259 * config/h8300/h8300.md (define_constants): New.
11260 (anonymous patterns) Use defined constants appropriately.
11261
11262 2002-01-27 Kazu Hirata <kazu@hxi.com>
11263
11264 * config/h8300/h8300.c (function_arg): Remove redundant code.
11265
11266 2002-01-26 Richard Henderson <rth@redhat.com>
11267
11268 * sched-deps.c (reg_pending_uses_head): New.
11269 (reg_pending_barrier): Rename from reg_pending_sets_all.
11270 (find_insn_list): Don't mark inline.
11271 (find_insn_mem_list): Remove.
11272 (add_dependence_list, add_dependence_list_and_free): New.
11273 (flush_pending_lists): Replace only_write param with separate
11274 for_read and for_write parameters. Update all callers. Use
11275 add_dependence_list_and_free.
11276 (sched_analyze_1): Do not add reg dependencies here; just set
11277 the pending bits. Use add_dependence_list.
11278 (sched_analyze_2): Likewise.
11279 (sched_analyze_insn): Replace schedule_barrier_found with
11280 reg_pending_barrier. Add all dependencies for pending reg
11281 uses, sets, and clobbers.
11282 (sched_analyze): Don't add reg dependencies for calls, just
11283 set pending bits. Use regs_invalidated_by_call. Treat
11284 sched_before_next_call as a normal list, not a fake insn.
11285 (init_deps): No funny init for sched_before_next_call.
11286 (free_deps): Free pending mems lists. Don't zero reg_last.
11287 (init_deps_global): Init reg_pending_uses.
11288 (finish_deps_global): Free it.
11289 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
11290 (find_insn_mem_list): Remove.
11291 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
11292 (propagate_deps): Use them. Zero temp mem lists.
11293
11294 2002-01-26 Richard Henderson <rth@redhat.com>
11295
11296 * Makefile.in (CRTSTUFF_CFLAGS): New.
11297 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
11298 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
11299 crtstuff.c instead of alpha assembly version.
11300 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
11301 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
11302 not FORCE_{INIT,FINI}_SECTION_ALIGN.
11303 (__do_global_dtors_aux): Mark used.
11304 (frame_dummy, __do_global_ctors_aux): Mark used.
11305 (fini_dummy, init_dummy): Remove.
11306
11307 * config/alpha/crtbegin.asm: Remove file.
11308 * config/alpha/crtend.asm: Remove file.
11309 * config/alpha/t-crtbe: Remove file.
11310 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
11311 (LINK_EH_SPEC): New.
11312
11313 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
11314 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
11315 calling constructors.
11316 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
11317
11318 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
11319 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
11320 CRT_END_INIT_DUMMY hack.
11321 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
11322 FORCE_{INIT,FINI}_SECTION_ALIGN.
11323
11324 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
11325 FORCE_{INIT,FINI}_SECTION_ALIGN.
11326
11327 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
11328 invocation sequence.
11329 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
11330
11331 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
11332 (FORCE_CODE_SECTION_ALIGN): New.
11333
11334 2002-01-26 Richard Henderson <rth@redhat.com>
11335
11336 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
11337
11338 2002-01-26 Richard Henderson <rth@redhat.com>
11339
11340 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
11341 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
11342
11343 2002-01-26 Kazu Hirata <kazu@hxi.com>
11344
11345 * config/h8300/h8300.md: Remove bit extraction patterns that
11346 cannot be triggered.
11347 Restrict each bit extraction pattern to a variant on which the
11348 pattern is tested.
11349
11350 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
11351
11352 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
11353
11354 2002-01-26 Kazu Hirata <kazu@hxi.com>
11355
11356 * config/h8300/h8300.md: Remove bit test patterns that cannot
11357 be triggered.
11358 Restrict each bit test pattern to a variant on which the
11359 pattern is tested.
11360
11361 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11362
11363 * builtins.c (expand_builtin_strncat): Remove redundant check for
11364 INTEGER_CST.
11365
11366 2002-01-25 David O'Brien <obrien@FreeBSD.org>
11367
11368 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
11369 default setting.
11370 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
11371 existing setting.
11372
11373 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
11374
11375 * dbxout.c (dbxout_init): Use assemble_name rather than just
11376 stripping off the first character.
11377 (dbxout_source_file): Likewise.
11378
11379 2002-01-25 DJ Delorie <dj@redhat.com>
11380
11381 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
11382 using rtx_equal_p, not by comparing pointers.
11383
11384 2002-01-25 Steve Ellcey <sje@cup.hp.com>
11385
11386 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
11387 for PIC_OFFSET_TABLE_REGNUM.
11388 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
11389
11390 2002-01-25 David O'Brien <obrien@FreeBSD.org>
11391
11392 * config.gcc (x86_64-*-freebsd*): New target.
11393 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
11394 value.
11395 (i[34567]86-*-freebsd*): Don't include svr4.h.
11396 * config/i386/freebsd64.h: New file.
11397
11398 2002-01-25 Douglas B Rupp <rupp@gnat.com>
11399
11400 * config/alpha/x-vms (version): Make static.
11401
11402 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
11403 in previous checkin.
11404
11405 * Makefile.in (install-headers-cp): New target.
11406 * config.gcc (alpha-dec-*vms*): Install headers with
11407 install-headers-cp
11408
11409 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
11410
11411 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
11412 avoid it's copies.
11413
11414 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11415
11416 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
11417 of compare_tree_int.
11418 (expand_builtin_strncat): Likewise.
11419 * c-decl.c (finish_struct): Use tree_low_cst.
11420 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
11421 * tree.c (compare_tree_int): Likewise.
11422
11423 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
11424
11425 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
11426 adjustments even if they are implemented by more than two insns.
11427
11428 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
11429
11430 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
11431 * df.h (struct ref): Kill B.
11432 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
11433
11434 * basic-block.h (PROP_EQUAL_NOTES): New flag.
11435 * flow.c (propagate_one_insn): Use it.
11436 (mark_used_regs): Handle NIL.
11437
11438 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
11439
11440 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
11441 to help folding.
11442
11443 2002-01-25 David Edelsohn <edelsohn@gnu.org>
11444
11445 * rs6000.md (prefetch): Make address V4SI mode so that the address
11446 is restricted to legitimate form for instruction.
11447
11448 2002-01-25 Bob Wilson <bob.wilson@acm.org>
11449
11450 * doc/install.texi (xtensa-*-elf): New target.
11451 (xtensa-*-linux*): New target.
11452 * doc/contrib.texi: Add myself.
11453
11454 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
11455
11456 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
11457 purpose register to hold an SImode (or smaller) value.
11458
11459 2002-01-25 Jakub Jelinek <jakub@redhat.com>
11460
11461 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
11462 registry only.
11463 * crtstuff.c: Likewise.
11464
11465 2002-01-25 Kazu Hirata <kazu@hxi.com>
11466
11467 * config/h8300/h8300.md (negation patterns): Tighten
11468 predicates to register_operand.
11469
11470 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
11471
11472 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
11473 mode, not Pmode.
11474
11475 * builtins.c (expand_builtin_prefetch): Same.
11476
11477 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
11478
11479 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
11480 modes.
11481
11482 2002-01-24 Kazu Hirata <kazu@hxi.com>
11483
11484 * config/h8300/h8300.c (print_operand): Remove support for
11485 operand character 'A'.
11486 * config/h8300/h8300.md (three anonymous patterns): Replace
11487 operand character 'A' with either 'T' or 'S'.
11488
11489 2002-01-24 Kazu Hirata <kazu@hxi.com>
11490
11491 * config/h8300/h8300.c (print_operand): Remove support for
11492 operand character 'U'.
11493
11494 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
11495
11496 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
11497
11498 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
11499
11500 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
11501 values to be assigned to the stack pointer.
11502
11503 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
11504
11505 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
11506 to const_double needs to be done right for big-endian systems.
11507
11508 2002-01-24 Jason Merrill <jason@redhat.com>
11509
11510 PR c++/2432
11511 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
11512 to can_throw_internal.
11513
11514 2002-01-23 Richard Henderson <rth@redhat.com>
11515
11516 * fold-const.c (fold): Change UINT_MAX test to check vs precision
11517 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
11518
11519 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
11520
11521 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
11522 (symGOT2reg): Use them, then set as GOT value as unchanging.
11523 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
11524 as a temporary, if possible.
11525 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
11526 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
11527
11528 2002-01-23 Kazu Hirata <kazu@hxi.com>
11529
11530 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
11531 accept to accept 0x80 as operands[2].
11532
11533 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
11534
11535 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
11536
11537 2002-01-23 Richard Henderson <rth@redhat.com>
11538
11539 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
11540
11541 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
11542
11543 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
11544 (parmlist_or_identifiers_1): Verify that only a parmlist follows
11545 an attribute.
11546
11547 2002-01-23 Richard Henderson <rth@redhat.com>
11548
11549 * expr.c (move_by_pieces_1): Extend size before negation.
11550
11551 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
11552 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
11553 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
11554 * config/m68k/t-m68kelf: Likewise.
11555
11556 2002-01-23 Bob Wilson <bob.wilson@acm.org>
11557
11558 * config/xtensa/elf.h: New file.
11559 * config/xtensa/lib1funcs.asm: New file.
11560 * config/xtensa/lib2funcs.S: New file.
11561 * config/xtensa/linux.h: New file.
11562 * config/xtensa/t-xtensa: New file.
11563 * config/xtensa/xtensa-config.h: New file.
11564 * config/xtensa/xtensa-protos.h: New file.
11565 * config/xtensa/xtensa.c: New file.
11566 * config/xtensa/xtensa.h: New file.
11567 * config/xtensa/xtensa.md: New file.
11568 * config.gcc (xtensa-*-elf*): New target.
11569 (xtensa-*-linux*): New target.
11570 * cse.c (canon_hash): Compare rtx pointers instead of register
11571 numbers. This is required for the Xtensa port.
11572 * integrate.c (copy_insn_list): Handle case where the static
11573 chain is in memory and the memory address has to be copied to
11574 a register.
11575 * doc/invoke.texi (Option Summary): Add Xtensa options.
11576 (Xtensa Options): New node.
11577 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
11578
11579 2002-01-23 Zack Weinberg <zack@codesourcery.com>
11580
11581 * diagnostic.c (internal_error): Do ICE suppression only
11582 when ENABLE_CHECKING is not defined.
11583
11584 * c-typeck.c (require_complete_type): Return error_mark_node
11585 if type is error_mark_node.
11586
11587 2002-01-23 Janis Johnson <janis187@us.ibm.com>
11588
11589 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
11590 -Os and issue a warning.
11591
11592 2002-01-23 Zack Weinberg <zack@codesourcery.com>
11593
11594 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
11595 current (lack of) need for host configuration by hand.
11596
11597 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
11598 references. Documentation of some target macros moved from
11599 hostconfig.texi to tm.texi.
11600
11601 2002-01-23 Will Cohen <wcohen@redhat.com>
11602
11603 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
11604 defined.
11605
11606 2002-01-23 Kazu Hirata <kazu@hxi.com>
11607
11608 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
11609 operand[3].
11610
11611 2002-01-23 Jason Merrill <jason@redhat.com>
11612
11613 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
11614
11615 * function.c (assign_parms): Don't put args of inline functions
11616 into registers when not optimizing.
11617
11618 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
11619
11620 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
11621 (prologue_use): New pattern.
11622 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
11623 preference to gen_rtx_USE.
11624 (thumb_expand_prologue): Use gen_prologue_use in preference to
11625 gen_rtx_USE.
11626 (thumb_expand_epilogue): Use gen_prologue_use in preference to
11627 gen_rtx_USE.
11628
11629 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
11630
11631 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
11632
11633 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
11634
11635 PR c/3504
11636 * doc/extend.texi: Correct documentation of __alignof__.
11637
11638 2002-01-22 Zack Weinberg <zack@codesourcery.com>
11639
11640 * params.h: Rename arguments of DEFPARAM so that it will be
11641 recognized as a translation keyword.
11642
11643 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
11644
11645 * extend.texi: Document altivec functions.
11646 Fix N-bit adjectives in X86 builtin documentation.
11647
11648 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
11649
11650 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
11651 auto_inc_dec values.
11652
11653 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
11654
11655 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
11656 after backslash.
11657 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
11658
11659 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
11660
11661 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
11662
11663 2002-01-22 Richard Henderson <rth@redhat.com>
11664
11665 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
11666 copy_insn not copy_rtx.
11667
11668 2002-01-23 Alan Modra <amodra@bigpond.net.au>
11669
11670 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
11671 "nonzero" as that might add "1" bits. Ensure "constop" is
11672 properly sign extened.
11673 (force_to_mode): Tweak for sign extended constop.
11674
11675 2002-01-22 Richard Henderson <rth@redhat.com>
11676
11677 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
11678 for_each_rtx instead of assuming we're already looking at the MEM.
11679 (split_small_symbolic_mem_operand): Likewise.
11680 * config/alpha/alpha.h (PREDICATE_CODES): Update.
11681 * config/alpha/alpha.md (small symbolic memory splitters): Update.
11682
11683 2002-01-22 Richard Henderson <rth@redhat.com>
11684
11685 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
11686 sequence number for the literal.
11687 (divmoddi_internal_er): Likewise.
11688
11689 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
11690
11691 PR java/4972
11692 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
11693 in LIBICONV variable.
11694 * configure: Regenerated.
11695
11696 2002-01-22 Krister Walfridsson <cato@df.lth.se>
11697
11698 * dependence.c (build_def_use): Remove array_idx.
11699
11700 * dwarfout.c (last_filename): Remove.
11701 (output_compile_unit_die): Remove last_filename.
11702
11703 2002-01-22 Roger Sayle <roger@eyesopen.com>
11704 Richard Henderson <rth@redhat.com>
11705
11706 PR opt/3640
11707 * fold-const.c (fold): Optimize unsigned comparisons against
11708 UINT_MAX (and similar unsigned constants).
11709
11710 2002-01-22 Janis Johnson <janis187@us.ibm.com>
11711
11712 * Makefile.in (loop.o): Depend on OPTABS_H.
11713 * loop.c (emit_prefetch_instructions): Check the prefetch operand
11714 against the predicate.
11715
11716 PR target/5379
11717 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
11718 for the address operand.
11719
11720 2002-01-22 Richard Henderson <rth@redhat.com>
11721
11722 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
11723
11724 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
11725
11726 PR other/5450
11727 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
11728 preprocessor flags.
11729
11730 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
11731
11732 * config.gcc (x86_64-*-netbsd*): New target.
11733 * config/i386/netbsd64.h: New file.
11734
11735 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
11736
11737 * regrename.c (kill_value): Fix typo.
11738
11739 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
11740
11741 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
11742
11743 * config/rs6000/rs6000.h: Same.
11744
11745 * function.c (instantiate_virtual_regs): Remove
11746 STARTING_FRAME_PHASE.
11747 (assign_stack_local_1): Same.
11748 Calculate frame phase.
11749
11750 2002-01-22 Nick Clifton <nickc@redhat.com>
11751
11752 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
11753 variable declaration to outer scope in order to simplify
11754 future extensions.
11755 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
11756 arm_hard_regno_mode_ok.
11757 * config/arm/arm-protos.h: Add a prototype for
11758 arm_hard_regno_mode_ok.
11759 * config/arm/arm.c (soft_df_operand): Remove now redundant
11760 check for DImode values using IP_REGNUM.
11761 (nonimmediate_soft_df_operand): Remove now redundant check for
11762 DImode values using IP_REGNUM.
11763 (arm_hard_regno_mode_ok): New function. New check: make sure
11764 that DImode values are not stored in IP_REGNUM.
11765
11766 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
11767 note with a USE.
11768 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
11769
11770 2002-01-22 Jason Merrill <jason@redhat.com>
11771
11772 * c-semantics.c (genrtl_compound_stmt): Only check nesting
11773 consistency if this COMPOUND_STMT is scoped.
11774
11775 2002-01-22 Kazu Hirata <kazu@hxi.com>
11776
11777 * predict.c: Fix formatting.
11778 * print-tree.c: Likewise.
11779 * protoize.c: Likewise.
11780 * real.h: Likewise.
11781 * rtl.h: Likewise.
11782 * sbitmap.h: Likewise.
11783 * scan.c: Likewise.
11784 * sched-deps.c: Likewise.
11785 * sched-vis.c: Likewise.
11786 * sdbout.c: Likewise.
11787 * sibcall.c: Likewise.
11788 * ssa.c: Likewise.
11789 * ssa-ccp.c: Likewise.
11790 * ssa-dce.c: Likewise.
11791 * stmt.c: Likewise.
11792 * stor-layout.c: Likewise.
11793 * system.h: Likewise.
11794
11795 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11796
11797 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
11798 if fits in bounds of base type.
11799
11800 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
11801 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
11802 (add_bound_info, default): If can't find a context, make a
11803 SAVE_EXPR.
11804 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
11805
11806 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
11807
11808 * c-typeck.c (parser_build_binary_op): If result from
11809 build_binary_op is ERROR_MARK just return error_mark_node without
11810 further processing.
11811
11812 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
11813
11814 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
11815 Split a.out-specific bits into...
11816 * config/netbsd-aout.h: ...this.
11817 * config/netbsd-elf.h: New file.
11818 * config/alpha/netbsd-elf.h: Remove.
11819 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
11820 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
11821 (STARTFILE_SPEC): Remove redundant definition.
11822 (ENDFILE_SPEC): Likewise.
11823 (LINK_SPEC): Likewise.
11824 (CPP_SPEC): Likewise.
11825 (ASM_SPEC): Likewise.
11826 (LIB_SPEC): Likewise.
11827 (SWITCH_TAKES_ARG): Likewise.
11828 (TARGET_MEM_FUNCTIONS): Likewise.
11829 (CPP_PREDEFINES): Redefine.
11830 (ASM_FINAL_SPEC): Remove redefinition.
11831 (ASM_COMMENT_START): Redefine.
11832 (FUNCTION_PROFILER): Define.
11833 (TARGET_VERSION): Redefine.
11834 Comment and formatting cleanup.
11835 * config/i386/netbsd.h: Include <netbsd-aout.h>.
11836 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
11837 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
11838 big- or little-endian.
11839 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
11840 * config.gcc (*-*-netbsd*): Add definitions common to all
11841 NetBSD configs.
11842 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
11843 gnu_ld definitions. Add netbsd-elf.h to and remove
11844 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
11845 tmake_file, and don't lose previous tmake_file contents.
11846 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
11847 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
11848 gnu_ld definitions. Add netbsd-elf.h to tm_file.
11849 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
11850 (mipsel-*-netbsd*): Rename this to...
11851 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
11852 mips/little.h to tm_file for mips*el-*.
11853 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
11854 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
11855 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
11856
11857 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
11858
11859 * pa-protos.h (reg_before_reload_operand): New function prototype.
11860 * pa.c (reg_before_reload_operand): New function implementation.
11861 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
11862 contraints to "*m".
11863
11864 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11865
11866 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
11867
11868 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
11869
11870 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
11871 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
11872 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
11873 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
11874 (ENDFILE_SPEC): Undefine.
11875 (STARTFILE_SPEC): Redefine for PA.
11876
11877 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11878
11879 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
11880
11881 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
11882
11883 * config.gcc: Add entries to supported PowerPC --with-cpu
11884 types.
11885
11886 2002-01-21 Jakub Jelinek <jakub@redhat.com>
11887
11888 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
11889 true for 64-bit mode only SSE registers in 32-bit mode.
11890
11891 2002-01-21 Kazu Hirata <kazu@hxi.com>
11892
11893 * unwind-dw2.c: Fix formatting.
11894 * unwind-dw2-fde.c: Likewise.
11895 * unwind-dw2-fde.h: Likewise.
11896 * unwind-pe.h: Likewise.
11897 * varasm.c: Likewise.
11898 * varray.h: Likewise.
11899
11900 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
11901
11902 Remove workaround for register stack overwrite bug in mmix.
11903 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
11904 support for TARGET_REG_STACK_FILL_BUG.
11905 * config/mmix/mmix.h: Remove member has_call_without_parameters.
11906 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
11907 Delete.
11908 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
11909 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
11910 -mno-reg-stack-fill-bug-workaround.
11911 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
11912 machine member has_call_without_parameters.
11913 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
11914 -mreg-stack-fill-bug-workaround and
11915 -mno-reg-stack-fill-bug-workaround.
11916 (MMIX Options): Ditto.
11917
11918 2002-01-21 Kazu Hirata <kazu@hxi.com>
11919
11920 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
11921 as appropriate.
11922 Remove redundant code.
11923
11924 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
11925
11926 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
11927 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
11928 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
11929 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
11930 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
11931 out target macro definitions and non-target-specific comments
11932 mostly taken from old versions of the manual.
11933
11934 2002-01-20 Kazu Hirata <kazu@hxi.com>
11935
11936 * config/h8300/h8300.h: Fix comment formatting.
11937 * config/ia64/aix.h: Likewise.
11938 * config/ia64/ia64-protos.h: Likewise.
11939 * config/ia64/ia64.c: Likewise.
11940 * config/ia64/ia64.h: Likewise.
11941 * config/ia64/ia64intrin.h: Likewise.
11942 * config/ia64/linux.h: Likewise.
11943 * config/ia64/unwind-aix.c: Likewise.
11944 * config/ia64/unwind-ia64.c: Likewise.
11945
11946 2002-01-20 Kazu Hirata <kazu@hxi.com>
11947
11948 * config/h8300/h8300.c: Revise comments about shift code.
11949
11950 2002-01-20 Kazu Hirata <kazu@hxi.com>
11951
11952 * config/h8300/h8300.c (function_arg): Update a comment.
11953
11954 2002-01-20 Kazu Hirata <kazu@hxi.com>
11955
11956 * config/h8300/h8300.md: Update the comments at the beginning
11957 of the file.
11958
11959 2002-01-20 Kazu Hirata <kazu@hxi.com>
11960
11961 * config/i370/i370.c: Fix comment formatting.
11962 * config/i370/i370.h: Likewise.
11963 * config/i370/i370.md: Likewise.
11964 * config/i370/linux.h: Likewise.
11965
11966 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11967
11968 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
11969
11970 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
11971 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
11972 in incomplete case.
11973
11974 2002-01-20 Graham Stott <grahams@redhat.com>
11975
11976 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
11977
11978 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
11979
11980 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
11981
11982 2002-01-19 Tom Rix <trix@redhat.com>
11983
11984 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
11985
11986 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
11987
11988 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
11989
11990 * function.c (assign_stack_local_1): Adjust x_frame_offset with
11991 STARTING_FRAME_PHASE.
11992 (STARTING_FRAME_PHASE): New.
11993 (instantiate_virtual_regs): Check saneness of
11994 STARTING_FRAME_PHASE.
11995
11996 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
11997
11998 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
11999
12000 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
12001
12002 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
12003
12004 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
12005 be used for bootstrapping GCC 3.0.
12006
12007 2002-01-18 Kazu Hirata <kazu@hxi.com>
12008
12009 * config/h8300/h8300.md: Fix an insn length.
12010
12011 2002-01-18 Kazu Hirata <kazu@hxi.com>
12012
12013 * bitmap.h: Fix comment formatting.
12014 * combine.c: Likewise.
12015 * cppfiles.c: Likewise.
12016 * c-pragma.h: Likewise.
12017 * c-typeck.c: Likewise.
12018 * df.c: Likewise.
12019 * dwarf2out.c: Likewise.
12020 * function.c: Likewise.
12021 * gcc.c: Likewise.
12022 * genattrtab.c: Likewise.
12023 * gthr-win32.h: Likewise.
12024 * haifa-sched.c: Likewise.
12025 * predict.c: Likewise.
12026 * rtlanal.c: Likewise.
12027 * rtl.h: Likewise.
12028 * unwind-dw2-fde.h: Likewise.
12029 * unwind-pe.h: Likewise.
12030 * vmsdbgout.c: Likewise.
12031
12032 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12033
12034 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
12035 if type_required and passed decl.
12036
12037 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
12038
12039 * config.gcc (cpu_type): Include altivec.h in powerpc
12040 extra_headers.
12041 Same for darwin.
12042
12043 * config/rs6000/altivec.h: New.
12044
12045 2002-01-17 David Edelsohn <edelsohn@gnu.org>
12046
12047 * doc/install.texi (*-ibm-aix*): Update assembler and exception
12048 handling information.
12049 * doc/trouble.texi (Interoperation): Add libstdc++ information
12050 for AIX.
12051 (Misunderstandings): Add template instantiation and static template
12052 member information for AIX.
12053
12054 2002-01-17 Jason Merrill <jason@redhat.com>
12055
12056 * dbxout.c (dbxout_type): Support const and volatile.
12057
12058 * except.c (add_partial_entry): Remove backwards compatibility code.
12059 (end_protect_partials): Likewise.
12060
12061 2002-01-17 Jakub Jelinek <jakub@redhat.com>
12062
12063 * config/ia64/ia64.md (prologue_use): New.
12064 * config/ia64/ia64.c (ia64_expand_prologue): Use
12065 gen_prologue_use instead of gen_rtx_USE.
12066 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
12067 as CODE_FOR_pred_rel_mutex.
12068 (ia64_sched_reorder2): Likewise.
12069
12070 2002-01-16 Eric Christopher <echristo@redhat.com>
12071
12072 * config/mips/r3900.h: Reformat.
12073 (SUBTARGET_CPP_SIZE_SPEC): Remove.
12074 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
12075 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
12076 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
12077 * config/mips/t-elf: Remove mips3 multilib.
12078
12079 2002-01-16 H.J. Lu <hjl@gnu.org>
12080
12081 * config/mips/linux.h: Include "mips/abi64.h".
12082
12083 2002-01-16 H.J. Lu <hjl@gnu.org>
12084
12085 * config/mips/t-linux: New.
12086
12087 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
12088
12089 * config/mips/linux.h: Don't include "gofast.h".
12090 (INIT_SUBTARGET_OPTABS): Removed.
12091
12092 2002-01-16 Kazu Hirata <kazu@hxi.com>
12093
12094 * config/h8300/h8300-protos.h: Replace emit_a_shift with
12095 output_a_shift.
12096 * config/h8300/h8300.c: Likewise.
12097 * config/h8300/h8300.md: Likewise.
12098
12099 2002-01-16 Kazu Hirata <kazu@hxi.com>
12100
12101 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
12102 spaces after an opcode name.
12103 (pushqi1_h8300hs): Likewise.
12104 (pushhi1_h8300hs): Likewise.
12105
12106 2002-01-16 Kazu Hirata <kazu@hxi.com>
12107
12108 * doc/extend.texi: Replace "option" with "attribute"
12109 appropriately.
12110
12111 2002-01-16 Jakub Jelinek <jakub@redhat.com>
12112
12113 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
12114 (and:DI () (const_int -8)).
12115 (split_small_symbolic_mem_operand): Split
12116 (mem (and:DI () (const_int -8)).
12117
12118 2002-01-16 Jakub Jelinek <jakub@redhat.com>
12119
12120 PR target/5309:
12121 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
12122 same way as TYPE_IMUL.
12123 (ultrasparc_sched_reorder): Likewise.
12124 * config/sparc/sparc.md (type): Add comment to update
12125 ultrasparc_sched_reorder when making changes.
12126
12127 2002-01-16 Kazu Hirata <kazu@hxi.com>
12128
12129 * doc/invoke.texi: Change the dump file name of block
12130 reordering pass from 28.bbro to 29.bbro.
12131 Mention -dk option.
12132
12133 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
12134
12135 * i386.md (minsf splitter): Fix pasto.
12136
12137 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
12138
12139 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
12140 to frame pointer initialisation instruction.
12141 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
12142 initialisation instruction.
12143 (soft_df_operand): Do not accept the IP register.
12144 (nonimmediate_soft_df_operand): Do not accept the IP register.
12145
12146 2002-01-16 Jakub Jelinek <jakub@redhat.com>
12147
12148 PR target/5357:
12149 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
12150 MASK_V8 being both set.
12151
12152 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
12153
12154 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
12155 insn for GOT register; add REG_MAYBE_DEAD notes instead.
12156 config/s390/s390.md (call, call_value): Add GOT register to
12157 CALL_INSN_FUNCTION_USAGE where needed.
12158 (call_exp, call_value_exp): New.
12159
12160 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
12161
12162 * config/arm/arm.c: General formatting tidy up.
12163
12164 2002-01-16 Graham Stott <grahams@redhat.com>
12165
12166 * calls.c (try_to_integrate): Use "(size_t)" intermediate
12167 cast and when casting an integer literal to "rtx" pointer.
12168 (expand_call): Likewise.
12169 * flow.c (try_pre_increment): Likewise.
12170 (find_use_as_address): Likewise.
12171 * integrate.c (expand_iline_function): Likewise.
12172 * regmove.c (try_auto_increment): Likewise.
12173
12174 2002-01-16 Graham Stott <grahams@redhat.com>
12175
12176 * sched-rgn.c (passed): Use sbitmap_free.
12177 (header): Likewise.
12178 (inner): Likewise.
12179 (in_queue): Likewise.
12180 (in_stack): Likewise.
12181
12182 2002-01-15 Eric Christopher <echristo@redhat.com>
12183
12184 * flow.c (propagate_one_insn): Change to use fatal_insn.
12185
12186 2002-01-15 Kazu Hirata <kazu@hxi.com>
12187
12188 * expmed.c (extract_fixed_bit_field): Remove unused code.
12189 * system.h: Poison SLOW_ZERO_EXTEND.
12190 * doc/tm.texi: Remove.
12191 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
12192 * config/arm/arm.h: Likewise.
12193 * config/avr/avr.h: Likewise.
12194 * config/clipper/clipper.h: Likewise.
12195 * config/convex/convex.h: Likewise.
12196 * config/d30v/d30v.h: Likewise.
12197 * config/dsp16xx/dsp16xx.h: Likewise.
12198 * config/elxsi/elxsi.h: Likewise.
12199 * config/fr30/fr30.h: Likewise.
12200 * config/h8300/h8300.h: Likewise.
12201 * config/i370/i370.h: Likewise.
12202 * config/i386/i386.h: Likewise.
12203 * config/m68k/m68k.h: Likewise.
12204 * config/mips/mips.h: Likewise.
12205 * config/ns32k/ns32k.h: Likewise.
12206 * config/pdp11/pdp11.h: Likewise.
12207 * config/pj/pj.h: Likewise.
12208 * config/s390/s390.h: Likewise.
12209 * config/sh/sh.h: Likewise.
12210 * config/stormy16/stormy16.h: Likewise.
12211 * config/v850/v850.h: Likewise.
12212 * config/vax/vax.h: Likewise.
12213 * config/we32k/we32k.h: Likewise.
12214
12215 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
12216
12217 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
12218 (altivec_lvsl): Change constraint to b.
12219 (altivec_lvsr): Same.
12220 (altivec_lvebx): Same.
12221 (altivec_lvehx): Same.
12222 (altivec_lvewx): Same.
12223 (altivec_lvxl): Same.
12224 (altivec_lvx): Same.
12225 (altivec_stvx): Add parallel.
12226 (altivec_stvxl): Same.
12227 (altivec_stvehx): Same.
12228 (altivec_stvebx): Same.
12229 (altivec_stvebx): Same.
12230
12231 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
12232
12233 * config.gcc: Change altivec.h to altivec-defs.h.
12234
12235 * config/rs6000/altivec.h: Delete.
12236
12237 * config/rs6000/altivec-defs.h: Add.
12238
12239 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
12240
12241 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
12242 and UMOD modes.
12243
12244 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
12245 less than or equal to eight bytes.
12246
12247 * vax.md (andsi3): Remove constraints and change SET destination
12248 operand type to nonimmediate_operand.
12249 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
12250 when it is a CONST_INT.
12251
12252 2002-01-15 Jason Merrill <jason@redhat.com>
12253
12254 * c-common.def (FILE_STMT): New code.
12255 * c-common.c (statement_code_p): It's a statement.
12256 * c-common.h (stmt_tree_s): Add x_last_filename.
12257 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
12258 (last_expr_filename): New macro.
12259 * c-semantics.c (begin_stmt_tree): Initialize it.
12260 (add_stmt): If the filename changed, also insert a
12261 FILE_STMT.
12262 (expand_stmt): Handle seeing one.
12263
12264 2002-01-15 Eric Christopher <echristo@redhat.com>
12265
12266 * flow.c (propagate_one_insn): Add error message and print out
12267 insn for debugging.
12268
12269 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
12270
12271 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
12272 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
12273 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
12274 TRAMPOLINE_ALIGNMENT.
12275 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
12276 to be in bits.
12277 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
12278 PCC_BITFIELD_TYPE_MATTERS.
12279 * config/interix.h (STDC_VALUE): Remove. Use
12280 STDC_0_IN_SYSTEM_HEADERS.
12281 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
12282 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
12283 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
12284
12285 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
12286
12287 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
12288 not work on this platform currently.
12289
12290 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
12291
12292 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
12293 readonly_warning in _().
12294
12295 2002-01-15 Douglas B Rupp <rupp@gnat.com>
12296
12297 * gcc.c (delete_if_ordinary): Backout previous change.
12298
12299 2002-01-15 Kazu Hirata <kazu@hxi.com>
12300
12301 * config/h8300/h8300.c (print_operand): Remove support for
12302 unused operand characters.
12303
12304 * read-rtl.c: Fix formatting.
12305 * real.c: Likewise.
12306 * recog.c: Likewise.
12307 * regclass.c: Likewise.
12308 * regmove.c: Likewise.
12309 * reg-stack.c: Likewise.
12310 * reload1.c: Likewise.
12311 * rtlanal.c: Likewise.
12312
12313 2002-01-15 Kazu Hirata <kazu@hxi.com>
12314
12315 * config/i386/i386.c: Fix formatting.
12316
12317 2002-01-15 Jakub Jelinek <jakub@redhat.com>
12318
12319 * c-typeck.c (process_init_element): Don't save_expr
12320 COMPOUND_LITERAL_EXPR if just its initializer will be used.
12321
12322 2002-01-15 David Edelsohn <edelsohn@gnu.org>
12323
12324 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
12325 emit optional traceback table if optimize_size or TARGET_ELF.
12326 * config/rs6000/rs6000.md (prefetch): New.
12327
12328 2002-01-15 Andreas Jaeger <aj@suse.de>
12329
12330 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
12331
12332 2002-01-15 Kazu Hirata <kazu@hxi.com>
12333
12334 * mips-tfile.c: Fix formatting.
12335
12336 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
12337
12338 * unroll.c (final_reg_note_copy): Fix previous commit.
12339
12340 2002-01-14 Kazu Hirata <kazu@hxi.com>
12341
12342 * config/h8300/h8300-protos.h: Remove the prototype for
12343 eq_operator.
12344 * config/h8300/h8300.c (eq_operator): Remove.
12345
12346 2002-01-14 Richard Henderson <rth@redhat.com>
12347
12348 * config/i386/i386.md (prefetch): Tidy.
12349 (prefetch_3dnow): Fix locality operand.
12350
12351 2002-01-14 Richard Henderson <rth@redhat.com>
12352
12353 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
12354 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
12355
12356 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
12357
12358 * reload1.c (reload_combine): Pass reg_sum replacement through
12359 copy_rtx in loop performing multiple changes.
12360
12361 2002-01-14 Jakub Jelinek <jakub@redhat.com>
12362
12363 * except.c (remove_unreachable_regions): New.
12364 (free_eh_status): Clear exception_handler_labels.
12365 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
12366 (find_exception_handler_labels): Don't add the same label more than
12367 once.
12368 (remove_exception_handler_label): Don't die if
12369 find_exception_handler_labels hasn't been called for the current
12370 function yet.
12371
12372 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
12373
12374 * toplev.c (rest_of_compilation): Rebuild jump labels after
12375 gcse.
12376
12377 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
12378
12379 * doc/extend.texi: Move documentation of X86 built-in functions
12380 here.
12381 * doc/invoke.texi: From here.
12382 * doc/sourcebuild.texi: Document location of documentation for
12383 machine built-in functions.
12384
12385 2002-01-13 Christopher Faylor <cgf@redhat.com>
12386
12387 * cppfiles.c (TEST_THRESHOLD): New macro.
12388 (SHOULD_MMAP): Ditto.
12389 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
12390 be used.
12391
12392 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
12393
12394 * unroll.c (final_reg_note_copy): Properly handle
12395 REG_LABEL
12396 (unroll_loops): Fix LOOP_CONDITION heuristics.
12397
12398 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
12399
12400 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
12401 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
12402
12403 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
12404
12405 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
12406 threaded loop.
12407
12408 2002-01-14 Tom Rix <trix@redhat.com>
12409
12410 * config/rs6000/rs6000.md: Fix typo with sradi.
12411
12412 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
12413
12414 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
12415 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
12416 (clrstrdi, clrstrsi): Adapt callers.
12417
12418 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
12419
12420 (movti splitter): Never use register 0 as base register.
12421
12422 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
12423
12424 * combine.c (simplify_shift_const): Always generate new rtx
12425 for shift expression instead of reusing given expression.
12426
12427 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12428
12429 * config/alpha/alpha.c (alpha_expand_mov): Don't call
12430 alpha_legitimize_address unless mode is Pmode.
12431
12432 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
12433
12434 * doc/md.texi (Modifiers): Document the '*' constraint for the
12435 user.
12436
12437 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
12438 * doc/extend.texi (Function Attributes): 'interrupt' is valid
12439 for xstormy16 too.
12440
12441 2002-01-13 Richard Henderson <rth@redhat.com>
12442
12443 * reload.c (find_reloads): Use a hard reg destination as reload reg
12444 for an input reload of the source.
12445
12446 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12447
12448 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
12449 more generic.
12450
12451 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
12452
12453 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
12454 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
12455
12456 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
12457
12458 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12459
12460 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
12461
12462 2002-01-12 Tom Rix <trix@redhat.com>
12463
12464 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
12465 TARGET_POWERPC64.
12466
12467 2002-01-12 Richard Henderson <rth@redhat.com>
12468
12469 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
12470
12471 * doc/invoke.texi: Update Alpha options.
12472
12473 * doc/invoke.texi: Update i386 built-in function lists.
12474
12475 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
12476
12477 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
12478 referencing outside.
12479
12480 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12481
12482 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
12483 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
12484 offsets, and change line folding.
12485 * optabs.c (expand_binop): Remove warnings.
12486 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
12487
12488 2002-01-12 Graham Stott <grahams@redhat.com>
12489
12490 * attribs.c (handle_deprecated_attribute): constify WHAT.
12491 * diagnostic.c (warn_deprecated_use): Add braces, fixes
12492 dangling else warning and constify WHAT.
12493 * except.h (struct function, struct inline_remap): Move
12494 struct tag forward defs before all prototypes.
12495 (duplicate_eh_regions): Whitespace.
12496
12497 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
12498
12499 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
12500 MODE_BASE_REG_CLASS.
12501 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
12502
12503 2002-01-12 Richard Henderson <rth@redhat.com>
12504
12505 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
12506 (ix86_expand_vector_move): New.
12507 (bdesc_2arg): Remove andps, andnps, orps, xorps.
12508 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
12509 Remove old prefetch builtins. Special case the logicals removed above.
12510 (ix86_expand_builtin): Likewise.
12511 (safe_vector_operand): Use V4SFmode, not TImode.
12512 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
12513 (ix86_expand_timode_binop_builtin): New.
12514 * config/i386/i386-protos.h: Update.
12515 * config/i386/i386.h (enum ix86_builtins): Update.
12516 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
12517 Use ix86_expand_vector_move in vector move expanders.
12518 (movti_internal, movti_rex64): Add xorps alternative.
12519 (sse_clrv4sf): Rename and adjust from sse_clrti.
12520 (prefetch): Don't work so hard.
12521 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
12522 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
12523 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
12524
12525 2002-01-11 Richard Henderson <rth@redhat.com>
12526
12527 * config/i386/mmintrin.h: New file.
12528 * config/i386/xmmintrin.h: New file.
12529 * config.gcc (i?86-*-*): Add extra_headers.
12530 * simplify-rtx.c (simplify_unary_operation): Handle saturating
12531 truncation codes.
12532 (simplify_binary_operation): Handle saturating arithmetic codes.
12533 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
12534 not the lowpart subreg.
12535 (ix86_expand_builtin): Return a TImode dummy register instead of 0
12536 on error.
12537 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
12538
12539 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12540
12541 * conflict.c (conflict_graph_compute): Free regsets when finished.
12542 * ssa.c (compute_coalesced_reg_partition): Likewise.
12543
12544 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12545
12546 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
12547 every where we allocate a register.
12548
12549 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12550
12551 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
12552 * lcm.c (compute_earliest, compute_farthest): Likewise.
12553
12554 2002-01-11 Janis Johnson <janis187@us.ibm.com>
12555
12556 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
12557
12558 2002-01-11 Janis Johnson <janis187@us.ibm.com>
12559
12560 * doc/rtl.texi (Insns): Fix 2 typos.
12561
12562 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
12563
12564 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
12565 options. Use @table @gcctabopt for MMIX options. Add index
12566 entries for MMIX options. Start new paragraph with first
12567 heading of the machine-dependent options.
12568
12569 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
12570
12571 PR other/5299
12572 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
12573 * combine.c (force_to_mode): Same.
12574 * reload1.c (clear_reload_reg_in_use): Same.
12575
12576 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
12577
12578 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
12579 and 'subtargets'.
12580
12581 2002-01-11 Andreas Jaeger <aj@suse.de>,
12582 Brad Lucier <lucier@math.purdue.edu>
12583
12584 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
12585 mcpu.
12586
12587 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
12588
12589 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
12590 Protect with IN_LIBGCC.
12591 (LINK_EH_SPEC): Add required trailing space.
12592
12593 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
12594
12595 * c-tree.h: Move function declarations so that they are listed
12596 under the filename which contains them.
12597 (check_identifier, finish_decl_top_level,
12598 lookup_name_current_level_global, shadow_record_fields): Remove.
12599
12600 2002-01-11 Andreas Jaeger <aj@suse.de>
12601
12602 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
12603 march.
12604
12605 2002-01-10 Richard Henderson <rth@redhat.com>
12606
12607 * config/alpha/alpha.c (print_operand): Add 'J'.
12608 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
12609 new operand with the sequence number for the lituse. When splitting
12610 the insns, use gen_movdi_er_high_g and generate a sequence number.
12611 (gen_movdi_er_high_g): Print the sequence number if non-zero.
12612
12613 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
12614
12615 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
12616 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
12617 stvxl.
12618 (altivec_expand_builtin): Same.
12619 (altivec_expand_stv_builtin): New.
12620
12621 * config/rs6000/rs6000.h (rs6000_builtins): Same.
12622
12623 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
12624 ("altivec_lvehx"): New.
12625 ("altivec_lvewx"): New.
12626 ("altivec_lvxl"): New.
12627 ("altivec_lvx"): New.
12628 ("altivec_stvx"): New.
12629 ("altivec_stvebx"): New.
12630 ("altivec_stvehx"): New.
12631 ("altivec_stvewx"): New.
12632 ("altivec_stvxl"): New.
12633
12634 2002-01-10 Richard Henderson <rth@redhat.com>
12635
12636 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
12637 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
12638 care not to delete instructions twice.
12639
12640 2002-01-10 Zack Weinberg <zack@codesourcery.com>
12641
12642 * toplev.c: Don't declare environ (it's not used anywhere).
12643 * configure.in: Don't check for declaration of environ.
12644 * config/i386/xm-mingw32.h: Don't #define environ.
12645 * config.in, configure: Regenerate.
12646
12647 2002-01-10 Zack Weinberg <zack@codesourcery.com>
12648
12649 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
12650 * configure: Regenerate.
12651
12652 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
12653 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
12654 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
12655 alpha/xm-vms.h.
12656 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
12657 LIMITS_H_TEST here, not in m68k/x-next.
12658 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
12659 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
12660
12661 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
12662 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
12663 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
12664
12665 * config/i386/x-djgpp: Renamed i386/t-djgpp.
12666 * config/m88k/x-dolph: Renamed m88k/t-dolph.
12667 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
12668 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
12669 replacement of quadlib.asm with quadlib.c.
12670
12671 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
12672 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
12673 config/rs6000/xm-beos.h: Delete file.
12674
12675 * config.gcc: Update to match above changes.
12676
12677 2002-01-10 Kazu Hirata <kazu@hxi.com>
12678
12679 * config/h8300/h8300.h: Fix comment typos.
12680 * config/h8300/h8300.md: Likewise.
12681 * config/h8300/lib1funcs.asm: Likewise.
12682
12683 2002-01-10 Dale Johannesen <dalej@apple.com>
12684
12685 PR optimization/5269
12686 * unroll.c (precondition_loop_p): Make *increment be the correct
12687 sign when n_iterations known, to avoid confusing caller.
12688
12689 2002-01-10 Kazu Hirata <kazu@hxi.com>
12690
12691 * doc/extend.texi (deprecated): Fix a typo.
12692
12693 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
12694
12695 * basic-block.h (update_br_prob_note): Declare.
12696 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
12697 (try_forward_edges): Care negative frequencies and update note.
12698 (outgoing_edges_match): Tweek conditional merging heuristics.
12699 (try_crossjump_to_edge): use update_br_prob_note.
12700 * cfglayout.c (fixup_reorder_chain): Likewise.
12701 * cfrtl.c (update_br_prob_note): New.
12702 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
12703
12704 * i386.c (ix86_decompose_address): Return -1 if address contains
12705 shift.
12706 (legitimate_address_p): Require ix86_decompose_address to return 1.
12707
12708 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
12709 (cprop_insn): Likewise.
12710
12711 2002-01-10 Kazu Hirata <kazu@hxi.com>
12712
12713 * toplev.c: Fix formatting.
12714 * tree.c: Likewise.
12715 * tree-dump.c: Likewise.
12716 * unroll.c: Likewise.
12717 * unwind-dw2.c: Likewise.
12718 * unwind-dw2-fde.c: Likewise.
12719 * unwind-dw2-fde-glibc.c: Likewise.
12720 * unwind-sjlj.c: Likewise.
12721
12722 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
12723
12724 * doc/invoke.texi: Document PDP-11 options.
12725
12726 2002-01-10 Kazu Hirata <kazu@hxi.com>
12727
12728 * config/h8300/h8300.h: Fix formatting.
12729
12730 2002-01-10 Ira Ruben <ira@apple.com>
12731
12732 Add __attribute__ ((deprecated)).
12733 * extend.texi: Document __attribute__ ((deprecated)).
12734 * invoke.texi: Document -Wno-deprecated-declarations.
12735 * testsuite/g++.dg/other/deprecated.C: New C++ test.
12736 * testsuite/gcc.dg/deprecated.c: New C test.
12737 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
12738 (c_common_attribute_table): Add "deprecated" entry.
12739 (handle_deprecated_attribute): New function.
12740 * c-decl.c (deprecated_states): New enum.
12741 deprecated_state: State of "deprecated" handling.
12742 (start_decl): Set deprecated_state based on attributes.
12743 (grokdeclarator): Test for deprecated uses, propagate attribute.
12744 * c-typeck.c (build_component_ref): Test for deprecated fields.
12745 (build_external_ref): Test for deprecated primaries.
12746 * diagnostic.c (warn_deprecated_use) New function to issue
12747 warnings about __attribute__ ((depricated)) references.
12748 * flags.h (warn_deprecated_decl): Extern declared for
12749 -W[no-]deprecated-declarations option.
12750 * print-tree.c (print_node): Show deprecated flag status.
12751 * toplev.c (warn_deprecated_decl): Defined.
12752 (W_options): Added "deprecated-declaration".
12753 * toplev.h (warn_deprecated_use): Extern declared.
12754 * tree.h (struct tree_common): Define deprecated_flag.
12755 (TREE_DEPRECATED): New macro to access flag.
12756 * cp/call.c (build_call): Test for deprecated calls.
12757 * cp/class.c (add_implicitly_declared_members): Set global
12758 flag to tell grokdeclarator to not issue deprecated warnings.
12759 * cp/cp-tree.h: Add extern for adding_implicit_members.
12760 * cp/decl.c (deprecated_states): New enum.
12761 (start_decl): Set deprecated_state based on attributes.
12762 (grokdeclarator): Test for deprecated uses, propagate attribute.
12763 * cp/lex.c (do_identifier): Test for deprecated primaries.
12764 * cp/typeck.c (build_component_ref): Test for deprecated fields.
12765
12766 2002-01-10 Ira Ruben <ira@apple.com>
12767
12768 Fix to assign attributes to inline member functions.
12769 * cp/decl.c (start_method): Handle attrlist.
12770
12771 2002-01-10 Kazu Hirata <kazu@hxi.com>
12772
12773 * combine.c (expand_field_assignment): Use subreg_lsb().
12774
12775 2002-01-10 David Edelsohn <edelsohn@gnu.org>
12776
12777 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
12778 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
12779 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
12780 Recurse for any operand of AND as long as constant is non-zero.
12781
12782 2002-01-10 Kazu Hirata <kazu@hxi.com>
12783
12784 * config/h8300/h8300.md: Remove constraints from expanders.
12785
12786 2002-01-10 Kazu Hirata <kazu@hxi.com>
12787
12788 * varasm.c: Fix formatting.
12789 * varray.c: Likewise.
12790 * vmsdbgout.c: Likewise.
12791 * xcoffout.c: Likewise.
12792
12793 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
12794
12795 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
12796 update edge probabilities to match.
12797
12798 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
12799
12800 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
12801 dependencies.
12802 * doc/languages.texi, doc/sourcebuild.texi: New files.
12803 * doc/configfiles.texi: Make a subsubsection. Update.
12804 * doc/configterms.texi: Add @node. Remove warning that this isn't
12805 instructions for building GCC.
12806 * doc/makefile.texi: Make a subsection.
12807 * doc/gccint.texi: Update.
12808
12809 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
12810
12811 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
12812
12813 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
12814
12815 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
12816
12817 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
12818
12819 * optabs.c (expand_fix): Look for wider integer modes first.
12820
12821 * i386.md (mov?f): Avoid the fake const double trick for medium
12822 memory model.
12823 (min?f*/max?f*): Prohibit memory operands for i387 variant.
12824 (fop_df_4): Disable for SSE compilation.
12825
12826 2002-01-10 Graham Stott <grahams@redhat.com>
12827
12828 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
12829 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
12830
12831 2002-01-10 Richard Henderson <rth@redhat.com>
12832
12833 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
12834
12835 2002-01-10 Richard Henderson <rth@redhat.com>
12836
12837 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
12838 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
12839
12840 2002-01-10 Kazu Hirata <kazu@hxi.com>
12841
12842 * combine.c (can_combine_p): Fix a comment typo.
12843
12844 2002-01-09 Zack Weinberg <zack@codesourcery.com>
12845
12846 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
12847 empty list correctly. Change loop index $t to $f for
12848 consistency with rest of Makefile.
12849
12850 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
12851
12852 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
12853 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
12854
12855 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
12856 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
12857 (altivec_init_builtins): Same.
12858 (altivec_expand_unop_builtin): Return NULL_RTX on error.
12859 (altivec_expand_binop_builtin): Same.
12860 (altivec_expand_ternop_builtin): Same.
12861 (bdesc_dst): New.
12862
12863 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
12864 ("altivec_vctuxs"): Fix typo.
12865 ("altivec_vnmsubfp"): Same.
12866 ("altivec_dssall"): New.
12867 ("altivec_mfvscr"): New.
12868 ("altivec_dss"): New.
12869 ("altivec_lvsl"): New.
12870 ("altivec_lvsr"): New.
12871 ("altivec_dstt"): New.
12872 ("altivec_dstst"): New.
12873 ("altivec_dststt"): New.
12874 ("altivec_dst"): New.
12875
12876 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
12877 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
12878
12879 2002-01-09 Richard Henderson <rth@redhat.com>
12880
12881 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
12882
12883 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
12884
12885 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
12886 function.
12887 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
12888 prototype.
12889 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
12890
12891 2002-01-09 Kazu Hirata <kazu@hxi.com>
12892
12893 * read-rtl.c: Fix formatting.
12894 * real.c: Likewise.
12895 * regclass.c: Likewise.
12896 * regrename.c: Likewise.
12897 * reg-stack.c: Likewise.
12898 * reload1.c: Likewise.
12899 * reload.c: Likewise.
12900 * rtl.c: Likewise.
12901
12902 2002-01-09 Kazu Hirata <kazu@hxi.com>
12903
12904 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
12905 to extract items in the expr_list chain.
12906
12907 2002-01-09 Richard Henderson <rth@redhat.com>
12908
12909 * config/vax/vax.c (vax_rtx_cost): Never abort.
12910
12911 * config/vax/vax.h (REAL_ARITHMETIC): Define.
12912
12913 2002-01-09 Jan Hubicka <jh@suse.cz>
12914
12915 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
12916
12917 2002-01-09 Richard Henderson <rth@redhat.com>
12918
12919 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
12920 Unify code from various alternatives.
12921
12922 2002-01-09 Richard Henderson <rth@redhat.com>
12923
12924 * regrename.c (copy_value): Ignore the copy if the source register
12925 is present in the value chain with a narrower mode.
12926
12927 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12928
12929 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
12930 for the c4x target. Also improve layout.
12931
12932 2002-01-09 Richard Henderson <rth@redhat.com>
12933
12934 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
12935 * config/m32r/m32r.md (and ior xor splitters): Swap operands
12936 to match insn patterns.
12937
12938 2002-01-09 Richard Henderson <rth@redhat.com>
12939
12940 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
12941 (copyprop_hardreg_forward_1): Likewise.
12942
12943 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12944
12945 * pa.md (decrement_and_branch_until_zero): Change predicate for
12946 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
12947
12948 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12949
12950 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
12951 gets undefined. For Darwin.
12952
12953 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12954
12955 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
12956
12957 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12958
12959 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
12960
12961 2002-01-08 Richard Henderson <rth@redhat.com>
12962
12963 * regrename.c (copy_value): Ignore overlapping copies.
12964
12965 2002-01-08 Richard Henderson <rth@redhat.com>
12966
12967 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
12968 as needed to avoid shared structure.
12969
12970 2002-01-08 Kazu Hirata <kazu@hxi.com>
12971
12972 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
12973 H8/300H and H8/S.
12974
12975 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
12976
12977 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
12978 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
12979 documentation of obsolete macros.
12980 * system.h: Poison these macros.
12981 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
12982 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
12983 config/c4x/c4x.h, config/clipper/clipper.h,
12984 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
12985 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
12986 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
12987 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
12988 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
12989 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
12990 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
12991 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
12992 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
12993 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
12994 config/sparc/sparc.h, config/stormy16/stormy16.h,
12995 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
12996 definitions and commented out definitions of obsolete macros.
12997 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
12998 of MAX_INT_TYPE_SIZE.
12999
13000 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
13001
13002 * config/s390/s390.c (s390_preferred_reload_class): Never
13003 return ADDR_REGS if it isn't a subset of the given class.
13004 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
13005 FP_REGS, but all superclasses as well.
13006
13007 * config/s390/s390.c (s390_function_profiler): Fix thinko.
13008
13009 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
13010 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
13011 must not be a const_int.
13012
13013 2002-01-08 Richard Henderson <rth@redhat.com>
13014
13015 * Makefile.in (toplev.o): Depend on options.h.
13016 (gcc.o): Depend on specs.h.
13017
13018 2002-01-08 Jakub Jelinek <jakub@redhat.com>
13019
13020 * expr.c (store_expr): Convert VOIDmode constants back to target's
13021 mode.
13022
13023 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13024
13025 * doc/invoke.texi: Markup gcc as @command. Refer to
13026 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
13027 of http://gcc.gnu.org/thanks.html.
13028
13029 2002-01-08 Dale Johannesen <dalej@apple.com>
13030
13031 * config/rs6000/rs6000.md: Add missing int register
13032 target case to movdf_low.
13033
13034 2002-01-08 Zack Weinberg <zack@codesourcery.com>
13035
13036 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
13037 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
13038 (cppinit.o): Depend on except.h.
13039 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
13040 s-specs): New rules.
13041
13042 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
13043 Don't create specs.h/options.h/gencheck.h here. Remove
13044 unnecessary variable settings from last argument of AC_OUTPUT.
13045 * config.in, configure: Regenerate.
13046 * intl.c: Hardcode package name as "gcc".
13047
13048 * cppinit.c: Include except.h.
13049 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
13050 appropriate.
13051 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
13052 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
13053 (!)USING_SJLJ_EXCEPTIONS.
13054 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
13055
13056 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
13057
13058 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
13059 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
13060 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
13061 documentation of obsolete macros.
13062 * system.h: Poison these macros.
13063 * config/d30v/d30v.h, config/ns32k/encore.h,
13064 config/stormy16/stormy16.h: Remove definitions and commented out
13065 definitions of obsolete macros.
13066
13067 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
13068
13069 * objc/objc-act.c (handle_class_ref): Mark the declaration of
13070 %sobjc_class_ref_%s as used - to prevent unwanted compiler
13071 warnings.
13072
13073 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
13074
13075 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
13076 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
13077 to insn adjusting stack/frame pointer.
13078 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
13079 accept operands that cause the insn to be non-splittable.
13080
13081 2002-01-08 Graham Stott <grahams@redhat.com>
13082
13083 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
13084 (C_TYPE_FIELDS_VOLATILE): Likewise.
13085 (C_TYPE_BEING_DEFINED): Likewise.
13086 (C_IS_RESERVED_WORD): Likewise.
13087 (C_TYPE_VARIABLE_SIZE): Likewise.
13088 (C_DECL_VARIABLE_SIZE): Likewise.
13089 (C_MISSING_PROTOTYPE_WARNED): Likewise.
13090 (C_SET_EXP_ORIGINAL_CODE): Likewise.
13091 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
13092 parenthesis.
13093 (C_DECL_ANTICIPATED): Likewise.
13094 (c_build_type_variant): Add parenthesis.
13095
13096 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
13097
13098 * gcc.c (option_map): Remove --version.
13099 (process_command): Handle -fversion following the GNU Coding
13100 Standards. Partially addresses PR other/704.
13101
13102 2002-01-08 Graham Stott <grahams@redhat.com>
13103
13104 * combine.c (combine_instructions): Fix typo.
13105
13106 2002-01-08 Graham Stott <grahams@redhat.com>
13107
13108 * debug.h: Use "tree" and "rtx" throughout.
13109
13110 * debug.c: Likewise.
13111
13112 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
13113
13114 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
13115 constant pool, use the pool's version of the symbol instead.
13116
13117 2002-01-07 Richard Henderson <rth@redhat.com>
13118
13119 * regrename.c (find_oldest_value_reg): Ignore the value chain if
13120 the original register was copied in a mode with a fewer number of
13121 hard registers than the desired mode.
13122 (copyprop_hardreg_forward_1): Likewise.
13123 (debug_value_data): Fix loop test.
13124 * toplev.c (parse_options_and_default_flags): Reenable
13125 -fcprop-registers at -O1.
13126
13127 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13128
13129 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
13130 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
13131
13132 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
13133 predicates.
13134
13135 * config/rs6000/rs6000.md: Add altivec predicate patterns.
13136
13137 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
13138
13139 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
13140 (pa_output_function_prologue): Output local label at the beginning of
13141 the prologue when profiling.
13142 (hppa_profile_hook): Use the local label rather than the function label.
13143 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
13144
13145 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13146
13147 * config/rs6000/rs6000.c (print_operand): Remove extra space.
13148 (altivec_expand_unop_builtin): Fix thinko.
13149 (altivec_expand_binop_builtin): Same.
13150 (altivec_expand_ternop_builtin): Same.
13151 (altivec_expand_builtin): Same.
13152
13153 2002-01-07 Richard Henderson <rth@redhat.com>
13154
13155 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
13156
13157 2002-01-07 Jason Merrill <jason@redhat.com>
13158
13159 * unwind-dw2.c (execute_cfa_program): Use < again.
13160
13161 2002-01-07 Jakub Jelinek <jakub@redhat.com>
13162
13163 * predict.c (combine_predictions_for_insn): Avoid division by zero.
13164
13165 2002-01-07 Jakub Jelinek <jakub@redhat.com>
13166
13167 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
13168 Don't allow -1 - x -> ~x simplifications in the first pass.
13169
13170 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
13171
13172 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
13173 arguments.
13174 (altivec_expand_binop_builtin): Same.
13175 (altivec_expand_unop_builtin): Same.
13176 (print_operand): Fix typo.
13177 (bdesc_1arg): Add vupk* variants.
13178
13179 * rs6000.h (rs6000_builtins): Add vupk* enums.
13180
13181 * rs6000.md: Add altivec_vupk* variants.
13182
13183 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
13184
13185 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
13186 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
13187 and last update dates.
13188
13189 2002-01-07 Janis Johnson <janis187@us.ibm.com>
13190
13191 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
13192
13193 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
13194
13195 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
13196 * config/avr/avr.h (CPP_SPEC): Likewise.
13197 (LINK_SPEC): Likewise.
13198 (CRT_BINUTILS_SPECS): Likewise.
13199 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
13200 * doc/invoke.texi (AVR Options): Document them.
13201
13202 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
13203
13204 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
13205 LABEL_NUSES.
13206
13207 2002-01-07 Graham Stott <grahams@redhat.com>
13208
13209 * config/i386/i386.h: Update copyright date.
13210 (HALF_PIC_PTR): Add parenthesis.
13211 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
13212 (CONSTANT_ALIGNMENT): Add parenthesis.
13213 (DATA_ALIGNMENT): Likewise.
13214 (LOCAL_ALIGNMENT): Likewise.
13215 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
13216 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
13217 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
13218 (HARD_REGNO_NREGS): Add paranethesis.
13219 (VALID_SSE_REG_MODE): Whitespace.
13220 (VALID_MMX_REG_MODE): Whitespace.
13221 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
13222 (ix86_hard_regno_mode_ok): Add parenthesis.
13223 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
13224 (RETURN_IN_MEMORY): Whitespace.
13225 (N_REG_CLASSES): Add parenthesis.
13226 (INTEGER_CLASS_P): Add parenthesis and wrap.
13227 (FLOAT_CLASS_P): Likewise.
13228 (SSE_CLASS_P): Likewise.
13229 (MMX_CLASS_P): Likewise.
13230 (MAYBE_INTEGER_CLASS_P): Likewise.
13231 (MAYBE_FLOAT_CLASS_P): Likewise.
13232 (MAYBE_SSE_CLASS_P): Likewise.
13233 (MAYBE_MMX_CLASS_P): Likewise.
13234 (Q_CLASS_P): Likewise.
13235 (GENERAL_REGNO_P): Uppercase macro parameter.
13236 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
13237 (FP_REGNO_P): Likewise.
13238 (ANY_FP_REGNO_P): Uppercase macro parameter.
13239 (SSE_REGNO_P): Likewise.
13240 (SSE_REGNO): Likewise.
13241 (SSE_REG_P): Likewise.
13242 (SSE_FLOAT_MODE_P): Likewise.
13243 (MMX_REGNO_P): Likewise.
13244 (MMX_REG_P):Likewise.
13245 (STACK_REG_P): Likewise.
13246 (NON_STACK_REG_P): Likewise.
13247 (STACK_TOP_P): Likewise.
13248 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
13249 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
13250 (SECONDARY_MEMORY_NEEDED): Likewise.
13251 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
13252 (MD_ASM_CLOBBERS): Whitespace and wrap.
13253 (MUST_PASS_IN_STACK): Whitespace and wrap.
13254 (RETURN_POPS_ARGS): Add parenthesis.
13255 (INIT_CUMULATIVE_ARGS): Likewise.
13256 (FUNCTION_ARG): Likewise.
13257 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
13258 (SETUP_INCOMING_VARARGS): Likewise.
13259 (BUILD_VA_LIST_TYPE): Add parenthesis.
13260 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
13261 parenthsis.
13262 (EXPAND_BUILTIN_VA_ARG): Likewise.
13263 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
13264 (INITIALIZE_TRAMPOLINE): Add parenthesis.
13265 (INITIAL_ELIMINATION_OFFSET): Likewise.
13266 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
13267 (REGNO_OK_FOR_BASE_P): Likewise.
13268 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
13269 (REGNO_OK_FOR_DIREG_P): Likewise.
13270 (REG_OK_FOR_INDEX_P): Whitespace.
13271 (REG_OK_FOR_BASE_P): Whitespace.
13272 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
13273 parenthesis.
13274 (FIND_BASE_TERM): Fix typo.
13275 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
13276 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
13277 (SYMBOLIC_CONST; Whitespace.
13278 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
13279 (ENCODE_SECTION_INFO): Whitespace.
13280 (FINALIZE_PIC): Remove do { ... } while (0).
13281 (PROMOTE_MODE): Wrap in do { ... } while (0).
13282 (CONST_COSTS): Whitespace.
13283 (RTX_COSTS): Add paramethesis, whitespace and wrap.
13284 (REGISTER_MOVE_COST): Add parenthesis.
13285 (MEMORY_MOVE_COST): Likewise.
13286 (EXTRA_CC_MODES): Whitespace.
13287 (SELECT_CC_MODE): Add parenthesis and whitespace.
13288 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
13289 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
13290 (ASM_OUTPUT_LABEL): Add paramethesis.
13291 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
13292 (ASM_OUTPUT_REG_POP): Likewise.
13293 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
13294 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
13295
13296 * config/i386/i386.c: Update copyright.
13297 (CHECK_STACK_LIMIT): Add parenthesis.
13298 (AT_BP): Uppercase macro parameter.
13299 (x86_64_int_parameter_registers): Constify.
13300 (x86_64_int_return_registers): Likewise.
13301 (ix86_compare_op0): Use rtx.
13302 (construct_container): Constify INTREG parameter.
13303 (function_arg): Use rtx.
13304
13305 * diagnostic.h: Update copyright date.
13306 (output_buffer_state): Add parenthesis.
13307 (output_buffer_format_args): Likewise.
13308
13309 * combine.c (combine_instructions): Replace XEXP (links, 0)
13310 with link.
13311
13312 2002-01-06 H.J. Lu <hjl@gnu.org>
13313
13314 * cfgcleanup.c (thread_jump): Fix 2 typos.
13315
13316 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
13317
13318 * config.gcc: Add support for --enable-altivec.
13319
13320 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
13321
13322 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
13323
13324 2002-01-06 Jakub Jelinek <jakub@redhat.com>
13325
13326 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
13327 __objc_class_name_*.
13328
13329 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
13330
13331 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
13332
13333 2002-01-06 Richard Henderson <rth@redhat.com>
13334
13335 * reorg.c (emit_delay_sequence): Remove death notes, not merely
13336 nop them out. Increment label reference count for REG_LABEL.
13337 (fill_slots_from_thread): Frob label reference count around
13338 delete_related_insns.
13339
13340 2002-01-05 Richard Henderson <rth@redhat.com>
13341
13342 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
13343 jump threading.
13344
13345 2002-01-05 Richard Henderson <rth@redhat.com>
13346
13347 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
13348 * integrate.c (output_inline_function): Likewise.
13349 * toplev.c (rest_of_compilation): Do it here instead. Move call
13350 to remove_unnecessary_notes after emitting abstract instance.
13351 Force an emitted nested function to have its parent emited as well.
13352 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
13353 for null.
13354 (rtl_for_decl_location): Do not look at reload data structures
13355 before reload has run.
13356
13357 2002-01-05 Kazu Hirata <kazu@hxi.com>
13358
13359 * cse.c: Fix formatting.
13360 * dwarf2asm.c: Likewise.
13361 * dwarf2out.c: Likewise.
13362 * explow.c: Likewise.
13363 * expmed.c: Likewise.
13364 * function.c: Likewise.
13365 * gcov.c: Likewise.
13366 * gencheck.c: Likewise.
13367 * genrecog.c: Likewise.
13368 * ggc-common.c: Likewise.
13369 * ggc-page.c: Likewise.
13370 * global.c: Likewise.
13371
13372 2002-01-05 Kazu Hirata <kazu@hxi.com>
13373
13374 * combine.c: Fix formatting.
13375
13376 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
13377
13378 PR middle-end/1557
13379 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
13380
13381 2002-01-05 David Edelsohn <edelsohn@gnu.org>
13382
13383 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
13384 as 1 for __powerpc64__ as well.
13385
13386 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
13387
13388 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
13389 return it.
13390
13391 2002-01-05 Daniel Berlin <dan@dberlin.org>
13392
13393 * lcm.c: Revert change, due to performance regression it causes on
13394 SPEC because it's slightly more conservative (sigh, I hate
13395 edge-based LCM).
13396
13397 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
13398
13399 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
13400
13401 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
13402
13403 * doc/cppinternals.texi: Update.
13404
13405 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
13406
13407 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
13408 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
13409 negatives.
13410 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
13411 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
13412 kludge for pre-october-14th mmix versions to handle new-found bug
13413 with PUSHJ/PUSHGO and the register stack.
13414 * config/mmix/mmix.h (struct machine_function): Rename member
13415 has_call_value_without_parameters to has_call_without_parameters.
13416 All referers changed.
13417 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
13418 TARGET_MASK_BRANCH_PREDICT): New macros.
13419 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
13420 -mno-reg-stack-fill-bug-workaround.
13421 * config/mmix/mmix.md ("call"): Set struct machine member
13422 has_call_without_parameters.
13423
13424 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
13425
13426 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
13427
13428 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
13429
13430 * cfgcleanup.c: Include tm_p.h
13431 (mark_effect): Fix handling of hard register; fix handling of SET
13432
13433 2002-01-04 Kazu Hirata <kazu@hxi.com>
13434
13435 * config/h8300/h8300.md (anonymous patterns): Check that
13436 operands are registers before using REGNO on them.
13437
13438 2002-01-03 Roland McGrath <roland@frob.com>
13439
13440 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
13441
13442 2002-01-04 Jakub Jelinek <jakub@redhat.com>
13443
13444 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
13445 * c-common.h (genrtl_expr_stmt_value): Likewise.
13446 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
13447 (expand_expr_stmt_value): Add maybe_last argument.
13448 Don't warn about statement with no effect if it is the last statement
13449 in expression statement.
13450 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
13451 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
13452 expand_expr_stmt_value.
13453 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
13454 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
13455 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
13456 as maybe_last to expand_expr_stmt_value.
13457
13458 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
13459
13460 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
13461 be passed in, do not build it.
13462 (c_begin_if_stmt): New function.
13463 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
13464 * c-common.h (c_expand_start_cond): Update prototype.
13465 (c_begin_if_stmt): Prototype new function.
13466 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
13467 * c-parse.in (if_prefix): Use c_begin_if_stmt,
13468 c_begin_while_stmt and c_finish_while_stmt_cond.
13469
13470 2002-01-04 William Cohen <wcohen@redhat.com>
13471
13472 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
13473 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
13474 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
13475 * config/pa/som.h (ASM_FILE_START): Likewise.
13476
13477 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
13478
13479 * lcm.c: Include df.h.
13480 Add available_transfer_function prototype.
13481 (compute_available): Rework to use iterative dataflow framework.
13482 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
13483 with bb_info in df.h
13484 (available_transfer_function): New function.
13485
13486 * Makefile.in (lcm.o): add df.h to dependencies.
13487
13488 2002-01-04 Richard Henderson <rth@redhat.com>
13489
13490 * config/alpha/alpha.c (some_operand): Accept HIGH.
13491 (input_operand): Likewise; accept simple references to globals.
13492 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
13493 (alpha_const_double_ok_for_letter_p): Likewise.
13494 (alpha_extra_constraint): Likewise.
13495 (alpha_preferred_reload_class): Likewise. Do not force
13496 symbolic constants to memory.
13497 (alpha_legitimate_address_p): Accept simple references
13498 to small_symbolic_operand.
13499 (alpha_legitimize_address): New arg scratch. Be prepared to be
13500 called when no_new_pseudos. Emit simple symbolic references.
13501 Split integers into low, high, and rest.
13502 (alpha_expand_mov): Use alpha_legitimize_address.
13503 (some_small_symbolic_mem_operand): New.
13504 (split_small_symbolic_mem_operand): New.
13505 * config/alpha/alpha-protos.h: Update.
13506 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
13507 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
13508 (EXTRA_CONSTRAINT): Likewise.
13509 (PREFERRED_RELOAD_CLASS): Likewise.
13510 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
13511 (PREDICATE_CODES): Update.
13512 * config/alpha/alpha.md: New post-reload splitters to convert
13513 simplfied symbolic operands to the form that references $29.
13514 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
13515 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
13516
13517 2002-01-03 Richard Henderson <rth@redhat.com>
13518
13519 * local-alloc.c (function_invariant_p): Update commentary.
13520
13521 2002-01-04 H.J. Lu <hjl@gnu.org>
13522
13523 * toplev.c (rest_of_compilation): Fix a typo when calling
13524 cleanup_cfg.
13525
13526 2002-01-03 Kazu Hirata <kazu@hxi.com>
13527
13528 * c-common.c: Fix formatting.
13529 * diagnostic.c: Likewise.
13530 * doloop.c: Likewise.
13531 * dwarf2out.c: Likewise.
13532
13533 2002-01-03 Kazu Hirata <kazu@hxi.com>
13534
13535 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
13536 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
13537
13538 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
13539
13540 * cpperror.c: Update comments and copyright.
13541 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
13542 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
13543
13544 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13545
13546 * collect2.c (main): Use strcmp when testing for "-shared".
13547
13548 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
13549
13550 * cppmacro.c: Don't include intl.h. Update comments.
13551 (new_number_token): Allocate enough buffer for 64-bit unsigned
13552 integers; update prototype.
13553 * cppmain.c: Update comments.
13554
13555 2002-01-03 William Cohen <wcohen@redhat.com>
13556
13557 * function.h (struct function): Add profile.
13558 (current_function_profile): New.
13559 doc/extend.texi: Update documentation.
13560 * final.c (final_start_function): Use current_function_profile
13561 instead of profile_flag.
13562 (profile_after_prologue): Likewise.
13563 * function.c (expand_function_start): Likewise.
13564 (expand_function_start): Likewise.
13565 * config/alpha/alpha.c (direct_call_operand):
13566 (alpha_does_function_need_gp): Likewise.
13567 (alpha_expand_prologue): Likewise.
13568 * config/arm/arm.c (arm_expand_prologue): Likewise.
13569 thumb_expand_prologue: Likewise.
13570 * config/d30v/d30v.c (d30v_stack_info): Likewise.
13571 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
13572 (fr30_expand_prologue): Likewise.
13573 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
13574 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
13575 * config/i386/i386.h (FINALIZE_PIC): Likewise.
13576 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
13577 * config/i960/i960.c (i960_output_function_prologue): Likewise.
13578 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
13579 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
13580 (m32r_expand_prologue): Likewise.
13581 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
13582 (m88k_expand_prologue): Likewise.
13583 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
13584 * config/mips/mips.c (compute_frame_size): Likewise.
13585 (mips_expand_prologue): Likewise.
13586 (mips_can_use_return_insn): Likewise.
13587 * config/pa/elf.h (ASM_FILE_START): Likewise.
13588 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
13589 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
13590 * config/pa/som.h (ASM_FILE_START): Likewise.
13591 * config/romp/romp.c (romp_using_r14): Likewise.
13592 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
13593 (rs6000_stack_info): Likewise.
13594 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13595 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
13596 * config/v850/v850.c (compute_register_save_size): Likewise.
13597
13598 2002-01-03 Jakub Jelinek <jakub@redhat.com>
13599
13600 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
13601 gen_lowpart_common fails, use gen_lowpart_SUBREG.
13602
13603 2002-01-03 Turly O'Connor <turly@apple.com>
13604
13605 * darwin.c (machopic_output_possible_stub_label): Don't generate
13606 stub routines for pseudo-stubs which we've just defined.
13607
13608 2002-01-03 Kazu Hirata <kazu@hxi.com>
13609
13610 * builtins.c: Fix formatting.
13611 * c-typeck.c: Likewise.
13612 * combine.c: Likewise.
13613 * expr.c: Likewise.
13614 * loop.c: Likewise.
13615
13616 2002-01-03 Andreas Schwab <schwab@suse.de>
13617
13618 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
13619 and return true if _cpp_push_next_buffer pushed a new include
13620 file.
13621 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
13622 _cpp_pop_file_buffer did not push a new file.
13623 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
13624
13625 2002-01-02 Eric Christopher <echristo@redhat.com>
13626
13627 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
13628 FIND_REG_INC_NOTE call. Update copyright.
13629 * loop.c (canonicalize_condition): Ditto.
13630 * reorg.c (delete_scheduled_jump): Ditto.
13631
13632 2002-01-03 Kazu Hirata <kazu@hxi.com>
13633
13634 * gcse.c: Fix formatting.
13635
13636 2002-01-03 Graham Stott <grahams@redhat.com>
13637
13638 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
13639 forward defs for struct tags rtx_def, union_tree, rtvec_def
13640 also output corresponding typedefs for rtx, tree, and rtvec.
13641
13642 * system.h: Move forward defs for struct tags rtx_def, union_tree,
13643 rtvec_def along with corresponding typedefs for rtx, tree, and
13644 rtvec to config.h, hconfig.h, tconfig.h.
13645
13646 2002-01-03 Graham Stott <grahams@redhat.com>
13647
13648 * tree.h: Update copyright date.
13649 (IS_EXPR_CODE_CLASS): Add parenthesis.
13650 (TREE_SET_CODE): Add whitespace.
13651 (TREE_CHECK): Add parenthesis.
13652 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
13653 (CST_OR_CONSTRUCTOR_CHECK):
13654 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
13655 (TREE_SYMBOL_REFERENCED): Whitespace.
13656 (INT_CST_LT): Likewise.
13657 (INT_CST_LT_UNSIGNED): Likewise.
13658 (tree_real_cst): Unwrap comment.
13659 (tree_string): Likewise.
13660 (tree_complex): Likewise.
13661 (IDENTIFIER_POINTER): correct cast.
13662 (SAVE_EXPR_CONTEXT): Whitespace.
13663 (EXPR_WFL_FILENAME_NODE): Likewise.
13664 (EXPR_WFL_FILENAME): Remove parenthesis.
13665 (DECL_ORIGIN): Add parenthesis.
13666 (DECL_FROM_INLINE): Use NULL_TREE.
13667 (build_int_2): Whitespace.
13668 (build_type_variant): Add parenthesis.
13669
13670 * gcc/jcf-parse.c: Update copyright date.
13671 (yyparse): Constify resource_filename.
13672
13673 2002-01-03 Graham Stott <grahams@redhat.com>
13674
13675 * rtl.h: Update copyright date.
13676 (RTL_CHECK1): Wrap long line.
13677 (RTL_CHECK2): Likewise.
13678 (RTL_CHECKC1): Wrap long line and whitespace.
13679 (RTL_CHECKC2): Likewise.
13680 (XWINT): Whitespace.
13681 (XINT): Likewise.
13682 (XSTR): Likewise.
13683 (XEXP): Likewise.
13684 (XVEC): Likewise.
13685 (XMODE): Likewise.
13686 (XBITMAP): Likewise.
13687 (XTREE): Likewise.
13688 (XBBDEF): Likewise.
13689 (XTMPL): Likewise.
13690 (X0WINT): Likewise.
13691 (X0INT):Likewise.
13692 (X0UINT): Likewise.
13693 (X0STR): Likewise.
13694 (X0EXP): Likewise.
13695 (X0VEC): Likewise.
13696 (X0MODE): Likewise.
13697 (X0BITMAP): Likewise.
13698 (X0TREE): Likewise.
13699 (X0BBDEF): Likewise.
13700 (X0ADVFLAGS): Likewise.
13701 (X0CSELIB): Likewise.
13702 (X0MEMATTR): Likewise.
13703 (XCWINT): Likewise.
13704 (XCINT): Likewise.
13705 (XCUINT): Likewise.
13706 (XCSTR): Likewise.
13707 (XCEXP): Likewise.
13708 (XCVEC): Likewise.
13709 (XCMODE): Likewise.
13710 (XCBITMAP): Likewise.
13711 (XCTREE): Likewise.
13712 (XCBBDEF): Likewise.
13713 (XCADVFLAGS): Likewise.
13714 (XCCSELIB): Likewise.
13715 (XC2EXP): Likewise.
13716 (INSN_UID): Likewise.
13717 (PREV_INSN): Likewise.
13718 (PATTERN): Likewise.
13719 (INSN_CODE): Likewise.
13720 (PUT_REG_NOTE_KIND): Likewise.
13721 (CODE_LABEL_NUMBER): Likewise.
13722 (NOTE_SOURCE_FILE): Likewise.
13723 (NOTE_BLOCK): Likewise.
13724 (NOTE_EH_HANDLER): Likewise.
13725 (NOTE_RANGE_INFO): Likewise.
13726 (NOTE_LIVE_INFO): Likewise.
13727 (NOTE_BASIC_BLOCK): Likewise.
13728 (NOTE_EXPECTED_VALUE): Likewise.
13729 (NOTE_LINE_NUMBER): Likewise.
13730 (LABEL_NAME): Likewise.
13731 (LABEL_NUSES): Likewise.
13732 (LABEL_ALTERNATE_NAME): Likewise.
13733 (ADDRESSOF_DECL): Likewise.
13734 (JUMP_LABEL): Likewise.
13735 (LABEL_NEXTREF): Likewise.
13736 (REGNO): Likewise.
13737 (ORIGINAL_REGNO: Likewise.
13738 (HARD_REGISTER_NUM_P): Add parenthesis.
13739 (SUBREG_REG): Whitespace.
13740 (SUBREG_BYTE): Likewise.
13741 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
13742 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
13743 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
13744 (ASM_OPERANDS_INPUT_VEC): Likewise.
13745 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
13746 (ASM_OPERANDS_INPUT): Likewise.
13747 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
13748 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
13749 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
13750 (ASM_OPERANDS_INPUT_MODE): Likewise.
13751 (ASM_OPERANDS_SOURCE_FILE): Likewise.
13752 (ASM_OPERANDS_SOURCE_LINE): Likewise.
13753 (MEM_SET_IN_STRUCT_P): Minor reformat.
13754 (TRAP_CONDITION): Whitespace.
13755 (TRAP_CODE): Likewise.
13756 (COND_EXEC_TEST): Likewise.
13757 (COND_EXEC_CODE): Likewise.
13758 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
13759 (PHI_NODE_P): Add parenthesis.
13760 (plus_constant): Whitespace and add parenthesis.
13761
13762 2002-01-03 Kazu Hirata <kazu@hxi.com>
13763
13764 * config/avr/avr.c: Fix comment typos.
13765 * config/c4x/c4x.md: Likewise.
13766 * config/dsp16xx/dsp16xx.h: Likewise.
13767 * config/dsp16xx/dsp16xx.md: Likewise.
13768 * config/i386/i386.md: Likewise.
13769 * config/ia64/ia64.c: Likewise.
13770 * config/m32r/m32r.h: Likewise.
13771 * config/m68hc11/m68hc11.md: Likewise.
13772 * config/mmix/mmix.c: Likewise.
13773 * config/mn10200/mn10200.c: Likewise.
13774 * config/romp/romp.c: Likewise.
13775 * config/sh/sh.c: Likewise.
13776 * config/stormy16/stormy16.c: Likewise.
13777 * config/stormy16/stormy16.h: Likewise.
13778 * config/stormy16/stormy16.md: Likewise.
13779
13780 2002-01-03 Graham Stott <grahams@redhat.com>
13781
13782 * loop.h: Update copyright date.
13783 (LOOP_MOVABLES): Fix typo.
13784 (LOOP_REGS): Likewise.
13785 (LOOP_IVS): Likewise.
13786
13787 2002-01-03 Graham Stott <grahams@redhat.com>
13788
13789 * cppinit.c: Update copyright date.
13790 Don't include output.h
13791 * Makefile.in: Update copyright date.
13792 Update dependency.
13793
13794 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
13795
13796 PR c/5226
13797 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
13798 (-pthread) Add to RS/6000 options.
13799
13800 2002-01-02 Kazu Hirata <kazu@hxi.com>
13801
13802 * except.c: Fix comment typos.
13803 * loop.c: Likewise.
13804 * varasm.c: Likewise.
13805 * doc/tm.texi: Fix a typo.
13806
13807 2002-01-02 Jakub Jelinek <jakub@redhat.com>
13808
13809 * c-typeck.c (output_init_element): Allow initializing static storage
13810 duration objects with compound literals.
13811
13812 2002-01-02 Richard Henderson <rth@redhat.com>
13813
13814 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
13815 after abusing it.
13816
13817 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13818
13819 * gcc.c (default_compilers): Const-ify.
13820 * mips-tdump.c (stab_names): Likewise.
13821 * mips-tfile.c (map_coff_types, map_coff_storage,
13822 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
13823 pseudo_ops_t, pseudo_ops): Likewise.
13824 * protoize.c (default_include): Likewise
13825
13826 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
13827 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
13828 Add array size in declaration.
13829 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
13830 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
13831 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
13832 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
13833 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
13834 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
13835 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
13836 emtens, make_nan): Const-ify.
13837 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
13838 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
13839
13840 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
13841
13842 * config.gcc (ia64-*-*): Set extra_headers.
13843 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
13844 * config/alpha/t-osf: Remove.
13845 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
13846
13847 2002-01-02 David Edelsohn <edelsohn@gnu.org>
13848
13849 * config/rs6000/t-aix43: Revert previous change.
13850
13851 2002-01-02 Jason Merrill <jason@redhat.com>
13852
13853 * c-decl.c (c_expand_body): Call outlining_inline_function when
13854 emitting an inline function out of line.
13855
13856 2002-01-02 Richard Henderson <rth@redhat.com>
13857
13858 * dwarf2out.c (limbo_die_node): Add created_for member.
13859 (new_die): New argument created_for. Update all callers.
13860 (mark_limbo_die_list): New.
13861 (dwarf2out_init): Register limbo_die_list as a root.
13862 (dwarf2out_finish): Force insert limbo dies into their function
13863 context.
13864
13865 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
13866
13867 PR c++/5089
13868 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
13869
13870 2002-01-02 Kazu Hirata <kazu@hxi.com>
13871
13872 * config/h8300/fixunssfsi.c: Update copyright.
13873 Fix comment typos.
13874 Fix formatting.
13875 * config/h8300/h8300.c: Update copyright.
13876 Eliminate warnings.
13877
13878 2002-01-02 Kazu Hirata <kazu@hxi.com>
13879
13880 * config/romp/romp.c: Fix comment formatting.
13881 * config/romp/romp.h: Likewise.
13882 * config/romp/romp.md: Likewise.
13883 * config/s390/s390.c: Likewise.
13884 * config/stormy16/stormy16.c: Likewise.
13885 * config/stormy16/stormy16.h: Likewise.
13886
13887 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
13888
13889 * c-common.h (genrtl_expr_stmt_value): Declare.
13890 * c-semantics.c (genrtl_goto_stmt): Redirect to...
13891 (genrtl_goto_stmt_value): ... this new function. Pass new
13892 argument down to expand_expr_stmt_value, taking
13893 TREE_ADDRESSABLE into account.
13894 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
13895 STMT_EXPR as addressable, i.e., one whose result we want.
13896 * expr.c (expand_expr): Don't save expression statement value
13897 of labeled_blocks or loop_exprs.
13898 * stmt.c (expand_expr_stmt): Redirect to...
13899 (expand_expr_stmt_value): ... this new function. Use new
13900 argument to tell whether to save expression value.
13901 (expand_end_stmt_expr): Reset last_expr_type and
13902 last_expr_value if we don't have either.
13903 * tree-inline.c (declare_return_variable): Mark its use
13904 statement as addressable.
13905 * tree.h: Document new use of TREE_ADDRESSABLE.
13906 (expand_expr_stmt_value): Declare.
13907
13908 2002-01-01 Tom Rix <trix@redhat.com>
13909
13910 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
13911 rs6000_emit_allocate_stack.
13912
13913 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
13914
13915 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
13916 ${srcdir}/ginclude/ to every entry in extra_headers.
13917 * configure: Regenerate.
13918 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
13919 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
13920 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
13921 * ginclude/proto.h: Rename to config/convex/proto.h.
13922
13923 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13924
13925 * attribs.c (handle_vector_size_attribute): Use host_integerp
13926 and tree_int_cst; remove warnings.
13927 * caller-save.c (insert_restore): Add cast to get rid of warning.
13928 (insert_save): Likewise.
13929 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
13930 * regmove.c (find_matches): Add temporary var to kill a warning.
13931
13932 2002-01-01 Douglas B Rupp <rupp@gnat.com>
13933
13934 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
13935 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
13936 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
13937 (vms-dwarf2eh.o): Add Makefile rule.
13938 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
13939 * config/alpha/vms-dwarf2eh.asm: New file.
13940
13941 * gcc.c (delete_if_ordinary): Delete all versions.
13942
13943 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
13944
13945 * config/mmix/mmix.md: Update FIXME to not mention
13946 define_constants.
13947 (MMIX_rJ_REGNUM): New define_constants constant.
13948 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
13949 "*movdicc_real"): Adjust contraints formatting.
13950 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
13951 for branch prediction.
13952 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
13953 output template.
13954 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
13955 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
13956 number. Delete related FIXMEs.
13957 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
13958 from number to MMIX_rJ_REGNUM.
13959 (TARGET_MASK_BRANCH_PREDICT): New.
13960 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
13961 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
13962 value. Add -mbranch-predict and -mno-branch-predict.
13963 (TARGET_VERSION): Drop date.
13964 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
13965 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
13966 for finding out global symbols.
13967 (mmix_asm_output_labelref): Revert condition for global symbol.
13968 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
13969 (mmix_print_operand_punct_valid_p): A '+' is valid.
13970
13971 See ChangeLog.6 for earlier changes.
This page took 0.687558 seconds and 5 git commands to generate.