1 2002-05-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3 * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
5 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
6 traversing basic block chain.
7 (create_basic_block_structure, create_basic_block): Declaration changed.
8 (link_block, unlink_block): Declare.
9 * cfg.c (entry_exit_blocks): Initialize new fields.
10 (link_block, unlink_block): New.
11 (expunge_block_nocompact): Unlink basic block.
12 (dump_flow_info): Print prev_bb/next_bb fields.
13 * cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
14 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
15 * cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
16 * cfgrtl.c (create_basic_block_structure, create_basic_block,
17 split_block, force_nonfallthru_and_redirect, split_edge): Modified.
18 (verify_flow_info): Check that list agrees with numbering.
20 2002-05-19 Neil Booth <neil@daikokuya.demon.co.uk>
22 * c-common.c (preprocessing_asm): New macro.
23 * c-lex.h (builtin_define, builtin_assert): Use pfile.
27 * alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
29 (TARGET_CPU_CPP_BUILTINS): Update.
30 * freebsd.h (TARGET_OS_CPP_BUILTINS): New.
32 * linux.h (CPLUSPLUS_CPP_SPEC): Remove.
33 (TARGET_OS_CPP_BUILTINS): Update.
34 * osf.h (CPP_XFLOAT_SPEC): Kill.
35 (TARGET_OS_CPP_BUILTINS): Update.
36 (CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
37 * osf5.h (CPP_XFLOAT_SPEC): Kill.
38 * vms.h (CPP_SUBTARGET_SPEC): Kill.
39 (TARGET_OS_CPP_BUILTINS): Update.
41 2002-05-19 Richard Henderson <rth@redhat.com>
43 * varasm.c (default_binds_local_p): Fix typo.
45 2002-05-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
47 * config/avr/avr.c (machine_dependent_reorg): Sign extend the
48 CONST_INT operand to the correct mode after adding 1 to it.
50 2002-05-19 Mark Mitchell <mark@codesourcery.com>
52 * config.gcc (powerpc-wrs-windiss*): New target.
54 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
56 * config/rs6000/rs6000.md (ashrdi3_no_power): New.
59 2002-05-18 Mark Mitchell <mark@codesourcery.com>
61 * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
63 * config.in: Regenerated.
64 * configure: Regenerated.
66 2002-05-19 Richard Henderson <rth@redhat.com>
68 * target-def.h (TARGET_BINDS_LOCAL_P): New.
69 * target.h (struct gcc_target): Move boolean fields to the end.
71 * varasm.c (default_binds_local_p): New.
72 * output.h: Declare it.
74 * config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
75 * config/cris/cris.c (cris_encode_section_info): Likewise.
76 * config/i386/i386.c (i386_encode_section_info): Likewise.
77 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
78 * config/sh/sh.c (sh_encode_section_info): Likewise.
80 * doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
81 (TARGET_BINDS_LOCAL_P): New.
83 2002-05-19 Richard Henderson <rth@redhat.com>
85 * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
86 FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
87 MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.
89 * toplev.c (display_help): Kill -a -ax help.
91 * config/1750a/1750a.h, config/alpha/alpha.h,
92 config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
93 config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
94 config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
95 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.
97 * libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
98 * config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.
100 * config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
101 (ix86_output_function_block_profiler): Kill.
102 * config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
103 (m68hc11_function_block_profiler): Kill.
104 * config/m68hc11/m68hc11-protos.h: Update.
105 * config/m88k/m88k.c (output_block_profiler): Kill.
106 (output_function_block_profiler): Kill.
107 * config/m88k/m88k-protos.h: Update.
109 2002-05-19 Richard Henderson <rth@redhat.com>
111 * system.h (STRIP_NAME_ENCODING): Poison it.
112 * output.h (STRIP_NAME_ENCODING): Remove.
113 (default_strip_name_encoding): Declare.
114 * target-def.h (TARGET_STRIP_NAME_ENCODING): New.
115 * target.h (strip_name_encoding): New.
116 * varasm.c (default_strip_name_encoding): New.
118 * dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
119 config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
120 config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
121 config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
122 config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
123 config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
124 config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
125 config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
126 config/v850/v850.h: Use the hook, not the macro.
128 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
129 config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
130 config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
131 config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
132 config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
133 config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
134 config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
135 config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
136 config/v850/v850.c, config/v850/v850.h:
137 Move STRIP_NAME_ENCODING to out-of-line function and add
138 TARGET_STRIP_NAME_ENCODING.
140 * config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
141 config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
142 with TARGET_STRIP_NAME_ENCODING referencing existing function;
143 make function static.
145 * xcoffout.c: Include target.h
146 * Makefile.in (xcoffout.o): Update.
148 * config/avr/avr.c (avr_encode_section_info): Correct prototype.
149 * config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
150 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
151 reloc argument unused.
152 * config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.
154 * doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
155 STRIP_NAME_ENCODING docs.
157 2002-05-19 Andreas Jaeger <aj@suse.de>
159 * gengenrtl.c: Add prototype for excluded_rtx.
161 * real.h: Add prototype for exact_real_truncate.
163 2002-05-18 Richard Henderson <rth@redhat.com>
165 * system.h (ENCODE_SECTION_INFO): Poison it.
166 * target-def.h (TARGET_ENCODE_SECTION_INFO): New.
167 * target.h (encode_section_info): New.
168 * varasm.c (make_decl_rtl, output_constant_def): Use it.
169 * hooks.c (hook_tree_int_void): New.
170 * hooks.h: Declare it.
172 * config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
173 config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
174 config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
175 config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
176 config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
177 config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
178 config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
179 config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
180 config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
181 config/mcore/mcore-protos.h, config/mcore/mcore.c,
182 config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
183 config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
184 config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
185 config/stormy16/stormy16.c, config/stormy16/stormy16.h:
186 Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
187 referencing existing function. Make function static.
189 * config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
190 config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
191 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
192 config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
193 config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
194 config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
195 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
196 config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
197 config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
198 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
199 config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
200 config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
201 config/xtensa/xtensa.c, config/xtensa/xtensa.h:
202 Move ENCODE_SECTION_INFO to out-of-line function and add
203 TARGET_ENCODE_SECTION_INFO.
205 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
206 (ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
208 * config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
210 (switch_to_section): Replace in_rdata case with in_readonly_data.
212 * config/h8300/h8300.c (h8300_encode_label): Make static.
213 * config/h8300/h8300-protos.h: Update.
215 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
216 from rs6000_encode_section_info; make static.
217 (rs6000_xcoff_encode_section_info): New.
219 * config/v850/v850.c (v850_encode_data_area): Make static.
220 * config/v850/v850-protos.h: Update.
222 * config/vax/vax.c: Include flags.h.
223 (vms_select_section): Fix typo.
225 * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
226 ENCODE_SECTION_INFO docs.
228 2002-05-18 Richard Henderson <rth@redhat.com>
230 * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
231 REGISTER_TARGET_PRAGMAS.
232 * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
234 * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
236 2002-05-18 Richard Henderson <rth@redhat.com>
238 * system.h (SELECT_RTX_SECTION): Poison.
239 * target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
240 * target.h (select_rtx_section): New.
241 * varasm.c (output_constant_pool): Use it.
242 (default_select_rtx_section, default_elf_select_rtx_section): New.
243 * output.h: Declare them.
245 * config/darwin.h (SELECT_RTX_SECTION): Move ...
246 * config/darwin.c (machopic_select_rtx_section): ... here.
247 * config/darwin-protos.h: Update.
249 * config/nextstep.h (SELECT_RTX_SECTION): Move ...
250 * config/nextstep.c (machopic_select_rtx_section): ... here.
251 (nextstep_select_section): Rename variable to avoid macro clash.
252 * config/nextstep-protos.h: Update.
254 * config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
255 config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
256 config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
257 config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
258 config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
259 config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
260 config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
261 config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
262 config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
263 (SELECT_RTX_SECTION): Remove.
265 * config/darwin.h, config/elfos.h, config/nextstep.h,
266 config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
267 config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
268 config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
269 config/sparc/lynx.h, config/xtensa/xtensa.c
270 (TARGET_ASM_SELECT_RTX_SECTION): New.
272 * config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
273 * config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
274 * config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
275 * config/ia64/ia64.c (ia64_select_rtx_section): ... here.
276 (ia64_aix_select_rtx_section): New.
277 * config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
279 * config/mips/mips.c (mips_select_rtx_section): Make static.
280 Support ELF SHF_MERGE features.
281 * config/mips/mips-protos.h: Update.
282 * config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
283 * config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
284 (rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
285 make static, fall back to default_elf_select_rtx_section.
286 * config/rs6000/rs6000-protos.h: Update.
287 * config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
288 * config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
289 * config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
290 * config/romp/romp.c (romp_select_rtx_section): New.
291 * config/s390/s390.c (s390_select_rtx_section): New.
292 * config/xtensa/xtensa.c: Include output.h. Shuffle local function
293 declarations before target macro definition.
294 (xtensa_emit_call): Use static buffer.
295 (xtensa_select_rtx_section): New.
296 * config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
297 (IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
298 (ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.
300 * doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
301 SELECT_RTX_SECTION docs.
303 Sun May 19 00:24:23 CEST 2002 Jan Hubicka <jh@suse.cz>
305 * i386.md (movsi/movdi): Fix template.
306 (sse2 patterns): Set attributes consistently.
308 * i386.md (pushqi2, ashrqi_*): Fix constraint.
310 2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
312 * optabs.c (complex_part_zero_p): New.
313 * (expand_cmplxdiv_straight): Use it.
314 * (expand_cmplxdiv_wide): Ditto.
315 * (expand_binop): Ditto.
317 2002-05-18 Richard Henderson <rth@redhat.com>
319 * final.c (HAVE_READONLY_DATA_SECTION): New.
320 (shorten_branches): Use it instead of ifdefs.
321 * varasm.c (enum in_section): Add in_readonly_data.
322 (text_section, data_section): Tidy.
323 (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
325 * config/darwin.h, config/nextstep.h, config/h8300/elf.h,
326 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
327 (READONLY_DATA_SECTION): Don't undef.
329 * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
330 config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
331 config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
333 * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
334 config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
335 config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
336 config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
338 * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
339 config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
340 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
341 config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
342 config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
343 config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
344 config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
345 config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
346 CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
348 * config/elfos.h, config/netware.h, config/1750a/1750a.h,
349 config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
350 config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
351 config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
352 config/pa/pa64-hpux.h, config/sparc/litecoff.h
353 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
355 * config/elfos.h, config/netware.h, config/svr3.h,
356 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
357 config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
358 config/h8300/h8300.h, config/i386/i386-interix.h,
359 config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
360 config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
362 * config/elfos.h, config/netware.h, config/svr3.h,
363 config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
364 config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
365 config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
366 config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
368 * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
369 config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
370 config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
371 config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
372 config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
373 config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
374 config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
375 config/rs6000/sysv4.h, config/v850/v850.h
376 (EXTRA_SECTIONS): Remove in_const/in_rdata.
377 (EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
379 * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
380 config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
381 config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
382 config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
383 * config/alpha/alpha.c (alpha_start_function): Likewise.
384 (alpha_write_linkage): Likewise.
385 * config/m32r/m32r.c (m32r_select_section): Likewise.
386 * config/m88k/m88k.c (m88k_select_section): Likewise.
387 * config/mips/mips.c (mips_select_rtx_section): Likewise.
388 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
389 (rs6000_elf_select_section): Likewise.
390 * config/v850/v850.c (v850_select_section): Likewise.
392 * config/1750a/1750a.h, config/i860/sysv3.h
393 (READONLY_DATA_SECTION_ASM_OP): New.
394 READONLY_DATA_SECTION_ASM_OP.
395 * config/i386/interix.c, config/i386/winnt.c
396 (i386_pe_unique_section): Always use .rdata prefix.
397 * config/pa/som.h (readonly_data): Always switch to read-only section.
398 (READONLY_DATA_SECTION): Predicate on flag_pic.
399 * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
400 * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
401 (READONLY_DATA_SECTION): Update.
403 2002-05-18 Jason Thorpe <thorpej@wasabisystems.com>
405 * c-common.c (c_common_post_options): Warn if -Wformat-zero-length
406 is used without -Wformat.
407 * c-common.h (warn_format_zero_length): Declare extern.
408 * c-decl.c (warn_options): Add "format-zero-length".
409 * c-format.c (warn_format_zero_length): Declare.
410 (set_Wformat): Set warn_format_zero_length for -Wformat.
411 (check_format_info): Only warn about zero-length formats if
412 warn_format_zero_length is true. Include the format type
413 name in the warning message.
414 * doc/invoke.texi: Document -Wformat-zero-length.
415 * testsuite/gcc.dg/format/zero-length-1.c: New test.
417 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
419 * timevar.c: Fix formatting.
421 * toplev.c: Likewise.
422 * tree-dump.c: Likewise.
423 * tree-inline.c: Likewise.
425 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
427 * cppinit.c (cpp_post_options): If preprocessed, turn off
428 traditional. If traditional, turn off column numbers.
429 * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
430 * cpptrad.c (handle_newline): Update line_base.
431 (skip_comment): Handle -Wcomment.
433 2002-05-17 Zack Weinberg <zack@codesourcery.com>
435 * cppinit.c (struct builtin): Remove unused fields.
436 (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
437 (operator_array): New - was second half of builtin_array.
438 (init_builtins): Simplify loop over builtin_array/operator_array.
440 2002-05-18 Neil Booth <neil@daikokuya.demon.co.uk>
442 * defaults.h (UNIQUE_SECTION): Remove.
443 * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.
445 2002-05-17 Richard Henderson <rth@redhat.com>
447 * expr.c (init_expr_once): Don't use start/end_sequence.
448 Use rtx_alloc instead of emit_insn.
449 * toplev.c (lang_dependent_init): Run init_expr_once here ...
450 (lang_independent_init): ... not here.
452 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com>
454 * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
456 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
458 * config/avr/avr.c (avr_regs_to_save): New function. Also check
459 for fixed registers, possibly used for global register variables.
460 (initial_elimination_offset, avr_output_function_prologue,
461 avr_output_function_epilogue): Move common code to avr_regs_to_save.
463 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
465 * Makefile.in: Update for cpptrad.c.
466 * cpphash.h (struct cpp_buffer): New members for buffer
468 (struct cpp_reader): New members for traditional output.
469 (_cpp_read_logical_line, _cpp_overlay_buffer): New.
470 * cppinit.c (cpp_create_reader): Set trad_line.
471 (cpp_destroy): Free trad_out_base if used.
472 (cpp_read_main_file): Overlay an empty buffer if traditional.
473 (cpp_finish_options): Don't do builtins.
474 (COMMAND_LINE_OPTIONS): Add -traditional-cpp.
475 (cpp_handle_option): Handle it.
476 * cpplex.c (continue_after_nul): New.
477 (_cpp_lex_direct): Use handle_nul.
478 * cpplib.h (struct cpp_options): New traditional option.
479 * cpptrad.c: New file.
481 2002-05-17 Neil Booth <neil@daikokuya.demon.co.uk>
483 * c-common.c (c_common_init_options): Use C89 for Objective-C,
484 and set the options flag.
485 * cppinit.c (lang_flags): Remove objc.
486 (lang_defaults): Remove OBJC and OBJCXX.
488 (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
489 (cpp_handle_option): Remove -+ and -lang-objc++.
490 For ObjC, just set a flag.
491 (print_help): Update.
492 * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.
494 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
496 * doc/install.texi (Specific, mips-sgi-irix6): Document need to
497 bootstrap with -mips3.
499 2002-05-17 Kazu Hirata <kazu@cs.umass.edu>
501 * final.c: Fix formatting.
502 * fix-header.c: Likewise.
504 * fold-const.c: Likewise.
505 * function.c: Likewise.
507 2002-05-17 David S. Miller <davem@redhat.com>
509 PR c/6689, PR optimization/6615
510 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
511 and make it a pointer to rtx. Update comments.
512 (update_equiv_regs): When scanning for equivalences, record
513 address of SET_SRC (set) in reg_equiv[].src_p. Dereference
514 it while making the equiv replacements.
516 2002-05-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
518 * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.
520 2002-05-17 kaz Kojima <kkojima@rr.iij4u.or.jp>
522 * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P
523 when encoding visibility into SYMBOL_REF_FLAG.
525 2002-05-17 Richard Sandiford <rsandifo@redhat.com>
527 * expr.c (force_operand): Fix reversed move.
529 2002-05-17 Kurt Wall <kwall@kurtwerks.com>
531 * doc/install.texi (Testing): Mention two common DejaGnu warnings
534 2002-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
536 * doc/install.texi (Final install): Recommend to install into a
537 "clean" target directory.
539 2002-05-17 Richard Henderson <rth@redhat.com>
541 * config/ia64/ia64.md: Use braced strings instead of quoted strings
542 for code blocks. Tidy whitespace.
544 2002-05-17 Richard Henderson <rth@redhat.com>
546 * hooks.c (hook_tree_bool_false): New.
547 * hooks.h: Declare it.
548 * target-def.h (TARGET_ASM_SELECT_SECTION): New.
549 (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New.
550 * target.h (select_section, unique_section): New.
551 (in_small_data_p): New.
552 * varasm.c (resolve_unique_section): Use hooks instead of macros.
553 (variable_section, output_constant_def_contents): Likewise.
554 (default_select_section, default_unique_section): New.
555 (categorize_decl_for_section, default_elf_select_section): New.
556 * output.h: Declare them.
558 * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove.
559 (TARGET_ASM_SELECT_SECTION): New.
560 (SELECT_SECTION): Move ...
561 * config/darwin.c (machopic_select_section): ... here.
562 * config/darwin-protos.h: Update.
564 * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New.
565 (SELECT_SECTION): Move ...
566 * config/nextstep.c (nextstep_select_section): ... here.
567 * config/nextstep-protos.h: Update.
569 * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove.
570 (TARGET_ASM_SELECT_SECTION): New.
571 * config/svr3.h (SELECT_SECTION): Remove.
573 * config/alpha/alpha.c (unicosmk_unique_section): Make static.
574 (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New.
575 (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New.
576 (alpha_encode_section_info): Use it.
577 * config/alpha/alpha-protos.h: Update.
578 * config/alpha/elf.h (DO_SELECT_SECTION): Remove.
579 (SELECT_SECTION, UNIQUE_SECTION): Remove.
580 (TARGET_ASM_SELECT_SECTION): New.
581 * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove.
583 * config/arm/pe.h (UNIQUE_SECTION): Remove.
584 (TARGET_ASM_UNIQUE_SECTION): New.
586 * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New.
587 (avr_unique_section): Rename from unique_section; make static.
588 * config/avr/avr-protos.h: Update.
589 * config/avr/avr.h (UNIQUE_SECTION): Remove.
591 * config/c4x/c4x.h (SELECT_SECTION): Remove.
593 * config/i386/cygwin.h (UNIQUE_SECTION): Remove.
594 (TARGET_ASM_UNIQUE_SECTION): New.
595 * config/i386/i386-interix.h: Likewise.
596 * config/i386/win32.h: Likewise.
597 * config/i386/djgpp.h (UNIQUE_SECTION): Remove.
598 * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro.
599 * config/i386/sco5.h (SELECT_SECTION): Remove.
600 (TARGET_ASM_SELECT_SECTION): New.
601 * config/i386/svr3gas.h (SELECT_SECTION): Remove.
603 * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION
604 instead of SELECT_SECTION.
605 * config/m68k/dpx2.h: Likewise.
606 * config/rs6000/lynx.h: Likewise.
608 * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
609 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
610 * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New.
611 (ia64_in_small_data_p): New.
612 (ia64_encode_section_info): Use it. Reorganize overlarge conditional.
613 (ia64_aix_select_section, ia64_aix_unique_section): New.
614 * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove.
615 (SELECT_SECTION, UNIQUE_SECTION): Remove.
617 * config/m32r/m32r.h (SELECT_SECTION): Remove.
618 (TARGET_ASM_SELECT_SECTION): New.
619 * config/m32r/m32r.c (m32r_select_section): Take align argument.
620 * config/m32r/m32r-protos.h: Update.
622 * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New.
623 (SELECT_SECTION): Move ...
624 * config/m88k/m88k.c (m88k_select_section): ... here.
626 * config/mcore/mcore-pe.h (SELECT_SECTION): Remove.
627 * config/mcore/mcore.h (UNIQUE_SECTION): Remove.
628 * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New.
629 (mcore_unique_section): Make static.
630 * config/mcore/mcore-protos.h: Update.
632 * config/mips/elf.h (UNIQUE_SECTION): Remove.
633 (TARGET_ASM_UNIQUE_SECTION): New.
634 * config/mips/elf64.h: Likewise.
635 * config/mips/iris6gld.h: Likewise.
636 * config/mips/linux.h: Likewise.
637 * config/mips/mips-protos.h: Update.
638 * config/mips/mips.c (mips_select_section): Add align argument.
639 * config/mips/mips.h (SELECT_SECTION): Remove.
640 (TARGET_ASM_SELECT_SECTION): New.
642 * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
643 * config/mmix/mmix.c (mmix_select_section): Remove.
644 (mmix_unique_section): Remove.
645 * config/mmix/mmix-protos.h: Update.
647 * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New.
648 (SELECT_SECTION): Move ...
649 * config/pa/pa.c (pa_select_section): ... here.
650 * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove.
652 * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename
653 from rs6000_select_section and make static.
654 (rs6000_elf_unique_section): Similarly.
655 (rs6000_xcoff_select_section): From xcoff.h.
656 (rs6000_xcoff_unique_section): Likewise.
657 * config/rs6000/rs6000-protos.h: Update.
658 * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove.
659 (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New.
660 * config/rs6000/xcoff.h: Likewise.
662 * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New.
663 (SELECT_SECTION): Move ...
664 * config/sparc/sparc.c (sparc_aout_select_section): ... here.
666 * config/v850/v850.h (SELECT_SECTION): Move ...
667 * config/v850/v850.c (v850_select_section): ... here.
668 (TARGET_ASM_SELECT_SECTION): New.
670 * config/vax/vms.h (SELECT_SECTION): Move ...
671 * config/vax/vax.c (vms_select_section): ... here.
672 (TARGET_ASM_SELECT_SECTION): New.
674 * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs
675 for the target hooks.
677 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
679 * config/arm/arm.c (emit_multi_reg_push): Do not set
680 RTX_FRAME_RELATED_P on the SEQUENCE.
682 2002-05-16 Richard Henderson <rth@redhat.com>
684 * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
685 splitting. Use split_all_insns; update_life_info_in_dirty_blocks.
687 2002-05-16 Richard Henderson <rth@redhat.com>
689 * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
691 * config/ia64/ia64.c (saveable_obstack): Do not declare.
693 2002-05-16 Richard Henderson <rth@redhat.com>
695 * basic-block.h, bb-reorder.c, cfg.c, cfganal.c, cfgbuild.c,
696 cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, combine.c,
697 conflict.c, df.c, df.h, dominance.c, final.c, flow.c, function.c,
698 gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c,
699 local-alloc.c, loop.c, predict.c, print-rtl.c, profile.c,
700 recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c,
701 reload1.c, reorg.c, resource.c, sbitmap.c, sched-deps.c,
702 sched-ebb.c, sched-rgn.c, sibcall.c, ssa-ccp.c, ssa-dce.c, ssa.c:
703 Revert "Basic block renumbering removal", and two followup patches.
705 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
707 * lcm.c (optimize_mode_switching): Revert previous change.
709 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
711 * sched-rgn.c (schedule_insns): Initialize large_region_blocks
712 with only extant block numbers.
714 2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
716 * lcm.c (optimize_mode_switching): Fix typo.
718 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
720 * flow.c (calculate_global_regs_live): Queue blocks in program order.
722 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
724 * doc/install.texi (Configuration): Document PWDCMD.
726 2002-05-16 Dale Johannesen <dalej@apple.com>
728 * combine.c (cant_combine_insn_p): Reenable combinations
729 involving hard regs unless CLASS_LIKELY_SPILLED_P.
731 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
733 * c-common.c (cb_register_builtins): Handle more built-ins
734 here rather than in gcc.c specs.
735 * gcc.c (cpp_unique_options): Move many built-ins to c-common.c.
736 (cpp_options): Pass -O flags even when only preprocessing.
737 * toplev.c (set_fast_math_flags): New prototype.
738 (fast_math_flags_set_p): New.
739 (set_no_fast_math_flags): Remove.
740 (decode_f_option): Update.
741 * toplev.h (set_fast_math_flags): Update.
742 (fast_math_flags_set_p): New.
743 (set_no_fast_math_flags): Remove.
745 * c4x/c4x.c (c4x_override_options): Update.
747 2002-05-16 Zack Weinberg <zack@codesourcery.com>
749 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX):
751 (builtin_define_with_value): Can now wrap the expansion in
752 quotation marks if such is wanted.
753 (cb_register_builtins): Update calls to builtin_define_with_value.
754 Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
756 (c_common_init): Set options->stdc_0_in_system_headers.
757 * c-lex.h: Update prototype of builtin_define_with_value.
758 * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX
761 * cppinit.c (VERS, ULP, C, X): Kill.
762 (builtin_array): Remove entries for __VERSION__,
763 __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and
764 __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not
766 (init_builtins): Kill off a bunch of now-dead code.
767 (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and
768 -fno-leading-underscore.
769 (cpp_handle_option): Remove code to set user_label_prefix.
770 (cpp_post_options): Likewise.
772 * cpplib.h (struct cpp_options): Remove user_label_prefix.
773 (stdc_0_in_system_headers): New.
774 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
775 stdc_0_in_system_headers) too to decide the value of __STDC__.
777 * tradcpp.c (user_label_prefix): Kill.
778 (main): Remove code handling -f(no-)leading-underscore.
779 (initialize_builtins): Don't define __REGISTER_PREFIX__
780 or __USER_LABEL_PREFIX__.
781 (install_value): Wrap compound statement in dummy loop so the
782 macro works properly in an if statement.
785 2002-05-16 Janis Johnson <janis187@us.ibm.com>
787 * loop.h (struct loop_info): Add member has_prefetch.
788 * loop.c (PREFETCH_CONDITIONAL): Change default to 1.
789 (prescan_loop): Initialize has_prefetch.
790 (struct prefetch_info): Change prefetch_in_loop and
791 prefetch_before_loop from bit fields to ints.
792 (emit_prefetch_instructions): Several small fixes.
793 (check_dbra_loop): Don't reverse loop that uses prefetch.
795 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
797 * Makefile.in: Allow for PWDCMD to override hardcoded pwd.
798 * configure.in: Likewise.
799 * fixinc/check.tpl: Likewise.
800 * fixinc/fixinc.dgux: Likewise.
801 * fixinc/fixinc.svr4: Likewise.
802 * fixinc/fixinc.winnt: Likewise.
803 * fixinc/fixincl.sh: Likewise.
804 * fixproto: Likewise.
805 * configure: Regenerate.
807 2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
809 Basic block renumbering removal:
810 * basic_block.h (struct basic_block_def): Renamed index to sindex,
811 added prev_bb and next_bb fields.
812 (n_basic_blocks): Renamed to num_basic_blocks.
813 (last_basic_block): New, index of last basic block.
814 (FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
815 traversing basic block chain.
816 (BLOCK_NUM): index -> sindex.
817 (create_basic_block_structure, create_basic_block): Declaration changed.
818 (debug_num2bb): Declare.
819 (expunge_block_nocompact): Declaration removed.
820 (link_block, unlink_block, compact_blocks): Declare.
821 * bb-reorder.c (make_reorder_chain, make_reorder_chain_1): Modified.
822 * cfg.c (entry_exit_blocks): Initialize new fields.
823 (clear_edges, alloc_block, expunge_block, cached_make_edge,
824 redirect_edge_pred, dump_flow_info, dump_edge_info,
825 alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges,
826 free_aux_for_edges): Modified.
827 (link_block, unlink_block, compact_blocks, debug_num2bb): New.
828 (expunge_block_nocompact): Removed.
829 * cfganal.c (can_fallthru, mark_dfs_back_edges, flow_call_edges_add,
830 find_unreachable_blocks, create_edge_list, print_edge_list,
831 verify_edge_list, flow_edge_list_print, remove_fake_successors,
832 remove_fake_edges, flow_reverse_top_sort_order_compute,
833 flow_depth_first_order_compute, flow_preorder_transversal_compute,
834 flow_dfs_compute_reverse_init, flow_dfs_compute_reverse_add_bb,
835 flow_dfs_compute_reverse_execute): Modified.
836 * cfgbuild.c (make_edges, make_eh_edge, find_basic_blocks_1,
837 find_basic_blocks, find_many_sub_basic_blocks, find_sub_basic_blocks):
839 * cfgcleanup.c (try_simplify_condjump, try_forward_edges,
840 merge_blocks_move_predecessor_nojumps,
841 merge_blocks_move_successor_nojumps, merge_blocks,
842 outgoing_edges_match, try_crossjump_to_edge, try_crossjump_bb,
843 try_optimize_cfg, delete_unreachable_blocks, cleanup_cfg): Modified.
844 * cfglayout.c (skip_insns_after_block, label_for_bb,
845 record_effective_endpoints, scope_to_insns_finalize,
846 fixup_reorder_chain, verify_insn_chain, cleanup_unconditional_jumps,
847 fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge,
848 cfg_layout_duplicate_bb): Modified.
849 * cfgloop.c (flow_loops_cfg_dump, flow_loop_dump, flow_loops_dump,
850 flow_loop_entry_edges_find, flow_loop_exit_edges_find,
851 flow_loop_nodes_find, flow_loop_pre_header_find, flow_loop_scan,
852 flow_loops_find, flow_loop_outside_edge_p): Modified.
853 * cfgrtl.c (create_basic_block_structure, create_basic_block,
854 flow_delete_block, compute_bb_for_insn, split_block,
855 try_redirect_by_replacing_jump, redirect_edge_and_branch,
856 force_nonfallthru_and_redirect, tidy_fallthru_edge,
857 back_edge_of_syntactic_loop_p, split_edge, commit_one_edge_insertion,
858 commit_edge_insertions, commit_edge_insertions_watch_calls,
859 dump_bb, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
860 purge_all_dead_edges): Modified.
861 * combine.c (combine_instructions, set_nonzero_bits_and_sign_copies,
862 try_combine, nonzero_bits, num_sign_bit_copies, get_last_value_validate,
863 get_last_value, reg_dead_at_p, distribute_notes, distribute_links):
865 * conflict.c (conflict_graph_compute): Modified.
866 * df.c (FOR_ALL_BBS): Removed.
867 (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
868 df_modified_p, df_analyse, df_refs_unlink, df_insn_modify,
869 df_dump, hybrid_search_bitmap, iterative_dataflow_sbitmap): Modified.
870 * df.h (DF_BB_INFO, DF_REF_BBNO): Modified.
871 * dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
872 calc_idoms, idoms_to_doms, calculate_dominance_info): Modified.
873 * final.c (compute_alignments, final_scan_insn): Modified.
874 * flow.c (verify_local_live_at_start, update_life_info,
875 update_life_info_in_dirty_blocks, free_basic_block_vars,
876 delete_noop_moves, calculate_global_regs_live,
877 initialize_uninitialized_subregs, allocate_bb_life_data,
878 regno_uninitialized, regno_clobbered_at_setjmp, mark_set_1,
879 mark_used_reg, count_or_remove_death_notes): Modified.
880 * function.c (thread_prologue_and_epilogue_insns): Modified.
881 * gcse.c (struct null_pointer_info): Change typo of current_block
883 (gcse_main, alloc_gcse_mem, compute_local_properties, compute_sets,
884 oprs_unchanged_p, load_killed_in_block_p, record_last_reg_set_info,
885 compute_hash_table, alloc_rd_mem, handle_rd_kill_set, compute_kill_rd,
886 alloc_avail_expr_mem, expr_killed_p, compute_ae_kill,
887 expr_reaches_here_p_work, expr_reaches_here_p, handle_avail_expr,
888 classic_gcse, one_classic_gcse_pass, compute_transp, cprop,
889 one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p_work,
890 pre_expr_reaches_here_p, insert_insn_end_bb, pre_edge_insert,
891 pre_delete, one_pre_gcse_pass, compute_transpout,
892 invalidate_nonnull_info, delete_null_pointer_checks_1,
893 free_code_hoist_mem, compute_code_hoist_vbeinout,
894 hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
895 compute_ld_motion_mems, store_ops_ok, find_moveable_store,
896 compute_store_table, build_store_vectors, insert_insn_start_bb,
897 insert_store, replace_store_insn, free_store_memory, store_motion):
899 * global.c (global_alloc, global_conflicts, mark_elimination,
900 build_insn_chain): Modified.
901 * graph.c (print_rtl_graph_with_bb): Modified.
902 * haifa-sched.c (sched_init): Modified.
903 * ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
904 (find_if_block, find_cond_trap, find_if_case_1, find_if_case_2,
905 if_convert): Modified.
906 * lcm.c (compute_antinout_edge, compute_earliest, compute_laterin,
907 compute_insert_delete, pre_edge_lcm, compute_available,
908 compute_farthest, compute_nearerout, compute_rev_insert_delete,
909 pre_edge_rev_lcm, make_preds_opaque, optimize_mode_switching):
911 * local-alloc.c (alloc_qty, local_alloc, update_equiv_regs): Modified.
912 * loop.c (loop_dump_aux): Modified.
913 * predict.c (combine_predictions_for_insn, estimate_probability,
914 last_basic_block_p, process_note_prediction, process_note_predictions,
915 note_prediction_to_br_prob, propagate_freq, counts_to_freqs,
916 expensive_function_p, estimate_bb_frequencies,
917 compute_function_frequency): Modified.
918 * print-rtl.c (print_rtx): Modified.
919 * profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX, instrument_edges,
920 get_exec_counts, compute_branch_probabilities, compute_checksum,
921 branch_prob, find_spanning_tree): Modified.
922 * recog.c (split_all_insns, peephole2_optimize): Modified.
923 * reg-stack.c (reg_to_stack, convert_regs_entry, compensate_edge,
924 convert_regs_1, convert_regs_2, convert_regs): Modified.
925 * regclass.c (scan_one_insn, regclass): Modified.
926 * regmove.c (mark_flags_life_zones, regmove_optimize,
927 combine_stack_adjustments): Modified.
928 * regrename.c (regrename_optimize, copyprop_hardreg_forward): Modified.
929 * reload1.c (reload, reload_combine, copy_eh_notes): Modified.
930 * reorg.c (dbr_schedule): Modified.
931 * resource.c (find_basic_block, init_resource_info): Modified.
932 * sbitmap.c (sbitmap_intersection_of_succs,
933 sbitmap_intersection_of_preds, sbitmap_union_of_succs,
934 sbitmap_union_of_preds): Modified.
935 * sched-deps.c (init_dependency_caches): Modified.
936 * sched-ebb.c (schedule_ebbs): Modified.
937 * sched-rgn.c (is_cfg_nonregular, build_control_flow, debug_regions,
938 find_rgns, compute_trg_info, init_regions, schedule_insns): Modified.
939 * sibcall.c (optimize_sibling_and_tail_recursive_call): Modified.
940 * ssa-ccp.c (examine_flow_edges, optimize_unexecutable_edges,
941 ssa_ccp_substitute_constants, ssa_ccp_df_delete_unreachable_insns,
942 ssa_const_prop): Modified.
943 * ssa-dce.c (set_control_dependent_block_to_edge_map_,
944 find_control_dependence, find_pdom, ssa_eliminate_dead_code): Modified.
945 * ssa.c (remove_phi_alternative, find_evaluations,
946 compute_dominance_frontiers_1, compute_iterated_dominance_frontiers,
947 insert_phi_node, rename_block, convert_to_ssa, eliminate_phi,
948 make_regs_equivalent_over_bad_edges,
949 make_equivalent_phi_alternatives_equival,
950 compute_conservative_reg_partition,
951 coalesce_regs_in_successor_phi_nodes, compute_coalesced_reg_partition,
952 rename_equivalent_regs, convert_from_ssa, for_each_successor_phi):
955 2002-05-16 Mark Mitchell <mark@codesourcery.com>
957 * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.
959 2002-05-16 Nick Clifton <nickc@cambridge.redhat.com>
961 * config/arm/arm.c (arm_rtx_costs): Check for RTX being a
962 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
963 (arm_adjust_cost): Check for RTX being a SYMBOL_REF before
964 calling CONSTANT_POOL_ADDRESS_P.
965 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code
966 to decide whether to define __arm__ or __thumb.
967 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a
968 SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P.
970 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
972 * config/arc/arc.h (CPP_PREDEFINES): Remove.
974 (TARGET_CPU_CPP_BUILTINS): New.
976 2002-05-16 Neil Booth <neil@daikokuya.demon.co.uk>
978 * cpphash.h (cpp_macro): Move here, and make expansion a union.
979 * cppmacro.c (cpp_macro): Remove.
980 (enter_macro_context, replace_args, warn_of_redefinition,
981 _cpp_create_definition, cpp_macro_definition): Update.
983 2002-05-16 Jason Merrill <jason@redhat.com>
985 * config/mips/mips.c (mips_output_external): Don't do sdata
986 optimization for a variable with DECL_COMDAT set.
988 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
990 * config/rs6000/altivec.h: Cleanups for tighter typechecking.
991 Cleanups for accepting modifiers on pointers.
993 Allow long pointers as well as int pointers.
995 2002-05-15 Richard Henderson <rth@redhat.com>
997 * varasm.c (merge_weak): Remove special case for extern and common.
999 2002-05-15 Matt Hiller <hiller@redhat.com>
1001 * testsuite/gcc.c-torture/compile/20000804-1.x: Don't return 1 if
1003 * testsuite/gcc.c-torture/compile/20001226-1.x: Ditto.
1004 * testsuite/gcc.c-torture/compile/920520-1.x: Ditto.
1005 * testsuite/gcc.c-torture/compile/mipscop-1.x: XFAIL for now.
1006 * testsuite/gcc.c-torture/compile/mipscop-2.x: Ditto.
1007 * testsuite/gcc.c-torture/compile/mipscop-3.x: Ditto.
1008 * testsuite/gcc.c-torture/compile/mipscop-4.x: Ditto.
1010 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
1012 * reload1.c (forget_old_reloads_1): Do not use subreg offset.
1014 2002-05-15 Aldy Hernandez <aldyh@redhat.com>
1016 * config/rs6000/rs6000.md ("altivec_mtvscr"): Set VSCR register.
1017 ("altivec_mfvscr"): Read from VSCR.
1019 Add vscr sets for the following insns: altivec_vctuxs,
1020 altivec_vaddubs, altivec_vaddsbs, altivec_vadduhs,
1021 altivec_vaddshs, altivec_vadduws, altivec_vaddsws, altivec_vctsxs,
1022 altivec_vmhaddshs, altivec_vmhraddshs, altivec_vmsumuhs,
1023 altivec_vmsumshs, altivec_vpkuhss, altivec_vpkshss,
1024 altivec_vpkuwss, altivec_vpkswss, altivec_vpkuhus,
1025 altivec_vpkshus, altivec_vpkuwus, altivec_vpkswus,
1026 altivec_vsububs, altivec_vsubsbs, altivec_vsubuhs,
1027 altivec_vsubshs, altivec_vsubuws, altivec_vsubsws,
1028 altivec_vsum4ubs, altivec_vsum4sbs, altivec_vsum4shs,
1029 altivec_vsum2sws, altivec_vsumsws.
1031 * config/rs6000/rs6000.h: Add VSCR fixed register.
1032 (CALL_REALLY_USED_REGISTERS): Add vscr.
1033 (CALL_USED_REGISTERS): Same.
1034 (FIXED_REGISTERS): Same.
1035 (REG_ALLOC_ORDER): Same.
1036 (reg_class): Add VSCR_REGS.
1037 (REG_CLASS_NAMES): Same.
1038 (REG_CLASS_CONTENTS): Same.
1040 (REGISTER_NAMES): Add vscr.
1041 (DEBUG_REGISTER_NAMES): Same.
1042 (ADDITIONAL_REGISTER_NAMES): Same.
1043 (FIRST_PSEUDO_REGISTER): Increment.
1044 (CONDITIONAL_REGISTER_USAGE): Set VSCR as a global register.
1046 2002-05-15 Jakub Jelinek <jakub@redhat.com>
1048 * fold-const.c (fold): Fix a typo.
1050 2002-05-15 Eric Botcazou <ebotcazou@multimania.com>
1052 * fold-const.c (fold) [LT_EXPR]: Move the transformation of a
1053 comparison against the highest or lowest integer value before
1054 the 'X >= CST to X > (CST - 1)' and 'X < CST to X <= (CST - 1)'
1055 transformation and that of an unsigned comparison against 0
1058 2002-05-15 Richard Henderson <rth@redhat.com>
1060 * varasm.c (merge_weak): Error for any weakening after definition.
1061 Adjust weakening after use warning to catch more cases.
1062 (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
1063 * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.
1065 Wed May 15 10:38:27 CEST 2002 Jan Hubicka <jh@suse.cz>
1067 * invoke.texi (-malign-double): Re-add lost warning.
1069 * i386-protos.h (x86_output_mi_thunk): Declare.
1070 * unix.h (ASM_OUTPUT_MI_THUNK): Move offline to ...
1071 * i386.c (x86_output_mi_thunk): ... here; handle 64bits.
1073 * dwarf2out.c (output_call_frame_info): Do not skip unwind info
1074 when flag_asynchronous_unwind_tables is set.
1076 * flags.h (flag_reorder_functions): Declare.
1077 * function.c (prepare_function_start): Initialize frequnecy.
1078 * params.def (HOT_BB_COUNT_FRACTION, HOT_BB_FREQUENCY_FRACTION): New.
1079 * Makefile.in (predict.o): Add dependency on target.h and params.h
1080 * defaults.h (HOT_TEXT_SECTION_NAME,
1081 UNLIKELY_EXECUTED_TEXT_SECTION_NAME): New macros.
1082 * predict.c (choose_function_section): New function.
1083 (estimate_bb_frequencies): Use it.
1084 * toplev.c (flag_reorder_functions): New global variable.
1085 (lang_independent_options): New.
1086 (parse_options_and_default_flags): Set.
1087 * varasm.c (assemble_start_function): Bypass functdion alignment
1088 for never executed functions.
1089 * invoke.texi (-freorder-blocks, -freorder-functions): Document.
1090 (param hot-bb-count-fraction, hot-bb-frequency-fraction): New.
1091 * tm.texi (HOT_TEXT_SECTION_NAME, UNLIKELY_EXECUTED_TEXT_SECTION_NAME):
1094 Thu Jan 3 21:52:09 CET 2002 Jan Hubicka <jh@suse.cz>
1096 * predict.c: Inlude profile.h
1097 (MIN_COUNT): Rename to MIN_COUNT_FRACTION
1098 (maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
1099 Use the information about maximal counter in the program.
1101 Thu Dec 20 22:14:00 CET 2001 Jan Hubicka <jh@suse.cz>
1103 * basic-block.h (maybe_hot_bb_p, probably_cold_bb_p,
1104 probably_never_executed_bb_p): New functions.
1105 * cfgcleanup.c (outgoing_edges_match): Use them.
1106 * predict.c (MIN_COUNT, MIN_FREQUENCY): New macros.
1107 (maybe_hot_bb_p, probably_cold_bb_p,
1108 probably_never_executed_bb_p): New functions.
1110 * function.h (function): Add new field function_frequency.
1111 * predict.c (compute_function_frequency): New function.
1112 (estimate_probability): Call it.
1114 2002-03-09 Jakub Jelinek <jakub@redhat.com>
1116 PR optimization/5172, optimization/5200
1117 * gcse.c (gcse_main): Disable store_motion.
1119 2002-05-14 Zack Weinberg <zack@codesourcery.com>
1121 * c-parse.in (MODIFIED_WCHAR_TYPE): New macro.
1122 (c_common_nodes_and_builtins): Use it.
1123 (builtin_define_with_value): New function.
1124 (cb_register_builtins): Define __SIZE_TYPE__,
1125 __PTRDIFF_TYPE__, __WCHAR_TYPE__, and __WINT_TYPE__ here,
1126 using builtin_define_with_value. Use consistent notation when
1127 defining __GXX_WEAK__.
1128 (WCHAR_TYPE_SIZE): Don't redefine.
1129 (combine_strings): Don't use WCHAR_TYPE_SIZE.
1131 * cppdefault.h: Don't provide defaults for SIZE_TYPE,
1132 PTRDIFF_TYPE, WCHAR_TYPE, or WINT_TYPE.
1133 * cppinit.c (builtin_array): Remove entries for __SIZE_TYPE__ etc.
1134 * tradcpp.c (initialize_builtins): Likewise.
1135 * gcc.c (cpp_unique_options): Don't muck with __WCHAR_TYPE__.
1137 * c-lex.h (builtin_define_with_value): Prototype.
1138 * system.h: Poison NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_WCHAR_TYPE,
1139 NO_BUILTIN_PTRDIFF_TYPE, and NO_BUILTIN_WINT_TYPE.
1140 * doc/tm.texi: Remove mention of NO_BUILTIN_SIZE_TYPE etc.
1142 * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h,
1143 config/ia64/ia64.h, config/mips/dec-osf1.h, config/mips/iris6.h,
1144 config/mips/linux.h, config/mips/mips.h, config/mips/netbsd.h,
1145 config/mips/osfrose.h, config/mips/sni-svr4.h, config/rs6000/aix51.h,
1146 config/s390/linux.h, config/sh/sh.h, config/sh/sh64.h,
1147 config/sparc/linux64.h, config/sparc/netbsd-elf.h,
1148 config/sparc/sol2-bi.h, config/sparc/sparc.h:
1149 Do not define NO_BUILTIN_SIZE_TYPE etc. Remove all references
1150 to __SIZE_TYPE__ etc from all spec strings. When this makes
1151 extra specs empty, delete them.
1153 2002-05-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
1155 * pa.c (override_options): Override TARGET_JUMP_IN_DELAY when scheduling
1156 for PA8000 or generating dwarf2 call frame information.
1157 (output_call): Remove DO_FRAME_NOTES check from return pointer
1159 (following_call): Return 0 when scheduling for PA8000 or generating
1160 dwarf2 call frame information. Revise comment.
1162 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1165 * alpha.h (TARGET_CPU_CPP_BUILTINS): Define __IEEE_FP
1166 and __IEEE_FP_INEXACT as appropriate.
1167 (CPLUSPLUS_CPP_SPEC): Don't define __cplusplus.
1168 (CPP_SPEC): Remove ieee defines.
1169 * freebsd.h, netbsd.h: Remove ieee defines and cpp_cpu.
1171 2002-05-14 Richard Henderson <rth@redhat.com>
1173 * config/i386/i386.c (ix86_save_reg): Make regno unsigned.
1174 (ix86_safe_length, ix86_safe_length_prefix, ix86_safe_memory): Kill.
1176 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1178 * arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define.
1180 (CPP_APCS_PC_SPEC, CPP_APCS_PC_DEFAULT_SPEC,
1181 CPP_FLOAT_SPEC, CPP_FLOAT_DEFAULT_SPEC, CPP_ENDIAN_SPEC,
1182 CPP_ENDIAN_DEFAULT_SPEC, CPP_INTERWORK_DEFAULT_SPEC,
1183 CPP_INTERWORK_SPEC, CPP_PREDEFINES): Remove.
1184 (EXTRA_SPECS): Update.
1185 * arm/conix-elf.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
1186 arm/riscix1-1.h, arm/rtems-elf.h, arm/semiaof.h, arm/unknown-elf.h,
1187 arm/unknown-elf-oabi.h, arm/vxarm.h: Remove CPP_PREDEFINES and
1188 define TARGET_OS_CPP_BUILTINS if necessary.
1190 2002-05-14 Neil Booth <neil@daikokuya.demon.co.uk>
1192 * gcc.c (cpp_options): Must pass -m* and -f* options
1193 to the front end even when only preprocessing.
1194 (cc1_options): Remove redundant -lang-c.
1195 * tradcpp.c (main): Ignore -m options.
1197 * lang-specs.h: Similarly.
1199 2002-05-14 Vladimir Makarov <vmakarov@redhat.com>
1201 * genautomata.c (transform_3): Add code for transformation
1202 `(A,B,...)+C -> A+C,B,...'.
1204 Tue May 14 12:48:22 CEST 2002 Jan Hubicka <jh@suse.cz>
1206 * final.c (end_final): Do not output profile_arcs constructor, when
1207 no functions are instrumented.
1209 Tue May 14 12:38:30 CEST 2002 Jan Hubicka <jh@suse.cz>
1211 * i386.md (testsi to testqi_zext_1 splitter): Fix typo.
1213 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1215 * doc/install.texi: Remove special markup originally required for
1216 HTML generation with texi2html.
1218 2002-05-14 Andreas Schwab <schwab@suse.de>
1220 * config/ia64/sysv4.h (DO_SELECT_SECTION): Factored out of
1222 (UNIQUE_SECTION): Define to get small data correctly.
1224 * varasm.c (resolve_unique_section): Add third parameter
1225 flag_function_or_data_sections and use it instead of
1226 flag_function_sections.
1227 (assemble_start_function): Pass flag_function_sections.
1228 (asm_emit_uninitialised): Pass flag_data_sections.
1229 (assemble_variable): Likewise.
1231 2002-05-14 Richard Henderson <rth@redhat.com>
1233 * config/i386/i386.md: Use define_constants for unspec numbers.
1234 * config/i386/i386.c: Likewise.
1236 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1238 * doc/contrib.texi: Update my entry.
1240 2002-05-13 Mark Mitchell <mark@codesourcery.com>
1242 * fixinc/inclhack.def (winidss_valist): Limit applicability.
1243 * fixinc/fixincl.x: Regenerated.
1244 * fixinc/tests/base/math.h: Update.
1245 * fixinc/tests/base/testing.h: Likewise.
1247 2002-05-13 Zack Weinberg <zack@codesourcery.com>
1249 * genattr.c (gen_attr): Don't emit a comma after the last
1252 2002-05-13 Richard Henderson <rth@redhat.com>
1254 * cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
1256 * recog.c (peephole2_optimize): Likewise.
1258 2002-05-13 Andris Pavenis <pavenis@lanet.lv>
1260 * cppfiles.c (open_file): Change mode (DJGPP only) of redirected
1263 2002-05-13 Jeffrey A Law (law@redhat.com)
1265 * flow.c (invalidate_mems_from_autoinc): Rewrite to use for_each_rtx.
1266 Update prototype and callers.
1267 (propagate_one_insn): Stack pointer adjustments kill MEMs on
1268 the mem_set_list which reference the stack pointer, as do
1269 calls to constant functions as they may clobber outgoing
1272 * i386.c (ia32_multipass_dfa_lookahead): Prototype.
1274 * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1275 (ia32_multipass_dfa_lookahead): New function.
1277 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1279 * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
1280 (translate_options): Remove 'V'.
1281 (process_command): Similarly.
1283 * invoke.texi: Remove documentation of 'V'.
1285 2002-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1287 * config/s390/linux.h: Revert 2002-04-22 changes.
1289 2002-05-13 Scott Marks <SMarks@mobile-mind.com>
1291 * config/fr30/fr30.md: Only allow splits of immediate loads
1292 if the destination is a register.
1294 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
1296 * Makefile.in (c-common.o, cppinit.o): Update.
1297 * c-common.c: Include except.h.
1298 (cb_register_builtins): Handle __USING_SJLJ_EXCEPTIONS__.
1299 Call TARGET_CPU_CPP_BUILTINS and TARGET_OS_CPP_BUILTINS.
1300 * cppinit.c (__USING_SJLJ_EXCEPTIONS): Not here.
1301 * defaults.h (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS,
1302 CPP_PREDEFINES): Handle here.
1304 * alpha/alpha-interix.h, alpha/gnu.h, alpha/linux.h,
1305 alpha/netbsd.h, alpha/openbsd.h, alpha/osf.h, alpha/unicosmk.h,
1306 alpha/vms.h, alpha/vxworks.h: Remove CPP_PREDEFINES, define
1307 TARGET_OS_CPP_BUILTINS.
1308 * alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Define.
1309 (CPP_SPEC, EXTRA_SPECS): Update.
1310 (CPP_AM_BWX_SPEC, CPP_AM_MAX_SPEC, CPP_AM_FIX_SPEC,
1311 CPP_AM_CIX_SPEC, CPP_IM_EV4_SPEC, CPP_IM_EV5_SPEC,
1312 CPP_IM_EV6_SPEC, CPP_CPU_EV4_SPEC, CPP_CPU_EV5_SPEC,
1313 CPP_CPU_EV56_SPEC, CPP_CPU_PCA56_SPEC, CPP_CPU_EV6_SPEC,
1314 CPP_CPU_EV67_SPEC, CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Remove.
1316 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Remove.
1317 (TARGET_OS_CPP_BUILTINS, TARGET_CPU_CPP_BUILTINS): Define.
1319 2002-05-12 Zack Weinberg <zack@codesourcery.com>
1321 * emit-rtl.c (global_rtl): Update comment.
1322 (const_double_htab, const_double_htab_hash,
1323 const_double_htab_hash, lookup_const_double): New.
1324 (const_int_htab_hash, const_int_htab_eq): Remove const
1325 qualifiers, which cause tons of warnings with RTL checking on.
1326 (gen_rtx_CONST_DOUBLE): Deleted.
1327 (const_double_from_real_value): New function - bears some
1328 resemblance to the former immed_real_const_1.
1329 (immed_double_const): Moved here from varasm.c and
1331 (gen_rtx_REG): Make REGNO unsigned to squelch warnings.
1332 (gen_rtx_SUBREG): Use gen_rtx_raw_SUBREG.
1333 (gen_rtx): Use immed_double_const.
1334 (init_emit_once): Initialize the const_double_htab. Use
1335 REAL_VALUE_FROM_INT where possible. Can now use
1336 CONST_DOUBLE_FROM_REAL_VALUE when setting up const_tiny_rtx.
1337 * varasm.c (struct varasm_status): Remove x_const_double_chain.
1338 (const_double_chain, immed_real_const, clear_const_double_mem): Delete.
1339 (immed_double_const, immed_real_const_1): Moved to emit-rtl.c.
1340 (init_varasm_status, mark_varasm_status): Don't touch
1341 x_const_double_chain.
1343 * output.h: Delete prototype for clear_const_double_mem.
1344 * real.h: Make REAL_VALUE_TYPE a macro again. Remove leading
1345 '0' slot from all CONST_DOUBLE_FORMAT definitions. Prototype
1346 const_double_from_real_value, not immed_real_const_1, and use
1347 it to define CONST_DOUBLE_FROM_REAL_VALUE. Define new macro
1349 * rtl.h (CONST_DOUBLE_CHAIN): Kill.
1350 (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Adjust.
1351 (gen_rtx_CONST_DOUBLE, immed_real_const): Delete prototypes.
1352 (gen_rtx_REG): Second arg is unsigned.
1354 * gengenrtl.c (special_rtx): Take out CONST_DOUBLE.
1355 (excluded_rtx): New, return true for CONST_DOUBLE.
1356 (genmacro): Write nothing for excluded codes.
1357 * combine.c (combine_simplify_rtx): Use CONST_DOUBLE_FROM_REAL_VALUE.
1358 * expr.c (expand_expr): Likewise.
1359 * ggc-common.c (ggc_mark_rtx_children_1): Don't mark the
1361 * toplev.c (rest_of_compilation): Don't call
1362 clear_const_double_mem.
1364 * config/rs6000/rs6000.c (rs6000_float_const): Delete.
1365 (rs6000_hash_constant): Remove CONST_DOUBLE special case.
1366 (toc_hash_eq): Remove CONST_DOUBLE and LABEL_REF special cases.
1367 * config/rs6000/rs6000-protos.h: Don't prototype rs6000_float_const.
1368 * config/c4x/c4x.md, config/rs6000/rs6000.md: Use CONST_DOUBLE_ATOF.
1369 * config/dsp16xx/dsp16xx.md, config/mips/mips.md,
1370 config/pa/pa.md: Use CONST_DOUBLE_FROM_REAL_VALUE.
1371 * config/sparc/sparc.md, config/sparc/sparc.c: Use immed_double_const.
1373 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1375 * mips/iris6.h (CPLUSPLUS_CPP_SPEC): Define.
1377 2002-05-12 Tom Tromey <tromey@redhat.com>
1379 * tree.h (copy_node): Don't mention TREE_PERMANENT.
1381 2002-05-12 Zack Weinberg <zack@codesourcery.com>
1383 * gensupport.c (n_comma_elts): Moved here from genattrtab.c.
1384 (scan_comma_elt): New function. Accepts whitespace in comma lists.
1385 * gensupport.h: Prototype new routines.
1386 * genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
1388 * genattrtab.c (n_comma_elts): Moved to gensupport.c.
1389 (next_comma_elt): Use scan_comma_elt.
1391 * config/i386/i386.md: Use new attribute notation to break up
1392 long lines in define_attr forms.
1394 2002-05-12 Richard Henderson <rth@redhat.com>
1396 * expr.c (compress_float_constant): New.
1397 (emit_move_insn): Use it.
1398 (float_extend_from_mem): New.
1399 (init_expr_once): Initialize it.
1400 * real.c (exact_real_truncate): New.
1402 * config/i386/i386.h (CONST_COSTS): Assume CONST_DOUBLE gets
1403 dropped into memory; penalize for size.
1404 (RTX_COSTS): FLOAT_EXTEND is free.
1405 * config/i386/i386.md (extendsfdf2, extendsfxf2, extendsftf2,
1406 extenddfxf2, extenddftf2): Accept constants and drop them to memory.
1408 2002-05-12 Richard Henderson <rth@redhat.com>
1410 * profile.h (profile_info): Add missing extern to declaration.
1411 * profile.c (profile_info): Define it.
1413 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1415 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
1416 used for DImode and TImode.
1418 2002-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
1420 * cpplex.c (_cpp_lex_direct): When in a directive at EOF
1423 2002-05-11 Zack Weinberg <zack@codesourcery.com>
1425 * config/rs6000/rs6000.c (rs6000_default_long_calls,
1426 rs6000_longcall_switch, rs6000_set_default_type_attributes): New.
1427 (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Set it.
1428 (rs6000_override_options): Handle -m(no-)longcall.
1429 (init_cumulative_args, output_mi_thunk): Check for both
1430 longcall and shortcall attributes on the function.
1431 (rs6000_attribute_table): Add "shortcall".
1432 (rs6000_handle_longcall_attribute): Update comment.
1433 (altivec_expand_unop_builtin, altivec_expand_binop_builtin,
1434 altivec_expand_ternop_builtin): Add default clauses to switches
1435 to silence warnings.
1437 * config/rs6000/rs6000.h: Declare rs6000_longcall_switch and
1438 rs6000_default_long_calls. Define REGISTER_TARGET_PRAGMAS.
1439 (TARGET_OPTIONS): Add longcall and no-longcall.
1441 * config/rs6000/rs6000.md (call_nonlocal_sysv,
1442 call_value_nonlocal_sysv): Split by alternatives. One pair
1443 accepts only SYMBOL_REFs and rejects if CALL_LONG is set in
1444 the call cookie. The other pair accepts only LR/CTR and has
1447 * config.gcc (rs6000-*-* | powerpc*-*-* trailer stanza):
1448 Set c_target_objs, cxx_target_objs; add t-rs6000-c-rule to
1450 * config/rs6000/rs6000-c.c: New file.
1451 * config/rs6000/t-rs6000-c-rule: New file.
1452 * config/rs6000/rs6000-protos.c: Add multiple-include guard.
1453 Prototype rs6000_pragma_longcall.
1455 * doc/extend.texi: Document shortcall attribute.
1456 * doc/invoke.texi: Document -mlongcall, -mno-longcall.
1458 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1460 * reorg.c (dbr_schedule): Remove unnecessary test.
1462 Sat May 11 14:34:35 CEST 2002 Jan Hubicka <jh@suse.cz>
1464 * i386.md (testsi to testqi spliters): New.
1466 2002-01-14 Josef Zlomek <zlomek@matfyz.cz>
1468 cfg.c (dump_edge_info): added dumping of EDGE_CAN_FALLTHRU.
1470 Wed Jan 9 2002 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
1472 * basic-block.h: New flag EDGE_CAN_FALLTHRU
1473 * cfganal.c (set_edge_can_fallthru_flag): New function; marks the edges
1474 that can be made fallthru.
1476 Mon Nov 12 16:25:53 CET 2001 Jan Hubicka <jh@suse.cz>
1478 * cfglayout.c (cleanup_unconditional_jumps): New static function.
1479 (cfg_layout_initialize): Use it.
1481 2002-05-11 Marek Michalkiewicz <marekm@amelek.gda.pl>
1483 * config/avr/avr.c (avr_mcu_types): Update supported devices.
1484 * config/avr/avr.h (CPP_SPEC, LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
1485 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
1487 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1489 * dbxout.c: Fix formatting.
1490 * dependence.c: Likewise.
1492 * diagnostic.c: Likewise.
1493 * doloop.c: Likewise.
1494 * dominance.c: Likewise.
1495 * doschk.c: Likewise.
1496 * dwarf2asm.c: Likewise.
1497 * dwarf2out.c: Likewise.
1498 * dwarfout.c: Likewise.
1500 2002-05-10 Richard Henderson <rth@redhat.com>
1502 * final.c (end_final): Tidy whitespace. Don't honor flag_pack_struct.
1503 Convert integers constants as needed. Replace "nwords" field with
1505 (final): Save profile data if cfun->arc_profile, not profile_arc_flag.
1506 * function.h: Fix typo in comment.
1507 * libgcc2.c (struct bb): Replace "nwords" with "sizeof_bb".
1509 2002-05-10 Roger Sayle <roger@eyesopen.com>
1511 * fold-const.c (build_range_check): Optimize (c>=1) && (c<=127)
1512 into the equivalent (signed char)c > 0.
1514 2002-05-10 Janis Johnson <janis187@us.ibm.com>
1516 * loop.c: (PREFETCH_EXTREME_DIFFERENCE, PREFETCH_BEFORE_LOOP): New.
1517 (PREFETCH_CONDITIONAL): Renamed from PREFETCH_NOT_ALWAYS.
1518 (struct prefetch_info): Fix spelling of member bytes_accessed.
1519 (emit_prefetch_instructions): Make dump messages more regular;
1520 restructure code to add more dump messages; use new macros for
1521 heuristics. (There are no code generation changes in any of this).
1523 2002-05-10 David S. Miller <davem@redhat.com>
1525 * rtl.h (INSN_ANNULLED_BRANCH_P): Accept INSN too, update comment.
1526 (struct rtx_def): Update unchanging flag comment.
1527 * doc/rtl.texi (INSN_ANNULLED_BRANCH_P): Update description.
1528 * reorg.c (delete_from_delay_list): INSN_ANNULLED_BRANCH_P needs
1529 to be handled to INSN too.
1530 (dbr_schedule): Likewise.
1531 * resource.c (next_insn_no_annul): Likewise.
1533 * cse.c (rtx_cost): Remove multiplication by power of 2 special
1536 2002-05-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1538 * doc/install.texi (Specific, *-*-solaris2*): Update passus on
1539 setting CONFIG_SHELL to /bin/ksh and remove alternate trick to
1540 (possibly) work around broken /bin/sh.
1542 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1544 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
1545 . as N64/N32 libgcc_s.so subdirs.
1547 2002-05-10 David S. Miller <davem@redhat.com>
1549 * config/sparc/sparc.md: Use define_constants for unspec numbers.
1551 * rtl.h (struct rtx_def): Document unchanging and in_struct flags
1553 (INSN_ANNULLED_BRANCH_P): Only valid for JUMP_INSN and CALL_INSN, fix
1555 (INSN_FROM_TARGET_P): Valid also for CALL_INSN.
1556 * doc/rtl.texi: Document these macros more accurately.
1557 * recog.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P for
1558 JUMP_INSNs and CALL_INSNs.
1559 * resource.c (whole file): Only mess with INSN_ANNULLED_BRANCH_P
1560 or INSN_FROM_TARGET_P if the code is appropriate.
1562 2002-05-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
1564 * config/avr/avr.c (print_operand): Check that addr is a SYMBOL_REF
1565 before using SYMBOL_REF_FLAG (addr).
1567 * config/avr/avr-protos.h (avr_io_address_p): Declare.
1568 * config/avr/avr.c (io_address_p): Rename to avr_io_address_p.
1569 Make non-static. Update all callers.
1570 * config/avr/avr.md (*cbi, *sbi, *sbix_branch, *sbix_branch_bit7):
1571 New insns to clear/set/test a single bit in I/O address space.
1573 2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1575 * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
1577 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1579 * Makefile.in: Update.
1580 * c-common.c (flag_iso, flag_undef, cb_register_builtins,
1581 builtin_define_std): New.
1582 (c_common_init): Register CPP builtins callback.
1583 * c-common.h (flag_iso, flag_undef): New.
1584 * c-decl.c (c_decode_option): Set flag_iso and flag_undef.
1585 * c-lex.c: Don't include target.h.
1586 (cb_register_builtins): Move to c-common.c.
1587 (init_c_lex): Don't register hook here.
1588 * c-lex.h (builtin_define, builtin_assert, builtin_define_std): New.
1589 (cpp_define, cpp_assert): Remove.
1590 * gcc.c (cc1_options): Pass -undef to front end.
1591 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): Remove.
1592 (TARGET_INITIALIZER): Update.
1593 * target.h (struct cpp_reader): Don't predeclare.
1594 (struct gcc_target): Remove cpp builtin hook.
1595 * tree.c (default_register_cpp_builtins): Remove.
1599 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1601 * cppexp.c (_cpp_expand_op_stack): Set op_limit.
1603 2002-05-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1605 * config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Define.
1606 (SHLIB_LINK, SHLIB_INSTALL): Adjust.
1608 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1610 * config/sparc/t-linux64 (SHLIB_MAPFILES): Set.
1611 * config/sparc/libgcc-sparc-glibc.ver: New file.
1612 * config/cris/t-linux (SHLIB_MAPFILES): Remove.
1613 * mklibgcc.in: Preprocess SHLIB_MAPFILES with ml flags.
1615 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1618 * Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
1619 * mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
1620 shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
1622 * config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
1623 * config/t-slibgcc-sld (SHLIB_LINK): Likewise.
1624 * config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1625 * config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
1627 2002-05-09 Richard Henderson <rth@redhat.com>
1629 * config/ia64/ia64.md: Use define_constants for unspec numbers.
1630 * config/ia64/ia64.c: Likewise.
1632 2002-05-09 Richard Sandiford <rsandifo@redhat.com>
1634 * config/mips/mips.c (mips_add_large_offset_to_sp): Remove FILE arg.
1635 (save_restore_insns): Likewise.
1636 (mips_expand_prologue, mips_expand_epilogue): Update callers.
1637 (highpart_shift_operator): Attach ATTRIBUTE_UNUSED to mode argument.
1639 Thu May 9 11:50:09 2002 Jeffrey A Law (law@cygnus.com)
1641 * athlon.md, k6.md, pentium.md, ppro.md): New files.
1642 * i386.md: Move scheduling information into new files.
1644 * i386.md (type attribute): Add "rotate" for rotate insns.
1645 (rotate insns): Set type to "rotate".
1646 (various attributes and function units): Treat rotate like shift.
1647 (pent_pair attribute): Only rotates by one bit position are
1649 (sbb insns): Explicitly set pent_pair attribute on a couple
1650 that were missing it.
1652 Thu May 9 18:29:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
1654 * sh.c (sh_builtin_saveregs): If starting with an odd fp register,
1655 make sure that buffer starts on odd word address.
1656 (sh_va_arg): Skip odd fp registers when reading a double precision
1659 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1661 * tree.h (preserve_data, object_permanent_p, type_precision):
1664 2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
1666 * cpplib.c (cpp_init_internal_pragmas): Remove #pragma poison.
1667 * cppmacro.c (paste_all_tokens): Bad pastes are a hard error.
1669 * cpp.texi: Update for removal of obsolete features.
1671 Thu May 9 07:46:18 2002 Jan Hubicka <jh@suse.cz>
1672 Jeffrey A Law (law@redhat.com)
1674 * i386.c (ia32_use_dfa_pipeline_interface): New function. Use
1675 the DFA interface for Pentium processors.
1676 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): DEFINE.
1677 (attr_pent_pair, ix86_pent_find_pair): Remove.
1678 (ix86_sched_reorder_pentium): Remove.
1679 (ix86_sched_reorder): Remove reordering for Pentium.
1680 * i386.md (Pentium scheduling): Rewrite using DFA description.
1682 Thu May 9 14:55:39 CEST 2002 Jan Hubicka <jh@suse.cz>
1684 * cfganal.c (can_fallthru): Fix fast path.
1685 * cfgrtl.c (verify_flow_info): Avoid crash on conditionals
1686 with edges to the next block.
1688 Thu May 9 14:52:45 CEST 2002 Jan Hubicka <jh@suse.cz>
1689 Pavel Nejedly <bim@atrey.karlin.mff.cuni.cz>
1691 * final.c (end_final): Use C trees to output data structures for profiling.
1693 * Makefile.in (LIBGCC_DEPS): Added missing dependency on gcov-io.h
1694 (profile.o): New dependency profile.h
1695 (final.o): New dependency profile.h
1696 * profile.h: New file. New global structure profile_info.
1697 * final.h (count_edges_instrumented_now): Declare.
1698 (current_function_cfg_checksum): Declare.
1699 (function_list): New structure.
1700 (functions_head, functions_tail): New static variables.
1701 (end_final): Emits more data, removed some -ax stuff.
1702 (final): Stores function names and chcksums.
1703 * gcov-io.h (__write_gcov_string): New function.
1704 (__read_gcov_string): New function.
1705 * gcov.c (read_profile): New function.
1706 (create_program_flow_graph): Uses read_profile instead of reading
1708 (read_files): Removed da_file checking, it's done by read_profile now.
1709 * libgcc2.c (bb_function_info): New structure.
1710 (bb): New field in structure, removed some -ax stuff.
1711 (__bb_exit_func): Changed structure of da_file.
1712 * profile.c (count_edges_instrumented_now): New global variable.
1713 (current_function_cfg_checksum): New global variable.
1714 (max_counter_in_program): New global variable.
1715 (get_exec_counts): New function.
1716 (compute_checksum): New function.
1717 (instrument_edges): Sets count_edges_instrumented_now.
1718 (compute_branch_probabilities): Uses get_exec_counts instead of
1720 (branch_prob): Calls compute_checksum and writes extra data to bbg_file.
1721 (init_branch_prob): Removed da_file checking, done in get_exec_counts
1723 (end_branch_prob): Removed da_file checking, done in get_exec_counts
1725 * gcov.texi: Updated information about gcov file format.
1727 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1729 * sbitmap.c: Fix formatting.
1731 * scan-decls.c: Likewise.
1732 * sched-deps.c: Likewise.
1733 * sched-ebb.c: Likewise.
1734 * sched-rgn.c: Likewise.
1735 * sched-vis.c: Likewise.
1736 * sdbout.c: Likewise.
1737 * sibcall.c: Likewise.
1738 * simplify-rtx.c: Likewise.
1740 * ssa-ccp.c: Likewise.
1741 * ssa-dce.c: Likewise.
1743 * stor-layout.c: Likewise.
1744 * stringpool.c: Likewise.
1746 2002-05-09 David S. Miller <davem@redhat.com>
1748 * config/sparc/sol2.h (ASM_CPU_SPEC): Handle -mcpu=v9.
1750 2002-05-07 David S. Miller <davem@redhat.com>
1752 * config/sparc/sparc.h (TARGET_BUGGY_QP_LIB): Define to zero.
1753 * config/sparc/sol2.h (TARGET_BUGGY_QP_LIB): Override to one.
1754 * config/sparc/sparc.c (emit_soft_tfmode_libcall): If the Qp
1755 library implementation clobbers the output before the inputs
1756 are fully consumed, use stack temporary for the output.
1758 2002-05-09 Jason Thorpe <thorpej@wasabisystems.com>
1760 * config/netbsd.h (CPP_SPEC): Remove.
1761 * config/i386/netbsd-elf.h (CPP_SPEC): Define.
1762 * config/i386/netbsd.h (CPP_SPEC): Define.
1763 * config/ns32k/netbsd.h (CPP_SPEC): Define.
1764 * config/sparc/netbsd-elf.h (CPP_SPEC): Remove.
1765 * config/sparc/netbsd.h (CPP_SPEC): Define.
1766 * config/vax/netbsd.h (CPP_SPEC): Define.
1768 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
1770 * read-rtl.c: Fix formatting.
1772 * recog.c: Likewise.
1773 * regclass.c: Likewise.
1774 * regmove.c: Likewise.
1775 * reg-stack.c: Likewise.
1776 * reload1.c: Likewise.
1777 * reload.c: Likewise.
1778 * resource.c: Likewise.
1779 * rtlanal.c: Likewise.
1781 * rtl-error.c: Likewise.
1783 2002-05-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
1785 * pa/pa-64.h (MAX_WCHAR_TYPE_SIZE): Delete.
1786 * pa/pa.h (MAX_WCHAR_TYPE_SIZE): Delete.
1788 2002-05-08 Bernd Schmidt <bernds@redhat.com>
1790 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
1791 use __SSE2__ macro instead.
1792 * config/i386/xmmintrin.h: Likewise.
1794 2002-05-08 Janis Johnson <janis187@us.ibm.com>
1796 * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
1797 and use it in all invocations of these macros. Clean up comments.
1798 * rtl.c (rtl_check_failed_flag): Add an argument for the name
1799 of the flag access macro whose check failed.
1800 * doc/rtl.texi (Flags): Document additional flag uses.
1802 2002-05-08 Robert Spier <rspier@pobox.com>
1803 Neil Booth <neil@daikokuya.demon.co.uk>
1805 PR preprocessor/6521
1806 * cppfiles.c (handle_missing_header): Don't do anything
1807 different for <> includes.
1809 * cppopts.texi: Update documentation for -MG.
1811 2002-05-08 Neil Booth <neil@daikokuya.demon.co.uk>
1813 * cpplex.c (cpp_interpret_charconst): Truncate as well as
1816 * cpp.texi: Clarify multichar charconst valuation.
1818 2002-05-08 Mark Mitchell <mark@codesourcery.com>
1820 * doc/invoke.texi: Document -mwindiss option.
1822 2002-05-08 Jason Merrill <jason@redhat.com>
1824 * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
1826 * dwarf2out.c (gen_type_die): Abort on broken recursion.
1829 * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
1832 2002-05-08 Nick Clifton <nickc@cambridge.redhat.com>
1834 * config/arm/t-arm-elf (MULTILIB): Do not allow big-endian/
1835 little-endian multilibs to override arm/thumb multilibs.
1836 Do not build hardware floating point multilibs, nor apcs-26
1837 multilibs for the Thumb.
1839 2002-05-08 Mark Mitchell <mark@codesourcery.com>
1842 * varasm.c (mark_weak): New function.
1843 (merge_weak): Use it. Do not call declare_weak.
1844 (declare_weak): Use merge_weak.
1846 Wed May 8 13:12:11 CEST 2002 Jan Hubicka <jh@suse.cz>
1848 * cse.c (dead_libcall_p): Update counts.
1849 (delete_trivially_dead_insns): Update call of dead_libcall_p.
1851 Wed May 8 11:08:50 CEST 2002 Jan Hubicka <jh@suse.cz>
1853 * cfglayout.c (function_tail_eff_head): Rename to ...
1854 (function_footer): ... this one.
1855 (unlink_insn_chain): New functions.
1856 (label_for_bb): Only call block_label and emit debug message.
1857 (record_effective_endpoints): Actually unlink the headers and footers.
1858 (fixup_reorder_cahin): Re-insert the unlinked sequences.
1859 (cfg_layout_duplicate_bb): Use duplicate_insn_chain.
1860 * cfglayout.h (struct reorder_block_def): New fields footer/header;
1861 remove eff_head/eff_end.
1862 * rtl.h (set_first_insn): Declare.
1863 * emit-rtl.c (set_first_insn): New function.
1865 * cfglayout.c (fixup_reorder_chain): Dump duplicated
1866 (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
1867 cfg_layout_duplicate_bb): New global function.
1868 (duplicate_insn_chain): New static function.
1869 * cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
1870 cfg_layout_duplicate_bb): Declare.
1871 (struct reorder_block_def): Add "original" field.
1872 * emit-rtl.c (emit_copy_of_insn_after): New function.
1873 * rtl.h (emit_copy_of_insn_after): Declare.
1875 * cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
1876 (fixup_reorder_chain): properly handle edges to exit block.
1878 Wed May 8 11:10:31 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1879 Jan Hubicka <jh@suse.cz>
1881 * basic-block.h (note_prediction_to_br_prob): declare.
1882 * c-semantics.c: Inlucde predit.h
1883 (expand_stmt): predict GOTO_STMT as not taken.
1884 * cfgcleanup.c: (delete_unreachable_blocks): Make global.
1885 (cleanup_cfg): Do not free tail_recursion_list.
1886 * cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
1887 (flow_delete_block): Kill predictions past end of basic block.
1888 * output.h (delete_unreachable_blocks): Declare.
1889 * predict.c (predicted_by_p, process_note_predictions,
1890 process_note_prediction, last_block_p): New function.
1891 (estimate_probability): Bypass loop on PRED_CONTINUE;
1892 do not handle noreturn heuristics; kill PRED_RETURN; add
1894 * predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
1895 PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
1896 * predict.h (IS_TAKEN): New constant.
1897 * print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
1898 * rtl.c (NOTE_INSN_PREDICTION): New.
1899 * rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
1901 (insn_note): add NOTE_INSN_PREDICTION.
1902 * sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
1903 CFG; free tail_recursion_label_list.
1904 * stmt.c: Include predict.h;
1905 (return_prediction): New.
1906 (expand_value_return): Use it.
1907 * toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
1909 2002-05-08 Richard Sandiford <rsandifo@redhat.com>
1911 * config/mips/mips.md: Name the unspecs with define_constant.
1912 (*HILO_delay): Rename to 'hilo_delay' (no star).
1913 (reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
1914 (reload_outdi, reload_outsi): Likewise.
1916 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
1918 * toplev.c: Fix formatting.
1920 2002-05-07 Janis Johnson <janis187@us.ibm.com>
1922 * config.in (ENABLE_RTL_FLAG_CHECKING): New.
1923 * configure.in (ac_rtlflag_checking): New.
1924 * doc/install.texi (--enable-checking): Document RTL flag checking.
1926 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
1928 * c-common.c (c_common_init): Set options->unsigned_wchar.
1929 * cppinit.c (cpp_create_reader): Default unsigned_wchar,
1930 group target dependencies.
1931 (init_builtins, cpp_handle_option): Update.
1932 * cpplex.c (cpp_interpret_charconst): Update.
1933 * cpplib.h (struct cpp_options): Add unsigned_wchar, rename
1934 signed_char to unsigned_char, group target dependencies.
1935 * defaults.h (WCHAR_UNSIGNED): Remove.
1936 * system.h (WCHAR_UNSIGNED, MAX_CHAR_TYPE_SIZE): Poison.
1938 * freebsd.h, interix.h, alpha/freebsd.h, arm/freebsd.h,
1939 i386/386bsd.h, i386/beos-elf.h, i386/bsd386.h, i386/cygwin.h,
1940 i386/djgpp.h, i386/freebsd-aout.h, i386/i386-interix.h,
1941 i386/win32.h, ia64/freebsd.h, mips/netbsd.h, rs6000/freebsd.h,
1942 sh/elf.h, sh/sh.h, sparc/freebsd.h: Remove WCHAR_UNSIGNED.
1944 * tm.texi: Remove MAX_CHAR_TYPE_SIZE.
1946 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1948 * fixinc/inclhack.def (windiss_math1): New fix.
1949 (windiss_math2): Likewise.
1950 (windiss_valist): Likewise.
1951 * fixinc/fixincl.x: Regenerated.
1953 2002-05-07 Andreas Jaeger <aj@suse.de>
1955 * genautomata.c (output_internal_min_issue_delay_func): Add
1956 ATTRIBUTE_UNUSED to avoid warning with empty dfa.
1957 (output_internal_trans_func): Likewise.
1959 Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
1961 * pa.c (hppa_profile_hook): Use force_reg to get the address
1962 of the profile hook into an appropriate pseudo register.
1964 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1966 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -mwindiss.
1967 (LINK_START_SPEC): Handle it.
1968 (LINK_OS_SPEC): Likewise.
1969 (CPP_SPEC): Likewise.
1970 (STARTFILE_SPEC): Likewise.
1971 (LIB_SPEC): Likewise.
1972 (ENDFILE_SPEC): Likewise. Do not assume crtsavres.o is used on
1974 (CRTSAVRES_DEFAULT_SPEC): New macro.
1975 (LIB_WINDISS_SPEC): New macro.
1976 (CPP_OS_WINDISS_SPEC): Likewise.
1977 (STARTFILE_WINDISS_SPEC): Likewise.
1978 (ENDFILE_WINDISS_SPEC): Likewise.
1979 (LINK_START_WINDISS_SPEC): Likewise.
1980 (LINK_OS_WINDISS_SPEC): Likewise.
1981 * config/rs6000/windiss.h: New file.
1983 2002-05-07 Aldy Hernandez <aldyh@redhat.com>
1985 * config/rs6000/rs6000.c (bdesc_2arg): Fix vmax typos.
1987 2002-05-06 David S. Miller <davem@redhat.com>
1989 * config/sparc/sparc.md (shift insns): Do not mask off
1990 second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
1993 2002-05-06 Richard Henderson <rth@redhat.com>
1996 * expr.c (highest_pow2_factor_for_type): New.
1997 (expand_assignment): Use it.
1999 2002-05-06 Aldy Hernandez <aldyh@redhat.com>
2001 * config/rs6000/rs6000.md ("altivec_mtvscr"): Change to
2003 ("altivec_mfvscr"): Same.
2005 2002-05-06 Janis Johnson <janis187@us.ibm.com>
2007 * rtl.h (struct rtx_def): Update comments.
2008 (RTL_FLAG_CHECK[12345678]): New. (rtl_check_failed_flag): Declare.
2009 (RTL_FLAG): New. (CLEAR_RTX_FLAGS): New. (flag access macros): Use
2010 RTL_FLAG_CHECK macros with list of expected RTL codes.
2011 * rtl.c (copy_rtx, shallow_copy_rtx): Use RTX_FLAG macro.
2012 (rtl_check_failed_flag): New.
2013 * reload1.c (reload): Use REG macro before changing rtx to MEM.
2014 (reload_cse_noop_set_p): Check rtx code before using access macro.
2015 * config/ia64/ia64.c (process_for_unwind_directive): Check rtx code
2016 before using access macro.
2018 2002-05-06 Janis Johnson <janis187@us.ibm.com>
2020 * doc/rtl.texi (Flags): Update to reflect current usage.
2022 2002-05-06 Roger Sayle <roger@eyesopen.com>
2025 * fold-const.c (sign_bit_p): New function.
2026 (fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
2027 (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
2028 Reapply fold when converting (A & C) == C into (A & C) != 0.
2029 (fold_binary_op_with_conditional_arg): Fix typo in comment.
2031 2002-05-07 Neil Booth <neil@daikokuya.demon.co.uk>
2033 * c-common.c (warn_multichar): New.
2034 (c_common_init): Set CPP's warn_multichar.
2035 * c-common.h (warn_multichar): New.
2036 * c-decl.c (warn_multichar): Remove.
2037 * c-lex.c (lex_charconst): Update.
2038 * c-tree.h (warn_multichar): Remove.
2039 * cppexp.c (eval_token): Sign-extend charconst value.
2040 * cppinit.c (cpp_create_reader): Set warn_multichar.
2041 * cpplex.c (cpp_interpret_charconst): Don't sign-extend
2042 each character. Update prototype. Sign-extend the result.
2043 * cpplib.h: Fix conditions.
2044 (struct cpp_options): Add new warning flag.
2045 (cpp_interpret_charconst): Update prototype.
2047 * cpp.texi: Update documentation.
2049 2002-05-06 Vladimir Makarov <vmakarov@redhat.com>
2051 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
2052 Fix typo in usage of allof instead of unit.
2054 2002-05-06 Richard Henderson <rth@redhat.com>
2056 * recog.c (if_test_bypass_p): Accept multiple set insns for OUT,
2057 and any jump or call for IN.
2059 2002-05-06 Bernd Schmidt <bernds@redhat.com>
2061 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
2063 * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
2065 2002-05-06 Roger Sayle <roger@eyesopen.com>
2067 * fold-const.c (lshift-double): Cast the high word to an unsigned
2068 HOST_WIDE_INT when extracting sign bit to avoid compiler warning.
2069 (div_and_round_double): Cast carry to a signed HOST_WIDE_INT to
2070 avoid compiler warning. (fold): Remove redundant code from
2071 BIT_AND_EXPR as integer operands are canonicalized to be arg1.
2073 2002-05-06 Jeff Law <law@redhat.com>
2075 * pa-protos.h (hppa_fpstore_bypass_p): Declare.
2076 * pa.c (pa_adjust_cost): Remove all true dependency cost
2077 adjustments. Also remove support for non-DFA scheduling.
2078 * pa.md (700, 7100, 7100lc, 7200, 7300): Use bypass mechanism
2079 to adjust true dependency costs. Update various comments.
2080 (7100lc, 7200, 7300 scheduling): Simplify by combining the
2081 FP ALU & MPY units into a single unit.
2083 2002-05-06 Catherine Moore <clm@redhat.com>
2085 * config/v850/v850.c (compute_register_save_size): Make sure
2086 to count all of the registers that will be saved.
2088 Mon May 6 18:03:11 CEST 2002 Jan Hubicka <jh@suse.cz>
2090 * i386.c (q_regs_operand): Use ANY_QI_REGS_P.
2092 2002-05-06 David S. Miller <davem@redhat.com>
2094 * config/sparc/sparc.c (emit_soft_tfmode_libcall): Do not
2095 allow result to overlap input operands in memory.
2097 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2100 * cpp.texi: Update multichar charconst docs.
2102 2002-05-06 Neil Booth <neil@daikokuya.demon.co.uk>
2104 * cpplex.c (cpp_interpret_charconst): Sign-extend each
2105 character. Don't ignore excess characters. Treat
2106 multicharacter character constants as signed.
2107 (cpp_parse_escape): Clarify diagnostic.
2109 2002-05-05 Jakub Jelinek <jakub@redhat.com>
2111 * config/sparc/sparc.md (ashlsi3): If shift count is const1_rtx,
2112 use add instead of shift.
2113 (ashldi3_sp64): Likewise.
2114 (ashlsi3_const1, ashldi3_const1): Remove.
2115 * config/sparc/sparc.h (PREDICATE_CODES): Add const1_operand.
2116 * config/sparc/sparc.c (const1_operand): New.
2118 2002-05-05 Jason Thorpe <thorpej@wasabisystems.com>
2120 * config.gcc (alpha*-*-netbsd*): Don't use crtstuff.
2122 2002-05-05 Jakub Jelinek <jakub@redhat.com>
2125 * config/sparc/sparc.md (muldi3_v8plus): Handle %1 equal to %2.
2127 2002-05-05 Richard Henderson <rth@redhat.com>
2129 * config/alpha/alpha.c (alpha_adjust_cost): Remove everything but
2130 memory latency adjustments.
2131 (alpha_variable_issue): Remove.
2132 (alpha_use_dfa_pipeline_interface): New.
2133 (alpha_multipass_dfa_lookahead): New.
2134 * config/alpha/alpha.md: Remove define_function_unit scheduling;
2135 include new dfa scheduling.
2136 (attr type): Add none.
2138 * config/alpha/ev4.md: New.
2139 * config/alpha/ev5.md: New.
2140 * config/alpha/ev6.md: New.
2142 2002-05-05 David S. Miller <davem@redhat.com>
2144 * recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.
2146 2002-05-05 Kazu Hirata <kazu@cs.umass.edu>
2148 * cse.c: Fix formatting.
2149 * emit-rtl.c: Likewise.
2151 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
2153 * genautomata.c (initiate_states): Add additional guard to
2154 initialize `units_array'.
2156 2002-05-05 Vladimir Makarov <vmakarov@redhat.com>
2158 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp,
2159 process_unit_to_form_the_same_automaton_unit_lists,
2160 form_the_same_automaton_unit_lists
2161 check_unit_distributions_to_automata): New prototypes and
2163 (check_automata): Rename it into `check_automata_insn_issues'.
2164 (unit_decl): New fields `the_same_automaton_unit' and
2165 `the_same_automaton_message_reported_p'.
2166 (unit_decl_t): New typedef.
2167 (the_same_automaton_lists): New gloval variable.
2168 (unit_regexp, unit_set_el, units_array, units_cmp,
2169 output_get_cpu_unit_code_func): Use the typedef.
2170 (evaluate_max_reserv_cycles): Increment
2171 `description->max_insn_reserv_cycles'.
2172 (initiate_states): Don't increment `max_cycles_num'.
2173 (transform_insn_regexps): Move code around transformation of
2174 regexps from `generate'.
2175 (generate): Remove call of `transform_insn_regexps'.
2176 (expand_automata): Call `transform_insn_regexps' and
2177 `check_unit_distributions_to_automata'. Check errors before
2180 * config/sparc/ultra3.md (us3_a0, us3_a1): Move the units into
2181 automaton `ultrasparc3_1'.
2183 2002-05-05 Neil Booth <neil@daikokuya.demon.co.uk>
2185 * c-common.c (c_common_init): Set up CPP arithmetic.
2186 * cppinit.c (cpp_create_reader): Default CPP arithmetic to
2187 something reasonable for the host.
2188 (sanity_checks): Add checks.
2189 (cpp_read_main_file): Call sanity_checks() from here...
2190 (cpp_post_options): ... not here.
2191 * cpplex.c (cpp_interpret_charconst): Get max_chars right.
2192 * cpplib.h (struct cpp_options): New member int_precision.
2194 2002-05-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2196 * doc/install.texi (powerpc-*-linux-gnu*): Update build requirements.
2198 2002-05-04 David S. Miller <davem@redhat.com>
2200 * config/sparc/linux.h, config/sparc/linux64.h
2201 (HANDLE_PRAGMA_PACK_PUSH_POP): Don't define twice.
2203 * config/sparc/sparc.c (sparc_rtx_costs): Describe costs of
2205 * config/sparc/sparc.h (RTX_COSTS_CASES): List those new codes.
2207 * recog.c (store_data_bypass_p): Handle out_insn being a PARALLEL
2210 2002-05-05 Tim Josling <tej@melbpc.org.au>
2212 * treelang; New directory for new sample language treelang.
2214 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2216 * Makefile.in (c-lex.o): Update.
2217 * c-lex.c: Include target.h.
2218 (cb_register_builtins): New.
2219 (init_c_lex): Set builtins callback.
2220 * c-lex.h (cpp_define, cpp_assert): New prototypes.
2221 * cppinit.c (init_builtins): Use callback, including for
2223 * cpplib.h (struct cpp_callbacks): New member.
2224 * target-def.h (TARGET_REGISTER_CPP_BUILTINS): New.
2225 (TARGET_INITIALIZER): Update.
2226 * target.h (struct gcc_target): New hook.
2227 * tree.c (default_register_cpp_builtins): New.
2228 * tree.h (default_register_cpp_builtins): New.
2230 * tm.texi (TARGET_REGISTER_CPP_BUILTINS): Document.
2232 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2234 * cppinit.c (MAX_WCHAR_TYPE_SIZE): Move to cpplib.h
2235 (cpp_post_options): Move sanity checks to...
2236 (sanity_checks): New.
2237 * cpplex.c (maybe_read_ucs): Fix prototype.
2238 (parse_string, cpp_parse_escape): Cast for %c format specifier.
2239 * cpplib.h (cppchar_t): Use unsigned long or unsigned long long
2242 2002-05-04 Bernd Schmidt <bernds@redhat.com>
2244 * config/i386/i386.c (bdesc_2arg): Add a couple of missing SSE2
2245 builtins. Use V2DI patterns instead of TI for logical operations.
2246 (ix86_init_mmx_sse_builtins): Add a couple of missing SSE2 builtins.
2247 Correct definitions of psadbw, pmovmskb128, movntdq, cvtdq2ps.
2248 (ix86_expand_builtins): Change the pattern used for movntdq.
2249 * config/i386/i386.md (sse2_andv2di3, sse2_iorv2di3, sse2_xorv2di3,
2250 sse2_nandv2di3): New patterns.
2251 (sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3): Correct modes
2253 (sse2_movntv2di): Renamed from sse2_movntti and modes adjusted.
2254 (cvtdq2pd): Correct mode on operand 1.
2255 (sse2_umulsidi3): Describe without unspec.
2256 (sse2_psadbw, mmx_psadbw): Describe with unspec; use more appropriate
2258 (lshrv2di3): Renamed from sse2_lshrv2di3 and removed unspec.
2259 (ashlv2di3): Likewise, from sse2_ashlv2di3.
2260 (ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, lshrv2di3, ashlv8hi3,
2261 ashlv4si3, ashlv2di3): Use SImode for shift count.
2262 (ashrv8hi3_ti, ashrv4si3_ti, lshrv8hi3_ti, lshrv4si3_ti, lshrv2di3_ti,
2263 lshrv4si3_ti, lshrv2di3_ti, ashlv8hi3_ti, ashlv4si3_ti, ashlv2di3_ti):
2265 * config/i386/xmmintrin.h (__v2df, __v2di, __v4si, __v8hi, __v16qi):
2267 (__m128i, __m128d): New macros.
2268 (_mm_add_pd, _mm_add_sd, _mm_sub_pd, _mm_sub_sd, _mm_mul_pd,
2269 _mm_mul_sd, _mm_div_pd, _mm_div_sd, _mm_sqrt_pd, _mm_sqrt_sd,
2270 _mm_min_pd, _mm_min_sd, _mm_max_sd, _mm_max_pd, _mm_and_pd,
2271 _mm_andnot_pd, _mm_xor_pd, _mm_or_pd, _mm_cmpeq_pd, _mm_cmplt_pd,
2272 _mm_cmple_pd, _mm_cmpgt_pd, _mm_cmpge_pd, _mm_cmpneq_pd,
2273 _mm_cmpnlt_pd, _mm_cmpnle_pd, _mm_cmpngt_pd, _mm_cmpnge_pd,
2274 _mm_cmpord_pd, _mm_cmpunord_pd, _mm_cmpeq_sd, _mm_cmplt_sd,
2275 _mm_cmple_sd, _mm_cmpgt_sd, _mm_cmpge_sd, _mm_cmpneq_sd,
2276 _mm_cmpnlt_sd, _mm_cmpnle_sd, _mm_cmpngt_sd, _mm_cmpnge_sd,
2277 _mm_cmpord_sd, _mm_cmpunord_sd, _mm_comieq_sd, _mm_comilt_sd,
2278 _mm_comile_sd, _mm_comigt_sd, _mm_comige_sd, _mm_comineq_sd,
2279 _mm_ucomieq_sd, _mm_ucomieq_sd, _mm_ucomilt_sd, _mm_ucomile_sd,
2280 _mm_ucomigt_sd, _mm_ucomige_sd, _mm_ucomineq_sd, _mm_cvtepi32_pd,
2281 _mm_cvtepi32_ps, _mm_cvtpd_epi32, _mm_cvtpd_pi32, _mm_cvtpd_ps,
2282 _mm_cvttpd_epi32, _mm_cvttpd_pi32, _mm_cvtpi32_pd, _mm_cvtps_epi32,
2283 _mm_cvttps_epi32, _mm_cvtps_pd, _mm_cvtsd_si32, _mm_cvttsd_si32,
2284 _mm_cvtsd_ss, _mm_cvtsi32_sd, _mm_cvtss_sd, _mm_unpackhi_pd,
2285 _mm_unpacklo_pd, _mm_loadh_pd, _mm_storeh_pd, _mm_storel_pd,
2286 _mm_movemask_pd, _mm_packs_epi16, _mm_packs_epi32, _mm_packus_epi16,
2287 _mm_unpackhi_epi8, _mm_unpackhi_epi16, _mm_unpackhi_epi32,
2288 _mm_unpacklo_epi8, _mm_unpacklo_epi16, _mm_unpacklo_epi32,
2289 _mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
2290 _mm_adds_epi8, _mm_adds_epi16, _mm_adds_epu8, _mm_adds_epu16,
2291 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
2292 _mm_subs_epi8, _mm_subs_epi16, _mm_subs_epu8, _mm_subs_epu16,
2293 _mm_madd_epi16, _mm_mulhi_epi16, _mm_mullo_epi16, _mm_mul_pu16,
2294 _mm_mul_epu16, _mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64,
2295 _mm_sra_epi16, _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32,
2296 _mm_srl_epi64, _mm_slli_epi16, _mm_slli_epi32, _mm_slli_epi64,
2297 _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
2298 _mm_srli_epi64, _mm_and_si128, _mm_andnot_si128, _mm_or_si128,
2299 _mm_xor_si128, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
2300 _mm_cmpgt_epi8, _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_max_epi16,
2301 _mm_max_epu8, _mm_min_epi16, _mm_min_epu8, _mm_movemask_epi8,
2302 _mm_mulhi_epu16, _mm_maskmoveu_si128, _mm_avg_epu8, _mm_avg_epu16,
2303 _mm_sad_epu8, _mm_stream_si32, _mm_stream_si128, _mm_stream_pd,
2304 _mm_movpi64_epi64, _mm_clflush, _mm_lfence, _mm_mfence): New
2306 (_mm_shufflehi_epi16, _mm_shufflelo_epi16, _mm_shuffle_epi32,
2307 _mm_extract_epi16, _mm_insert_epi16, _mm_shuffle_pd): New macros.
2309 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
2311 * dwarf2out.c: Fix formatting.
2312 * varasm.c: Likewise.
2314 2002-05-04 David Edelsohn <edelsohn@gnu.org>
2317 * config/rs6000/rs6000.md (sCC pattern and splitter): Remove
2318 clobber and use result as temporary value.
2320 Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
2322 * expr.c (force_operand): Use expand_simple_* to handle more
2325 2002-05-04 Neil Booth <neil@daikokuya.demon.co.uk>
2327 * c-lex.c (lex_string): Let cpp_parse_escape handles truncation
2329 (lex_charconst): Update for change in prototype of
2330 cpp_interpret_charconst. Extend from cppchar_t to HOST_WIDE_INT
2332 * cpphash.h (BITS_PER_CPPCHAR_T): New.
2333 * cppinit.c (cpp_create_reader): Initialize them for no
2334 change in semantics.
2335 (cpp_post_options): Add sanity checks.
2336 * cpplex.c (cpp_parse_escape): Handle precision, sign-extension
2337 and truncation issues. Calculate in type cppchar_t.
2338 (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Remove.
2339 (cpp_interpret_charconst): Calculate in type cppchar_t. Handle
2340 run-time dependent precision correctly. Return whether the
2341 result is signed or not.
2342 * cpplib.c (dequote_string): Use cppchar_t; update.
2343 * cpplib.h (cppchar_signed_t): New.
2344 struct cpp_options): New precision members.
2345 (cpp_interpret_charconst, cpp_parse_escape): Update prototypes.
2346 * cppexp.c (eval_token): Update.
2348 2002-05-03 David S. Miller <davem@redhat.com>
2350 * config/sparc/sparc-protos.h (sparc_rtx_costs): New.
2351 * config/sparc/sparc.c (sparc_rtx_costs): New function
2352 implementing RTX_COSTS and CONST_COSTS.
2353 * config/sparc/sparc.h (CONST_COSTS): Delete.
2354 (RTX_COSTS_CASES): Define.
2355 (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do
2358 * config/sparc/sparc.md (DFA schedulers): Split out...
2359 * config/sparc/cypress.md, config/sparc/hypersparc.md,
2360 config/sparc/sparclet.md, config/sparc/supersparc.md,
2361 config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here.
2363 * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef
2364 checks on it, always defined for Sparc.
2366 * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER):
2367 Tweak, and add more detailed comments.
2369 2002-05-03 Zack Weinberg <zack@codesourcery.com>
2371 * Re-apply patch accidentally reverted with
2372 DFA scheduler merge: remove all rules and variables to slurp
2373 source files out of libiberty and rebuild them with HOST_CC.
2374 ($(HOST_PREFIX_1)varray.o): New rule.
2375 (genattrtab rule): Word wrap.
2377 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2379 * config/i386/netbsd64.h (CPP_LP64_SPEC): Define.
2380 (CPP_SUBTARGET_SPEC): Define.
2381 (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and
2382 cpp_subtarget specs.
2383 (CPP_SPEC): Redefine to include %(cpp_subtarget).
2385 2002-05-03 David S. Miller <davem@redhat.com>
2387 * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.
2388 * target.h (struct gcc_target): Delete cycle_display member.
2390 * config/ia64/ia64.c (ia64_emit_insn_before): Put it back.
2391 (rtx_needs_barrier): Delete reference to cycle_display unspec.
2392 (ia64_sched_reorder2): Mention need for cycle display handling
2393 once such notes exist.
2395 2002-05-03 Richard Henderson <rth@redhat.com>
2397 * real.c (etoasc): Strip most trailing zeros for clarity.
2398 * sched-vis.c: Include real.h.
2399 (print_value): Use REAL_VALUE_TO_DECIMAL as needed.
2400 * Makefile.in (sched-vis.o): Add real.h.
2402 2002-05-03 David S. Miller <davem@redhat.com>
2404 * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change,
2407 2002-05-03 Aldy Hernandez <aldyh@redhat.com>
2409 * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out
2410 when we get an out of range literal.
2411 (altivec_expand_ternop_builtin): Same.
2412 (altivec_expand_unop_builtin): Same.
2413 (altivec_expand_builtin): Same, for dss.
2414 (altivec_expand_builtin): Use trees instead of rtl when
2415 determining literal argument validity.
2417 2002-05-03 David S. Miller <davem@redhat.com>
2419 Delete cycle display scheduling hook.
2420 * config/ia64/ia64.c (ia64_cycle_display,
2421 TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete.
2422 (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display
2423 and use emit_insn_before instead of ia64_emit_insn_before.
2424 * config/ia64/ia64.md (unspec usage): Delete cycle display.
2425 (cycle_display): Delete insn pattern.
2426 * config/sparc/sparc.md (unspec usage): Delete cycle display.
2427 (cycle_display): Delete insn pattern.
2428 * config/sparc/sparc.c (sparc_cycle_display,
2429 TARGET_SCHED_CYCLE_DISPLAY): Delete.
2430 * doc/md.texi (cycle_display): Don't mention.
2431 * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise.
2433 2002-05-03 Richard Henderson <rth@redhat.com>
2435 * recog.c (store_data_bypass_p, if_test_bypass_p): New.
2436 * recog.h: Declare them.
2438 * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove.
2439 * config/sparc/sparc.md: Use store_data_bypass_p instead.
2440 * config/sparc/sparc-protos.h: Update.
2442 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2444 * config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove
2445 -D__arch64__. Add -D_LP64.
2446 (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version
2448 (CPP_ARCH64_SPEC): Likewise.
2449 (NO_BUILTIN_PTRDIFF_TYPE): Undef.
2450 (NO_BUILTIN_SIZE_TYPE): Undef.
2452 2002-05-03 Vladimir Makarov <vmakarov@redhat.com>
2454 * genautomata.c (min_issue_delay_pass_states): Change return type
2456 (min_issue_delay_pass_states): Change the algorithm.
2457 (min_issue_delay): Set up min_insn_issue_delay for the state.
2458 (output_min_issue_delay_table): Interchange the nested loops and
2459 and initiate min_insn_issue_delay for states.
2461 Fri May 3 22:59:15 CEST 2002 Jan Hubicka <jh@suse.cz>
2463 * cfgcleanup.c (try_optimize_cfg): Call merge_block only when
2466 Fri May 3 22:53:37 CEST 2002 Jan Hubicka <jh@suse.cz>
2468 * i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops
2471 2002-05-03 Richard Henderson <rth@redhat.com>
2474 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
2475 noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
2476 noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new
2477 code before JUMP, not EARLIEST.
2479 2002-05-03 Joseph S. Myers <jsm28@cam.ac.uk>
2481 * c-format.c (check_format_info_main): Don't check for presence of
2482 parameter for * width until after operand number has been read,
2483 and only check for it if format parameters are available.
2486 2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
2488 * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
2489 (LINK_SPEC): Undef before defining.
2491 2002-05-03 Jakub Jelinek <jakub@redhat.com>
2493 PR preprocessor/6489
2494 * tradcpp.c (fixup_newlines): New.
2495 (main, finclude): Use it.
2497 2002-05-03 Richard Sandiford <rsandifo@redhat.com>
2499 * config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section.
2500 * config/mips/mips.c (mips_unique_section): Strip encoding from
2503 2002-05-03 Jakub Jelinek <jakub@redhat.com>
2505 * config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper
2508 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2510 * doc/install.texi (Installing): Mention GCC 3.1 buildstats.
2511 (Specific): Removed buildstats references.
2512 (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0.
2513 (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1.
2514 Accomodate Solaris versions beyond 8.
2515 (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1.
2516 (Specific, *-*-solaris2.8): Removed, obsolete.
2518 2002-05-03 Jakub Jelinek <jakub@redhat.com>
2521 * config/sparc/sparc.h (leaf_reg_remap): Remove const.
2522 (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make
2523 fill leaf_reg_remap with identity.
2524 * config/sparc/sparc.c (leaf_reg_remap): Remove const.
2526 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2528 * config/h8300/crti.asm: Remove trailing spaces.
2529 * config/h8300/h8300.c: Likewise.
2530 * config/h8300/lib1funcs.asm: Likewise.
2532 2002-05-02 Jason Merrill <jason@redhat.com>
2534 * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
2535 * c-decl.c (c_init_decl_processing): Use it.
2536 * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
2537 * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
2538 * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
2540 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
2542 * regrename.c: Fix formatting.
2545 Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
2547 * i386.md (attribute memory): Handle compares properly.
2549 Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
2551 * i386.md (sse_clrsf, sse_clrsi): Set memory attribute
2554 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2556 * function.c: Fix formatting.
2558 2002-05-02 Jan Hubicka <jh@suse.cz>
2560 * haifa-sched.c (schedule_insn): Print table of instructions and
2562 (sched_block): Do not print ready list at verbosity level 1.
2563 * sched-vis.c (print_insn): Make global.
2564 * sched-ebb.c (ebb_print_insn): Rename from...
2565 (print_insn): ... this one.
2566 * sched-int.h (print_insn): Declare
2568 2002-05-02 Richard Henderson <rth@redhat.com>
2570 * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn
2571 emitted by cycle_display.
2573 2002-05-02 Loren J. Rittle <ljrittle@acm.org>
2575 * doc/install.texi (*-*-freebsd*): Update to latest status.
2577 2002-05-02 Jakub Jelinek <jakub@redhat.com>
2580 * config.gcc (sparc*-*-solaris2*): Set float_format to i128.
2581 * config/float-sparc.h: Assume 128-bit long double if
2582 __LONG_DOUBLE_128__ is defined.
2584 2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
2586 * genattrtab.c (write_function_unit_info): Add a dummy element
2587 when num_units == 0.
2589 2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2591 * predict.c: (propagate_freq, estimate_bb_frequencies): Use
2592 TYPE_MODE (double_type_node) instead of DFmode.
2594 Thu May 2 19:50:04 CEST 2002 Jan Hubicka <jh@suse.cz>
2596 * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed
2598 * toplev.c (rest_of_compilation): Revert Richard's patch.
2600 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
2602 * pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.
2604 2002-05-02 Catherine Moore <clm@redhat.com>
2606 * config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.
2608 2002-05-02 Kazu Hirata <kazu@hxi.com>
2610 * combine.c: Fix comment typos.
2612 * genautomata.c: Likewise.
2616 2002-05-02 Joseph S. Myers <jsm28@cam.ac.uk>
2618 * doc/install.texi: State GNAT version requirements.
2620 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2622 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form
2623 of the frame pointer or arg pointer register which strict register
2624 checking is not enabled.
2626 2002-05-02 Aldy Hernandez <aldyh@redhat.com>
2628 * gcc.dg/altivec-8.c: New.
2630 * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
2631 PRE_INC and PRE_DEC for altivec modes.
2633 2002-05-01 Bruce Korb <bkorb@gnu.org>
2635 * fixinc/check.tpl(set-writable): make sure the function exists first
2636 * fixinc/inclhack.def(alpha_assert): fix test_text
2637 * fixinc/tests/base/assert.h: add in missing result
2639 2002-05-01 Jeff Law <law@redhat.com>
2641 * pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
2644 2002-05-01 Joel Brobecker <brobecker@gnat.com>
2646 * dbxout.c (dbxout_type): Emit size information for range types,
2647 as well, but only when using GDB extensions.
2649 2002-05-01 Richard Henderson <rth@redhat.com>
2651 * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
2652 target-independent gnu binutils date test.
2654 2002-05-01 Richard Henderson <rth@redhat.com>
2656 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
2657 info before expunging the block.
2659 2002-05-01 Jakub Jelinek <jakub@redhat.com>
2661 * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
2662 (cpp_post_options): ...but here. Disable -dD, -dN and -dI when
2663 -M -or -MM is in effect.
2665 2002-05-01 Zack Weinberg <zack@codesourcery.com>
2667 * config.gcc: Correct test of --enable-obsolete. Obsolete all
2668 A29k configurations.
2669 * doc/install.texi: Update to match.
2671 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2674 * varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
2675 for duplicates. Always loop over whole list.
2677 Wed May 1 10:32:37 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2679 * reload.c (find_reloads, case 'p'): Set BADOP to 0.
2681 2002-05-01 Joel Sherrill <joel@OARcorp.com>
2683 * config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
2686 2002-05-01 Joel Sherrill <joel@OARcorp.com>
2688 * config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.
2690 2002-05-01 David Edelsohn <edelsohn@gnu.org>
2692 * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
2693 (nabs_nopower): Same.
2694 (floatdisf2): New pattern.
2695 (absdi2): Convert to define_insn_and_split.
2700 (fix_trunctfdi2): Same.
2701 (fix_trunctfsi2): Same.
2703 2002-05-01 Joseph S. Myers <jsm28@cam.ac.uk>
2705 * doc/install.texi: Update Texinfo version requirement
2708 2002-05-01 Jakub Jelinek <jakub@redhat.com>
2710 PR target/6512, PR target/5628
2711 * config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
2712 when memory is not aligned.
2713 (movdf_insn_v9only_vis): Likewise.
2714 * config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
2715 temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
2716 (SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.
2718 2002-05-01 Aldy Hernandez <aldyh@redhat.com>
2720 * gcc.dg/altivec-7.c: New.
2722 * config/rs6000/altivec.h: Cleanup.
2724 2002-04-30 Aldy Hernandez <aldyh@redhat.com>
2726 * doc/invoke.texi (Option Summary): Add -mvrsave=.
2727 (RS/6000 and PowerPC Options): Document -mvrsave=.
2729 * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
2730 (rs6000_altivec_vrsave_string): Same.
2731 (rs6000_override_options): Call rs6000_parse_vrsave_option.
2732 (rs6000_parse_vrsave_option): New.
2733 (rs6000_stack_info): Only generate vrsave instructions when
2734 TARGET_ALTIVEC_VRSAVE.
2736 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
2737 (rs6000_altivec_vrsave_string): Define extern.
2738 (rs6000_altivec_vrsave): Same.
2739 (TARGET_ALTIVEC_VRSAVE): New.
2741 2002-04-30 Richard Henderson <rth@redhat.com>
2744 * toplev.c (rest_of_compilation): Don't run cross-jump before
2747 2002-04-30 Tom Rix <trix@redhat.com>
2749 * regrename.c (build_def_use, copyprop_hardreg_forward_1): Sanity
2750 check which_alternative.
2752 2002-04-30 Kazu Hirata <kazu@hxi.com>
2754 * cpplex.c: Fix comment formatting.
2755 * function.c: Likewise.
2756 * integrate.c: Likewise.
2757 * regrename.c: Likewise.
2758 * sibcall.c: Likewise.
2759 * simplify-rtx.c: Likewise.
2760 * tree-inline.c: Likewise.
2762 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2764 * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
2765 hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
2766 hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
2767 hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
2768 * pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
2769 * pa/x-ada: New file. Define ADA_CFLAGS.
2771 2002-04-30 Hans-Peter Nilsson <hp@bitrange.com>
2773 * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
2774 from MMIX_LAST_REGISTER_FILE_REGNUM.
2775 (NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
2776 (struct machine_function): New member highest_saved_stack_register
2777 previously static variable in mmix.c.
2778 (MACHINE_DEPENDENT_REORG): Define.
2779 * config/mmix/mmix.c (highest_saved_stack_register): Deleted.
2780 (MMIX_OUTPUT_REGNO): New.
2781 (mmix_target_asm_function_prologue): Move calculation of last used
2782 saved-stack-register into...
2783 (mmix_machine_dependent_reorg): New function. Update to also handle
2785 (mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
2786 register names, simplify somewhat by new variable regno.
2787 <case 'p'>: Remove fixed FIXME. Always emit highest used saved
2789 (mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
2790 emitting register names.
2791 (mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
2792 (mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
2794 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
2797 * config/mmix/mmix.md ("divmoddi4"): Update head comment.
2799 2002-04-30 Richard Henderson <rth@redhat.com>
2801 * config/sparc/sparc.c (emit_soft_tfmode_libcall,
2802 emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
2803 emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
2804 emit_tfmode_cvt): New.
2805 * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
2806 trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
2807 fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
2808 addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
2809 * config/sparc/sparc-protos.h: Update.
2811 2002-04-30 Janis Johnson <janis187@us.ibm.com>
2813 * install.texi (Final install): Add to the list of info to include
2814 in a report of a successful bootstrap, and add link to 3.1 list.
2816 Tue Apr 30 19:15:36 CEST 2002 Jan Hubicka <jh@suse.cz>
2818 * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
2819 (mode): Add vector modes
2820 (i387): Kill attribute.
2821 (unit): New attribute.
2822 (length_immediate): Grok new types.
2823 (prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
2824 (modrm): Use "unit".
2825 (memory): Handle MMX/SSE properly.
2826 (scheduling descriptions): Kill uses of fop1.
2827 (sse, mmx, fp patterns): Set type and mode properly.
2829 Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com)
2831 * pa.c (override_options): Default to PA8000 scheduling.
2832 * doc/invoke.texi (HP-PA options): Mention newly added 7300
2833 scheduling parameter.
2835 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
2836 handling of double precision multiplies.
2838 * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
2839 fpdiv and fpsqrt instructions.
2840 (7200 & 7300 scheduling): Fix typo in handling of
2841 store-load and store-store penalties.
2843 2002-04-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2845 * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
2846 mips. Add two missing commas.
2848 2002-04-30 Paolo Carlini <pcarlini@unitus.it>
2850 * doc/contrib.texi (Contributors): Update Paolo Carlini's
2851 and Benjamin Kosnik's entries.
2853 2002-04-29 David S. Miller <davem@redhat.com>
2855 * config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
2856 SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
2857 * config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
2858 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
2860 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2862 * combine.c (find_split_point): Use gen_int_mode.
2864 2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
2866 Merging code from dfa-branch:
2868 2002-04-24 Vladimir Makarov <vmakarov@redhat.com>
2870 * genautomata.c (output_reserv_sets): Fix typo.
2872 2002-04-23 Vladimir Makarov <vmakarov@redhat.com>
2874 * genautomata.c (output_reserv_sets): Remove
2875 next_cycle_output_flag.
2877 Thu Apr 18 08:57:06 2002 Jeffrey A Law (law@redhat.com)
2879 * sched-rgn.c (init_ready_list): Make the DFA code handle
2880 USE/CLOBBER insns in the same way as the traditional
2882 (new_ready): Similarly..
2884 2002-04-17 Vladimir Makarov <vmakarov@redhat.com>
2886 * haifa-sched.c (schedule_block): Change the DFA state only after
2889 Wed Apr 17 15:38:36 2002 Jeffrey A Law (law@redhat.com)
2891 * pa.c (hppa_use_dfa_pipeline_interface): New function.
2892 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
2893 (override_options): Add PA7300 scheduling support.
2894 (pa_adjust_cost): Update various comments. Properly
2895 handle anti and output dependencies when using the
2897 (pa_issue_rate): Add PA7300 scheduling support.
2898 (pa_can_combine_p): Call extract_insn before calling
2899 constrain_operands (taken from mainline tree).
2900 * pa.h (enum processor_type): Add PROCESSOR_PA7300.
2901 * pa.md (cpu attr): Add 7300. Rewrite pipeline
2902 descriptions using DFA descriptions. Add PA7300
2905 2002-03-30 David S. Miller <davem@redhat.com>
2907 Add UltraSPARC-III DFA scheduling support.
2908 * config/sparc/sparc.md (define_attr type): Add fpcrmove.
2909 Update FP conditional move on register insn patterns to use it, as
2911 (define_attr cpu): Add ultrasparc3.
2912 (define_attr us3load_type): New, update integer load patterns to
2913 set it, as appropriate.
2914 (define_automaton): Add ultrasparc3_0 and ultrasparc3_1.
2915 (rest): Add UltraSPARC3 scheduling description.
2916 * config/sparc/sparc.h (TARGET_CPU_ultrasparc3): New.
2917 (PROCESSOR_ULTRASPARC3): New.
2918 ({ASM,CPP}_CPU64_DEFAULT_SPEC): Handle ultrasparc3.
2919 ({ASM,CPP}_CPU_SPEC): Likewise.
2920 (REGISTER_MOVE_COST): Likewise.
2921 (RTX_COSTS): Likewise.
2922 * config/sparc/sparc.c (sparc_override_options,
2923 sparc_initialize_trampoline, sparc64_initialize_trampoline,
2924 sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
2925 sparc_issue_rate): Likewise.
2926 * config/sparc/sol2.h: Likewise.
2927 * config/sparc/sol2-sld-64.h: Likewise.
2928 * config/sparc/linux64.h: Likewise.
2930 2002-03-22 Vladimir Makarov <vmakarov@redhat.com>
2932 * doc/md.texi: Add comments about usage the latency time for the
2933 different dependencies and about case when two or more conditions
2934 in different define_insn_reservations returns TRUE for an insn.
2936 * doc/md.texi: Add reference for automaton based pipeline
2939 2002-03-04 Vladimir Makarov <vmakarov@redhat.com>
2941 * doc/passes.texi: Add missed information about genattrtab.
2943 2002-03-01 Vladimir Makarov <vmakarov@redhat.com>
2945 * genautomata.c (output_automata_list_transition_code): Check
2946 automata_list on NULL.
2948 2002-02-28 Vladimir Makarov <vmakarov@redhat.com>
2950 * genautomata.c (output_insn_code_cases,
2951 output_automata_list_min_issue_delay_code,
2952 output_automata_list_transition_code,
2953 output_automata_list_state_alts_code): Comment the functions.
2955 2002-02-22 Vladimir Makarov <vmakarov@redhat.com>
2957 * genautomata.c (automata_list_el_t): New typedef.
2958 (get_free_automata_list_el,free_automata_list_el,
2959 free_automata_list, automata_list_hash, automata_list_eq_p,
2960 initiate_automata_lists, automata_list_start, automata_list_add,
2961 automata_list_finish, finish_automata_lists,
2962 output_insn_code_cases, output_automata_list_min_issue_delay_code,
2963 output_automata_list_transition_code,
2964 output_automata_list_state_alts_code, add_automaton_state,
2965 form_important_insn_automata_lists): New functions and prototypes.
2966 (insn_reserv_decl): Add members important_automata_list and
2968 (ainsn): Add members important_p.
2969 (automata_list_el): New structure.
2970 (first_free_automata_list_el, current_automata_list,
2971 automata_list_table): New global variables.
2972 (create_ainsns): Initiate member important_p.
2973 (output_internal_min_issue_delay_func): Generate the switch and
2974 call output_insn_code_cases.
2975 (output_internal_trans_func, output_internal_state_alts_func):
2977 (generate): Call initiate_automata_lists.
2978 (automaton_states): New global variable.
2979 (expand_automata): Call form_important_insn_automata_lists.
2980 (write_automata): Call finish_automata_lists.
2982 2002-02-21 Vladimir Makarov <vmakarov@redhat.com>
2984 * genautomata.c (add_excls, add_presence_absence): Check that
2985 cpu units in the sets belong the same automaton.
2987 * rtl.def (EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET): Add comment
2988 about that cpu units in the sets belong the same automaton.
2990 * doc/md.texi: Ditto.
2992 2001-12-20 Naveen Sharma <naveens@noida.hcltech.com>
2993 Nitin Gupta <niting@noida.hcltech.com>
2995 * config/sh/sh.c (sh_use_dfa_interface): New function.
2997 (sh_issue_rate): New Function.
2998 TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE: define.
2999 TARGET_SCHED_ISSUE_RATE: define.
3001 * config/sh/sh.md: Add DFA based pipeline description for SH4.
3003 (define_attr insn_class): New attribute used for DFA
3005 (define_insn cmpgtsi_t): Set attribute insn_class mt_group.
3006 (cmpgesi_t,cmpgtusi_t,cmpgeusi_t,cmpeqsi_t,
3007 cmpeqdi_t): Likewise.
3009 (add,addc1,addsi3,subc,subc1,*subsi3_internal,
3010 negc,negsi2,ashldi3_k,lshrdi3_k,ashrdi3_k): Set insn_class
3012 (iorsi3,rotlsi3_1,rotlsi3_31,rotlsi3_16): Likewise.
3014 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
3016 * haifa-sched.c (queue_to_ready): Remove unnecessary condition for
3019 2001-10-03 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
3021 * genautomata.c (DFA_INSN_CODES_LENGTH_VARIABLE_NAME): New macro.
3022 (output_dfa_insn_code_func): Expand dfa_insn_codes if it is
3024 (output_dfa_start_func): Initiate new variable insn_codes_length,
3025 (write_automata): Output definition of the new variable.
3027 2001-10-02 David S. Miller <davem@redhat.com>
3029 * haifa-sched.c (advance_one_cycle): New function.
3030 (schedule_block): Use it.
3031 (queue_to_ready): Use it, and also make sure to advance the DFA
3032 state on all stall cycles, not just those where insn_queue links
3035 2001-10-02 Richard Sandiford <rsandifo@redhat.com>
3037 * haifa-sched.c (max_issue): Remove last_p argument. Only return
3038 non-zero if the highest-priority instruction could be scheduled.
3039 (choose_ready): Remove last argument from max_issue call.
3041 2001-09-28 David S. Miller <davem@redhat.com>
3043 * config/sparc/sparc.c (sparc_use_sched_lookahead): Use 4 for
3044 ultrasparc and 3 for other multi-issue sparcs.
3046 2001-09-27 David S. Miller <davem@redhat.com>
3048 * config/sparc/sparc.md (cycle_display): New pattern.
3049 * config/sparc/sparc.c (sparc_cycle_display): New.
3050 (TARGET_SCHED_CYCLE_DISPLAY): Set it.
3052 2001-09-25 David S. Miller <davem@redhat.com>
3054 Convert all of Sparc scheduling to DFA
3055 * config/sparc/sparc.md: Kill all define_function_unit
3056 directives and replace with DFA equivalent.
3057 * config/sparc/sparc.c (ultrasparc_adjust_cost,
3058 mark_ultrasparc_pipeline_state, ultra_cmove_results_ready_p,
3059 ultra_fpmode_conflict_exists, ultra_find_type,
3060 ultra_build_types_avail, ultra_flush_pipeline,
3061 ultra_rescan_pipeline_state, ultrasparc_sched_reorder,
3062 ultrasparc_variable_issue, ultrasparc_sched_init,
3063 sparc_variable_issue, sparc_sched_reorder, ultra_code_from_mask,
3064 ultra_schedule_insn, ultra_code_names, ultra_pipe_hist,
3065 ultra_cur_hist, ultra_cycles_elapsed): Kill.
3066 (sparc_use_dfa_pipeline_interface, sparc_use_sched_lookahead,
3067 ultrasparc_store_bypass_p): New.
3068 * config/sparc/sparc-protos.h (ultrasparc_store_bypass_p):
3071 2001-09-24 David S. Miller <davem@redhat.com>
3073 * haifa-sched.c (ready_remove): Fix thinko, we want to copy around
3074 ready->vec[foo] not ready[foo].
3076 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
3078 * doc/md.texi: Correct examples for define_insn_reservations
3081 2001-09-07 Vladimir Makarov <vmakarov@redhat.com>
3083 * genautomata.c (create_automata): Print message about creation of
3085 (generate): Remove printing meease about creation of
3088 2001-09-05 David S. Miller <davem@redhat.com>
3090 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
3091 * config/sparc/linux64.h: Likewise.
3093 2001-08-31 Vladimir Makarov <vmakarov@redhat.com>
3095 * haifa-sched.c (insn_cost, schedule_insn, queue_to_ready,
3096 schedule_block, sched_init, sched_finish): Add missed calls of
3097 use_dfa_pipeline_interface.
3099 * sched-rgn.c (init_ready_list, new_ready, debug_dependencies):
3102 * sched-vis.c (get_visual_tbl_length): Ditto.
3104 2001-08-27 Richard Henderson <rth@redhat.com>
3106 * genattr.c (main): Emit state_t even when not doing scheduling.
3108 2001-08-27 Richard Henderson <rth@redhat.com>
3110 * genautomata.c (expand_automata): Always create a description.
3112 2001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
3114 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
3115 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
3116 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
3119 * genattr.c (main): New variable num_insn_reservations. Increase
3120 it if there is DEFINE_INSN_RESERVATION. Output automaton based
3121 pipeline hazard recognizer interface.
3123 * genattrtab.h: New file.
3125 * genattrtab.c: Include genattrtab.h.
3126 (attr_printf, check_attr_test, make_internal_attr,
3127 make_numeric_value): Move protypes into genattrtab.h. Define them
3129 (num_dfa_decls): New global variable.
3130 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
3131 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
3132 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
3133 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
3135 * genautomata.c: New file.
3137 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
3139 * sched-int.h: (curr_state): Add the external definition for
3140 automaton pipeline interface.
3141 (haifa_insn_data): Add comments for members blockage and units.
3143 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3144 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3145 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3146 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3147 TARGET_SCHED_DFA_POST_CYCLE_INSN,
3148 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3149 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
3151 (TARGET_SCHED): Use the new macros.
3153 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
3154 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
3155 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
3156 dfa_bubble): New members in gcc_target.sched.
3158 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
3159 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
3160 (insn_queue): Redefine it as pointer to array.
3161 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
3163 (max_insn_queue_index_macro_value): New variable.
3164 (curr_state, dfa_state_size, ready_try): New varaibles for
3165 automaton interface.
3166 (ready_element, ready_remove, max_issue): New function prototypes
3167 for automaton interface.
3168 (choose_ready): New function prototype.
3169 (insn_unit, blockage_range): Add comments.
3170 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
3171 FUNCTION_UNITS_SIZE == 0.
3172 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
3173 actual_hazard, potential_hazard): Add comments.
3174 (insn_cost): Use cost -1 as undefined value. Remove
3175 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
3177 (ready_element, ready_remove): New functions for automaton
3179 (schedule_insn): Add new code for automaton pipeline interface.
3180 (queue_to_ready): Add new code for automaton pipeline interface.
3181 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
3182 (debug_ready_list): Print newline when the queue is empty.
3183 (max_issue): New function for automaton pipeline interface.
3184 (choose_ready): New function.
3185 (schedule_block): Add new code for automaton pipeline interface.
3186 Print ready list before scheduling each insn.
3187 (sched_init): Add new code for automaton pipeline interface.
3188 Initiate insn cost by -1.
3189 (sched_finish): Free the current automaton state and finalize
3190 automaton pipeline interface.
3192 * sched-rgn.c: Include target.h.
3193 (init_ready_list, new_ready, debug_dependencies): Add new code for
3194 automaton pipeline interface.
3196 * sched-vis.c: Include target.h.
3197 (get_visual_tbl_length): Add code for automaton interface.
3198 (target_units, print_block_visualization): Add comments.
3200 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
3201 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
3202 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
3203 (getruntime.o, genautomata.o): New entries.
3204 (genattrtab.o): Add new dependency file genattrtab.h.
3205 (genattrtab): Add new dependencies. Link it with `libm.a'.
3206 (getruntime.o, hashtab.o): New entries for canadian cross.
3208 * doc/md.texi: Description of automaton based model.
3210 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
3212 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
3213 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
3214 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
3215 TARGET_SCHED_DFA_POST_CYCLE_INSN,
3216 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
3217 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
3218 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
3220 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
3221 MAX_DFA_ISSUE_RATE): New macro descriptions.
3223 * doc/contrib.texi: Add dfa based scheduler contribution.
3225 * doc/gcc.texi: Add more information about genattrtab.
3227 Mon Apr 29 17:19:10 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3229 * reload1.c (eliminate_regs, case SUBREG): Fix typo in
3230 adjust_address_nv call.
3232 2002-04-29 Janis Johnson <janis187@us.ibm.com>
3234 * doc/install.texi (Testing): Provide additional information, and
3235 a stronger encouragement, for running the testsuites.
3237 2002-04-29 DJ Delorie <dj@redhat.com>
3239 * config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
3240 given in upper case.
3242 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3244 * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
3245 Solaris 2 <widec.h> if missing.
3246 * fixinc/fixincl.x: Regenerate.
3247 * fixinc/tests/base/widec.h: New file.
3249 2002-04-29 Nick Clifton <nickc@cambridge.redhat.com>
3251 * toplev.c (f_options): Add "profile" switch so that
3252 -fno-profile can be used to disable -p.
3254 2002-04-29 Bernd Schmidt <bernds@redhat.com>
3256 * c-common.c (type_for_mode): Add support for V2DFmode, V2DImode,
3258 * tree.c (build_common_tree_nodes_2): Likewise.
3259 * tree.h (enum tree_index): Likewise.
3260 (V2DF_type_node, V2DI_type_node, unsigned_V2DI_type_node): Define.
3262 * config/i386/i386.c (bdesc_comi, bdesc_2arg, bdesc_1arg): Add SSE2
3264 (init_mmx_sse_builtins): Initialize SSE2 builtins.
3265 (ix86_expand_builtin): Add support for SSE2 builtins.
3266 * config/i386/i386.h (VALID_SSE2_REG_MODE): New macro.
3267 (VALID_SSE_REG_MODE): Use it.
3268 (VECTOR_MODE_SUPPORTED_P): Allow SSE2 modes here as well.
3269 (enum ix86_builtins): Add SSE2 builtins.
3270 * config/i386/i386.md (movv2df_internal, movv2df, movv8hi_internal,
3271 movv8hi, movv16qi_internal, movv16qi, pushv2df, pushv8hi, pushv16qi,
3272 addv2df3, vmaddv2df3, subv2df3, vmsubv2df3, mulv2df3, vmmulv2df3,
3273 divv2df3, vmdivv2df3, smaxv2df3, vmsmaxv2df3, sminv2df3, vmsminv2df3,
3274 sse2_anddf3, sse2_nanddf3, sse2_iordf3, sse2_xordf3, sqrtv2df2,
3275 vmsqrtv2df2, maskcmpv2df3, maskncmpv2df3, vmmaskcmpv2df3,
3276 vmmaskncmpv2df3, sse2_comi, sse2_ucomi, sse2_movmskpd, sse2_pmovmskb,
3277 sse2_maskmovdqu, sse2_movntv2df, sse2_movntti, sse2_movntsi, cvtdq2ps,
3278 cvtps2dq, cvttps2dq, cvtdq2pd, cvtpd2dq, cvttpd2dq, cvtpd2pi,
3279 cvttpd2pi, cvtpi2pd, cvtsd2si, cvttsd2si, cvtsi2sd, cvtsd2ss,
3280 cvtss2sd, cvtpd2ps, cvtps2pd, addv16qi3, addv8hi3, addv4si3, addv2di3,
3281 ssaddv16qi3, ssaddv8hi3, usaddv16qi3, usaddv8hi3, subv16qi3, subv8hi3,
3282 subv4si3, subv2di3, sssubv16qi3, sssubv8hi3, ussubv16qi3, ussubv8hi3,
3283 mulv8hi3, smulv8hi3_highpart, umulv8hi3_highpart, sse2_umulsidi3,
3284 sse2_umulv2siv2di3, sse2_pmaddwd, sse2_clrti, sse2_uavgv16qi3,
3285 sse2_uavgv8hi3, sse2_psadbw, sse2_pinsrw, sse2_pextrw, sse2_pshufd,
3286 sse2_pshuflw, sse2_pshufhw, eqv16qi3, eqv8hi3, eqv4si3, gtv16qi3,
3287 gtv8hi3, gtv4si3, umaxv16qi3, smaxv8hi3, uminv16qi3, sminv8hi3,
3288 ashrv8hi3, ashrv4si3, lshrv8hi3, lshrv4si3, sse2_lshrv2di3,
3289 ashlv8hi3, ashlv4si3, sse2_ashlv2di3, sse2_ashlti3, sse2_lshrti3,
3290 sse2_unpckhpd, sse2_unpcklpd, sse2_packsswb, sse2_packssdw,
3291 sse2_packuswb, sse2_punpckhbw, sse2_punpckhwd, sse2_punpckhdq,
3292 sse2_punpcklbw, sse2_punpcklwd, sse2_punpckldq, sse2_movapd,
3293 sse2_movupd, sse2_movdqa, sse2_movdqu, sse2_movdq2q, sse2_movq2dq,
3294 sse2_movhpd, sse2_movlpd, sse2_loadsd, sse2_movsd, sse2_storesd,
3295 sse2_shufpd, sse2_clflush, sse2_mfence, mfence_insn, sse2_lfence,
3296 lfence_insn): New patterns.
3297 (sse2_andti3, sse2_nandti3, sse2_iorti3, sse2_xorti3): Renamed from
3298 sse_andti3_sse2, sse_nandti3_sse2, sse_iorti3_sse2, sse_xorti3_sse2.
3300 Mon Apr 29 17:03:24 CEST 2002 Jan Hubicka <jh@suse.cz>
3302 * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
3304 2002-04-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3306 * doc/contrib.texi (Contributors): Add Paolo Carlini and
3308 Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
3309 Refer to Objective-C instead of ObjC, SPARC instead of sparc,
3310 and CPU instead of cpu.
3312 Mon Apr 29 13:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
3314 * toplev.c (flag_if_conversion, flag_if_conversion2): New static
3316 (lang_independent_options): Add -fif-conversion, -fif-conversion2
3317 (rest_of_compilation): Do if conversion only when asked for.
3318 (parse_options_and_default_flags): Set new variables to 1 for -O1
3319 * invoke.texi (-fif-conversion, -fif-conversion2): Document.
3321 Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
3323 * i386.c (dbx64_register_map): Fix typo.
3325 Mon Apr 29 12:18:35 CEST 2002 Jan Hubicka <jh@suse.cz>
3327 * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
3328 real_one_half, real_bb_freq_max): New static variables.
3329 (debug_profile_bbauxs): Kill.
3330 (process_note_predictions): Kill unused variable.
3331 (block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
3333 (propagate_freq): Use REAL_ARITHMETICS.
3334 (estimate_bb_frequencies): Likevise; init new static variables.
3335 * Makefile.in (predict.o): Add dependency on real.h
3337 2002-04-28 David S. Miller <davem@redhat.com>
3340 * config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
3341 64-bit TARGET_V9. Do not use prefetch page, use prefetch for
3342 several {reads,writes} instead.
3343 * config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
3346 2002-04-27 David S. Miller <davem@redhat.com>
3349 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
3352 * config/sparc/linux.h, config/sparc/linux64.h: Don't bother
3353 including signal.h and sys/ucontext.h, not needed.
3355 2002-04-29 Hans-Peter Nilsson <hp@bitrange.com>
3357 * varasm.c (output_constant_def): Correct test for not calling
3358 ENCODE_SECTION_INFO for INTEGER_CST.
3360 2002-04-29 Neil Booth <neil@daikokuya.demon.co.uk>
3362 * cppexp.c (lex): Move some code to _cpp_parse_expr, but
3363 keep most cases as function eval_token.
3364 (eval_token): New function.
3365 (_cpp_parse_expr): Read token here for improved diagnostics.
3366 Don't use op_as_text. Detect bad ':' here.
3367 (reduce): Don't detect bad ':' here.
3368 (op_as_text): Remove.
3369 * cpphash.h (_cpp_test_assertion): Change prototype.
3370 * cpplib.c (_cpp_test_assertion): Change prototype.
3372 2002-04-28 Richard Henderson <rth@redhat.com>
3375 * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
3376 (ggc_mark_rtx_children): New.
3378 2002-04-28 Jakub Jelinek <jakub@redhat.com>
3381 * config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
3382 after call peepholes for UltraSPARC.
3383 (call + jump 64-bit peepholes): Remove.
3385 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3388 * config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
3389 result as temporary value.
3391 2002-04-28 Jakub Jelinek <jakub@redhat.com>
3394 * toplev.c (rest_of_compilation): Only run regrename and copy
3395 propagation if optimizing.
3397 2002-04-28 Jakub Jelinek <jakub@redhat.com>
3399 PR optimization/6475
3400 * reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
3401 register of REGNO_DECL (i).
3402 * Makefile.in (reload1.o): Add $(TREE_H).
3404 2002-04-28 Neil Booth <neil@daikokuya.demon.co.uk>
3406 * cppexp.c (lex): Update to use state.skip_eval.
3407 (struct op): Remove prio and flags members.
3408 (FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
3409 SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
3410 (LEFT_ASSOC): New macro.
3411 (optab): New table of operator priorities and flags.
3413 (_cpp_parse_expr): Clean up logic. Return bool. Use a
3414 malloc-ed parser stack.
3415 (reduce): New; reduce the operator stack.
3416 (_cpp_expand_op_stack): Expand the operator stack as necessary.
3417 * cpphash.h (struct op): Predeclare.
3418 (struct cpp_reader): New members op_stack, op_limit.
3419 (struct lexer_state): New member skip_eval.
3420 (_cpp_parse_expr): Update.
3421 (_cpp_expand_op_stack): New.
3422 * cpplib.c (do_if): Update.
3423 * cppinit.c (cpp_create_reader): Create op stack.
3424 (cpp_destroy): And destroy it.
3425 * cpplib.h (CPP_LAST_CPP_OP): Correct.
3426 (TTYPE_TABLE): Correct.
3428 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3431 * c-decl.c (duplicate_decls): Call merge_weak.
3432 * c-pragma.c (apply_pragma_weak): Warn about misuse.
3433 * output.h (merge_weak): Prototype merge_weak.
3434 * varasm.c (merge_weak): New function.
3435 (declare_weak): Make sure we don't give an error on VAR_DECLs.
3436 Mark RTL with SYMBOL_REF_WEAK.
3438 2002-04-27 Kurt Garloff <garloff@suse.de>
3440 * tree-inline.c (inlinable_function_p): Improve heuristics
3441 by using a smoother function to cut down allowable inlinable size.
3442 * param.def: Add parameters max-inline-insns-single,
3443 max-inline-slope, min-inline-insns that determine the exact
3444 shape of the above function.
3445 * param.h: Likewise.
3447 2002-04-26 Richard Henderson <rth@redhat.com>
3449 * c-parse.in (malloced_yyss, malloced_yyvs): New.
3450 (yyoverflow): Re-add. Set them.
3451 (free_parser_stacks): New.
3452 * c-common.h: Declare it.
3453 * c-lex.c (c_common_parse_file): Call it.
3455 2002-04-26 Richard Henderson <rth@redhat.com>
3457 * cfgrtl.c (tidy_fallthru_edge): Don't use next_real_insn
3458 for fallthru search.
3460 2002-04-26 Eric Christopher <echristo@redhat.com>
3462 PR optimization/3700
3463 * config/mips/mips.c (mips_issue_rate): Define. New function.
3464 (TARGET_SCHED_ISSUE_RATE): Use.
3466 2002-04-25 David S. Miller <davem@redhat.com>
3469 * reorg.c (optimize_skip): Do not allow exception causing
3470 instructions to be considered for delay slots.
3471 (fill_simply_delay_slots, fill_slots_from_thread): Likewise.
3472 (relax_delay_slots): Do not try to consider exception causing
3473 instructions as redundant.
3475 2002-04-26 Richard Henderson <rth@redhat.com>
3478 * c-typeck.c (build_unary_op) [CONVERT_EXPR]: Invoke non_lvalue.
3480 2002-04-26 Mark Mitchell <mark@codesourcery.com>
3483 * config/i386/i386.md (untyped_call): Return the value in a float
3484 register if TARGET_FLOAT_RETURNS_IN_80387, not just if
3487 2002-04-26 Alexandre Oliva <aoliva@redhat.com>
3489 * tree.c (tree_int_cst_lt): Compare constants whose types differ
3490 in unsigned-ness correctly.
3492 2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
3494 * pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
3495 portable runtime model.
3497 2002-04-26 Richard Henderson <rth@redhat.com>
3499 * c-parse.in (yyoverflow): Revert.
3501 2002-04-26 David Edelsohn <edelsohn@gnu.org>
3502 Richard Henderson <rth@redhat.com>
3504 * config/rs6000/rs6000.md (sCC pattern): Remove clobber and use
3505 result as temporary value.
3507 2002-04-26 Richard Henderson <rth@redhat.com>
3510 * c-common.c (fix_string_type): Split out of ...
3511 (combine_strings): ... here. Take a varray, not a tree list.
3512 (c_expand_builtin_printf): Use fix_string_type.
3513 * c-common.h: Update decls.
3514 * c-parse.in (string): Remove. Update all uses to use STRING
3515 instead, and not call combine_strings.
3518 * c-typeck.c (simple_asm_stmt): Don't call combine_strings.
3519 (build_asm_stmt): Likewise.
3520 * objc/objc-act.c (my_build_string): Use fix_string_type.
3521 (build_objc_string_object): Build varray for combine_strings.
3523 2002-04-26 Bo Thorsen <bo@suse.co.uk>
3525 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Define for
3528 2002-04-26 Neil Booth <neil@daikokuya.demon.co.uk>
3530 * cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
3531 (HAVE_NO_R_OPERAND): Remove.
3532 (HAVE_VALUE): Remove.
3533 (op_to_prio): Update.
3534 (UNARY): Don't alter flags.
3535 (_cpp_parse_expr): want_value used to indicate whether
3536 a number or unary operator is expected next. Distinguish
3537 unary and binary +/-.
3538 (op_as_text): Update for unary operators.
3540 2002-04-25 Richard Henderson <rth@redhat.com>
3543 * c-parse.in (yyoverflow): New.
3545 2002-04-25 Richard Henderson <rth@redhat.com>
3548 * c-common.c (shorten_compare): Simplfy conditions leading to
3549 the generation of a warning.
3551 2002-04-25 Richard Henderson <rth@redhat.com>
3554 * expmed.c (extract_bit_field): Fall through to generic code rather
3555 than aborting on subreg special case.
3557 2002-04-25 David S. Miller <davem@redhat.com>
3559 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Add back check
3560 for DECL being NULL.
3562 2002-04-25 Steve Christiansen <smc@us.ibm.com>
3564 * doc/md.texi (Machine Constraints): Add IA-64 constraints.
3566 2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
3568 * c-decl.c (grokdeclarator): Remove outdated ??? note
3569 on invalid declaration of flexible array members.
3571 2002-04-25 Richard Henderson <rth@redhat.com>
3573 * doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
3575 2002-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3577 * config/s390/s390.c (s390_emit_epilogue): Always restore registers
3578 needed by the compiler, even if they are used as global regs.
3580 2002-04-25 Matt Hiller <hiller@redhat.com>
3582 * mips.c (mips_class_max_nregs, mips_register_move_cost): New
3584 * mips.h (CLASS_MAX_NREGS, REGISTER_MOVE_COST): Redefine as calls
3585 of the corresponding functions.
3586 * mips-protos.h (mips_class_max_nregs, mips_register_move_cost):
3589 2002-04-25 Matt Hiller <hiller@redhat.com>
3591 * config/mips/mips.h (mips_sw_reg_names): Declare as extern.
3593 (ALL_COP_ADDITIONAL_REGISTER_NAMES): New macro.
3594 (FIRST_PSEUDO_REGISTER): Redefine considering coprocessor
3595 registers, adjust comment accordingly.
3596 (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
3597 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGISTER_NAMES,
3598 DEBUG_REGISTER_NAMES, REG_ALLOC_ORDER): Adjust to include entries
3599 for coprocessor registers.
3600 (ADDITIONAL_REGISTER_NAMES): Include
3601 ALL_COP_ADDITIONAL_REGISTER_NAMES.
3603 (COP0_REG_FIRST, COP0_REG_LAST, COP0_REG_NUM,
3604 COP2_REG_FIRST, COP2_REG_LAST, COP2_REG_NUM,
3605 COP3_REG_FIRST, COP3_REG_LAST, COP3_REG_NUM,
3606 COP0_REG_P, COP2_REG_P, COP3_REG_P, ALL_COP_REG_P,
3607 COPNUM_AS_CHAR_FROM_REGNUM, COP_REG_CLASS_P): New macros.
3609 (mips_char_to_class): Adjust comment to include coprocessor
3612 * config/mips/mips.c (coprocessor_operand, coprocessor2_operand):
3614 (mips_reg_names, mips_regno_to_class): Include coprocessor
3616 (mips_sw_reg_names): Ditto, make non-static.
3617 (mips_move_1word): Handle moves to and from coprocessor registers.
3618 (mips_move_2words): Handle moves to and from coprocessor
3620 (mips_class_max_nregs, mips_register_move_cost): Handle
3621 coprocessor register classes.
3622 (override_options): Initialize mips_char_to_class and
3623 mips_hard_regno_mode_ok properly for coprocessor registers.
3625 * config/mips/mips.md (movdi_internal, movdi_internal2,
3626 movsi_internal1, movsi_internal2): Add constraint-sets for
3627 coprocessor registers.
3628 * testsuite/gcc.c-torture/mipscop-1.c: New testcase.
3629 * testsuite/gcc.c-torture/mipscop-1.x: Disable above if target
3631 * testsuite/gcc.c-torture/mipscop-2.c: New testcase.
3632 * testsuite/gcc.c-torture/mipscop-2.x: Disable above if target
3634 * testsuite/gcc.c-torture/mipscop-3.c: New testcase.
3635 * testsuite/gcc.c-torture/mipscop-3.x: Disable above if target
3637 * testsuite/gcc.c-torture/mipscop-4.c: New testcase.
3638 * testsuite/gcc.c-torture/mipscop-4.x: Disable above if target
3641 * doc/tm.texi: Document feature.
3643 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3645 * integrate.c (function_attribute_inlinable_p): Simplify.
3646 Check the table pointer is not NULL.
3648 2002-04-25 Steven Bosscher <S.Bosscher@student.tudelft.nl>
3650 * doc/c-tree.texi: Fix typo in introduction.
3652 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
3654 * c-common.h (c_common_parse_file): Update.
3655 * c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3656 * c-lex.c (YYDEBUG): Get from c-lex.h.
3657 (c_common_parse_file): Update.
3658 * c-lex.h (YYDEBUG, yydebug): New.
3659 * c-parse.in (YYDEBUG): Get from c-lex.h.
3660 (c_set_yydebug): Remove.
3661 * c-tree.h (c_set_yydebug): Remove.
3662 * langhooks-def.h (lhd_do_nothing_i): New.
3663 (lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
3664 (LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
3665 * langhooks.c (lhd_do_nothing_i): New.
3666 (lhd_set_yydebug): Remove.
3667 * langhooks.h (struct lang_hooks): Update.
3668 * toplev.c (set_yydebug): New.
3669 (compile_file): Update call to parse_file hook.
3670 (decode_d_option): Update.
3672 * objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
3674 Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
3676 * loop.c (load_mems): Don't change the interface of called functions.
3678 * calls.c (expand_call): Take current_function_pretend_args_size
3679 into account when setting argblock for sibcalls.
3681 2002-04-24 Matt Hiller <hiller@redhat.com>
3683 * cpplex.c: Remove conditional #undef of MULTIBYTE_CHARS.
3686 * cpplex.c (skip_line_comment): Process comment one multibyte
3687 character at a time rather than one char at a time, if
3689 (parse_string): Process string one multibyte character at a time
3690 rather than one char at a time, if appropriate.
3691 * c-lex.c (lex_string): Lex and copy multibyte strings
3693 * cpplib.h (cppchar_t): Change to unsigned.
3695 2002-04-24 Richard Henderson <rth@redhat.com>
3698 * c-decl.c (grokdeclarator): Don't pedwarn variable sized arrays
3701 Wed Apr 24 21:51:54 2002 J"orn Rennecke <joern.rennecke@superh.com>
3703 * sh.c (sh_va_arg): If argument was passed by reference,
3704 dereference the pointer.
3706 * sh.h (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
3708 * sh.md (divsi3_i4_media): Use match_operand for input values
3709 rather than hard registers.
3710 (divsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
3711 unnecessarily through hard registers. Keep copies of pseudo
3712 registers outside of the libcall sequence.
3714 * sh.md (casesi_shift_media): Add modes.
3716 * sh.h (RETURN_IN_MEMORY): Return variable size BLKmode
3719 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
3721 * attribs.c (c_common_attribute_table): Move table and handlers
3723 (format_attribute_table, lang_attribute_table,
3724 lang_attribute_common): Remove.
3725 (init_attributes): Replace NULL pointers with pointers to the
3727 (handle_packed_attribute, handle_nocommon_attribute,
3728 handle_common_attribute, handle_noreturn_attribute,
3729 handle_noinline_attribute, handle_always_inline_attribute,
3730 handle_used_attribute, handle_unused_attribute,
3731 handle_const_attribute, handle_transparent_union_attribute,
3732 handle_constructor_attribute, handle_destructor_attribute,
3733 handle_mode_attribute, handle_section_attribute,
3734 handle_aligned_attribute, handle_weak_attribute,
3735 handle_alias_attribute, handle_visibility_attribute,
3736 handle_no_instrument_function_attribute, handle_malloc_attribute,
3737 handle_no_limit_stack_attribute, handle_pure_attribute,
3738 handle_deprecated_attribute, handle_vector_size_attribute,
3739 vector_size_helper): Move to c-common.c.
3740 * c-common.c (c_common_attribute_table,
3741 handle_packed_attribute, handle_nocommon_attribute,
3742 handle_common_attribute, handle_noreturn_attribute,
3743 handle_noinline_attribute, handle_always_inline_attribute,
3744 handle_used_attribute, handle_unused_attribute,
3745 handle_const_attribute, handle_transparent_union_attribute,
3746 handle_constructor_attribute, handle_destructor_attribute,
3747 handle_mode_attribute, handle_section_attribute,
3748 handle_aligned_attribute, handle_weak_attribute,
3749 handle_alias_attribute, handle_visibility_attribute,
3750 handle_no_instrument_function_attribute, handle_malloc_attribute,
3751 handle_no_limit_stack_attribute, handle_pure_attribute,
3752 handle_deprecated_attribute, handle_vector_size_attribute,
3753 vector_size_helper): Move from attribs.c.
3754 * c-common.h (c_common_attribute_table,
3755 c_common_format_attribute_table): New.
3756 * c-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
3757 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
3758 * langhooks-def.h (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE,
3759 LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_ATTRIBUTE_TABLE): New.
3760 (LANG_HOOKS_INITIALIZER): Update.
3761 * langhooks.h (struct lang_hooks): 3 new attribute hooks.
3762 * target-def.h (TARGET_ATTRIBUTE_TABLE): Default to NULL.
3763 * target.h: Update comment.
3764 * tree.c (default_target_attribute_table): Remove.
3765 * tree.h (default_target_attribute_table, format_attribute_table,
3766 lang_attribute_table, lang_attribute_common): Remove.
3768 * objc-lang.c (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE,
3769 LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Redefine.
3771 2002-04-24 Jason Merrill <jason@redhat.com>
3773 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNU_vector.
3774 * dwarf2out.c (dwarf_attr_name): Support it.
3775 (gen_array_type_die): Emit it.
3776 (lookup_type_die): No special handling for VECTOR_TYPE.
3777 (gen_type_die): Hand VECTOR_TYPE off to gen_array_type_die.
3779 2002-04-24 Richard Henderson <rth@redhat.com>
3781 * config/mips/mips.md (movdi_usd): Renumber.
3783 2002-04-24 David S. Miller <davem@redhat.com>
3786 * config/sparc/sparc.h (FUNCTION_OK_FOR_SIBCALL): Return false if
3787 32-bit Sparc and current_function_returns_struct is true.
3789 Wed Apr 24 13:48:25 CEST 2002 Jan Hubicka <jh@suse.cz>
3791 * loop.c (canonicalize_condition): Use gen_int_mode.
3793 2002-04-24 Aldy Hernandez <aldyh@redhat.com>
3795 * config/rs6000/altivec.h: Cleanup file. Add non individual
3817 (vec_vcmpequb): New.
3818 (vec_vcmpequh): New.
3819 (vec_vcmpequw): New.
3820 (vec_vcmpeqfp): New.
3821 (vec_vcmpgefp): New.
3822 (vec_vcmpgtub): New.
3823 (vec_vcmpgtsb): New.
3824 (vec_vcmpgtuh): New.
3825 (vec_vcmpgtsh): New.
3826 (vec_vcmpgtuw): New.
3827 (vec_vcmpgtsw): New.
3828 (vec_vcmpgtfp): New.
3829 (vec_vcmpgefp): New.
3834 (vec_vexptefp): New.
3839 (vec_lde): Add vector float variant.
3844 (vec_vmhaddshs): New.
3866 (vec_vmladduhm): New.
3867 (vec_vmhraddshs): New.
3869 (vec_vmsummbm): New.
3870 (vec_vmsumuhm): New.
3871 (vec_vmsumshm): New.
3872 (vec_vmsumuhs): New.
3873 (vec_vmsumshs): New.
3882 (vec_vnmsubfp): New.
3900 (vec_vrsqrtefp): New.
3911 (vec_vspltisb): New.
3912 (vec_vspltish): New.
3913 (vec_vspltisw): New.
3938 (vec_vsum4ubs): New.
3939 (vec_vsum4sbs): New.
3940 (vec_vsum4shs): New.
3941 (vec_vsum2sws): New.
3952 2002-04-23 Eric Botcazou <ebotcazou@multimania.com>
3955 * fold-const.c (split_tree): Add MINUS_LITP parameter; separate
3956 added literals from substracted literals.
3957 (associate_trees): Don't convert MINUS_EXPR into PLUS_EXPR.
3958 (fold) [associate]: Preserve MINUS_EXPR if needed.
3960 2002-04-23 Zack Weinberg <zack@codesourcery.com>
3962 * doc/install.texi: Clarify which versions of alpha*-dec-osf*
3965 2002-04-23 Tom Tromey <tromey@redhat.com>
3967 * gcc.c: Added --resource. For PR java/6314.
3969 2002-04-23 David O'Brien <obrien@FreeBSD.org>
3971 * cp/g++spec.c: Use profiled libstdc++ and libm with -p/-pg.
3972 * config/freebsd.h (MATH_LIBRARY_PROFILE): Use the _p verions of
3975 2002-04-23 David O'Brien <obrien@FreeBSD.org>
3977 * config/freebsd.h(OBJECT_FORMAT_ELF): Define.
3979 Tue Apr 23 14:24:25 CEST 2002 Jan Hubicka <jh@suse.cz>
3981 * i386.c (ix86_output_addr_diff_elt): Avoid x86_64 binutils bug
3983 (ix86_expand_int_movcc): Avoid x86_64 compilation chrash.
3984 (ix86_expand_clrstr): Fix typo.
3985 * loop.c (gen_load_of_final_value): New.
3986 (loop_givs_rescan, strength_reduce, check_dbra_loop):
3989 2002-04-23 Roger Sayle <roger@eyesopen.com>
3991 * builtins.c (builtin_memset_gen_str): New function.
3992 (expand_builtin_memset): Optimize the case of constant length, but
3995 2002-04-23 Aldy Hernandez <aldyh@redhat.com>
3997 * config/rs6000/altivec.h (vec_step): Remove extraneous
3999 (vec_ctu): Cast return.
4001 2002-04-23 Alan Modra <amodra@bigpond.net.au>
4004 * function.h: (struct function): Add profile_label_no field.
4005 (current_function_profile_label_no): Define.
4006 * function.c: (profile_label_no): New static var.
4007 (expand_function_start): Increment it, and copy to
4008 current_function_profile_label_no.
4009 * output.h (profile_label_no): Delete.
4010 * final.c (profile_label_no): Delete.
4011 (profile_function): Use current_function_profile_label_no.
4012 (final_end_function): Don't increment profile_label_no here.
4013 * config/i386/i386.c (ix86_osf_output_function_prologue): Replace
4014 profile_label_no with current_function_profile_label_no.
4015 * config/pa/pa.c (current_function_number): Delete.
4016 (pa_output_function_prologue): Don't output profile label here.
4017 (hppa_profile_hook): Use label_no param rather than
4018 current_function_number.
4019 (FUNC_BEGIN_PROLOG_LABEL): Move to ..
4020 * config/pa/pa.h: .. here.
4021 (FUNCTION_PROFILER): Output profile label here.
4023 2002-04-22 Eric Christopher <echristo@redhat.com>
4025 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Revert
4026 patch of 2002-04-09 due to binutils issues.
4027 (FUNCTION_ARG_REGNO_P): Ensure even numbered float register.
4029 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
4031 * config/rs6000/rs6000.md ("*movv4si_internal"): Change 'm'
4032 constraint to 'o' for m=r and r=m alternatives.
4033 ("*movv8hi_internal1"): Same.
4034 ("*movv16qi_internal1"): Same.
4035 ("*movv4sf_internal1"): Same.
4037 2002-04-22 Janis Johnson <janis187@us.ibm.com>
4039 * rtl.h (RTX_FLAG): New macro.
4040 * emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
4041 * final.c (alter_subreg): Use macro to access rtx flag.
4042 * integrate.c (copy_rtx_and_substitute): Use new access macro.
4043 * print-rtl.c (print_rtx): Use new access macro.
4045 * cse.c (insert): Check rtx code before accessing flag.
4047 * genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
4048 ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
4049 (attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
4050 convert_const_symbol_ref, make_canonical, make_alternative_compare,
4051 evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
4052 simplify_test_exp, optimize_attrs, simplify_by_exploding,
4053 find_and_mark_used_attributes, unmark_used_attributes,
4054 add_values_to_cover, simplify_with_current_value,
4055 simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
4056 copy_rtx_unchanging, main): Use new access macros.
4058 2002-04-22 Tom Rix <trix@redhat.com>
4060 * expmed.c (init_expmed): Generate shifted constant once.
4062 2002-04-22 Zack Weinberg <zack@codesourcery.com>
4064 * c-lex.c (lex_charconst): Call convert to get constant in
4065 proper type; don't just smash the type field.
4068 * config.gcc: Add list of obsolete configurations. Disallow
4069 building these without --enable-obsolete.
4070 * doc/install.texi: Document --enable-obsolete and obsoletion
4071 policy. Mention obsoletion of individual targets in
4074 2002-04-22 Richard Henderson <rth@redhat.com>
4076 * config/sparc/sol2-bi.h (ASM_DEBUG_SPEC): New.
4078 2002-04-22 Mark Mitchell <mark@codesourcery.com>
4081 * function.c (fixup_memory_subreg): Add promoted_mode parameter.
4082 (walk_fixup_memory_subreg): Likewise.
4083 (fixup_var_refs_insn): Adjust accordingly.
4084 (fixup_var_refs_1): Likewise.
4086 2002-04-22 Ulrich Weigand <uweigand@de.ibm.com>
4088 * config/s390/linux.h: (LIBPATH_SPEC, LIBPATH_ARCH31_SPEC,
4089 LIBPATH_ARCH64_SPEC): Define.
4090 (EXTRA_SPECS): Add libpath, libpath_arch31, libpath_arch64.
4091 (STARTFILE_SPEC, ENDFILE_SPEC): Define; use libpath.
4092 (LINK_ARCH31_SPEC): Add libpath_arch31 to search path.
4093 (LINK_ARCH64_SPEC): Add libpath_arch64 to search path.
4095 2002-04-22 Joel Sherrill <joel@OARcorp.com>
4097 * gthr-rtems.h: Correct prototypes to remove warnings.
4099 2002-04-22 Richard Henderson <rth@redhat.com>
4102 * alias.c (canon_true_dependence): Special case (mem:blk (scratch)).
4104 * gcse.c (free_insn_expr_list_list): New.
4105 (clear_modify_mem_tables): Use it. Fix bit set usage.
4106 (canon_list_insert): Use EXPR_LISTs for expressions.
4107 (record_last_mem_set_info): Factor BLOCK_NUM (insn).
4109 2002-04-22 Neil Booth <neil@daikokuya.demon.co.uk>
4111 * cppfiles.c (_cpp_pop_file_buffer): Return void. Move
4112 file change and include code to _cpp_pop_buffer.
4113 * cpphash.h (struct pending_option): Predeclare.
4114 (struct cpp_reader): New member next_include_file.
4115 (_cpp_pop_file_buffer): Update.
4116 (_cpp_push_next_buffer): Update, rename.
4117 * cppinit.c (cpp_destroy): Free include chain and pending here.
4118 (cpp_finish_options): Simplify.
4119 (_cpp_push_next_buffer): Rename and clean up.
4120 * cpplib.c (cpp_pop_buffer): Move code from _cpp_pop_file_buffer.
4122 * cppmacro.c (cpp_scan_nooutput): Set return_at_eof here.
4124 2002-04-22 Aldy Hernandez <aldyh@redhat.com>
4126 * config/rs6000/altivec.h (vec_xor): Add variant for both args
4127 being vector signed int.
4129 (vec_xor): Add variant for both args being vector signed char.
4130 Remove redundant variant.
4133 2002-04-21 David S. Miller <davem@redhat.com>
4135 * config/sparc/sparc.md (set then compare DI mode peephole2): Fix
4136 compare mode in output RTL.
4138 2002-04-22 David Edelsohn <edelsohn@gnu.org>
4140 * config/rs6000/rs6000.c (rs6000_override_options): Correct
4141 style and formatting of previous patch.
4143 2002-04-22 Alan Modra <amodra@bigpond.net.au>
4145 * config/rs6000/rs6000.c (rs6000_override_options): Always clear
4146 flag_pic for ABI_AIX.
4148 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
4150 * cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
4151 * cppfiles.c (read_include_file): Similarly.
4152 * cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
4153 uxstrdup ustrchr, ufputs): Similarly.
4154 * cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
4155 * cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
4156 cpp_ideq, parse_identifier, parse_number): Similarly.
4157 * cpplib.c (struct directive, dequote_string, D, run_directive,
4158 cpp_push_buffer): Similarly.
4159 * cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
4160 _cpp_create_definition, check_trad_stringification,
4161 cpp_macro_definition): Similarly.
4163 2002-04-21 Neil Booth <neil@daikokuya.demon.co.uk>
4165 * cppmacro.c (funlike_invocation_p): Don't step back
4168 2002-04-21 David Edelsohn <edelsohn@gnu.org>
4170 * config/rs6000/rs6000.c (output_profile_hook): Do not increment
4173 2002-04-20 Joseph S. Myers <jsm28@cam.ac.uk>
4175 * doc/invoke.texi: Remove Chill references.
4176 * doc/gcc.texi: Update last modified date.
4178 2002-04-20 Kazu Hirata <kazu@hxi.com>
4180 * config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
4181 push and pop. Replace add.l with add.w.
4183 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4185 * config/h8300/lib1funcs.asm (___mulsi3): Use hardware
4186 multiply instructions for H8/300H case.
4188 2002-04-20 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4190 * config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
4191 Bum three instructions from each routine.
4193 2002-04-20 Neil Booth <neil@daikokuya.demon.co.uk>
4195 * Makefile.in: Update.
4196 * decl.c (push_c_function_context, pop_c_function_context,
4197 mark_c_function_context): Rename for consistency.
4198 * c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
4199 * c-tree.h (push_c_function_context, pop_c_function_context,
4200 mark_c_function_context): Rename for consistency.
4201 * c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4202 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4203 * function.c (init_lang_status, save_lang_status,
4204 restore_lang_status, mark_lang_status, free_lang_status):
4205 Move to langhooks.h.
4206 (push_function_context_to, pop_function_context_from,
4207 free_after_parsing, prepare_function_start, ggc_mark_struct_function):
4209 * function.h (init_lang_status, save_lang_status,
4210 restore_lang_status, mark_lang_status, free_lang_status):
4211 Move to langhooks.h.
4212 * langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
4213 LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
4214 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
4215 LANG_HOOKS_FUNCTION_INITIALIZER): New.
4216 (LANG_HOOKS_INITIALIZER): Update.
4217 (lhd_do_nothing_f): New.
4218 * langhooks.h (struct lang_hooks_for_functions): New.
4219 (struct lang_hooks): New hooks.
4220 * langhooks.c (lhd_do_nothing_f): New.
4222 * objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
4223 LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
4225 2002-04-19 David S. Miller <davem@redhat.com>
4227 * config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
4228 * config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.
4230 2002-04-19 Jakub Jelinek <jakub@redhat.com>
4232 PR optimization/3756
4233 * config/i386/i386.c (ix86_expand_int_movcc): Optimize
4234 x = ((int) y < 0) ? cst1 : cst2.
4236 2002-04-19 Jakub Jelinek <jakub@redhat.com>
4239 * function.c: Reapply patch for c/6358.
4240 (expand_function_end): Copy decl_rtl's mode, not
4241 current_function_return_rtx mode.
4243 2002-04-19 Joel Sherrill <joel@OARcorp.com>
4245 * config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
4248 2002-04-19 Tom Tromey <tromey@redhat.com>
4250 * doc/install.texi (Specific): Update status of Solaris 2.8.
4253 2002-04-19 Andreas Schwab <schwab@suse.de>
4255 * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
4256 (PUT_REAL): Restore old definition.
4258 2002-04-19 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
4259 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4261 * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
4262 binutils 2.11.2 and higher generate smaller binaries than Sun's
4265 2002-04-19 Mark Mitchell <mark@codesourcery.com>
4268 * toplev.c (rest_of_compilation): Do not defer functions for which
4269 TREE_SYMBOL_REFERENCED has already been set.
4271 Fri Apr 19 15:53:03 CEST 2002 Jan Hubicka <jh@suse.cz>
4273 * i386.md (movsi_1, movhi_1): Force reload to use more flexible
4276 2002-04-19 Neil Booth <neil@daikokuya.demon.co.uk>
4278 * builtins.c: Include langhooks.h.
4279 (lang_type_promotes_to): Remove.
4280 (expand_builtin_va_arg): Use new hook.
4281 * c-common.c (c_common_nodes_and_builtins): Don't set hook.
4282 (simple_type_promotes_to): Move to c-typeck.c.
4283 * c-common.h (simple_type_promotes_to): Remove.
4284 * c-decl.c (duplicate_decls, grokdeclarator): Update.
4285 * c-format.c: Include langhooks.h.
4286 (check_format_types): Update.
4287 * c-tree.h (c_type_promotes_to): New.
4288 * c-typeck.c (c_type_promotes_to): Move from c-common.c.
4289 (type_lists_compatible_p): Update.
4290 * langhooks-def.h (lhd_type_promotes_to): New.
4291 (LANG_HOOKS_TYPE_PROMOTES_TO): New.
4292 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4293 * langhooks.c (lhd_type_promotes_to): New.
4294 * langhooks.h (struct lang_hooks_for_types): New hook.
4295 * tree.h (lang_type_promotes_to): Remove.
4297 * objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
4299 2002-04-18 Richard Henderson <rth@redhat.com>
4301 * function.c: Revert patch for c/6358.
4303 2002-04-18 Richard Henderson <rth@redhat.com>
4305 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
4306 blocks. Handle multiple references to the TRAP block. Handle
4307 non-adjacent THEN and OTHER blocks.
4309 2002-04-18 Richard Henderson <rth@redhat.com>
4311 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
4312 crash with no type for by-mode libcalls.
4314 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
4316 2002-04-18 Bob Wilson <bob.wilson@acm.org>
4318 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4319 __xtensa_nonlocal_goto): Use a syscall instructions to flush
4320 the register windows.
4322 2002-04-18 Zack Weinberg <zack@codesourcery.com>
4324 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
4325 appropriate. Document need for extended precision even when
4326 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
4327 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
4328 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
4329 instead of relying on later syntax error when REAL_WIDTH > 5.
4330 * real.c: Define NE based only on whether or not we have a
4331 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
4332 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
4333 define GET_REAL and PUT_REAL as simple memcpy operations; no
4334 need to byteswap or round.
4335 Use #error instead of #ifdef-ing out the entire file, for
4336 prompt error detection.
4338 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
4340 2002-04-18 David S. Miller <davem@redhat.com>
4342 * config/sparc/sparc.h (BRANCH_COST): Define.
4344 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
4347 2002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
4349 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
4350 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
4351 propagate_block calls after relaxation loop using new variable
4352 stabilized_prop_flags.
4354 2002-04-18 Richard Henderson <rth@redhat.com>
4356 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
4357 (ia64_va_arg): Expect variable sized types by reference.
4358 * config/ia64/ia64-protos.h: Update.
4359 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
4360 ia64_function_arg_pass_by_reference.
4362 2002-04-18 Richard Henderson <rth@redhat.com>
4364 * ifcvt.c: Include except.h.
4365 (block_has_only_trap): Break out from find_cond_trap.
4366 (find_cond_trap): Use it. Always delete the trap block.
4367 (merge_if_block): Allow then block null. Be less simplistic about
4368 what insns can end a block.
4369 * Makefile.in (ifcvt.o): Depend on except.h.
4371 * config/ia64/ia64.md (trap, conditional_trap): New.
4373 2002-04-18 Jakub Jelinek <jakub@redhat.com>
4376 * function.c (assign_parms): Assign hard current_function_return_rtx
4378 (expand_function_end): ...not here.
4380 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
4382 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4383 * c-tree.h (c_incomplete_type_error): New.
4384 * c-typeck.c (require_complete_type, build_component_ref): Update.
4385 (incomplete_type_error): Rename.
4386 * langhooks-def.h (lhd_incomplete_type_error): New.
4387 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
4388 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
4389 * langhooks.c (lhd_incomplete_type_error): New.
4390 * langhooks.h (struct lang_hooks_for_types): New hook.
4391 * tree.c (size_in_bytes): Use new hook.
4392 * tree.h (incomplete_type_error): Remove.
4394 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
4396 2002-04-18 Zack Weinberg <zack@codesourcery.com>
4398 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
4399 TARGET_FLOAT_FORMAT blocks.
4401 2002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4403 * doc/install.texi (Downloading the source): Do not mention Chill
4404 any longer, but mention Ada.
4405 (Configuration): Do not mention Chill any longer.
4407 2002-04-18 Hans-Peter Nilsson <hp@axis.com>
4409 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
4411 Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
4413 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
4416 2002-04-18 Jakub Jelinek <jakub@redhat.com>
4418 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
4419 instead of unsigned_type.
4421 Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
4423 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
4424 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
4427 2002-04-18 Bernd Schmidt <bernds@redhat.com>
4429 * attribs.c (vector_type_node_list): New static variable.
4430 (handle_vector_size_attribute): Use it to avoid generating a
4431 new type node each time we are called.
4433 * combine.c (subst): Avoid trying to make a vector mode subreg of
4434 an integer constant.
4435 (gen_lowpart_for_combine): Likewise.
4437 2002-04-18 Roger Sayle <roger@eyesopen.com>
4438 Jakub Jelinek <jakub@redhat.com>
4440 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
4441 for integer constant c (if x has unsigned type or sign bit is not
4442 set in c). This folds the zero/sign extension into the bit-wise and
4445 2002-04-18 Jakub Jelinek <jakub@redhat.com>
4448 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
4451 2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
4453 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
4455 2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
4457 * gcc.c (read_specs): Detect and fail if an attempt is made to
4458 rename a spec string to an already existing string.
4460 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4462 * config/s390/s390.c (legitimize_pic_address): Do not generate
4463 illegal address constant without CONST.
4465 2002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4467 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
4468 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
4470 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4472 PR optimization/6305
4473 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
4474 to make sure previous reloads are taken into account. Generate
4475 better code if one operand is an in-range immediate constant.
4477 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
4479 * doc/install.texi (Building): libgcj requires GNU make.
4481 2002-04-17 Jakub Jelinek <jakub@redhat.com>
4484 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
4485 even if hard quad and register is not floating.
4486 (movtf reg<-mem split): Disallow splitting if hard quad and
4487 register is floating.
4488 (movtf mem<-reg split): Likewise.
4489 * config/sparc/sparc.c (fp_register_operand): New predicate.
4490 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
4492 2002-04-17 Zack Weinberg <zack@codesourcery.com>
4494 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
4495 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
4496 (unprotoize.o): Ditto. Build from protoize.c. Define
4497 UNPROTOIZE on command line.
4498 * protoize.c: Include cppdefault.h. Delete include_defaults.
4499 (in_system_include_dir): Use cpp_include_defaults (defined in
4501 * unprotoize.c: Delete file.
4503 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
4505 * config/rs6000/altivec.h (vec_ld): Add array variants.
4509 2002-04-17 Alan Matsuoka <alanm@redhat.com>
4510 Aldy Hernandez <aldyh@redhat.com>
4512 * config/rs6000/altivec.h: Define __ALTIVEC__.
4519 Add parentheses to all macro arguments.
4521 2002-04-16 Richard Henderson <rth@redhat.com>
4524 * except.c (remove_eh_handler): Insert inner regions at beginning
4525 of sibling chain. Refactor expressions.
4527 2002-04-16 Richard Henderson <rth@redhat.com>
4529 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
4530 * config/sparc/sol2-gas-bi.h: New file.
4531 * config.gcc (sparc*-solaris): Add it as needed.
4532 * configure.in (AS_SPARC64_FLAG): Remove check.
4533 * config.in, configure: Regenerate.
4535 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
4537 2002-04-16 Richard Henderson <rth@redhat.com>
4539 * config/mips/mips.c (override_options): Don't override N32 for
4543 * config/mips/mips.md (can_delay): Split out of existing define_delays.
4544 (HILO_delay): Set can_delay false.
4546 2002-04-16 Dale Johannesen <dalej@apple.com>
4548 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
4549 instruction addresses.
4550 (rs6000_output_function_epilogue): Likewise.
4552 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
4554 * c-parse.in (poplevel, compstmt_start,
4555 compstmt_primary_start): Add ending ';', in accordance
4558 2002-04-16 Richard Henderson <rth@redhat.com>
4560 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
4561 Adjust tm_file order to get TARGET_DEFAULT set properly.
4562 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
4563 * doc/install.texi (sparc-solaris): Update.
4565 2002-04-16 Dale Johannesen <dalej@apple.com>
4567 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
4568 comparison operands do not match each other or if modes of
4569 conditions do not match result.
4571 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
4574 * config/s390/s390.md (mulsidi3): Set both subregs of the
4577 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
4579 * config/rs6000/altivec.h (vec_addc): Type check.
4581 2002-04-16 Jakub Jelinek <jakub@redhat.com>
4584 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
4586 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
4588 2002-04-15 Richard Henderson <rth@redhat.com>
4590 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
4591 call_really_used_regs too.
4593 2002-04-15 Richard Henderson <rth@redhat.com>
4595 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
4597 2002-04-15 David S. Miller <davem@redhat.com>
4599 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
4602 2002-04-16 Jakub Jelinek <jakub@redhat.com>
4605 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
4606 CONST_VECTOR is { 0, ... 0 }.
4608 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
4610 * doc/install.texi (Installing GCC: Configuration): Clarify
4611 the only supported ways to configure gcc.
4613 2002-04-15 Roland McGrath <roland@frob.com>
4615 * config.gcc (alpha*-*-gnu*): New target configuration.
4616 * config/alpha/gnu.h: New file for it.
4617 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
4619 2002-04-16 Mark Mitchell <mark@codesourcery.com>
4621 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
4622 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
4623 * tree.h (expand_start_stmt_expr): Update prototype.
4624 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
4625 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
4626 on the STMT_EXPR created for the inline function.
4628 2002-04-15 Richard Henderson <rth@redhat.com>
4630 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
4631 config/i386/linux-aout.h, config/i386/linux-oldld.h,
4632 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
4633 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
4634 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
4635 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
4636 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
4637 Define __gnu_linux__, not gnu_linux.
4638 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
4640 2002-04-15 Mark Mitchell <mark@codesourcery.com>
4642 Remove Chill front end.
4643 * gcc.c (default_compilers): Remove Chill entries.
4644 * ch: Remove directory.
4645 * doc/frontends.texi: Remove information about Chill.
4646 * doc/sourcebuild.texi: Likewise.
4647 * doc/standards.texi: Likewise.
4649 2002-04-15 Douglas B Rupp <rupp@gnat.com>
4651 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
4652 (LONGLONG_STANDALONE): Define.
4654 2002-04-15 David S. Miller <davem@redhat.com>
4656 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
4657 Call emit_library_call with LCT_NORMAL.
4658 (sparc_initialize_trampoline): Use LCT_foo instead of
4659 magic constant in emit_library_call invocations.
4660 (sparc64_initialize_trampoline): Likewise.
4661 (sparc_profile_hook): Likewise.
4662 * config/sparc/sparc.md: Likewise.
4664 * config/sparc/sparc.c (sparc_extra_constraint_check):
4665 Fix type of argument 'c'.
4666 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
4669 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4671 * diagnostic.h (output_buffer_state): Redefine.
4672 (output_format_decoder): New macro.
4673 (output_prefixing_rule): Likewise.
4674 (output_line_cutoff): Likewise.
4675 (diagnostic_format_decoder): Adjust.
4676 (diagnostic_prefixing_rule): Likewise.
4677 (diagnostic_line_cutoff): Likewise.
4678 (diagnostic_state): Likewise.
4679 (diagnostic_kind_count): Likewise.
4680 (diagnostic_buffer): Now a macro.
4682 * diagnostic.c (diagnostic_buffer): Remove definition.
4683 (output_is_line_wrapping): Adjust.
4684 (set_real_maximum_length): Likewise.
4685 (output_set_maximum_length): Likewise.
4686 (init_output_buffer): Likewise.
4687 (lhd_print_error_function): Likewise.
4688 (output_do_verbatim): Likewise.
4690 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
4692 * cpperror.c (print_location): Don't print include chain
4694 (cpp_begin_message): Update to use DL_ macros.
4695 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
4696 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4697 cpp_notice, cpp_notice_from_errno): Remove.
4698 (cpp_error, cpp_error_with_line): Update to take a diagnostic
4701 * cppexp.c (CPP_ICE): Remove.
4702 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
4703 lex, integer_overflow, _cpp_parse_expr): Update.
4704 * cppfiles.c (read_include_file, find_include_file,
4705 handle_missing_header, _cpp_read_file, remap_filename): Update.
4706 * cpphash.h (enum error_type): Remove.
4707 (_cpp_begin_message): Update.
4708 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
4709 cpp_handle_option, cpp_post_options): Update.
4710 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
4711 skip_whitespace, parse_identifier, parse_slow, parse_string,
4712 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
4713 cpp_interpret_charconst): Update.
4714 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
4715 lex_macro_node, do_undef, glue_header_name, parse_include,
4716 do_include_common, read_flag, do_line, do_linemarker, do_ident,
4717 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
4718 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
4719 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
4720 _cpp_pop_buffer, do_diagnostic): Update.
4721 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
4722 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
4723 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
4724 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
4725 cpp_notice, cpp_notice_from_errno): Remove.
4726 (cpp_error, cpp_error_with_line): Update to take a diagnostic
4729 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
4730 collect_args, enter_macro_context, save_parameter, parse_params,
4731 _cpp_create_definition, check_trad_stringification,
4732 cpp_macro_definition): Update.
4733 * cppmain.c (cpp_preprocess_file): Update.
4734 * fix-header.c (read_scan_file): Update.
4736 2002-04-14 Andreas Schwab <schwab@suse.de>
4738 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
4740 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
4742 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
4744 2002-04-13 Mark Mitchell <mark@codesourcery.com>
4746 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
4749 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
4751 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
4753 2002-04-13 Joel Sherrill <joel@OARcorp.com>
4755 * config/sparc/t-elf: Enable v8 multilibs. Impacts
4756 sparc-elf and sparc-rtems targets.
4758 2002-04-13 Mark Mitchell <mark@codesourcery.com>
4760 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
4761 defined, and __gnu_hurd__ wherever __GNU__ is defined.
4762 * arm/linux-elf.h: Likewise.
4763 * cris/aout.h: Likewise.
4764 * cris/linux.h: Likewise.
4765 * i370/linux.h: Likewise.
4766 * i386/gnu.h: Likewise.
4767 * i386/linux-aout.h: Likewise.
4768 * i386/linux-oldld.h: Likewise.
4769 * i386/linux.h: Likewise.
4770 * i386/linux64.h: Likewise.
4771 * ia64/linux.h: Likewise.
4772 * m68k/linux-aout.h: Likewise.
4773 * m68k/linux.h: Likewise.
4774 * mips/linux.h: Likewise.
4775 * pa/pa-linux.h: Likewise.
4776 * pj/linux.h: Likewise.
4777 * rs6000/sysv4.h: Likewise.
4778 * s390/linux.h: Likewise.
4779 * sh/linux.h: Likewise.
4780 * sparc/linux-aout.h: Likewise.
4781 * sparc/linux.h: Likewise.
4782 * sparc/linux64.h: Likewise.
4783 * xtensa/linux.h: Likewise.
4785 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
4787 * stmt.c (check_unique_operand_names): Expect operand names to
4788 be strings rather than identifiers. Use simple_cst_equal to
4790 (resolve_operand_name_1): Make same identifier to string change here.
4791 * c-parse.in (asm_operand): Convert a named operand into a string.
4792 * cp/parse.y (asm_operand): Likewise.
4794 2002-04-13 Andreas Schwab <schwab@suse.de>
4796 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
4798 2002-04-12 Mark Mitchell <mark@codesourcery.com>
4800 Revert these changes:
4802 2002-04-06 Mark Mitchell <mark@codesourcery.com>
4805 * stor-layout.c (layout_decl): Reset the RTL for the decl.
4807 2002-04-12 Richard Henderson <rth@redhat.com>
4809 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
4810 (sparc*-*-solaris): Clean up header files.
4811 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
4812 and plan on generating 64-bit code.
4813 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
4814 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
4815 * config/sparc/sol2-sld-64.h: Rename ...
4816 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
4817 for AS_SPARC64_FLAG not defined.
4818 * config/sparc/sol2-gld-bi.h: New.
4819 * config/sparc/sol2-sld.h: Remove.
4820 * config/sparc/sol26-sld.h: New.
4821 * config/sparc/sol2.h: Tidy comments.
4822 * doc/install.texi: Document sparc-solaris configury changes.
4824 2002-04-12 Richard Henderson <rth@redhat.com>
4826 * recog.c (offsettable_address_p): Match the logic in adjust_address.
4828 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
4829 in 64-bit mode only. Use only for 32-bit or MEDLOW.
4831 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4833 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
4835 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
4837 * pa.c (pa_can_combine_p): Call extract_insn before calling
4840 2002-04-12 Douglas B Rupp <rupp@gnat.com>
4842 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
4843 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
4844 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
4845 (CPP_PREDEFINES): Handle __declspec.
4846 * config/i386/t-interix (USER_H): Remove.
4848 2002-04-12 DJ Delorie <dj@redhat.com>
4850 * integrate.c (compare_blocks): Make comparisons safe for when
4851 sizeof(int) < sizeof(char *).
4852 (find_block): Likewise.
4854 2002-04-12 Jan Hubicka <jh@suse.cz>
4855 David Edelsohn <edelsohn@gnu.org>
4857 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
4859 (symbol_ref_operand): New.
4860 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
4861 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
4863 2002-04-12 Andreas Schwab <schwab@suse.de>
4865 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
4866 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
4867 overrides the definition in config/svr4.h.
4869 2002-04-12 Eric Norum <eric.norum@usask.ca>
4871 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
4872 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
4873 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
4874 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
4875 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
4876 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
4877 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
4878 definitions to config/rtems.h and make the targets more similar.
4880 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4882 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
4883 POINTERS_EXTEND_UNSIGNED.
4884 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
4885 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
4887 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
4890 Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
4892 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
4893 depends on TARGET_SHMEDIA, not TARGET_SH5.
4895 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
4897 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
4898 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
4900 Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
4902 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
4905 2002-04-12 Andreas Schwab <schwab@suse.de>
4907 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
4909 2002-04-12 Richard Henderson <rth@redhat.com>
4912 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
4914 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
4915 modes spanning multiple hard regs.
4917 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
4919 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
4921 * pa.c (pa_output_function_prologue): Don't accumulate the total
4922 number of code bytes when using TARGET_64BIT, or gas, SOM and not
4923 the portable runtime.
4924 (output_deferred_plabels): Handle 64bit plabels.
4925 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
4926 generating pic code using the GAS assembler for object formats that
4927 are not SOM (ie., ELF32 and ELF64).
4928 (output_millicode_call): Check attribute type if attribute length is 28.
4929 Likewise use $PIC_pcrel$0. Only call get_attr_length and
4930 dbr_sequence_length once.
4931 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
4932 dbr_sequence_length once.
4933 * pa.h (TARGET_SOM): Define if not defined.
4934 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
4935 with GAS and not SOM.
4936 (jump, call_internal_reg, call_value_internal_reg): Likewise.
4937 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
4939 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4941 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
4942 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
4943 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
4944 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
4945 elfos.h and dbxelf.h values are fine now.
4946 * config/i386/freebsd.h, config/alpha/freebsd.h
4947 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
4949 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4951 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
4952 or set Acpu or Amachine. Reformat.
4953 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
4955 (LINK_SPEC): Do not need to undef.
4956 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
4957 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
4958 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
4960 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
4961 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
4962 (LINK_SPEC): Do not need to undef.
4963 (DONT_USE_BUILTIN_SETJMP): Do not define.
4964 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
4965 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
4966 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
4967 Remove trailing spaces.
4968 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
4969 __ELF__, or set Acpu or Amachine. Reformat.
4970 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
4973 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4975 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
4976 all other *-*-freebsd* targets.
4978 2002-04-11 Richard Henderson <rth@redhat.com>
4980 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
4982 2002-04-11 David O'Brien <obrien@FreeBSD.org>
4984 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
4985 Include {cpu}/{cpu}.h thru tm_file.
4986 (alpha*-*-linux*ecoff): Remove target.
4987 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
4988 (LINK_SPEC): Remove, is not OS independent.
4989 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
4990 (LINK_SPEC): Do not need to #undef any longer.
4991 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
4993 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
4995 (LINK_SPEC): Moved here from alpha/elf.h.
4996 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
4998 * config/alpha/linux-ecoff.h: Remove.
4999 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
5000 (CPP_SPEC): Define _POSIX_SOURCE as needed.
5001 (CPP_SUBTARGET_SPEC): Do not define.
5002 (LINK_SPEC): Do not need to #undef any longer.
5003 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
5004 * config/alpha/vms.h: Likewise.
5006 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
5008 * doc/extend.texi: Remove old claim that typedefs cannot have
5009 an alignment attribute.
5011 2002-04-11 Jakub Jelinek <jakub@redhat.com>
5013 PR optimization/6177
5014 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
5015 bitpos is 0 and bitsize CONCAT size.
5017 2002-04-11 Jakub Jelinek <jakub@redhat.com>
5020 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
5022 2002-04-10 David O'Brien <obrien@FreeBSD.org>
5024 * config/alpha/freebsd.h: Minor reformatting.
5025 (CPP_SPEC): Define ELF and add cpp_subtarget.
5026 (ASM_SPEC): No longer needed.
5028 2002-04-11 Richard Henderson <rth@redhat.com>
5030 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
5031 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
5032 (dimode mem/zero splitter): New.
5034 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
5036 * config/cris/cris.c (cris_override_options): Tweak error message
5037 for PIC not implemented.
5039 * config/cris/cris.h: Tweak comments related to parameter-passing.
5041 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
5043 2002-04-10 Richard Henderson <rth@redhat.com>
5045 * except.c (add_ehl_entry): Allow duplicates after landing pad
5048 2002-04-10 David Edelsohn <edelsohn@gnu.org>
5050 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
5052 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
5054 * c-decl.c (c_init_decl_processing): Move generation of
5055 decls for g77_integer_type_node and friends from here ...
5056 * c-common.c (c_common_nodes_and_builtins): ... to here.
5058 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
5060 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
5061 is only used as frame pointer when frame_pointer_needed is true.
5063 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
5066 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
5067 for the fact that the pool entry uses two words.
5068 (movdf_hard_insn): Similarly. Also, ADR instruction can span
5070 (movdf_soft_insn): Similarly.
5071 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
5072 for the fact that the pool entry uses three words.
5074 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
5076 * config/mips/mips.c (mips_va_arg): When using the struct version
5077 of the EABI va_list, allow arguments in the register save area to
5078 take up less room than a stack argument.
5080 2002-04-10 Richard Henderson <rth@redhat.com>
5082 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
5083 if EXPAND_INITIALIZER.
5085 2002-04-09 Richard Henderson <rth@redhat.com>
5087 * config/alpha/alpha.md (movdi_er_maybe_g): New.
5088 * config/alpha/alpha.c (alpha_expand_mov): Use it.
5090 2002-04-10 Alan Modra <amodra@bigpond.net.au>
5092 PR optimization/6233
5093 * rtlanal.c (pure_call_p): New function.
5094 * rtl.h (pure_call_p): Declare.
5095 * loop.c (prescan_loop): Use it to set has_nonconst_call.
5096 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
5098 2002-04-09 Eric Christopher <echristo@redhat.com>
5100 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
5101 information to .comm directive.
5103 2002-04-09 Richard Henderson <rth@redhat.com>
5106 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
5108 2002-04-09 Richard Henderson <rth@redhat.com>
5110 * basic-block.h (flow_delete_block_noexpunge): Declare.
5111 (expunge_block_nocompact): Declare.
5112 * cfg.c (expunge_block_nocompact): Split out from ...
5113 (expunge_block): ... here.
5114 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
5115 (flow_delete_block_noexpunge): Split out from ...
5116 (flow_delete_block): ... here.
5117 * cfgcleanup.c (delete_unreachable_blocks): Compact while
5118 removing dead blocks.
5119 * except.c (exception_handler_labels): Remove.
5120 (exception_handler_label_map): New.
5121 (struct eh_region): Add aka member.
5122 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
5123 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
5124 (for_each_eh_label, for_each_eh_label_1): New.
5125 (init_eh): Register exception_handler_label_map.
5126 (free_eh_status): Use free_region.
5127 (find_exception_handler_labels): Use the map, not the list.
5128 (remove_exception_handler_label): Likewise.
5129 (maybe_remove_eh_handler): Likewise.
5130 (remove_eh_handler): Use the region aka bitmap.
5131 * except.h (exception_handler_labels): Remove.
5132 (for_each_eh_label): Declare.
5133 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
5134 * loop.c (invalidate_loops_containing_label): New.
5135 (find_and_verify_loops): Use it. Use for_each_eh_label.
5136 * sched-rgn.c (is_cfg_nonregular): Use
5137 current_function_has_exception_handlers.
5139 2002-04-09 Richard Henderson <rth@redhat.com>
5141 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
5142 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
5143 Do not return changed status.
5144 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
5145 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
5146 New functions that do return changed status.
5147 * sbitmap.h: Update decls.
5148 * gcse.c, lcm.c: Use _cg functions as needed.
5150 Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
5152 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
5153 (sh64-*-elf*, sh-*-rtemself*): Likewise.
5154 * config/sh/embed_bb.c: New file.
5155 * config/sh/embed-elf.h: New file.
5156 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
5157 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
5158 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5160 (SUBTARGET_CPP_PTR_SPEC): Don't define.
5161 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
5162 Add subtarget_asm_endian_spec.
5163 (ASM_SPEC): Use subtarget_asm_endian_spec.
5164 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
5165 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
5166 (WCHAR_UNSIGNED): Define.
5167 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
5168 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5169 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
5171 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
5172 (sh_adjust_cost): Likewise.
5173 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
5175 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
5176 (WCHAR_TYPE_SIZE): Likewise.
5177 (ASM_SPEC): Use subtarget_asm_endian_spec.
5178 (SH_ELF_WCHAR_TYPE): #undef/ #define.
5179 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
5180 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
5181 (MAX_WCHAR_TYPE_SIZE): Don't #define .
5182 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
5183 (USER_LABEL_PREFIX): Don't #undef /#define .
5184 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
5185 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
5186 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
5187 (ASM_SPEC): Likewise.
5188 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
5189 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
5190 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
5191 (LIB2FUNCS_EXTRA): Define.
5192 * t-sh64 (LIB2FUNCS_EXTRA): Define.
5193 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
5194 (LIB1ASMFUNCS_CACHE): Define.
5195 (LIB2FUNCS_EXTRA): Redefine empty.
5197 2002-04-08 Richard Henderson <rth@redhat.com>
5199 * reorg.c (get_branch_condition): Use reversed_comparison_code.
5201 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5203 * config/m68hc11/larith.asm (__map_data_section): Fix condition
5204 and optimize for size.
5205 (__do_global_ctors): Fix pointer comparison.
5206 (__do_global_dtors): Likewise.
5208 2002-04-09 David S. Miller <davem@redhat.com>
5210 * config/sparc/sparc.c (sparc_extra_constraint_check): New
5211 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
5212 allow reloading pseudos.
5213 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
5214 * config/sparc/sparc-protos.h: Declare it.
5216 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
5217 unsigned comparison warning.
5218 (output_restore_regs): Mark leaf_function as unused.
5220 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5222 * expr.c (is_aligning_offset): New function.
5223 (expand_expr, case COMPONENT_EXPR): Call it.
5225 2002-04-08 David S. Miller <davem@redhat.com>
5228 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
5230 Make init_priority work on Sparc when using GNU ld.
5231 * config/sparc/linux.h, config/sparc/linux64.h,
5232 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
5233 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
5234 * config/sparc/sol2-gld.h: New file to do the same.
5235 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
5236 sparc/sol2-gld.h to tm_file.
5238 PR optimization/4328
5239 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
5240 * doc/md.texi: Document it.
5241 * config/sparc/sparc.md (movdi_insn_sp64_novis,
5242 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
5243 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
5244 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
5245 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
5247 2002-04-08 Andreas Jaeger <aj@suse.de>
5249 * stmt.c (expand_asm_operands): Revert last patch from Richard
5252 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5254 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
5255 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
5257 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5259 * doc/contrib.texi (Contributors): Add David O'Brien.
5261 2002-04-08 Alan Modra <amodra@bigpond.net.au>
5263 * configure.in (auto-build.h): Use target_alias and build_alias
5264 when running configure.
5265 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
5266 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
5267 * configure: Regenerate.
5269 2002-04-07 David S. Miller <davem@redhat.com>
5271 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
5273 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5276 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
5277 generating 32-bit pic code.
5279 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
5281 * cppinit.c (cpp_create_reader): Initialize
5282 discard_comments_in_macro_exp.
5283 (COMMAND_LINE_OPTIONS): Add "-CC" option.
5284 (cpp_handle_option): Handle "-CC" option.
5285 * cpplex.c (save_comment): If saving a C++ comment in
5286 a directive, convert it to a C comment.
5287 (_cpp_lex_direct): Pass second comment start character to
5288 save_comment to indicate comment type.
5289 * cpplib.c (_cpp_handle_directive): If processing
5290 a "#define" directive and discard_comments_in_macro_exp
5291 is false, re-enable saving of comments.
5292 (lex_macro_node): If discard_comments_in_macro_exp is false,
5293 discard any comments before the macro identifier.
5294 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
5296 * cppmacro.c (cpp_get_token): If expanding a macro while
5297 processing a directive, discard any comments we might encounter.
5298 (parse_params): If discard_comments_in_macro_exp is false,
5299 ignore comments in the macro parameter list.
5300 * gcc.c (cpp_unique_options): Add "-CC" option.
5301 (option_map): Map "--comments-in-macros" to "-CC".
5302 * doc/cppopts.texi: Document "-CC" option.
5303 * f/lang-specs.h: Add "-CC" option.
5304 * testsuite/gcc.dg/cpp/maccom1.c: New test.
5305 * testsuite/gcc.dg/cpp/maccom2.c: New test.
5306 * testsuite/gcc.dg/cpp/maccom3.c: New test.
5307 * testsuite/gcc.dg/cpp/maccom4.c: New test.
5308 * testsuite/gcc.dg/cpp/maccom5.c: New test.
5309 * testsuite/gcc.dg/cpp/maccom6.c: New test.
5311 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
5314 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
5316 2002-04-06 Mark Mitchell <mark@codesourcery.com>
5319 * stor-layout.c (layout_decl): Reset the RTL for the decl.
5322 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
5323 RTX_UNCHANGING_P for the functions arguments when a tail call
5326 2002-04-06 Jason Merrill <jason@redhat.com>
5328 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
5329 (parse_options_and_default_flags): Set them appropriately.
5330 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
5332 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
5334 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
5337 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
5340 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
5341 types come in by-reference. Fix typo in comment.
5343 2002-04-05 David S. Miller <davem@redhat.com>
5345 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
5346 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
5347 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
5348 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
5350 2002-04-05 David S. Miller <davem@redhat.com>
5352 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
5353 are not going to emit return instructions, emit at least a nop
5354 for the sake of sane backtraces.
5356 2002-04-05 Richard Henderson <rth@redhat.com>
5358 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
5360 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
5362 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
5364 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
5366 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
5367 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
5368 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
5370 2002-04-05 Andreas Schwab <schwab@suse.de>
5372 * c-convert.c: Include c-common.h.
5373 * Makefile.in (c-convert.o): Updated.
5375 2002-04-05 Jakub Jelinek <jakub@redhat.com>
5377 * mklibgcc.in: Use separate libgcc.map for each multilib.
5378 * Makefile.in (distclean): Don't remove libgcc.map here.
5380 2002-04-05 Jakub Jelinek <jakub@redhat.com>
5382 * Makefile.in (s-mlib): Handle --disable-multilib by separate
5383 genmultilib invocation.
5385 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
5387 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
5388 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
5389 to num_gprs for symmetry.
5390 * config/mips/mips.c: Adjust accordingly.
5392 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
5394 * c-common.c (truthvalue_conversion): Rename, update.
5395 * c-common.h (c_common_truthvalue_conversion): New.
5396 * c-convert.c (convert): Update.
5397 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5398 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
5399 * c-typeck.c (build_binary_op, build_unary_op,
5400 build_conditional_expr): Update.
5401 * fold-const.c (constant_boolean_node, fold): Use langhook.
5402 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
5403 * langhooks.h (struct lang_hooks): New hook.
5404 * stmt.c (expand_decl_cleanup): Use langhook.
5405 * tree.h (truthvalue_conversion): Remove.
5407 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5409 2002-04-05 Alan Modra <amodra@bigpond.net.au>
5411 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
5412 Add rules to make null object file.
5414 2002-04-04 Jim Blandy <jimb@redhat.com>
5416 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
5417 macro formal parameter names.
5419 2002-04-04 David S. Miller <davem@redhat.com>
5421 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
5423 2002-04-04 Richard Henderson <rth@redhat.com>
5426 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
5427 Support copies into and out of memory. Don't accept allows_reg
5428 and allows_mem as gospel.
5430 2002-04-04 Richard Henderson <rth@redhat.com>
5433 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
5434 (write_dependence_p): Likewise.
5436 2002-04-04 Richard Henderson <rth@redhat.com>
5438 * predict.c (estimate_bb_frequencies): Do frequency calculation
5439 with a volatile temporary.
5441 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
5443 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
5445 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5448 * final.c (final_start_function): Don't bump profile_label_no here...
5449 (final_end_function): ...but here.
5451 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5453 * config/sparc/sparc.md (pic): New attribute.
5454 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
5456 (split after do_builtin_setjmp_setup): New.
5458 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5461 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
5464 2002-04-04 Jakub Jelinek <jakub@redhat.com>
5466 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
5467 UNITS_PER_WORD for zero sized aggregates.
5469 2002-04-03 David S. Miller <davem@redhat.com>
5471 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
5472 one-character spec for this, just use %(link_gcc_c_sequence).
5474 2002-04-03 David S. Miller <davem@redhat.com>
5476 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
5479 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
5481 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
5482 (DWARF_FRAME_RETURN_COLUMN): Move.
5483 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
5484 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
5485 * pa.c (except.h, predict.h): Include.
5487 (store_reg_modify, set_reg_plus_d): Revise prototypes.
5488 (output_ascii): Add cast.
5489 (store_reg_modify): Revise to add frame notes.
5490 (set_reg_plus_d): Likewise.
5491 (compute_frame_size): Include space for eh data registers in frame if
5492 the current function calls eh_return.
5493 (hppa_expand_prologue): Ensure register %r2 is saved if the current
5494 function calls eh_return. Save eh data registers if the current
5495 function calls eh_return. Fix code to add frame notes. Emit
5496 blockage to prevent insns with frame notes being scheduled in the
5497 delay slot of calls.
5498 (hppa_expand_epilogue): Restore eh data registers and do final stack
5499 adjustment if the current function calls eh_return. Don't add frame
5501 (output_call): Revise for change in length of call insn. Don't do
5502 return pointer adjustment for an unconditional jump in the delay slot
5503 of a call when using frame notes.
5504 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
5505 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
5506 (ARG_POINTER_CFA_OFFSET): Define.
5507 * pa.md (return_external_pic): New pattern.
5508 (prologue): Correct formatting. Use return_external_pic if current
5509 function calls eh_return.
5510 (call_internal_symref, call_value_internal_symref,
5511 sibcall_internal_symref, sibcall_value_internal_symref): Change default
5512 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
5514 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
5516 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
5517 list of targets to check using "nop" insn.
5518 * configure: Rebuilt.
5520 2002-04-04 Alan Modra <amodra@bigpond.net.au>
5522 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
5524 2002-04-03 David S. Miller <davem@redhat.com>
5526 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
5527 library sequence passed to the linker.
5528 (LINK_COMMAND_SPEC): Use it.
5529 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
5530 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
5531 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
5533 2002-04-03 Jason Merrill <jason@redhat.com>
5535 * except.c (struct eh_status): Remove protect_list.
5536 (begin_protect_partials, end_protect_partials): Remove.
5537 (add_partial_entry): Remove.
5538 * except.h: Remove prototypes.
5540 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
5541 expand_decl_cleanup_eh.
5544 * tree.h (CLEANUP_EH_ONLY): New macro.
5545 * stmt.c (expand_decl_cleanup_eh): New fn.
5546 (expand_cleanups): Check CLEANUP_EH_ONLY.
5547 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
5548 Use expand_decl_cleanup_eh.
5549 (expand_stmt): Adjust.
5550 * c-common.h: Adjust prototype.
5552 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
5554 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
5555 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
5556 (cris_target_asm_function_epilogue): Ditto.
5557 (cris_initial_frame_pointer_offset): Ditto.
5558 (cris_simple_epilogue): Ditto.
5559 (cris_expand_builtin_va_arg): Variable-size types come in
5562 2002-04-03 David S. Miller <davem@redhat.com>
5564 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
5566 (set_fast_math): Correct 'fsr' type.
5568 2002-04-03 Richard Henderson <rth@redhat.com>
5571 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
5572 * toplev.c (check_global_declarations): Use it.
5573 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
5574 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5575 (LANG_HOOKS_DECLS): Add it.
5576 * langhooks.c (lhd_warn_unused_global_decl): New.
5577 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5578 * c-objc-common.c (c_warn_unused_global_decl): New.
5579 * c-tree.h (c_warn_unused_global_decl): Declare.
5580 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
5582 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
5584 * langhooks-def.h (lhd_set_decl_assembler_name,
5585 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
5586 (LANG_HOOKS_INITIALIZER): Update.
5587 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
5588 * langhooks.h (struct lang_hooks): New hook.
5589 * tree.c (set_decl_assembler_name): Move to langhooks.c.
5590 (lang_set_decl_assembler_name): Remove.
5591 (init_obstacks): Don't set hook.
5592 (decl_assembler_name): New function.
5593 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
5594 (decl_assembler_name): New.
5595 (lang_set_decl_assembler_name): Remove.
5597 2002-04-03 Jakub Jelinek <jakub@redhat.com>
5599 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
5600 works properly with .hidden symbols.
5601 * configure: Rebuilt.
5602 * config.in: Rebuilt.
5603 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
5604 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
5605 properly with .hidden symbols.
5607 2002-04-03 Jakub Jelinek <jakub@redhat.com>
5610 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
5613 2002-04-03 Richard Henderson <rth@redhat.com>
5616 * sched-rgn.c (sets_likely_spilled): New.
5617 (sets_likely_spilled_1): New.
5618 (add_branch_dependences): Use it.
5620 2002-04-02 Richard Henderson <rth@redhat.com>
5623 * loop.h (LOOP_FIRST_PASS): New.
5624 * loop.c (strength_reduce): Mind it when deciding to unroll.
5625 * toplev.c (rest_of_compilation): Set it.
5627 2002-04-02 David S. Miller <davem@redhat.com>
5629 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
5630 mems_ok_for_ldd_peep when the order of the loads being examined
5632 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
5633 existing comment to increase comprehension of this situation.
5635 2002-04-02 Zack Weinberg <zack@codesourcery.com>
5637 * config/sh/sh.md: Don't use union real_extract.
5639 2002-04-02 Richard Henderson <rth@redhat.com>
5641 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
5643 2002-04-02 David O'Brien <obrien@FreeBSD.org>
5645 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
5646 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
5647 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
5648 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
5649 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
5650 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
5651 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
5652 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
5653 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
5654 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
5655 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
5656 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
5657 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
5658 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
5659 Include as many configury headers via tm_file as possible. This
5660 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
5661 * config/openbsd-oldgas.h: New file.
5662 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
5663 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
5664 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
5665 config/i386/i386-coff.h, config/i386/i386-interix.h,
5666 config/i386/iscdbx.h, config/i386/linux-aout.h,
5667 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
5668 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
5669 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
5670 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
5671 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
5672 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
5673 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
5674 config/i386/vxi386.h: Do not directly include configury headers.
5675 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
5676 Directly include configury headers that are no longer automatically
5677 included by the above headers.
5678 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
5679 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
5680 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
5681 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
5682 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
5683 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
5684 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
5685 (TARGET_VERSION): Define.
5686 * config/i386/beos-elf.h, config/i386/freebsd.h,
5687 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
5688 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
5689 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
5690 config/i386/sco5.h, config/i386/sysv4.h
5691 (TARGET_VERSION): Do not need to protect.
5692 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
5693 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
5694 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
5695 config/i386/i386-interix.h, config/i386/linux-aout.h,
5696 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
5697 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
5698 (YES_UNDERSCORES): Do not define - not needed.
5699 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
5700 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
5701 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
5702 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
5703 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
5704 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
5705 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
5706 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
5708 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
5709 Richard Henderson <rth@redhat.com>
5712 * function.c (assign_temp): Accept either type or decl argument.
5713 Detect variables whose size is too large to fit into an integer.
5714 * stmt.c (expand_decl): Pass the decl, not the type.
5716 2002-04-02 David O'Brien <obrien@FreeBSD.org>
5718 * protoize.c: Match include directory usage with cppdefault.c.
5720 2002-04-03 Jeffrey A Law (law@redhat.com)
5721 Hans-Peter Nilsson <hp@bitrange.com>
5723 * combine.c (simplify_comparison): Avoid narrowing a comparison
5724 with a paradoxical subreg when doing so would drop signficant bits.
5726 2002-04-02 Steve Ellcey <sje@cup.hp.com>
5728 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
5729 if POINTERS_EXTEND_UNSIGNED is defined.
5731 2002-04-02 Richard Henderson <rth@redhat.com>
5734 * local-alloc.c (contains_replace_regs): LO_SUM may contain
5737 2002-04-02 Richard Henderson <rth@redhat.com>
5739 * doc/standards.texi: Document required freestanding libc entry points.
5741 2002-04-02 Alan Modra <amodra@bigpond.net.au>
5743 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
5744 associated splitter. Remove MQ constraint.
5745 (ctrdi_internal4): Correct CCmode clobber.
5747 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
5749 * milli64.S ($$dyncall): New function.
5750 * t-linux (LIB1ASMFUNCS): Revise module list.
5751 (LIB1ASMSRC): Use pa/milli64.S.
5753 2002-04-02 Richard Henderson <rth@redhat.com>
5755 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
5756 rename solaris_sys_varargs_h.
5758 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5760 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
5761 the same mode as its component.
5763 2002-04-02 Richard Henderson <rth@redhat.com>
5766 * final.c (this_is_asm_operands): Export.
5767 * output.h (this_is_asm_operands): Declare.
5768 * config/i386/i386.c (print_operand): Error odd asm operands.
5770 2002-04-02 Richard Henderson <rth@redhat.com>
5773 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
5775 2002-04-01 Richard Henderson <rth@redhat.com>
5778 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
5779 * fixinc/fixincl.x: Rebuild.
5781 2002-04-01 Richard Henderson <rth@redhat.com>
5783 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
5784 (atomic_alloc, atomic_free): New.
5785 (SIZE, MASK_FOR, PTR_IN): New.
5786 (emergency_reg_state, emergency_reg_state_free): New.
5787 (emergency_labeled_state, emergency_labeled_state_free): New.
5788 (reg_state_alloced, labeled_state_alloced): New.
5789 (alloc_reg_state, free_reg_state): New.
5790 (alloc_label_state, free_label_state, free_label_states): New.
5791 (push, pop, dup_state_stack, free_state_stack): Use them.
5792 (desc_label_state): Likewise.
5793 (uw_frame_state_for): Free label states and state stack.
5794 (uw_update_reg_address): Eliminate warnings.
5796 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
5798 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
5799 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
5801 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5803 * c-decl.c (grokdeclarator): Update.
5804 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5805 * c-tree.h (c_mark_addressable): New.
5806 * c-typeck.c (default_function_array_conversion, build_unary_op,
5807 build_array_ref, convert_for_assignment): Update.
5808 (mark_addressable): Rename.
5809 * calls.c (try_to_integrate, expand_call): Use langhook.
5810 * expr.c (expand_expr): Use langhook.
5811 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
5812 * langhooks.h (struct lang_hooks): New hook.
5813 * stmt.c (expand_asm_operands): Use langhook.
5814 * tree.h (mark_addressable): Remove.
5816 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5818 2002-04-01 Bob Wilson <bob.wilson@acm.org>
5820 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
5823 2002-04-01 Bob Wilson <bob.wilson@acm.org>
5825 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
5826 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
5828 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5830 * c-common.c (unsigned_conversion_warning, convert_and_check,
5831 unsigned_type, signed_type, shorten_compare,
5832 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
5833 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
5834 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
5836 * c-decl.c (grokdeclarator): Update.
5837 * c-format.c (check_format_types): Update.
5838 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5839 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5840 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
5841 * convert.c (convert_to_integer): Use new hooks.
5842 * expmed.c (make_tree): Use new hooks.
5843 * expr.c (store_expr): Use new hooks.
5844 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
5845 all_ones_mask_p, unextend, fold): Use new hooks.
5846 * langhooks.h (struct lang_hooks_for_types): New hooks.
5847 * tree.h (signed_or_unsigned_type, signed_type,
5848 unsigned_type): Remove.
5850 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5851 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5853 2002-03-31 Richard Henderson <rth@redhat.com>
5855 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
5856 (desc_frgr_mem): Fix reference to f16-f31.
5858 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5860 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
5861 RTVEC_ELT): Const-ify.
5862 * varray.h (VARRAY_CHECK): Const-ify.
5863 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
5864 ggc_mark_rtvec, ggc_mark): Const-ify.
5866 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
5868 * diagnostic.c: Include langhooks-def.h.
5869 * Makefile.in (diagnostic.o): Update.
5871 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
5873 * c-common.c (c_unsafe_for_reeval): Rename.
5874 * c-common.h (c_unsafe_for_reeval): Rename.
5875 * c-decl.c (finish_incomplete_decl): Rename.
5876 (c_init_decl_processing): Don't set langhook.
5877 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
5878 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
5879 * c-objc-common.c (c_objc_common_init): Don't set langhook.
5880 * c-tree.h (finish_incomplete_decl): Rename.
5881 * langhooks-def.h (lhd_unsafe_for_reeval): New.
5882 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
5883 (LANG_HOOKS_INITIALIZER): Update.
5884 * langhooks.c (lhd_unsafe_For_reeval): New.
5885 * langhooks.h (struct langhooks): New hooks.
5886 * toplev.c (incomplete_decl_finalize_hook): Remove.
5887 (wrapup_global_declarations): Update.
5888 * tree.c (lang_unsafe_for_reeval): Remove.
5889 (unsafe_for_reeval): Update.
5890 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
5893 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
5894 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
5896 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
5898 * diagnostic.c (print_error_function): Remove.
5899 (default_print_error_function): Rename.
5900 (report_error_function): Update.
5901 * diagnostic.h (print_error_function): Remove.
5902 (default_print_error_function): Remove.
5903 * langhooks-def.h (struct diagnostic_context): Predeclare.
5904 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
5905 (LANG_HOOKS_INITIALIZER): Update.
5906 * langhooks.h (struct diagnostic context): Predeclare.
5907 (struct lang_hooks): New hook.
5909 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5911 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
5912 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
5914 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
5915 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
5916 of PIC_OFFSET_TABLE_REGNUM thruout.
5917 * config/rs6000/rs6000.md: Likewise.
5918 * config/rs6000/darwin.h: Likewise.
5920 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5922 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
5923 unsigned HOST_WIDE_INT, not unsigned int.
5925 2002-03-31 Jakub Jelinek <jakub@redhat.com>
5927 PR middle-end/6096, middle-end/6098, middle-end/6099
5928 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
5930 (fill_slots_from_thread): Likewise.
5932 2002-03-31 Jakub Jelinek <jakub@redhat.com>
5934 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
5935 floating fields in float regs.
5936 (function_arg_record_value_2): Likewise.
5938 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
5940 * config/mmix/mmix.md (define_constants): Remove misleading
5941 FIXME. Add MMIX_fp_rO_OFFSET.
5942 ("nonlocal_goto_receiver"): Don't have stack-frame address of
5943 saved rO as part of the pattern. Remove FIXME.
5944 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
5945 here, at output-time.
5947 2002-03-31 Jakub Jelinek <jakub@redhat.com>
5950 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
5952 (output_v9branch): Likewise.
5954 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
5956 * gcc.c: Revert previous patch for now.
5957 * config/i386/djgpp.h: Likewise.
5959 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
5961 * config/mmix/crti.asm (_init): Register _fini with atexit.
5962 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
5964 2002-03-31 Richard Henderson <rth@redhat.com>
5967 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
5968 (ASM_OUTPUT_DEF_FROM_DECLS): New.
5970 2002-03-31 Richard Henderson <rth@redhat.com>
5972 * libgcc2.c (__bb_exit_func): Make static.
5974 * config/alpha/alpha.md (trap): New.
5976 2002-03-31 Richard Henderson <rth@redhat.com>
5978 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
5979 promoted argument types; build trap.
5980 (expand_builtin_trap): New.
5981 (expand_builtin): Use it.
5982 * stmt.c (expand_nl_goto_receivers): Likewise.
5983 * expr.h (expand_builtin_trap): Declare.
5984 * libfuncs.h (LTI_abort, abort_libfunc): New.
5985 * optabs.c (init_optabs): Init abort_libfunc.
5987 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
5989 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
5990 (LINK_COMMAND_SPEC): ... from here.
5991 (init_gcc_specs): Duplicate it here too, omitting
5992 shared_name in the second copy.
5993 (init_spec): Test for duplicate
5994 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
5996 2002-03-30 David S. Miller <davem@redhat.com>
5998 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
5999 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
6001 2002-03-30 Roger Sayle <roger@eyesopen.com>
6002 Richard Henderson <rth@redhat.com>
6004 * regmove.c (combine_stack_adjustments_for_block): Avoid
6005 emitting a stack adjustment of zero bytes. Let delete_insn
6008 2002-03-30 Richard Henderson <rth@redhat.com>
6010 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
6011 (sparc_emitting_epilogue): New.
6012 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
6013 * config/sparc/sparc-protos.h: Update.
6014 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
6015 (TARGET_SWITCHES): Update.
6016 * config/sparc/sparc.md (return): Remove.
6017 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
6018 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
6019 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
6020 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
6021 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
6022 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
6023 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
6024 Remove MASK_EPILOGUE.
6025 * doc/invoke.texi: Update.
6027 2002-03-30 Daniel Berlin <dan@dberlin.org>
6029 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
6030 CPP will start the file for us.
6032 2002-03-30 Richard Henderson <rth@redhat.com>
6035 * config/ia64/ia64.c (group_barrier_needed_p): Special case
6036 prologue_allocate_stack.
6037 (ia64_single_set): Use insn codes for recognition of special
6038 cases, not rtl matching.
6039 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
6041 Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
6043 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
6045 2002-03-30 Richard Henderson <rth@redhat.com>
6048 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
6049 or -fomit-frame-pointer with profiling.
6050 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6051 (FUNCTION_PROFILER): Do nothing.
6052 (PROFILE_HOOK): New.
6053 * config/sparc/sparc.c (sparc_override_options): Don't check
6054 code models for profiling.
6055 (sparc_function_profiler): Remove.
6056 (sparc_profile_hook): New.
6057 * config/sparc/sparc-protos.h: Update.
6059 2002-03-30 Jakub Jelinek <jakub@redhat.com>
6061 PR optimization/6086
6062 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
6063 of SUBREG of volatile MEM or because the MEM was mode dependent,
6064 return CLOBBER instead of unmodified SUBREG.
6066 Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
6068 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
6069 when not optimizing.
6071 * toplev.c (rest_of_compilation): Cann mark_constant_function
6072 only when optimizing.
6074 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
6077 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
6078 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
6079 (try_optimize_cfg): clear all AUX fields.
6081 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
6082 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
6083 (ix86_address_cost): Be prepared for SUBREGed registers.
6084 (legitimate_address_p): Accept SUBREGed registers.
6086 2002-03-29 Richard Henderson <rth@redhat.com>
6089 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
6091 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6093 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
6094 for aggregate and TFmode types.
6096 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
6098 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
6100 2002-03-29 Richard Henderson <rth@redhat.com>
6103 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
6104 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
6106 2002-03-29 Richard Henderson <rth@redhat.com>
6109 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
6110 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
6111 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
6112 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
6114 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
6116 2002-03-29 Dale Johannesen <dalej@apple.com>
6118 * loop.c (combine_movables): Do allow combination of pseudos.
6120 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
6122 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
6123 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
6124 No functional change except ...
6125 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
6126 * doc/install.texi (*-*-freebsd*): Document port configuration.
6128 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
6130 * Makefile.in (convert.o, calls.o, expmed.o): Update.
6131 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
6133 * builtin-types.def (BT_PTRMODE): Update.
6134 * c-common.c (type_for_size): Rename c_common_type_for_size.
6135 (type_for_mode): Similarly.
6136 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
6138 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
6139 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
6140 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
6142 * c-typeck.c (common_type, comptypes, default_conversion):
6144 * calls.c: Include langhooks.h.
6145 (emit_library_call_value_1): Use new hooks. Avoid redundant
6147 * convert.c: Include langhooks.h
6148 (convert_to_pointer, convert_to_integer): Use new hooks.
6149 * except.c (init_eh): Similarly.
6150 * expmed.c: Include langhooks.h.
6151 (expand_mult_add): Use new hooks.
6152 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
6153 try_casesi): Similarly.
6154 * fold-const.c (optimize_bit_field_compare, make_range,
6155 decode_field_reference, fold_truthop, fold): Similarly.
6156 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
6157 put_var_into_stack): Similarly.
6158 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
6159 LANG_HOOKS_TYPE_FOR_SIZE): New.
6160 (LANG_HOOKS_TYPES_INITIALIZER): Update.
6161 * langhooks.h (lang_hooks_for_types): New hooks.
6162 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
6163 * tree.c (get_unwidened, get_narrower): Similarly.
6164 * tree.h (type_for_mode, type_for_size): Remove.
6165 * varasm.c (force_const_mem): Use new hooks.
6166 * utils2.c (nonbinary_modular_operation): Update.
6168 * objc-act.c (handle_impent): Update.
6169 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
6172 2002-03-29 Steve Ellcey <sje@cup.hp.com>
6174 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
6175 * config/ia64/ia64.c (basereg_operand): New.
6176 * config/ia64/ia64-protos.h (basereg_operand): Declare.
6177 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
6179 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
6181 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
6182 unwind information when frame_pointer_needed.
6183 (mmix_assemble_integer): Tweak wording in comment.
6185 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
6187 * Makefile.in (except.o): Update.
6188 * except.c: Include langhooks.h.
6189 (init_eh): Use langhook.
6190 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
6191 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
6192 (LANG_HOOKS_INITIALIZER): Update.
6193 * langhooks.h (lang_hooks_for_types): New.
6194 (struct lang_hooks): Add it.
6195 * tree.c (make_lang_type_fn, make_lang_type): Remove.
6196 * tree.h (make_lang_type_fn, make_lang_type): Remove.
6198 * alpha/alpha.c: Include langhooks.h.
6199 (alpha_build_va_list): Use langhook.
6200 * d30v/d30v.c: Include langhooks.h.
6201 (d30v_build_va_list): Use langhook.
6202 * i386/i386.c: Include langhooks.h.
6203 (ix86_build_va_list): Use langhook.
6204 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
6205 * s390/s390.c: Include langhooks.h.
6206 (s390_build_va_list): Use langhook.
6207 * stormy16/stormy16.c: Include langhooks.h.
6208 (stormy16_build_va_list): Use langhook.
6210 2002-03-29 Jakub Jelinek <jakub@redhat.com>
6213 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
6215 (length): Compute variable length for branches/calls/jumps here.
6216 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
6217 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
6218 define branch_type attribute.
6219 (divsi3_sp32): Maximum length is 6 not 7.
6220 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
6221 call_address_untyped_struct_value_sp32,
6222 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
6223 * config/sparc/sparc.c (empty_delay_slot): New function.
6224 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
6225 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
6227 2002-03-29 Jakub Jelinek <jakub@redhat.com>
6229 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
6230 nonzero_bits if not needed.
6231 (nonzero_bits) [XOR]: Likewise.
6232 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
6233 reg_last_set_mode and mode are both MODE_INT, but not equal.
6234 (record_value_for_reg): Compute reg_last_set_nonzero_bits
6235 in nonzero_bits_mode for MODE_INT modes.
6237 2002-03-28 Richard Henderson <rth@redhat.com>
6240 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
6241 to GAS. Correct drift between alternatives.
6243 2002-03-28 Richard Henderson <rth@redhat.com>
6246 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
6248 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
6250 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
6251 emulation to the linker.
6253 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
6255 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
6256 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
6258 Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
6260 * combine.c (simplify_and_const_int): Make sure to apply mask
6261 when force_to_mode returns a constant integer. PR3311.
6263 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
6265 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
6267 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6269 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
6270 and Objective-C Dialect Options.
6272 2002-03-28 Richard Henderson <rth@redhat.com>
6274 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
6275 comparison should be done vs !=0 not >0 return code. Tidy cases.
6277 2002-03-28 Richard Henderson <rth@redhat.com>
6279 * c-decl.c (finish_function): New arg can_defer_p. Pass it
6280 on to c_expand_body.
6281 * c-tree.h (finish_function): Update decl.
6282 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
6284 Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
6286 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
6288 Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
6290 * rtlanal.c: Include flags.h
6291 (may_trap_p): Do not mark FP operations if trapping
6292 if !flag_trapping_math
6293 * Makefile.in (rtlanal.o): Add dependency on flag.h
6294 * ifcvt.c (noce_operand_ok): Avoid the lameness.
6296 2002-03-27 Zack Weinberg <zack@codesourcery.com>
6298 * mips.md: Use dconst1, not 1.0, as first argument of
6299 REAL_VALUE_LDEXP. Don't use union real_extract.
6301 2002-03-28 Alan Modra <amodra@bigpond.net.au>
6303 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
6304 rather than $target. Heed program_prefix and
6305 program_transform_name. Search for gas in cross-compiler case too.
6306 "test -x" rather than "test -f".
6307 (gcc_cv_ld): Likewise.
6308 (gcc_cv_nm): Heed program_prefix and program_transform_name.
6309 (gcc_cv_objdump): Likewise.
6310 * configure: Regenerate.
6312 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6314 * Makefile.in (attribs.o): Update.
6315 * attribs.c: Include langhooks.h.
6316 (decl_attributes): Use langhook.
6317 * c-decl.c (insert_default_attributes): Rename.
6318 * c-tree.h (c_insert_default_attributes): New.
6319 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
6320 (LANG_HOOKS_INITIALIZER): Update.
6321 * langhooks.h (struct lang_hooks): New hook.
6322 * tree.h (insert_default_attributes): Remove.
6324 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
6326 2002-03-27 Andreas Schwab <schwab@suse.de>
6328 * config/i386/i386.c (classify_argument): Also check for
6331 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6333 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
6336 Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
6338 * i960.md (ret): Set PC.
6339 (nonlocal_goto): Fix expander.
6340 * builtins.c (epxand_builin_longjmp): Check that we've emitted
6343 Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
6345 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
6348 Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6350 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
6351 assigning to BLOCK_FOR_INSN directly.
6353 Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
6355 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
6357 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6359 * c-common.c (c_expand_expr): Fix prototype.
6360 * c-common.h (c_expand_expr): Always declare, update.
6361 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6362 * c-objc-common.c (c_objc_common_init): No global hook.
6363 * expr.c (expand_expr): Use langhook.
6364 * expr.h (enum expand_modifier): Conditionally declare.
6365 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
6366 (LANG_HOOKS_INITIALIZER): Update.
6367 * langhooks.c (lhd_expand_expr): New.
6368 * langhooks.h (struct lang_hooks): New hook.
6369 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
6370 (lang_independent_init): Don't default hook.
6372 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
6374 2002-03-27 Richard Henderson <rth@redhat.com>
6377 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
6378 TARGET_CONST_GP. Simplify conditions.
6380 2002-03-27 Richard Henderson <rth@redhat.com>
6382 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
6383 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
6384 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
6386 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
6388 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
6389 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
6390 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
6391 Remove unnecessary masks.
6392 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
6393 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
6394 -mwindows, -mdll switches and their negations.
6396 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
6398 * gcc-common.c (lang_mark_false_label_stack): Remove.
6399 * ggc.h (lang_mark_false_label_stack): Similarly.
6401 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
6403 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
6405 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
6406 or __rtems_ is defined.
6408 2002-03-26 Richard Henderson <rth@redhat.com>
6410 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
6411 if a non-trivial load was emitted.
6412 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
6413 in high+extra+low case.
6415 2002-03-26 Richard Henderson <rth@redhat.com>
6417 * config.gcc (sparc*-solaris): Use float_format=sparc.
6419 2002-03-26 Richard Henderson <rth@redhat.com>
6421 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6422 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
6423 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
6424 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
6425 (WINT_TYPE_SIZE): Fix at 32.
6427 2002-03-26 Richard Henderson <rth@redhat.com>
6429 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
6430 until after eh landing pad generation.
6431 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
6432 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
6434 2002-03-26 Richard Henderson <rth@redhat.com>
6436 * expr.h (ADD_PARM_SIZE): One more convert for INC.
6438 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
6440 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
6441 and warning switches.
6442 (cc1_options): Likewise.
6444 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
6446 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
6447 Restore more of the signal context. Set no_reg_stack_frame.
6448 * config/ia64/unwind-ia64.c (unw_state_record):
6449 Add no_reg_stack_frame, comments.
6450 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
6451 (uw_update_context): Adjust bsp when unwinding from leaf,
6452 but not signal frame.
6454 2002-03-26 David Edelsohn <edelsohn@gnu.org>
6456 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
6458 2002-03-26 Bob Wilson <bob.wilson@acm.org>
6460 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
6462 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
6465 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
6466 "Add a pool_range attribute", which was lost during the ARM/Thumb
6469 2002-03-26 Bob Wilson <bob.wilson@acm.org>
6471 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
6472 a register into the MAC16 accumulator.
6474 2002-03-26 Andrew Cagney <ac131313@redhat.com>
6476 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
6477 (Warning Options): Document -Wswitch-enum.
6478 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
6480 (warn_switch_enum): Define variables.
6481 * flags.h (warn_switch_enum): Declare variables.
6482 * stmt.c (expand_end_case_type): When warn_switch_enum /
6483 -Wswitch-enum, perform switch checks.
6486 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
6488 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
6489 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
6490 (reload_muladdsi_compare0_scratch): Delete.
6492 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
6494 * doc/install.texi (*-*-freebsd*): Update.
6496 2002-03-26 Richard Henderson <rth@redhat.com>
6498 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
6499 (SUB_PARM_SIZE): Cast DEC to ssizetype.
6501 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
6502 types from the normal argument frame.
6504 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
6505 variable sized objects by reference.
6506 (sparc_va_arg): Receive them by reference too.
6508 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
6510 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
6511 code to not restoring global registers.
6513 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
6515 * Makefile.in (ggc-common.o): Update.
6516 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
6517 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6518 * c-tree.h (c_mark_tree): New.
6519 * ggc-common.c: Include langhooks.h.
6520 (gcc_mark_trees): Use new langhook.
6521 * ggc-callbacks.c: Delete file.
6522 * ggc.h (lang_mark_tree): Remove.
6523 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
6524 (LANG_HOOKS_INITIALIZER): Update.
6525 * langhooks.h (struct lang_hooks): New hook.
6527 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
6529 2002-03-25 Zack Weinberg <zack@codesourcery.com>
6531 * doc/cpp.texi: Exclude entire Top node from printed manual.
6532 Move option index after directive index. Insert page breaks
6533 before GFDL and concept index. Index environment variables
6534 with command line options.
6535 * doc/cppenv.texi: Use @vtable for environment variable list.
6536 Add paragraph explaining semantics of empty elements in path
6537 variables. Exclude a cross-reference to Fishkill from the
6538 manpage. Remove an unnecessary cross-reference of the entry
6539 right above the referer. Don't use @anchor in text that goes
6541 * doc/cppopts.texi: Cross-reference the environment variables
6542 section, not the specific environment variable, for consistency.
6544 2002-03-25 Richard Henderson <rth@redhat.com>
6546 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
6547 anywhere in the block. Don't refer to insns that have been
6548 removed from the chain. Iterate backward through the new insns.
6549 Don't refer to edges that have been removed.
6551 2002-03-26 Alan Modra <amodra@bigpond.net.au>
6553 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
6554 test for overflow of constant.
6556 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
6559 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
6560 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
6561 these patterns on arm_archv4.
6563 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
6565 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
6568 2002-03-25 Zack Weinberg <zack@codesourcery.com>
6570 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
6571 float_handled, float_handler, float_signal, set_float_handler,
6572 and do_float_handler. Set handler for SIGFPE to crash_signal.
6573 * toplev.h: Don't prototype do_float_handler.
6575 * c-lex.c: Fold parse_float into lex_number. Make warning
6576 about portability of hex float constants more informative, and
6577 don't issue it on top of a syntax error.
6578 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
6580 * real.h: Define REAL_VALUE_ABS here...
6581 * simplify-rtx.c: ... not here. Fold check_fold_consts,
6582 simplify_unary_real, simplify_binary_real, and
6583 simplify_binary_is2orm1 into their callers.
6584 * tree.c: Fold build_real_from_int_cst_1 into caller.
6586 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
6588 * tsystem.h: Include float.h here...
6589 * libgcc2.c: ... not here.
6591 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
6593 Fixes for: PR bootstrap/3591, target/5676
6594 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
6595 defined. Do not disable exceptions or rtti.
6596 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
6597 mcore.h. Disable exceptions and rtti, since they are not
6600 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
6602 * c-decl.c (maybe_build_cleanup): Remove.
6603 * expr.c (expand_expr): Use langhook.
6604 * langhooks-def.h (lhd_return_null_tree,
6605 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
6606 (LANGHOOKS_INITIALIZER): Update.
6607 * langhooks.c (lhd_return_null_tree): New.
6608 * langhooks.h (struct lang_hooks): New hook.
6609 * tree-inline.c (initialize_inlined_parameters): Use langhook.
6610 * tree.h (maybe_build_cleanup): Remove.
6612 2002-03-25 Jakub Jelinek <jakub@redhat.com>
6614 * regrename.c (build_def_use): Move recog_memoized
6615 before extract_insn.
6617 2002-03-25 Jakub Jelinek <jakub@redhat.com>
6620 * expr.c (emit_group_store): Handle storing into CONCAT.
6622 2002-03-25 Jakub Jelinek <jakub@redhat.com>
6624 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
6625 corresponding MATCH_DUP.
6627 2002-03-24 Richard Henderson <rth@redhat.com>
6629 * unroll.c (unroll_loop): Zero label_map.
6631 * gcse.c: Include except.h.
6632 * Makefile.in (gcse.o): Update.
6634 2002-03-24 Richard Henderson <rth@redhat.com>
6636 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
6637 Do resolve_unique_section before shared data clause.
6639 2002-03-24 Richard Henderson <rth@redhat.com>
6641 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
6643 2002-03-24 Richard Henderson <rth@redhat.com>
6645 * recog.c (peephole2_optimize): Split blocks when EH insns are
6646 generated in the middle of a block. Do global life update if
6649 2002-03-24 Richard Henderson <rth@redhat.com>
6651 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
6653 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6656 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
6657 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
6658 (init_dependency_output): Don't make no_output decision here.
6660 2002-03-24 Andrew Cagney <ac131313@redhat.com>
6662 * stmt.c (check_for_full_enumeration_handling): Remove tests of
6663 warn_switch. Update description.
6664 (expand_end_case_type): Call check_for_full_enumeration_handling
6667 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6669 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
6670 (m68hc11_split_move): Call it to see if the source and destination
6671 operands use the same direction auto inc/dec mode, otherwise make the
6672 source an offsetable memory operand and generate an add.
6674 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6676 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
6677 register for operand 2.
6678 ("*subsi3_zero_extendqi"): Likewise.
6679 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
6680 bits so that it is compatible with a pop.
6681 ("*andhi3_gen"): Likewise.
6682 ("xorhi3"): Likewise.
6684 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6686 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
6688 (cpp_post_options): ... not here.
6690 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
6691 Aldy Hernandez <aldyh@redhat.com>
6693 Removal of separate preprocessor cpp0.
6695 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
6696 cpp0, install-common): Update.
6697 * c-common.c (flag_preprocess_only): New.
6698 (c_common_init): Preprocess for -E.
6699 * c-common.h (flag_preprocess_only): New.
6700 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
6701 * c-objc-common.c (c_init_decl_processing): Exit quickly
6702 for NULL return from c_common_init.
6703 * cpplib.h (cpp_preprocess_file): New.
6704 * cppmain.c (main, general_init, pfile, progname): Remove.
6705 (do_preprocessing): Rename cpp_preprocess_file, don't call
6706 cpp_finish. Don't close stdout here.
6707 (setup_callbacks): Update prototype.
6708 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
6710 * tradcpp.c (main): Ignore -quiet.
6712 * lang-specs.h (default_compilers): Preprocess with cc1obj.
6714 2002-03-24 Richard Henderson <rth@redhat.com>
6716 PR optimization/5742
6717 * machmode.def: Add inner mode field to complex modes.
6718 * config/mips/mips.c (mips_function_value): Always define. Add
6719 new argument to handle libcalls.
6720 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
6721 (FUNCTION_VALUE): Likewise.
6722 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
6723 * config/mips/mips-protos.h: Update.
6725 2002-03-23 Richard Henderson <rth@redhat.com>
6727 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
6728 * config/sparc/sparc-protos.h: Update.
6729 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
6731 2002-03-23 Richard Henderson <rth@redhat.com>
6733 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
6734 _start or _init begins the text segment.
6736 2002-03-23 David Edelsohn <edelsohn@gnu.org>
6738 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
6739 not HOST_WIDEST_INT.
6740 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
6742 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
6745 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
6746 operand argument to output_return_instruction.
6747 * arm.c (arm_print_operand, case 'd'): If the operand is
6748 const_true_rtx then just return.
6749 (arm_print_operand, case 'D'): If the operand is const_true_rtx
6752 2002-03-23 Andrew Cagney <ac131313@redhat.com>
6754 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
6755 (Warning Options): Document -Wswitch-default.
6756 * toplev.c (W_options): Add -Wswitch-default. Update comment on
6758 (warn_switch_default): Define variable.
6759 (warn_switch): Update comment.
6760 * flags.h (warn_switch_default): Declare variable.
6761 (warn_switch): Update comment.
6762 * stmt.c (expand_end_case): Check for and, when
6763 warn_switch_no_default, warn of a missing default case.
6765 2002-03-23 Alan Modra <amodra@bigpond.net.au>
6767 * real.h (N): Special case 128 bit doubles.
6769 * combine.c (simplify_comparison): When widening modes, ignore
6770 sign extension on CONST_INTs.
6772 2002-03-22 Bob Wilson <bob.wilson@acm.org>
6774 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
6775 passed to adjust_address. Fix comment formatting.
6778 2002-03-22 Zack Weinberg <zack@codesourcery.com>
6780 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
6781 Always make REAL_VALUE_TYPE a struct containing an array of
6782 HOST_WIDE_INT, not a double. Tidy up the code deciding how
6783 big it is. Don't declare or use union real_extract.
6785 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
6786 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
6787 (print_operand), config/arm/arm.c (output_move_double),
6788 config/arm/arm.md (consttable_4, consttable_8),
6789 config/romp/romp.c (output_fpops), config/s390/s390.h
6790 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
6791 (xtensa_output_literal): Don't use union real_extract.
6793 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
6794 (sfmode_constant_to_ulong), config/ns32k/merlin.h
6795 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
6796 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
6797 (PRINT_OPERAND): Don't use local version of union
6800 * config/convex/convex.c (check_float_value), config/vax/vax.c
6801 (vax_float_literal), config/m88k/m88k.md (divdf3),
6802 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
6803 config/pdp11/pdp11.c (output_move_quad): Don't do host
6804 arithmetic on target floating point quantities.
6806 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
6807 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
6809 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
6810 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
6812 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
6813 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
6815 * print-rtl.c (print_rtx): Disable code which needs
6816 floating-point emulator.
6817 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
6818 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
6819 depending on HOST_FLOAT_FORMAT to be defined properly.
6821 * config/1750a/1750a.c (get_double, float_label): Delete.
6822 (print_operand): Delete huge commented-out chunk. Use
6823 REAL_VALUE_TO_DECIMAL.
6824 * config/1750a/1750a-protos.h: Delete prototypes of deleted
6826 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
6828 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
6829 Use REAL_VALUE_TO_DECIMAL as ELF version does.
6830 * config/m88k/m88k.c (real_power_of_2_operand,
6831 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
6832 real_extract out of the union; run the input through
6833 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
6834 from that into the union.
6835 * config/pdp11/pdp11.c (output_move_double): Rearrange
6836 parentheses to make automatic indenter happy.
6838 * doc/tm.texi (Cross-compilation): Rename node to "Floating
6839 Point" and rewrite to describe current situation. Also adjust
6840 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
6842 * doc/rtl.texi: Adjust cross reference.
6844 2002-03-22 Bob Wilson <bob.wilson@acm.org>
6846 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
6847 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
6848 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
6849 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
6850 prevent use of sp as a reload register.
6851 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
6852 non_acc_reg_operand.
6853 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
6854 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
6855 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
6856 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
6858 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
6860 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
6861 * cpplex.c (unterminated): Delete.
6862 (parse_string): No string literal may extend over multiple
6863 lines. Suppress the error when preprocessing assembly.
6864 * cppmain.c (scan_translation_unit): Strings are single-line.
6866 * doc/cpp.texi: Update to match.
6868 2002-03-22 Jakub Jelinek <jakub@redhat.com>
6870 PR optimization/5854
6871 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
6873 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
6874 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
6875 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
6876 const0 if scratch register was not allocated.
6877 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
6878 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
6880 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
6881 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
6882 with GEN_INT (...) everywhere. Remove constraints in define_split
6884 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
6885 require scratch register for setting 0 into regs/non-pushable memory.
6887 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
6889 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
6890 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
6892 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
6894 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
6895 * cppinit.c (cpp_create_reader): On by default.
6896 (cpp_handle_option): Handle -W[no-]endif-labels.
6897 (cpp_post_options): Also enable if -pedantic.
6898 * cpplib.c (do_else): Use it.
6899 (do_endif): Likewise.
6900 * doc/cppopts.texi: Document new option.
6901 * doc/invoke.texi: Document new option.
6903 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
6905 * config/i386/i386.c, config/i386/i386.md: Change all occurences
6906 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
6908 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
6910 * flow.c (calculate_global_regs_live): Clear aux fields of
6913 2002-03-22 Jakub Jelinek <jakub@redhat.com>
6915 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
6916 REG or MEM subregs, pass rtx * instead of rtx to it.
6917 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
6918 rtx * instead of rtx to alter_subreg.
6919 * config/m32r/m32r.c (gen_split_move_double): Likewise.
6920 * config/pj/pj.c (pj_output_rval): Likewise.
6922 2002-03-22 Richard Henderson <rth@redhat.com>
6925 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
6926 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
6927 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
6928 (ia64_expand_prologue): Look at int_regs, not words, for number
6929 of incomming int regs.
6931 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
6933 * expr.c (expand_expr): A RESULT_DECL is part of a call.
6935 Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
6937 * toplev.c (flag_loop_optimize, flag_crossjumping):
6938 New static variables.
6939 (rest_of_compilation): Conditionalize crossjumping and
6941 (parse_options_and_default_flags): Default loop_optimize and
6943 (lang_independent_options): Add -fcrossjumping and -floop-optimize
6944 * invoke.texi (crossjumping, loop-optimize): Document.
6946 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6948 * real.c (eiisneg): Move outside #ifdef NANS.
6950 Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
6952 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
6953 frequencies match; avoid match on different loop depths.
6954 (try_crossjump_to_bb): Kill tests that no longer brings time
6956 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
6958 (split_edge): Likewise.
6960 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
6963 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
6964 * cfgrtl.c: Include insn-config.h
6965 (split_block) Dirtify block in presence of conditional execution
6967 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6969 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
6970 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
6971 (function_arg): Constify CUMULATIVE_ARGS.
6972 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
6973 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
6974 (UNITS_PER_DOUBLE): New macro.
6975 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
6976 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
6977 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
6978 fp_regs and stack_words.
6979 (EABI_FLOAT_VARARGS_P): New macro.
6980 * config/mips/mips.c (struct mips_arg_info): New.
6981 (mips_arg_info): New function.
6982 (function_arg_advance): Use it. Add adjustment instructions here
6983 rather than in function_arg.
6984 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
6985 for VOIDmode at the beginning of the function.
6986 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
6987 (function_arg_pass_by_reference): Likewise.
6988 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
6989 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
6990 (mips_va_start): Likewise. Use the new stack_words field of
6991 CUMULATIVE_ARGS to set up overflow area. Reformat.
6992 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
6993 doubles and other types, aligning the overflow pointer for non-doubles
6994 too. Remove some code duplication. Replace hard-coded constants.
6996 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6998 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
6999 (CLASS_UNITS): Undefine.
7000 (CLASS_MAX_NREGS): Use FP_INC.
7001 * config/mips/mips.c (compute_frame_size): Likewise.
7002 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
7004 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
7006 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
7007 prototype, and handle lexing numbers and identifiers.
7008 (parse_identifier): Update to new form of parse_slow.
7009 (parse_number): Fast path only, use parse_slow otherwise.
7010 (_cpp_lex_direct): Update calls to parse_number.
7012 2002-03-21 DJ Delorie <dj@redhat.com>
7014 * bb-reorder.c (make_reorder_chain_1): Protect against
7015 when redundant edges are omitted.
7016 * predict.c (dump_prediction): Likewise.
7018 2002-03-21 Richard Henderson <rth@redhat.com>
7021 * fixinc/inclhack.def (solaris_stdio_tag): New.
7022 * fixinc/fixincl.x: Regenerate.
7024 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
7027 * c-typeck.c (process_init_element): Flag non-static
7028 initialization of a flexible array member as illegal.
7030 2002-03-22 Alan Modra <amodra@bigpond.net.au>
7032 * config/rs6000/t-linux64: New.
7033 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
7034 t-ppccomm. Use t-rs6000 and t-linux64.
7035 (powerpc64-*-gnu* <tmake_file>): Likewise.
7036 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
7037 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
7038 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
7040 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
7042 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
7043 flag_really_no_inline instead of optimize == 0.
7045 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
7047 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
7049 * flags.h (flag_really_no_inline): New.
7051 * c-common.c (c_common_post_options): Initialize
7052 flag_really_no_inline.
7054 * toplev.c (flag_really_no_inline): New.
7056 2002-03-21 Jakub Jelinek <jakub@redhat.com>
7058 * config/avr/avr.md (length): Fix length computation for
7059 conditional branches.
7061 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
7063 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
7064 sdbout.o, profile.o): Update.
7065 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
7067 * c-common.h (gettags): Move here from tree.h.
7068 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
7069 insert_block, getdecls, kept_level_p, global_bindings_p): New.
7070 * dbxout.c (dbxout_init): Use getdecls langhook.
7071 * expr.c (expand_expr): Use insert_block langhook.
7072 * fold-const.c: Include langhooks.h.
7073 (fold_range_test, fold_binary_op_with_conditional_arg,
7074 fold): Use global_bindings_p langhook.
7075 * integrate.c (expand_inline_function): Use insert_block langhook.
7076 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
7077 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
7078 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
7079 LANG_HOOKS_GETDECLS): New.
7080 (LANG_HOOKS_INITIALIZER): Update.
7081 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
7083 * langhooks.h (struct lang_hooks_for_decls): New.
7084 (struct lang_hooks): Update.
7085 * profile.c: Include langhooks.h.
7086 (output_func_start_profiler): Use new langhooks.
7087 * sdbout.c: Include langhooks.h.
7088 (sdbout_init, sdbout_finish): Use getdecls langhook.
7089 * stmt.c: Include langhooks.h.
7090 (expand_fixup, fixup_gotos): Use new langhooks.
7091 * stor-layout.c: Include langhooks.h.
7092 (variable_size): Use global_bindings_p langhook.
7093 * toplev.c (compile_file): Use getdecls langhook.
7094 * tree-inline.c (remap_block): Use insert_block langhook.
7095 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
7096 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
7098 2002-03-21 Richard Henderson <rth@redhat.com>
7100 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
7101 constants in .data when -fpic.
7103 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7105 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
7108 2002-03-21 Tom Tromey <tromey@redhat.com>
7110 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
7112 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7114 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
7116 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
7118 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
7119 Richard Henderson <rth@redhat.com>
7122 * c-common.c (c_expand_expr): Preserve result of a statement
7123 expression if needed.
7125 2002-03-21 Jakub Jelinek <jakub@redhat.com>
7128 * genrecog.c (maybe_both_true_mode): Remove.
7129 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
7130 * machmode.def (Pmode): Likewise.
7132 Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
7134 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
7135 (nonlocal_mentioned_p_1): New function.
7136 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
7137 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
7138 (mark_constant_function): Recognize pure functions.
7139 * rtl.h (global_reg_mentioned_p): New prototype.
7140 * rtlanal.c (global_reg_mentioned_p,
7141 global_reg_mentioned_p_1): New function.
7143 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7145 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
7147 * fixinc/fixincl.x: Regenerate.
7149 2002-03-20 Jason Merrill <jason@redhat.com>
7151 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
7153 2002-03-20 Michael Meissner <meissner@redhat.com>
7155 * doc/invoke.texi (Optimize Options): Document that -O2 sets
7158 2002-03-20 Bob Wilson <bob.wilson@acm.org>
7160 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
7161 ".literal_position" directive before the constant pool.
7163 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
7165 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
7166 Add Craig Rodrigues.
7167 Add Brad Lucier to testers.
7169 2002-03-20 Jakub Jelinek <jakub@redhat.com>
7172 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
7174 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
7175 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
7176 instead of insn_extract.
7178 2002-03-20 Jakub Jelinek <jakub@redhat.com>
7181 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
7183 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
7184 stmt if some case has been output.
7186 2002-03-20 Jakub Jelinek <jakub@redhat.com>
7189 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
7190 movsfcc_1, movdfcc_1): Add %O2.
7191 * config/i386/i386.c (print_operand): Handle %ON.
7192 Print . before float condition codes in Sun as cmov syntax.
7193 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
7194 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
7197 2002-03-20 Philip Blundell <pb@nexus.co.uk>
7199 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
7200 return instruction if PC was popped.
7202 2002-03-20 Bob Wilson <bob.wilson@acm.org>
7204 * config/xtensa/xtensa.md: Remove unused type attributes.
7205 (adddi_carry, subddi_carry): Change type attribute to "multi".
7207 2002-03-19 Dale Johannesen <dalej@apple.com>
7209 PR optimization/5999, middle-end/5731
7210 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
7211 multiplications by reciprocals.
7213 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
7215 * Makefile.in: Update.
7216 * c-common.c: Include langhooks.h.
7217 (inline_forbidden_p): Use new hook.
7218 * diagnostic.c: Include langhooks.h.
7219 (format_with_decl, announce_function,
7220 default_print_error_function): Use new hook.
7221 * dwarf2out.c (dwarf2_name): Use new hook.
7222 * function.c: Include langhooks.h.
7223 (init_function_start): Use new hook.
7224 * langhooks-def.h (lhd_decl_printable_name): New.
7225 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
7226 (LANGHOOKS_INITIALIZER): Update.
7227 * langhooks.c (lhd_decl_printable_name): New.
7228 * langhooks.h (struct lang_hooks): New hook.
7229 * toplev.c (decl_name, decl_printable_name): Remove.
7230 (open_dump_file): Use new hook.
7231 (process_options): Remove old hook.
7232 * tree.h (decl_printable_name): Remove.
7234 * objc-act.c (objc_init): Remove old hook.
7235 (objc_printable_name): Export.
7236 * objc-act.h (objc_printable_name): New.
7237 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
7239 2002-03-19 Jim Blandy <jimb@redhat.com>
7241 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
7242 the start_source_file debug hook, not the current line number.
7244 2002-03-19 Richard Henderson <rth@redhat.com>
7246 * flow.c (EH_USES): Provide default.
7247 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
7248 * doc/tm.texi (EH_USES): New.
7250 * config/ia64/ia64.c (ia64_eh_uses): New.
7251 * config/ia64/ia64-protos.h: Update.
7252 * config/ia64/ia64.h (EH_USES): New.
7254 2002-03-19 Richard Henderson <rth@redhat.com>
7256 * varasm.c (output_constant_def): Fix stupid typo.
7258 2002-03-19 Richard Henderson <rth@redhat.com>
7261 * except.c (current_function_has_exception_handlers): New.
7262 * except.h: Declare it.
7263 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
7264 Combine tests that disable all sibcalls for the function.
7266 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
7268 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
7271 2002-03-19 Richard Henderson <rth@redhat.com>
7274 * config/ia64/ia64.c: Revert 2002-03-01 patch.
7275 * config/ia64/ia64.h (INIT_EXPANDERS): New.
7277 2002-03-19 Jim Blandy <jimb@redhat.com>
7279 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
7280 name, even if the replacement list contains no tokens, as required
7283 2002-03-19 Jason Merrill <jason@redhat.com>
7285 * varasm.c (globalize_decl): Get the name from the RTL, not
7286 DECL_ASSEMBLER_NAME.
7288 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
7290 2002-03-19 Bob Wilson <bob.wilson@acm.org>
7292 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
7293 subdi_carry): Define.
7295 2002-03-19 David Edelsohn <edelsohn@gnu.org>
7297 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
7298 about -fpic/-fPIC if extra_warnings set.
7300 2002-03-19 David Edelsohn <edelsohn@gnu.org>
7302 * expr.c (expand_expr): Sign-extend CONST_INT generated from
7303 TREE_STRING_POINTER.
7304 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
7306 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7308 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
7309 in favor of SP if FRAME_POINTER_REQUIRED is false.
7311 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
7313 * emit-rtl.c (gen_int_mode): New function.
7314 * rtl.h: Prototype for it.
7315 * combine.c (make_extraction, simplify_comparison), expmed.c
7316 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
7317 (convert_modes, store_field), optabs.c (expand_fix),
7318 simplify-rtx.c (neg_const_int, simplify_unary_real),
7320 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
7321 Use it instead of GEN_INT (trunc_int_for_mode (...)).
7323 2002-03-19 Jakub Jelinek <jakub@redhat.com>
7326 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
7327 convert_parm_for_inlining.
7328 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
7330 * langhooks-def.h: Likewise.
7331 * objc/objc-lang.c: Likewise.
7332 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
7334 * tree-inline.c (initialize_inlined_parameters):
7335 Call convert_parm_for_inlining lang hook if needed.
7336 * c-typeck.c (c_convert_parm_for_inlining): New function.
7337 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
7339 2002-03-18 Mark Mitchell <mark@codesourcery.com>
7341 * calls.c (precompute_arguments): Do not assume that temporaries
7342 can be destroyed after expanding the argument.
7343 (expand_call): Likewise.
7345 2002-03-15 Eric Christopher <echristo@redhat.com>
7347 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
7348 Fix register preference on last change.
7349 * config/mips/mips.c (mips_return_in_memory): New function.
7350 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
7351 * config/mips/mips-protos.h: Declare.
7352 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
7353 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
7355 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
7357 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
7359 (anddi3, iorsi3): Likewise.
7361 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
7362 use %gprel for symbols that are going to be placed in linkonce
7365 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
7366 RETURN_ADDRESS_POINTER_REGNUM to $ra.
7367 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
7368 not needed. Disregard leaf_function_p().
7369 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
7370 mips16 frame pointer.
7371 * config/mips/mips.md (store ra): Only to small SP offsets.
7372 2001-08-22 Graham Stott <grahams@redhat.com>
7373 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
7374 return a REG rtx for the return address register.
7376 2002-03-18 Bob Wilson <bob.wilson@acm.org>
7378 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
7379 constant-pool addresses as "mode-dependent".
7380 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
7382 2002-03-18 Jakub Jelinek <jakub@redhat.com>
7385 * expr.c (emit_group_load): Use extract_bit_field if
7386 needed for CONCAT arguments.
7388 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
7391 * arm.md (tablejump): Make this a define_expand. For PIC add the
7392 offset to the base of the table.
7393 (thumb_tablejump): Matcher for Thumb tablejump insn.
7394 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
7395 as the difference of two labels.
7396 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
7397 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
7399 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
7400 * arm.c (get_jump_table_size): If the table is not in the text
7401 section, return zero.
7403 2002-03-18 Bernd Schmidt <bernds@redhat.com>
7405 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
7407 (arm_reload_out_hi): Use gen_lowpart instead of
7408 gen_rtx_SUBREG to access QImode components.
7409 * config/arm/arm.md: Disable zero_extend split for QImode
7410 subregs in BIG_ENDIAN mode.
7411 (storehi_bigend): Match use of least significant byte.
7412 (storeinthi): Remove extraneous SUBREG.
7413 Add missing construction of operands[2].
7414 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
7415 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
7416 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
7418 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
7420 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
7423 2002-03-17 Richard Henderson <rth@redhat.com>
7425 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
7428 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7430 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
7431 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
7433 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7435 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
7437 * predict.c (estimate_bb_frequencies): Delete unused variables.
7439 2002-03-17 Richard Henderson <rth@redhat.com>
7441 * config/ia64/ia64.c (ia64_attribute_table): Move before
7442 targetm definition. Make static.
7444 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
7446 * c-common.h (yyparse, c_common_parse_file): New.
7447 * c-lang.c: Include c-common.h.
7448 (LANG_HOOKS_PARSE_FILE): Redefine.
7449 * c-lex.c: Include c-common.h.
7450 (yyparse): Rename c_common_parse_file. Call yyparse.
7451 * c-parse.in (yyparse): Remove macro.
7452 * c-tree.h (yyparse_1): Remove.
7453 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
7454 (LANG_HOOKS_INITIALIZER): Update.
7455 * langhooks.h (struct lang_hoooks): New hook parse_file.
7456 * toplev.c (compile_file): Use parse_file hook.
7457 * tree.h (yyparse): Remove.
7458 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
7460 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
7462 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
7463 float_truncate, not fix.
7464 ("*truncdfsf2_real"): Ditto.
7465 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
7467 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
7469 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
7471 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
7472 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
7473 where appropriate. Make the second reference to
7474 leaf_function_p a function call, as intended. Reindented.
7476 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
7477 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
7479 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
7480 add register to non-constant into sp.
7482 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
7483 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
7484 (mips16_gp_pseudo_rtx): Lose.
7485 (INIT_EXPANDERS): Deleted.
7486 * config/mips/mips.c (mips_init_machine_status): New.
7487 (mips_free_machine_status): New.
7488 (mips_mark_machine_status): New.
7489 (override_options): Set them.
7490 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
7491 (struct machine_function): ... new. Replaced all references.
7492 (mips_add_gc_roots): Don't mark them.
7493 (embedded_pic_fnaddr_reg): New, extracted from...
7494 (embedded_pic_offset): ... here.
7495 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
7498 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7500 * cppinit.c: Revert -MD removal.
7502 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7504 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
7505 soft registers by default for 68HC12.
7506 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
7507 when compiling with -fomit-frame-pointer.
7508 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
7509 (expand_epilogue): Likewise.
7510 (m68hc11_gen_rotate): Use exg when rotating by 8.
7512 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7514 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
7515 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
7516 (splits): Remove unused add splits.
7517 ("*addhi3_68hc12"): Tune constraints.
7518 ("addhi_sp"): Try to use X instead of Y in all cases and if the
7519 constant fits in 8-bits and D is dead use abx/aby instructions.
7520 ("*addhi3"): Remove extern declaration of ix_reg.
7521 ("*subsi3"): Optimize and provide new split.
7522 ("subhi3"): Cleanup.
7523 ("*subhi3_sp"): Avoid saving X if we know it is dead.
7524 (arith splits): For 68hc12 save the address register on the stack
7525 and do the arithmetic operation with a pop.
7527 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7529 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
7530 allocating QImode in address registers.
7531 ("*movqi_m68hc11"): Likewise.
7533 Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
7535 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
7537 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
7539 * cppinit.c (print_help): Display -MD and -MMD.
7540 Don't display usage string. Update assertion syntax and
7542 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
7543 (cpp_handle_option): Update.
7545 2002-03-15 Chris Demetriou <cgd@broadcom.com>
7547 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
7548 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
7549 and define it so that regardless of target CPU size,
7550 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
7551 of "int" rather than "long."
7553 2002-03-15 Richard Henderson <rth@redhat.com>
7555 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
7558 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7560 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
7561 ("tstqi" split): Avoid using memory for tstqi on address register.
7562 (splits): Remove constraints.
7563 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
7564 ("cmpdf", "cmpsf"): Remove since not used.
7565 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
7566 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
7568 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7570 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
7571 ("neghi2"): Tighten constraints.
7572 ("one_cmplsi2"): Optimize and simplify split.
7573 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
7575 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7577 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
7578 and split of AND operation to clear the upper bits.
7579 ("*logicalsi3_zextqi"): Likewise.
7580 ("*logicallhi3_zexthi_ashift8"): Likewise.
7581 ("*logicalsi3_silshr16"): Likewise.
7582 ("logicalsi3_silshl16"): Likewise.
7583 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
7585 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7587 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
7588 (m68hc11_indirect_p): New function.
7589 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
7590 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
7592 (asm_print_register): Likewise.
7593 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
7594 (m68hc11_indirect_p): Declare.
7595 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
7596 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
7597 (TARGET_SWITCHES): New option -mrelax.
7598 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
7600 ("iorsi3", "xorsi3"): Likewise.
7601 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
7602 ("*andhi3_mem"): New to handle destination in memory with bclr
7603 and a scratch register.
7604 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
7605 ("*andhi3_const"): New when operand2 is constant.
7606 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
7607 ("*andhi3_gen"): Cleanup of the old "andhi3".
7608 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
7609 ("xorqi3"): Update constraints.
7611 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7613 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
7614 for reg_equiv_memory_loc when the operand is a register that does
7615 not get a hard register (stack location).
7616 (tst_operand): After reload, accept all memory operand.
7617 (symbolic_memory_operand): Fix detection of symbolic references.
7618 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
7619 accept symbols and any constant.
7621 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7623 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
7624 note on the insn that sets the soft frame register.
7625 (must_parenthesize): ix and iy are also reserved names.
7626 (print_operand_address): One more place where parenthesis are required
7627 to avoid confusion with register names.
7628 (m68hc11_gen_movhi): Allow push of stack pointer.
7629 (m68hc11_check_z_replacement): Fix handling of parallel with a
7631 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
7632 the replacement register is.
7633 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
7634 and D8_REGS classes.
7635 (MODES_TIEABLE_P): All modes are tieable except QImode.
7637 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7639 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
7640 (___subdi3): Likewise.
7641 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
7642 (__map_data_section): Optimize 68hc11 case.
7644 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
7646 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
7647 than a shift to avoid adding a register with itself.
7648 (m68hc11_memory_move_cost): Take into account NO_REGS.
7649 (m68hc11_register_move_cost): Update and use memory move cost
7651 (m68hc11_address_cost): Make cost of valid offset not 0 so that
7652 it gives more opportunities to cse to optimize.
7653 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
7654 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
7656 2002-03-15 Mark Mitchell <mark@codesourcery.com>
7658 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
7659 * c-common.def (CLEANUP_STMT): New tree node.
7660 * c-common.h (CLEANUP_DECL): New macro.
7661 (CLEANUP_EXPR): Likewise.
7662 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
7663 * expr.c (expand_expr): Tidy.
7664 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
7665 * tree-inline.c (initialize_inlined_parameters): Clean up
7666 new local variables.
7668 2002-03-15 Jakub Jelinek <jakub@redhat.com>
7671 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
7672 before movrXX only, use reg_overlap_mentioned_p.
7673 Only special case NE if just one insn can be generated.
7675 2002-03-15 Jason Merrill <jason@redhat.com>
7677 * varasm.c (assemble_variable): Call resolve_unique_section before
7678 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
7681 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
7684 * arm.md (split pattern for thumb shiftable immediates): Add comment
7685 explaining non-obvious test.
7687 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
7690 * arm.md (movaddr, movaddr_insn): Delete.
7692 2002-03-15 Jason Merrill <jason@redhat.com>
7694 * toplev.c (wrapup_global_declarations): Clarify variable handling.
7695 -fkeep-static-consts doesn't apply to comdats.
7697 2002-03-14 Richard Henderson <rth@redhat.com>
7699 * c-decl.c: Include c-pragma.h.
7700 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
7701 (finish_function): Tidy.
7702 * c-pragma.c: Include c-common.h.
7703 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
7704 (handle_pragma_weak): Use them.
7705 (init_pragma): Register pending_weaks.
7706 * c-pragma.h (maybe_apply_pragma_weak): Declare.
7707 * print-tree.c (print_node): Print DECL_WEAK.
7708 * varasm.c (mark_weak_decls): Remove.
7709 (remove_from_pending_weak_list): Remove.
7711 (asm_emit_uninitialised): Call globalize_decl for weak commons.
7712 (weak_decls): Make a tree_list.
7713 (declare_weak): Cons weak_decls directly.
7714 (globalize_decl): Remove weak_decls elements directly.
7715 (weak_finish): Simplify weak_decls walk. Don't weaken unused
7716 symbols. Don't pretend to handle aliases.
7717 (init_varasm_once): Update weak_decls registry.
7718 * Makefile.in: Update dependencies.
7720 2002-03-14 Richard Henderson <rth@redhat.com>
7723 * config/ia64/ia64.c: Include tm_p.h last.
7724 (gen_nop_type): Remove duplicate definition.
7725 (cycle_end_fill_slots): Set sched_data for second L slot.
7726 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
7727 (nop_cycles_until): Fix typos.
7729 2002-03-15 Jakub Jelinek <jakub@redhat.com>
7731 PR optimization/5891
7732 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
7734 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
7736 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
7737 descriptors correctly.
7739 2002-03-14 Michael Meissner <meissner@redhat.com>
7741 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
7742 100, allowing MAX_UNROLLED_INSNS to be overridden.
7744 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
7747 * unroll.c (params.h): Include.
7748 (MAX_UNROLLED_INSNS): Delete, now in params.h.
7750 * doc/invoke.texi (--param max-unroll-insns): Document.
7752 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
7754 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
7756 * arm.md: Fix warnings about constraints in peepholes and splits.
7758 2002-03-14 Zack Weinberg <zack@codesourcery.com>
7760 * cpphash.h (struct lexer_state): Remove line_extension member.
7761 * cpplib.c (dequote_string, do_linemarker): New functions.
7762 (linemarker_dir): New data object.
7763 (DIRECTIVE_TABLE): No longer need to interpret #line in
7764 preprocessed source. Delete obsolete comment about return
7766 (end_directive, directive_diagnostics, _cpp_handle_directive):
7767 Don't muck with line_extension.
7768 (directive_diagnostics): No need to issue warnings for
7770 (_cpp_handle_directive): Issue warnings for linemarkers here,
7771 when appropriate. Dispatch linemarkers to do_linemarker, not
7773 (do_line): Code to handle linemarkers split out to do_linemarker.
7774 Convert escape sequences in filename argument, both places.
7776 * cppmacro.c (quote_string): Rename cpp_quote_string and
7777 export. All callers changed.
7778 * cpplib.h (cpp_quote_string): Prototype.
7779 * cppmain.c (print_line): Call cpp_quote_string on to_file
7782 * doc/cpp.texi: Document that escapes are now interpreted in
7783 #line and in linemarkers, and that non-printing characters are
7784 converted to octal escapes when linemarkers are generated.
7786 Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
7788 * emit-rtl.c (try_split): Use delete_insns.
7789 * recog.c (split_all_insns): Fix terminating condition.
7791 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
7792 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7795 * arm.c (arm_output_epilogue): Fix floating-point register save
7796 adjustment when using a frame pointer.
7798 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
7800 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
7801 * config/mips/mips.c (compute_frame_size): Retrofit them here.
7802 (save_restore_insns, mips_expand_epilogue): And here.
7803 (build_mips16_call_stub): And here.
7804 (mips_function_value): Use the new macros to decide whether a single
7805 or complex float can be returned in floating-point registers. Return
7806 a parallel rtx in the complex case.
7808 Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
7810 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
7811 call after liveness analysis.
7813 * recog.c (split_insn): Use delete_insn_and_edges.
7815 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
7816 instructions to have branch prediction notes.
7817 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
7819 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
7821 * configure.in: Don't pass -Wno-long-long to a ADA compiler
7822 that doesn't support it.
7823 * configure: Regenerate.
7825 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7828 * config/sparc/sparc.md (normal_branch, inverted_branch,
7829 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
7830 inverted_fp_branch): Adjust calls to output_cbranch.
7831 Set length attribute.
7832 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
7833 output_v9branch. Set length attribute.
7834 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
7836 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
7837 (output_cbranch): Likewise. Handle far branches.
7838 (output_v9branch): Handle far branches.
7839 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
7841 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
7842 noov_compare64_op predicates.
7844 2002-03-13 Jason Merrill <jason@redhat.com>
7846 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
7847 into the function and constify it.
7848 * gthr-dce.h, gthr-solaris.h: Likewise.
7850 2002-03-13 David Edelsohn <edelsohn@gnu.org>
7852 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
7853 * config/rs6000/rs6000.c (rs6000_va_arg): Use
7854 std_expand_builtin_va_arg if not ABI_V4.
7856 2002-03-13 Jason Merrill <jason@redhat.com>
7858 * varasm.c (globalize_decl): New fn.
7859 (assemble_start_function): Use it.
7860 (asm_emit_uninitialized): Use it.
7861 (assemble_alias): Use it.
7862 (assemble_variable): Use it.
7864 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
7866 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
7867 2002-03-12 internal visibility change.
7868 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
7869 visibility into SYMBOL_REF_FLAG.
7871 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7873 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
7874 VOIDmode operand. Add compile-time optimization for constant results.
7876 2002-03-12 Jason Merrill <jason@redhat.com>
7878 * c-typeck.c (convert_for_assignment): Don't allow conversions
7879 between pointers and references. Only allow lvalues to convert to
7882 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
7884 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
7885 before prologue, to avoid scheduling problems.
7887 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7889 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
7890 (ELIMINABLE_REGS): Add sfp->sp.
7891 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
7893 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7895 PR optimization/5892
7896 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
7898 2002-03-13 Jakub Jelinek <jakub@redhat.com>
7900 * loop.c (basic_induction_var): Don't call convert_modes if mode
7901 classes are different.
7903 2002-03-12 Richard Henderson <rth@redhat.com>
7905 PR optimization/5901
7906 * function.c (reposition_prologue_and_epilogue_notes): Position
7907 the markers after/before the last/first insn not deleted.
7909 2002-03-12 Richard Henderson <rth@redhat.com>
7911 PR optimization/5878
7912 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
7913 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
7914 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
7916 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
7917 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
7918 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
7920 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
7921 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
7922 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
7923 also. Don't set it if not flag_pic.
7924 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
7925 to be INVALID_REGNUM when not used.
7927 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
7929 * expmed.c (store_bit_field): Reset alias set for memory.
7930 (extract_bit_field): Same.
7932 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7934 * c-common.c (c_tree_code_type, c_tree_code_length,
7935 c_tree_code_name, add_c_tree_codes): Delete.
7936 * c-common.h (add_c_tree_codes): Delete.
7937 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
7939 * c-objc-common.c (c_objc_common_init): Don't call
7940 add_c_tree_codes, instead set lang_unsafe_for_reeval.
7941 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
7942 objc_tree_code_name, add_objc_tree_codes): Delete.
7943 (objc_init): Don't call add_objc_tree_codes.
7944 * objc/objc-lang.c (tree_code_type, tree_code_length,
7945 tree_code_name): Define.
7946 * toplev.c (lang_independent_init): Don't set
7947 tree_code_length[IDENTIFIER_NODE].
7948 * tree.c (tree_code_type, tree_code_length, tree_code_name):
7949 Delete definitions, moved to language front-ends.
7950 * tree.def (IDENTIFIER_NODE): Hardwire the length.
7951 * tree.h (tree_code_type, tree_code_length, tree_code_name):
7953 (tree_code_length): Change type to unsigned char.
7955 2002-03-12 Richard Henderson <rth@redhat.com>
7957 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
7958 internal visibility change.
7960 2002-03-12 Bob Wilson <bob.wilson@acm.org>
7962 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
7963 validize_mem() instead of change_address to avoid clobbering
7966 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
7968 * c-lex.h (position_after_whitespace): Remove.
7970 2002-03-12 Jakub Jelinek <jakub@redhat.com>
7972 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
7973 (lex_string): Use unsigned char pointers.
7975 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7977 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
7978 is not a valid memory_operand.
7980 2002-03-12 Bob Wilson <bob.wilson@acm.org>
7982 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
7983 * config/xtensa/lib1funcs.asm: Fix copyright to include
7984 special case for libgcc files.
7985 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
7986 (__divsi3): Likewise.
7987 (__umodsi3): Likewise.
7988 (__modsi3): Likewise.
7989 * config/xtensa/lib2funcs.S: Fix copyright to include
7990 special case for libgcc files.
7992 2002-03-12 Tom Rix <trix@redhat.com>
7994 * collect2.c (resolve_lib_name): Move outside of
7995 OBJECT_FORMAT_COFF ifdef.
7996 (ignore_library): Same.
7998 2002-03-12 Bob Wilson <bob.wilson@acm.org>
8000 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
8002 2002-03-12 Bob Wilson <bob.wilson@acm.org>
8004 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
8005 to function_section before writing out the constant pool.
8007 2002-03-12 David Edelsohn <edelsohn@gnu.org>
8009 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
8011 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
8013 2002-03-12 Alan Modra <amodra@bigpond.net.au>
8015 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
8019 (cmpsi splitter): Likewise.
8020 (modsi3): Fail if <= 0.
8021 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
8022 redundant test when HOST_BITS_PER_WIDE_INT != 32.
8023 (reg_or_sub_cint64_operand): Likewise.
8024 (num_insns_constant_wide): Optimize sign extension.
8025 (rs6000_legitimize_address): Likewise.
8027 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
8029 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8030 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
8032 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
8034 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
8035 address calculation.
8037 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8039 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
8040 scratch register to DImode / TImode.
8041 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
8042 register used does not overlap the target.
8044 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8046 * Makefile.in (debug.o): Depend on debug.h.
8047 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
8048 * debug.c (do_nothing_debug_hooks): Likewise.
8049 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
8050 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
8051 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
8052 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
8053 * dwarfout.c (dwarf_debug_hooks): Likewise.
8054 * integrate.c (output_inline_function): Likewise.
8055 * objc/objc-act.c (synth_module_prologue): Likewise.
8056 * sdbout.c (sdb_debug_hooks): Likewise.
8057 * toplev.c (debug_hooks): Likewise.
8058 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
8060 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8062 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
8063 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
8064 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
8065 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
8066 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
8067 * defaults.h (POINTER_SIZE): Define.
8068 * doc/tm.texi (POINTER_SIZE): Document default.
8070 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8072 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
8074 2002-03-11 Richard Henderson <rth@redhat.com>
8076 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
8077 if rebuild_label_notes_after_reload.
8079 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
8081 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
8082 emit pic register load if "internal" visibility.
8083 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
8084 (cris_expand_builtin_va_arg): Do all computations on trees.
8086 2002-03-11 Richard Henderson <rth@redhat.com>
8088 * rtlanal.c: Include recog.h.
8089 (keep_with_call_p): Fix thinko.
8090 * Makefile.in (rtlanal.o): Update dependencies.
8092 2002-03-11 Chris Meyer <cmeyer@gatan.com>
8094 * genflags.c (gen_insn): Use IS_VSPACE.
8095 * genoutput.c (output_insn_data): Likewise.
8096 (process_template): Likewise.
8098 2002-03-11 Richard Henderson <rth@redhat.com>
8100 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
8102 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
8104 * Makefile.in: Update.
8105 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
8106 Update documentation.
8107 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
8108 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
8110 2002-03-11 Zack Weinberg <zack@codesourcery.com>
8112 * Makefile.in: Give texi2pod its input file as a command line
8113 argument, not on stdin.
8115 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
8116 Daniel Berlin <dan@dberlin.org>
8118 C++ alias analysis improvement.
8119 * alias.c (record_component_aliases): Record aliases for base
8122 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
8124 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
8126 2002-03-11 Douglas B Rupp <rupp@gnat.com>
8128 * toplev.c (vms_fopen): Remove, not needed.
8130 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
8132 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
8134 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
8135 for FP, already done later.
8137 * toplev.c (debug_args): Add entry for VMS_DEBUG.
8138 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
8140 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
8142 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
8143 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
8144 LARGEST_EXPONENT_IS_NORMAL for the given mode.
8145 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
8146 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
8147 (ediv, emul, eldexp, esqrt): Likewise.
8148 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
8149 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
8150 (saturate): New function.
8151 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
8152 (make_nan): Use a saturation value instead of a NaN if
8153 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
8154 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
8155 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
8156 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
8157 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
8158 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
8159 !ROUND_TOWARDS_ZERO.
8160 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
8161 (ROUND_TOWARDS_ZERO): Document.
8163 2002-03-11 Andreas Jaeger <aj@suse.de>
8165 * cfg.c (dump_flow_info): Remove unused variable.
8167 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
8169 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
8170 computations on trees.
8172 2002-03-10 Richard Henderson <rth@redhat.com>
8175 * reload.c (copy_replacements_1): New.
8176 (copy_replacements): Use it to recurse through the rtx.
8178 2002-03-10 Richard Henderson <rth@redhat.com>
8180 * loop.c (strength_reduce): Compute number of iterations as
8181 unsigned HOST_WIDE_INT.
8183 2002-03-10 Richard Henderson <rth@redhat.com>
8185 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
8186 to move away from the end of the block.
8188 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
8190 PR preprocessor/5899
8191 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
8193 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8195 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
8197 * attribs.c (decl_attributes): Fix signed/unsigned warning.
8199 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
8201 * config/mmix/mmix.c: Improve comments.
8202 (mmix_target_asm_function_prologue): Drop variable
8203 empty_stack_frame. Don't allocate unused slot above fp.
8204 (mmix_target_asm_function_epilogue): Mirror prologue changes.
8205 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
8206 brace in first column.
8207 (enum reg_class): Ditto.
8208 (FIRST_PARM_OFFSET): Now 0.
8209 (USER_LABEL_PREFIX): Remove #if 0:d definition.
8211 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8213 * combine.c (make_extraction): Fix error in last change.
8215 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8217 * c4x.c (c4x_fp_reglist): Const-ify.
8218 * cris.c (cris_print_operand): Likewise.
8219 * i386.c (ix86_va_arg): Likewise.
8220 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
8221 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
8222 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
8223 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
8224 * mcore.h (regno_reg_class): Likewise.
8225 * mips.c (gen_int_relational): Likewise.
8226 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
8227 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
8228 * pdp11.c (move_costs): Likewise.
8229 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
8230 * s390.c (s390_branch_condition_mnemonic, regclass_map):
8232 * s390.h (regclass_map): Likewise.
8233 * sh.c (shift_amounts): Likewise.
8234 * sh.md (rotlsi3): Likewise.
8236 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
8238 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
8239 (ne0+5): Use new clobber to generate proper shift pattern.
8240 Patch by Michael Matz <matz@kde.org>.
8242 2002-03-09 Andreas Schwab <schwab@suse.de>
8244 * gcc.c (validate_all_switches): Also handle `%W{...}'.
8246 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
8248 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
8250 2002-03-09 Jakub Jelinek <jakub@redhat.com>
8253 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
8254 even for non-representable constants.
8256 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8258 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
8259 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
8260 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
8261 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
8262 (pop_function_context): Compute MAY_SHARE parameter for
8264 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
8265 (gen_mem_addressof): Call fixup_var_refs with new parm.
8267 * combine.c (make_extraction): Don't make extension of CONST_INT.
8269 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
8271 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
8272 in o32 and o64 ABIs.
8273 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
8274 but getting fixed-size structs passed in registers regardless of
8275 padding in o32 and o64 ABIs.
8277 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
8278 offset before loading address of argument passed by transparent
8281 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
8283 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
8285 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
8287 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
8288 marker such that registers after it are saved.
8290 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8292 * sparc.c (arith_4096_operand): Fix error in last change.
8294 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
8296 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
8299 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
8301 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
8304 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
8306 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
8308 Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
8310 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
8311 removed; fix return value.
8312 * combine.c (combine_instructions): Dirtify blocks where we failed to
8313 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
8314 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
8316 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8318 * gcse.c (insert_insn_end_bb): Fix typo in last change.
8320 Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
8322 * recog.c (peephole2_optimize): Re-distribute EH edges.
8324 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
8326 * expr.c (expand_expr): Use unsave lang hook.
8327 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
8328 (LANG_HOOKS_INITIALIZER): Update.
8329 * langhooks.h (struct lang_hooks): New hook unsave.
8330 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
8331 (unsave_expr_1): Remove unused lang_unsave_expr_now.
8332 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
8333 (unsave_expr_now): Remove.
8334 * tree.h (unsave_expr_now, lang_unsave,
8335 lang_unsave_expr_now): Remove.
8338 2002-03-08 Andreas Jaeger <aj@suse.de>
8340 * flow.c (propagate_block_delete_insn): Remove unused variable.
8342 2002-03-08 Kazu Hirata <kazu@hxi.com>
8344 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
8345 insn length for memory load/store.
8347 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
8349 * doc/install.texi (--with-libiconv-prefix): Document.
8351 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
8353 * doc/sourcebuild.texi: Fix typo.
8355 2002-03-08 Jakub Jelinek <jakub@redhat.com>
8358 * builtins.c (std_expand_builtin_va_arg): Do all computations on
8361 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8363 * rtl.c (copy_most_rtx): Move from here ...
8364 * emit-rtl.c (copy_most_rtx): ... to here.
8366 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
8368 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
8369 SUBTARGET_CPP_SIZE_SPEC.
8370 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
8372 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
8374 2002-03-07 Matt Hiller <hiller@redhat.com>
8376 * gensupport.c (first_dir_md_include): Renamed from include;
8377 change all references.
8378 (last_dir_md_include): Renamed from last_include; change all
8380 (init_md_reader): Unconditionally initialize base_dir whether or
8381 not filename is a relative path.
8383 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
8385 * config/fp-bit.c (_unord_f2): Compile it in even if
8386 US_SOFTWARE_GOFAST is enabled.
8388 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
8389 NULL_RTX. Set all HFmode operations as NULL_RTX.
8390 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
8391 NULL_RTX, try reversing the comparison and the operands.
8393 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8395 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
8396 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
8399 Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
8401 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
8403 Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8405 * basic-block.h (fixup_abnormal_edges): Declare.
8406 * reload1.c (fixup_abnormal_edges): New function.
8407 * reg-stack.c (convert_regs): Use it.
8409 * gcse.c (insert_insn_end_bb): Handle trapping insns.
8411 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
8413 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
8415 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
8416 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
8417 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
8418 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
8419 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
8420 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
8421 unless x and y could be infinite.
8422 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
8423 Check that the common type of both arguments is a real, even for
8424 targets without unordered comparisons. Allow an integer argument
8425 to be compared against a real.
8426 (expand_tree_builtin): Use expand_unordered_cmp.
8427 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
8428 * cse.c (fold_rtx): Likewise. Fix indentation.
8429 * fold-const.c (fold_real_zero_addition_p): New.
8430 (fold): Use it, and the new HONOR_... macros.
8431 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
8432 * jump.c (reversed_comparison_code_parts): After searching for
8433 the true comparison mode, use HONOR_NANS to decide whether it
8434 can be safely reversed.
8435 (reverse_condition_maybe_unordered): Remove IEEE check.
8436 * simplify-rtx.c (simplify_binary_operation): Use the new macros
8437 to decide which simplifications are valid. Allow the following
8438 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
8439 and (a - -b) to (a + b).
8440 (simplify_relational_operation): Use HONOR_NANS.
8441 * doc/tm.texi: Document the MODE_HAS_... macros.
8443 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
8445 * combine.c (simplify_comparison): If simplifying a logical shift
8446 right and compare with constant, force the comparison to unsigned.
8448 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
8450 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
8452 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
8454 (alt_reg_names): Remove % for vrsave.
8456 2002-03-06 Richard Henderson <rth@redhat.com>
8458 PR optimization/5844
8459 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
8460 if used indicates we've already emitted one copy of an operand.
8461 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
8462 (gen_split): Supply a non-null used.
8464 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
8466 * reload1.c (reload): Unshare all rtl after reload is done.
8468 * simplify-rtx.c (simplify_plus_minus): Do not abort,
8469 but simply fail if the expression is too complex to simplify.
8470 (simplify_gen_binary): Handle simplify_plus_minus failures.
8472 Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
8474 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
8475 consistently call delete_trivially_dead_insns after CSE and GCSE;
8476 fix DFI_life dumping; do jump threading after liveness; do crossjumping
8477 after liveness2; update comment in last crossjumping.
8478 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
8480 Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
8482 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
8483 after completing fast dead code elimination.
8485 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
8488 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
8490 * version.c: Fix misplaced leading blanks on first line.
8492 Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
8494 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
8496 Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
8498 * cfgcleanup.c (mentions_nonequal_regs): New function.
8499 (thread_jump): Use it.
8500 * toplev.c (rest_of_compilation): Run jump threading after
8503 2002-03-06 Jakub Jelinek <jakub@redhat.com>
8505 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
8508 Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
8510 * predict.c (estimate_bb_frequencies): Do not reload the
8511 frequencies from notes.
8513 Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
8515 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
8516 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
8518 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
8519 delete_noop_moves): Return indeger.
8520 * flow.c (ndead): New variable.
8521 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
8522 BB argument; update callers.
8523 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
8524 (life_analysis): Do not call purge_all_dead_edges.
8525 (update_life_info): Return number of deleted insns; print statistics.
8526 (update_life_info_in_dirty_blocks): likewise.
8527 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
8528 return number of insns deleted.
8530 * cse.c: Include timevar.h
8531 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
8532 iterate until stabilizes; print statistics; return number of killed
8534 * Makefile.in: (cse.o): Add timevar.h dependency
8535 * rtl.h (delete_trivially_dead_insns): New.
8536 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
8537 * toplev.c (rest_of_compilation): Update callers.
8539 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
8540 (try_optimize_cfg): Do not update liveness.
8541 (cleanup-cfg): Loop until try_optimize_cfg and dead code
8542 removal stabilizes; use delete_trivially_dead_insns.
8544 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
8546 2002-03-05 Zack Weinberg <zack@codesourcery.com>
8548 * cppmain.c (setup_callbacks): Disable #pragma and #ident
8549 callbacks when processing assembly language.
8551 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
8553 * pa.h (ASM_FILE_END): Define.
8554 * som.h (ASM_FILE_END): Delete.
8556 * pa.c (function_arg): Don't pass floats in general registers in
8557 indirect calls if TARGET_ELF32.
8559 2002-03-05 Richard Henderson <rth@redhat.com>
8561 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
8563 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
8565 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
8567 2002-03-05 Jakub Jelinek <jakub@redhat.com>
8569 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
8570 -r command line. Don't hide any symbols if not building
8573 Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
8575 * cfg.c (dump_flow_info): Warn about profile mismatches.
8576 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
8577 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
8579 2002-03-05 Jakub Jelinek <jakub@redhat.com>
8581 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
8582 wide volatile memory by parts.
8584 2002-03-05 Jakub Jelinek <jakub@redhat.com>
8586 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
8589 2002-03-05 Richard Henderson <rth@redhat.com>
8591 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
8593 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
8595 * toplev.c (documented_lang_options): Document more
8596 language-specific options.
8597 * doc/invoke.texi (Warning Options): Correct documentation for
8598 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
8599 * c-decl.c (c_decode_option): Use a table to handle warning options.
8601 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
8603 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
8604 parameter to mmix_encode_section_info.
8605 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
8606 relocatably. Always produce ELF, not mmo if linking relocatably.
8607 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
8608 first is non-zero, don't add symbol prefix.
8609 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
8610 prototype accordingly.
8612 2002-03-04 Krister Walfridsson <cato@df.lth.se>
8614 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
8616 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
8618 * configure.in: Increase required makeinfo version to 4.1.
8619 * configure: Regenerate.
8621 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
8623 * .cvsignore: Remove *.info* and genrtl*; these files are generated
8626 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
8628 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
8629 * doc/invoke.texi: Fix @math uses.
8631 Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
8633 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
8636 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
8638 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
8639 (powerpc-*-eabisimaltivec*): Same.
8641 * config/rs6000/t-ppcendian: New.
8643 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8645 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
8646 nonimmediate_src_operand and nonimmediate_lsrc_operand to
8647 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
8649 2002-03-03 Richard Henderson <rth@redhat.com>
8651 * toplev.c (rest_of_decl_compilation): Revert last two changes.
8653 2002-03-03 Zack Weinberg <zack@codesourcery.com>
8655 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
8656 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
8657 tree.c, config/m68k/m68k.c:
8658 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
8659 REAL_ARITHMETIC blocks unconditional. Delete some further
8660 #ifdef blocks predicated on REAL_ARITHMETIC.
8661 * flags.h, toplev.c: Delete remaining references to
8664 * doc/invoke.texi: Remove documentation of -fpretend-float.
8665 * doc/tm.texi: Describe the various REAL_* macros as provided by
8666 real.h, not by the target configuration files.
8668 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
8669 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
8670 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8671 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
8672 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
8673 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
8674 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
8675 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
8676 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
8677 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
8678 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
8679 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
8680 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
8681 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
8682 config/xtensa/xtensa.h:
8683 Do not define, undefine, or mention in comments any of
8684 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
8685 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
8686 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
8687 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
8688 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
8689 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
8690 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
8691 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
8692 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
8694 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8696 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
8697 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
8698 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
8699 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
8700 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
8701 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
8703 * defaults.h (BITS_PER_WORD): Define.
8704 * doc/tm.texi (BITS_PER_WORD): Document default value.
8706 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
8707 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
8708 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
8710 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8712 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
8713 lieu of explicit sizeof/sizeof.
8714 * i386.c (override_options, ix86_init_mmx_sse_builtins,
8715 ix86_expand_builtin): Likewise.
8716 * mips.c (mips_add_gc_roots): Likewise.
8717 * mmix.c (mmix_output_condition): Likewise.
8718 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
8719 altivec_init_builtins): Likewise.
8720 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
8721 * cppexp.c (Nsuff, parse_number): Likewise.
8722 * cppinit.c (builtin_array_end): Likewise.
8723 * gcc.c (n_default_compilers, process_command): Likewise.
8724 * genpreds.c (output_predicate_decls): Likewise.
8725 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
8726 * lcm.c (N_ENTITIES): Likewise.
8727 * stor-layout.c (set_sizetype): Likewise.
8729 2002-03-03 Richard Henderson <rth@redhat.com>
8731 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
8732 for types or labels.
8734 2002-03-03 Richard Henderson <rth@redhat.com>
8736 * c-decl.c (start_decl): Initialized variables are not common.
8738 2002-03-02 Per Bothner <per@bothner.com>
8740 * gcc.c (option_map): Suport new --bootclasspath option.
8741 --CLASSPATH is now just an alias for --classpath.
8743 2002-03-02 Richard Henderson <rth@redhat.com>
8745 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
8746 load if "internal" visibility.
8747 * doc/extend.texi: Document visibility meanings.
8749 2002-03-02 Richard Henderson <rth@redhat.com>
8751 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
8752 to functions as well.
8754 2002-03-02 Richard Henderson <rth@redhat.com>
8756 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
8757 (handle_visibility_attribute): Don't call assemble_visibility.
8758 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
8759 without asmspec. Invoke assemble_alias when needed.
8760 * varasm.c (maybe_assemble_visibility): New.
8761 (assemble_start_function, assemble_variable, assemble_alias): Use it.
8763 2002-03-02 Richard Henderson <rth@redhat.com>
8765 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
8766 invoke ENCODE_SECTION_INFO with first call flag.
8768 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
8769 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
8770 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
8771 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
8772 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
8773 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
8774 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
8775 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
8776 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
8777 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
8778 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8779 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
8780 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
8781 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
8782 config/mcore/mcore-protos.h, config/mcore/mcore.c,
8783 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
8784 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
8785 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
8786 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
8787 config/sh/sh.h, config/sparc/sparc.h,
8788 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
8789 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
8790 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
8791 FIRST argument. As needed, examine it and do nothing.
8793 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
8794 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
8795 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
8797 * config/arm/t-pe (pe.o): Add dependencies.
8799 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8801 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
8802 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
8803 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
8804 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
8805 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
8806 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
8807 * defaults.h (BITS_PER_UNIT): Define.
8808 * doc/tm.texi (BITS_PER_UNIT): Document default value.
8810 2002-03-02 Kazu Hirata <kazu@hxi.com>
8812 * config/h8300/h8300-protos.h: Add a prototype for
8813 compute_a_shift_length.
8814 * config/h8300/h8300.c (h8300_asm_insn_count): New.
8815 (compute_a_shift_length): Likewise.
8816 (h8300_adjust_insn_length): Do not adjust insn length of shift
8818 * config/h8300/h8300.md (anonymous shift patterns): Use
8819 compute_a_shift_length.
8821 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8823 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
8826 * emit-rtl.c (offset_address): Call update_temp_slot_address.
8828 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8830 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
8831 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
8832 * flags.h (flag_zero_initialized_in_bss): Declare.
8833 * toplev.c (flag_zero_initialized_in_bss): New flag.
8834 (lang_independent_options): Add flag_zero_initialized_in_bss.
8835 * tree.c (initializer_zerop): New function.
8836 * tree.h (initializer_zerop): Declare.
8837 * varasm.c (assemble_variable): If we can emit bss, put zero
8838 initializers in the bss section.
8840 2002-03-02 Alan Modra <amodra@bigpond.net.au>
8842 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
8843 like more than one symbol per .weak directive.
8845 2002-03-01 Richard Henderson <rth@redhat.com>
8847 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
8848 adjust argument_pointer by pretend_args_size.
8849 (ia64_va_start): Adjust va_start address by -pretend_args_size.
8851 2002-03-01 Kazu Hirata <kazu@hxi.com>
8853 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
8855 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
8857 * toplev.c (rest_of_compilation): Delete dead jumptables before
8859 * flow.c (delete_dead_jumptables): Make global.
8860 * rtl.h (delete_dead_jumptables): Declare.
8862 2002-03-01 David Edelsohn <edelsohn@gnu.org>
8864 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
8865 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
8866 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
8868 2002-03-01 Kazu Hirata <kazu@hxi.com>
8870 * config/h8300/h8300-protos.h: Fix formatting.
8871 * config/h8300/h8300.c: Likewise.
8872 * config/h8300/h8300.h: Likewise.
8874 2002-03-01 Kazu Hirata <kazu@hxi.com>
8876 * config/h8300/h8300.c (print_operand): Support 16-bit
8878 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
8880 2002-02-28 Richard Henderson <rth@redhat.com>
8882 * expmed.c (store_bit_field): Prevent generation of CONCATs;
8883 pun complex values as integers; use gen_lowpart instead of
8885 (extract_bit_field): Likewise.
8887 2002-03-01 Alan Modra <amodra@bigpond.net.au>
8888 David Edelsohn <edelsohn@gnu.org>
8890 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
8891 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
8892 (SUPPORTS_WEAK): Likewise.
8893 * output.h (add_weak): Add tree param.
8894 * varasm.c (add_weak): Likewise. Save decl.
8895 (struct weak_syms): Add decl field.
8896 (mark_weak_decls): New function.
8897 (init_varasm_once): ggc_add_root mark_weak_decls.
8898 (assemble_start_function): Use ASM_WEAKEN_DECL.
8899 (assemble_variable): Likewise.
8900 (assemble_alias): Likewise.
8901 (declare_weak): Pass decl to add_weak.
8902 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
8903 (remove_from_pending_weak_list): Declare and define for
8905 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
8906 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
8907 * defaults.h (SUPPORTS_WEAK): Likewise.
8908 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
8909 .weak for code sym. Do emit .size for descriptor sym.
8910 (ASM_DECLARE_FUNCTION_SIZE): Define.
8911 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
8912 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
8913 .lglobl unless TARGET_XCOFF. Formatting fixes.
8914 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
8916 (HANDLE_PRAGMA_WEAK): Remove.
8917 (ASM_WEAKEN_LABEL): Remove.
8918 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
8920 2002-03-01 Jason Merrill <jason@redhat.com>
8922 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
8923 (TARGET_EXPR_CLEANUP): New macro.
8925 2002-02-28 Steve Ellcey <sje@cup.hp.com>
8927 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
8928 to take ptr_extend into account as third type of extension.
8929 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
8930 fields used by SUBREG_PROMOTED_UNSIGNED_P.
8931 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
8932 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
8933 * calls.c (precompute_arguments): Use new macro.
8934 (expand_call): Ditto.
8935 * combine.c (nonzero_bits): Ditto.
8936 (record_promoted_value): Ditto.
8937 * expr.c (store_expr): Ditto.
8938 (expand_expr): Ditto.
8939 * function.c (assign_parms): Ditto.
8941 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
8943 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
8944 override -shared and -shared-libgcc.
8946 2002-02-28 David O'Brien <obrien@FreeBSD.org>
8948 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
8950 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
8953 2002-02-28 Richard Henderson <rth@redhat.com>
8955 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
8956 4 cycle latency from MM producers.
8957 (ia64_internal_sched_reorder): Likewise with pipeline flush.
8959 2002-02-28 Jakub Jelinek <jakub@redhat.com>
8961 * mklibgcc.in: Don't use GNU make extension.
8963 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
8965 * c-parse.in (STATIC): New terminal.
8966 (scspec): New non-terminal. Update productions accordingly.
8967 (program): Remove bogus ifc / end ifc.
8968 (array_declarator): Simplify production using STATIC.
8970 2002-02-28 Jim Meyering <meyering@lucent.com>
8972 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
8973 \a still means TARGET_BELL.
8975 2002-02-28 Richard Henderson <rth@redhat.com>
8977 * haifa-sched.c (sched_emit_insn): New.
8978 (schedule_block): Use last_scheduled_insn to track last insn.
8979 * sched-int.h (sched_emit_insn): Prototype.
8980 * config/ia64/ia64.c (last_issued): Remove.
8981 (ia64_variable_issue): Don't set it.
8982 (nop_cycles_until): Use sched_emit_insn.
8984 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
8986 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
8989 2002-02-28 Kazu Hirata <kazu@hxi.com>
8991 * config/h8300/h8300.c: Fix formatting.
8992 * config/h8300/h8300.h: Likewise.
8994 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
8996 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
8997 which may overwrite the high byte of the frame pointer.
8999 2002-02-28 Bo Thorsen <bo@suse.de>
9001 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
9002 (STARTFILE_SPEC): Add 64 bit files.
9003 (ENDFILE_SPEC): Likewise.
9005 2002-02-28 Jason Merrill <jason@redhat.com>
9007 * c-decl.c (finish_function): Only warn about missing return
9008 statement with -Wreturn-type.
9010 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
9012 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
9014 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
9015 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
9017 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
9019 * basic-block.h (BB_REACHABLE): Renumber.
9020 (BB_DIRTY, BB_NEW): New flags.
9021 (clear_bb_flags): Declare.
9022 (update_life_info_in_dirty_blocks): Declare.
9023 * cfg.c (clear_bb_flags): New function.
9024 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
9025 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
9026 reorder_insns, emit_insn_after): Mark block as dirty.
9027 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
9028 (update_life_info_in_dirty_blocks): New function.
9029 * recog.c (apply_change_group): Dirtify block.
9031 * cse.c (cse_insn): Reorder emitting of jump insn to keep
9033 * gcse.c (delete_null_pointer_checks): Likewise.
9035 * toplev.c (dump_file_index): Move cse2 after bp,
9037 (dump_file_info): Similary.
9038 (rest_of_compilation): Avoid most of CFG rebuilds;
9039 do first if converision after null pointer checks, do cse2
9040 after branch prediction; avoid full liveness rebuild after
9041 initializing subregs.
9042 * invoke.texi (-d options): Document -du, renumber.
9044 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
9045 (notice_new_block): Do not set BB_UPDATE_LIFE.
9046 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
9047 merge_blocks_move_successor_nojumps, merge_blocks,
9048 try_crossjump_to_edge): Likewise.
9049 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
9050 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
9051 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
9052 (merge_of_block): Do not use life_data_ok.
9053 (find_if_case_1): Do not use SET_UPDATE_LIFE.
9054 (if_convert): Use BB_DIRTY mechanizm to update life.
9055 * lcm.c (optimize_mode_switching): Update
9056 update_life_info_in_dirty_blocks
9058 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9060 * Makefile.in (integrate.o): Update.
9061 * c-decl.c (copy_lang_decl): Rename.
9062 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9063 * integrate.c: Include langhooks.h.
9064 (copy_decl_for_inlining): Update to use langhook.
9065 * langhooks-def.h (lhd_do_nothing_t,
9066 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
9067 (LANG_HOOKS_INITIALIZER): Update.
9068 * langhooks.c (lhd_do_nothing_t): New.
9069 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
9070 * tree.h (copy_lang_decl): Remove.
9072 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
9074 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
9076 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
9077 POST_DEC, and POST_MODIFY.
9079 2002-02-27 Zack Weinberg <zack@codesourcery.com>
9081 * c-typeck.c (digest_init): Remove unused parameter; all
9084 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
9086 * expmed.c (expand_shift): Correctly test for low part of a
9089 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
9091 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
9092 insn UIDs with insn addresses.
9094 2002-02-27 Zack Weinberg <zack@codesourcery.com>
9096 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
9097 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
9098 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
9099 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
9100 gcc.c, toplev.c: Delete code implementing -traditional mode.
9102 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
9103 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
9104 Document removal of -traditional mode for compilation, and
9105 remove documentation only relevant to that mode.
9107 * config/nextstep.h, config/ptx4.h, config/svr4.h,
9108 config/convex/convex.h, config/d30v/d30v.h,
9109 config/i386/dgux.h, config/i386/osf1elf.h,
9110 config/i386/osfelf.h, config/i386/osfrose.h,
9111 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
9112 config/m68k/hp310.h, config/m88k/dgux.h,
9113 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
9114 config/m88k/m88k.h, config/m88k/openbsd.h,
9115 config/mips/abi64.h, config/mips/osfrose.h,
9116 config/mips/svr4-5.h, config/mips/svr4-t.h,
9117 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
9118 config/stormy16/stormy16.h: Remove all references to
9119 -traditional from target specs. Delete all mention of the
9120 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
9121 delete a couple of commented-out definitions of
9122 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
9125 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
9126 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
9128 2002-02-27 Zack Weinberg <zack@codesourcery.com>
9130 * mklibgcc.in: Don't use \n in a line subject to
9131 interpretation by echo.
9133 2002-02-27 Graham Stott <grahams@redhat.com>
9135 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
9138 * loop.c (prescan_loop): Handle PARALLEL.
9140 * unroll.c (loop_iterations): Return 0 if the add_val for
9143 * final.c (output_operand_lossage): Constify PFX_STR.
9145 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
9147 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
9149 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
9150 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
9152 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
9154 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
9156 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
9158 * cpplex.c (_cpp_lex_token): Handle directives in macro
9160 * cpplib.c (_cpp_handle_directive): Save and restore state
9161 if parsing macro args when entering a directive.
9162 * cppmacro.c (collect_args): No need to handle directives
9164 (enter_macro_context, replace_args): Use the original macro
9165 definition in case it was redefined whilst collecting arguments.
9169 2002-02-26 David Edelsohn <edelsohn@gnu.org>
9171 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
9172 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
9173 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
9175 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
9176 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
9177 (load_toc_v4_PIC_2): Same.
9179 2002-02-26 Alan Modra <amodra@bigpond.net.au>
9181 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
9183 2002-02-26 Richard Henderson <rth@redhat.com>
9185 * config/alpha/alpha.md (ashldi_se): Re-enable.
9187 2002-02-26 Richard Henderson <rth@redhat.com>
9189 * config/alpha/alpha.c (alpha_encode_section_info): Examine
9190 MODULE_LOCAL_P; improve commentary.
9192 2002-02-26 Zack Weinberg <zack@codesourcery.com>
9194 * doc/cpp.texi: Clarify documentation of relationship between
9197 2002-02-26 Kazu Hirata <kazu@hxi.com>
9199 * config/h8300/h8300-protos.h: Update the prototype for
9200 compute_logical_op_length. Add the prototype for
9201 compute_logical_op_cc.
9202 * config/h8300/h8300.c (compute_logical_op_length): Figure out
9204 (compute_logical_op_cc): New.
9205 * config/h8300/h8300.md: Combine all the logical op patterns
9206 in HImode and SImode. Use compute_logical_op_cc.
9208 2002-02-26 Kelley Cook <kelleycook@comcast.net>
9210 * config/i386/i386.c (print_operand): Don't append ATT-style
9211 length suffixs to x87 opcodes when in Intel mode.
9213 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
9215 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
9216 (init_emit_once): Update calls.
9217 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
9218 (init_syntax_once): Prototype.
9220 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
9222 * pa-linux.h (LIB_SPEC): Update definition.
9223 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
9225 2002-02-26 Richard Henderson <rth@redhat.com>
9227 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
9228 if we emitted a stop bit.
9230 2002-02-26 Jakub Jelinek <jakub@redhat.com>
9232 * configure.in (libgcc_visibility): Substitute.
9233 * configure: Rebuilt.
9234 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
9235 defined symbols .hidden.
9237 2002-02-26 Jakub Jelinek <jakub@redhat.com>
9239 * attribs.c (c_common_attribute_table): Add visibility.
9240 (handle_visibility_attribute): New function.
9241 * varasm.c (assemble_visibility): New function.
9242 * output.h (assemble_visibility): Add prototype.
9243 * tree.h (MODULE_LOCAL_P): Define.
9244 * crtstuff.c (__dso_handle): Use visibility attribute.
9245 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
9246 for MODULE_LOCAL_P symbols too.
9247 * config/ia64/ia64.c (ia64_encode_section_info): Handle
9248 MODULE_LOCAL_P symbols the same way as local symbols.
9249 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
9250 into .sdata/.sbss by the user.
9251 * doc/extend.texi (Function Attributes): Document visibility
9254 2002-02-26 Jakub Jelinek <jakub@redhat.com>
9257 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
9258 STRING_CST initializer spanning the whole variable without
9260 If expand_expr returned MEM, don't use it.
9262 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
9264 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
9265 generate a die for the lexical block.
9267 2002-02-26 Kazu Hirata <kazu@hxi.com>
9269 * config/h8300/h8300-protos.h: Add a prototype for
9270 compute_logical_op_length.
9271 * config/h8300/h8300.c (compute_logical_op_length): New.
9272 * config/h8300/h8300.md (anonymous logical patterns): Use
9273 compute_logical_op_length for length.
9275 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
9277 * dwarf2out.c (modified_type_die): Do not call type_main_variant
9279 (gen_type_die): Same.
9281 * attribs.c (handle_vector_size_attribute): Set debug information.
9283 2002-02-26 Daniel Egger <degger@fhm.edu>
9285 * config/rs6000/rs6000.md: Swap define_insn attributes to
9286 fix incorrect generation of merge high instructions instead
9289 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
9291 * c-typeck.c (really_start_incremental_init): Use
9292 bitsize_zero_node for vectors.
9294 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
9296 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
9297 ("*set_vrsave_internal"): Same.
9299 2002-02-25 Richard Henderson <rth@redhat.com>
9301 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
9302 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
9304 2002-02-25 Jakub Jelinek <jakub@redhat.com>
9307 * config/i386/i386.c (ix86_return_pops_args): Only pop
9308 fake structure return argument if it was passed on the stack.
9310 2002-02-25 Jason Merrill <jason@redhat.com>
9312 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
9315 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
9317 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
9318 link with shared_name only.
9319 * doc/invoke.texi (Link Options): Document new behavior.
9321 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
9323 * c-typeck.c (push_init_level): Handle vectors.
9325 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
9327 * config/sparc/sparc.c (const64_high_operand): Zero-extend
9328 operands of SPARC_SETHI_P.
9329 (input_operand): Likewise.
9330 (sparc_emit_set_const32): Likewise.
9331 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
9332 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
9333 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
9334 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
9335 (movdi_insn_sp64_vis): Likewise.
9336 (movdi split, movdf split): Use SETHI32.
9337 * doc/md.texi: Document SPARC constraints L, M and N.
9339 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
9341 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
9342 ("*set_vrsave_internal"): use mfspr for Darwin.
9344 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
9345 gen_get_vrsave_internal.
9347 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9349 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
9351 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
9353 * cpplex.c (cpp_interpret_charconst): Get signedness or
9354 otherwise of wide character constants correct.
9355 * cppexp.c (lex): Get signedness of wide charconsts correct.
9357 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9359 * optabs.c (widen_operand): Only call convert_modes for
9360 promoted SUBREG if signedness matches.
9361 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
9363 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9365 * cpplib.c (glue_header_name): Use local buffer to build up
9368 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9370 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
9372 2002-02-23 Kazu Hirata <kazu@hxi.com>
9374 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
9375 H8/300[HS] separately.
9376 * config/h8300/h8300.md: Remove the early clobber constraint
9377 from bit field patterns.
9379 2002-02-23 Kazu Hirata <kazu@hxi.com>
9381 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
9383 (mulhisi3): Likewise.
9384 (umulqisi3): Likewise.
9385 (umulhisi3): Likewise.
9387 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
9389 * cppinit.c (output_deps): Correct test for stdout output.
9390 (init_dependency_output): Cure warning.
9392 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9394 * expr.c (store_expr): When converting expression to promoted
9395 equivalent type, allow using SUBREG_REG of TARGET as the target
9396 of the expansion of EXP.
9397 * loop.c (basic_induction_var, case SUBREG): Always look inside.
9398 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
9399 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
9400 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
9401 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
9403 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
9405 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
9406 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
9407 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
9409 2002-02-23 Jakub Jelinek <jakub@redhat.com>
9411 PR optimization/5747
9412 * loop.c (scan_loop): Update reg info if move_movables created new
9415 2002-02-23 David Edelsohn <edelsohn@gnu.org>
9417 * gcc.c (init_gcc_spec): Revert last change.
9419 2002-02-23 David Edelsohn <edelsohn@gnu.org>
9421 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
9422 gpc_reg_operand constraint.
9424 2002-02-23 Alan Modra <amodra@bigpond.net.au>
9426 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
9427 Simplify comparison of `low'.
9428 (add_operand): Fix formatting.
9429 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
9430 (mask_operand): Disallow mask to wrap in 64-bit mode.
9431 (rs6000_stack_info): Remove redundant test setting push_p.
9432 (output_toc): Fix formatting.
9433 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
9434 cc_reg_not_cr0_operand constraint.
9435 (booldi3, boolcdi3 splitters): Same.
9437 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
9439 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
9441 2002-02-22 David Edelsohn <edelsohn@gnu.org>
9443 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
9444 gcc invoked with -shared-libgcc.
9446 2002-02-22 Jakub Jelinek <jakub@redhat.com>
9449 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
9450 decl if any of elements was TREE_USED.
9452 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
9454 * config/sparc/sol2.h: Don't include sys/mman.h.
9455 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
9456 (arith_4096_operand): Don't throw high bits away.
9457 (const64_operand): Take sign extension of CONST_INTs into account.
9458 (const64_high_operand, sparc_emit_set_const32): Likewise.
9459 (GEN_HIGHINT64): Likewise.
9460 (sparc_emit_set_const64_quick1): Likewise.
9461 (const64_is_2insns): Likewise.
9462 (print_operand): Use trunc_int_for_mode for sign extension.
9463 * config/sparc/sparc.h (SMALL_INT32): Likewise.
9464 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
9465 chars. Assume CONST_INT is already properly sign-extended.
9466 (movdi split): Sign-extend each SImode part.
9467 (andsi3 split): Don't mask high bits off, so that result
9468 remains properly sign-extend.
9469 (iorsi3 split): Likewise.
9470 (xorsi3 split): Likewise.
9472 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
9474 * fold-const.c (fold): Fix typo in comments.
9476 2002-02-21 Diego Novillo <dnovillo@redhat.com>
9478 * Makefile.in (langhooks.o): Update dependencies.
9480 2002-02-21 Diego Novillo <dnovillo@redhat.com>
9482 * langhooks.c: Include flags.h.
9484 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
9486 * testsuite/gcc.dg/attr-alwaysinline.c: New.
9488 * c-common.c (c_common_post_options): Set inline trees by
9491 * doc/extend.texi (Function Attributes): Document always_inline
9493 Update documentation about inlining when not optimizing.
9495 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
9497 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
9498 unless DECL_ALWAYS_INLINE.
9500 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
9501 unless DECL_ALWAYS_INLINE.
9502 (c_disregard_inline_limits): Disregard if always_inline set.
9504 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
9505 Disregard if always_inline set.
9506 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
9507 unless DECL_ALWAYS_INLINE.
9509 * attribs.c (handle_always_inline_attribute): New.
9510 (c_common_attribute_table): Add always_inline.
9512 * config/rs6000/altivec.h: Add prototypes for builtins
9513 requiring the always_inline attribute.
9515 2002-02-21 Eric Christopher <echristo@redhat.com>
9517 * expmed.c (store_bit_field): Try to simplify the subreg
9518 before generating a new one when when the mode size of
9519 value is less than maxmode.
9521 2002-02-21 Richard Henderson <rth@redhat.com>
9523 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
9524 than gen_rtx_PLUS to form the sum.
9525 * explow.c (force_reg): Rearrange to not allocate new pseudo
9526 when force_operand returns a register.
9527 * expr.c (expand_assignment): Allow offset_rtx expansion to
9528 return a sum. Do not force addresses into registers.
9529 (expand_expr): Likewise.
9530 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
9531 to canonicalize arithmetic that didn't simpify.
9532 (simplify_plus_minus): New argument force; update
9533 all callers. Don't split CONST unless we can do something with it,
9534 and wouldn't lose the constness of the operands.
9536 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
9537 that we generated earlier.
9539 2002-02-21 Tom Tromey <tromey@redhat.com>
9541 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9542 (output_line_info): Use constant `1', with a long explanatory
9544 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
9546 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
9548 * jump.c (redirect_jump): If old label has no UID, don't try to
9551 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
9553 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
9554 If input is constant, do shifts at compile time.
9556 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
9558 * doc/extend.texi: Fix some more overfull hboxes.
9560 2002-02-21 Jakub Jelinek <jakub@redhat.com>
9562 PR optimization/4994
9563 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
9566 2002-02-21 Jakub Jelinek <jakub@redhat.com>
9569 * expr.h (expand_and): Add mode argument.
9570 * expmed.c (expand_and): Add mode argument.
9571 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
9572 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
9573 * except.c (expand_builtin_extract_return_addr): Likewise.
9574 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
9575 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
9576 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
9577 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
9578 * config/c4x/c4x.md: Use GEN_INT (x) instead of
9579 gen_rtx (CONST_INT, VOIDmode, x).
9581 2002-02-21 Jakub Jelinek <jakub@redhat.com>
9584 * stmt.c (warn_if_unused_value): Move side effects test once more.
9586 2002-02-20 Torbjorn Granlund <tege@swox.com>
9588 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
9589 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
9591 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
9593 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
9594 SUBREG or ZERO_EXTEND.
9596 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
9598 * sh.h (current_function_anonymous_args): Remove.
9599 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
9600 of current_function_varargs and current_function_stdarg is set.
9601 * sh.c (sh_expand_prologue): Check current_function_varargs /
9602 current_function_stdarg / TARGET_SH5 instead of
9603 current_function_anonymous_args.
9605 * sh64.h (TARGET_VERSION): Define.
9607 2002-02-20 David Edelsohn <edelsohn@gnu.org>
9609 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
9610 VRSAVE_REGNO on TARGET_ALTIVEC.
9612 2002-02-20 Alan Modra <amodra@bigpond.net.au>
9614 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
9615 bits of SImode const_int.
9616 (includes_rshift_p): Likewise.
9617 (print_operand): Call mask_operand and mask64_operand with correct
9619 (rs6000_output_function_epilogue): Pad traceback table to word.
9620 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
9621 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
9622 mask64_operand with correct mode.
9623 (FUNCTION_ARG_REGNO_P): Correct parentheses.
9625 2002-02-20 Jakub Jelinek <jakub@redhat.com>
9628 * varasm.c (get_pool_constant_mark): New.
9629 * rtl.h (get_pool_constant_mark): Add prototype.
9630 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
9631 be represented if it has not been output.
9633 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
9635 * combine.c (do_SUBST): Sanity check substitutions of
9636 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
9637 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
9638 CONST_INT into its operand.
9639 (known_cond): Likewise, for ZERO_EXTEND.
9640 * simplify-rtx.c (simplify_unary_operation): Fix condition to
9641 allow for simplification of wide modes. Reject CONST_INTs in
9642 ZERO_EXTEND when their actual mode is not given.
9644 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
9646 * c-decl.c (pushdecl): If no global declaration is found for an
9647 extern declaration in block scope, try a limbo one.
9649 2002-02-20 Jakub Jelinek <jakub@redhat.com>
9652 * c-common.c (pointer_int_sum): Moved from...
9653 * c-typeck.c (pointer_int_sum): ...here.
9654 * c-common.h (pointer_int_sum): Add prototype.
9656 2002-02-20 Jakub Jelinek <jakub@redhat.com>
9659 * c-decl.c (duplicate_decls): Return 0 if issued error about
9662 2002-02-20 Roger Sayle <roger@eyesopen.com>
9663 Jakub Jelinek <jakub@redhat.com>
9666 * tree.c (host_integerp): Ensure that the constant integer is
9667 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
9668 when pos is zero or non-zero respectively. Clarify comment.
9669 * c-format.c (check_format_info_recurse): Fix host_integerp
9670 usage; the pos argument should be zero when assigning to a
9671 signed HOST_WIDE_INT.
9673 2002-02-20 Richard Henderson <rth@redhat.com>
9675 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
9676 of the operand, rather than assuming TImode.
9677 (ix86_expand_binop_builtin): Cope with commutative patterns
9678 using nonimmediate_operand for both operands.
9679 (ix86_expand_timode_binop_builtin): Likewise.
9680 (ix86_expand_store_builtin): Validate operand 1.
9681 (ix86_expand_unop1_builtin): Likewise.
9683 2002-02-20 Philip Blundell <philb@gnu.org>
9686 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
9688 2002-02-20 Richard Henderson <rth@redhat.com>
9691 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
9693 2002-02-20 Tom Tromey <tromey@redhat.com>
9695 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9696 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9697 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9698 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
9699 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
9702 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
9704 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
9705 for (const_int 0) in X not just INTVAL.
9707 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
9709 * doc/extend.texi: Avoid or reduce overfull hboxes.
9711 2002-02-20 Diego Novillo <dnovillo@redhat.com>
9713 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
9714 operations if the field does not start at a mode boundary.
9716 2001-02-20 Joel Sherrill <joel@OARcorp.com>
9718 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
9719 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
9720 Also done for -Acpu and -Amachine.
9722 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
9724 * cppinit.c (init_dependency_output): Take deps output file
9725 from -o if none given with -MF. Suppress normal output.
9726 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
9727 * doc/cpp.texi, doc/invoke.texi: Update.
9729 2002-02-19 Zack Weinberg <zack@codesourcery.com>
9731 * toplev.c (output_quoted_string): Write unprintable
9732 characters with octal escapes.
9734 2002-02-19 David Edelsohn <edelsohn@gnu.org>
9736 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
9737 really_call_used[VRSAVE_REGNO] if not Altivec.
9739 2002-02-19 Alan Modra <amodra@bigpond.net.au>
9741 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
9743 (constant_pool_expr_1): Fix formatting.
9744 (rs6000_legitimize_reload_address): Likewise.
9746 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9748 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
9749 now that we have one.
9751 2002-02-19 Zack Weinberg <zack@codesourcery.com>
9753 * tree.h (struct tree_common): Remove aux. Add unused_0 at
9754 end of first block of bitfields (which was only seven bits);
9755 rename dummy to unused_1; remove comment which is no longer true.
9757 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
9759 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
9761 2002-02-19 Philip Blundell <pb@nexus.co.uk>
9764 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
9768 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
9769 arm_is_longcall_p rather than inspecting call-type cookie
9771 (call_value_insn) [TARGET_THUMB]: Likewise.
9773 2002-02-19 Graham Stott <grahams@redhat.com>
9775 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
9777 2002-02-19 David Edelsohn <edelsohn@gnu.org>
9779 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
9780 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
9781 (FP_SAVE_INLINE): Delete.
9783 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
9784 * config/rs6000/eabi.asm: Remove ABI save restore routines.
9785 * config/rs6000/t-ppccomm: Build crtsavres.o.
9786 * config/rs6000/crtsavres.asm: New file.
9788 2002-02-19 Philip Blundell <philb@gnu.org>
9790 * config/arm/arm.c (use_return_insn): Don't reject interrupt
9792 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
9793 (output_return_instruction): Allow interrupt functions to return with
9794 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
9795 (arm_expand_prologue): Subtract 4 before stacking LR in an
9798 2002-02-19 Philip Blundell <pb@nexus.co.uk>
9800 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
9801 decl, not just FUNCTION_DECL.
9802 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
9803 (arm_assemble_integer): Likewise.
9804 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
9807 2002-02-19 matthew green <mrg@eterna.com.au>
9809 * config.gcc (sparc-*-netbsdelf*): Enable target.
9810 (sparc64-*-netbsd*): New target.
9811 * config/sparc/netbsd-elf.h: New file.
9812 * config/sparc/t-netbsd64: New file.
9814 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
9816 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
9818 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
9820 * doc/invoke.texi: explicitly list the style guidelines that
9821 -Weffc++ checks for.
9823 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
9825 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
9827 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
9830 * gcc.c (cpp_unique_options): Treat -o as indicating object file
9831 only if not -E. If -E, pass -o through to the preprocessor.
9833 2002-02-19 Kazu Hirata <kazu@hxi.com>
9835 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
9836 register number with an appropriate macro.
9838 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9840 * doc/rtl.texi (Constants): Close @code tag.
9842 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
9844 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
9845 ("mmx_uavgv4hi3"): Same.
9846 ("pmulhrwv4hi3"): Same.
9848 * tree-inline.c (walk_tree): Handle vectors.
9850 * c-common.c (constant_expression_warning): Handle vectors.
9851 (overflow_warning): Same.
9853 * sched-deps.c (sched_analyze_2): Handle vectors.
9855 * rtlanal.c (rtx_unstable_p): Handle vectors.
9856 (rtx_varies_p): Same.
9857 (count_occurrences): Same.
9858 (regs_set_between_p): Same.
9859 (modified_between_p): Same.
9860 (modified_in_p): Same.
9861 (volatile_insn_p): Same.
9862 (volatile_refs_p): Same.
9863 (side_effects_p): Same.
9865 (inequality_comparisons_p): Same.
9866 (replace_regs): Same.
9867 (computed_jump_p_1): Same.
9869 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
9871 (inner_mode_array): New.
9872 (copy_rtx): Handle vectors.
9873 (copy_most_rtx): Same.
9874 (rtx_equal_p): Same.
9875 (get_mode_alignment): Adjust for vectors.
9877 * resource.c (mark_referenced_resources): Handle vectors.
9878 (mark_set_resources): Same.
9880 * reload1.c (eliminate_regs): Handle vectors.
9881 (elimination_effects): Same.
9882 (scan_paradoxical_subregs): Same.
9884 * reload.c (subst_reg_equivs): Handle vectors.
9886 * regrename.c (scan_rtx): Handle vectors.
9888 * regclass.c (reg_scan_mark_refs): Handle vectors.
9890 * recog.c (find_single_use_1): Handle vectors.
9892 * local-alloc.c (equiv_init_varies_p): Handle vectors.
9893 (contains_replace_regs): Same.
9894 (memref_referenced_p): Same.
9896 * integrate.c (copy_rtx_and_substitute): Handle vectors.
9897 (subst_constants): Same.
9899 * genattrtab.c (attr_copy_rtx): Handle vectors.
9900 (encode_units_mask): Same.
9901 (clear_struct_flag): Same.
9902 (count_sub_rtxs): Same.
9904 * gcse.c (want_to_gcse_p): Handle vectors.
9905 (oprs_unchanged_p): Same.
9906 (hash_expr_1): Same.
9907 (oprs_not_set_p): Same.
9908 (expr_killed_p): Same.
9909 (compute_transp): Same.
9910 (store_ops_ok): Same.
9912 * function.c (purge_addressof_1): Do not allow paradoxical subregs
9914 (fixup_var_refs_1): Same.
9915 (instantiate_virtual_regs_1): Same.
9917 * fold-const.c (operand_equal_p): Handle vectors.
9919 (rtl_expr_nonnegative_p): Same.
9921 * flow.c (mark_used_regs): Handle vectors.
9923 * df.c (df_uses_record): Handle vectors.
9925 * cselib.c (cselib_subst_to_values): Handle vectors.
9926 (cselib_mem_conflict_p): Same.
9929 * cse.c (canon_reg): Handle vectors.
9931 (cse_process_notes): Same.
9932 (count_reg_usage): Same.
9935 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
9937 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
9939 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
9940 (gen_rtx): Handle CONST_VECTOR.
9941 (gen_const_vector_0): New.
9942 (copy_rtx_if_shared): CONST_VECTORs can be shared.
9943 (reset_used_flags): Same.
9944 (copy_insn_1): Same.
9945 (initializer_constant_valid_p): Handle VECTOR_CST.
9947 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
9949 * doc/rtl.texi (Constants): Document const_vector.
9950 (CONST0_RTX): Update for vectors.
9951 (RTL sharing): Same.
9953 * print-tree.c (print_node): Add case for VECTOR_CST.
9955 * tree.h (TREE_VECTOR_CST_ELTS): New.
9956 (struct tree_vector): New.
9957 (union tree_node): Add vector node.
9958 (build_vector): Add prototype.
9960 * tree.def (VECTOR_CST): New.
9962 * tree.c (build_vector): New.
9964 * expmed.c (make_tree): Handle CONST_VECTOR.
9966 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
9967 (CONST_VECTOR_ELT): New.
9968 (CONST_VECTOR_NUNITS): New.
9970 * machmode.h (GET_MODE_INNER): New.
9971 (DEF_MACHMODE): Accept 8th arg.
9973 * machmode.def: Add 8th argument for vector inner mode.
9974 Add inner vector modes for vectors.
9976 * rtl.def (VEC_CONST): Remove.
9977 (CONST_VECTOR): New.
9979 * expr.c (clear_storage): Allow vectors.
9980 (is_zeros_p): Handle VECTOR_CST.
9982 * varasm.c (output_constant_pool): Handle vectors.
9983 (rtx_const): Add veclo and vechi fields.
9984 (kind): Add RTX_VECTOR.
9985 (decode_rtx_const): Add case for vector.
9987 * config/rs6000/rs6000-protos.h: Add zero_constant.
9989 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
9990 constants. Force easy vector constants into memory.
9991 (easy_vector_constant): New.
9992 (emit_easy_vector_constant): New.
9993 (rs6000_legitimize_reload_address): Do not generate bad reloads on
9996 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
9998 ("altivec_lvxl"): Same.
9999 (altivec_lvebx): Same.
10000 (altivec_lvehx): Same.
10001 (altivec_lvewx): Same.
10002 ("*movv4si_const0"): New.
10003 ("*movv4sf_const0"): New.
10004 ("*movv8hi_const0"): New.
10005 ("*movv16qi_const0"): New.
10007 2002-02-18 Kazu Hirata <kazu@hxi.com>
10009 * config/h8300/h8300.c (notice_update_cc): Use
10012 2002-02-18 Kazu Hirata <kazu@hxi.com>
10014 * config/h8300/h8300.md (divmod patterns): Change the
10015 constraints for operands[1] to register_operand.
10017 2002-02-18 Kazu Hirata <kazu@hxi.com>
10019 * config/h8300/h8300-protos.h: Remove the prototype for
10021 * config/h8300/h8300.c (p_operand): Remove.
10022 * config/h8300/h8300.md: Replace p_operand with
10025 2002-02-18 Philip Blundell <pb@nexus.co.uk>
10027 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
10029 (output_return_instruction): Allow use of LDR to unstack
10030 return addresss even for interrupt handlers or when
10031 interworking. If compiling for ARMv5, use interworking-safe
10032 return instructions by default. Remove duplicated code and
10033 lengthy "strcat" sequences.
10035 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10037 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
10038 (LINK_EH_SPEC): Define.
10039 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
10041 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
10043 * config/s390/s390.c (s390_emit_prologue): Do not set the
10044 frame_related flag for call-clobbered registers.
10046 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
10048 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
10049 (construct_container): Fix handling of SSE operands.
10050 (ix86_expand_builtin): Fix handling of 64bit pointers.
10051 (mmx_maskmovq_rex): New pattern.
10053 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
10055 * regrename.c (kill_set_value): Handle subregs properly.
10057 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
10059 * objc/objc-act.c (handle_impent): Remove leading '*'
10060 from objc_class_name.
10062 2002-02-17 Richard Henderson <rth@redhat.com>
10064 * config/alpha/alpha.c (some_small_symbolic_operand,
10065 some_small_symbolic_operand_1, split_small_symbolic_operand,
10066 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
10067 Handle small SYMBOL_REFs anywhere, not just inside memories.
10068 * config/alpha/alpha-protos.h: Update.
10069 * config/alpha/alpha.h (PREDICATE_CODES): Update.
10070 * config/alpha/alpha.md (small symbolic operand splitter): Update.
10072 2002-02-17 Roland McGrath <roland@frob.com>
10074 * config.gcc (powerpc-*-gnu-gnualtivec*,
10075 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
10076 * config/rs6000/gnu.h: New file.
10077 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
10078 Grok "gnu" in rs6000_abi_name.
10079 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
10080 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
10081 Grok -mcall-gnu analogous to -mcall-linux et al.
10082 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
10083 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
10084 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
10086 2002-02-17 Jakub Jelinek <jakub@redhat.com>
10089 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
10092 2002-02-17 Philipp Thomas <pthomas@suse.de>
10094 * config/cris/cris.h: Undefine STARTFILE_SPEC and
10095 ENDFILE_SPEC before (re)defining them.
10097 2002-02-17 Kazu Hirata <kazu@hxi.com>
10099 * config/h8300/h8300.c: Fix formatting.
10100 * config/h8300/h8300.h: Likewise.
10102 2002-02-17 Philipp Thomas <pthomas@suse.de>
10104 * doc/tm.texi: Explain why empty strings should not be
10105 marked for translation.
10107 2002-02-17 Philipp Thomas <pthomas@suse.de>
10109 * final.c (output_operand_lossage): Changed to accept
10110 printf style arguments. Change calls where necessary.
10111 * output.h (output_operand_lossage): Change declaration
10112 accordingly. Update copyright.
10113 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
10114 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
10115 Update copyright date where necessary.
10117 * config/i386/i386.c (print_operand): Likewise. Remove use of
10120 * config/cris/cris.c (cris_operand_lossage): Likewise.
10121 Rename parameter so that exgettext recognizes it as
10122 translatable message.
10123 (LOSE_AND_RETURN): Rename parameter to msgid.
10125 2002-02-17 Kazu Hirata <kazu@hxi.com>
10127 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
10128 hard coded register number with an appropriate macro.
10129 (HARD_REGNO_MODE_OK): Likewise.
10130 (ARG_POINTER_REGNUM): Likewise.
10131 (STATIC_CHAIN_REGNUM): Likewise.
10132 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
10133 * config/h8300/h8300.md (define_constants): Define more
10136 2002-02-17 Philipp Thomas <pthomas@suse.de>
10138 * config/i386/i386.h: Don't mark empty strings for translation.
10140 2002-02-16 H.J. Lu <hjl@gnu.org>
10142 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
10144 2002-02-16 Zack Weinberg <zack@codesourcery.com>
10146 * cppinit.c (merge_include_chains): Check for brack being
10147 NULL before attempting to merge it with qtail.
10149 2002-02-16 Andrew Cagney <ac131313@redhat.com>
10151 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
10154 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10156 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
10158 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
10160 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
10161 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
10162 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
10164 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10166 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
10167 now only if !TARGET_FIX.
10168 (*movsi_nt_vms_fix): New pattern.
10170 2002-02-16 Douglas B Rupp <rupp@gnat.com>
10172 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
10173 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
10174 (alpha_sa_mask, alpha_sa_size): Reflect above change.
10175 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
10176 (alpha_start_function, alpha_expand_epilogue): Likewise.
10177 (unicosmk_gen_dsib): Likewise.
10179 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10181 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
10183 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
10185 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
10186 check_and_change_labels, s390_final_chunkify): Delete.
10187 (s390_split_branches, s390_chunkify_pool): New functions.
10188 (s390_function_prologue): Call them.
10190 * config/s390/s390.h (S390_REL_MAX): Delete.
10191 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
10193 * config/s390/s390.md (cjump, icjump, jump): Fix length
10194 attribute calculation.
10197 2002-02-15 David Edelsohn <edelsohn@gnu.org>
10199 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
10200 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
10202 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
10204 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
10205 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
10206 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
10208 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
10210 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
10212 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
10214 * reload.c (find_dummy_reload): Check that an output register
10215 is valid for its mode.
10217 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
10219 * combine.c (known_cond): After replacing the REG of a SUBREG, try
10222 * function.c (assign_parms): Demote promoted argument passed by
10223 transparent reference.
10225 2001-02-14 Joel Sherrill <joel@OARcorp.com>
10227 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
10228 -Acpu() and -Amachine() to eliminate warnings.
10230 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
10232 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
10234 2002-02-14 Kazu Hirata <kazu@hxi.com>
10236 * config/h8300/h8300-protos.h: Update the prototype for
10238 * config/h8300/h8300.c (const_costs): Treat SET as a little
10239 more expensive operation.
10240 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
10241 reference to const_costs.
10243 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
10245 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
10247 2002-02-14 Jakub Jelinek <jakub@redhat.com>
10250 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
10251 use arguments from newtype.
10253 2002-02-13 Eric Christopher <echristo@redhat.com>
10255 * config/mips/mips.c (override_options): Add check for march/mipsX
10256 on the same command line. Fix error message in cpu processing.
10257 Remove architecture and ISA checks.
10259 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
10261 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
10263 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
10265 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
10267 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
10269 ("*movv8hi_internal1"): Same.
10270 ("*movv16qi_internal1"): Same.
10271 ("*movv4sf_internal1"): Same.
10273 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
10274 not push_reload for altivec modes.
10276 2002-02-13 Joel Sherrill <joel@OARcorp.com>
10278 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
10279 all RTEMS targets including removal of #includes from config/*/rtems*.h
10280 file and adding them to tm_file setting. Added xm_defines=POSIX to
10282 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
10283 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
10284 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
10285 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
10286 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
10287 config/m68k/rtemself.h: Ditto.
10288 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
10289 config/mips/rtems64.h: Ditto.
10290 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
10291 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
10293 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
10294 config/sparc/rtemself.h: Ditto.
10295 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
10296 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
10297 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
10299 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
10300 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
10301 target made more similar to i386-elf.
10302 * config/i386/t-rtems-i386: Added soft float support and multilibs.
10303 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
10304 be similar to config/m68k/t-m68kelf.
10305 * gthr-rtems.h: Encapsulate with extern "C" for C++.
10307 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
10309 * regmove.c (kill_value): Handle subregs.
10311 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
10313 * i386.md (mul patterns): Allow memory operand to be first;
10314 add expanders where needed; fix constraints.
10315 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
10316 Allow memory operand to be the first.
10318 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
10321 2002-02-13 Jakub Jelinek <jakub@redhat.com>
10324 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
10327 2002-02-13 Jakub Jelinek <jakub@redhat.com>
10329 PR optimization/5547:
10330 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
10331 all valid IA-32 address modes involving non-scaled %ebx and
10332 GOT/GOTOFF as displacement.
10334 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
10336 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
10337 after emitting ltorg insns.
10339 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
10340 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
10341 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
10342 *abssf2): Fix "op_type" attribute.
10344 2002-02-13 Douglas B Rupp <rupp@gnat.com>
10346 * mkconfig.sh: Avoid using a subshell redirect.
10347 ($output.T): Change to $(output)T.
10348 (ENABLE_NLS): Remove unneeded undef.
10350 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
10351 * config/alpha/x-vms (libsubdir): Define.
10353 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
10354 register frame procedures. Optimize retrieving context.
10356 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
10357 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
10358 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
10360 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10362 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
10363 Make same change as for find_base_value.
10365 2002-02-13 Kazu Hirata <kazu@hxi.com>
10367 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
10368 of QImode and SImode.
10370 2002-02-13 Kazu Hirata <kazu@hxi.com>
10372 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
10373 length computation of movsi.
10374 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
10376 2002-02-13 Kazu Hirata <kazu@hxi.com>
10378 * config/h8300/h8300.md (subqi3): Tighten the predicate for
10379 operands[2] to register_operand.
10381 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
10383 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
10385 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
10387 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
10388 for altivec_lvx* and altivec_stvx*.
10389 ("*movv4si_internal"): Add constraint for loading from GPRs.
10390 ("*movv8hi_internal1"): Same.
10391 ("*movv16qi_internal1"): Same.
10392 ("*movv4sf_internal1"): Same.
10394 * config/rs6000/rs6000.c (altivec_register_operand): New.
10396 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
10397 altivec_register_operand.
10399 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
10401 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
10404 2002-02-13 Stan Shebs <shebs@apple.com>
10406 * c-typeck.c (digest_init): Handle vectors.
10407 (really_start_incremental_init): Same.
10408 (pop_init_level): Same.
10409 (process_init_element): Same.
10411 * varasm.c (output_constant): Same.
10413 * expr.c (clear_storage): Same.
10414 (store_constructor): Same.
10416 2002-02-12 Eric Christopher <echristo@redhat.com>
10418 * explow.c (hard_function_value): Add comment explaining
10419 signed/unsigned comparison.
10421 2002-02-12 Jakub Jelinek <jakub@redhat.com>
10423 * jump.c (never_reached_warning): Add finish argument.
10424 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
10425 real insn after end.
10426 * rtl.h (never_reached_warning): Adjust prototype.
10427 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
10428 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
10429 never_reached_warning.
10431 2002-02-12 Graham Stott <grahams@redhat.com>
10433 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
10435 2002-02-12 Kazu Hirata <kazu@hxi.com>
10437 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
10438 logical shifts on H8/300.
10439 (shift_alg_si): Improve several shifts on H8/300.
10440 (get_shift_alg): Likewise.
10442 2002-02-12 Graham Stott <grahams@redhat.com>
10444 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
10446 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10448 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
10449 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
10451 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
10453 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
10454 non-CONST_INT through default_assemble_integer.
10455 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
10456 <case 8>: Abort for CONST_DOUBLE.
10458 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
10460 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
10462 * config/pa/pa-linux.h (LIB_SPEC): Delete.
10463 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
10465 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
10467 * config/stormy16/stormy16.md (zero_extendqihi2): New.
10469 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
10471 * regrename.c (regrename_optimize): Don't accept a
10472 part-clobbered register if the replaced register is not part
10475 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
10476 take padding into account when computing the argument value.
10478 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
10480 * combine.c (try_combine): Apply substitutions in
10481 CALL_INSN_FUNCTION_USAGE too.
10483 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
10485 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
10486 __builtin_altivec_abs*.
10489 * config/rs6000/rs6000.h (rs6000_builtins): Add
10490 ALTIVEC_BUILTIN_ABS*.
10492 * config/rs6000/altivec.h: Use const char for builtins expecting
10494 (vec_abs): New versions for C and C++.
10497 2002-02-10 Kazu Hirata <kazu@hxi.com>
10499 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
10502 2002-02-10 Kazu Hirata <kazu@hxi.com>
10504 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
10505 constant definition from h8300.md.
10506 (FRAME_POINTER_REGNUM): Likewise.
10507 * config/h8300/h8300.md (define_constants): Add FP_REG.
10509 2002-02-10 Kazu Hirata <kazu@hxi.com>
10511 * config/h8300/h8300.c (print_operand): Remove redundant code.
10513 2002-02-10 Kazu Hirata <kazu@hxi.com>
10515 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
10516 * config/h8300/h8300.c (byte_reg): Make it static.
10518 2002-02-10 Richard Henderson <rth@redhat.com>
10521 * c-typeck.c (incomplete_type_error): Handle flexible array members.
10523 2002-02-10 Richard Henderson <rth@redhat.com>
10526 * tree.c (append_random_chars): Don't abort if main_input_filename
10529 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
10531 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
10533 2002-02-10 Kazu Hirata <kazu@hxi.com>
10535 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
10536 (pushhi1): Likewise.
10538 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
10540 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
10541 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
10543 2002-02-09 David O'Brien <obrien@FreeBSD.org>
10545 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
10547 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
10549 2002-02-09 Kazu Hirata <kazu@hxi.com>
10551 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
10552 a half of an SImode register on H8/300.
10554 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
10556 * i386.md (movdi_2): Add missing '!'.
10558 2002-02-09 Kazu Hirata <kazu@hxi.com>
10560 * config/h8300/h8300.h: Fix formatting. Remove commented-out
10563 2002-02-09 Kazu Hirata <kazu@hxi.com>
10565 * config/h8300/h8300.md (length): Correct the distance valid
10566 for the short branch.
10568 2002-02-09 Kazu Hirata <kazu@hxi.com>
10570 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
10572 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
10574 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
10575 registers in SImode.
10576 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
10579 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
10582 Contribute sh64-elf.
10583 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
10584 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
10585 (sh_cannot_modify_jumps_p): New function.
10586 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
10587 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
10588 (sh_ms_bitfield_layout_p): New function.
10589 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
10590 Zack Weinberg <zack@codesourcery.com>
10591 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
10592 expand_simple_binop instead of expand_binop.
10593 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
10594 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
10595 use of .quad and .uaquad.
10596 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
10597 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
10598 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10599 * config/sh/sh.md (movdi_const, movdi_const_32bit,
10600 movdi_const_16bit): Make sure all CONSTs have modes.
10601 (sym2PIC): Ditto, but by adjusting all callers.
10602 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
10603 if the prologue calls the SHmedia argument decoder or register
10605 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
10606 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
10607 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
10608 (sh_expand_epilogue): Don't emit USE of return target register.
10609 (prepare_move_operands): Legitimize DImode PIC addresses.
10610 (sh_media_register_for_return): Skip tr0, used to initialize the
10612 (sh_expand_prologue): Remove explicit USE of return register.
10613 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
10614 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
10615 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
10616 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
10617 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
10618 EXTRA_CONSTRAINT_T.
10619 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
10620 (MOVI_SHORI_BASE_OPERAND_P): New.
10621 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
10622 (EXTRA_CONSTRAINT_T): Define in terms of them.
10623 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
10624 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
10625 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
10626 alternatives supporting TARGET_REGS.
10627 (UNSPEC_GOTPLT): New constant.
10628 (movdi split): Move incrementing of LABEL_NUSES...
10629 (movdi_const, movdi_const_32bit): Here. Use
10630 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
10631 (movdi_const_16bit): New.
10632 (call, call_value) [flag_pic]: Use GOTPLT.
10633 (call_pop, call_value_pop): New expands.
10634 (call_pop_compact, call_pop_rettramp): New insns.
10635 (call_value_pop_compact, call_value_pop_rettramp): New insns.
10636 (sibcall) [flag_pic]: Use GOT.
10637 (builtint_setjmp_receiver): Remove bogus, unused expand.
10638 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
10639 (*pt, *ptb, ptrel): New insns.
10640 (sym2GOT): Handle DImode GOT.
10641 (sym2GOTPLT, symGOTPLT2reg): New expands.
10642 (sym2PIC): New expand.
10643 (shcompact_return_tramp): Use GOTPLT to return trampoline.
10644 (shcompact_return_tramp_i): Use return register explicitly.
10645 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
10646 disable flag_reorder_blocks.
10647 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
10648 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
10649 clobbers, for clarity.
10650 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
10651 restoring of r0 in macl as MAYBE_DEAD.
10652 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
10653 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
10654 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
10655 alter_subreg all over.
10656 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
10657 reload, instead of emitting instructions that would require
10659 (casesi_load_media): Add missing modes.
10660 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
10661 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
10662 as used if the argument decoder is called.
10663 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10664 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
10665 Pmode, then extend it to DImode if necessary.
10666 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
10667 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
10668 constants in FPU-enabled SHmedia, let them be loaded from memory.
10669 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
10670 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
10671 Adjust whitespace in assembly output templates.
10672 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
10673 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
10674 mode of if_then_else.
10675 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
10676 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
10678 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
10679 Joern Rennecke <amylaar@redhat.com>
10680 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
10681 (SUBTARGET_CPP_PTR_SPEC): New.
10682 (SUBTARGET_CPP_SPEC): Remove.
10683 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
10684 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
10685 Fix typo in previous checkin.
10686 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
10687 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
10688 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
10689 Alexandre Oliva <aoliva@redhat.com>
10690 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
10691 what single FP register can hold for SHmedia target.
10692 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
10693 Alexandre Oliva <aoliva@redhat.com>
10694 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
10695 Do not split into SUBREG.
10696 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
10697 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
10698 and added new functions as specified in SH5 ABI r9.
10699 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
10700 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
10702 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
10703 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
10704 gen_consttable_4 and gen_consttable_8. Emit multiple labels
10705 and consttable_window_ends.
10706 2001-06-03 Graham Stott <grahams@redhat,com>
10707 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
10708 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
10709 * config/sh/sh.c (print_operand): Handle floating-point pair,
10710 vector and matrix registers.
10711 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
10712 vector modes into account.
10713 * config/sh/sh.md (movv2sf): Split move between registers into
10715 (movv4sf, movv16sf): Introduce insns that get split only after
10717 * config/sh/shmedia.h: Fix Copyright dates.
10718 * config/sh/ushmedia.h: Likewise. Move loop counter
10719 declarations into conditionals that uses them.
10720 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
10722 * config/sh/sshmedia.h: Fix Copyright dates.
10723 (sh_media_PUTCFG): Fix constraints.
10724 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
10725 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
10726 ptrmemfunc_vbit_in_delta for SH5.
10727 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
10728 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
10729 * invoke.texi: Likewise.
10730 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
10731 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
10732 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
10733 GCC_pop_shmedia_regs_nofpu): New global symbols.
10734 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
10735 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
10736 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
10737 compact function with nonlocal labels.
10738 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
10739 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
10740 (initial_elimination_offset): Account for their stack space.
10741 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
10742 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
10743 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
10744 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
10745 least one of the operands to be a register.
10746 (movv2sf): Likewise. Renamed to movv2sf_i.
10747 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
10748 prepare_move_operands() before emitting SHmedia insns.
10749 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
10750 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
10751 Don't save nor initialize r12. Don't mis-align the stack.
10752 Pad the code with a nop.
10753 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
10755 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10756 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
10757 [__SHMEDIA__]: Implement.
10758 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
10759 * config/sh/sh.md: Set latency of `pt' closer to reality.
10760 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
10761 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
10762 Set move, load and store type attributes.
10763 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
10764 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
10766 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
10767 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
10768 * config/sh/sh.c (sh_media_register_for_return): New function.
10769 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
10770 branch-target register.
10771 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
10772 * config/sh/sh.md (return_media_i): Use any call-clobbered
10773 branch-target register.
10774 (return_media): If r18 wasn't copied in the prologue, copy it
10776 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
10777 Clear class FP0_REGS.
10778 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
10780 2001-03-08 DJ Delorie <dj@redhat.com>
10781 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
10782 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
10783 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
10784 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
10785 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
10786 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
10787 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
10788 return value correctly for call_cookie.
10789 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10790 * config/sh/crt1.asm (start): Modified so as to call
10791 ___setup_argv_and_call_main.
10792 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
10793 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
10795 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
10796 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
10797 (STRIP_NAME_ENCODING): Use it.
10798 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
10799 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
10800 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
10801 prepare_scc_operands().
10802 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
10803 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
10804 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
10805 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
10806 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
10807 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
10808 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
10809 used in shcompact_incoming_args.
10810 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
10812 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
10814 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
10815 Adjust accordingly.
10816 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
10817 Simplify. Adjust. Add sanity check.
10818 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
10820 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
10822 (udivsi3, divsi3): Use them.
10823 (force_mode_for_call): New insn.
10824 (call, call_value, sibcall_value): Emit it before SHcompact
10826 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
10827 * config/sh/sh.md (call, call_value, sibcall): Make sure the
10828 call cookie is non-NULL before taking its value.
10829 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
10830 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
10831 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
10832 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
10834 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
10835 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
10836 temporary for stack adjusts. Use MACL and MACH to pass
10837 arguments to shcompact_incoming_args.
10838 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
10840 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
10841 (nested_trampoline): Load static chain address into r1.
10842 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
10843 2001-01-07 Alexandre Oliva <aoliva@redhat.com
10844 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
10845 fp_arith_reg_operand().
10846 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
10847 * config/sh/sh.md (casesi): Sign-extend the first two operands,
10848 and use signed compares for them.
10849 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
10850 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
10851 ones properly aligned.
10852 (find_barrier): Account for extra alignment needed for 8-byte wide
10854 (machine_dependent_reorg): Require a label for the second 4-byte
10855 constant after an 8-byte one.
10856 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
10858 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
10859 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
10860 last_float when switching float modes.
10861 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
10862 auto-increment for general-purpose registers.
10863 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
10865 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
10867 * config/sh/sh.c (sh_builtin_saveregs): Support using all
10868 registers for varargs.
10869 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
10870 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
10871 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
10872 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
10873 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
10874 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
10875 call_cookie accordingly.
10876 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
10877 (SHCOMPACT_BYREF): Likewise.
10878 (SHCOMPACT_FORCE_ON_STACK): New macro.
10879 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
10880 (sh_builtin_saveregs): Likewise.
10881 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
10882 shcompact_incoming_args): Use new shift values. Support
10883 sequences of consecutive and non-consecutive pushes/pops.
10884 * config/sh/sh.md (return): Don't explicitly use PR_REG.
10885 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
10886 * config/sh/sh.h (TEXT_SECTION): Define.
10887 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
10888 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
10889 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
10890 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
10891 return values on FPU-enabled SHmedia.
10892 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
10893 FPU-enabled SHmedia.
10894 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
10895 value is returned in a non-FP reg and is not returned by
10897 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
10899 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
10900 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
10901 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
10902 quad-aligned to be passed by callee-copy reference.
10903 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
10904 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
10905 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
10906 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
10907 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
10908 copying low-numbered FP regs to r7 and r8.
10909 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
10910 FP regs to general-purpose regs only if the copy was passed on the
10912 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
10913 copying FP reg to r9.
10914 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
10915 copy FP regs to general-purpose regs only in outgoing calls.
10916 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
10917 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
10919 * config/sh/sh.h (struct sh_args): Document all fields.
10920 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
10921 passed partially on the stack should not consider making
10923 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
10924 stack_regs only for incoming calls. When passing FP args,
10925 make sure there are FP regs available before modifying
10927 (SHCOMPACT_BYREF): Pass double args in general-purpose
10928 registers by reference.
10929 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
10930 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
10931 attempt to generate sibcalls if the caller got any arguments
10933 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
10934 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
10935 to 8-byte boundaries.
10936 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
10937 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
10938 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
10939 stored in the stack.
10940 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
10941 for the offsets to have the ISA bit set.
10942 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
10943 invocation. Use beq instead of bgt to mark end of sequence of
10945 (shcompact_incoming_args): Fix store of r2. Use beq instead of
10946 bgt to mark end of sequence of stores.
10947 * config/sh/sh.c (arith_operand): Don't check whether
10948 CONST_OK_FOR_J for now.
10949 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
10950 instead of long for conversion.
10951 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
10952 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
10953 before passing it to fprintf.
10954 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
10955 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
10956 Call set_fpscr before reading/writing SR.
10957 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
10959 * config/sh/lib1funcs.asm: Add `.align 2' directives before
10961 (FMOVD_WORKS): Define on SH5 with FPU.
10962 (set_fpscr): Define on SH5. Remove separate _fpscr_values
10964 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
10966 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
10967 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
10969 (ia_main_table): Ditto.
10970 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
10971 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
10972 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
10973 the definitions from sh.h.
10974 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
10976 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
10977 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
10978 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
10979 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
10980 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
10981 Increment LABEL_NUSES.
10983 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
10985 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
10987 * config/sh/elf.h (SIZE_TYPE): Likewise.
10988 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
10989 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
10990 shcompact_incoming_args): Load switch table addresses using
10992 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
10993 (NO_BUILTIN_SIZE_TYPE): Define.
10994 (SIZE_TYPE): Don't define.
10995 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
10996 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
10997 definition of __SH5__=32 for -m5-compact-nofpu.
10998 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
11000 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
11001 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
11002 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
11003 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
11004 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
11005 (INSN_LENGTH_ALIGNMENT): Likewise.
11006 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11007 * config/sh/sh.md (call, call_value, sibcall): Simplify
11008 copying of non-branch-target register.
11009 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11010 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
11011 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
11012 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
11013 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
11014 floating-point values as structs.
11015 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
11016 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
11017 general-purpose register.
11018 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
11019 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
11020 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
11021 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
11022 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
11023 (ENCODE_SECTION_INFO): Enclose variables and constants in
11025 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
11026 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
11027 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
11028 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
11029 only for LABEL_REFs. For SYMBOL_REFs, prepend
11030 SH_DATALABEL_ENCODING to the symbol name.
11031 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
11033 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
11034 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
11036 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
11037 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
11038 (DATALABEL_REF_P): Don't require CONST.
11039 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
11041 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
11042 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
11044 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
11045 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
11046 Use shallow_copy_rtx and PUT_MODE to change the mode of
11047 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
11048 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
11049 on SHmedia using GENERAL_REGs.
11050 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11051 bltu_media_i): Fix reversion of conditions.
11052 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
11053 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
11054 * config/sh/sh.c (output_far_jump): Save r13 in macl.
11055 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
11056 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
11057 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
11058 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
11059 (GCC_nested_trampoline): Likewise.
11060 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
11061 * config/sh/sh.c (gen_datalabel_ref): Define.
11062 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
11063 (INITIALIZE_TRAMPOLINE): Likewise.
11064 (TRAMPOLINE_ADJUST_ADDRESS): Define.
11065 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
11066 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
11067 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
11068 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
11069 (ic_invalidate): Adjust for SH5.
11070 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
11071 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
11072 _nested_trampoline.
11073 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
11074 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
11075 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
11076 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
11077 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
11078 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
11079 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
11080 * config/sh/sh.c (target_reg_operand): Match only target-branch
11081 registers and pseudos that aren't virtual registers.
11082 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11083 Copy operands that don't match target_reg_operand to pseudos.
11084 (call_media, call_value_media, sibcall_media): Use
11085 target_reg_operand instead of target_operand.
11086 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
11087 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
11088 * config/sh/sh.c (target_reg_operand): Match hardware registers
11089 other than branch-target registers.
11090 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
11091 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
11092 (fpscr_values) [SH5 == 32]: Define.
11093 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
11094 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
11095 Handle function addresses coming in SUBREGs.
11096 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
11097 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
11098 shcompact_return_trampoline): Use datalabel where appropriate.
11099 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
11100 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
11101 general-purpose register to copy one branch-target register to
11103 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
11104 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
11105 SYMBOL_REFs with VOIDmode.
11106 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
11107 bltu_media_i): New insns.
11108 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
11109 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
11110 (INIT_CUMULATIVE_ARGS): Likewise.
11111 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
11112 * machmode.def (V16SFmode): New mode.
11113 * c-common.c (type_for_mode): Support V2SF and V16SF.
11114 * tree.c (build_common_tree_nodes_2): Likewise.
11115 * tree.h (tree_index): Likewise.
11116 * calls.c (emit_call_1): Take args_so_far. Adjust all
11117 callers. Introduce CALL_POPS_ARGS.
11118 * tm.texi (CALL_POPS_ARGS): Document.
11119 * config/sh/crt1.asm: Implement in SHmedia mode.
11120 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
11121 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
11122 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
11123 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
11124 Implement divsi and udivsi in SHmedia mode. Introduce
11125 SHcompact trampolines.
11126 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
11128 (regno_reg_class): Rewrite.
11129 (fp_reg_names): Remove.
11130 (sh_register_names, sh_additional_register_names): New.
11131 (print_operand): Added `u'. Support SUBREGs in addresses.
11132 Add parentheses around shifted CONSTs.
11133 (output_file_start): Output .mode and .abi directives.
11134 (shiftcosts, addsubcosts, multcosts): Adjust.
11135 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
11136 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
11137 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
11138 bytes, not registers. Take into account the need for the
11139 SHcompact incoming args trampoline. Adjust all callers.
11140 (sh_expand_prologue): Take stack_regs into account. Call
11141 incoming args trampoline. Keep stack aligned as per SH5 ABI.
11142 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
11143 stack aligned as per SH5 ABI.
11144 (sh_builtin_saveregs): Support SH5 ABI.
11145 (sh_build_va_list, sh_va_start): Likewise.
11146 (initial_elimination_offset): Take alignment into account.
11147 Compute location of PR according to the SH5 stack frame.
11148 (arith_reg_operand): Reject branch-target registers.
11149 (shmedia_6bit_operand): New.
11150 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
11151 (target_reg_operand): Match DImode only. Accept SUBREGs.
11152 (target_operand): New.
11153 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
11154 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
11155 SIBCALL_REGS for SHmedia.
11156 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
11157 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
11158 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
11159 (TARGET_SWITCHES): New SH5 flags.
11160 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
11161 VALID_REGISTER_P to disable unsupported registers.
11162 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
11163 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
11164 (FUNCTION_ARG_PADDING): Define.
11165 (FASTEST_ALIGNMENT): Adjust.
11166 (SH_REGISTER_NAMES_INITIALIZER): New.
11167 (sh_register_names): Declare.
11168 (DEBUG_REGISTER_NAMES): Define.
11169 (REGISTER_NAMES): Define based on sh_register_names.
11170 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
11171 (sh_additional_register_names): Declare.
11172 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
11173 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
11174 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
11175 (REGISTER_NATURAL_MODE): Define.
11176 (FIRST_PSEUDO_REGISTER): Adjust.
11177 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
11178 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
11179 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
11180 (VECTOR_MODE_SUPPORTED_P): Define.
11181 (REG_CLASS_CONTENTS): Adjust.
11182 (SMALL_REGISTER_CLASSES): Adjust.
11183 (REG_ALLOC_ORDER): Adjust.
11184 (INDEX_REG_CLASS): Adjust.
11185 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
11186 (CONST_OK_FOR_LETTER_P): Adjust.
11187 (PREFERRED_RELOAD_CLASS): Adjust.
11188 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
11189 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
11190 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
11191 (FIRST_FP_PARM_REG): Adjust.
11192 (CALL_POPS_ARGS): Define.
11193 (FUNCTION_ARG_REGNO_P): Adjust.
11194 (struct sh_args): New fields.
11195 (GET_SH_ARG_CLASS): Adjust.
11196 (INIT_CUMULATIVE_ARGS): Adjust.
11197 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
11198 (FUNCTION_ARG_ADVANCE): Adjust.
11199 (FUNCTION_ARG): Adjust.
11200 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
11201 (FUNCTION_ARG_CALLEE_COPIES): Define.
11202 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
11203 (STRICT_ARGUMENT_NAMING): Define.
11204 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
11205 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
11206 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
11207 (SETUP_INCOMING_VARARGS): Adjust.
11208 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
11209 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
11210 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
11211 (SUBREG_OK_FOR_INDEX_P): Adjust.
11212 (EXTRA_CONSTRAINT_S): Update.
11213 (EXTRA_CONSTRAINT_T): New.
11214 (EXTRA_CONSTRAINT): Adjust.
11215 (GO_IF_LEGITIMATE_INDEX): Adjust.
11216 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
11217 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
11218 (MOVE_MAX): Adjust.
11219 (MAX_MOVE_MAX): Define.
11221 (CONST_COSTS): Adjust.
11222 (REGISTER_MOVE_COST): Adjust.
11223 (BRANCH_COST): Adjust.
11224 (TEXT_SECTION_ASM_OP): Adjust.
11225 (DBX_REGISTER_NUMBER): Adjust.
11226 (ASM_OUTPUT_DOUBLE_INT): New.
11227 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
11228 (PREDICATE_CODES): Adjust.
11229 (PROMOTE_MODE): Adjust.
11230 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
11231 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
11232 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
11233 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
11234 (DR0_REG, DR2_REG, DR4_REG): Renumber.
11235 (TR0_REG, TR1_REG, TR2_REG): New.
11236 (XD0_REG): Renumber.
11237 (UNSPEC_COMPACT_ARGS): New.
11238 (type): Added pt and ptabs.
11239 (length): Default to 4 on SHmedia. Default pt length to 12
11240 and 20 on SHmedia32 and SHmedia64, respectively.
11241 (pt): New function unit.
11242 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
11243 Add whitespace between operands of SHmedia instructions.
11245 (adddi3_media, addsi3_media): Adjust constraints.
11246 (subsi3) [SHmedia]: Force operand 1 into a register.
11247 (udivsi3_i1_media, udivsi3_i4_media): New.
11248 (udivsi3): Support SHmedia.
11249 (divsi3_i1_media, divsi3_i4_media): New.
11250 (divsi3): Support SHmedia.
11251 (anddi3, iordi3, xordi3): Adjust constraints.
11252 (zero_extendhidi2, zero_extendqidi2): New.
11253 (extendsidi2, extendhidi2, extendqidi2): New.
11254 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
11255 (pop_e, pop_fpul, pop_4): Likewise.
11256 (movsi_media): Support FP and BT registers.
11257 (movsi_media_nofpu): New. Adjust splits to DImode.
11258 (lduw, ldub): Renamed to zero_extend* above.
11259 (movqi_media): Fix typo.
11260 (movdi_media): Support FP and BT registers.
11261 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
11262 (movdi_const_32bit): New.
11263 (shori_media): Require immediate operand. Use `u' for output.
11264 (movdf_media, movsf_media): Simplified.
11265 (movdf_media_nofpu, movsf_media_nofpu): New.
11266 (movdf, movsf): Adjust
11267 (movv2sf, movv2sf, movv16sf): New.
11268 (beq_media, beq_media_i): Adjust constraints. Don't use
11269 scratch BT register.
11270 (bne_media, bne_media_i): Likewise.
11271 (bgt_media, bgt_media_i): Likewise.
11272 (bge_media, bge_media_i): Likewise.
11273 (bgtu_media, bgtu_media_i): Likewise.
11274 (bgeu_media, bgeu_media_i): Likewise.
11275 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
11276 bunordered): Emit jump insn. Force operands to registers when
11278 (jump_media, jump): Simplify.
11279 (call_compact, call_compact_rettramp): New.
11280 (call_value_compact, call_value_compact_rettramp): New.
11281 (call_media, call_value_media): Simplify.
11282 (sibcall_compact, sibcall_media): New.
11283 (call, call_value): Adjust for SHmedia and SHcompact.
11284 (sibcall, sibcall_value, untyped_call): Likewise.
11285 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
11286 (indirect_jump): Adjust for SHmedia.
11287 (casesi_jump_media): New.
11288 (nop): Re-enable for SHmedia.
11289 (call_site): Restrict to SH1.
11290 (casesi): Adjust for SHmedia.
11291 (casesi_shift_media, casesi_load_media): New.
11292 (return): Explicitly use PR register. Call return trampoline
11294 (return_i): Explicitly use PR register.
11295 (shcompact_return_tramp, shcompact_return_tramp_i): New.
11296 (return_media): Adjust.
11297 (shcompact_incoming_args): New.
11298 (epilogue): Adjust.
11299 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11300 (movstrsi): Disable on SH5.
11301 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
11302 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
11303 (subsf3, subsf3_media): Likewise.
11304 (mulsf3, mulsf3_media, mac_media): Likewise.
11305 (divsf3, divsf3_media): Likewise.
11306 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
11307 (floatsisf2, fux_truncsfsi2): Likewise.
11308 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
11310 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
11311 (cmpunsf_media, cmpsf): Likewise.
11312 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
11313 (abssf2, abssf2_media): Likewise.
11314 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
11315 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
11316 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
11317 (floatsidf2, fix_truncdfsi2): Likewise.
11318 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
11320 (cmpeqdf_media, cmpgtdf_media): Likewise.
11321 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
11322 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
11323 (absdf2, absdf2_media): Likewise.
11324 (extendsfdf2, extendsfdf2_media): Likewise.
11325 (truncsfdf2, truncsfdf2_media): Likewise.
11326 * config/sh/sh64.h: New file.
11327 * config/sh/t-sh64: New file.
11328 * config/sh/shmedia.h: New file.
11329 * config/sh/ushmedia.h: New file.
11330 * config/sh/sshmedia.h: New file.
11331 * configure.in: Added sh64-*-elf.
11332 * configure: Rebuilt.
11333 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
11334 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
11335 (reg_class_from_letter): Use `b' for TARGET_REGS.
11336 (print_operand): Support `%M', `%m', `AND' and
11337 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
11338 (andcosts): Adjust for SHmedia.
11339 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
11341 (target_reg_operand): New function.
11342 * config/sh/sh-protos.h (target_reg_operand): Declare.
11343 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
11344 FP registers on SH5.
11345 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
11347 (TARGET_REGISTER_P): New macro.
11348 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
11349 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
11350 (EXTRA_CONSTRAINT_S): New macro.
11351 (EXTRA_CONSTRAINT): Adjust.
11352 (FLOAT_TYPE_SIZE): Define to 32.
11353 (Pmode): DImode on SHmedia.
11354 (CONST_COSTS): Adjust for SHmedia literals.
11355 (PREDICATE_CODES): Added target_reg_operand.
11356 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
11357 * config/sh/sh.md: Remove all attrs from SHmedia insns.
11358 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
11359 (cmpdi): Accept SHmedia.
11360 (movdicc_false, movdicc_true): New insns.
11361 (movdicc): New expand.
11362 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
11364 (addsi3_media): Match `S' constraint.
11365 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
11366 (negdi2): Expand for SHmedia.
11367 (one_cmpldi2): New expand.
11368 (zero_extendsidi2): Change from expand to insn.
11369 (extendsidi2): Add constraints.
11370 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
11371 LD/ST address. Fix SI immediate loading split.
11372 (movhi_media, movqi_media, lduw, ldub): New insns.
11373 (movhi, movqi): Accept SHmedia.
11374 (shori_media, movdi_media): Relax input constraints. Split
11375 symbolic constants.
11376 (movdf_media, movsf_media): New insn. New split to movdi.
11377 (movdf, movsf): Match on SHmedia.
11378 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
11379 bgeu_media): New insns and splits. New insns with `_i' suffix.
11380 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
11381 (bunordered): New expand.
11382 (jump_compact): Renamed from `jump'.
11383 (jump_media): New insn.
11384 (jump): New expand.
11385 (call_media, call_value_media): New insns.
11386 (call, call_value): Adjust.
11387 (indirect_jump_compact): Renamed from `indirect_jump'.
11388 (indirect_jump_media): New insn.
11389 (indirect_jump): New expand.
11390 (untyped_call, return): Accept SHmedia.
11391 (return_media): New insn.
11392 (prologue, epilogue, blockage): Accept SHmedia.
11393 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
11394 (sunordered): New expand.
11395 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
11396 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
11397 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
11398 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
11399 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
11400 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
11401 abssf2_media): New insns.
11402 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
11403 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
11404 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
11405 floatdidf2, floatsidf2_media, fix_truncdfdi2,
11406 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
11407 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
11408 absdf2_media): New insns.
11409 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
11410 (extendsfdf2_media, truncdfsf2_media): New insns.
11411 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
11412 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
11413 * config/sh/sh.h (CONST_OK_FOR_J): Document.
11414 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
11415 * config/sh/sh.md (adddi3): New expand.
11416 (adddi3_media, adddi3z_media): New insns.
11417 (adddi3_compact): Renamed from adddi3.
11418 (addsi3_media): Use add.l r63 to add constant zero.
11419 (subdi3): New expand.
11420 (subdi3_media): New insn.
11421 (subdi3_compact): Renamed from subdi3.
11422 (mulsidi3): New expand.
11423 (mulsidi3_media): New insn.
11424 (mulsidi3_compact): Renamed from mulsidi3.
11425 (umulsidi3): New expand.
11426 (umulsidi3_media): New insn.
11427 (umulsidi3_compact): Renamed from umulsidi3.
11428 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
11429 (ashlsi3, ashrsi3, lshrsi3): Use them.
11430 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
11431 (ashldi3, ashrdi3, lshrdi3): Use them.
11432 (zero_extendsidi2): New expand.
11433 (extendsidi2): New insn.
11434 (movsi_media): New insn. Split to movdi to load constants.
11435 (movsi): Enable for shmedia.
11436 (movdi_media): New insn. Use shori_media to load wide constants.
11437 (short_media): New insn.
11438 (movdi): Enable for shmedia.
11439 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
11440 * config/sh/sh.h (CPP_SPEC): Added `m5'.
11441 (SUBTARGET_CPP_SPEC): Added `!m5'.
11442 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
11443 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
11444 to all other SH variants.
11445 (TARGET_DEFAULT): Set to SH1_BIT.
11446 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
11447 (BITS_PER_WORD): Raise to 64 on shmedia.
11448 (MAX_BITS_PER_WORD): Change to 64.
11449 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
11450 (INT_TYPE_SIZE): Keep as 32.
11451 (UNITS_PER_WORD): Raise to 8 on shmedia.
11452 (MIN_UNITS_PER_WORD): Keep as 4.
11453 (POINTER_SIZE): Raise to 64 on shmedia.
11454 (CONST_OK_FOR_J): New macro.
11455 (CONST_OK_FOR_LETTER_P): Use it.
11456 (processor_type): Add PROCESSOR_SH5.
11457 * config/sh/sh.md: Conditionalize all expands, insns and
11458 splits to TARGET_SH1.
11460 (addsi3_compact): Renamed from...
11461 (addsi3): Now an expand.
11462 (addsi3_media, subsi3_media): New insns.
11463 (subsi3): Don't negate constants with SHmedia.
11465 * hooks.c: New file.
11466 * hooks.h: New file.
11467 * Makefile.in (HOOKS_H): New.
11468 (TARGET_DEF_H): Added $(HOOKS_H).
11469 (OBJS): Added hooks.o.
11470 (cfgcleanup.o, bb-reorder.o): Added target.h.
11471 (hooks.o): Added dependencies.
11472 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
11473 (TARGET_INITIALIZER): this.
11474 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
11475 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
11476 * bb-reorder.c: Include target.h.
11477 (reorder_basic_blocks): Skip if cannot modify jumps.
11478 * cfgcleanup.c: Include target.h.
11479 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
11481 2002-02-08 Chris Demetriou <cgd@broadcom.com>
11483 * config/mips/mips.md (casesi_internal, casesi_internal_di):
11484 Protect jump delay slot instructions with .set noreorder and
11487 2002-02-08 Chris Demetriou <cgd@broadcom.com>
11489 * config/mips/mips.md (casesi_internal_di): Calculate
11490 the index into the target offset table correctly.
11492 2002-02-08 Richard Henderson <rth@redhat.com>
11494 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
11495 * final.c (output_addr_const): Accept and discard SUBREG.
11496 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
11497 mark them unknown instead.
11498 (simplify_subtraction): Handle RTX_UNKNOWN.
11499 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
11501 2002-02-08 David Edelsohn <edelsohn@gnu.org>
11503 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
11505 2002-02-08 Richard Henderson <rth@redhat.com>
11507 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
11509 2002-02-08 Andreas Jaeger <aj@suse.de>
11511 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
11512 * config/i386/t-linux64: New file.
11514 2002-02-08 Jakub Jelinek <jakub@redhat.com>
11516 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
11517 * c-parse.in (compstmt): Clear last_expr_type.
11519 2002-02-07 Richard Henderson <rth@redhat.com>
11521 * loop.c (strength_reduce): Sink final_value when not
11524 2002-02-07 David O'Brien <obrien@FreeBSD.org>
11526 * config/sparc/freebsd.h: Fix mismatched spec {.
11528 2002-02-07 Richard Henderson <rth@redhat.com>
11530 * cfgrtl.c: Include recog.h and insn-config.h.
11531 (keep_with_call_p): Fix general_operand invocation.
11532 * Makefile.in (cfgrtl.o): Update dependencies.
11534 2002-02-07 Kazu Hirata <kazu@hxi.com>
11536 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
11537 comment. Accept HImode only if TARGET_H8300.
11539 2002-02-07 Eric Christopher <echristo@redhat.com>
11541 * config/mips/crtn.asm: Cleanup #ifdefs.
11543 2002-02-07 Eric Christopher <echristo@redhat.com>
11545 * config/mips/crti.asm: Add changes for mips16. mips16 uses
11546 register 7 as RA instead of $31.
11547 * config/mips/crtn.asm: Ditto.
11548 * config/mips/mips.c (mips_move_2words): Add case for
11549 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
11550 (compute_frame_size): Fix typo.
11551 (save_restore_insns): Ditto. Make documentation about using
11552 register $7 as return register more precise.
11553 (mips_expand_epilogue): Fix comment. Add code to work around not
11554 being able to add to the stack pointer directly.
11555 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
11556 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
11559 2002-02-07 Tom Rix <trix@redhat.com>
11561 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
11562 immediates in ldu and stdu DS opcode field.
11563 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
11564 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
11565 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
11567 2002-02-07 Jeff Sturm <jsturm@one-point.com>
11569 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
11570 offset for stack bias.
11572 2002-02-07 H.J. Lu <hjl@gnu.org>
11574 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
11576 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
11578 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
11580 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
11582 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
11583 * i386.c (x86_order_regs_for_local_alloc): New global function.
11584 * i386.h (REG_ALLOC_ORDER): CLeanup.
11585 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
11587 2002-02-07 Richard Henderson <rth@redhat.com>
11589 PR optimization/2463
11590 * alias.c (find_base_value): Recall base values for fixed hard regs.
11591 * loop.c (loop_regs_update): Don't use single_set on non-insns.
11593 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
11595 * config/mips/mips.md (define_delay) [mips16]: Adjust required
11598 2002-02-06 Richard Henderson <rth@redhat.com>
11601 * stmt.c (resolve_operand_name_1): Take more care with mixed
11602 named and unnamed operands.
11604 2002-02-06 Janis Johnson <janis187@us.ibm.com>
11605 Jan Hubicka <jh@suse.cz>
11607 * loop.c (remove_constant_addition): Avoid clobbering a shared
11610 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11612 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
11613 * config/s390/t-linux64: New file.
11614 * config/s390/libgcc-glibc.ver: New file.
11616 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
11618 * config/s390/linux64.h: Delete file.
11619 * config/s390/s390x.h: New file.
11620 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
11621 as target header file.
11622 * config/s390/linux.h (TARGET_VERSION): Define depending on
11623 DEFAULT_TARGET_64BIT.
11624 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
11625 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
11626 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
11627 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
11628 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
11629 (EXTRA_SPEC): New define.
11630 * config/s390/s390.h (TARGET_VERSION): Define depending on
11631 DEFAULT_TARGET_64BIT.
11632 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
11634 2002-02-06 Jason Merrill <jason@redhat.com>
11636 * c-decl.c (finish_function): Warn about a non-void function with
11637 no return statement and no abnormal exit.
11638 (current_function_returns_abnormally): New variable.
11639 (start_function): Clear it.
11640 (struct c_language_function): Add returns_abnormally.
11641 (push_c_function_context): Save it.
11642 (pop_c_function_context): Restore it.
11643 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
11644 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
11645 an explicit return type.
11646 * c-tree.h: Declare current_function_returns_abnormally.
11647 (C_FUNCTION_IMPLICIT_INT): New macro.
11648 * c-typeck.c (build_function_call): Set it.
11649 (c_expand_return): Set current_function_returns_value even if the
11650 value is erroneous.
11652 2002-02-06 Jakub Jelinek <jakub@redhat.com>
11655 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
11656 unsafe for reevaluation.
11658 2002-02-06 Jakub Jelinek <jakub@redhat.com>
11661 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
11662 EXPR_STMT, but COMPOUND_STMT, recurse into it.
11664 2002-02-06 Richard Henderson <rth@redhat.com>
11666 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
11667 be a general_operand. Dest for function value must be a pseudo.
11669 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
11671 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
11672 as SYMBOL_REFs from the constant pool.
11674 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
11676 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
11677 passed by invisible reference.
11679 2002-02-05 Richard Henderson <rth@redhat.com>
11681 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
11683 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
11685 Implement using "base addresses" in insn operands as default.
11686 * config/mmix/mmix.c (mmix_conditional_register_usage): if
11687 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
11688 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
11689 used to read the rtx value.
11690 (mmix_target_asm_function_epilogue): Fix spacing.
11691 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
11692 (mmix_legitimate_address): Ditto.
11693 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
11694 should be loaded with a GETA insn. Don't allocate needless extra
11695 char for nul termination and fix misleading comment.
11696 (mmix_print_operand_address): Handle constants if
11697 TARGET_BASE_ADDRESSES.
11698 (mmix_output_register_setting): Use base addressing if
11699 TARGET_BASE_ADDRESSES and the number of insns is 3.
11700 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
11701 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
11702 to use R as constraint, add LDA to match s.
11703 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
11704 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
11705 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
11706 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
11707 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
11708 order with other fixed registers.
11709 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
11710 other parameter/call-clobbered registers.
11711 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
11712 -mbase-addresses, -mno-base-addresses.
11713 (MMIX Options): Ditto.
11715 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
11717 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
11719 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
11721 * config/rs6000/altivec.h: Change elem to _S_elem.
11723 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
11725 * config/netbsd.h (WCHAR_TYPE): Define.
11726 (WCHAR_TYPE_SIZE): Ditto.
11727 (WINT_TYPE): Ditto.
11728 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
11729 (WCHAR_UNSIGNED): Ditto.
11730 (WCHAR_TYPE_SIZE): Ditto.
11731 (WINT_TYPE): Ditto.
11732 * config/arm/netbsd.h: Likewise.
11733 * config/i386/netbsd-elf.h: Likewise.
11734 * config/i386/netbsd.h: Likewise.
11735 * config/m68k/netbsd-elf.h: Likewise.
11736 * config/m68k/netbsd.h: Likewise.
11737 * config/ns32k/netbsd.h: Likewise.
11738 * config/sparc/netbsd.h: Likewise.
11739 * config/vax/netbsd.: Likewise.
11741 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
11743 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
11744 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
11745 (TARGET_INITIALIZER): this.
11746 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
11747 (BITFIELD_NBYTES_LIMITED): Markup fix.
11748 * tree.h (default_ms_bitfield_layout_p): Declare.
11749 (record_layout_info): Added prev_field.
11750 * tree.c (default_ms_bitfield_layout_p): New fn.
11751 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
11752 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
11753 * stor-layout.c: Include target.h.
11754 (start_record_layout): Initialize prev_field.
11755 (place_field): Handle MS bit-field layout, and disregard
11756 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
11757 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
11758 * Makefile.in (stor-layout.o): Adjust dependencies.
11760 2002-02-05 Jason Merrill <jason@redhat.com>
11762 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
11764 2002-02-05 Andreas Jaeger <aj@suse.de>
11766 * crtstuff.c: Fix comments.
11768 2002-02-05 Richard Henderson <rth@redhat.com>
11771 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
11772 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
11775 * config/mips/mips.c (function_arg): Handle TImode.
11776 (function_arg_advance): Likewise.
11778 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11780 * config/rs6000/altivec.h (vec_step_help): Rename to
11783 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11785 * config/rs6000/altivec.h: Fix typos.
11787 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
11789 * config/arm/netbsd.h: Correct a comment.
11791 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11793 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
11794 building void typed builtins.
11796 * config/rs6000/altivec.h (vec_ld*): Fix typos.
11797 (vec_step): Implement for C++.
11799 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11801 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
11803 2002-02-04 Richard Henderson <rth@redhat.com>
11805 * combine.c (nonzero_bits): Re-introduce special case for
11806 sp/fp/ap wrt REGNO_POINTER_ALIGN.
11808 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
11810 * doc/extend.texi: Warn about unsupported usage of altivec
11813 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
11814 (altivec_predicate_*): New.
11816 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
11817 Add C++ version of vec_*() functions.
11819 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
11820 (bdesc_2arg): Remove altivec predicates.
11821 (altivec_expand_builtin): Handle predicates.
11822 (altivec_init_builtins): Handle predicates.
11823 (altivec_expand_predicate_builtin): New.
11825 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11827 * pa.c (DO_FRAME_NOTES): Move forward.
11828 (store_reg): Revise handling of frame notes.
11829 (load_reg): Likewise.
11830 (set_reg_plus_d): Likewise.
11831 (hppa_expand_prologue): Likewise.
11832 (hppa_expand_epilogue): Likewise.
11834 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11836 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
11838 2002-02-04 Jakub Jelinek <jakub@redhat.com>
11840 PR c/4475, c++/3780:
11841 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
11842 * c-common.h (SWITCH_TYPE): Define.
11843 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
11844 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
11845 Rename spareness variable to sparseness.
11846 (expand_end_case_type): Renamed from expand_end_case, use orig_type
11847 if non-NULL instead of TREE_TYPE (orig_index).
11848 * tree.h (expand_end_case_type): Renamed from expand_end_case.
11849 (expand_end_case): Define using expand_end_case_type.
11850 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
11851 to expand_end_case_type.
11852 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
11854 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11856 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
11857 (BIGGEST_ALIGNMENT): Change to 128.
11859 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11861 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
11863 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
11865 * pa.md (call_internal_reg_64bit): Remove unused variable.
11867 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
11869 * config/arm/arm.h (machine_function): Add uses_anonymous_args
11871 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
11872 * config/arm/arm.c (current_function_anonymous_args): Delete,
11873 replace uses with cfun->machine->uses_anonymous_args.
11874 (arm_reorg): Do not reset uses_anonymous_args.
11876 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
11877 any geenral register.
11879 2001-02-04 Bernd Schmidt <bernds@redhat.com>s
11881 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
11884 2002-02-04 Richard Henderson <rth@redhat.com>
11886 * combine.c (force_to_mode): Remove STACK_BIAS code.
11887 (nonzero_bits): Likewise. Replace sp/fp special case with
11888 REGNO_POINTER_ALIGN.
11890 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
11891 (HARD_FRAME_POINTER_REGNUM): New.
11892 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
11893 (FIXED_REGS, CALL_USED_REGS): Update.
11894 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
11895 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
11896 (HARD_REGNO_NREGS): Update for SFP.
11897 (STACK_POINTER_OFFSET): Include bias here ...
11898 (FIRST_PARM_OFFSET): ... not here.
11899 (STACK_BIAS): Remove.
11900 (INIT_EXPANDERS): New.
11901 (STARTING_FRAME_OFFSET): Do not include bias.
11902 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
11903 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
11904 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
11905 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
11906 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
11907 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
11908 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
11909 (MUST_SAVE_REGISTER): Likewise.
11910 (sparc_flat_function_prologue): Likewise.
11911 (sparc_flat_function_epilogue): Likewise.
11912 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
11913 (sparc_init_modes): SFP is GENERAL_REGS.
11914 (sparc_builtin_saveregs): SFP does not have bias applied.
11916 2002-02-04 Richard Henderson <rth@redhat.com>
11918 * config/alpha/alpha.c (current_function_is_thunk): Don't check
11919 current_function_is_thunk.
11920 (alpha_sa_mask): Distinguish between current_function_is_thunk
11921 called from ASM_OUTPUT_MI_THUNK and not.
11922 (alpha_does_function_need_gp): Thunks always need gp.
11923 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
11924 (alpha_output_mi_thunk_osf): New.
11925 * config/alpha/alpha-protos.h: Update.
11926 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
11928 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
11930 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
11931 function types, not when they're taken away.
11933 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
11935 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
11936 CODE_LABEL and jump table when replacing a table jump with a
11939 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11941 * config/s390/s390-protos.h (legitimize_la_operand,
11942 s390_secondary_input_reload_class, s390_plus_operand,
11943 s390_expand_plus_operand): Add prototypes.
11945 config/s390/s390.c (s390_secondary_input_reload_class,
11946 s390_plus_operand, s390_expand_plus_operand): New functions.
11948 (struct s390_address): New member 'pointer'.
11949 (s390_decompose_address): Compute it.
11950 (legitimate_la_operand_p): Use it.
11951 (legitimize_la_operand): New function.
11952 (movti, movdi, movdf splitters): Call it.
11954 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
11955 (PREDICATE_CODES): Add s390_plus_operand.
11957 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
11958 (la_ccclobber): Allow GENERAL_REGS as output operand.
11960 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
11961 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
11962 (*la_64, *la_31, reload_indi, reload_insi): ... these.
11964 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11966 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
11967 register names for regular asm () construct.
11969 2002-02-04 Jakub Jelinek <jakub@redhat.com>
11971 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
11974 2002-02-04 Jakub Jelinek <jakub@redhat.com>
11976 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
11979 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
11981 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
11982 constant pool to be identical by string address and index.
11984 2002-02-04 Anthony Green <green@redhat.com>
11986 * output.h (SECTION_OVERRIDE): Define.
11987 * varasm.c (named_section): Obey SECTION_OVERRIDE.
11989 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
11991 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
11992 by existing arm*-*-netbsd* (a.out) target.
11993 (ns32k-*-netbsdelf*): Likewise.
11994 (sparc-*-netbsdelf*): Likewise.
11995 (vax-*-netbsdelf*): Likewise.
11997 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
11999 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
12000 headers and libobjc headers.
12002 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
12004 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
12005 (_mingw.h): Remove duplicate include.
12007 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
12009 * config.gcc: Set cpu_type to m68k for 68010, as well.
12010 (m68010-*-netbsdelf*): New...
12011 (m68k*-*-netbsdelf*): ...targets.
12012 * config/m68k/netbsd-elf.h: New file.
12014 2002-02-02 Kazu Hirata <kazu@hxi.com>
12016 * config/h8300/h8300.c (hand_list): Move inside function_arg.
12018 2002-02-02 Kazu Hirata <kazu@hxi.com>
12020 * config/h8300/h8300.c (h8_push_ops): Move inside
12022 (h8_pop_ops): Likewise.
12023 (h8_move_ops): Likewise.
12025 2002-02-02 Kazu Hirata <kazu@hxi.com>
12027 * config/h8300/h8300.c (os_task): Make it static.
12028 (monitor): Likewise.
12029 (pragma_saveall): Likewise.
12031 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
12033 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
12034 constant is a valid sign-extension for Pmode.
12036 2002-02-02 Kazu Hirata <kazu@hxi.com>
12038 * config/h8300/h8300.c: Fix formatting.
12040 2002-02-02 Kazu Hirata <kazu@hxi.com>
12042 * config/h8300/h8300.md: Fix formatting.
12044 2002-02-02 Kazu Hirata <kazu@hxi.com>
12046 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
12047 predicates of operands[1]. Split the patterns for each
12050 2002-02-02 Kazu Hirata <kazu@hxi.com>
12052 * config/h8300/h8300.md (xor patterns): Tighten the predicates
12053 of operands[1] to register_operand.
12055 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12057 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
12058 * cpphash.c (_cpp_init_hashtable): Similarly.
12059 * cppinit.c (cpp_create_reader): Default the signed_char flag.
12060 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
12061 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
12062 (cpp_handle_option): Handle the new options.
12063 * cpplex.c (cpp_interpret_charconst): Use new flag.
12064 * cpplib.h (struct cpp_options): New member signed_char.
12065 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
12066 (cpp_options): Handle -fsigned-char and -funsigned-char.
12067 (static_specs): Remove signed_char_spec.
12068 (do_spec1): Don't handle %c.
12069 * system.h: Poison SIGNED_CHAR_SPEC.
12070 * tradcif.y (yylex): Use flag_signed_char.
12071 * tradcpp.h (flag_signed_char): New.
12072 * tradcpp.c (flag_signed_char): New.
12073 (main): Handle new command-line options.
12074 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
12076 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
12077 * avr/avr.h: Remove old comments.
12078 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
12079 (CC1_SPEC): Pass -fsigned-char if -mic*.
12080 (SIGNED_CHAR_SPEC): Remove.
12082 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
12084 2002-02-01 Eric Christopher <echristo@redhat.com>
12086 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
12087 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
12088 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
12089 (ASM_OUTPUT_REG_POP): Ditto.
12091 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
12093 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
12096 2002-02-02 Jakub Jelinek <jakub@redhat.com>
12098 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
12100 2002-02-02 Jakub Jelinek <jakub@redhat.com>
12103 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
12106 2002-02-01 Janis Johnson <janis187@us.ibm.com>
12108 * cfganal.c: Include tm_p.h.
12109 (keep_with_call_p): Fix the test that determines if a register holds
12110 the return value of a call.
12112 2002-02-01 DJ Delorie <dj@redhat.com>
12114 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
12115 we are given conflicting registers, switch to the other one we
12116 had allocated for us.
12117 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
12118 as TImode so we know when the "other" register is available.
12120 2002-02-01 David O'Brien <obrien@FreeBSD.org>
12122 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
12125 2002-02-01 Janis Johnson <janis187@us.ibm.com>
12127 * cfganal.c (keep_with_call_p): New function.
12128 (flow_call_edges_add): Prevent splitting a block between a call and
12129 a single-set instruction that should be kept in the same block.
12131 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
12133 * doc/install.texi (avr): Update outdated URL.
12135 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
12137 * config/stormy16/stormy16.md (pushqi): New.
12141 (movhi): Remove stack operands.
12143 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
12144 nonimmediate_nonstack_operand.
12145 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
12147 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
12150 2002-01-31 Jason Merrill <jason@redhat.com>
12152 * Makefile.in (c-parse.c): Handle .output file.
12153 * objc/Make-lang.in (objc-parse.c): Likewise.
12155 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
12157 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
12158 the -me[lb] option is given. Don't output the default flag
12161 2002-01-31 Zack Weinberg <zack@codesourcery.com>
12163 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
12164 the primary source file; this has not been done yet.
12165 * c-decl.c (c_expand_body): Reset input_filename from
12166 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
12168 2002-01-31 Kazu Hirata <kazu@hxi.com>
12170 * rtlanal.c (subreg_regno_offset): Do not use
12171 SUBREG_REGNO_OFFSET.
12172 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
12173 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
12175 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12177 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
12178 version rather than GNATS version in --version output.
12180 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
12182 * ifcvt.c (noce_process_if_block): Make a copy of the destination
12183 when copying back from a temporary.
12185 2002-01-30 Richard Henderson <rth@redhat.com>
12187 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
12188 and new_dest are the same.
12190 2002-01-30 Richard Henderson <rth@redhat.com>
12193 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
12194 * rtl.c (note_insn_name): Update.
12195 * emit-rtl.c (remove_unnecessary_notes): Kill it.
12196 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
12197 to perform loop rotation.
12198 (expand_exit_loop_top_cond): New.
12199 * tree.h (expand_exit_loop_top_cond): Declare it.
12200 * c-semantics.c (genrtl_while_stmt): Use it.
12201 (genrtl_for_stmt): Likewise.
12203 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
12205 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
12206 arguments to 64-bit boundaries on 64-bit ABIs.
12208 2002-01-30 Steve Ellcey <sje@cup.hp.com>
12210 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
12212 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
12214 * c-decl.c (grokdeclarator): Handle type being a typedef for an
12217 2002-01-30 David O'Brien <obrien@FreeBSD.org>
12219 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
12220 * config/sparc/sparc_bi.h: Remove file.
12221 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
12223 2002-01-30 Richard Henderson <rth@redhat.com>
12225 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
12227 2002-01-30 Zack Weinberg <zack@codesourcery.com>
12229 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
12231 2002-01-30 Jason Merrill <jason@redhat.com>
12233 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
12234 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
12235 (reg_save): Use DW_CFA_offset_extended_sf instead.
12237 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
12239 2002-01-29 Jakub Jelinek <jakub@redhat.com>
12241 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
12244 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
12246 * rs6000.md ("*call_value_local32"): Remove constraints.
12247 ("*call_value_local64"): Same.
12248 ("*call_value_indirect_nonlocal_aix32"): Same.
12249 ("*call_value_nonlocal_aix32"): Same.
12250 ("*call_value_indirect_nonlocal_aix64"): Same.
12251 ("*call_value_nonlocal_aix64"): Same.
12252 ("*call_value_nonlocal_sysv"): Same.
12254 2002-01-29 Richard Henderson <rth@redhat.com>
12256 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
12258 2002-01-29 Richard Henderson <rth@redhat.com>
12260 * expr.c (force_operand): Ignore flag_pic for detecting pic
12262 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
12263 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
12264 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
12265 instead of open-coded loop.
12266 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
12267 be fixed when in use.
12269 2002-01-29 Richard Henderson <rth@redhat.com>
12271 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
12272 * sched-rgn.c (propagate_deps): Update them.
12273 * sched-deps.c (sched_analyze_insn): Update them. Flush the
12274 clobbers list when either gets too long.
12276 2002-01-29 Jakub Jelinek <jakub@redhat.com>
12278 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
12279 and INDEX_REGS the same as GENERAL_REGS.
12280 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
12282 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
12284 * tree.c (build_nonstandard_integer_type): Correct prototype.
12286 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
12288 * config/s390/s390.md (movstrsico, movstrdix_64,
12289 movstrsix_31): Remove, replace by ...
12290 (movstrdi_short, movstrsi_short, movstrdi_long,
12291 movstrsi_long): ... these. New.
12292 (movstrdi, movstrsi): Adapt.
12294 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
12295 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
12296 Remove unnecessary CC clobber.
12297 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
12298 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
12300 (divmoddi4): Don't partially initialize TImode register.
12302 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
12304 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
12306 2002-01-29 Richard Henderson <rth@redhat.com>
12308 * flow.c (print_rtl_and_abort): Remove.
12309 (print_rtl_and_abort_fcn): Remove.
12310 (verify_local_live_at_start): Use dump_bb instead.
12311 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
12312 (verify_wide_reg_1): Return 2 on mode test failure.
12314 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
12316 PR c/3325, c/3326, c/2511, c/3347
12317 * c-decl.c (enum_decl_context): Remove BITFIELD.
12318 (grokdeclarator): Take bitfield width as an input.
12319 Ensure bitfields are given the correct type. Perform
12320 bitfield width validation with build_bitfield_integer_type
12321 rather than waiting for finish_struct.
12322 (grok_typename, grok_typename_in_parm_context, start_decl,
12323 push_parmdecl, grokfield, start_function): Update calls to
12325 (build_bitfield_integer_type): New function.
12326 (finish_struct): Move bitfield validation to grokdeclarator
12327 and build_bitfield_integer_type.
12328 * tree.c (build_nonstandard_integer_type): New function.
12329 * tree.h (build_nonstandard_integer_type): New prototype.
12331 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
12333 2002-01-29 Jakub Jelinek <jakub@redhat.com>
12336 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
12337 don't ignore unrecognized -W* options.
12338 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
12339 * cpplib.h (cpp_handle_option): Adjust prototype.
12340 * c-decl.c (c_decode_options): Pass 0 as last argument to
12344 * gcc.c (cpp_unique_options): Split from cpp_options.
12345 (cpp_options): Source cpp_unique_options.
12346 (default_compilers): Use cpp_unique_options instead of cpp_options
12347 when used together with cc1_options.
12348 (static_specs): Add cpp_unique_options.
12349 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
12350 when used together with cc1_options.
12352 2002-01-29 Kazu Hirata <kazu@hxi.com>
12354 * config/h8300/h8300-protos.h: Update the prototype of
12356 * config/h8300/h8300.c (output_a_shift): Remove an unused
12357 argument 'insn'. Remove redundant code.
12358 * config/h8300/h8300.md: Adust to the new prototype of
12361 2002-01-29 Kazu Hirata <kazu@hxi.com>
12363 * config/h8300/h8300-protos.h: Update the prototypes of
12364 emit_a_rotate and expand_a_rotate.
12365 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
12366 first argument to 'enum rtx_code'.
12367 (expand_a_rotate): Likewise.
12369 2002-01-28 Kazu Hirata <kazu@hxi.com>
12371 * config/h8300/h8300-protos.h: Update the prototype of
12373 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
12375 * config/h8300/h8300.md: Adjust to the new prototype.
12377 2002-01-28 Kazu Hirata <kazu@hxi.com>
12379 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
12382 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
12384 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
12385 is a fixed register before returning pic_offset_table_rtx.
12386 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
12387 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
12389 2002-01-28 Jason Merrill <jason@redhat.com>
12391 * dwarf2.h: Sync with src version.
12393 2002-01-28 Paul Koning <pkoning@equallogic.com>
12395 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
12396 BT_FN_VOID_PTR_VAR.
12397 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
12398 * doc/extend.texi (__builtin_prefetch): Update documentation:
12399 first argument is now const void ptr.
12401 2002-01-28 Kazu Hirata <kazu@hxi.com>
12403 * config/h8300/h8300-protos.h: Remove an unused prototype.
12405 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
12407 * toplev.c (lang_independent_init): Round up identifier size.
12409 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
12411 * config.gcc: Revert previous change.
12413 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
12415 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
12417 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
12419 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
12420 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
12421 other non-elf netbsd config frags.
12422 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
12423 collect2 will does that.
12424 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
12425 shared-lib frobbing will work.
12427 2002-01-28 Kazu Hirata <kazu@hxi.com>
12429 * config/h8300/h8300.h: Fix formatting.
12430 * config/h8300/h8300.md: Likewise.
12432 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
12434 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
12435 the old, removed AAA_standards fix.
12436 * fixinc/fixincl.x: Rebuilt.
12438 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
12440 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
12441 atexit call in crtbegin, hooked in after call to frame_dummy;
12442 register EH before registering __fini__start.
12444 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
12446 * config/rs6000/altivec.h: Remove spurious semicolons.
12448 2002-01-27 Kazu Hirata <kazu@hxi.com>
12450 * config/h8300/h8300.md: Replace dead bit extraction patterns
12451 with ones that work.
12453 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12455 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
12456 if not STRICT_ALIGNMENT.
12457 * rtl.h (MEM_ALIGN): Likewise.
12459 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
12461 * doc/invoke.texi (-fdump-translation-unit): Revert this
12462 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
12464 2002-01-27 Kazu Hirata <kazu@hxi.com>
12466 * config/h8300/h8300.md (define_constants): New.
12467 (anonymous patterns) Use defined constants appropriately.
12469 2002-01-27 Kazu Hirata <kazu@hxi.com>
12471 * config/h8300/h8300.c (function_arg): Remove redundant code.
12473 2002-01-26 Richard Henderson <rth@redhat.com>
12475 * sched-deps.c (reg_pending_uses_head): New.
12476 (reg_pending_barrier): Rename from reg_pending_sets_all.
12477 (find_insn_list): Don't mark inline.
12478 (find_insn_mem_list): Remove.
12479 (add_dependence_list, add_dependence_list_and_free): New.
12480 (flush_pending_lists): Replace only_write param with separate
12481 for_read and for_write parameters. Update all callers. Use
12482 add_dependence_list_and_free.
12483 (sched_analyze_1): Do not add reg dependencies here; just set
12484 the pending bits. Use add_dependence_list.
12485 (sched_analyze_2): Likewise.
12486 (sched_analyze_insn): Replace schedule_barrier_found with
12487 reg_pending_barrier. Add all dependencies for pending reg
12488 uses, sets, and clobbers.
12489 (sched_analyze): Don't add reg dependencies for calls, just
12490 set pending bits. Use regs_invalidated_by_call. Treat
12491 sched_before_next_call as a normal list, not a fake insn.
12492 (init_deps): No funny init for sched_before_next_call.
12493 (free_deps): Free pending mems lists. Don't zero reg_last.
12494 (init_deps_global): Init reg_pending_uses.
12495 (finish_deps_global): Free it.
12496 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
12497 (find_insn_mem_list): Remove.
12498 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
12499 (propagate_deps): Use them. Zero temp mem lists.
12501 2002-01-26 Richard Henderson <rth@redhat.com>
12503 * Makefile.in (CRTSTUFF_CFLAGS): New.
12504 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
12505 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
12506 crtstuff.c instead of alpha assembly version.
12507 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
12508 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
12509 not FORCE_{INIT,FINI}_SECTION_ALIGN.
12510 (__do_global_dtors_aux): Mark used.
12511 (frame_dummy, __do_global_ctors_aux): Mark used.
12512 (fini_dummy, init_dummy): Remove.
12514 * config/alpha/crtbegin.asm: Remove file.
12515 * config/alpha/crtend.asm: Remove file.
12516 * config/alpha/t-crtbe: Remove file.
12517 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
12518 (LINK_EH_SPEC): New.
12520 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
12521 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
12522 calling constructors.
12523 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
12525 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
12526 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
12527 CRT_END_INIT_DUMMY hack.
12528 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
12529 FORCE_{INIT,FINI}_SECTION_ALIGN.
12531 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
12532 FORCE_{INIT,FINI}_SECTION_ALIGN.
12534 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
12535 invocation sequence.
12536 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
12538 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
12539 (FORCE_CODE_SECTION_ALIGN): New.
12541 2002-01-26 Richard Henderson <rth@redhat.com>
12543 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
12545 2002-01-26 Richard Henderson <rth@redhat.com>
12547 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
12548 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
12550 2002-01-26 Kazu Hirata <kazu@hxi.com>
12552 * config/h8300/h8300.md: Remove bit extraction patterns that
12553 cannot be triggered.
12554 Restrict each bit extraction pattern to a variant on which the
12557 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
12559 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
12561 2002-01-26 Kazu Hirata <kazu@hxi.com>
12563 * config/h8300/h8300.md: Remove bit test patterns that cannot
12565 Restrict each bit test pattern to a variant on which the
12568 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12570 * builtins.c (expand_builtin_strncat): Remove redundant check for
12573 2002-01-25 David O'Brien <obrien@FreeBSD.org>
12575 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
12577 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
12580 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
12582 * dbxout.c (dbxout_init): Use assemble_name rather than just
12583 stripping off the first character.
12584 (dbxout_source_file): Likewise.
12586 2002-01-25 DJ Delorie <dj@redhat.com>
12588 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
12589 using rtx_equal_p, not by comparing pointers.
12591 2002-01-25 Steve Ellcey <sje@cup.hp.com>
12593 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
12594 for PIC_OFFSET_TABLE_REGNUM.
12595 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
12597 2002-01-25 David O'Brien <obrien@FreeBSD.org>
12599 * config.gcc (x86_64-*-freebsd*): New target.
12600 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
12602 (i[34567]86-*-freebsd*): Don't include svr4.h.
12603 * config/i386/freebsd64.h: New file.
12605 2002-01-25 Douglas B Rupp <rupp@gnat.com>
12607 * config/alpha/x-vms (version): Make static.
12609 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
12610 in previous checkin.
12612 * Makefile.in (install-headers-cp): New target.
12613 * config.gcc (alpha-dec-*vms*): Install headers with
12616 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
12618 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
12621 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12623 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
12624 of compare_tree_int.
12625 (expand_builtin_strncat): Likewise.
12626 * c-decl.c (finish_struct): Use tree_low_cst.
12627 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
12628 * tree.c (compare_tree_int): Likewise.
12630 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
12632 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
12633 adjustments even if they are implemented by more than two insns.
12635 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
12637 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
12638 * df.h (struct ref): Kill B.
12639 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
12641 * basic-block.h (PROP_EQUAL_NOTES): New flag.
12642 * flow.c (propagate_one_insn): Use it.
12643 (mark_used_regs): Handle NIL.
12645 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
12647 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
12650 2002-01-25 David Edelsohn <edelsohn@gnu.org>
12652 * rs6000.md (prefetch): Make address V4SI mode so that the address
12653 is restricted to legitimate form for instruction.
12655 2002-01-25 Bob Wilson <bob.wilson@acm.org>
12657 * doc/install.texi (xtensa-*-elf): New target.
12658 (xtensa-*-linux*): New target.
12659 * doc/contrib.texi: Add myself.
12661 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
12663 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
12664 purpose register to hold an SImode (or smaller) value.
12666 2002-01-25 Jakub Jelinek <jakub@redhat.com>
12668 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
12670 * crtstuff.c: Likewise.
12672 2002-01-25 Kazu Hirata <kazu@hxi.com>
12674 * config/h8300/h8300.md (negation patterns): Tighten
12675 predicates to register_operand.
12677 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
12679 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
12682 * builtins.c (expand_builtin_prefetch): Same.
12684 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12686 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
12689 2002-01-24 Kazu Hirata <kazu@hxi.com>
12691 * config/h8300/h8300.c (print_operand): Remove support for
12692 operand character 'A'.
12693 * config/h8300/h8300.md (three anonymous patterns): Replace
12694 operand character 'A' with either 'T' or 'S'.
12696 2002-01-24 Kazu Hirata <kazu@hxi.com>
12698 * config/h8300/h8300.c (print_operand): Remove support for
12699 operand character 'U'.
12701 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
12703 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
12705 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
12707 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
12708 values to be assigned to the stack pointer.
12710 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
12712 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
12713 to const_double needs to be done right for big-endian systems.
12715 2002-01-24 Jason Merrill <jason@redhat.com>
12718 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
12719 to can_throw_internal.
12721 2002-01-23 Richard Henderson <rth@redhat.com>
12723 * fold-const.c (fold): Change UINT_MAX test to check vs precision
12724 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
12726 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12728 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
12729 (symGOT2reg): Use them, then set as GOT value as unchanging.
12730 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
12731 as a temporary, if possible.
12732 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
12733 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
12735 2002-01-23 Kazu Hirata <kazu@hxi.com>
12737 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
12738 accept to accept 0x80 as operands[2].
12740 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
12742 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
12744 2002-01-23 Richard Henderson <rth@redhat.com>
12746 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
12748 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
12750 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
12751 (parmlist_or_identifiers_1): Verify that only a parmlist follows
12754 2002-01-23 Richard Henderson <rth@redhat.com>
12756 * expr.c (move_by_pieces_1): Extend size before negation.
12758 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
12759 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
12760 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
12761 * config/m68k/t-m68kelf: Likewise.
12763 2002-01-23 Bob Wilson <bob.wilson@acm.org>
12765 * config/xtensa/elf.h: New file.
12766 * config/xtensa/lib1funcs.asm: New file.
12767 * config/xtensa/lib2funcs.S: New file.
12768 * config/xtensa/linux.h: New file.
12769 * config/xtensa/t-xtensa: New file.
12770 * config/xtensa/xtensa-config.h: New file.
12771 * config/xtensa/xtensa-protos.h: New file.
12772 * config/xtensa/xtensa.c: New file.
12773 * config/xtensa/xtensa.h: New file.
12774 * config/xtensa/xtensa.md: New file.
12775 * config.gcc (xtensa-*-elf*): New target.
12776 (xtensa-*-linux*): New target.
12777 * cse.c (canon_hash): Compare rtx pointers instead of register
12778 numbers. This is required for the Xtensa port.
12779 * integrate.c (copy_insn_list): Handle case where the static
12780 chain is in memory and the memory address has to be copied to
12782 * doc/invoke.texi (Option Summary): Add Xtensa options.
12783 (Xtensa Options): New node.
12784 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
12786 2002-01-23 Zack Weinberg <zack@codesourcery.com>
12788 * diagnostic.c (internal_error): Do ICE suppression only
12789 when ENABLE_CHECKING is not defined.
12791 * c-typeck.c (require_complete_type): Return error_mark_node
12792 if type is error_mark_node.
12794 2002-01-23 Janis Johnson <janis187@us.ibm.com>
12796 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
12797 -Os and issue a warning.
12799 2002-01-23 Zack Weinberg <zack@codesourcery.com>
12801 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
12802 current (lack of) need for host configuration by hand.
12804 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
12805 references. Documentation of some target macros moved from
12806 hostconfig.texi to tm.texi.
12808 2002-01-23 Will Cohen <wcohen@redhat.com>
12810 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
12813 2002-01-23 Kazu Hirata <kazu@hxi.com>
12815 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
12818 2002-01-23 Jason Merrill <jason@redhat.com>
12820 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
12822 * function.c (assign_parms): Don't put args of inline functions
12823 into registers when not optimizing.
12825 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
12827 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
12828 (prologue_use): New pattern.
12829 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
12830 preference to gen_rtx_USE.
12831 (thumb_expand_prologue): Use gen_prologue_use in preference to
12833 (thumb_expand_epilogue): Use gen_prologue_use in preference to
12836 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
12838 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
12840 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
12843 * doc/extend.texi: Correct documentation of __alignof__.
12845 2002-01-22 Zack Weinberg <zack@codesourcery.com>
12847 * params.h: Rename arguments of DEFPARAM so that it will be
12848 recognized as a translation keyword.
12850 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
12852 * extend.texi: Document altivec functions.
12853 Fix N-bit adjectives in X86 builtin documentation.
12855 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
12857 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
12858 auto_inc_dec values.
12860 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
12862 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
12864 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
12866 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
12868 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
12870 2002-01-22 Richard Henderson <rth@redhat.com>
12872 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
12873 copy_insn not copy_rtx.
12875 2002-01-23 Alan Modra <amodra@bigpond.net.au>
12877 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
12878 "nonzero" as that might add "1" bits. Ensure "constop" is
12879 properly sign extened.
12880 (force_to_mode): Tweak for sign extended constop.
12882 2002-01-22 Richard Henderson <rth@redhat.com>
12884 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
12885 for_each_rtx instead of assuming we're already looking at the MEM.
12886 (split_small_symbolic_mem_operand): Likewise.
12887 * config/alpha/alpha.h (PREDICATE_CODES): Update.
12888 * config/alpha/alpha.md (small symbolic memory splitters): Update.
12890 2002-01-22 Richard Henderson <rth@redhat.com>
12892 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
12893 sequence number for the literal.
12894 (divmoddi_internal_er): Likewise.
12896 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
12899 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
12900 in LIBICONV variable.
12901 * configure: Regenerated.
12903 2002-01-22 Krister Walfridsson <cato@df.lth.se>
12905 * dependence.c (build_def_use): Remove array_idx.
12907 * dwarfout.c (last_filename): Remove.
12908 (output_compile_unit_die): Remove last_filename.
12910 2002-01-22 Roger Sayle <roger@eyesopen.com>
12911 Richard Henderson <rth@redhat.com>
12914 * fold-const.c (fold): Optimize unsigned comparisons against
12915 UINT_MAX (and similar unsigned constants).
12917 2002-01-22 Janis Johnson <janis187@us.ibm.com>
12919 * Makefile.in (loop.o): Depend on OPTABS_H.
12920 * loop.c (emit_prefetch_instructions): Check the prefetch operand
12921 against the predicate.
12924 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
12925 for the address operand.
12927 2002-01-22 Richard Henderson <rth@redhat.com>
12929 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
12931 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
12934 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
12935 preprocessor flags.
12937 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
12939 * config.gcc (x86_64-*-netbsd*): New target.
12940 * config/i386/netbsd64.h: New file.
12942 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
12944 * regrename.c (kill_value): Fix typo.
12946 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
12948 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
12950 * config/rs6000/rs6000.h: Same.
12952 * function.c (instantiate_virtual_regs): Remove
12953 STARTING_FRAME_PHASE.
12954 (assign_stack_local_1): Same.
12955 Calculate frame phase.
12957 2002-01-22 Nick Clifton <nickc@redhat.com>
12959 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
12960 variable declaration to outer scope in order to simplify
12962 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
12963 arm_hard_regno_mode_ok.
12964 * config/arm/arm-protos.h: Add a prototype for
12965 arm_hard_regno_mode_ok.
12966 * config/arm/arm.c (soft_df_operand): Remove now redundant
12967 check for DImode values using IP_REGNUM.
12968 (nonimmediate_soft_df_operand): Remove now redundant check for
12969 DImode values using IP_REGNUM.
12970 (arm_hard_regno_mode_ok): New function. New check: make sure
12971 that DImode values are not stored in IP_REGNUM.
12973 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
12975 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
12977 2002-01-22 Jason Merrill <jason@redhat.com>
12979 * c-semantics.c (genrtl_compound_stmt): Only check nesting
12980 consistency if this COMPOUND_STMT is scoped.
12982 2002-01-22 Kazu Hirata <kazu@hxi.com>
12984 * predict.c: Fix formatting.
12985 * print-tree.c: Likewise.
12986 * protoize.c: Likewise.
12987 * real.h: Likewise.
12989 * sbitmap.h: Likewise.
12990 * scan.c: Likewise.
12991 * sched-deps.c: Likewise.
12992 * sched-vis.c: Likewise.
12993 * sdbout.c: Likewise.
12994 * sibcall.c: Likewise.
12996 * ssa-ccp.c: Likewise.
12997 * ssa-dce.c: Likewise.
12998 * stmt.c: Likewise.
12999 * stor-layout.c: Likewise.
13000 * system.h: Likewise.
13002 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13004 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
13005 if fits in bounds of base type.
13007 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
13008 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
13009 (add_bound_info, default): If can't find a context, make a
13011 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
13013 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
13015 * c-typeck.c (parser_build_binary_op): If result from
13016 build_binary_op is ERROR_MARK just return error_mark_node without
13017 further processing.
13019 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
13021 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
13022 Split a.out-specific bits into...
13023 * config/netbsd-aout.h: ...this.
13024 * config/netbsd-elf.h: New file.
13025 * config/alpha/netbsd-elf.h: Remove.
13026 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
13027 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
13028 (STARTFILE_SPEC): Remove redundant definition.
13029 (ENDFILE_SPEC): Likewise.
13030 (LINK_SPEC): Likewise.
13031 (CPP_SPEC): Likewise.
13032 (ASM_SPEC): Likewise.
13033 (LIB_SPEC): Likewise.
13034 (SWITCH_TAKES_ARG): Likewise.
13035 (TARGET_MEM_FUNCTIONS): Likewise.
13036 (CPP_PREDEFINES): Redefine.
13037 (ASM_FINAL_SPEC): Remove redefinition.
13038 (ASM_COMMENT_START): Redefine.
13039 (FUNCTION_PROFILER): Define.
13040 (TARGET_VERSION): Redefine.
13041 Comment and formatting cleanup.
13042 * config/i386/netbsd.h: Include <netbsd-aout.h>.
13043 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
13044 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
13045 big- or little-endian.
13046 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
13047 * config.gcc (*-*-netbsd*): Add definitions common to all
13049 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
13050 gnu_ld definitions. Add netbsd-elf.h to and remove
13051 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
13052 tmake_file, and don't lose previous tmake_file contents.
13053 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
13054 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
13055 gnu_ld definitions. Add netbsd-elf.h to tm_file.
13056 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
13057 (mipsel-*-netbsd*): Rename this to...
13058 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
13059 mips/little.h to tm_file for mips*el-*.
13060 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
13061 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
13062 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
13064 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13066 * pa-protos.h (reg_before_reload_operand): New function prototype.
13067 * pa.c (reg_before_reload_operand): New function implementation.
13068 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
13069 contraints to "*m".
13071 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13073 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
13075 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
13077 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
13078 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
13079 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
13080 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
13081 (ENDFILE_SPEC): Undefine.
13082 (STARTFILE_SPEC): Redefine for PA.
13084 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13086 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
13088 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
13090 * config.gcc: Add entries to supported PowerPC --with-cpu
13093 2002-01-21 Jakub Jelinek <jakub@redhat.com>
13095 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
13096 true for 64-bit mode only SSE registers in 32-bit mode.
13098 2002-01-21 Kazu Hirata <kazu@hxi.com>
13100 * unwind-dw2.c: Fix formatting.
13101 * unwind-dw2-fde.c: Likewise.
13102 * unwind-dw2-fde.h: Likewise.
13103 * unwind-pe.h: Likewise.
13104 * varasm.c: Likewise.
13105 * varray.h: Likewise.
13107 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
13109 Remove workaround for register stack overwrite bug in mmix.
13110 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
13111 support for TARGET_REG_STACK_FILL_BUG.
13112 * config/mmix/mmix.h: Remove member has_call_without_parameters.
13113 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
13115 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
13116 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
13117 -mno-reg-stack-fill-bug-workaround.
13118 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
13119 machine member has_call_without_parameters.
13120 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
13121 -mreg-stack-fill-bug-workaround and
13122 -mno-reg-stack-fill-bug-workaround.
13123 (MMIX Options): Ditto.
13125 2002-01-21 Kazu Hirata <kazu@hxi.com>
13127 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
13129 Remove redundant code.
13131 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
13133 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
13134 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13135 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
13136 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
13137 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
13138 out target macro definitions and non-target-specific comments
13139 mostly taken from old versions of the manual.
13141 2002-01-20 Kazu Hirata <kazu@hxi.com>
13143 * config/h8300/h8300.h: Fix comment formatting.
13144 * config/ia64/aix.h: Likewise.
13145 * config/ia64/ia64-protos.h: Likewise.
13146 * config/ia64/ia64.c: Likewise.
13147 * config/ia64/ia64.h: Likewise.
13148 * config/ia64/ia64intrin.h: Likewise.
13149 * config/ia64/linux.h: Likewise.
13150 * config/ia64/unwind-aix.c: Likewise.
13151 * config/ia64/unwind-ia64.c: Likewise.
13153 2002-01-20 Kazu Hirata <kazu@hxi.com>
13155 * config/h8300/h8300.c: Revise comments about shift code.
13157 2002-01-20 Kazu Hirata <kazu@hxi.com>
13159 * config/h8300/h8300.c (function_arg): Update a comment.
13161 2002-01-20 Kazu Hirata <kazu@hxi.com>
13163 * config/h8300/h8300.md: Update the comments at the beginning
13166 2002-01-20 Kazu Hirata <kazu@hxi.com>
13168 * config/i370/i370.c: Fix comment formatting.
13169 * config/i370/i370.h: Likewise.
13170 * config/i370/i370.md: Likewise.
13171 * config/i370/linux.h: Likewise.
13173 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13175 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
13177 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
13178 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
13179 in incomplete case.
13181 2002-01-20 Graham Stott <grahams@redhat.com>
13183 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
13185 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
13187 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
13189 2002-01-19 Tom Rix <trix@redhat.com>
13191 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
13193 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
13195 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
13197 * function.c (assign_stack_local_1): Adjust x_frame_offset with
13198 STARTING_FRAME_PHASE.
13199 (STARTING_FRAME_PHASE): New.
13200 (instantiate_virtual_regs): Check saneness of
13201 STARTING_FRAME_PHASE.
13203 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
13205 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
13207 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
13209 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
13211 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
13212 be used for bootstrapping GCC 3.0.
13214 2002-01-18 Kazu Hirata <kazu@hxi.com>
13216 * config/h8300/h8300.md: Fix an insn length.
13218 2002-01-18 Kazu Hirata <kazu@hxi.com>
13220 * bitmap.h: Fix comment formatting.
13221 * combine.c: Likewise.
13222 * cppfiles.c: Likewise.
13223 * c-pragma.h: Likewise.
13224 * c-typeck.c: Likewise.
13226 * dwarf2out.c: Likewise.
13227 * function.c: Likewise.
13229 * genattrtab.c: Likewise.
13230 * gthr-win32.h: Likewise.
13231 * haifa-sched.c: Likewise.
13232 * predict.c: Likewise.
13233 * rtlanal.c: Likewise.
13235 * unwind-dw2-fde.h: Likewise.
13236 * unwind-pe.h: Likewise.
13237 * vmsdbgout.c: Likewise.
13239 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13241 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
13242 if type_required and passed decl.
13244 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
13246 * config.gcc (cpu_type): Include altivec.h in powerpc
13250 * config/rs6000/altivec.h: New.
13252 2002-01-17 David Edelsohn <edelsohn@gnu.org>
13254 * doc/install.texi (*-ibm-aix*): Update assembler and exception
13255 handling information.
13256 * doc/trouble.texi (Interoperation): Add libstdc++ information
13258 (Misunderstandings): Add template instantiation and static template
13259 member information for AIX.
13261 2002-01-17 Jason Merrill <jason@redhat.com>
13263 * dbxout.c (dbxout_type): Support const and volatile.
13265 * except.c (add_partial_entry): Remove backwards compatibility code.
13266 (end_protect_partials): Likewise.
13268 2002-01-17 Jakub Jelinek <jakub@redhat.com>
13270 * config/ia64/ia64.md (prologue_use): New.
13271 * config/ia64/ia64.c (ia64_expand_prologue): Use
13272 gen_prologue_use instead of gen_rtx_USE.
13273 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
13274 as CODE_FOR_pred_rel_mutex.
13275 (ia64_sched_reorder2): Likewise.
13277 2002-01-16 Eric Christopher <echristo@redhat.com>
13279 * config/mips/r3900.h: Reformat.
13280 (SUBTARGET_CPP_SIZE_SPEC): Remove.
13281 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
13282 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
13283 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
13284 * config/mips/t-elf: Remove mips3 multilib.
13286 2002-01-16 H.J. Lu <hjl@gnu.org>
13288 * config/mips/linux.h: Include "mips/abi64.h".
13290 2002-01-16 H.J. Lu <hjl@gnu.org>
13292 * config/mips/t-linux: New.
13294 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
13296 * config/mips/linux.h: Don't include "gofast.h".
13297 (INIT_SUBTARGET_OPTABS): Removed.
13299 2002-01-16 Kazu Hirata <kazu@hxi.com>
13301 * config/h8300/h8300-protos.h: Replace emit_a_shift with
13303 * config/h8300/h8300.c: Likewise.
13304 * config/h8300/h8300.md: Likewise.
13306 2002-01-16 Kazu Hirata <kazu@hxi.com>
13308 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
13309 spaces after an opcode name.
13310 (pushqi1_h8300hs): Likewise.
13311 (pushhi1_h8300hs): Likewise.
13313 2002-01-16 Kazu Hirata <kazu@hxi.com>
13315 * doc/extend.texi: Replace "option" with "attribute"
13318 2002-01-16 Jakub Jelinek <jakub@redhat.com>
13320 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
13321 (and:DI () (const_int -8)).
13322 (split_small_symbolic_mem_operand): Split
13323 (mem (and:DI () (const_int -8)).
13325 2002-01-16 Jakub Jelinek <jakub@redhat.com>
13328 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
13329 same way as TYPE_IMUL.
13330 (ultrasparc_sched_reorder): Likewise.
13331 * config/sparc/sparc.md (type): Add comment to update
13332 ultrasparc_sched_reorder when making changes.
13334 2002-01-16 Kazu Hirata <kazu@hxi.com>
13336 * doc/invoke.texi: Change the dump file name of block
13337 reordering pass from 28.bbro to 29.bbro.
13338 Mention -dk option.
13340 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
13342 * i386.md (minsf splitter): Fix pasto.
13344 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
13346 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
13347 to frame pointer initialisation instruction.
13348 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
13349 initialisation instruction.
13350 (soft_df_operand): Do not accept the IP register.
13351 (nonimmediate_soft_df_operand): Do not accept the IP register.
13353 2002-01-16 Jakub Jelinek <jakub@redhat.com>
13356 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
13357 MASK_V8 being both set.
13359 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
13361 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
13362 insn for GOT register; add REG_MAYBE_DEAD notes instead.
13363 config/s390/s390.md (call, call_value): Add GOT register to
13364 CALL_INSN_FUNCTION_USAGE where needed.
13365 (call_exp, call_value_exp): New.
13367 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
13369 * config/arm/arm.c: General formatting tidy up.
13371 2002-01-16 Graham Stott <grahams@redhat.com>
13373 * calls.c (try_to_integrate): Use "(size_t)" intermediate
13374 cast and when casting an integer literal to "rtx" pointer.
13375 (expand_call): Likewise.
13376 * flow.c (try_pre_increment): Likewise.
13377 (find_use_as_address): Likewise.
13378 * integrate.c (expand_iline_function): Likewise.
13379 * regmove.c (try_auto_increment): Likewise.
13381 2002-01-16 Graham Stott <grahams@redhat.com>
13383 * sched-rgn.c (passed): Use sbitmap_free.
13384 (header): Likewise.
13386 (in_queue): Likewise.
13387 (in_stack): Likewise.
13389 2002-01-15 Eric Christopher <echristo@redhat.com>
13391 * flow.c (propagate_one_insn): Change to use fatal_insn.
13393 2002-01-15 Kazu Hirata <kazu@hxi.com>
13395 * expmed.c (extract_fixed_bit_field): Remove unused code.
13396 * system.h: Poison SLOW_ZERO_EXTEND.
13397 * doc/tm.texi: Remove.
13398 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
13399 * config/arm/arm.h: Likewise.
13400 * config/avr/avr.h: Likewise.
13401 * config/clipper/clipper.h: Likewise.
13402 * config/convex/convex.h: Likewise.
13403 * config/d30v/d30v.h: Likewise.
13404 * config/dsp16xx/dsp16xx.h: Likewise.
13405 * config/elxsi/elxsi.h: Likewise.
13406 * config/fr30/fr30.h: Likewise.
13407 * config/h8300/h8300.h: Likewise.
13408 * config/i370/i370.h: Likewise.
13409 * config/i386/i386.h: Likewise.
13410 * config/m68k/m68k.h: Likewise.
13411 * config/mips/mips.h: Likewise.
13412 * config/ns32k/ns32k.h: Likewise.
13413 * config/pdp11/pdp11.h: Likewise.
13414 * config/pj/pj.h: Likewise.
13415 * config/s390/s390.h: Likewise.
13416 * config/sh/sh.h: Likewise.
13417 * config/stormy16/stormy16.h: Likewise.
13418 * config/v850/v850.h: Likewise.
13419 * config/vax/vax.h: Likewise.
13420 * config/we32k/we32k.h: Likewise.
13422 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
13424 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
13425 (altivec_lvsl): Change constraint to b.
13426 (altivec_lvsr): Same.
13427 (altivec_lvebx): Same.
13428 (altivec_lvehx): Same.
13429 (altivec_lvewx): Same.
13430 (altivec_lvxl): Same.
13431 (altivec_lvx): Same.
13432 (altivec_stvx): Add parallel.
13433 (altivec_stvxl): Same.
13434 (altivec_stvehx): Same.
13435 (altivec_stvebx): Same.
13436 (altivec_stvebx): Same.
13438 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
13440 * config.gcc: Change altivec.h to altivec-defs.h.
13442 * config/rs6000/altivec.h: Delete.
13444 * config/rs6000/altivec-defs.h: Add.
13446 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
13448 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
13451 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
13452 less than or equal to eight bytes.
13454 * vax.md (andsi3): Remove constraints and change SET destination
13455 operand type to nonimmediate_operand.
13456 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
13457 when it is a CONST_INT.
13459 2002-01-15 Jason Merrill <jason@redhat.com>
13461 * c-common.def (FILE_STMT): New code.
13462 * c-common.c (statement_code_p): It's a statement.
13463 * c-common.h (stmt_tree_s): Add x_last_filename.
13464 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
13465 (last_expr_filename): New macro.
13466 * c-semantics.c (begin_stmt_tree): Initialize it.
13467 (add_stmt): If the filename changed, also insert a
13469 (expand_stmt): Handle seeing one.
13471 2002-01-15 Eric Christopher <echristo@redhat.com>
13473 * flow.c (propagate_one_insn): Add error message and print out
13474 insn for debugging.
13476 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13478 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
13479 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
13480 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
13481 TRAMPOLINE_ALIGNMENT.
13482 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
13484 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
13485 PCC_BITFIELD_TYPE_MATTERS.
13486 * config/interix.h (STDC_VALUE): Remove. Use
13487 STDC_0_IN_SYSTEM_HEADERS.
13488 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
13489 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
13490 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
13492 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
13494 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
13495 not work on this platform currently.
13497 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
13499 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
13500 readonly_warning in _().
13502 2002-01-15 Douglas B Rupp <rupp@gnat.com>
13504 * gcc.c (delete_if_ordinary): Backout previous change.
13506 2002-01-15 Kazu Hirata <kazu@hxi.com>
13508 * config/h8300/h8300.c (print_operand): Remove support for
13509 unused operand characters.
13511 * read-rtl.c: Fix formatting.
13512 * real.c: Likewise.
13513 * recog.c: Likewise.
13514 * regclass.c: Likewise.
13515 * regmove.c: Likewise.
13516 * reg-stack.c: Likewise.
13517 * reload1.c: Likewise.
13518 * rtlanal.c: Likewise.
13520 2002-01-15 Kazu Hirata <kazu@hxi.com>
13522 * config/i386/i386.c: Fix formatting.
13524 2002-01-15 Jakub Jelinek <jakub@redhat.com>
13526 * c-typeck.c (process_init_element): Don't save_expr
13527 COMPOUND_LITERAL_EXPR if just its initializer will be used.
13529 2002-01-15 David Edelsohn <edelsohn@gnu.org>
13531 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
13532 emit optional traceback table if optimize_size or TARGET_ELF.
13533 * config/rs6000/rs6000.md (prefetch): New.
13535 2002-01-15 Andreas Jaeger <aj@suse.de>
13537 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
13539 2002-01-15 Kazu Hirata <kazu@hxi.com>
13541 * mips-tfile.c: Fix formatting.
13543 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
13545 * unroll.c (final_reg_note_copy): Fix previous commit.
13547 2002-01-14 Kazu Hirata <kazu@hxi.com>
13549 * config/h8300/h8300-protos.h: Remove the prototype for
13551 * config/h8300/h8300.c (eq_operator): Remove.
13553 2002-01-14 Richard Henderson <rth@redhat.com>
13555 * config/i386/i386.md (prefetch): Tidy.
13556 (prefetch_3dnow): Fix locality operand.
13558 2002-01-14 Richard Henderson <rth@redhat.com>
13560 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
13561 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
13563 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
13565 * reload1.c (reload_combine): Pass reg_sum replacement through
13566 copy_rtx in loop performing multiple changes.
13568 2002-01-14 Jakub Jelinek <jakub@redhat.com>
13570 * except.c (remove_unreachable_regions): New.
13571 (free_eh_status): Clear exception_handler_labels.
13572 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
13573 (find_exception_handler_labels): Don't add the same label more than
13575 (remove_exception_handler_label): Don't die if
13576 find_exception_handler_labels hasn't been called for the current
13579 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
13581 * toplev.c (rest_of_compilation): Rebuild jump labels after
13584 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
13586 * doc/extend.texi: Move documentation of X86 built-in functions
13588 * doc/invoke.texi: From here.
13589 * doc/sourcebuild.texi: Document location of documentation for
13590 machine built-in functions.
13592 2002-01-13 Christopher Faylor <cgf@redhat.com>
13594 * cppfiles.c (TEST_THRESHOLD): New macro.
13595 (SHOULD_MMAP): Ditto.
13596 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
13599 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
13601 * unroll.c (final_reg_note_copy): Properly handle
13603 (unroll_loops): Fix LOOP_CONDITION heuristics.
13605 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
13607 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
13608 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
13610 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
13612 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
13615 2002-01-14 Tom Rix <trix@redhat.com>
13617 * config/rs6000/rs6000.md: Fix typo with sradi.
13619 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
13621 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
13622 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
13623 (clrstrdi, clrstrsi): Adapt callers.
13625 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
13627 (movti splitter): Never use register 0 as base register.
13629 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
13631 * combine.c (simplify_shift_const): Always generate new rtx
13632 for shift expression instead of reusing given expression.
13634 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13636 * config/alpha/alpha.c (alpha_expand_mov): Don't call
13637 alpha_legitimize_address unless mode is Pmode.
13639 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
13641 * doc/md.texi (Modifiers): Document the '*' constraint for the
13644 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
13645 * doc/extend.texi (Function Attributes): 'interrupt' is valid
13648 2002-01-13 Richard Henderson <rth@redhat.com>
13650 * reload.c (find_reloads): Use a hard reg destination as reload reg
13651 for an input reload of the source.
13653 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13655 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
13658 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
13660 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
13661 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
13663 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
13665 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13667 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
13669 2002-01-12 Tom Rix <trix@redhat.com>
13671 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
13674 2002-01-12 Richard Henderson <rth@redhat.com>
13676 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
13678 * doc/invoke.texi: Update Alpha options.
13680 * doc/invoke.texi: Update i386 built-in function lists.
13682 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
13684 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
13685 referencing outside.
13687 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13689 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
13690 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
13691 offsets, and change line folding.
13692 * optabs.c (expand_binop): Remove warnings.
13693 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
13695 2002-01-12 Graham Stott <grahams@redhat.com>
13697 * attribs.c (handle_deprecated_attribute): constify WHAT.
13698 * diagnostic.c (warn_deprecated_use): Add braces, fixes
13699 dangling else warning and constify WHAT.
13700 * except.h (struct function, struct inline_remap): Move
13701 struct tag forward defs before all prototypes.
13702 (duplicate_eh_regions): Whitespace.
13704 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
13706 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
13707 MODE_BASE_REG_CLASS.
13708 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
13710 2002-01-12 Richard Henderson <rth@redhat.com>
13712 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
13713 (ix86_expand_vector_move): New.
13714 (bdesc_2arg): Remove andps, andnps, orps, xorps.
13715 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
13716 Remove old prefetch builtins. Special case the logicals removed above.
13717 (ix86_expand_builtin): Likewise.
13718 (safe_vector_operand): Use V4SFmode, not TImode.
13719 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
13720 (ix86_expand_timode_binop_builtin): New.
13721 * config/i386/i386-protos.h: Update.
13722 * config/i386/i386.h (enum ix86_builtins): Update.
13723 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
13724 Use ix86_expand_vector_move in vector move expanders.
13725 (movti_internal, movti_rex64): Add xorps alternative.
13726 (sse_clrv4sf): Rename and adjust from sse_clrti.
13727 (prefetch): Don't work so hard.
13728 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
13729 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
13730 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
13732 2002-01-11 Richard Henderson <rth@redhat.com>
13734 * config/i386/mmintrin.h: New file.
13735 * config/i386/xmmintrin.h: New file.
13736 * config.gcc (i?86-*-*): Add extra_headers.
13737 * simplify-rtx.c (simplify_unary_operation): Handle saturating
13739 (simplify_binary_operation): Handle saturating arithmetic codes.
13740 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
13741 not the lowpart subreg.
13742 (ix86_expand_builtin): Return a TImode dummy register instead of 0
13744 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
13746 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13748 * conflict.c (conflict_graph_compute): Free regsets when finished.
13749 * ssa.c (compute_coalesced_reg_partition): Likewise.
13751 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13753 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
13754 every where we allocate a register.
13756 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13758 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
13759 * lcm.c (compute_earliest, compute_farthest): Likewise.
13761 2002-01-11 Janis Johnson <janis187@us.ibm.com>
13763 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
13765 2002-01-11 Janis Johnson <janis187@us.ibm.com>
13767 * doc/rtl.texi (Insns): Fix 2 typos.
13769 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
13771 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
13772 options. Use @table @gcctabopt for MMIX options. Add index
13773 entries for MMIX options. Start new paragraph with first
13774 heading of the machine-dependent options.
13776 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
13779 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
13780 * combine.c (force_to_mode): Same.
13781 * reload1.c (clear_reload_reg_in_use): Same.
13783 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
13785 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
13788 2002-01-11 Andreas Jaeger <aj@suse.de>,
13789 Brad Lucier <lucier@math.purdue.edu>
13791 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
13794 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
13796 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
13797 Protect with IN_LIBGCC.
13798 (LINK_EH_SPEC): Add required trailing space.
13800 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
13802 * c-tree.h: Move function declarations so that they are listed
13803 under the filename which contains them.
13804 (check_identifier, finish_decl_top_level,
13805 lookup_name_current_level_global, shadow_record_fields): Remove.
13807 2002-01-11 Andreas Jaeger <aj@suse.de>
13809 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
13812 2002-01-10 Richard Henderson <rth@redhat.com>
13814 * config/alpha/alpha.c (print_operand): Add 'J'.
13815 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
13816 new operand with the sequence number for the lituse. When splitting
13817 the insns, use gen_movdi_er_high_g and generate a sequence number.
13818 (gen_movdi_er_high_g): Print the sequence number if non-zero.
13820 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
13822 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
13823 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
13825 (altivec_expand_builtin): Same.
13826 (altivec_expand_stv_builtin): New.
13828 * config/rs6000/rs6000.h (rs6000_builtins): Same.
13830 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
13831 ("altivec_lvehx"): New.
13832 ("altivec_lvewx"): New.
13833 ("altivec_lvxl"): New.
13834 ("altivec_lvx"): New.
13835 ("altivec_stvx"): New.
13836 ("altivec_stvebx"): New.
13837 ("altivec_stvehx"): New.
13838 ("altivec_stvewx"): New.
13839 ("altivec_stvxl"): New.
13841 2002-01-10 Richard Henderson <rth@redhat.com>
13843 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
13844 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
13845 care not to delete instructions twice.
13847 2002-01-10 Zack Weinberg <zack@codesourcery.com>
13849 * toplev.c: Don't declare environ (it's not used anywhere).
13850 * configure.in: Don't check for declaration of environ.
13851 * config/i386/xm-mingw32.h: Don't #define environ.
13852 * config.in, configure: Regenerate.
13854 2002-01-10 Zack Weinberg <zack@codesourcery.com>
13856 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
13857 * configure: Regenerate.
13859 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
13860 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
13861 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
13863 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
13864 LIMITS_H_TEST here, not in m68k/x-next.
13865 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
13866 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
13868 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
13869 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
13870 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
13872 * config/i386/x-djgpp: Renamed i386/t-djgpp.
13873 * config/m88k/x-dolph: Renamed m88k/t-dolph.
13874 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
13875 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
13876 replacement of quadlib.asm with quadlib.c.
13878 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
13879 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
13880 config/rs6000/xm-beos.h: Delete file.
13882 * config.gcc: Update to match above changes.
13884 2002-01-10 Kazu Hirata <kazu@hxi.com>
13886 * config/h8300/h8300.h: Fix comment typos.
13887 * config/h8300/h8300.md: Likewise.
13888 * config/h8300/lib1funcs.asm: Likewise.
13890 2002-01-10 Dale Johannesen <dalej@apple.com>
13892 PR optimization/5269
13893 * unroll.c (precondition_loop_p): Make *increment be the correct
13894 sign when n_iterations known, to avoid confusing caller.
13896 2002-01-10 Kazu Hirata <kazu@hxi.com>
13898 * doc/extend.texi (deprecated): Fix a typo.
13900 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
13902 * basic-block.h (update_br_prob_note): Declare.
13903 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
13904 (try_forward_edges): Care negative frequencies and update note.
13905 (outgoing_edges_match): Tweek conditional merging heuristics.
13906 (try_crossjump_to_edge): use update_br_prob_note.
13907 * cfglayout.c (fixup_reorder_chain): Likewise.
13908 * cfrtl.c (update_br_prob_note): New.
13909 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
13911 * i386.c (ix86_decompose_address): Return -1 if address contains
13913 (legitimate_address_p): Require ix86_decompose_address to return 1.
13915 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
13916 (cprop_insn): Likewise.
13918 2002-01-10 Kazu Hirata <kazu@hxi.com>
13920 * toplev.c: Fix formatting.
13921 * tree.c: Likewise.
13922 * tree-dump.c: Likewise.
13923 * unroll.c: Likewise.
13924 * unwind-dw2.c: Likewise.
13925 * unwind-dw2-fde.c: Likewise.
13926 * unwind-dw2-fde-glibc.c: Likewise.
13927 * unwind-sjlj.c: Likewise.
13929 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
13931 * doc/invoke.texi: Document PDP-11 options.
13933 2002-01-10 Kazu Hirata <kazu@hxi.com>
13935 * config/h8300/h8300.h: Fix formatting.
13937 2002-01-10 Ira Ruben <ira@apple.com>
13939 Add __attribute__ ((deprecated)).
13940 * extend.texi: Document __attribute__ ((deprecated)).
13941 * invoke.texi: Document -Wno-deprecated-declarations.
13942 * testsuite/g++.dg/other/deprecated.C: New C++ test.
13943 * testsuite/gcc.dg/deprecated.c: New C test.
13944 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
13945 (c_common_attribute_table): Add "deprecated" entry.
13946 (handle_deprecated_attribute): New function.
13947 * c-decl.c (deprecated_states): New enum.
13948 deprecated_state: State of "deprecated" handling.
13949 (start_decl): Set deprecated_state based on attributes.
13950 (grokdeclarator): Test for deprecated uses, propagate attribute.
13951 * c-typeck.c (build_component_ref): Test for deprecated fields.
13952 (build_external_ref): Test for deprecated primaries.
13953 * diagnostic.c (warn_deprecated_use) New function to issue
13954 warnings about __attribute__ ((depricated)) references.
13955 * flags.h (warn_deprecated_decl): Extern declared for
13956 -W[no-]deprecated-declarations option.
13957 * print-tree.c (print_node): Show deprecated flag status.
13958 * toplev.c (warn_deprecated_decl): Defined.
13959 (W_options): Added "deprecated-declaration".
13960 * toplev.h (warn_deprecated_use): Extern declared.
13961 * tree.h (struct tree_common): Define deprecated_flag.
13962 (TREE_DEPRECATED): New macro to access flag.
13963 * cp/call.c (build_call): Test for deprecated calls.
13964 * cp/class.c (add_implicitly_declared_members): Set global
13965 flag to tell grokdeclarator to not issue deprecated warnings.
13966 * cp/cp-tree.h: Add extern for adding_implicit_members.
13967 * cp/decl.c (deprecated_states): New enum.
13968 (start_decl): Set deprecated_state based on attributes.
13969 (grokdeclarator): Test for deprecated uses, propagate attribute.
13970 * cp/lex.c (do_identifier): Test for deprecated primaries.
13971 * cp/typeck.c (build_component_ref): Test for deprecated fields.
13973 2002-01-10 Ira Ruben <ira@apple.com>
13975 Fix to assign attributes to inline member functions.
13976 * cp/decl.c (start_method): Handle attrlist.
13978 2002-01-10 Kazu Hirata <kazu@hxi.com>
13980 * combine.c (expand_field_assignment): Use subreg_lsb().
13982 2002-01-10 David Edelsohn <edelsohn@gnu.org>
13984 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
13985 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
13986 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
13987 Recurse for any operand of AND as long as constant is non-zero.
13989 2002-01-10 Kazu Hirata <kazu@hxi.com>
13991 * config/h8300/h8300.md: Remove constraints from expanders.
13993 2002-01-10 Kazu Hirata <kazu@hxi.com>
13995 * varasm.c: Fix formatting.
13996 * varray.c: Likewise.
13997 * vmsdbgout.c: Likewise.
13998 * xcoffout.c: Likewise.
14000 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
14002 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
14003 update edge probabilities to match.
14005 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
14007 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
14009 * doc/languages.texi, doc/sourcebuild.texi: New files.
14010 * doc/configfiles.texi: Make a subsubsection. Update.
14011 * doc/configterms.texi: Add @node. Remove warning that this isn't
14012 instructions for building GCC.
14013 * doc/makefile.texi: Make a subsection.
14014 * doc/gccint.texi: Update.
14016 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
14018 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
14020 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
14022 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
14024 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
14026 * optabs.c (expand_fix): Look for wider integer modes first.
14028 * i386.md (mov?f): Avoid the fake const double trick for medium
14030 (min?f*/max?f*): Prohibit memory operands for i387 variant.
14031 (fop_df_4): Disable for SSE compilation.
14033 2002-01-10 Graham Stott <grahams@redhat.com>
14035 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
14036 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
14038 2002-01-10 Richard Henderson <rth@redhat.com>
14040 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
14042 2002-01-10 Richard Henderson <rth@redhat.com>
14044 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
14045 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
14047 2002-01-10 Kazu Hirata <kazu@hxi.com>
14049 * combine.c (can_combine_p): Fix a comment typo.
14051 2002-01-09 Zack Weinberg <zack@codesourcery.com>
14053 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
14054 empty list correctly. Change loop index $t to $f for
14055 consistency with rest of Makefile.
14057 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
14059 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
14060 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14062 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
14063 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
14064 (altivec_init_builtins): Same.
14065 (altivec_expand_unop_builtin): Return NULL_RTX on error.
14066 (altivec_expand_binop_builtin): Same.
14067 (altivec_expand_ternop_builtin): Same.
14070 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
14071 ("altivec_vctuxs"): Fix typo.
14072 ("altivec_vnmsubfp"): Same.
14073 ("altivec_dssall"): New.
14074 ("altivec_mfvscr"): New.
14075 ("altivec_dss"): New.
14076 ("altivec_lvsl"): New.
14077 ("altivec_lvsr"): New.
14078 ("altivec_dstt"): New.
14079 ("altivec_dstst"): New.
14080 ("altivec_dststt"): New.
14081 ("altivec_dst"): New.
14083 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
14084 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
14086 2002-01-09 Richard Henderson <rth@redhat.com>
14088 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
14090 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
14092 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
14094 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
14096 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
14098 2002-01-09 Kazu Hirata <kazu@hxi.com>
14100 * read-rtl.c: Fix formatting.
14101 * real.c: Likewise.
14102 * regclass.c: Likewise.
14103 * regrename.c: Likewise.
14104 * reg-stack.c: Likewise.
14105 * reload1.c: Likewise.
14106 * reload.c: Likewise.
14109 2002-01-09 Kazu Hirata <kazu@hxi.com>
14111 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
14112 to extract items in the expr_list chain.
14114 2002-01-09 Richard Henderson <rth@redhat.com>
14116 * config/vax/vax.c (vax_rtx_cost): Never abort.
14118 * config/vax/vax.h (REAL_ARITHMETIC): Define.
14120 2002-01-09 Jan Hubicka <jh@suse.cz>
14122 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
14124 2002-01-09 Richard Henderson <rth@redhat.com>
14126 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
14127 Unify code from various alternatives.
14129 2002-01-09 Richard Henderson <rth@redhat.com>
14131 * regrename.c (copy_value): Ignore the copy if the source register
14132 is present in the value chain with a narrower mode.
14134 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14136 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
14137 for the c4x target. Also improve layout.
14139 2002-01-09 Richard Henderson <rth@redhat.com>
14141 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
14142 * config/m32r/m32r.md (and ior xor splitters): Swap operands
14143 to match insn patterns.
14145 2002-01-09 Richard Henderson <rth@redhat.com>
14147 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
14148 (copyprop_hardreg_forward_1): Likewise.
14150 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
14152 * pa.md (decrement_and_branch_until_zero): Change predicate for
14153 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
14155 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14157 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
14158 gets undefined. For Darwin.
14160 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14162 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
14164 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14166 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
14168 2002-01-08 Richard Henderson <rth@redhat.com>
14170 * regrename.c (copy_value): Ignore overlapping copies.
14172 2002-01-08 Richard Henderson <rth@redhat.com>
14174 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
14175 as needed to avoid shared structure.
14177 2002-01-08 Kazu Hirata <kazu@hxi.com>
14179 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
14182 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14184 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
14185 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
14186 documentation of obsolete macros.
14187 * system.h: Poison these macros.
14188 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
14189 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
14190 config/c4x/c4x.h, config/clipper/clipper.h,
14191 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
14192 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
14193 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
14194 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
14195 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
14196 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
14197 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
14198 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
14199 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
14200 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
14201 config/sparc/sparc.h, config/stormy16/stormy16.h,
14202 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
14203 definitions and commented out definitions of obsolete macros.
14204 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
14205 of MAX_INT_TYPE_SIZE.
14207 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
14209 * config/s390/s390.c (s390_preferred_reload_class): Never
14210 return ADDR_REGS if it isn't a subset of the given class.
14211 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
14212 FP_REGS, but all superclasses as well.
14214 * config/s390/s390.c (s390_function_profiler): Fix thinko.
14216 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
14217 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
14218 must not be a const_int.
14220 2002-01-08 Richard Henderson <rth@redhat.com>
14222 * Makefile.in (toplev.o): Depend on options.h.
14223 (gcc.o): Depend on specs.h.
14225 2002-01-08 Jakub Jelinek <jakub@redhat.com>
14227 * expr.c (store_expr): Convert VOIDmode constants back to target's
14230 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14232 * doc/invoke.texi: Markup gcc as @command. Refer to
14233 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
14234 of http://gcc.gnu.org/thanks.html.
14236 2002-01-08 Dale Johannesen <dalej@apple.com>
14238 * config/rs6000/rs6000.md: Add missing int register
14239 target case to movdf_low.
14241 2002-01-08 Zack Weinberg <zack@codesourcery.com>
14243 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
14244 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
14245 (cppinit.o): Depend on except.h.
14246 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
14247 s-specs): New rules.
14249 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
14250 Don't create specs.h/options.h/gencheck.h here. Remove
14251 unnecessary variable settings from last argument of AC_OUTPUT.
14252 * config.in, configure: Regenerate.
14253 * intl.c: Hardcode package name as "gcc".
14255 * cppinit.c: Include except.h.
14256 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
14258 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
14259 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
14260 (!)USING_SJLJ_EXCEPTIONS.
14261 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
14263 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14265 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
14266 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
14267 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
14268 documentation of obsolete macros.
14269 * system.h: Poison these macros.
14270 * config/d30v/d30v.h, config/ns32k/encore.h,
14271 config/stormy16/stormy16.h: Remove definitions and commented out
14272 definitions of obsolete macros.
14274 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
14276 * objc/objc-act.c (handle_class_ref): Mark the declaration of
14277 %sobjc_class_ref_%s as used - to prevent unwanted compiler
14280 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
14282 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
14283 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
14284 to insn adjusting stack/frame pointer.
14285 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
14286 accept operands that cause the insn to be non-splittable.
14288 2002-01-08 Graham Stott <grahams@redhat.com>
14290 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
14291 (C_TYPE_FIELDS_VOLATILE): Likewise.
14292 (C_TYPE_BEING_DEFINED): Likewise.
14293 (C_IS_RESERVED_WORD): Likewise.
14294 (C_TYPE_VARIABLE_SIZE): Likewise.
14295 (C_DECL_VARIABLE_SIZE): Likewise.
14296 (C_MISSING_PROTOTYPE_WARNED): Likewise.
14297 (C_SET_EXP_ORIGINAL_CODE): Likewise.
14298 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
14300 (C_DECL_ANTICIPATED): Likewise.
14301 (c_build_type_variant): Add parenthesis.
14303 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
14305 * gcc.c (option_map): Remove --version.
14306 (process_command): Handle -fversion following the GNU Coding
14307 Standards. Partially addresses PR other/704.
14309 2002-01-08 Graham Stott <grahams@redhat.com>
14311 * combine.c (combine_instructions): Fix typo.
14313 2002-01-08 Graham Stott <grahams@redhat.com>
14315 * debug.h: Use "tree" and "rtx" throughout.
14317 * debug.c: Likewise.
14319 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
14321 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
14322 constant pool, use the pool's version of the symbol instead.
14324 2002-01-07 Richard Henderson <rth@redhat.com>
14326 * regrename.c (find_oldest_value_reg): Ignore the value chain if
14327 the original register was copied in a mode with a fewer number of
14328 hard registers than the desired mode.
14329 (copyprop_hardreg_forward_1): Likewise.
14330 (debug_value_data): Fix loop test.
14331 * toplev.c (parse_options_and_default_flags): Reenable
14332 -fcprop-registers at -O1.
14334 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
14336 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
14337 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
14339 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
14342 * config/rs6000/rs6000.md: Add altivec predicate patterns.
14344 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
14346 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
14347 (pa_output_function_prologue): Output local label at the beginning of
14348 the prologue when profiling.
14349 (hppa_profile_hook): Use the local label rather than the function label.
14350 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
14352 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
14354 * config/rs6000/rs6000.c (print_operand): Remove extra space.
14355 (altivec_expand_unop_builtin): Fix thinko.
14356 (altivec_expand_binop_builtin): Same.
14357 (altivec_expand_ternop_builtin): Same.
14358 (altivec_expand_builtin): Same.
14360 2002-01-07 Richard Henderson <rth@redhat.com>
14362 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
14364 2002-01-07 Jason Merrill <jason@redhat.com>
14366 * unwind-dw2.c (execute_cfa_program): Use < again.
14368 2002-01-07 Jakub Jelinek <jakub@redhat.com>
14370 * predict.c (combine_predictions_for_insn): Avoid division by zero.
14372 2002-01-07 Jakub Jelinek <jakub@redhat.com>
14374 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
14375 Don't allow -1 - x -> ~x simplifications in the first pass.
14377 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
14379 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
14381 (altivec_expand_binop_builtin): Same.
14382 (altivec_expand_unop_builtin): Same.
14383 (print_operand): Fix typo.
14384 (bdesc_1arg): Add vupk* variants.
14386 * rs6000.h (rs6000_builtins): Add vupk* enums.
14388 * rs6000.md: Add altivec_vupk* variants.
14390 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
14392 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
14393 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
14394 and last update dates.
14396 2002-01-07 Janis Johnson <janis187@us.ibm.com>
14398 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
14400 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
14402 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
14403 * config/avr/avr.h (CPP_SPEC): Likewise.
14404 (LINK_SPEC): Likewise.
14405 (CRT_BINUTILS_SPECS): Likewise.
14406 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
14407 * doc/invoke.texi (AVR Options): Document them.
14409 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
14411 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
14414 2002-01-07 Graham Stott <grahams@redhat.com>
14416 * config/i386/i386.h: Update copyright date.
14417 (HALF_PIC_PTR): Add parenthesis.
14418 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
14419 (CONSTANT_ALIGNMENT): Add parenthesis.
14420 (DATA_ALIGNMENT): Likewise.
14421 (LOCAL_ALIGNMENT): Likewise.
14422 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
14423 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
14424 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
14425 (HARD_REGNO_NREGS): Add paranethesis.
14426 (VALID_SSE_REG_MODE): Whitespace.
14427 (VALID_MMX_REG_MODE): Whitespace.
14428 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
14429 (ix86_hard_regno_mode_ok): Add parenthesis.
14430 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
14431 (RETURN_IN_MEMORY): Whitespace.
14432 (N_REG_CLASSES): Add parenthesis.
14433 (INTEGER_CLASS_P): Add parenthesis and wrap.
14434 (FLOAT_CLASS_P): Likewise.
14435 (SSE_CLASS_P): Likewise.
14436 (MMX_CLASS_P): Likewise.
14437 (MAYBE_INTEGER_CLASS_P): Likewise.
14438 (MAYBE_FLOAT_CLASS_P): Likewise.
14439 (MAYBE_SSE_CLASS_P): Likewise.
14440 (MAYBE_MMX_CLASS_P): Likewise.
14441 (Q_CLASS_P): Likewise.
14442 (GENERAL_REGNO_P): Uppercase macro parameter.
14443 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
14444 (FP_REGNO_P): Likewise.
14445 (ANY_FP_REGNO_P): Uppercase macro parameter.
14446 (SSE_REGNO_P): Likewise.
14447 (SSE_REGNO): Likewise.
14448 (SSE_REG_P): Likewise.
14449 (SSE_FLOAT_MODE_P): Likewise.
14450 (MMX_REGNO_P): Likewise.
14451 (MMX_REG_P):Likewise.
14452 (STACK_REG_P): Likewise.
14453 (NON_STACK_REG_P): Likewise.
14454 (STACK_TOP_P): Likewise.
14455 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
14456 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
14457 (SECONDARY_MEMORY_NEEDED): Likewise.
14458 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
14459 (MD_ASM_CLOBBERS): Whitespace and wrap.
14460 (MUST_PASS_IN_STACK): Whitespace and wrap.
14461 (RETURN_POPS_ARGS): Add parenthesis.
14462 (INIT_CUMULATIVE_ARGS): Likewise.
14463 (FUNCTION_ARG): Likewise.
14464 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
14465 (SETUP_INCOMING_VARARGS): Likewise.
14466 (BUILD_VA_LIST_TYPE): Add parenthesis.
14467 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
14469 (EXPAND_BUILTIN_VA_ARG): Likewise.
14470 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
14471 (INITIALIZE_TRAMPOLINE): Add parenthesis.
14472 (INITIAL_ELIMINATION_OFFSET): Likewise.
14473 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
14474 (REGNO_OK_FOR_BASE_P): Likewise.
14475 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
14476 (REGNO_OK_FOR_DIREG_P): Likewise.
14477 (REG_OK_FOR_INDEX_P): Whitespace.
14478 (REG_OK_FOR_BASE_P): Whitespace.
14479 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
14481 (FIND_BASE_TERM): Fix typo.
14482 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
14483 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
14484 (SYMBOLIC_CONST; Whitespace.
14485 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
14486 (ENCODE_SECTION_INFO): Whitespace.
14487 (FINALIZE_PIC): Remove do { ... } while (0).
14488 (PROMOTE_MODE): Wrap in do { ... } while (0).
14489 (CONST_COSTS): Whitespace.
14490 (RTX_COSTS): Add paramethesis, whitespace and wrap.
14491 (REGISTER_MOVE_COST): Add parenthesis.
14492 (MEMORY_MOVE_COST): Likewise.
14493 (EXTRA_CC_MODES): Whitespace.
14494 (SELECT_CC_MODE): Add parenthesis and whitespace.
14495 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
14496 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
14497 (ASM_OUTPUT_LABEL): Add paramethesis.
14498 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
14499 (ASM_OUTPUT_REG_POP): Likewise.
14500 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
14501 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
14503 * config/i386/i386.c: Update copyright.
14504 (CHECK_STACK_LIMIT): Add parenthesis.
14505 (AT_BP): Uppercase macro parameter.
14506 (x86_64_int_parameter_registers): Constify.
14507 (x86_64_int_return_registers): Likewise.
14508 (ix86_compare_op0): Use rtx.
14509 (construct_container): Constify INTREG parameter.
14510 (function_arg): Use rtx.
14512 * diagnostic.h: Update copyright date.
14513 (output_buffer_state): Add parenthesis.
14514 (output_buffer_format_args): Likewise.
14516 * combine.c (combine_instructions): Replace XEXP (links, 0)
14519 2002-01-06 H.J. Lu <hjl@gnu.org>
14521 * cfgcleanup.c (thread_jump): Fix 2 typos.
14523 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
14525 * config.gcc: Add support for --enable-altivec.
14527 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14529 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
14531 2002-01-06 Jakub Jelinek <jakub@redhat.com>
14533 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
14534 __objc_class_name_*.
14536 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
14538 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
14540 2002-01-06 Richard Henderson <rth@redhat.com>
14542 * reorg.c (emit_delay_sequence): Remove death notes, not merely
14543 nop them out. Increment label reference count for REG_LABEL.
14544 (fill_slots_from_thread): Frob label reference count around
14545 delete_related_insns.
14547 2002-01-05 Richard Henderson <rth@redhat.com>
14549 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
14552 2002-01-05 Richard Henderson <rth@redhat.com>
14554 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
14555 * integrate.c (output_inline_function): Likewise.
14556 * toplev.c (rest_of_compilation): Do it here instead. Move call
14557 to remove_unnecessary_notes after emitting abstract instance.
14558 Force an emitted nested function to have its parent emited as well.
14559 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
14561 (rtl_for_decl_location): Do not look at reload data structures
14562 before reload has run.
14564 2002-01-05 Kazu Hirata <kazu@hxi.com>
14566 * cse.c: Fix formatting.
14567 * dwarf2asm.c: Likewise.
14568 * dwarf2out.c: Likewise.
14569 * explow.c: Likewise.
14570 * expmed.c: Likewise.
14571 * function.c: Likewise.
14572 * gcov.c: Likewise.
14573 * gencheck.c: Likewise.
14574 * genrecog.c: Likewise.
14575 * ggc-common.c: Likewise.
14576 * ggc-page.c: Likewise.
14577 * global.c: Likewise.
14579 2002-01-05 Kazu Hirata <kazu@hxi.com>
14581 * combine.c: Fix formatting.
14583 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
14586 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
14588 2002-01-05 David Edelsohn <edelsohn@gnu.org>
14590 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
14591 as 1 for __powerpc64__ as well.
14593 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
14595 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
14598 2002-01-05 Daniel Berlin <dan@dberlin.org>
14600 * lcm.c: Revert change, due to performance regression it causes on
14601 SPEC because it's slightly more conservative (sigh, I hate
14604 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
14606 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
14608 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
14610 * doc/cppinternals.texi: Update.
14612 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
14614 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
14615 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
14617 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
14618 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
14619 kludge for pre-october-14th mmix versions to handle new-found bug
14620 with PUSHJ/PUSHGO and the register stack.
14621 * config/mmix/mmix.h (struct machine_function): Rename member
14622 has_call_value_without_parameters to has_call_without_parameters.
14623 All referers changed.
14624 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
14625 TARGET_MASK_BRANCH_PREDICT): New macros.
14626 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
14627 -mno-reg-stack-fill-bug-workaround.
14628 * config/mmix/mmix.md ("call"): Set struct machine member
14629 has_call_without_parameters.
14631 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
14633 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
14635 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
14637 * cfgcleanup.c: Include tm_p.h
14638 (mark_effect): Fix handling of hard register; fix handling of SET
14640 2002-01-04 Kazu Hirata <kazu@hxi.com>
14642 * config/h8300/h8300.md (anonymous patterns): Check that
14643 operands are registers before using REGNO on them.
14645 2002-01-03 Roland McGrath <roland@frob.com>
14647 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
14649 2002-01-04 Jakub Jelinek <jakub@redhat.com>
14651 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
14652 * c-common.h (genrtl_expr_stmt_value): Likewise.
14653 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
14654 (expand_expr_stmt_value): Add maybe_last argument.
14655 Don't warn about statement with no effect if it is the last statement
14656 in expression statement.
14657 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
14658 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
14659 expand_expr_stmt_value.
14660 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
14661 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
14662 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
14663 as maybe_last to expand_expr_stmt_value.
14665 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
14667 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
14668 be passed in, do not build it.
14669 (c_begin_if_stmt): New function.
14670 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
14671 * c-common.h (c_expand_start_cond): Update prototype.
14672 (c_begin_if_stmt): Prototype new function.
14673 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
14674 * c-parse.in (if_prefix): Use c_begin_if_stmt,
14675 c_begin_while_stmt and c_finish_while_stmt_cond.
14677 2002-01-04 William Cohen <wcohen@redhat.com>
14679 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
14680 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
14681 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
14682 * config/pa/som.h (ASM_FILE_START): Likewise.
14684 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
14686 * lcm.c: Include df.h.
14687 Add available_transfer_function prototype.
14688 (compute_available): Rework to use iterative dataflow framework.
14689 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
14690 with bb_info in df.h
14691 (available_transfer_function): New function.
14693 * Makefile.in (lcm.o): add df.h to dependencies.
14695 2002-01-04 Richard Henderson <rth@redhat.com>
14697 * config/alpha/alpha.c (some_operand): Accept HIGH.
14698 (input_operand): Likewise; accept simple references to globals.
14699 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
14700 (alpha_const_double_ok_for_letter_p): Likewise.
14701 (alpha_extra_constraint): Likewise.
14702 (alpha_preferred_reload_class): Likewise. Do not force
14703 symbolic constants to memory.
14704 (alpha_legitimate_address_p): Accept simple references
14705 to small_symbolic_operand.
14706 (alpha_legitimize_address): New arg scratch. Be prepared to be
14707 called when no_new_pseudos. Emit simple symbolic references.
14708 Split integers into low, high, and rest.
14709 (alpha_expand_mov): Use alpha_legitimize_address.
14710 (some_small_symbolic_mem_operand): New.
14711 (split_small_symbolic_mem_operand): New.
14712 * config/alpha/alpha-protos.h: Update.
14713 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
14714 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
14715 (EXTRA_CONSTRAINT): Likewise.
14716 (PREFERRED_RELOAD_CLASS): Likewise.
14717 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
14718 (PREDICATE_CODES): Update.
14719 * config/alpha/alpha.md: New post-reload splitters to convert
14720 simplfied symbolic operands to the form that references $29.
14721 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
14722 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
14724 2002-01-03 Richard Henderson <rth@redhat.com>
14726 * local-alloc.c (function_invariant_p): Update commentary.
14728 2002-01-04 H.J. Lu <hjl@gnu.org>
14730 * toplev.c (rest_of_compilation): Fix a typo when calling
14733 2002-01-03 Kazu Hirata <kazu@hxi.com>
14735 * c-common.c: Fix formatting.
14736 * diagnostic.c: Likewise.
14737 * doloop.c: Likewise.
14738 * dwarf2out.c: Likewise.
14740 2002-01-03 Kazu Hirata <kazu@hxi.com>
14742 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
14743 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
14745 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14747 * cpperror.c: Update comments and copyright.
14748 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
14749 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
14751 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
14753 * collect2.c (main): Use strcmp when testing for "-shared".
14755 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
14757 * cppmacro.c: Don't include intl.h. Update comments.
14758 (new_number_token): Allocate enough buffer for 64-bit unsigned
14759 integers; update prototype.
14760 * cppmain.c: Update comments.
14762 2002-01-03 William Cohen <wcohen@redhat.com>
14764 * function.h (struct function): Add profile.
14765 (current_function_profile): New.
14766 doc/extend.texi: Update documentation.
14767 * final.c (final_start_function): Use current_function_profile
14768 instead of profile_flag.
14769 (profile_after_prologue): Likewise.
14770 * function.c (expand_function_start): Likewise.
14771 (expand_function_start): Likewise.
14772 * config/alpha/alpha.c (direct_call_operand):
14773 (alpha_does_function_need_gp): Likewise.
14774 (alpha_expand_prologue): Likewise.
14775 * config/arm/arm.c (arm_expand_prologue): Likewise.
14776 thumb_expand_prologue: Likewise.
14777 * config/d30v/d30v.c (d30v_stack_info): Likewise.
14778 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
14779 (fr30_expand_prologue): Likewise.
14780 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
14781 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
14782 * config/i386/i386.h (FINALIZE_PIC): Likewise.
14783 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
14784 * config/i960/i960.c (i960_output_function_prologue): Likewise.
14785 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
14786 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
14787 (m32r_expand_prologue): Likewise.
14788 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
14789 (m88k_expand_prologue): Likewise.
14790 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
14791 * config/mips/mips.c (compute_frame_size): Likewise.
14792 (mips_expand_prologue): Likewise.
14793 (mips_can_use_return_insn): Likewise.
14794 * config/pa/elf.h (ASM_FILE_START): Likewise.
14795 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
14796 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
14797 * config/pa/som.h (ASM_FILE_START): Likewise.
14798 * config/romp/romp.c (romp_using_r14): Likewise.
14799 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
14800 (rs6000_stack_info): Likewise.
14801 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
14802 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
14803 * config/v850/v850.c (compute_register_save_size): Likewise.
14805 2002-01-03 Jakub Jelinek <jakub@redhat.com>
14807 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
14808 gen_lowpart_common fails, use gen_lowpart_SUBREG.
14810 2002-01-03 Turly O'Connor <turly@apple.com>
14812 * darwin.c (machopic_output_possible_stub_label): Don't generate
14813 stub routines for pseudo-stubs which we've just defined.
14815 2002-01-03 Kazu Hirata <kazu@hxi.com>
14817 * builtins.c: Fix formatting.
14818 * c-typeck.c: Likewise.
14819 * combine.c: Likewise.
14820 * expr.c: Likewise.
14821 * loop.c: Likewise.
14823 2002-01-03 Andreas Schwab <schwab@suse.de>
14825 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
14826 and return true if _cpp_push_next_buffer pushed a new include
14828 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
14829 _cpp_pop_file_buffer did not push a new file.
14830 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
14832 2002-01-02 Eric Christopher <echristo@redhat.com>
14834 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
14835 FIND_REG_INC_NOTE call. Update copyright.
14836 * loop.c (canonicalize_condition): Ditto.
14837 * reorg.c (delete_scheduled_jump): Ditto.
14839 2002-01-03 Kazu Hirata <kazu@hxi.com>
14841 * gcse.c: Fix formatting.
14843 2002-01-03 Graham Stott <grahams@redhat.com>
14845 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
14846 forward defs for struct tags rtx_def, union_tree, rtvec_def
14847 also output corresponding typedefs for rtx, tree, and rtvec.
14849 * system.h: Move forward defs for struct tags rtx_def, union_tree,
14850 rtvec_def along with corresponding typedefs for rtx, tree, and
14851 rtvec to config.h, hconfig.h, tconfig.h.
14853 2002-01-03 Graham Stott <grahams@redhat.com>
14855 * tree.h: Update copyright date.
14856 (IS_EXPR_CODE_CLASS): Add parenthesis.
14857 (TREE_SET_CODE): Add whitespace.
14858 (TREE_CHECK): Add parenthesis.
14859 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
14860 (CST_OR_CONSTRUCTOR_CHECK):
14861 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
14862 (TREE_SYMBOL_REFERENCED): Whitespace.
14863 (INT_CST_LT): Likewise.
14864 (INT_CST_LT_UNSIGNED): Likewise.
14865 (tree_real_cst): Unwrap comment.
14866 (tree_string): Likewise.
14867 (tree_complex): Likewise.
14868 (IDENTIFIER_POINTER): correct cast.
14869 (SAVE_EXPR_CONTEXT): Whitespace.
14870 (EXPR_WFL_FILENAME_NODE): Likewise.
14871 (EXPR_WFL_FILENAME): Remove parenthesis.
14872 (DECL_ORIGIN): Add parenthesis.
14873 (DECL_FROM_INLINE): Use NULL_TREE.
14874 (build_int_2): Whitespace.
14875 (build_type_variant): Add parenthesis.
14877 * gcc/jcf-parse.c: Update copyright date.
14878 (yyparse): Constify resource_filename.
14880 2002-01-03 Graham Stott <grahams@redhat.com>
14882 * rtl.h: Update copyright date.
14883 (RTL_CHECK1): Wrap long line.
14884 (RTL_CHECK2): Likewise.
14885 (RTL_CHECKC1): Wrap long line and whitespace.
14886 (RTL_CHECKC2): Likewise.
14887 (XWINT): Whitespace.
14893 (XBITMAP): Likewise.
14895 (XBBDEF): Likewise.
14897 (X0WINT): Likewise.
14899 (X0UINT): Likewise.
14903 (X0MODE): Likewise.
14904 (X0BITMAP): Likewise.
14905 (X0TREE): Likewise.
14906 (X0BBDEF): Likewise.
14907 (X0ADVFLAGS): Likewise.
14908 (X0CSELIB): Likewise.
14909 (X0MEMATTR): Likewise.
14910 (XCWINT): Likewise.
14912 (XCUINT): Likewise.
14916 (XCMODE): Likewise.
14917 (XCBITMAP): Likewise.
14918 (XCTREE): Likewise.
14919 (XCBBDEF): Likewise.
14920 (XCADVFLAGS): Likewise.
14921 (XCCSELIB): Likewise.
14922 (XC2EXP): Likewise.
14923 (INSN_UID): Likewise.
14924 (PREV_INSN): Likewise.
14925 (PATTERN): Likewise.
14926 (INSN_CODE): Likewise.
14927 (PUT_REG_NOTE_KIND): Likewise.
14928 (CODE_LABEL_NUMBER): Likewise.
14929 (NOTE_SOURCE_FILE): Likewise.
14930 (NOTE_BLOCK): Likewise.
14931 (NOTE_EH_HANDLER): Likewise.
14932 (NOTE_RANGE_INFO): Likewise.
14933 (NOTE_LIVE_INFO): Likewise.
14934 (NOTE_BASIC_BLOCK): Likewise.
14935 (NOTE_EXPECTED_VALUE): Likewise.
14936 (NOTE_LINE_NUMBER): Likewise.
14937 (LABEL_NAME): Likewise.
14938 (LABEL_NUSES): Likewise.
14939 (LABEL_ALTERNATE_NAME): Likewise.
14940 (ADDRESSOF_DECL): Likewise.
14941 (JUMP_LABEL): Likewise.
14942 (LABEL_NEXTREF): Likewise.
14944 (ORIGINAL_REGNO: Likewise.
14945 (HARD_REGISTER_NUM_P): Add parenthesis.
14946 (SUBREG_REG): Whitespace.
14947 (SUBREG_BYTE): Likewise.
14948 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
14949 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
14950 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
14951 (ASM_OPERANDS_INPUT_VEC): Likewise.
14952 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
14953 (ASM_OPERANDS_INPUT): Likewise.
14954 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
14955 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
14956 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
14957 (ASM_OPERANDS_INPUT_MODE): Likewise.
14958 (ASM_OPERANDS_SOURCE_FILE): Likewise.
14959 (ASM_OPERANDS_SOURCE_LINE): Likewise.
14960 (MEM_SET_IN_STRUCT_P): Minor reformat.
14961 (TRAP_CONDITION): Whitespace.
14962 (TRAP_CODE): Likewise.
14963 (COND_EXEC_TEST): Likewise.
14964 (COND_EXEC_CODE): Likewise.
14965 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
14966 (PHI_NODE_P): Add parenthesis.
14967 (plus_constant): Whitespace and add parenthesis.
14969 2002-01-03 Kazu Hirata <kazu@hxi.com>
14971 * config/avr/avr.c: Fix comment typos.
14972 * config/c4x/c4x.md: Likewise.
14973 * config/dsp16xx/dsp16xx.h: Likewise.
14974 * config/dsp16xx/dsp16xx.md: Likewise.
14975 * config/i386/i386.md: Likewise.
14976 * config/ia64/ia64.c: Likewise.
14977 * config/m32r/m32r.h: Likewise.
14978 * config/m68hc11/m68hc11.md: Likewise.
14979 * config/mmix/mmix.c: Likewise.
14980 * config/mn10200/mn10200.c: Likewise.
14981 * config/romp/romp.c: Likewise.
14982 * config/sh/sh.c: Likewise.
14983 * config/stormy16/stormy16.c: Likewise.
14984 * config/stormy16/stormy16.h: Likewise.
14985 * config/stormy16/stormy16.md: Likewise.
14987 2002-01-03 Graham Stott <grahams@redhat.com>
14989 * loop.h: Update copyright date.
14990 (LOOP_MOVABLES): Fix typo.
14991 (LOOP_REGS): Likewise.
14992 (LOOP_IVS): Likewise.
14994 2002-01-03 Graham Stott <grahams@redhat.com>
14996 * cppinit.c: Update copyright date.
14997 Don't include output.h
14998 * Makefile.in: Update copyright date.
15001 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
15004 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
15005 (-pthread) Add to RS/6000 options.
15007 2002-01-02 Kazu Hirata <kazu@hxi.com>
15009 * except.c: Fix comment typos.
15010 * loop.c: Likewise.
15011 * varasm.c: Likewise.
15012 * doc/tm.texi: Fix a typo.
15014 2002-01-02 Jakub Jelinek <jakub@redhat.com>
15016 * c-typeck.c (output_init_element): Allow initializing static storage
15017 duration objects with compound literals.
15019 2002-01-02 Richard Henderson <rth@redhat.com>
15021 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
15024 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15026 * gcc.c (default_compilers): Const-ify.
15027 * mips-tdump.c (stab_names): Likewise.
15028 * mips-tfile.c (map_coff_types, map_coff_storage,
15029 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
15030 pseudo_ops_t, pseudo_ops): Likewise.
15031 * protoize.c (default_include): Likewise
15033 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
15034 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
15035 Add array size in declaration.
15036 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
15037 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
15038 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
15039 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
15040 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
15041 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
15042 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
15043 emtens, make_nan): Const-ify.
15044 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
15045 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
15047 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
15049 * config.gcc (ia64-*-*): Set extra_headers.
15050 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
15051 * config/alpha/t-osf: Remove.
15052 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
15054 2002-01-02 David Edelsohn <edelsohn@gnu.org>
15056 * config/rs6000/t-aix43: Revert previous change.
15058 2002-01-02 Jason Merrill <jason@redhat.com>
15060 * c-decl.c (c_expand_body): Call outlining_inline_function when
15061 emitting an inline function out of line.
15063 2002-01-02 Richard Henderson <rth@redhat.com>
15065 * dwarf2out.c (limbo_die_node): Add created_for member.
15066 (new_die): New argument created_for. Update all callers.
15067 (mark_limbo_die_list): New.
15068 (dwarf2out_init): Register limbo_die_list as a root.
15069 (dwarf2out_finish): Force insert limbo dies into their function
15072 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
15075 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
15077 2002-01-02 Kazu Hirata <kazu@hxi.com>
15079 * config/h8300/fixunssfsi.c: Update copyright.
15082 * config/h8300/h8300.c: Update copyright.
15083 Eliminate warnings.
15085 2002-01-02 Kazu Hirata <kazu@hxi.com>
15087 * config/romp/romp.c: Fix comment formatting.
15088 * config/romp/romp.h: Likewise.
15089 * config/romp/romp.md: Likewise.
15090 * config/s390/s390.c: Likewise.
15091 * config/stormy16/stormy16.c: Likewise.
15092 * config/stormy16/stormy16.h: Likewise.
15094 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
15096 * c-common.h (genrtl_expr_stmt_value): Declare.
15097 * c-semantics.c (genrtl_goto_stmt): Redirect to...
15098 (genrtl_goto_stmt_value): ... this new function. Pass new
15099 argument down to expand_expr_stmt_value, taking
15100 TREE_ADDRESSABLE into account.
15101 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
15102 STMT_EXPR as addressable, i.e., one whose result we want.
15103 * expr.c (expand_expr): Don't save expression statement value
15104 of labeled_blocks or loop_exprs.
15105 * stmt.c (expand_expr_stmt): Redirect to...
15106 (expand_expr_stmt_value): ... this new function. Use new
15107 argument to tell whether to save expression value.
15108 (expand_end_stmt_expr): Reset last_expr_type and
15109 last_expr_value if we don't have either.
15110 * tree-inline.c (declare_return_variable): Mark its use
15111 statement as addressable.
15112 * tree.h: Document new use of TREE_ADDRESSABLE.
15113 (expand_expr_stmt_value): Declare.
15115 2002-01-01 Tom Rix <trix@redhat.com>
15117 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
15118 rs6000_emit_allocate_stack.
15120 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
15122 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
15123 ${srcdir}/ginclude/ to every entry in extra_headers.
15124 * configure: Regenerate.
15125 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
15126 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
15127 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
15128 * ginclude/proto.h: Rename to config/convex/proto.h.
15130 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15132 * attribs.c (handle_vector_size_attribute): Use host_integerp
15133 and tree_int_cst; remove warnings.
15134 * caller-save.c (insert_restore): Add cast to get rid of warning.
15135 (insert_save): Likewise.
15136 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
15137 * regmove.c (find_matches): Add temporary var to kill a warning.
15139 2002-01-01 Douglas B Rupp <rupp@gnat.com>
15141 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
15142 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
15143 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
15144 (vms-dwarf2eh.o): Add Makefile rule.
15145 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
15146 * config/alpha/vms-dwarf2eh.asm: New file.
15148 * gcc.c (delete_if_ordinary): Delete all versions.
15150 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
15152 * config/mmix/mmix.md: Update FIXME to not mention
15154 (MMIX_rJ_REGNUM): New define_constants constant.
15155 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
15156 "*movdicc_real"): Adjust contraints formatting.
15157 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
15158 for branch prediction.
15159 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
15161 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
15162 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
15163 number. Delete related FIXMEs.
15164 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
15165 from number to MMIX_rJ_REGNUM.
15166 (TARGET_MASK_BRANCH_PREDICT): New.
15167 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
15168 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
15169 value. Add -mbranch-predict and -mno-branch-predict.
15170 (TARGET_VERSION): Drop date.
15171 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
15172 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
15173 for finding out global symbols.
15174 (mmix_asm_output_labelref): Revert condition for global symbol.
15175 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
15176 (mmix_print_operand_punct_valid_p): A '+' is valid.
15178 See ChangeLog.6 for earlier changes.