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