]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
[gcc.git] / gcc / ChangeLog
CommitLineData
279be7c8
RE
12002-05-21 Richard Earnshaw <rearnsha@arm.com>
2
3 * bitmap.c (bitmap_find_bit): Return early if we have the correct
4 element cached.
5
193a563a
JH
6Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
7
8 * profile.c (gen_edge_profiler): Set alias set before the memory is
9 used.
10
31825e57
DM
112002-05-20 David S. Miller <davem@redhat.com>
12
13 * cselib.c (max_value_regs): New.
14 (cselib_lookup, cselib_invalidate_regno): Initialize it when
15 adding new entries to the REG_VALUES table and we are dealing with
16 a hard register.
17 (clear_table): Initialize it.
18 (cselib_invalidate_regno): Use it to determine which hard
19 registers to scan when mode is not VOIDmode.
20
29d83d60
DM
212002-05-20 Duraid Madina <duraid@fl.net.au>
22
23 * tradcpp.c (fixup_newlines): Use old-style function header.
24
e0a09fda
KW
252002-05-20 Krister Walfridsson <cato@df.lth.se>
26
27 * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
28
e0c13c70
L
292002-05-20 H.J. Lu (hjl@gnu.org)
30
31 Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
32
33 * config/mips/mips.h (DFMODE_NAN): Defined.
34 (SFMODE_NAN): Likewise.
35
4c11675d 362002-05-20 Dale Johannesen <dalej@apple.com>
e0c13c70 37
4c11675d
DJ
38 * combine.c (cant_combine_insn_p): Back out my
39 previous patch.
40
6a4d6760
KH
412002-05-20 Kazu Hirata <kazu@cs.umass.edu>
42
43 * params.c: Fix formatting.
44 * params.h: Likewise.
45 * predict.c: Likewise.
46 * prefix.c: Likewise.
47 * print-rtl.c: Likewise.
48 * print-tree.c: Likewise.
49 * profile.c: Likewise.
50
5715ca64
L
512002-05-20 H.J. Lu (hjl@gnu.org)
52
53 * gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.
54
00b89f01
NC
552002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
56
57 * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
58 switches straight on to the assembler, do not abbreviate them.
59 * config/arm/elf.h (ASM_SPEC): As above.
60 * config/arm/semi.h (ASM_SPEC): As above.
61 * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
62 * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
63 -mcpu=xscale on to the assembler by default.
64 * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.
65
1441374b
RH
662002-05-20 Richard Henderson <rth@redhat.com>
67
68 * cse.c (canon_hash): Reorder do_not_record test. Always
69 allow pic_offset_table_rtx.
70
c0fe508e
TM
712002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
72
73 * optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
74 (expand_binop): Ditto (3 times).
75
f362c762
MM
762002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
77
78 * Makefile.in (distclean): Remove QMTest stuff.
79 (QMTEST_PATH): New variable.
80 (QMTESTFLAGS): Likewise.
81 (QMTESTRUNFLAGS): Likewise.
82 (QMTEST): Likewise.
83 (QMTEST_GPP_TESTS): Likewise.
84 (QMTEST_DIR): Likewise.
85 (QMTEST_DIR/context): New target.
86 (qmtest-g++): Likeise.
87 (qmtest-gui): Likewise.
88 (QMTEST_DIR/gpp-expected.qmr): Likewise.
89
16861f33
AH
902002-05-19 Aldy Hernandez <aldyh@redhat.com>
91
92 * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
93 an altivec register if TARGET_ALTIVEC.
94
95 * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
96 to ALTIVEC_VECTOR_MODE.
97 (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
98 (rs6000_va_arg): Vectors may go in registers if they are not
99 altivec vectors.
100
23459e15
KH
1012002-05-19 Kazu Hirata <kazu@cs.umass.edu>
102
103 * protoize.c: Fix formatting.
104
174cc7d1
RH
1052002-05-19 Richard Henderson <rth@redhat.com>
106
107 * gensupport.c (init_include_reader): Merge into ...
108 (process_include): ... here. Simplify composite path creation.
109 Plug memory leaks. Fix file/line number tracking. Do not
110 process_define_cond_exec. Return void.
111 (process_rtx): Don't check process_include return value.
112
918ed612
ZD
1132002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
114
115 * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
116 fields.
117 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
118 traversing basic block chain.
119 (create_basic_block_structure, create_basic_block): Declaration changed.
120 (link_block, unlink_block): Declare.
121 * cfg.c (entry_exit_blocks): Initialize new fields.
122 (link_block, unlink_block): New.
123 (expunge_block_nocompact): Unlink basic block.
124 (dump_flow_info): Print prev_bb/next_bb fields.
125 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
126 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
127 * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
128 * cfgrtl.c (create_basic_block_structure, create_basic_block,
129 split_block, force_nonfallthru_and_redirect, split_edge): Modified.
130 (verify_flow_info): Check that list agrees with numbering.
131
e0322d5c
NB
1322002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
133
134 * c-common.c (preprocessing_asm): New macro.
135 * c-lex.h (builtin_define, builtin_assert): Use pfile.
136doc:
137 * tm.texi: Update.
138config/alpha:
139 * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
140 (CPP_SPEC): Simplify.
141 (TARGET_CPU_CPP_BUILTINS): Update.
142 * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
143 (CPP_SPEC): Simplify.
144 * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
145 (TARGET_OS_CPP_BUILTINS): Update.
146 * osf.h (CPP_XFLOAT_SPEC): Kill.
147 (TARGET_OS_CPP_BUILTINS): Update.
148 (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
149 * osf5.h (CPP_XFLOAT_SPEC): Kill.
150 * vms.h (CPP_SUBTARGET_SPEC): Kill.
151 (TARGET_OS_CPP_BUILTINS): Update.
152
121f5c2c
RH
1532002-05-19 Richard Henderson <rth@redhat.com>
154
155 * varasm.c (default_binds_local_p): Fix typo.
156
651c5ed9
MM
1572002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
158
159 * config/avr/avr.c (machine_dependent_reorg): Sign extend the
160 CONST_INT operand to the correct mode after adding 1 to it.
161
bce0deb2
MM
1622002-05-19 Mark Mitchell <mark@codesourcery.com>
163
164 * config.gcc (powerpc-wrs-windiss*): New target.
165
4aa74a4f
FS
1662002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
167
168 * config/rs6000/rs6000.md (ashrdi3_no_power): New.
169 (ashrdi3): Use it.
170
a15135c9
MM
1712002-05-18 Mark Mitchell <mark@codesourcery.com>
172
173 * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
174 alphasort.
175 * config.in: Regenerated.
176 * configure: Regenerated.
177
47754fd5
RH
1782002-05-19 Richard Henderson <rth@redhat.com>
179
180 * target-def.h (TARGET_BINDS_LOCAL_P): New.
181 * target.h (struct gcc_target): Move boolean fields to the end.
182 Add binds_local_p.
183 * varasm.c (default_binds_local_p): New.
184 * output.h: Declare it.
185
186 * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
187 * config/cris/cris.c (cris_encode_section_info): Likewise.
188 * config/i386/i386.c (i386_encode_section_info): Likewise.
189 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
190 * config/sh/sh.c (sh_encode_section_info): Likewise.
191
192 * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
193 (TARGET_BINDS_LOCAL_P): New.
194
fc881338
RH
1952002-05-19 Richard Henderson <rth@redhat.com>
196
197 * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
198 FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
199 MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
200
201 * toplev.c (display_help): Kill -a -ax help.
202
203 * config/1750a/1750a.h, config/alpha/alpha.h,
204 config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
205 config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
206 config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
207 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
208
209 * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
210 * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
211
212 * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
213 (ix86_output_function_block_profiler): Kill.
214 * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
215 (m68hc11_function_block_profiler): Kill.
216 * config/m68hc11/m68hc11-protos.h: Update.
217 * config/m88k/m88k.c (output_block_profiler): Kill.
218 (output_function_block_profiler): Kill.
219 * config/m88k/m88k-protos.h: Update.
220
772c5265
RH
2212002-05-19 Richard Henderson <rth@redhat.com>
222
223 * system.h (STRIP_NAME_ENCODING): Poison it.
224 * output.h (STRIP_NAME_ENCODING): Remove.
225 (default_strip_name_encoding): Declare.
226 * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
227 * target.h (strip_name_encoding): New.
228 * varasm.c (default_strip_name_encoding): New.
229
230 * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
231 config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
232 config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
233 config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
234 config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
235 config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
236 config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
237 config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
238 config/v850/v850.h: Use the hook, not the macro.
239
240 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
241 config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
242 config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
243 config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
244 config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
245 config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
246 config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
247 config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
248 config/v850/v850.c, config/v850/v850.h:
249 Move STRIP_NAME_ENCODING to out-of-line function and add
250 TARGET_STRIP_NAME_ENCODING.
251
252 * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
253 config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
254 with TARGET_STRIP_NAME_ENCODING referencing existing function;
255 make function static.
256
257 * xcoffout.c: Include target.h
258 * Makefile.in (xcoffout.o): Update.
259
260 * config/avr/avr.c (avr_encode_section_info): Correct prototype.
261 * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
262 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
263 reloc argument unused.
264 * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
265
266 * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
267 STRIP_NAME_ENCODING docs.
268
8f9eb495
AJ
2692002-05-19 Andreas Jaeger <aj@suse.de>
270
271 * gengenrtl.c: Add prototype for excluded_rtx.
272
273 * real.h: Add prototype for exact_real_truncate.
274
fb49053f
RH
2752002-05-18 Richard Henderson <rth@redhat.com>
276
277 * system.h (ENCODE_SECTION_INFO): Poison it.
278 * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
279 * target.h (encode_section_info): New.
280 * varasm.c (make_decl_rtl, output_constant_def): Use it.
281 * hooks.c (hook_tree_int_void): New.
282 * hooks.h: Declare it.
283
284 * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
285 config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
286 config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
287 config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
288 config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
289 config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
290 config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
291 config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
292 config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
293 config/mcore/mcore-protos.h, config/mcore/mcore.c,
294 config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
295 config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
296 config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
297 config/stormy16/stormy16.c, config/stormy16/stormy16.h:
298 Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
299 referencing existing function. Make function static.
300
301 * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
8f9eb495 302 config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
fb49053f
RH
303 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
304 config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
305 config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
8f9eb495 306 config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
fb49053f
RH
307 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
308 config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
309 config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
310 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
8f9eb495 311 config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
fb49053f
RH
312 config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
313 config/xtensa/xtensa.c, config/xtensa/xtensa.h:
314 Move ENCODE_SECTION_INFO to out-of-line function and add
315 TARGET_ENCODE_SECTION_INFO.
316
317 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
318 (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
319
320 * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
321 from SUBTARGET_*
322 (switch_to_section): Replace in_rdata case with in_readonly_data.
323
324 * config/h8300/h8300.c (h8300_encode_label): Make static.
325 * config/h8300/h8300-protos.h: Update.
326
327 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
328 from rs6000_encode_section_info; make static.
329 (rs6000_xcoff_encode_section_info): New.
330
331 * config/v850/v850.c (v850_encode_data_area): Make static.
332 * config/v850/v850-protos.h: Update.
333
334 * config/vax/vax.c: Include flags.h.
335 (vms_select_section): Fix typo.
336
337 * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
338 ENCODE_SECTION_INFO docs.
339
9fe08fd0
RH
3402002-05-18 Richard Henderson <rth@redhat.com>
341
342 * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
343 REGISTER_TARGET_PRAGMAS.
344 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
345
410b770f
RH
346 * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
347
b64a1b53
RH
3482002-05-18 Richard Henderson <rth@redhat.com>
349
350 * system.h (SELECT_RTX_SECTION): Poison.
351 * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
352 * target.h (select_rtx_section): New.
353 * varasm.c (output_constant_pool): Use it.
354 (default_select_rtx_section, default_elf_select_rtx_section): New.
355 * output.h: Declare them.
356
357 * config/darwin.h (SELECT_RTX_SECTION): Move ...
358 * config/darwin.c (machopic_select_rtx_section): ... here.
359 * config/darwin-protos.h: Update.
360
361 * config/nextstep.h (SELECT_RTX_SECTION): Move ...
362 * config/nextstep.c (machopic_select_rtx_section): ... here.
363 (nextstep_select_section): Rename variable to avoid macro clash.
364 * config/nextstep-protos.h: Update.
365
366 * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
367 config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
368 config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
8f9eb495 369 config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
b64a1b53
RH
370 config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
371 config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
8f9eb495 372 config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
b64a1b53
RH
373 config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
374 config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
375 (SELECT_RTX_SECTION): Remove.
376
377 * config/darwin.h, config/elfos.h, config/nextstep.h,
378 config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
379 config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
380 config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
381 config/sparc/lynx.h, config/xtensa/xtensa.c
382 (TARGET_ASM_SELECT_RTX_SECTION): New.
383
384 * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
385 * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
386 * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
387 * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
388 (ia64_aix_select_rtx_section): New.
389 * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
390 redefining.
391 * config/mips/mips.c (mips_select_rtx_section): Make static.
8f9eb495 392 Support ELF SHF_MERGE features.
b64a1b53
RH
393 * config/mips/mips-protos.h: Update.
394 * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
395 * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
396 (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
397 make static, fall back to default_elf_select_rtx_section.
398 * config/rs6000/rs6000-protos.h: Update.
399 * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
400 * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
401 * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
402 * config/romp/romp.c (romp_select_rtx_section): New.
403 * config/s390/s390.c (s390_select_rtx_section): New.
404 * config/xtensa/xtensa.c: Include output.h. Shuffle local function
405 declarations before target macro definition.
406 (xtensa_emit_call): Use static buffer.
407 (xtensa_select_rtx_section): New.
408 * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
409 (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
410 (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
411
412 * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
413 SELECT_RTX_SECTION docs.
414
415Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz>
5f90a099
JH
416
417 * i386.md (movsi/movdi): Fix template.
418 (sse2 patterns): Set attributes consistently.
419
420 * i386.md (pushqi2, ashrqi_*): Fix constraint.
421
6835a09c
TM
4222002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
423
424 * optabs.c (complex_part_zero_p): New.
425 * (expand_cmplxdiv_straight): Use it.
426 * (expand_cmplxdiv_wide): Ditto.
427 * (expand_binop): Ditto.
428
d48bc59a
RH
4292002-05-18 Richard Henderson <rth@redhat.com>
430
431 * final.c (HAVE_READONLY_DATA_SECTION): New.
432 (shorten_branches): Use it instead of ifdefs.
433 * varasm.c (enum in_section): Add in_readonly_data.
434 (text_section, data_section): Tidy.
435 (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
436
437 * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
438 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
439 (READONLY_DATA_SECTION): Don't undef.
440
441 * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
442 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
443 config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
444
445 * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
446 config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
447 config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
448 config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
449
450 * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
451 config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
452 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
453 config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
454 config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
455 config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
456 config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
457 config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
458 CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
459
460 * config/elfos.h, config/netware.h, config/1750a/1750a.h,
461 config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
462 config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
463 config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
464 config/pa/pa64-hpux.h, config/sparc/litecoff.h
465 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
466
467 * config/elfos.h, config/netware.h, config/svr3.h,
468 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
469 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
470 config/h8300/h8300.h, config/i386/i386-interix.h,
471 config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
472 config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
473
474 * config/elfos.h, config/netware.h, config/svr3.h,
475 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
476 config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
477 config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
478 config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
479
480 * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
481 config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
482 config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
483 config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
484 config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
485 config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
486 config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
487 config/rs6000/sysv4.h, config/v850/v850.h
488 (EXTRA_SECTIONS): Remove in_const/in_rdata.
489 (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
490
491 * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
492 config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
493 config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
494 config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
495 * config/alpha/alpha.c (alpha_start_function): Likewise.
496 (alpha_write_linkage): Likewise.
497 * config/m32r/m32r.c (m32r_select_section): Likewise.
498 * config/m88k/m88k.c (m88k_select_section): Likewise.
499 * config/mips/mips.c (mips_select_rtx_section): Likewise.
500 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
501 (rs6000_elf_select_section): Likewise.
502 * config/v850/v850.c (v850_select_section): Likewise.
503
504 * config/1750a/1750a.h, config/i860/sysv3.h
505 (READONLY_DATA_SECTION_ASM_OP): New.
506 READONLY_DATA_SECTION_ASM_OP.
507 * config/i386/interix.c, config/i386/winnt.c
508 (i386_pe_unique_section): Always use .rdata prefix.
509 * config/pa/som.h (readonly_data): Always switch to read-only section.
510 (READONLY_DATA_SECTION): Predicate on flag_pic.
511 * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
512 * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
513 (READONLY_DATA_SECTION): Update.
514
e964a556
JT
5152002-05-18 Jason Thorpe <thorpej@wasabisystems.com>
516
517 * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
8f9eb495 518 is used without -Wformat.
e964a556
JT
519 * c-common.h (warn_format_zero_length): Declare extern.
520 * c-decl.c (warn_options): Add "format-zero-length".
521 * c-format.c (warn_format_zero_length): Declare.
522 (set_Wformat): Set warn_format_zero_length for -Wformat.
523 (check_format_info): Only warn about zero-length formats if
524 warn_format_zero_length is true. Include the format type
525 name in the warning message.
526 * doc/invoke.texi: Document -Wformat-zero-length.
527 * testsuite/gcc.dg/format/zero-length-1.c: New test.
528
d92b4486
KH
5292002-05-18 Kazu Hirata <kazu@cs.umass.edu>
530
531 * timevar.c: Fix formatting.
532 * tlink.c: Likewise.
533 * toplev.c: Likewise.
534 * tree-dump.c: Likewise.
535 * tree-inline.c: Likewise.
536
43612ffb
NB
5372002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
538
539 * cppinit.c (cpp_post_options): If preprocessed, turn off
540 traditional. If traditional, turn off column numbers.
541 * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
542 * cpptrad.c (handle_newline): Update line_base.
543 (skip_comment): Handle -Wcomment.
544
f24a153a
ZW
5452002-05-17 Zack Weinberg <zack@codesourcery.com>
546
547 * cppinit.c (struct builtin): Remove unused fields.
548 (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
549 (operator_array): New - was second half of builtin_array.
550 (init_builtins): Simplify loop over builtin_array/operator_array.
551
12403335
NB
5522002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
553
554 * defaults.h (UNIQUE_SECTION): Remove.
555 * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
556
1f8c3c5b
RH
5572002-05-17 Richard Henderson <rth@redhat.com>
558
559 * expr.c (init_expr_once): Don't use start/end_sequence.
560 Use rtx_alloc instead of emit_insn.
561 * toplev.c (lang_dependent_init): Run init_expr_once here ...
562 (lang_independent_init): ... not here.
563
4664f4c4
JT
5642002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
565
566 * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
567
93febe68
MM
5682002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
569
570 * config/avr/avr.c (avr_regs_to_save): New function. Also check
571 for fixed registers, possibly used for global register variables.
572 (initial_elimination_offset, avr_output_function_prologue,
573 avr_output_function_epilogue): Move common code to avr_regs_to_save.
574
004cb263
NB
5752002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
576
577 * Makefile.in: Update for cpptrad.c.
578 * cpphash.h (struct cpp_buffer): New members for buffer
579 overlays.
580 (struct cpp_reader): New members for traditional output.
581 (_cpp_read_logical_line, _cpp_overlay_buffer): New.
582 * cppinit.c (cpp_create_reader): Set trad_line.
583 (cpp_destroy): Free trad_out_base if used.
584 (cpp_read_main_file): Overlay an empty buffer if traditional.
585 (cpp_finish_options): Don't do builtins.
586 (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
587 (cpp_handle_option): Handle it.
588 * cpplex.c (continue_after_nul): New.
589 (_cpp_lex_direct): Use handle_nul.
590 * cpplib.h (struct cpp_options): New traditional option.
591 * cpptrad.c: New file.
592
bdcae02b
NB
5932002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
594
595 * c-common.c (c_common_init_options): Use C89 for Objective-C,
596 and set the options flag.
597 * cppinit.c (lang_flags): Remove objc.
598 (lang_defaults): Remove OBJC and OBJCXX.
599 (set_lang): Update.
600 (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
601 (cpp_handle_option): Remove -+ and -lang-objc++.
602 For ObjC, just set a flag.
603 (print_help): Update.
604 * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
605
0fca60ab
RO
6062002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
607
608 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
609 bootstrap with -mips3.
610
dd3f0101
KH
6112002-05-17 Kazu Hirata <kazu@cs.umass.edu>
612
613 * final.c: Fix formatting.
614 * fix-header.c: Likewise.
615 * flow.c: Likewise.
616 * fold-const.c: Likewise.
617 * function.c: Likewise.
618
5ca9299f
DM
6192002-05-17 David S. Miller <davem@redhat.com>
620
621 PR c/6689, PR optimization/6615
622 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
623 and make it a pointer to rtx. Update comments.
624 (update_equiv_regs): When scanning for equivalences, record
625 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
626 it while making the equiv replacements.
627
508bc172
RO
6282002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
629
630 * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
631
5cd983a6
KK
6322002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
633
634 * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
635 when encoding visibility into SYMBOL_REF_FLAG.
636
ce0f3925
RS
6372002-05-17 Richard Sandiford <rsandifo@redhat.com>
638
639 * expr.c (force_operand): Fix reversed move.
640
06809951
GP
6412002-05-17 Kurt Wall <kwall@kurtwerks.com>
642
643 * doc/install.texi (Testing): Mention two common DejaGnu warnings
644 that can be ignored.
645
6462002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
647
648 * doc/install.texi (Final install): Recommend to install into a
649 "clean" target directory.
650
1d5d7a21
RH
6512002-05-17 Richard Henderson <rth@redhat.com>
652
653 * config/ia64/ia64.md: Use braced strings instead of quoted strings
654 for code blocks. Tidy whitespace.
655
ae46c4e0
RH
6562002-05-17 Richard Henderson <rth@redhat.com>
657
658 * hooks.c (hook_tree_bool_false): New.
659 * hooks.h: Declare it.
660 * target-def.h (TARGET_ASM_SELECT_SECTION): New.
661 (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
662 * target.h (select_section, unique_section): New.
663 (in_small_data_p): New.
664 * varasm.c (resolve_unique_section): Use hooks instead of macros.
665 (variable_section, output_constant_def_contents): Likewise.
666 (default_select_section, default_unique_section): New.
667 (categorize_decl_for_section, default_elf_select_section): New.
668 * output.h: Declare them.
669
670 * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
671 (TARGET_ASM_SELECT_SECTION): New.
672 (SELECT_SECTION): Move ...
673 * config/darwin.c (machopic_select_section): ... here.
674 * config/darwin-protos.h: Update.
675
676 * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
677 (SELECT_SECTION): Move ...
678 * config/nextstep.c (nextstep_select_section): ... here.
679 * config/nextstep-protos.h: Update.
680
681 * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
682 (TARGET_ASM_SELECT_SECTION): New.
683 * config/svr3.h (SELECT_SECTION): Remove.
684
685 * config/alpha/alpha.c (unicosmk_unique_section): Make static.
686 (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
687 (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
688 (alpha_encode_section_info): Use it.
689 * config/alpha/alpha-protos.h: Update.
690 * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
691 (SELECT_SECTION, UNIQUE_SECTION): Remove.
692 (TARGET_ASM_SELECT_SECTION): New.
693 * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
694
695 * config/arm/pe.h (UNIQUE_SECTION): Remove.
696 (TARGET_ASM_UNIQUE_SECTION): New.
697
698 * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
699 (avr_unique_section): Rename from unique_section; make static.
700 * config/avr/avr-protos.h: Update.
701 * config/avr/avr.h (UNIQUE_SECTION): Remove.
702
703 * config/c4x/c4x.h (SELECT_SECTION): Remove.
704
705 * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
706 (TARGET_ASM_UNIQUE_SECTION): New.
707 * config/i386/i386-interix.h: Likewise.
708 * config/i386/win32.h: Likewise.
709 * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
710 * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
711 * config/i386/sco5.h (SELECT_SECTION): Remove.
712 (TARGET_ASM_SELECT_SECTION): New.
713 * config/i386/svr3gas.h (SELECT_SECTION): Remove.
714
715 * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
716 instead of SELECT_SECTION.
717 * config/m68k/dpx2.h: Likewise.
718 * config/rs6000/lynx.h: Likewise.
719
720 * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
721 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
722 * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
723 (ia64_in_small_data_p): New.
724 (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
725 (ia64_aix_select_section, ia64_aix_unique_section): New.
726 * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
727 (SELECT_SECTION, UNIQUE_SECTION): Remove.
728
729 * config/m32r/m32r.h (SELECT_SECTION): Remove.
730 (TARGET_ASM_SELECT_SECTION): New.
731 * config/m32r/m32r.c (m32r_select_section): Take align argument.
732 * config/m32r/m32r-protos.h: Update.
733
734 * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
735 (SELECT_SECTION): Move ...
736 * config/m88k/m88k.c (m88k_select_section): ... here.
737
738 * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
739 * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
740 * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
741 (mcore_unique_section): Make static.
742 * config/mcore/mcore-protos.h: Update.
743
744 * config/mips/elf.h (UNIQUE_SECTION): Remove.
745 (TARGET_ASM_UNIQUE_SECTION): New.
746 * config/mips/elf64.h: Likewise.
747 * config/mips/iris6gld.h: Likewise.
748 * config/mips/linux.h: Likewise.
749 * config/mips/mips-protos.h: Update.
750 * config/mips/mips.c (mips_select_section): Add align argument.
751 * config/mips/mips.h (SELECT_SECTION): Remove.
752 (TARGET_ASM_SELECT_SECTION): New.
753
754 * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
755 * config/mmix/mmix.c (mmix_select_section): Remove.
756 (mmix_unique_section): Remove.
757 * config/mmix/mmix-protos.h: Update.
758
759 * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
760 (SELECT_SECTION): Move ...
761 * config/pa/pa.c (pa_select_section): ... here.
762 * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
763
764 * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
765 from rs6000_select_section and make static.
766 (rs6000_elf_unique_section): Similarly.
767 (rs6000_xcoff_select_section): From xcoff.h.
768 (rs6000_xcoff_unique_section): Likewise.
769 * config/rs6000/rs6000-protos.h: Update.
770 * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
771 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
772 * config/rs6000/xcoff.h: Likewise.
773
774 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
775 (SELECT_SECTION): Move ...
776 * config/sparc/sparc.c (sparc_aout_select_section): ... here.
777
778 * config/v850/v850.h (SELECT_SECTION): Move ...
779 * config/v850/v850.c (v850_select_section): ... here.
780 (TARGET_ASM_SELECT_SECTION): New.
781
782 * config/vax/vms.h (SELECT_SECTION): Move ...
783 * config/vax/vax.c (vms_select_section): ... here.
784 (TARGET_ASM_SELECT_SECTION): New.
785
786 * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
787 for the target hooks.
788
eaeb23a7
NC
7892002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
790
791 * config/arm/arm.c (emit_multi_reg_push): Do not set
792 RTX_FRAME_RELATED_P on the SEQUENCE.
793
a00fe19f
RH
7942002-05-16 Richard Henderson <rth@redhat.com>
795
796 * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
797 splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
798
5ccff482
RH
7992002-05-16 Richard Henderson <rth@redhat.com>
800
801 * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
802
068d7739
RH
803 * config/ia64/ia64.c (saveable_obstack): Do not declare.
804
0b17ab2f
RH
8052002-05-16 Richard Henderson <rth@redhat.com>
806
807 * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
808 cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
809 conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
810 gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
811 local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
812 recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
813 reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
814 sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
815 Revert "Basic block renumbering removal", and two followup patches.
816
8ae86b3c
JT
8172002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
818
819 * lcm.c (optimize_mode_switching): Revert previous change.
820
4e9f27af
ZD
8212002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
822
823 * sched-rgn.c (schedule_insns): Initialize large_region_blocks
824 with only extant block numbers.
825
3cdc1dbc
JT
8262002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
827
828 * lcm.c (optimize_mode_switching): Fix typo.
829
fbfb3b09
ZD
8302002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
831
832 * flow.c (calculate_global_regs_live): Queue blocks in program order.
833
b4b0fb02
RO
8342002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
835
836 * doc/install.texi (Configuration): Document PWDCMD.
837
63b827c5
DJ
8382002-05-16 Dale Johannesen <dalej@apple.com>
839
840 * combine.c (cant_combine_insn_p): Reenable combinations
841 involving hard regs unless CLASS_LIKELY_SPILLED_P.
842
748d29c1
NB
8432002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
844
845 * c-common.c (cb_register_builtins): Handle more built-ins
846 here rather than in gcc.c specs.
847 * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
848 (cpp_options): Pass -O flags even when only preprocessing.
849 * toplev.c (set_fast_math_flags): New prototype.
850 (fast_math_flags_set_p): New.
851 (set_no_fast_math_flags): Remove.
852 (decode_f_option): Update.
853 * toplev.h (set_fast_math_flags): Update.
854 (fast_math_flags_set_p): New.
855 (set_no_fast_math_flags): Remove.
856config:
857 * c4x/c4x.c (c4x_override_options): Update.
858
5279d739
ZW
8592002-05-16 Zack Weinberg <zack@codesourcery.com>
860
861 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
862 Default-define here.
863 (builtin_define_with_value): Can now wrap the expansion in
864 quotation marks if such is wanted.
a00fe19f 865 (cb_register_builtins): Update calls to builtin_define_with_value.
5279d739
ZW
866 Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
867 here.
868 (c_common_init): Set options->stdc_0_in_system_headers.
869 * c-lex.h: Update prototype of builtin_define_with_value.
870 * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
871 and REGISTER_PREFIX.
872
873 * cppinit.c (VERS, ULP, C, X): Kill.
874 (builtin_array): Remove entries for __VERSION__,
875 __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
876 __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
877 a constant.
878 (init_builtins): Kill off a bunch of now-dead code.
879 (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
880 -fno-leading-underscore.
881 (cpp_handle_option): Remove code to set user_label_prefix.
882 (cpp_post_options): Likewise.
883
884 * cpplib.h (struct cpp_options): Remove user_label_prefix.
885 (stdc_0_in_system_headers): New.
886 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
887 stdc_0_in_system_headers) too to decide the value of __STDC__.
888
889 * tradcpp.c (user_label_prefix): Kill.
a00fe19f 890 (main): Remove code handling -f(no-)leading-underscore.
5279d739
ZW
891 (initialize_builtins): Don't define __REGISTER_PREFIX__
892 or __USER_LABEL_PREFIX__.
893 (install_value): Wrap compound statement in dummy loop so the
894 macro works properly in an if statement.
895
896
62e6ca55
JJ
8972002-05-16 Janis Johnson <janis187@us.ibm.com>
898
899 * loop.h (struct loop_info): Add member has_prefetch.
900 * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
901 (prescan_loop): Initialize has_prefetch.
902 (struct prefetch_info): Change prefetch_in_loop and
903 prefetch_before_loop from bit fields to ints.
904 (emit_prefetch_instructions): Several small fixes.
905 (check_dbra_loop): Don't reverse loop that uses prefetch.
906
1e6347d8
RO
9072002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
908
909 * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
910 * configure.in: Likewise.
911 * fixinc/check.tpl: Likewise.
912 * fixinc/fixinc.dgux: Likewise.
913 * fixinc/fixinc.svr4: Likewise.
914 * fixinc/fixinc.winnt: Likewise.
915 * fixinc/fixincl.sh: Likewise.
916 * fixproto: Likewise.
917 * configure: Regenerate.
918
355e4ec4
ZD
9192002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
920
921 Basic block renumbering removal:
922 * basic_block.h (struct basic_block_def): Renamed index to sindex,
923 added prev_bb and next_bb fields.
924 (n_basic_blocks): Renamed to num_basic_blocks.
925 (last_basic_block): New, index of last basic block.
926 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
927 traversing basic block chain.
928 (BLOCK_NUM): index -> sindex.
929 (create_basic_block_structure, create_basic_block): Declaration changed.
930 (debug_num2bb): Declare.
931 (expunge_block_nocompact): Declaration removed.
932 (link_block, unlink_block, compact_blocks): Declare.
933 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
934 * cfg.c (entry_exit_blocks): Initialize new fields.
935 (clear_edges, alloc_block, expunge_block, cached_make_edge,
936 redirect_edge_pred, dump_flow_info, dump_edge_info,
937 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
938 free_aux_for_edges): Modified.
939 (link_block, unlink_block, compact_blocks, debug_num2bb): New.
940 (expunge_block_nocompact): Removed.
941 * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
942 find_unreachable_blocks, create_edge_list, print_edge_list,
943 verify_edge_list, flow_edge_list_print, remove_fake_successors,
944 remove_fake_edges, flow_reverse_top_sort_order_compute,
945 flow_depth_first_order_compute, flow_preorder_transversal_compute,
946 flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
947 flow_dfs_compute_reverse_execute): Modified.
948 * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
949 find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
950 Modified.
951 * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
952 merge_blocks_move_predecessor_nojumps,
953 merge_blocks_move_successor_nojumps, merge_blocks,
954 outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
955 try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
956 * cfglayout.c (skip_insns_after_block, label_for_bb,
957 record_effective_endpoints, scope_to_insns_finalize,
958 fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
959 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
960 cfg_layout_duplicate_bb): Modified.
961 * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
962 flow_loop_entry_edges_find, flow_loop_exit_edges_find,
963 flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
964 flow_loops_find, flow_loop_outside_edge_p): Modified.
965 * cfgrtl.c (create_basic_block_structure, create_basic_block,
966 flow_delete_block, compute_bb_for_insn, split_block,
967 try_redirect_by_replacing_jump, redirect_edge_and_branch,
968 force_nonfallthru_and_redirect, tidy_fallthru_edge,
969 back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
970 commit_edge_insertions, commit_edge_insertions_watch_calls,
971 dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
972 purge_all_dead_edges): Modified.
973 * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
974 try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
975 get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
976 Modified.
977 * conflict.c (conflict_graph_compute): Modified.
978 * df.c (FOR_ALL_BBS): Removed.
979 (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
980 df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
981 df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
982 * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
983 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
984 calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
985 * final.c (compute_alignments, final_scan_insn): Modified.
986 * flow.c (verify_local_live_at_start, update_life_info,
987 update_life_info_in_dirty_blocks, free_basic_block_vars,
988 delete_noop_moves, calculate_global_regs_live,
989 initialize_uninitialized_subregs, allocate_bb_life_data,
990 regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
991 mark_used_reg, count_or_remove_death_notes): Modified.
992 * function.c (thread_prologue_and_epilogue_insns): Modified.
993 * gcse.c (struct null_pointer_info): Change typo of current_block
994 to basic_block.
995 (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
996 oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
997 compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
998 alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
999 expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
1000 classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
1001 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
1002 pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
1003 pre_delete, one_pre_gcse_pass, compute_transpout,
1004 invalidate_nonnull_info, delete_null_pointer_checks_1,
1005 free_code_hoist_mem, compute_code_hoist_vbeinout,
1006 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
1007 compute_ld_motion_mems, store_ops_ok, find_moveable_store,
1008 compute_store_table, build_store_vectors, insert_insn_start_bb,
1009 insert_store, replace_store_insn, free_store_memory, store_motion):
1010 Modified.
1011 * global.c (global_alloc, global_conflicts, mark_elimination,
1012 build_insn_chain): Modified.
1013 * graph.c (print_rtl_graph_with_bb): Modified.
1014 * haifa-sched.c (sched_init): Modified.
1015 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
1016 (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
1017 if_convert): Modified.
1018 * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
1019 compute_insert_delete, pre_edge_lcm, compute_available,
1020 compute_farthest, compute_nearerout, compute_rev_insert_delete,
1021 pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
1022 Modified.
1023 * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
1024 * loop.c (loop_dump_aux): Modified.
1025 * predict.c (combine_predictions_for_insn, estimate_probability,
1026 last_basic_block_p, process_note_prediction, process_note_predictions,
1027 note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
1028 expensive_function_p, estimate_bb_frequencies,
1029 compute_function_frequency): Modified.
1030 * print-rtl.c (print_rtx): Modified.
1031 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
1032 get_exec_counts, compute_branch_probabilities, compute_checksum,
1033 branch_prob, find_spanning_tree): Modified.
1034 * recog.c (split_all_insns, peephole2_optimize): Modified.
1035 * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
1036 convert_regs_1, convert_regs_2, convert_regs): Modified.
1037 * regclass.c (scan_one_insn, regclass): Modified.
1038 * regmove.c (mark_flags_life_zones, regmove_optimize,
1039 combine_stack_adjustments): Modified.
1040 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
1041 * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
1042 * reorg.c (dbr_schedule): Modified.
1043 * resource.c (find_basic_block, init_resource_info): Modified.
1044 * sbitmap.c (sbitmap_intersection_of_succs,
1045 sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1046 sbitmap_union_of_preds): Modified.
1047 * sched-deps.c (init_dependency_caches): Modified.
1048 * sched-ebb.c (schedule_ebbs): Modified.
1049 * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
1050 find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
1051 * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
1052 * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
1053 ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
1054 ssa_const_prop): Modified.
1055 * ssa-dce.c (set_control_dependent_block_to_edge_map_,
1056 find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
1057 * ssa.c (remove_phi_alternative, find_evaluations,
1058 compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
1059 insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
1060 make_regs_equivalent_over_bad_edges,
1061 make_equivalent_phi_alternatives_equival,
1062 compute_conservative_reg_partition,
1063 coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
1064 rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
1065 Modified.
1066
5a566bed
MM
10672002-05-16 Mark Mitchell <mark@codesourcery.com>
1068
1069 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
1070
48f6efae
NC
10712002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
1072
1073 * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
1074 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
1075 (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
1076 calling CONSTANT_POOL_ADDRESS_P.
1077 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
1078 to decide whether to define __arm__ or __thumb.
355e4ec4 1079 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
48f6efae
NC
1080 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
1081
b166fadd
NB
10822002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
1083
1084 * config/arc/arc.h (CPP_PREDEFINES): Remove.
1085 (CPP_SPEC): Update.
1086 (TARGET_CPU_CPP_BUILTINS): New.
1087
601328bb
NB
10882002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
1089
1090 * cpphash.h (cpp_macro): Move here, and make expansion a union.
1091 * cppmacro.c (cpp_macro): Remove.
1092 (enter_macro_context, replace_args, warn_of_redefinition,
1093 _cpp_create_definition, cpp_macro_definition): Update.
1094
ff48be5c
JM
10952002-05-16 Jason Merrill <jason@redhat.com>
1096
1097 * config/mips/mips.c (mips_output_external): Don't do sdata
1098 optimization for a variable with DECL_COMDAT set.
1099
805c42ba
AH
11002002-05-15 Aldy Hernandez <aldyh@redhat.com>
1101
355e4ec4
ZD
1102 * config/rs6000/altivec.h: Cleanups for tighter typechecking.
1103 Cleanups for accepting modifiers on pointers.
1104 Fix predicate typos.
1105 Allow long pointers as well as int pointers.
805c42ba 1106
34fb9ba5
RH
11072002-05-15 Richard Henderson <rth@redhat.com>
1108
1109 * varasm.c (merge_weak): Remove special case for extern and common.
1110
62e118f5
MH
11112002-05-15 Matt Hiller <hiller@redhat.com>
1112
1113 * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
355e4ec4 1114 XFAILing.
62e118f5
MH
1115 * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
1116 * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
1117 * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
1118 * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
1119 * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
1120 * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
1121
fefac463
AH
11222002-05-15 Aldy Hernandez <aldyh@redhat.com>
1123
355e4ec4 1124 * reload1.c (forget_old_reloads_1): Do not use subreg offset.
fefac463 1125
5f004351
AH
11262002-05-15 Aldy Hernandez <aldyh@redhat.com>
1127
355e4ec4
ZD
1128 * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
1129 ("altivec_mfvscr"): Read from VSCR.
1130
1131 Add vscr sets for the following insns: altivec_vctuxs,
1132 altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
1133 altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
1134 altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
1135 altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
1136 altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
1137 altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
1138 altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
1139 altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
1140 altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
1141 altivec_vsum2sws, altivec_vsumsws.
1142
1143 * config/rs6000/rs6000.h: Add VSCR fixed register.
1144 (CALL_REALLY_USED_REGISTERS): Add vscr.
1145 (CALL_USED_REGISTERS): Same.
1146 (FIXED_REGISTERS): Same.
1147 (REG_ALLOC_ORDER): Same.
1148 (reg_class): Add VSCR_REGS.
1149 (REG_CLASS_NAMES): Same.
1150 (REG_CLASS_CONTENTS): Same.
1151 (VSCR_REGNO): New.
1152 (REGISTER_NAMES): Add vscr.
1153 (DEBUG_REGISTER_NAMES): Same.
1154 (ADDITIONAL_REGISTER_NAMES): Same.
1155 (FIRST_PSEUDO_REGISTER): Increment.
1156 (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
5f004351 1157
033afd11
RH
11582002-05-15 Jakub Jelinek <jakub@redhat.com>
1159
1160 * fold-const.c (fold): Fix a typo.
1161
11622002-05-15 Eric Botcazou <ebotcazou@multimania.com>
1163
1164 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
1165 comparison against the highest or lowest integer value before
1166 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
1167 transformation and that of an unsigned comparison against 0
1168 right after.
1169
14285ace
RH
11702002-05-15 Richard Henderson <rth@redhat.com>
1171
1172 * varasm.c (merge_weak): Error for any weakening after definition.
1173 Adjust weakening after use warning to catch more cases.
1174 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
1175 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
1176
194734e9
JH
1177Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
1178
1179 * invoke.texi (-malign-double): Re-add lost warning.
1180
1181 * i386-protos.h (x86_output_mi_thunk): Declare.
1182 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
1183 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
1184
1185 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
1186 when flag_asynchronous_unwind_tables is set.
1187
1188 * flags.h (flag_reorder_functions): Declare.
1189 * function.c (prepare_function_start): Initialize frequnecy.
14285ace 1190 * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
194734e9
JH
1191 * Makefile.in (predict.o): Add dependency on target.h and params.h
1192 * defaults.h (HOT_TEXT_SECTION_NAME,
1193 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
1194 * predict.c (choose_function_section): New function.
1195 (estimate_bb_frequencies): Use it.
1196 * toplev.c (flag_reorder_functions): New global variable.
1197 (lang_independent_options): New.
1198 (parse_options_and_default_flags): Set.
1199 * varasm.c (assemble_start_function): Bypass functdion alignment
1200 for never executed functions.
1201 * invoke.texi (-freorder-blocks, -freorder-functions): Document.
1202 (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
1203 * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
1204 Document.
1205
1206 Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
1207
1208 * predict.c: Inlude profile.h
1209 (MIN_COUNT): Rename to MIN_COUNT_FRACTION
1210 (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
1211 Use the information about maximal counter in the program.
1212
1213 Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
1214
1215 * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
1216 probably_never_executed_bb_p): New functions.
1217 * cfgcleanup.c (outgoing_edges_match): Use them.
1218 * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
1219 (maybe_hot_bb_p, probably_cold_bb_p,
1220 probably_never_executed_bb_p): New functions.
1221
1222 * function.h (function): Add new field function_frequency.
1223 * predict.c (compute_function_frequency): New function.
1224 (estimate_probability): Call it.
1225
61ad9a34
JJ
12262002-03-09 Jakub Jelinek <jakub@redhat.com>
1227
1228 PR optimization/5172, optimization/5200
1229 * gcse.c (gcse_main): Disable store_motion.
1230
a11eba95
ZW
12312002-05-14 Zack Weinberg <zack@codesourcery.com>
1232
1233 * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
1234 (c_common_nodes_and_builtins): Use it.
1235 (builtin_define_with_value): New function.
1236 (cb_register_builtins): Define __SIZE_TYPE__,
1237 __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
1238 using builtin_define_with_value. Use consistent notation when
1239 defining __GXX_WEAK__.
1240 (WCHAR_TYPE_SIZE): Don't redefine.
1241 (combine_strings): Don't use WCHAR_TYPE_SIZE.
1242
1243 * cppdefault.h: Don't provide defaults for SIZE_TYPE,
1244 PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
1245 * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
1246 * tradcpp.c (initialize_builtins): Likewise.
1247 * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
1248
1249 * c-lex.h (builtin_define_with_value): Prototype.
1250 * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
1251 NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
1252 * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
1253
1254 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
1255 config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
1256 config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
1257 config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
1258 config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
1259 config/sparc/linux64.h, config/sparc/netbsd-elf.h,
1260 config/sparc/sol2-bi.h, config/sparc/sparc.h:
1261 Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
1262 to __SIZE_TYPE__ etc from all spec strings. When this makes
1263 extra specs empty, delete them.
1264
1c31ecf6
JDA
12652002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
1266
1267 * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
1268 for PA8000 or generating dwarf2 call frame information.
1269 (output_call): Remove DO_FRAME_NOTES check from return pointer
1270 optimization.
1271 (following_call): Return 0 when scheduling for PA8000 or generating
1272 dwarf2 call frame information. Revise comment.
1273
ac9cfada
NB
12742002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1275
1276config/alpha:
1277 * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
1278 and __IEEE_FP_INEXACT as appropriate.
1279 (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
1280 (CPP_SPEC): Remove ieee defines.
1281 * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
1282
9b690711
RH
12832002-05-14 Richard Henderson <rth@redhat.com>
1284
1285 * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
1286 (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
1287
e6471be6
NB
12882002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1289
e6471be6
NB
1290 * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
1291 (CPP_SPEC): Update.
1292 (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
1293 CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
1294 CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
1295 CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
1296 (EXTRA_SPECS): Update.
1297 * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
1298 arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
1299 arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
1300 define TARGET_OS_CPP_BUILTINS if necessary.
1301
e5f5feea
NB
13022002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1303
1304 * gcc.c (cpp_options): Must pass -m* and -f* options
1305 to the front end even when only preprocessing.
1306 (cc1_options): Remove redundant -lang-c.
1307 * tradcpp.c (main): Ignore -m options.
1308objc:
1309 * lang-specs.h: Similarly.
1310
317638a8
VM
13112002-05-14 Vladimir Makarov <vmakarov@redhat.com>
1312
1313 * genautomata.c (transform_3): Add code for transformation
1314 `(A,B,...)+C -> A+C,B,...'.
1315
4d604303
JH
1316Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
1317
1318 * final.c (end_final): Do not output profile_arcs constructor, when
1319 no functions are instrumented.
1320
b18b06ed
JH
1321Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
1322
1323 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
1324
a12f97f0
GP
13252002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1326
1327 * doc/install.texi: Remove special markup originally required for
1328 HTML generation with texi2html.
1329
c1ae3eb4
AS
13302002-05-14 Andreas Schwab <schwab@suse.de>
1331
1332 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
1333 SELECT_SECTION.
1334 (UNIQUE_SECTION): Define to get small data correctly.
1b18fc2c
AS
1335
1336 * varasm.c (resolve_unique_section): Add third parameter
1337 flag_function_or_data_sections and use it instead of
1338 flag_function_sections.
1339 (assemble_start_function): Pass flag_function_sections.
1340 (asm_emit_uninitialised): Pass flag_data_sections.
1341 (assemble_variable): Likewise.
1342
8ee41eaf
RH
13432002-05-14 Richard Henderson <rth@redhat.com>
1344
1345 * config/i386/i386.md: Use define_constants for unspec numbers.
1346 * config/i386/i386.c: Likewise.
1347
e6471be6
NB
13482002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1349
1350 * doc/contrib.texi: Update my entry.
1351
c297b764
MM
13522002-05-13 Mark Mitchell <mark@codesourcery.com>
1353
1354 * fixinc/inclhack.def (winidss_valist): Limit applicability.
1355 * fixinc/fixincl.x: Regenerated.
1356 * fixinc/tests/base/math.h: Update.
1357 * fixinc/tests/base/testing.h: Likewise.
1358
0b42c8f8
ZW
13592002-05-13 Zack Weinberg <zack@codesourcery.com>
1360
1361 * genattr.c (gen_attr): Don't emit a comma after the last
1362 enumerator.
1363
546c093e
RH
13642002-05-13 Richard Henderson <rth@redhat.com>
1365
1366 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
1367 by non-local gotos.
1368 * recog.c (peephole2_optimize): Likewise.
1369
85be8c2d
AP
13702002-05-13 Andris Pavenis <pavenis@lanet.lv>
1371
1372 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
1373 input to O_BINARY.
1374
765b8f90
JL
13752002-05-13 Jeffrey A Law (law@redhat.com)
1376
fe4b3c79
JL
1377 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
1378 Update prototype and callers.
1379 (propagate_one_insn): Stack pointer adjustments kill MEMs on
1380 the mem_set_list which reference the stack pointer, as do
1381 calls to constant functions as they may clobber outgoing
1382 argument space.
1383
16133d00
JL
1384 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
1385
765b8f90
JL
1386 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1387 (ia32_multipass_dfa_lookahead): New function.
1388
63826d5b
NB
13892002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1390
1391 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
1392 (translate_options): Remove 'V'.
1393 (process_command): Similarly.
1394doc:
1395 * invoke.texi: Remove documentation of 'V'.
1396
dcb41ced
UW
13972002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1398
1399 * config/s390/linux.h: Revert 2002-04-22 changes.
1400
8dfea428
SM
14012002-05-13 Scott Marks <SMarks@mobile-mind.com>
1402
1403 * config/fr30/fr30.md: Only allow splits of immediate loads
1404 if the destination is a register.
1405
12a41c22
NB
14062002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1407
1408 * Makefile.in (c-common.o, cppinit.o): Update.
1409 * c-common.c: Include except.h.
1410 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
1411 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
1412 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
1413 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
1414 CPP_PREDEFINES): Handle here.
1415config:
1416 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
1417 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
1418 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
1419 TARGET_OS_CPP_BUILTINS.
1420 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
1421 (CPP_SPEC, EXTRA_SPECS): Update.
1422 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
1423 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
1424 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
1425 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
1426 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
1427doc:
1428 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
1429 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
1430
5692c7bc
ZW
14312002-05-12 Zack Weinberg <zack@codesourcery.com>
1432
1433 * emit-rtl.c (global_rtl): Update comment.
1434 (const_double_htab, const_double_htab_hash,
1435 const_double_htab_hash, lookup_const_double): New.
1436 (const_int_htab_hash, const_int_htab_eq): Remove const
1437 qualifiers, which cause tons of warnings with RTL checking on.
1438 (gen_rtx_CONST_DOUBLE): Deleted.
1439 (const_double_from_real_value): New function - bears some
1440 resemblance to the former immed_real_const_1.
1441 (immed_double_const): Moved here from varasm.c and
1442 simplified.
1443 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
1444 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
1445 (gen_rtx): Use immed_double_const.
1446 (init_emit_once): Initialize the const_double_htab. Use
1447 REAL_VALUE_FROM_INT where possible. Can now use
1448 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
1449 * varasm.c (struct varasm_status): Remove x_const_double_chain.
1450 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
1451 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
1452 (init_varasm_status, mark_varasm_status): Don't touch
1453 x_const_double_chain.
1454
1455 * output.h: Delete prototype for clear_const_double_mem.
1456 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
1457 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
1458 const_double_from_real_value, not immed_real_const_1, and use
1459 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
1460 CONST_DOUBLE_ATOF.
1461 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
1462 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
1463 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
1464 (gen_rtx_REG): Second arg is unsigned.
1465
1466 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
1467 (excluded_rtx): New, return true for CONST_DOUBLE.
1468 (genmacro): Write nothing for excluded codes.
1469 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
1470 * expr.c (expand_expr): Likewise.
1471 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
1472 CONST_DOUBLE_CHAIN.
1473 * toplev.c (rest_of_compilation): Don't call
1474 clear_const_double_mem.
1475
1476 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
1477 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
1478 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
1479 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
1480 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
1481 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
1482 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
1483 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
1484
31397a7b
KG
14852002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1486
1487 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
1488
1b70d38a
TT
14892002-05-12 Tom Tromey <tromey@redhat.com>
1490
1491 * tree.h (copy_node): Don't mention TREE_PERMANENT.
1492
9a5834ae
ZW
14932002-05-12 Zack Weinberg <zack@codesourcery.com>
1494
1495 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
1496 (scan_comma_elt): New function. Accepts whitespace in comma lists.
1497 * gensupport.h: Prototype new routines.
1498 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
1499 use of printf.
1500 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
1501 (next_comma_elt): Use scan_comma_elt.
1502
1503 * config/i386/i386.md: Use new attribute notation to break up
1504 long lines in define_attr forms.
1505
51286de6
RH
15062002-05-12 Richard Henderson <rth@redhat.com>
1507
1508 * expr.c (compress_float_constant): New.
1509 (emit_move_insn): Use it.
1510 (float_extend_from_mem): New.
1511 (init_expr_once): Initialize it.
1512 * real.c (exact_real_truncate): New.
1513
1514 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
1515 dropped into memory; penalize for size.
1516 (RTX_COSTS): FLOAT_EXTEND is free.
1517 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
1518 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
1519
6412341e
RH
15202002-05-12 Richard Henderson <rth@redhat.com>
1521
1522 * profile.h (profile_info): Add missing extern to declaration.
1523 * profile.c (profile_info): Define it.
1524
12877f09
JDA
15252002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1526
1527 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
1528 used for DImode and TImode.
1529
387f9e32
NB
15302002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
1531
1532 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
1533 fake a newline.
1534
e1a0f69c
ZW
15352002-05-11 Zack Weinberg <zack@codesourcery.com>
1536
1537 * config/rs6000/rs6000.c (rs6000_default_long_calls,
1538 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
1539 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
1540 (rs6000_override_options): Handle -m(no-)longcall.
1541 (init_cumulative_args, output_mi_thunk): Check for both
1542 longcall and shortcall attributes on the function.
1543 (rs6000_attribute_table): Add "shortcall".
1544 (rs6000_handle_longcall_attribute): Update comment.
1545 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
1546 altivec_expand_ternop_builtin): Add default clauses to switches
1547 to silence warnings.
1548
1549 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
1550 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
1551 (TARGET_OPTIONS): Add longcall and no-longcall.
1552
1553 * config/rs6000/rs6000.md (call_nonlocal_sysv,
1554 call_value_nonlocal_sysv): Split by alternatives. One pair
1555 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
1556 the call cookie. The other pair accepts only LR/CTR and has
1557 no restriction.
1558
1559 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
1560 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
1561 tmake_file.
1562 * config/rs6000/rs6000-c.c: New file.
1563 * config/rs6000/t-rs6000-c-rule: New file.
1564 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
1565 Prototype rs6000_pragma_longcall.
1566
1567 * doc/extend.texi: Document shortcall attribute.
1568 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
1569
9c64026d
JDA
15702002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1571
1572 * reorg.c (dbr_schedule): Remove unnecessary test.
1573
6c81a490
JH
1574Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
1575
1576 * i386.md (testsi to testqi spliters): New.
1577
1578 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
1579
1580 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
1581
1582 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
1583
1584 * basic-block.h: New flag EDGE_CAN_FALLTHRU
1585 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
1586 that can be made fallthru.
1587
1588 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
1589
1590 * cfglayout.c (cleanup_unconditional_jumps): New static function.
1591 (cfg_layout_initialize): Use it.
4c476cf3 1592
e4447d94
MM
15932002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
1594
1595 * config/avr/avr.c (avr_mcu_types): Update supported devices.
1596 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
1597 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1598
3a538a66
KH
15992002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1600
1601 * dbxout.c: Fix formatting.
1602 * dependence.c: Likewise.
1603 * df.c: Likewise.
1604 * diagnostic.c: Likewise.
1605 * doloop.c: Likewise.
1606 * dominance.c: Likewise.
1607 * doschk.c: Likewise.
1608 * dwarf2asm.c: Likewise.
1609 * dwarf2out.c: Likewise.
1610 * dwarfout.c: Likewise.
1611
2292e8fc
RH
16122002-05-10 Richard Henderson <rth@redhat.com>
1613
1614 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
1615 Convert integers constants as needed. Replace "nwords" field with
1616 "sizeof_bb".
1617 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
1618 * function.h: Fix typo in comment.
1619 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
1620
dbfb1116
RS
16212002-05-10 Roger Sayle <roger@eyesopen.com>
1622
1623 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
1624 into the equivalent (signed char)c > 0.
1625
79a497cd
JJ
16262002-05-10 Janis Johnson <janis187@us.ibm.com>
1627
1628 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
1629 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
1630 (struct prefetch_info): Fix spelling of member bytes_accessed.
1631 (emit_prefetch_instructions): Make dump messages more regular;
1632 restructure code to add more dump messages; use new macros for
1633 heuristics. (There are no code generation changes in any of this).
1634
6c45cb0d
DM
16352002-05-10 David S. Miller <davem@redhat.com>
1636
7440af14
DM
1637 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
1638 (struct rtx_def): Update unchanging flag comment.
1639 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
1640 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
1641 to be handled to INSN too.
1642 (dbr_schedule): Likewise.
1643 * resource.c (next_insn_no_annul): Likewise.
1644
6c45cb0d
DM
1645 * cse.c (rtx_cost): Remove multiplication by power of 2 special
1646 casing.
1647
29f21e4f
GP
16482002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1649
1650 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
1651 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
1652 (possibly) work around broken /bin/sh.
1653
e4ba88da
RO
16542002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1655
1656 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
1657 . as N64/N32 libgcc_s.so subdirs.
1658
4f4778ee
DM
16592002-05-10 David S. Miller <davem@redhat.com>
1660
1661 * config/sparc/sparc.md: Use define_constants for unspec numbers.
cf40ea15
DM
1662
1663 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
1664 more accurately.
1665 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
1666 comment.
1667 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
1668 * doc/rtl.texi: Document these macros more accurately.
1669 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
1670 JUMP_INSNs and CALL_INSNs.
1671 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
1672 or INSN_FROM_TARGET_P if the code is appropriate.
1673
1a499b92
MM
16742002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
1675
1676 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
1677 before using SYMBOL_REF_FLAG (addr).
1678
1679 * config/avr/avr-protos.h (avr_io_address_p): Declare.
1680 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
1681 Make non-static. Update all callers.
1682 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
1683 New insns to clear/set/test a single bit in I/O address space.
1684
65212b66
KG
16852002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1686
1687 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
1688
3df89291
NB
16892002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1690
1691 * Makefile.in: Update.
1692 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
1693 builtin_define_std): New.
1694 (c_common_init): Register CPP builtins callback.
1695 * c-common.h (flag_iso, flag_undef): New.
1696 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
1697 * c-lex.c: Don't include target.h.
1698 (cb_register_builtins): Move to c-common.c.
1699 (init_c_lex): Don't register hook here.
1700 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
1701 (cpp_define, cpp_assert): Remove.
1702 * gcc.c (cc1_options): Pass -undef to front end.
1703 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
1704 (TARGET_INITIALIZER): Update.
1705 * target.h (struct cpp_reader): Don't predeclare.
1706 (struct gcc_target): Remove cpp builtin hook.
1707 * tree.c (default_register_cpp_builtins): Remove.
1708doc:
1709 * tm.texi: Update.
1710
32fa4565
NB
17112002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1712
1713 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
1714
23357c55
RO
17152002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1716
1717 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
1718 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
1719
5aa26af0
JJ
17202002-05-09 Jakub Jelinek <jakub@redhat.com>
1721
1722 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
1723 * config/sparc/libgcc-sparc-glibc.ver: New file.
1724 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
1725 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
1726
2937267b
JJ
17272002-05-09 Jakub Jelinek <jakub@redhat.com>
1728
1729 PR target/6429
1730 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
1731 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
1732 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
1733 base multilibs.
1734 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
1735 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
1736 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1737 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1738
086c0f96
RH
17392002-05-09 Richard Henderson <rth@redhat.com>
1740
1741 * config/ia64/ia64.md: Use define_constants for unspec numbers.
1742 * config/ia64/ia64.c: Likewise.
1743
a8b4881f
RS
17442002-05-09 Richard Sandiford <rsandifo@redhat.com>
1745
1746 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
1747 (save_restore_insns): Likewise.
1748 (mips_expand_prologue, mips_expand_epilogue): Update callers.
1749 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
1750
890d52e8
JL
1751Thu May 9 11:50:09 2002 Jeffrey A Law (law@cygnus.com)
1752
af2728a4
JL
1753 * athlon.md, k6.md, pentium.md, ppro.md): New files.
1754 * i386.md: Move scheduling information into new files.
1755
890d52e8
JL
1756 * i386.md (type attribute): Add "rotate" for rotate insns.
1757 (rotate insns): Set type to "rotate".
1758 (various attributes and function units): Treat rotate like shift.
1759 (pent_pair attribute): Only rotates by one bit position are
1760 pairable.
1761 (sbb insns): Explicitly set pent_pair attribute on a couple
1762 that were missing it.
1763
f78ec36a
R
1764Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
1765
1766 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
1767 make sure that buffer starts on odd word address.
1768 (sh_va_arg): Skip odd fp registers when reading a double precision
1769 value.
1770
ff431459
NB
17712002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1772
1773 * tree.h (preserve_data, object_permanent_p, type_precision):
1774 Remove.
1775
c3bf3e6e
NB
17762002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1777
1778 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
1779 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
1780doc:
1781 * cpp.texi: Update for removal of obsolete features.
1782
02263a8a
JH
1783Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
1784 Jeffrey A Law (law@redhat.com)
1785
1786 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
1787 the DFA interface for Pentium processors.
1788 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
1789 (attr_pent_pair, ix86_pent_find_pair): Remove.
1790 (ix86_sched_reorder_pentium): Remove.
1791 (ix86_sched_reorder): Remove reordering for Pentium.
1792 * i386.md (Pentium scheduling): Rewrite using DFA description.
1793
3e638a90
JH
1794Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
1795
1796 * cfganal.c (can_fallthru): Fix fast path.
1797 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
1798 with edges to the next block.
1799
b7c9bf28
JH
1800Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
1801 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
1802
1803 * final.c (end_final): Use C trees to output data structures for profiling.
1804
1805 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
5692c7bc
ZW
1806 (profile.o): New dependency profile.h
1807 (final.o): New dependency profile.h
1808 * profile.h: New file. New global structure profile_info.
1809 * final.h (count_edges_instrumented_now): Declare.
1810 (current_function_cfg_checksum): Declare.
1811 (function_list): New structure.
1812 (functions_head, functions_tail): New static variables.
1813 (end_final): Emits more data, removed some -ax stuff.
1814 (final): Stores function names and chcksums.
1815 * gcov-io.h (__write_gcov_string): New function.
1816 (__read_gcov_string): New function.
1817 * gcov.c (read_profile): New function.
1818 (create_program_flow_graph): Uses read_profile instead of reading
b7c9bf28 1819 da_file.
5692c7bc
ZW
1820 (read_files): Removed da_file checking, it's done by read_profile now.
1821 * libgcc2.c (bb_function_info): New structure.
1822 (bb): New field in structure, removed some -ax stuff.
1823 (__bb_exit_func): Changed structure of da_file.
1824 * profile.c (count_edges_instrumented_now): New global variable.
1825 (current_function_cfg_checksum): New global variable.
1826 (max_counter_in_program): New global variable.
1827 (get_exec_counts): New function.
1828 (compute_checksum): New function.
1829 (instrument_edges): Sets count_edges_instrumented_now.
1830 (compute_branch_probabilities): Uses get_exec_counts instead of
b7c9bf28 1831 reading da_file.
5692c7bc
ZW
1832 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
1833 (init_branch_prob): Removed da_file checking, done in get_exec_counts
b7c9bf28 1834 now.
5692c7bc 1835 (end_branch_prob): Removed da_file checking, done in get_exec_counts
b7c9bf28 1836 now.
5692c7bc 1837 * gcov.texi: Updated information about gcov file format.
b7c9bf28 1838
786de7eb
KH
18392002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1840
1841 * sbitmap.c: Fix formatting.
1842 * scan.c: Likewise.
1843 * scan-decls.c: Likewise.
1844 * sched-deps.c: Likewise.
1845 * sched-ebb.c: Likewise.
1846 * sched-rgn.c: Likewise.
1847 * sched-vis.c: Likewise.
1848 * sdbout.c: Likewise.
1849 * sibcall.c: Likewise.
1850 * simplify-rtx.c: Likewise.
1851 * ssa.c: Likewise.
1852 * ssa-ccp.c: Likewise.
1853 * ssa-dce.c: Likewise.
1854 * stmt.c: Likewise.
1855 * stor-layout.c: Likewise.
1856 * stringpool.c: Likewise.
1857
b7764693
DM
18582002-05-09 David S. Miller <davem@redhat.com>
1859
1860 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
1861
4e7d5d27
DM
18622002-05-07 David S. Miller <davem@redhat.com>
1863
1864 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
1865 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
1866 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
1867 library implementation clobbers the output before the inputs
1868 are fully consumed, use stack temporary for the output.
1869
f979570e
JT
18702002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
1871
1872 * config/netbsd.h (CPP_SPEC): Remove.
1873 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
1874 * config/i386/netbsd.h (CPP_SPEC): Define.
1875 * config/ns32k/netbsd.h (CPP_SPEC): Define.
1876 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
1877 * config/sparc/netbsd.h (CPP_SPEC): Define.
1878 * config/vax/netbsd.h (CPP_SPEC): Define.
1879
a6a2274a
KH
18802002-05-08 Kazu Hirata <kazu@cs.umass.edu>
1881
1882 * read-rtl.c: Fix formatting.
1883 * real.c: Likewise.
1884 * recog.c: Likewise.
1885 * regclass.c: Likewise.
1886 * regmove.c: Likewise.
1887 * reg-stack.c: Likewise.
1888 * reload1.c: Likewise.
1889 * reload.c: Likewise.
1890 * resource.c: Likewise.
1891 * rtlanal.c: Likewise.
1892 * rtl.c: Likewise.
1893 * rtl-error.c: Likewise.
1894
461b48d5
JDA
18952002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
1896
1897 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
1898 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
1899
95d075ff
BS
19002002-05-08 Bernd Schmidt <bernds@redhat.com>
1901
1902 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
1903 use __SSE2__ macro instead.
1904 * config/i386/xmmintrin.h: Likewise.
1905
2d4cc6a7
JJ
19062002-05-08 Janis Johnson <janis187@us.ibm.com>
1907
1908 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
1909 and use it in all invocations of these macros. Clean up comments.
1910 * rtl.c (rtl_check_failed_flag): Add an argument for the name
1911 of the flag access macro whose check failed.
1912 * doc/rtl.texi (Flags): Document additional flag uses.
1913
3f8ffc7c
RS
19142002-05-08 Robert Spier <rspier@pobox.com>
1915 Neil Booth <neil@daikokuya.demon.co.uk>
1916
1917 PR preprocessor/6521
1918 * cppfiles.c (handle_missing_header): Don't do anything
1919 different for <> includes.
1920doc:
1921 * cppopts.texi: Update documentation for -MG.
1922
b9e2d17b
NB
19232002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
1924
1925 * cpplex.c (cpp_interpret_charconst): Truncate as well as
1926 sign-extend.
1927doc:
1928 * cpp.texi: Clarify multichar charconst valuation.
1929
8d8269fa
MM
19302002-05-08 Mark Mitchell <mark@codesourcery.com>
1931
1932 * doc/invoke.texi: Document -mwindiss option.
1933
29b91443
JM
19342002-05-08 Jason Merrill <jason@redhat.com>
1935
1936 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
1937
1938 * dwarf2out.c (gen_type_die): Abort on broken recursion.
1939
1940 PR c++/6381
1941 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
1942 REAL_CST.
1943
6c76b950
NC
19442002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
1945
1946 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
1947 little-endian multilibs to override arm/thumb multilibs.
a5c76ee6 1948 Do not build hardware floating point multilibs, nor apcs-26
6c76b950
NC
1949 multilibs for the Thumb.
1950
f90bf7ca
MM
19512002-05-08 Mark Mitchell <mark@codesourcery.com>
1952
1953 PR c/6569.
1954 * varasm.c (mark_weak): New function.
1955 (merge_weak): Use it. Do not call declare_weak.
1956 (declare_weak): Use merge_weak.
1957
1e150f2c
JH
1958Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
1959
1960 * cse.c (dead_libcall_p): Update counts.
1961 (delete_trivially_dead_insns): Update call of dead_libcall_p.
1962
969d70ca
JH
1963Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
1964
1965 * cfglayout.c (function_tail_eff_head): Rename to ...
1966 (function_footer): ... this one.
1967 (unlink_insn_chain): New functions.
1968 (label_for_bb): Only call block_label and emit debug message.
1969 (record_effective_endpoints): Actually unlink the headers and footers.
1970 (fixup_reorder_cahin): Re-insert the unlinked sequences.
1971 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
1972 * cfglayout.h (struct reorder_block_def): New fields footer/header;
1973 remove eff_head/eff_end.
1974 * rtl.h (set_first_insn): Declare.
1975 * emit-rtl.c (set_first_insn): New function.
1976
1977 * cfglayout.c (fixup_reorder_chain): Dump duplicated
1978 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
1979 cfg_layout_duplicate_bb): New global function.
1980 (duplicate_insn_chain): New static function.
1981 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
1982 cfg_layout_duplicate_bb): Declare.
1983 (struct reorder_block_def): Add "original" field.
1984 * emit-rtl.c (emit_copy_of_insn_after): New function.
1985 * rtl.h (emit_copy_of_insn_after): Declare.
1986
1987 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
1988 (fixup_reorder_chain): properly handle edges to exit block.
1989
1990Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1991 Jan Hubicka <jh@suse.cz>
1992
1993 * basic-block.h (note_prediction_to_br_prob): declare.
1994 * c-semantics.c: Inlucde predit.h
1995 (expand_stmt): predict GOTO_STMT as not taken.
1996 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
1997 (cleanup_cfg): Do not free tail_recursion_list.
1998 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
1999 (flow_delete_block): Kill predictions past end of basic block.
2000 * output.h (delete_unreachable_blocks): Declare.
2001 * predict.c (predicted_by_p, process_note_predictions,
2002 process_note_prediction, last_block_p): New function.
2003 (estimate_probability): Bypass loop on PRED_CONTINUE;
2004 do not handle noreturn heuristics; kill PRED_RETURN; add
2005 PRED_EARLY_RETURN.
2006 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
2007 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
2008 * predict.h (IS_TAKEN): New constant.
2009 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
2010 * rtl.c (NOTE_INSN_PREDICTION): New.
2011 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
2012 New macro.
2013 (insn_note): add NOTE_INSN_PREDICTION.
2014 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
2015 CFG; free tail_recursion_label_list.
2016 * stmt.c: Include predict.h;
2017 (return_prediction): New.
2018 (expand_value_return): Use it.
2019 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
2020
41f8d041
RS
20212002-05-08 Richard Sandiford <rsandifo@redhat.com>
2022
2023 * config/mips/mips.md: Name the unspecs with define_constant.
2024 (*HILO_delay): Rename to 'hilo_delay' (no star).
2025 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
2026 (reload_outdi, reload_outsi): Likewise.
2027
9cabb1d8
KH
20282002-05-07 Kazu Hirata <kazu@cs.umass.edu>
2029
2030 * toplev.c: Fix formatting.
2031
4c76f856
JJ
20322002-05-07 Janis Johnson <janis187@us.ibm.com>
2033
2034 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
2035 * configure.in (ac_rtlflag_checking): New.
2036 * doc/install.texi (--enable-checking): Document RTL flag checking.
2037
44a147ad
NB
20382002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
2039
2040 * c-common.c (c_common_init): Set options->unsigned_wchar.
2041 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
2042 group target dependencies.
2043 (init_builtins, cpp_handle_option): Update.
2044 * cpplex.c (cpp_interpret_charconst): Update.
2045 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
2046 signed_char to unsigned_char, group target dependencies.
2047 * defaults.h (WCHAR_UNSIGNED): Remove.
2048 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
2049config:
2050 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
2051 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
2052 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
2053 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
2054 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
2055doc:
2056 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
2057
cace4f93
MM
20582002-05-07 Mark Mitchell <mark@codesourcery.com>
2059
2060 * fixinc/inclhack.def (windiss_math1): New fix.
2061 (windiss_math2): Likewise.
2062 (windiss_valist): Likewise.
2063 * fixinc/fixincl.x: Regenerated.
2064
e2ff6cee
AJ
20652002-05-07 Andreas Jaeger <aj@suse.de>
2066
2067 * genautomata.c (output_internal_min_issue_delay_func): Add
2068 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
2069 (output_internal_trans_func): Likewise.
2070
bdad4be5
JL
2071Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
2072
2073 * pa.c (hppa_profile_hook): Use force_reg to get the address
2074 of the profile hook into an appropriate pseudo register.
2075
a1ffecd9
MM
20762002-05-07 Mark Mitchell <mark@codesourcery.com>
2077
2078 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
2079 (LINK_START_SPEC): Handle it.
2080 (LINK_OS_SPEC): Likewise.
2081 (CPP_SPEC): Likewise.
2082 (STARTFILE_SPEC): Likewise.
2083 (LIB_SPEC): Likewise.
2084 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
2085 all platforms.
2086 (CRTSAVRES_DEFAULT_SPEC): New macro.
2087 (LIB_WINDISS_SPEC): New macro.
2088 (CPP_OS_WINDISS_SPEC): Likewise.
2089 (STARTFILE_WINDISS_SPEC): Likewise.
2090 (ENDFILE_WINDISS_SPEC): Likewise.
2091 (LINK_START_WINDISS_SPEC): Likewise.
2092 (LINK_OS_WINDISS_SPEC): Likewise.
2093 * config/rs6000/windiss.h: New file.
e2ff6cee 2094
df966bff
AH
20952002-05-07 Aldy Hernandez <aldyh@redhat.com>
2096
a5c76ee6 2097 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
df966bff 2098
db84f1bd
DM
20992002-05-06 David S. Miller <davem@redhat.com>
2100
2101 * config/sparc/sparc.md (shift insns): Do not mask off
2102 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
2103 take care of it.
2104
818c0c94
RH
21052002-05-06 Richard Henderson <rth@redhat.com>
2106
2107 PR c++/6212
2108 * expr.c (highest_pow2_factor_for_type): New.
2109 (expand_assignment): Use it.
2110
61e0b50f
AH
21112002-05-06 Aldy Hernandez <aldyh@redhat.com>
2112
818c0c94
RH
2113 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
2114 unspec_volatile.
2115 ("altivec_mfvscr"): Same.
61e0b50f 2116
5a63e069
JJ
21172002-05-06 Janis Johnson <janis187@us.ibm.com>
2118
2119 * rtl.h (struct rtx_def): Update comments.
2120 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
2121 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
2122 RTL_FLAG_CHECK macros with list of expected RTL codes.
2123 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
2124 (rtl_check_failed_flag): New.
2125 * reload1.c (reload): Use REG macro before changing rtx to MEM.
2126 (reload_cse_noop_set_p): Check rtx code before using access macro.
2127 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
2128 before using access macro.
2129
4afe3952
JJ
21302002-05-06 Janis Johnson <janis187@us.ibm.com>
2131
2132 * doc/rtl.texi (Flags): Update to reflect current usage.
2133
1f77b5da
RS
21342002-05-06 Roger Sayle <roger@eyesopen.com>
2135
2136 PR opt/3995
2137 * fold-const.c (sign_bit_p): New function.
2138 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
818c0c94 2139 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
1f77b5da
RS
2140 Reapply fold when converting (A & C) == C into (A & C) != 0.
2141 (fold_binary_op_with_conditional_arg): Fix typo in comment.
2142
a5a49440
NB
21432002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
2144
2145 * c-common.c (warn_multichar): New.
2146 (c_common_init): Set CPP's warn_multichar.
2147 * c-common.h (warn_multichar): New.
2148 * c-decl.c (warn_multichar): Remove.
2149 * c-lex.c (lex_charconst): Update.
2150 * c-tree.h (warn_multichar): Remove.
2151 * cppexp.c (eval_token): Sign-extend charconst value.
2152 * cppinit.c (cpp_create_reader): Set warn_multichar.
2153 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
2154 each character. Update prototype. Sign-extend the result.
2155 * cpplib.h: Fix conditions.
2156 (struct cpp_options): Add new warning flag.
2157 (cpp_interpret_charconst): Update prototype.
2158doc:
2159 * cpp.texi: Update documentation.
2160
83e0be55
VM
21612002-05-06 Vladimir Makarov <vmakarov@redhat.com>
2162
2163 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
2164 Fix typo in usage of allof instead of unit.
2165
688ec718
RH
21662002-05-06 Richard Henderson <rth@redhat.com>
2167
2168 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
2169 and any jump or call for IN.
2170
f6536266
BS
21712002-05-06 Bernd Schmidt <bernds@redhat.com>
2172
e2ff6cee 2173 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
f6536266
BS
2174 -msse2.
2175 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
e2ff6cee 2176
0316d49b
RS
21772002-05-06 Roger Sayle <roger@eyesopen.com>
2178
2179 * fold-const.c (lshift-double): Cast the high word to an unsigned
2180 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
2181 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
2182 avoid compiler warning. (fold): Remove redundant code from
2183 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
2184
5d50fab3
JL
21852002-05-06 Jeff Law <law@redhat.com>
2186
2187 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
2188 * pa.c (pa_adjust_cost): Remove all true dependency cost
2189 adjustments. Also remove support for non-DFA scheduling.
2190 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
2191 to adjust true dependency costs. Update various comments.
2192 (7100lc, 7200, 7300 scheduling): Simplify by combining the
2193 FP ALU & MPY units into a single unit.
2194
a17a104c
CM
21952002-05-06 Catherine Moore <clm@redhat.com>
2196
2197 * config/v850/v850.c (compute_register_save_size): Make sure
818c0c94 2198 to count all of the registers that will be saved.
a17a104c 2199
7799175f
JH
2200Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
2201
2202 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
2203
0ac941a0
DM
22042002-05-06 David S. Miller <davem@redhat.com>
2205
2206 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
2207 allow result to overlap input operands in memory.
2208
95ff5d3f
NB
22092002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2210
2211doc:
2212 * cpp.texi: Update multichar charconst docs.
2213
639e8b0c
NB
22142002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2215
2216 * cpplex.c (cpp_interpret_charconst): Sign-extend each
2217 character. Don't ignore excess characters. Treat
2218 multicharacter character constants as signed.
2219 (cpp_parse_escape): Clarify diagnostic.
2220
84ea5bc1
JJ
22212002-05-05 Jakub Jelinek <jakub@redhat.com>
2222
2223 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
2224 use add instead of shift.
2225 (ashldi3_sp64): Likewise.
2226 (ashlsi3_const1, ashldi3_const1): Remove.
2227 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
2228 * config/sparc/sparc.c (const1_operand): New.
2229
40cd22f2
JT
22302002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
2231
2232 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
2233
cac01076
JJ
22342002-05-05 Jakub Jelinek <jakub@redhat.com>
2235
2236 PR target/6561
2237 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
2238
98791e3a
RH
22392002-05-05 Richard Henderson <rth@redhat.com>
2240
2241 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
2242 memory latency adjustments.
2243 (alpha_variable_issue): Remove.
2244 (alpha_use_dfa_pipeline_interface): New.
2245 (alpha_multipass_dfa_lookahead): New.
2246 * config/alpha/alpha.md: Remove define_function_unit scheduling;
2247 include new dfa scheduling.
2248 (attr type): Add none.
2249 (blockage): Use it.
2250 * config/alpha/ev4.md: New.
2251 * config/alpha/ev5.md: New.
2252 * config/alpha/ev6.md: New.
2253
309527ce
DM
22542002-05-05 David S. Miller <davem@redhat.com>
2255
2256 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
2257
68252e27
KH
22582002-05-05 Kazu Hirata <kazu@cs.umass.edu>
2259
2260 * cse.c: Fix formatting.
2261 * emit-rtl.c: Likewise.
2262
30cc9d00
VM
22632002-05-05 Vladimir Makarov <vmakarov@redhat.com>
2264
2265 * genautomata.c (initiate_states): Add additional guard to
2266 initialize `units_array'.
2267
deb09eff
VM
22682002-05-05 Vladimir Makarov <vmakarov@redhat.com>
2269
2270 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
2271 process_unit_to_form_the_same_automaton_unit_lists,
2272 form_the_same_automaton_unit_lists
2273 check_unit_distributions_to_automata): New prototypes and
2274 functions.
2275 (check_automata): Rename it into `check_automata_insn_issues'.
2276 (unit_decl): New fields `the_same_automaton_unit' and
2277 `the_same_automaton_message_reported_p'.
2278 (unit_decl_t): New typedef.
2279 (the_same_automaton_lists): New gloval variable.
2280 (unit_regexp, unit_set_el, units_array, units_cmp,
2281 output_get_cpu_unit_code_func): Use the typedef.
2282 (evaluate_max_reserv_cycles): Increment
2283 `description->max_insn_reserv_cycles'.
2284 (initiate_states): Don't increment `max_cycles_num'.
2285 (transform_insn_regexps): Move code around transformation of
2286 regexps from `generate'.
2287 (generate): Remove call of `transform_insn_regexps'.
2288 (expand_automata): Call `transform_insn_regexps' and
2289 `check_unit_distributions_to_automata'. Check errors before
2290 `generate'.
2291
2292 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
2293 automaton `ultrasparc3_1'.
e2ff6cee 2294
2443d4e1
NB
22952002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
2296
2297 * c-common.c (c_common_init): Set up CPP arithmetic.
2298 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
2299 something reasonable for the host.
2300 (sanity_checks): Add checks.
2301 (cpp_read_main_file): Call sanity_checks() from here...
2302 (cpp_post_options): ... not here.
2303 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
2304 * cpplib.h (struct cpp_options): New member int_precision.
2305
791a949f
FS
23062002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2307
2308 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
2309
091fb516
DM
23102002-05-04 David S. Miller <davem@redhat.com>
2311
f60ebeb7
DM
2312 * config/sparc/linux.h, config/sparc/linux64.h
2313 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
2314
214c6394
DM
2315 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
2316 more RTX codes.
2317 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
2318
091fb516
DM
2319 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
2320 of SETs.
2321
f2fdc802
TJ
23222002-05-05 Tim Josling <tej@melbpc.org.au>
2323
e2ff6cee 2324 * treelang; New directory for new sample language treelang.
f2fdc802 2325
3d90d290
NB
23262002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2327
2328 * Makefile.in (c-lex.o): Update.
2329 * c-lex.c: Include target.h.
2330 (cb_register_builtins): New.
2331 (init_c_lex): Set builtins callback.
2332 * c-lex.h (cpp_define, cpp_assert): New prototypes.
2333 * cppinit.c (init_builtins): Use callback, including for
2334 GXX_WEAK.
2335 * cpplib.h (struct cpp_callbacks): New member.
2336 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
2337 (TARGET_INITIALIZER): Update.
2338 * target.h (struct gcc_target): New hook.
2339 * tree.c (default_register_cpp_builtins): New.
2340 * tree.h (default_register_cpp_builtins): New.
2341doc:
2342 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
2343
625458d0
NB
23442002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2345
2346 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
2347 (cpp_post_options): Move sanity checks to...
2348 (sanity_checks): New.
2349 * cpplex.c (maybe_read_ucs): Fix prototype.
2350 (parse_string, cpp_parse_escape): Cast for %c format specifier.
2351 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
2352 if necessary.
2353
916b60b7
BS
23542002-05-04 Bernd Schmidt <bernds@redhat.com>
2355
2356 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
2357 builtins. Use V2DI patterns instead of TI for logical operations.
2358 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
2359 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
2360 (ix86_expand_builtins): Change the pattern used for movntdq.
2361 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
2362 sse2_nandv2di3): New patterns.
2363 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
2364 on operands.
2365 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
2366 (cvtdq2pd): Correct mode on operand 1.
2367 (sse2_umulsidi3): Describe without unspec.
2368 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
2369 machine modes.
2370 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
2371 (ashlv2di3): Likewise, from sse2_ashlv2di3.
2372 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
2373 ashlv4si3, ashlv2di3): Use SImode for shift count.
2374 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
2375 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
2376 New patterns.
2377 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
2378 New typedefs.
2379 (__m128i, __m128d): New macros.
2380 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
2381 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
2382 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
2383 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
2384 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
e2ff6cee 2385 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
916b60b7
BS
2386 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
2387 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
e2ff6cee 2388 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
916b60b7
BS
2389 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
2390 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
2391 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
2392 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
2393 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
2394 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
2395 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
2396 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
2397 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
2398 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
2399 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
2400 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
2401 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
2402 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
2403 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
2404 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
2405 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
2406 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
2407 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
2408 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
2409 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
2410 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
2411 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
2412 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
2413 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
2414 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
2415 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
2416 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
2417 functions.
e2ff6cee 2418 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
916b60b7
BS
2419 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
2420
c26fbbca
KH
24212002-05-04 Kazu Hirata <kazu@cs.umass.edu>
2422
2423 * dwarf2out.c: Fix formatting.
2424 * varasm.c: Likewise.
2425
0387639b
DE
24262002-05-04 David Edelsohn <edelsohn@gnu.org>
2427
2428 PR c/6543
2429 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
2430 clobber and use result as temporary value.
2431
8a28dbcc
JH
2432Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
2433
2434 * expr.c (force_operand): Use expand_simple_* to handle more
2435 cases.
2436
4268e8bb
NB
24372002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2438
2439 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
2440 and sign-extension.
2441 (lex_charconst): Update for change in prototype of
2442 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
2443 appropriately.
2444 * cpphash.h (BITS_PER_CPPCHAR_T): New.
2445 * cppinit.c (cpp_create_reader): Initialize them for no
2446 change in semantics.
2447 (cpp_post_options): Add sanity checks.
2448 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
2449 and truncation issues. Calculate in type cppchar_t.
2450 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
2451 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
2452 run-time dependent precision correctly. Return whether the
2453 result is signed or not.
2454 * cpplib.c (dequote_string): Use cppchar_t; update.
2455 * cpplib.h (cppchar_signed_t): New.
2456 struct cpp_options): New precision members.
2457 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
ae1a07e0 2458 * cppexp.c (eval_token): Update.
4268e8bb 2459
af54350e
DM
24602002-05-03 David S. Miller <davem@redhat.com>
2461
2ce04b6b
DM
2462 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
2463 * config/sparc/sparc.c (sparc_rtx_costs): New function
2464 implementing RTX_COSTS and CONST_COSTS.
2465 * config/sparc/sparc.h (CONST_COSTS): Delete.
2466 (RTX_COSTS_CASES): Define.
2467 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
2468 the work.
2469
a1d9bd0c
DM
2470 * config/sparc/sparc.md (DFA schedulers): Split out...
2471 * config/sparc/cypress.md, config/sparc/hypersparc.md,
2472 config/sparc/sparclet.md, config/sparc/supersparc.md,
2473 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
2474
e87bb82e
DM
2475 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
2476 checks on it, always defined for Sparc.
2477
af54350e
DM
2478 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
2479 Tweak, and add more detailed comments.
2480
935bfb44
ZW
24812002-05-03 Zack Weinberg <zack@codesourcery.com>
2482
2483 * Re-apply patch accidentally reverted with
2484 DFA scheduler merge: remove all rules and variables to slurp
2485 source files out of libiberty and rebuild them with HOST_CC.
2486 ($(HOST_PREFIX_1)varray.o): New rule.
2487 (genattrtab rule): Word wrap.
2488
fa7a0712
JT
24892002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2490
2491 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
2492 (CPP_SUBTARGET_SPEC): Define.
2493 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
2494 cpp_subtarget specs.
2495 (CPP_SPEC): Redefine to include %(cpp_subtarget).
2496
14c93978
DM
24972002-05-03 David S. Miller <davem@redhat.com>
2498
2499 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
2500 * target.h (struct gcc_target): Delete cycle_display member.
2501
14d118d6
DM
2502 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
2503 (rtx_needs_barrier): Delete reference to cycle_display unspec.
2504 (ia64_sched_reorder2): Mention need for cycle display handling
2505 once such notes exist.
935bfb44 2506
b3ae1ccd
RH
25072002-05-03 Richard Henderson <rth@redhat.com>
2508
2509 * real.c (etoasc): Strip most trailing zeros for clarity.
2510 * sched-vis.c: Include real.h.
2511 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
2512 * Makefile.in (sched-vis.o): Add real.h.
2513
8f39865a
DM
25142002-05-03 David S. Miller <davem@redhat.com>
2515
2516 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
2517 no longer needed.
2518
b44140e7
AH
25192002-05-03 Aldy Hernandez <aldyh@redhat.com>
2520
935bfb44
ZW
2521 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
2522 when we get an out of range literal.
2523 (altivec_expand_ternop_builtin): Same.
2524 (altivec_expand_unop_builtin): Same.
2525 (altivec_expand_builtin): Same, for dss.
2526 (altivec_expand_builtin): Use trees instead of rtl when
2527 determining literal argument validity.
b44140e7 2528
aaaed752
DM
25292002-05-03 David S. Miller <davem@redhat.com>
2530
2531 Delete cycle display scheduling hook.
2532 * config/ia64/ia64.c (ia64_cycle_display,
2533 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
2534 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
2535 and use emit_insn_before instead of ia64_emit_insn_before.
2536 * config/ia64/ia64.md (unspec usage): Delete cycle display.
2537 (cycle_display): Delete insn pattern.
2538 * config/sparc/sparc.md (unspec usage): Delete cycle display.
2539 (cycle_display): Delete insn pattern.
2540 * config/sparc/sparc.c (sparc_cycle_display,
2541 TARGET_SCHED_CYCLE_DISPLAY): Delete.
2542 * doc/md.texi (cycle_display): Don't mention.
2543 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
935bfb44 2544
b37c2614
RH
25452002-05-03 Richard Henderson <rth@redhat.com>
2546
2547 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
2548 * recog.h: Declare them.
2549
2550 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
2551 * config/sparc/sparc.md: Use store_data_bypass_p instead.
2552 * config/sparc/sparc-protos.h: Update.
935bfb44 2553
e1c1132e
JT
25542002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2555
2556 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
2557 -D__arch64__. Add -D_LP64.
2558 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
2559 from sparc.h.
2560 (CPP_ARCH64_SPEC): Likewise.
2561 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
2562 (NO_BUILTIN_SIZE_TYPE): Undef.
2563
0b2fb0d7
VM
25642002-05-03 Vladimir Makarov <vmakarov@redhat.com>
2565
2566 * genautomata.c (min_issue_delay_pass_states): Change return type
2567 in the prototype.
2568 (min_issue_delay_pass_states): Change the algorithm.
2569 (min_issue_delay): Set up min_insn_issue_delay for the state.
2570 (output_min_issue_delay_table): Interchange the nested loops and
2571 and initiate min_insn_issue_delay for states.
935bfb44 2572
3d4ce12a
JH
2573Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
2574
2575 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
2576 jump is simplejump.
2577
2578Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
37ad04a5
JH
2579
2580 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
2581 sequence.
2582
b5482208
RH
25832002-05-03 Richard Henderson <rth@redhat.com>
2584
2585 PR opt/6534
2586 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
2587 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
2588 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
2589 code before JUMP, not EARLIEST.
2590
5a3085c5
JM
25912002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
2592
2593 * c-format.c (check_format_info_main): Don't check for presence of
2594 parameter for * width until after operand number has been read,
2595 and only check for it if format parameters are available.
2596 Fixes PR c/6547.
2597
40039424
JT
25982002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2599
2600 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
2601 (LINK_SPEC): Undef before defining.
2602
8157303b
JJ
26032002-05-03 Jakub Jelinek <jakub@redhat.com>
2604
2605 PR preprocessor/6489
2606 * tradcpp.c (fixup_newlines): New.
2607 (main, finclude): Use it.
2608
66319f5c
RS
26092002-05-03 Richard Sandiford <rsandifo@redhat.com>
2610
2611 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
2612 * config/mips/mips.c (mips_unique_section): Strip encoding from
2613 decl name.
2614
ce8076ad
JJ
26152002-05-03 Jakub Jelinek <jakub@redhat.com>
2616
2617 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
2618 mode.
2619
975c6e4e
RO
26202002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2621
2622 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
2623 (Specific): Removed buildstats references.
2624 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
2625 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
2626 Accomodate Solaris versions beyond 8.
2627 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
2628 (Specific, *-*-solaris2.8): Removed, obsolete.
2629
d70e94ec
JJ
26302002-05-03 Jakub Jelinek <jakub@redhat.com>
2631
2632 PR target/6542
2633 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
2634 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
2635 fill leaf_reg_remap with identity.
2636 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
2637
6b148bd9
KH
26382002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2639
2640 * config/h8300/crti.asm: Remove trailing spaces.
2641 * config/h8300/h8300.c: Likewise.
2642 * config/h8300/lib1funcs.asm: Likewise.
2643
609688f3
JM
26442002-05-02 Jason Merrill <jason@redhat.com>
2645
2646 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
2647 * c-decl.c (c_init_decl_processing): Use it.
2648 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
2649 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
2650 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
2651
3b03c671
KH
26522002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2653
2654 * regrename.c: Fix formatting.
2655 * tree.c: Likewise.
2656
3b4961bd
JH
2657Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
2658
2659 * i386.md (attribute memory): Handle compares properly.
2660
19cba4a0
JH
2661Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
2662
3b4961bd 2663 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
19cba4a0
JH
2664 to none.
2665
797a6ac1
KH
26662002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2667
2668 * function.c: Fix formatting.
2669
6d0de005
JH
26702002-05-02 Jan Hubicka <jh@suse.cz>
2671
2672 * haifa-sched.c (schedule_insn): Print table of instructions and
2673 reservations.
2674 (sched_block): Do not print ready list at verbosity level 1.
2675 * sched-vis.c (print_insn): Make global.
2676 * sched-ebb.c (ebb_print_insn): Rename from...
2677 (print_insn): ... this one.
2678 * sched-int.h (print_insn): Declare
2679
0bfb9a69
RH
26802002-05-02 Richard Henderson <rth@redhat.com>
2681
2682 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
2683 emitted by cycle_display.
2684
6b976d99
LR
26852002-05-02 Loren J. Rittle <ljrittle@acm.org>
2686
2687 * doc/install.texi (*-*-freebsd*): Update to latest status.
2688
0a295052
JJ
26892002-05-02 Jakub Jelinek <jakub@redhat.com>
2690
2691 PR target/6540
2692 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
2693 * config/float-sparc.h: Assume 128-bit long double if
2694 __LONG_DOUBLE_128__ is defined.
2695
842d5d6c
VM
26962002-05-02 Vladimir Makarov <vmakarov@redhat.com>
2697
2698 * genattrtab.c (write_function_unit_info): Add a dummy element
2699 when num_units == 0.
2700
3d7a6309
HB
27012002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2702
2703 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
2704 TYPE_MODE (double_type_node) instead of DFmode.
2705
1b6763cf
JH
2706Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
2707
2708 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
2709 jumps post reload.
2710 * toplev.c (rest_of_compilation): Revert Richard's patch.
2711
b303008e
JDA
27122001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
2713
2714 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
2715
6ed7412a
CM
27162002-05-02 Catherine Moore <clm@redhat.com>
2717
2718 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
2719
e0a2f705
KH
27202002-05-02 Kazu Hirata <kazu@hxi.com>
2721
b32d6163 2722 * combine.c: Fix comment typos.
e0a2f705
KH
2723 * expr.c: Likewise.
2724 * genautomata.c: Likewise.
2725 * stmt.c: Likewise.
2726 * tree.h: Likewise.
2727
38e23049
JM
27282002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
2729
2730 * doc/install.texi: State GNAT version requirements.
2731
40f4a97d
NC
27322002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2733
2734 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
2735 of the frame pointer or arg pointer register which strict register
2736 checking is not enabled.
2737
0d6d6892
AH
27382002-05-02 Aldy Hernandez <aldyh@redhat.com>
2739
b5482208 2740 * gcc.dg/altivec-8.c: New.
0d6d6892 2741
b5482208
RH
2742 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
2743 PRE_INC and PRE_DEC for altivec modes.
0d6d6892 2744
abaa8559
BK
27452002-05-01 Bruce Korb <bkorb@gnu.org>
2746
2747 * fixinc/check.tpl(set-writable): make sure the function exists first
2748 * fixinc/inclhack.def(alpha_assert): fix test_text
2749 * fixinc/tests/base/assert.h: add in missing result
2750
ecab2143
JL
27512002-05-01 Jeff Law <law@redhat.com>
2752
2753 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
2754 'T' constraint.
2755
ea619b46
JB
27562002-05-01 Joel Brobecker <brobecker@gnat.com>
2757
2758 * dbxout.c (dbxout_type): Emit size information for range types,
2759 as well, but only when using GDB extensions.
2760
c72931a6
RH
27612002-05-01 Richard Henderson <rth@redhat.com>
2762
2763 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
2764 target-independent gnu binutils date test.
2765
2150ad33
RH
27662002-05-01 Richard Henderson <rth@redhat.com>
2767
2768 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
2769 info before expunging the block.
2770
1651cc96
JJ
27712002-05-01 Jakub Jelinek <jakub@redhat.com>
2772
2773 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
2774 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
2775 -M -or -MM is in effect.
2776
8998d5bf
ZW
27772002-05-01 Zack Weinberg <zack@codesourcery.com>
2778
2779 * config.gcc: Correct test of --enable-obsolete. Obsolete all
2780 A29k configurations.
2781 * doc/install.texi: Update to match.
2782
a81eed10
FS
27832002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2784
2785 PR bootstrap/6514
2786 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
2787 for duplicates. Always loop over whole list.
2788
8d53318f
RK
2789Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2790
2791 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
2792
4109b118
JS
27932002-05-01 Joel Sherrill <joel@OARcorp.com>
2794
2795 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
2796 support routines.
2797
c4a9c570
JS
27982002-05-01 Joel Sherrill <joel@OARcorp.com>
2799
2800 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
2801
ea112fc4
DE
28022002-05-01 David Edelsohn <edelsohn@gnu.org>
2803
2804 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
2805 (nabs_nopower): Same.
2806 (floatdisf2): New pattern.
2807 (absdi2): Convert to define_insn_and_split.
2808 (nabsdi2): Same.
2809 (trunctfsf2): Same.
2810 (floatditf2): Same.
2811 (floatsitf2): Same.
2812 (fix_trunctfdi2): Same.
2813 (fix_trunctfsi2): Same.
2814
dda78254
JM
28152002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
2816
2817 * doc/install.texi: Update Texinfo version requirement
2818 documentation.
2819
26aeede4
JJ
28202002-05-01 Jakub Jelinek <jakub@redhat.com>
2821
2822 PR target/6512, PR target/5628
2823 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
2824 when memory is not aligned.
2825 (movdf_insn_v9only_vis): Likewise.
2826 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
2827 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
2828 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
2829
9b7bc465
AH
28302002-05-01 Aldy Hernandez <aldyh@redhat.com>
2831
8998d5bf 2832 * gcc.dg/altivec-7.c: New.
9b7bc465 2833
8998d5bf 2834 * config/rs6000/altivec.h: Cleanup.
9b7bc465 2835
08b57fb3
AH
28362002-04-30 Aldy Hernandez <aldyh@redhat.com>
2837
8998d5bf
ZW
2838 * doc/invoke.texi (Option Summary): Add -mvrsave=.
2839 (RS/6000 and PowerPC Options): Document -mvrsave=.
08b57fb3 2840
8998d5bf
ZW
2841 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
2842 (rs6000_altivec_vrsave_string): Same.
2843 (rs6000_override_options): Call rs6000_parse_vrsave_option.
2844 (rs6000_parse_vrsave_option): New.
2845 (rs6000_stack_info): Only generate vrsave instructions when
2846 TARGET_ALTIVEC_VRSAVE.
08b57fb3 2847
8998d5bf
ZW
2848 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
2849 (rs6000_altivec_vrsave_string): Define extern.
2850 (rs6000_altivec_vrsave): Same.
2851 (TARGET_ALTIVEC_VRSAVE): New.
08b57fb3 2852
8e8c38cd
RH
28532002-04-30 Richard Henderson <rth@redhat.com>
2854
2855 PR opt/6516
2856 * toplev.c (rest_of_compilation): Don't run cross-jump before
2857 bb-reorder.
2858
4be9e9cb
TR
28592002-04-30 Tom Rix <trix@redhat.com>
2860
8998d5bf 2861 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
4be9e9cb
TR
2862 check which_alternative.
2863
1eeeb6a4
KH
28642002-04-30 Kazu Hirata <kazu@hxi.com>
2865
2866 * cpplex.c: Fix comment formatting.
2867 * function.c: Likewise.
2868 * integrate.c: Likewise.
2869 * regrename.c: Likewise.
2870 * sibcall.c: Likewise.
2871 * simplify-rtx.c: Likewise.
2872 * tree-inline.c: Likewise.
2873
ed9d6ff9
JDA
28742002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2875
2876 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
2877 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
2878 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
2879 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
2880 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
2881 * pa/x-ada: New file. Define ADA_CFLAGS.
2882
1f2641b6
HPN
28832002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
2884
2885 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
2886 from MMIX_LAST_REGISTER_FILE_REGNUM.
2887 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
2888 (struct machine_function): New member highest_saved_stack_register
2889 previously static variable in mmix.c.
2890 (MACHINE_DEPENDENT_REORG): Define.
2891 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
2892 (MMIX_OUTPUT_REGNO): New.
2893 (mmix_target_asm_function_prologue): Move calculation of last used
2894 saved-stack-register into...
2895 (mmix_machine_dependent_reorg): New function. Update to also handle
2896 !TARGET_ABI_GNU.
2897 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
2898 register names, simplify somewhat by new variable regno.
2899 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
2900 register.
2901 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
2902 emitting register names.
2903 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
2904 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
2905 Remove fixed FIXME.
2906 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
2907 Declare.
2908
2909 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
2910
73985940
RH
29112002-04-30 Richard Henderson <rth@redhat.com>
2912
2913 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
2914 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
2915 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
2916 emit_tfmode_cvt): New.
2917 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
2918 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
2919 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
2920 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
2921 * config/sparc/sparc-protos.h: Update.
2922
2b46bc67
JJ
29232002-04-30 Janis Johnson <janis187@us.ibm.com>
2924
2925 * install.texi (Final install): Add to the list of info to include
2926 in a report of a successful bootstrap, and add link to 3.1 list.
2927
3d34cd91
JH
2928Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
2929
2930 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
2931 (mode): Add vector modes
2932 (i387): Kill attribute.
2933 (unit): New attribute.
2934 (length_immediate): Grok new types.
2935 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
2936 (modrm): Use "unit".
2937 (memory): Handle MMX/SSE properly.
2938 (scheduling descriptions): Kill uses of fop1.
2939 (sse, mmx, fp patterns): Set type and mode properly.
2940
3193c415
JL
2941Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com)
2942
30482eb0
JL
2943 * pa.c (override_options): Default to PA8000 scheduling.
2944 * doc/invoke.texi (HP-PA options): Mention newly added 7300
2945 scheduling parameter.
2946
3193c415
JL
2947 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
2948 handling of double precision multiplies.
2949
2950 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
2951 fpdiv and fpsqrt instructions.
2952 (7200 & 7300 scheduling): Fix typo in handling of
2953 store-load and store-store penalties.
2954
c0a34cb7
GP
29552002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2956
2957 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
2958 mips. Add two missing commas.
2959
8bce0628
PC
29602002-04-30 Paolo Carlini <pcarlini@unitus.it>
2961
2962 * doc/contrib.texi (Contributors): Update Paolo Carlini's
2963 and Benjamin Kosnik's entries.
2964
84643cbf
DM
29652002-04-29 David S. Miller <davem@redhat.com>
2966
2967 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
2968 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
2969 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
2970 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
2971
da6886f6
FS
29722002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2973
2974 * combine.c (find_split_point): Use gen_int_mode.
2975
fae15c93
VM
29762002-04-29 Vladimir Makarov <vmakarov@redhat.com>
2977
2978 Merging code from dfa-branch:
8998d5bf 2979
fae15c93
VM
2980 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
2981
2982 * genautomata.c (output_reserv_sets): Fix typo.
2983
2984 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
2985
2986 * genautomata.c (output_reserv_sets): Remove
2987 next_cycle_output_flag.
2988
2989 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
2990
8998d5bf
ZW
2991 * sched-rgn.c (init_ready_list): Make the DFA code handle
2992 USE/CLOBBER insns in the same way as the traditional
2993 scheduler.
2994 (new_ready): Similarly..
fae15c93
VM
2995
2996 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
2997
2998 * haifa-sched.c (schedule_block): Change the DFA state only after
2999 issuing insn.
3000
3001 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
3002
3003 * pa.c (hppa_use_dfa_pipeline_interface): New function.
3004 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
3005 (override_options): Add PA7300 scheduling support.
3006 (pa_adjust_cost): Update various comments. Properly
3007 handle anti and output dependencies when using the
3008 DFA scheduler.
3009 (pa_issue_rate): Add PA7300 scheduling support.
3010 (pa_can_combine_p): Call extract_insn before calling
3011 constrain_operands (taken from mainline tree).
3012 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
3013 * pa.md (cpu attr): Add 7300. Rewrite pipeline
3014 descriptions using DFA descriptions. Add PA7300
3015 scheduling support.
3016
3017 2002-03-30 David S. Miller <davem@redhat.com>
3018
3019 Add UltraSPARC-III DFA scheduling support.
3020 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
3021 Update FP conditional move on register insn patterns to use it, as
3022 appropriate.
3023 (define_attr cpu): Add ultrasparc3.
3024 (define_attr us3load_type): New, update integer load patterns to
3025 set it, as appropriate.
3026 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
3027 (rest): Add UltraSPARC3 scheduling description.
3028 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
3029 (PROCESSOR_ULTRASPARC3): New.
3030 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
3031 ({ASM,CPP}_CPU_SPEC): Likewise.
3032 (REGISTER_MOVE_COST): Likewise.
3033 (RTX_COSTS): Likewise.
3034 * config/sparc/sparc.c (sparc_override_options,
3035 sparc_initialize_trampoline, sparc64_initialize_trampoline,
3036 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3037 sparc_issue_rate): Likewise.
3038 * config/sparc/sol2.h: Likewise.
3039 * config/sparc/sol2-sld-64.h: Likewise.
3040 * config/sparc/linux64.h: Likewise.
8998d5bf 3041
fae15c93
VM
3042 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
3043
3044 * doc/md.texi: Add comments about usage the latency time for the
3045 different dependencies and about case when two or more conditions
3046 in different define_insn_reservations returns TRUE for an insn.
3047
3048 * doc/md.texi: Add reference for automaton based pipeline
3049 description.
8998d5bf 3050
fae15c93
VM
3051 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
3052
3053 * doc/passes.texi: Add missed information about genattrtab.
3054
3055 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
3056
3057 * genautomata.c (output_automata_list_transition_code): Check
3058 automata_list on NULL.
3059
3060 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
3061
3062 * genautomata.c (output_insn_code_cases,
3063 output_automata_list_min_issue_delay_code,
3064 output_automata_list_transition_code,
3065 output_automata_list_state_alts_code): Comment the functions.
3066
3067 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
3068
3069 * genautomata.c (automata_list_el_t): New typedef.
3070 (get_free_automata_list_el,free_automata_list_el,
3071 free_automata_list, automata_list_hash, automata_list_eq_p,
3072 initiate_automata_lists, automata_list_start, automata_list_add,
3073 automata_list_finish, finish_automata_lists,
3074 output_insn_code_cases, output_automata_list_min_issue_delay_code,
3075 output_automata_list_transition_code,
3076 output_automata_list_state_alts_code, add_automaton_state,
3077 form_important_insn_automata_lists): New functions and prototypes.
3078 (insn_reserv_decl): Add members important_automata_list and
3079 processed_p.
3080 (ainsn): Add members important_p.
3081 (automata_list_el): New structure.
3082 (first_free_automata_list_el, current_automata_list,
3083 automata_list_table): New global variables.
3084 (create_ainsns): Initiate member important_p.
3085 (output_internal_min_issue_delay_func): Generate the switch and
3086 call output_insn_code_cases.
3087 (output_internal_trans_func, output_internal_state_alts_func):
3088 Ditto.
3089 (generate): Call initiate_automata_lists.
3090 (automaton_states): New global variable.
3091 (expand_automata): Call form_important_insn_automata_lists.
3092 (write_automata): Call finish_automata_lists.
8998d5bf 3093
fae15c93
VM
3094 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
3095
3096 * genautomata.c (add_excls, add_presence_absence): Check that
8998d5bf 3097 cpu units in the sets belong the same automaton.
fae15c93
VM
3098
3099 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
3100 about that cpu units in the sets belong the same automaton.
3101
3102 * doc/md.texi: Ditto.
8998d5bf 3103
2799d721
VM
3104 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
3105 Nitin Gupta <niting@noida.hcltech.com>
8998d5bf 3106
fae15c93
VM
3107 * config/sh/sh.c (sh_use_dfa_interface): New function.
3108
3109 (sh_issue_rate): New Function.
3110 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
3111 TARGET_SCHED_ISSUE_RATE: define.
3112
3113 * config/sh/sh.md: Add DFA based pipeline description for SH4.
3114
8998d5bf
ZW
3115 (define_attr insn_class): New attribute used for DFA
3116 scheduling.
fae15c93
VM
3117 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
3118 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
3119 cmpeqdi_t): Likewise.
3120
3121 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
8998d5bf 3122 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
fae15c93
VM
3123 ex_group.
3124 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
8998d5bf 3125
fae15c93
VM
3126 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
3127
3128 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
3129 break.
3130
3131 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
3132
3133 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
3134 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
3135 necessary.
3136 (output_dfa_start_func): Initiate new variable insn_codes_length,
3137 (write_automata): Output definition of the new variable.
8998d5bf 3138
fae15c93
VM
3139 2001-10-02 David S. Miller <davem@redhat.com>
3140
3141 * haifa-sched.c (advance_one_cycle): New function.
3142 (schedule_block): Use it.
3143 (queue_to_ready): Use it, and also make sure to advance the DFA
3144 state on all stall cycles, not just those where insn_queue links
3145 are found.
3146
3147 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
3148
3149 * haifa-sched.c (max_issue): Remove last_p argument. Only return
3150 non-zero if the highest-priority instruction could be scheduled.
3151 (choose_ready): Remove last argument from max_issue call.
3152
3153 2001-09-28 David S. Miller <davem@redhat.com>
3154
3155 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
3156 ultrasparc and 3 for other multi-issue sparcs.
3157
3158 2001-09-27 David S. Miller <davem@redhat.com>
3159
3160 * config/sparc/sparc.md (cycle_display): New pattern.
3161 * config/sparc/sparc.c (sparc_cycle_display): New.
3162 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
3163
3164 2001-09-25 David S. Miller <davem@redhat.com>
3165
3166 Convert all of Sparc scheduling to DFA
3167 * config/sparc/sparc.md: Kill all define_function_unit
3168 directives and replace with DFA equivalent.
3169 * config/sparc/sparc.c (ultrasparc_adjust_cost,
3170 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
3171 ultra_fpmode_conflict_exists, ultra_find_type,
3172 ultra_build_types_avail, ultra_flush_pipeline,
3173 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
3174 ultrasparc_variable_issue, ultrasparc_sched_init,
3175 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
3176 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
3177 ultra_cur_hist, ultra_cycles_elapsed): Kill.
3178 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3179 ultrasparc_store_bypass_p): New.
3180 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
3181 Declare.
3182
3183 2001-09-24 David S. Miller <davem@redhat.com>
3184
3185 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
3186 ready->vec[foo] not ready[foo].
3187
3188 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
3189
3190 * doc/md.texi: Correct examples for define_insn_reservations
3191 `mult' and `div'.
3192
3193 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
3194
3195 * genautomata.c (create_automata): Print message about creation of
3196 each automaton.
3197 (generate): Remove printing meease about creation of
3198 automata.
3199
3200 2001-09-05 David S. Miller <davem@redhat.com>
3201
3202 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
3203 * config/sparc/linux64.h: Likewise.
3204
3205 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
3206
3207 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
3208 schedule_block, sched_init, sched_finish): Add missed calls of
3209 use_dfa_pipeline_interface.
3210
3211 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
3212 Ditto.
3213
3214 * sched-vis.c (get_visual_tbl_length): Ditto.
8998d5bf 3215
fae15c93
VM
3216 2001-08-27 Richard Henderson <rth@redhat.com>
3217
3218 * genattr.c (main): Emit state_t even when not doing scheduling.
3219
3220 2001-08-27 Richard Henderson <rth@redhat.com>
3221
3222 * genautomata.c (expand_automata): Always create a description.
3223
3224 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
3225
8998d5bf 3226 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
fae15c93
VM
3227 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
3228 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
3229 RTL constructions.
3230
3231 * genattr.c (main): New variable num_insn_reservations. Increase
3232 it if there is DEFINE_INSN_RESERVATION. Output automaton based
3233 pipeline hazard recognizer interface.
3234
3235 * genattrtab.h: New file.
3236
3237 * genattrtab.c: Include genattrtab.h.
3238 (attr_printf, check_attr_test, make_internal_attr,
3239 make_numeric_value): Move protypes into genattrtab.h. Define them
3240 as external.
3241 (num_dfa_decls): New global variable.
3242 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
3243 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
3244 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
3245 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
3246
3247 * genautomata.c: New file.
3248
3249 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
3250
8998d5bf 3251 * sched-int.h: (curr_state): Add the external definition for
fae15c93
VM
3252 automaton pipeline interface.
3253 (haifa_insn_data): Add comments for members blockage and units.
3254
3255 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3256 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3257 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3258 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3259 TARGET_SCHED_DFA_POST_CYCLE_INSN,
3260 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3261 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
3262 macros.
3263 (TARGET_SCHED): Use the new macros.
3264
3265 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
3266 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
3267 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
3268 dfa_bubble): New members in gcc_target.sched.
3269
8998d5bf 3270 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
fae15c93
VM
3271 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
3272 (insn_queue): Redefine it as pointer to array.
3273 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
3274 INSN_QUEUE_SIZE.
3275 (max_insn_queue_index_macro_value): New variable.
3276 (curr_state, dfa_state_size, ready_try): New varaibles for
3277 automaton interface.
3278 (ready_element, ready_remove, max_issue): New function prototypes
3279 for automaton interface.
3280 (choose_ready): New function prototype.
3281 (insn_unit, blockage_range): Add comments.
3282 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
3283 FUNCTION_UNITS_SIZE == 0.
3284 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
3285 actual_hazard, potential_hazard): Add comments.
3286 (insn_cost): Use cost -1 as undefined value. Remove
3287 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
3288 pipeline interface.
3289 (ready_element, ready_remove): New functions for automaton
3290 interface.
3291 (schedule_insn): Add new code for automaton pipeline interface.
3292 (queue_to_ready): Add new code for automaton pipeline interface.
3293 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
3294 (debug_ready_list): Print newline when the queue is empty.
3295 (max_issue): New function for automaton pipeline interface.
3296 (choose_ready): New function.
3297 (schedule_block): Add new code for automaton pipeline interface.
3298 Print ready list before scheduling each insn.
3299 (sched_init): Add new code for automaton pipeline interface.
3300 Initiate insn cost by -1.
3301 (sched_finish): Free the current automaton state and finalize
3302 automaton pipeline interface.
3303
3304 * sched-rgn.c: Include target.h.
3305 (init_ready_list, new_ready, debug_dependencies): Add new code for
3306 automaton pipeline interface.
3307
3308 * sched-vis.c: Include target.h.
3309 (get_visual_tbl_length): Add code for automaton interface.
3310 (target_units, print_block_visualization): Add comments.
3311
8998d5bf 3312 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
fae15c93
VM
3313 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
3314 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
3315 (getruntime.o, genautomata.o): New entries.
3316 (genattrtab.o): Add new dependency file genattrtab.h.
3317 (genattrtab): Add new dependencies. Link it with `libm.a'.
3318 (getruntime.o, hashtab.o): New entries for canadian cross.
3319
3320 * doc/md.texi: Description of automaton based model.
3321
3322 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
3323 Add comments.
3324 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3325 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3326 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3327 TARGET_SCHED_DFA_POST_CYCLE_INSN,
3328 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3329 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3330 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
3331 hook descriptions.
3332 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
3333 MAX_DFA_ISSUE_RATE): New macro descriptions.
3334
3335 * doc/contrib.texi: Add dfa based scheduler contribution.
3336
3337 * doc/gcc.texi: Add more information about genattrtab.
3338
a2ff290c
RK
3339Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3340
3341 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
3342 adjust_address_nv call.
3343
f97903cc
JJ
33442002-04-29 Janis Johnson <janis187@us.ibm.com>
3345
3346 * doc/install.texi (Testing): Provide additional information, and
3347 a stronger encouragement, for running the testsuites.
3348
f41a6bf1
DD
33492002-04-29 DJ Delorie <dj@redhat.com>
3350
3351 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
3352 given in upper case.
3353
d8af0868
RO
33542002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3355
3356 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
3357 Solaris 2 <widec.h> if missing.
3358 * fixinc/fixincl.x: Regenerate.
3359 * fixinc/tests/base/widec.h: New file.
3360
1034407f
NC
33612002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
3362
3363 * toplev.c (f_options): Add "profile" switch so that
3364 -fno-profile can be used to disable -p.
3365
fbe5eb6d
BS
33662002-04-29 Bernd Schmidt <bernds@redhat.com>
3367
3368 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
3369 UV2DImode.
3370 * tree.c (build_common_tree_nodes_2): Likewise.
3371 * tree.h (enum tree_index): Likewise.
3372 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
3373
3374 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
3375 entries.
3376 (init_mmx_sse_builtins): Initialize SSE2 builtins.
3377 (ix86_expand_builtin): Add support for SSE2 builtins.
3378 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
3379 (VALID_SSE_REG_MODE): Use it.
3380 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
3381 (enum ix86_builtins): Add SSE2 builtins.
3382 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
3383 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
3384 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
3385 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
3386 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
3387 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
3388 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
3389 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
3390 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
3391 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
3392 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
3393 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
3394 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
3395 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
3396 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
3397 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
3398 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
3399 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
3400 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
3401 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
3402 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
3403 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
3404 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
3405 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
3406 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
3407 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
3408 lfence_insn): New patterns.
3409 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
3410 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
3411
44aefada
JH
3412Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
3413
3414 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
3415
d5482cdc
GP
34162002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3417
3418 * doc/contrib.texi (Contributors): Add Paolo Carlini and
3419 Janis Johnson.
3420 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
3421 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
3422 and CPU instead of cpu.
3423
2c4b77f3
JH
3424Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
3425
3426 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
3427 variables.
3428 (lang_independent_options): Add -fif-conversion, -fif-conversion2
3429 (rest_of_compilation): Do if conversion only when asked for.
3430 (parse_options_and_default_flags): Set new variables to 1 for -O1
3431 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
3432
3de72741
JH
3433Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
3434
3435 * i386.c (dbx64_register_map): Fix typo.
3436
8aa18a7d
JH
3437Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
3438
3439 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
3440 real_one_half, real_bb_freq_max): New static variables.
3441 (debug_profile_bbauxs): Kill.
3442 (process_note_predictions): Kill unused variable.
3443 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
3444 volatile double.
3445 (propagate_freq): Use REAL_ARITHMETICS.
3446 (estimate_bb_frequencies): Likevise; init new static variables.
3447 * Makefile.in (predict.o): Add dependency on real.h
3448
1bbad4c6
DM
34492002-04-28 David S. Miller <davem@redhat.com>
3450
3451 PR target/6500
3452 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
3453 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
3454 several {reads,writes} instead.
3455 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
3456 Define.
3457
3ef3f384
DM
34582002-04-27 David S. Miller <davem@redhat.com>
3459
3460 PR target/6494
3461 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
3462 of the stack bias.
3463
3464 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
3465 including signal.h and sys/ucontext.h, not needed.
3466
ec493bcb
HPN
34672002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
3468
3469 * varasm.c (output_constant_def): Correct test for not calling
3470 ENCODE_SECTION_INFO for INTEGER_CST.
3471
60284a59
NB
34722002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
3473
3474 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
3475 keep most cases as function eval_token.
3476 (eval_token): New function.
3477 (_cpp_parse_expr): Read token here for improved diagnostics.
3478 Don't use op_as_text. Detect bad ':' here.
3479 (reduce): Don't detect bad ':' here.
3480 (op_as_text): Remove.
3481 * cpphash.h (_cpp_test_assertion): Change prototype.
3482 * cpplib.c (_cpp_test_assertion): Change prototype.
3483
349a4b40
RH
34842002-04-28 Richard Henderson <rth@redhat.com>
3485
3486 PR c/5154
8998d5bf 3487 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
349a4b40
RH
3488 (ggc_mark_rtx_children): New.
3489
7a03f82f
JJ
34902002-04-28 Jakub Jelinek <jakub@redhat.com>
3491
3492 PR target/6496
3493 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
3494 after call peepholes for UltraSPARC.
3495 (call + jump 64-bit peepholes): Remove.
3496
80103f96
FS
34972002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3498
3499 PR c/6497
3500 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
3501 result as temporary value.
3502
06990986
JJ
35032002-04-28 Jakub Jelinek <jakub@redhat.com>
3504
3505 PR c++/6396
3506 * toplev.c (rest_of_compilation): Only run regrename and copy
3507 propagation if optimizing.
3508
a20fd5ac
JJ
35092002-04-28 Jakub Jelinek <jakub@redhat.com>
3510
3511 PR optimization/6475
3512 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
3513 register of REGNO_DECL (i).
3514 * Makefile.in (reload1.o): Add $(TREE_H).
3515
87ed109f
NB
35162002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
3517
3518 * cppexp.c (lex): Update to use state.skip_eval.
3519 (struct op): Remove prio and flags members.
3520 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
3521 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
3522 (LEFT_ASSOC): New macro.
3523 (optab): New table of operator priorities and flags.
3524 (SHIFT): Update.
3525 (_cpp_parse_expr): Clean up logic. Return bool. Use a
3526 malloc-ed parser stack.
3527 (reduce): New; reduce the operator stack.
3528 (_cpp_expand_op_stack): Expand the operator stack as necessary.
3529 * cpphash.h (struct op): Predeclare.
3530 (struct cpp_reader): New members op_stack, op_limit.
3531 (struct lexer_state): New member skip_eval.
3532 (_cpp_parse_expr): Update.
3533 (_cpp_expand_op_stack): New.
3534 * cpplib.c (do_if): Update.
3535 * cppinit.c (cpp_create_reader): Create op stack.
3536 (cpp_destroy): And destroy it.
3537 * cpplib.h (CPP_LAST_CPP_OP): Correct.
3538 (TTYPE_TABLE): Correct.
3539
45806a3f
FS
35402002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3541
3542 PR c/6343
3543 * c-decl.c (duplicate_decls): Call merge_weak.
3544 * c-pragma.c (apply_pragma_weak): Warn about misuse.
3545 * output.h (merge_weak): Prototype merge_weak.
3546 * varasm.c (merge_weak): New function.
3547 (declare_weak): Make sure we don't give an error on VAR_DECLs.
3548 Mark RTL with SYMBOL_REF_WEAK.
3549
a6227154
KG
35502002-04-27 Kurt Garloff <garloff@suse.de>
3551
3552 * tree-inline.c (inlinable_function_p): Improve heuristics
3553 by using a smoother function to cut down allowable inlinable size.
3554 * param.def: Add parameters max-inline-insns-single,
3555 max-inline-slope, min-inline-insns that determine the exact
3556 shape of the above function.
3557 * param.h: Likewise.
3558
94a50397
RH
35592002-04-26 Richard Henderson <rth@redhat.com>
3560
3561 * c-parse.in (malloced_yyss, malloced_yyvs): New.
3562 (yyoverflow): Re-add. Set them.
3563 (free_parser_stacks): New.
3564 * c-common.h: Declare it.
3565 * c-lex.c (c_common_parse_file): Call it.
3566
9c0a0632
RH
35672002-04-26 Richard Henderson <rth@redhat.com>
3568
3569 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
3570 for fallthru search.
3571
b875d2ee
EC
35722002-04-26 Eric Christopher <echristo@redhat.com>
3573
3574 PR optimization/3700
3575 * config/mips/mips.c (mips_issue_rate): Define. New function.
3576 (TARGET_SCHED_ISSUE_RATE): Use.
3577
1db828df
DM
35782002-04-25 David S. Miller <davem@redhat.com>
3579
3580 PR target/6422
3581 * reorg.c (optimize_skip): Do not allow exception causing
3582 instructions to be considered for delay slots.
3583 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
3584 (relax_delay_slots): Do not try to consider exception causing
3585 instructions as redundant.
3586
ae5d234e
RH
35872002-04-26 Richard Henderson <rth@redhat.com>
3588
3589 PR c/5225
3590 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
3591
7d793e9b
MM
35922002-04-26 Mark Mitchell <mark@codesourcery.com>
3593
3594 PR bootstrap/6445
3595 * config/i386/i386.md (untyped_call): Return the value in a float
3596 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
3597 TARGET_80387.
3598
b13ab42c
AO
35992002-04-26 Alexandre Oliva <aoliva@redhat.com>
3600
3601 * tree.c (tree_int_cst_lt): Compare constants whose types differ
3602 in unsigned-ness correctly.
3603
5e56f909
JDA
36042002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
3605
3606 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
3607 portable runtime model.
3608
bde3c0c0
RH
36092002-04-26 Richard Henderson <rth@redhat.com>
3610
a6227154 3611 * c-parse.in (yyoverflow): Revert.
bde3c0c0 3612
5276df18
DE
36132002-04-26 David Edelsohn <edelsohn@gnu.org>
3614 Richard Henderson <rth@redhat.com>
3615
3616 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
3617 result as temporary value.
3618
b84a3874
RH
36192002-04-26 Richard Henderson <rth@redhat.com>
3620
3621 PR c/3581
3622 * c-common.c (fix_string_type): Split out of ...
3623 (combine_strings): ... here. Take a varray, not a tree list.
3624 (c_expand_builtin_printf): Use fix_string_type.
3625 * c-common.h: Update decls.
3626 * c-parse.in (string): Remove. Update all uses to use STRING
3627 instead, and not call combine_strings.
3628 (yylexstring): New.
3629 (_yylex): Use it.
3630 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
3631 (build_asm_stmt): Likewise.
3632 * objc/objc-act.c (my_build_string): Use fix_string_type.
3633 (build_objc_string_object): Build varray for combine_strings.
3634
d8ae8cd4
BT
36352002-04-26 Bo Thorsen <bo@suse.co.uk>
3636
3637 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
3638 x86-64.
3639
f8b954fc
NB
36402002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
3641
3642 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
3643 (HAVE_NO_R_OPERAND): Remove.
3644 (HAVE_VALUE): Remove.
3645 (op_to_prio): Update.
3646 (UNARY): Don't alter flags.
3647 (_cpp_parse_expr): want_value used to indicate whether
3648 a number or unary operator is expected next. Distinguish
3649 unary and binary +/-.
3650 (op_as_text): Update for unary operators.
3651
6052bef0
RH
36522002-04-25 Richard Henderson <rth@redhat.com>
3653
3654 PR c/2161
3655 * c-parse.in (yyoverflow): New.
3656
5c5b2283
RH
36572002-04-25 Richard Henderson <rth@redhat.com>
3658
3659 PR c/2098
3660 * c-common.c (shorten_compare): Simplfy conditions leading to
3661 the generation of a warning.
3662
28ce94d4
RH
36632002-04-25 Richard Henderson <rth@redhat.com>
3664
3665 PR c/2035
3666 * expmed.c (extract_bit_field): Fall through to generic code rather
3667 than aborting on subreg special case.
3668
6bfd0c63
DM
36692002-04-25 David S. Miller <davem@redhat.com>
3670
3671 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
3672 for DECL being NULL.
3673
7a430e3b
SC
36742002-04-25 Steve Christiansen <smc@us.ibm.com>
3675
3676 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
3677
45c42d7d
EB
36782002-04-25 Eric Botcazou <ebotcazou@multimania.com>
3679
3680 * c-decl.c (grokdeclarator): Remove outdated ??? note
3681 on invalid declaration of flexible array members.
3682
eb7715a4
RH
36832002-04-25 Richard Henderson <rth@redhat.com>
3684
3685 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
3686
cf5ee720
UW
36872002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3688
3689 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
3690 needed by the compiler, even if they are used as global regs.
3691
d604bca3
MH
36922002-04-25 Matt Hiller <hiller@redhat.com>
3693
3694 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
3695 functions.
3696 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
3697 of the corresponding functions.
3698 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
3699 New prototypes.
b875d2ee 3700
d604bca3
MH
37012002-04-25 Matt Hiller <hiller@redhat.com>
3702
3703 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
3704
3705 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
3706 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
3707 registers, adjust comment accordingly.
3708 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
3709 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
3710 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
3711 for coprocessor registers.
3712 (ADDITIONAL_REGISTER_NAMES): Include
3713 ALL_COP_ADDITIONAL_REGISTER_NAMES.
b875d2ee 3714
d604bca3
MH
3715 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
3716 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
3717 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
3718 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
3719 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
3720
3721 (mips_char_to_class): Adjust comment to include coprocessor
3722 constraint letters.
3723
3724 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
3725 New functions.
3726 (mips_reg_names, mips_regno_to_class): Include coprocessor
3727 information.
3728 (mips_sw_reg_names): Ditto, make non-static.
3729 (mips_move_1word): Handle moves to and from coprocessor registers.
3730 (mips_move_2words): Handle moves to and from coprocessor
3731 registers.
3732 (mips_class_max_nregs, mips_register_move_cost): Handle
3733 coprocessor register classes.
3734 (override_options): Initialize mips_char_to_class and
3735 mips_hard_regno_mode_ok properly for coprocessor registers.
3736
3737 * config/mips/mips.md (movdi_internal, movdi_internal2,
3738 movsi_internal1, movsi_internal2): Add constraint-sets for
3739 coprocessor registers.
3740 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
3741 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
3742 isn't mips.
3743 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
3744 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
3745 isn't mips.
3746 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
3747 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
3748 isn't mips.
3749 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
3750 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
3751 isn't mips.
b875d2ee 3752
d604bca3
MH
3753 * doc/tm.texi: Document feature.
3754
b9a26d09
NB
37552002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3756
3757 * integrate.c (function_attribute_inlinable_p): Simplify.
3758 Check the table pointer is not NULL.
3759
ab5973b7
SB
37602002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
3761
3762 * doc/c-tree.texi: Fix typo in introduction.
3763
ff45c01e
NB
37642002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3765
3766 * c-common.h (c_common_parse_file): Update.
3767 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3768 * c-lex.c (YYDEBUG): Get from c-lex.h.
3769 (c_common_parse_file): Update.
3770 * c-lex.h (YYDEBUG, yydebug): New.
3771 * c-parse.in (YYDEBUG): Get from c-lex.h.
3772 (c_set_yydebug): Remove.
3773 * c-tree.h (c_set_yydebug): Remove.
3774 * langhooks-def.h (lhd_do_nothing_i): New.
3775 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
3776 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
3777 * langhooks.c (lhd_do_nothing_i): New.
3778 (lhd_set_yydebug): Remove.
3779 * langhooks.h (struct lang_hooks): Update.
3780 * toplev.c (set_yydebug): New.
3781 (compile_file): Update call to parse_file hook.
3782 (decode_d_option): Update.
3783objc:
3784 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3785
fcae219a
R
3786Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
3787
3788 * loop.c (load_mems): Don't change the interface of called functions.
3789
3790 * calls.c (expand_call): Take current_function_pretend_args_size
3791 into account when setting argblock for sibcalls.
3792
d0fea45a
MH
37932002-04-24 Matt Hiller <hiller@redhat.com>
3794
3795 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
3796 * c-lex.c: Ditto.
3797
3798 * cpplex.c (skip_line_comment): Process comment one multibyte
3799 character at a time rather than one char at a time, if
3800 appropriate.
3801 (parse_string): Process string one multibyte character at a time
3802 rather than one char at a time, if appropriate.
3803 * c-lex.c (lex_string): Lex and copy multibyte strings
3804 appropriately.
3805 * cpplib.h (cppchar_t): Change to unsigned.
3806
2d1b5436
RH
38072002-04-24 Richard Henderson <rth@redhat.com>
3808
3809 PR c/3467
3810 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
3811 for c99.
3812
5e039e6b
R
3813Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
3814
3815 * sh.c (sh_va_arg): If argument was passed by reference,
3816 dereference the pointer.
309d8365
R
3817
3818 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
51214775
R
3819
3820 * sh.md (divsi3_i4_media): Use match_operand for input values
3821 rather than hard registers.
3822 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
3823 unnecessarily through hard registers. Keep copies of pseudo
3824 registers outside of the libcall sequence.
3825
3826 * sh.md (casesi_shift_media): Add modes.
b700634a
R
3827
3828 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
3829 values in memory.
3830
349ae713
NB
38312002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
3832
3833 * attribs.c (c_common_attribute_table): Move table and handlers
3834 to c-common.c.
3835 (format_attribute_table, lang_attribute_table,
3836 lang_attribute_common): Remove.
3837 (init_attributes): Replace NULL pointers with pointers to the
3838 empty table.
3839 (handle_packed_attribute, handle_nocommon_attribute,
3840 handle_common_attribute, handle_noreturn_attribute,
3841 handle_noinline_attribute, handle_always_inline_attribute,
3842 handle_used_attribute, handle_unused_attribute,
3843 handle_const_attribute, handle_transparent_union_attribute,
3844 handle_constructor_attribute, handle_destructor_attribute,
3845 handle_mode_attribute, handle_section_attribute,
3846 handle_aligned_attribute, handle_weak_attribute,
3847 handle_alias_attribute, handle_visibility_attribute,
3848 handle_no_instrument_function_attribute, handle_malloc_attribute,
3849 handle_no_limit_stack_attribute, handle_pure_attribute,
3850 handle_deprecated_attribute, handle_vector_size_attribute,
3851 vector_size_helper): Move to c-common.c.
3852 * c-common.c (c_common_attribute_table,
3853 handle_packed_attribute, handle_nocommon_attribute,
3854 handle_common_attribute, handle_noreturn_attribute,
3855 handle_noinline_attribute, handle_always_inline_attribute,
3856 handle_used_attribute, handle_unused_attribute,
3857 handle_const_attribute, handle_transparent_union_attribute,
3858 handle_constructor_attribute, handle_destructor_attribute,
3859 handle_mode_attribute, handle_section_attribute,
3860 handle_aligned_attribute, handle_weak_attribute,
3861 handle_alias_attribute, handle_visibility_attribute,
3862 handle_no_instrument_function_attribute, handle_malloc_attribute,
3863 handle_no_limit_stack_attribute, handle_pure_attribute,
3864 handle_deprecated_attribute, handle_vector_size_attribute,
3865 vector_size_helper): Move from attribs.c.
3866 * c-common.h (c_common_attribute_table,
3867 c_common_format_attribute_table): New.
3868 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
3869 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
3870 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
3871 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
3872 (LANG_HOOKS_INITIALIZER): Update.
3873 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
3874 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
3875 * target.h: Update comment.
3876 * tree.c (default_target_attribute_table): Remove.
3877 * tree.h (default_target_attribute_table, format_attribute_table,
3878 lang_attribute_table, lang_attribute_common): Remove.
3879objc:
3880 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
3881 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
3882
84f0ace0
JM
38832002-04-24 Jason Merrill <jason@redhat.com>
3884
3885 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
3886 * dwarf2out.c (dwarf_attr_name): Support it.
3887 (gen_array_type_die): Emit it.
3888 (lookup_type_die): No special handling for VECTOR_TYPE.
3889 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
3890
120eaf28
RH
38912002-04-24 Richard Henderson <rth@redhat.com>
3892
3893 * config/mips/mips.md (movdi_usd): Renumber.
3894
e732178c
DM
38952002-04-24 David S. Miller <davem@redhat.com>
3896
3897 PR target/6420
3898 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
3899 32-bit Sparc and current_function_returns_struct is true.
3900
e879eb2f
JH
3901Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
3902
3903 * loop.c (canonicalize_condition): Use gen_int_mode.
3904
4287a893
AH
39052002-04-24 Aldy Hernandez <aldyh@redhat.com>
3906
3907 * config/rs6000/altivec.h: Cleanup file. Add non individual
3908 variants.
3909 (vec_vaddubm): New.
3910 (vec_vadduhm): New.
3911 (vec_vadduwm): New.
3912 (vec_vaddfp): New.
3913 (vec_vaddcuw): New.
3914 (vec_vaddubs): New.
3915 (vec_vaddsbs): New.
3916 (vec_vadduhs): New.
3917 (vec_vadduws): New.
3918 (vec_vaddsws): New.
3919 (vec_vand): New.
3920 (vec_vandc): New.
3921 (vec_vavgub): New.
3922 (vec_vavgsb): New.
3923 (vec_vavguh): New.
3924 (vec_vavgsh): New.
3925 (vec_vavguw): New.
3926 (vec_vavgsw): New.
3927 (vec_vrfip): New.
3928 (vec_vcmpbfp): New.
3929 (vec_vcmpequb): New.
3930 (vec_vcmpequh): New.
3931 (vec_vcmpequw): New.
3932 (vec_vcmpeqfp): New.
3933 (vec_vcmpgefp): New.
3934 (vec_vcmpgtub): New.
3935 (vec_vcmpgtsb): New.
3936 (vec_vcmpgtuh): New.
3937 (vec_vcmpgtsh): New.
3938 (vec_vcmpgtuw): New.
3939 (vec_vcmpgtsw): New.
3940 (vec_vcmpgtfp): New.
3941 (vec_vcmpgefp): New.
3942 (vec_vcfux): New.
3943 (vec_vcfsx): New.
3944 (vec_vctsxs): New.
3945 (vec_vctuxs): New.
3946 (vec_vexptefp): New.
3947 (vec_vrfim): New.
3948 (vec_lvx): New.
3949 (vec_lvebx): New.
3950 (vec_lvehx): New.
3951 (vec_lde): Add vector float variant.
3952 (vec_lvewx): New.
3953 (vec_lvxl): New.
3954 (vec_vlogefp): New.
3955 (vec_vmaddfp): New.
3956 (vec_vmhaddshs): New.
3957 (vec_vmaxub): New.
3958 (vec_vmaxsb): New.
3959 (vec_vmaxuh): New.
3960 (vec_vmaxsh): New.
3961 (vec_vmaxuw): New.
3962 (vec_vmaxsw): New.
3963 (vec_vmaxsw): New.
3964 (vec_vmaxfp): New.
3965 (vec_vmrghb): New.
3966 (vec_vmrghh): New.
3967 (vec_vmrghw): New.
3968 (vec_vmrglb): New.
3969 (vec_vmrglh): New.
3970 (vec_vmrglw): New.
3971 (vec_vminub): New.
3972 (vec_vminsb): New.
3973 (vec_vminuh): New.
3974 (vec_vminsh): New.
3975 (vec_vminuw): New.
3976 (vec_vminsw): New.
3977 (vec_vminfp): New.
3978 (vec_vmladduhm): New.
3979 (vec_vmhraddshs): New.
3980 (vec_msumubm): New.
3981 (vec_vmsummbm): New.
3982 (vec_vmsumuhm): New.
3983 (vec_vmsumshm): New.
3984 (vec_vmsumuhs): New.
3985 (vec_vmsumshs): New.
3986 (vec_vmuleub): New.
3987 (vec_vmulesb): New.
3988 (vec_vmuleuh): New.
3989 (vec_vmulesh): New.
3990 (vec_vmuloub): New.
3991 (vec_mulosb): New.
3992 (vec_vmulouh): New.
3993 (vec_vmulosh): New.
3994 (vec_vnmsubfp): New.
3995 (vec_vnor): New.
3996 (vec_vor): New.
3997 (vec_vpkuhum): New.
3998 (vec_vpkuwum): New.
3999 (vec_vpkpx): New.
4000 (vec_vpkuhus): New.
4001 (vec_vpkshss): New.
4002 (vec_vpkuwus): New.
4003 (vec_vpkswss): New.
4004 (vec_vpkshus): New.
4005 (vec_vpkswus): New.
4006 (vec_vperm): New.
4007 (vec_vrefp): New.
4008 (vec_vrlb): New.
4009 (vec_vrlh): New.
4010 (vec_vrlw): New.
4011 (vec_vrfin): New.
4012 (vec_vrsqrtefp): New.
4013 (vec_vsel): New.
4014 (vec_vslb): New.
4015 (vec_vslh): New.
4016 (vec_vslw): New.
4017 (vec_vsldoi): New.
4018 (vec_vsl): New.
4019 (vec_vslo): New.
4020 (vec_vspltb): New.
4021 (vec_vsplth): New.
4022 (vec_vspltw): New.
4023 (vec_vspltisb): New.
4024 (vec_vspltish): New.
4025 (vec_vspltisw): New.
4026 (vec_vsrb): New.
4027 (vec_vsrh): New.
4028 (vec_vsrw): New.
4029 (vec_vsrab): New.
4030 (vec_vsrah): New.
4031 (vec_vsraw): New.
4032 (vec_vsr): New.
4033 (vec_vsro): New.
4034 (vec_stvx): New.
4035 (vec_stvebx): New.
4036 (vec_stvehx): New.
4037 (vec_stvewx): New.
4038 (vec_stvxl): New.
4039 (vec_vsububm): New.
4040 (vec_vsubuhm): New.
4041 (vec_vsubuwm): New.
4042 (vec_vsubfp): New.
4043 (vec_vsubcuw): New.
4044 (vec_vsububs): New.
4045 (vec_vsubsbs): New.
4046 (vec_vsubuhs): New.
4047 (vec_vsubshs): New.
4048 (vec_vsubuws): New.
4049 (vec_vsubsws): New.
4050 (vec_vsum4ubs): New.
4051 (vec_vsum4sbs): New.
4052 (vec_vsum4shs): New.
4053 (vec_vsum2sws): New.
4054 (vec_vsumsws): New.
4055 (vec_vrfiz): New.
4056 (vec_vupkhsb): New.
4057 (vec_vupkhpx): New.
4058 (vec_vupkhsh): New.
4059 (vec_vupklsb): New.
4060 (vec_vupklpx): New.
4061 (vec_vupklsh): New.
4062 (vec_vxor): New.
4063
cff27795
EB
40642002-04-23 Eric Botcazou <ebotcazou@multimania.com>
4065
4066 PR c/5430
4067 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
4068 added literals from substracted literals.
4069 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
4070 (fold) [associate]: Preserve MINUS_EXPR if needed.
4071
952bca84
ZW
40722002-04-23 Zack Weinberg <zack@codesourcery.com>
4073
4074 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
4075 are obsoleted.
4076
50cb2154
TT
40772002-04-23 Tom Tromey <tromey@redhat.com>
4078
4079 * gcc.c: Added --resource. For PR java/6314.
4080
271f61fb
DB
40812002-04-23 David O'Brien <obrien@FreeBSD.org>
4082
9566d1e9 4083 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
271f61fb
DB
4084 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
4085 these libraries.
4086
bdabbc80
DB
40872002-04-23 David O'Brien <obrien@FreeBSD.org>
4088
4089 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
4090
74411039
JH
4091Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
4092
4093 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
4094 workaround.
4095 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
4096 (ix86_expand_clrstr): Fix typo.
4097 * loop.c (gen_load_of_final_value): New.
4098 (loop_givs_rescan, strength_reduce, check_dbra_loop):
4099 Use it.
4100
1a887f86
RS
41012002-04-23 Roger Sayle <roger@eyesopen.com>
4102
4103 * builtins.c (builtin_memset_gen_str): New function.
4104 (expand_builtin_memset): Optimize the case of constant length, but
4105 unknown value.
4106
8d3441e0
AH
41072002-04-23 Aldy Hernandez <aldyh@redhat.com>
4108
cff27795
EB
4109 * config/rs6000/altivec.h (vec_step): Remove extraneous
4110 parentheses.
4111 (vec_ctu): Cast return.
8d3441e0 4112
f6f315fe
AM
41132002-04-23 Alan Modra <amodra@bigpond.net.au>
4114
4115 PR target/6413
4116 * function.h: (struct function): Add profile_label_no field.
4117 (current_function_profile_label_no): Define.
4118 * function.c: (profile_label_no): New static var.
4119 (expand_function_start): Increment it, and copy to
4120 current_function_profile_label_no.
4121 * output.h (profile_label_no): Delete.
4122 * final.c (profile_label_no): Delete.
4123 (profile_function): Use current_function_profile_label_no.
4124 (final_end_function): Don't increment profile_label_no here.
4125 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
4126 profile_label_no with current_function_profile_label_no.
4127 * config/pa/pa.c (current_function_number): Delete.
4128 (pa_output_function_prologue): Don't output profile label here.
4129 (hppa_profile_hook): Use label_no param rather than
4130 current_function_number.
4131 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
4132 * config/pa/pa.h: .. here.
4133 (FUNCTION_PROFILER): Output profile label here.
4134
d239cdc0
EC
41352002-04-22 Eric Christopher <echristo@redhat.com>
4136
4137 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
4138 patch of 2002-04-09 due to binutils issues.
4139 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
4140
04428ad4
AH
41412002-04-22 Aldy Hernandez <aldyh@redhat.com>
4142
cff27795
EB
4143 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
4144 constraint to 'o' for m=r and r=m alternatives.
4145 ("*movv8hi_internal1"): Same.
4146 ("*movv16qi_internal1"): Same.
4147 ("*movv4sf_internal1"): Same.
04428ad4 4148
2adc7f12
JJ
41492002-04-22 Janis Johnson <janis187@us.ibm.com>
4150
4151 * rtl.h (RTX_FLAG): New macro.
4152 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
4153 * final.c (alter_subreg): Use macro to access rtx flag.
4154 * integrate.c (copy_rtx_and_substitute): Use new access macro.
4155 * print-rtl.c (print_rtx): Use new access macro.
4156
4157 * cse.c (insert): Check rtx code before accessing flag.
4158
4159 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
4160 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
4161 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
4162 convert_const_symbol_ref, make_canonical, make_alternative_compare,
4163 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
4164 simplify_test_exp, optimize_attrs, simplify_by_exploding,
4165 find_and_mark_used_attributes, unmark_used_attributes,
4166 add_values_to_cover, simplify_with_current_value,
4167 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
4168 copy_rtx_unchanging, main): Use new access macros.
4169
b7c89afe
TR
41702002-04-22 Tom Rix <trix@redhat.com>
4171
4172 * expmed.c (init_expmed): Generate shifted constant once.
4173
9340544b
ZW
41742002-04-22 Zack Weinberg <zack@codesourcery.com>
4175
4176 * c-lex.c (lex_charconst): Call convert to get constant in
4177 proper type; don't just smash the type field.
4178 Fixes PR c/6300.
4179
4180 * config.gcc: Add list of obsolete configurations. Disallow
4181 building these without --enable-obsolete.
4182 * doc/install.texi: Document --enable-obsolete and obsoletion
4183 policy. Mention obsoletion of individual targets in
4184 appropriate places.
4185
f942d7a5
RH
41862002-04-22 Richard Henderson <rth@redhat.com>
4187
4188 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
4189
41902002-04-22 Mark Mitchell <mark@codesourcery.com>
8ed8f731
MM
4191
4192 PR f/6138.
4193 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
4194 (walk_fixup_memory_subreg): Likewise.
4195 (fixup_var_refs_insn): Adjust accordingly.
4196 (fixup_var_refs_1): Likewise.
4197
232b0b45
UW
41982002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
4199
4200 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
4201 LIBPATH_ARCH64_SPEC): Define.
4202 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
4203 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
4204 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
4205 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
4206
1b61552b
JS
42072002-04-22 Joel Sherrill <joel@OARcorp.com>
4208
4209 * gthr-rtems.h: Correct prototypes to remove warnings.
4210
0fe854a7
RH
42112002-04-22 Richard Henderson <rth@redhat.com>
4212
4213 PR c/6344
4214 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
4215
4216 * gcse.c (free_insn_expr_list_list): New.
4217 (clear_modify_mem_tables): Use it. Fix bit set usage.
4218 (canon_list_insert): Use EXPR_LISTs for expressions.
4219 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
4220
af0d16cd
NB
42212002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
4222
4223 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
4224 file change and include code to _cpp_pop_buffer.
4225 * cpphash.h (struct pending_option): Predeclare.
4226 (struct cpp_reader): New member next_include_file.
4227 (_cpp_pop_file_buffer): Update.
4228 (_cpp_push_next_buffer): Update, rename.
4229 * cppinit.c (cpp_destroy): Free include chain and pending here.
4230 (cpp_finish_options): Simplify.
4231 (_cpp_push_next_buffer): Rename and clean up.
4232 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
4233 Clarify.
4234 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
4235
0d918572
AH
42362002-04-22 Aldy Hernandez <aldyh@redhat.com>
4237
0fe854a7
RH
4238 * config/rs6000/altivec.h (vec_xor): Add variant for both args
4239 being vector signed int.
4240 (vec_andc): Same.
4241 (vec_xor): Add variant for both args being vector signed char.
4242 Remove redundant variant.
4243 (vec_andc): Same.
0d918572 4244
77e2c290
DM
42452002-04-21 David S. Miller <davem@redhat.com>
4246
4247 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
4248 compare mode in output RTL.
4249
ee2ca2a2
DE
42502002-04-22 David Edelsohn <edelsohn@gnu.org>
4251
4252 * config/rs6000/rs6000.c (rs6000_override_options): Correct
4253 style and formatting of previous patch.
4254
894bdff6
AM
42552002-04-22 Alan Modra <amodra@bigpond.net.au>
4256
4257 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
4258 flag_pic for ABI_AIX.
4259
562a5c27
NB
42602002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
4261
4262 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
4263 * cppfiles.c (read_include_file): Similarly.
4264 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
4265 uxstrdup ustrchr, ufputs): Similarly.
4266 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
4267 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
4268 cpp_ideq, parse_identifier, parse_number): Similarly.
4269 * cpplib.c (struct directive, dequote_string, D, run_directive,
4270 cpp_push_buffer): Similarly.
4271 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
4272 _cpp_create_definition, check_trad_stringification,
4273 cpp_macro_definition): Similarly.
4274
9ac3b1be
NB
42752002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
4276
4277 * cppmacro.c (funlike_invocation_p): Don't step back
4278 over CPP_EOF.
4279
9dda4cc8
DE
42802002-04-21 David Edelsohn <edelsohn@gnu.org>
4281
4282 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
4283 labelno.
4284
20764052
JM
42852002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
4286
4287 * doc/invoke.texi: Remove Chill references.
4288 * doc/gcc.texi: Update last modified date.
4289
26b29884
KH
42902002-04-20 Kazu Hirata <kazu@hxi.com>
4291
4292 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
4293 push and pop. Replace add.l with add.w.
4294
59184677
TM
42952002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4296
4297 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
4298 multiply instructions for H8/300H case.
4299
b1113e0a
TM
43002002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4301
4302 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
4303 Bum three instructions from each routine.
4304
b03e38e1
NB
43052002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
4306
4307 * Makefile.in: Update.
4308 * decl.c (push_c_function_context, pop_c_function_context,
4309 mark_c_function_context): Rename for consistency.
4310 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
4311 * c-tree.h (push_c_function_context, pop_c_function_context,
4312 mark_c_function_context): Rename for consistency.
4313 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4314 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4315 * function.c (init_lang_status, save_lang_status,
4316 restore_lang_status, mark_lang_status, free_lang_status):
4317 Move to langhooks.h.
4318 (push_function_context_to, pop_function_context_from,
4319 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
4320 Update.
4321 * function.h (init_lang_status, save_lang_status,
4322 restore_lang_status, mark_lang_status, free_lang_status):
4323 Move to langhooks.h.
4324 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
4325 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
4326 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
4327 LANG_HOOKS_FUNCTION_INITIALIZER): New.
4328 (LANG_HOOKS_INITIALIZER): Update.
4329 (lhd_do_nothing_f): New.
4330 * langhooks.h (struct lang_hooks_for_functions): New.
4331 (struct lang_hooks): New hooks.
4332 * langhooks.c (lhd_do_nothing_f): New.
4333objc:
4334 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4335 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4336
db430d26
DM
43372002-04-19 David S. Miller <davem@redhat.com>
4338
4339 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
4340 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
4341
0f2a3457
JJ
43422002-04-19 Jakub Jelinek <jakub@redhat.com>
4343
4344 PR optimization/3756
4345 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
4346 x = ((int) y < 0) ? cst1 : cst2.
4347
ce5e43d0
JJ
43482002-04-19 Jakub Jelinek <jakub@redhat.com>
4349
4350 PR c/6358
4351 * function.c: Reapply patch for c/6358.
4352 (expand_function_end): Copy decl_rtl's mode, not
4353 current_function_return_rtx mode.
4354
43552002-04-19 Joel Sherrill <joel@OARcorp.com>
9eb83f6c
JS
4356
4357 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
4358 targets.
4359
40e7f8ea
TT
43602002-04-19 Tom Tromey <tromey@redhat.com>
4361
4362 * doc/install.texi (Specific): Update status of Solaris 2.8.
4363 For PR libgcj/6158.
4364
62a12b27
AS
43652002-04-19 Andreas Schwab <schwab@suse.de>
4366
4367 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
4368 (PUT_REAL): Restore old definition.
4369
1405141b
DN
43702002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
4371 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4372
4373 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
4374 binutils 2.11.2 and higher generate smaller binaries than Sun's
4375 native tools.
4376
303a3927
MM
43772002-04-19 Mark Mitchell <mark@codesourcery.com>
4378
4379 PR c++/6352
4380 * toplev.c (rest_of_compilation): Do not defer functions for which
4381 TREE_SYMBOL_REFERENCED has already been set.
4382
de80110b
JH
4383Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
4384
4385 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
4386 alternative.
4387
ab393bf1
NB
43882002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
4389
4390 * builtins.c: Include langhooks.h.
4391 (lang_type_promotes_to): Remove.
4392 (expand_builtin_va_arg): Use new hook.
4393 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
4394 (simple_type_promotes_to): Move to c-typeck.c.
4395 * c-common.h (simple_type_promotes_to): Remove.
4396 * c-decl.c (duplicate_decls, grokdeclarator): Update.
4397 * c-format.c: Include langhooks.h.
4398 (check_format_types): Update.
4399 * c-tree.h (c_type_promotes_to): New.
4400 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
4401 (type_lists_compatible_p): Update.
4402 * langhooks-def.h (lhd_type_promotes_to): New.
4403 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
4404 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4405 * langhooks.c (lhd_type_promotes_to): New.
4406 * langhooks.h (struct lang_hooks_for_types): New hook.
4407 * tree.h (lang_type_promotes_to): Remove.
4408objc:
4409 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
4410
0cd3301b
RH
44112002-04-18 Richard Henderson <rth@redhat.com>
4412
58533fa2 4413 * function.c: Revert patch for c/6358.
0cd3301b
RH
4414
44152002-04-18 Richard Henderson <rth@redhat.com>
4416
58533fa2
RH
4417 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
4418 blocks. Handle multiple references to the TRAP block. Handle
4419 non-adjacent THEN and OTHER blocks.
0cd3301b 4420
58533fa2
RH
44212002-04-18 Richard Henderson <rth@redhat.com>
4422
4423 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
4424 crash with no type for by-mode libcalls.
4425
4426 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
0cd3301b 4427
57174693
BW
44282002-04-18 Bob Wilson <bob.wilson@acm.org>
4429
4430 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4431 __xtensa_nonlocal_goto): Use a syscall instructions to flush
4432 the register windows.
4433
46468cd9
ZW
44342002-04-18 Zack Weinberg <zack@codesourcery.com>
4435
4436 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
4437 appropriate. Document need for extended precision even when
4438 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
4439 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
4440 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
4441 instead of relying on later syntax error when REAL_WIDTH > 5.
4442 * real.c: Define NE based only on whether or not we have a
4443 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
4444 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
4445 define GET_REAL and PUT_REAL as simple memcpy operations; no
4446 need to byteswap or round.
4447 Use #error instead of #ifdef-ing out the entire file, for
4448 prompt error detection.
4449
4450 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
4451
2f82dbf8
DM
44522002-04-18 David S. Miller <davem@redhat.com>
4453
4454 * config/sparc/sparc.h (BRANCH_COST): Define.
4455
4456 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
4457 does it.
4458
566576e7
HPN
44592002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
4460
4461 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
4462 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
4463 propagate_block calls after relaxation loop using new variable
4464 stabilized_prop_flags.
4465
51dcde6f
RH
44662002-04-18 Richard Henderson <rth@redhat.com>
4467
4468 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
4469 (ia64_va_arg): Expect variable sized types by reference.
4470 * config/ia64/ia64-protos.h: Update.
46468cd9 4471 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
51dcde6f
RH
4472 ia64_function_arg_pass_by_reference.
4473
26406018
RH
44742002-04-18 Richard Henderson <rth@redhat.com>
4475
46468cd9
ZW
4476 * ifcvt.c: Include except.h.
4477 (block_has_only_trap): Break out from find_cond_trap.
4478 (find_cond_trap): Use it. Always delete the trap block.
4479 (merge_if_block): Allow then block null. Be less simplistic about
4480 what insns can end a block.
4481 * Makefile.in (ifcvt.o): Depend on except.h.
96b453dc 4482
26406018
RH
4483 * config/ia64/ia64.md (trap, conditional_trap): New.
4484
a3acf46d
JJ
44852002-04-18 Jakub Jelinek <jakub@redhat.com>
4486
4487 PR c/6358
4488 * function.c (assign_parms): Assign hard current_function_return_rtx
4489 register here...
4490 (expand_function_end): ...not here.
4491
7a228918
NB
44922002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4493
4494 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4495 * c-tree.h (c_incomplete_type_error): New.
4496 * c-typeck.c (require_complete_type, build_component_ref): Update.
4497 (incomplete_type_error): Rename.
4498 * langhooks-def.h (lhd_incomplete_type_error): New.
4499 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
4500 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4501 * langhooks.c (lhd_incomplete_type_error): New.
4502 * langhooks.h (struct lang_hooks_for_types): New hook.
4503 * tree.c (size_in_bytes): Use new hook.
4504 * tree.h (incomplete_type_error): Remove.
4505objc:
4506 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4507
f18664c1
ZW
45082002-04-18 Zack Weinberg <zack@codesourcery.com>
4509
4510 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
4511 TARGET_FLOAT_FORMAT blocks.
4512
8ecab453
GP
45132002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4514
4515 * doc/install.texi (Downloading the source): Do not mention Chill
4516 any longer, but mention Ada.
4517 (Configuration): Do not mention Chill any longer.
4518
528d8489
HPN
45192002-04-18 Hans-Peter Nilsson <hp@axis.com>
4520
4521 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
4522
91da27c5
JH
4523Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
4524
4525 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
4526 in last patch.
4527
a32db605
JJ
45282002-04-18 Jakub Jelinek <jakub@redhat.com>
4529
4530 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
4531 instead of unsigned_type.
4532
5a28d8cc
JH
4533Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
4534
4535 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
4536 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
4537 later.
4538
3d980b9f
BS
45392002-04-18 Bernd Schmidt <bernds@redhat.com>
4540
4541 * attribs.c (vector_type_node_list): New static variable.
4542 (handle_vector_size_attribute): Use it to avoid generating a
4543 new type node each time we are called.
4544
2e676d78
BS
4545 * combine.c (subst): Avoid trying to make a vector mode subreg of
4546 an integer constant.
4547 (gen_lowpart_for_combine): Likewise.
46468cd9 4548
58c2956c
RS
45492002-04-18 Roger Sayle <roger@eyesopen.com>
4550 Jakub Jelinek <jakub@redhat.com>
4551
4552 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
4553 for integer constant c (if x has unsigned type or sign bit is not
4554 set in c). This folds the zero/sign extension into the bit-wise and
4555 operation.
4556
692efa8e
JJ
45572002-04-18 Jakub Jelinek <jakub@redhat.com>
4558
4559 PR middle-end/6205
4560 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
4561 otherwise xorps.
4562
1372d4ce
NY
45632002-04-17 NIIBE Yutaka <gniibe@m17n.org>
4564
4565 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
4566
169ce44d
NC
45672002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
4568
4569 * gcc.c (read_specs): Detect and fail if an attempt is made to
4570 rename a spec string to an already existing string.
4571
b30d2115
UW
45722002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4573
4574 * config/s390/s390.c (legitimize_pic_address): Do not generate
4575 illegal address constant without CONST.
4576
d6964c30
KG
45772002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4578
4579 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
4580 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
4581
7c82a1ed
UW
45822002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4583
4584 PR optimization/6305
4585 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
4586 to make sure previous reloads are taken into account. Generate
4587 better code if one operand is an in-range immediate constant.
4588
58db9d1a
AH
45892002-04-16 Andrew Haley <aph@cambridge.redhat.com>
4590
4591 * doc/install.texi (Building): libgcj requires GNU make.
4592
2a732575
JJ
45932002-04-17 Jakub Jelinek <jakub@redhat.com>
4594
4595 PR bootstrap/6315
4596 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
4597 even if hard quad and register is not floating.
4598 (movtf reg<-mem split): Disallow splitting if hard quad and
4599 register is floating.
4600 (movtf mem<-reg split): Likewise.
4601 * config/sparc/sparc.c (fp_register_operand): New predicate.
4602 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
4603
75a65e46
ZW
46042002-04-17 Zack Weinberg <zack@codesourcery.com>
4605
4606 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
4607 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
4608 (unprotoize.o): Ditto. Build from protoize.c. Define
4609 UNPROTOIZE on command line.
4610 * protoize.c: Include cppdefault.h. Delete include_defaults.
4611 (in_system_include_dir): Use cpp_include_defaults (defined in
4612 cppdefault.o).
4613 * unprotoize.c: Delete file.
4614
650f0e97
AH
46152002-04-17 Aldy Hernandez <aldyh@redhat.com>
4616
46468cd9
ZW
4617 * config/rs6000/altivec.h (vec_ld): Add array variants.
4618 (vec_lde): Same.
4619 (vec_ldl): Same.
650f0e97 4620
71a0ab0c 46212002-04-17 Alan Matsuoka <alanm@redhat.com>
46468cd9 4622 Aldy Hernandez <aldyh@redhat.com>
71a0ab0c 4623
46468cd9
ZW
4624 * config/rs6000/altivec.h: Define __ALTIVEC__.
4625 (bool): New.
4626 (__pixel): New.
4627 (pixel): New.
4628 (vec_cfux): New.
4629 (vec_vmaddfp): New.
4630 (vec_vsldoi): New.
4631 Add parentheses to all macro arguments.
71a0ab0c 4632
ff2c46ac
RH
46332002-04-16 Richard Henderson <rth@redhat.com>
4634
4635 PR c++/6320
4636 * except.c (remove_eh_handler): Insert inner regions at beginning
4637 of sibling chain. Refactor expressions.
4638
f1ba94dd
RH
46392002-04-16 Richard Henderson <rth@redhat.com>
4640
f0871dfe
RH
4641 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
4642 * config/sparc/sol2-gas-bi.h: New file.
4643 * config.gcc (sparc*-solaris): Add it as needed.
4644 * configure.in (AS_SPARC64_FLAG): Remove check.
4645 * config.in, configure: Regenerate.
4646
4647 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
4648
46492002-04-16 Richard Henderson <rth@redhat.com>
4650
4651 * config/mips/mips.c (override_options): Don't override N32 for
4652 a 64-bit ISA.
409d3c60 4653
f1ba94dd
RH
4654 PR 6202
4655 * config/mips/mips.md (can_delay): Split out of existing define_delays.
4656 (HILO_delay): Set can_delay false.
4657
178c3eff
DJ
46582002-04-16 Dale Johannesen <dalej@apple.com>
4659
4660 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
4661 instruction addresses.
4662 (rs6000_output_function_epilogue): Likewise.
4663
7d6f6369
PC
46642002-04-16 Paolo Carlini <pcarlini@unitus.it>
4665
4666 * c-parse.in (poplevel, compstmt_start,
4667 compstmt_primary_start): Add ending ';', in accordance
4668 with POSIX.
4669
8947df0c
RH
46702002-04-16 Richard Henderson <rth@redhat.com>
4671
4672 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
4673 Adjust tm_file order to get TARGET_DEFAULT set properly.
4674 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
4675 * doc/install.texi (sparc-solaris): Update.
4676
3148ad6d
DJ
46772002-04-16 Dale Johannesen <dalej@apple.com>
4678
4679 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
4680 comparison operands do not match each other or if modes of
4681 conditions do not match result.
4682
014cb9b6 46832002-04-16 Hartmut Penner <hpenner@de.ibm.com>
562a69be 4684
014cb9b6
HP
4685 PR target/6305
4686 * config/s390/s390.md (mulsidi3): Set both subregs of the
46468cd9 4687 multiword register.
562a69be 4688
014cb9b6 46892002-04-16 Aldy Hernandez <aldyh@redhat.com>
4c8c0dec 4690
8947df0c 4691 * config/rs6000/altivec.h (vec_addc): Type check.
4c8c0dec 4692
a9772b60
JJ
46932002-04-16 Jakub Jelinek <jakub@redhat.com>
4694
4695 PR middle-end/6279
4696 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
4697
4698 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
4699
861829ed
RH
47002002-04-15 Richard Henderson <rth@redhat.com>
4701
4702 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
4703 call_really_used_regs too.
4704
bcf2fe9c
RH
47052002-04-15 Richard Henderson <rth@redhat.com>
4706
4707 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
4708
629111c7
DM
47092002-04-15 David S. Miller <davem@redhat.com>
4710
4711 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
4712 as being CLOBBERed.
4713
98ef3137
JJ
47142002-04-16 Jakub Jelinek <jakub@redhat.com>
4715
4716 PR c/6290
4717 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
4718 CONST_VECTOR is { 0, ... 0 }.
4719
0aa911c5
LR
47202002-04-15 Loren J. Rittle <ljrittle@acm.org>
4721
4722 * doc/install.texi (Installing GCC: Configuration): Clarify
4723 the only supported ways to configure gcc.
4724
83248d49 47252002-04-15 Roland McGrath <roland@frob.com>
46468cd9 4726
83248d49
RM
4727 * config.gcc (alpha*-*-gnu*): New target configuration.
4728 * config/alpha/gnu.h: New file for it.
4729 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
4730
b2123dc0
MM
47312002-04-16 Mark Mitchell <mark@codesourcery.com>
4732
4733 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
4734 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
4735 * tree.h (expand_start_stmt_expr): Update prototype.
4736 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
4737 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
4738 on the STMT_EXPR created for the inline function.
46468cd9 4739
8fe2d853
RH
47402002-04-15 Richard Henderson <rth@redhat.com>
4741
4742 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
4743 config/i386/linux-aout.h, config/i386/linux-oldld.h,
4744 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
4745 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
4746 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
4747 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
4748 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
4749 Define __gnu_linux__, not gnu_linux.
4750 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
4751
07cdae91
MM
47522002-04-15 Mark Mitchell <mark@codesourcery.com>
4753
4754 Remove Chill front end.
4755 * gcc.c (default_compilers): Remove Chill entries.
4756 * ch: Remove directory.
4757 * doc/frontends.texi: Remove information about Chill.
4758 * doc/sourcebuild.texi: Likewise.
4759 * doc/standards.texi: Likewise.
4760
41823c5e
DR
47612002-04-15 Douglas B Rupp <rupp@gnat.com>
4762
4763 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
4764 (LONGLONG_STANDALONE): Define.
4765
eb29ddb6
DM
47662002-04-15 David S. Miller <davem@redhat.com>
4767
4768 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
4769 Call emit_library_call with LCT_NORMAL.
4770 (sparc_initialize_trampoline): Use LCT_foo instead of
4771 magic constant in emit_library_call invocations.
4772 (sparc64_initialize_trampoline): Likewise.
4773 (sparc_profile_hook): Likewise.
4774 * config/sparc/sparc.md: Likewise.
4775
4776 * config/sparc/sparc.c (sparc_extra_constraint_check):
4777 Fix type of argument 'c'.
4778 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
4779 Likewise.
4780
bd6bec6b
GDR
47812002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4782
4783 * diagnostic.h (output_buffer_state): Redefine.
4784 (output_format_decoder): New macro.
4785 (output_prefixing_rule): Likewise.
4786 (output_line_cutoff): Likewise.
4787 (diagnostic_format_decoder): Adjust.
4788 (diagnostic_prefixing_rule): Likewise.
4789 (diagnostic_line_cutoff): Likewise.
4790 (diagnostic_state): Likewise.
4791 (diagnostic_kind_count): Likewise.
4792 (diagnostic_buffer): Now a macro.
4793
4794 * diagnostic.c (diagnostic_buffer): Remove definition.
4795 (output_is_line_wrapping): Adjust.
4796 (set_real_maximum_length): Likewise.
4797 (output_set_maximum_length): Likewise.
4798 (init_output_buffer): Likewise.
4799 (lhd_print_error_function): Likewise.
4800 (output_do_verbatim): Likewise.
4801
ebef4e8c
NB
48022002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
4803
4804 * cpperror.c (print_location): Don't print include chain
4805 if line == 0.
4806 (cpp_begin_message): Update to use DL_ macros.
4807 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
4808 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4809 cpp_notice, cpp_notice_from_errno): Remove.
4810 (cpp_error, cpp_error_with_line): Update to take a diagnostic
4811 level.
4812 (cpp_errno): New.
4813 * cppexp.c (CPP_ICE): Remove.
4814 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
4815 lex, integer_overflow, _cpp_parse_expr): Update.
4816 * cppfiles.c (read_include_file, find_include_file,
4817 handle_missing_header, _cpp_read_file, remap_filename): Update.
4818 * cpphash.h (enum error_type): Remove.
4819 (_cpp_begin_message): Update.
4820 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
4821 cpp_handle_option, cpp_post_options): Update.
4822 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
4823 skip_whitespace, parse_identifier, parse_slow, parse_string,
4824 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
4825 cpp_interpret_charconst): Update.
4826 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
4827 lex_macro_node, do_undef, glue_header_name, parse_include,
4828 do_include_common, read_flag, do_line, do_linemarker, do_ident,
4829 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
4830 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
4831 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
4832 _cpp_pop_buffer, do_diagnostic): Update.
4833 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
4834 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
4835 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
4836 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4837 cpp_notice, cpp_notice_from_errno): Remove.
4838 (cpp_error, cpp_error_with_line): Update to take a diagnostic
4839 level.
4840 (cpp_errno): New.
4841 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
4842 collect_args, enter_macro_context, save_parameter, parse_params,
4843 _cpp_create_definition, check_trad_stringification,
4844 cpp_macro_definition): Update.
4845 * cppmain.c (cpp_preprocess_file): Update.
4846 * fix-header.c (read_scan_file): Update.
4847
c19a3859
AS
48482002-04-14 Andreas Schwab <schwab@suse.de>
4849
4850 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
4851
10fdbed6
JD
48522002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
4853
4854 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
4855
77660a9a
MM
48562002-04-13 Mark Mitchell <mark@codesourcery.com>
4857
4858 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
4859 not gnu_hurd.
4860
e0ff1ded
HPN
48612002-04-13 Hans-Peter Nilsson <hp@axis.com>
4862
4863 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
4864
2341c7ea
JS
48652002-04-13 Joel Sherrill <joel@OARcorp.com>
4866
4867 * config/sparc/t-elf: Enable v8 multilibs. Impacts
4868 sparc-elf and sparc-rtems targets.
4869
d29350c0
MM
48702002-04-13 Mark Mitchell <mark@codesourcery.com>
4871
4872 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
4873 defined, and __gnu_hurd__ wherever __GNU__ is defined.
4874 * arm/linux-elf.h: Likewise.
4875 * cris/aout.h: Likewise.
4876 * cris/linux.h: Likewise.
4877 * i370/linux.h: Likewise.
4878 * i386/gnu.h: Likewise.
4879 * i386/linux-aout.h: Likewise.
4880 * i386/linux-oldld.h: Likewise.
4881 * i386/linux.h: Likewise.
4882 * i386/linux64.h: Likewise.
4883 * ia64/linux.h: Likewise.
4884 * m68k/linux-aout.h: Likewise.
4885 * m68k/linux.h: Likewise.
4886 * mips/linux.h: Likewise.
4887 * pa/pa-linux.h: Likewise.
4888 * pj/linux.h: Likewise.
4889 * rs6000/sysv4.h: Likewise.
4890 * s390/linux.h: Likewise.
4891 * sh/linux.h: Likewise.
4892 * sparc/linux-aout.h: Likewise.
4893 * sparc/linux.h: Likewise.
4894 * sparc/linux64.h: Likewise.
4895 * xtensa/linux.h: Likewise.
4896
fc552851
RS
48972002-04-13 Richard Sandiford <rsandifo@redhat.com>
4898
4899 * stmt.c (check_unique_operand_names): Expect operand names to
4900 be strings rather than identifiers. Use simple_cst_equal to
4901 compare them.
4902 (resolve_operand_name_1): Make same identifier to string change here.
4903 * c-parse.in (asm_operand): Convert a named operand into a string.
4904 * cp/parse.y (asm_operand): Likewise.
4905
1d405c5e
AS
49062002-04-13 Andreas Schwab <schwab@suse.de>
4907
4908 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
4909
c740732f
MM
49102002-04-12 Mark Mitchell <mark@codesourcery.com>
4911
4912 Revert these changes:
4913
4914 2002-04-06 Mark Mitchell <mark@codesourcery.com>
4915
4916 PR c++/5571
4917 * stor-layout.c (layout_decl): Reset the RTL for the decl.
4918
3fc602a0
RH
49192002-04-12 Richard Henderson <rth@redhat.com>
4920
4921 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
4922 (sparc*-*-solaris): Clean up header files.
4923 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
4924 and plan on generating 64-bit code.
4925 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
4926 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
4927 * config/sparc/sol2-sld-64.h: Rename ...
4928 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
4929 for AS_SPARC64_FLAG not defined.
4930 * config/sparc/sol2-gld-bi.h: New.
4931 * config/sparc/sol2-sld.h: Remove.
4932 * config/sparc/sol26-sld.h: New.
4933 * config/sparc/sol2.h: Tidy comments.
4934 * doc/install.texi: Document sparc-solaris configury changes.
4935
2f15e255
RH
49362002-04-12 Richard Henderson <rth@redhat.com>
4937
4938 * recog.c (offsettable_address_p): Match the logic in adjust_address.
4939
4940 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
4941 in 64-bit mode only. Use only for 32-bit or MEDLOW.
4942
cc8475cb
RO
49432002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4944
4945 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
4946
6f133a4a
JL
4947Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
4948
ef1b8858 4949 * pa.c (pa_can_combine_p): Call extract_insn before calling
6f133a4a
JL
4950 constrain_operands.
4951
1329e600
DR
49522002-04-12 Douglas B Rupp <rupp@gnat.com>
4953
4954 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
4955 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
4956 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
2d424b9f 4957 (CPP_PREDEFINES): Handle __declspec.
1329e600
DR
4958 * config/i386/t-interix (USER_H): Remove.
4959
0339d239
DD
49602002-04-12 DJ Delorie <dj@redhat.com>
4961
4962 * integrate.c (compare_blocks): Make comparisons safe for when
4963 sizeof(int) < sizeof(char *).
4964 (find_block): Likewise.
4965
cc4d5fec
JH
49662002-04-12 Jan Hubicka <jh@suse.cz>
4967 David Edelsohn <edelsohn@gnu.org>
4968
4969 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
4970 registers.
4971 (symbol_ref_operand): New.
4972 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
4973 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
4974
93215a1b
AS
49752002-04-12 Andreas Schwab <schwab@suse.de>
4976
4977 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
4978 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
4979 overrides the definition in config/svr4.h.
46468cd9 4980
1d80248e
EN
49812002-04-12 Eric Norum <eric.norum@usask.ca>
4982
4983 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
4984 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
4985 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
4986 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
4987 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
4988 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
4989 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
4990 definitions to config/rtems.h and make the targets more similar.
4991
fa1591cb
RK
4992Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4993
fa06ab5c
RK
4994 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
4995 POINTERS_EXTEND_UNSIGNED.
4996 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
4997 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
4998
fa1591cb
RK
4999 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
5000 not specified.
5001
12e85a0e
R
5002Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
5003
5004 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
5005 depends on TARGET_SHMEDIA, not TARGET_SH5.
5006
1ab3e58a
HPN
50072002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
5008
5009 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
5010 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
5011
18778292
R
5012Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
5013
5014 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
5015 no r0 clobber.
5016
9002507c
AS
50172002-04-12 Andreas Schwab <schwab@suse.de>
5018
5019 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
5020
9be40833
RH
50212002-04-12 Richard Henderson <rth@redhat.com>
5022
5023 PR bootstrap/4191
5024 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
5025
5026 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
5027 modes spanning multiple hard regs.
46468cd9 5028
9be40833
RH
5029 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
5030
3d9268b6
JDA
50312002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5032
5033 * pa.c (pa_output_function_prologue): Don't accumulate the total
5034 number of code bytes when using TARGET_64BIT, or gas, SOM and not
5035 the portable runtime.
5036 (output_deferred_plabels): Handle 64bit plabels.
5037 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
5038 generating pic code using the GAS assembler for object formats that
5039 are not SOM (ie., ELF32 and ELF64).
5040 (output_millicode_call): Check attribute type if attribute length is 28.
5041 Likewise use $PIC_pcrel$0. Only call get_attr_length and
5042 dbr_sequence_length once.
5043 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
5044 dbr_sequence_length once.
5045 * pa.h (TARGET_SOM): Define if not defined.
5046 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
5047 with GAS and not SOM.
5048 (jump, call_internal_reg, call_value_internal_reg): Likewise.
5049 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
5050
d360fd18
DB
50512002-04-11 David O'Brien <obrien@FreeBSD.org>
5052
5053 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
5054 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
5055 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
5056 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
5057 elfos.h and dbxelf.h values are fine now.
5058 * config/i386/freebsd.h, config/alpha/freebsd.h
5059 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
5060
5b8fcab6
DB
50612002-04-11 David O'Brien <obrien@FreeBSD.org>
5062
5063 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
5064 or set Acpu or Amachine. Reformat.
5065 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5066 define.
5067 (LINK_SPEC): Do not need to undef.
5068 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
5069 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
5070 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5071 define.
5072 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
5073 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
5074 (LINK_SPEC): Do not need to undef.
5075 (DONT_USE_BUILTIN_SETJMP): Do not define.
5076 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
5077 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
5078 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
5079 Remove trailing spaces.
5080 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
5081 __ELF__, or set Acpu or Amachine. Reformat.
5082 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
5083 define.
5084
fee42cc1
DB
50852002-04-11 David O'Brien <obrien@FreeBSD.org>
5086
5087 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
5088 all other *-*-freebsd* targets.
5089
77a403e4
RH
50902002-04-11 Richard Henderson <rth@redhat.com>
5091
5092 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
5093
cf0005c6
DB
50942002-04-11 David O'Brien <obrien@FreeBSD.org>
5095
5096 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
5097 Include {cpu}/{cpu}.h thru tm_file.
5098 (alpha*-*-linux*ecoff): Remove target.
5099 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
5100 (LINK_SPEC): Remove, is not OS independent.
5101 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
5102 (LINK_SPEC): Do not need to #undef any longer.
5103 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
5104 any longer.
5105 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
5106 __ELF__.
5107 (LINK_SPEC): Moved here from alpha/elf.h.
5108 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
5109 SUB_CPP_PREDEFINES.
5110 * config/alpha/linux-ecoff.h: Remove.
5111 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
5112 (CPP_SPEC): Define _POSIX_SOURCE as needed.
5113 (CPP_SUBTARGET_SPEC): Do not define.
5114 (LINK_SPEC): Do not need to #undef any longer.
5115 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
5116 * config/alpha/vms.h: Likewise.
5117
9be40833 51182002-04-11 Richard Sandiford <rsandifo@redhat.com>
7825d1cf
RS
5119
5120 * doc/extend.texi: Remove old claim that typedefs cannot have
5121 an alignment attribute.
5122
010f87c4
JJ
51232002-04-11 Jakub Jelinek <jakub@redhat.com>
5124
5125 PR optimization/6177
5126 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
5127 bitpos is 0 and bitsize CONCAT size.
5128
578fc63d
JJ
51292002-04-11 Jakub Jelinek <jakub@redhat.com>
5130
5131 PR c/6223
5132 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
5133
bf9b85ce
DB
51342002-04-10 David O'Brien <obrien@FreeBSD.org>
5135
5136 * config/alpha/freebsd.h: Minor reformatting.
5137 (CPP_SPEC): Define ELF and add cpp_subtarget.
5138 (ASM_SPEC): No longer needed.
5139
7425707d
RH
51402002-04-11 Richard Henderson <rth@redhat.com>
5141
5142 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
5143 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
5144 (dimode mem/zero splitter): New.
5145
1a05e874
HPN
51462002-04-11 Hans-Peter Nilsson <hp@axis.com>
5147
5148 * config/cris/cris.c (cris_override_options): Tweak error message
5149 for PIC not implemented.
5150
5151 * config/cris/cris.h: Tweak comments related to parameter-passing.
5152
5153 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
5154
6f3d0447
RH
51552002-04-10 Richard Henderson <rth@redhat.com>
5156
5157 * except.c (add_ehl_entry): Allow duplicates after landing pad
5158 creation.
5159
174bf2b1
DE
51602002-04-10 David Edelsohn <edelsohn@gnu.org>
5161
5162 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
5163
03f10472
TM
51642002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
5165
5166 * c-decl.c (c_init_decl_processing): Move generation of
5167 decls for g77_integer_type_node and friends from here ...
5168 * c-common.c (c_common_nodes_and_builtins): ... to here.
5169
2f460a0a
UW
51702002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
5171
5172 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
5173 is only used as frame pointer when frame_pointer_needed is true.
5174
0be5cf85
RE
51752002-04-10 Richard Earnshaw <rearnsha@arm.com>
5176
5177 PR target/817
5178 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
5179 for the fact that the pool entry uses two words.
5180 (movdf_hard_insn): Similarly. Also, ADR instruction can span
5181 1k bytes.
5182 (movdf_soft_insn): Similarly.
5183 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
5184 for the fact that the pool entry uses three words.
5185
bf6d4777
RS
51862002-04-10 Richard Sandiford <rsandifo@redhat.com>
5187
5188 * config/mips/mips.c (mips_va_arg): When using the struct version
5189 of the EABI va_list, allow arguments in the register save area to
5190 take up less room than a stack argument.
5191
c2e9dc85
RH
51922002-04-10 Richard Henderson <rth@redhat.com>
5193
5194 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
5195 if EXPAND_INITIALIZER.
5196
bc8e8e97
RH
51972002-04-09 Richard Henderson <rth@redhat.com>
5198
5199 * config/alpha/alpha.md (movdi_er_maybe_g): New.
5200 * config/alpha/alpha.c (alpha_expand_mov): Use it.
5201
a6a063b8
AM
52022002-04-10 Alan Modra <amodra@bigpond.net.au>
5203
5204 PR optimization/6233
5205 * rtlanal.c (pure_call_p): New function.
5206 * rtl.h (pure_call_p): Declare.
5207 * loop.c (prescan_loop): Use it to set has_nonconst_call.
5208 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
5209
7b2e1077
EC
52102002-04-09 Eric Christopher <echristo@redhat.com>
5211
5212 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
5213 information to .comm directive.
5214
d8a50944
RH
52152002-04-09 Richard Henderson <rth@redhat.com>
5216
5217 PR c/5078
5218 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
5219
6a58eee9
RH
52202002-04-09 Richard Henderson <rth@redhat.com>
5221
5222 * basic-block.h (flow_delete_block_noexpunge): Declare.
5223 (expunge_block_nocompact): Declare.
5224 * cfg.c (expunge_block_nocompact): Split out from ...
5225 (expunge_block): ... here.
5226 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
5227 (flow_delete_block_noexpunge): Split out from ...
5228 (flow_delete_block): ... here.
5229 * cfgcleanup.c (delete_unreachable_blocks): Compact while
5230 removing dead blocks.
5231 * except.c (exception_handler_labels): Remove.
5232 (exception_handler_label_map): New.
5233 (struct eh_region): Add aka member.
5234 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
5235 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
5236 (for_each_eh_label, for_each_eh_label_1): New.
5237 (init_eh): Register exception_handler_label_map.
5238 (free_eh_status): Use free_region.
5239 (find_exception_handler_labels): Use the map, not the list.
5240 (remove_exception_handler_label): Likewise.
5241 (maybe_remove_eh_handler): Likewise.
5242 (remove_eh_handler): Use the region aka bitmap.
5243 * except.h (exception_handler_labels): Remove.
5244 (for_each_eh_label): Declare.
5245 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
5246 * loop.c (invalidate_loops_containing_label): New.
5247 (find_and_verify_loops): Use it. Use for_each_eh_label.
5248 * sched-rgn.c (is_cfg_nonregular): Use
5249 current_function_has_exception_handlers.
5250
b47374fa
RH
52512002-04-09 Richard Henderson <rth@redhat.com>
5252
5253 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
5254 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
5255 Do not return changed status.
5256 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
5257 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
5258 New functions that do return changed status.
5259 * sbitmap.h: Update decls.
5260 * gcse.c, lcm.c: Use _cg functions as needed.
5261
1951818c
R
5262Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
5263
5264 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
5265 (sh64-*-elf*, sh-*-rtemself*): Likewise.
5266 * config/sh/embed_bb.c: New file.
5267 * config/sh/embed-elf.h: New file.
5268 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
5269 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
5270 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5271 __PTRDIFF_TYPE__ .
5272 (SUBTARGET_CPP_PTR_SPEC): Don't define.
5273 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
5274 Add subtarget_asm_endian_spec.
5275 (ASM_SPEC): Use subtarget_asm_endian_spec.
5276 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
5277 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
5278 (WCHAR_UNSIGNED): Define.
5279 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
5280 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5281 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
5282 Fix value.
5283 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
5284 (sh_adjust_cost): Likewise.
5285 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5286 __PTRDIFF_TYPE__ .
5287 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
5288 (WCHAR_TYPE_SIZE): Likewise.
5289 (ASM_SPEC): Use subtarget_asm_endian_spec.
5290 (SH_ELF_WCHAR_TYPE): #undef/ #define.
5291 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
5292 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
5293 (MAX_WCHAR_TYPE_SIZE): Don't #define .
5294 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
5295 (USER_LABEL_PREFIX): Don't #undef /#define .
5296 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5297 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
5298 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
5299 (ASM_SPEC): Likewise.
5300 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
5301 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
5302 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
5303 (LIB2FUNCS_EXTRA): Define.
5304 * t-sh64 (LIB2FUNCS_EXTRA): Define.
5305 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
5306 (LIB1ASMFUNCS_CACHE): Define.
5307 (LIB2FUNCS_EXTRA): Redefine empty.
5308
34295799
RH
53092002-04-08 Richard Henderson <rth@redhat.com>
5310
5311 * reorg.c (get_branch_condition): Use reversed_comparison_code.
5312
e8766a39
SC
53132002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5314
5315 * config/m68hc11/larith.asm (__map_data_section): Fix condition
5316 and optimize for size.
5317 (__do_global_ctors): Fix pointer comparison.
5318 (__do_global_dtors): Likewise.
5319
f451b552
DM
53202002-04-09 David S. Miller <davem@redhat.com>
5321
5322 * config/sparc/sparc.c (sparc_extra_constraint_check): New
5323 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
5324 allow reloading pseudos.
5325 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
5326 * config/sparc/sparc-protos.h: Declare it.
5327
5328 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
5329 unsigned comparison warning.
5330 (output_restore_regs): Mark leaf_function as unused.
5331
1ce7f3c2
RK
5332Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5333
5334 * expr.c (is_aligning_offset): New function.
5335 (expand_expr, case COMPONENT_EXPR): Call it.
5336
7a31a340
DM
53372002-04-08 David S. Miller <davem@redhat.com>
5338
5339 PR target/6082
5340 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
5341
5342 Make init_priority work on Sparc when using GNU ld.
5343 * config/sparc/linux.h, config/sparc/linux64.h,
5344 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
5345 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
5346 * config/sparc/sol2-gld.h: New file to do the same.
5347 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
5348 sparc/sol2-gld.h to tm_file.
5349
5350 PR optimization/4328
5351 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
5352 * doc/md.texi: Document it.
5353 * config/sparc/sparc.md (movdi_insn_sp64_novis,
5354 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
5355 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
5356 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
5357 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
5358
11579f33
AJ
53592002-04-08 Andreas Jaeger <aj@suse.de>
5360
5361 * stmt.c (expand_asm_operands): Revert last patch from Richard
5362 Henderson.
5363
b57215d9
GP
53642002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5365
5366 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
5367 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
5368
53692002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5370
5371 * doc/contrib.texi (Contributors): Add David O'Brien.
5372
534d0cc0
AM
53732002-04-08 Alan Modra <amodra@bigpond.net.au>
5374
5375 * configure.in (auto-build.h): Use target_alias and build_alias
5376 when running configure.
5377 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
5378 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
5379 * configure: Regenerate.
5380
19fe522a
DM
53812002-04-07 David S. Miller <davem@redhat.com>
5382
5383 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
5384
bf2d0b8e
JDA
53852002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5386
5387 PR 5933
5388 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
5389 generating 32-bit pic code.
5390
477cdac7
JT
53912002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
5392
5393 * cppinit.c (cpp_create_reader): Initialize
5394 discard_comments_in_macro_exp.
5395 (COMMAND_LINE_OPTIONS): Add "-CC" option.
5396 (cpp_handle_option): Handle "-CC" option.
5397 * cpplex.c (save_comment): If saving a C++ comment in
5398 a directive, convert it to a C comment.
5399 (_cpp_lex_direct): Pass second comment start character to
5400 save_comment to indicate comment type.
5401 * cpplib.c (_cpp_handle_directive): If processing
5402 a "#define" directive and discard_comments_in_macro_exp
5403 is false, re-enable saving of comments.
5404 (lex_macro_node): If discard_comments_in_macro_exp is false,
5405 discard any comments before the macro identifier.
5406 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
5407 member.
5408 * cppmacro.c (cpp_get_token): If expanding a macro while
5409 processing a directive, discard any comments we might encounter.
5410 (parse_params): If discard_comments_in_macro_exp is false,
5411 ignore comments in the macro parameter list.
5412 * gcc.c (cpp_unique_options): Add "-CC" option.
5413 (option_map): Map "--comments-in-macros" to "-CC".
5414 * doc/cppopts.texi: Document "-CC" option.
5415 * f/lang-specs.h: Add "-CC" option.
5416 * testsuite/gcc.dg/cpp/maccom1.c: New test.
5417 * testsuite/gcc.dg/cpp/maccom2.c: New test.
5418 * testsuite/gcc.dg/cpp/maccom3.c: New test.
5419 * testsuite/gcc.dg/cpp/maccom4.c: New test.
5420 * testsuite/gcc.dg/cpp/maccom5.c: New test.
5421 * testsuite/gcc.dg/cpp/maccom6.c: New test.
5422
f1526122
JDA
54232002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
5424
5425 PR middle-end/6180
5426 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
5427
b1896e61
MM
54282002-04-06 Mark Mitchell <mark@codesourcery.com>
5429
0154eaa8
MM
5430 PR c++/5571
5431 * stor-layout.c (layout_decl): Reset the RTL for the decl.
5432
b1896e61
MM
5433 PR opt/5120
5434 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
5435 RTX_UNCHANGING_P for the functions arguments when a tail call
5436 is made.
5437
b0148884
JM
54382002-04-06 Jason Merrill <jason@redhat.com>
5439
5440 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
5441 (parse_options_and_default_flags): Set them appropriately.
5442 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
5443
392fc5b0
HPN
54442002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
5445
5446 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
5447 here.
5448
5449 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
5450 semicolon.
5451
5452 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
5453 types come in by-reference. Fix typo in comment.
5454
2d69e3cb
DM
54552002-04-05 David S. Miller <davem@redhat.com>
5456
5457 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
5458 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
5459 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
5460 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
5461
54622002-04-05 David S. Miller <davem@redhat.com>
5463
5464 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
5465 are not going to emit return instructions, emit at least a nop
5466 for the sake of sane backtraces.
5467
5f9fb0e3
RH
54682002-04-05 Richard Henderson <rth@redhat.com>
5469
5470 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
5471
49f37a0d
JJ
54722002-04-05 Jakub Jeilnek <jakub@redhat.com>
5473
5474 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
5475
974a3101
AO
54762002-04-05 Alexandre Oliva <aoliva@redhat.com>
5477
5478 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
5479 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
5480 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
5481
2e04a694
AS
54822002-04-05 Andreas Schwab <schwab@suse.de>
5483
a40179bd 5484 * c-convert.c: Include c-common.h.
2e04a694
AS
5485 * Makefile.in (c-convert.o): Updated.
5486
1f785b7c
JJ
54872002-04-05 Jakub Jelinek <jakub@redhat.com>
5488
5489 * mklibgcc.in: Use separate libgcc.map for each multilib.
5490 * Makefile.in (distclean): Don't remove libgcc.map here.
5491
4d2fb38b
JJ
54922002-04-05 Jakub Jelinek <jakub@redhat.com>
5493
5494 * Makefile.in (s-mlib): Handle --disable-multilib by separate
5495 genmultilib invocation.
5496
bb63e5a0
RS
54972002-04-04 Richard Sandiford <rsandifo@redhat.com>
5498
5499 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
5500 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
5501 to num_gprs for symmetry.
5502 * config/mips/mips.c: Adjust accordingly.
5503
8ab80eaa
NB
55042002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
5505
5506 * c-common.c (truthvalue_conversion): Rename, update.
5507 * c-common.h (c_common_truthvalue_conversion): New.
5508 * c-convert.c (convert): Update.
5509 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5510 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
5511 * c-typeck.c (build_binary_op, build_unary_op,
5512 build_conditional_expr): Update.
5513 * fold-const.c (constant_boolean_node, fold): Use langhook.
5514 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
5515 * langhooks.h (struct lang_hooks): New hook.
5516 * stmt.c (expand_decl_cleanup): Use langhook.
5517 * tree.h (truthvalue_conversion): Remove.
5518objc:
5519 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5520
a2e9374a
AM
55212002-04-05 Alan Modra <amodra@bigpond.net.au>
5522
5523 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
5524 Add rules to make null object file.
5525
64d08263
JB
55262002-04-04 Jim Blandy <jimb@redhat.com>
5527
5528 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
5529 macro formal parameter names.
5530
aa7634dd
DM
55312002-04-04 David S. Miller <davem@redhat.com>
5532
5533 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
5534
ecc114f7
RH
55352002-04-04 Richard Henderson <rth@redhat.com>
5536
5537 PR middle-end/5099
5538 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
5539 Support copies into and out of memory. Don't accept allows_reg
5540 and allows_mem as gospel.
5541
c4484b8f
RH
55422002-04-04 Richard Henderson <rth@redhat.com>
5543
5544 PR opt/6165
5545 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
5546 (write_dependence_p): Likewise.
5547
39002160
RH
55482002-04-04 Richard Henderson <rth@redhat.com>
5549
5550 * predict.c (estimate_bb_frequencies): Do frequency calculation
5551 with a volatile temporary.
5552
f53ebe71
UW
55532002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
5554
5555 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
5556
15e0ecab
JJ
55572002-04-04 Jakub Jelinek <jakub@redhat.com>
5558
5559 PR c++/6119
5560 * final.c (final_start_function): Don't bump profile_label_no here...
5561 (final_end_function): ...but here.
5562
ffd386b0
JJ
55632002-04-04 Jakub Jelinek <jakub@redhat.com>
5564
5565 * config/sparc/sparc.md (pic): New attribute.
5566 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
5567 into stack slots.
5568 (split after do_builtin_setjmp_setup): New.
5569
8b156b3e
JJ
55702002-04-04 Jakub Jelinek <jakub@redhat.com>
5571
5572 PR fortran/6106
5573 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
5574 change.
5575
014c0998
JJ
55762002-04-04 Jakub Jelinek <jakub@redhat.com>
5577
5578 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
5579 UNITS_PER_WORD for zero sized aggregates.
5580
4d8611d9
DM
55812002-04-03 David S. Miller <davem@redhat.com>
5582
5583 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
5584 one-character spec for this, just use %(link_gcc_c_sequence).
5585
b03ad99d
DM
55862002-04-03 David S. Miller <davem@redhat.com>
5587
5588 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
5589 handling.
5590
823fbbce
JDA
55912002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5592
5593 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
5594 (DWARF_FRAME_RETURN_COLUMN): Move.
5595 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5596 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
5597 * pa.c (except.h, predict.h): Include.
5598 (FRP): Delete.
5599 (store_reg_modify, set_reg_plus_d): Revise prototypes.
5600 (output_ascii): Add cast.
5601 (store_reg_modify): Revise to add frame notes.
5602 (set_reg_plus_d): Likewise.
5603 (compute_frame_size): Include space for eh data registers in frame if
5604 the current function calls eh_return.
5605 (hppa_expand_prologue): Ensure register %r2 is saved if the current
5606 function calls eh_return. Save eh data registers if the current
5607 function calls eh_return. Fix code to add frame notes. Emit
5608 blockage to prevent insns with frame notes being scheduled in the
5609 delay slot of calls.
5610 (hppa_expand_epilogue): Restore eh data registers and do final stack
5611 adjustment if the current function calls eh_return. Don't add frame
5612 notes.
5613 (output_call): Revise for change in length of call insn. Don't do
5614 return pointer adjustment for an unconditional jump in the delay slot
5615 of a call when using frame notes.
5616 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
5617 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
5618 (ARG_POINTER_CFA_OFFSET): Define.
5619 * pa.md (return_external_pic): New pattern.
5620 (prologue): Correct formatting. Use return_external_pic if current
5621 function calls eh_return.
5622 (call_internal_symref, call_value_internal_symref,
5623 sibcall_internal_symref, sibcall_value_internal_symref): Change default
5624 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
5625 respectively.
5626 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
5627
5628 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
5629 list of targets to check using "nop" insn.
5630 * configure: Rebuilt.
5631
4078e224
AM
56322002-04-04 Alan Modra <amodra@bigpond.net.au>
5633
5634 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
5635
bbd7687d
DM
56362002-04-03 David S. Miller <davem@redhat.com>
5637
5638 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
5639 library sequence passed to the linker.
5640 (LINK_COMMAND_SPEC): Use it.
5641 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
5642 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
5643 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
5644
659e5a7a
JM
56452002-04-03 Jason Merrill <jason@redhat.com>
5646
5647 * except.c (struct eh_status): Remove protect_list.
5648 (begin_protect_partials, end_protect_partials): Remove.
5649 (add_partial_entry): Remove.
5650 * except.h: Remove prototypes.
5651
5652 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
5653 expand_decl_cleanup_eh.
5654
5655 PR c++/5636
5656 * tree.h (CLEANUP_EH_ONLY): New macro.
5657 * stmt.c (expand_decl_cleanup_eh): New fn.
5658 (expand_cleanups): Check CLEANUP_EH_ONLY.
5659 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
5660 Use expand_decl_cleanup_eh.
5661 (expand_stmt): Adjust.
5662 * c-common.h: Adjust prototype.
5663
053d3344
HPN
56642002-04-04 Hans-Peter Nilsson <hp@axis.com>
5665
5666 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
5667 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
5668 (cris_target_asm_function_epilogue): Ditto.
5669 (cris_initial_frame_pointer_offset): Ditto.
5670 (cris_simple_epilogue): Ditto.
5671 (cris_expand_builtin_va_arg): Variable-size types come in
5672 by-reference.
5673
61ab5260
DM
56742002-04-03 David S. Miller <davem@redhat.com>
5675
5676 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
5677 little-endian.
5678 (set_fast_math): Correct 'fsr' type.
5679
ef4f94ac
RH
56802002-04-03 Richard Henderson <rth@redhat.com>
5681
36c2272c 5682 PR opt/3569
ef4f94ac
RH
5683 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
5684 * toplev.c (check_global_declarations): Use it.
5685 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
5686 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5687 (LANG_HOOKS_DECLS): Add it.
5688 * langhooks.c (lhd_warn_unused_global_decl): New.
5689 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5690 * c-objc-common.c (c_warn_unused_global_decl): New.
5691 * c-tree.h (c_warn_unused_global_decl): Declare.
5692 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5693
599bba86
NB
56942002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
5695
5696 * langhooks-def.h (lhd_set_decl_assembler_name,
5697 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
5698 (LANG_HOOKS_INITIALIZER): Update.
5699 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
5700 * langhooks.h (struct lang_hooks): New hook.
5701 * tree.c (set_decl_assembler_name): Move to langhooks.c.
5702 (lang_set_decl_assembler_name): Remove.
5703 (init_obstacks): Don't set hook.
5704 (decl_assembler_name): New function.
5705 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
5706 (decl_assembler_name): New.
5707 (lang_set_decl_assembler_name): Remove.
5708
cf7b8b0d
JJ
57092002-04-03 Jakub Jelinek <jakub@redhat.com>
5710
5711 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
5712 works properly with .hidden symbols.
5713 * configure: Rebuilt.
5714 * config.in: Rebuilt.
5715 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
5716 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
5717 properly with .hidden symbols.
5718
faf6db38
JJ
57192002-04-03 Jakub Jelinek <jakub@redhat.com>
5720
5721 PR middle-end/6102
5722 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
5723 USE argument.
5724
68c17f30
RH
57252002-04-03 Richard Henderson <rth@redhat.com>
5726
5727 PR opt/4120
5728 * sched-rgn.c (sets_likely_spilled): New.
5729 (sets_likely_spilled_1): New.
5730 (add_branch_dependences): Use it.
5731
6584b4aa
RH
57322002-04-02 Richard Henderson <rth@redhat.com>
5733
5734 PR opt/4311
5735 * loop.h (LOOP_FIRST_PASS): New.
5736 * loop.c (strength_reduce): Mind it when deciding to unroll.
5737 * toplev.c (rest_of_compilation): Set it.
5738
0acf409f
DM
57392002-04-02 David S. Miller <davem@redhat.com>
5740
5741 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
5742 mems_ok_for_ldd_peep when the order of the loads being examined
5743 is reversed.
5744 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
5745 existing comment to increase comprehension of this situation.
5746
85654444
ZW
57472002-04-02 Zack Weinberg <zack@codesourcery.com>
5748
5749 * config/sh/sh.md: Don't use union real_extract.
5750
543828ca
RH
57512002-04-02 Richard Henderson <rth@redhat.com>
5752
5753 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
5754
39ed301b
DB
57552002-04-02 David O'Brien <obrien@FreeBSD.org>
5756
5757 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
5758 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
5759 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
5760 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
5761 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
5762 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
5763 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
5764 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
5765 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
5766 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
5767 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
5768 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
5769 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
5770 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
5771 Include as many configury headers via tm_file as possible. This
5772 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
5773 * config/openbsd-oldgas.h: New file.
5774 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
5775 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
5776 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
5777 config/i386/i386-coff.h, config/i386/i386-interix.h,
5778 config/i386/iscdbx.h, config/i386/linux-aout.h,
5779 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
5780 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
5781 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
5782 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
5783 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
5784 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
5785 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
5786 config/i386/vxi386.h: Do not directly include configury headers.
5787 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
5788 Directly include configury headers that are no longer automatically
5789 included by the above headers.
5790 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
5791 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
5792 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
5793 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
5794 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
5795 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
5796 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
5797 (TARGET_VERSION): Define.
5798 * config/i386/beos-elf.h, config/i386/freebsd.h,
5799 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
5800 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
5801 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
5802 config/i386/sco5.h, config/i386/sysv4.h
5803 (TARGET_VERSION): Do not need to protect.
5804 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
5805 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
5806 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
5807 config/i386/i386-interix.h, config/i386/linux-aout.h,
5808 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
5809 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
5810 (YES_UNDERSCORES): Do not define - not needed.
5811 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
5812 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
5813 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
5814 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
5815 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
5816 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
5817 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
5818 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
5819
9432c136
EB
58202002-04-02 Eric Botcazou <ebotcazou@multimania.com>
5821 Richard Henderson <rth@redhat.com>
5822
5823 PR c/5484
5824 * function.c (assign_temp): Accept either type or decl argument.
5825 Detect variables whose size is too large to fit into an integer.
5826 * stmt.c (expand_decl): Pass the decl, not the type.
5827
058b1275
DB
58282002-04-02 David O'Brien <obrien@FreeBSD.org>
5829
5830 * protoize.c: Match include directory usage with cppdefault.c.
5831
5add6d1a 58322002-04-03 Jeffrey A Law (law@redhat.com)
9be40833 5833 Hans-Peter Nilsson <hp@bitrange.com>
5add6d1a
JL
5834
5835 * combine.c (simplify_comparison): Avoid narrowing a comparison
5836 with a paradoxical subreg when doing so would drop signficant bits.
5837
1e533e4b
SE
58382002-04-02 Steve Ellcey <sje@cup.hp.com>
5839
5840 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
5841 if POINTERS_EXTEND_UNSIGNED is defined.
5842
7a145e92
RH
58432002-04-02 Richard Henderson <rth@redhat.com>
5844
5845 PR opt/3967
5846 * local-alloc.c (contains_replace_regs): LO_SUM may contain
5847 replace regs.
5848
3a079822
RH
58492002-04-02 Richard Henderson <rth@redhat.com>
5850
5851 * doc/standards.texi: Document required freestanding libc entry points.
5852
c94ccb87
AM
58532002-04-02 Alan Modra <amodra@bigpond.net.au>
5854
5855 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
5856 associated splitter. Remove MQ constraint.
5857 (ctrdi_internal4): Correct CCmode clobber.
5858
fe660a1a
JDA
58592002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
5860
5861 * milli64.S ($$dyncall): New function.
5862 * t-linux (LIB1ASMFUNCS): Revise module list.
5863 (LIB1ASMSRC): Use pa/milli64.S.
5864
eadc0202
RH
58652002-04-02 Richard Henderson <rth@redhat.com>
5866
5867 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
5868 rename solaris_sys_varargs_h.
5869
a1471322
RK
5870Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5871
5872 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
5873 the same mode as its component.
5874
c8b94768
RH
58752002-04-02 Richard Henderson <rth@redhat.com>
5876
5877 PR opt/190
5878 * final.c (this_is_asm_operands): Export.
5879 * output.h (this_is_asm_operands): Declare.
5880 * config/i386/i386.c (print_operand): Error odd asm operands.
5881
161eb4fc
RH
58822002-04-02 Richard Henderson <rth@redhat.com>
5883
5884 PR opt/420
5885 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
5886
b88a94c6
RH
58872002-04-01 Richard Henderson <rth@redhat.com>
5888
5889 PR target/1538
5890 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
5891 * fixinc/fixincl.x: Rebuild.
5892
72e32876
RH
58932002-04-01 Richard Henderson <rth@redhat.com>
5894
5895 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
5896 (atomic_alloc, atomic_free): New.
5897 (SIZE, MASK_FOR, PTR_IN): New.
5898 (emergency_reg_state, emergency_reg_state_free): New.
5899 (emergency_labeled_state, emergency_labeled_state_free): New.
5900 (reg_state_alloced, labeled_state_alloced): New.
5901 (alloc_reg_state, free_reg_state): New.
5902 (alloc_label_state, free_label_state, free_label_states): New.
5903 (push, pop, dup_state_stack, free_state_stack): Use them.
5904 (desc_label_state): Likewise.
5905 (uw_frame_state_for): Free label states and state stack.
5906 (uw_update_reg_address): Eliminate warnings.
5907
84d76074
VM
59082002-04-01 Vladimir Makarov <vmakarov@redhat.com>
5909
5910 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
9be40833 5911 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
84d76074 5912
dffd7eb6
NB
59132002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5914
5915 * c-decl.c (grokdeclarator): Update.
5916 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5917 * c-tree.h (c_mark_addressable): New.
5918 * c-typeck.c (default_function_array_conversion, build_unary_op,
5919 build_array_ref, convert_for_assignment): Update.
5920 (mark_addressable): Rename.
5921 * calls.c (try_to_integrate, expand_call): Use langhook.
5922 * expr.c (expand_expr): Use langhook.
5923 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
5924 * langhooks.h (struct lang_hooks): New hook.
5925 * stmt.c (expand_asm_operands): Use langhook.
5926 * tree.h (mark_addressable): Remove.
5927objc:
5928 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5929
544ef5b5
BW
59302002-04-01 Bob Wilson <bob.wilson@acm.org>
5931
9be40833
RH
5932 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
5933 in previous change.
544ef5b5 5934
bcf88f9b
BW
59352002-04-01 Bob Wilson <bob.wilson@acm.org>
5936
5937 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
5938 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
5939
ceef8ce4
NB
59402002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5941
5942 * c-common.c (unsigned_conversion_warning, convert_and_check,
5943 unsigned_type, signed_type, shorten_compare,
5944 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
5945 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
5946 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
5947 New.
5948 * c-decl.c (grokdeclarator): Update.
5949 * c-format.c (check_format_types): Update.
5950 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5951 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5952 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
5953 * convert.c (convert_to_integer): Use new hooks.
5954 * expmed.c (make_tree): Use new hooks.
5955 * expr.c (store_expr): Use new hooks.
5956 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
5957 all_ones_mask_p, unextend, fold): Use new hooks.
5958 * langhooks.h (struct lang_hooks_for_types): New hooks.
5959 * tree.h (signed_or_unsigned_type, signed_type,
5960 unsigned_type): Remove.
5961objc:
5962 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5963 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5964
1d9ad0e0
RH
59652002-03-31 Richard Henderson <rth@redhat.com>
5966
5967 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
5968 (desc_frgr_mem): Fix reference to f16-f31.
5969
d544bc39
KG
59702002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5971
5972 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
5973 RTVEC_ELT): Const-ify.
d8750784
KG
5974 * varray.h (VARRAY_CHECK): Const-ify.
5975 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
5976 ggc_mark_rtvec, ggc_mark): Const-ify.
d544bc39 5977
b18101c7
NB
59782002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5979
5980 * diagnostic.c: Include langhooks-def.h.
5981 * Makefile.in (diagnostic.o): Update.
5982
48a7a235
NB
59832002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
5984
5985 * c-common.c (c_unsafe_for_reeval): Rename.
5986 * c-common.h (c_unsafe_for_reeval): Rename.
5987 * c-decl.c (finish_incomplete_decl): Rename.
5988 (c_init_decl_processing): Don't set langhook.
5989 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
5990 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
5991 * c-objc-common.c (c_objc_common_init): Don't set langhook.
5992 * c-tree.h (finish_incomplete_decl): Rename.
5993 * langhooks-def.h (lhd_unsafe_for_reeval): New.
5994 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
5995 (LANG_HOOKS_INITIALIZER): Update.
5996 * langhooks.c (lhd_unsafe_For_reeval): New.
5997 * langhooks.h (struct langhooks): New hooks.
5998 * toplev.c (incomplete_decl_finalize_hook): Remove.
5999 (wrapup_global_declarations): Update.
6000 * tree.c (lang_unsafe_for_reeval): Remove.
6001 (unsafe_for_reeval): Update.
6002 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
6003 Remove.
6004objc:
6005 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
6006 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
6007
7cb32822
NB
60082002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
6009
6010 * diagnostic.c (print_error_function): Remove.
6011 (default_print_error_function): Rename.
6012 (report_error_function): Update.
6013 * diagnostic.h (print_error_function): Remove.
6014 (default_print_error_function): Remove.
6015 * langhooks-def.h (struct diagnostic_context): Predeclare.
6016 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
6017 (LANG_HOOKS_INITIALIZER): Update.
6018 * langhooks.h (struct diagnostic context): Predeclare.
6019 (struct lang_hooks): New hook.
6020
1db02437
FS
60212002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6022
6023 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
6024 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
6025 !flag_pic.
6026 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
6027 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
6028 of PIC_OFFSET_TABLE_REGNUM thruout.
6029 * config/rs6000/rs6000.md: Likewise.
6030 * config/rs6000/darwin.h: Likewise.
6031
3bf1e984
RK
6032Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6033
6034 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
6035 unsigned HOST_WIDE_INT, not unsigned int.
6036
0864c526
JJ
60372002-03-31 Jakub Jelinek <jakub@redhat.com>
6038
6039 PR middle-end/6096, middle-end/6098, middle-end/6099
6040 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
6041 CODE_LABELs.
6042 (fill_slots_from_thread): Likewise.
6043
105b2084
JJ
60442002-03-31 Jakub Jelinek <jakub@redhat.com>
6045
6046 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
6047 floating fields in float regs.
6048 (function_arg_record_value_2): Likewise.
6049
db08fddf
HPN
60502002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
6051
6052 * config/mmix/mmix.md (define_constants): Remove misleading
6053 FIXME. Add MMIX_fp_rO_OFFSET.
6054 ("nonlocal_goto_receiver"): Don't have stack-frame address of
6055 saved rO as part of the pattern. Remove FIXME.
6056 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
6057 here, at output-time.
6058
4f31cce8
JJ
60592002-03-31 Jakub Jelinek <jakub@redhat.com>
6060
6061 PR middle-end/6100
6062 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
6063 REG_BR_PRED.
6064 (output_v9branch): Likewise.
6065
ba2b7435
AO
60662002-03-31 Alexandre Oliva <aoliva@redhat.com>
6067
6068 * gcc.c: Revert previous patch for now.
6069 * config/i386/djgpp.h: Likewise.
6070
aa66aa5f 60712002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
8f840f57
HPN
6072
6073 * config/mmix/crti.asm (_init): Register _fini with atexit.
6074 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
6075
41ba8a20
RH
60762002-03-31 Richard Henderson <rth@redhat.com>
6077
6078 PR target/3997
6079 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
6080 (ASM_OUTPUT_DEF_FROM_DECLS): New.
6081
adc186ef
RH
60822002-03-31 Richard Henderson <rth@redhat.com>
6083
6084 * libgcc2.c (__bb_exit_func): Make static.
6085
9be40833 6086 * config/alpha/alpha.md (trap): New.
a7648399 6087
9602f5a0
RH
60882002-03-31 Richard Henderson <rth@redhat.com>
6089
6090 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
6091 promoted argument types; build trap.
6092 (expand_builtin_trap): New.
6093 (expand_builtin): Use it.
6094 * stmt.c (expand_nl_goto_receivers): Likewise.
6095 * expr.h (expand_builtin_trap): Declare.
6096 * libfuncs.h (LTI_abort, abort_libfunc): New.
6097 * optabs.c (init_optabs): Init abort_libfunc.
6098
1a0a7539
AO
60992002-03-31 Alexandre Oliva <aoliva@redhat.com>
6100
6101 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
6102 (LINK_COMMAND_SPEC): ... from here.
7b2e1077 6103 (init_gcc_specs): Duplicate it here too, omitting
1a0a7539
AO
6104 shared_name in the second copy.
6105 (init_spec): Test for duplicate
6106 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
6107
b5de1a27
DM
61082002-03-30 David S. Miller <davem@redhat.com>
6109
6110 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
6111 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
6112
78414d74 61132002-03-30 Roger Sayle <roger@eyesopen.com>
9be40833 6114 Richard Henderson <rth@redhat.com>
78414d74 6115
9be40833
RH
6116 * regmove.c (combine_stack_adjustments_for_block): Avoid
6117 emitting a stack adjustment of zero bytes. Let delete_insn
6118 update bb->head.
78414d74 6119
33074e5f
RH
61202002-03-30 Richard Henderson <rth@redhat.com>
6121
6122 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
6123 (sparc_emitting_epilogue): New.
6124 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
6125 * config/sparc/sparc-protos.h: Update.
6126 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
6127 (TARGET_SWITCHES): Update.
6128 * config/sparc/sparc.md (return): Remove.
6129 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
6130 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
6131 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
6132 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
6133 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
6134 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
6135 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
6136 Remove MASK_EPILOGUE.
6137 * doc/invoke.texi: Update.
6138
606cc056
DB
61392002-03-30 Daniel Berlin <dan@dberlin.org>
6140
6141 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
6142 CPP will start the file for us.
7b2e1077 6143
bdbe5b8d
RH
61442002-03-30 Richard Henderson <rth@redhat.com>
6145
6146 PR target/5446
6147 * config/ia64/ia64.c (group_barrier_needed_p): Special case
6148 prologue_allocate_stack.
6149 (ia64_single_set): Use insn codes for recognition of special
6150 cases, not rtl matching.
6151 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
6152
4ab95d82
JH
6153Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
6154
6155 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
6156
89a8b315
RH
61572002-03-30 Richard Henderson <rth@redhat.com>
6158
6159 PR target/6032
6160 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
6161 or -fomit-frame-pointer with profiling.
6162 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6163 (FUNCTION_PROFILER): Do nothing.
6164 (PROFILE_HOOK): New.
6165 * config/sparc/sparc.c (sparc_override_options): Don't check
6166 code models for profiling.
6167 (sparc_function_profiler): Remove.
6168 (sparc_profile_hook): New.
6169 * config/sparc/sparc-protos.h: Update.
6170
30984c57
JJ
61712002-03-30 Jakub Jelinek <jakub@redhat.com>
6172
6173 PR optimization/6086
6174 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
6175 of SUBREG of volatile MEM or because the MEM was mode dependent,
6176 return CLOBBER instead of unmodified SUBREG.
6177
1540f9eb
JH
6178Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
6179
89a8b315
RH
6180 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
6181 when not optimizing.
1540f9eb
JH
6182
6183 * toplev.c (rest_of_compilation): Cann mark_constant_function
6184 only when optimizing.
6185
89a8b315
RH
6186 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
6187 are NULL.
1540f9eb
JH
6188
6189 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
6190 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
6191 (try_optimize_cfg): clear all AUX fields.
6192
6193 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
6194 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
6195 (ix86_address_cost): Be prepared for SUBREGed registers.
6196 (legitimate_address_p): Accept SUBREGed registers.
6197
70d95bac
RH
61982002-03-29 Richard Henderson <rth@redhat.com>
6199
6200 PR target/5672
6201 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
6202
d3294cd9
FS
62032002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6204
6205 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
6206 for aggregate and TFmode types.
6207
a106c875
HPN
62082002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
6209
6210 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
6211
7d7a5d6f
RH
62122002-03-29 Richard Henderson <rth@redhat.com>
6213
6e2d670b 6214 PR target/5886
7d7a5d6f
RH
6215 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
6216 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
6217
30c99a84
RH
62182002-03-29 Richard Henderson <rth@redhat.com>
6219
6e2d670b 6220 PR target/6041
30c99a84
RH
6221 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
6222 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
6223 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
6224 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
6225 conditional.
6226 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
6227
02a566dc
DJ
62282002-03-29 Dale Johannesen <dalej@apple.com>
6229
6230 * loop.c (combine_movables): Do allow combination of pseudos.
6231
bc3a44db
LR
62322002-03-29 Loren J. Rittle <ljrittle@acm.org>
6233
6234 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
6235 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
6236 No functional change except ...
6237 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
6238 * doc/install.texi (*-*-freebsd*): Document port configuration.
6239
b0c48229
NB
62402002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
6241
6242 * Makefile.in (convert.o, calls.o, expmed.o): Update.
6243 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
6244 Use new hooks.
6245 * builtin-types.def (BT_PTRMODE): Update.
6246 * c-common.c (type_for_size): Rename c_common_type_for_size.
6247 (type_for_mode): Similarly.
6248 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
6249 Use new hook.
6250 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
6251 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
6252 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
6253 Redefine.
6254 * c-typeck.c (common_type, comptypes, default_conversion):
6255 Use new hooks.
6256 * calls.c: Include langhooks.h.
6257 (emit_library_call_value_1): Use new hooks. Avoid redundant
6258 calls.
6259 * convert.c: Include langhooks.h
6260 (convert_to_pointer, convert_to_integer): Use new hooks.
6261 * except.c (init_eh): Similarly.
6262 * expmed.c: Include langhooks.h.
6263 (expand_mult_add): Use new hooks.
6264 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
6265 try_casesi): Similarly.
6266 * fold-const.c (optimize_bit_field_compare, make_range,
6267 decode_field_reference, fold_truthop, fold): Similarly.
6268 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
6269 put_var_into_stack): Similarly.
6270 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
6271 LANG_HOOKS_TYPE_FOR_SIZE): New.
6272 (LANG_HOOKS_TYPES_INITIALIZER): Update.
6273 * langhooks.h (lang_hooks_for_types): New hooks.
6274 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
6275 * tree.c (get_unwidened, get_narrower): Similarly.
6276 * tree.h (type_for_mode, type_for_size): Remove.
6277 * varasm.c (force_const_mem): Use new hooks.
6278 * utils2.c (nonbinary_modular_operation): Update.
6279objc:
6280 * objc-act.c (handle_impent): Update.
6281 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
6282 Redefine.
6283
e206a74f
SE
62842002-03-29 Steve Ellcey <sje@cup.hp.com>
6285
6286 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
6287 * config/ia64/ia64.c (basereg_operand): New.
6288 * config/ia64/ia64-protos.h (basereg_operand): Declare.
6289 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
6290
7d9b6378
HPN
62912002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
6292
6293 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
6294 unwind information when frame_pointer_needed.
6295 (mmix_assemble_integer): Tweak wording in comment.
6296
f1e639b1
NB
62972002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
6298
6299 * Makefile.in (except.o): Update.
6300 * except.c: Include langhooks.h.
6301 (init_eh): Use langhook.
6302 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
6303 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
6304 (LANG_HOOKS_INITIALIZER): Update.
6305 * langhooks.h (lang_hooks_for_types): New.
6306 (struct lang_hooks): Add it.
6307 * tree.c (make_lang_type_fn, make_lang_type): Remove.
6308 * tree.h (make_lang_type_fn, make_lang_type): Remove.
6309config:
6310 * alpha/alpha.c: Include langhooks.h.
6311 (alpha_build_va_list): Use langhook.
6312 * d30v/d30v.c: Include langhooks.h.
6313 (d30v_build_va_list): Use langhook.
6314 * i386/i386.c: Include langhooks.h.
6315 (ix86_build_va_list): Use langhook.
6316 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
6317 * s390/s390.c: Include langhooks.h.
6318 (s390_build_va_list): Use langhook.
6319 * stormy16/stormy16.c: Include langhooks.h.
6320 (stormy16_build_va_list): Use langhook.
6321
f17f9332
JJ
63222002-03-29 Jakub Jelinek <jakub@redhat.com>
6323
6324 PR c++/5964
6325 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
6326 attributes.
6327 (length): Compute variable length for branches/calls/jumps here.
6328 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
6329 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
6330 define branch_type attribute.
6331 (divsi3_sp32): Maximum length is 6 not 7.
6332 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
6333 call_address_untyped_struct_value_sp32,
6334 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
6335 * config/sparc/sparc.c (empty_delay_slot): New function.
6336 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
6337 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
6338
0a0440c9
JJ
63392002-03-29 Jakub Jelinek <jakub@redhat.com>
6340
6341 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
6342 nonzero_bits if not needed.
6343 (nonzero_bits) [XOR]: Likewise.
6344 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
6345 reg_last_set_mode and mode are both MODE_INT, but not equal.
6346 (record_value_for_reg): Compute reg_last_set_nonzero_bits
6347 in nonzero_bits_mode for MODE_INT modes.
6348
c9045f47
RH
63492002-03-28 Richard Henderson <rth@redhat.com>
6350
6351 PR target/5715
6352 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
6353 to GAS. Correct drift between alternatives.
6354
f8ed1958
RH
63552002-03-28 Richard Henderson <rth@redhat.com>
6356
6357 PR target/6087
6358 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
6359
54e20385
LR
63602002-03-28 Alexandre Oliva <aoliva@redhat.com>
6361
6362 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
6363 emulation to the linker.
6364
63652002-03-28 Loren J. Rittle <ljrittle@acm.org>
6366
6367 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
6368 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
6369
8bc52806
JL
6370Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
6371
6372 * combine.c (simplify_and_const_int): Make sure to apply mask
6373 when force_to_mode returns a constant integer. PR3311.
6374
279dccc5
JDA
63752002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
6376
6377 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
6378
62aaa62c
GP
63792002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6380
6381 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
6382 and Objective-C Dialect Options.
6383
b8de5050
RH
63842002-03-28 Richard Henderson <rth@redhat.com>
6385
6386 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
6387 comparison should be done vs !=0 not >0 return code. Tidy cases.
6388
619708cc
RH
63892002-03-28 Richard Henderson <rth@redhat.com>
6390
6391 * c-decl.c (finish_function): New arg can_defer_p. Pass it
6392 on to c_expand_body.
6393 * c-tree.h (finish_function): Update decl.
6394 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
6395
b1d874d7
JH
6396Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
6397
6398 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
6399
f5eb5fd0
JH
6400Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
6401
6402 * rtlanal.c: Include flags.h
6403 (may_trap_p): Do not mark FP operations if trapping
6404 if !flag_trapping_math
6405 * Makefile.in (rtlanal.o): Add dependency on flag.h
6406 * ifcvt.c (noce_operand_ok): Avoid the lameness.
6407
81b4c798
ZW
64082002-03-27 Zack Weinberg <zack@codesourcery.com>
6409
6410 * mips.md: Use dconst1, not 1.0, as first argument of
6411 REAL_VALUE_LDEXP. Don't use union real_extract.
6412
55a2ea2a
AM
64132002-03-28 Alan Modra <amodra@bigpond.net.au>
6414
6415 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
6416 rather than $target. Heed program_prefix and
6417 program_transform_name. Search for gas in cross-compiler case too.
6418 "test -x" rather than "test -f".
6419 (gcc_cv_ld): Likewise.
6420 (gcc_cv_nm): Heed program_prefix and program_transform_name.
6421 (gcc_cv_objdump): Likewise.
6422 * configure: Regenerate.
6423
7ffb4fd2
NB
64242002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6425
6426 * Makefile.in (attribs.o): Update.
6427 * attribs.c: Include langhooks.h.
6428 (decl_attributes): Use langhook.
6429 * c-decl.c (insert_default_attributes): Rename.
6430 * c-tree.h (c_insert_default_attributes): New.
6431 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
6432 (LANG_HOOKS_INITIALIZER): Update.
6433 * langhooks.h (struct lang_hooks): New hook.
6434 * tree.h (insert_default_attributes): Remove.
6435objc:
6436 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
6437
e4dbaed5
AS
64382002-03-27 Andreas Schwab <schwab@suse.de>
6439
6440 * config/i386/i386.c (classify_argument): Also check for
6441 QUAL_UNION_TYPE.
6442
18b467f1
RO
64432002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6444
6445 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
6446 any more.
6447
d337d653
JH
6448Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
6449
6450 * i960.md (ret): Set PC.
6451 (nonlocal_goto): Fix expander.
6452 * builtins.c (epxand_builin_longjmp): Check that we've emitted
6453 some jump or call.
6454
218aa620
JH
6455Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
6456
6457 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
6458 of libcall regions.
6459
e27a4eaf
ZD
6460Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6461
6462 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
6463 assigning to BLOCK_FOR_INSN directly.
6464
8a12f34c
JH
6465Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
6466
6467 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
6468
c9d892a8
NB
64692002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6470
6471 * c-common.c (c_expand_expr): Fix prototype.
6472 * c-common.h (c_expand_expr): Always declare, update.
6473 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6474 * c-objc-common.c (c_objc_common_init): No global hook.
6475 * expr.c (expand_expr): Use langhook.
6476 * expr.h (enum expand_modifier): Conditionally declare.
6477 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
6478 (LANG_HOOKS_INITIALIZER): Update.
6479 * langhooks.c (lhd_expand_expr): New.
6480 * langhooks.h (struct lang_hooks): New hook.
6481 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
6482 (lang_independent_init): Don't default hook.
6483objc:
6484 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6485
6dad5a56
RH
64862002-03-27 Richard Henderson <rth@redhat.com>
6487
6488 PR target/6054
6489 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
6490 TARGET_CONST_GP. Simplify conditions.
6491
59f96879
RH
64922002-03-27 Richard Henderson <rth@redhat.com>
6493
6494 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
6495 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
6496 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
6497
f3f1190d
DS
64982002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
6499
6500 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
6501 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
6502 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
6503 Remove unnecessary masks.
6504 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
6505 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
6506 -mwindows, -mdll switches and their negations.
6507
31c816cf
NB
65082002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6509
6510 * gcc-common.c (lang_mark_false_label_stack): Remove.
6511 * ggc.h (lang_mark_false_label_stack): Similarly.
6512
7b2e1077 65132002-03-26 Vladimir Makarov <vmakarov@redhat.com>
aee8f532
VM
6514
6515 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
6516
6517 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
6518 or __rtems_ is defined.
6519
1ef9531b
RH
65202002-03-26 Richard Henderson <rth@redhat.com>
6521
6522 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
6523 if a non-trivial load was emitted.
6524 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
6525 in high+extra+low case.
6526
300d4093
RH
65272002-03-26 Richard Henderson <rth@redhat.com>
6528
6529 * config.gcc (sparc*-solaris): Use float_format=sparc.
6530
b3689904
RH
65312002-03-26 Richard Henderson <rth@redhat.com>
6532
6533 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6534 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
6535 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
6536 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
6537 (WINT_TYPE_SIZE): Fix at 32.
6538
1eefb6c1
RH
65392002-03-26 Richard Henderson <rth@redhat.com>
6540
6541 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
6542 until after eh landing pad generation.
6543 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
6544 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
6545
361ea006
RH
65462002-03-26 Richard Henderson <rth@redhat.com>
6547
6548 * expr.h (ADD_PARM_SIZE): One more convert for INC.
6549
1de38a88
PE
65502002-03-26 Phil Edwards <pme@gcc.gnu.org>
6551
6552 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
6553 and warning switches.
6554 (cc1_options): Likewise.
6555
d7e60e95 65562002-03-26 Hans Boehm <Hans_Boehm@hp.com>
361ea006 6557
d7e60e95
HB
6558 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
6559 Restore more of the signal context. Set no_reg_stack_frame.
6560 * config/ia64/unwind-ia64.c (unw_state_record):
6561 Add no_reg_stack_frame, comments.
6562 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
6563 (uw_update_context): Adjust bsp when unwinding from leaf,
6564 but not signal frame.
6565
7032923b
DE
65662002-03-26 David Edelsohn <edelsohn@gnu.org>
6567
6568 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
6569
8be56275
BW
65702002-03-26 Bob Wilson <bob.wilson@acm.org>
6571
6572 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
6573
56fbb855
RE
65742002-03-26 Richard Earnshaw <rearnsha@arm.com>
6575
6576 PR target/5621
6577 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
6578 "Add a pool_range attribute", which was lost during the ARM/Thumb
6579 merge.
6580
3437320b
BW
65812002-03-26 Bob Wilson <bob.wilson@acm.org>
6582
6583 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
6584 a register into the MAC16 accumulator.
6585
173028e5
AC
65862002-03-26 Andrew Cagney <ac131313@redhat.com>
6587
6588 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
6589 (Warning Options): Document -Wswitch-enum.
6590 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
6591 -Wswitch.
6592 (warn_switch_enum): Define variables.
6593 * flags.h (warn_switch_enum): Declare variables.
6594 * stmt.c (expand_end_case_type): When warn_switch_enum /
6595 -Wswitch-enum, perform switch checks.
6596 Fix PR c/5044.
7b2e1077 6597
e14365a7
RE
65982002-03-26 Richard Earnshaw <rearnsha@arm.com>
6599
6600 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
6601 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
6602 (reload_muladdsi_compare0_scratch): Delete.
6603
46fc709d
LR
66042002-03-26 Loren J. Rittle <ljrittle@acm.org>
6605
6606 * doc/install.texi (*-*-freebsd*): Update.
6607
f36dea3c
RH
66082002-03-26 Richard Henderson <rth@redhat.com>
6609
8e5fe23f
RH
6610 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
6611 (SUB_PARM_SIZE): Cast DEC to ssizetype.
6612
6613 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
6614 types from the normal argument frame.
6615
f36dea3c
RH
6616 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
6617 variable sized objects by reference.
6618 (sparc_va_arg): Receive them by reference too.
6619
1447dc69
HP
66202002-03-26 Hartmut Penner <hpenner@de.ibm.com>
6621
6622 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
7b2e1077 6623 code to not restoring global registers.
1447dc69 6624
4f0ade92
NB
66252002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
6626
6627 * Makefile.in (ggc-common.o): Update.
6628 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
6629 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6630 * c-tree.h (c_mark_tree): New.
6631 * ggc-common.c: Include langhooks.h.
6632 (gcc_mark_trees): Use new langhook.
6633 * ggc-callbacks.c: Delete file.
6634 * ggc.h (lang_mark_tree): Remove.
6635 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
6636 (LANG_HOOKS_INITIALIZER): Update.
6637 * langhooks.h (struct lang_hooks): New hook.
6638objc:
6639 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6640
caba570b
ZW
66412002-03-25 Zack Weinberg <zack@codesourcery.com>
6642
6643 * doc/cpp.texi: Exclude entire Top node from printed manual.
6644 Move option index after directive index. Insert page breaks
6645 before GFDL and concept index. Index environment variables
6646 with command line options.
6647 * doc/cppenv.texi: Use @vtable for environment variable list.
6648 Add paragraph explaining semantics of empty elements in path
6649 variables. Exclude a cross-reference to Fishkill from the
6650 manpage. Remove an unnecessary cross-reference of the entry
6651 right above the referer. Don't use @anchor in text that goes
6652 into manpage.
6653 * doc/cppopts.texi: Cross-reference the environment variables
6654 section, not the specific environment variable, for consistency.
6655
6b2e80b7
RH
66562002-03-25 Richard Henderson <rth@redhat.com>
6657
6658 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
6659 anywhere in the block. Don't refer to insns that have been
6660 removed from the chain. Iterate backward through the new insns.
6661 Don't refer to edges that have been removed.
6662
67e469d7
AM
66632002-03-26 Alan Modra <amodra@bigpond.net.au>
6664
6665 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
6666 test for overflow of constant.
6667
f2356393
RE
66682002-03-25 Richard Earnshaw <rearnsha@arm.com>
6669
6670 PR target/2623
6671 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
6672 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
6673 these patterns on arm_archv4.
6674
355426ab
DS
66752002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
6676
6677 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
6678 int".
6679
15e5ad76
ZW
66802002-03-25 Zack Weinberg <zack@codesourcery.com>
6681
6682 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
6683 float_handled, float_handler, float_signal, set_float_handler,
6684 and do_float_handler. Set handler for SIGFPE to crash_signal.
6685 * toplev.h: Don't prototype do_float_handler.
6686
6687 * c-lex.c: Fold parse_float into lex_number. Make warning
6688 about portability of hex float constants more informative, and
6689 don't issue it on top of a syntax error.
6690 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
6691 their callers.
6692 * real.h: Define REAL_VALUE_ABS here...
6693 * simplify-rtx.c: ... not here. Fold check_fold_consts,
6694 simplify_unary_real, simplify_binary_real, and
6695 simplify_binary_is2orm1 into their callers.
6696 * tree.c: Fold build_real_from_int_cst_1 into caller.
6697
6698 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
6699
6700 * tsystem.h: Include float.h here...
6701 * libgcc2.c: ... not here.
6702
56ae9405
NC
67032002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
6704
6705 Fixes for: PR bootstrap/3591, target/5676
6706 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
6707 defined. Do not disable exceptions or rtti.
6708 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
6709 mcore.h. Disable exceptions and rtti, since they are not
6710 supported by EPOC.
6711
c88770e9
NB
67122002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
6713
6714 * c-decl.c (maybe_build_cleanup): Remove.
6715 * expr.c (expand_expr): Use langhook.
6716 * langhooks-def.h (lhd_return_null_tree,
6717 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
6718 (LANGHOOKS_INITIALIZER): Update.
6719 * langhooks.c (lhd_return_null_tree): New.
6720 * langhooks.h (struct lang_hooks): New hook.
6721 * tree-inline.c (initialize_inlined_parameters): Use langhook.
6722 * tree.h (maybe_build_cleanup): Remove.
6723
2ed1f154
JJ
67242002-03-25 Jakub Jelinek <jakub@redhat.com>
6725
6726 * regrename.c (build_def_use): Move recog_memoized
6727 before extract_insn.
6728
6ddae612
JJ
67292002-03-25 Jakub Jelinek <jakub@redhat.com>
6730
6731 PR target/6043
6732 * expr.c (emit_group_store): Handle storing into CONCAT.
6733
ea475b23
JJ
67342002-03-25 Jakub Jelinek <jakub@redhat.com>
6735
6736 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
6737 corresponding MATCH_DUP.
6738
e7d482b9
RH
67392002-03-24 Richard Henderson <rth@redhat.com>
6740
cd39fc13
RH
6741 * unroll.c (unroll_loop): Zero label_map.
6742
e7d482b9
RH
6743 * gcse.c: Include except.h.
6744 * Makefile.in (gcse.o): Update.
6745
1bd6476f
RH
67462002-03-24 Richard Henderson <rth@redhat.com>
6747
6748 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
6749 Do resolve_unique_section before shared data clause.
6750
2e6c150a
RH
67512002-03-24 Richard Henderson <rth@redhat.com>
6752
6753 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
6754
b29afcf8
RH
67552002-03-24 Richard Henderson <rth@redhat.com>
6756
15e5ad76 6757 * recog.c (peephole2_optimize): Split blocks when EH insns are
b29afcf8
RH
6758 generated in the middle of a block. Do global life update if
6759 zapped EH edges.
6760
05ed1296
RH
67612002-03-24 Richard Henderson <rth@redhat.com>
6762
6763 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
6764
3ddbb8a9
NB
67652002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6766
6767 preprocessor/3951
15e5ad76 6768 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
3ddbb8a9
NB
6769 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
6770 (init_dependency_output): Don't make no_output decision here.
6771
740b77b6
AC
67722002-03-24 Andrew Cagney <ac131313@redhat.com>
6773
6774 * stmt.c (check_for_full_enumeration_handling): Remove tests of
6775 warn_switch. Update description.
6776 (expand_end_case_type): Call check_for_full_enumeration_handling
6777 when warn_switch.
6778
7590cfd0
SC
67792002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6780
6781 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
6782 (m68hc11_split_move): Call it to see if the source and destination
6783 operands use the same direction auto inc/dec mode, otherwise make the
c61f581f 6784 source an offsetable memory operand and generate an add.
7590cfd0 6785
2e3d3481
SC
67862002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6787
6788 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
6789 register for operand 2.
6790 ("*subsi3_zero_extendqi"): Likewise.
6791 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
6792 bits so that it is compatible with a pop.
6793 ("*andhi3_gen"): Likewise.
6794 ("xorhi3"): Likewise.
6795
2784528c
NB
67962002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6797
6798 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
6799 -pedantic here...
6800 (cpp_post_options): ... not here.
6801
aaf93206
NB
68022002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6803 Aldy Hernandez <aldyh@redhat.com>
6804
6805 Removal of separate preprocessor cpp0.
6806
6807 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
6808 cpp0, install-common): Update.
6809 * c-common.c (flag_preprocess_only): New.
6810 (c_common_init): Preprocess for -E.
6811 * c-common.h (flag_preprocess_only): New.
6812 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
6813 * c-objc-common.c (c_init_decl_processing): Exit quickly
6814 for NULL return from c_common_init.
6815 * cpplib.h (cpp_preprocess_file): New.
6816 * cppmain.c (main, general_init, pfile, progname): Remove.
6817 (do_preprocessing): Rename cpp_preprocess_file, don't call
6818 cpp_finish. Don't close stdout here.
6819 (setup_callbacks): Update prototype.
6820 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
6821 Update.
6822 * tradcpp.c (main): Ignore -quiet.
6823objc:
6824 * lang-specs.h (default_compilers): Preprocess with cc1obj.
6825
c6e6f5c1
RH
68262002-03-24 Richard Henderson <rth@redhat.com>
6827
6828 PR optimization/5742
6829 * machmode.def: Add inner mode field to complex modes.
6830 * config/mips/mips.c (mips_function_value): Always define. Add
6831 new argument to handle libcalls.
6832 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
6833 (FUNCTION_VALUE): Likewise.
6834 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
6835 * config/mips/mips-protos.h: Update.
6836
d88e57d1
RH
68372002-03-23 Richard Henderson <rth@redhat.com>
6838
6839 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
6840 * config/sparc/sparc-protos.h: Update.
6841 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
6842
6dfaf9ba
RH
68432002-03-23 Richard Henderson <rth@redhat.com>
6844
6845 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
6846 _start or _init begins the text segment.
6847
0c769cf8
DE
68482002-03-23 David Edelsohn <edelsohn@gnu.org>
6849
6850 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
6851 not HOST_WIDEST_INT.
6852 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
6853
64e92a26
RE
68542002-03-23 Richard Earnshaw <rearnsha@arm.com>
6855
6856 PR java/5489
6857 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
6858 operand argument to output_return_instruction.
15e5ad76 6859 * arm.c (arm_print_operand, case 'd'): If the operand is
64e92a26
RE
6860 const_true_rtx then just return.
6861 (arm_print_operand, case 'D'): If the operand is const_true_rtx
6862 then abort.
6863
d6961341
AC
68642002-03-23 Andrew Cagney <ac131313@redhat.com>
6865
6866 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
6867 (Warning Options): Document -Wswitch-default.
6868 * toplev.c (W_options): Add -Wswitch-default. Update comment on
6869 -Wswitch.
6870 (warn_switch_default): Define variable.
6871 (warn_switch): Update comment.
6872 * flags.h (warn_switch_default): Declare variable.
6873 (warn_switch): Update comment.
6874 * stmt.c (expand_end_case): Check for and, when
6875 warn_switch_no_default, warn of a missing default case.
15e5ad76 6876
d4c5ac1f
AM
68772002-03-23 Alan Modra <amodra@bigpond.net.au>
6878
bbaa9790
AM
6879 * real.h (N): Special case 128 bit doubles.
6880
d4c5ac1f
AM
6881 * combine.c (simplify_comparison): When widening modes, ignore
6882 sign extension on CONST_INTs.
6883
84bf8c2c
BW
68842002-03-22 Bob Wilson <bob.wilson@acm.org>
6885
6886 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
6887 passed to adjust_address. Fix comment formatting.
6888
6889
b216cd4a
ZW
68902002-03-22 Zack Weinberg <zack@codesourcery.com>
6891
6892 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
6893 Always make REAL_VALUE_TYPE a struct containing an array of
6894 HOST_WIDE_INT, not a double. Tidy up the code deciding how
6895 big it is. Don't declare or use union real_extract.
6896
6897 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
6898 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
6899 (print_operand), config/arm/arm.c (output_move_double),
6900 config/arm/arm.md (consttable_4, consttable_8),
6901 config/romp/romp.c (output_fpops), config/s390/s390.h
6902 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
6903 (xtensa_output_literal): Don't use union real_extract.
6904
6905 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
6906 (sfmode_constant_to_ulong), config/ns32k/merlin.h
6907 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
6908 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
6909 (PRINT_OPERAND): Don't use local version of union
6910 real_extract.
6911
6912 * config/convex/convex.c (check_float_value), config/vax/vax.c
6913 (vax_float_literal), config/m88k/m88k.md (divdf3),
6914 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
6915 config/pdp11/pdp11.c (output_move_quad): Don't do host
6916 arithmetic on target floating point quantities.
6917
6918 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
6919 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
6920
6921 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
6922 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
6923
6924 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
6925 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
6926 INFINITY.
6927 * print-rtl.c (print_rtx): Disable code which needs
6928 floating-point emulator.
6929 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
6930 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
6931 depending on HOST_FLOAT_FORMAT to be defined properly.
6932
6933 * config/1750a/1750a.c (get_double, float_label): Delete.
6934 (print_operand): Delete huge commented-out chunk. Use
6935 REAL_VALUE_TO_DECIMAL.
6936 * config/1750a/1750a-protos.h: Delete prototypes of deleted
6937 functions.
6938 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
6939 IEEE_FLOAT_FORMAT.
6940 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
6941 Use REAL_VALUE_TO_DECIMAL as ELF version does.
6942 * config/m88k/m88k.c (real_power_of_2_operand,
6943 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
6944 real_extract out of the union; run the input through
6945 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
6946 from that into the union.
6947 * config/pdp11/pdp11.c (output_move_double): Rearrange
6948 parentheses to make automatic indenter happy.
6949
6950 * doc/tm.texi (Cross-compilation): Rename node to "Floating
6951 Point" and rewrite to describe current situation. Also adjust
6952 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
6953 match code.
6954 * doc/rtl.texi: Adjust cross reference.
6955
a8cacfd2
BW
69562002-03-22 Bob Wilson <bob.wilson@acm.org>
6957
6958 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
6959 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
6960 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
6961 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
6962 prevent use of sp as a reload register.
6963 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
6964 non_acc_reg_operand.
6965 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
6966 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
6967 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
6968 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
6969
d4e6133f
NB
69702002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
6971
b216cd4a
ZW
6972 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
6973 * cpplex.c (unterminated): Delete.
6974 (parse_string): No string literal may extend over multiple
6975 lines. Suppress the error when preprocessing assembly.
d4e6133f
NB
6976 * cppmain.c (scan_translation_unit): Strings are single-line.
6977
b216cd4a 6978 * doc/cpp.texi: Update to match.
d4e6133f 6979
65e6c005
JJ
69802002-03-22 Jakub Jelinek <jakub@redhat.com>
6981
6982 PR optimization/5854
6983 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
6984 Shut up warnings.
6985 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
6986 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
6987 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
6988 const0 if scratch register was not allocated.
6989 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
6990 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
6991 with GEN_INT (...).
6992 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
6993 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
6994 with GEN_INT (...) everywhere. Remove constraints in define_split
6995 patterns.
6996 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
6997 require scratch register for setting 0 into regs/non-pushable memory.
6998
7f48c9e1
AO
69992002-03-22 Alexandre Oliva <aoliva@redhat.com>
7000
7001 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
7002 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
7003
909de5da
PE
70042002-03-22 Phil Edwards <pme@gcc.gnu.org>
7005
7006 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
7007 * cppinit.c (cpp_create_reader): On by default.
7008 (cpp_handle_option): Handle -W[no-]endif-labels.
7009 (cpp_post_options): Also enable if -pedantic.
7010 * cpplib.c (do_else): Use it.
7011 (do_endif): Likewise.
7012 * doc/cppopts.texi: Document new option.
7013 * doc/invoke.texi: Document new option.
7014
d8bf17f9
LB
70152002-03-22 Lars Brinkhoff <lars@nocrew.org>
7016
7017 * config/i386/i386.c, config/i386/i386.md: Change all occurences
7018 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
7019
70e0ccd0
AO
70202002-03-22 Alexandre Oliva <aoliva@redhat.com>
7021
7022 * flow.c (calculate_global_regs_live): Clear aux fields of
7023 ENTRY and EXIT.
7024
68882f0f
JJ
70252002-03-22 Jakub Jelinek <jakub@redhat.com>
7026
7027 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
7028 REG or MEM subregs, pass rtx * instead of rtx to it.
7029 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
7030 rtx * instead of rtx to alter_subreg.
7031 * config/m32r/m32r.c (gen_split_move_double): Likewise.
7032 * config/pj/pj.c (pj_output_rval): Likewise.
7033
648fe28b
RH
70342002-03-22 Richard Henderson <rth@redhat.com>
7035
7036 PR target/3177
7037 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
7038 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
7039 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
7040 (ia64_expand_prologue): Look at int_regs, not words, for number
7041 of incomming int regs.
7042
e8dcd824
AM
70432002-03-22 Andrew MacLeod <amacleod@redhat.com>
7044
7045 * expr.c (expand_expr): A RESULT_DECL is part of a call.
7046
96327cdc
JH
7047Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
7048
7049 * toplev.c (flag_loop_optimize, flag_crossjumping):
7050 New static variables.
7051 (rest_of_compilation): Conditionalize crossjumping and
7052 loop optimizer.
7053 (parse_options_and_default_flags): Default loop_optimize and
7054 crossjumping.
7055 (lang_independent_options): Add -fcrossjumping and -floop-optimize
7056 * invoke.texi (crossjumping, loop-optimize): Document.
7057
bc185257
RS
70582002-03-22 Richard Sandiford <rsandifo@redhat.com>
7059
7060 * real.c (eiisneg): Move outside #ifdef NANS.
7061
0a2ed1f1
JH
7062Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
7063
7064 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
7065 frequencies match; avoid match on different loop depths.
7066 (try_crossjump_to_bb): Kill tests that no longer brings time
7067 savings.
7068 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
7069 updating code.
7070 (split_edge): Likewise.
7071
7072 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
7073 variable.
7074
7075 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
7076 * cfgrtl.c: Include insn-config.h
7077 (split_block) Dirtify block in presence of conditional execution
7078
4d72536e
RS
70792002-03-22 Richard Sandiford <rsandifo@redhat.com>
7080
7081 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
7082 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
7083 (function_arg): Constify CUMULATIVE_ARGS.
7084 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
7085 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
7086 (UNITS_PER_DOUBLE): New macro.
7087 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
7088 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
7089 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
7090 fp_regs and stack_words.
7091 (EABI_FLOAT_VARARGS_P): New macro.
7092 * config/mips/mips.c (struct mips_arg_info): New.
7093 (mips_arg_info): New function.
7094 (function_arg_advance): Use it. Add adjustment instructions here
7095 rather than in function_arg.
7096 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
7097 for VOIDmode at the beginning of the function.
7098 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
7099 (function_arg_pass_by_reference): Likewise.
7100 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
7101 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
7102 (mips_va_start): Likewise. Use the new stack_words field of
7103 CUMULATIVE_ARGS to set up overflow area. Reformat.
7104 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
7105 doubles and other types, aligning the overflow pointer for non-doubles
7106 too. Remove some code duplication. Replace hard-coded constants.
7107
e6f884cd
RS
71082002-03-22 Richard Sandiford <rsandifo@redhat.com>
7109
7110 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
7111 (CLASS_UNITS): Undefine.
7112 (CLASS_MAX_NREGS): Use FP_INC.
7113 * config/mips/mips.c (compute_frame_size): Likewise.
7114 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
7115
10cf9bde
NB
71162002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
7117
7118 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
7119 prototype, and handle lexing numbers and identifiers.
7120 (parse_identifier): Update to new form of parse_slow.
7121 (parse_number): Fast path only, use parse_slow otherwise.
7122 (_cpp_lex_direct): Update calls to parse_number.
7123
fbc2782e
DD
71242002-03-21 DJ Delorie <dj@redhat.com>
7125
7126 * bb-reorder.c (make_reorder_chain_1): Protect against
7127 when redundant edges are omitted.
7128 * predict.c (dump_prediction): Likewise.
7129
fba39eaf
RH
71302002-03-21 Richard Henderson <rth@redhat.com>
7131
7132 PR target/5996
7133 * fixinc/inclhack.def (solaris_stdio_tag): New.
7134 * fixinc/fixincl.x: Regenerate.
7135
eba80994
EB
71362002-03-21 Eric Botcazou <ebotcazou@multimania.com>
7137
7138 PR c/5597
7139 * c-typeck.c (process_init_element): Flag non-static
7140 initialization of a flexible array member as illegal.
7141
2a78758b
AM
71422002-03-22 Alan Modra <amodra@bigpond.net.au>
7143
7144 * config/rs6000/t-linux64: New.
7145 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
7146 t-ppccomm. Use t-rs6000 and t-linux64.
7147 (powerpc64-*-gnu* <tmake_file>): Likewise.
bac015e7
AM
7148 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
7149 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
7150 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
2a78758b 7151
2cb921f4
AH
71522002-03-21 Aldy Hernandez <aldyh@redhat.com>
7153
eba80994
EB
7154 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
7155 flag_really_no_inline instead of optimize == 0.
2cb921f4 7156
eba80994 7157 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
2cb921f4 7158
eba80994 7159 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
2cb921f4 7160
eba80994 7161 * flags.h (flag_really_no_inline): New.
2cb921f4 7162
659e5a7a 7163 * c-common.c (c_common_post_options): Initialize
eba80994 7164 flag_really_no_inline.
2cb921f4 7165
eba80994 7166 * toplev.c (flag_really_no_inline): New.
2cb921f4 7167
239b8b9d
JJ
71682002-03-21 Jakub Jelinek <jakub@redhat.com>
7169
7170 * config/avr/avr.md (length): Fix length computation for
7171 conditional branches.
7172
43577e6b
NB
71732002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
7174
7175 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
7176 sdbout.o, profile.o): Update.
7177 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
7178 langhook.
7179 * c-common.h (gettags): Move here from tree.h.
7180 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
7181 insert_block, getdecls, kept_level_p, global_bindings_p): New.
7182 * dbxout.c (dbxout_init): Use getdecls langhook.
7183 * expr.c (expand_expr): Use insert_block langhook.
7184 * fold-const.c: Include langhooks.h.
7185 (fold_range_test, fold_binary_op_with_conditional_arg,
7186 fold): Use global_bindings_p langhook.
7187 * integrate.c (expand_inline_function): Use insert_block langhook.
7188 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
7189 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
7190 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
7191 LANG_HOOKS_GETDECLS): New.
7192 (LANG_HOOKS_INITIALIZER): Update.
7193 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
7194 langhook.
7195 * langhooks.h (struct lang_hooks_for_decls): New.
7196 (struct lang_hooks): Update.
7197 * profile.c: Include langhooks.h.
7198 (output_func_start_profiler): Use new langhooks.
7199 * sdbout.c: Include langhooks.h.
7200 (sdbout_init, sdbout_finish): Use getdecls langhook.
7201 * stmt.c: Include langhooks.h.
7202 (expand_fixup, fixup_gotos): Use new langhooks.
7203 * stor-layout.c: Include langhooks.h.
7204 (variable_size): Use global_bindings_p langhook.
7205 * toplev.c (compile_file): Use getdecls langhook.
7206 * tree-inline.c (remap_block): Use insert_block langhook.
7207 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
7208 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
7209
5b19b10c
RH
72102002-03-21 Richard Henderson <rth@redhat.com>
7211
7212 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
7213 constants in .data when -fpic.
7214
e05af335
GP
72152002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7216
7217 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
7218 where appropriate.
7219
60ffc997
TT
72202002-03-21 Tom Tromey <tromey@redhat.com>
7221
7222 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
7223
75897075
RK
7224Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7225
a73afd69 7226 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
46399021 7227
75897075
RK
7228 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
7229
312687cf
EB
72302002-03-21 Eric Botcazou <ebotcazou@multimania.com>
7231 Richard Henderson <rth@redhat.com>
7232
7233 PR c/5354
7234 * c-common.c (c_expand_expr): Preserve result of a statement
7235 expression if needed.
7236
f0e1f482
JJ
72372002-03-21 Jakub Jelinek <jakub@redhat.com>
7238
7239 PR bootstrap/4195
7240 * genrecog.c (maybe_both_true_mode): Remove.
7241 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
7242 * machmode.def (Pmode): Likewise.
7243
c14b9960
JW
7244Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
7245
7246 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
7247 (nonlocal_mentioned_p_1): New function.
7248 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
7249 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
7250 (mark_constant_function): Recognize pure functions.
7251 * rtl.h (global_reg_mentioned_p): New prototype.
7252 * rtlanal.c (global_reg_mentioned_p,
7253 global_reg_mentioned_p_1): New function.
7254
aaa4d130
RO
72552002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7256
7257 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
7258 UNIX assert.h.
7259 * fixinc/fixincl.x: Regenerate.
7260
e5c4bd1b
JM
72612002-03-20 Jason Merrill <jason@redhat.com>
7262
7263 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
7264
852b81bb
MM
72652002-03-20 Michael Meissner <meissner@redhat.com>
7266
7267 * doc/invoke.texi (Optimize Options): Document that -O2 sets
7268 -fstrict-aliasing.
7269
86d8c251
BW
72702002-03-20 Bob Wilson <bob.wilson@acm.org>
7271
7272 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
7273 ".literal_position" directive before the constant pool.
7274
0a39c350
GP
72752002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7276
7277 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
7278 Add Craig Rodrigues.
7279 Add Brad Lucier to testers.
7280
71a83373
JJ
72812002-03-20 Jakub Jelinek <jakub@redhat.com>
7282
7283 PR target/4792
7284 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
7285 to if_then_else.
7286 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
7287 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
7288 instead of insn_extract.
7289
a29b099d
JJ
72902002-03-20 Jakub Jelinek <jakub@redhat.com>
7291
7292 PR bootstrap/4192
71a83373 7293 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
a29b099d
JJ
7294
7295 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
7296 stmt if some case has been output.
7297
048b1c95
JJ
72982002-03-20 Jakub Jelinek <jakub@redhat.com>
7299
7300 PR c/5972
7301 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
7302 movsfcc_1, movdfcc_1): Add %O2.
7303 * config/i386/i386.c (print_operand): Handle %ON.
7304 Print . before float condition codes in Sun as cmov syntax.
7305 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
7306 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
7307 no longer true.
7308
f4864588
PB
73092002-03-20 Philip Blundell <pb@nexus.co.uk>
7310
7311 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
7312 return instruction if PC was popped.
7313
3a307de4
BW
73142002-03-20 Bob Wilson <bob.wilson@acm.org>
7315
7316 * config/xtensa/xtensa.md: Remove unused type attributes.
7317 (adddi_carry, subddi_carry): Change type attribute to "multi".
7318
048b1c95 73192002-03-19 Dale Johannesen <dalej@apple.com>
ed7d44bc
DJ
7320
7321 PR optimization/5999, middle-end/5731
7322 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
7323 multiplications by reciprocals.
7324
7afff7cf
NB
73252002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
7326
7327 * Makefile.in: Update.
7328 * c-common.c: Include langhooks.h.
7329 (inline_forbidden_p): Use new hook.
7330 * diagnostic.c: Include langhooks.h.
7331 (format_with_decl, announce_function,
7332 default_print_error_function): Use new hook.
7333 * dwarf2out.c (dwarf2_name): Use new hook.
7334 * function.c: Include langhooks.h.
7335 (init_function_start): Use new hook.
7336 * langhooks-def.h (lhd_decl_printable_name): New.
7337 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
7338 (LANGHOOKS_INITIALIZER): Update.
7339 * langhooks.c (lhd_decl_printable_name): New.
7340 * langhooks.h (struct lang_hooks): New hook.
7341 * toplev.c (decl_name, decl_printable_name): Remove.
7342 (open_dump_file): Use new hook.
7343 (process_options): Remove old hook.
7344 * tree.h (decl_printable_name): Remove.
7345objc:
7346 * objc-act.c (objc_init): Remove old hook.
7347 (objc_printable_name): Export.
7348 * objc-act.h (objc_printable_name): New.
7349 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
7350
f78ce0b7
JB
73512002-03-19 Jim Blandy <jimb@redhat.com>
7352
7353 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
7354 the start_source_file debug hook, not the current line number.
7355
15b5aef3
RH
73562002-03-19 Richard Henderson <rth@redhat.com>
7357
7358 * flow.c (EH_USES): Provide default.
7359 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
7360 * doc/tm.texi (EH_USES): New.
7361
7362 * config/ia64/ia64.c (ia64_eh_uses): New.
7363 * config/ia64/ia64-protos.h: Update.
7364 * config/ia64/ia64.h (EH_USES): New.
7365
02a7a3fd
RH
73662002-03-19 Richard Henderson <rth@redhat.com>
7367
7368 * varasm.c (output_constant_def): Fix stupid typo.
7369
93f82d60
RH
73702002-03-19 Richard Henderson <rth@redhat.com>
7371
2842be05 7372 PR 5879
93f82d60
RH
7373 * except.c (current_function_has_exception_handlers): New.
7374 * except.h: Declare it.
7375 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
7376 Combine tests that disable all sibcalls for the function.
7377
ed4fbfa0
OH
73782002-03-19 Olivier Hainque <hainque@act-europe.fr>
7379
7380 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
7381 for INTEGER_CST.
7382
ebf0e888
RH
73832002-03-19 Richard Henderson <rth@redhat.com>
7384
1e82682b 7385 PR 5977, 5991
ebf0e888
RH
7386 * config/ia64/ia64.c: Revert 2002-03-01 patch.
7387 * config/ia64/ia64.h (INIT_EXPANDERS): New.
7388
e37b38d7
JB
73892002-03-19 Jim Blandy <jimb@redhat.com>
7390
7391 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
7392 name, even if the replacement list contains no tokens, as required
7393 by Dwarf.
7394
2a4ea326
JM
73952002-03-19 Jason Merrill <jason@redhat.com>
7396
f9d09ae5
JM
7397 * varasm.c (globalize_decl): Get the name from the RTL, not
7398 DECL_ASSEMBLER_NAME.
7399
2a4ea326
JM
7400 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
7401
99b96edb
BW
74022002-03-19 Bob Wilson <bob.wilson@acm.org>
7403
7404 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
7405 subdi_carry): Define.
7406
3774b567
DE
74072002-03-19 David Edelsohn <edelsohn@gnu.org>
7408
7409 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
7410 about -fpic/-fPIC if extra_warnings set.
7411
21ef78aa
DE
74122002-03-19 David Edelsohn <edelsohn@gnu.org>
7413
7414 * expr.c (expand_expr): Sign-extend CONST_INT generated from
7415 TREE_STRING_POINTER.
0c2fdcdf 7416 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
21ef78aa 7417
91d4b3fd
RK
7418Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7419
7420 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
7421 in favor of SP if FRAME_POINTER_REQUIRED is false.
7422
2496c7bd
LB
74232002-03-19 Lars Brinkhoff <lars@nocrew.org>
7424
7425 * emit-rtl.c (gen_int_mode): New function.
7426 * rtl.h: Prototype for it.
7427 * combine.c (make_extraction, simplify_comparison), expmed.c
7428 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
7429 (convert_modes, store_field), optabs.c (expand_fix),
7430 simplify-rtx.c (neg_const_int, simplify_unary_real),
7431
7432 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
7433 Use it instead of GEN_INT (trunc_int_for_mode (...)).
7434
f735a153
JJ
74352002-03-19 Jakub Jelinek <jakub@redhat.com>
7436
7437 PR c/5656
7438 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
7439 convert_parm_for_inlining.
7440 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
7441 Define.
7442 * langhooks-def.h: Likewise.
7443 * objc/objc-lang.c: Likewise.
7444 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
7445 function.
7446 * tree-inline.c (initialize_inlined_parameters):
7447 Call convert_parm_for_inlining lang hook if needed.
7448 * c-typeck.c (c_convert_parm_for_inlining): New function.
7449 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
7450
1929c971
MM
74512002-03-18 Mark Mitchell <mark@codesourcery.com>
7452
b216cd4a 7453 * calls.c (precompute_arguments): Do not assume that temporaries
1929c971
MM
7454 can be destroyed after expanding the argument.
7455 (expand_call): Likewise.
7456
c79ca0ac
EC
74572002-03-15 Eric Christopher <echristo@redhat.com>
7458
7459 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
7460 Fix register preference on last change.
7461 * config/mips/mips.c (mips_return_in_memory): New function.
7462 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
7463 * config/mips/mips-protos.h: Declare.
7464 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
7465 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
7466
07e2e444
AO
74672002-03-18 Alexandre Oliva <aoliva@redhat.com>
7468
1bfbbbcf
AO
7469 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
7470 a register too.
7471 (anddi3, iorsi3): Likewise.
7472
c066429e
AO
7473 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
7474 use %gprel for symbols that are going to be placed in linkonce
7475 sections.
7476
07e2e444
AO
7477 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
7478 RETURN_ADDRESS_POINTER_REGNUM to $ra.
7479 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
7480 not needed. Disregard leaf_function_p().
7481 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
7482 mips16 frame pointer.
7483 * config/mips/mips.md (store ra): Only to small SP offsets.
7484 2001-08-22 Graham Stott <grahams@redhat.com>
7485 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
7486 return a REG rtx for the return address register.
7487
eb8e00ea
BW
74882002-03-18 Bob Wilson <bob.wilson@acm.org>
7489
7490 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
7491 constant-pool addresses as "mode-dependent".
7492 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
7493
cbb92744
JJ
74942002-03-18 Jakub Jelinek <jakub@redhat.com>
7495
7496 PR target/5740
7497 * expr.c (emit_group_load): Use extract_bit_field if
7498 needed for CONCAT arguments.
7499
657d9449
RE
75002002-03-18 Richard Earnshaw <rearnsha@arm.com>
7501
91f3a802 7502 PR target/4863
657d9449
RE
7503 * arm.md (tablejump): Make this a define_expand. For PIC add the
7504 offset to the base of the table.
7505 (thumb_tablejump): Matcher for Thumb tablejump insn.
7506 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
7507 as the difference of two labels.
7508 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
7509 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
7510 tables in the code.
7511 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
7512 * arm.c (get_jump_table_size): If the table is not in the text
7513 section, return zero.
c79ca0ac 7514
5d5603e2
BS
75152002-03-18 Bernd Schmidt <bernds@redhat.com>
7516
7517 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
7518 of gen_rtx_SUBREG.
7519 (arm_reload_out_hi): Use gen_lowpart instead of
7520 gen_rtx_SUBREG to access QImode components.
7521 * config/arm/arm.md: Disable zero_extend split for QImode
7522 subregs in BIG_ENDIAN mode.
7523 (storehi_bigend): Match use of least significant byte.
7524 (storeinthi): Remove extraneous SUBREG.
66c17b64 7525 Add missing construction of operands[2].
5d5603e2
BS
7526 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
7527 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
7528 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
7529
df15fbc7
AH
75302002-03-18 Aldy Hernandez <aldyh@redhat.com>
7531
2496c7bd
LB
7532 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
7533 any_operand.
df15fbc7 7534
b83b7fa3
RH
75352002-03-17 Richard Henderson <rth@redhat.com>
7536
7537 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
7538 explicitly.
7539
6f7c00fe
HPN
75402002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7541
7542 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
7543 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
7544
155038f2
KG
75452002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7546
720d42fa
KG
7547 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
7548
155038f2
KG
7549 * predict.c (estimate_bb_frequencies): Delete unused variables.
7550
e6542f4e
RH
75512002-03-17 Richard Henderson <rth@redhat.com>
7552
7553 * config/ia64/ia64.c (ia64_attribute_table): Move before
7554 targetm definition. Make static.
7555
52dabb6c
NB
75562002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
7557
7558 * c-common.h (yyparse, c_common_parse_file): New.
7559 * c-lang.c: Include c-common.h.
7560 (LANG_HOOKS_PARSE_FILE): Redefine.
7561 * c-lex.c: Include c-common.h.
7562 (yyparse): Rename c_common_parse_file. Call yyparse.
7563 * c-parse.in (yyparse): Remove macro.
7564 * c-tree.h (yyparse_1): Remove.
7565 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
7566 (LANG_HOOKS_INITIALIZER): Update.
7567 * langhooks.h (struct lang_hoooks): New hook parse_file.
7568 * toplev.c (compile_file): Use parse_file hook.
7569 * tree.h (yyparse): Remove.
e6542f4e 7570 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
52dabb6c 7571
b5ffe606
HPN
75722002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7573
ba82f58b
HPN
7574 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
7575 float_truncate, not fix.
7576 ("*truncdfsf2_real"): Ditto.
7577 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
7578
b5ffe606
HPN
7579 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
7580
c8d1b2b7
AO
75812002-03-16 Alexandre Oliva <aoliva@redhat.com>
7582
cfb773f9
AO
7583 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
7584 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
7585 where appropriate. Make the second reference to
7586 leaf_function_p a function call, as intended. Reindented.
7587
4dffef52
AO
7588 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
7589 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
7590
4f5bd6d7
AO
7591 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
7592 add register to non-constant into sp.
7593
c8d1b2b7
AO
7594 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
7595 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
7596 (mips16_gp_pseudo_rtx): Lose.
7597 (INIT_EXPANDERS): Deleted.
7598 * config/mips/mips.c (mips_init_machine_status): New.
7599 (mips_free_machine_status): New.
7600 (mips_mark_machine_status): New.
7601 (override_options): Set them.
7602 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
7603 (struct machine_function): ... new. Replaced all references.
7604 (mips_add_gc_roots): Don't mark them.
7605 (embedded_pic_fnaddr_reg): New, extracted from...
7606 (embedded_pic_offset): ... here.
7607 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
7608 (movsi): Likewise.
7609
b3124fac
NB
76102002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7611
7612 * cppinit.c: Revert -MD removal.
7613
121449b6
SC
76142002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7615
7616 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
7617 soft registers by default for 68HC12.
7618 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
7619 when compiling with -fomit-frame-pointer.
7620 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
7621 (expand_epilogue): Likewise.
7622 (m68hc11_gen_rotate): Use exg when rotating by 8.
7623
840e2ff1
SC
76242002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7625
7626 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
7627 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
7628 (splits): Remove unused add splits.
7629 ("*addhi3_68hc12"): Tune constraints.
7630 ("addhi_sp"): Try to use X instead of Y in all cases and if the
7631 constant fits in 8-bits and D is dead use abx/aby instructions.
7632 ("*addhi3"): Remove extern declaration of ix_reg.
7633 ("*subsi3"): Optimize and provide new split.
7634 ("subhi3"): Cleanup.
7635 ("*subhi3_sp"): Avoid saving X if we know it is dead.
7636 (arith splits): For 68hc12 save the address register on the stack
7637 and do the arithmetic operation with a pop.
7638
3c9a5efe
SC
76392002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7640
7641 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
7642 allocating QImode in address registers.
7643 ("*movqi_m68hc11"): Likewise.
7644
e41f3392
JH
7645Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
7646
7647 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
7648
576786b0
NB
76492002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7650
7651 * cppinit.c (print_help): Display -MD and -MMD.
7652 Don't display usage string. Update assertion syntax and
7653 typo.
7654 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
7655 (cpp_handle_option): Update.
7656
1ac458d4
CD
76572002-03-15 Chris Demetriou <cgd@broadcom.com>
7658
7659 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
7660 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
7661 and define it so that regardless of target CPU size,
7662 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
7663 of "int" rather than "long."
7664
1fcd592b
RH
76652002-03-15 Richard Henderson <rth@redhat.com>
7666
7667 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
7668 size as a tree.
7669
a0df6910
SC
76702002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7671
7672 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
7673 ("tstqi" split): Avoid using memory for tstqi on address register.
7674 (splits): Remove constraints.
7675 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
7676 ("cmpdf", "cmpsf"): Remove since not used.
7677 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
7678 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
7679
015a2e59
SC
76802002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7681
7682 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
7683 ("neghi2"): Tighten constraints.
7684 ("one_cmplsi2"): Optimize and simplify split.
7685 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
7686
cd28557c
SC
76872002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7688
7689 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
7690 and split of AND operation to clear the upper bits.
7691 ("*logicalsi3_zextqi"): Likewise.
7692 ("*logicallhi3_zexthi_ashift8"): Likewise.
7693 ("*logicalsi3_silshr16"): Likewise.
7694 ("logicalsi3_silshl16"): Likewise.
7695 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
7696
932657df
SC
76972002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7698
7699 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
7700 (m68hc11_indirect_p): New function.
7701 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
7702 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
7703 TARGET_M6812.
7704 (asm_print_register): Likewise.
7705 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
7706 (m68hc11_indirect_p): Declare.
7707 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
7708 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
7709 (TARGET_SWITCHES): New option -mrelax.
7710 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
7711 destination.
7712 ("iorsi3", "xorsi3"): Likewise.
7713 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
7714 ("*andhi3_mem"): New to handle destination in memory with bclr
7715 and a scratch register.
7716 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
7717 ("*andhi3_const"): New when operand2 is constant.
7718 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
7719 ("*andhi3_gen"): Cleanup of the old "andhi3".
7720 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
7721 ("xorqi3"): Update constraints.
7722
fdffea1a
SC
77232002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7724
7725 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
7726 for reg_equiv_memory_loc when the operand is a register that does
7727 not get a hard register (stack location).
7728 (tst_operand): After reload, accept all memory operand.
7729 (symbolic_memory_operand): Fix detection of symbolic references.
7730 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
7731 accept symbols and any constant.
7732
6272bc68
SC
77332002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7734
7735 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
7736 note on the insn that sets the soft frame register.
7737 (must_parenthesize): ix and iy are also reserved names.
7738 (print_operand_address): One more place where parenthesis are required
7739 to avoid confusion with register names.
7740 (m68hc11_gen_movhi): Allow push of stack pointer.
7741 (m68hc11_check_z_replacement): Fix handling of parallel with a
7742 clobber.
7743 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
7744 the replacement register is.
7745 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
7746 and D8_REGS classes.
7747 (MODES_TIEABLE_P): All modes are tieable except QImode.
7748
1d2d9def
SC
77492002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7750
7751 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
7752 (___subdi3): Likewise.
7753 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
7754 (__map_data_section): Optimize 68hc11 case.
7755
a0ccf503
SC
77562002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7757
7758 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
7759 than a shift to avoid adding a register with itself.
7760 (m68hc11_memory_move_cost): Take into account NO_REGS.
7761 (m68hc11_register_move_cost): Update and use memory move cost
7762 for soft registers.
7763 (m68hc11_address_cost): Make cost of valid offset not 0 so that
7764 it gives more opportunities to cse to optimize.
7765 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
7766 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
7767
6e4ae815
MM
77682002-03-15 Mark Mitchell <mark@codesourcery.com>
7769
7770 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
7771 * c-common.def (CLEANUP_STMT): New tree node.
7772 * c-common.h (CLEANUP_DECL): New macro.
7773 (CLEANUP_EXPR): Likewise.
7774 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
7775 * expr.c (expand_expr): Tidy.
7776 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
7777 * tree-inline.c (initialize_inlined_parameters): Clean up
7778 new local variables.
7779
a42519be
JJ
77802002-03-15 Jakub Jelinek <jakub@redhat.com>
7781
7782 PR bootstrap/4128
7783 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
7784 before movrXX only, use reg_overlap_mentioned_p.
7785 Only special case NE if just one insn can be generated.
7786
15409448
JM
77872002-03-15 Jason Merrill <jason@redhat.com>
7788
7789 * varasm.c (assemble_variable): Call resolve_unique_section before
7790 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
7791 of error_mark_node.
7792
3a4edb44
RE
77932002-03-15 Richard Earnshaw <rearnsha@arm.com>
7794
7795 PR target/5170
7796 * arm.md (split pattern for thumb shiftable immediates): Add comment
7797 explaining non-obvious test.
7798
32defa36
RE
77992002-03-15 Richard Earnshaw <rearnsha@arm.com>
7800
7801 PR target/5712
7802 * arm.md (movaddr, movaddr_insn): Delete.
7803
5cc90635
JM
78042002-03-15 Jason Merrill <jason@redhat.com>
7805
7806 * toplev.c (wrapup_global_declarations): Clarify variable handling.
7807 -fkeep-static-consts doesn't apply to comdats.
7808
ecb0eece
RH
78092002-03-14 Richard Henderson <rth@redhat.com>
7810
7811 * c-decl.c: Include c-pragma.h.
7812 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
7813 (finish_function): Tidy.
7814 * c-pragma.c: Include c-common.h.
7815 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
7816 (handle_pragma_weak): Use them.
7817 (init_pragma): Register pending_weaks.
7818 * c-pragma.h (maybe_apply_pragma_weak): Declare.
7819 * print-tree.c (print_node): Print DECL_WEAK.
7820 * varasm.c (mark_weak_decls): Remove.
7821 (remove_from_pending_weak_list): Remove.
7822 (add_weak): Remove.
7823 (asm_emit_uninitialised): Call globalize_decl for weak commons.
7824 (weak_decls): Make a tree_list.
7825 (declare_weak): Cons weak_decls directly.
7826 (globalize_decl): Remove weak_decls elements directly.
7827 (weak_finish): Simplify weak_decls walk. Don't weaken unused
7828 symbols. Don't pretend to handle aliases.
7829 (init_varasm_once): Update weak_decls registry.
7830 * Makefile.in: Update dependencies.
7831
98d2b17e
RH
78322002-03-14 Richard Henderson <rth@redhat.com>
7833
7834 PR target/5312
7835 * config/ia64/ia64.c: Include tm_p.h last.
7836 (gen_nop_type): Remove duplicate definition.
7837 (cycle_end_fill_slots): Set sched_data for second L slot.
7838 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
7839 (nop_cycles_until): Fix typos.
7840
f2f4927e
JJ
78412002-03-15 Jakub Jelinek <jakub@redhat.com>
7842
7843 PR optimization/5891
7844 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
7845
5025a549
DM
78462002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
7847
7848 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
7849 descriptors correctly.
7850
03e9dbc9
MM
78512002-03-14 Michael Meissner <meissner@redhat.com>
7852
7853 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
7854 100, allowing MAX_UNROLLED_INSNS to be overridden.
7855
7856 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
7857 --param.
7858
7859 * unroll.c (params.h): Include.
7860 (MAX_UNROLLED_INSNS): Delete, now in params.h.
7861
7862 * doc/invoke.texi (--param max-unroll-insns): Document.
7863
7864 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
7865
12249385
RE
78662002-03-14 Richard Earnshaw <rearnsha@arm.com>
7867
7868 * arm.md: Fix warnings about constraints in peepholes and splits.
7869
f0cce04a
ZW
78702002-03-14 Zack Weinberg <zack@codesourcery.com>
7871
7872 * cpphash.h (struct lexer_state): Remove line_extension member.
7873 * cpplib.c (dequote_string, do_linemarker): New functions.
7874 (linemarker_dir): New data object.
7875 (DIRECTIVE_TABLE): No longer need to interpret #line in
7876 preprocessed source. Delete obsolete comment about return
7877 values of handlers.
7878 (end_directive, directive_diagnostics, _cpp_handle_directive):
7879 Don't muck with line_extension.
7880 (directive_diagnostics): No need to issue warnings for
7881 linemarkers here.
7882 (_cpp_handle_directive): Issue warnings for linemarkers here,
7883 when appropriate. Dispatch linemarkers to do_linemarker, not
7884 do_line.
7885 (do_line): Code to handle linemarkers split out to do_linemarker.
7886 Convert escape sequences in filename argument, both places.
7887
7888 * cppmacro.c (quote_string): Rename cpp_quote_string and
7889 export. All callers changed.
7890 * cpplib.h (cpp_quote_string): Prototype.
7891 * cppmain.c (print_line): Call cpp_quote_string on to_file
7892 before printing it.
7893
7894 * doc/cpp.texi: Document that escapes are now interpreted in
7895 #line and in linemarkers, and that non-printing characters are
7896 converted to octal escapes when linemarkers are generated.
7897
7898Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
83a49407
JH
7899
7900 * emit-rtl.c (try_split): Use delete_insns.
7901 * recog.c (split_all_insns): Fix terminating condition.
7902
c882c7ac
RE
79032002-03-14 Richard Earnshaw <rearnsha@arm.com>
7904 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7905
7906 PR target/5828
7907 * arm.c (arm_output_epilogue): Fix floating-point register save
7908 adjustment when using a frame pointer.
7909
3f26edaa
RS
79102002-03-14 Richard Sandiford <rsandifo@redhat.com>
7911
7912 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
7913 * config/mips/mips.c (compute_frame_size): Retrofit them here.
7914 (save_restore_insns, mips_expand_epilogue): And here.
7915 (build_mips16_call_stub): And here.
7916 (mips_function_value): Use the new macros to decide whether a single
7917 or complex float can be returned in floating-point registers. Return
7918 a parallel rtx in the complex case.
7919
1e3881c2
JH
7920Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
7921
7922 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
7923 call after liveness analysis.
7924
7925 * recog.c (split_insn): Use delete_insn_and_edges.
7926
7927 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
7928 instructions to have branch prediction notes.
7929 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
7930
200ef634
GK
79312002-03-14 Geoffrey Keating <geoffk@redhat.com>
7932
7933 * configure.in: Don't pass -Wno-long-long to a ADA compiler
7934 that doesn't support it.
7935 * configure: Regenerate.
7936
0b82d204
JJ
79372002-03-13 Jakub Jelinek <jakub@redhat.com>
7938
7939 PR target/5626
7940 * config/sparc/sparc.md (normal_branch, inverted_branch,
7941 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
7942 inverted_fp_branch): Adjust calls to output_cbranch.
7943 Set length attribute.
7944 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
7945 output_v9branch. Set length attribute.
7946 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
7947 predicates.
7948 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
7949 (output_cbranch): Likewise. Handle far branches.
7950 (output_v9branch): Handle far branches.
7951 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
7952 Adjust prototypes.
7953 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
7954 noov_compare64_op predicates.
7955
7a8de19b
JM
79562002-03-13 Jason Merrill <jason@redhat.com>
7957
7958 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
7959 into the function and constify it.
7960 * gthr-dce.h, gthr-solaris.h: Likewise.
7961
2a55fd42
DE
79622002-03-13 David Edelsohn <edelsohn@gnu.org>
7963
7964 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
7965 * config/rs6000/rs6000.c (rs6000_va_arg): Use
7966 std_expand_builtin_va_arg if not ABI_V4.
7967
19c5b1cf
JM
79682002-03-13 Jason Merrill <jason@redhat.com>
7969
7970 * varasm.c (globalize_decl): New fn.
7971 (assemble_start_function): Use it.
7972 (asm_emit_uninitialized): Use it.
7973 (assemble_alias): Use it.
7974 (assemble_variable): Use it.
7975
2a15f5e1
HPN
79762002-03-13 Hans-Peter Nilsson <hp@axis.com>
7977
7978 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
f0cce04a 7979 2002-03-12 internal visibility change.
2a15f5e1
HPN
7980 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
7981 visibility into SYMBOL_REF_FLAG.
7982
c0a3eeac
UW
79832002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7984
7985 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
7986 VOIDmode operand. Add compile-time optimization for constant results.
7987
a1652cee
JM
79882002-03-12 Jason Merrill <jason@redhat.com>
7989
7990 * c-typeck.c (convert_for_assignment): Don't allow conversions
7991 between pointers and references. Only allow lvalues to convert to
7992 reference.
7993
c52a375d
HP
79942002-03-13 Hartmut Penner <hpenner@de.ibm.com>
7995
f0cce04a
ZW
7996 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
7997 before prologue, to avoid scheduling problems.
c52a375d 7998
e387e99b
JJ
79992002-03-13 Jakub Jelinek <jakub@redhat.com>
8000
8001 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
8002 (ELIMINABLE_REGS): Add sfp->sp.
8003 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
8004
80052002-03-13 Jakub Jelinek <jakub@redhat.com>
09948ece
JJ
8006
8007 PR optimization/5892
8008 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
8009
4061c1a3
JJ
80102002-03-13 Jakub Jelinek <jakub@redhat.com>
8011
8012 * loop.c (basic_induction_var): Don't call convert_modes if mode
8013 classes are different.
8014
5b43fed1
RH
80152002-03-12 Richard Henderson <rth@redhat.com>
8016
9f53e965
RH
8017 PR optimization/5901
8018 * function.c (reposition_prologue_and_epilogue_notes): Position
8019 the markers after/before the last/first insn not deleted.
8020
80212002-03-12 Richard Henderson <rth@redhat.com>
8022
8023 PR optimization/5878
5b43fed1
RH
8024 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
8025 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
8026 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
8027
8028 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
8029 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
8030 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
8031
8032 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
8033 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
8034 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
8035 also. Don't set it if not flag_pic.
8036 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
8037 to be INVALID_REGNUM when not used.
8038
4e9bb42b
AH
80392002-03-13 Aldy Hernandez <aldyh@redhat.com>
8040
5b43fed1
RH
8041 * expmed.c (store_bit_field): Reset alias set for memory.
8042 (extract_bit_field): Same.
4e9bb42b 8043
2f9834e8
KG
80442002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8045
8046 * c-common.c (c_tree_code_type, c_tree_code_length,
8047 c_tree_code_name, add_c_tree_codes): Delete.
8048 * c-common.h (add_c_tree_codes): Delete.
8049 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
8050 Define.
8051 * c-objc-common.c (c_objc_common_init): Don't call
8052 add_c_tree_codes, instead set lang_unsafe_for_reeval.
8053 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
8054 objc_tree_code_name, add_objc_tree_codes): Delete.
8055 (objc_init): Don't call add_objc_tree_codes.
8056 * objc/objc-lang.c (tree_code_type, tree_code_length,
8057 tree_code_name): Define.
8058 * toplev.c (lang_independent_init): Don't set
8059 tree_code_length[IDENTIFIER_NODE].
8060 * tree.c (tree_code_type, tree_code_length, tree_code_name):
8061 Delete definitions, moved to language front-ends.
8062 * tree.def (IDENTIFIER_NODE): Hardwire the length.
8063 * tree.h (tree_code_type, tree_code_length, tree_code_name):
8064 Const-ify.
8065 (tree_code_length): Change type to unsigned char.
8066
36ad2436
RH
80672002-03-12 Richard Henderson <rth@redhat.com>
8068
8069 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
8070 internal visibility change.
8071
0ae02efa
BW
80722002-03-12 Bob Wilson <bob.wilson@acm.org>
8073
8074 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
8075 validize_mem() instead of change_address to avoid clobbering
8076 memory attributes.
8077
35bb2bee
NB
80782002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
8079
8080 * c-lex.h (position_after_whitespace): Remove.
8081
62ae2529
JJ
80822002-03-12 Jakub Jelinek <jakub@redhat.com>
8083
8084 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
8085 (lex_string): Use unsigned char pointers.
8086
6a45951f
UW
80872002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8088
8089 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
8090 is not a valid memory_operand.
8091
e2fb85da
BW
80922002-03-12 Bob Wilson <bob.wilson@acm.org>
8093
8094 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
8095 * config/xtensa/lib1funcs.asm: Fix copyright to include
8096 special case for libgcc files.
8097 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
8098 (__divsi3): Likewise.
8099 (__umodsi3): Likewise.
8100 (__modsi3): Likewise.
8101 * config/xtensa/lib2funcs.S: Fix copyright to include
8102 special case for libgcc files.
8103
5b8619f8
TR
81042002-03-12 Tom Rix <trix@redhat.com>
8105
8106 * collect2.c (resolve_lib_name): Move outside of
f0cce04a 8107 OBJECT_FORMAT_COFF ifdef.
5b8619f8
TR
8108 (ignore_library): Same.
8109
089c8f97
BW
81102002-03-12 Bob Wilson <bob.wilson@acm.org>
8111
8112 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
8113
958c70ff
BW
81142002-03-12 Bob Wilson <bob.wilson@acm.org>
8115
8116 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
8117 to function_section before writing out the constant pool.
8118
a65c591c
DE
81192002-03-12 David Edelsohn <edelsohn@gnu.org>
8120
8121 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
8122 zero_constant.
8123 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
8124
81252002-03-12 Alan Modra <amodra@bigpond.net.au>
8126
8127 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
8128 (adddi3): Likewise.
8129 (movdf): Likewise.
8130 (movdi): Likewise.
8131 (cmpsi splitter): Likewise.
8132 (modsi3): Fail if <= 0.
8133 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
8134 redundant test when HOST_BITS_PER_WIDE_INT != 32.
8135 (reg_or_sub_cint64_operand): Likewise.
8136 (num_insns_constant_wide): Optimize sign extension.
8137 (rs6000_legitimize_address): Likewise.
8138
17720332
AM
81392002-03-12 Andrew MacLeod <amacleod@redhat.com>
8140
8141 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8142 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8143
cd49f073
AM
81442002-03-12 Andrew MacLeod <amacleod@redhat.com>
8145
8146 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
8147 address calculation.
8148
6a4e49c1
UW
81492002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8150
8151 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
8152 scratch register to DImode / TImode.
8153 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
8154 register used does not overlap the target.
8155
54b6670a
KG
81562002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8157
8158 * Makefile.in (debug.o): Depend on debug.h.
8159 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
8160 * debug.c (do_nothing_debug_hooks): Likewise.
8161 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
8162 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
8163 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
8164 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
8165 * dwarfout.c (dwarf_debug_hooks): Likewise.
8166 * integrate.c (output_inline_function): Likewise.
8167 * objc/objc-act.c (synth_module_prologue): Likewise.
8168 * sdbout.c (sdb_debug_hooks): Likewise.
8169 * toplev.c (debug_hooks): Likewise.
8170 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
8171
2465bf76
KG
81722002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8173
8174 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
8175 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
8176 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
8177 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
8178 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
8179 * defaults.h (POINTER_SIZE): Define.
8180 * doc/tm.texi (POINTER_SIZE): Document default.
8181
53f3e9ca
KG
81822002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8183
8184 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
8185
44d3eb5b
RH
81862002-03-11 Richard Henderson <rth@redhat.com>
8187
8188 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
8189 if rebuild_label_notes_after_reload.
8190
4a085d2e
HPN
81912002-03-12 Hans-Peter Nilsson <hp@axis.com>
8192
8193 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
8194 emit pic register load if "internal" visibility.
8195 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
8196 (cris_expand_builtin_va_arg): Do all computations on trees.
8197
bc204393
RH
81982002-03-11 Richard Henderson <rth@redhat.com>
8199
8200 * rtlanal.c: Include recog.h.
8201 (keep_with_call_p): Fix thinko.
8202 * Makefile.in (rtlanal.o): Update dependencies.
8203
6b8b9d7b
CM
82042002-03-11 Chris Meyer <cmeyer@gatan.com>
8205
8206 * genflags.c (gen_insn): Use IS_VSPACE.
8207 * genoutput.c (output_insn_data): Likewise.
8208 (process_template): Likewise.
8209
6c40858f
RH
82102002-03-11 Richard Henderson <rth@redhat.com>
8211
8212 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
8213
40adaa27
NB
82142002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
8215
8216 * Makefile.in: Update.
6c40858f 8217 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
40adaa27 8218 Update documentation.
6c40858f
RH
8219 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
8220 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
40adaa27 8221
049b03f4
ZW
82222002-03-11 Zack Weinberg <zack@codesourcery.com>
8223
8224 * Makefile.in: Give texi2pod its input file as a command line
8225 argument, not on stdin.
8226
61eece67
DN
82272002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
8228 Daniel Berlin <dan@dberlin.org>
8229
8230 C++ alias analysis improvement.
f0cce04a 8231 * alias.c (record_component_aliases): Record aliases for base
61eece67
DN
8232 classes too.
8233
a65c591c
DE
82342002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
8235
ff080aba
UW
8236 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
8237
1682dbb1
DR
82382002-03-11 Douglas B Rupp <rupp@gnat.com>
8239
fa2d765a
DR
8240 * toplev.c (vms_fopen): Remove, not needed.
8241
6f1fd286
DR
8242 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
8243
b230e057
DR
8244 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
8245
cb9a8e97
DR
8246 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
8247 for FP, already done later.
8248
1682dbb1
DR
8249 * toplev.c (debug_args): Add entry for VMS_DEBUG.
8250 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
8251
3fcaac1d
RS
82522002-03-11 Richard Sandiford <rsandifo@redhat.com>
8253
8254 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
8255 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
8256 LARGEST_EXPONENT_IS_NORMAL for the given mode.
8257 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
8258 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
8259 (ediv, emul, eldexp, esqrt): Likewise.
8260 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
8261 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
8262 (saturate): New function.
8263 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
8264 (make_nan): Use a saturation value instead of a NaN if
8265 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
8266 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
8267 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
8268 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
8269 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
8270 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
8271 !ROUND_TOWARDS_ZERO.
8272 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
8273 (ROUND_TOWARDS_ZERO): Document.
8274
d25558be
AJ
82752002-03-11 Andreas Jaeger <aj@suse.de>
8276
8277 * cfg.c (dump_flow_info): Remove unused variable.
8278
c71f9ae7
HPN
82792002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
8280
8281 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
8282 computations on trees.
8283
561c9153
RH
82842002-03-10 Richard Henderson <rth@redhat.com>
8285
932b4e3e 8286 PR 5693:
561c9153
RH
8287 * reload.c (copy_replacements_1): New.
8288 (copy_replacements): Use it to recurse through the rtx.
8289
26b738be
RH
82902002-03-10 Richard Henderson <rth@redhat.com>
8291
8292 * loop.c (strength_reduce): Compute number of iterations as
8293 unsigned HOST_WIDE_INT.
8294
8d8a083e
RH
82952002-03-10 Richard Henderson <rth@redhat.com>
8296
8297 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
8298 to move away from the end of the block.
8299
32810ba3
NB
83002002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
8301
8302 PR preprocessor/5899
8303 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
d25558be 8304
2b03d201
KG
83052002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8306
f90c544c
KG
8307 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
8308
2b03d201
KG
8309 * attribs.c (decl_attributes): Fix signed/unsigned warning.
8310
3ec1b4cb
HPN
83112002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
8312
8313 * config/mmix/mmix.c: Improve comments.
8314 (mmix_target_asm_function_prologue): Drop variable
8315 empty_stack_frame. Don't allocate unused slot above fp.
8316 (mmix_target_asm_function_epilogue): Mirror prologue changes.
8317 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
8318 brace in first column.
8319 (enum reg_class): Ditto.
8320 (FIRST_PARM_OFFSET): Now 0.
8321 (USER_LABEL_PREFIX): Remove #if 0:d definition.
8322
27e486c5
KG
83232002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8324
8325 * combine.c (make_extraction): Fix error in last change.
8326
0139adca
KG
83272002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8328
8329 * c4x.c (c4x_fp_reglist): Const-ify.
8330 * cris.c (cris_print_operand): Likewise.
8331 * i386.c (ix86_va_arg): Likewise.
8332 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
8333 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
8334 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
8335 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
8336 * mcore.h (regno_reg_class): Likewise.
8337 * mips.c (gen_int_relational): Likewise.
8338 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
8339 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
a4334c36 8340 * pdp11.c (move_costs): Likewise.
0139adca
KG
8341 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
8342 * s390.c (s390_branch_condition_mnemonic, regclass_map):
8343 Likewise.
8344 * s390.h (regclass_map): Likewise.
8345 * sh.c (shift_amounts): Likewise.
a4334c36 8346 * sh.md (rotlsi3): Likewise.
0139adca 8347
889b90a1
GK
83482002-03-09 Geoffrey Keating <geoffk@redhat.com>
8349
8350 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
8351 (ne0+5): Use new clobber to generate proper shift pattern.
8352 Patch by Michael Matz <matz@kde.org>.
8353
2877e0ae
AS
83542002-03-09 Andreas Schwab <schwab@suse.de>
8355
8356 * gcc.c (validate_all_switches): Also handle `%W{...}'.
8357
79b51cd7
GK
83582002-03-09 Geoffrey Keating <geoffk@redhat.com>
8359
8360 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
8361
e0f1be5c
JJ
83622002-03-09 Jakub Jelinek <jakub@redhat.com>
8363
8364 PR middle-end/5877
8365 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
8366 even for non-representable constants.
8367
0a7ec763
RK
8368Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8369
93fe8e92
RK
8370 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
8371 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
8372 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
8373 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
8374 (pop_function_context): Compute MAY_SHARE parameter for
8375 fixup_var_refs.
8376 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
8377 (gen_mem_addressof): Call fixup_var_refs with new parm.
8378
0a7ec763
RK
8379 * combine.c (make_extraction): Don't make extension of CONST_INT.
8380
a85cd407
AO
83812002-03-09 Alexandre Oliva <aoliva@redhat.com>
8382
9445b814
AO
8383 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
8384 in o32 and o64 ABIs.
8385 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
8386 but getting fixed-size structs passed in registers regardless of
8387 padding in o32 and o64 ABIs.
8388
a85cd407
AO
8389 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
8390 offset before loading address of argument passed by transparent
8391 reference.
8392
c51fbe40
JDA
83932002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
8394
8395 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
8396
918e70dd
AO
83972002-03-09 Alexandre Oliva <aoliva@redhat.com>
8398
8399 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
8400 marker such that registers after it are saved.
8401
3070dd00
KG
84022002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8403
8404 * sparc.c (arith_4096_operand): Fix error in last change.
8405
e25d11b0
AO
84062002-03-08 Alexandre Oliva <aoliva@redhat.com>
8407
8408 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
8409 defaults for MEABI.
8410
41daaf0e
AH
84112002-03-08 Aldy Hernandez <aldyh@redhat.com>
8412
5b43fed1
RH
8413 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
8414 vectors.
41daaf0e 8415
fa139b00
AH
84162002-03-08 Aldy Hernandez <aldyh@redhat.com>
8417
5b43fed1 8418 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
fa139b00 8419
c51d95ec
JH
8420Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
8421
8422 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
8423 removed; fix return value.
8424 * combine.c (combine_instructions): Dirtify blocks where we failed to
8425 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
8426 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
8427
3b25fbfe
KG
84282002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8429
8430 * gcse.c (insert_insn_end_bb): Fix typo in last change.
8431
189ae0f4
JH
8432Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
8433
8434 * recog.c (peephole2_optimize): Re-distribute EH edges.
8435
24965e7a
NB
84362002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
8437
8438 * expr.c (expand_expr): Use unsave lang hook.
8439 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
8440 (LANG_HOOKS_INITIALIZER): Update.
8441 * langhooks.h (struct lang_hooks): New hook unsave.
8442 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
8443 (unsave_expr_1): Remove unused lang_unsave_expr_now.
8444 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
8445 (unsave_expr_now): Remove.
8446 * tree.h (unsave_expr_now, lang_unsave,
8447 lang_unsave_expr_now): Remove.
8448 (lhd_unsave): New.
8449
1e4e95d6
AJ
84502002-03-08 Andreas Jaeger <aj@suse.de>
8451
8452 * flow.c (propagate_block_delete_insn): Remove unused variable.
8453
054ef905
KH
84542002-03-08 Kazu Hirata <kazu@hxi.com>
8455
8456 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
8457 insn length for memory load/store.
8458
5304400d 84592002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
1e4e95d6 8460
5304400d
CR
8461 * doc/install.texi (--with-libiconv-prefix): Document.
8462
81034129
MB
84632002-03-08 Michael Y. Brukman <myb2@cornell.edu>
8464
8465 * doc/sourcebuild.texi: Fix typo.
8466
71db7d03
JJ
84672002-03-08 Jakub Jelinek <jakub@redhat.com>
8468
8469 PR c/3711
8470 * builtins.c (std_expand_builtin_va_arg): Do all computations on
8471 trees.
8472
127c1ba5
RK
8473Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8474
8475 * rtl.c (copy_most_rtx): Move from here ...
8476 * emit-rtl.c (copy_most_rtx): ... to here.
8477
8a13c092
AO
84782002-03-08 Alexandre Oliva <aoliva@redhat.com>
8479
5faae4f7
AO
8480 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
8481 SUBTARGET_CPP_SIZE_SPEC.
8482 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
8483
8a13c092
AO
8484 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
8485
4ec59de2
MH
84862002-03-07 Matt Hiller <hiller@redhat.com>
8487
8488 * gensupport.c (first_dir_md_include): Renamed from include;
8489 change all references.
8490 (last_dir_md_include): Renamed from last_include; change all
8491 references.
8492 (init_md_reader): Unconditionally initialize base_dir whether or
8493 not filename is a relative path.
8494
12f61e77
AO
84952002-03-07 Alexandre Oliva <aoliva@redhat.com>
8496
95356058
AO
8497 * config/fp-bit.c (_unord_f2): Compile it in even if
8498 US_SOFTWARE_GOFAST is enabled.
8499
12f61e77
AO
8500 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
8501 NULL_RTX. Set all HFmode operations as NULL_RTX.
8502 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
8503 NULL_RTX, try reversing the comparison and the operands.
8504
6d7a1c4c
UW
85052002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8506
8507 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
8508 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
8509 and MATCH_OP_DUP.
8510
66d54344
JH
8511Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
8512
8513 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
8514
068473ec
JH
8515Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8516
8517 * basic-block.h (fixup_abnormal_edges): Declare.
8518 * reload1.c (fixup_abnormal_edges): New function.
8519 * reg-stack.c (convert_regs): Use it.
8520
8521 * gcse.c (insert_insn_end_bb): Handle trapping insns.
8522
8523 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
8524
71925bc0
RS
85252002-03-07 Richard Sandiford <rsandifo@redhat.com>
8526
8527 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
8528 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
8529 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
8530 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
8531 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
8532 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
8533 unless x and y could be infinite.
8534 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
8535 Check that the common type of both arguments is a real, even for
8536 targets without unordered comparisons. Allow an integer argument
8537 to be compared against a real.
8538 (expand_tree_builtin): Use expand_unordered_cmp.
8539 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
8540 * cse.c (fold_rtx): Likewise. Fix indentation.
8541 * fold-const.c (fold_real_zero_addition_p): New.
8542 (fold): Use it, and the new HONOR_... macros.
8543 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
8544 * jump.c (reversed_comparison_code_parts): After searching for
8545 the true comparison mode, use HONOR_NANS to decide whether it
8546 can be safely reversed.
8547 (reverse_condition_maybe_unordered): Remove IEEE check.
8548 * simplify-rtx.c (simplify_binary_operation): Use the new macros
8549 to decide which simplifications are valid. Allow the following
8550 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
8551 and (a - -b) to (a + b).
8552 (simplify_relational_operation): Use HONOR_NANS.
8553 * doc/tm.texi: Document the MODE_HAS_... macros.
8554
145d3bf2
RE
85552002-03-07 Richard Earnshaw <rearnsha@arm.com>
8556
8557 * combine.c (simplify_comparison): If simplifying a logical shift
8558 right and compare with constant, force the comparison to unsigned.
8559
76a773f3
AH
85602002-03-07 Aldy Hernandez <aldyh@redhat.com>
8561
5b43fed1 8562 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
76a773f3 8563
5b43fed1
RH
8564 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
8565 -mabi=no-altivec
8566 (alt_reg_names): Remove % for vrsave.
76a773f3 8567
ab55f58c
RH
85682002-03-06 Richard Henderson <rth@redhat.com>
8569
5ddec02e 8570 PR optimization/5844
ab55f58c
RH
8571 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
8572 if used indicates we've already emitted one copy of an operand.
8573 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
8574 (gen_split): Supply a non-null used.
8575
e16e3291
UW
85762002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8577
5b43fed1 8578 * reload1.c (reload): Unshare all rtl after reload is done.
e16e3291 8579
1e4e95d6 8580 * simplify-rtx.c (simplify_plus_minus): Do not abort,
e16e3291
UW
8581 but simply fail if the expression is too complex to simplify.
8582 (simplify_gen_binary): Handle simplify_plus_minus failures.
8583
2ca6672b
JH
8584Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
8585
8586 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
8587 consistently call delete_trivially_dead_insns after CSE and GCSE;
8588 fix DFI_life dumping; do jump threading after liveness; do crossjumping
8589 after liveness2; update comment in last crossjumping.
8590 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
8591
31d0dd4f
JL
8592Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
8593
d094b0b3
JL
8594 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
8595 after completing fast dead code elimination.
8596
31d0dd4f
JL
8597 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
8598 COMPARE operator.
1e4e95d6 8599
f2b958b1
PE
86002002-03-06 Phil Edwards <pme@gcc.gnu.org>
8601
8602 * version.c: Fix misplaced leading blanks on first line.
8603
a2877a09
JH
8604Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
8605
8606 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
8607
fe477d8b
JH
8608Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
8609
8610 * cfgcleanup.c (mentions_nonequal_regs): New function.
8611 (thread_jump): Use it.
8612 * toplev.c (rest_of_compilation): Run jump threading after
8613 liveness.
8614
2041cde4
JJ
86152002-03-06 Jakub Jelinek <jakub@redhat.com>
8616
8617 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
8618 patch.
8619
82d68d46
JH
8620Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
8621
8622 * predict.c (estimate_bb_frequencies): Do not reload the
8623 frequencies from notes.
8624
3dec4024
JH
8625Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
8626
8627 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
8628 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
8629
8630 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
8631 delete_noop_moves): Return indeger.
8632 * flow.c (ndead): New variable.
8633 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
8634 BB argument; update callers.
8635 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
8636 (life_analysis): Do not call purge_all_dead_edges.
8637 (update_life_info): Return number of deleted insns; print statistics.
8638 (update_life_info_in_dirty_blocks): likewise.
8639 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
8640 return number of insns deleted.
8641
8642 * cse.c: Include timevar.h
8643 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
8644 iterate until stabilizes; print statistics; return number of killed
8645 insns.
8646 * Makefile.in: (cse.o): Add timevar.h dependency
8647 * rtl.h (delete_trivially_dead_insns): New.
8648 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
8649 * toplev.c (rest_of_compilation): Update callers.
8650
8651 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
8652 (try_optimize_cfg): Do not update liveness.
8653 (cleanup-cfg): Loop until try_optimize_cfg and dead code
8654 removal stabilizes; use delete_trivially_dead_insns.
8655
8656 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
8657
c7544dd8
ZW
86582002-03-05 Zack Weinberg <zack@codesourcery.com>
8659
8660 * cppmain.c (setup_callbacks): Disable #pragma and #ident
8661 callbacks when processing assembly language.
8662
50b424a9
JDA
86632002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8664
8665 * pa.h (ASM_FILE_END): Define.
8666 * som.h (ASM_FILE_END): Delete.
8667
8668 * pa.c (function_arg): Don't pass floats in general registers in
8669 indirect calls if TARGET_ELF32.
8670
6185f217
RH
86712002-03-05 Richard Henderson <rth@redhat.com>
8672
8673 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
8674
3020a4b2
DS
86752002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
8676
8677 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
8678
65649daa
JJ
86792002-03-05 Jakub Jelinek <jakub@redhat.com>
8680
8681 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
8682 -r command line. Don't hide any symbols if not building
8683 shared libgcc.
8684
5a1a3e5e
JH
8685Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
8686
8687 * cfg.c (dump_flow_info): Warn about profile mismatches.
8688 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
8689 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
8690
170c56da
JJ
86912002-03-05 Jakub Jelinek <jakub@redhat.com>
8692
8693 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
8694 wide volatile memory by parts.
8695
6d051694
JJ
86962002-03-05 Jakub Jelinek <jakub@redhat.com>
8697
8698 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
8699 is NULL.
8700
28bcfd4d
RH
87012002-03-05 Richard Henderson <rth@redhat.com>
8702
5b43fed1 8703 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
28bcfd4d 8704
75227a33
GK
87052002-03-04 Geoffrey Keating <geoffk@redhat.com>
8706
8707 * toplev.c (documented_lang_options): Document more
8708 language-specific options.
8709 * doc/invoke.texi (Warning Options): Correct documentation for
8710 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
8711 * c-decl.c (c_decode_option): Use a table to handle warning options.
8712
4f1aac42
HPN
87132002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
8714
8715 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
8716 parameter to mmix_encode_section_info.
8717 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
8718 relocatably. Always produce ELF, not mmo if linking relocatably.
8719 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
8720 first is non-zero, don't add symbol prefix.
8721 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
8722 prototype accordingly.
8723
12345543
KW
87242002-03-04 Krister Walfridsson <cato@df.lth.se>
8725
8726 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
8727
8e97db8f
JM
87282002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
8729
8730 * configure.in: Increase required makeinfo version to 4.1.
8731 * configure: Regenerate.
8732
06487868
GK
87332002-03-04 Geoffrey Keating <geoffk@redhat.com>
8734
8735 * .cvsignore: Remove *.info* and genrtl*; these files are generated
8736 elsewhere now.
8737
cff42170
JM
87382002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
8739
8740 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
8741 * doc/invoke.texi: Fix @math uses.
8742
974a7f56
JH
8743Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8744
8745 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
8746 removal
8747
3b7d0e98
AH
87482002-03-03 Aldy Hernandez <aldyh@redhat.com>
8749
5b43fed1
RH
8750 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
8751 (powerpc-*-eabisimaltivec*): Same.
3b7d0e98 8752
5b43fed1 8753 * config/rs6000/t-ppcendian: New.
3b7d0e98 8754
65f2f288
HB
87552002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8756
8757 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
8758 nonimmediate_src_operand and nonimmediate_lsrc_operand to
8759 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
8760
8ce0a8a5
RH
87612002-03-03 Richard Henderson <rth@redhat.com>
8762
8763 * toplev.c (rest_of_decl_compilation): Revert last two changes.
8764
ba31d94e
ZW
87652002-03-03 Zack Weinberg <zack@codesourcery.com>
8766
8767 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
8768 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
8769 tree.c, config/m68k/m68k.c:
8770 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
8771 REAL_ARITHMETIC blocks unconditional. Delete some further
8772 #ifdef blocks predicated on REAL_ARITHMETIC.
8773 * flags.h, toplev.c: Delete remaining references to
8774 flag_pretend_float.
8775
8776 * doc/invoke.texi: Remove documentation of -fpretend-float.
8777 * doc/tm.texi: Describe the various REAL_* macros as provided by
8778 real.h, not by the target configuration files.
8779
8780 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
8781 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
8782 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8783 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
8784 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
8785 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
8786 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
8787 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
8788 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
8789 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
8790 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
8791 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
8792 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
8793 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
8794 config/xtensa/xtensa.h:
8795 Do not define, undefine, or mention in comments any of
8796 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
8797 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
8798 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
8799 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
8800 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
8801 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
8802 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
8803 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
8804 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
8805
9a571cfd
KG
88062002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8807
e81dd381
KG
8808 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
8809 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
8810 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
8811 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
8812 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
8813 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
8814 Delete.
8815 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 8816 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 8817
9a571cfd
KG
8818 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
8819 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
8820 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
8821
ca7558fc
KG
88222002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8823
8824 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
8825 lieu of explicit sizeof/sizeof.
8826 * i386.c (override_options, ix86_init_mmx_sse_builtins,
8827 ix86_expand_builtin): Likewise.
8828 * mips.c (mips_add_gc_roots): Likewise.
8829 * mmix.c (mmix_output_condition): Likewise.
8830 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
8831 altivec_init_builtins): Likewise.
8832 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
8833 * cppexp.c (Nsuff, parse_number): Likewise.
8834 * cppinit.c (builtin_array_end): Likewise.
8835 * gcc.c (n_default_compilers, process_command): Likewise.
8836 * genpreds.c (output_predicate_decls): Likewise.
8837 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
8838 * lcm.c (N_ENTITIES): Likewise.
8839 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 8840
41c78c88
RH
88412002-03-03 Richard Henderson <rth@redhat.com>
8842
8843 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
8844 for types or labels.
8845
9e9b71e6
RH
88462002-03-03 Richard Henderson <rth@redhat.com>
8847
8848 * c-decl.c (start_decl): Initialized variables are not common.
8849
c26a6db8
PB
88502002-03-02 Per Bothner <per@bothner.com>
8851
8852 * gcc.c (option_map): Suport new --bootclasspath option.
8853 --CLASSPATH is now just an alias for --classpath.
8854
9e8aab55
RH
88552002-03-02 Richard Henderson <rth@redhat.com>
8856
8857 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
8858 load if "internal" visibility.
8859 * doc/extend.texi: Document visibility meanings.
8860
b3bbd220
RH
88612002-03-02 Richard Henderson <rth@redhat.com>
8862
8863 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
8864 to functions as well.
8865
b14707c3
RH
88662002-03-02 Richard Henderson <rth@redhat.com>
8867
8868 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
8869 (handle_visibility_attribute): Don't call assemble_visibility.
8870 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
8871 without asmspec. Invoke assemble_alias when needed.
8872 * varasm.c (maybe_assemble_visibility): New.
8873 (assemble_start_function, assemble_variable, assemble_alias): Use it.
8874
b2003250
RH
88752002-03-02 Richard Henderson <rth@redhat.com>
8876
8877 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
8878 invoke ENCODE_SECTION_INFO with first call flag.
8879
8880 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
8881 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 8882 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
8883 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
8884 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
8885 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
8886 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
8887 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
8888 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
8889 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
8890 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8891 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
8892 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
8893 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
8894 config/mcore/mcore-protos.h, config/mcore/mcore.c,
8895 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
8896 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 8897 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
8898 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
8899 config/sh/sh.h, config/sparc/sparc.h,
8900 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
8901 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
8902 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
8903 FIRST argument. As needed, examine it and do nothing.
8904
ba31d94e 8905 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
8906 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
8907 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
8908
8909 * config/arm/t-pe (pe.o): Add dependencies.
8910
5c60f03d
KG
89112002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8912
8913 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
8914 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
8915 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
8916 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
8917 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
8918 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
8919 * defaults.h (BITS_PER_UNIT): Define.
8920 * doc/tm.texi (BITS_PER_UNIT): Document default value.
8921
86855e8c
KH
89222002-03-02 Kazu Hirata <kazu@hxi.com>
8923
8924 * config/h8300/h8300-protos.h: Add a prototype for
8925 compute_a_shift_length.
8926 * config/h8300/h8300.c (h8300_asm_insn_count): New.
8927 (compute_a_shift_length): Likewise.
8928 (h8300_adjust_insn_length): Do not adjust insn length of shift
8929 insns.
8930 * config/h8300/h8300.md (anonymous shift patterns): Use
8931 compute_a_shift_length.
8932
f6041ed8
RK
8933Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8934
35aa3c1c
RK
8935 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
8936 trunc_int_for_mode.
8937
f6041ed8
RK
8938 * emit-rtl.c (offset_address): Call update_temp_slot_address.
8939
27b41650
KG
89402002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8941
8942 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
8943 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
8944 * flags.h (flag_zero_initialized_in_bss): Declare.
8945 * toplev.c (flag_zero_initialized_in_bss): New flag.
8946 (lang_independent_options): Add flag_zero_initialized_in_bss.
8947 * tree.c (initializer_zerop): New function.
8948 * tree.h (initializer_zerop): Declare.
8949 * varasm.c (assemble_variable): If we can emit bss, put zero
8950 initializers in the bss section.
8951
ca734b39
AM
89522002-03-02 Alan Modra <amodra@bigpond.net.au>
8953
8954 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
8955 like more than one symbol per .weak directive.
8956
49b72306
RH
89572002-03-01 Richard Henderson <rth@redhat.com>
8958
8959 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
8960 adjust argument_pointer by pretend_args_size.
8961 (ia64_va_start): Adjust va_start address by -pretend_args_size.
8962
fbf0fe41
KH
89632002-03-01 Kazu Hirata <kazu@hxi.com>
8964
8965 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
8966
0010687d
JH
8967Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
8968
8969 * toplev.c (rest_of_compilation): Delete dead jumptables before
8970 loop.
8971 * flow.c (delete_dead_jumptables): Make global.
8972 * rtl.h (delete_dead_jumptables): Declare.
8973
9429c84c
DE
89742002-03-01 David Edelsohn <edelsohn@gnu.org>
8975
8976 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
8977 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
0c2fdcdf 8978 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
9429c84c 8979
f0b6f9a6
KH
89802002-03-01 Kazu Hirata <kazu@hxi.com>
8981
8982 * config/h8300/h8300-protos.h: Fix formatting.
8983 * config/h8300/h8300.c: Likewise.
8984 * config/h8300/h8300.h: Likewise.
8985
bc8db8a1
KH
89862002-03-01 Kazu Hirata <kazu@hxi.com>
8987
8988 * config/h8300/h8300.c (print_operand): Support 16-bit
8989 constant addresses.
8990 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
8991
32b069d3
RH
89922002-02-28 Richard Henderson <rth@redhat.com>
8993
8994 * expmed.c (store_bit_field): Prevent generation of CONCATs;
8995 pun complex values as integers; use gen_lowpart instead of
8996 gen_rtx_SUBREG.
8997 (extract_bit_field): Likewise.
8998
79c4e63f
AM
89992002-03-01 Alan Modra <amodra@bigpond.net.au>
9000 David Edelsohn <edelsohn@gnu.org>
9001
9002 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
9003 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
9004 (SUPPORTS_WEAK): Likewise.
9005 * output.h (add_weak): Add tree param.
9006 * varasm.c (add_weak): Likewise. Save decl.
9007 (struct weak_syms): Add decl field.
9008 (mark_weak_decls): New function.
9009 (init_varasm_once): ggc_add_root mark_weak_decls.
9010 (assemble_start_function): Use ASM_WEAKEN_DECL.
9011 (assemble_variable): Likewise.
9012 (assemble_alias): Likewise.
9013 (declare_weak): Pass decl to add_weak.
9014 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
9015 (remove_from_pending_weak_list): Declare and define for
9016 ASM_WEAKEN_DECL.
9017 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
9018 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
9019 * defaults.h (SUPPORTS_WEAK): Likewise.
9020 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
9021 .weak for code sym. Do emit .size for descriptor sym.
9022 (ASM_DECLARE_FUNCTION_SIZE): Define.
9023 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
9024 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
9025 .lglobl unless TARGET_XCOFF. Formatting fixes.
9026 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
9027 .weak for code sym.
9028 (HANDLE_PRAGMA_WEAK): Remove.
9029 (ASM_WEAKEN_LABEL): Remove.
9030 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
9031
6f30f1f1
JM
90322002-03-01 Jason Merrill <jason@redhat.com>
9033
9034 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
9035 (TARGET_EXPR_CLEANUP): New macro.
9036
7879b81e
SE
90372002-02-28 Steve Ellcey <sje@cup.hp.com>
9038
9039 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
9040 to take ptr_extend into account as third type of extension.
9041 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
9042 fields used by SUBREG_PROMOTED_UNSIGNED_P.
9043 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
9044 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
9045 * calls.c (precompute_arguments): Use new macro.
9046 (expand_call): Ditto.
9047 * combine.c (nonzero_bits): Ditto.
9048 (record_promoted_value): Ditto.
9049 * expr.c (store_expr): Ditto.
9050 (expand_expr): Ditto.
9051 * function.c (assign_parms): Ditto.
9052
42d579d8
AO
90532002-02-28 Alexandre Oliva <aoliva@redhat.com>
9054
9055 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
9056 override -shared and -shared-libgcc.
9057
e0054185
DB
90582002-02-28 David O'Brien <obrien@FreeBSD.org>
9059
9060 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
9061 of "ultrasparc".
9062 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
9063 to be broken.
9064
abda4f1c
RH
90652002-02-28 Richard Henderson <rth@redhat.com>
9066
9067 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
9068 4 cycle latency from MM producers.
9069 (ia64_internal_sched_reorder): Likewise with pipeline flush.
9070
c0f08649
JJ
90712002-02-28 Jakub Jelinek <jakub@redhat.com>
9072
9073 * mklibgcc.in: Don't use GNU make extension.
9074
f79f2651
NB
90752002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9076
9077 * c-parse.in (STATIC): New terminal.
9078 (scspec): New non-terminal. Update productions accordingly.
9079 (program): Remove bogus ifc / end ifc.
9080 (array_declarator): Simplify production using STATIC.
9081
001e3fee
JM
90822002-02-28 Jim Meyering <meyering@lucent.com>
9083
9084 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
9085 \a still means TARGET_BELL.
9086
89076bb3
RH
90872002-02-28 Richard Henderson <rth@redhat.com>
9088
9089 * haifa-sched.c (sched_emit_insn): New.
9090 (schedule_block): Use last_scheduled_insn to track last insn.
9091 * sched-int.h (sched_emit_insn): Prototype.
9092 * config/ia64/ia64.c (last_issued): Remove.
9093 (ia64_variable_issue): Don't set it.
9094 (nop_cycles_until): Use sched_emit_insn.
9095
e3aaacf4
AM
90962002-02-28 Andrew MacLeod <amacleod@redhat.com>
9097
9098 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
9099 extended constants.
9100
7f473594
KH
91012002-02-28 Kazu Hirata <kazu@hxi.com>
9102
9103 * config/h8300/h8300.c: Fix formatting.
9104 * config/h8300/h8300.h: Likewise.
9105
b96c434c
MM
91062002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
9107
9108 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
9109 which may overwrite the high byte of the frame pointer.
9110
9b420a6a
BT
91112002-02-28 Bo Thorsen <bo@suse.de>
9112
9113 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
9114 (STARTFILE_SPEC): Add 64 bit files.
9115 (ENDFILE_SPEC): Likewise.
9116
6f30f1f1 91172002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
9118
9119 * c-decl.c (finish_function): Only warn about missing return
9120 statement with -Wreturn-type.
9121
70da1d03
JH
9122Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
9123
9124 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
9125
9126 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
9127 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
9128
38c1593d
JH
9129Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
9130
9131 * basic-block.h (BB_REACHABLE): Renumber.
9132 (BB_DIRTY, BB_NEW): New flags.
9133 (clear_bb_flags): Declare.
9134 (update_life_info_in_dirty_blocks): Declare.
9135 * cfg.c (clear_bb_flags): New function.
9136 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
9137 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
9138 reorder_insns, emit_insn_after): Mark block as dirty.
9139 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
9140 (update_life_info_in_dirty_blocks): New function.
9141 * recog.c (apply_change_group): Dirtify block.
9142
9143 * cse.c (cse_insn): Reorder emitting of jump insn to keep
9144 cfg consistent.
9145 * gcse.c (delete_null_pointer_checks): Likewise.
9146
9147 * toplev.c (dump_file_index): Move cse2 after bp,
9148 add DFI_null
9149 (dump_file_info): Similary.
9150 (rest_of_compilation): Avoid most of CFG rebuilds;
9151 do first if converision after null pointer checks, do cse2
9152 after branch prediction; avoid full liveness rebuild after
9153 initializing subregs.
9154 * invoke.texi (-d options): Document -du, renumber.
9155
9156 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
9157 (notice_new_block): Do not set BB_UPDATE_LIFE.
9158 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
9159 merge_blocks_move_successor_nojumps, merge_blocks,
9160 try_crossjump_to_edge): Likewise.
9161 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
9162 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
9163 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
9164 (merge_of_block): Do not use life_data_ok.
9165 (find_if_case_1): Do not use SET_UPDATE_LIFE.
9166 (if_convert): Use BB_DIRTY mechanizm to update life.
9167 * lcm.c (optimize_mode_switching): Update
9168 update_life_info_in_dirty_blocks
9169
63e1b1c4
NB
91702002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9171
9172 * Makefile.in (integrate.o): Update.
9173 * c-decl.c (copy_lang_decl): Rename.
9174 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9175 * integrate.c: Include langhooks.h.
9176 (copy_decl_for_inlining): Update to use langhook.
9177 * langhooks-def.h (lhd_do_nothing_t,
9178 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
9179 (LANG_HOOKS_INITIALIZER): Update.
9180 * langhooks.c (lhd_do_nothing_t): New.
9181 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
9182 * tree.h (copy_lang_decl): Remove.
9183objc:
9184 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9185
f472fa29
AM
91862002-02-27 Andrew MacLeod <amacleod@redhat.com>
9187
ba31d94e 9188 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
9189 POST_DEC, and POST_MODIFY.
9190
273cf2e4
ZW
91912002-02-27 Zack Weinberg <zack@codesourcery.com>
9192
9193 * c-typeck.c (digest_init): Remove unused parameter; all
9194 callers changed.
9195
4e07d762
GK
91962002-02-27 Geoffrey Keating <geoffk@redhat.com>
9197
9198 * expmed.c (expand_shift): Correctly test for low part of a
9199 subreg.
9200
6bc627b3
UW
92012002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
9202
9203 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
9204 insn UIDs with insn addresses.
9205
f458d1d5
ZW
92062002-02-27 Zack Weinberg <zack@codesourcery.com>
9207
9208 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
9209 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
9210 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
9211 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
9212 gcc.c, toplev.c: Delete code implementing -traditional mode.
9213
9214 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
9215 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
9216 Document removal of -traditional mode for compilation, and
9217 remove documentation only relevant to that mode.
9218
9219 * config/nextstep.h, config/ptx4.h, config/svr4.h,
9220 config/convex/convex.h, config/d30v/d30v.h,
9221 config/i386/dgux.h, config/i386/osf1elf.h,
9222 config/i386/osfelf.h, config/i386/osfrose.h,
9223 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
9224 config/m68k/hp310.h, config/m88k/dgux.h,
9225 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
9226 config/m88k/m88k.h, config/m88k/openbsd.h,
9227 config/mips/abi64.h, config/mips/osfrose.h,
9228 config/mips/svr4-5.h, config/mips/svr4-t.h,
9229 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
9230 config/stormy16/stormy16.h: Remove all references to
9231 -traditional from target specs. Delete all mention of the
9232 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
9233 delete a couple of commented-out definitions of
9234 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
9235 to -traditional.
9236
9237 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
9238 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
9239
e0b3a8ff
ZW
92402002-02-27 Zack Weinberg <zack@codesourcery.com>
9241
9242 * mklibgcc.in: Don't use \n in a line subject to
9243 interpretation by echo.
9244
5c6a85b7
GS
92452002-02-27 Graham Stott <grahams@redhat.com>
9246
72b05af1
GS
9247 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
9248 Constify NAME.
9249
7d104885
GS
9250 * loop.c (prescan_loop): Handle PARALLEL.
9251
8ed805d2
GS
9252 * unroll.c (loop_iterations): Return 0 if the add_val for
9253 a BIV is REG.
9254
fd478a0a
GS
9255 * final.c (output_operand_lossage): Constify PFX_STR.
9256
5c6a85b7
GS
9257 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
9258
cd98ad03
JH
9259Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
9260
9261 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
9262 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
9263
639ae55b
JH
9264Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
9265
9266 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
9267
e808ec9c
NB
92682002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
9269
9270 * cpplex.c (_cpp_lex_token): Handle directives in macro
9271 arguments.
9272 * cpplib.c (_cpp_handle_directive): Save and restore state
9273 if parsing macro args when entering a directive.
9274 * cppmacro.c (collect_args): No need to handle directives
9275 in macro arguments.
9276 (enter_macro_context, replace_args): Use the original macro
9277 definition in case it was redefined whilst collecting arguments.
9278doc:
9279 * cpp.texi: Update.
9280
f585a356
DE
92812002-02-26 David Edelsohn <edelsohn@gnu.org>
9282
9283 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
9284 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
9285 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
9286 method on AIX.
9287 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
9288 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
9289 (load_toc_v4_PIC_2): Same.
9290
92912002-02-26 Alan Modra <amodra@bigpond.net.au>
9292
9293 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
9294
d699058e
RH
92952002-02-26 Richard Henderson <rth@redhat.com>
9296
9297 * config/alpha/alpha.md (ashldi_se): Re-enable.
9298
eadccfbb
RH
92992002-02-26 Richard Henderson <rth@redhat.com>
9300
9301 * config/alpha/alpha.c (alpha_encode_section_info): Examine
9302 MODULE_LOCAL_P; improve commentary.
9303
7080ada1
ZW
93042002-02-26 Zack Weinberg <zack@codesourcery.com>
9305
9306 * doc/cpp.texi: Clarify documentation of relationship between
9307 #line and #include.
9308
b42cff6b
KH
93092002-02-26 Kazu Hirata <kazu@hxi.com>
9310
9311 * config/h8300/h8300-protos.h: Update the prototype for
9312 compute_logical_op_length. Add the prototype for
9313 compute_logical_op_cc.
9314 * config/h8300/h8300.c (compute_logical_op_length): Figure out
9315 code from operands.
9316 (compute_logical_op_cc): New.
9317 * config/h8300/h8300.md: Combine all the logical op patterns
9318 in HImode and SImode. Use compute_logical_op_cc.
9319
831c4e87
KC
93202002-02-26 Kelley Cook <kelleycook@comcast.net>
9321
9322 * config/i386/i386.c (print_operand): Don't append ATT-style
9323 length suffixs to x87 opcodes when in Intel mode.
9324
ff88fe10
RS
93252002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
9326
9327 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
9328 (init_emit_once): Update calls.
9329 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
9330 (init_syntax_once): Prototype.
9331
d4108589
JDA
93322002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
9333
9334 * pa-linux.h (LIB_SPEC): Update definition.
9335 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
9336
e013f3c7
RH
93372002-02-26 Richard Henderson <rth@redhat.com>
9338
9339 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
9340 if we emitted a stop bit.
9341
9e944a16
JJ
93422002-02-26 Jakub Jelinek <jakub@redhat.com>
9343
9344 * configure.in (libgcc_visibility): Substitute.
9345 * configure: Rebuilt.
9346 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
9347 defined symbols .hidden.
9348
47bd70b5
JJ
93492002-02-26 Jakub Jelinek <jakub@redhat.com>
9350
9351 * attribs.c (c_common_attribute_table): Add visibility.
9352 (handle_visibility_attribute): New function.
9353 * varasm.c (assemble_visibility): New function.
9354 * output.h (assemble_visibility): Add prototype.
9355 * tree.h (MODULE_LOCAL_P): Define.
9356 * crtstuff.c (__dso_handle): Use visibility attribute.
9357 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
9358 for MODULE_LOCAL_P symbols too.
9359 * config/ia64/ia64.c (ia64_encode_section_info): Handle
9360 MODULE_LOCAL_P symbols the same way as local symbols.
9361 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
9362 into .sdata/.sbss by the user.
9363 * doc/extend.texi (Function Attributes): Document visibility
9364 attribute.
9365
6d73371a
JJ
93662002-02-26 Jakub Jelinek <jakub@redhat.com>
9367
9368 PR debug/5770
9369 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
9370 STRING_CST initializer spanning the whole variable without
9371 embedded zeros.
9372 If expand_expr returned MEM, don't use it.
9373
06e224f7
AO
93742002-02-26 Alexandre Oliva <aoliva@redhat.com>
9375
9376 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
9377 generate a die for the lexical block.
9378
40367e2d
KH
93792002-02-26 Kazu Hirata <kazu@hxi.com>
9380
9381 * config/h8300/h8300-protos.h: Add a prototype for
9382 compute_logical_op_length.
9383 * config/h8300/h8300.c (compute_logical_op_length): New.
9384 * config/h8300/h8300.md (anonymous logical patterns): Use
9385 compute_logical_op_length for length.
9386
0e98f924
AH
93872002-02-26 Aldy Hernandez <aldyh@redhat.com>
9388
831c4e87
KC
9389 * dwarf2out.c (modified_type_die): Do not call type_main_variant
9390 for vectors.
9391 (gen_type_die): Same.
0e98f924 9392
831c4e87 9393 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 9394
a50cfd52
DE
93952002-02-26 Daniel Egger <degger@fhm.edu>
9396
831c4e87
KC
9397 * config/rs6000/rs6000.md: Swap define_insn attributes to
9398 fix incorrect generation of merge high instructions instead
9399 of merge low.
a50cfd52 9400
b7997284
AH
94012002-02-26 Aldy Hernandez <aldyh@redhat.com>
9402
831c4e87
KC
9403 * c-typeck.c (really_start_incremental_init): Use
9404 bitsize_zero_node for vectors.
b7997284 9405
376aec5d
AH
94062002-02-26 Aldy Hernandez <aldyh@redhat.com>
9407
831c4e87
KC
9408 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
9409 ("*set_vrsave_internal"): Same.
376aec5d 9410
3b40e71b
RH
94112002-02-25 Richard Henderson <rth@redhat.com>
9412
9413 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
9414 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
9415
232b8f52
JJ
94162002-02-25 Jakub Jelinek <jakub@redhat.com>
9417
9418 PR target/5755
9419 * config/i386/i386.c (ix86_return_pops_args): Only pop
9420 fake structure return argument if it was passed on the stack.
9421
67282790
JM
94222002-02-25 Jason Merrill <jason@redhat.com>
9423
9424 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
9425 RESULT_DECL.
9426
5c181756
AO
94272002-02-25 Alexandre Oliva <aoliva@redhat.com>
9428
9429 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
9430 link with shared_name only.
9431 * doc/invoke.texi (Link Options): Document new behavior.
9432
6786d201
AH
94332002-02-25 Aldy Hernandez <aldyh@redhat.com>
9434
831c4e87 9435 * c-typeck.c (push_init_level): Handle vectors.
6786d201 9436
7d6040e8
AO
94372002-02-25 Alexandre Oliva <aoliva@redhat.com>
9438
9439 * config/sparc/sparc.c (const64_high_operand): Zero-extend
9440 operands of SPARC_SETHI_P.
9441 (input_operand): Likewise.
9442 (sparc_emit_set_const32): Likewise.
9443 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
9444 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
9445 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
9446 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
9447 (movdi_insn_sp64_vis): Likewise.
9448 (movdi split, movdf split): Use SETHI32.
9449 * doc/md.texi: Document SPARC constraints L, M and N.
9450
b188f760
AH
94512002-02-25 Aldy Hernandez <aldyh@redhat.com>
9452
831c4e87
KC
9453 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
9454 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 9455
831c4e87
KC
9456 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
9457 gen_get_vrsave_internal.
b188f760 9458
8041889f
RK
9459Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9460
9461 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
9462
a47ed310
NB
94632002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
9464
9465 * cpplex.c (cpp_interpret_charconst): Get signedness or
9466 otherwise of wide character constants correct.
9467 * cppexp.c (lex): Get signedness of wide charconsts correct.
9468
cb8f73be
RK
9469Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9470
9471 * optabs.c (widen_operand): Only call convert_modes for
9472 promoted SUBREG if signedness matches.
9473 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
9474
2450e0b8
NB
94752002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9476
9477 * cpplib.c (glue_header_name): Use local buffer to build up
9478 header name.
9479
70b6aaed
NB
94802002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9481
9482 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
9483
6be580c7
KH
94842002-02-23 Kazu Hirata <kazu@hxi.com>
9485
9486 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
9487 H8/300[HS] separately.
9488 * config/h8300/h8300.md: Remove the early clobber constraint
9489 from bit field patterns.
9490
35dad9f1
KH
94912002-02-23 Kazu Hirata <kazu@hxi.com>
9492
9493 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
9494 register_operand.
9495 (mulhisi3): Likewise.
9496 (umulqisi3): Likewise.
9497 (umulhisi3): Likewise.
9498
ab8e2228
NB
94992002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9500
9501 * cppinit.c (output_deps): Correct test for stdout output.
9502 (init_dependency_output): Cure warning.
9503
ac6f8a15
RK
9504Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9505
9506 * expr.c (store_expr): When converting expression to promoted
9507 equivalent type, allow using SUBREG_REG of TARGET as the target
9508 of the expansion of EXP.
9509 * loop.c (basic_induction_var, case SUBREG): Always look inside.
9510 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
9511 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
9512 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
9513 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
9514
f282ffb3
JM
95152002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
9516
9517 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
9518 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
9519 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
9520
44c5edc0
JJ
95212002-02-23 Jakub Jelinek <jakub@redhat.com>
9522
9523 PR optimization/5747
9524 * loop.c (scan_loop): Update reg info if move_movables created new
9525 pseudos.
9526
f98e43c0
DE
95272002-02-23 David Edelsohn <edelsohn@gnu.org>
9528
9529 * gcc.c (init_gcc_spec): Revert last change.
9530
e72247f4
DE
95312002-02-23 David Edelsohn <edelsohn@gnu.org>
9532
9533 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
9534 gpc_reg_operand constraint.
9535
95362002-02-23 Alan Modra <amodra@bigpond.net.au>
9537
9538 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
9539 Simplify comparison of `low'.
9540 (add_operand): Fix formatting.
9541 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 9542 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
9543 (rs6000_stack_info): Remove redundant test setting push_p.
9544 (output_toc): Fix formatting.
9545 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
9546 cc_reg_not_cr0_operand constraint.
9547 (booldi3, boolcdi3 splitters): Same.
9548
a5c30531
AH
95492002-02-23 Aldy Hernandez <aldyh@redhat.com>
9550
831c4e87 9551 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 9552
43710f9f
DE
95532002-02-22 David Edelsohn <edelsohn@gnu.org>
9554
9555 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
9556 gcc invoked with -shared-libgcc.
9557
3256b817
JJ
95582002-02-22 Jakub Jelinek <jakub@redhat.com>
9559
9560 PR c++/5748
9561 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
9562 decl if any of elements was TREE_USED.
9563
9e0625a3
AO
95642002-02-22 Alexandre Oliva <aoliva@redhat.com>
9565
9566 * config/sparc/sol2.h: Don't include sys/mman.h.
9567 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
9568 (arith_4096_operand): Don't throw high bits away.
9569 (const64_operand): Take sign extension of CONST_INTs into account.
9570 (const64_high_operand, sparc_emit_set_const32): Likewise.
9571 (GEN_HIGHINT64): Likewise.
9572 (sparc_emit_set_const64_quick1): Likewise.
9573 (const64_is_2insns): Likewise.
9574 (print_operand): Use trunc_int_for_mode for sign extension.
9575 * config/sparc/sparc.h (SMALL_INT32): Likewise.
9576 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
9577 chars. Assume CONST_INT is already properly sign-extended.
9578 (movdi split): Sign-extend each SImode part.
9579 (andsi3 split): Don't mask high bits off, so that result
9580 remains properly sign-extend.
9581 (iorsi3 split): Likewise.
9582 (xorsi3 split): Likewise.
9583
54fec3d5
RS
95842002-02-22 Richard Sandiford <rsandifo@redhat.com>
9585
9586 * fold-const.c (fold): Fix typo in comments.
9587
667ada9b
DN
95882002-02-21 Diego Novillo <dnovillo@redhat.com>
9589
9590 * Makefile.in (langhooks.o): Update dependencies.
9591
29ac78d5
DN
95922002-02-21 Diego Novillo <dnovillo@redhat.com>
9593
9594 * langhooks.c: Include flags.h.
9595
6aa77e6c
AH
95962002-02-21 Aldy Hernandez <aldyh@redhat.com>
9597
9598 * testsuite/gcc.dg/attr-alwaysinline.c: New.
9599
9600 * c-common.c (c_common_post_options): Set inline trees by
9601 default.
9602
9603 * doc/extend.texi (Function Attributes): Document always_inline
9604 attribute.
9605 Update documentation about inlining when not optimizing.
9606
9607 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
9608
9609 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
9610 unless DECL_ALWAYS_INLINE.
9611
9612 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
9613 unless DECL_ALWAYS_INLINE.
9614 (c_disregard_inline_limits): Disregard if always_inline set.
9615
9616 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
9617 Disregard if always_inline set.
9618 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
9619 unless DECL_ALWAYS_INLINE.
9620
9621 * attribs.c (handle_always_inline_attribute): New.
9622 (c_common_attribute_table): Add always_inline.
9623
9624 * config/rs6000/altivec.h: Add prototypes for builtins
9625 requiring the always_inline attribute.
9626
c410d49e
EC
96272002-02-21 Eric Christopher <echristo@redhat.com>
9628
9629 * expmed.c (store_bit_field): Try to simplify the subreg
9630 before generating a new one when when the mode size of
9631 value is less than maxmode.
9632
e3c8ea67
RH
96332002-02-21 Richard Henderson <rth@redhat.com>
9634
9635 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
9636 than gen_rtx_PLUS to form the sum.
9637 * explow.c (force_reg): Rearrange to not allocate new pseudo
9638 when force_operand returns a register.
9639 * expr.c (expand_assignment): Allow offset_rtx expansion to
9640 return a sum. Do not force addresses into registers.
9641 (expand_expr): Likewise.
9642 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
9643 to canonicalize arithmetic that didn't simpify.
9644 (simplify_plus_minus): New argument force; update
9645 all callers. Don't split CONST unless we can do something with it,
9646 and wouldn't lose the constness of the operands.
9647
9648 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
9649 that we generated earlier.
9650
c1a046e5
TT
96512002-02-21 Tom Tromey <tromey@redhat.com>
9652
9653 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9654 (output_line_info): Use constant `1', with a long explanatory
9655 comment.
9656 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
9657
31fbaad4
R
9658Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
9659
9660 * jump.c (redirect_jump): If old label has no UID, don't try to
9661 delete it.
9662
a7f52356
R
9663Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
9664
9665 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
9666 If input is constant, do shifts at compile time.
9667
924fcc4e
JM
96682002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
9669
9670 * doc/extend.texi: Fix some more overfull hboxes.
9671
e5a20888
JJ
96722002-02-21 Jakub Jelinek <jakub@redhat.com>
9673
9674 PR optimization/4994
9675 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
9676 register moves.
9677
96782002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
9679
9680 PR c++/4574
9681 * expr.h (expand_and): Add mode argument.
9682 * expmed.c (expand_and): Add mode argument.
9683 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
9684 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
9685 * except.c (expand_builtin_extract_return_addr): Likewise.
9686 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
9687 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
9688 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
9689 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
9690 * config/c4x/c4x.md: Use GEN_INT (x) instead of
9691 gen_rtx (CONST_INT, VOIDmode, x).
9692
7133e992
JJ
96932002-02-21 Jakub Jelinek <jakub@redhat.com>
9694
9695 PR c/4697:
9696 * stmt.c (warn_if_unused_value): Move side effects test once more.
9697
e2ec05a6
TG
96982002-02-20 Torbjorn Granlund <tege@swox.com>
9699
9700 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 9701 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 9702
9dd791c8
AO
9703Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
9704
9705 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
9706 SUBREG or ZERO_EXTEND.
9707
7ab56274
R
9708Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
9709
9710 * sh.h (current_function_anonymous_args): Remove.
9711 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
9712 of current_function_varargs and current_function_stdarg is set.
9713 * sh.c (sh_expand_prologue): Check current_function_varargs /
9714 current_function_stdarg / TARGET_SH5 instead of
9715 current_function_anonymous_args.
9716
9717 * sh64.h (TARGET_VERSION): Define.
9718
b1765bde
DE
97192002-02-20 David Edelsohn <edelsohn@gnu.org>
9720
9721 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
9722 VRSAVE_REGNO on TARGET_ALTIVEC.
9723
97242002-02-20 Alan Modra <amodra@bigpond.net.au>
9725
9726 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
9727 bits of SImode const_int.
9728 (includes_rshift_p): Likewise.
9729 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 9730 mode.
b1765bde
DE
9731 (rs6000_output_function_epilogue): Pad traceback table to word.
9732 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
9733 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
9734 mask64_operand with correct mode.
b1765bde
DE
9735 (FUNCTION_ARG_REGNO_P): Correct parentheses.
9736
149d6f9e
JJ
97372002-02-20 Jakub Jelinek <jakub@redhat.com>
9738
9739 PR debug/4461
9740 * varasm.c (get_pool_constant_mark): New.
9741 * rtl.h (get_pool_constant_mark): Add prototype.
9742 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
9743 be represented if it has not been output.
9744
4161da12
AO
97452002-02-20 Alexandre Oliva <aoliva@redhat.com>
9746
9747 * combine.c (do_SUBST): Sanity check substitutions of
9748 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
9749 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
9750 CONST_INT into its operand.
9751 (known_cond): Likewise, for ZERO_EXTEND.
9752 * simplify-rtx.c (simplify_unary_operation): Fix condition to
9753 allow for simplification of wide modes. Reject CONST_INTs in
9754 ZERO_EXTEND when their actual mode is not given.
9755
3704ef74
AO
97562002-02-20 Alexandre Oliva <aoliva@redhat.com>
9757
9758 * c-decl.c (pushdecl): If no global declaration is found for an
9759 extern declaration in block scope, try a limbo one.
9760
7552da58
JJ
97612002-02-20 Jakub Jelinek <jakub@redhat.com>
9762
9763 PR c++/4401
9764 * c-common.c (pointer_int_sum): Moved from...
9765 * c-typeck.c (pointer_int_sum): ...here.
9766 * c-common.h (pointer_int_sum): Add prototype.
9767
00fae85d
JJ
97682002-02-20 Jakub Jelinek <jakub@redhat.com>
9769
9770 PR c++/5713
9771 * c-decl.c (duplicate_decls): Return 0 if issued error about
9772 redeclaration.
9773
4636c87e
JJ
97742002-02-20 Roger Sayle <roger@eyesopen.com>
9775 Jakub Jelinek <jakub@redhat.com>
9776
9777 PR c/4389
9778 * tree.c (host_integerp): Ensure that the constant integer is
9779 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
9780 when pos is zero or non-zero respectively. Clarify comment.
9781 * c-format.c (check_format_info_recurse): Fix host_integerp
9782 usage; the pos argument should be zero when assigning to a
9783 signed HOST_WIDE_INT.
9784
59bef189
RH
97852002-02-20 Richard Henderson <rth@redhat.com>
9786
9787 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
9788 of the operand, rather than assuming TImode.
9789 (ix86_expand_binop_builtin): Cope with commutative patterns
9790 using nonimmediate_operand for both operands.
9791 (ix86_expand_timode_binop_builtin): Likewise.
9792 (ix86_expand_store_builtin): Validate operand 1.
9793 (ix86_expand_unop1_builtin): Likewise.
9794
9338ffe6 97952002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 9796
9338ffe6
PB
9797 PR 5705
9798 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
9799
f322b423
RH
98002002-02-20 Richard Henderson <rth@redhat.com>
9801
9802 PR c/5615
9803 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
9804
d94084f7
TT
98052002-02-20 Tom Tromey <tromey@redhat.com>
9806
9807 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9808 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9809 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9810 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9811 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
9812 unconditionally.
9813
37fa124a
AM
9814Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
9815
9816 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
9817 for (const_int 0) in X not just INTVAL.
9818
6e5bb5ad
JM
98192002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
9820
9821 * doc/extend.texi: Avoid or reduce overfull hboxes.
9822
420e7dfa
DN
98232002-02-20 Diego Novillo <dnovillo@redhat.com>
9824
9825 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
9826 operations if the field does not start at a mode boundary.
9827
1b7a2af6
JS
98282001-02-20 Joel Sherrill <joel@OARcorp.com>
9829
9830 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
9831 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
9832 Also done for -Acpu and -Amachine.
9833
56cd5b95
NB
98342002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
9835
9836 * cppinit.c (init_dependency_output): Take deps output file
9837 from -o if none given with -MF. Suppress normal output.
c410d49e 9838 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
9839 * doc/cpp.texi, doc/invoke.texi: Update.
9840
042cdf71
ZW
98412002-02-19 Zack Weinberg <zack@codesourcery.com>
9842
9843 * toplev.c (output_quoted_string): Write unprintable
9844 characters with octal escapes.
9845
c1f11548
DE
98462002-02-19 David Edelsohn <edelsohn@gnu.org>
9847
9848 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
9849 really_call_used[VRSAVE_REGNO] if not Altivec.
9850
98512002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 9852
c1f11548
DE
9853 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
9854 MODE_MASK.
9855 (constant_pool_expr_1): Fix formatting.
9856 (rs6000_legitimize_reload_address): Likewise.
9857
c964d90e
RK
9858Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9859
9860 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
9861 now that we have one.
9862
ae34ac46
ZW
98632002-02-19 Zack Weinberg <zack@codesourcery.com>
9864
9865 * tree.h (struct tree_common): Remove aux. Add unused_0 at
9866 end of first block of bitfields (which was only seven bits);
9867 rename dummy to unused_1; remove comment which is no longer true.
9868
293c28ee
GS
98692002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
9870
9871 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
9872
7b8781c8
PB
98732002-02-19 Philip Blundell <pb@nexus.co.uk>
9874
0cb6c58d 9875 PR 5399
7b8781c8
PB
9876 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
9877 if generating PIC.
9878
9879 PR 5054
9880 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
9881 arm_is_longcall_p rather than inspecting call-type cookie
9882 directly.
9883 (call_value_insn) [TARGET_THUMB]: Likewise.
9884
5c464583
GS
98852002-02-19 Graham Stott <grahams@redhat.com>
9886
9887 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
9888
71c061e6
DE
98892002-02-19 David Edelsohn <edelsohn@gnu.org>
9890
9891 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
9892 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 9893 (FP_SAVE_INLINE): Delete.
71c061e6
DE
9894
9895 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
9896 * config/rs6000/eabi.asm: Remove ABI save restore routines.
9897 * config/rs6000/t-ppccomm: Build crtsavres.o.
9898 * config/rs6000/crtsavres.asm: New file.
9899
3a7731fd
PB
99002002-02-19 Philip Blundell <philb@gnu.org>
9901
9902 * config/arm/arm.c (use_return_insn): Don't reject interrupt
9903 functions.
9904 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
9905 (output_return_instruction): Allow interrupt functions to return with
9906 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
9907 (arm_expand_prologue): Subtract 4 before stacking LR in an
9908 interrupt function.
9909
14f583b8
PB
99102002-02-19 Philip Blundell <pb@nexus.co.uk>
9911
9912 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
9913 decl, not just FUNCTION_DECL.
9914 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
9915 (arm_assemble_integer): Likewise.
9916 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
9917 marked local.
c410d49e 9918
4cb7482c
MG
99192002-02-19 matthew green <mrg@eterna.com.au>
9920
9921 * config.gcc (sparc-*-netbsdelf*): Enable target.
9922 (sparc64-*-netbsd*): New target.
9923 * config/sparc/netbsd-elf.h: New file.
9924 * config/sparc/t-netbsd64: New file.
9925
2df3a718
GS
99262002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
9927
9928 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
9929
77f6c1eb
RS
99302002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
9931
9932 * doc/invoke.texi: explicitly list the style guidelines that
9933 -Weffc++ checks for.
9934
fd973d56
JH
9935Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
9936
9937 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
9938
30518e45
NB
99392002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
9940
9941 PR other/5718
9942 * gcc.c (cpp_unique_options): Treat -o as indicating object file
9943 only if not -E. If -E, pass -o through to the preprocessor.
9944
39ea5704
KH
99452002-02-19 Kazu Hirata <kazu@hxi.com>
9946
9947 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
9948 register number with an appropriate macro.
9949
7355dba7
BM
99502002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9951
9952 * doc/rtl.texi (Constants): Close @code tag.
9953
91c8aa9e
AH
99542002-02-19 Aldy Hernandez <aldyh@redhat.com>
9955
9956 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
9957 ("mmx_uavgv4hi3"): Same.
9958 ("pmulhrwv4hi3"): Same.
9959
9960 * tree-inline.c (walk_tree): Handle vectors.
9961
9962 * c-common.c (constant_expression_warning): Handle vectors.
9963 (overflow_warning): Same.
9964
9965 * sched-deps.c (sched_analyze_2): Handle vectors.
9966
9967 * rtlanal.c (rtx_unstable_p): Handle vectors.
9968 (rtx_varies_p): Same.
9969 (count_occurrences): Same.
9970 (regs_set_between_p): Same.
9971 (modified_between_p): Same.
9972 (modified_in_p): Same.
9973 (volatile_insn_p): Same.
9974 (volatile_refs_p): Same.
9975 (side_effects_p): Same.
9976 (may_trap_p): Same.
9977 (inequality_comparisons_p): Same.
9978 (replace_regs): Same.
9979 (computed_jump_p_1): Same.
9980
9981 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
9982 argument.
9983 (inner_mode_array): New.
9984 (copy_rtx): Handle vectors.
9985 (copy_most_rtx): Same.
9986 (rtx_equal_p): Same.
9987 (get_mode_alignment): Adjust for vectors.
9988
9989 * resource.c (mark_referenced_resources): Handle vectors.
9990 (mark_set_resources): Same.
9991
9992 * reload1.c (eliminate_regs): Handle vectors.
9993 (elimination_effects): Same.
9994 (scan_paradoxical_subregs): Same.
9995
9996 * reload.c (subst_reg_equivs): Handle vectors.
9997
9998 * regrename.c (scan_rtx): Handle vectors.
9999
10000 * regclass.c (reg_scan_mark_refs): Handle vectors.
10001
10002 * recog.c (find_single_use_1): Handle vectors.
10003
10004 * local-alloc.c (equiv_init_varies_p): Handle vectors.
10005 (contains_replace_regs): Same.
10006 (memref_referenced_p): Same.
10007
10008 * integrate.c (copy_rtx_and_substitute): Handle vectors.
10009 (subst_constants): Same.
10010
10011 * genattrtab.c (attr_copy_rtx): Handle vectors.
10012 (encode_units_mask): Same.
10013 (clear_struct_flag): Same.
10014 (count_sub_rtxs): Same.
10015
10016 * gcse.c (want_to_gcse_p): Handle vectors.
10017 (oprs_unchanged_p): Same.
10018 (hash_expr_1): Same.
10019 (oprs_not_set_p): Same.
10020 (expr_killed_p): Same.
10021 (compute_transp): Same.
10022 (store_ops_ok): Same.
10023
10024 * function.c (purge_addressof_1): Do not allow paradoxical subregs
10025 of vectors.
10026 (fixup_var_refs_1): Same.
10027 (instantiate_virtual_regs_1): Same.
10028
10029 * fold-const.c (operand_equal_p): Handle vectors.
10030 (fold): Same.
10031 (rtl_expr_nonnegative_p): Same.
10032
10033 * flow.c (mark_used_regs): Handle vectors.
10034
10035 * df.c (df_uses_record): Handle vectors.
10036
10037 * cselib.c (cselib_subst_to_values): Handle vectors.
10038 (cselib_mem_conflict_p): Same.
10039 (hash_rtx): Same.
10040
10041 * cse.c (canon_reg): Handle vectors.
10042 (fold_rt): Same.
10043 (cse_process_notes): Same.
10044 (count_reg_usage): Same.
10045 (canon_hash): Same.
10046
10047 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
10048
10049 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
10050
10051 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
10052 (gen_rtx): Handle CONST_VECTOR.
10053 (gen_const_vector_0): New.
10054 (copy_rtx_if_shared): CONST_VECTORs can be shared.
10055 (reset_used_flags): Same.
10056 (copy_insn_1): Same.
10057 (initializer_constant_valid_p): Handle VECTOR_CST.
10058
10059 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
10060
10061 * doc/rtl.texi (Constants): Document const_vector.
10062 (CONST0_RTX): Update for vectors.
10063 (RTL sharing): Same.
10064
10065 * print-tree.c (print_node): Add case for VECTOR_CST.
10066
10067 * tree.h (TREE_VECTOR_CST_ELTS): New.
10068 (struct tree_vector): New.
10069 (union tree_node): Add vector node.
10070 (build_vector): Add prototype.
10071
10072 * tree.def (VECTOR_CST): New.
10073
10074 * tree.c (build_vector): New.
10075
10076 * expmed.c (make_tree): Handle CONST_VECTOR.
10077
10078 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
10079 (CONST_VECTOR_ELT): New.
10080 (CONST_VECTOR_NUNITS): New.
10081
10082 * machmode.h (GET_MODE_INNER): New.
10083 (DEF_MACHMODE): Accept 8th arg.
10084
10085 * machmode.def: Add 8th argument for vector inner mode.
10086 Add inner vector modes for vectors.
10087
10088 * rtl.def (VEC_CONST): Remove.
10089 (CONST_VECTOR): New.
10090
10091 * expr.c (clear_storage): Allow vectors.
10092 (is_zeros_p): Handle VECTOR_CST.
10093
10094 * varasm.c (output_constant_pool): Handle vectors.
10095 (rtx_const): Add veclo and vechi fields.
10096 (kind): Add RTX_VECTOR.
10097 (decode_rtx_const): Add case for vector.
10098
10099 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 10100
91c8aa9e
AH
10101 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
10102 constants. Force easy vector constants into memory.
10103 (easy_vector_constant): New.
10104 (emit_easy_vector_constant): New.
10105 (rs6000_legitimize_reload_address): Do not generate bad reloads on
10106 darwin.
10107
10108 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
10109 instruction does.
10110 ("altivec_lvxl"): Same.
10111 (altivec_lvebx): Same.
10112 (altivec_lvehx): Same.
10113 (altivec_lvewx): Same.
10114 ("*movv4si_const0"): New.
10115 ("*movv4sf_const0"): New.
10116 ("*movv8hi_const0"): New.
10117 ("*movv16qi_const0"): New.
10118
d4d6d0ce
KH
101192002-02-18 Kazu Hirata <kazu@hxi.com>
10120
10121 * config/h8300/h8300.c (notice_update_cc): Use
10122 cc_status.value2.
10123
4915d3aa
KH
101242002-02-18 Kazu Hirata <kazu@hxi.com>
10125
10126 * config/h8300/h8300.md (divmod patterns): Change the
10127 constraints for operands[1] to register_operand.
10128
82be00ee
KH
101292002-02-18 Kazu Hirata <kazu@hxi.com>
10130
10131 * config/h8300/h8300-protos.h: Remove the prototype for
10132 p_operand.
10133 * config/h8300/h8300.c (p_operand): Remove.
10134 * config/h8300/h8300.md: Replace p_operand with
10135 const_int_operand.
10136
1768c26f
PB
101372002-02-18 Philip Blundell <pb@nexus.co.uk>
10138
10139 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
10140 comment.
10141 (output_return_instruction): Allow use of LDR to unstack
10142 return addresss even for interrupt handlers or when
10143 interworking. If compiling for ARMv5, use interworking-safe
10144 return instructions by default. Remove duplicated code and
10145 lengthy "strcat" sequences.
10146
ccd84f51
FS
101472002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10148
10149 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
10150 (LINK_EH_SPEC): Define.
10151 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
10152
2c153108
UW
101532002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
10154
10155 * config/s390/s390.c (s390_emit_prologue): Do not set the
10156 frame_related flag for call-clobbered registers.
10157
e95d6b23
JH
10158Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
10159
10160 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
10161 (construct_container): Fix handling of SSE operands.
10162 (ix86_expand_builtin): Fix handling of 64bit pointers.
10163 (mmx_maskmovq_rex): New pattern.
10164
c43a12b5
JH
10165Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
10166
10167 * regrename.c (kill_set_value): Handle subregs properly.
10168
aeb85a15
DB
101692002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
10170
10171 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 10172 from objc_class_name.
aeb85a15 10173
a615ca3e
RH
101742002-02-17 Richard Henderson <rth@redhat.com>
10175
10176 * config/alpha/alpha.c (some_small_symbolic_operand,
10177 some_small_symbolic_operand_1, split_small_symbolic_operand,
10178 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
10179 Handle small SYMBOL_REFs anywhere, not just inside memories.
10180 * config/alpha/alpha-protos.h: Update.
10181 * config/alpha/alpha.h (PREDICATE_CODES): Update.
10182 * config/alpha/alpha.md (small symbolic operand splitter): Update.
10183
ddb28441
RM
101842002-02-17 Roland McGrath <roland@frob.com>
10185
10186 * config.gcc (powerpc-*-gnu-gnualtivec*,
10187 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
10188 * config/rs6000/gnu.h: New file.
10189 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
10190 Grok "gnu" in rs6000_abi_name.
10191 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
10192 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
10193 Grok -mcall-gnu analogous to -mcall-linux et al.
10194 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
10195 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
10196 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
10197
f6f8ada3
JJ
101982002-02-17 Jakub Jelinek <jakub@redhat.com>
10199
10200 PR c/3444:
10201 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
10202 shortening.
10203
e16b32fc
PT
102042002-02-17 Philipp Thomas <pthomas@suse.de>
10205
10206 * config/cris/cris.h: Undefine STARTFILE_SPEC and
10207 ENDFILE_SPEC before (re)defining them.
10208
f9477efd
KH
102092002-02-17 Kazu Hirata <kazu@hxi.com>
10210
10211 * config/h8300/h8300.c: Fix formatting.
10212 * config/h8300/h8300.h: Likewise.
10213
404ae494
PT
102142002-02-17 Philipp Thomas <pthomas@suse.de>
10215
10216 * doc/tm.texi: Explain why empty strings should not be
10217 marked for translation.
10218
a52453cc
PT
102192002-02-17 Philipp Thomas <pthomas@suse.de>
10220
10221 * final.c (output_operand_lossage): Changed to accept
10222 printf style arguments. Change calls where necessary.
10223 * output.h (output_operand_lossage): Change declaration
10224 accordingly. Update copyright.
10225 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
10226 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
10227 Update copyright date where necessary.
c410d49e 10228
a52453cc
PT
10229 * config/i386/i386.c (print_operand): Likewise. Remove use of
10230 sprintf.
10231
10232 * config/cris/cris.c (cris_operand_lossage): Likewise.
10233 Rename parameter so that exgettext recognizes it as
10234 translatable message.
10235 (LOSE_AND_RETURN): Rename parameter to msgid.
10236
1c11abc4
KH
102372002-02-17 Kazu Hirata <kazu@hxi.com>
10238
10239 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
10240 hard coded register number with an appropriate macro.
10241 (HARD_REGNO_MODE_OK): Likewise.
10242 (ARG_POINTER_REGNUM): Likewise.
10243 (STATIC_CHAIN_REGNUM): Likewise.
10244 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
10245 * config/h8300/h8300.md (define_constants): Define more
10246 register numbers.
10247
a5d17ff3
PT
102482002-02-17 Philipp Thomas <pthomas@suse.de>
10249
10250 * config/i386/i386.h: Don't mark empty strings for translation.
10251
1a7289c4
L
102522002-02-16 H.J. Lu <hjl@gnu.org>
10253
10254 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
10255
afb58288
ZW
102562002-02-16 Zack Weinberg <zack@codesourcery.com>
10257
10258 * cppinit.c (merge_include_chains): Check for brack being
10259 NULL before attempting to merge it with qtail.
10260
d2af4dbd
AC
102612002-02-16 Andrew Cagney <ac131313@redhat.com>
10262
10263 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
10264 DBX_DEBUG.
10265
2e1ed1e3
JDA
102662002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10267
10268 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
10269
604c75b2
JDA
102702002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10271
10272 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
10273 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
10274 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
10275
1a42b072
RK
10276Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10277
7303604f 10278 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
10279 now only if !TARGET_FIX.
10280 (*movsi_nt_vms_fix): New pattern.
10281
c2ea1ac6
DR
102822002-02-16 Douglas B Rupp <rupp@gnat.com>
10283
10284 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
10285 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
10286 (alpha_sa_mask, alpha_sa_size): Reflect above change.
10287 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
10288 (alpha_start_function, alpha_expand_epilogue): Likewise.
10289 (unicosmk_gen_dsib): Likewise.
10290
725e58b1
RK
10291Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10292
10293 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
10294
13e58269
UW
102952002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
10296
c410d49e 10297 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
10298 check_and_change_labels, s390_final_chunkify): Delete.
10299 (s390_split_branches, s390_chunkify_pool): New functions.
10300 (s390_function_prologue): Call them.
c410d49e 10301
13e58269
UW
10302 * config/s390/s390.h (S390_REL_MAX): Delete.
10303 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
10304
c410d49e 10305 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
10306 attribute calculation.
10307
10308
34d1b01d
DE
103092002-02-15 David Edelsohn <edelsohn@gnu.org>
10310
10311 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
10312 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
10313
be5cc51a
JDA
103142002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
10315
10316 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
10317 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
10318 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
10319
ee96ce90
RS
103202002-02-15 Richard Sandiford <rsandifo@redhat.com>
10321
10322 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
10323
05fa709d
RS
103242002-02-15 Richard Sandiford <rsandifo@redhat.com>
10325
10326 * reload.c (find_dummy_reload): Check that an output register
10327 is valid for its mode.
10328
4606272b
AO
103292002-02-14 Alexandre Oliva <aoliva@redhat.com>
10330
9a360704
AO
10331 * combine.c (known_cond): After replacing the REG of a SUBREG, try
10332 to simplify it.
10333
4606272b
AO
10334 * function.c (assign_parms): Demote promoted argument passed by
10335 transparent reference.
10336
e62d89a1
JS
103372001-02-14 Joel Sherrill <joel@OARcorp.com>
10338
10339 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
10340 -Acpu() and -Amachine() to eliminate warnings.
10341
6c4cf695
UW
103422002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
10343
10344 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
10345
037f11ef
KH
103462002-02-14 Kazu Hirata <kazu@hxi.com>
10347
10348 * config/h8300/h8300-protos.h: Update the prototype for
10349 const_costs.
10350 * config/h8300/h8300.c (const_costs): Treat SET as a little
10351 more expensive operation.
10352 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
10353 reference to const_costs.
10354
fdc76b09
HPN
103552002-02-14 Hans-Peter Nilsson <hp@axis.com>
10356
10357 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
10358
d76e6800
JJ
103592002-02-14 Jakub Jelinek <jakub@redhat.com>
10360
10361 PR c/5503:
10362 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
10363 use arguments from newtype.
10364
5ae590d7
EC
103652002-02-13 Eric Christopher <echristo@redhat.com>
10366
10367 * config/mips/mips.c (override_options): Add check for march/mipsX
10368 on the same command line. Fix error message in cpu processing.
10369 Remove architecture and ISA checks.
10370
b8513691
AH
103712002-02-14 Aldy Hernandez <aldyh@redhat.com>
10372
831c4e87 10373 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 10374
831c4e87 10375 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 10376
78c875e8
AH
103772002-02-14 Aldy Hernandez <aldyh@redhat.com>
10378
831c4e87
KC
10379 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
10380 alternatives.
10381 ("*movv8hi_internal1"): Same.
10382 ("*movv16qi_internal1"): Same.
10383 ("*movv4sf_internal1"): Same.
78c875e8 10384
831c4e87
KC
10385 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
10386 not push_reload for altivec modes.
78c875e8 10387
d76e6800 103882002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
10389
10390 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
10391 all RTEMS targets including removal of #includes from config/*/rtems*.h
10392 file and adding them to tm_file setting. Added xm_defines=POSIX to
10393 many targets.
10394 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
10395 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
10396 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
10397 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
10398 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
10399 config/m68k/rtemself.h: Ditto.
10400 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
10401 config/mips/rtems64.h: Ditto.
10402 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
10403 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
10404 Ditto.
10405 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
10406 config/sparc/rtemself.h: Ditto.
10407 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
10408 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
10409 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
10410 more like arm-elf.
10411 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
10412 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
10413 target made more similar to i386-elf.
10414 * config/i386/t-rtems-i386: Added soft float support and multilibs.
10415 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
10416 be similar to config/m68k/t-m68kelf.
10417 * gthr-rtems.h: Encapsulate with extern "C" for C++.
10418
8686336f
JH
10419Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
10420
10421 * regmove.c (kill_value): Handle subregs.
10422
558740bf
JH
10423Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
10424
10425 * i386.md (mul patterns): Allow memory operand to be first;
10426 add expanders where needed; fix constraints.
10427 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
10428 Allow memory operand to be the first.
10429
10430 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
10431 operands.
10432
21117a17
JJ
104332002-02-13 Jakub Jelinek <jakub@redhat.com>
10434
10435 PR c/5681:
10436 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
10437 GET_MODE (x).
10438
ec65b2e3
JJ
104392002-02-13 Jakub Jelinek <jakub@redhat.com>
10440
10441 PR optimization/5547:
10442 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
10443 all valid IA-32 address modes involving non-scaled %ebx and
10444 GOT/GOTOFF as displacement.
10445
ce50cae8
UW
104462002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
10447
10448 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
10449 after emitting ltorg insns.
10450
10451 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
10452 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
10453 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
10454 *abssf2): Fix "op_type" attribute.
10455
09eb789b
DR
104562002-02-13 Douglas B Rupp <rupp@gnat.com>
10457
2dbe67bb
DR
10458 * mkconfig.sh: Avoid using a subshell redirect.
10459 ($output.T): Change to $(output)T.
10460 (ENABLE_NLS): Remove unneeded undef.
10461
ea5b9a1f
DR
10462 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
10463 * config/alpha/x-vms (libsubdir): Define.
10464
3deb00ce
DR
10465 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
10466 register frame procedures. Optimize retrieving context.
10467
09eb789b
DR
10468 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
10469 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
10470 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
10471
1abade85
RK
10472Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10473
10474 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
10475 Make same change as for find_base_value.
10476
c283e63f
KH
104772002-02-13 Kazu Hirata <kazu@hxi.com>
10478
10479 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
10480 of QImode and SImode.
10481
86039100
KH
104822002-02-13 Kazu Hirata <kazu@hxi.com>
10483
10484 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
10485 length computation of movsi.
10486 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
10487
e1429da0
KH
104882002-02-13 Kazu Hirata <kazu@hxi.com>
10489
10490 * config/h8300/h8300.md (subqi3): Tighten the predicate for
10491 operands[2] to register_operand.
10492
aebfea10
JH
10493Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
10494
10495 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
10496
0ec4e2a8
AH
104972002-02-12 Aldy Hernandez <aldyh@redhat.com>
10498
831c4e87
KC
10499 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
10500 for altivec_lvx* and altivec_stvx*.
10501 ("*movv4si_internal"): Add constraint for loading from GPRs.
10502 ("*movv8hi_internal1"): Same.
10503 ("*movv16qi_internal1"): Same.
10504 ("*movv4sf_internal1"): Same.
0ec4e2a8 10505
831c4e87 10506 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 10507
831c4e87
KC
10508 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
10509 altivec_register_operand.
0ec4e2a8 10510
b007569d
HPN
105112002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
10512
10513 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
10514 handle SYMBOL_REF.
10515
e6834654
SS
105162002-02-13 Stan Shebs <shebs@apple.com>
10517
831c4e87
KC
10518 * c-typeck.c (digest_init): Handle vectors.
10519 (really_start_incremental_init): Same.
10520 (pop_init_level): Same.
10521 (process_init_element): Same.
e6834654 10522
831c4e87 10523 * varasm.c (output_constant): Same.
e6834654 10524
831c4e87
KC
10525 * expr.c (clear_storage): Same.
10526 (store_constructor): Same.
e6834654 10527
d9b3eb63
EC
105282002-02-12 Eric Christopher <echristo@redhat.com>
10529
10530 * explow.c (hard_function_value): Add comment explaining
10531 signed/unsigned comparison.
10532
56d44285
JJ
105332002-02-12 Jakub Jelinek <jakub@redhat.com>
10534
10535 * jump.c (never_reached_warning): Add finish argument.
10536 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
10537 real insn after end.
10538 * rtl.h (never_reached_warning): Adjust prototype.
10539 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
10540 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
10541 never_reached_warning.
10542
fc209487
GS
105432002-02-12 Graham Stott <grahams@redhat.com>
10544
10545 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
10546
1e41e866
KH
105472002-02-12 Kazu Hirata <kazu@hxi.com>
10548
10549 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
10550 logical shifts on H8/300.
10551 (shift_alg_si): Improve several shifts on H8/300.
10552 (get_shift_alg): Likewise.
10553
a36a47ad
GS
105542002-02-12 Graham Stott <grahams@redhat.com>
10555
10556 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
10557
0aacc8ed
RK
10558Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10559
10560 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
10561 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
10562
a02ac966
HPN
105632002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
10564
10565 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
10566 non-CONST_INT through default_assemble_integer.
10567 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
10568 <case 8>: Abort for CONST_DOUBLE.
10569
d6e06ddc
JDA
105702002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
10571
10572 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
10573 is specified.
10574 * config/pa/pa-linux.h (LIB_SPEC): Delete.
10575 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
10576
515342a8
AH
105772002-02-11 Andrew Haley <aph@cambridge.redhat.com>
10578
10579 * config/stormy16/stormy16.md (zero_extendqihi2): New.
10580
cddd8b72
AO
105812002-02-11 Alexandre Oliva <aoliva@redhat.com>
10582
66df7a98
AO
10583 * regrename.c (regrename_optimize): Don't accept a
10584 part-clobbered register if the replaced register is not part
10585 clobbered.
10586
841404cd
AO
10587 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
10588 take padding into account when computing the argument value.
10589
1d1ade42
AO
10590 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
10591
cddd8b72
AO
10592 * combine.c (try_combine): Apply substitutions in
10593 CALL_INSN_FUNCTION_USAGE too.
10594
5c665b88
AH
105952002-02-11 Aldy Hernandez <aldyh@redhat.com>
10596
77f6c1eb
RS
10597 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
10598 __builtin_altivec_abs*.
10599 (bdesc_abs): New.
5c665b88 10600
77f6c1eb
RS
10601 * config/rs6000/rs6000.h (rs6000_builtins): Add
10602 ALTIVEC_BUILTIN_ABS*.
5c665b88 10603
77f6c1eb
RS
10604 * config/rs6000/altivec.h: Use const char for builtins expecting
10605 literals.
10606 (vec_abs): New versions for C and C++.
10607 (vec_abss): Same.
5c665b88 10608
3494f1b4
KH
106092002-02-10 Kazu Hirata <kazu@hxi.com>
10610
10611 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
10612 using Pmode.
10613
72431aef
KH
106142002-02-10 Kazu Hirata <kazu@hxi.com>
10615
10616 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
10617 constant definition from h8300.md.
10618 (FRAME_POINTER_REGNUM): Likewise.
10619 * config/h8300/h8300.md (define_constants): Add FP_REG.
10620
87e4ee91
KH
106212002-02-10 Kazu Hirata <kazu@hxi.com>
10622
10623 * config/h8300/h8300.c (print_operand): Remove redundant code.
10624
9c188705
KH
106252002-02-10 Kazu Hirata <kazu@hxi.com>
10626
10627 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
10628 * config/h8300/h8300.c (byte_reg): Make it static.
10629
fba78abb
RH
106302002-02-10 Richard Henderson <rth@redhat.com>
10631
10632 PR c/5623
10633 * c-typeck.c (incomplete_type_error): Handle flexible array members.
10634
65739e62
RH
106352002-02-10 Richard Henderson <rth@redhat.com>
10636
10637 PR c++/5624
10638 * tree.c (append_random_chars): Don't abort if main_input_filename
10639 does not exist.
10640
247cb9df
HPN
106412002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
10642
10643 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
10644
232bd029
KH
106452002-02-10 Kazu Hirata <kazu@hxi.com>
10646
65739e62 10647 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
10648 (pushhi1): Likewise.
10649
276ef573
JDA
106502002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
10651
10652 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
10653 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
10654
617e9ee5
DB
106552002-02-09 David O'Brien <obrien@FreeBSD.org>
10656
10657 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
10658 remove MASK_VIS.
10659 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
10660
6dfa4005
KH
106612002-02-09 Kazu Hirata <kazu@hxi.com>
10662
10663 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
10664 a half of an SImode register on H8/300.
10665
749e7b80
JH
10666Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
10667
10668 * i386.md (movdi_2): Add missing '!'.
10669
ca77d87c
KH
106702002-02-09 Kazu Hirata <kazu@hxi.com>
10671
10672 * config/h8300/h8300.h: Fix formatting. Remove commented-out
10673 definitions.
10674
16c96304
KH
106752002-02-09 Kazu Hirata <kazu@hxi.com>
10676
10677 * config/h8300/h8300.md (length): Correct the distance valid
10678 for the short branch.
10679
a364bc90
KH
106802002-02-09 Kazu Hirata <kazu@hxi.com>
10681
10682 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
10683
e4ec2cac
AO
106842002-02-09 Alexandre Oliva <aoliva@redhat.com>
10685
a138247b
AO
10686 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
10687 registers in SImode.
10688 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
10689 part-clobbered.
10690
2b1fd83f
AO
10691 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
10692 patch.
d9b3eb63 10693
fa5322fa
AO
10694 Contribute sh64-elf.
10695 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
10696 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
10697 (sh_cannot_modify_jumps_p): New function.
10698 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
10699 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
10700 (sh_ms_bitfield_layout_p): New function.
10701 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
10702 Zack Weinberg <zack@codesourcery.com>
10703 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
10704 expand_simple_binop instead of expand_binop.
10705 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
10706 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
10707 use of .quad and .uaquad.
10708 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
10709 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
10710 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10711 * config/sh/sh.md (movdi_const, movdi_const_32bit,
10712 movdi_const_16bit): Make sure all CONSTs have modes.
10713 (sym2PIC): Ditto, but by adjusting all callers.
10714 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
10715 if the prologue calls the SHmedia argument decoder or register
10716 saver.
10717 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10718 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
10719 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
10720 (sh_expand_epilogue): Don't emit USE of return target register.
10721 (prepare_move_operands): Legitimize DImode PIC addresses.
10722 (sh_media_register_for_return): Skip tr0, used to initialize the
10723 PIC register.
10724 (sh_expand_prologue): Remove explicit USE of return register.
10725 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
10726 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
10727 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
10728 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
10729 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
10730 EXTRA_CONSTRAINT_T.
10731 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
10732 (MOVI_SHORI_BASE_OPERAND_P): New.
10733 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
10734 (EXTRA_CONSTRAINT_T): Define in terms of them.
10735 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
10736 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
10737 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
10738 alternatives supporting TARGET_REGS.
10739 (UNSPEC_GOTPLT): New constant.
10740 (movdi split): Move incrementing of LABEL_NUSES...
10741 (movdi_const, movdi_const_32bit): Here. Use
10742 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
10743 (movdi_const_16bit): New.
10744 (call, call_value) [flag_pic]: Use GOTPLT.
10745 (call_pop, call_value_pop): New expands.
10746 (call_pop_compact, call_pop_rettramp): New insns.
10747 (call_value_pop_compact, call_value_pop_rettramp): New insns.
10748 (sibcall) [flag_pic]: Use GOT.
10749 (builtint_setjmp_receiver): Remove bogus, unused expand.
10750 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
10751 (*pt, *ptb, ptrel): New insns.
10752 (sym2GOT): Handle DImode GOT.
10753 (sym2GOTPLT, symGOTPLT2reg): New expands.
10754 (sym2PIC): New expand.
10755 (shcompact_return_tramp): Use GOTPLT to return trampoline.
10756 (shcompact_return_tramp_i): Use return register explicitly.
10757 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
10758 disable flag_reorder_blocks.
10759 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
10760 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
10761 clobbers, for clarity.
10762 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
10763 restoring of r0 in macl as MAYBE_DEAD.
10764 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
10765 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
10766 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
10767 alter_subreg all over.
10768 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
10769 reload, instead of emitting instructions that would require
10770 reloading.
10771 (casesi_load_media): Add missing modes.
10772 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
10773 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
10774 as used if the argument decoder is called.
10775 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10776 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
10777 Pmode, then extend it to DImode if necessary.
10778 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
10779 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
10780 constants in FPU-enabled SHmedia, let them be loaded from memory.
10781 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10782 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
10783 Adjust whitespace in assembly output templates.
10784 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
10785 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
10786 mode of if_then_else.
10787 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
10788 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
10789 sh.h.
10790 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
10791 Joern Rennecke <amylaar@redhat.com>
10792 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
10793 (SUBTARGET_CPP_PTR_SPEC): New.
10794 (SUBTARGET_CPP_SPEC): Remove.
10795 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
10796 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
10797 Fix typo in previous checkin.
10798 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
10799 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
10800 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
10801 Alexandre Oliva <aoliva@redhat.com>
10802 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
10803 what single FP register can hold for SHmedia target.
10804 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
10805 Alexandre Oliva <aoliva@redhat.com>
10806 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
10807 Do not split into SUBREG.
10808 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
10809 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
10810 and added new functions as specified in SH5 ABI r9.
10811 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
10812 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
10813 8-byte boundary.
10814 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
10815 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
10816 gen_consttable_4 and gen_consttable_8. Emit multiple labels
10817 and consttable_window_ends.
10818 2001-06-03 Graham Stott <grahams@redhat,com>
10819 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
10820 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
10821 * config/sh/sh.c (print_operand): Handle floating-point pair,
10822 vector and matrix registers.
10823 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
10824 vector modes into account.
10825 * config/sh/sh.md (movv2sf): Split move between registers into
10826 movdf.
10827 (movv4sf, movv16sf): Introduce insns that get split only after
10828 reload.
10829 * config/sh/shmedia.h: Fix Copyright dates.
10830 * config/sh/ushmedia.h: Likewise. Move loop counter
10831 declarations into conditionals that uses them.
10832 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
10833 loop boundary.
10834 * config/sh/sshmedia.h: Fix Copyright dates.
10835 (sh_media_PUTCFG): Fix constraints.
10836 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
10837 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
10838 ptrmemfunc_vbit_in_delta for SH5.
10839 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
10840 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
10841 * invoke.texi: Likewise.
10842 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
10843 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
10844 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
10845 GCC_pop_shmedia_regs_nofpu): New global symbols.
10846 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
10847 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
10848 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
10849 compact function with nonlocal labels.
10850 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
10851 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
10852 (initial_elimination_offset): Account for their stack space.
10853 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
10854 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
10855 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
10856 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
10857 least one of the operands to be a register.
10858 (movv2sf): Likewise. Renamed to movv2sf_i.
10859 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
10860 prepare_move_operands() before emitting SHmedia insns.
10861 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
10862 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
10863 Don't save nor initialize r12. Don't mis-align the stack.
10864 Pad the code with a nop.
10865 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
10866 stack.
10867 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10868 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
10869 [__SHMEDIA__]: Implement.
10870 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
10871 * config/sh/sh.md: Set latency of `pt' closer to reality.
10872 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
10873 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
10874 Set move, load and store type attributes.
10875 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
10876 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
10877 profiling.
10878 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
10879 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
10880 * config/sh/sh.c (sh_media_register_for_return): New function.
10881 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
10882 branch-target register.
10883 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
10884 * config/sh/sh.md (return_media_i): Use any call-clobbered
10885 branch-target register.
10886 (return_media): If r18 wasn't copied in the prologue, copy it
10887 here.
10888 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
10889 Clear class FP0_REGS.
10890 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
10891 from elf.h.
10892 2001-03-08 DJ Delorie <dj@redhat.com>
10893 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
10894 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
10895 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
10896 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
10897 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
10898 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
10899 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
10900 return value correctly for call_cookie.
10901 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10902 * config/sh/crt1.asm (start): Modified so as to call
10903 ___setup_argv_and_call_main.
10904 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
10905 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
10906 SHmedia mode.
10907 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
10908 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
10909 (STRIP_NAME_ENCODING): Use it.
10910 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
10911 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
10912 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
10913 prepare_scc_operands().
10914 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
10915 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
10916 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
10917 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
10918 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
10919 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
10920 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
10921 used in shcompact_incoming_args.
10922 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
10923 change.
10924 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
10925 mode.
10926 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
10927 Adjust accordingly.
10928 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
10929 Simplify. Adjust. Add sanity check.
10930 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
10931 FPU_SINGLE_BIT.
10932 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
10933 TARGET_SHCOMPACT.
10934 (udivsi3, divsi3): Use them.
10935 (force_mode_for_call): New insn.
10936 (call, call_value, sibcall_value): Emit it before SHcompact
10937 calls.
10938 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
10939 * config/sh/sh.md (call, call_value, sibcall): Make sure the
10940 call cookie is non-NULL before taking its value.
10941 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
10942 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
10943 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
10944 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
10945 block.
10946 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
10947 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
10948 temporary for stack adjusts. Use MACL and MACH to pass
10949 arguments to shcompact_incoming_args.
10950 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
10951 clobber r1.
10952 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
10953 (nested_trampoline): Load static chain address into r1.
10954 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
10955 2001-01-07 Alexandre Oliva <aoliva@redhat.com
10956 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
10957 fp_arith_reg_operand().
10958 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
10959 * config/sh/sh.md (casesi): Sign-extend the first two operands,
10960 and use signed compares for them.
10961 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
10962 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
10963 ones properly aligned.
10964 (find_barrier): Account for extra alignment needed for 8-byte wide
10965 constants.
10966 (machine_dependent_reorg): Require a label for the second 4-byte
10967 constant after an 8-byte one.
10968 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
10969 change.
10970 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
10971 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
10972 last_float when switching float modes.
10973 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
10974 auto-increment for general-purpose registers.
10975 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
10976 result.
10977 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
10978 for stack adjust.
10979 * config/sh/sh.c (sh_builtin_saveregs): Support using all
10980 registers for varargs.
10981 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
10982 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
10983 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
10984 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
10985 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
10986 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
10987 call_cookie accordingly.
10988 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
10989 (SHCOMPACT_BYREF): Likewise.
10990 (SHCOMPACT_FORCE_ON_STACK): New macro.
10991 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
10992 (sh_builtin_saveregs): Likewise.
10993 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
10994 shcompact_incoming_args): Use new shift values. Support
10995 sequences of consecutive and non-consecutive pushes/pops.
10996 * config/sh/sh.md (return): Don't explicitly use PR_REG.
10997 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
10998 * config/sh/sh.h (TEXT_SECTION): Define.
10999 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
11000 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
11001 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
11002 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
11003 return values on FPU-enabled SHmedia.
11004 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
11005 FPU-enabled SHmedia.
11006 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
11007 value is returned in a non-FP reg and is not returned by
11008 reference.
11009 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
11010 jump_ind.
11011 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
11012 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
11013 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
11014 quad-aligned to be passed by callee-copy reference.
11015 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
11016 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
11017 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
11018 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
11019 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
11020 copying low-numbered FP regs to r7 and r8.
11021 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
11022 FP regs to general-purpose regs only if the copy was passed on the
11023 stack.
11024 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
11025 copying FP reg to r9.
11026 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
11027 copy FP regs to general-purpose regs only in outgoing calls.
11028 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1e4e95d6 11029 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
fa5322fa
AO
11030 HOST_WIDE_INT.
11031 * config/sh/sh.h (struct sh_args): Document all fields.
11032 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
11033 passed partially on the stack should not consider making
11034 sibcalls.
11035 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
11036 stack_regs only for incoming calls. When passing FP args,
11037 make sure there are FP regs available before modifying
11038 call_cookie.
11039 (SHCOMPACT_BYREF): Pass double args in general-purpose
11040 registers by reference.
11041 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
11042 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
11043 attempt to generate sibcalls if the caller got any arguments
11044 by reference.
11045 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
11046 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
11047 to 8-byte boundaries.
11048 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
11049 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
11050 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
11051 stored in the stack.
11052 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
11053 for the offsets to have the ISA bit set.
11054 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
11055 invocation. Use beq instead of bgt to mark end of sequence of
11056 loads.
11057 (shcompact_incoming_args): Fix store of r2. Use beq instead of
11058 bgt to mark end of sequence of stores.
11059 * config/sh/sh.c (arith_operand): Don't check whether
11060 CONST_OK_FOR_J for now.
11061 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
11062 instead of long for conversion.
11063 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
11064 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
11065 before passing it to fprintf.
11066 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
11067 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
11068 Call set_fpscr before reading/writing SR.
11069 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
11070 Call set_fpscr.
11071 * config/sh/lib1funcs.asm: Add `.align 2' directives before
11072 SHmedia code.
11073 (FMOVD_WORKS): Define on SH5 with FPU.
11074 (set_fpscr): Define on SH5. Remove separate _fpscr_values
11075 setting.
11076 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
11077 _fpscr_values.
11078 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
11079 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
11080 address.
11081 (ia_main_table): Ditto.
11082 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
11083 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
11084 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
11085 the definitions from sh.h.
11086 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
11087 TARGET_SH5.
11088 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
11089 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
11090 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
11091 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
11092 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
11093 Increment LABEL_NUSES.
d9b3eb63 11094
fa5322fa
AO
11095 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
11096 TARGET_SH5.
11097 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
11098 defined.
11099 * config/sh/elf.h (SIZE_TYPE): Likewise.
11100 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
11101 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11102 shcompact_incoming_args): Load switch table addresses using
11103 datalabel.
11104 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
11105 (NO_BUILTIN_SIZE_TYPE): Define.
11106 (SIZE_TYPE): Don't define.
11107 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
11108 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
11109 definition of __SH5__=32 for -m5-compact-nofpu.
11110 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
11111 ADDR_DIFF_VEC.
11112 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
11113 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
11114 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
11115 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
11116 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
11117 (INSN_LENGTH_ALIGNMENT): Likewise.
11118 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11119 * config/sh/sh.md (call, call_value, sibcall): Simplify
11120 copying of non-branch-target register.
11121 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1e4e95d6 11122 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
fa5322fa
AO
11123 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
11124 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11125 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
11126 floating-point values as structs.
11127 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
11128 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
11129 general-purpose register.
11130 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
11131 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
11132 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
11133 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
11134 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
11135 (ENCODE_SECTION_INFO): Enclose variables and constants in
11136 DATALABEL unspecs.
11137 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
11138 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
11139 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
11140 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
11141 only for LABEL_REFs. For SYMBOL_REFs, prepend
11142 SH_DATALABEL_ENCODING to the symbol name.
11143 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
11144 convert_mode().
11145 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
11146 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
11147 UNSPEC_DATALABEL.
11148 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
11149 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
11150 (DATALABEL_REF_P): Don't require CONST.
11151 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
11152 REL label.
11153 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
11154 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
11155 right.
11156 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
11157 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
11158 Use shallow_copy_rtx and PUT_MODE to change the mode of
11159 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
11160 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
11161 on SHmedia using GENERAL_REGs.
11162 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11163 bltu_media_i): Fix reversion of conditions.
11164 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
11165 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
11166 * config/sh/sh.c (output_far_jump): Save r13 in macl.
11167 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
11168 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
11169 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
11170 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
11171 (GCC_nested_trampoline): Likewise.
11172 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
11173 * config/sh/sh.c (gen_datalabel_ref): Define.
11174 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
11175 (INITIALIZE_TRAMPOLINE): Likewise.
11176 (TRAMPOLINE_ADJUST_ADDRESS): Define.
11177 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
11178 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
11179 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
11180 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
11181 (ic_invalidate): Adjust for SH5.
11182 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
11183 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
11184 _nested_trampoline.
11185 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
11186 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
11187 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
11188 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
11189 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
11190 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
11191 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
11192 * config/sh/sh.c (target_reg_operand): Match only target-branch
11193 registers and pseudos that aren't virtual registers.
11194 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11195 Copy operands that don't match target_reg_operand to pseudos.
11196 (call_media, call_value_media, sibcall_media): Use
11197 target_reg_operand instead of target_operand.
11198 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 11199 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
11200 * config/sh/sh.c (target_reg_operand): Match hardware registers
11201 other than branch-target registers.
11202 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
11203 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
11204 (fpscr_values) [SH5 == 32]: Define.
11205 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
11206 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11207 Handle function addresses coming in SUBREGs.
11208 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
11209 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11210 shcompact_return_trampoline): Use datalabel where appropriate.
11211 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
11212 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
11213 general-purpose register to copy one branch-target register to
11214 another.
11215 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
11216 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
11217 SYMBOL_REFs with VOIDmode.
11218 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11219 bltu_media_i): New insns.
11220 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
11221 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
11222 (INIT_CUMULATIVE_ARGS): Likewise.
11223 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
11224 * machmode.def (V16SFmode): New mode.
11225 * c-common.c (type_for_mode): Support V2SF and V16SF.
11226 * tree.c (build_common_tree_nodes_2): Likewise.
11227 * tree.h (tree_index): Likewise.
11228 * calls.c (emit_call_1): Take args_so_far. Adjust all
11229 callers. Introduce CALL_POPS_ARGS.
11230 * tm.texi (CALL_POPS_ARGS): Document.
11231 * config/sh/crt1.asm: Implement in SHmedia mode.
11232 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
11233 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
11234 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
11235 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
11236 Implement divsi and udivsi in SHmedia mode. Introduce
11237 SHcompact trampolines.
11238 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
11239 only in SHmedia64.
11240 (regno_reg_class): Rewrite.
11241 (fp_reg_names): Remove.
11242 (sh_register_names, sh_additional_register_names): New.
11243 (print_operand): Added `u'. Support SUBREGs in addresses.
11244 Add parentheses around shifted CONSTs.
11245 (output_file_start): Output .mode and .abi directives.
11246 (shiftcosts, addsubcosts, multcosts): Adjust.
11247 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
11248 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
11249 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
11250 bytes, not registers. Take into account the need for the
11251 SHcompact incoming args trampoline. Adjust all callers.
11252 (sh_expand_prologue): Take stack_regs into account. Call
11253 incoming args trampoline. Keep stack aligned as per SH5 ABI.
11254 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
11255 stack aligned as per SH5 ABI.
11256 (sh_builtin_saveregs): Support SH5 ABI.
11257 (sh_build_va_list, sh_va_start): Likewise.
11258 (initial_elimination_offset): Take alignment into account.
11259 Compute location of PR according to the SH5 stack frame.
11260 (arith_reg_operand): Reject branch-target registers.
11261 (shmedia_6bit_operand): New.
11262 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
11263 (target_reg_operand): Match DImode only. Accept SUBREGs.
11264 (target_operand): New.
11265 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
11266 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
11267 SIBCALL_REGS for SHmedia.
11268 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
11269 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
11270 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
11271 (TARGET_SWITCHES): New SH5 flags.
11272 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
11273 VALID_REGISTER_P to disable unsupported registers.
11274 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
11275 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
11276 (FUNCTION_ARG_PADDING): Define.
11277 (FASTEST_ALIGNMENT): Adjust.
11278 (SH_REGISTER_NAMES_INITIALIZER): New.
11279 (sh_register_names): Declare.
11280 (DEBUG_REGISTER_NAMES): Define.
11281 (REGISTER_NAMES): Define based on sh_register_names.
11282 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
11283 (sh_additional_register_names): Declare.
11284 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
11285 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
11286 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
11287 (REGISTER_NATURAL_MODE): Define.
11288 (FIRST_PSEUDO_REGISTER): Adjust.
11289 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
11290 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
11291 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
11292 (VECTOR_MODE_SUPPORTED_P): Define.
11293 (REG_CLASS_CONTENTS): Adjust.
11294 (SMALL_REGISTER_CLASSES): Adjust.
11295 (REG_ALLOC_ORDER): Adjust.
11296 (INDEX_REG_CLASS): Adjust.
11297 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
11298 (CONST_OK_FOR_LETTER_P): Adjust.
11299 (PREFERRED_RELOAD_CLASS): Adjust.
11300 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
11301 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
11302 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
11303 (FIRST_FP_PARM_REG): Adjust.
11304 (CALL_POPS_ARGS): Define.
11305 (FUNCTION_ARG_REGNO_P): Adjust.
11306 (struct sh_args): New fields.
11307 (GET_SH_ARG_CLASS): Adjust.
11308 (INIT_CUMULATIVE_ARGS): Adjust.
11309 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
11310 (FUNCTION_ARG_ADVANCE): Adjust.
11311 (FUNCTION_ARG): Adjust.
11312 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
11313 (FUNCTION_ARG_CALLEE_COPIES): Define.
11314 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
11315 (STRICT_ARGUMENT_NAMING): Define.
11316 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
11317 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
11318 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
11319 (SETUP_INCOMING_VARARGS): Adjust.
11320 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
11321 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
11322 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
11323 (SUBREG_OK_FOR_INDEX_P): Adjust.
11324 (EXTRA_CONSTRAINT_S): Update.
11325 (EXTRA_CONSTRAINT_T): New.
11326 (EXTRA_CONSTRAINT): Adjust.
11327 (GO_IF_LEGITIMATE_INDEX): Adjust.
11328 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
11329 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
11330 (MOVE_MAX): Adjust.
11331 (MAX_MOVE_MAX): Define.
11332 (Pmode): Adjust.
11333 (CONST_COSTS): Adjust.
11334 (REGISTER_MOVE_COST): Adjust.
11335 (BRANCH_COST): Adjust.
11336 (TEXT_SECTION_ASM_OP): Adjust.
11337 (DBX_REGISTER_NUMBER): Adjust.
11338 (ASM_OUTPUT_DOUBLE_INT): New.
11339 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
11340 (PREDICATE_CODES): Adjust.
11341 (PROMOTE_MODE): Adjust.
11342 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
11343 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
11344 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
11345 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
11346 (DR0_REG, DR2_REG, DR4_REG): Renumber.
11347 (TR0_REG, TR1_REG, TR2_REG): New.
11348 (XD0_REG): Renumber.
11349 (UNSPEC_COMPACT_ARGS): New.
11350 (type): Added pt and ptabs.
11351 (length): Default to 4 on SHmedia. Default pt length to 12
1e4e95d6 11352 and 20 on SHmedia32 and SHmedia64, respectively.
fa5322fa
AO
11353 (pt): New function unit.
11354 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
11355 Add whitespace between operands of SHmedia instructions.
11356 (movdicc): Fix.
11357 (adddi3_media, addsi3_media): Adjust constraints.
11358 (subsi3) [SHmedia]: Force operand 1 into a register.
11359 (udivsi3_i1_media, udivsi3_i4_media): New.
11360 (udivsi3): Support SHmedia.
11361 (divsi3_i1_media, divsi3_i4_media): New.
11362 (divsi3): Support SHmedia.
11363 (anddi3, iordi3, xordi3): Adjust constraints.
11364 (zero_extendhidi2, zero_extendqidi2): New.
11365 (extendsidi2, extendhidi2, extendqidi2): New.
11366 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
11367 (pop_e, pop_fpul, pop_4): Likewise.
11368 (movsi_media): Support FP and BT registers.
11369 (movsi_media_nofpu): New. Adjust splits to DImode.
11370 (lduw, ldub): Renamed to zero_extend* above.
11371 (movqi_media): Fix typo.
11372 (movdi_media): Support FP and BT registers.
11373 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
11374 (movdi_const_32bit): New.
11375 (shori_media): Require immediate operand. Use `u' for output.
11376 (movdf_media, movsf_media): Simplified.
11377 (movdf_media_nofpu, movsf_media_nofpu): New.
11378 (movdf, movsf): Adjust
11379 (movv2sf, movv2sf, movv16sf): New.
11380 (beq_media, beq_media_i): Adjust constraints. Don't use
11381 scratch BT register.
11382 (bne_media, bne_media_i): Likewise.
11383 (bgt_media, bgt_media_i): Likewise.
11384 (bge_media, bge_media_i): Likewise.
11385 (bgtu_media, bgtu_media_i): Likewise.
11386 (bgeu_media, bgeu_media_i): Likewise.
11387 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
11388 bunordered): Emit jump insn. Force operands to registers when
11389 needed.
11390 (jump_media, jump): Simplify.
11391 (call_compact, call_compact_rettramp): New.
11392 (call_value_compact, call_value_compact_rettramp): New.
11393 (call_media, call_value_media): Simplify.
11394 (sibcall_compact, sibcall_media): New.
11395 (call, call_value): Adjust for SHmedia and SHcompact.
11396 (sibcall, sibcall_value, untyped_call): Likewise.
11397 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
11398 (indirect_jump): Adjust for SHmedia.
11399 (casesi_jump_media): New.
11400 (nop): Re-enable for SHmedia.
11401 (call_site): Restrict to SH1.
11402 (casesi): Adjust for SHmedia.
11403 (casesi_shift_media, casesi_load_media): New.
11404 (return): Explicitly use PR register. Call return trampoline
11405 on SHcompact.
11406 (return_i): Explicitly use PR register.
11407 (shcompact_return_tramp, shcompact_return_tramp_i): New.
11408 (return_media): Adjust.
11409 (shcompact_incoming_args): New.
11410 (epilogue): Adjust.
11411 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11412 (movstrsi): Disable on SH5.
11413 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
11414 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
11415 (subsf3, subsf3_media): Likewise.
11416 (mulsf3, mulsf3_media, mac_media): Likewise.
11417 (divsf3, divsf3_media): Likewise.
11418 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
11419 (floatsisf2, fux_truncsfsi2): Likewise.
11420 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
11421 constraints.
11422 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
11423 (cmpunsf_media, cmpsf): Likewise.
11424 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
11425 (abssf2, abssf2_media): Likewise.
11426 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
11427 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
11428 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
11429 (floatsidf2, fix_truncdfsi2): Likewise.
11430 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
11431 constraints.
11432 (cmpeqdf_media, cmpgtdf_media): Likewise.
11433 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
11434 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
11435 (absdf2, absdf2_media): Likewise.
11436 (extendsfdf2, extendsfdf2_media): Likewise.
11437 (truncsfdf2, truncsfdf2_media): Likewise.
11438 * config/sh/sh64.h: New file.
11439 * config/sh/t-sh64: New file.
11440 * config/sh/shmedia.h: New file.
11441 * config/sh/ushmedia.h: New file.
11442 * config/sh/sshmedia.h: New file.
11443 * configure.in: Added sh64-*-elf.
11444 * configure: Rebuilt.
11445 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
11446 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
11447 (reg_class_from_letter): Use `b' for TARGET_REGS.
11448 (print_operand): Support `%M', `%m', `AND' and
11449 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
11450 (andcosts): Adjust for SHmedia.
11451 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
11452 Likewise.
11453 (target_reg_operand): New function.
11454 * config/sh/sh-protos.h (target_reg_operand): Declare.
11455 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
11456 FP registers on SH5.
11457 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
11458 on SH4.
11459 (TARGET_REGISTER_P): New macro.
11460 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
11461 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
11462 (EXTRA_CONSTRAINT_S): New macro.
11463 (EXTRA_CONSTRAINT): Adjust.
11464 (FLOAT_TYPE_SIZE): Define to 32.
11465 (Pmode): DImode on SHmedia.
11466 (CONST_COSTS): Adjust for SHmedia literals.
11467 (PREDICATE_CODES): Added target_reg_operand.
11468 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
11469 * config/sh/sh.md: Remove all attrs from SHmedia insns.
11470 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
11471 (cmpdi): Accept SHmedia.
11472 (movdicc_false, movdicc_true): New insns.
11473 (movdicc): New expand.
11474 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
11475 no_new_pseudos.
11476 (addsi3_media): Match `S' constraint.
11477 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
11478 (negdi2): Expand for SHmedia.
11479 (one_cmpldi2): New expand.
11480 (zero_extendsidi2): Change from expand to insn.
11481 (extendsidi2): Add constraints.
11482 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
11483 LD/ST address. Fix SI immediate loading split.
11484 (movhi_media, movqi_media, lduw, ldub): New insns.
11485 (movhi, movqi): Accept SHmedia.
11486 (shori_media, movdi_media): Relax input constraints. Split
11487 symbolic constants.
11488 (movdf_media, movsf_media): New insn. New split to movdi.
11489 (movdf, movsf): Match on SHmedia.
11490 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
11491 bgeu_media): New insns and splits. New insns with `_i' suffix.
11492 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
11493 (bunordered): New expand.
11494 (jump_compact): Renamed from `jump'.
11495 (jump_media): New insn.
11496 (jump): New expand.
11497 (call_media, call_value_media): New insns.
11498 (call, call_value): Adjust.
11499 (indirect_jump_compact): Renamed from `indirect_jump'.
11500 (indirect_jump_media): New insn.
11501 (indirect_jump): New expand.
11502 (untyped_call, return): Accept SHmedia.
11503 (return_media): New insn.
11504 (prologue, epilogue, blockage): Accept SHmedia.
11505 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11506 (sunordered): New expand.
11507 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
11508 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
11509 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
11510 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
11511 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
11512 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
11513 abssf2_media): New insns.
11514 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
11515 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
11516 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
11517 floatdidf2, floatsidf2_media, fix_truncdfdi2,
11518 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
11519 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
11520 absdf2_media): New insns.
11521 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
11522 (extendsfdf2_media, truncdfsf2_media): New insns.
11523 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
11524 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
11525 * config/sh/sh.h (CONST_OK_FOR_J): Document.
11526 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
11527 * config/sh/sh.md (adddi3): New expand.
11528 (adddi3_media, adddi3z_media): New insns.
11529 (adddi3_compact): Renamed from adddi3.
11530 (addsi3_media): Use add.l r63 to add constant zero.
11531 (subdi3): New expand.
11532 (subdi3_media): New insn.
11533 (subdi3_compact): Renamed from subdi3.
11534 (mulsidi3): New expand.
11535 (mulsidi3_media): New insn.
11536 (mulsidi3_compact): Renamed from mulsidi3.
11537 (umulsidi3): New expand.
11538 (umulsidi3_media): New insn.
11539 (umulsidi3_compact): Renamed from umulsidi3.
11540 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
11541 (ashlsi3, ashrsi3, lshrsi3): Use them.
11542 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
11543 (ashldi3, ashrdi3, lshrdi3): Use them.
11544 (zero_extendsidi2): New expand.
11545 (extendsidi2): New insn.
11546 (movsi_media): New insn. Split to movdi to load constants.
11547 (movsi): Enable for shmedia.
11548 (movdi_media): New insn. Use shori_media to load wide constants.
11549 (short_media): New insn.
11550 (movdi): Enable for shmedia.
11551 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
11552 * config/sh/sh.h (CPP_SPEC): Added `m5'.
11553 (SUBTARGET_CPP_SPEC): Added `!m5'.
11554 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
11555 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
11556 to all other SH variants.
11557 (TARGET_DEFAULT): Set to SH1_BIT.
11558 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
11559 (BITS_PER_WORD): Raise to 64 on shmedia.
11560 (MAX_BITS_PER_WORD): Change to 64.
11561 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
11562 (INT_TYPE_SIZE): Keep as 32.
11563 (UNITS_PER_WORD): Raise to 8 on shmedia.
11564 (MIN_UNITS_PER_WORD): Keep as 4.
11565 (POINTER_SIZE): Raise to 64 on shmedia.
11566 (CONST_OK_FOR_J): New macro.
11567 (CONST_OK_FOR_LETTER_P): Use it.
11568 (processor_type): Add PROCESSOR_SH5.
11569 * config/sh/sh.md: Conditionalize all expands, insns and
11570 splits to TARGET_SH1.
11571 (cpu): Added sh5.
11572 (addsi3_compact): Renamed from...
11573 (addsi3): Now an expand.
11574 (addsi3_media, subsi3_media): New insns.
11575 (subsi3): Don't negate constants with SHmedia.
11576
e4ec2cac
AO
11577 * hooks.c: New file.
11578 * hooks.h: New file.
11579 * Makefile.in (HOOKS_H): New.
11580 (TARGET_DEF_H): Added $(HOOKS_H).
11581 (OBJS): Added hooks.o.
11582 (cfgcleanup.o, bb-reorder.o): Added target.h.
11583 (hooks.o): Added dependencies.
11584 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
11585 (TARGET_INITIALIZER): this.
11586 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
11587 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
11588 * bb-reorder.c: Include target.h.
11589 (reorder_basic_blocks): Skip if cannot modify jumps.
11590 * cfgcleanup.c: Include target.h.
11591 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
11592
246a46e0
CD
115932002-02-08 Chris Demetriou <cgd@broadcom.com>
11594
831c4e87
KC
11595 * config/mips/mips.md (casesi_internal, casesi_internal_di):
11596 Protect jump delay slot instructions with .set noreorder and
11597 .set nomacro.
246a46e0
CD
11598
115992002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
11600
11601 * config/mips/mips.md (casesi_internal_di): Calculate
11602 the index into the target offset table correctly.
11603
fdf473ae
RH
116042002-02-08 Richard Henderson <rth@redhat.com>
11605
11606 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
11607 * final.c (output_addr_const): Accept and discard SUBREG.
11608 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
11609 mark them unknown instead.
11610 (simplify_subtraction): Handle RTX_UNKNOWN.
11611 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
11612
c50503ac
DE
116132002-02-08 David Edelsohn <edelsohn@gnu.org>
11614
11615 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
11616
3660d217
RH
116172002-02-08 Richard Henderson <rth@redhat.com>
11618
11619 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
11620
56547299
AJ
116212002-02-08 Andreas Jaeger <aj@suse.de>
11622
11623 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
11624 * config/i386/t-linux64: New file.
11625
1cf537c5
JJ
116262002-02-08 Jakub Jelinek <jakub@redhat.com>
11627
11628 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
11629 * c-parse.in (compstmt): Clear last_expr_type.
11630
5c7f5a5f
RH
116312002-02-07 Richard Henderson <rth@redhat.com>
11632
11633 * loop.c (strength_reduce): Sink final_value when not
11634 eliminating a biv.
11635
b1138bf3
DB
116362002-02-07 David O'Brien <obrien@FreeBSD.org>
11637
11638 * config/sparc/freebsd.h: Fix mismatched spec {.
11639
b6878a45
RH
116402002-02-07 Richard Henderson <rth@redhat.com>
11641
11642 * cfgrtl.c: Include recog.h and insn-config.h.
11643 (keep_with_call_p): Fix general_operand invocation.
11644 * Makefile.in (cfgrtl.o): Update dependencies.
11645
ae19f5ef
KH
116462002-02-07 Kazu Hirata <kazu@hxi.com>
11647
11648 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
11649 comment. Accept HImode only if TARGET_H8300.
11650
b137f9fc
EC
116512002-02-07 Eric Christopher <echristo@redhat.com>
11652
11653 * config/mips/crtn.asm: Cleanup #ifdefs.
11654
116552002-02-07 Eric Christopher <echristo@redhat.com>
11656
11657 * config/mips/crti.asm: Add changes for mips16. mips16 uses
11658 register 7 as RA instead of $31.
11659 * config/mips/crtn.asm: Ditto.
11660 * config/mips/mips.c (mips_move_2words): Add case for
11661 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
11662 (compute_frame_size): Fix typo.
11663 (save_restore_insns): Ditto. Make documentation about using
11664 register $7 as return register more precise.
11665 (mips_expand_epilogue): Fix comment. Add code to work around not
11666 being able to add to the stack pointer directly.
11667 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
11668 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
11669 epilogue.
11670
768070a0
TR
116712002-02-07 Tom Rix <trix@redhat.com>
11672
b137f9fc 11673 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
11674 immediates in ldu and stdu DS opcode field.
11675 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
11676 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
11677 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
11678
225909c3
JS
116792002-02-07 Jeff Sturm <jsturm@one-point.com>
11680
11681 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
11682 offset for stack bias.
11683
15fae023
L
116842002-02-07 H.J. Lu <hjl@gnu.org>
11685
11686 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
11687
fde5badd
UW
116882002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
11689
11690 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
11691
162f023b
JH
11692Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
11693
11694 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
11695 * i386.c (x86_order_regs_for_local_alloc): New global function.
11696 * i386.h (REG_ALLOC_ORDER): CLeanup.
11697 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
11698
9b462c42
RH
116992002-02-07 Richard Henderson <rth@redhat.com>
11700
85aa876c 11701 PR optimization/2463
9b462c42
RH
11702 * alias.c (find_base_value): Recall base values for fixed hard regs.
11703 * loop.c (loop_regs_update): Don't use single_set on non-insns.
11704
06e455a9
AO
117052002-02-07 Alexandre Oliva <aoliva@redhat.com>
11706
11707 * config/mips/mips.md (define_delay) [mips16]: Adjust required
11708 length.
11709
edd1967d
RH
117102002-02-06 Richard Henderson <rth@redhat.com>
11711
11712 PR c/5609
11713 * stmt.c (resolve_operand_name_1): Take more care with mixed
11714 named and unnamed operands.
11715
a2cd028f
JJ
117162002-02-06 Janis Johnson <janis187@us.ibm.com>
11717 Jan Hubicka <jh@suse.cz>
11718
11719 * loop.c (remove_constant_addition): Avoid clobbering a shared
11720 CONST expression.
11721
e8487c04
UW
117222002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11723
11724 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
11725 * config/s390/t-linux64: New file.
11726 * config/s390/libgcc-glibc.ver: New file.
11727
58d10f89
UW
117282002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11729
11730 * config/s390/linux64.h: Delete file.
11731 * config/s390/s390x.h: New file.
11732 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
11733 as target header file.
11734 * config/s390/linux.h (TARGET_VERSION): Define depending on
11735 DEFAULT_TARGET_64BIT.
11736 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
11737 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
11738 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
11739 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
11740 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
11741 (EXTRA_SPEC): New define.
11742 * config/s390/s390.h (TARGET_VERSION): Define depending on
11743 DEFAULT_TARGET_64BIT.
11744 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
11745
5ce89b2e
JM
117462002-02-06 Jason Merrill <jason@redhat.com>
11747
11748 * c-decl.c (finish_function): Warn about a non-void function with
11749 no return statement and no abnormal exit.
11750 (current_function_returns_abnormally): New variable.
11751 (start_function): Clear it.
11752 (struct c_language_function): Add returns_abnormally.
11753 (push_c_function_context): Save it.
11754 (pop_c_function_context): Restore it.
11755 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
11756 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
11757 an explicit return type.
11758 * c-tree.h: Declare current_function_returns_abnormally.
11759 (C_FUNCTION_IMPLICIT_INT): New macro.
11760 * c-typeck.c (build_function_call): Set it.
11761 (c_expand_return): Set current_function_returns_value even if the
11762 value is erroneous.
11763
caaf2272
JJ
117642002-02-06 Jakub Jelinek <jakub@redhat.com>
11765
11766 PR c/5420:
11767 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
11768 unsafe for reevaluation.
11769
d5129288
JJ
117702002-02-06 Jakub Jelinek <jakub@redhat.com>
11771
11772 PR c/5482:
11773 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
11774 EXPR_STMT, but COMPOUND_STMT, recurse into it.
11775
7fb75099
RH
117762002-02-06 Richard Henderson <rth@redhat.com>
11777
11778 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
11779 be a general_operand. Dest for function value must be a pseudo.
11780
d3a8b6a6
NC
117812002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
11782
11783 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
11784 as SYMBOL_REFs from the constant pool.
11785
3c1299c5
AO
117862002-02-06 Alexandre Oliva <aoliva@redhat.com>
11787
11788 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
11789 passed by invisible reference.
11790
c2c9f6c9
RH
117912002-02-05 Richard Henderson <rth@redhat.com>
11792
11793 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
11794
a824924d
HPN
117952002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
11796
11797 Implement using "base addresses" in insn operands as default.
11798 * config/mmix/mmix.c (mmix_conditional_register_usage): if
11799 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
11800 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
11801 used to read the rtx value.
11802 (mmix_target_asm_function_epilogue): Fix spacing.
11803 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
11804 (mmix_legitimate_address): Ditto.
11805 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
11806 should be loaded with a GETA insn. Don't allocate needless extra
11807 char for nul termination and fix misleading comment.
11808 (mmix_print_operand_address): Handle constants if
11809 TARGET_BASE_ADDRESSES.
11810 (mmix_output_register_setting): Use base addressing if
11811 TARGET_BASE_ADDRESSES and the number of insns is 3.
11812 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
11813 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
11814 to use R as constraint, add LDA to match s.
11815 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
11816 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
11817 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
11818 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
11819 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
11820 order with other fixed registers.
11821 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
11822 other parameter/call-clobbered registers.
11823 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
11824 -mbase-addresses, -mno-base-addresses.
11825 (MMIX Options): Ditto.
11826
73c342b9
JDA
118272002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
11828
11829 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
11830
ef238c58
AH
118312002-02-06 Aldy Hernandez <aldyh@redhat.com>
11832
831c4e87 11833 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 11834
ad08e60e
JT
118352002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
11836
11837 * config/netbsd.h (WCHAR_TYPE): Define.
11838 (WCHAR_TYPE_SIZE): Ditto.
11839 (WINT_TYPE): Ditto.
11840 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
11841 (WCHAR_UNSIGNED): Ditto.
11842 (WCHAR_TYPE_SIZE): Ditto.
11843 (WINT_TYPE): Ditto.
11844 * config/arm/netbsd.h: Likewise.
11845 * config/i386/netbsd-elf.h: Likewise.
11846 * config/i386/netbsd.h: Likewise.
11847 * config/m68k/netbsd-elf.h: Likewise.
11848 * config/m68k/netbsd.h: Likewise.
11849 * config/ns32k/netbsd.h: Likewise.
11850 * config/sparc/netbsd.h: Likewise.
11851 * config/vax/netbsd.: Likewise.
11852
f913c102
AO
118532002-02-05 Alexandre Oliva <aoliva@redhat.com>
11854
11855 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
11856 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
11857 (TARGET_INITIALIZER): this.
11858 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
11859 (BITFIELD_NBYTES_LIMITED): Markup fix.
11860 * tree.h (default_ms_bitfield_layout_p): Declare.
11861 (record_layout_info): Added prev_field.
11862 * tree.c (default_ms_bitfield_layout_p): New fn.
11863 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
11864 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
11865 * stor-layout.c: Include target.h.
11866 (start_record_layout): Initialize prev_field.
11867 (place_field): Handle MS bit-field layout, and disregard
11868 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
11869 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
11870 * Makefile.in (stor-layout.o): Adjust dependencies.
11871
c13db5d1
JM
118722002-02-05 Jason Merrill <jason@redhat.com>
11873
c13db5d1
JM
11874 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
11875
4505024e
AJ
118762002-02-05 Andreas Jaeger <aj@suse.de>
11877
11878 * crtstuff.c: Fix comments.
11879
794ad79d
RH
118802002-02-05 Richard Henderson <rth@redhat.com>
11881
2e279a9b
RH
11882 PR fortran/3393
11883 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
11884 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
11885
794ad79d
RH
11886 PR fortran/3392
11887 * config/mips/mips.c (function_arg): Handle TImode.
11888 (function_arg_advance): Likewise.
11889
8f909017
AH
118902002-02-05 Aldy Hernandez <aldyh@redhat.com>
11891
c13db5d1
JM
11892 * config/rs6000/altivec.h (vec_step_help): Rename to
11893 __vec_step_help.
8f909017 11894
66daa9e3
AH
118952002-02-05 Aldy Hernandez <aldyh@redhat.com>
11896
c13db5d1 11897 * config/rs6000/altivec.h: Fix typos.
66daa9e3 11898
2696e97b
JT
118992002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
11900
11901 * config/arm/netbsd.h: Correct a comment.
11902
3deb2758
AH
119032002-02-05 Aldy Hernandez <aldyh@redhat.com>
11904
c13db5d1
JM
11905 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
11906 building void typed builtins.
3deb2758 11907
c13db5d1
JM
11908 * config/rs6000/altivec.h (vec_ld*): Fix typos.
11909 (vec_step): Implement for C++.
3deb2758 11910
c13db5d1 11911Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
11912
11913 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
11914
ebbb0a63
RH
119152002-02-04 Richard Henderson <rth@redhat.com>
11916
11917 * combine.c (nonzero_bits): Re-introduce special case for
11918 sp/fp/ap wrt REGNO_POINTER_ALIGN.
11919
ae4b4a02
AH
119202002-02-05 Aldy Hernandez <aldyh@redhat.com>
11921
c13db5d1
JM
11922 * doc/extend.texi: Warn about unsupported usage of altivec
11923 builtins.
ae4b4a02 11924
c13db5d1
JM
11925 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
11926 (altivec_predicate_*): New.
ae4b4a02 11927
c13db5d1
JM
11928 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
11929 Add C++ version of vec_*() functions.
ae4b4a02 11930
c13db5d1
JM
11931 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
11932 (bdesc_2arg): Remove altivec predicates.
11933 (altivec_expand_builtin): Handle predicates.
11934 (altivec_init_builtins): Handle predicates.
11935 (altivec_expand_predicate_builtin): New.
ae4b4a02 11936
f6bcf44c
JDA
119372002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11938
11939 * pa.c (DO_FRAME_NOTES): Move forward.
11940 (store_reg): Revise handling of frame notes.
11941 (load_reg): Likewise.
11942 (set_reg_plus_d): Likewise.
11943 (hppa_expand_prologue): Likewise.
11944 (hppa_expand_epilogue): Likewise.
b137f9fc 11945
703b0080
JDA
119462002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11947
11948 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
11949
6f9fdf4d
JJ
119502002-02-04 Jakub Jelinek <jakub@redhat.com>
11951
11952 PR c/4475, c++/3780:
11953 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
11954 * c-common.h (SWITCH_TYPE): Define.
11955 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
11956 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
11957 Rename spareness variable to sparseness.
11958 (expand_end_case_type): Renamed from expand_end_case, use orig_type
11959 if non-NULL instead of TREE_TYPE (orig_index).
11960 * tree.h (expand_end_case_type): Renamed from expand_end_case.
11961 (expand_end_case): Define using expand_end_case_type.
11962 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
11963 to expand_end_case_type.
11964 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
11965
79109502
JDA
119662002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11967
11968 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
11969 (BIGGEST_ALIGNMENT): Change to 128.
11970
e62a5987
JDA
119712002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11972
11973 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
11974
219f24a4
JDA
119752002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11976
11977 * pa.md (call_internal_reg_64bit): Remove unused variable.
11978
3cb66fd7
NC
119792002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
11980
11981 * config/arm/arm.h (machine_function): Add uses_anonymous_args
11982 field.
831c4e87 11983 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 11984 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
11985 replace uses with cfun->machine->uses_anonymous_args.
11986 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
11987
11988 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
11989 any geenral register.
b137f9fc 11990
5d5603e2 119912001-02-04 Bernd Schmidt <bernds@redhat.com>s
24c545ff
BS
11992
11993 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
11994 the entry block.
11995
563c12b0
RH
119962002-02-04 Richard Henderson <rth@redhat.com>
11997
11998 * combine.c (force_to_mode): Remove STACK_BIAS code.
11999 (nonzero_bits): Likewise. Replace sp/fp special case with
12000 REGNO_POINTER_ALIGN.
12001
12002 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
12003 (HARD_FRAME_POINTER_REGNUM): New.
12004 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
12005 (FIXED_REGS, CALL_USED_REGS): Update.
12006 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
12007 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
12008 (HARD_REGNO_NREGS): Update for SFP.
12009 (STACK_POINTER_OFFSET): Include bias here ...
12010 (FIRST_PARM_OFFSET): ... not here.
12011 (STACK_BIAS): Remove.
12012 (INIT_EXPANDERS): New.
12013 (STARTING_FRAME_OFFSET): Do not include bias.
12014 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
12015 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
12016 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
12017 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
12018 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
12019 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
12020 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
12021 (MUST_SAVE_REGISTER): Likewise.
12022 (sparc_flat_function_prologue): Likewise.
12023 (sparc_flat_function_epilogue): Likewise.
12024 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
12025 (sparc_init_modes): SFP is GENERAL_REGS.
12026 (sparc_builtin_saveregs): SFP does not have bias applied.
12027
14691f8d
RH
120282002-02-04 Richard Henderson <rth@redhat.com>
12029
12030 * config/alpha/alpha.c (current_function_is_thunk): Don't check
12031 current_function_is_thunk.
12032 (alpha_sa_mask): Distinguish between current_function_is_thunk
12033 called from ASM_OUTPUT_MI_THUNK and not.
12034 (alpha_does_function_need_gp): Thunks always need gp.
12035 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
12036 (alpha_output_mi_thunk_osf): New.
12037 * config/alpha/alpha-protos.h: Update.
12038 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
12039
af702de8
RS
120402002-02-04 Richard Sandiford <rsandifo@redhat.com>
12041
12042 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
12043 function types, not when they're taken away.
12044
5b1cacd8
JL
12045Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
12046
12047 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
12048 CODE_LABEL and jump table when replacing a table jump with a
12049 simple jump.
12050
f3e9edff
UW
120512002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12052
12053 * config/s390/s390-protos.h (legitimize_la_operand,
12054 s390_secondary_input_reload_class, s390_plus_operand,
12055 s390_expand_plus_operand): Add prototypes.
12056
12057 config/s390/s390.c (s390_secondary_input_reload_class,
12058 s390_plus_operand, s390_expand_plus_operand): New functions.
12059
12060 (struct s390_address): New member 'pointer'.
12061 (s390_decompose_address): Compute it.
12062 (legitimate_la_operand_p): Use it.
12063 (legitimize_la_operand): New function.
12064 (movti, movdi, movdf splitters): Call it.
12065
12066 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
12067 (PREDICATE_CODES): Add s390_plus_operand.
12068
12069 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
12070 (la_ccclobber): Allow GENERAL_REGS as output operand.
12071
12072 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
12073 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
12074 (*la_64, *la_31, reload_indi, reload_insi): ... these.
12075
3c9a08ec
UW
120762002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12077
12078 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
12079 register names for regular asm () construct.
12080
ac300a45
JJ
120812002-02-04 Jakub Jelinek <jakub@redhat.com>
12082
12083 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
12084 registers.
12085
fa852403
JJ
120862002-02-04 Jakub Jelinek <jakub@redhat.com>
12087
12088 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
12089 pat for recog.
12090
fecaac37
HP
120912002-02-04 Hartmut Penner <hpenner@de.ibm.com>
12092
831c4e87
KC
12093 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
12094 constant pool to be identical by string address and index.
fecaac37 12095
10c45943
AG
120962002-02-04 Anthony Green <green@redhat.com>
12097
12098 * output.h (SECTION_OVERRIDE): Define.
12099 * varasm.c (named_section): Obey SECTION_OVERRIDE.
12100
69474c3c
JT
121012002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
12102
12103 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
12104 by existing arm*-*-netbsd* (a.out) target.
12105 (ns32k-*-netbsdelf*): Likewise.
12106 (sparc-*-netbsdelf*): Likewise.
12107 (vax-*-netbsdelf*): Likewise.
12108
939a46f6 121092002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
12110
12111 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
12112 headers and libobjc headers.
12113
121142002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
12115
12116 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
12117 (_mingw.h): Remove duplicate include.
12118
2fd95d71
JT
121192002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
12120
12121 * config.gcc: Set cpu_type to m68k for 68010, as well.
12122 (m68010-*-netbsdelf*): New...
12123 (m68k*-*-netbsdelf*): ...targets.
12124 * config/m68k/netbsd-elf.h: New file.
12125
0ea6f6a0
KH
121262002-02-02 Kazu Hirata <kazu@hxi.com>
12127
12128 * config/h8300/h8300.c (hand_list): Move inside function_arg.
12129
cbf1b2da
KH
121302002-02-02 Kazu Hirata <kazu@hxi.com>
12131
12132 * config/h8300/h8300.c (h8_push_ops): Move inside
12133 h8300_init_once.
12134 (h8_pop_ops): Likewise.
12135 (h8_move_ops): Likewise.
12136
0869f126
KH
121372002-02-02 Kazu Hirata <kazu@hxi.com>
12138
12139 * config/h8300/h8300.c (os_task): Make it static.
12140 (monitor): Likewise.
12141 (pragma_saveall): Likewise.
12142
90e65b70
AO
121432002-02-02 Alexandre Oliva <aoliva@redhat.com>
12144
12145 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
12146 constant is a valid sign-extension for Pmode.
12147
9cbcd983
KH
121482002-02-02 Kazu Hirata <kazu@hxi.com>
12149
12150 * config/h8300/h8300.c: Fix formatting.
12151
7a27efc4
KH
121522002-02-02 Kazu Hirata <kazu@hxi.com>
12153
12154 * config/h8300/h8300.md: Fix formatting.
12155
54175a44
KH
121562002-02-02 Kazu Hirata <kazu@hxi.com>
12157
12158 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
12159 predicates of operands[1]. Split the patterns for each
12160 processor variant.
12161
eceb1755
KH
121622002-02-02 Kazu Hirata <kazu@hxi.com>
12163
12164 * config/h8300/h8300.md (xor patterns): Tighten the predicates
12165 of operands[1] to register_operand.
12166
0fef3fd0
NB
121672002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12168
12169 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
12170 * cpphash.c (_cpp_init_hashtable): Similarly.
12171 * cppinit.c (cpp_create_reader): Default the signed_char flag.
12172 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
12173 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
12174 (cpp_handle_option): Handle the new options.
12175 * cpplex.c (cpp_interpret_charconst): Use new flag.
12176 * cpplib.h (struct cpp_options): New member signed_char.
12177 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
12178 (cpp_options): Handle -fsigned-char and -funsigned-char.
12179 (static_specs): Remove signed_char_spec.
12180 (do_spec1): Don't handle %c.
12181 * system.h: Poison SIGNED_CHAR_SPEC.
12182 * tradcif.y (yylex): Use flag_signed_char.
12183 * tradcpp.h (flag_signed_char): New.
12184 * tradcpp.c (flag_signed_char): New.
12185 (main): Handle new command-line options.
12186 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
12187config:
12188 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
12189 * avr/avr.h: Remove old comments.
12190 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
12191 (CC1_SPEC): Pass -fsigned-char if -mic*.
12192 (SIGNED_CHAR_SPEC): Remove.
12193doc:
12194 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
12195
0617ed52
EC
121962002-02-01 Eric Christopher <echristo@redhat.com>
12197
12198 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
12199 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
12200 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
12201 (ASM_OUTPUT_REG_POP): Ditto.
12202
dfd48d76
NB
122032002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12204
12205 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
12206 patch.
12207
4a23409e
JJ
122082002-02-02 Jakub Jelinek <jakub@redhat.com>
12209
12210 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
12211
d3c52658
JJ
122122002-02-02 Jakub Jelinek <jakub@redhat.com>
12213
12214 PR c/5304:
12215 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
12216 unconditionally.
12217
02c5a3bd
JJ
122182002-02-01 Janis Johnson <janis187@us.ibm.com>
12219
12220 * cfganal.c: Include tm_p.h.
12221 (keep_with_call_p): Fix the test that determines if a register holds
12222 the return value of a call.
12223
3968de80
DD
122242002-02-01 DJ Delorie <dj@redhat.com>
12225
12226 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
12227 we are given conflicting registers, switch to the other one we
12228 had allocated for us.
12229 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
12230 as TImode so we know when the "other" register is available.
12231
1338ea6c
DB
122322002-02-01 David O'Brien <obrien@FreeBSD.org>
12233
12234 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
12235 sparc/sparc_bi.h.
12236
f015be23
JJ
122372002-02-01 Janis Johnson <janis187@us.ibm.com>
12238
12239 * cfganal.c (keep_with_call_p): New function.
12240 (flow_call_edges_add): Prevent splitting a block between a call and
12241 a single-set instruction that should be kept in the same block.
12242
63708ffc
CR
122432002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
12244
12245 * doc/install.texi (avr): Update outdated URL.
12246
5ee4950e
AH
122472002-01-30 Andrew Haley <aph@cambridge.redhat.com>
12248
831c4e87
KC
12249 * config/stormy16/stormy16.md (pushqi): New.
12250 (popqi): New.
12251 (pushhi): New.
12252 (pophi): New.
12253 (movhi): Remove stack operands.
12254 (movqi): Likewise.
12255 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
12256 nonimmediate_nonstack_operand.
12257 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
12258 New.
12259 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
12260 New.
5ee4950e 12261
b88c0704
JM
122622002-01-31 Jason Merrill <jason@redhat.com>
12263
12264 * Makefile.in (c-parse.c): Handle .output file.
12265 * objc/Make-lang.in (objc-parse.c): Likewise.
12266
ac282977
AO
122672002-02-01 Alexandre Oliva <aoliva@redhat.com>
12268
12269 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
12270 the -me[lb] option is given. Don't output the default flag
12271 twice.
12272
bebc7e8b
ZW
122732002-01-31 Zack Weinberg <zack@codesourcery.com>
12274
12275 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
12276 the primary source file; this has not been done yet.
12277 * c-decl.c (c_expand_body): Reset input_filename from
12278 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
12279
5809eb5f
KH
122802002-01-31 Kazu Hirata <kazu@hxi.com>
12281
12282 * rtlanal.c (subreg_regno_offset): Do not use
12283 SUBREG_REGNO_OFFSET.
12284 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
12285 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
12286
8512bbd7
JM
122872002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12288
12289 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
12290 version rather than GNATS version in --version output.
12291
74cb3cc8
RS
122922002-01-31 Richard Sandiford <rsandifo@redhat.com>
12293
12294 * ifcvt.c (noce_process_if_block): Make a copy of the destination
12295 when copying back from a temporary.
12296
874b5b14
RH
122972002-01-30 Richard Henderson <rth@redhat.com>
12298
12299 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
12300 and new_dest are the same.
12301
e803a64b
RH
123022002-01-30 Richard Henderson <rth@redhat.com>
12303
89cf7be5 12304 PR opt/5076
e803a64b
RH
12305 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
12306 * rtl.c (note_insn_name): Update.
12307 * emit-rtl.c (remove_unnecessary_notes): Kill it.
12308 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
12309 to perform loop rotation.
12310 (expand_exit_loop_top_cond): New.
12311 * tree.h (expand_exit_loop_top_cond): Declare it.
12312 * c-semantics.c (genrtl_while_stmt): Use it.
12313 (genrtl_for_stmt): Likewise.
12314
0b51254d
AO
123152002-01-30 Alexandre Oliva <aoliva@redhat.com>
12316
12317 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
12318 arguments to 64-bit boundaries on 64-bit ABIs.
12319
71cef493
SE
123202002-01-30 Steve Ellcey <sje@cup.hp.com>
12321
12322 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
12323
6169e5fd
JM
123242002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12325
12326 * c-decl.c (grokdeclarator): Handle type being a typedef for an
12327 invalid type.
12328
86f808dc
DB
123292002-01-30 David O'Brien <obrien@FreeBSD.org>
12330
12331 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
12332 * config/sparc/sparc_bi.h: Remove file.
12333 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
12334
5748ebeb
RH
123352002-01-30 Richard Henderson <rth@redhat.com>
12336
12337 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
12338
20d32cc2
ZW
123392002-01-30 Zack Weinberg <zack@codesourcery.com>
12340
12341 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
12342
b88c0704 123432002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
12344
12345 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
12346 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
12347 (reg_save): Use DW_CFA_offset_extended_sf instead.
12348
12349 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
12350
37060e78
JJ
123512002-01-29 Jakub Jelinek <jakub@redhat.com>
12352
12353 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
12354 in cselib_lookup.
12355
d18dba68
AH
123562002-01-29 Aldy Hernandez <aldyh@redhat.com>
12357
bebc7e8b
ZW
12358 * rs6000.md ("*call_value_local32"): Remove constraints.
12359 ("*call_value_local64"): Same.
12360 ("*call_value_indirect_nonlocal_aix32"): Same.
12361 ("*call_value_nonlocal_aix32"): Same.
12362 ("*call_value_indirect_nonlocal_aix64"): Same.
12363 ("*call_value_nonlocal_aix64"): Same.
12364 ("*call_value_nonlocal_sysv"): Same.
d18dba68 12365
80a8aac6
RH
123662002-01-29 Richard Henderson <rth@redhat.com>
12367
12368 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
12369
12beba6f
RH
123702002-01-29 Richard Henderson <rth@redhat.com>
12371
12372 * expr.c (force_operand): Ignore flag_pic for detecting pic
12373 address loads.
12374 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
12375 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
12376 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
12377 instead of open-coded loop.
12378 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
12379 be fixed when in use.
12380
2583081e
RH
123812002-01-29 Richard Henderson <rth@redhat.com>
12382
12383 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
12384 * sched-rgn.c (propagate_deps): Update them.
12385 * sched-deps.c (sched_analyze_insn): Update them. Flush the
12386 clobbers list when either gets too long.
12387
3b8d200e
JJ
123882002-01-29 Jakub Jelinek <jakub@redhat.com>
12389
12390 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
12391 and INDEX_REGS the same as GENERAL_REGS.
12392 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12393
2d3115eb
NB
123942002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
12395
bebc7e8b 12396 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 12397
ecbe845e
UW
123982002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
12399
bebc7e8b 12400 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 12401 movstrsix_31): Remove, replace by ...
bebc7e8b 12402 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
12403 movstrsi_long): ... these. New.
12404 (movstrdi, movstrsi): Adapt.
12405
12406 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 12407 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
12408 Remove unnecessary CC clobber.
12409 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
12410 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
12411
12412 (divmoddi4): Don't partially initialize TImode register.
12413
0b32fca5
GK
124142002-01-29 Geoffrey Keating <geoffk@redhat.com>
12415
12416 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
12417
08ef5437
RH
124182002-01-29 Richard Henderson <rth@redhat.com>
12419
12420 * flow.c (print_rtl_and_abort): Remove.
12421 (print_rtl_and_abort_fcn): Remove.
12422 (verify_local_live_at_start): Use dump_bb instead.
12423 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
12424 (verify_wide_reg_1): Return 2 on mode test failure.
12425
8469e54e
NB
124262002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
12427
12428 PR c/3325, c/3326, c/2511, c/3347
12429 * c-decl.c (enum_decl_context): Remove BITFIELD.
12430 (grokdeclarator): Take bitfield width as an input.
12431 Ensure bitfields are given the correct type. Perform
12432 bitfield width validation with build_bitfield_integer_type
12433 rather than waiting for finish_struct.
12434 (grok_typename, grok_typename_in_parm_context, start_decl,
12435 push_parmdecl, grokfield, start_function): Update calls to
12436 grokdeclarator.
12437 (build_bitfield_integer_type): New function.
12438 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 12439 and build_bitfield_integer_type.
8469e54e
NB
12440 * tree.c (build_nonstandard_integer_type): New function.
12441 * tree.h (build_nonstandard_integer_type): New prototype.
12442objc:
12443 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
12444
ffdeea47
JJ
124452002-01-29 Jakub Jelinek <jakub@redhat.com>
12446
12447 PR other/1502:
12448 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
12449 don't ignore unrecognized -W* options.
12450 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
12451 * cpplib.h (cpp_handle_option): Adjust prototype.
12452 * c-decl.c (c_decode_options): Pass 0 as last argument to
12453 cpp_handle_option.
12454
12455 PR c/2896:
12456 * gcc.c (cpp_unique_options): Split from cpp_options.
12457 (cpp_options): Source cpp_unique_options.
12458 (default_compilers): Use cpp_unique_options instead of cpp_options
12459 when used together with cc1_options.
12460 (static_specs): Add cpp_unique_options.
12461 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
12462 when used together with cc1_options.
12463
1a275226
KH
124642002-01-29 Kazu Hirata <kazu@hxi.com>
12465
12466 * config/h8300/h8300-protos.h: Update the prototype of
12467 output_a_shift.
12468 * config/h8300/h8300.c (output_a_shift): Remove an unused
12469 argument 'insn'. Remove redundant code.
12470 * config/h8300/h8300.md: Adust to the new prototype of
12471 output_a_shift.
12472
a11d9dfc
KH
124732002-01-29 Kazu Hirata <kazu@hxi.com>
12474
12475 * config/h8300/h8300-protos.h: Update the prototypes of
12476 emit_a_rotate and expand_a_rotate.
12477 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
12478 first argument to 'enum rtx_code'.
12479 (expand_a_rotate): Likewise.
12480
871f73e3
KH
124812002-01-28 Kazu Hirata <kazu@hxi.com>
12482
12483 * config/h8300/h8300-protos.h: Update the prototype of
12484 output_simode_bld.
12485 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
12486 'log2'.
12487 * config/h8300/h8300.md: Adjust to the new prototype.
12488
5fc4b751
KH
124892002-01-28 Kazu Hirata <kazu@hxi.com>
12490
12491 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
12492 redundant code.
12493
2d67bd7b
JDA
124942002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
12495
12496 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
12497 is a fixed register before returning pic_offset_table_rtx.
12498 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
12499 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
12500
5a852b3e
JM
125012002-01-28 Jason Merrill <jason@redhat.com>
12502
6bb28965 12503 * dwarf2.h: Sync with src version.
5a852b3e 12504
3bca17dd
PK
125052002-01-28 Paul Koning <pkoning@equallogic.com>
12506
12507 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
12508 BT_FN_VOID_PTR_VAR.
12509 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
12510 * doc/extend.texi (__builtin_prefetch): Update documentation:
12511 first argument is now const void ptr.
12512
7dc3f8c0
KH
125132002-01-28 Kazu Hirata <kazu@hxi.com>
12514
12515 * config/h8300/h8300-protos.h: Remove an unused prototype.
12516
e83cb5f0
RZ
125172002-01-28 Roman Zippel <zippel@linux-m68k.org>
12518
12519 * toplev.c (lang_independent_init): Round up identifier size.
12520
5721cd84
RE
125212002-01-28 Richard Earnshaw <rearnsha@arm.com>
12522
12523 * config.gcc: Revert previous change.
12524
d534119e
AP
125252002-01-28 Andris Pavenis <pavenis@latnet.lv>
12526
12527 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
12528
5a721dab
RE
125292002-01-28 Richard Earnshaw <rearnsha@arm.com>
12530
12531 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
12532 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
12533 other non-elf netbsd config frags.
12534 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
12535 collect2 will does that.
12536 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
12537 shared-lib frobbing will work.
12538
da1775d6
KH
125392002-01-28 Kazu Hirata <kazu@hxi.com>
12540
12541 * config/h8300/h8300.h: Fix formatting.
12542 * config/h8300/h8300.md: Likewise.
12543
8f2e963b
LR
125442002-01-28 Loren J. Rittle <ljrittle@acm.org>
12545
12546 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
12547 the old, removed AAA_standards fix.
12548 * fixinc/fixincl.x: Rebuilt.
12549
fdae5767
HPN
125502002-01-28 Hans-Peter Nilsson <hp@axis.com>
12551
12552 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
12553 atexit call in crtbegin, hooked in after call to frame_dummy;
12554 register EH before registering __fini__start.
12555
2a2ecb63
AH
125562002-01-28 Aldy Hernandez <aldyh@redhat.com>
12557
12558 * config/rs6000/altivec.h: Remove spurious semicolons.
12559
8ed43adf
KH
125602002-01-27 Kazu Hirata <kazu@hxi.com>
12561
12562 * config/h8300/h8300.md: Replace dead bit extraction patterns
12563 with ones that work.
12564
917afb0c
RK
12565Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12566
12567 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
12568 if not STRICT_ALIGNMENT.
12569 * rtl.h (MEM_ALIGN): Likewise.
12570
f70a54cb
CR
125712002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
12572
12573 * doc/invoke.texi (-fdump-translation-unit): Revert this
12574 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
12575
d8fd4914
KH
125762002-01-27 Kazu Hirata <kazu@hxi.com>
12577
12578 * config/h8300/h8300.md (define_constants): New.
12579 (anonymous patterns) Use defined constants appropriately.
12580
15e0e275
KH
125812002-01-27 Kazu Hirata <kazu@hxi.com>
12582
12583 * config/h8300/h8300.c (function_arg): Remove redundant code.
12584
37a0f8a5
RH
125852002-01-26 Richard Henderson <rth@redhat.com>
12586
12587 * sched-deps.c (reg_pending_uses_head): New.
12588 (reg_pending_barrier): Rename from reg_pending_sets_all.
12589 (find_insn_list): Don't mark inline.
12590 (find_insn_mem_list): Remove.
12591 (add_dependence_list, add_dependence_list_and_free): New.
12592 (flush_pending_lists): Replace only_write param with separate
12593 for_read and for_write parameters. Update all callers. Use
12594 add_dependence_list_and_free.
12595 (sched_analyze_1): Do not add reg dependencies here; just set
12596 the pending bits. Use add_dependence_list.
12597 (sched_analyze_2): Likewise.
12598 (sched_analyze_insn): Replace schedule_barrier_found with
12599 reg_pending_barrier. Add all dependencies for pending reg
12600 uses, sets, and clobbers.
12601 (sched_analyze): Don't add reg dependencies for calls, just
12602 set pending bits. Use regs_invalidated_by_call. Treat
12603 sched_before_next_call as a normal list, not a fake insn.
12604 (init_deps): No funny init for sched_before_next_call.
12605 (free_deps): Free pending mems lists. Don't zero reg_last.
12606 (init_deps_global): Init reg_pending_uses.
12607 (finish_deps_global): Free it.
12608 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
12609 (find_insn_mem_list): Remove.
12610 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
12611 (propagate_deps): Use them. Zero temp mem lists.
12612
cea3bd3e
RH
126132002-01-26 Richard Henderson <rth@redhat.com>
12614
12615 * Makefile.in (CRTSTUFF_CFLAGS): New.
12616 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
12617 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
12618 crtstuff.c instead of alpha assembly version.
12619 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
12620 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
12621 not FORCE_{INIT,FINI}_SECTION_ALIGN.
12622 (__do_global_dtors_aux): Mark used.
12623 (frame_dummy, __do_global_ctors_aux): Mark used.
12624 (fini_dummy, init_dummy): Remove.
12625
12626 * config/alpha/crtbegin.asm: Remove file.
12627 * config/alpha/crtend.asm: Remove file.
12628 * config/alpha/t-crtbe: Remove file.
12629 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
12630 (LINK_EH_SPEC): New.
12631
12632 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
12633 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
12634 calling constructors.
12635 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
12636
12637 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
12638 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
12639 CRT_END_INIT_DUMMY hack.
12640 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
12641 FORCE_{INIT,FINI}_SECTION_ALIGN.
12642
12643 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
12644 FORCE_{INIT,FINI}_SECTION_ALIGN.
12645
12646 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
12647 invocation sequence.
12648 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
12649
12650 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
12651 (FORCE_CODE_SECTION_ALIGN): New.
12652
60ffa0e5
RH
126532002-01-26 Richard Henderson <rth@redhat.com>
12654
12655 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
12656
61334ebe
RH
126572002-01-26 Richard Henderson <rth@redhat.com>
12658
12659 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
12660 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
12661
1d788fb6
KH
126622002-01-26 Kazu Hirata <kazu@hxi.com>
12663
12664 * config/h8300/h8300.md: Remove bit extraction patterns that
12665 cannot be triggered.
12666 Restrict each bit extraction pattern to a variant on which the
12667 pattern is tested.
12668
87611f88
JM
126692002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
12670
12671 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
12672
cd74ec59
KH
126732002-01-26 Kazu Hirata <kazu@hxi.com>
12674
12675 * config/h8300/h8300.md: Remove bit test patterns that cannot
12676 be triggered.
12677 Restrict each bit test pattern to a variant on which the
12678 pattern is tested.
12679
93051e0f
KG
126802002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12681
12682 * builtins.c (expand_builtin_strncat): Remove redundant check for
12683 INTEGER_CST.
12684
216c995f
DB
126852002-01-25 David O'Brien <obrien@FreeBSD.org>
12686
12687 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
12688 default setting.
12689 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
12690 existing setting.
12691
33c7f925
GK
126922002-01-25 Geoffrey Keating <geoffk@redhat.com>
12693
12694 * dbxout.c (dbxout_init): Use assemble_name rather than just
12695 stripping off the first character.
12696 (dbxout_source_file): Likewise.
12697
6cd444b4
DD
126982002-01-25 DJ Delorie <dj@redhat.com>
12699
12700 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
12701 using rtx_equal_p, not by comparing pointers.
12702
751551d5
SE
127032002-01-25 Steve Ellcey <sje@cup.hp.com>
12704
12705 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
12706 for PIC_OFFSET_TABLE_REGNUM.
12707 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
12708
e564e618
DB
127092002-01-25 David O'Brien <obrien@FreeBSD.org>
12710
12711 * config.gcc (x86_64-*-freebsd*): New target.
12712 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
12713 value.
12714 (i[34567]86-*-freebsd*): Don't include svr4.h.
12715 * config/i386/freebsd64.h: New file.
12716
ff3aaf17
DR
127172002-01-25 Douglas B Rupp <rupp@gnat.com>
12718
4857d29d
DR
12719 * config/alpha/x-vms (version): Make static.
12720
12721 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
12722 in previous checkin.
12723
ff3aaf17
DR
12724 * Makefile.in (install-headers-cp): New target.
12725 * config.gcc (alpha-dec-*vms*): Install headers with
12726 install-headers-cp
12727
48d79c43
JH
12728Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
12729
12730 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
12731 avoid it's copies.
12732
995b5904
RK
12733Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12734
12735 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
12736 of compare_tree_int.
12737 (expand_builtin_strncat): Likewise.
12738 * c-decl.c (finish_struct): Use tree_low_cst.
12739 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
12740 * tree.c (compare_tree_int): Likewise.
12741
75eefe3f
UW
127422002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
12743
12744 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
12745 adjustments even if they are implemented by more than two insns.
12746
5a133afd
JH
12747Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
12748
995b5904 12749 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
12750 * df.h (struct ref): Kill B.
12751 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
12752
12753 * basic-block.h (PROP_EQUAL_NOTES): New flag.
12754 * flow.c (propagate_one_insn): Use it.
12755 (mark_used_regs): Handle NIL.
12756
ead39bdf 127572002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
12758
12759 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
12760 to help folding.
12761
01a2ccd0
DE
127622002-01-25 David Edelsohn <edelsohn@gnu.org>
12763
12764 * rs6000.md (prefetch): Make address V4SI mode so that the address
12765 is restricted to legitimate form for instruction.
12766
fd29f6ea
BW
127672002-01-25 Bob Wilson <bob.wilson@acm.org>
12768
12769 * doc/install.texi (xtensa-*-elf): New target.
12770 (xtensa-*-linux*): New target.
12771 * doc/contrib.texi: Add myself.
12772
55492b32
NC
127732002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
12774
12775 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
12776 purpose register to hold an SImode (or smaller) value.
12777
72c7c913
JJ
127782002-01-25 Jakub Jelinek <jakub@redhat.com>
12779
12780 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
12781 registry only.
12782 * crtstuff.c: Likewise.
12783
c4df4ceb
KH
127842002-01-25 Kazu Hirata <kazu@hxi.com>
12785
12786 * config/h8300/h8300.md (negation patterns): Tighten
12787 predicates to register_operand.
12788
70e531f5
AH
127892002-01-24 Aldy Hernandez <aldyh@redhat.com>
12790
3bca17dd
PK
12791 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
12792 mode, not Pmode.
70e531f5 12793
3bca17dd 12794 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 12795
a4f76ef9
AO
127962002-01-24 Alexandre Oliva <aoliva@redhat.com>
12797
12798 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
12799 modes.
12800
9bf25b09
KH
128012002-01-24 Kazu Hirata <kazu@hxi.com>
12802
12803 * config/h8300/h8300.c (print_operand): Remove support for
12804 operand character 'A'.
12805 * config/h8300/h8300.md (three anonymous patterns): Replace
12806 operand character 'A' with either 'T' or 'S'.
12807
974af6a5
KH
128082002-01-24 Kazu Hirata <kazu@hxi.com>
12809
12810 * config/h8300/h8300.c (print_operand): Remove support for
12811 operand character 'U'.
12812
7a5bb7b8
AP
128132002-01-24 Andris Pavenis <pavenis@latnet.lv>
12814
3bca17dd 12815 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 12816
92a4639e
NC
128172002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
12818
12819 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
12820 values to be assigned to the stack pointer.
12821
467cb2da
HP
128222002-01-14 Hartmut Penner <hpenner@de.ibm.com>
12823
bebc7e8b 12824 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
12825 to const_double needs to be done right for big-endian systems.
12826
3b6cb920
JM
128272002-01-24 Jason Merrill <jason@redhat.com>
12828
b08dd119 12829 PR c++/2432
3b6cb920
JM
12830 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
12831 to can_throw_internal.
12832
f3077311
RH
128332002-01-23 Richard Henderson <rth@redhat.com>
12834
12835 * fold-const.c (fold): Change UINT_MAX test to check vs precision
12836 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
12837
e1d71275
AO
128382002-01-24 Alexandre Oliva <aoliva@redhat.com>
12839
12840 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
12841 (symGOT2reg): Use them, then set as GOT value as unchanging.
12842 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
12843 as a temporary, if possible.
12844 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
12845 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
12846
dc271dbe
KH
128472002-01-23 Kazu Hirata <kazu@hxi.com>
12848
12849 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
12850 accept to accept 0x80 as operands[2].
12851
1a9017f9
AO
128522002-01-24 Alexandre Oliva <aoliva@redhat.com>
12853
12854 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
12855
6932f033
RH
128562002-01-23 Richard Henderson <rth@redhat.com>
12857
12858 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
12859
709619d9
AH
128602002-01-23 Aldy Hernandez <aldyh@redhat.com>
12861
3bca17dd
PK
12862 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
12863 (parmlist_or_identifiers_1): Verify that only a parmlist follows
12864 an attribute.
709619d9 12865
3d709fd3
RH
128662002-01-23 Richard Henderson <rth@redhat.com>
12867
12868 * expr.c (move_by_pieces_1): Extend size before negation.
12869
88a446c0
RH
12870 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
12871 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
12872 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
12873 * config/m68k/t-m68kelf: Likewise.
12874
03984308
BW
128752002-01-23 Bob Wilson <bob.wilson@acm.org>
12876
12877 * config/xtensa/elf.h: New file.
12878 * config/xtensa/lib1funcs.asm: New file.
12879 * config/xtensa/lib2funcs.S: New file.
12880 * config/xtensa/linux.h: New file.
12881 * config/xtensa/t-xtensa: New file.
12882 * config/xtensa/xtensa-config.h: New file.
12883 * config/xtensa/xtensa-protos.h: New file.
12884 * config/xtensa/xtensa.c: New file.
12885 * config/xtensa/xtensa.h: New file.
12886 * config/xtensa/xtensa.md: New file.
12887 * config.gcc (xtensa-*-elf*): New target.
12888 (xtensa-*-linux*): New target.
12889 * cse.c (canon_hash): Compare rtx pointers instead of register
12890 numbers. This is required for the Xtensa port.
12891 * integrate.c (copy_insn_list): Handle case where the static
12892 chain is in memory and the memory address has to be copied to
12893 a register.
12894 * doc/invoke.texi (Option Summary): Add Xtensa options.
12895 (Xtensa Options): New node.
12896 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
12897
c3d5c3fa
ZW
128982002-01-23 Zack Weinberg <zack@codesourcery.com>
12899
a63bea75
ZW
12900 * diagnostic.c (internal_error): Do ICE suppression only
12901 when ENABLE_CHECKING is not defined.
12902
c3d5c3fa
ZW
12903 * c-typeck.c (require_complete_type): Return error_mark_node
12904 if type is error_mark_node.
12905
1398974c
JJ
129062002-01-23 Janis Johnson <janis187@us.ibm.com>
12907
12908 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
12909 -Os and issue a warning.
12910
807633e5
ZW
129112002-01-23 Zack Weinberg <zack@codesourcery.com>
12912
12913 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
12914 current (lack of) need for host configuration by hand.
12915
12916 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
12917 references. Documentation of some target macros moved from
12918 hostconfig.texi to tm.texi.
12919
cf8002d0
WC
129202002-01-23 Will Cohen <wcohen@redhat.com>
12921
12922 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
12923 defined.
12924
d1e76310
KH
129252002-01-23 Kazu Hirata <kazu@hxi.com>
12926
12927 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
12928 operand[3].
12929
b2115575
JM
129302002-01-23 Jason Merrill <jason@redhat.com>
12931
f893c16e
JM
12932 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
12933
b2115575
JM
12934 * function.c (assign_parms): Don't put args of inline functions
12935 into registers when not optimizing.
12936
6bacc7b0
NC
129372002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
12938
12939 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
12940 (prologue_use): New pattern.
12941 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
12942 preference to gen_rtx_USE.
12943 (thumb_expand_prologue): Use gen_prologue_use in preference to
12944 gen_rtx_USE.
12945 (thumb_expand_epilogue): Use gen_prologue_use in preference to
12946 gen_rtx_USE.
12947
a415f7bc
HPN
129482002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
12949
12950 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
12951
5372b3fb
NB
129522002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
12953
12954 PR c/3504
12955 * doc/extend.texi: Correct documentation of __alignof__.
12956
bd571ffc
ZW
129572002-01-22 Zack Weinberg <zack@codesourcery.com>
12958
12959 * params.h: Rename arguments of DEFPARAM so that it will be
12960 recognized as a translation keyword.
12961
333c8841
AH
129622002-01-22 Aldy Hernandez <aldyh@redhat.com>
12963
bd571ffc
ZW
12964 * extend.texi: Document altivec functions.
12965 Fix N-bit adjectives in X86 builtin documentation.
333c8841 12966
38979c65
AO
129672002-01-22 Alexandre Oliva <aoliva@redhat.com>
12968
12969 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
12970 auto_inc_dec values.
12971
7458a9f0
RE
129722002-01-22 Richard Earnshaw <rearnsha@arm.com>
12973
12974 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
12975 after backslash.
12976 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
12977
129bd0c4
AO
129782002-01-22 Alexandre Oliva <aoliva@redhat.com>
12979
12980 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
12981
8b9b74a9
RH
129822002-01-22 Richard Henderson <rth@redhat.com>
12983
12984 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
12985 copy_insn not copy_rtx.
12986
d0c9db30
AM
129872002-01-23 Alan Modra <amodra@bigpond.net.au>
12988
12989 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
12990 "nonzero" as that might add "1" bits. Ensure "constop" is
12991 properly sign extened.
12992 (force_to_mode): Tweak for sign extended constop.
12993
1e7e480e
RH
129942002-01-22 Richard Henderson <rth@redhat.com>
12995
12996 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
12997 for_each_rtx instead of assuming we're already looking at the MEM.
12998 (split_small_symbolic_mem_operand): Likewise.
12999 * config/alpha/alpha.h (PREDICATE_CODES): Update.
13000 * config/alpha/alpha.md (small symbolic memory splitters): Update.
13001
130022002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
13003
13004 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
13005 sequence number for the literal.
13006 (divmoddi_internal_er): Likewise.
13007
b7f2fb96
CR
130082002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
13009
13010 PR java/4972
13011 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
13012 in LIBICONV variable.
13013 * configure: Regenerated.
13014
f66a0046
KW
130152002-01-22 Krister Walfridsson <cato@df.lth.se>
13016
13017 * dependence.c (build_def_use): Remove array_idx.
13018
e3b0efd1
KW
13019 * dwarfout.c (last_filename): Remove.
13020 (output_compile_unit_die): Remove last_filename.
13021
d8086cbb
RS
130222002-01-22 Roger Sayle <roger@eyesopen.com>
13023 Richard Henderson <rth@redhat.com>
13024
13025 PR opt/3640
13026 * fold-const.c (fold): Optimize unsigned comparisons against
13027 UINT_MAX (and similar unsigned constants).
13028
e8d52ba0
JJ
130292002-01-22 Janis Johnson <janis187@us.ibm.com>
13030
d8086cbb 13031 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 13032 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 13033 against the predicate.
11303d15 13034
e8d52ba0
JJ
13035 PR target/5379
13036 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
13037 for the address operand.
13038
cc7b420e
RH
130392002-01-22 Richard Henderson <rth@redhat.com>
13040
13041 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
13042
816e265a
CR
130432002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
13044
13045 PR other/5450
cc7b420e
RH
13046 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
13047 preprocessor flags.
816e265a 13048
7c884404
JT
130492002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
13050
13051 * config.gcc (x86_64-*-netbsd*): New target.
13052 * config/i386/netbsd64.h: New file.
13053
2b672c08
AH
130542002-01-22 Aldy Hernandez <aldyh@redhat.com>
13055
d8086cbb 13056 * regrename.c (kill_value): Fix typo.
2b672c08
AH
13057
130582002-01-22 Aldy Hernandez <aldyh@redhat.com>
13059
d8086cbb 13060 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 13061
d8086cbb 13062 * config/rs6000/rs6000.h: Same.
2b672c08 13063
d8086cbb
RS
13064 * function.c (instantiate_virtual_regs): Remove
13065 STARTING_FRAME_PHASE.
13066 (assign_stack_local_1): Same.
13067 Calculate frame phase.
2b672c08 13068
4b02997f
NC
130692002-01-22 Nick Clifton <nickc@redhat.com>
13070
13071 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
13072 variable declaration to outer scope in order to simplify
13073 future extensions.
13074 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
13075 arm_hard_regno_mode_ok.
13076 * config/arm/arm-protos.h: Add a prototype for
13077 arm_hard_regno_mode_ok.
13078 * config/arm/arm.c (soft_df_operand): Remove now redundant
13079 check for DImode values using IP_REGNUM.
13080 (nonimmediate_soft_df_operand): Remove now redundant check for
13081 DImode values using IP_REGNUM.
13082 (arm_hard_regno_mode_ok): New function. New check: make sure
13083 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
13084
13085 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
13086 note with a USE.
13087 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
13088
8a827ab2
JM
130892002-01-22 Jason Merrill <jason@redhat.com>
13090
13091 * c-semantics.c (genrtl_compound_stmt): Only check nesting
13092 consistency if this COMPOUND_STMT is scoped.
13093
cf403648
KH
130942002-01-22 Kazu Hirata <kazu@hxi.com>
13095
13096 * predict.c: Fix formatting.
13097 * print-tree.c: Likewise.
13098 * protoize.c: Likewise.
13099 * real.h: Likewise.
13100 * rtl.h: Likewise.
13101 * sbitmap.h: Likewise.
13102 * scan.c: Likewise.
13103 * sched-deps.c: Likewise.
13104 * sched-vis.c: Likewise.
13105 * sdbout.c: Likewise.
13106 * sibcall.c: Likewise.
13107 * ssa.c: Likewise.
13108 * ssa-ccp.c: Likewise.
13109 * ssa-dce.c: Likewise.
13110 * stmt.c: Likewise.
13111 * stor-layout.c: Likewise.
13112 * system.h: Likewise.
13113
aea9695c
RK
13114Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13115
a8765ae7
RK
13116 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
13117 if fits in bounds of base type.
13118
aea9695c
RK
13119 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
13120 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
13121 (add_bound_info, default): If can't find a context, make a
13122 SAVE_EXPR.
13123 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
13124
58bf601b
HPN
131252002-01-22 Hans-Peter Nilsson <hp@axis.com>
13126
13127 * c-typeck.c (parser_build_binary_op): If result from
13128 build_binary_op is ERROR_MARK just return error_mark_node without
13129 further processing.
13130
f982f805
JT
131312002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
13132
13133 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
13134 Split a.out-specific bits into...
13135 * config/netbsd-aout.h: ...this.
13136 * config/netbsd-elf.h: New file.
13137 * config/alpha/netbsd-elf.h: Remove.
13138 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
13139 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 13140 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
13141 (ENDFILE_SPEC): Likewise.
13142 (LINK_SPEC): Likewise.
13143 (CPP_SPEC): Likewise.
13144 (ASM_SPEC): Likewise.
13145 (LIB_SPEC): Likewise.
13146 (SWITCH_TAKES_ARG): Likewise.
13147 (TARGET_MEM_FUNCTIONS): Likewise.
13148 (CPP_PREDEFINES): Redefine.
13149 (ASM_FINAL_SPEC): Remove redefinition.
13150 (ASM_COMMENT_START): Redefine.
13151 (FUNCTION_PROFILER): Define.
13152 (TARGET_VERSION): Redefine.
13153 Comment and formatting cleanup.
13154 * config/i386/netbsd.h: Include <netbsd-aout.h>.
13155 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
13156 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
13157 big- or little-endian.
13158 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
13159 * config.gcc (*-*-netbsd*): Add definitions common to all
13160 NetBSD configs.
13161 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
13162 gnu_ld definitions. Add netbsd-elf.h to and remove
13163 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
13164 tmake_file, and don't lose previous tmake_file contents.
13165 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
13166 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
13167 gnu_ld definitions. Add netbsd-elf.h to tm_file.
13168 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
13169 (mipsel-*-netbsd*): Rename this to...
13170 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
13171 mips/little.h to tm_file for mips*el-*.
13172 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
13173 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
13174 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
13175
2e396476
JDA
131762002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13177
13178 * pa-protos.h (reg_before_reload_operand): New function prototype.
13179 * pa.c (reg_before_reload_operand): New function implementation.
13180 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
13181 contraints to "*m".
13182
3b5708e7
FS
131832002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13184
13185 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
13186
85e79f96
JDA
131872002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13188
13189 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
13190 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
13191 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
13192 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
13193 (ENDFILE_SPEC): Undefine.
13194 (STARTFILE_SPEC): Redefine for PA.
13195
38abadee
FS
131962002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13197
13198 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
13199
94f1d97c
DJ
132002002-01-21 Daniel Jacobowitz <drow@mvista.com>
13201
13202 * config.gcc: Add entries to supported PowerPC --with-cpu
13203 types.
13204
0333394e
JJ
132052002-01-21 Jakub Jelinek <jakub@redhat.com>
13206
13207 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
13208 true for 64-bit mode only SSE registers in 32-bit mode.
13209
e9d1b155
KH
132102002-01-21 Kazu Hirata <kazu@hxi.com>
13211
13212 * unwind-dw2.c: Fix formatting.
13213 * unwind-dw2-fde.c: Likewise.
13214 * unwind-dw2-fde.h: Likewise.
13215 * unwind-pe.h: Likewise.
13216 * varasm.c: Likewise.
13217 * varray.h: Likewise.
13218
07338cf8
HPN
132192002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
13220
13221 Remove workaround for register stack overwrite bug in mmix.
13222 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
13223 support for TARGET_REG_STACK_FILL_BUG.
13224 * config/mmix/mmix.h: Remove member has_call_without_parameters.
13225 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
13226 Delete.
13227 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
13228 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
13229 -mno-reg-stack-fill-bug-workaround.
13230 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
13231 machine member has_call_without_parameters.
13232 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
13233 -mreg-stack-fill-bug-workaround and
13234 -mno-reg-stack-fill-bug-workaround.
13235 (MMIX Options): Ditto.
13236
7192cbf1
KH
132372002-01-21 Kazu Hirata <kazu@hxi.com>
13238
13239 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
13240 as appropriate.
13241 Remove redundant code.
13242
d1552d7b
JM
132432002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
13244
13245 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
13246 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13247 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
13248 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
13249 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
13250 out target macro definitions and non-target-specific comments
13251 mostly taken from old versions of the manual.
13252
ed168e45
KH
132532002-01-20 Kazu Hirata <kazu@hxi.com>
13254
13255 * config/h8300/h8300.h: Fix comment formatting.
13256 * config/ia64/aix.h: Likewise.
13257 * config/ia64/ia64-protos.h: Likewise.
13258 * config/ia64/ia64.c: Likewise.
13259 * config/ia64/ia64.h: Likewise.
13260 * config/ia64/ia64intrin.h: Likewise.
13261 * config/ia64/linux.h: Likewise.
13262 * config/ia64/unwind-aix.c: Likewise.
13263 * config/ia64/unwind-ia64.c: Likewise.
13264
005e3e05
KH
132652002-01-20 Kazu Hirata <kazu@hxi.com>
13266
13267 * config/h8300/h8300.c: Revise comments about shift code.
13268
64bead4c
KH
132692002-01-20 Kazu Hirata <kazu@hxi.com>
13270
13271 * config/h8300/h8300.c (function_arg): Update a comment.
13272
ed863595
KH
132732002-01-20 Kazu Hirata <kazu@hxi.com>
13274
13275 * config/h8300/h8300.md: Update the comments at the beginning
13276 of the file.
13277
5904dc87
KH
132782002-01-20 Kazu Hirata <kazu@hxi.com>
13279
13280 * config/i370/i370.c: Fix comment formatting.
13281 * config/i370/i370.h: Likewise.
13282 * config/i370/i370.md: Likewise.
13283 * config/i370/linux.h: Likewise.
13284
9702143f
RK
13285Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13286
cbafacd1
RK
13287 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
13288
9702143f
RK
13289 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
13290 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
13291 in incomplete case.
13292
6b6996b8
GS
132932002-01-20 Graham Stott <grahams@redhat.com>
13294
13295 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
13296
eab854f6
JDA
132972002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
13298
13299 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
13300
5b029315
TR
133012002-01-19 Tom Rix <trix@redhat.com>
13302
13303 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
13304
1d690052
AH
133052002-01-18 Aldy Hernandez <aldyh@redhat.com>
13306
d8086cbb 13307 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 13308
d8086cbb
RS
13309 * function.c (assign_stack_local_1): Adjust x_frame_offset with
13310 STARTING_FRAME_PHASE.
13311 (STARTING_FRAME_PHASE): New.
13312 (instantiate_virtual_regs): Check saneness of
13313 STARTING_FRAME_PHASE.
1d690052 13314
d8086cbb 13315 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 13316
4dd8c093
AO
133172002-01-19 Alexandre Oliva <aoliva@redhat.com>
13318
13319 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
13320
6f2a28d7
CR
133212002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
13322
13323 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
13324 be used for bootstrapping GCC 3.0.
13325
8763a465
KH
133262002-01-18 Kazu Hirata <kazu@hxi.com>
13327
13328 * config/h8300/h8300.md: Fix an insn length.
13329
3ef42a0c
KH
133302002-01-18 Kazu Hirata <kazu@hxi.com>
13331
13332 * bitmap.h: Fix comment formatting.
13333 * combine.c: Likewise.
13334 * cppfiles.c: Likewise.
13335 * c-pragma.h: Likewise.
13336 * c-typeck.c: Likewise.
13337 * df.c: Likewise.
13338 * dwarf2out.c: Likewise.
13339 * function.c: Likewise.
13340 * gcc.c: Likewise.
13341 * genattrtab.c: Likewise.
13342 * gthr-win32.h: Likewise.
13343 * haifa-sched.c: Likewise.
13344 * predict.c: Likewise.
13345 * rtlanal.c: Likewise.
13346 * rtl.h: Likewise.
13347 * unwind-dw2-fde.h: Likewise.
13348 * unwind-pe.h: Likewise.
13349 * vmsdbgout.c: Likewise.
13350
dd4dc3cd
RK
13351Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13352
13353 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
13354 if type_required and passed decl.
13355
5fb4cf24
AH
133562002-01-17 Aldy Hernandez <aldyh@redhat.com>
13357
d8086cbb
RS
13358 * config.gcc (cpu_type): Include altivec.h in powerpc
13359 extra_headers.
13360 Same for darwin.
5fb4cf24 13361
d8086cbb 13362 * config/rs6000/altivec.h: New.
5fb4cf24 13363
2705baf5
DE
133642002-01-17 David Edelsohn <edelsohn@gnu.org>
13365
13366 * doc/install.texi (*-ibm-aix*): Update assembler and exception
13367 handling information.
13368 * doc/trouble.texi (Interoperation): Add libstdc++ information
13369 for AIX.
13370 (Misunderstandings): Add template instantiation and static template
13371 member information for AIX.
13372
dbd680e1
JM
133732002-01-17 Jason Merrill <jason@redhat.com>
13374
821adc5e
JM
13375 * dbxout.c (dbxout_type): Support const and volatile.
13376
dbd680e1
JM
13377 * except.c (add_partial_entry): Remove backwards compatibility code.
13378 (end_protect_partials): Likewise.
13379
d0e82870
JJ
133802002-01-17 Jakub Jelinek <jakub@redhat.com>
13381
13382 * config/ia64/ia64.md (prologue_use): New.
13383 * config/ia64/ia64.c (ia64_expand_prologue): Use
13384 gen_prologue_use instead of gen_rtx_USE.
13385 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
13386 as CODE_FOR_pred_rel_mutex.
13387 (ia64_sched_reorder2): Likewise.
13388
f9f45c65
EC
133892002-01-16 Eric Christopher <echristo@redhat.com>
13390
13391 * config/mips/r3900.h: Reformat.
13392 (SUBTARGET_CPP_SIZE_SPEC): Remove.
13393 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
13394 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
13395 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
13396 * config/mips/t-elf: Remove mips3 multilib.
13397
c66c8b0e
L
133982002-01-16 H.J. Lu <hjl@gnu.org>
13399
13400 * config/mips/linux.h: Include "mips/abi64.h".
13401
5f083b72
L
134022002-01-16 H.J. Lu <hjl@gnu.org>
13403
13404 * config/mips/t-linux: New.
13405
13406 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
13407
13408 * config/mips/linux.h: Don't include "gofast.h".
13409 (INIT_SUBTARGET_OPTABS): Removed.
13410
af3c90a6
KH
134112002-01-16 Kazu Hirata <kazu@hxi.com>
13412
13413 * config/h8300/h8300-protos.h: Replace emit_a_shift with
13414 output_a_shift.
13415 * config/h8300/h8300.c: Likewise.
13416 * config/h8300/h8300.md: Likewise.
13417
a1bf0a16
KH
134182002-01-16 Kazu Hirata <kazu@hxi.com>
13419
13420 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
13421 spaces after an opcode name.
13422 (pushqi1_h8300hs): Likewise.
13423 (pushhi1_h8300hs): Likewise.
13424
88ab0d1c
KH
134252002-01-16 Kazu Hirata <kazu@hxi.com>
13426
13427 * doc/extend.texi: Replace "option" with "attribute"
13428 appropriately.
13429
51c561e3
JJ
134302002-01-16 Jakub Jelinek <jakub@redhat.com>
13431
13432 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
13433 (and:DI () (const_int -8)).
13434 (split_small_symbolic_mem_operand): Split
13435 (mem (and:DI () (const_int -8)).
13436
b8c1a6b8
JJ
134372002-01-16 Jakub Jelinek <jakub@redhat.com>
13438
13439 PR target/5309:
d8086cbb 13440 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
13441 same way as TYPE_IMUL.
13442 (ultrasparc_sched_reorder): Likewise.
13443 * config/sparc/sparc.md (type): Add comment to update
13444 ultrasparc_sched_reorder when making changes.
13445
1e4e4df2
KH
134462002-01-16 Kazu Hirata <kazu@hxi.com>
13447
13448 * doc/invoke.texi: Change the dump file name of block
13449 reordering pass from 28.bbro to 29.bbro.
13450 Mention -dk option.
13451
14d920c0
JH
13452Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
13453
13454 * i386.md (minsf splitter): Fix pasto.
13455
2e99323f
NC
134562002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
13457
13458 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
13459 to frame pointer initialisation instruction.
13460 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
13461 initialisation instruction.
ab8081c1
NC
13462 (soft_df_operand): Do not accept the IP register.
13463 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 13464
c4031a04
JJ
134652002-01-16 Jakub Jelinek <jakub@redhat.com>
13466
13467 PR target/5357:
13468 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
13469 MASK_V8 being both set.
13470
44b8152b
UW
134712002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
13472
13473 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
13474 insn for GOT register; add REG_MAYBE_DEAD notes instead.
13475 config/s390/s390.md (call, call_value): Add GOT register to
13476 CALL_INSN_FUNCTION_USAGE where needed.
13477 (call_exp, call_value_exp): New.
13478
1d6e90ac
NC
134792002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
13480
13481 * config/arm/arm.c: General formatting tidy up.
13482
134832002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
13484
13485 * calls.c (try_to_integrate): Use "(size_t)" intermediate
13486 cast and when casting an integer literal to "rtx" pointer.
13487 (expand_call): Likewise.
13488 * flow.c (try_pre_increment): Likewise.
13489 (find_use_as_address): Likewise.
13490 * integrate.c (expand_iline_function): Likewise.
13491 * regmove.c (try_auto_increment): Likewise.
13492
1d6e90ac 134932002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
13494
13495 * sched-rgn.c (passed): Use sbitmap_free.
13496 (header): Likewise.
13497 (inner): Likewise.
13498 (in_queue): Likewise.
13499 (in_stack): Likewise.
13500
31fce3c4
EC
135012002-01-15 Eric Christopher <echristo@redhat.com>
13502
13503 * flow.c (propagate_one_insn): Change to use fatal_insn.
13504
c99d986a
KH
135052002-01-15 Kazu Hirata <kazu@hxi.com>
13506
13507 * expmed.c (extract_fixed_bit_field): Remove unused code.
13508 * system.h: Poison SLOW_ZERO_EXTEND.
13509 * doc/tm.texi: Remove.
13510 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
13511 * config/arm/arm.h: Likewise.
13512 * config/avr/avr.h: Likewise.
13513 * config/clipper/clipper.h: Likewise.
13514 * config/convex/convex.h: Likewise.
13515 * config/d30v/d30v.h: Likewise.
13516 * config/dsp16xx/dsp16xx.h: Likewise.
13517 * config/elxsi/elxsi.h: Likewise.
13518 * config/fr30/fr30.h: Likewise.
13519 * config/h8300/h8300.h: Likewise.
13520 * config/i370/i370.h: Likewise.
13521 * config/i386/i386.h: Likewise.
13522 * config/m68k/m68k.h: Likewise.
13523 * config/mips/mips.h: Likewise.
13524 * config/ns32k/ns32k.h: Likewise.
13525 * config/pdp11/pdp11.h: Likewise.
13526 * config/pj/pj.h: Likewise.
13527 * config/s390/s390.h: Likewise.
13528 * config/sh/sh.h: Likewise.
13529 * config/stormy16/stormy16.h: Likewise.
13530 * config/v850/v850.h: Likewise.
13531 * config/vax/vax.h: Likewise.
13532 * config/we32k/we32k.h: Likewise.
13533
acfab996
AH
135342002-01-15 Aldy Hernandez <aldyh@redhat.com>
13535
d8086cbb
RS
13536 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
13537 (altivec_lvsl): Change constraint to b.
13538 (altivec_lvsr): Same.
13539 (altivec_lvebx): Same.
13540 (altivec_lvehx): Same.
13541 (altivec_lvewx): Same.
13542 (altivec_lvxl): Same.
13543 (altivec_lvx): Same.
13544 (altivec_stvx): Add parallel.
13545 (altivec_stvxl): Same.
13546 (altivec_stvehx): Same.
13547 (altivec_stvebx): Same.
13548 (altivec_stvebx): Same.
acfab996 13549
5e505bc9
AH
135502002-01-15 Aldy Hernandez <aldyh@redhat.com>
13551
d8086cbb 13552 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 13553
d8086cbb 13554 * config/rs6000/altivec.h: Delete.
5e505bc9 13555
d8086cbb 13556 * config/rs6000/altivec-defs.h: Add.
5e505bc9 13557
5c41fdfb
JDA
135582002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
13559
13560 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
13561 and UMOD modes.
13562
13563 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
13564 less than or equal to eight bytes.
13565
13566 * vax.md (andsi3): Remove constraints and change SET destination
13567 operand type to nonimmediate_operand.
13568 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
13569 when it is a CONST_INT.
13570
de097a2d
JM
135712002-01-15 Jason Merrill <jason@redhat.com>
13572
13573 * c-common.def (FILE_STMT): New code.
13574 * c-common.c (statement_code_p): It's a statement.
13575 * c-common.h (stmt_tree_s): Add x_last_filename.
13576 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
13577 (last_expr_filename): New macro.
13578 * c-semantics.c (begin_stmt_tree): Initialize it.
13579 (add_stmt): If the filename changed, also insert a
13580 FILE_STMT.
13581 (expand_stmt): Handle seeing one.
13582
4a913dd6
EC
135832002-01-15 Eric Christopher <echristo@redhat.com>
13584
13585 * flow.c (propagate_one_insn): Add error message and print out
13586 insn for debugging.
13587
006946e4
JM
135882002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13589
13590 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
13591 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
13592 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
13593 TRAMPOLINE_ALIGNMENT.
13594 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
13595 to be in bits.
13596 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
13597 PCC_BITFIELD_TYPE_MATTERS.
13598 * config/interix.h (STDC_VALUE): Remove. Use
13599 STDC_0_IN_SYSTEM_HEADERS.
13600 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
13601 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
13602 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
13603
751a1458
CR
136042002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
13605
13606 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
13607 not work on this platform currently.
13608
57771fe8
JM
136092002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13610
13611 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
13612 readonly_warning in _().
13613
0e83ceb1 136142002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 13615
0e83ceb1 13616 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 13617
8e2e89f7
KH
136182002-01-15 Kazu Hirata <kazu@hxi.com>
13619
0e83ceb1
DR
13620 * config/h8300/h8300.c (print_operand): Remove support for
13621 unused operand characters.
13622
8e2e89f7
KH
13623 * read-rtl.c: Fix formatting.
13624 * real.c: Likewise.
13625 * recog.c: Likewise.
13626 * regclass.c: Likewise.
13627 * regmove.c: Likewise.
13628 * reg-stack.c: Likewise.
13629 * reload1.c: Likewise.
13630 * rtlanal.c: Likewise.
13631
b531087a
KH
136322002-01-15 Kazu Hirata <kazu@hxi.com>
13633
13634 * config/i386/i386.c: Fix formatting.
13635
7c94ce7f
JJ
136362002-01-15 Jakub Jelinek <jakub@redhat.com>
13637
13638 * c-typeck.c (process_init_element): Don't save_expr
13639 COMPOUND_LITERAL_EXPR if just its initializer will be used.
13640
6041bf2f
DE
136412002-01-15 David Edelsohn <edelsohn@gnu.org>
13642
13643 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
13644 emit optional traceback table if optimize_size or TARGET_ELF.
13645 * config/rs6000/rs6000.md (prefetch): New.
13646
8559c8c0
AJ
136472002-01-15 Andreas Jaeger <aj@suse.de>
13648
13649 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
13650
70f122f2
KH
136512002-01-15 Kazu Hirata <kazu@hxi.com>
13652
13653 * mips-tfile.c: Fix formatting.
13654
6a7b4ca6
JH
13655Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
13656
13657 * unroll.c (final_reg_note_copy): Fix previous commit.
13658
e7afe229
KH
136592002-01-14 Kazu Hirata <kazu@hxi.com>
13660
13661 * config/h8300/h8300-protos.h: Remove the prototype for
13662 eq_operator.
13663 * config/h8300/h8300.c (eq_operator): Remove.
13664
7d378549
RH
136652002-01-14 Richard Henderson <rth@redhat.com>
13666
13667 * config/i386/i386.md (prefetch): Tidy.
13668 (prefetch_3dnow): Fix locality operand.
13669
ab093b81
RH
136702002-01-14 Richard Henderson <rth@redhat.com>
13671
13672 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
13673 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
13674
d300f51f
HPN
136752002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
13676
13677 * reload1.c (reload_combine): Pass reg_sum replacement through
13678 copy_rtx in loop performing multiple changes.
13679
655dd289
JJ
136802002-01-14 Jakub Jelinek <jakub@redhat.com>
13681
13682 * except.c (remove_unreachable_regions): New.
13683 (free_eh_status): Clear exception_handler_labels.
13684 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
13685 (find_exception_handler_labels): Don't add the same label more than
13686 once.
13687 (remove_exception_handler_label): Don't die if
13688 find_exception_handler_labels hasn't been called for the current
13689 function yet.
13690
1fba46a7
JH
13691Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
13692
13693 * toplev.c (rest_of_compilation): Rebuild jump labels after
13694 gcse.
13695
0975678f
JM
136962002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
13697
13698 * doc/extend.texi: Move documentation of X86 built-in functions
13699 here.
13700 * doc/invoke.texi: From here.
13701 * doc/sourcebuild.texi: Document location of documentation for
13702 machine built-in functions.
13703
969815c7
CF
137042002-01-13 Christopher Faylor <cgf@redhat.com>
13705
13706 * cppfiles.c (TEST_THRESHOLD): New macro.
13707 (SHOULD_MMAP): Ditto.
13708 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
13709 be used.
13710
494c950b
JH
13711Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
13712
13713 * unroll.c (final_reg_note_copy): Properly handle
13714 REG_LABEL
13715 (unroll_loops): Fix LOOP_CONDITION heuristics.
13716
69a0611f
GK
137172002-01-14 Geoffrey Keating <geoffk@redhat.com>
13718
13719 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
13720 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
13721
b90e45ae
JH
13722Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
13723
13724 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
13725 threaded loop.
13726
8377288b
TR
137272002-01-14 Tom Rix <trix@redhat.com>
13728
13729 * config/rs6000/rs6000.md: Fix typo with sradi.
13730
9f37ccb1
UW
137312002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
13732
13733 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
13734 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
13735 (clrstrdi, clrstrsi): Adapt callers.
13736
13737 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
13738
8559c8c0 13739 (movti splitter): Never use register 0 as base register.
9f37ccb1 13740
6c2d03d0
HP
137412002-01-14 Hartmut Penner <hpenner@de.ibm.com>
13742
8559c8c0
AJ
13743 * combine.c (simplify_shift_const): Always generate new rtx
13744 for shift expression instead of reusing given expression.
6c2d03d0 13745
d3e98208
RK
13746Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13747
13748 * config/alpha/alpha.c (alpha_expand_mov): Don't call
13749 alpha_legitimize_address unless mode is Pmode.
13750
9f339dde
GK
137512002-01-13 Geoffrey Keating <geoffk@redhat.com>
13752
13753 * doc/md.texi (Modifiers): Document the '*' constraint for the
13754 user.
13755
13756 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
13757 * doc/extend.texi (Function Attributes): 'interrupt' is valid
13758 for xstormy16 too.
13759
02a10130
RH
137602002-01-13 Richard Henderson <rth@redhat.com>
13761
13762 * reload.c (find_reloads): Use a hard reg destination as reload reg
13763 for an input reload of the source.
13764
61d47787
GP
137652002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13766
13767 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
13768 more generic.
13769
f0df8029
DR
13770Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
13771
13772 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
13773 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
13774
d2a37256
DR
13775 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
13776
a9e8a5ee
RK
13777Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13778
13779 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
13780
bc06712d
TR
137812002-01-12 Tom Rix <trix@redhat.com>
13782
8559c8c0 13783 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
13784 TARGET_POWERPC64.
13785
7cbe9bb7
RH
137862002-01-12 Richard Henderson <rth@redhat.com>
13787
38b29e64
RH
13788 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
13789
58605ba0
RH
13790 * doc/invoke.texi: Update Alpha options.
13791
7cbe9bb7
RH
13792 * doc/invoke.texi: Update i386 built-in function lists.
13793
9d560860
JH
13794Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
13795
13796 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
13797 referencing outside.
13798
bb93b973
RK
13799Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13800
13801 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
13802 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
13803 offsets, and change line folding.
13804 * optabs.c (expand_binop): Remove warnings.
13805 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 13806
f9f6b7df
GS
138072002-01-12 Graham Stott <grahams@redhat.com>
13808
13809 * attribs.c (handle_deprecated_attribute): constify WHAT.
13810 * diagnostic.c (warn_deprecated_use): Add braces, fixes
13811 dangling else warning and constify WHAT.
13812 * except.h (struct function, struct inline_remap): Move
13813 struct tag forward defs before all prototypes.
13814 (duplicate_eh_regions): Whitespace.
13815
4a692617
NC
138162002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
13817
13818 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
13819 MODE_BASE_REG_CLASS.
13820 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
13821
e37af218
RH
138222002-01-12 Richard Henderson <rth@redhat.com>
13823
13824 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
13825 (ix86_expand_vector_move): New.
13826 (bdesc_2arg): Remove andps, andnps, orps, xorps.
13827 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
13828 Remove old prefetch builtins. Special case the logicals removed above.
13829 (ix86_expand_builtin): Likewise.
13830 (safe_vector_operand): Use V4SFmode, not TImode.
13831 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
13832 (ix86_expand_timode_binop_builtin): New.
13833 * config/i386/i386-protos.h: Update.
13834 * config/i386/i386.h (enum ix86_builtins): Update.
13835 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
13836 Use ix86_expand_vector_move in vector move expanders.
13837 (movti_internal, movti_rex64): Add xorps alternative.
13838 (sse_clrv4sf): Rename and adjust from sse_clrti.
13839 (prefetch): Don't work so hard.
13840 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
13841 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
13842 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
13843
6f1a6c5b
RH
138442002-01-11 Richard Henderson <rth@redhat.com>
13845
13846 * config/i386/mmintrin.h: New file.
13847 * config/i386/xmmintrin.h: New file.
13848 * config.gcc (i?86-*-*): Add extra_headers.
13849 * simplify-rtx.c (simplify_unary_operation): Handle saturating
13850 truncation codes.
13851 (simplify_binary_operation): Handle saturating arithmetic codes.
13852 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
13853 not the lowpart subreg.
13854 (ix86_expand_builtin): Return a TImode dummy register instead of 0
13855 on error.
13856 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
13857
cdb574d3
MH
138582002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13859
13860 * conflict.c (conflict_graph_compute): Free regsets when finished.
13861 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 13862
cf11ac55
HB
138632002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13864
13865 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
13866 every where we allocate a register.
13867
76ac938b
MH
138682002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13869
13870 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
13871 * lcm.c (compute_earliest, compute_farthest): Likewise.
13872
a84b4898
JJ
138732002-01-11 Janis Johnson <janis187@us.ibm.com>
13874
13875 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
13876
aaef1c12
JJ
138772002-01-11 Janis Johnson <janis187@us.ibm.com>
13878
13879 * doc/rtl.texi (Insns): Fix 2 typos.
13880
5d22c1a5
JM
138812002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
13882
13883 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
13884 options. Use @table @gcctabopt for MMIX options. Add index
13885 entries for MMIX options. Start new paragraph with first
13886 heading of the machine-dependent options.
13887
3e92902c
CR
138882002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
13889
13890 PR other/5299
13891 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
13892 * combine.c (force_to_mode): Same.
13893 * reload1.c (clear_reload_reg_in_use): Same.
13894
96ae8197
NC
138952002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
13896
13897 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
13898 and 'subtargets'.
13899
9b780582
AJ
139002002-01-11 Andreas Jaeger <aj@suse.de>,
13901 Brad Lucier <lucier@math.purdue.edu>
13902
13903 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
13904 mcpu.
13905
12300dad
DR
13906Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
13907
13908 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
13909 Protect with IN_LIBGCC.
13910 (LINK_EH_SPEC): Add required trailing space.
13911
27511a9a
NP
13912Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
13913
9b780582 13914 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
13915 under the filename which contains them.
13916 (check_identifier, finish_decl_top_level,
13917 lookup_name_current_level_global, shadow_record_fields): Remove.
13918
4daeab16
AJ
139192002-01-11 Andreas Jaeger <aj@suse.de>
13920
13921 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
13922 march.
13923
40571d67
RH
139242002-01-10 Richard Henderson <rth@redhat.com>
13925
13926 * config/alpha/alpha.c (print_operand): Add 'J'.
13927 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
13928 new operand with the sequence number for the lituse. When splitting
13929 the insns, use gen_movdi_er_high_g and generate a sequence number.
13930 (gen_movdi_er_high_g): Print the sequence number if non-zero.
13931
6525c0e7
AH
139322002-01-10 Aldy Hernandez <aldyh@redhat.com>
13933
d8086cbb
RS
13934 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
13935 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
13936 stvxl.
13937 (altivec_expand_builtin): Same.
13938 (altivec_expand_stv_builtin): New.
13939
13940 * config/rs6000/rs6000.h (rs6000_builtins): Same.
13941
13942 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
13943 ("altivec_lvehx"): New.
13944 ("altivec_lvewx"): New.
13945 ("altivec_lvxl"): New.
13946 ("altivec_lvx"): New.
13947 ("altivec_stvx"): New.
13948 ("altivec_stvebx"): New.
13949 ("altivec_stvehx"): New.
13950 ("altivec_stvewx"): New.
13951 ("altivec_stvxl"): New.
6525c0e7 13952
cda94cbb
RH
139532002-01-10 Richard Henderson <rth@redhat.com>
13954
13955 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
13956 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
13957 care not to delete instructions twice.
13958
df2c9a44
ZW
139592002-01-10 Zack Weinberg <zack@codesourcery.com>
13960
13961 * toplev.c: Don't declare environ (it's not used anywhere).
13962 * configure.in: Don't check for declaration of environ.
13963 * config/i386/xm-mingw32.h: Don't #define environ.
13964 * config.in, configure: Regenerate.
13965
5dd8a9b1
ZW
139662002-01-10 Zack Weinberg <zack@codesourcery.com>
13967
13968 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
13969 * configure: Regenerate.
13970
13971 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
13972 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
13973 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
13974 alpha/xm-vms.h.
13975 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
13976 LIMITS_H_TEST here, not in m68k/x-next.
13977 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
13978 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
13979
13980 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
13981 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
13982 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
13983
13984 * config/i386/x-djgpp: Renamed i386/t-djgpp.
13985 * config/m88k/x-dolph: Renamed m88k/t-dolph.
13986 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
13987 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
13988 replacement of quadlib.asm with quadlib.c.
13989
13990 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
13991 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
13992 config/rs6000/xm-beos.h: Delete file.
13993
13994 * config.gcc: Update to match above changes.
13995
d10dd44c
KH
139962002-01-10 Kazu Hirata <kazu@hxi.com>
13997
13998 * config/h8300/h8300.h: Fix comment typos.
13999 * config/h8300/h8300.md: Likewise.
14000 * config/h8300/lib1funcs.asm: Likewise.
14001
04894c5a
DJ
140022002-01-10 Dale Johannesen <dalej@apple.com>
14003
14004 PR optimization/5269
14005 * unroll.c (precondition_loop_p): Make *increment be the correct
14006 sign when n_iterations known, to avoid confusing caller.
14007
adc9fe67
KH
140082002-01-10 Kazu Hirata <kazu@hxi.com>
14009
14010 * doc/extend.texi (deprecated): Fix a typo.
14011
b446e5a2
JH
14012Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
14013
14014 * basic-block.h (update_br_prob_note): Declare.
14015 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
14016 (try_forward_edges): Care negative frequencies and update note.
14017 (outgoing_edges_match): Tweek conditional merging heuristics.
14018 (try_crossjump_to_edge): use update_br_prob_note.
14019 * cfglayout.c (fixup_reorder_chain): Likewise.
14020 * cfrtl.c (update_br_prob_note): New.
14021 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
14022
14023 * i386.c (ix86_decompose_address): Return -1 if address contains
14024 shift.
14025 (legitimate_address_p): Require ix86_decompose_address to return 1.
14026
14027 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
14028 (cprop_insn): Likewise.
14029
a01da83b
KH
140302002-01-10 Kazu Hirata <kazu@hxi.com>
14031
14032 * toplev.c: Fix formatting.
14033 * tree.c: Likewise.
14034 * tree-dump.c: Likewise.
14035 * unroll.c: Likewise.
14036 * unwind-dw2.c: Likewise.
14037 * unwind-dw2-fde.c: Likewise.
14038 * unwind-dw2-fde-glibc.c: Likewise.
14039 * unwind-sjlj.c: Likewise.
14040
9f85bca7
JM
140412002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14042
14043 * doc/invoke.texi: Document PDP-11 options.
14044
f48f56b1
KH
140452002-01-10 Kazu Hirata <kazu@hxi.com>
14046
14047 * config/h8300/h8300.h: Fix formatting.
14048
ead39bdf 140492002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
14050
14051 Add __attribute__ ((deprecated)).
14052 * extend.texi: Document __attribute__ ((deprecated)).
14053 * invoke.texi: Document -Wno-deprecated-declarations.
14054 * testsuite/g++.dg/other/deprecated.C: New C++ test.
14055 * testsuite/gcc.dg/deprecated.c: New C test.
14056 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
14057 (c_common_attribute_table): Add "deprecated" entry.
14058 (handle_deprecated_attribute): New function.
14059 * c-decl.c (deprecated_states): New enum.
14060 deprecated_state: State of "deprecated" handling.
14061 (start_decl): Set deprecated_state based on attributes.
14062 (grokdeclarator): Test for deprecated uses, propagate attribute.
14063 * c-typeck.c (build_component_ref): Test for deprecated fields.
14064 (build_external_ref): Test for deprecated primaries.
14065 * diagnostic.c (warn_deprecated_use) New function to issue
14066 warnings about __attribute__ ((depricated)) references.
14067 * flags.h (warn_deprecated_decl): Extern declared for
14068 -W[no-]deprecated-declarations option.
14069 * print-tree.c (print_node): Show deprecated flag status.
14070 * toplev.c (warn_deprecated_decl): Defined.
14071 (W_options): Added "deprecated-declaration".
14072 * toplev.h (warn_deprecated_use): Extern declared.
14073 * tree.h (struct tree_common): Define deprecated_flag.
14074 (TREE_DEPRECATED): New macro to access flag.
14075 * cp/call.c (build_call): Test for deprecated calls.
14076 * cp/class.c (add_implicitly_declared_members): Set global
14077 flag to tell grokdeclarator to not issue deprecated warnings.
14078 * cp/cp-tree.h: Add extern for adding_implicit_members.
14079 * cp/decl.c (deprecated_states): New enum.
14080 (start_decl): Set deprecated_state based on attributes.
14081 (grokdeclarator): Test for deprecated uses, propagate attribute.
14082 * cp/lex.c (do_identifier): Test for deprecated primaries.
14083 * cp/typeck.c (build_component_ref): Test for deprecated fields.
14084
ead39bdf 140852002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
14086
14087 Fix to assign attributes to inline member functions.
14088 * cp/decl.c (start_method): Handle attrlist.
14089
47073a38
KH
140902002-01-10 Kazu Hirata <kazu@hxi.com>
14091
14092 * combine.c (expand_field_assignment): Use subreg_lsb().
14093
d288e53d
DE
140942002-01-10 David Edelsohn <edelsohn@gnu.org>
14095
14096 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
14097 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
14098 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
14099 Recurse for any operand of AND as long as constant is non-zero.
14100
08a02ffa
KH
141012002-01-10 Kazu Hirata <kazu@hxi.com>
14102
14103 * config/h8300/h8300.md: Remove constraints from expanders.
14104
c203e7fe
KH
141052002-01-10 Kazu Hirata <kazu@hxi.com>
14106
14107 * varasm.c: Fix formatting.
14108 * varray.c: Likewise.
14109 * vmsdbgout.c: Likewise.
14110 * xcoffout.c: Likewise.
14111
bcb3bc6d
JH
14112Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
14113
14114 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 14115 update edge probabilities to match.
bcb3bc6d 14116
0a553c7e
JM
141172002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14118
14119 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
14120 dependencies.
14121 * doc/languages.texi, doc/sourcebuild.texi: New files.
14122 * doc/configfiles.texi: Make a subsubsection. Update.
14123 * doc/configterms.texi: Add @node. Remove warning that this isn't
14124 instructions for building GCC.
14125 * doc/makefile.texi: Make a subsection.
14126 * doc/gccint.texi: Update.
14127
adc7fcb8
JH
14128Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
14129
14130 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
14131
5a4dd0b3
NP
14132Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
14133
14134 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
14135
3987b9db
JH
14136Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
14137
14138 * optabs.c (expand_fix): Look for wider integer modes first.
14139
14140 * i386.md (mov?f): Avoid the fake const double trick for medium
14141 memory model.
14142 (min?f*/max?f*): Prohibit memory operands for i387 variant.
14143 (fop_df_4): Disable for SSE compilation.
14144
ceb15948 141452002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
14146
14147 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 14148 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 14149
e1623399
RH
141502002-01-10 Richard Henderson <rth@redhat.com>
14151
14152 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
14153
c4abb293
RH
141542002-01-10 Richard Henderson <rth@redhat.com>
14155
14156 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
14157 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
14158
d2604ae9
KH
141592002-01-10 Kazu Hirata <kazu@hxi.com>
14160
14161 * combine.c (can_combine_p): Fix a comment typo.
14162
766c7ad1
ZW
141632002-01-09 Zack Weinberg <zack@codesourcery.com>
14164
14165 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
14166 empty list correctly. Change loop index $t to $f for
14167 consistency with rest of Makefile.
14168
95385cbb
AH
141692002-01-08 Aldy Hernandez <aldyh@redhat.com>
14170
14171 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
14172 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14173
14174 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
14175 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
14176 (altivec_init_builtins): Same.
14177 (altivec_expand_unop_builtin): Return NULL_RTX on error.
14178 (altivec_expand_binop_builtin): Same.
14179 (altivec_expand_ternop_builtin): Same.
14180 (bdesc_dst): New.
14181
14182 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
14183 ("altivec_vctuxs"): Fix typo.
14184 ("altivec_vnmsubfp"): Same.
14185 ("altivec_dssall"): New.
14186 ("altivec_mfvscr"): New.
14187 ("altivec_dss"): New.
14188 ("altivec_lvsl"): New.
14189 ("altivec_lvsr"): New.
14190 ("altivec_dstt"): New.
14191 ("altivec_dstst"): New.
14192 ("altivec_dststt"): New.
14193 ("altivec_dst"): New.
14194
14195 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
14196 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14197
e4ac76b4
RH
141982002-01-09 Richard Henderson <rth@redhat.com>
14199
14200 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
14201
c893e4a4
HPN
142022002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
14203
14204 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
14205 function.
14206 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
14207 prototype.
7387c700 14208 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 14209
f4f4d0f8
KH
142102002-01-09 Kazu Hirata <kazu@hxi.com>
14211
14212 * read-rtl.c: Fix formatting.
14213 * real.c: Likewise.
14214 * regclass.c: Likewise.
14215 * regrename.c: Likewise.
14216 * reg-stack.c: Likewise.
14217 * reload1.c: Likewise.
14218 * reload.c: Likewise.
14219 * rtl.c: Likewise.
14220
cc863bea
KH
142212002-01-09 Kazu Hirata <kazu@hxi.com>
14222
14223 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
14224 to extract items in the expr_list chain.
14225
7b4dfe3d
RH
142262002-01-09 Richard Henderson <rth@redhat.com>
14227
14228 * config/vax/vax.c (vax_rtx_cost): Never abort.
14229
1d969638
RH
14230 * config/vax/vax.h (REAL_ARITHMETIC): Define.
14231
7d5ab30e
JH
142322002-01-09 Jan Hubicka <jh@suse.cz>
14233
14234 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
14235
9503f3d1
RH
142362002-01-09 Richard Henderson <rth@redhat.com>
14237
14238 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
14239 Unify code from various alternatives.
14240
42bd17b7
RH
142412002-01-09 Richard Henderson <rth@redhat.com>
14242
14243 * regrename.c (copy_value): Ignore the copy if the source register
14244 is present in the value chain with a narrower mode.
14245
bdca3c33
HB
142462002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14247
cda94cbb
RH
14248 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
14249 for the c4x target. Also improve layout.
bdca3c33 14250
c73a5e94
RH
142512002-01-09 Richard Henderson <rth@redhat.com>
14252
14253 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
14254 * config/m32r/m32r.md (and ior xor splitters): Swap operands
14255 to match insn patterns.
14256
dd0a18c0
RH
142572002-01-09 Richard Henderson <rth@redhat.com>
14258
14259 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
14260 (copyprop_hardreg_forward_1): Likewise.
14261
1fd9ac1e
JDA
142622002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14263
14264 * pa.md (decrement_and_branch_until_zero): Change predicate for
14265 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
14266
5cb265ec
BM
142672002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14268
14269 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
14270 gets undefined. For Darwin.
14271
fcd8fa8b
HB
142722002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14273
14274 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
14275
bd3ab23a
MH
142762002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14277
14278 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
14279
21e16bd6
RH
142802002-01-08 Richard Henderson <rth@redhat.com>
14281
14282 * regrename.c (copy_value): Ignore overlapping copies.
14283
a5376276
RH
142842002-01-08 Richard Henderson <rth@redhat.com>
14285
14286 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
14287 as needed to avoid shared structure.
14288
18cf8dda
KH
142892002-01-08 Kazu Hirata <kazu@hxi.com>
14290
14291 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
14292 H8/300H and H8/S.
14293
16c484c7
JM
142942002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14295
14296 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
14297 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
14298 documentation of obsolete macros.
14299 * system.h: Poison these macros.
14300 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
14301 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
14302 config/c4x/c4x.h, config/clipper/clipper.h,
14303 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
14304 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
14305 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
14306 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
14307 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
14308 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
14309 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
14310 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
14311 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
14312 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
14313 config/sparc/sparc.h, config/stormy16/stormy16.h,
14314 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
14315 definitions and commented out definitions of obsolete macros.
14316 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
14317 of MAX_INT_TYPE_SIZE.
14318
14b3e8ef
UW
143192002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
14320
14321 * config/s390/s390.c (s390_preferred_reload_class): Never
14322 return ADDR_REGS if it isn't a subset of the given class.
14323 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
14324 FP_REGS, but all superclasses as well.
14325
14326 * config/s390/s390.c (s390_function_profiler): Fix thinko.
14327
14328 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
14329 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
14330 must not be a const_int.
14331
a693284d
RH
143322002-01-08 Richard Henderson <rth@redhat.com>
14333
14334 * Makefile.in (toplev.o): Depend on options.h.
14335 (gcc.o): Depend on specs.h.
14336
b3ca30df
JJ
143372002-01-08 Jakub Jelinek <jakub@redhat.com>
14338
14339 * expr.c (store_expr): Convert VOIDmode constants back to target's
14340 mode.
14341
24dbb440
GP
143422002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14343
14344 * doc/invoke.texi: Markup gcc as @command. Refer to
14345 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
14346 of http://gcc.gnu.org/thanks.html.
14347
234e114c
DJ
143482002-01-08 Dale Johannesen <dalej@apple.com>
14349
14350 * config/rs6000/rs6000.md: Add missing int register
14351 target case to movdf_low.
14352
0d24f4d1
ZW
143532002-01-08 Zack Weinberg <zack@codesourcery.com>
14354
14355 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
14356 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
14357 (cppinit.o): Depend on except.h.
14358 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
14359 s-specs): New rules.
14360
14361 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
14362 Don't create specs.h/options.h/gencheck.h here. Remove
14363 unnecessary variable settings from last argument of AC_OUTPUT.
14364 * config.in, configure: Regenerate.
14365 * intl.c: Hardcode package name as "gcc".
14366
14367 * cppinit.c: Include except.h.
14368 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
14369 appropriate.
14370 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
14371 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
14372 (!)USING_SJLJ_EXCEPTIONS.
14373 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
14374
ed722f66
JM
143752002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14376
14377 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
14378 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
14379 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
14380 documentation of obsolete macros.
14381 * system.h: Poison these macros.
14382 * config/d30v/d30v.h, config/ns32k/encore.h,
14383 config/stormy16/stormy16.h: Remove definitions and commented out
14384 definitions of obsolete macros.
14385
31e5e29a
NP
14386Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
14387
14388 * objc/objc-act.c (handle_class_ref): Mark the declaration of
14389 %sobjc_class_ref_%s as used - to prevent unwanted compiler
14390 warnings.
14391
bc1fa59c
UW
143922002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
14393
14394 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
14395 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
14396 to insn adjusting stack/frame pointer.
0d24f4d1 14397 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
14398 accept operands that cause the insn to be non-splittable.
14399
a8086abf
GS
144002002-01-08 Graham Stott <grahams@redhat.com>
14401
14402 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
14403 (C_TYPE_FIELDS_VOLATILE): Likewise.
14404 (C_TYPE_BEING_DEFINED): Likewise.
14405 (C_IS_RESERVED_WORD): Likewise.
14406 (C_TYPE_VARIABLE_SIZE): Likewise.
14407 (C_DECL_VARIABLE_SIZE): Likewise.
14408 (C_MISSING_PROTOTYPE_WARNED): Likewise.
14409 (C_SET_EXP_ORIGINAL_CODE): Likewise.
14410 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
14411 parenthesis.
14412 (C_DECL_ANTICIPATED): Likewise.
14413 (c_build_type_variant): Add parenthesis.
14414
3f595aa1
JM
144152002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14416
14417 * gcc.c (option_map): Remove --version.
14418 (process_command): Handle -fversion following the GNU Coding
14419 Standards. Partially addresses PR other/704.
14420
5bc5a8f9
GS
144212002-01-08 Graham Stott <grahams@redhat.com>
14422
14423 * combine.c (combine_instructions): Fix typo.
14424
16ec4ebf
GS
144252002-01-08 Graham Stott <grahams@redhat.com>
14426
14427 * debug.h: Use "tree" and "rtx" throughout.
14428
14429 * debug.c: Likewise.
14430
4b69f385
NC
144312002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
14432
14433 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
14434 constant pool, use the pool's version of the symbol instead.
14435
57d1019b
RH
144362002-01-07 Richard Henderson <rth@redhat.com>
14437
14438 * regrename.c (find_oldest_value_reg): Ignore the value chain if
14439 the original register was copied in a mode with a fewer number of
14440 hard registers than the desired mode.
14441 (copyprop_hardreg_forward_1): Likewise.
14442 (debug_value_data): Fix loop test.
14443 * toplev.c (parse_options_and_default_flags): Reenable
14444 -fcprop-registers at -O1.
14445
144462002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 14447
0d24f4d1
ZW
14448 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
14449 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 14450
0d24f4d1
ZW
14451 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
14452 predicates.
fa066a23 14453
0d24f4d1 14454 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 14455
8f949e7e
JDA
144562002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
14457
14458 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
14459 (pa_output_function_prologue): Output local label at the beginning of
14460 the prologue when profiling.
14461 (hppa_profile_hook): Use the local label rather than the function label.
14462 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
14463
c62f2db5
AH
144642002-01-07 Aldy Hernandez <aldyh@redhat.com>
14465
0d24f4d1
ZW
14466 * config/rs6000/rs6000.c (print_operand): Remove extra space.
14467 (altivec_expand_unop_builtin): Fix thinko.
14468 (altivec_expand_binop_builtin): Same.
14469 (altivec_expand_ternop_builtin): Same.
14470 (altivec_expand_builtin): Same.
c62f2db5 14471
b5235ba7
RH
144722002-01-07 Richard Henderson <rth@redhat.com>
14473
14474 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
14475
7d8ac293
JM
144762002-01-07 Jason Merrill <jason@redhat.com>
14477
14478 * unwind-dw2.c (execute_cfa_program): Use < again.
14479
571a03b8
JJ
144802002-01-07 Jakub Jelinek <jakub@redhat.com>
14481
14482 * predict.c (combine_predictions_for_insn): Avoid division by zero.
14483
2e951384
JJ
144842002-01-07 Jakub Jelinek <jakub@redhat.com>
14485
14486 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
14487 Don't allow -1 - x -> ~x simplifications in the first pass.
14488
20e26713
AH
144892002-01-07 Aldy Hernandez <aldyh@redhat.com>
14490
0d24f4d1
ZW
14491 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
14492 arguments.
14493 (altivec_expand_binop_builtin): Same.
14494 (altivec_expand_unop_builtin): Same.
14495 (print_operand): Fix typo.
14496 (bdesc_1arg): Add vupk* variants.
20e26713 14497
0d24f4d1 14498 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 14499
0d24f4d1 14500 * rs6000.md: Add altivec_vupk* variants.
20e26713 14501
4dd57c18
JM
145022002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
14503
14504 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
14505 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
14506 and last update dates.
14507
0341c5d2
JJ
145082002-01-07 Janis Johnson <janis187@us.ibm.com>
14509
14510 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
14511
c7f3e0b0
MM
145122002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
14513
14514 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
14515 * config/avr/avr.h (CPP_SPEC): Likewise.
14516 (LINK_SPEC): Likewise.
14517 (CRT_BINUTILS_SPECS): Likewise.
14518 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
14519 * doc/invoke.texi (AVR Options): Document them.
14520
6ba4d630
JH
14521Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
14522
14523 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
14524 LABEL_NUSES.
14525
6253d571
GS
145262002-01-07 Graham Stott <grahams@redhat.com>
14527
0d24f4d1
ZW
14528 * config/i386/i386.h: Update copyright date.
14529 (HALF_PIC_PTR): Add parenthesis.
14530 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
14531 (CONSTANT_ALIGNMENT): Add parenthesis.
14532 (DATA_ALIGNMENT): Likewise.
14533 (LOCAL_ALIGNMENT): Likewise.
14534 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
14535 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
14536 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
14537 (HARD_REGNO_NREGS): Add paranethesis.
14538 (VALID_SSE_REG_MODE): Whitespace.
14539 (VALID_MMX_REG_MODE): Whitespace.
14540 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
14541 (ix86_hard_regno_mode_ok): Add parenthesis.
14542 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
14543 (RETURN_IN_MEMORY): Whitespace.
14544 (N_REG_CLASSES): Add parenthesis.
14545 (INTEGER_CLASS_P): Add parenthesis and wrap.
14546 (FLOAT_CLASS_P): Likewise.
14547 (SSE_CLASS_P): Likewise.
14548 (MMX_CLASS_P): Likewise.
14549 (MAYBE_INTEGER_CLASS_P): Likewise.
14550 (MAYBE_FLOAT_CLASS_P): Likewise.
14551 (MAYBE_SSE_CLASS_P): Likewise.
14552 (MAYBE_MMX_CLASS_P): Likewise.
14553 (Q_CLASS_P): Likewise.
14554 (GENERAL_REGNO_P): Uppercase macro parameter.
14555 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
14556 (FP_REGNO_P): Likewise.
14557 (ANY_FP_REGNO_P): Uppercase macro parameter.
14558 (SSE_REGNO_P): Likewise.
14559 (SSE_REGNO): Likewise.
14560 (SSE_REG_P): Likewise.
14561 (SSE_FLOAT_MODE_P): Likewise.
14562 (MMX_REGNO_P): Likewise.
14563 (MMX_REG_P):Likewise.
14564 (STACK_REG_P): Likewise.
14565 (NON_STACK_REG_P): Likewise.
14566 (STACK_TOP_P): Likewise.
14567 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
14568 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
14569 (SECONDARY_MEMORY_NEEDED): Likewise.
14570 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
14571 (MD_ASM_CLOBBERS): Whitespace and wrap.
14572 (MUST_PASS_IN_STACK): Whitespace and wrap.
14573 (RETURN_POPS_ARGS): Add parenthesis.
14574 (INIT_CUMULATIVE_ARGS): Likewise.
14575 (FUNCTION_ARG): Likewise.
14576 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
14577 (SETUP_INCOMING_VARARGS): Likewise.
14578 (BUILD_VA_LIST_TYPE): Add parenthesis.
14579 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
14580 parenthsis.
14581 (EXPAND_BUILTIN_VA_ARG): Likewise.
14582 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
14583 (INITIALIZE_TRAMPOLINE): Add parenthesis.
14584 (INITIAL_ELIMINATION_OFFSET): Likewise.
14585 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
14586 (REGNO_OK_FOR_BASE_P): Likewise.
14587 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
14588 (REGNO_OK_FOR_DIREG_P): Likewise.
14589 (REG_OK_FOR_INDEX_P): Whitespace.
14590 (REG_OK_FOR_BASE_P): Whitespace.
14591 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
14592 parenthesis.
14593 (FIND_BASE_TERM): Fix typo.
14594 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
14595 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
14596 (SYMBOLIC_CONST; Whitespace.
14597 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
14598 (ENCODE_SECTION_INFO): Whitespace.
14599 (FINALIZE_PIC): Remove do { ... } while (0).
14600 (PROMOTE_MODE): Wrap in do { ... } while (0).
14601 (CONST_COSTS): Whitespace.
14602 (RTX_COSTS): Add paramethesis, whitespace and wrap.
14603 (REGISTER_MOVE_COST): Add parenthesis.
14604 (MEMORY_MOVE_COST): Likewise.
14605 (EXTRA_CC_MODES): Whitespace.
14606 (SELECT_CC_MODE): Add parenthesis and whitespace.
14607 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
14608 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
14609 (ASM_OUTPUT_LABEL): Add paramethesis.
14610 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
14611 (ASM_OUTPUT_REG_POP): Likewise.
14612 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
14613 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 14614
07933f72
GS
14615 * config/i386/i386.c: Update copyright.
14616 (CHECK_STACK_LIMIT): Add parenthesis.
14617 (AT_BP): Uppercase macro parameter.
14618 (x86_64_int_parameter_registers): Constify.
14619 (x86_64_int_return_registers): Likewise.
14620 (ix86_compare_op0): Use rtx.
14621 (construct_container): Constify INTREG parameter.
14622 (function_arg): Use rtx.
14623
0b4d32c9
GS
14624 * diagnostic.h: Update copyright date.
14625 (output_buffer_state): Add parenthesis.
14626 (output_buffer_format_args): Likewise.
14627
6253d571
GS
14628 * combine.c (combine_instructions): Replace XEXP (links, 0)
14629 with link.
14630
68f3f6f1
L
146312002-01-06 H.J. Lu <hjl@gnu.org>
14632
14633 * cfgcleanup.c (thread_jump): Fix 2 typos.
14634
146352002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 14636
0d24f4d1 14637 * config.gcc: Add support for --enable-altivec.
480f7f3a 14638
13b8c631
CR
146392002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14640
14641 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
14642
58ad89b1
JJ
146432002-01-06 Jakub Jelinek <jakub@redhat.com>
14644
14645 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
14646 __objc_class_name_*.
14647
e403b4bc
CR
146482002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14649
14650 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
14651
e41c7831
RH
146522002-01-06 Richard Henderson <rth@redhat.com>
14653
14654 * reorg.c (emit_delay_sequence): Remove death notes, not merely
14655 nop them out. Increment label reference count for REG_LABEL.
14656 (fill_slots_from_thread): Frob label reference count around
14657 delete_related_insns.
14658
3b3b1e32
RH
146592002-01-05 Richard Henderson <rth@redhat.com>
14660
14661 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
14662 jump threading.
14663
c28abdf0
RH
146642002-01-05 Richard Henderson <rth@redhat.com>
14665
14666 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
14667 * integrate.c (output_inline_function): Likewise.
14668 * toplev.c (rest_of_compilation): Do it here instead. Move call
14669 to remove_unnecessary_notes after emitting abstract instance.
14670 Force an emitted nested function to have its parent emited as well.
14671 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
14672 for null.
14673 (rtl_for_decl_location): Do not look at reload data structures
14674 before reload has run.
14675
c4f2c499
KH
146762002-01-05 Kazu Hirata <kazu@hxi.com>
14677
14678 * cse.c: Fix formatting.
14679 * dwarf2asm.c: Likewise.
14680 * dwarf2out.c: Likewise.
14681 * explow.c: Likewise.
14682 * expmed.c: Likewise.
14683 * function.c: Likewise.
14684 * gcov.c: Likewise.
14685 * gencheck.c: Likewise.
14686 * genrecog.c: Likewise.
14687 * ggc-common.c: Likewise.
14688 * ggc-page.c: Likewise.
14689 * global.c: Likewise.
14690
cf0d9408
KH
146912002-01-05 Kazu Hirata <kazu@hxi.com>
14692
14693 * combine.c: Fix formatting.
14694
bedca03a
CR
146952002-01-05 Craig Rodrigues <crodrigu@bbn.com>
14696
14697 PR middle-end/1557
14698 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
14699
0134bf2d
DE
147002002-01-05 David Edelsohn <edelsohn@gnu.org>
14701
14702 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
14703 as 1 for __powerpc64__ as well.
14704
14705 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
14706
14707 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
14708 return it.
14709
9ca88d5a
DB
147102002-01-05 Daniel Berlin <dan@dberlin.org>
14711
14712 * lcm.c: Revert change, due to performance regression it causes on
14713 SPEC because it's slightly more conservative (sigh, I hate
14714 edge-based LCM).
0d24f4d1 14715
1c570418
JH
14716Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
14717
14718 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
14719
d83bb9f7
NB
147202002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
14721
14722 * doc/cppinternals.texi: Update.
14723
3e0f61ac
HPN
147242002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
14725
14726 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
14727 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
14728 negatives.
14729 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
14730 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
14731 kludge for pre-october-14th mmix versions to handle new-found bug
14732 with PUSHJ/PUSHGO and the register stack.
14733 * config/mmix/mmix.h (struct machine_function): Rename member
14734 has_call_value_without_parameters to has_call_without_parameters.
14735 All referers changed.
14736 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
14737 TARGET_MASK_BRANCH_PREDICT): New macros.
14738 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
14739 -mno-reg-stack-fill-bug-workaround.
14740 * config/mmix/mmix.md ("call"): Set struct machine member
14741 has_call_without_parameters.
14742
4deaa2f8
JH
14743Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
14744
14745 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
14746
9f16e871
JH
14747Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
14748
14749 * cfgcleanup.c: Include tm_p.h
14750 (mark_effect): Fix handling of hard register; fix handling of SET
14751
96eb1157
KH
147522002-01-04 Kazu Hirata <kazu@hxi.com>
14753
14754 * config/h8300/h8300.md (anonymous patterns): Check that
14755 operands are registers before using REGNO on them.
14756
48180d68
RM
147572002-01-03 Roland McGrath <roland@frob.com>
14758
14759 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
14760
b0832fe1
JJ
147612002-01-04 Jakub Jelinek <jakub@redhat.com>
14762
14763 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
14764 * c-common.h (genrtl_expr_stmt_value): Likewise.
14765 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
14766 (expand_expr_stmt_value): Add maybe_last argument.
14767 Don't warn about statement with no effect if it is the last statement
14768 in expression statement.
14769 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
14770 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
14771 expand_expr_stmt_value.
14772 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
14773 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
14774 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
14775 as maybe_last to expand_expr_stmt_value.
14776
c1e14513
JL
14777Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
14778
0d24f4d1
ZW
14779 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
14780 be passed in, do not build it.
14781 (c_begin_if_stmt): New function.
14782 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
14783 * c-common.h (c_expand_start_cond): Update prototype.
14784 (c_begin_if_stmt): Prototype new function.
14785 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
14786 * c-parse.in (if_prefix): Use c_begin_if_stmt,
14787 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 14788
b6ec437a
WC
147892002-01-04 William Cohen <wcohen@redhat.com>
14790
14791 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
14792 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
14793 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
14794 * config/pa/som.h (ASM_FILE_START): Likewise.
14795
ead39bdf 147962002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
14797
14798 * lcm.c: Include df.h.
14799 Add available_transfer_function prototype.
14800 (compute_available): Rework to use iterative dataflow framework.
14801 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
14802 with bb_info in df.h
14803 (available_transfer_function): New function.
14804
14805 * Makefile.in (lcm.o): add df.h to dependencies.
14806
551cc6fd
RH
148072002-01-04 Richard Henderson <rth@redhat.com>
14808
14809 * config/alpha/alpha.c (some_operand): Accept HIGH.
14810 (input_operand): Likewise; accept simple references to globals.
14811 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
14812 (alpha_const_double_ok_for_letter_p): Likewise.
14813 (alpha_extra_constraint): Likewise.
14814 (alpha_preferred_reload_class): Likewise. Do not force
14815 symbolic constants to memory.
14816 (alpha_legitimate_address_p): Accept simple references
14817 to small_symbolic_operand.
14818 (alpha_legitimize_address): New arg scratch. Be prepared to be
14819 called when no_new_pseudos. Emit simple symbolic references.
14820 Split integers into low, high, and rest.
14821 (alpha_expand_mov): Use alpha_legitimize_address.
14822 (some_small_symbolic_mem_operand): New.
14823 (split_small_symbolic_mem_operand): New.
14824 * config/alpha/alpha-protos.h: Update.
14825 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
14826 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
14827 (EXTRA_CONSTRAINT): Likewise.
14828 (PREFERRED_RELOAD_CLASS): Likewise.
14829 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
14830 (PREDICATE_CODES): Update.
14831 * config/alpha/alpha.md: New post-reload splitters to convert
14832 simplfied symbolic operands to the form that references $29.
14833 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
14834 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
14835
1eaea054
RH
148362002-01-03 Richard Henderson <rth@redhat.com>
14837
14838 * local-alloc.c (function_invariant_p): Update commentary.
14839
c4cc12b7
L
148402002-01-04 H.J. Lu <hjl@gnu.org>
14841
14842 * toplev.c (rest_of_compilation): Fix a typo when calling
14843 cleanup_cfg.
14844
173bf5be
KH
148452002-01-03 Kazu Hirata <kazu@hxi.com>
14846
14847 * c-common.c: Fix formatting.
14848 * diagnostic.c: Likewise.
14849 * doloop.c: Likewise.
14850 * dwarf2out.c: Likewise.
14851
187462ac
KH
148522002-01-03 Kazu Hirata <kazu@hxi.com>
14853
14854 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
14855 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
14856
5d8ebbd8
NB
148572002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14858
14859 * cpperror.c: Update comments and copyright.
14860 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
14861 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
14862
518c1311
JDA
148632002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
14864
14865 * collect2.c (main): Use strcmp when testing for "-shared".
14866
d15a58c0
NB
148672002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14868
14869 * cppmacro.c: Don't include intl.h. Update comments.
14870 (new_number_token): Allocate enough buffer for 64-bit unsigned
14871 integers; update prototype.
14872 * cppmain.c: Update comments.
14873
70f4f91c
WC
148742002-01-03 William Cohen <wcohen@redhat.com>
14875
14876 * function.h (struct function): Add profile.
14877 (current_function_profile): New.
14878 doc/extend.texi: Update documentation.
14879 * final.c (final_start_function): Use current_function_profile
14880 instead of profile_flag.
14881 (profile_after_prologue): Likewise.
14882 * function.c (expand_function_start): Likewise.
14883 (expand_function_start): Likewise.
c4cc12b7 14884 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
14885 (alpha_does_function_need_gp): Likewise.
14886 (alpha_expand_prologue): Likewise.
14887 * config/arm/arm.c (arm_expand_prologue): Likewise.
14888 thumb_expand_prologue: Likewise.
14889 * config/d30v/d30v.c (d30v_stack_info): Likewise.
14890 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
14891 (fr30_expand_prologue): Likewise.
14892 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
14893 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
14894 * config/i386/i386.h (FINALIZE_PIC): Likewise.
14895 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
14896 * config/i960/i960.c (i960_output_function_prologue): Likewise.
14897 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
14898 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
14899 (m32r_expand_prologue): Likewise.
14900 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
14901 (m88k_expand_prologue): Likewise.
14902 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
14903 * config/mips/mips.c (compute_frame_size): Likewise.
14904 (mips_expand_prologue): Likewise.
14905 (mips_can_use_return_insn): Likewise.
14906 * config/pa/elf.h (ASM_FILE_START): Likewise.
14907 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
14908 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
14909 * config/pa/som.h (ASM_FILE_START): Likewise.
14910 * config/romp/romp.c (romp_using_r14): Likewise.
14911 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
14912 (rs6000_stack_info): Likewise.
14913 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 14914 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
14915 * config/v850/v850.c (compute_register_save_size): Likewise.
14916
cb1ac742
JJ
149172002-01-03 Jakub Jelinek <jakub@redhat.com>
14918
14919 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
14920 gen_lowpart_common fails, use gen_lowpart_SUBREG.
14921
61d951df 149222002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 14923
61d951df
TC
14924 * darwin.c (machopic_output_possible_stub_label): Don't generate
14925 stub routines for pseudo-stubs which we've just defined.
14926
505ddab6
KH
149272002-01-03 Kazu Hirata <kazu@hxi.com>
14928
14929 * builtins.c: Fix formatting.
14930 * c-typeck.c: Likewise.
14931 * combine.c: Likewise.
14932 * expr.c: Likewise.
14933 * loop.c: Likewise.
14934
b7e30d8a
AS
149352002-01-03 Andreas Schwab <schwab@suse.de>
14936
14937 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
14938 and return true if _cpp_push_next_buffer pushed a new include
14939 file.
14940 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
14941 _cpp_pop_file_buffer did not push a new file.
14942 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
14943
ff81832f
EC
149442002-01-02 Eric Christopher <echristo@redhat.com>
14945
14946 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
14947 FIND_REG_INC_NOTE call. Update copyright.
14948 * loop.c (canonicalize_condition): Ditto.
14949 * reorg.c (delete_scheduled_jump): Ditto.
14950
8e42ace1
KH
149512002-01-03 Kazu Hirata <kazu@hxi.com>
14952
14953 * gcse.c: Fix formatting.
14954
fb2bf631
GS
149552002-01-03 Graham Stott <grahams@redhat.com>
14956
14957 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
14958 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 14959 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
14960
14961 * system.h: Move forward defs for struct tags rtx_def, union_tree,
14962 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 14963 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
14964
149652002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
14966
14967 * tree.h: Update copyright date.
14968 (IS_EXPR_CODE_CLASS): Add parenthesis.
14969 (TREE_SET_CODE): Add whitespace.
14970 (TREE_CHECK): Add parenthesis.
14971 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
14972 (CST_OR_CONSTRUCTOR_CHECK):
14973 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
14974 (TREE_SYMBOL_REFERENCED): Whitespace.
14975 (INT_CST_LT): Likewise.
14976 (INT_CST_LT_UNSIGNED): Likewise.
14977 (tree_real_cst): Unwrap comment.
14978 (tree_string): Likewise.
14979 (tree_complex): Likewise.
14980 (IDENTIFIER_POINTER): correct cast.
14981 (SAVE_EXPR_CONTEXT): Whitespace.
14982 (EXPR_WFL_FILENAME_NODE): Likewise.
14983 (EXPR_WFL_FILENAME): Remove parenthesis.
14984 (DECL_ORIGIN): Add parenthesis.
14985 (DECL_FROM_INLINE): Use NULL_TREE.
14986 (build_int_2): Whitespace.
14987 (build_type_variant): Add parenthesis.
14988
14989 * gcc/jcf-parse.c: Update copyright date.
14990 (yyparse): Constify resource_filename.
14991
f52eda29
GS
149922002-01-03 Graham Stott <grahams@redhat.com>
14993
14994 * rtl.h: Update copyright date.
14995 (RTL_CHECK1): Wrap long line.
14996 (RTL_CHECK2): Likewise.
14997 (RTL_CHECKC1): Wrap long line and whitespace.
14998 (RTL_CHECKC2): Likewise.
14999 (XWINT): Whitespace.
15000 (XINT): Likewise.
15001 (XSTR): Likewise.
15002 (XEXP): Likewise.
15003 (XVEC): Likewise.
15004 (XMODE): Likewise.
15005 (XBITMAP): Likewise.
15006 (XTREE): Likewise.
15007 (XBBDEF): Likewise.
15008 (XTMPL): Likewise.
15009 (X0WINT): Likewise.
15010 (X0INT):Likewise.
15011 (X0UINT): Likewise.
15012 (X0STR): Likewise.
15013 (X0EXP): Likewise.
15014 (X0VEC): Likewise.
15015 (X0MODE): Likewise.
15016 (X0BITMAP): Likewise.
15017 (X0TREE): Likewise.
15018 (X0BBDEF): Likewise.
15019 (X0ADVFLAGS): Likewise.
15020 (X0CSELIB): Likewise.
15021 (X0MEMATTR): Likewise.
15022 (XCWINT): Likewise.
15023 (XCINT): Likewise.
15024 (XCUINT): Likewise.
15025 (XCSTR): Likewise.
15026 (XCEXP): Likewise.
15027 (XCVEC): Likewise.
15028 (XCMODE): Likewise.
15029 (XCBITMAP): Likewise.
15030 (XCTREE): Likewise.
15031 (XCBBDEF): Likewise.
15032 (XCADVFLAGS): Likewise.
15033 (XCCSELIB): Likewise.
15034 (XC2EXP): Likewise.
15035 (INSN_UID): Likewise.
15036 (PREV_INSN): Likewise.
15037 (PATTERN): Likewise.
15038 (INSN_CODE): Likewise.
15039 (PUT_REG_NOTE_KIND): Likewise.
15040 (CODE_LABEL_NUMBER): Likewise.
15041 (NOTE_SOURCE_FILE): Likewise.
15042 (NOTE_BLOCK): Likewise.
15043 (NOTE_EH_HANDLER): Likewise.
15044 (NOTE_RANGE_INFO): Likewise.
15045 (NOTE_LIVE_INFO): Likewise.
15046 (NOTE_BASIC_BLOCK): Likewise.
15047 (NOTE_EXPECTED_VALUE): Likewise.
15048 (NOTE_LINE_NUMBER): Likewise.
15049 (LABEL_NAME): Likewise.
15050 (LABEL_NUSES): Likewise.
15051 (LABEL_ALTERNATE_NAME): Likewise.
15052 (ADDRESSOF_DECL): Likewise.
15053 (JUMP_LABEL): Likewise.
15054 (LABEL_NEXTREF): Likewise.
15055 (REGNO): Likewise.
15056 (ORIGINAL_REGNO: Likewise.
15057 (HARD_REGISTER_NUM_P): Add parenthesis.
15058 (SUBREG_REG): Whitespace.
15059 (SUBREG_BYTE): Likewise.
15060 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
15061 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
15062 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
15063 (ASM_OPERANDS_INPUT_VEC): Likewise.
15064 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
15065 (ASM_OPERANDS_INPUT): Likewise.
15066 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
15067 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
15068 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
15069 (ASM_OPERANDS_INPUT_MODE): Likewise.
15070 (ASM_OPERANDS_SOURCE_FILE): Likewise.
15071 (ASM_OPERANDS_SOURCE_LINE): Likewise.
15072 (MEM_SET_IN_STRUCT_P): Minor reformat.
15073 (TRAP_CONDITION): Whitespace.
15074 (TRAP_CODE): Likewise.
15075 (COND_EXEC_TEST): Likewise.
15076 (COND_EXEC_CODE): Likewise.
15077 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
15078 (PHI_NODE_P): Add parenthesis.
15079 (plus_constant): Whitespace and add parenthesis.
15080
e03f5d43
KH
150812002-01-03 Kazu Hirata <kazu@hxi.com>
15082
15083 * config/avr/avr.c: Fix comment typos.
15084 * config/c4x/c4x.md: Likewise.
15085 * config/dsp16xx/dsp16xx.h: Likewise.
15086 * config/dsp16xx/dsp16xx.md: Likewise.
15087 * config/i386/i386.md: Likewise.
15088 * config/ia64/ia64.c: Likewise.
15089 * config/m32r/m32r.h: Likewise.
15090 * config/m68hc11/m68hc11.md: Likewise.
15091 * config/mmix/mmix.c: Likewise.
15092 * config/mn10200/mn10200.c: Likewise.
15093 * config/romp/romp.c: Likewise.
15094 * config/sh/sh.c: Likewise.
15095 * config/stormy16/stormy16.c: Likewise.
15096 * config/stormy16/stormy16.h: Likewise.
15097 * config/stormy16/stormy16.md: Likewise.
15098
97e300e9
GS
150992002-01-03 Graham Stott <grahams@redhat.com>
15100
15101 * loop.h: Update copyright date.
0d24f4d1
ZW
15102 (LOOP_MOVABLES): Fix typo.
15103 (LOOP_REGS): Likewise.
15104 (LOOP_IVS): Likewise.
ff81832f 15105
745b26b3
GS
151062002-01-03 Graham Stott <grahams@redhat.com>
15107
15108 * cppinit.c: Update copyright date.
15109 Don't include output.h
15110 * Makefile.in: Update copyright date.
15111 Update dependency.
15112
0a379b7a
CR
151132002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
15114
15115 PR c/5226
15116 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
15117 (-pthread) Add to RS/6000 options.
15118
a8154559
KH
151192002-01-02 Kazu Hirata <kazu@hxi.com>
15120
15121 * except.c: Fix comment typos.
15122 * loop.c: Likewise.
15123 * varasm.c: Likewise.
15124 * doc/tm.texi: Fix a typo.
15125
e6ecc89b
JJ
151262002-01-02 Jakub Jelinek <jakub@redhat.com>
15127
15128 * c-typeck.c (output_init_element): Allow initializing static storage
15129 duration objects with compound literals.
15130
d1094b40
RH
151312002-01-02 Richard Henderson <rth@redhat.com>
15132
15133 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
15134 after abusing it.
15135
0c5d8c82
KG
151362002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15137
5e65297b
KG
15138 * gcc.c (default_compilers): Const-ify.
15139 * mips-tdump.c (stab_names): Likewise.
15140 * mips-tfile.c (map_coff_types, map_coff_storage,
15141 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
15142 pseudo_ops_t, pseudo_ops): Likewise.
15143 * protoize.c (default_include): Likewise
15144
0c5d8c82
KG
15145 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
15146 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
15147 Add array size in declaration.
15148 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
15149 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
15150 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
15151 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
15152 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
15153 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
15154 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
15155 emtens, make_nan): Const-ify.
15156 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
15157 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
15158
817e13c4
JM
151592002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
15160
15161 * config.gcc (ia64-*-*): Set extra_headers.
15162 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
15163 * config/alpha/t-osf: Remove.
15164 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
15165
98095e2b
DE
151662002-01-02 David Edelsohn <edelsohn@gnu.org>
15167
15168 * config/rs6000/t-aix43: Revert previous change.
15169
a4200657
JM
151702002-01-02 Jason Merrill <jason@redhat.com>
15171
15172 * c-decl.c (c_expand_body): Call outlining_inline_function when
15173 emitting an inline function out of line.
15174
54ba1f0d
RH
151752002-01-02 Richard Henderson <rth@redhat.com>
15176
15177 * dwarf2out.c (limbo_die_node): Add created_for member.
15178 (new_die): New argument created_for. Update all callers.
15179 (mark_limbo_die_list): New.
15180 (dwarf2out_init): Register limbo_die_list as a root.
15181 (dwarf2out_finish): Force insert limbo dies into their function
15182 context.
15183
323728aa
NS
151842002-01-02 Nathan Sidwell <nathan@codesourcery.com>
15185
15186 PR c++/5089
15187 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
15188
aefc5826
KH
151892002-01-02 Kazu Hirata <kazu@hxi.com>
15190
15191 * config/h8300/fixunssfsi.c: Update copyright.
15192 Fix comment typos.
15193 Fix formatting.
15194 * config/h8300/h8300.c: Update copyright.
15195 Eliminate warnings.
15196
b1c9bc51
KH
151972002-01-02 Kazu Hirata <kazu@hxi.com>
15198
15199 * config/romp/romp.c: Fix comment formatting.
15200 * config/romp/romp.h: Likewise.
15201 * config/romp/romp.md: Likewise.
15202 * config/s390/s390.c: Likewise.
15203 * config/stormy16/stormy16.c: Likewise.
15204 * config/stormy16/stormy16.h: Likewise.
15205
1574ef13
AO
152062002-01-02 Alexandre Oliva <aoliva@redhat.com>
15207
15208 * c-common.h (genrtl_expr_stmt_value): Declare.
15209 * c-semantics.c (genrtl_goto_stmt): Redirect to...
15210 (genrtl_goto_stmt_value): ... this new function. Pass new
15211 argument down to expand_expr_stmt_value, taking
15212 TREE_ADDRESSABLE into account.
15213 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
15214 STMT_EXPR as addressable, i.e., one whose result we want.
15215 * expr.c (expand_expr): Don't save expression statement value
15216 of labeled_blocks or loop_exprs.
15217 * stmt.c (expand_expr_stmt): Redirect to...
15218 (expand_expr_stmt_value): ... this new function. Use new
15219 argument to tell whether to save expression value.
15220 (expand_end_stmt_expr): Reset last_expr_type and
15221 last_expr_value if we don't have either.
15222 * tree-inline.c (declare_return_variable): Mark its use
15223 statement as addressable.
15224 * tree.h: Document new use of TREE_ADDRESSABLE.
15225 (expand_expr_stmt_value): Declare.
15226
252b88f7
TR
152272002-01-01 Tom Rix <trix@redhat.com>
15228
15229 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
15230 rs6000_emit_allocate_stack.
15231
29f7a208
JM
152322002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
15233
15234 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
15235 ${srcdir}/ginclude/ to every entry in extra_headers.
15236 * configure: Regenerate.
15237 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
15238 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
15239 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
15240 * ginclude/proto.h: Rename to config/convex/proto.h.
15241
2cc2d4bb
RK
15242Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15243
15244 * attribs.c (handle_vector_size_attribute): Use host_integerp
15245 and tree_int_cst; remove warnings.
15246 * caller-save.c (insert_restore): Add cast to get rid of warning.
15247 (insert_save): Likewise.
15248 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
15249 * regmove.c (find_matches): Add temporary var to kill a warning.
15250
f01c9bcd
DR
152512002-01-01 Douglas B Rupp <rupp@gnat.com>
15252
16b61764
DR
15253 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
15254 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
15255 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
15256 (vms-dwarf2eh.o): Add Makefile rule.
15257 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
15258 * config/alpha/vms-dwarf2eh.asm: New file.
15259
f01c9bcd
DR
15260 * gcc.c (delete_if_ordinary): Delete all versions.
15261
91312b81
HPN
152622002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
15263
15264 * config/mmix/mmix.md: Update FIXME to not mention
15265 define_constants.
15266 (MMIX_rJ_REGNUM): New define_constants constant.
15267 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
15268 "*movdicc_real"): Adjust contraints formatting.
15269 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
15270 for branch prediction.
15271 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
15272 output template.
15273 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
15274 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
15275 number. Delete related FIXMEs.
15276 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
15277 from number to MMIX_rJ_REGNUM.
15278 (TARGET_MASK_BRANCH_PREDICT): New.
15279 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
15280 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
15281 value. Add -mbranch-predict and -mno-branch-predict.
15282 (TARGET_VERSION): Drop date.
15283 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
15284 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
15285 for finding out global symbols.
15286 (mmix_asm_output_labelref): Revert condition for global symbol.
15287 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
15288 (mmix_print_operand_punct_valid_p): A '+' is valid.
15289
619acae7 15290See ChangeLog.6 for earlier changes.
This page took 1.88317 seconds and 5 git commands to generate.