]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal.
[gcc.git] / gcc / ChangeLog
CommitLineData
3b6cb920
JM
12002-01-24 Jason Merrill <jason@redhat.com>
2
3 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
4 to can_throw_internal.
5
f3077311
RH
62002-01-23 Richard Henderson <rth@redhat.com>
7
8 * fold-const.c (fold): Change UINT_MAX test to check vs precision
9 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
10
e1d71275
AO
112002-01-24 Alexandre Oliva <aoliva@redhat.com>
12
13 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
14 (symGOT2reg): Use them, then set as GOT value as unchanging.
15 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
16 as a temporary, if possible.
17 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
18 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
19
dc271dbe
KH
202002-01-23 Kazu Hirata <kazu@hxi.com>
21
22 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
23 accept to accept 0x80 as operands[2].
24
1a9017f9
AO
252002-01-24 Alexandre Oliva <aoliva@redhat.com>
26
27 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
28
6932f033
RH
292002-01-23 Richard Henderson <rth@redhat.com>
30
31 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
32
709619d9
AH
332002-01-23 Aldy Hernandez <aldyh@redhat.com>
34
35 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
36 (parmlist_or_identifiers_1): Verify that only a parmlist follows
37 an attribute.
38
3d709fd3
RH
392002-01-23 Richard Henderson <rth@redhat.com>
40
41 * expr.c (move_by_pieces_1): Extend size before negation.
42
88a446c0
RH
43 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
44 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
45 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
46 * config/m68k/t-m68kelf: Likewise.
47
03984308
BW
482002-01-23 Bob Wilson <bob.wilson@acm.org>
49
50 * config/xtensa/elf.h: New file.
51 * config/xtensa/lib1funcs.asm: New file.
52 * config/xtensa/lib2funcs.S: New file.
53 * config/xtensa/linux.h: New file.
54 * config/xtensa/t-xtensa: New file.
55 * config/xtensa/xtensa-config.h: New file.
56 * config/xtensa/xtensa-protos.h: New file.
57 * config/xtensa/xtensa.c: New file.
58 * config/xtensa/xtensa.h: New file.
59 * config/xtensa/xtensa.md: New file.
60 * config.gcc (xtensa-*-elf*): New target.
61 (xtensa-*-linux*): New target.
62 * cse.c (canon_hash): Compare rtx pointers instead of register
63 numbers. This is required for the Xtensa port.
64 * integrate.c (copy_insn_list): Handle case where the static
65 chain is in memory and the memory address has to be copied to
66 a register.
67 * doc/invoke.texi (Option Summary): Add Xtensa options.
68 (Xtensa Options): New node.
69 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
70
c3d5c3fa
ZW
712002-01-23 Zack Weinberg <zack@codesourcery.com>
72
a63bea75
ZW
73 * diagnostic.c (internal_error): Do ICE suppression only
74 when ENABLE_CHECKING is not defined.
75
c3d5c3fa
ZW
76 * c-typeck.c (require_complete_type): Return error_mark_node
77 if type is error_mark_node.
78
1398974c
JJ
792002-01-23 Janis Johnson <janis187@us.ibm.com>
80
81 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
82 -Os and issue a warning.
83
807633e5
ZW
842002-01-23 Zack Weinberg <zack@codesourcery.com>
85
86 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
87 current (lack of) need for host configuration by hand.
88
89 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
90 references. Documentation of some target macros moved from
91 hostconfig.texi to tm.texi.
92
cf8002d0
WC
932002-01-23 Will Cohen <wcohen@redhat.com>
94
95 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
96 defined.
97
d1e76310
KH
982002-01-23 Kazu Hirata <kazu@hxi.com>
99
100 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
101 operand[3].
102
b2115575
JM
1032002-01-23 Jason Merrill <jason@redhat.com>
104
f893c16e
JM
105 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
106
b2115575
JM
107 * function.c (assign_parms): Don't put args of inline functions
108 into registers when not optimizing.
109
6bacc7b0
NC
1102002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
111
112 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
113 (prologue_use): New pattern.
114 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
115 preference to gen_rtx_USE.
116 (thumb_expand_prologue): Use gen_prologue_use in preference to
117 gen_rtx_USE.
118 (thumb_expand_epilogue): Use gen_prologue_use in preference to
119 gen_rtx_USE.
120
a415f7bc
HPN
1212002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
122
123 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
124
5372b3fb
NB
1252002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
126
127 PR c/3504
128 * doc/extend.texi: Correct documentation of __alignof__.
129
bd571ffc
ZW
1302002-01-22 Zack Weinberg <zack@codesourcery.com>
131
132 * params.h: Rename arguments of DEFPARAM so that it will be
133 recognized as a translation keyword.
134
333c8841
AH
1352002-01-22 Aldy Hernandez <aldyh@redhat.com>
136
bd571ffc
ZW
137 * extend.texi: Document altivec functions.
138 Fix N-bit adjectives in X86 builtin documentation.
333c8841 139
38979c65
AO
1402002-01-22 Alexandre Oliva <aoliva@redhat.com>
141
142 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
143 auto_inc_dec values.
144
7458a9f0
RE
1452002-01-22 Richard Earnshaw <rearnsha@arm.com>
146
147 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
148 after backslash.
149 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
150
129bd0c4
AO
1512002-01-22 Alexandre Oliva <aoliva@redhat.com>
152
153 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
154
8b9b74a9
RH
1552002-01-22 Richard Henderson <rth@redhat.com>
156
157 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
158 copy_insn not copy_rtx.
159
d0c9db30
AM
1602002-01-23 Alan Modra <amodra@bigpond.net.au>
161
162 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
163 "nonzero" as that might add "1" bits. Ensure "constop" is
164 properly sign extened.
165 (force_to_mode): Tweak for sign extended constop.
166
1e7e480e
RH
1672002-01-22 Richard Henderson <rth@redhat.com>
168
169 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
170 for_each_rtx instead of assuming we're already looking at the MEM.
171 (split_small_symbolic_mem_operand): Likewise.
172 * config/alpha/alpha.h (PREDICATE_CODES): Update.
173 * config/alpha/alpha.md (small symbolic memory splitters): Update.
174
1752002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
176
177 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
178 sequence number for the literal.
179 (divmoddi_internal_er): Likewise.
180
b7f2fb96
CR
1812002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
182
183 PR java/4972
184 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
185 in LIBICONV variable.
186 * configure: Regenerated.
187
f66a0046
KW
1882002-01-22 Krister Walfridsson <cato@df.lth.se>
189
190 * dependence.c (build_def_use): Remove array_idx.
191
e3b0efd1
KW
192 * dwarfout.c (last_filename): Remove.
193 (output_compile_unit_die): Remove last_filename.
194
d8086cbb
RS
1952002-01-22 Roger Sayle <roger@eyesopen.com>
196 Richard Henderson <rth@redhat.com>
197
198 PR opt/3640
199 * fold-const.c (fold): Optimize unsigned comparisons against
200 UINT_MAX (and similar unsigned constants).
201
e8d52ba0
JJ
2022002-01-22 Janis Johnson <janis187@us.ibm.com>
203
d8086cbb 204 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 205 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 206 against the predicate.
11303d15 207
e8d52ba0
JJ
208 PR target/5379
209 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
210 for the address operand.
211
cc7b420e
RH
2122002-01-22 Richard Henderson <rth@redhat.com>
213
214 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
215
816e265a
CR
2162002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
217
218 PR other/5450
cc7b420e
RH
219 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
220 preprocessor flags.
816e265a 221
7c884404
JT
2222002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
223
224 * config.gcc (x86_64-*-netbsd*): New target.
225 * config/i386/netbsd64.h: New file.
226
2b672c08
AH
2272002-01-22 Aldy Hernandez <aldyh@redhat.com>
228
d8086cbb 229 * regrename.c (kill_value): Fix typo.
2b672c08
AH
230
2312002-01-22 Aldy Hernandez <aldyh@redhat.com>
232
d8086cbb 233 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 234
d8086cbb 235 * config/rs6000/rs6000.h: Same.
2b672c08 236
d8086cbb
RS
237 * function.c (instantiate_virtual_regs): Remove
238 STARTING_FRAME_PHASE.
239 (assign_stack_local_1): Same.
240 Calculate frame phase.
2b672c08 241
4b02997f
NC
2422002-01-22 Nick Clifton <nickc@redhat.com>
243
244 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
245 variable declaration to outer scope in order to simplify
246 future extensions.
247 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
248 arm_hard_regno_mode_ok.
249 * config/arm/arm-protos.h: Add a prototype for
250 arm_hard_regno_mode_ok.
251 * config/arm/arm.c (soft_df_operand): Remove now redundant
252 check for DImode values using IP_REGNUM.
253 (nonimmediate_soft_df_operand): Remove now redundant check for
254 DImode values using IP_REGNUM.
255 (arm_hard_regno_mode_ok): New function. New check: make sure
256 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
257
258 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
259 note with a USE.
260 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
261
8a827ab2
JM
2622002-01-22 Jason Merrill <jason@redhat.com>
263
264 * c-semantics.c (genrtl_compound_stmt): Only check nesting
265 consistency if this COMPOUND_STMT is scoped.
266
cf403648
KH
2672002-01-22 Kazu Hirata <kazu@hxi.com>
268
269 * predict.c: Fix formatting.
270 * print-tree.c: Likewise.
271 * protoize.c: Likewise.
272 * real.h: Likewise.
273 * rtl.h: Likewise.
274 * sbitmap.h: Likewise.
275 * scan.c: Likewise.
276 * sched-deps.c: Likewise.
277 * sched-vis.c: Likewise.
278 * sdbout.c: Likewise.
279 * sibcall.c: Likewise.
280 * ssa.c: Likewise.
281 * ssa-ccp.c: Likewise.
282 * ssa-dce.c: Likewise.
283 * stmt.c: Likewise.
284 * stor-layout.c: Likewise.
285 * system.h: Likewise.
286
aea9695c
RK
287Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
288
a8765ae7
RK
289 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
290 if fits in bounds of base type.
291
aea9695c
RK
292 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
293 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
294 (add_bound_info, default): If can't find a context, make a
295 SAVE_EXPR.
296 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
297
58bf601b
HPN
2982002-01-22 Hans-Peter Nilsson <hp@axis.com>
299
300 * c-typeck.c (parser_build_binary_op): If result from
301 build_binary_op is ERROR_MARK just return error_mark_node without
302 further processing.
303
f982f805
JT
3042002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
305
306 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
307 Split a.out-specific bits into...
308 * config/netbsd-aout.h: ...this.
309 * config/netbsd-elf.h: New file.
310 * config/alpha/netbsd-elf.h: Remove.
311 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
312 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 313 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
314 (ENDFILE_SPEC): Likewise.
315 (LINK_SPEC): Likewise.
316 (CPP_SPEC): Likewise.
317 (ASM_SPEC): Likewise.
318 (LIB_SPEC): Likewise.
319 (SWITCH_TAKES_ARG): Likewise.
320 (TARGET_MEM_FUNCTIONS): Likewise.
321 (CPP_PREDEFINES): Redefine.
322 (ASM_FINAL_SPEC): Remove redefinition.
323 (ASM_COMMENT_START): Redefine.
324 (FUNCTION_PROFILER): Define.
325 (TARGET_VERSION): Redefine.
326 Comment and formatting cleanup.
327 * config/i386/netbsd.h: Include <netbsd-aout.h>.
328 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
329 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
330 big- or little-endian.
331 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
332 * config.gcc (*-*-netbsd*): Add definitions common to all
333 NetBSD configs.
334 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
335 gnu_ld definitions. Add netbsd-elf.h to and remove
336 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
337 tmake_file, and don't lose previous tmake_file contents.
338 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
339 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
340 gnu_ld definitions. Add netbsd-elf.h to tm_file.
341 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
342 (mipsel-*-netbsd*): Rename this to...
343 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
344 mips/little.h to tm_file for mips*el-*.
345 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
346 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
347 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
348
2e396476
JDA
3492002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
350
351 * pa-protos.h (reg_before_reload_operand): New function prototype.
352 * pa.c (reg_before_reload_operand): New function implementation.
353 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
354 contraints to "*m".
355
3b5708e7
FS
3562002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
357
358 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
359
85e79f96
JDA
3602002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
361
362 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
363 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
364 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
365 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
366 (ENDFILE_SPEC): Undefine.
367 (STARTFILE_SPEC): Redefine for PA.
368
38abadee
FS
3692002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
370
371 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
372
94f1d97c
DJ
3732002-01-21 Daniel Jacobowitz <drow@mvista.com>
374
375 * config.gcc: Add entries to supported PowerPC --with-cpu
376 types.
377
0333394e
JJ
3782002-01-21 Jakub Jelinek <jakub@redhat.com>
379
380 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
381 true for 64-bit mode only SSE registers in 32-bit mode.
382
e9d1b155
KH
3832002-01-21 Kazu Hirata <kazu@hxi.com>
384
385 * unwind-dw2.c: Fix formatting.
386 * unwind-dw2-fde.c: Likewise.
387 * unwind-dw2-fde.h: Likewise.
388 * unwind-pe.h: Likewise.
389 * varasm.c: Likewise.
390 * varray.h: Likewise.
391
07338cf8
HPN
3922002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
393
394 Remove workaround for register stack overwrite bug in mmix.
395 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
396 support for TARGET_REG_STACK_FILL_BUG.
397 * config/mmix/mmix.h: Remove member has_call_without_parameters.
398 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
399 Delete.
400 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
401 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
402 -mno-reg-stack-fill-bug-workaround.
403 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
404 machine member has_call_without_parameters.
405 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
406 -mreg-stack-fill-bug-workaround and
407 -mno-reg-stack-fill-bug-workaround.
408 (MMIX Options): Ditto.
409
7192cbf1
KH
4102002-01-21 Kazu Hirata <kazu@hxi.com>
411
412 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
413 as appropriate.
414 Remove redundant code.
415
d1552d7b
JM
4162002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
417
418 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
419 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
420 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
421 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
422 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
423 out target macro definitions and non-target-specific comments
424 mostly taken from old versions of the manual.
425
ed168e45
KH
4262002-01-20 Kazu Hirata <kazu@hxi.com>
427
428 * config/h8300/h8300.h: Fix comment formatting.
429 * config/ia64/aix.h: Likewise.
430 * config/ia64/ia64-protos.h: Likewise.
431 * config/ia64/ia64.c: Likewise.
432 * config/ia64/ia64.h: Likewise.
433 * config/ia64/ia64intrin.h: Likewise.
434 * config/ia64/linux.h: Likewise.
435 * config/ia64/unwind-aix.c: Likewise.
436 * config/ia64/unwind-ia64.c: Likewise.
437
005e3e05
KH
4382002-01-20 Kazu Hirata <kazu@hxi.com>
439
440 * config/h8300/h8300.c: Revise comments about shift code.
441
64bead4c
KH
4422002-01-20 Kazu Hirata <kazu@hxi.com>
443
444 * config/h8300/h8300.c (function_arg): Update a comment.
445
ed863595
KH
4462002-01-20 Kazu Hirata <kazu@hxi.com>
447
448 * config/h8300/h8300.md: Update the comments at the beginning
449 of the file.
450
5904dc87
KH
4512002-01-20 Kazu Hirata <kazu@hxi.com>
452
453 * config/i370/i370.c: Fix comment formatting.
454 * config/i370/i370.h: Likewise.
455 * config/i370/i370.md: Likewise.
456 * config/i370/linux.h: Likewise.
457
9702143f
RK
458Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
459
cbafacd1
RK
460 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
461
9702143f
RK
462 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
463 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
464 in incomplete case.
465
6b6996b8
GS
4662002-01-20 Graham Stott <grahams@redhat.com>
467
468 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
469
eab854f6
JDA
4702002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
471
472 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
473
5b029315
TR
4742002-01-19 Tom Rix <trix@redhat.com>
475
476 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
477
1d690052
AH
4782002-01-18 Aldy Hernandez <aldyh@redhat.com>
479
d8086cbb 480 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 481
d8086cbb
RS
482 * function.c (assign_stack_local_1): Adjust x_frame_offset with
483 STARTING_FRAME_PHASE.
484 (STARTING_FRAME_PHASE): New.
485 (instantiate_virtual_regs): Check saneness of
486 STARTING_FRAME_PHASE.
1d690052 487
d8086cbb 488 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 489
4dd8c093
AO
4902002-01-19 Alexandre Oliva <aoliva@redhat.com>
491
492 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
493
6f2a28d7
CR
4942002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
495
496 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
497 be used for bootstrapping GCC 3.0.
498
8763a465
KH
4992002-01-18 Kazu Hirata <kazu@hxi.com>
500
501 * config/h8300/h8300.md: Fix an insn length.
502
3ef42a0c
KH
5032002-01-18 Kazu Hirata <kazu@hxi.com>
504
505 * bitmap.h: Fix comment formatting.
506 * combine.c: Likewise.
507 * cppfiles.c: Likewise.
508 * c-pragma.h: Likewise.
509 * c-typeck.c: Likewise.
510 * df.c: Likewise.
511 * dwarf2out.c: Likewise.
512 * function.c: Likewise.
513 * gcc.c: Likewise.
514 * genattrtab.c: Likewise.
515 * gthr-win32.h: Likewise.
516 * haifa-sched.c: Likewise.
517 * predict.c: Likewise.
518 * rtlanal.c: Likewise.
519 * rtl.h: Likewise.
520 * unwind-dw2-fde.h: Likewise.
521 * unwind-pe.h: Likewise.
522 * vmsdbgout.c: Likewise.
523
dd4dc3cd
RK
524Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
525
526 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
527 if type_required and passed decl.
528
5fb4cf24
AH
5292002-01-17 Aldy Hernandez <aldyh@redhat.com>
530
d8086cbb
RS
531 * config.gcc (cpu_type): Include altivec.h in powerpc
532 extra_headers.
533 Same for darwin.
5fb4cf24 534
d8086cbb 535 * config/rs6000/altivec.h: New.
5fb4cf24 536
2705baf5
DE
5372002-01-17 David Edelsohn <edelsohn@gnu.org>
538
539 * doc/install.texi (*-ibm-aix*): Update assembler and exception
540 handling information.
541 * doc/trouble.texi (Interoperation): Add libstdc++ information
542 for AIX.
543 (Misunderstandings): Add template instantiation and static template
544 member information for AIX.
545
dbd680e1
JM
5462002-01-17 Jason Merrill <jason@redhat.com>
547
821adc5e
JM
548 * dbxout.c (dbxout_type): Support const and volatile.
549
dbd680e1
JM
550 * except.c (add_partial_entry): Remove backwards compatibility code.
551 (end_protect_partials): Likewise.
552
d0e82870
JJ
5532002-01-17 Jakub Jelinek <jakub@redhat.com>
554
555 * config/ia64/ia64.md (prologue_use): New.
556 * config/ia64/ia64.c (ia64_expand_prologue): Use
557 gen_prologue_use instead of gen_rtx_USE.
558 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
559 as CODE_FOR_pred_rel_mutex.
560 (ia64_sched_reorder2): Likewise.
561
f9f45c65
EC
5622002-01-16 Eric Christopher <echristo@redhat.com>
563
564 * config/mips/r3900.h: Reformat.
565 (SUBTARGET_CPP_SIZE_SPEC): Remove.
566 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
567 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
568 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
569 * config/mips/t-elf: Remove mips3 multilib.
570
c66c8b0e
L
5712002-01-16 H.J. Lu <hjl@gnu.org>
572
573 * config/mips/linux.h: Include "mips/abi64.h".
574
5f083b72
L
5752002-01-16 H.J. Lu <hjl@gnu.org>
576
577 * config/mips/t-linux: New.
578
579 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
580
581 * config/mips/linux.h: Don't include "gofast.h".
582 (INIT_SUBTARGET_OPTABS): Removed.
583
af3c90a6
KH
5842002-01-16 Kazu Hirata <kazu@hxi.com>
585
586 * config/h8300/h8300-protos.h: Replace emit_a_shift with
587 output_a_shift.
588 * config/h8300/h8300.c: Likewise.
589 * config/h8300/h8300.md: Likewise.
590
a1bf0a16
KH
5912002-01-16 Kazu Hirata <kazu@hxi.com>
592
593 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
594 spaces after an opcode name.
595 (pushqi1_h8300hs): Likewise.
596 (pushhi1_h8300hs): Likewise.
597
88ab0d1c
KH
5982002-01-16 Kazu Hirata <kazu@hxi.com>
599
600 * doc/extend.texi: Replace "option" with "attribute"
601 appropriately.
602
51c561e3
JJ
6032002-01-16 Jakub Jelinek <jakub@redhat.com>
604
605 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
606 (and:DI () (const_int -8)).
607 (split_small_symbolic_mem_operand): Split
608 (mem (and:DI () (const_int -8)).
609
b8c1a6b8
JJ
6102002-01-16 Jakub Jelinek <jakub@redhat.com>
611
612 PR target/5309:
d8086cbb 613 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
614 same way as TYPE_IMUL.
615 (ultrasparc_sched_reorder): Likewise.
616 * config/sparc/sparc.md (type): Add comment to update
617 ultrasparc_sched_reorder when making changes.
618
1e4e4df2
KH
6192002-01-16 Kazu Hirata <kazu@hxi.com>
620
621 * doc/invoke.texi: Change the dump file name of block
622 reordering pass from 28.bbro to 29.bbro.
623 Mention -dk option.
624
14d920c0
JH
625Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
626
627 * i386.md (minsf splitter): Fix pasto.
628
2e99323f
NC
6292002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
630
631 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
632 to frame pointer initialisation instruction.
633 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
634 initialisation instruction.
ab8081c1
NC
635 (soft_df_operand): Do not accept the IP register.
636 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 637
c4031a04
JJ
6382002-01-16 Jakub Jelinek <jakub@redhat.com>
639
640 PR target/5357:
641 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
642 MASK_V8 being both set.
643
44b8152b
UW
6442002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
645
646 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
647 insn for GOT register; add REG_MAYBE_DEAD notes instead.
648 config/s390/s390.md (call, call_value): Add GOT register to
649 CALL_INSN_FUNCTION_USAGE where needed.
650 (call_exp, call_value_exp): New.
651
1d6e90ac
NC
6522002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
653
654 * config/arm/arm.c: General formatting tidy up.
655
6562002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
657
658 * calls.c (try_to_integrate): Use "(size_t)" intermediate
659 cast and when casting an integer literal to "rtx" pointer.
660 (expand_call): Likewise.
661 * flow.c (try_pre_increment): Likewise.
662 (find_use_as_address): Likewise.
663 * integrate.c (expand_iline_function): Likewise.
664 * regmove.c (try_auto_increment): Likewise.
665
1d6e90ac 6662002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
667
668 * sched-rgn.c (passed): Use sbitmap_free.
669 (header): Likewise.
670 (inner): Likewise.
671 (in_queue): Likewise.
672 (in_stack): Likewise.
673
31fce3c4
EC
6742002-01-15 Eric Christopher <echristo@redhat.com>
675
676 * flow.c (propagate_one_insn): Change to use fatal_insn.
677
c99d986a
KH
6782002-01-15 Kazu Hirata <kazu@hxi.com>
679
680 * expmed.c (extract_fixed_bit_field): Remove unused code.
681 * system.h: Poison SLOW_ZERO_EXTEND.
682 * doc/tm.texi: Remove.
683 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
684 * config/arm/arm.h: Likewise.
685 * config/avr/avr.h: Likewise.
686 * config/clipper/clipper.h: Likewise.
687 * config/convex/convex.h: Likewise.
688 * config/d30v/d30v.h: Likewise.
689 * config/dsp16xx/dsp16xx.h: Likewise.
690 * config/elxsi/elxsi.h: Likewise.
691 * config/fr30/fr30.h: Likewise.
692 * config/h8300/h8300.h: Likewise.
693 * config/i370/i370.h: Likewise.
694 * config/i386/i386.h: Likewise.
695 * config/m68k/m68k.h: Likewise.
696 * config/mips/mips.h: Likewise.
697 * config/ns32k/ns32k.h: Likewise.
698 * config/pdp11/pdp11.h: Likewise.
699 * config/pj/pj.h: Likewise.
700 * config/s390/s390.h: Likewise.
701 * config/sh/sh.h: Likewise.
702 * config/stormy16/stormy16.h: Likewise.
703 * config/v850/v850.h: Likewise.
704 * config/vax/vax.h: Likewise.
705 * config/we32k/we32k.h: Likewise.
706
acfab996
AH
7072002-01-15 Aldy Hernandez <aldyh@redhat.com>
708
d8086cbb
RS
709 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
710 (altivec_lvsl): Change constraint to b.
711 (altivec_lvsr): Same.
712 (altivec_lvebx): Same.
713 (altivec_lvehx): Same.
714 (altivec_lvewx): Same.
715 (altivec_lvxl): Same.
716 (altivec_lvx): Same.
717 (altivec_stvx): Add parallel.
718 (altivec_stvxl): Same.
719 (altivec_stvehx): Same.
720 (altivec_stvebx): Same.
721 (altivec_stvebx): Same.
acfab996 722
5e505bc9
AH
7232002-01-15 Aldy Hernandez <aldyh@redhat.com>
724
d8086cbb 725 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 726
d8086cbb 727 * config/rs6000/altivec.h: Delete.
5e505bc9 728
d8086cbb 729 * config/rs6000/altivec-defs.h: Add.
5e505bc9 730
5c41fdfb
JDA
7312002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
732
733 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
734 and UMOD modes.
735
736 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
737 less than or equal to eight bytes.
738
739 * vax.md (andsi3): Remove constraints and change SET destination
740 operand type to nonimmediate_operand.
741 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
742 when it is a CONST_INT.
743
de097a2d
JM
7442002-01-15 Jason Merrill <jason@redhat.com>
745
746 * c-common.def (FILE_STMT): New code.
747 * c-common.c (statement_code_p): It's a statement.
748 * c-common.h (stmt_tree_s): Add x_last_filename.
749 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
750 (last_expr_filename): New macro.
751 * c-semantics.c (begin_stmt_tree): Initialize it.
752 (add_stmt): If the filename changed, also insert a
753 FILE_STMT.
754 (expand_stmt): Handle seeing one.
755
4a913dd6
EC
7562002-01-15 Eric Christopher <echristo@redhat.com>
757
758 * flow.c (propagate_one_insn): Add error message and print out
759 insn for debugging.
760
006946e4
JM
7612002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
762
763 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
764 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
765 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
766 TRAMPOLINE_ALIGNMENT.
767 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
768 to be in bits.
769 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
770 PCC_BITFIELD_TYPE_MATTERS.
771 * config/interix.h (STDC_VALUE): Remove. Use
772 STDC_0_IN_SYSTEM_HEADERS.
773 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
774 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
775 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
776
751a1458
CR
7772002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
778
779 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
780 not work on this platform currently.
781
57771fe8
JM
7822002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
783
784 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
785 readonly_warning in _().
786
0e83ceb1 7872002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 788
0e83ceb1 789 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 790
8e2e89f7
KH
7912002-01-15 Kazu Hirata <kazu@hxi.com>
792
0e83ceb1
DR
793 * config/h8300/h8300.c (print_operand): Remove support for
794 unused operand characters.
795
8e2e89f7
KH
796 * read-rtl.c: Fix formatting.
797 * real.c: Likewise.
798 * recog.c: Likewise.
799 * regclass.c: Likewise.
800 * regmove.c: Likewise.
801 * reg-stack.c: Likewise.
802 * reload1.c: Likewise.
803 * rtlanal.c: Likewise.
804
b531087a
KH
8052002-01-15 Kazu Hirata <kazu@hxi.com>
806
807 * config/i386/i386.c: Fix formatting.
808
7c94ce7f
JJ
8092002-01-15 Jakub Jelinek <jakub@redhat.com>
810
811 * c-typeck.c (process_init_element): Don't save_expr
812 COMPOUND_LITERAL_EXPR if just its initializer will be used.
813
6041bf2f
DE
8142002-01-15 David Edelsohn <edelsohn@gnu.org>
815
816 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
817 emit optional traceback table if optimize_size or TARGET_ELF.
818 * config/rs6000/rs6000.md (prefetch): New.
819
8559c8c0
AJ
8202002-01-15 Andreas Jaeger <aj@suse.de>
821
822 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
823
70f122f2
KH
8242002-01-15 Kazu Hirata <kazu@hxi.com>
825
826 * mips-tfile.c: Fix formatting.
827
6a7b4ca6
JH
828Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
829
830 * unroll.c (final_reg_note_copy): Fix previous commit.
831
e7afe229
KH
8322002-01-14 Kazu Hirata <kazu@hxi.com>
833
834 * config/h8300/h8300-protos.h: Remove the prototype for
835 eq_operator.
836 * config/h8300/h8300.c (eq_operator): Remove.
837
7d378549
RH
8382002-01-14 Richard Henderson <rth@redhat.com>
839
840 * config/i386/i386.md (prefetch): Tidy.
841 (prefetch_3dnow): Fix locality operand.
842
ab093b81
RH
8432002-01-14 Richard Henderson <rth@redhat.com>
844
845 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
846 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
847
d300f51f
HPN
8482002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
849
850 * reload1.c (reload_combine): Pass reg_sum replacement through
851 copy_rtx in loop performing multiple changes.
852
655dd289
JJ
8532002-01-14 Jakub Jelinek <jakub@redhat.com>
854
855 * except.c (remove_unreachable_regions): New.
856 (free_eh_status): Clear exception_handler_labels.
857 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
858 (find_exception_handler_labels): Don't add the same label more than
859 once.
860 (remove_exception_handler_label): Don't die if
861 find_exception_handler_labels hasn't been called for the current
862 function yet.
863
1fba46a7
JH
864Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
865
866 * toplev.c (rest_of_compilation): Rebuild jump labels after
867 gcse.
868
0975678f
JM
8692002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
870
871 * doc/extend.texi: Move documentation of X86 built-in functions
872 here.
873 * doc/invoke.texi: From here.
874 * doc/sourcebuild.texi: Document location of documentation for
875 machine built-in functions.
876
969815c7
CF
8772002-01-13 Christopher Faylor <cgf@redhat.com>
878
879 * cppfiles.c (TEST_THRESHOLD): New macro.
880 (SHOULD_MMAP): Ditto.
881 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
882 be used.
883
494c950b
JH
884Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
885
886 * unroll.c (final_reg_note_copy): Properly handle
887 REG_LABEL
888 (unroll_loops): Fix LOOP_CONDITION heuristics.
889
69a0611f
GK
8902002-01-14 Geoffrey Keating <geoffk@redhat.com>
891
892 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
893 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
894
b90e45ae
JH
895Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
896
897 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
898 threaded loop.
899
8377288b
TR
9002002-01-14 Tom Rix <trix@redhat.com>
901
902 * config/rs6000/rs6000.md: Fix typo with sradi.
903
9f37ccb1
UW
9042002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
905
906 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
907 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
908 (clrstrdi, clrstrsi): Adapt callers.
909
910 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
911
8559c8c0 912 (movti splitter): Never use register 0 as base register.
9f37ccb1 913
6c2d03d0
HP
9142002-01-14 Hartmut Penner <hpenner@de.ibm.com>
915
8559c8c0
AJ
916 * combine.c (simplify_shift_const): Always generate new rtx
917 for shift expression instead of reusing given expression.
6c2d03d0 918
d3e98208
RK
919Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
920
921 * config/alpha/alpha.c (alpha_expand_mov): Don't call
922 alpha_legitimize_address unless mode is Pmode.
923
9f339dde
GK
9242002-01-13 Geoffrey Keating <geoffk@redhat.com>
925
926 * doc/md.texi (Modifiers): Document the '*' constraint for the
927 user.
928
929 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
930 * doc/extend.texi (Function Attributes): 'interrupt' is valid
931 for xstormy16 too.
932
02a10130
RH
9332002-01-13 Richard Henderson <rth@redhat.com>
934
935 * reload.c (find_reloads): Use a hard reg destination as reload reg
936 for an input reload of the source.
937
61d47787
GP
9382002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
939
940 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
941 more generic.
942
f0df8029
DR
943Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
944
945 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
946 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
947
d2a37256
DR
948 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
949
a9e8a5ee
RK
950Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
951
952 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
953
bc06712d
TR
9542002-01-12 Tom Rix <trix@redhat.com>
955
8559c8c0 956 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
957 TARGET_POWERPC64.
958
7cbe9bb7
RH
9592002-01-12 Richard Henderson <rth@redhat.com>
960
38b29e64
RH
961 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
962
58605ba0
RH
963 * doc/invoke.texi: Update Alpha options.
964
7cbe9bb7
RH
965 * doc/invoke.texi: Update i386 built-in function lists.
966
9d560860
JH
967Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
968
969 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
970 referencing outside.
971
bb93b973
RK
972Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
973
974 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
975 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
976 offsets, and change line folding.
977 * optabs.c (expand_binop): Remove warnings.
978 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 979
f9f6b7df
GS
9802002-01-12 Graham Stott <grahams@redhat.com>
981
982 * attribs.c (handle_deprecated_attribute): constify WHAT.
983 * diagnostic.c (warn_deprecated_use): Add braces, fixes
984 dangling else warning and constify WHAT.
985 * except.h (struct function, struct inline_remap): Move
986 struct tag forward defs before all prototypes.
987 (duplicate_eh_regions): Whitespace.
988
4a692617
NC
9892002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
990
991 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
992 MODE_BASE_REG_CLASS.
993 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
994
e37af218
RH
9952002-01-12 Richard Henderson <rth@redhat.com>
996
997 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
998 (ix86_expand_vector_move): New.
999 (bdesc_2arg): Remove andps, andnps, orps, xorps.
1000 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
1001 Remove old prefetch builtins. Special case the logicals removed above.
1002 (ix86_expand_builtin): Likewise.
1003 (safe_vector_operand): Use V4SFmode, not TImode.
1004 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
1005 (ix86_expand_timode_binop_builtin): New.
1006 * config/i386/i386-protos.h: Update.
1007 * config/i386/i386.h (enum ix86_builtins): Update.
1008 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
1009 Use ix86_expand_vector_move in vector move expanders.
1010 (movti_internal, movti_rex64): Add xorps alternative.
1011 (sse_clrv4sf): Rename and adjust from sse_clrti.
1012 (prefetch): Don't work so hard.
1013 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
1014 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
1015 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
1016
6f1a6c5b
RH
10172002-01-11 Richard Henderson <rth@redhat.com>
1018
1019 * config/i386/mmintrin.h: New file.
1020 * config/i386/xmmintrin.h: New file.
1021 * config.gcc (i?86-*-*): Add extra_headers.
1022 * simplify-rtx.c (simplify_unary_operation): Handle saturating
1023 truncation codes.
1024 (simplify_binary_operation): Handle saturating arithmetic codes.
1025 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
1026 not the lowpart subreg.
1027 (ix86_expand_builtin): Return a TImode dummy register instead of 0
1028 on error.
1029 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
1030
cdb574d3
MH
10312002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1032
1033 * conflict.c (conflict_graph_compute): Free regsets when finished.
1034 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 1035
cf11ac55
HB
10362002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1037
1038 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
1039 every where we allocate a register.
1040
76ac938b
MH
10412002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1042
1043 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
1044 * lcm.c (compute_earliest, compute_farthest): Likewise.
1045
a84b4898
JJ
10462002-01-11 Janis Johnson <janis187@us.ibm.com>
1047
1048 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
1049
aaef1c12
JJ
10502002-01-11 Janis Johnson <janis187@us.ibm.com>
1051
1052 * doc/rtl.texi (Insns): Fix 2 typos.
1053
5d22c1a5
JM
10542002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
1055
1056 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
1057 options. Use @table @gcctabopt for MMIX options. Add index
1058 entries for MMIX options. Start new paragraph with first
1059 heading of the machine-dependent options.
1060
3e92902c
CR
10612002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
1062
1063 PR other/5299
1064 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
1065 * combine.c (force_to_mode): Same.
1066 * reload1.c (clear_reload_reg_in_use): Same.
1067
96ae8197
NC
10682002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
1069
1070 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
1071 and 'subtargets'.
1072
9b780582
AJ
10732002-01-11 Andreas Jaeger <aj@suse.de>,
1074 Brad Lucier <lucier@math.purdue.edu>
1075
1076 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
1077 mcpu.
1078
12300dad
DR
1079Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
1080
1081 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
1082 Protect with IN_LIBGCC.
1083 (LINK_EH_SPEC): Add required trailing space.
1084
27511a9a
NP
1085Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
1086
9b780582 1087 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
1088 under the filename which contains them.
1089 (check_identifier, finish_decl_top_level,
1090 lookup_name_current_level_global, shadow_record_fields): Remove.
1091
4daeab16
AJ
10922002-01-11 Andreas Jaeger <aj@suse.de>
1093
1094 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
1095 march.
1096
40571d67
RH
10972002-01-10 Richard Henderson <rth@redhat.com>
1098
1099 * config/alpha/alpha.c (print_operand): Add 'J'.
1100 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
1101 new operand with the sequence number for the lituse. When splitting
1102 the insns, use gen_movdi_er_high_g and generate a sequence number.
1103 (gen_movdi_er_high_g): Print the sequence number if non-zero.
1104
6525c0e7
AH
11052002-01-10 Aldy Hernandez <aldyh@redhat.com>
1106
d8086cbb
RS
1107 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
1108 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
1109 stvxl.
1110 (altivec_expand_builtin): Same.
1111 (altivec_expand_stv_builtin): New.
1112
1113 * config/rs6000/rs6000.h (rs6000_builtins): Same.
1114
1115 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
1116 ("altivec_lvehx"): New.
1117 ("altivec_lvewx"): New.
1118 ("altivec_lvxl"): New.
1119 ("altivec_lvx"): New.
1120 ("altivec_stvx"): New.
1121 ("altivec_stvebx"): New.
1122 ("altivec_stvehx"): New.
1123 ("altivec_stvewx"): New.
1124 ("altivec_stvxl"): New.
6525c0e7 1125
cda94cbb
RH
11262002-01-10 Richard Henderson <rth@redhat.com>
1127
1128 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
1129 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
1130 care not to delete instructions twice.
1131
df2c9a44
ZW
11322002-01-10 Zack Weinberg <zack@codesourcery.com>
1133
1134 * toplev.c: Don't declare environ (it's not used anywhere).
1135 * configure.in: Don't check for declaration of environ.
1136 * config/i386/xm-mingw32.h: Don't #define environ.
1137 * config.in, configure: Regenerate.
1138
5dd8a9b1
ZW
11392002-01-10 Zack Weinberg <zack@codesourcery.com>
1140
1141 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
1142 * configure: Regenerate.
1143
1144 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
1145 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
1146 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
1147 alpha/xm-vms.h.
1148 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
1149 LIMITS_H_TEST here, not in m68k/x-next.
1150 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
1151 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
1152
1153 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
1154 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
1155 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
1156
1157 * config/i386/x-djgpp: Renamed i386/t-djgpp.
1158 * config/m88k/x-dolph: Renamed m88k/t-dolph.
1159 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
1160 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
1161 replacement of quadlib.asm with quadlib.c.
1162
1163 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
1164 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
1165 config/rs6000/xm-beos.h: Delete file.
1166
1167 * config.gcc: Update to match above changes.
1168
d10dd44c
KH
11692002-01-10 Kazu Hirata <kazu@hxi.com>
1170
1171 * config/h8300/h8300.h: Fix comment typos.
1172 * config/h8300/h8300.md: Likewise.
1173 * config/h8300/lib1funcs.asm: Likewise.
1174
04894c5a
DJ
11752002-01-10 Dale Johannesen <dalej@apple.com>
1176
1177 PR optimization/5269
1178 * unroll.c (precondition_loop_p): Make *increment be the correct
1179 sign when n_iterations known, to avoid confusing caller.
1180
adc9fe67
KH
11812002-01-10 Kazu Hirata <kazu@hxi.com>
1182
1183 * doc/extend.texi (deprecated): Fix a typo.
1184
b446e5a2
JH
1185Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
1186
1187 * basic-block.h (update_br_prob_note): Declare.
1188 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
1189 (try_forward_edges): Care negative frequencies and update note.
1190 (outgoing_edges_match): Tweek conditional merging heuristics.
1191 (try_crossjump_to_edge): use update_br_prob_note.
1192 * cfglayout.c (fixup_reorder_chain): Likewise.
1193 * cfrtl.c (update_br_prob_note): New.
1194 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
1195
1196 * i386.c (ix86_decompose_address): Return -1 if address contains
1197 shift.
1198 (legitimate_address_p): Require ix86_decompose_address to return 1.
1199
1200 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
1201 (cprop_insn): Likewise.
1202
a01da83b
KH
12032002-01-10 Kazu Hirata <kazu@hxi.com>
1204
1205 * toplev.c: Fix formatting.
1206 * tree.c: Likewise.
1207 * tree-dump.c: Likewise.
1208 * unroll.c: Likewise.
1209 * unwind-dw2.c: Likewise.
1210 * unwind-dw2-fde.c: Likewise.
1211 * unwind-dw2-fde-glibc.c: Likewise.
1212 * unwind-sjlj.c: Likewise.
1213
9f85bca7
JM
12142002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1215
1216 * doc/invoke.texi: Document PDP-11 options.
1217
f48f56b1
KH
12182002-01-10 Kazu Hirata <kazu@hxi.com>
1219
1220 * config/h8300/h8300.h: Fix formatting.
1221
7f180628
IR
12222001-01-10 Ira Ruben <ira@apple.com>
1223
1224 Add __attribute__ ((deprecated)).
1225 * extend.texi: Document __attribute__ ((deprecated)).
1226 * invoke.texi: Document -Wno-deprecated-declarations.
1227 * testsuite/g++.dg/other/deprecated.C: New C++ test.
1228 * testsuite/gcc.dg/deprecated.c: New C test.
1229 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
1230 (c_common_attribute_table): Add "deprecated" entry.
1231 (handle_deprecated_attribute): New function.
1232 * c-decl.c (deprecated_states): New enum.
1233 deprecated_state: State of "deprecated" handling.
1234 (start_decl): Set deprecated_state based on attributes.
1235 (grokdeclarator): Test for deprecated uses, propagate attribute.
1236 * c-typeck.c (build_component_ref): Test for deprecated fields.
1237 (build_external_ref): Test for deprecated primaries.
1238 * diagnostic.c (warn_deprecated_use) New function to issue
1239 warnings about __attribute__ ((depricated)) references.
1240 * flags.h (warn_deprecated_decl): Extern declared for
1241 -W[no-]deprecated-declarations option.
1242 * print-tree.c (print_node): Show deprecated flag status.
1243 * toplev.c (warn_deprecated_decl): Defined.
1244 (W_options): Added "deprecated-declaration".
1245 * toplev.h (warn_deprecated_use): Extern declared.
1246 * tree.h (struct tree_common): Define deprecated_flag.
1247 (TREE_DEPRECATED): New macro to access flag.
1248 * cp/call.c (build_call): Test for deprecated calls.
1249 * cp/class.c (add_implicitly_declared_members): Set global
1250 flag to tell grokdeclarator to not issue deprecated warnings.
1251 * cp/cp-tree.h: Add extern for adding_implicit_members.
1252 * cp/decl.c (deprecated_states): New enum.
1253 (start_decl): Set deprecated_state based on attributes.
1254 (grokdeclarator): Test for deprecated uses, propagate attribute.
1255 * cp/lex.c (do_identifier): Test for deprecated primaries.
1256 * cp/typeck.c (build_component_ref): Test for deprecated fields.
1257
12582001-01-10 Ira Ruben <ira@apple.com>
1259
1260 Fix to assign attributes to inline member functions.
1261 * cp/decl.c (start_method): Handle attrlist.
1262
47073a38
KH
12632002-01-10 Kazu Hirata <kazu@hxi.com>
1264
1265 * combine.c (expand_field_assignment): Use subreg_lsb().
1266
d288e53d
DE
12672002-01-10 David Edelsohn <edelsohn@gnu.org>
1268
1269 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
1270 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
1271 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
1272 Recurse for any operand of AND as long as constant is non-zero.
1273
08a02ffa
KH
12742002-01-10 Kazu Hirata <kazu@hxi.com>
1275
1276 * config/h8300/h8300.md: Remove constraints from expanders.
1277
c203e7fe
KH
12782002-01-10 Kazu Hirata <kazu@hxi.com>
1279
1280 * varasm.c: Fix formatting.
1281 * varray.c: Likewise.
1282 * vmsdbgout.c: Likewise.
1283 * xcoffout.c: Likewise.
1284
bcb3bc6d
JH
1285Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
1286
1287 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 1288 update edge probabilities to match.
bcb3bc6d 1289
0a553c7e
JM
12902002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
1291
1292 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
1293 dependencies.
1294 * doc/languages.texi, doc/sourcebuild.texi: New files.
1295 * doc/configfiles.texi: Make a subsubsection. Update.
1296 * doc/configterms.texi: Add @node. Remove warning that this isn't
1297 instructions for building GCC.
1298 * doc/makefile.texi: Make a subsection.
1299 * doc/gccint.texi: Update.
1300
adc7fcb8
JH
1301Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
1302
1303 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
1304
5a4dd0b3
NP
1305Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
1306
1307 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
1308
3987b9db
JH
1309Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
1310
1311 * optabs.c (expand_fix): Look for wider integer modes first.
1312
1313 * i386.md (mov?f): Avoid the fake const double trick for medium
1314 memory model.
1315 (min?f*/max?f*): Prohibit memory operands for i387 variant.
1316 (fop_df_4): Disable for SSE compilation.
1317
ceb15948 13182002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
1319
1320 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 1321 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 1322
e1623399
RH
13232002-01-10 Richard Henderson <rth@redhat.com>
1324
1325 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
1326
c4abb293
RH
13272002-01-10 Richard Henderson <rth@redhat.com>
1328
1329 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
1330 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
1331
d2604ae9
KH
13322002-01-10 Kazu Hirata <kazu@hxi.com>
1333
1334 * combine.c (can_combine_p): Fix a comment typo.
1335
766c7ad1
ZW
13362002-01-09 Zack Weinberg <zack@codesourcery.com>
1337
1338 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
1339 empty list correctly. Change loop index $t to $f for
1340 consistency with rest of Makefile.
1341
95385cbb
AH
13422002-01-08 Aldy Hernandez <aldyh@redhat.com>
1343
1344 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
1345 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1346
1347 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
1348 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
1349 (altivec_init_builtins): Same.
1350 (altivec_expand_unop_builtin): Return NULL_RTX on error.
1351 (altivec_expand_binop_builtin): Same.
1352 (altivec_expand_ternop_builtin): Same.
1353 (bdesc_dst): New.
1354
1355 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
1356 ("altivec_vctuxs"): Fix typo.
1357 ("altivec_vnmsubfp"): Same.
1358 ("altivec_dssall"): New.
1359 ("altivec_mfvscr"): New.
1360 ("altivec_dss"): New.
1361 ("altivec_lvsl"): New.
1362 ("altivec_lvsr"): New.
1363 ("altivec_dstt"): New.
1364 ("altivec_dstst"): New.
1365 ("altivec_dststt"): New.
1366 ("altivec_dst"): New.
1367
1368 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
1369 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
1370
e4ac76b4
RH
13712002-01-09 Richard Henderson <rth@redhat.com>
1372
1373 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
1374
c893e4a4
HPN
13752002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
1376
1377 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
1378 function.
1379 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
1380 prototype.
7387c700 1381 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 1382
f4f4d0f8
KH
13832002-01-09 Kazu Hirata <kazu@hxi.com>
1384
1385 * read-rtl.c: Fix formatting.
1386 * real.c: Likewise.
1387 * regclass.c: Likewise.
1388 * regrename.c: Likewise.
1389 * reg-stack.c: Likewise.
1390 * reload1.c: Likewise.
1391 * reload.c: Likewise.
1392 * rtl.c: Likewise.
1393
cc863bea
KH
13942002-01-09 Kazu Hirata <kazu@hxi.com>
1395
1396 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
1397 to extract items in the expr_list chain.
1398
7b4dfe3d
RH
13992002-01-09 Richard Henderson <rth@redhat.com>
1400
1401 * config/vax/vax.c (vax_rtx_cost): Never abort.
1402
1d969638
RH
1403 * config/vax/vax.h (REAL_ARITHMETIC): Define.
1404
7d5ab30e
JH
14052002-01-09 Jan Hubicka <jh@suse.cz>
1406
1407 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
1408
9503f3d1
RH
14092002-01-09 Richard Henderson <rth@redhat.com>
1410
1411 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
1412 Unify code from various alternatives.
1413
42bd17b7
RH
14142002-01-09 Richard Henderson <rth@redhat.com>
1415
1416 * regrename.c (copy_value): Ignore the copy if the source register
1417 is present in the value chain with a narrower mode.
1418
bdca3c33
HB
14192002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1420
cda94cbb
RH
1421 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
1422 for the c4x target. Also improve layout.
bdca3c33 1423
c73a5e94
RH
14242002-01-09 Richard Henderson <rth@redhat.com>
1425
1426 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
1427 * config/m32r/m32r.md (and ior xor splitters): Swap operands
1428 to match insn patterns.
1429
dd0a18c0
RH
14302002-01-09 Richard Henderson <rth@redhat.com>
1431
1432 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
1433 (copyprop_hardreg_forward_1): Likewise.
1434
1fd9ac1e
JDA
14352002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
1436
1437 * pa.md (decrement_and_branch_until_zero): Change predicate for
1438 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
1439
5cb265ec
BM
14402002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1441
1442 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
1443 gets undefined. For Darwin.
1444
fcd8fa8b
HB
14452002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1446
1447 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
1448
bd3ab23a
MH
14492002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1450
1451 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
1452
21e16bd6
RH
14532002-01-08 Richard Henderson <rth@redhat.com>
1454
1455 * regrename.c (copy_value): Ignore overlapping copies.
1456
a5376276
RH
14572002-01-08 Richard Henderson <rth@redhat.com>
1458
1459 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
1460 as needed to avoid shared structure.
1461
18cf8dda
KH
14622002-01-08 Kazu Hirata <kazu@hxi.com>
1463
1464 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
1465 H8/300H and H8/S.
1466
16c484c7
JM
14672002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1468
1469 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
1470 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
1471 documentation of obsolete macros.
1472 * system.h: Poison these macros.
1473 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
1474 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
1475 config/c4x/c4x.h, config/clipper/clipper.h,
1476 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
1477 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
1478 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
1479 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
1480 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
1481 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
1482 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
1483 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
1484 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
1485 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
1486 config/sparc/sparc.h, config/stormy16/stormy16.h,
1487 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
1488 definitions and commented out definitions of obsolete macros.
1489 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
1490 of MAX_INT_TYPE_SIZE.
1491
14b3e8ef
UW
14922002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1493
1494 * config/s390/s390.c (s390_preferred_reload_class): Never
1495 return ADDR_REGS if it isn't a subset of the given class.
1496 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
1497 FP_REGS, but all superclasses as well.
1498
1499 * config/s390/s390.c (s390_function_profiler): Fix thinko.
1500
1501 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
1502 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
1503 must not be a const_int.
1504
a693284d
RH
15052002-01-08 Richard Henderson <rth@redhat.com>
1506
1507 * Makefile.in (toplev.o): Depend on options.h.
1508 (gcc.o): Depend on specs.h.
1509
b3ca30df
JJ
15102002-01-08 Jakub Jelinek <jakub@redhat.com>
1511
1512 * expr.c (store_expr): Convert VOIDmode constants back to target's
1513 mode.
1514
24dbb440
GP
15152002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1516
1517 * doc/invoke.texi: Markup gcc as @command. Refer to
1518 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
1519 of http://gcc.gnu.org/thanks.html.
1520
234e114c
DJ
15212002-01-08 Dale Johannesen <dalej@apple.com>
1522
1523 * config/rs6000/rs6000.md: Add missing int register
1524 target case to movdf_low.
1525
0d24f4d1
ZW
15262002-01-08 Zack Weinberg <zack@codesourcery.com>
1527
1528 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
1529 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
1530 (cppinit.o): Depend on except.h.
1531 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
1532 s-specs): New rules.
1533
1534 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
1535 Don't create specs.h/options.h/gencheck.h here. Remove
1536 unnecessary variable settings from last argument of AC_OUTPUT.
1537 * config.in, configure: Regenerate.
1538 * intl.c: Hardcode package name as "gcc".
1539
1540 * cppinit.c: Include except.h.
1541 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
1542 appropriate.
1543 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
1544 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
1545 (!)USING_SJLJ_EXCEPTIONS.
1546 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
1547
ed722f66
JM
15482002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1549
1550 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
1551 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
1552 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
1553 documentation of obsolete macros.
1554 * system.h: Poison these macros.
1555 * config/d30v/d30v.h, config/ns32k/encore.h,
1556 config/stormy16/stormy16.h: Remove definitions and commented out
1557 definitions of obsolete macros.
1558
31e5e29a
NP
1559Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
1560
1561 * objc/objc-act.c (handle_class_ref): Mark the declaration of
1562 %sobjc_class_ref_%s as used - to prevent unwanted compiler
1563 warnings.
1564
bc1fa59c
UW
15652002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
1566
1567 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
1568 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
1569 to insn adjusting stack/frame pointer.
0d24f4d1 1570 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
1571 accept operands that cause the insn to be non-splittable.
1572
a8086abf
GS
15732002-01-08 Graham Stott <grahams@redhat.com>
1574
1575 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
1576 (C_TYPE_FIELDS_VOLATILE): Likewise.
1577 (C_TYPE_BEING_DEFINED): Likewise.
1578 (C_IS_RESERVED_WORD): Likewise.
1579 (C_TYPE_VARIABLE_SIZE): Likewise.
1580 (C_DECL_VARIABLE_SIZE): Likewise.
1581 (C_MISSING_PROTOTYPE_WARNED): Likewise.
1582 (C_SET_EXP_ORIGINAL_CODE): Likewise.
1583 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
1584 parenthesis.
1585 (C_DECL_ANTICIPATED): Likewise.
1586 (c_build_type_variant): Add parenthesis.
1587
3f595aa1
JM
15882002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
1589
1590 * gcc.c (option_map): Remove --version.
1591 (process_command): Handle -fversion following the GNU Coding
1592 Standards. Partially addresses PR other/704.
1593
5bc5a8f9
GS
15942002-01-08 Graham Stott <grahams@redhat.com>
1595
1596 * combine.c (combine_instructions): Fix typo.
1597
16ec4ebf
GS
15982002-01-08 Graham Stott <grahams@redhat.com>
1599
1600 * debug.h: Use "tree" and "rtx" throughout.
1601
1602 * debug.c: Likewise.
1603
4b69f385
NC
16042002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
1605
1606 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
1607 constant pool, use the pool's version of the symbol instead.
1608
57d1019b
RH
16092002-01-07 Richard Henderson <rth@redhat.com>
1610
1611 * regrename.c (find_oldest_value_reg): Ignore the value chain if
1612 the original register was copied in a mode with a fewer number of
1613 hard registers than the desired mode.
1614 (copyprop_hardreg_forward_1): Likewise.
1615 (debug_value_data): Fix loop test.
1616 * toplev.c (parse_options_and_default_flags): Reenable
1617 -fcprop-registers at -O1.
1618
16192002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 1620
0d24f4d1
ZW
1621 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
1622 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 1623
0d24f4d1
ZW
1624 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
1625 predicates.
fa066a23 1626
0d24f4d1 1627 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 1628
8f949e7e
JDA
16292002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
1630
1631 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
1632 (pa_output_function_prologue): Output local label at the beginning of
1633 the prologue when profiling.
1634 (hppa_profile_hook): Use the local label rather than the function label.
1635 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
1636
c62f2db5
AH
16372002-01-07 Aldy Hernandez <aldyh@redhat.com>
1638
0d24f4d1
ZW
1639 * config/rs6000/rs6000.c (print_operand): Remove extra space.
1640 (altivec_expand_unop_builtin): Fix thinko.
1641 (altivec_expand_binop_builtin): Same.
1642 (altivec_expand_ternop_builtin): Same.
1643 (altivec_expand_builtin): Same.
c62f2db5 1644
b5235ba7
RH
16452002-01-07 Richard Henderson <rth@redhat.com>
1646
1647 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
1648
7d8ac293
JM
16492002-01-07 Jason Merrill <jason@redhat.com>
1650
1651 * unwind-dw2.c (execute_cfa_program): Use < again.
1652
571a03b8
JJ
16532002-01-07 Jakub Jelinek <jakub@redhat.com>
1654
1655 * predict.c (combine_predictions_for_insn): Avoid division by zero.
1656
2e951384
JJ
16572002-01-07 Jakub Jelinek <jakub@redhat.com>
1658
1659 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
1660 Don't allow -1 - x -> ~x simplifications in the first pass.
1661
20e26713
AH
16622002-01-07 Aldy Hernandez <aldyh@redhat.com>
1663
0d24f4d1
ZW
1664 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
1665 arguments.
1666 (altivec_expand_binop_builtin): Same.
1667 (altivec_expand_unop_builtin): Same.
1668 (print_operand): Fix typo.
1669 (bdesc_1arg): Add vupk* variants.
20e26713 1670
0d24f4d1 1671 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 1672
0d24f4d1 1673 * rs6000.md: Add altivec_vupk* variants.
20e26713 1674
4dd57c18
JM
16752002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
1676
1677 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
1678 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
1679 and last update dates.
1680
0341c5d2
JJ
16812002-01-07 Janis Johnson <janis187@us.ibm.com>
1682
1683 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
1684
c7f3e0b0
MM
16852002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1686
1687 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
1688 * config/avr/avr.h (CPP_SPEC): Likewise.
1689 (LINK_SPEC): Likewise.
1690 (CRT_BINUTILS_SPECS): Likewise.
1691 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1692 * doc/invoke.texi (AVR Options): Document them.
1693
6ba4d630
JH
1694Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
1695
1696 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
1697 LABEL_NUSES.
1698
6253d571
GS
16992002-01-07 Graham Stott <grahams@redhat.com>
1700
0d24f4d1
ZW
1701 * config/i386/i386.h: Update copyright date.
1702 (HALF_PIC_PTR): Add parenthesis.
1703 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
1704 (CONSTANT_ALIGNMENT): Add parenthesis.
1705 (DATA_ALIGNMENT): Likewise.
1706 (LOCAL_ALIGNMENT): Likewise.
1707 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
1708 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
1709 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
1710 (HARD_REGNO_NREGS): Add paranethesis.
1711 (VALID_SSE_REG_MODE): Whitespace.
1712 (VALID_MMX_REG_MODE): Whitespace.
1713 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
1714 (ix86_hard_regno_mode_ok): Add parenthesis.
1715 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
1716 (RETURN_IN_MEMORY): Whitespace.
1717 (N_REG_CLASSES): Add parenthesis.
1718 (INTEGER_CLASS_P): Add parenthesis and wrap.
1719 (FLOAT_CLASS_P): Likewise.
1720 (SSE_CLASS_P): Likewise.
1721 (MMX_CLASS_P): Likewise.
1722 (MAYBE_INTEGER_CLASS_P): Likewise.
1723 (MAYBE_FLOAT_CLASS_P): Likewise.
1724 (MAYBE_SSE_CLASS_P): Likewise.
1725 (MAYBE_MMX_CLASS_P): Likewise.
1726 (Q_CLASS_P): Likewise.
1727 (GENERAL_REGNO_P): Uppercase macro parameter.
1728 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
1729 (FP_REGNO_P): Likewise.
1730 (ANY_FP_REGNO_P): Uppercase macro parameter.
1731 (SSE_REGNO_P): Likewise.
1732 (SSE_REGNO): Likewise.
1733 (SSE_REG_P): Likewise.
1734 (SSE_FLOAT_MODE_P): Likewise.
1735 (MMX_REGNO_P): Likewise.
1736 (MMX_REG_P):Likewise.
1737 (STACK_REG_P): Likewise.
1738 (NON_STACK_REG_P): Likewise.
1739 (STACK_TOP_P): Likewise.
1740 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
1741 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
1742 (SECONDARY_MEMORY_NEEDED): Likewise.
1743 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
1744 (MD_ASM_CLOBBERS): Whitespace and wrap.
1745 (MUST_PASS_IN_STACK): Whitespace and wrap.
1746 (RETURN_POPS_ARGS): Add parenthesis.
1747 (INIT_CUMULATIVE_ARGS): Likewise.
1748 (FUNCTION_ARG): Likewise.
1749 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
1750 (SETUP_INCOMING_VARARGS): Likewise.
1751 (BUILD_VA_LIST_TYPE): Add parenthesis.
1752 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
1753 parenthsis.
1754 (EXPAND_BUILTIN_VA_ARG): Likewise.
1755 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
1756 (INITIALIZE_TRAMPOLINE): Add parenthesis.
1757 (INITIAL_ELIMINATION_OFFSET): Likewise.
1758 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
1759 (REGNO_OK_FOR_BASE_P): Likewise.
1760 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
1761 (REGNO_OK_FOR_DIREG_P): Likewise.
1762 (REG_OK_FOR_INDEX_P): Whitespace.
1763 (REG_OK_FOR_BASE_P): Whitespace.
1764 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
1765 parenthesis.
1766 (FIND_BASE_TERM): Fix typo.
1767 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
1768 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
1769 (SYMBOLIC_CONST; Whitespace.
1770 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
1771 (ENCODE_SECTION_INFO): Whitespace.
1772 (FINALIZE_PIC): Remove do { ... } while (0).
1773 (PROMOTE_MODE): Wrap in do { ... } while (0).
1774 (CONST_COSTS): Whitespace.
1775 (RTX_COSTS): Add paramethesis, whitespace and wrap.
1776 (REGISTER_MOVE_COST): Add parenthesis.
1777 (MEMORY_MOVE_COST): Likewise.
1778 (EXTRA_CC_MODES): Whitespace.
1779 (SELECT_CC_MODE): Add parenthesis and whitespace.
1780 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
1781 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
1782 (ASM_OUTPUT_LABEL): Add paramethesis.
1783 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
1784 (ASM_OUTPUT_REG_POP): Likewise.
1785 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
1786 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 1787
07933f72
GS
1788 * config/i386/i386.c: Update copyright.
1789 (CHECK_STACK_LIMIT): Add parenthesis.
1790 (AT_BP): Uppercase macro parameter.
1791 (x86_64_int_parameter_registers): Constify.
1792 (x86_64_int_return_registers): Likewise.
1793 (ix86_compare_op0): Use rtx.
1794 (construct_container): Constify INTREG parameter.
1795 (function_arg): Use rtx.
1796
0b4d32c9
GS
1797 * diagnostic.h: Update copyright date.
1798 (output_buffer_state): Add parenthesis.
1799 (output_buffer_format_args): Likewise.
1800
6253d571
GS
1801 * combine.c (combine_instructions): Replace XEXP (links, 0)
1802 with link.
1803
68f3f6f1
L
18042002-01-06 H.J. Lu <hjl@gnu.org>
1805
1806 * cfgcleanup.c (thread_jump): Fix 2 typos.
1807
18082002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 1809
0d24f4d1 1810 * config.gcc: Add support for --enable-altivec.
480f7f3a 1811
13b8c631
CR
18122002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1813
1814 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
1815
58ad89b1
JJ
18162002-01-06 Jakub Jelinek <jakub@redhat.com>
1817
1818 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
1819 __objc_class_name_*.
1820
e403b4bc
CR
18212002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
1822
1823 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
1824
e41c7831
RH
18252002-01-06 Richard Henderson <rth@redhat.com>
1826
1827 * reorg.c (emit_delay_sequence): Remove death notes, not merely
1828 nop them out. Increment label reference count for REG_LABEL.
1829 (fill_slots_from_thread): Frob label reference count around
1830 delete_related_insns.
1831
3b3b1e32
RH
18322002-01-05 Richard Henderson <rth@redhat.com>
1833
1834 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
1835 jump threading.
1836
c28abdf0
RH
18372002-01-05 Richard Henderson <rth@redhat.com>
1838
1839 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
1840 * integrate.c (output_inline_function): Likewise.
1841 * toplev.c (rest_of_compilation): Do it here instead. Move call
1842 to remove_unnecessary_notes after emitting abstract instance.
1843 Force an emitted nested function to have its parent emited as well.
1844 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
1845 for null.
1846 (rtl_for_decl_location): Do not look at reload data structures
1847 before reload has run.
1848
c4f2c499
KH
18492002-01-05 Kazu Hirata <kazu@hxi.com>
1850
1851 * cse.c: Fix formatting.
1852 * dwarf2asm.c: Likewise.
1853 * dwarf2out.c: Likewise.
1854 * explow.c: Likewise.
1855 * expmed.c: Likewise.
1856 * function.c: Likewise.
1857 * gcov.c: Likewise.
1858 * gencheck.c: Likewise.
1859 * genrecog.c: Likewise.
1860 * ggc-common.c: Likewise.
1861 * ggc-page.c: Likewise.
1862 * global.c: Likewise.
1863
cf0d9408
KH
18642002-01-05 Kazu Hirata <kazu@hxi.com>
1865
1866 * combine.c: Fix formatting.
1867
bedca03a
CR
18682002-01-05 Craig Rodrigues <crodrigu@bbn.com>
1869
1870 PR middle-end/1557
1871 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
1872
0134bf2d
DE
18732002-01-05 David Edelsohn <edelsohn@gnu.org>
1874
1875 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
1876 as 1 for __powerpc64__ as well.
1877
1878 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
1879
1880 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
1881 return it.
1882
9ca88d5a
DB
18832002-01-05 Daniel Berlin <dan@dberlin.org>
1884
1885 * lcm.c: Revert change, due to performance regression it causes on
1886 SPEC because it's slightly more conservative (sigh, I hate
1887 edge-based LCM).
0d24f4d1 1888
1c570418
JH
1889Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
1890
1891 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
1892
d83bb9f7
NB
18932002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
1894
1895 * doc/cppinternals.texi: Update.
1896
3e0f61ac
HPN
18972002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
1898
1899 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
1900 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
1901 negatives.
1902 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
1903 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
1904 kludge for pre-october-14th mmix versions to handle new-found bug
1905 with PUSHJ/PUSHGO and the register stack.
1906 * config/mmix/mmix.h (struct machine_function): Rename member
1907 has_call_value_without_parameters to has_call_without_parameters.
1908 All referers changed.
1909 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
1910 TARGET_MASK_BRANCH_PREDICT): New macros.
1911 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
1912 -mno-reg-stack-fill-bug-workaround.
1913 * config/mmix/mmix.md ("call"): Set struct machine member
1914 has_call_without_parameters.
1915
4deaa2f8
JH
1916Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
1917
1918 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
1919
9f16e871
JH
1920Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
1921
1922 * cfgcleanup.c: Include tm_p.h
1923 (mark_effect): Fix handling of hard register; fix handling of SET
1924
96eb1157
KH
19252002-01-04 Kazu Hirata <kazu@hxi.com>
1926
1927 * config/h8300/h8300.md (anonymous patterns): Check that
1928 operands are registers before using REGNO on them.
1929
48180d68
RM
19302002-01-03 Roland McGrath <roland@frob.com>
1931
1932 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
1933
b0832fe1
JJ
19342002-01-04 Jakub Jelinek <jakub@redhat.com>
1935
1936 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
1937 * c-common.h (genrtl_expr_stmt_value): Likewise.
1938 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
1939 (expand_expr_stmt_value): Add maybe_last argument.
1940 Don't warn about statement with no effect if it is the last statement
1941 in expression statement.
1942 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
1943 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
1944 expand_expr_stmt_value.
1945 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
1946 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
1947 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
1948 as maybe_last to expand_expr_stmt_value.
1949
c1e14513
JL
1950Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
1951
0d24f4d1
ZW
1952 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
1953 be passed in, do not build it.
1954 (c_begin_if_stmt): New function.
1955 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1956 * c-common.h (c_expand_start_cond): Update prototype.
1957 (c_begin_if_stmt): Prototype new function.
1958 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
1959 * c-parse.in (if_prefix): Use c_begin_if_stmt,
1960 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 1961
b6ec437a
WC
19622002-01-04 William Cohen <wcohen@redhat.com>
1963
1964 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
1965 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
1966 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
1967 * config/pa/som.h (ASM_FILE_START): Likewise.
1968
517b711f
DB
19692001-01-04 Daniel Berlin <dan@cgsoftware.com>
1970
1971 * lcm.c: Include df.h.
1972 Add available_transfer_function prototype.
1973 (compute_available): Rework to use iterative dataflow framework.
1974 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
1975 with bb_info in df.h
1976 (available_transfer_function): New function.
1977
1978 * Makefile.in (lcm.o): add df.h to dependencies.
1979
551cc6fd
RH
19802002-01-04 Richard Henderson <rth@redhat.com>
1981
1982 * config/alpha/alpha.c (some_operand): Accept HIGH.
1983 (input_operand): Likewise; accept simple references to globals.
1984 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
1985 (alpha_const_double_ok_for_letter_p): Likewise.
1986 (alpha_extra_constraint): Likewise.
1987 (alpha_preferred_reload_class): Likewise. Do not force
1988 symbolic constants to memory.
1989 (alpha_legitimate_address_p): Accept simple references
1990 to small_symbolic_operand.
1991 (alpha_legitimize_address): New arg scratch. Be prepared to be
1992 called when no_new_pseudos. Emit simple symbolic references.
1993 Split integers into low, high, and rest.
1994 (alpha_expand_mov): Use alpha_legitimize_address.
1995 (some_small_symbolic_mem_operand): New.
1996 (split_small_symbolic_mem_operand): New.
1997 * config/alpha/alpha-protos.h: Update.
1998 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
1999 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
2000 (EXTRA_CONSTRAINT): Likewise.
2001 (PREFERRED_RELOAD_CLASS): Likewise.
2002 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
2003 (PREDICATE_CODES): Update.
2004 * config/alpha/alpha.md: New post-reload splitters to convert
2005 simplfied symbolic operands to the form that references $29.
2006 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
2007 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
2008
1eaea054
RH
20092002-01-03 Richard Henderson <rth@redhat.com>
2010
2011 * local-alloc.c (function_invariant_p): Update commentary.
2012
c4cc12b7
L
20132002-01-04 H.J. Lu <hjl@gnu.org>
2014
2015 * toplev.c (rest_of_compilation): Fix a typo when calling
2016 cleanup_cfg.
2017
173bf5be
KH
20182002-01-03 Kazu Hirata <kazu@hxi.com>
2019
2020 * c-common.c: Fix formatting.
2021 * diagnostic.c: Likewise.
2022 * doloop.c: Likewise.
2023 * dwarf2out.c: Likewise.
2024
187462ac
KH
20252002-01-03 Kazu Hirata <kazu@hxi.com>
2026
2027 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
2028 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
2029
5d8ebbd8
NB
20302002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2031
2032 * cpperror.c: Update comments and copyright.
2033 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
2034 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
2035
518c1311
JDA
20362002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
2037
2038 * collect2.c (main): Use strcmp when testing for "-shared".
2039
d15a58c0
NB
20402002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
2041
2042 * cppmacro.c: Don't include intl.h. Update comments.
2043 (new_number_token): Allocate enough buffer for 64-bit unsigned
2044 integers; update prototype.
2045 * cppmain.c: Update comments.
2046
70f4f91c
WC
20472002-01-03 William Cohen <wcohen@redhat.com>
2048
2049 * function.h (struct function): Add profile.
2050 (current_function_profile): New.
2051 doc/extend.texi: Update documentation.
2052 * final.c (final_start_function): Use current_function_profile
2053 instead of profile_flag.
2054 (profile_after_prologue): Likewise.
2055 * function.c (expand_function_start): Likewise.
2056 (expand_function_start): Likewise.
c4cc12b7 2057 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
2058 (alpha_does_function_need_gp): Likewise.
2059 (alpha_expand_prologue): Likewise.
2060 * config/arm/arm.c (arm_expand_prologue): Likewise.
2061 thumb_expand_prologue: Likewise.
2062 * config/d30v/d30v.c (d30v_stack_info): Likewise.
2063 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
2064 (fr30_expand_prologue): Likewise.
2065 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
2066 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
2067 * config/i386/i386.h (FINALIZE_PIC): Likewise.
2068 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
2069 * config/i960/i960.c (i960_output_function_prologue): Likewise.
2070 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
2071 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
2072 (m32r_expand_prologue): Likewise.
2073 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
2074 (m88k_expand_prologue): Likewise.
2075 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
2076 * config/mips/mips.c (compute_frame_size): Likewise.
2077 (mips_expand_prologue): Likewise.
2078 (mips_can_use_return_insn): Likewise.
2079 * config/pa/elf.h (ASM_FILE_START): Likewise.
2080 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
2081 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
2082 * config/pa/som.h (ASM_FILE_START): Likewise.
2083 * config/romp/romp.c (romp_using_r14): Likewise.
2084 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
2085 (rs6000_stack_info): Likewise.
2086 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 2087 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
2088 * config/v850/v850.c (compute_register_save_size): Likewise.
2089
cb1ac742
JJ
20902002-01-03 Jakub Jelinek <jakub@redhat.com>
2091
2092 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
2093 gen_lowpart_common fails, use gen_lowpart_SUBREG.
2094
61d951df 20952002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 2096
61d951df
TC
2097 * darwin.c (machopic_output_possible_stub_label): Don't generate
2098 stub routines for pseudo-stubs which we've just defined.
2099
505ddab6
KH
21002002-01-03 Kazu Hirata <kazu@hxi.com>
2101
2102 * builtins.c: Fix formatting.
2103 * c-typeck.c: Likewise.
2104 * combine.c: Likewise.
2105 * expr.c: Likewise.
2106 * loop.c: Likewise.
2107
b7e30d8a
AS
21082002-01-03 Andreas Schwab <schwab@suse.de>
2109
2110 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
2111 and return true if _cpp_push_next_buffer pushed a new include
2112 file.
2113 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
2114 _cpp_pop_file_buffer did not push a new file.
2115 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
2116
ff81832f
EC
21172002-01-02 Eric Christopher <echristo@redhat.com>
2118
2119 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
2120 FIND_REG_INC_NOTE call. Update copyright.
2121 * loop.c (canonicalize_condition): Ditto.
2122 * reorg.c (delete_scheduled_jump): Ditto.
2123
8e42ace1
KH
21242002-01-03 Kazu Hirata <kazu@hxi.com>
2125
2126 * gcse.c: Fix formatting.
2127
fb2bf631
GS
21282002-01-03 Graham Stott <grahams@redhat.com>
2129
2130 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
2131 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 2132 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
2133
2134 * system.h: Move forward defs for struct tags rtx_def, union_tree,
2135 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 2136 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
2137
21382002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
2139
2140 * tree.h: Update copyright date.
2141 (IS_EXPR_CODE_CLASS): Add parenthesis.
2142 (TREE_SET_CODE): Add whitespace.
2143 (TREE_CHECK): Add parenthesis.
2144 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
2145 (CST_OR_CONSTRUCTOR_CHECK):
2146 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
2147 (TREE_SYMBOL_REFERENCED): Whitespace.
2148 (INT_CST_LT): Likewise.
2149 (INT_CST_LT_UNSIGNED): Likewise.
2150 (tree_real_cst): Unwrap comment.
2151 (tree_string): Likewise.
2152 (tree_complex): Likewise.
2153 (IDENTIFIER_POINTER): correct cast.
2154 (SAVE_EXPR_CONTEXT): Whitespace.
2155 (EXPR_WFL_FILENAME_NODE): Likewise.
2156 (EXPR_WFL_FILENAME): Remove parenthesis.
2157 (DECL_ORIGIN): Add parenthesis.
2158 (DECL_FROM_INLINE): Use NULL_TREE.
2159 (build_int_2): Whitespace.
2160 (build_type_variant): Add parenthesis.
2161
2162 * gcc/jcf-parse.c: Update copyright date.
2163 (yyparse): Constify resource_filename.
2164
f52eda29
GS
21652002-01-03 Graham Stott <grahams@redhat.com>
2166
2167 * rtl.h: Update copyright date.
2168 (RTL_CHECK1): Wrap long line.
2169 (RTL_CHECK2): Likewise.
2170 (RTL_CHECKC1): Wrap long line and whitespace.
2171 (RTL_CHECKC2): Likewise.
2172 (XWINT): Whitespace.
2173 (XINT): Likewise.
2174 (XSTR): Likewise.
2175 (XEXP): Likewise.
2176 (XVEC): Likewise.
2177 (XMODE): Likewise.
2178 (XBITMAP): Likewise.
2179 (XTREE): Likewise.
2180 (XBBDEF): Likewise.
2181 (XTMPL): Likewise.
2182 (X0WINT): Likewise.
2183 (X0INT):Likewise.
2184 (X0UINT): Likewise.
2185 (X0STR): Likewise.
2186 (X0EXP): Likewise.
2187 (X0VEC): Likewise.
2188 (X0MODE): Likewise.
2189 (X0BITMAP): Likewise.
2190 (X0TREE): Likewise.
2191 (X0BBDEF): Likewise.
2192 (X0ADVFLAGS): Likewise.
2193 (X0CSELIB): Likewise.
2194 (X0MEMATTR): Likewise.
2195 (XCWINT): Likewise.
2196 (XCINT): Likewise.
2197 (XCUINT): Likewise.
2198 (XCSTR): Likewise.
2199 (XCEXP): Likewise.
2200 (XCVEC): Likewise.
2201 (XCMODE): Likewise.
2202 (XCBITMAP): Likewise.
2203 (XCTREE): Likewise.
2204 (XCBBDEF): Likewise.
2205 (XCADVFLAGS): Likewise.
2206 (XCCSELIB): Likewise.
2207 (XC2EXP): Likewise.
2208 (INSN_UID): Likewise.
2209 (PREV_INSN): Likewise.
2210 (PATTERN): Likewise.
2211 (INSN_CODE): Likewise.
2212 (PUT_REG_NOTE_KIND): Likewise.
2213 (CODE_LABEL_NUMBER): Likewise.
2214 (NOTE_SOURCE_FILE): Likewise.
2215 (NOTE_BLOCK): Likewise.
2216 (NOTE_EH_HANDLER): Likewise.
2217 (NOTE_RANGE_INFO): Likewise.
2218 (NOTE_LIVE_INFO): Likewise.
2219 (NOTE_BASIC_BLOCK): Likewise.
2220 (NOTE_EXPECTED_VALUE): Likewise.
2221 (NOTE_LINE_NUMBER): Likewise.
2222 (LABEL_NAME): Likewise.
2223 (LABEL_NUSES): Likewise.
2224 (LABEL_ALTERNATE_NAME): Likewise.
2225 (ADDRESSOF_DECL): Likewise.
2226 (JUMP_LABEL): Likewise.
2227 (LABEL_NEXTREF): Likewise.
2228 (REGNO): Likewise.
2229 (ORIGINAL_REGNO: Likewise.
2230 (HARD_REGISTER_NUM_P): Add parenthesis.
2231 (SUBREG_REG): Whitespace.
2232 (SUBREG_BYTE): Likewise.
2233 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
2234 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
2235 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
2236 (ASM_OPERANDS_INPUT_VEC): Likewise.
2237 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
2238 (ASM_OPERANDS_INPUT): Likewise.
2239 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
2240 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
2241 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
2242 (ASM_OPERANDS_INPUT_MODE): Likewise.
2243 (ASM_OPERANDS_SOURCE_FILE): Likewise.
2244 (ASM_OPERANDS_SOURCE_LINE): Likewise.
2245 (MEM_SET_IN_STRUCT_P): Minor reformat.
2246 (TRAP_CONDITION): Whitespace.
2247 (TRAP_CODE): Likewise.
2248 (COND_EXEC_TEST): Likewise.
2249 (COND_EXEC_CODE): Likewise.
2250 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
2251 (PHI_NODE_P): Add parenthesis.
2252 (plus_constant): Whitespace and add parenthesis.
2253
e03f5d43
KH
22542002-01-03 Kazu Hirata <kazu@hxi.com>
2255
2256 * config/avr/avr.c: Fix comment typos.
2257 * config/c4x/c4x.md: Likewise.
2258 * config/dsp16xx/dsp16xx.h: Likewise.
2259 * config/dsp16xx/dsp16xx.md: Likewise.
2260 * config/i386/i386.md: Likewise.
2261 * config/ia64/ia64.c: Likewise.
2262 * config/m32r/m32r.h: Likewise.
2263 * config/m68hc11/m68hc11.md: Likewise.
2264 * config/mmix/mmix.c: Likewise.
2265 * config/mn10200/mn10200.c: Likewise.
2266 * config/romp/romp.c: Likewise.
2267 * config/sh/sh.c: Likewise.
2268 * config/stormy16/stormy16.c: Likewise.
2269 * config/stormy16/stormy16.h: Likewise.
2270 * config/stormy16/stormy16.md: Likewise.
2271
97e300e9
GS
22722002-01-03 Graham Stott <grahams@redhat.com>
2273
2274 * loop.h: Update copyright date.
0d24f4d1
ZW
2275 (LOOP_MOVABLES): Fix typo.
2276 (LOOP_REGS): Likewise.
2277 (LOOP_IVS): Likewise.
ff81832f 2278
745b26b3
GS
22792002-01-03 Graham Stott <grahams@redhat.com>
2280
2281 * cppinit.c: Update copyright date.
2282 Don't include output.h
2283 * Makefile.in: Update copyright date.
2284 Update dependency.
2285
0a379b7a
CR
22862002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
2287
2288 PR c/5226
2289 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
2290 (-pthread) Add to RS/6000 options.
2291
a8154559
KH
22922002-01-02 Kazu Hirata <kazu@hxi.com>
2293
2294 * except.c: Fix comment typos.
2295 * loop.c: Likewise.
2296 * varasm.c: Likewise.
2297 * doc/tm.texi: Fix a typo.
2298
e6ecc89b
JJ
22992002-01-02 Jakub Jelinek <jakub@redhat.com>
2300
2301 * c-typeck.c (output_init_element): Allow initializing static storage
2302 duration objects with compound literals.
2303
d1094b40
RH
23042002-01-02 Richard Henderson <rth@redhat.com>
2305
2306 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
2307 after abusing it.
2308
0c5d8c82
KG
23092002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2310
5e65297b
KG
2311 * gcc.c (default_compilers): Const-ify.
2312 * mips-tdump.c (stab_names): Likewise.
2313 * mips-tfile.c (map_coff_types, map_coff_storage,
2314 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
2315 pseudo_ops_t, pseudo_ops): Likewise.
2316 * protoize.c (default_include): Likewise
2317
0c5d8c82
KG
2318 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
2319 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
2320 Add array size in declaration.
2321 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
2322 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
2323 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
2324 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
2325 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
2326 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
2327 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
2328 emtens, make_nan): Const-ify.
2329 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
2330 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
2331
817e13c4
JM
23322002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
2333
2334 * config.gcc (ia64-*-*): Set extra_headers.
2335 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
2336 * config/alpha/t-osf: Remove.
2337 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
2338
98095e2b
DE
23392002-01-02 David Edelsohn <edelsohn@gnu.org>
2340
2341 * config/rs6000/t-aix43: Revert previous change.
2342
a4200657
JM
23432002-01-02 Jason Merrill <jason@redhat.com>
2344
2345 * c-decl.c (c_expand_body): Call outlining_inline_function when
2346 emitting an inline function out of line.
2347
54ba1f0d
RH
23482002-01-02 Richard Henderson <rth@redhat.com>
2349
2350 * dwarf2out.c (limbo_die_node): Add created_for member.
2351 (new_die): New argument created_for. Update all callers.
2352 (mark_limbo_die_list): New.
2353 (dwarf2out_init): Register limbo_die_list as a root.
2354 (dwarf2out_finish): Force insert limbo dies into their function
2355 context.
2356
323728aa
NS
23572002-01-02 Nathan Sidwell <nathan@codesourcery.com>
2358
2359 PR c++/5089
2360 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
2361
aefc5826
KH
23622002-01-02 Kazu Hirata <kazu@hxi.com>
2363
2364 * config/h8300/fixunssfsi.c: Update copyright.
2365 Fix comment typos.
2366 Fix formatting.
2367 * config/h8300/h8300.c: Update copyright.
2368 Eliminate warnings.
2369
b1c9bc51
KH
23702002-01-02 Kazu Hirata <kazu@hxi.com>
2371
2372 * config/romp/romp.c: Fix comment formatting.
2373 * config/romp/romp.h: Likewise.
2374 * config/romp/romp.md: Likewise.
2375 * config/s390/s390.c: Likewise.
2376 * config/stormy16/stormy16.c: Likewise.
2377 * config/stormy16/stormy16.h: Likewise.
2378
1574ef13
AO
23792002-01-02 Alexandre Oliva <aoliva@redhat.com>
2380
2381 * c-common.h (genrtl_expr_stmt_value): Declare.
2382 * c-semantics.c (genrtl_goto_stmt): Redirect to...
2383 (genrtl_goto_stmt_value): ... this new function. Pass new
2384 argument down to expand_expr_stmt_value, taking
2385 TREE_ADDRESSABLE into account.
2386 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
2387 STMT_EXPR as addressable, i.e., one whose result we want.
2388 * expr.c (expand_expr): Don't save expression statement value
2389 of labeled_blocks or loop_exprs.
2390 * stmt.c (expand_expr_stmt): Redirect to...
2391 (expand_expr_stmt_value): ... this new function. Use new
2392 argument to tell whether to save expression value.
2393 (expand_end_stmt_expr): Reset last_expr_type and
2394 last_expr_value if we don't have either.
2395 * tree-inline.c (declare_return_variable): Mark its use
2396 statement as addressable.
2397 * tree.h: Document new use of TREE_ADDRESSABLE.
2398 (expand_expr_stmt_value): Declare.
2399
252b88f7
TR
24002002-01-01 Tom Rix <trix@redhat.com>
2401
2402 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
2403 rs6000_emit_allocate_stack.
2404
29f7a208
JM
24052002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
2406
2407 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
2408 ${srcdir}/ginclude/ to every entry in extra_headers.
2409 * configure: Regenerate.
2410 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
2411 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
2412 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
2413 * ginclude/proto.h: Rename to config/convex/proto.h.
2414
2cc2d4bb
RK
2415Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2416
2417 * attribs.c (handle_vector_size_attribute): Use host_integerp
2418 and tree_int_cst; remove warnings.
2419 * caller-save.c (insert_restore): Add cast to get rid of warning.
2420 (insert_save): Likewise.
2421 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
2422 * regmove.c (find_matches): Add temporary var to kill a warning.
2423
f01c9bcd
DR
24242002-01-01 Douglas B Rupp <rupp@gnat.com>
2425
16b61764
DR
2426 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
2427 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
2428 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
2429 (vms-dwarf2eh.o): Add Makefile rule.
2430 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
2431 * config/alpha/vms-dwarf2eh.asm: New file.
2432
f01c9bcd
DR
2433 * gcc.c (delete_if_ordinary): Delete all versions.
2434
91312b81
HPN
24352002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2436
2437 * config/mmix/mmix.md: Update FIXME to not mention
2438 define_constants.
2439 (MMIX_rJ_REGNUM): New define_constants constant.
2440 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
2441 "*movdicc_real"): Adjust contraints formatting.
2442 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
2443 for branch prediction.
2444 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
2445 output template.
2446 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
2447 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
2448 number. Delete related FIXMEs.
2449 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
2450 from number to MMIX_rJ_REGNUM.
2451 (TARGET_MASK_BRANCH_PREDICT): New.
2452 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
2453 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
2454 value. Add -mbranch-predict and -mno-branch-predict.
2455 (TARGET_VERSION): Drop date.
2456 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
2457 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
2458 for finding out global symbols.
2459 (mmix_asm_output_labelref): Revert condition for global symbol.
2460 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
2461 (mmix_print_operand_punct_valid_p): A '+' is valid.
2462
619acae7 2463See ChangeLog.6 for earlier changes.
This page took 0.352797 seconds and 5 git commands to generate.