1 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
3 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
5 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
7 2002-01-12 Richard Henderson <rth@redhat.com>
9 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
10 (ix86_expand_vector_move): New.
11 (bdesc_2arg): Remove andps, andnps, orps, xorps.
12 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
13 Remove old prefetch builtins. Special case the logicals removed above.
14 (ix86_expand_builtin): Likewise.
15 (safe_vector_operand): Use V4SFmode, not TImode.
16 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
17 (ix86_expand_timode_binop_builtin): New.
18 * config/i386/i386-protos.h: Update.
19 * config/i386/i386.h (enum ix86_builtins): Update.
20 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
21 Use ix86_expand_vector_move in vector move expanders.
22 (movti_internal, movti_rex64): Add xorps alternative.
23 (sse_clrv4sf): Rename and adjust from sse_clrti.
24 (prefetch): Don't work so hard.
25 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
26 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
27 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
29 2002-01-11 Richard Henderson <rth@redhat.com>
31 * config/i386/mmintrin.h: New file.
32 * config/i386/xmmintrin.h: New file.
33 * config.gcc (i?86-*-*): Add extra_headers.
34 * simplify-rtx.c (simplify_unary_operation): Handle saturating
36 (simplify_binary_operation): Handle saturating arithmetic codes.
37 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
38 not the lowpart subreg.
39 (ix86_expand_builtin): Return a TImode dummy register instead of 0
41 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
43 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
45 * conflict.c (conflict_graph_compute): Free regsets when finished.
46 * ssa.c (compute_coalesced_reg_partition): Likewise.
48 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
50 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
51 every where we allocate a register.
53 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
55 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
56 * lcm.c (compute_earliest, compute_farthest): Likewise.
58 2002-01-11 Janis Johnson <janis187@us.ibm.com>
60 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
62 2002-01-11 Janis Johnson <janis187@us.ibm.com>
64 * doc/rtl.texi (Insns): Fix 2 typos.
66 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
68 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
69 options. Use @table @gcctabopt for MMIX options. Add index
70 entries for MMIX options. Start new paragraph with first
71 heading of the machine-dependent options.
73 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
76 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
77 * combine.c (force_to_mode): Same.
78 * reload1.c (clear_reload_reg_in_use): Same.
80 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
82 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
85 2002-01-11 Andreas Jaeger <aj@suse.de>,
86 Brad Lucier <lucier@math.purdue.edu>
88 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
91 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
93 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
94 Protect with IN_LIBGCC.
95 (LINK_EH_SPEC): Add required trailing space.
97 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
99 * c-tree.h: Move function declarations so that they are listed
100 under the filename which contains them.
101 (check_identifier, finish_decl_top_level,
102 lookup_name_current_level_global, shadow_record_fields): Remove.
104 2002-01-11 Andreas Jaeger <aj@suse.de>
106 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
109 2002-01-10 Richard Henderson <rth@redhat.com>
111 * config/alpha/alpha.c (print_operand): Add 'J'.
112 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
113 new operand with the sequence number for the lituse. When splitting
114 the insns, use gen_movdi_er_high_g and generate a sequence number.
115 (gen_movdi_er_high_g): Print the sequence number if non-zero.
117 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
119 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
120 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
122 (altivec_expand_builtin): Same.
123 (altivec_expand_stv_builtin): New.
125 * config/rs6000/rs6000.h (rs6000_builtins): Same.
127 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
128 ("altivec_lvehx"): New.
129 ("altivec_lvewx"): New.
130 ("altivec_lvxl"): New.
131 ("altivec_lvx"): New.
132 ("altivec_stvx"): New.
133 ("altivec_stvebx"): New.
134 ("altivec_stvehx"): New.
135 ("altivec_stvewx"): New.
136 ("altivec_stvxl"): New.
138 2002-01-10 Richard Henderson <rth@redhat.com>
140 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
141 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
142 care not to delete instructions twice.
144 2002-01-10 Zack Weinberg <zack@codesourcery.com>
146 * toplev.c: Don't declare environ (it's not used anywhere).
147 * configure.in: Don't check for declaration of environ.
148 * config/i386/xm-mingw32.h: Don't #define environ.
149 * config.in, configure: Regenerate.
151 2002-01-10 Zack Weinberg <zack@codesourcery.com>
153 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
154 * configure: Regenerate.
156 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
157 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
158 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
160 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
161 LIMITS_H_TEST here, not in m68k/x-next.
162 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
163 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
165 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
166 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
167 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
169 * config/i386/x-djgpp: Renamed i386/t-djgpp.
170 * config/m88k/x-dolph: Renamed m88k/t-dolph.
171 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
172 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
173 replacement of quadlib.asm with quadlib.c.
175 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
176 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
177 config/rs6000/xm-beos.h: Delete file.
179 * config.gcc: Update to match above changes.
181 2002-01-10 Kazu Hirata <kazu@hxi.com>
183 * config/h8300/h8300.h: Fix comment typos.
184 * config/h8300/h8300.md: Likewise.
185 * config/h8300/lib1funcs.asm: Likewise.
187 2002-01-10 Dale Johannesen <dalej@apple.com>
190 * unroll.c (precondition_loop_p): Make *increment be the correct
191 sign when n_iterations known, to avoid confusing caller.
193 2002-01-10 Kazu Hirata <kazu@hxi.com>
195 * doc/extend.texi (deprecated): Fix a typo.
197 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
199 * basic-block.h (update_br_prob_note): Declare.
200 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
201 (try_forward_edges): Care negative frequencies and update note.
202 (outgoing_edges_match): Tweek conditional merging heuristics.
203 (try_crossjump_to_edge): use update_br_prob_note.
204 * cfglayout.c (fixup_reorder_chain): Likewise.
205 * cfrtl.c (update_br_prob_note): New.
206 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
208 * i386.c (ix86_decompose_address): Return -1 if address contains
210 (legitimate_address_p): Require ix86_decompose_address to return 1.
212 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
213 (cprop_insn): Likewise.
215 2002-01-10 Kazu Hirata <kazu@hxi.com>
217 * toplev.c: Fix formatting.
219 * tree-dump.c: Likewise.
220 * unroll.c: Likewise.
221 * unwind-dw2.c: Likewise.
222 * unwind-dw2-fde.c: Likewise.
223 * unwind-dw2-fde-glibc.c: Likewise.
224 * unwind-sjlj.c: Likewise.
226 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
228 * doc/invoke.texi: Document PDP-11 options.
230 2002-01-10 Kazu Hirata <kazu@hxi.com>
232 * config/h8300/h8300.h: Fix formatting.
234 2001-01-10 Ira Ruben <ira@apple.com>
236 Add __attribute__ ((deprecated)).
237 * extend.texi: Document __attribute__ ((deprecated)).
238 * invoke.texi: Document -Wno-deprecated-declarations.
239 * testsuite/g++.dg/other/deprecated.C: New C++ test.
240 * testsuite/gcc.dg/deprecated.c: New C test.
241 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
242 (c_common_attribute_table): Add "deprecated" entry.
243 (handle_deprecated_attribute): New function.
244 * c-decl.c (deprecated_states): New enum.
245 deprecated_state: State of "deprecated" handling.
246 (start_decl): Set deprecated_state based on attributes.
247 (grokdeclarator): Test for deprecated uses, propagate attribute.
248 * c-typeck.c (build_component_ref): Test for deprecated fields.
249 (build_external_ref): Test for deprecated primaries.
250 * diagnostic.c (warn_deprecated_use) New function to issue
251 warnings about __attribute__ ((depricated)) references.
252 * flags.h (warn_deprecated_decl): Extern declared for
253 -W[no-]deprecated-declarations option.
254 * print-tree.c (print_node): Show deprecated flag status.
255 * toplev.c (warn_deprecated_decl): Defined.
256 (W_options): Added "deprecated-declaration".
257 * toplev.h (warn_deprecated_use): Extern declared.
258 * tree.h (struct tree_common): Define deprecated_flag.
259 (TREE_DEPRECATED): New macro to access flag.
260 * cp/call.c (build_call): Test for deprecated calls.
261 * cp/class.c (add_implicitly_declared_members): Set global
262 flag to tell grokdeclarator to not issue deprecated warnings.
263 * cp/cp-tree.h: Add extern for adding_implicit_members.
264 * cp/decl.c (deprecated_states): New enum.
265 (start_decl): Set deprecated_state based on attributes.
266 (grokdeclarator): Test for deprecated uses, propagate attribute.
267 * cp/lex.c (do_identifier): Test for deprecated primaries.
268 * cp/typeck.c (build_component_ref): Test for deprecated fields.
270 2001-01-10 Ira Ruben <ira@apple.com>
272 Fix to assign attributes to inline member functions.
273 * cp/decl.c (start_method): Handle attrlist.
275 2002-01-10 Kazu Hirata <kazu@hxi.com>
277 * combine.c (expand_field_assignment): Use subreg_lsb().
279 2002-01-10 David Edelsohn <edelsohn@gnu.org>
281 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
282 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
283 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
284 Recurse for any operand of AND as long as constant is non-zero.
286 2002-01-10 Kazu Hirata <kazu@hxi.com>
288 * config/h8300/h8300.md: Remove constraints from expanders.
290 2002-01-10 Kazu Hirata <kazu@hxi.com>
292 * varasm.c: Fix formatting.
293 * varray.c: Likewise.
294 * vmsdbgout.c: Likewise.
295 * xcoffout.c: Likewise.
297 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
299 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
300 update edge probabilities to match.
302 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
304 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
306 * doc/languages.texi, doc/sourcebuild.texi: New files.
307 * doc/configfiles.texi: Make a subsubsection. Update.
308 * doc/configterms.texi: Add @node. Remove warning that this isn't
309 instructions for building GCC.
310 * doc/makefile.texi: Make a subsection.
311 * doc/gccint.texi: Update.
313 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
315 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
317 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
319 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
321 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
323 * optabs.c (expand_fix): Look for wider integer modes first.
325 * i386.md (mov?f): Avoid the fake const double trick for medium
327 (min?f*/max?f*): Prohibit memory operands for i387 variant.
328 (fop_df_4): Disable for SSE compilation.
330 2002-01-20 Graham Stott <grahams@redhat.com>
332 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
333 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
335 2002-01-10 Richard Henderson <rth@redhat.com>
337 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
339 2002-01-10 Richard Henderson <rth@redhat.com>
341 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
342 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
344 2002-01-10 Kazu Hirata <kazu@hxi.com>
346 * combine.c (can_combine_p): Fix a comment typo.
348 2002-01-09 Zack Weinberg <zack@codesourcery.com>
350 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
351 empty list correctly. Change loop index $t to $f for
352 consistency with rest of Makefile.
354 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
356 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
357 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
359 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
360 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
361 (altivec_init_builtins): Same.
362 (altivec_expand_unop_builtin): Return NULL_RTX on error.
363 (altivec_expand_binop_builtin): Same.
364 (altivec_expand_ternop_builtin): Same.
367 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
368 ("altivec_vctuxs"): Fix typo.
369 ("altivec_vnmsubfp"): Same.
370 ("altivec_dssall"): New.
371 ("altivec_mfvscr"): New.
372 ("altivec_dss"): New.
373 ("altivec_lvsl"): New.
374 ("altivec_lvsr"): New.
375 ("altivec_dstt"): New.
376 ("altivec_dstst"): New.
377 ("altivec_dststt"): New.
378 ("altivec_dst"): New.
380 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
381 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
383 2002-01-09 Richard Henderson <rth@redhat.com>
385 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
387 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
389 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
391 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
393 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
395 2002-01-09 Kazu Hirata <kazu@hxi.com>
397 * read-rtl.c: Fix formatting.
399 * regclass.c: Likewise.
400 * regrename.c: Likewise.
401 * reg-stack.c: Likewise.
402 * reload1.c: Likewise.
403 * reload.c: Likewise.
406 2002-01-09 Kazu Hirata <kazu@hxi.com>
408 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
409 to extract items in the expr_list chain.
411 2002-01-09 Richard Henderson <rth@redhat.com>
413 * config/vax/vax.c (vax_rtx_cost): Never abort.
415 * config/vax/vax.h (REAL_ARITHMETIC): Define.
417 2002-01-09 Jan Hubicka <jh@suse.cz>
419 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
421 2002-01-09 Richard Henderson <rth@redhat.com>
423 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
424 Unify code from various alternatives.
426 2002-01-09 Richard Henderson <rth@redhat.com>
428 * regrename.c (copy_value): Ignore the copy if the source register
429 is present in the value chain with a narrower mode.
431 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
433 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
434 for the c4x target. Also improve layout.
436 2002-01-09 Richard Henderson <rth@redhat.com>
438 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
439 * config/m32r/m32r.md (and ior xor splitters): Swap operands
440 to match insn patterns.
442 2002-01-09 Richard Henderson <rth@redhat.com>
444 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
445 (copyprop_hardreg_forward_1): Likewise.
447 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
449 * pa.md (decrement_and_branch_until_zero): Change predicate for
450 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
452 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
454 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
455 gets undefined. For Darwin.
457 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
459 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
461 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
463 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
465 2002-01-08 Richard Henderson <rth@redhat.com>
467 * regrename.c (copy_value): Ignore overlapping copies.
469 2002-01-08 Richard Henderson <rth@redhat.com>
471 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
472 as needed to avoid shared structure.
474 2002-01-08 Kazu Hirata <kazu@hxi.com>
476 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
479 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
481 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
482 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
483 documentation of obsolete macros.
484 * system.h: Poison these macros.
485 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
486 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
487 config/c4x/c4x.h, config/clipper/clipper.h,
488 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
489 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
490 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
491 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
492 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
493 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
494 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
495 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
496 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
497 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
498 config/sparc/sparc.h, config/stormy16/stormy16.h,
499 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
500 definitions and commented out definitions of obsolete macros.
501 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
502 of MAX_INT_TYPE_SIZE.
504 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
506 * config/s390/s390.c (s390_preferred_reload_class): Never
507 return ADDR_REGS if it isn't a subset of the given class.
508 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
509 FP_REGS, but all superclasses as well.
511 * config/s390/s390.c (s390_function_profiler): Fix thinko.
513 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
514 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
515 must not be a const_int.
517 2002-01-08 Richard Henderson <rth@redhat.com>
519 * Makefile.in (toplev.o): Depend on options.h.
520 (gcc.o): Depend on specs.h.
522 2002-01-08 Jakub Jelinek <jakub@redhat.com>
524 * expr.c (store_expr): Convert VOIDmode constants back to target's
527 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
529 * doc/invoke.texi: Markup gcc as @command. Refer to
530 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
531 of http://gcc.gnu.org/thanks.html.
533 2002-01-08 Dale Johannesen <dalej@apple.com>
535 * config/rs6000/rs6000.md: Add missing int register
536 target case to movdf_low.
538 2002-01-08 Zack Weinberg <zack@codesourcery.com>
540 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
541 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
542 (cppinit.o): Depend on except.h.
543 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
546 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
547 Don't create specs.h/options.h/gencheck.h here. Remove
548 unnecessary variable settings from last argument of AC_OUTPUT.
549 * config.in, configure: Regenerate.
550 * intl.c: Hardcode package name as "gcc".
552 * cppinit.c: Include except.h.
553 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
555 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
556 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
557 (!)USING_SJLJ_EXCEPTIONS.
558 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
560 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
562 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
563 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
564 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
565 documentation of obsolete macros.
566 * system.h: Poison these macros.
567 * config/d30v/d30v.h, config/ns32k/encore.h,
568 config/stormy16/stormy16.h: Remove definitions and commented out
569 definitions of obsolete macros.
571 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
573 * objc/objc-act.c (handle_class_ref): Mark the declaration of
574 %sobjc_class_ref_%s as used - to prevent unwanted compiler
577 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
579 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
580 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
581 to insn adjusting stack/frame pointer.
582 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
583 accept operands that cause the insn to be non-splittable.
585 2002-01-08 Graham Stott <grahams@redhat.com>
587 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
588 (C_TYPE_FIELDS_VOLATILE): Likewise.
589 (C_TYPE_BEING_DEFINED): Likewise.
590 (C_IS_RESERVED_WORD): Likewise.
591 (C_TYPE_VARIABLE_SIZE): Likewise.
592 (C_DECL_VARIABLE_SIZE): Likewise.
593 (C_MISSING_PROTOTYPE_WARNED): Likewise.
594 (C_SET_EXP_ORIGINAL_CODE): Likewise.
595 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
597 (C_DECL_ANTICIPATED): Likewise.
598 (c_build_type_variant): Add parenthesis.
600 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
602 * gcc.c (option_map): Remove --version.
603 (process_command): Handle -fversion following the GNU Coding
604 Standards. Partially addresses PR other/704.
606 2002-01-08 Graham Stott <grahams@redhat.com>
608 * combine.c (combine_instructions): Fix typo.
610 2002-01-08 Graham Stott <grahams@redhat.com>
612 * debug.h: Use "tree" and "rtx" throughout.
616 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
618 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
619 constant pool, use the pool's version of the symbol instead.
621 2002-01-07 Richard Henderson <rth@redhat.com>
623 * regrename.c (find_oldest_value_reg): Ignore the value chain if
624 the original register was copied in a mode with a fewer number of
625 hard registers than the desired mode.
626 (copyprop_hardreg_forward_1): Likewise.
627 (debug_value_data): Fix loop test.
628 * toplev.c (parse_options_and_default_flags): Reenable
629 -fcprop-registers at -O1.
631 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
633 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
634 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
636 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
639 * config/rs6000/rs6000.md: Add altivec predicate patterns.
641 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
643 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
644 (pa_output_function_prologue): Output local label at the beginning of
645 the prologue when profiling.
646 (hppa_profile_hook): Use the local label rather than the function label.
647 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
649 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
651 * config/rs6000/rs6000.c (print_operand): Remove extra space.
652 (altivec_expand_unop_builtin): Fix thinko.
653 (altivec_expand_binop_builtin): Same.
654 (altivec_expand_ternop_builtin): Same.
655 (altivec_expand_builtin): Same.
657 2002-01-07 Richard Henderson <rth@redhat.com>
659 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
661 2002-01-07 Jason Merrill <jason@redhat.com>
663 * unwind-dw2.c (execute_cfa_program): Use < again.
665 2002-01-07 Jakub Jelinek <jakub@redhat.com>
667 * predict.c (combine_predictions_for_insn): Avoid division by zero.
669 2002-01-07 Jakub Jelinek <jakub@redhat.com>
671 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
672 Don't allow -1 - x -> ~x simplifications in the first pass.
674 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
676 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
678 (altivec_expand_binop_builtin): Same.
679 (altivec_expand_unop_builtin): Same.
680 (print_operand): Fix typo.
681 (bdesc_1arg): Add vupk* variants.
683 * rs6000.h (rs6000_builtins): Add vupk* enums.
685 * rs6000.md: Add altivec_vupk* variants.
687 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
689 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
690 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
691 and last update dates.
693 2002-01-07 Janis Johnson <janis187@us.ibm.com>
695 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
697 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
699 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
700 * config/avr/avr.h (CPP_SPEC): Likewise.
701 (LINK_SPEC): Likewise.
702 (CRT_BINUTILS_SPECS): Likewise.
703 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
704 * doc/invoke.texi (AVR Options): Document them.
706 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
708 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
711 2002-01-07 Graham Stott <grahams@redhat.com>
713 * config/i386/i386.h: Update copyright date.
714 (HALF_PIC_PTR): Add parenthesis.
715 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
716 (CONSTANT_ALIGNMENT): Add parenthesis.
717 (DATA_ALIGNMENT): Likewise.
718 (LOCAL_ALIGNMENT): Likewise.
719 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
720 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
721 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
722 (HARD_REGNO_NREGS): Add paranethesis.
723 (VALID_SSE_REG_MODE): Whitespace.
724 (VALID_MMX_REG_MODE): Whitespace.
725 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
726 (ix86_hard_regno_mode_ok): Add parenthesis.
727 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
728 (RETURN_IN_MEMORY): Whitespace.
729 (N_REG_CLASSES): Add parenthesis.
730 (INTEGER_CLASS_P): Add parenthesis and wrap.
731 (FLOAT_CLASS_P): Likewise.
732 (SSE_CLASS_P): Likewise.
733 (MMX_CLASS_P): Likewise.
734 (MAYBE_INTEGER_CLASS_P): Likewise.
735 (MAYBE_FLOAT_CLASS_P): Likewise.
736 (MAYBE_SSE_CLASS_P): Likewise.
737 (MAYBE_MMX_CLASS_P): Likewise.
738 (Q_CLASS_P): Likewise.
739 (GENERAL_REGNO_P): Uppercase macro parameter.
740 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
741 (FP_REGNO_P): Likewise.
742 (ANY_FP_REGNO_P): Uppercase macro parameter.
743 (SSE_REGNO_P): Likewise.
744 (SSE_REGNO): Likewise.
745 (SSE_REG_P): Likewise.
746 (SSE_FLOAT_MODE_P): Likewise.
747 (MMX_REGNO_P): Likewise.
748 (MMX_REG_P):Likewise.
749 (STACK_REG_P): Likewise.
750 (NON_STACK_REG_P): Likewise.
751 (STACK_TOP_P): Likewise.
752 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
753 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
754 (SECONDARY_MEMORY_NEEDED): Likewise.
755 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
756 (MD_ASM_CLOBBERS): Whitespace and wrap.
757 (MUST_PASS_IN_STACK): Whitespace and wrap.
758 (RETURN_POPS_ARGS): Add parenthesis.
759 (INIT_CUMULATIVE_ARGS): Likewise.
760 (FUNCTION_ARG): Likewise.
761 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
762 (SETUP_INCOMING_VARARGS): Likewise.
763 (BUILD_VA_LIST_TYPE): Add parenthesis.
764 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
766 (EXPAND_BUILTIN_VA_ARG): Likewise.
767 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
768 (INITIALIZE_TRAMPOLINE): Add parenthesis.
769 (INITIAL_ELIMINATION_OFFSET): Likewise.
770 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
771 (REGNO_OK_FOR_BASE_P): Likewise.
772 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
773 (REGNO_OK_FOR_DIREG_P): Likewise.
774 (REG_OK_FOR_INDEX_P): Whitespace.
775 (REG_OK_FOR_BASE_P): Whitespace.
776 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
778 (FIND_BASE_TERM): Fix typo.
779 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
780 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
781 (SYMBOLIC_CONST; Whitespace.
782 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
783 (ENCODE_SECTION_INFO): Whitespace.
784 (FINALIZE_PIC): Remove do { ... } while (0).
785 (PROMOTE_MODE): Wrap in do { ... } while (0).
786 (CONST_COSTS): Whitespace.
787 (RTX_COSTS): Add paramethesis, whitespace and wrap.
788 (REGISTER_MOVE_COST): Add parenthesis.
789 (MEMORY_MOVE_COST): Likewise.
790 (EXTRA_CC_MODES): Whitespace.
791 (SELECT_CC_MODE): Add parenthesis and whitespace.
792 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
793 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
794 (ASM_OUTPUT_LABEL): Add paramethesis.
795 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
796 (ASM_OUTPUT_REG_POP): Likewise.
797 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
798 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
800 * config/i386/i386.c: Update copyright.
801 (CHECK_STACK_LIMIT): Add parenthesis.
802 (AT_BP): Uppercase macro parameter.
803 (x86_64_int_parameter_registers): Constify.
804 (x86_64_int_return_registers): Likewise.
805 (ix86_compare_op0): Use rtx.
806 (construct_container): Constify INTREG parameter.
807 (function_arg): Use rtx.
809 * diagnostic.h: Update copyright date.
810 (output_buffer_state): Add parenthesis.
811 (output_buffer_format_args): Likewise.
813 * combine.c (combine_instructions): Replace XEXP (links, 0)
816 2002-01-06 H.J. Lu <hjl@gnu.org>
818 * cfgcleanup.c (thread_jump): Fix 2 typos.
820 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
822 * config.gcc: Add support for --enable-altivec.
824 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
826 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
828 2002-01-06 Jakub Jelinek <jakub@redhat.com>
830 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
833 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
835 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
837 2002-01-06 Richard Henderson <rth@redhat.com>
839 * reorg.c (emit_delay_sequence): Remove death notes, not merely
840 nop them out. Increment label reference count for REG_LABEL.
841 (fill_slots_from_thread): Frob label reference count around
842 delete_related_insns.
844 2002-01-05 Richard Henderson <rth@redhat.com>
846 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
849 2002-01-05 Richard Henderson <rth@redhat.com>
851 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
852 * integrate.c (output_inline_function): Likewise.
853 * toplev.c (rest_of_compilation): Do it here instead. Move call
854 to remove_unnecessary_notes after emitting abstract instance.
855 Force an emitted nested function to have its parent emited as well.
856 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
858 (rtl_for_decl_location): Do not look at reload data structures
859 before reload has run.
861 2002-01-05 Kazu Hirata <kazu@hxi.com>
863 * cse.c: Fix formatting.
864 * dwarf2asm.c: Likewise.
865 * dwarf2out.c: Likewise.
866 * explow.c: Likewise.
867 * expmed.c: Likewise.
868 * function.c: Likewise.
870 * gencheck.c: Likewise.
871 * genrecog.c: Likewise.
872 * ggc-common.c: Likewise.
873 * ggc-page.c: Likewise.
874 * global.c: Likewise.
876 2002-01-05 Kazu Hirata <kazu@hxi.com>
878 * combine.c: Fix formatting.
880 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
883 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
885 2002-01-05 David Edelsohn <edelsohn@gnu.org>
887 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
888 as 1 for __powerpc64__ as well.
890 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
892 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
895 2002-01-05 Daniel Berlin <dan@dberlin.org>
897 * lcm.c: Revert change, due to performance regression it causes on
898 SPEC because it's slightly more conservative (sigh, I hate
901 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
903 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
905 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
907 * doc/cppinternals.texi: Update.
909 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
911 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
912 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
914 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
915 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
916 kludge for pre-october-14th mmix versions to handle new-found bug
917 with PUSHJ/PUSHGO and the register stack.
918 * config/mmix/mmix.h (struct machine_function): Rename member
919 has_call_value_without_parameters to has_call_without_parameters.
920 All referers changed.
921 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
922 TARGET_MASK_BRANCH_PREDICT): New macros.
923 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
924 -mno-reg-stack-fill-bug-workaround.
925 * config/mmix/mmix.md ("call"): Set struct machine member
926 has_call_without_parameters.
928 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
930 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
932 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
934 * cfgcleanup.c: Include tm_p.h
935 (mark_effect): Fix handling of hard register; fix handling of SET
937 2002-01-04 Kazu Hirata <kazu@hxi.com>
939 * config/h8300/h8300.md (anonymous patterns): Check that
940 operands are registers before using REGNO on them.
942 2002-01-03 Roland McGrath <roland@frob.com>
944 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
946 2002-01-04 Jakub Jelinek <jakub@redhat.com>
948 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
949 * c-common.h (genrtl_expr_stmt_value): Likewise.
950 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
951 (expand_expr_stmt_value): Add maybe_last argument.
952 Don't warn about statement with no effect if it is the last statement
953 in expression statement.
954 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
955 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
956 expand_expr_stmt_value.
957 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
958 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
959 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
960 as maybe_last to expand_expr_stmt_value.
962 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
964 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
965 be passed in, do not build it.
966 (c_begin_if_stmt): New function.
967 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
968 * c-common.h (c_expand_start_cond): Update prototype.
969 (c_begin_if_stmt): Prototype new function.
970 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
971 * c-parse.in (if_prefix): Use c_begin_if_stmt,
972 c_begin_while_stmt and c_finish_while_stmt_cond.
974 2002-01-04 William Cohen <wcohen@redhat.com>
976 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
977 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
978 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
979 * config/pa/som.h (ASM_FILE_START): Likewise.
981 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
983 * lcm.c: Include df.h.
984 Add available_transfer_function prototype.
985 (compute_available): Rework to use iterative dataflow framework.
986 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
988 (available_transfer_function): New function.
990 * Makefile.in (lcm.o): add df.h to dependencies.
992 2002-01-04 Richard Henderson <rth@redhat.com>
994 * config/alpha/alpha.c (some_operand): Accept HIGH.
995 (input_operand): Likewise; accept simple references to globals.
996 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
997 (alpha_const_double_ok_for_letter_p): Likewise.
998 (alpha_extra_constraint): Likewise.
999 (alpha_preferred_reload_class): Likewise. Do not force
1000 symbolic constants to memory.
1001 (alpha_legitimate_address_p): Accept simple references
1002 to small_symbolic_operand.
1003 (alpha_legitimize_address): New arg scratch. Be prepared to be
1004 called when no_new_pseudos. Emit simple symbolic references.
1005 Split integers into low, high, and rest.
1006 (alpha_expand_mov): Use alpha_legitimize_address.
1007 (some_small_symbolic_mem_operand): New.
1008 (split_small_symbolic_mem_operand): New.
1009 * config/alpha/alpha-protos.h: Update.
1010 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1011 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1012 (EXTRA_CONSTRAINT): Likewise.
1013 (PREFERRED_RELOAD_CLASS): Likewise.
1014 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1015 (PREDICATE_CODES): Update.
1016 * config/alpha/alpha.md: New post-reload splitters to convert
1017 simplfied symbolic operands to the form that references $29.
1018 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1019 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1021 2002-01-03 Richard Henderson <rth@redhat.com>
1023 * local-alloc.c (function_invariant_p): Update commentary.
1025 2002-01-04 H.J. Lu <hjl@gnu.org>
1027 * toplev.c (rest_of_compilation): Fix a typo when calling
1030 2002-01-03 Kazu Hirata <kazu@hxi.com>
1032 * c-common.c: Fix formatting.
1033 * diagnostic.c: Likewise.
1034 * doloop.c: Likewise.
1035 * dwarf2out.c: Likewise.
1037 2002-01-03 Kazu Hirata <kazu@hxi.com>
1039 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1040 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1042 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1044 * cpperror.c: Update comments and copyright.
1045 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1046 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1048 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1050 * collect2.c (main): Use strcmp when testing for "-shared".
1052 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1054 * cppmacro.c: Don't include intl.h. Update comments.
1055 (new_number_token): Allocate enough buffer for 64-bit unsigned
1056 integers; update prototype.
1057 * cppmain.c: Update comments.
1059 2002-01-03 William Cohen <wcohen@redhat.com>
1061 * function.h (struct function): Add profile.
1062 (current_function_profile): New.
1063 doc/extend.texi: Update documentation.
1064 * final.c (final_start_function): Use current_function_profile
1065 instead of profile_flag.
1066 (profile_after_prologue): Likewise.
1067 * function.c (expand_function_start): Likewise.
1068 (expand_function_start): Likewise.
1069 * config/alpha/alpha.c (direct_call_operand):
1070 (alpha_does_function_need_gp): Likewise.
1071 (alpha_expand_prologue): Likewise.
1072 * config/arm/arm.c (arm_expand_prologue): Likewise.
1073 thumb_expand_prologue: Likewise.
1074 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1075 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1076 (fr30_expand_prologue): Likewise.
1077 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1078 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1079 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1080 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1081 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1082 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1083 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1084 (m32r_expand_prologue): Likewise.
1085 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1086 (m88k_expand_prologue): Likewise.
1087 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1088 * config/mips/mips.c (compute_frame_size): Likewise.
1089 (mips_expand_prologue): Likewise.
1090 (mips_can_use_return_insn): Likewise.
1091 * config/pa/elf.h (ASM_FILE_START): Likewise.
1092 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1093 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1094 * config/pa/som.h (ASM_FILE_START): Likewise.
1095 * config/romp/romp.c (romp_using_r14): Likewise.
1096 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1097 (rs6000_stack_info): Likewise.
1098 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1099 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1100 * config/v850/v850.c (compute_register_save_size): Likewise.
1102 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1104 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1105 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1107 2002-01-03 Turly O'Connor <turly@apple.com>
1109 * darwin.c (machopic_output_possible_stub_label): Don't generate
1110 stub routines for pseudo-stubs which we've just defined.
1112 2002-01-03 Kazu Hirata <kazu@hxi.com>
1114 * builtins.c: Fix formatting.
1115 * c-typeck.c: Likewise.
1116 * combine.c: Likewise.
1120 2002-01-03 Andreas Schwab <schwab@suse.de>
1122 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1123 and return true if _cpp_push_next_buffer pushed a new include
1125 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1126 _cpp_pop_file_buffer did not push a new file.
1127 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1129 2002-01-02 Eric Christopher <echristo@redhat.com>
1131 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1132 FIND_REG_INC_NOTE call. Update copyright.
1133 * loop.c (canonicalize_condition): Ditto.
1134 * reorg.c (delete_scheduled_jump): Ditto.
1136 2002-01-03 Kazu Hirata <kazu@hxi.com>
1138 * gcse.c: Fix formatting.
1140 2002-01-03 Graham Stott <grahams@redhat.com>
1142 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1143 forward defs for struct tags rtx_def, union_tree, rtvec_def
1144 also output corresponding typedefs for rtx, tree, and rtvec.
1146 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1147 rtvec_def along with corresponding typedefs for rtx, tree, and
1148 rtvec to config.h, hconfig.h, tconfig.h.
1150 2002-01-03 Graham Stott <grahams@redhat.com>
1152 * tree.h: Update copyright date.
1153 (IS_EXPR_CODE_CLASS): Add parenthesis.
1154 (TREE_SET_CODE): Add whitespace.
1155 (TREE_CHECK): Add parenthesis.
1156 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1157 (CST_OR_CONSTRUCTOR_CHECK):
1158 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1159 (TREE_SYMBOL_REFERENCED): Whitespace.
1160 (INT_CST_LT): Likewise.
1161 (INT_CST_LT_UNSIGNED): Likewise.
1162 (tree_real_cst): Unwrap comment.
1163 (tree_string): Likewise.
1164 (tree_complex): Likewise.
1165 (IDENTIFIER_POINTER): correct cast.
1166 (SAVE_EXPR_CONTEXT): Whitespace.
1167 (EXPR_WFL_FILENAME_NODE): Likewise.
1168 (EXPR_WFL_FILENAME): Remove parenthesis.
1169 (DECL_ORIGIN): Add parenthesis.
1170 (DECL_FROM_INLINE): Use NULL_TREE.
1171 (build_int_2): Whitespace.
1172 (build_type_variant): Add parenthesis.
1174 * gcc/jcf-parse.c: Update copyright date.
1175 (yyparse): Constify resource_filename.
1177 2002-01-03 Graham Stott <grahams@redhat.com>
1179 * rtl.h: Update copyright date.
1180 (RTL_CHECK1): Wrap long line.
1181 (RTL_CHECK2): Likewise.
1182 (RTL_CHECKC1): Wrap long line and whitespace.
1183 (RTL_CHECKC2): Likewise.
1184 (XWINT): Whitespace.
1190 (XBITMAP): Likewise.
1201 (X0BITMAP): Likewise.
1203 (X0BBDEF): Likewise.
1204 (X0ADVFLAGS): Likewise.
1205 (X0CSELIB): Likewise.
1206 (X0MEMATTR): Likewise.
1214 (XCBITMAP): Likewise.
1216 (XCBBDEF): Likewise.
1217 (XCADVFLAGS): Likewise.
1218 (XCCSELIB): Likewise.
1220 (INSN_UID): Likewise.
1221 (PREV_INSN): Likewise.
1222 (PATTERN): Likewise.
1223 (INSN_CODE): Likewise.
1224 (PUT_REG_NOTE_KIND): Likewise.
1225 (CODE_LABEL_NUMBER): Likewise.
1226 (NOTE_SOURCE_FILE): Likewise.
1227 (NOTE_BLOCK): Likewise.
1228 (NOTE_EH_HANDLER): Likewise.
1229 (NOTE_RANGE_INFO): Likewise.
1230 (NOTE_LIVE_INFO): Likewise.
1231 (NOTE_BASIC_BLOCK): Likewise.
1232 (NOTE_EXPECTED_VALUE): Likewise.
1233 (NOTE_LINE_NUMBER): Likewise.
1234 (LABEL_NAME): Likewise.
1235 (LABEL_NUSES): Likewise.
1236 (LABEL_ALTERNATE_NAME): Likewise.
1237 (ADDRESSOF_DECL): Likewise.
1238 (JUMP_LABEL): Likewise.
1239 (LABEL_NEXTREF): Likewise.
1241 (ORIGINAL_REGNO: Likewise.
1242 (HARD_REGISTER_NUM_P): Add parenthesis.
1243 (SUBREG_REG): Whitespace.
1244 (SUBREG_BYTE): Likewise.
1245 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1246 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1247 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1248 (ASM_OPERANDS_INPUT_VEC): Likewise.
1249 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1250 (ASM_OPERANDS_INPUT): Likewise.
1251 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1252 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1253 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1254 (ASM_OPERANDS_INPUT_MODE): Likewise.
1255 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1256 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1257 (MEM_SET_IN_STRUCT_P): Minor reformat.
1258 (TRAP_CONDITION): Whitespace.
1259 (TRAP_CODE): Likewise.
1260 (COND_EXEC_TEST): Likewise.
1261 (COND_EXEC_CODE): Likewise.
1262 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1263 (PHI_NODE_P): Add parenthesis.
1264 (plus_constant): Whitespace and add parenthesis.
1266 2002-01-03 Kazu Hirata <kazu@hxi.com>
1268 * config/avr/avr.c: Fix comment typos.
1269 * config/c4x/c4x.md: Likewise.
1270 * config/dsp16xx/dsp16xx.h: Likewise.
1271 * config/dsp16xx/dsp16xx.md: Likewise.
1272 * config/i386/i386.md: Likewise.
1273 * config/ia64/ia64.c: Likewise.
1274 * config/m32r/m32r.h: Likewise.
1275 * config/m68hc11/m68hc11.md: Likewise.
1276 * config/mmix/mmix.c: Likewise.
1277 * config/mn10200/mn10200.c: Likewise.
1278 * config/romp/romp.c: Likewise.
1279 * config/sh/sh.c: Likewise.
1280 * config/stormy16/stormy16.c: Likewise.
1281 * config/stormy16/stormy16.h: Likewise.
1282 * config/stormy16/stormy16.md: Likewise.
1284 2002-01-03 Graham Stott <grahams@redhat.com>
1286 * loop.h: Update copyright date.
1287 (LOOP_MOVABLES): Fix typo.
1288 (LOOP_REGS): Likewise.
1289 (LOOP_IVS): Likewise.
1291 2002-01-03 Graham Stott <grahams@redhat.com>
1293 * cppinit.c: Update copyright date.
1294 Don't include output.h
1295 * Makefile.in: Update copyright date.
1298 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1301 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1302 (-pthread) Add to RS/6000 options.
1304 2002-01-02 Kazu Hirata <kazu@hxi.com>
1306 * except.c: Fix comment typos.
1308 * varasm.c: Likewise.
1309 * doc/tm.texi: Fix a typo.
1311 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1313 * c-typeck.c (output_init_element): Allow initializing static storage
1314 duration objects with compound literals.
1316 2002-01-02 Richard Henderson <rth@redhat.com>
1318 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1321 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1323 * gcc.c (default_compilers): Const-ify.
1324 * mips-tdump.c (stab_names): Likewise.
1325 * mips-tfile.c (map_coff_types, map_coff_storage,
1326 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1327 pseudo_ops_t, pseudo_ops): Likewise.
1328 * protoize.c (default_include): Likewise
1330 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1331 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1332 Add array size in declaration.
1333 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1334 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1335 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1336 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1337 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1338 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1339 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1340 emtens, make_nan): Const-ify.
1341 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1342 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1344 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1346 * config.gcc (ia64-*-*): Set extra_headers.
1347 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1348 * config/alpha/t-osf: Remove.
1349 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1351 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1353 * config/rs6000/t-aix43: Revert previous change.
1355 2002-01-02 Jason Merrill <jason@redhat.com>
1357 * c-decl.c (c_expand_body): Call outlining_inline_function when
1358 emitting an inline function out of line.
1360 2002-01-02 Richard Henderson <rth@redhat.com>
1362 * dwarf2out.c (limbo_die_node): Add created_for member.
1363 (new_die): New argument created_for. Update all callers.
1364 (mark_limbo_die_list): New.
1365 (dwarf2out_init): Register limbo_die_list as a root.
1366 (dwarf2out_finish): Force insert limbo dies into their function
1369 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1372 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1374 2002-01-02 Kazu Hirata <kazu@hxi.com>
1376 * config/h8300/fixunssfsi.c: Update copyright.
1379 * config/h8300/h8300.c: Update copyright.
1382 2002-01-02 Kazu Hirata <kazu@hxi.com>
1384 * config/romp/romp.c: Fix comment formatting.
1385 * config/romp/romp.h: Likewise.
1386 * config/romp/romp.md: Likewise.
1387 * config/s390/s390.c: Likewise.
1388 * config/stormy16/stormy16.c: Likewise.
1389 * config/stormy16/stormy16.h: Likewise.
1391 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1393 * c-common.h (genrtl_expr_stmt_value): Declare.
1394 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1395 (genrtl_goto_stmt_value): ... this new function. Pass new
1396 argument down to expand_expr_stmt_value, taking
1397 TREE_ADDRESSABLE into account.
1398 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1399 STMT_EXPR as addressable, i.e., one whose result we want.
1400 * expr.c (expand_expr): Don't save expression statement value
1401 of labeled_blocks or loop_exprs.
1402 * stmt.c (expand_expr_stmt): Redirect to...
1403 (expand_expr_stmt_value): ... this new function. Use new
1404 argument to tell whether to save expression value.
1405 (expand_end_stmt_expr): Reset last_expr_type and
1406 last_expr_value if we don't have either.
1407 * tree-inline.c (declare_return_variable): Mark its use
1408 statement as addressable.
1409 * tree.h: Document new use of TREE_ADDRESSABLE.
1410 (expand_expr_stmt_value): Declare.
1412 2002-01-01 Tom Rix <trix@redhat.com>
1414 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1415 rs6000_emit_allocate_stack.
1417 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1419 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1420 ${srcdir}/ginclude/ to every entry in extra_headers.
1421 * configure: Regenerate.
1422 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1423 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1424 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1425 * ginclude/proto.h: Rename to config/convex/proto.h.
1427 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1429 * attribs.c (handle_vector_size_attribute): Use host_integerp
1430 and tree_int_cst; remove warnings.
1431 * caller-save.c (insert_restore): Add cast to get rid of warning.
1432 (insert_save): Likewise.
1433 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1434 * regmove.c (find_matches): Add temporary var to kill a warning.
1436 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1438 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1439 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1440 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1441 (vms-dwarf2eh.o): Add Makefile rule.
1442 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1443 * config/alpha/vms-dwarf2eh.asm: New file.
1445 * gcc.c (delete_if_ordinary): Delete all versions.
1447 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1449 * config/mmix/mmix.md: Update FIXME to not mention
1451 (MMIX_rJ_REGNUM): New define_constants constant.
1452 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1453 "*movdicc_real"): Adjust contraints formatting.
1454 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1455 for branch prediction.
1456 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1458 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1459 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1460 number. Delete related FIXMEs.
1461 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1462 from number to MMIX_rJ_REGNUM.
1463 (TARGET_MASK_BRANCH_PREDICT): New.
1464 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1465 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1466 value. Add -mbranch-predict and -mno-branch-predict.
1467 (TARGET_VERSION): Drop date.
1468 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1469 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1470 for finding out global symbols.
1471 (mmix_asm_output_labelref): Revert condition for global symbol.
1472 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1473 (mmix_print_operand_punct_valid_p): A '+' is valid.
1475 See ChangeLog.6 for earlier changes.