db51fc63dd5996099ee7c5f30852aa51ddc630ef
[gcc.git] / gcc / ChangeLog
1 2002-01-22 Kazu Hirata <kazu@hxi.com>
2
3 * predict.c: Fix formatting.
4 * print-tree.c: Likewise.
5 * protoize.c: Likewise.
6 * real.h: Likewise.
7 * rtl.h: Likewise.
8 * sbitmap.h: Likewise.
9 * scan.c: Likewise.
10 * sched-deps.c: Likewise.
11 * sched-vis.c: Likewise.
12 * sdbout.c: Likewise.
13 * sibcall.c: Likewise.
14 * ssa.c: Likewise.
15 * ssa-ccp.c: Likewise.
16 * ssa-dce.c: Likewise.
17 * stmt.c: Likewise.
18 * stor-layout.c: Likewise.
19 * system.h: Likewise.
20
21 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
22
23 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
24 if fits in bounds of base type.
25
26 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
27 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
28 (add_bound_info, default): If can't find a context, make a
29 SAVE_EXPR.
30 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
31
32 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
33
34 * c-typeck.c (parser_build_binary_op): If result from
35 build_binary_op is ERROR_MARK just return error_mark_node without
36 further processing.
37
38 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
39
40 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
41 Split a.out-specific bits into...
42 * config/netbsd-aout.h: ...this.
43 * config/netbsd-elf.h: New file.
44 * config/alpha/netbsd-elf.h: Remove.
45 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
46 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
47 (STARTFILE_SPEC): Remove redundant definition.
48 (ENDFILE_SPEC): Likewise.
49 (LINK_SPEC): Likewise.
50 (CPP_SPEC): Likewise.
51 (ASM_SPEC): Likewise.
52 (LIB_SPEC): Likewise.
53 (SWITCH_TAKES_ARG): Likewise.
54 (TARGET_MEM_FUNCTIONS): Likewise.
55 (CPP_PREDEFINES): Redefine.
56 (ASM_FINAL_SPEC): Remove redefinition.
57 (ASM_COMMENT_START): Redefine.
58 (FUNCTION_PROFILER): Define.
59 (TARGET_VERSION): Redefine.
60 Comment and formatting cleanup.
61 * config/i386/netbsd.h: Include <netbsd-aout.h>.
62 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
63 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
64 big- or little-endian.
65 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
66 * config.gcc (*-*-netbsd*): Add definitions common to all
67 NetBSD configs.
68 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
69 gnu_ld definitions. Add netbsd-elf.h to and remove
70 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
71 tmake_file, and don't lose previous tmake_file contents.
72 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
73 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
74 gnu_ld definitions. Add netbsd-elf.h to tm_file.
75 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
76 (mipsel-*-netbsd*): Rename this to...
77 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
78 mips/little.h to tm_file for mips*el-*.
79 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
80 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
81 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
82
83 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
84
85 * pa-protos.h (reg_before_reload_operand): New function prototype.
86 * pa.c (reg_before_reload_operand): New function implementation.
87 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
88 contraints to "*m".
89
90 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
91
92 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
93
94 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
95
96 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
97 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
98 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
99 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
100 (ENDFILE_SPEC): Undefine.
101 (STARTFILE_SPEC): Redefine for PA.
102
103 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
104
105 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
106
107 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
108
109 * config.gcc: Add entries to supported PowerPC --with-cpu
110 types.
111
112 2002-01-21 Jakub Jelinek <jakub@redhat.com>
113
114 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
115 true for 64-bit mode only SSE registers in 32-bit mode.
116
117 2002-01-21 Kazu Hirata <kazu@hxi.com>
118
119 * unwind-dw2.c: Fix formatting.
120 * unwind-dw2-fde.c: Likewise.
121 * unwind-dw2-fde.h: Likewise.
122 * unwind-pe.h: Likewise.
123 * varasm.c: Likewise.
124 * varray.h: Likewise.
125
126 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
127
128 Remove workaround for register stack overwrite bug in mmix.
129 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
130 support for TARGET_REG_STACK_FILL_BUG.
131 * config/mmix/mmix.h: Remove member has_call_without_parameters.
132 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
133 Delete.
134 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
135 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
136 -mno-reg-stack-fill-bug-workaround.
137 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
138 machine member has_call_without_parameters.
139 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
140 -mreg-stack-fill-bug-workaround and
141 -mno-reg-stack-fill-bug-workaround.
142 (MMIX Options): Ditto.
143
144 2002-01-21 Kazu Hirata <kazu@hxi.com>
145
146 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
147 as appropriate.
148 Remove redundant code.
149
150 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
151
152 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
153 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
154 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
155 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
156 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
157 out target macro definitions and non-target-specific comments
158 mostly taken from old versions of the manual.
159
160 2002-01-20 Kazu Hirata <kazu@hxi.com>
161
162 * config/h8300/h8300.h: Fix comment formatting.
163 * config/ia64/aix.h: Likewise.
164 * config/ia64/ia64-protos.h: Likewise.
165 * config/ia64/ia64.c: Likewise.
166 * config/ia64/ia64.h: Likewise.
167 * config/ia64/ia64intrin.h: Likewise.
168 * config/ia64/linux.h: Likewise.
169 * config/ia64/unwind-aix.c: Likewise.
170 * config/ia64/unwind-ia64.c: Likewise.
171
172 2002-01-20 Kazu Hirata <kazu@hxi.com>
173
174 * config/h8300/h8300.c: Revise comments about shift code.
175
176 2002-01-20 Kazu Hirata <kazu@hxi.com>
177
178 * config/h8300/h8300.c (function_arg): Update a comment.
179
180 2002-01-20 Kazu Hirata <kazu@hxi.com>
181
182 * config/h8300/h8300.md: Update the comments at the beginning
183 of the file.
184
185 2002-01-20 Kazu Hirata <kazu@hxi.com>
186
187 * config/i370/i370.c: Fix comment formatting.
188 * config/i370/i370.h: Likewise.
189 * config/i370/i370.md: Likewise.
190 * config/i370/linux.h: Likewise.
191
192 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
193
194 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
195
196 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
197 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
198 in incomplete case.
199
200 2002-01-20 Graham Stott <grahams@redhat.com>
201
202 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
203
204 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
205
206 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
207
208 2002-01-19 Tom Rix <trix@redhat.com>
209
210 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
211
212 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
213
214 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
215
216 * function.c (assign_stack_local_1): Adjust x_frame_offset with
217 STARTING_FRAME_PHASE.
218 (STARTING_FRAME_PHASE): New.
219 (instantiate_virtual_regs): Check saneness of
220 STARTING_FRAME_PHASE.
221
222 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
223
224 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
225
226 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
227
228 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
229
230 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
231 be used for bootstrapping GCC 3.0.
232
233 2002-01-18 Kazu Hirata <kazu@hxi.com>
234
235 * config/h8300/h8300.md: Fix an insn length.
236
237 2002-01-18 Kazu Hirata <kazu@hxi.com>
238
239 * bitmap.h: Fix comment formatting.
240 * combine.c: Likewise.
241 * cppfiles.c: Likewise.
242 * c-pragma.h: Likewise.
243 * c-typeck.c: Likewise.
244 * df.c: Likewise.
245 * dwarf2out.c: Likewise.
246 * function.c: Likewise.
247 * gcc.c: Likewise.
248 * genattrtab.c: Likewise.
249 * gthr-win32.h: Likewise.
250 * haifa-sched.c: Likewise.
251 * predict.c: Likewise.
252 * rtlanal.c: Likewise.
253 * rtl.h: Likewise.
254 * unwind-dw2-fde.h: Likewise.
255 * unwind-pe.h: Likewise.
256 * vmsdbgout.c: Likewise.
257
258 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
259
260 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
261 if type_required and passed decl.
262
263 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
264
265 * config.gcc (cpu_type): Include altivec.h in powerpc
266 extra_headers.
267 Same for darwin.
268
269 * config/rs6000/altivec.h: New.
270
271 2002-01-17 David Edelsohn <edelsohn@gnu.org>
272
273 * doc/install.texi (*-ibm-aix*): Update assembler and exception
274 handling information.
275 * doc/trouble.texi (Interoperation): Add libstdc++ information
276 for AIX.
277 (Misunderstandings): Add template instantiation and static template
278 member information for AIX.
279
280 2002-01-17 Jason Merrill <jason@redhat.com>
281
282 * dbxout.c (dbxout_type): Support const and volatile.
283
284 * except.c (add_partial_entry): Remove backwards compatibility code.
285 (end_protect_partials): Likewise.
286
287 2002-01-17 Jakub Jelinek <jakub@redhat.com>
288
289 * config/ia64/ia64.md (prologue_use): New.
290 * config/ia64/ia64.c (ia64_expand_prologue): Use
291 gen_prologue_use instead of gen_rtx_USE.
292 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
293 as CODE_FOR_pred_rel_mutex.
294 (ia64_sched_reorder2): Likewise.
295
296 2002-01-16 Eric Christopher <echristo@redhat.com>
297
298 * config/mips/r3900.h: Reformat.
299 (SUBTARGET_CPP_SIZE_SPEC): Remove.
300 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
301 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
302 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
303 * config/mips/t-elf: Remove mips3 multilib.
304
305 2002-01-16 H.J. Lu <hjl@gnu.org>
306
307 * config/mips/linux.h: Include "mips/abi64.h".
308
309 2002-01-16 H.J. Lu <hjl@gnu.org>
310
311 * config/mips/t-linux: New.
312
313 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
314
315 * config/mips/linux.h: Don't include "gofast.h".
316 (INIT_SUBTARGET_OPTABS): Removed.
317
318 2002-01-16 Kazu Hirata <kazu@hxi.com>
319
320 * config/h8300/h8300-protos.h: Replace emit_a_shift with
321 output_a_shift.
322 * config/h8300/h8300.c: Likewise.
323 * config/h8300/h8300.md: Likewise.
324
325 2002-01-16 Kazu Hirata <kazu@hxi.com>
326
327 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
328 spaces after an opcode name.
329 (pushqi1_h8300hs): Likewise.
330 (pushhi1_h8300hs): Likewise.
331
332 2002-01-16 Kazu Hirata <kazu@hxi.com>
333
334 * doc/extend.texi: Replace "option" with "attribute"
335 appropriately.
336
337 2002-01-16 Jakub Jelinek <jakub@redhat.com>
338
339 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
340 (and:DI () (const_int -8)).
341 (split_small_symbolic_mem_operand): Split
342 (mem (and:DI () (const_int -8)).
343
344 2002-01-16 Jakub Jelinek <jakub@redhat.com>
345
346 PR target/5309:
347 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
348 same way as TYPE_IMUL.
349 (ultrasparc_sched_reorder): Likewise.
350 * config/sparc/sparc.md (type): Add comment to update
351 ultrasparc_sched_reorder when making changes.
352
353 2002-01-16 Kazu Hirata <kazu@hxi.com>
354
355 * doc/invoke.texi: Change the dump file name of block
356 reordering pass from 28.bbro to 29.bbro.
357 Mention -dk option.
358
359 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
360
361 * i386.md (minsf splitter): Fix pasto.
362
363 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
364
365 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
366 to frame pointer initialisation instruction.
367 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
368 initialisation instruction.
369 (soft_df_operand): Do not accept the IP register.
370 (nonimmediate_soft_df_operand): Do not accept the IP register.
371
372 2002-01-16 Jakub Jelinek <jakub@redhat.com>
373
374 PR target/5357:
375 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
376 MASK_V8 being both set.
377
378 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
379
380 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
381 insn for GOT register; add REG_MAYBE_DEAD notes instead.
382 config/s390/s390.md (call, call_value): Add GOT register to
383 CALL_INSN_FUNCTION_USAGE where needed.
384 (call_exp, call_value_exp): New.
385
386 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
387
388 * config/arm/arm.c: General formatting tidy up.
389
390 2002-01-16 Graham Stott <grahams@redhat.com>
391
392 * calls.c (try_to_integrate): Use "(size_t)" intermediate
393 cast and when casting an integer literal to "rtx" pointer.
394 (expand_call): Likewise.
395 * flow.c (try_pre_increment): Likewise.
396 (find_use_as_address): Likewise.
397 * integrate.c (expand_iline_function): Likewise.
398 * regmove.c (try_auto_increment): Likewise.
399
400 2002-01-16 Graham Stott <grahams@redhat.com>
401
402 * sched-rgn.c (passed): Use sbitmap_free.
403 (header): Likewise.
404 (inner): Likewise.
405 (in_queue): Likewise.
406 (in_stack): Likewise.
407
408 2002-01-15 Eric Christopher <echristo@redhat.com>
409
410 * flow.c (propagate_one_insn): Change to use fatal_insn.
411
412 2002-01-15 Kazu Hirata <kazu@hxi.com>
413
414 * expmed.c (extract_fixed_bit_field): Remove unused code.
415 * system.h: Poison SLOW_ZERO_EXTEND.
416 * doc/tm.texi: Remove.
417 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
418 * config/arm/arm.h: Likewise.
419 * config/avr/avr.h: Likewise.
420 * config/clipper/clipper.h: Likewise.
421 * config/convex/convex.h: Likewise.
422 * config/d30v/d30v.h: Likewise.
423 * config/dsp16xx/dsp16xx.h: Likewise.
424 * config/elxsi/elxsi.h: Likewise.
425 * config/fr30/fr30.h: Likewise.
426 * config/h8300/h8300.h: Likewise.
427 * config/i370/i370.h: Likewise.
428 * config/i386/i386.h: Likewise.
429 * config/m68k/m68k.h: Likewise.
430 * config/mips/mips.h: Likewise.
431 * config/ns32k/ns32k.h: Likewise.
432 * config/pdp11/pdp11.h: Likewise.
433 * config/pj/pj.h: Likewise.
434 * config/s390/s390.h: Likewise.
435 * config/sh/sh.h: Likewise.
436 * config/stormy16/stormy16.h: Likewise.
437 * config/v850/v850.h: Likewise.
438 * config/vax/vax.h: Likewise.
439 * config/we32k/we32k.h: Likewise.
440
441 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
442
443 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
444 (altivec_lvsl): Change constraint to b.
445 (altivec_lvsr): Same.
446 (altivec_lvebx): Same.
447 (altivec_lvehx): Same.
448 (altivec_lvewx): Same.
449 (altivec_lvxl): Same.
450 (altivec_lvx): Same.
451 (altivec_stvx): Add parallel.
452 (altivec_stvxl): Same.
453 (altivec_stvehx): Same.
454 (altivec_stvebx): Same.
455 (altivec_stvebx): Same.
456
457 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
458
459 * config.gcc: Change altivec.h to altivec-defs.h.
460
461 * config/rs6000/altivec.h: Delete.
462
463 * config/rs6000/altivec-defs.h: Add.
464
465 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
466
467 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
468 and UMOD modes.
469
470 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
471 less than or equal to eight bytes.
472
473 * vax.md (andsi3): Remove constraints and change SET destination
474 operand type to nonimmediate_operand.
475 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
476 when it is a CONST_INT.
477
478 2002-01-15 Jason Merrill <jason@redhat.com>
479
480 * c-common.def (FILE_STMT): New code.
481 * c-common.c (statement_code_p): It's a statement.
482 * c-common.h (stmt_tree_s): Add x_last_filename.
483 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
484 (last_expr_filename): New macro.
485 * c-semantics.c (begin_stmt_tree): Initialize it.
486 (add_stmt): If the filename changed, also insert a
487 FILE_STMT.
488 (expand_stmt): Handle seeing one.
489
490 2002-01-15 Eric Christopher <echristo@redhat.com>
491
492 * flow.c (propagate_one_insn): Add error message and print out
493 insn for debugging.
494
495 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
496
497 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
498 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
499 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
500 TRAMPOLINE_ALIGNMENT.
501 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
502 to be in bits.
503 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
504 PCC_BITFIELD_TYPE_MATTERS.
505 * config/interix.h (STDC_VALUE): Remove. Use
506 STDC_0_IN_SYSTEM_HEADERS.
507 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
508 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
509 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
510
511 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
512
513 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
514 not work on this platform currently.
515
516 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
517
518 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
519 readonly_warning in _().
520
521 2002-01-15 Douglas B Rupp <rupp@gnat.com>
522
523 * gcc.c (delete_if_ordinary): Backout previous change.
524
525 2002-01-15 Kazu Hirata <kazu@hxi.com>
526
527 * config/h8300/h8300.c (print_operand): Remove support for
528 unused operand characters.
529
530 * read-rtl.c: Fix formatting.
531 * real.c: Likewise.
532 * recog.c: Likewise.
533 * regclass.c: Likewise.
534 * regmove.c: Likewise.
535 * reg-stack.c: Likewise.
536 * reload1.c: Likewise.
537 * rtlanal.c: Likewise.
538
539 2002-01-15 Kazu Hirata <kazu@hxi.com>
540
541 * config/i386/i386.c: Fix formatting.
542
543 2002-01-15 Jakub Jelinek <jakub@redhat.com>
544
545 * c-typeck.c (process_init_element): Don't save_expr
546 COMPOUND_LITERAL_EXPR if just its initializer will be used.
547
548 2002-01-15 David Edelsohn <edelsohn@gnu.org>
549
550 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
551 emit optional traceback table if optimize_size or TARGET_ELF.
552 * config/rs6000/rs6000.md (prefetch): New.
553
554 2002-01-15 Andreas Jaeger <aj@suse.de>
555
556 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
557
558 2002-01-15 Kazu Hirata <kazu@hxi.com>
559
560 * mips-tfile.c: Fix formatting.
561
562 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
563
564 * unroll.c (final_reg_note_copy): Fix previous commit.
565
566 2002-01-14 Kazu Hirata <kazu@hxi.com>
567
568 * config/h8300/h8300-protos.h: Remove the prototype for
569 eq_operator.
570 * config/h8300/h8300.c (eq_operator): Remove.
571
572 2002-01-14 Richard Henderson <rth@redhat.com>
573
574 * config/i386/i386.md (prefetch): Tidy.
575 (prefetch_3dnow): Fix locality operand.
576
577 2002-01-14 Richard Henderson <rth@redhat.com>
578
579 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
580 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
581
582 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
583
584 * reload1.c (reload_combine): Pass reg_sum replacement through
585 copy_rtx in loop performing multiple changes.
586
587 2002-01-14 Jakub Jelinek <jakub@redhat.com>
588
589 * except.c (remove_unreachable_regions): New.
590 (free_eh_status): Clear exception_handler_labels.
591 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
592 (find_exception_handler_labels): Don't add the same label more than
593 once.
594 (remove_exception_handler_label): Don't die if
595 find_exception_handler_labels hasn't been called for the current
596 function yet.
597
598 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
599
600 * toplev.c (rest_of_compilation): Rebuild jump labels after
601 gcse.
602
603 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
604
605 * doc/extend.texi: Move documentation of X86 built-in functions
606 here.
607 * doc/invoke.texi: From here.
608 * doc/sourcebuild.texi: Document location of documentation for
609 machine built-in functions.
610
611 2002-01-13 Christopher Faylor <cgf@redhat.com>
612
613 * cppfiles.c (TEST_THRESHOLD): New macro.
614 (SHOULD_MMAP): Ditto.
615 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
616 be used.
617
618 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
619
620 * unroll.c (final_reg_note_copy): Properly handle
621 REG_LABEL
622 (unroll_loops): Fix LOOP_CONDITION heuristics.
623
624 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
625
626 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
627 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
628
629 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
630
631 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
632 threaded loop.
633
634 2002-01-14 Tom Rix <trix@redhat.com>
635
636 * config/rs6000/rs6000.md: Fix typo with sradi.
637
638 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
639
640 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
641 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
642 (clrstrdi, clrstrsi): Adapt callers.
643
644 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
645
646 (movti splitter): Never use register 0 as base register.
647
648 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
649
650 * combine.c (simplify_shift_const): Always generate new rtx
651 for shift expression instead of reusing given expression.
652
653 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
654
655 * config/alpha/alpha.c (alpha_expand_mov): Don't call
656 alpha_legitimize_address unless mode is Pmode.
657
658 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
659
660 * doc/md.texi (Modifiers): Document the '*' constraint for the
661 user.
662
663 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
664 * doc/extend.texi (Function Attributes): 'interrupt' is valid
665 for xstormy16 too.
666
667 2002-01-13 Richard Henderson <rth@redhat.com>
668
669 * reload.c (find_reloads): Use a hard reg destination as reload reg
670 for an input reload of the source.
671
672 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
673
674 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
675 more generic.
676
677 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
678
679 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
680 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
681
682 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
683
684 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
685
686 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
687
688 2002-01-12 Tom Rix <trix@redhat.com>
689
690 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
691 TARGET_POWERPC64.
692
693 2002-01-12 Richard Henderson <rth@redhat.com>
694
695 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
696
697 * doc/invoke.texi: Update Alpha options.
698
699 * doc/invoke.texi: Update i386 built-in function lists.
700
701 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
702
703 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
704 referencing outside.
705
706 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
707
708 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
709 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
710 offsets, and change line folding.
711 * optabs.c (expand_binop): Remove warnings.
712 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
713
714 2002-01-12 Graham Stott <grahams@redhat.com>
715
716 * attribs.c (handle_deprecated_attribute): constify WHAT.
717 * diagnostic.c (warn_deprecated_use): Add braces, fixes
718 dangling else warning and constify WHAT.
719 * except.h (struct function, struct inline_remap): Move
720 struct tag forward defs before all prototypes.
721 (duplicate_eh_regions): Whitespace.
722
723 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
724
725 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
726 MODE_BASE_REG_CLASS.
727 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
728
729 2002-01-12 Richard Henderson <rth@redhat.com>
730
731 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
732 (ix86_expand_vector_move): New.
733 (bdesc_2arg): Remove andps, andnps, orps, xorps.
734 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
735 Remove old prefetch builtins. Special case the logicals removed above.
736 (ix86_expand_builtin): Likewise.
737 (safe_vector_operand): Use V4SFmode, not TImode.
738 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
739 (ix86_expand_timode_binop_builtin): New.
740 * config/i386/i386-protos.h: Update.
741 * config/i386/i386.h (enum ix86_builtins): Update.
742 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
743 Use ix86_expand_vector_move in vector move expanders.
744 (movti_internal, movti_rex64): Add xorps alternative.
745 (sse_clrv4sf): Rename and adjust from sse_clrti.
746 (prefetch): Don't work so hard.
747 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
748 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
749 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
750
751 2002-01-11 Richard Henderson <rth@redhat.com>
752
753 * config/i386/mmintrin.h: New file.
754 * config/i386/xmmintrin.h: New file.
755 * config.gcc (i?86-*-*): Add extra_headers.
756 * simplify-rtx.c (simplify_unary_operation): Handle saturating
757 truncation codes.
758 (simplify_binary_operation): Handle saturating arithmetic codes.
759 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
760 not the lowpart subreg.
761 (ix86_expand_builtin): Return a TImode dummy register instead of 0
762 on error.
763 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
764
765 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
766
767 * conflict.c (conflict_graph_compute): Free regsets when finished.
768 * ssa.c (compute_coalesced_reg_partition): Likewise.
769
770 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
771
772 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
773 every where we allocate a register.
774
775 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
776
777 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
778 * lcm.c (compute_earliest, compute_farthest): Likewise.
779
780 2002-01-11 Janis Johnson <janis187@us.ibm.com>
781
782 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
783
784 2002-01-11 Janis Johnson <janis187@us.ibm.com>
785
786 * doc/rtl.texi (Insns): Fix 2 typos.
787
788 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
789
790 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
791 options. Use @table @gcctabopt for MMIX options. Add index
792 entries for MMIX options. Start new paragraph with first
793 heading of the machine-dependent options.
794
795 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
796
797 PR other/5299
798 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
799 * combine.c (force_to_mode): Same.
800 * reload1.c (clear_reload_reg_in_use): Same.
801
802 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
803
804 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
805 and 'subtargets'.
806
807 2002-01-11 Andreas Jaeger <aj@suse.de>,
808 Brad Lucier <lucier@math.purdue.edu>
809
810 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
811 mcpu.
812
813 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
814
815 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
816 Protect with IN_LIBGCC.
817 (LINK_EH_SPEC): Add required trailing space.
818
819 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
820
821 * c-tree.h: Move function declarations so that they are listed
822 under the filename which contains them.
823 (check_identifier, finish_decl_top_level,
824 lookup_name_current_level_global, shadow_record_fields): Remove.
825
826 2002-01-11 Andreas Jaeger <aj@suse.de>
827
828 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
829 march.
830
831 2002-01-10 Richard Henderson <rth@redhat.com>
832
833 * config/alpha/alpha.c (print_operand): Add 'J'.
834 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
835 new operand with the sequence number for the lituse. When splitting
836 the insns, use gen_movdi_er_high_g and generate a sequence number.
837 (gen_movdi_er_high_g): Print the sequence number if non-zero.
838
839 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
840
841 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
842 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
843 stvxl.
844 (altivec_expand_builtin): Same.
845 (altivec_expand_stv_builtin): New.
846
847 * config/rs6000/rs6000.h (rs6000_builtins): Same.
848
849 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
850 ("altivec_lvehx"): New.
851 ("altivec_lvewx"): New.
852 ("altivec_lvxl"): New.
853 ("altivec_lvx"): New.
854 ("altivec_stvx"): New.
855 ("altivec_stvebx"): New.
856 ("altivec_stvehx"): New.
857 ("altivec_stvewx"): New.
858 ("altivec_stvxl"): New.
859
860 2002-01-10 Richard Henderson <rth@redhat.com>
861
862 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
863 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
864 care not to delete instructions twice.
865
866 2002-01-10 Zack Weinberg <zack@codesourcery.com>
867
868 * toplev.c: Don't declare environ (it's not used anywhere).
869 * configure.in: Don't check for declaration of environ.
870 * config/i386/xm-mingw32.h: Don't #define environ.
871 * config.in, configure: Regenerate.
872
873 2002-01-10 Zack Weinberg <zack@codesourcery.com>
874
875 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
876 * configure: Regenerate.
877
878 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
879 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
880 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
881 alpha/xm-vms.h.
882 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
883 LIMITS_H_TEST here, not in m68k/x-next.
884 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
885 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
886
887 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
888 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
889 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
890
891 * config/i386/x-djgpp: Renamed i386/t-djgpp.
892 * config/m88k/x-dolph: Renamed m88k/t-dolph.
893 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
894 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
895 replacement of quadlib.asm with quadlib.c.
896
897 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
898 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
899 config/rs6000/xm-beos.h: Delete file.
900
901 * config.gcc: Update to match above changes.
902
903 2002-01-10 Kazu Hirata <kazu@hxi.com>
904
905 * config/h8300/h8300.h: Fix comment typos.
906 * config/h8300/h8300.md: Likewise.
907 * config/h8300/lib1funcs.asm: Likewise.
908
909 2002-01-10 Dale Johannesen <dalej@apple.com>
910
911 PR optimization/5269
912 * unroll.c (precondition_loop_p): Make *increment be the correct
913 sign when n_iterations known, to avoid confusing caller.
914
915 2002-01-10 Kazu Hirata <kazu@hxi.com>
916
917 * doc/extend.texi (deprecated): Fix a typo.
918
919 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
920
921 * basic-block.h (update_br_prob_note): Declare.
922 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
923 (try_forward_edges): Care negative frequencies and update note.
924 (outgoing_edges_match): Tweek conditional merging heuristics.
925 (try_crossjump_to_edge): use update_br_prob_note.
926 * cfglayout.c (fixup_reorder_chain): Likewise.
927 * cfrtl.c (update_br_prob_note): New.
928 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
929
930 * i386.c (ix86_decompose_address): Return -1 if address contains
931 shift.
932 (legitimate_address_p): Require ix86_decompose_address to return 1.
933
934 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
935 (cprop_insn): Likewise.
936
937 2002-01-10 Kazu Hirata <kazu@hxi.com>
938
939 * toplev.c: Fix formatting.
940 * tree.c: Likewise.
941 * tree-dump.c: Likewise.
942 * unroll.c: Likewise.
943 * unwind-dw2.c: Likewise.
944 * unwind-dw2-fde.c: Likewise.
945 * unwind-dw2-fde-glibc.c: Likewise.
946 * unwind-sjlj.c: Likewise.
947
948 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
949
950 * doc/invoke.texi: Document PDP-11 options.
951
952 2002-01-10 Kazu Hirata <kazu@hxi.com>
953
954 * config/h8300/h8300.h: Fix formatting.
955
956 2001-01-10 Ira Ruben <ira@apple.com>
957
958 Add __attribute__ ((deprecated)).
959 * extend.texi: Document __attribute__ ((deprecated)).
960 * invoke.texi: Document -Wno-deprecated-declarations.
961 * testsuite/g++.dg/other/deprecated.C: New C++ test.
962 * testsuite/gcc.dg/deprecated.c: New C test.
963 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
964 (c_common_attribute_table): Add "deprecated" entry.
965 (handle_deprecated_attribute): New function.
966 * c-decl.c (deprecated_states): New enum.
967 deprecated_state: State of "deprecated" handling.
968 (start_decl): Set deprecated_state based on attributes.
969 (grokdeclarator): Test for deprecated uses, propagate attribute.
970 * c-typeck.c (build_component_ref): Test for deprecated fields.
971 (build_external_ref): Test for deprecated primaries.
972 * diagnostic.c (warn_deprecated_use) New function to issue
973 warnings about __attribute__ ((depricated)) references.
974 * flags.h (warn_deprecated_decl): Extern declared for
975 -W[no-]deprecated-declarations option.
976 * print-tree.c (print_node): Show deprecated flag status.
977 * toplev.c (warn_deprecated_decl): Defined.
978 (W_options): Added "deprecated-declaration".
979 * toplev.h (warn_deprecated_use): Extern declared.
980 * tree.h (struct tree_common): Define deprecated_flag.
981 (TREE_DEPRECATED): New macro to access flag.
982 * cp/call.c (build_call): Test for deprecated calls.
983 * cp/class.c (add_implicitly_declared_members): Set global
984 flag to tell grokdeclarator to not issue deprecated warnings.
985 * cp/cp-tree.h: Add extern for adding_implicit_members.
986 * cp/decl.c (deprecated_states): New enum.
987 (start_decl): Set deprecated_state based on attributes.
988 (grokdeclarator): Test for deprecated uses, propagate attribute.
989 * cp/lex.c (do_identifier): Test for deprecated primaries.
990 * cp/typeck.c (build_component_ref): Test for deprecated fields.
991
992 2001-01-10 Ira Ruben <ira@apple.com>
993
994 Fix to assign attributes to inline member functions.
995 * cp/decl.c (start_method): Handle attrlist.
996
997 2002-01-10 Kazu Hirata <kazu@hxi.com>
998
999 * combine.c (expand_field_assignment): Use subreg_lsb().
1000
1001 2002-01-10 David Edelsohn <edelsohn@gnu.org>
1002
1003 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1004 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1005 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1006 Recurse for any operand of AND as long as constant is non-zero.
1007
1008 2002-01-10 Kazu Hirata <kazu@hxi.com>
1009
1010 * config/h8300/h8300.md: Remove constraints from expanders.
1011
1012 2002-01-10 Kazu Hirata <kazu@hxi.com>
1013
1014 * varasm.c: Fix formatting.
1015 * varray.c: Likewise.
1016 * vmsdbgout.c: Likewise.
1017 * xcoffout.c: Likewise.
1018
1019 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1020
1021 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
1022 update edge probabilities to match.
1023
1024 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1025
1026 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1027 dependencies.
1028 * doc/languages.texi, doc/sourcebuild.texi: New files.
1029 * doc/configfiles.texi: Make a subsubsection. Update.
1030 * doc/configterms.texi: Add @node. Remove warning that this isn't
1031 instructions for building GCC.
1032 * doc/makefile.texi: Make a subsection.
1033 * doc/gccint.texi: Update.
1034
1035 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1036
1037 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1038
1039 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1040
1041 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1042
1043 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1044
1045 * optabs.c (expand_fix): Look for wider integer modes first.
1046
1047 * i386.md (mov?f): Avoid the fake const double trick for medium
1048 memory model.
1049 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1050 (fop_df_4): Disable for SSE compilation.
1051
1052 2002-01-10 Graham Stott <grahams@redhat.com>
1053
1054 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
1055 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
1056
1057 2002-01-10 Richard Henderson <rth@redhat.com>
1058
1059 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1060
1061 2002-01-10 Richard Henderson <rth@redhat.com>
1062
1063 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1064 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1065
1066 2002-01-10 Kazu Hirata <kazu@hxi.com>
1067
1068 * combine.c (can_combine_p): Fix a comment typo.
1069
1070 2002-01-09 Zack Weinberg <zack@codesourcery.com>
1071
1072 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1073 empty list correctly. Change loop index $t to $f for
1074 consistency with rest of Makefile.
1075
1076 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
1077
1078 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1079 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1080
1081 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1082 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1083 (altivec_init_builtins): Same.
1084 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1085 (altivec_expand_binop_builtin): Same.
1086 (altivec_expand_ternop_builtin): Same.
1087 (bdesc_dst): New.
1088
1089 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1090 ("altivec_vctuxs"): Fix typo.
1091 ("altivec_vnmsubfp"): Same.
1092 ("altivec_dssall"): New.
1093 ("altivec_mfvscr"): New.
1094 ("altivec_dss"): New.
1095 ("altivec_lvsl"): New.
1096 ("altivec_lvsr"): New.
1097 ("altivec_dstt"): New.
1098 ("altivec_dstst"): New.
1099 ("altivec_dststt"): New.
1100 ("altivec_dst"): New.
1101
1102 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1103 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1104
1105 2002-01-09 Richard Henderson <rth@redhat.com>
1106
1107 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1108
1109 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1110
1111 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1112 function.
1113 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1114 prototype.
1115 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
1116
1117 2002-01-09 Kazu Hirata <kazu@hxi.com>
1118
1119 * read-rtl.c: Fix formatting.
1120 * real.c: Likewise.
1121 * regclass.c: Likewise.
1122 * regrename.c: Likewise.
1123 * reg-stack.c: Likewise.
1124 * reload1.c: Likewise.
1125 * reload.c: Likewise.
1126 * rtl.c: Likewise.
1127
1128 2002-01-09 Kazu Hirata <kazu@hxi.com>
1129
1130 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1131 to extract items in the expr_list chain.
1132
1133 2002-01-09 Richard Henderson <rth@redhat.com>
1134
1135 * config/vax/vax.c (vax_rtx_cost): Never abort.
1136
1137 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1138
1139 2002-01-09 Jan Hubicka <jh@suse.cz>
1140
1141 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1142
1143 2002-01-09 Richard Henderson <rth@redhat.com>
1144
1145 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1146 Unify code from various alternatives.
1147
1148 2002-01-09 Richard Henderson <rth@redhat.com>
1149
1150 * regrename.c (copy_value): Ignore the copy if the source register
1151 is present in the value chain with a narrower mode.
1152
1153 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1154
1155 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1156 for the c4x target. Also improve layout.
1157
1158 2002-01-09 Richard Henderson <rth@redhat.com>
1159
1160 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1161 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1162 to match insn patterns.
1163
1164 2002-01-09 Richard Henderson <rth@redhat.com>
1165
1166 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1167 (copyprop_hardreg_forward_1): Likewise.
1168
1169 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1170
1171 * pa.md (decrement_and_branch_until_zero): Change predicate for
1172 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1173
1174 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1175
1176 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1177 gets undefined. For Darwin.
1178
1179 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1180
1181 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1182
1183 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1184
1185 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1186
1187 2002-01-08 Richard Henderson <rth@redhat.com>
1188
1189 * regrename.c (copy_value): Ignore overlapping copies.
1190
1191 2002-01-08 Richard Henderson <rth@redhat.com>
1192
1193 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1194 as needed to avoid shared structure.
1195
1196 2002-01-08 Kazu Hirata <kazu@hxi.com>
1197
1198 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1199 H8/300H and H8/S.
1200
1201 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1202
1203 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1204 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1205 documentation of obsolete macros.
1206 * system.h: Poison these macros.
1207 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1208 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1209 config/c4x/c4x.h, config/clipper/clipper.h,
1210 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1211 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1212 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1213 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1214 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1215 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1216 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1217 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1218 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1219 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1220 config/sparc/sparc.h, config/stormy16/stormy16.h,
1221 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1222 definitions and commented out definitions of obsolete macros.
1223 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1224 of MAX_INT_TYPE_SIZE.
1225
1226 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1227
1228 * config/s390/s390.c (s390_preferred_reload_class): Never
1229 return ADDR_REGS if it isn't a subset of the given class.
1230 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1231 FP_REGS, but all superclasses as well.
1232
1233 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1234
1235 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1236 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1237 must not be a const_int.
1238
1239 2002-01-08 Richard Henderson <rth@redhat.com>
1240
1241 * Makefile.in (toplev.o): Depend on options.h.
1242 (gcc.o): Depend on specs.h.
1243
1244 2002-01-08 Jakub Jelinek <jakub@redhat.com>
1245
1246 * expr.c (store_expr): Convert VOIDmode constants back to target's
1247 mode.
1248
1249 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1250
1251 * doc/invoke.texi: Markup gcc as @command. Refer to
1252 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1253 of http://gcc.gnu.org/thanks.html.
1254
1255 2002-01-08 Dale Johannesen <dalej@apple.com>
1256
1257 * config/rs6000/rs6000.md: Add missing int register
1258 target case to movdf_low.
1259
1260 2002-01-08 Zack Weinberg <zack@codesourcery.com>
1261
1262 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1263 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1264 (cppinit.o): Depend on except.h.
1265 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1266 s-specs): New rules.
1267
1268 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1269 Don't create specs.h/options.h/gencheck.h here. Remove
1270 unnecessary variable settings from last argument of AC_OUTPUT.
1271 * config.in, configure: Regenerate.
1272 * intl.c: Hardcode package name as "gcc".
1273
1274 * cppinit.c: Include except.h.
1275 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1276 appropriate.
1277 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1278 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1279 (!)USING_SJLJ_EXCEPTIONS.
1280 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1281
1282 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1283
1284 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1285 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1286 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1287 documentation of obsolete macros.
1288 * system.h: Poison these macros.
1289 * config/d30v/d30v.h, config/ns32k/encore.h,
1290 config/stormy16/stormy16.h: Remove definitions and commented out
1291 definitions of obsolete macros.
1292
1293 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1294
1295 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1296 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1297 warnings.
1298
1299 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1300
1301 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1302 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1303 to insn adjusting stack/frame pointer.
1304 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
1305 accept operands that cause the insn to be non-splittable.
1306
1307 2002-01-08 Graham Stott <grahams@redhat.com>
1308
1309 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1310 (C_TYPE_FIELDS_VOLATILE): Likewise.
1311 (C_TYPE_BEING_DEFINED): Likewise.
1312 (C_IS_RESERVED_WORD): Likewise.
1313 (C_TYPE_VARIABLE_SIZE): Likewise.
1314 (C_DECL_VARIABLE_SIZE): Likewise.
1315 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1316 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1317 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1318 parenthesis.
1319 (C_DECL_ANTICIPATED): Likewise.
1320 (c_build_type_variant): Add parenthesis.
1321
1322 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1323
1324 * gcc.c (option_map): Remove --version.
1325 (process_command): Handle -fversion following the GNU Coding
1326 Standards. Partially addresses PR other/704.
1327
1328 2002-01-08 Graham Stott <grahams@redhat.com>
1329
1330 * combine.c (combine_instructions): Fix typo.
1331
1332 2002-01-08 Graham Stott <grahams@redhat.com>
1333
1334 * debug.h: Use "tree" and "rtx" throughout.
1335
1336 * debug.c: Likewise.
1337
1338 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1339
1340 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1341 constant pool, use the pool's version of the symbol instead.
1342
1343 2002-01-07 Richard Henderson <rth@redhat.com>
1344
1345 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1346 the original register was copied in a mode with a fewer number of
1347 hard registers than the desired mode.
1348 (copyprop_hardreg_forward_1): Likewise.
1349 (debug_value_data): Fix loop test.
1350 * toplev.c (parse_options_and_default_flags): Reenable
1351 -fcprop-registers at -O1.
1352
1353 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1354
1355 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1356 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
1357
1358 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1359 predicates.
1360
1361 * config/rs6000/rs6000.md: Add altivec predicate patterns.
1362
1363 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1364
1365 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1366 (pa_output_function_prologue): Output local label at the beginning of
1367 the prologue when profiling.
1368 (hppa_profile_hook): Use the local label rather than the function label.
1369 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1370
1371 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1372
1373 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1374 (altivec_expand_unop_builtin): Fix thinko.
1375 (altivec_expand_binop_builtin): Same.
1376 (altivec_expand_ternop_builtin): Same.
1377 (altivec_expand_builtin): Same.
1378
1379 2002-01-07 Richard Henderson <rth@redhat.com>
1380
1381 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1382
1383 2002-01-07 Jason Merrill <jason@redhat.com>
1384
1385 * unwind-dw2.c (execute_cfa_program): Use < again.
1386
1387 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1388
1389 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1390
1391 2002-01-07 Jakub Jelinek <jakub@redhat.com>
1392
1393 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1394 Don't allow -1 - x -> ~x simplifications in the first pass.
1395
1396 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
1397
1398 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1399 arguments.
1400 (altivec_expand_binop_builtin): Same.
1401 (altivec_expand_unop_builtin): Same.
1402 (print_operand): Fix typo.
1403 (bdesc_1arg): Add vupk* variants.
1404
1405 * rs6000.h (rs6000_builtins): Add vupk* enums.
1406
1407 * rs6000.md: Add altivec_vupk* variants.
1408
1409 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1410
1411 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1412 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1413 and last update dates.
1414
1415 2002-01-07 Janis Johnson <janis187@us.ibm.com>
1416
1417 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1418
1419 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1420
1421 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1422 * config/avr/avr.h (CPP_SPEC): Likewise.
1423 (LINK_SPEC): Likewise.
1424 (CRT_BINUTILS_SPECS): Likewise.
1425 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1426 * doc/invoke.texi (AVR Options): Document them.
1427
1428 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1429
1430 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1431 LABEL_NUSES.
1432
1433 2002-01-07 Graham Stott <grahams@redhat.com>
1434
1435 * config/i386/i386.h: Update copyright date.
1436 (HALF_PIC_PTR): Add parenthesis.
1437 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1438 (CONSTANT_ALIGNMENT): Add parenthesis.
1439 (DATA_ALIGNMENT): Likewise.
1440 (LOCAL_ALIGNMENT): Likewise.
1441 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1442 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1443 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1444 (HARD_REGNO_NREGS): Add paranethesis.
1445 (VALID_SSE_REG_MODE): Whitespace.
1446 (VALID_MMX_REG_MODE): Whitespace.
1447 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1448 (ix86_hard_regno_mode_ok): Add parenthesis.
1449 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1450 (RETURN_IN_MEMORY): Whitespace.
1451 (N_REG_CLASSES): Add parenthesis.
1452 (INTEGER_CLASS_P): Add parenthesis and wrap.
1453 (FLOAT_CLASS_P): Likewise.
1454 (SSE_CLASS_P): Likewise.
1455 (MMX_CLASS_P): Likewise.
1456 (MAYBE_INTEGER_CLASS_P): Likewise.
1457 (MAYBE_FLOAT_CLASS_P): Likewise.
1458 (MAYBE_SSE_CLASS_P): Likewise.
1459 (MAYBE_MMX_CLASS_P): Likewise.
1460 (Q_CLASS_P): Likewise.
1461 (GENERAL_REGNO_P): Uppercase macro parameter.
1462 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1463 (FP_REGNO_P): Likewise.
1464 (ANY_FP_REGNO_P): Uppercase macro parameter.
1465 (SSE_REGNO_P): Likewise.
1466 (SSE_REGNO): Likewise.
1467 (SSE_REG_P): Likewise.
1468 (SSE_FLOAT_MODE_P): Likewise.
1469 (MMX_REGNO_P): Likewise.
1470 (MMX_REG_P):Likewise.
1471 (STACK_REG_P): Likewise.
1472 (NON_STACK_REG_P): Likewise.
1473 (STACK_TOP_P): Likewise.
1474 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1475 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1476 (SECONDARY_MEMORY_NEEDED): Likewise.
1477 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1478 (MD_ASM_CLOBBERS): Whitespace and wrap.
1479 (MUST_PASS_IN_STACK): Whitespace and wrap.
1480 (RETURN_POPS_ARGS): Add parenthesis.
1481 (INIT_CUMULATIVE_ARGS): Likewise.
1482 (FUNCTION_ARG): Likewise.
1483 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1484 (SETUP_INCOMING_VARARGS): Likewise.
1485 (BUILD_VA_LIST_TYPE): Add parenthesis.
1486 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1487 parenthsis.
1488 (EXPAND_BUILTIN_VA_ARG): Likewise.
1489 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1490 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1491 (INITIAL_ELIMINATION_OFFSET): Likewise.
1492 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1493 (REGNO_OK_FOR_BASE_P): Likewise.
1494 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1495 (REGNO_OK_FOR_DIREG_P): Likewise.
1496 (REG_OK_FOR_INDEX_P): Whitespace.
1497 (REG_OK_FOR_BASE_P): Whitespace.
1498 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1499 parenthesis.
1500 (FIND_BASE_TERM): Fix typo.
1501 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1502 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1503 (SYMBOLIC_CONST; Whitespace.
1504 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1505 (ENCODE_SECTION_INFO): Whitespace.
1506 (FINALIZE_PIC): Remove do { ... } while (0).
1507 (PROMOTE_MODE): Wrap in do { ... } while (0).
1508 (CONST_COSTS): Whitespace.
1509 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1510 (REGISTER_MOVE_COST): Add parenthesis.
1511 (MEMORY_MOVE_COST): Likewise.
1512 (EXTRA_CC_MODES): Whitespace.
1513 (SELECT_CC_MODE): Add parenthesis and whitespace.
1514 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1515 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1516 (ASM_OUTPUT_LABEL): Add paramethesis.
1517 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1518 (ASM_OUTPUT_REG_POP): Likewise.
1519 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1520 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
1521
1522 * config/i386/i386.c: Update copyright.
1523 (CHECK_STACK_LIMIT): Add parenthesis.
1524 (AT_BP): Uppercase macro parameter.
1525 (x86_64_int_parameter_registers): Constify.
1526 (x86_64_int_return_registers): Likewise.
1527 (ix86_compare_op0): Use rtx.
1528 (construct_container): Constify INTREG parameter.
1529 (function_arg): Use rtx.
1530
1531 * diagnostic.h: Update copyright date.
1532 (output_buffer_state): Add parenthesis.
1533 (output_buffer_format_args): Likewise.
1534
1535 * combine.c (combine_instructions): Replace XEXP (links, 0)
1536 with link.
1537
1538 2002-01-06 H.J. Lu <hjl@gnu.org>
1539
1540 * cfgcleanup.c (thread_jump): Fix 2 typos.
1541
1542 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
1543
1544 * config.gcc: Add support for --enable-altivec.
1545
1546 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1547
1548 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1549
1550 2002-01-06 Jakub Jelinek <jakub@redhat.com>
1551
1552 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1553 __objc_class_name_*.
1554
1555 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1556
1557 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1558
1559 2002-01-06 Richard Henderson <rth@redhat.com>
1560
1561 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1562 nop them out. Increment label reference count for REG_LABEL.
1563 (fill_slots_from_thread): Frob label reference count around
1564 delete_related_insns.
1565
1566 2002-01-05 Richard Henderson <rth@redhat.com>
1567
1568 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1569 jump threading.
1570
1571 2002-01-05 Richard Henderson <rth@redhat.com>
1572
1573 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1574 * integrate.c (output_inline_function): Likewise.
1575 * toplev.c (rest_of_compilation): Do it here instead. Move call
1576 to remove_unnecessary_notes after emitting abstract instance.
1577 Force an emitted nested function to have its parent emited as well.
1578 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1579 for null.
1580 (rtl_for_decl_location): Do not look at reload data structures
1581 before reload has run.
1582
1583 2002-01-05 Kazu Hirata <kazu@hxi.com>
1584
1585 * cse.c: Fix formatting.
1586 * dwarf2asm.c: Likewise.
1587 * dwarf2out.c: Likewise.
1588 * explow.c: Likewise.
1589 * expmed.c: Likewise.
1590 * function.c: Likewise.
1591 * gcov.c: Likewise.
1592 * gencheck.c: Likewise.
1593 * genrecog.c: Likewise.
1594 * ggc-common.c: Likewise.
1595 * ggc-page.c: Likewise.
1596 * global.c: Likewise.
1597
1598 2002-01-05 Kazu Hirata <kazu@hxi.com>
1599
1600 * combine.c: Fix formatting.
1601
1602 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1603
1604 PR middle-end/1557
1605 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1606
1607 2002-01-05 David Edelsohn <edelsohn@gnu.org>
1608
1609 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1610 as 1 for __powerpc64__ as well.
1611
1612 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1613
1614 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1615 return it.
1616
1617 2002-01-05 Daniel Berlin <dan@dberlin.org>
1618
1619 * lcm.c: Revert change, due to performance regression it causes on
1620 SPEC because it's slightly more conservative (sigh, I hate
1621 edge-based LCM).
1622
1623 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1624
1625 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1626
1627 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1628
1629 * doc/cppinternals.texi: Update.
1630
1631 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1632
1633 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1634 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1635 negatives.
1636 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1637 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1638 kludge for pre-october-14th mmix versions to handle new-found bug
1639 with PUSHJ/PUSHGO and the register stack.
1640 * config/mmix/mmix.h (struct machine_function): Rename member
1641 has_call_value_without_parameters to has_call_without_parameters.
1642 All referers changed.
1643 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1644 TARGET_MASK_BRANCH_PREDICT): New macros.
1645 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1646 -mno-reg-stack-fill-bug-workaround.
1647 * config/mmix/mmix.md ("call"): Set struct machine member
1648 has_call_without_parameters.
1649
1650 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1651
1652 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1653
1654 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1655
1656 * cfgcleanup.c: Include tm_p.h
1657 (mark_effect): Fix handling of hard register; fix handling of SET
1658
1659 2002-01-04 Kazu Hirata <kazu@hxi.com>
1660
1661 * config/h8300/h8300.md (anonymous patterns): Check that
1662 operands are registers before using REGNO on them.
1663
1664 2002-01-03 Roland McGrath <roland@frob.com>
1665
1666 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1667
1668 2002-01-04 Jakub Jelinek <jakub@redhat.com>
1669
1670 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1671 * c-common.h (genrtl_expr_stmt_value): Likewise.
1672 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1673 (expand_expr_stmt_value): Add maybe_last argument.
1674 Don't warn about statement with no effect if it is the last statement
1675 in expression statement.
1676 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1677 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1678 expand_expr_stmt_value.
1679 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1680 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1681 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1682 as maybe_last to expand_expr_stmt_value.
1683
1684 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1685
1686 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1687 be passed in, do not build it.
1688 (c_begin_if_stmt): New function.
1689 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1690 * c-common.h (c_expand_start_cond): Update prototype.
1691 (c_begin_if_stmt): Prototype new function.
1692 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1693 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1694 c_begin_while_stmt and c_finish_while_stmt_cond.
1695
1696 2002-01-04 William Cohen <wcohen@redhat.com>
1697
1698 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1699 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1700 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1701 * config/pa/som.h (ASM_FILE_START): Likewise.
1702
1703 2001-01-04 Daniel Berlin <dan@cgsoftware.com>
1704
1705 * lcm.c: Include df.h.
1706 Add available_transfer_function prototype.
1707 (compute_available): Rework to use iterative dataflow framework.
1708 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1709 with bb_info in df.h
1710 (available_transfer_function): New function.
1711
1712 * Makefile.in (lcm.o): add df.h to dependencies.
1713
1714 2002-01-04 Richard Henderson <rth@redhat.com>
1715
1716 * config/alpha/alpha.c (some_operand): Accept HIGH.
1717 (input_operand): Likewise; accept simple references to globals.
1718 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1719 (alpha_const_double_ok_for_letter_p): Likewise.
1720 (alpha_extra_constraint): Likewise.
1721 (alpha_preferred_reload_class): Likewise. Do not force
1722 symbolic constants to memory.
1723 (alpha_legitimate_address_p): Accept simple references
1724 to small_symbolic_operand.
1725 (alpha_legitimize_address): New arg scratch. Be prepared to be
1726 called when no_new_pseudos. Emit simple symbolic references.
1727 Split integers into low, high, and rest.
1728 (alpha_expand_mov): Use alpha_legitimize_address.
1729 (some_small_symbolic_mem_operand): New.
1730 (split_small_symbolic_mem_operand): New.
1731 * config/alpha/alpha-protos.h: Update.
1732 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1733 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
1734 (EXTRA_CONSTRAINT): Likewise.
1735 (PREFERRED_RELOAD_CLASS): Likewise.
1736 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
1737 (PREDICATE_CODES): Update.
1738 * config/alpha/alpha.md: New post-reload splitters to convert
1739 simplfied symbolic operands to the form that references $29.
1740 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
1741 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
1742
1743 2002-01-03 Richard Henderson <rth@redhat.com>
1744
1745 * local-alloc.c (function_invariant_p): Update commentary.
1746
1747 2002-01-04 H.J. Lu <hjl@gnu.org>
1748
1749 * toplev.c (rest_of_compilation): Fix a typo when calling
1750 cleanup_cfg.
1751
1752 2002-01-03 Kazu Hirata <kazu@hxi.com>
1753
1754 * c-common.c: Fix formatting.
1755 * diagnostic.c: Likewise.
1756 * doloop.c: Likewise.
1757 * dwarf2out.c: Likewise.
1758
1759 2002-01-03 Kazu Hirata <kazu@hxi.com>
1760
1761 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
1762 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
1763
1764 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1765
1766 * cpperror.c: Update comments and copyright.
1767 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
1768 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
1769
1770 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1771
1772 * collect2.c (main): Use strcmp when testing for "-shared".
1773
1774 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
1775
1776 * cppmacro.c: Don't include intl.h. Update comments.
1777 (new_number_token): Allocate enough buffer for 64-bit unsigned
1778 integers; update prototype.
1779 * cppmain.c: Update comments.
1780
1781 2002-01-03 William Cohen <wcohen@redhat.com>
1782
1783 * function.h (struct function): Add profile.
1784 (current_function_profile): New.
1785 doc/extend.texi: Update documentation.
1786 * final.c (final_start_function): Use current_function_profile
1787 instead of profile_flag.
1788 (profile_after_prologue): Likewise.
1789 * function.c (expand_function_start): Likewise.
1790 (expand_function_start): Likewise.
1791 * config/alpha/alpha.c (direct_call_operand):
1792 (alpha_does_function_need_gp): Likewise.
1793 (alpha_expand_prologue): Likewise.
1794 * config/arm/arm.c (arm_expand_prologue): Likewise.
1795 thumb_expand_prologue: Likewise.
1796 * config/d30v/d30v.c (d30v_stack_info): Likewise.
1797 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
1798 (fr30_expand_prologue): Likewise.
1799 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
1800 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
1801 * config/i386/i386.h (FINALIZE_PIC): Likewise.
1802 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
1803 * config/i960/i960.c (i960_output_function_prologue): Likewise.
1804 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
1805 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
1806 (m32r_expand_prologue): Likewise.
1807 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
1808 (m88k_expand_prologue): Likewise.
1809 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
1810 * config/mips/mips.c (compute_frame_size): Likewise.
1811 (mips_expand_prologue): Likewise.
1812 (mips_can_use_return_insn): Likewise.
1813 * config/pa/elf.h (ASM_FILE_START): Likewise.
1814 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1815 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1816 * config/pa/som.h (ASM_FILE_START): Likewise.
1817 * config/romp/romp.c (romp_using_r14): Likewise.
1818 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
1819 (rs6000_stack_info): Likewise.
1820 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
1821 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
1822 * config/v850/v850.c (compute_register_save_size): Likewise.
1823
1824 2002-01-03 Jakub Jelinek <jakub@redhat.com>
1825
1826 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
1827 gen_lowpart_common fails, use gen_lowpart_SUBREG.
1828
1829 2002-01-03 Turly O'Connor <turly@apple.com>
1830
1831 * darwin.c (machopic_output_possible_stub_label): Don't generate
1832 stub routines for pseudo-stubs which we've just defined.
1833
1834 2002-01-03 Kazu Hirata <kazu@hxi.com>
1835
1836 * builtins.c: Fix formatting.
1837 * c-typeck.c: Likewise.
1838 * combine.c: Likewise.
1839 * expr.c: Likewise.
1840 * loop.c: Likewise.
1841
1842 2002-01-03 Andreas Schwab <schwab@suse.de>
1843
1844 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
1845 and return true if _cpp_push_next_buffer pushed a new include
1846 file.
1847 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
1848 _cpp_pop_file_buffer did not push a new file.
1849 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
1850
1851 2002-01-02 Eric Christopher <echristo@redhat.com>
1852
1853 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
1854 FIND_REG_INC_NOTE call. Update copyright.
1855 * loop.c (canonicalize_condition): Ditto.
1856 * reorg.c (delete_scheduled_jump): Ditto.
1857
1858 2002-01-03 Kazu Hirata <kazu@hxi.com>
1859
1860 * gcse.c: Fix formatting.
1861
1862 2002-01-03 Graham Stott <grahams@redhat.com>
1863
1864 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
1865 forward defs for struct tags rtx_def, union_tree, rtvec_def
1866 also output corresponding typedefs for rtx, tree, and rtvec.
1867
1868 * system.h: Move forward defs for struct tags rtx_def, union_tree,
1869 rtvec_def along with corresponding typedefs for rtx, tree, and
1870 rtvec to config.h, hconfig.h, tconfig.h.
1871
1872 2002-01-03 Graham Stott <grahams@redhat.com>
1873
1874 * tree.h: Update copyright date.
1875 (IS_EXPR_CODE_CLASS): Add parenthesis.
1876 (TREE_SET_CODE): Add whitespace.
1877 (TREE_CHECK): Add parenthesis.
1878 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
1879 (CST_OR_CONSTRUCTOR_CHECK):
1880 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
1881 (TREE_SYMBOL_REFERENCED): Whitespace.
1882 (INT_CST_LT): Likewise.
1883 (INT_CST_LT_UNSIGNED): Likewise.
1884 (tree_real_cst): Unwrap comment.
1885 (tree_string): Likewise.
1886 (tree_complex): Likewise.
1887 (IDENTIFIER_POINTER): correct cast.
1888 (SAVE_EXPR_CONTEXT): Whitespace.
1889 (EXPR_WFL_FILENAME_NODE): Likewise.
1890 (EXPR_WFL_FILENAME): Remove parenthesis.
1891 (DECL_ORIGIN): Add parenthesis.
1892 (DECL_FROM_INLINE): Use NULL_TREE.
1893 (build_int_2): Whitespace.
1894 (build_type_variant): Add parenthesis.
1895
1896 * gcc/jcf-parse.c: Update copyright date.
1897 (yyparse): Constify resource_filename.
1898
1899 2002-01-03 Graham Stott <grahams@redhat.com>
1900
1901 * rtl.h: Update copyright date.
1902 (RTL_CHECK1): Wrap long line.
1903 (RTL_CHECK2): Likewise.
1904 (RTL_CHECKC1): Wrap long line and whitespace.
1905 (RTL_CHECKC2): Likewise.
1906 (XWINT): Whitespace.
1907 (XINT): Likewise.
1908 (XSTR): Likewise.
1909 (XEXP): Likewise.
1910 (XVEC): Likewise.
1911 (XMODE): Likewise.
1912 (XBITMAP): Likewise.
1913 (XTREE): Likewise.
1914 (XBBDEF): Likewise.
1915 (XTMPL): Likewise.
1916 (X0WINT): Likewise.
1917 (X0INT):Likewise.
1918 (X0UINT): Likewise.
1919 (X0STR): Likewise.
1920 (X0EXP): Likewise.
1921 (X0VEC): Likewise.
1922 (X0MODE): Likewise.
1923 (X0BITMAP): Likewise.
1924 (X0TREE): Likewise.
1925 (X0BBDEF): Likewise.
1926 (X0ADVFLAGS): Likewise.
1927 (X0CSELIB): Likewise.
1928 (X0MEMATTR): Likewise.
1929 (XCWINT): Likewise.
1930 (XCINT): Likewise.
1931 (XCUINT): Likewise.
1932 (XCSTR): Likewise.
1933 (XCEXP): Likewise.
1934 (XCVEC): Likewise.
1935 (XCMODE): Likewise.
1936 (XCBITMAP): Likewise.
1937 (XCTREE): Likewise.
1938 (XCBBDEF): Likewise.
1939 (XCADVFLAGS): Likewise.
1940 (XCCSELIB): Likewise.
1941 (XC2EXP): Likewise.
1942 (INSN_UID): Likewise.
1943 (PREV_INSN): Likewise.
1944 (PATTERN): Likewise.
1945 (INSN_CODE): Likewise.
1946 (PUT_REG_NOTE_KIND): Likewise.
1947 (CODE_LABEL_NUMBER): Likewise.
1948 (NOTE_SOURCE_FILE): Likewise.
1949 (NOTE_BLOCK): Likewise.
1950 (NOTE_EH_HANDLER): Likewise.
1951 (NOTE_RANGE_INFO): Likewise.
1952 (NOTE_LIVE_INFO): Likewise.
1953 (NOTE_BASIC_BLOCK): Likewise.
1954 (NOTE_EXPECTED_VALUE): Likewise.
1955 (NOTE_LINE_NUMBER): Likewise.
1956 (LABEL_NAME): Likewise.
1957 (LABEL_NUSES): Likewise.
1958 (LABEL_ALTERNATE_NAME): Likewise.
1959 (ADDRESSOF_DECL): Likewise.
1960 (JUMP_LABEL): Likewise.
1961 (LABEL_NEXTREF): Likewise.
1962 (REGNO): Likewise.
1963 (ORIGINAL_REGNO: Likewise.
1964 (HARD_REGISTER_NUM_P): Add parenthesis.
1965 (SUBREG_REG): Whitespace.
1966 (SUBREG_BYTE): Likewise.
1967 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
1968 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
1969 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
1970 (ASM_OPERANDS_INPUT_VEC): Likewise.
1971 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
1972 (ASM_OPERANDS_INPUT): Likewise.
1973 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
1974 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
1975 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
1976 (ASM_OPERANDS_INPUT_MODE): Likewise.
1977 (ASM_OPERANDS_SOURCE_FILE): Likewise.
1978 (ASM_OPERANDS_SOURCE_LINE): Likewise.
1979 (MEM_SET_IN_STRUCT_P): Minor reformat.
1980 (TRAP_CONDITION): Whitespace.
1981 (TRAP_CODE): Likewise.
1982 (COND_EXEC_TEST): Likewise.
1983 (COND_EXEC_CODE): Likewise.
1984 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
1985 (PHI_NODE_P): Add parenthesis.
1986 (plus_constant): Whitespace and add parenthesis.
1987
1988 2002-01-03 Kazu Hirata <kazu@hxi.com>
1989
1990 * config/avr/avr.c: Fix comment typos.
1991 * config/c4x/c4x.md: Likewise.
1992 * config/dsp16xx/dsp16xx.h: Likewise.
1993 * config/dsp16xx/dsp16xx.md: Likewise.
1994 * config/i386/i386.md: Likewise.
1995 * config/ia64/ia64.c: Likewise.
1996 * config/m32r/m32r.h: Likewise.
1997 * config/m68hc11/m68hc11.md: Likewise.
1998 * config/mmix/mmix.c: Likewise.
1999 * config/mn10200/mn10200.c: Likewise.
2000 * config/romp/romp.c: Likewise.
2001 * config/sh/sh.c: Likewise.
2002 * config/stormy16/stormy16.c: Likewise.
2003 * config/stormy16/stormy16.h: Likewise.
2004 * config/stormy16/stormy16.md: Likewise.
2005
2006 2002-01-03 Graham Stott <grahams@redhat.com>
2007
2008 * loop.h: Update copyright date.
2009 (LOOP_MOVABLES): Fix typo.
2010 (LOOP_REGS): Likewise.
2011 (LOOP_IVS): Likewise.
2012
2013 2002-01-03 Graham Stott <grahams@redhat.com>
2014
2015 * cppinit.c: Update copyright date.
2016 Don't include output.h
2017 * Makefile.in: Update copyright date.
2018 Update dependency.
2019
2020 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2021
2022 PR c/5226
2023 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2024 (-pthread) Add to RS/6000 options.
2025
2026 2002-01-02 Kazu Hirata <kazu@hxi.com>
2027
2028 * except.c: Fix comment typos.
2029 * loop.c: Likewise.
2030 * varasm.c: Likewise.
2031 * doc/tm.texi: Fix a typo.
2032
2033 2002-01-02 Jakub Jelinek <jakub@redhat.com>
2034
2035 * c-typeck.c (output_init_element): Allow initializing static storage
2036 duration objects with compound literals.
2037
2038 2002-01-02 Richard Henderson <rth@redhat.com>
2039
2040 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2041 after abusing it.
2042
2043 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2044
2045 * gcc.c (default_compilers): Const-ify.
2046 * mips-tdump.c (stab_names): Likewise.
2047 * mips-tfile.c (map_coff_types, map_coff_storage,
2048 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2049 pseudo_ops_t, pseudo_ops): Likewise.
2050 * protoize.c (default_include): Likewise
2051
2052 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2053 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2054 Add array size in declaration.
2055 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2056 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2057 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2058 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2059 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2060 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2061 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2062 emtens, make_nan): Const-ify.
2063 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2064 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2065
2066 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2067
2068 * config.gcc (ia64-*-*): Set extra_headers.
2069 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2070 * config/alpha/t-osf: Remove.
2071 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2072
2073 2002-01-02 David Edelsohn <edelsohn@gnu.org>
2074
2075 * config/rs6000/t-aix43: Revert previous change.
2076
2077 2002-01-02 Jason Merrill <jason@redhat.com>
2078
2079 * c-decl.c (c_expand_body): Call outlining_inline_function when
2080 emitting an inline function out of line.
2081
2082 2002-01-02 Richard Henderson <rth@redhat.com>
2083
2084 * dwarf2out.c (limbo_die_node): Add created_for member.
2085 (new_die): New argument created_for. Update all callers.
2086 (mark_limbo_die_list): New.
2087 (dwarf2out_init): Register limbo_die_list as a root.
2088 (dwarf2out_finish): Force insert limbo dies into their function
2089 context.
2090
2091 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2092
2093 PR c++/5089
2094 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2095
2096 2002-01-02 Kazu Hirata <kazu@hxi.com>
2097
2098 * config/h8300/fixunssfsi.c: Update copyright.
2099 Fix comment typos.
2100 Fix formatting.
2101 * config/h8300/h8300.c: Update copyright.
2102 Eliminate warnings.
2103
2104 2002-01-02 Kazu Hirata <kazu@hxi.com>
2105
2106 * config/romp/romp.c: Fix comment formatting.
2107 * config/romp/romp.h: Likewise.
2108 * config/romp/romp.md: Likewise.
2109 * config/s390/s390.c: Likewise.
2110 * config/stormy16/stormy16.c: Likewise.
2111 * config/stormy16/stormy16.h: Likewise.
2112
2113 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
2114
2115 * c-common.h (genrtl_expr_stmt_value): Declare.
2116 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2117 (genrtl_goto_stmt_value): ... this new function. Pass new
2118 argument down to expand_expr_stmt_value, taking
2119 TREE_ADDRESSABLE into account.
2120 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2121 STMT_EXPR as addressable, i.e., one whose result we want.
2122 * expr.c (expand_expr): Don't save expression statement value
2123 of labeled_blocks or loop_exprs.
2124 * stmt.c (expand_expr_stmt): Redirect to...
2125 (expand_expr_stmt_value): ... this new function. Use new
2126 argument to tell whether to save expression value.
2127 (expand_end_stmt_expr): Reset last_expr_type and
2128 last_expr_value if we don't have either.
2129 * tree-inline.c (declare_return_variable): Mark its use
2130 statement as addressable.
2131 * tree.h: Document new use of TREE_ADDRESSABLE.
2132 (expand_expr_stmt_value): Declare.
2133
2134 2002-01-01 Tom Rix <trix@redhat.com>
2135
2136 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2137 rs6000_emit_allocate_stack.
2138
2139 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2140
2141 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2142 ${srcdir}/ginclude/ to every entry in extra_headers.
2143 * configure: Regenerate.
2144 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2145 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2146 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2147 * ginclude/proto.h: Rename to config/convex/proto.h.
2148
2149 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2150
2151 * attribs.c (handle_vector_size_attribute): Use host_integerp
2152 and tree_int_cst; remove warnings.
2153 * caller-save.c (insert_restore): Add cast to get rid of warning.
2154 (insert_save): Likewise.
2155 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2156 * regmove.c (find_matches): Add temporary var to kill a warning.
2157
2158 2002-01-01 Douglas B Rupp <rupp@gnat.com>
2159
2160 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2161 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2162 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2163 (vms-dwarf2eh.o): Add Makefile rule.
2164 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2165 * config/alpha/vms-dwarf2eh.asm: New file.
2166
2167 * gcc.c (delete_if_ordinary): Delete all versions.
2168
2169 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2170
2171 * config/mmix/mmix.md: Update FIXME to not mention
2172 define_constants.
2173 (MMIX_rJ_REGNUM): New define_constants constant.
2174 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2175 "*movdicc_real"): Adjust contraints formatting.
2176 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2177 for branch prediction.
2178 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2179 output template.
2180 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2181 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2182 number. Delete related FIXMEs.
2183 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2184 from number to MMIX_rJ_REGNUM.
2185 (TARGET_MASK_BRANCH_PREDICT): New.
2186 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2187 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2188 value. Add -mbranch-predict and -mno-branch-predict.
2189 (TARGET_VERSION): Drop date.
2190 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2191 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2192 for finding out global symbols.
2193 (mmix_asm_output_labelref): Revert condition for global symbol.
2194 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2195 (mmix_print_operand_punct_valid_p): A '+' is valid.
2196
2197 See ChangeLog.6 for earlier changes.