1 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
3 * c-tree.h: Move function declarations so that they are listed
4 under the filename which contains them.
5 (check_identifier, finish_decl_top_level,
6 lookup_name_current_level_global, shadow_record_fields): Remove.
8 2002-01-11 Andreas Jaeger <aj@suse.de>
10 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
13 2002-01-10 Richard Henderson <rth@redhat.com>
15 * config/alpha/alpha.c (print_operand): Add 'J'.
16 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
17 new operand with the sequence number for the lituse. When splitting
18 the insns, use gen_movdi_er_high_g and generate a sequence number.
19 (gen_movdi_er_high_g): Print the sequence number if non-zero.
21 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
23 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
24 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
26 (altivec_expand_builtin): Same.
27 (altivec_expand_stv_builtin): New.
29 * config/rs6000/rs6000.h (rs6000_builtins): Same.
31 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
32 ("altivec_lvehx"): New.
33 ("altivec_lvewx"): New.
34 ("altivec_lvxl"): New.
36 ("altivec_stvx"): New.
37 ("altivec_stvebx"): New.
38 ("altivec_stvehx"): New.
39 ("altivec_stvewx"): New.
40 ("altivec_stvxl"): New.
42 2002-01-10 Richard Henderson <rth@redhat.com>
44 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
45 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
46 care not to delete instructions twice.
48 2002-01-10 Zack Weinberg <zack@codesourcery.com>
50 * toplev.c: Don't declare environ (it's not used anywhere).
51 * configure.in: Don't check for declaration of environ.
52 * config/i386/xm-mingw32.h: Don't #define environ.
53 * config.in, configure: Regenerate.
55 2002-01-10 Zack Weinberg <zack@codesourcery.com>
57 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
58 * configure: Regenerate.
60 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
61 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
62 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
64 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
65 LIMITS_H_TEST here, not in m68k/x-next.
66 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
67 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
69 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
70 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
71 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
73 * config/i386/x-djgpp: Renamed i386/t-djgpp.
74 * config/m88k/x-dolph: Renamed m88k/t-dolph.
75 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
76 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
77 replacement of quadlib.asm with quadlib.c.
79 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
80 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
81 config/rs6000/xm-beos.h: Delete file.
83 * config.gcc: Update to match above changes.
85 2002-01-10 Kazu Hirata <kazu@hxi.com>
87 * config/h8300/h8300.h: Fix comment typos.
88 * config/h8300/h8300.md: Likewise.
89 * config/h8300/lib1funcs.asm: Likewise.
91 2002-01-10 Dale Johannesen <dalej@apple.com>
94 * unroll.c (precondition_loop_p): Make *increment be the correct
95 sign when n_iterations known, to avoid confusing caller.
97 2002-01-10 Kazu Hirata <kazu@hxi.com>
99 * doc/extend.texi (deprecated): Fix a typo.
101 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
103 * basic-block.h (update_br_prob_note): Declare.
104 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
105 (try_forward_edges): Care negative frequencies and update note.
106 (outgoing_edges_match): Tweek conditional merging heuristics.
107 (try_crossjump_to_edge): use update_br_prob_note.
108 * cfglayout.c (fixup_reorder_chain): Likewise.
109 * cfrtl.c (update_br_prob_note): New.
110 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
112 * i386.c (ix86_decompose_address): Return -1 if address contains
114 (legitimate_address_p): Require ix86_decompose_address to return 1.
116 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
117 (cprop_insn): Likewise.
119 2002-01-10 Kazu Hirata <kazu@hxi.com>
121 * toplev.c: Fix formatting.
123 * tree-dump.c: Likewise.
124 * unroll.c: Likewise.
125 * unwind-dw2.c: Likewise.
126 * unwind-dw2-fde.c: Likewise.
127 * unwind-dw2-fde-glibc.c: Likewise.
128 * unwind-sjlj.c: Likewise.
130 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
132 * doc/invoke.texi: Document PDP-11 options.
134 2002-01-10 Kazu Hirata <kazu@hxi.com>
136 * config/h8300/h8300.h: Fix formatting.
138 2001-01-10 Ira Ruben <ira@apple.com>
140 Add __attribute__ ((deprecated)).
141 * extend.texi: Document __attribute__ ((deprecated)).
142 * invoke.texi: Document -Wno-deprecated-declarations.
143 * testsuite/g++.dg/other/deprecated.C: New C++ test.
144 * testsuite/gcc.dg/deprecated.c: New C test.
145 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
146 (c_common_attribute_table): Add "deprecated" entry.
147 (handle_deprecated_attribute): New function.
148 * c-decl.c (deprecated_states): New enum.
149 deprecated_state: State of "deprecated" handling.
150 (start_decl): Set deprecated_state based on attributes.
151 (grokdeclarator): Test for deprecated uses, propagate attribute.
152 * c-typeck.c (build_component_ref): Test for deprecated fields.
153 (build_external_ref): Test for deprecated primaries.
154 * diagnostic.c (warn_deprecated_use) New function to issue
155 warnings about __attribute__ ((depricated)) references.
156 * flags.h (warn_deprecated_decl): Extern declared for
157 -W[no-]deprecated-declarations option.
158 * print-tree.c (print_node): Show deprecated flag status.
159 * toplev.c (warn_deprecated_decl): Defined.
160 (W_options): Added "deprecated-declaration".
161 * toplev.h (warn_deprecated_use): Extern declared.
162 * tree.h (struct tree_common): Define deprecated_flag.
163 (TREE_DEPRECATED): New macro to access flag.
164 * cp/call.c (build_call): Test for deprecated calls.
165 * cp/class.c (add_implicitly_declared_members): Set global
166 flag to tell grokdeclarator to not issue deprecated warnings.
167 * cp/cp-tree.h: Add extern for adding_implicit_members.
168 * cp/decl.c (deprecated_states): New enum.
169 (start_decl): Set deprecated_state based on attributes.
170 (grokdeclarator): Test for deprecated uses, propagate attribute.
171 * cp/lex.c (do_identifier): Test for deprecated primaries.
172 * cp/typeck.c (build_component_ref): Test for deprecated fields.
174 2001-01-10 Ira Ruben <ira@apple.com>
176 Fix to assign attributes to inline member functions.
177 * cp/decl.c (start_method): Handle attrlist.
179 2002-01-10 Kazu Hirata <kazu@hxi.com>
181 * combine.c (expand_field_assignment): Use subreg_lsb().
183 2002-01-10 David Edelsohn <edelsohn@gnu.org>
185 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
186 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
187 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
188 Recurse for any operand of AND as long as constant is non-zero.
190 2002-01-10 Kazu Hirata <kazu@hxi.com>
192 * config/h8300/h8300.md: Remove constraints from expanders.
194 2002-01-10 Kazu Hirata <kazu@hxi.com>
196 * varasm.c: Fix formatting.
197 * varray.c: Likewise.
198 * vmsdbgout.c: Likewise.
199 * xcoffout.c: Likewise.
201 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
203 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
204 update edge probabilities to match.
206 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
208 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
210 * doc/languages.texi, doc/sourcebuild.texi: New files.
211 * doc/configfiles.texi: Make a subsubsection. Update.
212 * doc/configterms.texi: Add @node. Remove warning that this isn't
213 instructions for building GCC.
214 * doc/makefile.texi: Make a subsection.
215 * doc/gccint.texi: Update.
217 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
219 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
221 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
223 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
225 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
227 * optabs.c (expand_fix): Look for wider integer modes first.
229 * i386.md (mov?f): Avoid the fake const double trick for medium
231 (min?f*/max?f*): Prohibit memory operands for i387 variant.
232 (fop_df_4): Disable for SSE compilation.
234 2002-01-20 Graham Stott <grahams@redhat.com>
236 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
237 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
239 2002-01-10 Richard Henderson <rth@redhat.com>
241 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
243 2002-01-10 Richard Henderson <rth@redhat.com>
245 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
246 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
248 2002-01-10 Kazu Hirata <kazu@hxi.com>
250 * combine.c (can_combine_p): Fix a comment typo.
252 2002-01-09 Zack Weinberg <zack@codesourcery.com>
254 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
255 empty list correctly. Change loop index $t to $f for
256 consistency with rest of Makefile.
258 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
260 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
261 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
263 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
264 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
265 (altivec_init_builtins): Same.
266 (altivec_expand_unop_builtin): Return NULL_RTX on error.
267 (altivec_expand_binop_builtin): Same.
268 (altivec_expand_ternop_builtin): Same.
271 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
272 ("altivec_vctuxs"): Fix typo.
273 ("altivec_vnmsubfp"): Same.
274 ("altivec_dssall"): New.
275 ("altivec_mfvscr"): New.
276 ("altivec_dss"): New.
277 ("altivec_lvsl"): New.
278 ("altivec_lvsr"): New.
279 ("altivec_dstt"): New.
280 ("altivec_dstst"): New.
281 ("altivec_dststt"): New.
282 ("altivec_dst"): New.
284 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
285 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
287 2002-01-09 Richard Henderson <rth@redhat.com>
289 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
291 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
293 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
295 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
297 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
299 2002-01-09 Kazu Hirata <kazu@hxi.com>
301 * read-rtl.c: Fix formatting.
303 * regclass.c: Likewise.
304 * regrename.c: Likewise.
305 * reg-stack.c: Likewise.
306 * reload1.c: Likewise.
307 * reload.c: Likewise.
310 2002-01-09 Kazu Hirata <kazu@hxi.com>
312 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
313 to extract items in the expr_list chain.
315 2002-01-09 Richard Henderson <rth@redhat.com>
317 * config/vax/vax.c (vax_rtx_cost): Never abort.
319 * config/vax/vax.h (REAL_ARITHMETIC): Define.
321 2002-01-09 Jan Hubicka <jh@suse.cz>
323 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
325 2002-01-09 Richard Henderson <rth@redhat.com>
327 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
328 Unify code from various alternatives.
330 2002-01-09 Richard Henderson <rth@redhat.com>
332 * regrename.c (copy_value): Ignore the copy if the source register
333 is present in the value chain with a narrower mode.
335 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
337 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
338 for the c4x target. Also improve layout.
340 2002-01-09 Richard Henderson <rth@redhat.com>
342 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
343 * config/m32r/m32r.md (and ior xor splitters): Swap operands
344 to match insn patterns.
346 2002-01-09 Richard Henderson <rth@redhat.com>
348 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
349 (copyprop_hardreg_forward_1): Likewise.
351 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
353 * pa.md (decrement_and_branch_until_zero): Change predicate for
354 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
356 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
358 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
359 gets undefined. For Darwin.
361 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
363 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
365 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
367 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
369 2002-01-08 Richard Henderson <rth@redhat.com>
371 * regrename.c (copy_value): Ignore overlapping copies.
373 2002-01-08 Richard Henderson <rth@redhat.com>
375 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
376 as needed to avoid shared structure.
378 2002-01-08 Kazu Hirata <kazu@hxi.com>
380 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
383 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
385 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
386 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
387 documentation of obsolete macros.
388 * system.h: Poison these macros.
389 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
390 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
391 config/c4x/c4x.h, config/clipper/clipper.h,
392 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
393 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
394 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
395 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
396 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
397 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
398 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
399 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
400 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
401 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
402 config/sparc/sparc.h, config/stormy16/stormy16.h,
403 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
404 definitions and commented out definitions of obsolete macros.
405 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
406 of MAX_INT_TYPE_SIZE.
408 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
410 * config/s390/s390.c (s390_preferred_reload_class): Never
411 return ADDR_REGS if it isn't a subset of the given class.
412 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
413 FP_REGS, but all superclasses as well.
415 * config/s390/s390.c (s390_function_profiler): Fix thinko.
417 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
418 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
419 must not be a const_int.
421 2002-01-08 Richard Henderson <rth@redhat.com>
423 * Makefile.in (toplev.o): Depend on options.h.
424 (gcc.o): Depend on specs.h.
426 2002-01-08 Jakub Jelinek <jakub@redhat.com>
428 * expr.c (store_expr): Convert VOIDmode constants back to target's
431 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
433 * doc/invoke.texi: Markup gcc as @command. Refer to
434 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
435 of http://gcc.gnu.org/thanks.html.
437 2002-01-08 Dale Johannesen <dalej@apple.com>
439 * config/rs6000/rs6000.md: Add missing int register
440 target case to movdf_low.
442 2002-01-08 Zack Weinberg <zack@codesourcery.com>
444 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
445 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
446 (cppinit.o): Depend on except.h.
447 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
450 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
451 Don't create specs.h/options.h/gencheck.h here. Remove
452 unnecessary variable settings from last argument of AC_OUTPUT.
453 * config.in, configure: Regenerate.
454 * intl.c: Hardcode package name as "gcc".
456 * cppinit.c: Include except.h.
457 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
459 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
460 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
461 (!)USING_SJLJ_EXCEPTIONS.
462 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
464 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
466 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
467 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
468 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
469 documentation of obsolete macros.
470 * system.h: Poison these macros.
471 * config/d30v/d30v.h, config/ns32k/encore.h,
472 config/stormy16/stormy16.h: Remove definitions and commented out
473 definitions of obsolete macros.
475 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
477 * objc/objc-act.c (handle_class_ref): Mark the declaration of
478 %sobjc_class_ref_%s as used - to prevent unwanted compiler
481 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
483 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
484 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
485 to insn adjusting stack/frame pointer.
486 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
487 accept operands that cause the insn to be non-splittable.
489 2002-01-08 Graham Stott <grahams@redhat.com>
491 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
492 (C_TYPE_FIELDS_VOLATILE): Likewise.
493 (C_TYPE_BEING_DEFINED): Likewise.
494 (C_IS_RESERVED_WORD): Likewise.
495 (C_TYPE_VARIABLE_SIZE): Likewise.
496 (C_DECL_VARIABLE_SIZE): Likewise.
497 (C_MISSING_PROTOTYPE_WARNED): Likewise.
498 (C_SET_EXP_ORIGINAL_CODE): Likewise.
499 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
501 (C_DECL_ANTICIPATED): Likewise.
502 (c_build_type_variant): Add parenthesis.
504 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
506 * gcc.c (option_map): Remove --version.
507 (process_command): Handle -fversion following the GNU Coding
508 Standards. Partially addresses PR other/704.
510 2002-01-08 Graham Stott <grahams@redhat.com>
512 * combine.c (combine_instructions): Fix typo.
514 2002-01-08 Graham Stott <grahams@redhat.com>
516 * debug.h: Use "tree" and "rtx" throughout.
520 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
522 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
523 constant pool, use the pool's version of the symbol instead.
525 2002-01-07 Richard Henderson <rth@redhat.com>
527 * regrename.c (find_oldest_value_reg): Ignore the value chain if
528 the original register was copied in a mode with a fewer number of
529 hard registers than the desired mode.
530 (copyprop_hardreg_forward_1): Likewise.
531 (debug_value_data): Fix loop test.
532 * toplev.c (parse_options_and_default_flags): Reenable
533 -fcprop-registers at -O1.
535 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
537 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
538 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
540 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
543 * config/rs6000/rs6000.md: Add altivec predicate patterns.
545 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
547 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
548 (pa_output_function_prologue): Output local label at the beginning of
549 the prologue when profiling.
550 (hppa_profile_hook): Use the local label rather than the function label.
551 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
553 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
555 * config/rs6000/rs6000.c (print_operand): Remove extra space.
556 (altivec_expand_unop_builtin): Fix thinko.
557 (altivec_expand_binop_builtin): Same.
558 (altivec_expand_ternop_builtin): Same.
559 (altivec_expand_builtin): Same.
561 2002-01-07 Richard Henderson <rth@redhat.com>
563 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
565 2002-01-07 Jason Merrill <jason@redhat.com>
567 * unwind-dw2.c (execute_cfa_program): Use < again.
569 2002-01-07 Jakub Jelinek <jakub@redhat.com>
571 * predict.c (combine_predictions_for_insn): Avoid division by zero.
573 2002-01-07 Jakub Jelinek <jakub@redhat.com>
575 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
576 Don't allow -1 - x -> ~x simplifications in the first pass.
578 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
580 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
582 (altivec_expand_binop_builtin): Same.
583 (altivec_expand_unop_builtin): Same.
584 (print_operand): Fix typo.
585 (bdesc_1arg): Add vupk* variants.
587 * rs6000.h (rs6000_builtins): Add vupk* enums.
589 * rs6000.md: Add altivec_vupk* variants.
591 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
593 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
594 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
595 and last update dates.
597 2002-01-07 Janis Johnson <janis187@us.ibm.com>
599 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
601 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
603 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
604 * config/avr/avr.h (CPP_SPEC): Likewise.
605 (LINK_SPEC): Likewise.
606 (CRT_BINUTILS_SPECS): Likewise.
607 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
608 * doc/invoke.texi (AVR Options): Document them.
610 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
612 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
615 2002-01-07 Graham Stott <grahams@redhat.com>
617 * config/i386/i386.h: Update copyright date.
618 (HALF_PIC_PTR): Add parenthesis.
619 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
620 (CONSTANT_ALIGNMENT): Add parenthesis.
621 (DATA_ALIGNMENT): Likewise.
622 (LOCAL_ALIGNMENT): Likewise.
623 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
624 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
625 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
626 (HARD_REGNO_NREGS): Add paranethesis.
627 (VALID_SSE_REG_MODE): Whitespace.
628 (VALID_MMX_REG_MODE): Whitespace.
629 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
630 (ix86_hard_regno_mode_ok): Add parenthesis.
631 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
632 (RETURN_IN_MEMORY): Whitespace.
633 (N_REG_CLASSES): Add parenthesis.
634 (INTEGER_CLASS_P): Add parenthesis and wrap.
635 (FLOAT_CLASS_P): Likewise.
636 (SSE_CLASS_P): Likewise.
637 (MMX_CLASS_P): Likewise.
638 (MAYBE_INTEGER_CLASS_P): Likewise.
639 (MAYBE_FLOAT_CLASS_P): Likewise.
640 (MAYBE_SSE_CLASS_P): Likewise.
641 (MAYBE_MMX_CLASS_P): Likewise.
642 (Q_CLASS_P): Likewise.
643 (GENERAL_REGNO_P): Uppercase macro parameter.
644 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
645 (FP_REGNO_P): Likewise.
646 (ANY_FP_REGNO_P): Uppercase macro parameter.
647 (SSE_REGNO_P): Likewise.
648 (SSE_REGNO): Likewise.
649 (SSE_REG_P): Likewise.
650 (SSE_FLOAT_MODE_P): Likewise.
651 (MMX_REGNO_P): Likewise.
652 (MMX_REG_P):Likewise.
653 (STACK_REG_P): Likewise.
654 (NON_STACK_REG_P): Likewise.
655 (STACK_TOP_P): Likewise.
656 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
657 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
658 (SECONDARY_MEMORY_NEEDED): Likewise.
659 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
660 (MD_ASM_CLOBBERS): Whitespace and wrap.
661 (MUST_PASS_IN_STACK): Whitespace and wrap.
662 (RETURN_POPS_ARGS): Add parenthesis.
663 (INIT_CUMULATIVE_ARGS): Likewise.
664 (FUNCTION_ARG): Likewise.
665 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
666 (SETUP_INCOMING_VARARGS): Likewise.
667 (BUILD_VA_LIST_TYPE): Add parenthesis.
668 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
670 (EXPAND_BUILTIN_VA_ARG): Likewise.
671 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
672 (INITIALIZE_TRAMPOLINE): Add parenthesis.
673 (INITIAL_ELIMINATION_OFFSET): Likewise.
674 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
675 (REGNO_OK_FOR_BASE_P): Likewise.
676 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
677 (REGNO_OK_FOR_DIREG_P): Likewise.
678 (REG_OK_FOR_INDEX_P): Whitespace.
679 (REG_OK_FOR_BASE_P): Whitespace.
680 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
682 (FIND_BASE_TERM): Fix typo.
683 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
684 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
685 (SYMBOLIC_CONST; Whitespace.
686 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
687 (ENCODE_SECTION_INFO): Whitespace.
688 (FINALIZE_PIC): Remove do { ... } while (0).
689 (PROMOTE_MODE): Wrap in do { ... } while (0).
690 (CONST_COSTS): Whitespace.
691 (RTX_COSTS): Add paramethesis, whitespace and wrap.
692 (REGISTER_MOVE_COST): Add parenthesis.
693 (MEMORY_MOVE_COST): Likewise.
694 (EXTRA_CC_MODES): Whitespace.
695 (SELECT_CC_MODE): Add parenthesis and whitespace.
696 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
697 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
698 (ASM_OUTPUT_LABEL): Add paramethesis.
699 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
700 (ASM_OUTPUT_REG_POP): Likewise.
701 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
702 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
704 * config/i386/i386.c: Update copyright.
705 (CHECK_STACK_LIMIT): Add parenthesis.
706 (AT_BP): Uppercase macro parameter.
707 (x86_64_int_parameter_registers): Constify.
708 (x86_64_int_return_registers): Likewise.
709 (ix86_compare_op0): Use rtx.
710 (construct_container): Constify INTREG parameter.
711 (function_arg): Use rtx.
713 * diagnostic.h: Update copyright date.
714 (output_buffer_state): Add parenthesis.
715 (output_buffer_format_args): Likewise.
717 * combine.c (combine_instructions): Replace XEXP (links, 0)
720 2002-01-06 H.J. Lu <hjl@gnu.org>
722 * cfgcleanup.c (thread_jump): Fix 2 typos.
724 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
726 * config.gcc: Add support for --enable-altivec.
728 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
730 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
732 2002-01-06 Jakub Jelinek <jakub@redhat.com>
734 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
737 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
739 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
741 2002-01-06 Richard Henderson <rth@redhat.com>
743 * reorg.c (emit_delay_sequence): Remove death notes, not merely
744 nop them out. Increment label reference count for REG_LABEL.
745 (fill_slots_from_thread): Frob label reference count around
746 delete_related_insns.
748 2002-01-05 Richard Henderson <rth@redhat.com>
750 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
753 2002-01-05 Richard Henderson <rth@redhat.com>
755 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
756 * integrate.c (output_inline_function): Likewise.
757 * toplev.c (rest_of_compilation): Do it here instead. Move call
758 to remove_unnecessary_notes after emitting abstract instance.
759 Force an emitted nested function to have its parent emited as well.
760 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
762 (rtl_for_decl_location): Do not look at reload data structures
763 before reload has run.
765 2002-01-05 Kazu Hirata <kazu@hxi.com>
767 * cse.c: Fix formatting.
768 * dwarf2asm.c: Likewise.
769 * dwarf2out.c: Likewise.
770 * explow.c: Likewise.
771 * expmed.c: Likewise.
772 * function.c: Likewise.
774 * gencheck.c: Likewise.
775 * genrecog.c: Likewise.
776 * ggc-common.c: Likewise.
777 * ggc-page.c: Likewise.
778 * global.c: Likewise.
780 2002-01-05 Kazu Hirata <kazu@hxi.com>
782 * combine.c: Fix formatting.
784 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
787 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
789 2002-01-05 David Edelsohn <edelsohn@gnu.org>
791 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
792 as 1 for __powerpc64__ as well.
794 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
796 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
799 2002-01-05 Daniel Berlin <dan@dberlin.org>
801 * lcm.c: Revert change, due to performance regression it causes on
802 SPEC because it's slightly more conservative (sigh, I hate
805 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
807 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
809 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
811 * doc/cppinternals.texi: Update.
813 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
815 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
816 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
818 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
819 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
820 kludge for pre-october-14th mmix versions to handle new-found bug
821 with PUSHJ/PUSHGO and the register stack.
822 * config/mmix/mmix.h (struct machine_function): Rename member
823 has_call_value_without_parameters to has_call_without_parameters.
824 All referers changed.
825 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
826 TARGET_MASK_BRANCH_PREDICT): New macros.
827 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
828 -mno-reg-stack-fill-bug-workaround.
829 * config/mmix/mmix.md ("call"): Set struct machine member
830 has_call_without_parameters.
832 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
834 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
836 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
838 * cfgcleanup.c: Include tm_p.h
839 (mark_effect): Fix handling of hard register; fix handling of SET
841 2002-01-04 Kazu Hirata <kazu@hxi.com>
843 * config/h8300/h8300.md (anonymous patterns): Check that
844 operands are registers before using REGNO on them.
846 2002-01-03 Roland McGrath <roland@frob.com>
848 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
850 2002-01-04 Jakub Jelinek <jakub@redhat.com>
852 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
853 * c-common.h (genrtl_expr_stmt_value): Likewise.
854 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
855 (expand_expr_stmt_value): Add maybe_last argument.
856 Don't warn about statement with no effect if it is the last statement
857 in expression statement.
858 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
859 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
860 expand_expr_stmt_value.
861 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
862 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
863 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
864 as maybe_last to expand_expr_stmt_value.
866 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
868 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
869 be passed in, do not build it.
870 (c_begin_if_stmt): New function.
871 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
872 * c-common.h (c_expand_start_cond): Update prototype.
873 (c_begin_if_stmt): Prototype new function.
874 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
875 * c-parse.in (if_prefix): Use c_begin_if_stmt,
876 c_begin_while_stmt and c_finish_while_stmt_cond.
878 2002-01-04 William Cohen <wcohen@redhat.com>
880 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
881 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
882 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
883 * config/pa/som.h (ASM_FILE_START): Likewise.
885 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
887 * lcm.c: Include df.h.
888 Add available_transfer_function prototype.
889 (compute_available): Rework to use iterative dataflow framework.
890 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
892 (available_transfer_function): New function.
894 * Makefile.in (lcm.o): add df.h to dependencies.
896 2002-01-04 Richard Henderson <rth@redhat.com>
898 * config/alpha/alpha.c (some_operand): Accept HIGH.
899 (input_operand): Likewise; accept simple references to globals.
900 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
901 (alpha_const_double_ok_for_letter_p): Likewise.
902 (alpha_extra_constraint): Likewise.
903 (alpha_preferred_reload_class): Likewise. Do not force
904 symbolic constants to memory.
905 (alpha_legitimate_address_p): Accept simple references
906 to small_symbolic_operand.
907 (alpha_legitimize_address): New arg scratch. Be prepared to be
908 called when no_new_pseudos. Emit simple symbolic references.
909 Split integers into low, high, and rest.
910 (alpha_expand_mov): Use alpha_legitimize_address.
911 (some_small_symbolic_mem_operand): New.
912 (split_small_symbolic_mem_operand): New.
913 * config/alpha/alpha-protos.h: Update.
914 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
915 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
916 (EXTRA_CONSTRAINT): Likewise.
917 (PREFERRED_RELOAD_CLASS): Likewise.
918 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
919 (PREDICATE_CODES): Update.
920 * config/alpha/alpha.md: New post-reload splitters to convert
921 simplfied symbolic operands to the form that references $29.
922 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
923 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
925 2002-01-03 Richard Henderson <rth@redhat.com>
927 * local-alloc.c (function_invariant_p): Update commentary.
929 2002-01-04 H.J. Lu <hjl@gnu.org>
931 * toplev.c (rest_of_compilation): Fix a typo when calling
934 2002-01-03 Kazu Hirata <kazu@hxi.com>
936 * c-common.c: Fix formatting.
937 * diagnostic.c: Likewise.
938 * doloop.c: Likewise.
939 * dwarf2out.c: Likewise.
941 2002-01-03 Kazu Hirata <kazu@hxi.com>
943 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
944 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
946 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
948 * cpperror.c: Update comments and copyright.
949 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
950 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
952 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
954 * collect2.c (main): Use strcmp when testing for "-shared".
956 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
958 * cppmacro.c: Don't include intl.h. Update comments.
959 (new_number_token): Allocate enough buffer for 64-bit unsigned
960 integers; update prototype.
961 * cppmain.c: Update comments.
963 2002-01-03 William Cohen <wcohen@redhat.com>
965 * function.h (struct function): Add profile.
966 (current_function_profile): New.
967 doc/extend.texi: Update documentation.
968 * final.c (final_start_function): Use current_function_profile
969 instead of profile_flag.
970 (profile_after_prologue): Likewise.
971 * function.c (expand_function_start): Likewise.
972 (expand_function_start): Likewise.
973 * config/alpha/alpha.c (direct_call_operand):
974 (alpha_does_function_need_gp): Likewise.
975 (alpha_expand_prologue): Likewise.
976 * config/arm/arm.c (arm_expand_prologue): Likewise.
977 thumb_expand_prologue: Likewise.
978 * config/d30v/d30v.c (d30v_stack_info): Likewise.
979 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
980 (fr30_expand_prologue): Likewise.
981 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
982 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
983 * config/i386/i386.h (FINALIZE_PIC): Likewise.
984 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
985 * config/i960/i960.c (i960_output_function_prologue): Likewise.
986 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
987 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
988 (m32r_expand_prologue): Likewise.
989 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
990 (m88k_expand_prologue): Likewise.
991 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
992 * config/mips/mips.c (compute_frame_size): Likewise.
993 (mips_expand_prologue): Likewise.
994 (mips_can_use_return_insn): Likewise.
995 * config/pa/elf.h (ASM_FILE_START): Likewise.
996 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
997 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
998 * config/pa/som.h (ASM_FILE_START): Likewise.
999 * config/romp/romp.c (romp_using_r14): Likewise.
1000 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1001 (rs6000_stack_info): Likewise.
1002 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1003 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1004 * config/v850/v850.c (compute_register_save_size): Likewise.
1006 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1008 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1009 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1011 2002-01-03 Turly O'Connor <turly@apple.com>
1013 * darwin.c (machopic_output_possible_stub_label): Don't generate
1014 stub routines for pseudo-stubs which we've just defined.
1016 2002-01-03 Kazu Hirata <kazu@hxi.com>
1018 * builtins.c: Fix formatting.
1019 * c-typeck.c: Likewise.
1020 * combine.c: Likewise.
1024 2002-01-03 Andreas Schwab <schwab@suse.de>
1026 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1027 and return true if _cpp_push_next_buffer pushed a new include
1029 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1030 _cpp_pop_file_buffer did not push a new file.
1031 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1033 2002-01-02 Eric Christopher <echristo@redhat.com>
1035 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1036 FIND_REG_INC_NOTE call. Update copyright.
1037 * loop.c (canonicalize_condition): Ditto.
1038 * reorg.c (delete_scheduled_jump): Ditto.
1040 2002-01-03 Kazu Hirata <kazu@hxi.com>
1042 * gcse.c: Fix formatting.
1044 2002-01-03 Graham Stott <grahams@redhat.com>
1046 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1047 forward defs for struct tags rtx_def, union_tree, rtvec_def
1048 also output corresponding typedefs for rtx, tree, and rtvec.
1050 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1051 rtvec_def along with corresponding typedefs for rtx, tree, and
1052 rtvec to config.h, hconfig.h, tconfig.h.
1054 2002-01-03 Graham Stott <grahams@redhat.com>
1056 * tree.h: Update copyright date.
1057 (IS_EXPR_CODE_CLASS): Add parenthesis.
1058 (TREE_SET_CODE): Add whitespace.
1059 (TREE_CHECK): Add parenthesis.
1060 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1061 (CST_OR_CONSTRUCTOR_CHECK):
1062 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1063 (TREE_SYMBOL_REFERENCED): Whitespace.
1064 (INT_CST_LT): Likewise.
1065 (INT_CST_LT_UNSIGNED): Likewise.
1066 (tree_real_cst): Unwrap comment.
1067 (tree_string): Likewise.
1068 (tree_complex): Likewise.
1069 (IDENTIFIER_POINTER): correct cast.
1070 (SAVE_EXPR_CONTEXT): Whitespace.
1071 (EXPR_WFL_FILENAME_NODE): Likewise.
1072 (EXPR_WFL_FILENAME): Remove parenthesis.
1073 (DECL_ORIGIN): Add parenthesis.
1074 (DECL_FROM_INLINE): Use NULL_TREE.
1075 (build_int_2): Whitespace.
1076 (build_type_variant): Add parenthesis.
1078 * gcc/jcf-parse.c: Update copyright date.
1079 (yyparse): Constify resource_filename.
1081 2002-01-03 Graham Stott <grahams@redhat.com>
1083 * rtl.h: Update copyright date.
1084 (RTL_CHECK1): Wrap long line.
1085 (RTL_CHECK2): Likewise.
1086 (RTL_CHECKC1): Wrap long line and whitespace.
1087 (RTL_CHECKC2): Likewise.
1088 (XWINT): Whitespace.
1094 (XBITMAP): Likewise.
1105 (X0BITMAP): Likewise.
1107 (X0BBDEF): Likewise.
1108 (X0ADVFLAGS): Likewise.
1109 (X0CSELIB): Likewise.
1110 (X0MEMATTR): Likewise.
1118 (XCBITMAP): Likewise.
1120 (XCBBDEF): Likewise.
1121 (XCADVFLAGS): Likewise.
1122 (XCCSELIB): Likewise.
1124 (INSN_UID): Likewise.
1125 (PREV_INSN): Likewise.
1126 (PATTERN): Likewise.
1127 (INSN_CODE): Likewise.
1128 (PUT_REG_NOTE_KIND): Likewise.
1129 (CODE_LABEL_NUMBER): Likewise.
1130 (NOTE_SOURCE_FILE): Likewise.
1131 (NOTE_BLOCK): Likewise.
1132 (NOTE_EH_HANDLER): Likewise.
1133 (NOTE_RANGE_INFO): Likewise.
1134 (NOTE_LIVE_INFO): Likewise.
1135 (NOTE_BASIC_BLOCK): Likewise.
1136 (NOTE_EXPECTED_VALUE): Likewise.
1137 (NOTE_LINE_NUMBER): Likewise.
1138 (LABEL_NAME): Likewise.
1139 (LABEL_NUSES): Likewise.
1140 (LABEL_ALTERNATE_NAME): Likewise.
1141 (ADDRESSOF_DECL): Likewise.
1142 (JUMP_LABEL): Likewise.
1143 (LABEL_NEXTREF): Likewise.
1145 (ORIGINAL_REGNO: Likewise.
1146 (HARD_REGISTER_NUM_P): Add parenthesis.
1147 (SUBREG_REG): Whitespace.
1148 (SUBREG_BYTE): Likewise.
1149 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1150 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1151 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1152 (ASM_OPERANDS_INPUT_VEC): Likewise.
1153 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1154 (ASM_OPERANDS_INPUT): Likewise.
1155 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1156 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1157 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1158 (ASM_OPERANDS_INPUT_MODE): Likewise.
1159 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1160 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1161 (MEM_SET_IN_STRUCT_P): Minor reformat.
1162 (TRAP_CONDITION): Whitespace.
1163 (TRAP_CODE): Likewise.
1164 (COND_EXEC_TEST): Likewise.
1165 (COND_EXEC_CODE): Likewise.
1166 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1167 (PHI_NODE_P): Add parenthesis.
1168 (plus_constant): Whitespace and add parenthesis.
1170 2002-01-03 Kazu Hirata <kazu@hxi.com>
1172 * config/avr/avr.c: Fix comment typos.
1173 * config/c4x/c4x.md: Likewise.
1174 * config/dsp16xx/dsp16xx.h: Likewise.
1175 * config/dsp16xx/dsp16xx.md: Likewise.
1176 * config/i386/i386.md: Likewise.
1177 * config/ia64/ia64.c: Likewise.
1178 * config/m32r/m32r.h: Likewise.
1179 * config/m68hc11/m68hc11.md: Likewise.
1180 * config/mmix/mmix.c: Likewise.
1181 * config/mn10200/mn10200.c: Likewise.
1182 * config/romp/romp.c: Likewise.
1183 * config/sh/sh.c: Likewise.
1184 * config/stormy16/stormy16.c: Likewise.
1185 * config/stormy16/stormy16.h: Likewise.
1186 * config/stormy16/stormy16.md: Likewise.
1188 2002-01-03 Graham Stott <grahams@redhat.com>
1190 * loop.h: Update copyright date.
1191 (LOOP_MOVABLES): Fix typo.
1192 (LOOP_REGS): Likewise.
1193 (LOOP_IVS): Likewise.
1195 2002-01-03 Graham Stott <grahams@redhat.com>
1197 * cppinit.c: Update copyright date.
1198 Don't include output.h
1199 * Makefile.in: Update copyright date.
1202 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
1205 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
1206 (-pthread) Add to RS/6000 options.
1208 2002-01-02 Kazu Hirata <kazu@hxi.com>
1210 * except.c: Fix comment typos.
1212 * varasm.c: Likewise.
1213 * doc/tm.texi: Fix a typo.
1215 2002-01-02 Jakub Jelinek <jakub@redhat.com>
1217 * c-typeck.c (output_init_element): Allow initializing static storage
1218 duration objects with compound literals.
1220 2002-01-02 Richard Henderson <rth@redhat.com>
1222 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
1225 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1227 * gcc.c (default_compilers): Const-ify.
1228 * mips-tdump.c (stab_names): Likewise.
1229 * mips-tfile.c (map_coff_types, map_coff_storage,
1230 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
1231 pseudo_ops_t, pseudo_ops): Likewise.
1232 * protoize.c (default_include): Likewise
1234 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
1235 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
1236 Add array size in declaration.
1237 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
1238 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
1239 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
1240 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
1241 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
1242 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
1243 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
1244 emtens, make_nan): Const-ify.
1245 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
1246 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
1248 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
1250 * config.gcc (ia64-*-*): Set extra_headers.
1251 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
1252 * config/alpha/t-osf: Remove.
1253 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
1255 2002-01-02 David Edelsohn <edelsohn@gnu.org>
1257 * config/rs6000/t-aix43: Revert previous change.
1259 2002-01-02 Jason Merrill <jason@redhat.com>
1261 * c-decl.c (c_expand_body): Call outlining_inline_function when
1262 emitting an inline function out of line.
1264 2002-01-02 Richard Henderson <rth@redhat.com>
1266 * dwarf2out.c (limbo_die_node): Add created_for member.
1267 (new_die): New argument created_for. Update all callers.
1268 (mark_limbo_die_list): New.
1269 (dwarf2out_init): Register limbo_die_list as a root.
1270 (dwarf2out_finish): Force insert limbo dies into their function
1273 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
1276 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
1278 2002-01-02 Kazu Hirata <kazu@hxi.com>
1280 * config/h8300/fixunssfsi.c: Update copyright.
1283 * config/h8300/h8300.c: Update copyright.
1286 2002-01-02 Kazu Hirata <kazu@hxi.com>
1288 * config/romp/romp.c: Fix comment formatting.
1289 * config/romp/romp.h: Likewise.
1290 * config/romp/romp.md: Likewise.
1291 * config/s390/s390.c: Likewise.
1292 * config/stormy16/stormy16.c: Likewise.
1293 * config/stormy16/stormy16.h: Likewise.
1295 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
1297 * c-common.h (genrtl_expr_stmt_value): Declare.
1298 * c-semantics.c (genrtl_goto_stmt): Redirect to...
1299 (genrtl_goto_stmt_value): ... this new function. Pass new
1300 argument down to expand_expr_stmt_value, taking
1301 TREE_ADDRESSABLE into account.
1302 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
1303 STMT_EXPR as addressable, i.e., one whose result we want.
1304 * expr.c (expand_expr): Don't save expression statement value
1305 of labeled_blocks or loop_exprs.
1306 * stmt.c (expand_expr_stmt): Redirect to...
1307 (expand_expr_stmt_value): ... this new function. Use new
1308 argument to tell whether to save expression value.
1309 (expand_end_stmt_expr): Reset last_expr_type and
1310 last_expr_value if we don't have either.
1311 * tree-inline.c (declare_return_variable): Mark its use
1312 statement as addressable.
1313 * tree.h: Document new use of TREE_ADDRESSABLE.
1314 (expand_expr_stmt_value): Declare.
1316 2002-01-01 Tom Rix <trix@redhat.com>
1318 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
1319 rs6000_emit_allocate_stack.
1321 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
1323 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
1324 ${srcdir}/ginclude/ to every entry in extra_headers.
1325 * configure: Regenerate.
1326 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
1327 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
1328 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
1329 * ginclude/proto.h: Rename to config/convex/proto.h.
1331 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1333 * attribs.c (handle_vector_size_attribute): Use host_integerp
1334 and tree_int_cst; remove warnings.
1335 * caller-save.c (insert_restore): Add cast to get rid of warning.
1336 (insert_save): Likewise.
1337 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
1338 * regmove.c (find_matches): Add temporary var to kill a warning.
1340 2002-01-01 Douglas B Rupp <rupp@gnat.com>
1342 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
1343 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
1344 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
1345 (vms-dwarf2eh.o): Add Makefile rule.
1346 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
1347 * config/alpha/vms-dwarf2eh.asm: New file.
1349 * gcc.c (delete_if_ordinary): Delete all versions.
1351 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1353 * config/mmix/mmix.md: Update FIXME to not mention
1355 (MMIX_rJ_REGNUM): New define_constants constant.
1356 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
1357 "*movdicc_real"): Adjust contraints formatting.
1358 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
1359 for branch prediction.
1360 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
1362 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
1363 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
1364 number. Delete related FIXMEs.
1365 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
1366 from number to MMIX_rJ_REGNUM.
1367 (TARGET_MASK_BRANCH_PREDICT): New.
1368 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
1369 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
1370 value. Add -mbranch-predict and -mno-branch-predict.
1371 (TARGET_VERSION): Drop date.
1372 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
1373 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
1374 for finding out global symbols.
1375 (mmix_asm_output_labelref): Revert condition for global symbol.
1376 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
1377 (mmix_print_operand_punct_valid_p): A '+' is valid.
1379 See ChangeLog.6 for earlier changes.