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