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