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