]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
* config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
[gcc.git] / gcc / ChangeLog
CommitLineData
12345543
KW
12002-03-04 Krister Walfridsson <cato@df.lth.se>
2
3 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
4
8e97db8f
JM
52002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
6
7 * configure.in: Increase required makeinfo version to 4.1.
8 * configure: Regenerate.
9
06487868
GK
102002-03-04 Geoffrey Keating <geoffk@redhat.com>
11
12 * .cvsignore: Remove *.info* and genrtl*; these files are generated
13 elsewhere now.
14
cff42170
JM
152002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
16
17 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
18 * doc/invoke.texi: Fix @math uses.
19
974a7f56
JH
20Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
21
22 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
23 removal
24
3b7d0e98
AH
252002-03-03 Aldy Hernandez <aldyh@redhat.com>
26
27 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
28 (powerpc-*-eabisimaltivec*): Same.
29
30 * config/rs6000/t-ppcendian: New.
31
65f2f288
HB
322002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
33
34 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
35 nonimmediate_src_operand and nonimmediate_lsrc_operand to
36 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
37
8ce0a8a5
RH
382002-03-03 Richard Henderson <rth@redhat.com>
39
40 * toplev.c (rest_of_decl_compilation): Revert last two changes.
41
ba31d94e
ZW
422002-03-03 Zack Weinberg <zack@codesourcery.com>
43
44 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
45 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
46 tree.c, config/m68k/m68k.c:
47 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
48 REAL_ARITHMETIC blocks unconditional. Delete some further
49 #ifdef blocks predicated on REAL_ARITHMETIC.
50 * flags.h, toplev.c: Delete remaining references to
51 flag_pretend_float.
52
53 * doc/invoke.texi: Remove documentation of -fpretend-float.
54 * doc/tm.texi: Describe the various REAL_* macros as provided by
55 real.h, not by the target configuration files.
56
57 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
58 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
59 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
60 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
61 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
62 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
63 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
64 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
65 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
66 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
67 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
68 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
69 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
70 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
71 config/xtensa/xtensa.h:
72 Do not define, undefine, or mention in comments any of
73 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
74 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
75 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
76 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
77 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
78 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
79 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
80 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
81 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
82
9a571cfd
KG
832002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
84
e81dd381
KG
85 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
86 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
87 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
88 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
89 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
90 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
91 Delete.
92 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 93 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 94
9a571cfd
KG
95 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
96 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
97 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
98
ca7558fc
KG
992002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
100
101 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
102 lieu of explicit sizeof/sizeof.
103 * i386.c (override_options, ix86_init_mmx_sse_builtins,
104 ix86_expand_builtin): Likewise.
105 * mips.c (mips_add_gc_roots): Likewise.
106 * mmix.c (mmix_output_condition): Likewise.
107 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
108 altivec_init_builtins): Likewise.
109 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
110 * cppexp.c (Nsuff, parse_number): Likewise.
111 * cppinit.c (builtin_array_end): Likewise.
112 * gcc.c (n_default_compilers, process_command): Likewise.
113 * genpreds.c (output_predicate_decls): Likewise.
114 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
115 * lcm.c (N_ENTITIES): Likewise.
116 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 117
41c78c88
RH
1182002-03-03 Richard Henderson <rth@redhat.com>
119
120 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
121 for types or labels.
122
9e9b71e6
RH
1232002-03-03 Richard Henderson <rth@redhat.com>
124
125 * c-decl.c (start_decl): Initialized variables are not common.
126
c26a6db8
PB
1272002-03-02 Per Bothner <per@bothner.com>
128
129 * gcc.c (option_map): Suport new --bootclasspath option.
130 --CLASSPATH is now just an alias for --classpath.
131
9e8aab55
RH
1322002-03-02 Richard Henderson <rth@redhat.com>
133
134 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
135 load if "internal" visibility.
136 * doc/extend.texi: Document visibility meanings.
137
b3bbd220
RH
1382002-03-02 Richard Henderson <rth@redhat.com>
139
140 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
141 to functions as well.
142
b14707c3
RH
1432002-03-02 Richard Henderson <rth@redhat.com>
144
145 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
146 (handle_visibility_attribute): Don't call assemble_visibility.
147 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
148 without asmspec. Invoke assemble_alias when needed.
149 * varasm.c (maybe_assemble_visibility): New.
150 (assemble_start_function, assemble_variable, assemble_alias): Use it.
151
b2003250
RH
1522002-03-02 Richard Henderson <rth@redhat.com>
153
154 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
155 invoke ENCODE_SECTION_INFO with first call flag.
156
157 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
158 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 159 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
160 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
161 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
162 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
163 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
164 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
165 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
166 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
167 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
168 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
169 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
170 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
171 config/mcore/mcore-protos.h, config/mcore/mcore.c,
172 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
173 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 174 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
175 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
176 config/sh/sh.h, config/sparc/sparc.h,
177 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
178 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
179 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
180 FIRST argument. As needed, examine it and do nothing.
181
ba31d94e 182 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
183 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
184 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
185
186 * config/arm/t-pe (pe.o): Add dependencies.
187
5c60f03d
KG
1882002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
189
190 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
191 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
192 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
193 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
194 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
195 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
196 * defaults.h (BITS_PER_UNIT): Define.
197 * doc/tm.texi (BITS_PER_UNIT): Document default value.
198
86855e8c
KH
1992002-03-02 Kazu Hirata <kazu@hxi.com>
200
201 * config/h8300/h8300-protos.h: Add a prototype for
202 compute_a_shift_length.
203 * config/h8300/h8300.c (h8300_asm_insn_count): New.
204 (compute_a_shift_length): Likewise.
205 (h8300_adjust_insn_length): Do not adjust insn length of shift
206 insns.
207 * config/h8300/h8300.md (anonymous shift patterns): Use
208 compute_a_shift_length.
209
f6041ed8
RK
210Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
211
35aa3c1c
RK
212 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
213 trunc_int_for_mode.
214
f6041ed8
RK
215 * emit-rtl.c (offset_address): Call update_temp_slot_address.
216
27b41650
KG
2172002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
218
219 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
220 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
221 * flags.h (flag_zero_initialized_in_bss): Declare.
222 * toplev.c (flag_zero_initialized_in_bss): New flag.
223 (lang_independent_options): Add flag_zero_initialized_in_bss.
224 * tree.c (initializer_zerop): New function.
225 * tree.h (initializer_zerop): Declare.
226 * varasm.c (assemble_variable): If we can emit bss, put zero
227 initializers in the bss section.
228
ca734b39
AM
2292002-03-02 Alan Modra <amodra@bigpond.net.au>
230
231 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
232 like more than one symbol per .weak directive.
233
49b72306
RH
2342002-03-01 Richard Henderson <rth@redhat.com>
235
236 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
237 adjust argument_pointer by pretend_args_size.
238 (ia64_va_start): Adjust va_start address by -pretend_args_size.
239
fbf0fe41
KH
2402002-03-01 Kazu Hirata <kazu@hxi.com>
241
242 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
243
0010687d
JH
244Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
245
246 * toplev.c (rest_of_compilation): Delete dead jumptables before
247 loop.
248 * flow.c (delete_dead_jumptables): Make global.
249 * rtl.h (delete_dead_jumptables): Declare.
250
9429c84c
DE
2512002-03-01 David Edelsohn <edelsohn@gnu.org>
252
253 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
254 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
255 * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.
256
f0b6f9a6
KH
2572002-03-01 Kazu Hirata <kazu@hxi.com>
258
259 * config/h8300/h8300-protos.h: Fix formatting.
260 * config/h8300/h8300.c: Likewise.
261 * config/h8300/h8300.h: Likewise.
262
bc8db8a1
KH
2632002-03-01 Kazu Hirata <kazu@hxi.com>
264
265 * config/h8300/h8300.c (print_operand): Support 16-bit
266 constant addresses.
267 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
268
32b069d3
RH
2692002-02-28 Richard Henderson <rth@redhat.com>
270
271 * expmed.c (store_bit_field): Prevent generation of CONCATs;
272 pun complex values as integers; use gen_lowpart instead of
273 gen_rtx_SUBREG.
274 (extract_bit_field): Likewise.
275
79c4e63f
AM
2762002-03-01 Alan Modra <amodra@bigpond.net.au>
277 David Edelsohn <edelsohn@gnu.org>
278
279 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
280 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
281 (SUPPORTS_WEAK): Likewise.
282 * output.h (add_weak): Add tree param.
283 * varasm.c (add_weak): Likewise. Save decl.
284 (struct weak_syms): Add decl field.
285 (mark_weak_decls): New function.
286 (init_varasm_once): ggc_add_root mark_weak_decls.
287 (assemble_start_function): Use ASM_WEAKEN_DECL.
288 (assemble_variable): Likewise.
289 (assemble_alias): Likewise.
290 (declare_weak): Pass decl to add_weak.
291 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
292 (remove_from_pending_weak_list): Declare and define for
293 ASM_WEAKEN_DECL.
294 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
295 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
296 * defaults.h (SUPPORTS_WEAK): Likewise.
297 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
298 .weak for code sym. Do emit .size for descriptor sym.
299 (ASM_DECLARE_FUNCTION_SIZE): Define.
300 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
301 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
302 .lglobl unless TARGET_XCOFF. Formatting fixes.
303 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
304 .weak for code sym.
305 (HANDLE_PRAGMA_WEAK): Remove.
306 (ASM_WEAKEN_LABEL): Remove.
307 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
308
6f30f1f1
JM
3092002-03-01 Jason Merrill <jason@redhat.com>
310
311 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
312 (TARGET_EXPR_CLEANUP): New macro.
313
7879b81e
SE
3142002-02-28 Steve Ellcey <sje@cup.hp.com>
315
316 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
317 to take ptr_extend into account as third type of extension.
318 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
319 fields used by SUBREG_PROMOTED_UNSIGNED_P.
320 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
321 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
322 * calls.c (precompute_arguments): Use new macro.
323 (expand_call): Ditto.
324 * combine.c (nonzero_bits): Ditto.
325 (record_promoted_value): Ditto.
326 * expr.c (store_expr): Ditto.
327 (expand_expr): Ditto.
328 * function.c (assign_parms): Ditto.
329
42d579d8
AO
3302002-02-28 Alexandre Oliva <aoliva@redhat.com>
331
332 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
333 override -shared and -shared-libgcc.
334
e0054185
DB
3352002-02-28 David O'Brien <obrien@FreeBSD.org>
336
337 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
338 of "ultrasparc".
339 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
340 to be broken.
341
abda4f1c
RH
3422002-02-28 Richard Henderson <rth@redhat.com>
343
344 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
345 4 cycle latency from MM producers.
346 (ia64_internal_sched_reorder): Likewise with pipeline flush.
347
c0f08649
JJ
3482002-02-28 Jakub Jelinek <jakub@redhat.com>
349
350 * mklibgcc.in: Don't use GNU make extension.
351
f79f2651
NB
3522002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
353
354 * c-parse.in (STATIC): New terminal.
355 (scspec): New non-terminal. Update productions accordingly.
356 (program): Remove bogus ifc / end ifc.
357 (array_declarator): Simplify production using STATIC.
358
001e3fee
JM
3592002-02-28 Jim Meyering <meyering@lucent.com>
360
361 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
362 \a still means TARGET_BELL.
363
89076bb3
RH
3642002-02-28 Richard Henderson <rth@redhat.com>
365
366 * haifa-sched.c (sched_emit_insn): New.
367 (schedule_block): Use last_scheduled_insn to track last insn.
368 * sched-int.h (sched_emit_insn): Prototype.
369 * config/ia64/ia64.c (last_issued): Remove.
370 (ia64_variable_issue): Don't set it.
371 (nop_cycles_until): Use sched_emit_insn.
372
e3aaacf4
AM
3732002-02-28 Andrew MacLeod <amacleod@redhat.com>
374
375 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
376 extended constants.
377
7f473594
KH
3782002-02-28 Kazu Hirata <kazu@hxi.com>
379
380 * config/h8300/h8300.c: Fix formatting.
381 * config/h8300/h8300.h: Likewise.
382
b96c434c
MM
3832002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
384
385 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
386 which may overwrite the high byte of the frame pointer.
387
9b420a6a
BT
3882002-02-28 Bo Thorsen <bo@suse.de>
389
390 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
391 (STARTFILE_SPEC): Add 64 bit files.
392 (ENDFILE_SPEC): Likewise.
393
6f30f1f1 3942002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
395
396 * c-decl.c (finish_function): Only warn about missing return
397 statement with -Wreturn-type.
398
70da1d03
JH
399Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
400
401 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
402
403 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
404 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
405
38c1593d
JH
406Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
407
408 * basic-block.h (BB_REACHABLE): Renumber.
409 (BB_DIRTY, BB_NEW): New flags.
410 (clear_bb_flags): Declare.
411 (update_life_info_in_dirty_blocks): Declare.
412 * cfg.c (clear_bb_flags): New function.
413 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
414 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
415 reorder_insns, emit_insn_after): Mark block as dirty.
416 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
417 (update_life_info_in_dirty_blocks): New function.
418 * recog.c (apply_change_group): Dirtify block.
419
420 * cse.c (cse_insn): Reorder emitting of jump insn to keep
421 cfg consistent.
422 * gcse.c (delete_null_pointer_checks): Likewise.
423
424 * toplev.c (dump_file_index): Move cse2 after bp,
425 add DFI_null
426 (dump_file_info): Similary.
427 (rest_of_compilation): Avoid most of CFG rebuilds;
428 do first if converision after null pointer checks, do cse2
429 after branch prediction; avoid full liveness rebuild after
430 initializing subregs.
431 * invoke.texi (-d options): Document -du, renumber.
432
433 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
434 (notice_new_block): Do not set BB_UPDATE_LIFE.
435 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
436 merge_blocks_move_successor_nojumps, merge_blocks,
437 try_crossjump_to_edge): Likewise.
438 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
439 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
440 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
441 (merge_of_block): Do not use life_data_ok.
442 (find_if_case_1): Do not use SET_UPDATE_LIFE.
443 (if_convert): Use BB_DIRTY mechanizm to update life.
444 * lcm.c (optimize_mode_switching): Update
445 update_life_info_in_dirty_blocks
446
63e1b1c4
NB
4472002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
448
449 * Makefile.in (integrate.o): Update.
450 * c-decl.c (copy_lang_decl): Rename.
451 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
452 * integrate.c: Include langhooks.h.
453 (copy_decl_for_inlining): Update to use langhook.
454 * langhooks-def.h (lhd_do_nothing_t,
455 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
456 (LANG_HOOKS_INITIALIZER): Update.
457 * langhooks.c (lhd_do_nothing_t): New.
458 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
459 * tree.h (copy_lang_decl): Remove.
460objc:
461 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
462
f472fa29
AM
4632002-02-27 Andrew MacLeod <amacleod@redhat.com>
464
ba31d94e 465 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
466 POST_DEC, and POST_MODIFY.
467
273cf2e4
ZW
4682002-02-27 Zack Weinberg <zack@codesourcery.com>
469
470 * c-typeck.c (digest_init): Remove unused parameter; all
471 callers changed.
472
4e07d762
GK
4732002-02-27 Geoffrey Keating <geoffk@redhat.com>
474
475 * expmed.c (expand_shift): Correctly test for low part of a
476 subreg.
477
6bc627b3
UW
4782002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
479
480 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
481 insn UIDs with insn addresses.
482
f458d1d5
ZW
4832002-02-27 Zack Weinberg <zack@codesourcery.com>
484
485 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
486 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
487 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
488 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
489 gcc.c, toplev.c: Delete code implementing -traditional mode.
490
491 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
492 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
493 Document removal of -traditional mode for compilation, and
494 remove documentation only relevant to that mode.
495
496 * config/nextstep.h, config/ptx4.h, config/svr4.h,
497 config/convex/convex.h, config/d30v/d30v.h,
498 config/i386/dgux.h, config/i386/osf1elf.h,
499 config/i386/osfelf.h, config/i386/osfrose.h,
500 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
501 config/m68k/hp310.h, config/m88k/dgux.h,
502 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
503 config/m88k/m88k.h, config/m88k/openbsd.h,
504 config/mips/abi64.h, config/mips/osfrose.h,
505 config/mips/svr4-5.h, config/mips/svr4-t.h,
506 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
507 config/stormy16/stormy16.h: Remove all references to
508 -traditional from target specs. Delete all mention of the
509 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
510 delete a couple of commented-out definitions of
511 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
512 to -traditional.
513
514 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
515 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
516
e0b3a8ff
ZW
5172002-02-27 Zack Weinberg <zack@codesourcery.com>
518
519 * mklibgcc.in: Don't use \n in a line subject to
520 interpretation by echo.
521
5c6a85b7
GS
5222002-02-27 Graham Stott <grahams@redhat.com>
523
72b05af1
GS
524 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
525 Constify NAME.
526
7d104885
GS
527 * loop.c (prescan_loop): Handle PARALLEL.
528
8ed805d2
GS
529 * unroll.c (loop_iterations): Return 0 if the add_val for
530 a BIV is REG.
531
fd478a0a
GS
532 * final.c (output_operand_lossage): Constify PFX_STR.
533
5c6a85b7
GS
534 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
535
cd98ad03
JH
536Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
537
538 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
539 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
540
639ae55b
JH
541Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
542
543 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
544
e808ec9c
NB
5452002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
546
547 * cpplex.c (_cpp_lex_token): Handle directives in macro
548 arguments.
549 * cpplib.c (_cpp_handle_directive): Save and restore state
550 if parsing macro args when entering a directive.
551 * cppmacro.c (collect_args): No need to handle directives
552 in macro arguments.
553 (enter_macro_context, replace_args): Use the original macro
554 definition in case it was redefined whilst collecting arguments.
555doc:
556 * cpp.texi: Update.
557
f585a356
DE
5582002-02-26 David Edelsohn <edelsohn@gnu.org>
559
560 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
561 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
562 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
563 method on AIX.
564 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
565 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
566 (load_toc_v4_PIC_2): Same.
567
5682002-02-26 Alan Modra <amodra@bigpond.net.au>
569
570 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
571
d699058e
RH
5722002-02-26 Richard Henderson <rth@redhat.com>
573
574 * config/alpha/alpha.md (ashldi_se): Re-enable.
575
eadccfbb
RH
5762002-02-26 Richard Henderson <rth@redhat.com>
577
578 * config/alpha/alpha.c (alpha_encode_section_info): Examine
579 MODULE_LOCAL_P; improve commentary.
580
7080ada1
ZW
5812002-02-26 Zack Weinberg <zack@codesourcery.com>
582
583 * doc/cpp.texi: Clarify documentation of relationship between
584 #line and #include.
585
b42cff6b
KH
5862002-02-26 Kazu Hirata <kazu@hxi.com>
587
588 * config/h8300/h8300-protos.h: Update the prototype for
589 compute_logical_op_length. Add the prototype for
590 compute_logical_op_cc.
591 * config/h8300/h8300.c (compute_logical_op_length): Figure out
592 code from operands.
593 (compute_logical_op_cc): New.
594 * config/h8300/h8300.md: Combine all the logical op patterns
595 in HImode and SImode. Use compute_logical_op_cc.
596
831c4e87
KC
5972002-02-26 Kelley Cook <kelleycook@comcast.net>
598
599 * config/i386/i386.c (print_operand): Don't append ATT-style
600 length suffixs to x87 opcodes when in Intel mode.
601
ff88fe10
RS
6022002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
603
604 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
605 (init_emit_once): Update calls.
606 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
607 (init_syntax_once): Prototype.
608
d4108589
JDA
6092002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
610
611 * pa-linux.h (LIB_SPEC): Update definition.
612 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
613
e013f3c7
RH
6142002-02-26 Richard Henderson <rth@redhat.com>
615
616 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
617 if we emitted a stop bit.
618
9e944a16
JJ
6192002-02-26 Jakub Jelinek <jakub@redhat.com>
620
621 * configure.in (libgcc_visibility): Substitute.
622 * configure: Rebuilt.
623 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
624 defined symbols .hidden.
625
47bd70b5
JJ
6262002-02-26 Jakub Jelinek <jakub@redhat.com>
627
628 * attribs.c (c_common_attribute_table): Add visibility.
629 (handle_visibility_attribute): New function.
630 * varasm.c (assemble_visibility): New function.
631 * output.h (assemble_visibility): Add prototype.
632 * tree.h (MODULE_LOCAL_P): Define.
633 * crtstuff.c (__dso_handle): Use visibility attribute.
634 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
635 for MODULE_LOCAL_P symbols too.
636 * config/ia64/ia64.c (ia64_encode_section_info): Handle
637 MODULE_LOCAL_P symbols the same way as local symbols.
638 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
639 into .sdata/.sbss by the user.
640 * doc/extend.texi (Function Attributes): Document visibility
641 attribute.
642
6d73371a
JJ
6432002-02-26 Jakub Jelinek <jakub@redhat.com>
644
645 PR debug/5770
646 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
647 STRING_CST initializer spanning the whole variable without
648 embedded zeros.
649 If expand_expr returned MEM, don't use it.
650
06e224f7
AO
6512002-02-26 Alexandre Oliva <aoliva@redhat.com>
652
653 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
654 generate a die for the lexical block.
655
40367e2d
KH
6562002-02-26 Kazu Hirata <kazu@hxi.com>
657
658 * config/h8300/h8300-protos.h: Add a prototype for
659 compute_logical_op_length.
660 * config/h8300/h8300.c (compute_logical_op_length): New.
661 * config/h8300/h8300.md (anonymous logical patterns): Use
662 compute_logical_op_length for length.
663
0e98f924
AH
6642002-02-26 Aldy Hernandez <aldyh@redhat.com>
665
831c4e87
KC
666 * dwarf2out.c (modified_type_die): Do not call type_main_variant
667 for vectors.
668 (gen_type_die): Same.
0e98f924 669
831c4e87 670 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 671
a50cfd52
DE
6722002-02-26 Daniel Egger <degger@fhm.edu>
673
831c4e87
KC
674 * config/rs6000/rs6000.md: Swap define_insn attributes to
675 fix incorrect generation of merge high instructions instead
676 of merge low.
a50cfd52 677
b7997284
AH
6782002-02-26 Aldy Hernandez <aldyh@redhat.com>
679
831c4e87
KC
680 * c-typeck.c (really_start_incremental_init): Use
681 bitsize_zero_node for vectors.
b7997284 682
376aec5d
AH
6832002-02-26 Aldy Hernandez <aldyh@redhat.com>
684
831c4e87
KC
685 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
686 ("*set_vrsave_internal"): Same.
376aec5d 687
3b40e71b
RH
6882002-02-25 Richard Henderson <rth@redhat.com>
689
690 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
691 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
692
232b8f52
JJ
6932002-02-25 Jakub Jelinek <jakub@redhat.com>
694
695 PR target/5755
696 * config/i386/i386.c (ix86_return_pops_args): Only pop
697 fake structure return argument if it was passed on the stack.
698
67282790
JM
6992002-02-25 Jason Merrill <jason@redhat.com>
700
701 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
702 RESULT_DECL.
703
5c181756
AO
7042002-02-25 Alexandre Oliva <aoliva@redhat.com>
705
706 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
707 link with shared_name only.
708 * doc/invoke.texi (Link Options): Document new behavior.
709
6786d201
AH
7102002-02-25 Aldy Hernandez <aldyh@redhat.com>
711
831c4e87 712 * c-typeck.c (push_init_level): Handle vectors.
6786d201 713
7d6040e8
AO
7142002-02-25 Alexandre Oliva <aoliva@redhat.com>
715
716 * config/sparc/sparc.c (const64_high_operand): Zero-extend
717 operands of SPARC_SETHI_P.
718 (input_operand): Likewise.
719 (sparc_emit_set_const32): Likewise.
720 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
721 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
722 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
723 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
724 (movdi_insn_sp64_vis): Likewise.
725 (movdi split, movdf split): Use SETHI32.
726 * doc/md.texi: Document SPARC constraints L, M and N.
727
b188f760
AH
7282002-02-25 Aldy Hernandez <aldyh@redhat.com>
729
831c4e87
KC
730 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
731 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 732
831c4e87
KC
733 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
734 gen_get_vrsave_internal.
b188f760 735
8041889f
RK
736Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
737
738 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
739
a47ed310
NB
7402002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
741
742 * cpplex.c (cpp_interpret_charconst): Get signedness or
743 otherwise of wide character constants correct.
744 * cppexp.c (lex): Get signedness of wide charconsts correct.
745
cb8f73be
RK
746Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
747
748 * optabs.c (widen_operand): Only call convert_modes for
749 promoted SUBREG if signedness matches.
750 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
751
2450e0b8
NB
7522002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
753
754 * cpplib.c (glue_header_name): Use local buffer to build up
755 header name.
756
70b6aaed
NB
7572002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
758
759 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
760
6be580c7
KH
7612002-02-23 Kazu Hirata <kazu@hxi.com>
762
763 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
764 H8/300[HS] separately.
765 * config/h8300/h8300.md: Remove the early clobber constraint
766 from bit field patterns.
767
35dad9f1
KH
7682002-02-23 Kazu Hirata <kazu@hxi.com>
769
770 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
771 register_operand.
772 (mulhisi3): Likewise.
773 (umulqisi3): Likewise.
774 (umulhisi3): Likewise.
775
ab8e2228
NB
7762002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
777
778 * cppinit.c (output_deps): Correct test for stdout output.
779 (init_dependency_output): Cure warning.
780
ac6f8a15
RK
781Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
782
783 * expr.c (store_expr): When converting expression to promoted
784 equivalent type, allow using SUBREG_REG of TARGET as the target
785 of the expansion of EXP.
786 * loop.c (basic_induction_var, case SUBREG): Always look inside.
787 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
788 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
789 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
790 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
791
f282ffb3
JM
7922002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
793
794 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
795 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
796 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
797
44c5edc0
JJ
7982002-02-23 Jakub Jelinek <jakub@redhat.com>
799
800 PR optimization/5747
801 * loop.c (scan_loop): Update reg info if move_movables created new
802 pseudos.
803
f98e43c0
DE
8042002-02-23 David Edelsohn <edelsohn@gnu.org>
805
806 * gcc.c (init_gcc_spec): Revert last change.
807
e72247f4
DE
8082002-02-23 David Edelsohn <edelsohn@gnu.org>
809
810 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
811 gpc_reg_operand constraint.
812
8132002-02-23 Alan Modra <amodra@bigpond.net.au>
814
815 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
816 Simplify comparison of `low'.
817 (add_operand): Fix formatting.
818 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 819 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
820 (rs6000_stack_info): Remove redundant test setting push_p.
821 (output_toc): Fix formatting.
822 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
823 cc_reg_not_cr0_operand constraint.
824 (booldi3, boolcdi3 splitters): Same.
825
a5c30531
AH
8262002-02-23 Aldy Hernandez <aldyh@redhat.com>
827
831c4e87 828 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 829
43710f9f
DE
8302002-02-22 David Edelsohn <edelsohn@gnu.org>
831
832 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
833 gcc invoked with -shared-libgcc.
834
3256b817
JJ
8352002-02-22 Jakub Jelinek <jakub@redhat.com>
836
837 PR c++/5748
838 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
839 decl if any of elements was TREE_USED.
840
9e0625a3
AO
8412002-02-22 Alexandre Oliva <aoliva@redhat.com>
842
843 * config/sparc/sol2.h: Don't include sys/mman.h.
844 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
845 (arith_4096_operand): Don't throw high bits away.
846 (const64_operand): Take sign extension of CONST_INTs into account.
847 (const64_high_operand, sparc_emit_set_const32): Likewise.
848 (GEN_HIGHINT64): Likewise.
849 (sparc_emit_set_const64_quick1): Likewise.
850 (const64_is_2insns): Likewise.
851 (print_operand): Use trunc_int_for_mode for sign extension.
852 * config/sparc/sparc.h (SMALL_INT32): Likewise.
853 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
854 chars. Assume CONST_INT is already properly sign-extended.
855 (movdi split): Sign-extend each SImode part.
856 (andsi3 split): Don't mask high bits off, so that result
857 remains properly sign-extend.
858 (iorsi3 split): Likewise.
859 (xorsi3 split): Likewise.
860
54fec3d5
RS
8612002-02-22 Richard Sandiford <rsandifo@redhat.com>
862
863 * fold-const.c (fold): Fix typo in comments.
864
667ada9b
DN
8652002-02-21 Diego Novillo <dnovillo@redhat.com>
866
867 * Makefile.in (langhooks.o): Update dependencies.
868
29ac78d5
DN
8692002-02-21 Diego Novillo <dnovillo@redhat.com>
870
871 * langhooks.c: Include flags.h.
872
6aa77e6c
AH
8732002-02-21 Aldy Hernandez <aldyh@redhat.com>
874
875 * testsuite/gcc.dg/attr-alwaysinline.c: New.
876
877 * c-common.c (c_common_post_options): Set inline trees by
878 default.
879
880 * doc/extend.texi (Function Attributes): Document always_inline
881 attribute.
882 Update documentation about inlining when not optimizing.
883
884 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
885
886 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
887 unless DECL_ALWAYS_INLINE.
888
889 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
890 unless DECL_ALWAYS_INLINE.
891 (c_disregard_inline_limits): Disregard if always_inline set.
892
893 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
894 Disregard if always_inline set.
895 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
896 unless DECL_ALWAYS_INLINE.
897
898 * attribs.c (handle_always_inline_attribute): New.
899 (c_common_attribute_table): Add always_inline.
900
901 * config/rs6000/altivec.h: Add prototypes for builtins
902 requiring the always_inline attribute.
903
c410d49e
EC
9042002-02-21 Eric Christopher <echristo@redhat.com>
905
906 * expmed.c (store_bit_field): Try to simplify the subreg
907 before generating a new one when when the mode size of
908 value is less than maxmode.
909
e3c8ea67
RH
9102002-02-21 Richard Henderson <rth@redhat.com>
911
912 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
913 than gen_rtx_PLUS to form the sum.
914 * explow.c (force_reg): Rearrange to not allocate new pseudo
915 when force_operand returns a register.
916 * expr.c (expand_assignment): Allow offset_rtx expansion to
917 return a sum. Do not force addresses into registers.
918 (expand_expr): Likewise.
919 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
920 to canonicalize arithmetic that didn't simpify.
921 (simplify_plus_minus): New argument force; update
922 all callers. Don't split CONST unless we can do something with it,
923 and wouldn't lose the constness of the operands.
924
925 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
926 that we generated earlier.
927
c1a046e5
TT
9282002-02-21 Tom Tromey <tromey@redhat.com>
929
930 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
931 (output_line_info): Use constant `1', with a long explanatory
932 comment.
933 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
934
31fbaad4
R
935Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
936
937 * jump.c (redirect_jump): If old label has no UID, don't try to
938 delete it.
939
a7f52356
R
940Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
941
942 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
943 If input is constant, do shifts at compile time.
944
924fcc4e
JM
9452002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
946
947 * doc/extend.texi: Fix some more overfull hboxes.
948
e5a20888
JJ
9492002-02-21 Jakub Jelinek <jakub@redhat.com>
950
951 PR optimization/4994
952 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
953 register moves.
954
9552002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
956
957 PR c++/4574
958 * expr.h (expand_and): Add mode argument.
959 * expmed.c (expand_and): Add mode argument.
960 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
961 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
962 * except.c (expand_builtin_extract_return_addr): Likewise.
963 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
964 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
965 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
966 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
967 * config/c4x/c4x.md: Use GEN_INT (x) instead of
968 gen_rtx (CONST_INT, VOIDmode, x).
969
7133e992
JJ
9702002-02-21 Jakub Jelinek <jakub@redhat.com>
971
972 PR c/4697:
973 * stmt.c (warn_if_unused_value): Move side effects test once more.
974
e2ec05a6
TG
9752002-02-20 Torbjorn Granlund <tege@swox.com>
976
977 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 978 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 979
9dd791c8
AO
980Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
981
982 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
983 SUBREG or ZERO_EXTEND.
984
7ab56274
R
985Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
986
987 * sh.h (current_function_anonymous_args): Remove.
988 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
989 of current_function_varargs and current_function_stdarg is set.
990 * sh.c (sh_expand_prologue): Check current_function_varargs /
991 current_function_stdarg / TARGET_SH5 instead of
992 current_function_anonymous_args.
993
994 * sh64.h (TARGET_VERSION): Define.
995
b1765bde
DE
9962002-02-20 David Edelsohn <edelsohn@gnu.org>
997
998 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
999 VRSAVE_REGNO on TARGET_ALTIVEC.
1000
10012002-02-20 Alan Modra <amodra@bigpond.net.au>
1002
1003 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
1004 bits of SImode const_int.
1005 (includes_rshift_p): Likewise.
1006 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 1007 mode.
b1765bde
DE
1008 (rs6000_output_function_epilogue): Pad traceback table to word.
1009 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
1010 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
1011 mask64_operand with correct mode.
b1765bde
DE
1012 (FUNCTION_ARG_REGNO_P): Correct parentheses.
1013
149d6f9e
JJ
10142002-02-20 Jakub Jelinek <jakub@redhat.com>
1015
1016 PR debug/4461
1017 * varasm.c (get_pool_constant_mark): New.
1018 * rtl.h (get_pool_constant_mark): Add prototype.
1019 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
1020 be represented if it has not been output.
1021
4161da12
AO
10222002-02-20 Alexandre Oliva <aoliva@redhat.com>
1023
1024 * combine.c (do_SUBST): Sanity check substitutions of
1025 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
1026 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
1027 CONST_INT into its operand.
1028 (known_cond): Likewise, for ZERO_EXTEND.
1029 * simplify-rtx.c (simplify_unary_operation): Fix condition to
1030 allow for simplification of wide modes. Reject CONST_INTs in
1031 ZERO_EXTEND when their actual mode is not given.
1032
3704ef74
AO
10332002-02-20 Alexandre Oliva <aoliva@redhat.com>
1034
1035 * c-decl.c (pushdecl): If no global declaration is found for an
1036 extern declaration in block scope, try a limbo one.
1037
7552da58
JJ
10382002-02-20 Jakub Jelinek <jakub@redhat.com>
1039
1040 PR c++/4401
1041 * c-common.c (pointer_int_sum): Moved from...
1042 * c-typeck.c (pointer_int_sum): ...here.
1043 * c-common.h (pointer_int_sum): Add prototype.
1044
00fae85d
JJ
10452002-02-20 Jakub Jelinek <jakub@redhat.com>
1046
1047 PR c++/5713
1048 * c-decl.c (duplicate_decls): Return 0 if issued error about
1049 redeclaration.
1050
4636c87e
JJ
10512002-02-20 Roger Sayle <roger@eyesopen.com>
1052 Jakub Jelinek <jakub@redhat.com>
1053
1054 PR c/4389
1055 * tree.c (host_integerp): Ensure that the constant integer is
1056 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
1057 when pos is zero or non-zero respectively. Clarify comment.
1058 * c-format.c (check_format_info_recurse): Fix host_integerp
1059 usage; the pos argument should be zero when assigning to a
1060 signed HOST_WIDE_INT.
1061
59bef189
RH
10622002-02-20 Richard Henderson <rth@redhat.com>
1063
1064 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
1065 of the operand, rather than assuming TImode.
1066 (ix86_expand_binop_builtin): Cope with commutative patterns
1067 using nonimmediate_operand for both operands.
1068 (ix86_expand_timode_binop_builtin): Likewise.
1069 (ix86_expand_store_builtin): Validate operand 1.
1070 (ix86_expand_unop1_builtin): Likewise.
1071
9338ffe6 10722002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 1073
9338ffe6
PB
1074 PR 5705
1075 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
1076
f322b423
RH
10772002-02-20 Richard Henderson <rth@redhat.com>
1078
1079 PR c/5615
1080 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
1081
d94084f7
TT
10822002-02-20 Tom Tromey <tromey@redhat.com>
1083
1084 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1085 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1086 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1087 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
1088 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
1089 unconditionally.
1090
37fa124a
AM
1091Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
1092
1093 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
1094 for (const_int 0) in X not just INTVAL.
1095
6e5bb5ad
JM
10962002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
1097
1098 * doc/extend.texi: Avoid or reduce overfull hboxes.
1099
420e7dfa
DN
11002002-02-20 Diego Novillo <dnovillo@redhat.com>
1101
1102 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
1103 operations if the field does not start at a mode boundary.
1104
1b7a2af6
JS
11052001-02-20 Joel Sherrill <joel@OARcorp.com>
1106
1107 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
1108 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
1109 Also done for -Acpu and -Amachine.
1110
56cd5b95
NB
11112002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
1112
1113 * cppinit.c (init_dependency_output): Take deps output file
1114 from -o if none given with -MF. Suppress normal output.
c410d49e 1115 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
1116 * doc/cpp.texi, doc/invoke.texi: Update.
1117
042cdf71
ZW
11182002-02-19 Zack Weinberg <zack@codesourcery.com>
1119
1120 * toplev.c (output_quoted_string): Write unprintable
1121 characters with octal escapes.
1122
c1f11548
DE
11232002-02-19 David Edelsohn <edelsohn@gnu.org>
1124
1125 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
1126 really_call_used[VRSAVE_REGNO] if not Altivec.
1127
11282002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 1129
c1f11548
DE
1130 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
1131 MODE_MASK.
1132 (constant_pool_expr_1): Fix formatting.
1133 (rs6000_legitimize_reload_address): Likewise.
1134
c964d90e
RK
1135Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1136
1137 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
1138 now that we have one.
1139
ae34ac46
ZW
11402002-02-19 Zack Weinberg <zack@codesourcery.com>
1141
1142 * tree.h (struct tree_common): Remove aux. Add unused_0 at
1143 end of first block of bitfields (which was only seven bits);
1144 rename dummy to unused_1; remove comment which is no longer true.
1145
293c28ee
GS
11462002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
1147
1148 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
1149
7b8781c8
PB
11502002-02-19 Philip Blundell <pb@nexus.co.uk>
1151
0cb6c58d 1152 PR 5399
7b8781c8
PB
1153 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
1154 if generating PIC.
1155
1156 PR 5054
1157 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
1158 arm_is_longcall_p rather than inspecting call-type cookie
1159 directly.
1160 (call_value_insn) [TARGET_THUMB]: Likewise.
1161
5c464583
GS
11622002-02-19 Graham Stott <grahams@redhat.com>
1163
1164 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
1165
71c061e6
DE
11662002-02-19 David Edelsohn <edelsohn@gnu.org>
1167
1168 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
1169 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 1170 (FP_SAVE_INLINE): Delete.
71c061e6
DE
1171
1172 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
1173 * config/rs6000/eabi.asm: Remove ABI save restore routines.
1174 * config/rs6000/t-ppccomm: Build crtsavres.o.
1175 * config/rs6000/crtsavres.asm: New file.
1176
3a7731fd
PB
11772002-02-19 Philip Blundell <philb@gnu.org>
1178
1179 * config/arm/arm.c (use_return_insn): Don't reject interrupt
1180 functions.
1181 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
1182 (output_return_instruction): Allow interrupt functions to return with
1183 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
1184 (arm_expand_prologue): Subtract 4 before stacking LR in an
1185 interrupt function.
1186
14f583b8
PB
11872002-02-19 Philip Blundell <pb@nexus.co.uk>
1188
1189 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
1190 decl, not just FUNCTION_DECL.
1191 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
1192 (arm_assemble_integer): Likewise.
1193 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
1194 marked local.
c410d49e 1195
4cb7482c
MG
11962002-02-19 matthew green <mrg@eterna.com.au>
1197
1198 * config.gcc (sparc-*-netbsdelf*): Enable target.
1199 (sparc64-*-netbsd*): New target.
1200 * config/sparc/netbsd-elf.h: New file.
1201 * config/sparc/t-netbsd64: New file.
1202
2df3a718
GS
12032002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
1204
1205 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
1206
77f6c1eb
RS
12072002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
1208
1209 * doc/invoke.texi: explicitly list the style guidelines that
1210 -Weffc++ checks for.
1211
fd973d56
JH
1212Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
1213
1214 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
1215
30518e45
NB
12162002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
1217
1218 PR other/5718
1219 * gcc.c (cpp_unique_options): Treat -o as indicating object file
1220 only if not -E. If -E, pass -o through to the preprocessor.
1221
39ea5704
KH
12222002-02-19 Kazu Hirata <kazu@hxi.com>
1223
1224 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
1225 register number with an appropriate macro.
1226
7355dba7
BM
12272002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1228
1229 * doc/rtl.texi (Constants): Close @code tag.
1230
91c8aa9e
AH
12312002-02-19 Aldy Hernandez <aldyh@redhat.com>
1232
1233 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
1234 ("mmx_uavgv4hi3"): Same.
1235 ("pmulhrwv4hi3"): Same.
1236
1237 * tree-inline.c (walk_tree): Handle vectors.
1238
1239 * c-common.c (constant_expression_warning): Handle vectors.
1240 (overflow_warning): Same.
1241
1242 * sched-deps.c (sched_analyze_2): Handle vectors.
1243
1244 * rtlanal.c (rtx_unstable_p): Handle vectors.
1245 (rtx_varies_p): Same.
1246 (count_occurrences): Same.
1247 (regs_set_between_p): Same.
1248 (modified_between_p): Same.
1249 (modified_in_p): Same.
1250 (volatile_insn_p): Same.
1251 (volatile_refs_p): Same.
1252 (side_effects_p): Same.
1253 (may_trap_p): Same.
1254 (inequality_comparisons_p): Same.
1255 (replace_regs): Same.
1256 (computed_jump_p_1): Same.
1257
1258 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
1259 argument.
1260 (inner_mode_array): New.
1261 (copy_rtx): Handle vectors.
1262 (copy_most_rtx): Same.
1263 (rtx_equal_p): Same.
1264 (get_mode_alignment): Adjust for vectors.
1265
1266 * resource.c (mark_referenced_resources): Handle vectors.
1267 (mark_set_resources): Same.
1268
1269 * reload1.c (eliminate_regs): Handle vectors.
1270 (elimination_effects): Same.
1271 (scan_paradoxical_subregs): Same.
1272
1273 * reload.c (subst_reg_equivs): Handle vectors.
1274
1275 * regrename.c (scan_rtx): Handle vectors.
1276
1277 * regclass.c (reg_scan_mark_refs): Handle vectors.
1278
1279 * recog.c (find_single_use_1): Handle vectors.
1280
1281 * local-alloc.c (equiv_init_varies_p): Handle vectors.
1282 (contains_replace_regs): Same.
1283 (memref_referenced_p): Same.
1284
1285 * integrate.c (copy_rtx_and_substitute): Handle vectors.
1286 (subst_constants): Same.
1287
1288 * genattrtab.c (attr_copy_rtx): Handle vectors.
1289 (encode_units_mask): Same.
1290 (clear_struct_flag): Same.
1291 (count_sub_rtxs): Same.
1292
1293 * gcse.c (want_to_gcse_p): Handle vectors.
1294 (oprs_unchanged_p): Same.
1295 (hash_expr_1): Same.
1296 (oprs_not_set_p): Same.
1297 (expr_killed_p): Same.
1298 (compute_transp): Same.
1299 (store_ops_ok): Same.
1300
1301 * function.c (purge_addressof_1): Do not allow paradoxical subregs
1302 of vectors.
1303 (fixup_var_refs_1): Same.
1304 (instantiate_virtual_regs_1): Same.
1305
1306 * fold-const.c (operand_equal_p): Handle vectors.
1307 (fold): Same.
1308 (rtl_expr_nonnegative_p): Same.
1309
1310 * flow.c (mark_used_regs): Handle vectors.
1311
1312 * df.c (df_uses_record): Handle vectors.
1313
1314 * cselib.c (cselib_subst_to_values): Handle vectors.
1315 (cselib_mem_conflict_p): Same.
1316 (hash_rtx): Same.
1317
1318 * cse.c (canon_reg): Handle vectors.
1319 (fold_rt): Same.
1320 (cse_process_notes): Same.
1321 (count_reg_usage): Same.
1322 (canon_hash): Same.
1323
1324 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
1325
1326 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
1327
1328 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
1329 (gen_rtx): Handle CONST_VECTOR.
1330 (gen_const_vector_0): New.
1331 (copy_rtx_if_shared): CONST_VECTORs can be shared.
1332 (reset_used_flags): Same.
1333 (copy_insn_1): Same.
1334 (initializer_constant_valid_p): Handle VECTOR_CST.
1335
1336 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
1337
1338 * doc/rtl.texi (Constants): Document const_vector.
1339 (CONST0_RTX): Update for vectors.
1340 (RTL sharing): Same.
1341
1342 * print-tree.c (print_node): Add case for VECTOR_CST.
1343
1344 * tree.h (TREE_VECTOR_CST_ELTS): New.
1345 (struct tree_vector): New.
1346 (union tree_node): Add vector node.
1347 (build_vector): Add prototype.
1348
1349 * tree.def (VECTOR_CST): New.
1350
1351 * tree.c (build_vector): New.
1352
1353 * expmed.c (make_tree): Handle CONST_VECTOR.
1354
1355 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
1356 (CONST_VECTOR_ELT): New.
1357 (CONST_VECTOR_NUNITS): New.
1358
1359 * machmode.h (GET_MODE_INNER): New.
1360 (DEF_MACHMODE): Accept 8th arg.
1361
1362 * machmode.def: Add 8th argument for vector inner mode.
1363 Add inner vector modes for vectors.
1364
1365 * rtl.def (VEC_CONST): Remove.
1366 (CONST_VECTOR): New.
1367
1368 * expr.c (clear_storage): Allow vectors.
1369 (is_zeros_p): Handle VECTOR_CST.
1370
1371 * varasm.c (output_constant_pool): Handle vectors.
1372 (rtx_const): Add veclo and vechi fields.
1373 (kind): Add RTX_VECTOR.
1374 (decode_rtx_const): Add case for vector.
1375
1376 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 1377
91c8aa9e
AH
1378 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
1379 constants. Force easy vector constants into memory.
1380 (easy_vector_constant): New.
1381 (emit_easy_vector_constant): New.
1382 (rs6000_legitimize_reload_address): Do not generate bad reloads on
1383 darwin.
1384
1385 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
1386 instruction does.
1387 ("altivec_lvxl"): Same.
1388 (altivec_lvebx): Same.
1389 (altivec_lvehx): Same.
1390 (altivec_lvewx): Same.
1391 ("*movv4si_const0"): New.
1392 ("*movv4sf_const0"): New.
1393 ("*movv8hi_const0"): New.
1394 ("*movv16qi_const0"): New.
1395
d4d6d0ce
KH
13962002-02-18 Kazu Hirata <kazu@hxi.com>
1397
1398 * config/h8300/h8300.c (notice_update_cc): Use
1399 cc_status.value2.
1400
4915d3aa
KH
14012002-02-18 Kazu Hirata <kazu@hxi.com>
1402
1403 * config/h8300/h8300.md (divmod patterns): Change the
1404 constraints for operands[1] to register_operand.
1405
82be00ee
KH
14062002-02-18 Kazu Hirata <kazu@hxi.com>
1407
1408 * config/h8300/h8300-protos.h: Remove the prototype for
1409 p_operand.
1410 * config/h8300/h8300.c (p_operand): Remove.
1411 * config/h8300/h8300.md: Replace p_operand with
1412 const_int_operand.
1413
1768c26f
PB
14142002-02-18 Philip Blundell <pb@nexus.co.uk>
1415
1416 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
1417 comment.
1418 (output_return_instruction): Allow use of LDR to unstack
1419 return addresss even for interrupt handlers or when
1420 interworking. If compiling for ARMv5, use interworking-safe
1421 return instructions by default. Remove duplicated code and
1422 lengthy "strcat" sequences.
1423
ccd84f51
FS
14242002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1425
1426 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
1427 (LINK_EH_SPEC): Define.
1428 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
1429
2c153108
UW
14302002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
1431
1432 * config/s390/s390.c (s390_emit_prologue): Do not set the
1433 frame_related flag for call-clobbered registers.
1434
e95d6b23
JH
1435Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
1436
1437 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
1438 (construct_container): Fix handling of SSE operands.
1439 (ix86_expand_builtin): Fix handling of 64bit pointers.
1440 (mmx_maskmovq_rex): New pattern.
1441
c43a12b5
JH
1442Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
1443
1444 * regrename.c (kill_set_value): Handle subregs properly.
1445
aeb85a15
DB
14462002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
1447
1448 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 1449 from objc_class_name.
aeb85a15 1450
a615ca3e
RH
14512002-02-17 Richard Henderson <rth@redhat.com>
1452
1453 * config/alpha/alpha.c (some_small_symbolic_operand,
1454 some_small_symbolic_operand_1, split_small_symbolic_operand,
1455 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
1456 Handle small SYMBOL_REFs anywhere, not just inside memories.
1457 * config/alpha/alpha-protos.h: Update.
1458 * config/alpha/alpha.h (PREDICATE_CODES): Update.
1459 * config/alpha/alpha.md (small symbolic operand splitter): Update.
1460
ddb28441
RM
14612002-02-17 Roland McGrath <roland@frob.com>
1462
1463 * config.gcc (powerpc-*-gnu-gnualtivec*,
1464 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
1465 * config/rs6000/gnu.h: New file.
1466 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
1467 Grok "gnu" in rs6000_abi_name.
1468 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
1469 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
1470 Grok -mcall-gnu analogous to -mcall-linux et al.
1471 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
1472 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
1473 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
1474
f6f8ada3
JJ
14752002-02-17 Jakub Jelinek <jakub@redhat.com>
1476
1477 PR c/3444:
1478 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
1479 shortening.
1480
e16b32fc
PT
14812002-02-17 Philipp Thomas <pthomas@suse.de>
1482
1483 * config/cris/cris.h: Undefine STARTFILE_SPEC and
1484 ENDFILE_SPEC before (re)defining them.
1485
f9477efd
KH
14862002-02-17 Kazu Hirata <kazu@hxi.com>
1487
1488 * config/h8300/h8300.c: Fix formatting.
1489 * config/h8300/h8300.h: Likewise.
1490
404ae494
PT
14912002-02-17 Philipp Thomas <pthomas@suse.de>
1492
1493 * doc/tm.texi: Explain why empty strings should not be
1494 marked for translation.
1495
a52453cc
PT
14962002-02-17 Philipp Thomas <pthomas@suse.de>
1497
1498 * final.c (output_operand_lossage): Changed to accept
1499 printf style arguments. Change calls where necessary.
1500 * output.h (output_operand_lossage): Change declaration
1501 accordingly. Update copyright.
1502 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
1503 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
1504 Update copyright date where necessary.
c410d49e 1505
a52453cc
PT
1506 * config/i386/i386.c (print_operand): Likewise. Remove use of
1507 sprintf.
1508
1509 * config/cris/cris.c (cris_operand_lossage): Likewise.
1510 Rename parameter so that exgettext recognizes it as
1511 translatable message.
1512 (LOSE_AND_RETURN): Rename parameter to msgid.
1513
1c11abc4
KH
15142002-02-17 Kazu Hirata <kazu@hxi.com>
1515
1516 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
1517 hard coded register number with an appropriate macro.
1518 (HARD_REGNO_MODE_OK): Likewise.
1519 (ARG_POINTER_REGNUM): Likewise.
1520 (STATIC_CHAIN_REGNUM): Likewise.
1521 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
1522 * config/h8300/h8300.md (define_constants): Define more
1523 register numbers.
1524
a5d17ff3
PT
15252002-02-17 Philipp Thomas <pthomas@suse.de>
1526
1527 * config/i386/i386.h: Don't mark empty strings for translation.
1528
1a7289c4
L
15292002-02-16 H.J. Lu <hjl@gnu.org>
1530
1531 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
1532
afb58288
ZW
15332002-02-16 Zack Weinberg <zack@codesourcery.com>
1534
1535 * cppinit.c (merge_include_chains): Check for brack being
1536 NULL before attempting to merge it with qtail.
1537
d2af4dbd
AC
15382002-02-16 Andrew Cagney <ac131313@redhat.com>
1539
1540 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
1541 DBX_DEBUG.
1542
2e1ed1e3
JDA
15432002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1544
1545 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
1546
604c75b2
JDA
15472002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1548
1549 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
1550 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
1551 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
1552
1a42b072
RK
1553Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1554
7303604f 1555 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
1556 now only if !TARGET_FIX.
1557 (*movsi_nt_vms_fix): New pattern.
1558
c2ea1ac6
DR
15592002-02-16 Douglas B Rupp <rupp@gnat.com>
1560
1561 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
1562 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
1563 (alpha_sa_mask, alpha_sa_size): Reflect above change.
1564 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
1565 (alpha_start_function, alpha_expand_epilogue): Likewise.
1566 (unicosmk_gen_dsib): Likewise.
1567
725e58b1
RK
1568Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1569
1570 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
1571
13e58269
UW
15722002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
1573
c410d49e 1574 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
1575 check_and_change_labels, s390_final_chunkify): Delete.
1576 (s390_split_branches, s390_chunkify_pool): New functions.
1577 (s390_function_prologue): Call them.
c410d49e 1578
13e58269
UW
1579 * config/s390/s390.h (S390_REL_MAX): Delete.
1580 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
1581
c410d49e 1582 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
1583 attribute calculation.
1584
1585
34d1b01d
DE
15862002-02-15 David Edelsohn <edelsohn@gnu.org>
1587
1588 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
1589 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
1590
be5cc51a
JDA
15912002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1592
1593 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
1594 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
1595 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
1596
ee96ce90
RS
15972002-02-15 Richard Sandiford <rsandifo@redhat.com>
1598
1599 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
1600
05fa709d
RS
16012002-02-15 Richard Sandiford <rsandifo@redhat.com>
1602
1603 * reload.c (find_dummy_reload): Check that an output register
1604 is valid for its mode.
1605
4606272b
AO
16062002-02-14 Alexandre Oliva <aoliva@redhat.com>
1607
9a360704
AO
1608 * combine.c (known_cond): After replacing the REG of a SUBREG, try
1609 to simplify it.
1610
4606272b
AO
1611 * function.c (assign_parms): Demote promoted argument passed by
1612 transparent reference.
1613
e62d89a1
JS
16142001-02-14 Joel Sherrill <joel@OARcorp.com>
1615
1616 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
1617 -Acpu() and -Amachine() to eliminate warnings.
1618
6c4cf695
UW
16192002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
1620
1621 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
1622
037f11ef
KH
16232002-02-14 Kazu Hirata <kazu@hxi.com>
1624
1625 * config/h8300/h8300-protos.h: Update the prototype for
1626 const_costs.
1627 * config/h8300/h8300.c (const_costs): Treat SET as a little
1628 more expensive operation.
1629 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
1630 reference to const_costs.
1631
fdc76b09
HPN
16322002-02-14 Hans-Peter Nilsson <hp@axis.com>
1633
1634 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
1635
d76e6800
JJ
16362002-02-14 Jakub Jelinek <jakub@redhat.com>
1637
1638 PR c/5503:
1639 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
1640 use arguments from newtype.
1641
5ae590d7
EC
16422002-02-13 Eric Christopher <echristo@redhat.com>
1643
1644 * config/mips/mips.c (override_options): Add check for march/mipsX
1645 on the same command line. Fix error message in cpu processing.
1646 Remove architecture and ISA checks.
1647
b8513691
AH
16482002-02-14 Aldy Hernandez <aldyh@redhat.com>
1649
831c4e87 1650 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 1651
831c4e87 1652 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 1653
78c875e8
AH
16542002-02-14 Aldy Hernandez <aldyh@redhat.com>
1655
831c4e87
KC
1656 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
1657 alternatives.
1658 ("*movv8hi_internal1"): Same.
1659 ("*movv16qi_internal1"): Same.
1660 ("*movv4sf_internal1"): Same.
78c875e8 1661
831c4e87
KC
1662 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
1663 not push_reload for altivec modes.
78c875e8 1664
d76e6800 16652002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
1666
1667 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
1668 all RTEMS targets including removal of #includes from config/*/rtems*.h
1669 file and adding them to tm_file setting. Added xm_defines=POSIX to
1670 many targets.
1671 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
1672 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
1673 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
1674 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
1675 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
1676 config/m68k/rtemself.h: Ditto.
1677 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
1678 config/mips/rtems64.h: Ditto.
1679 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
1680 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
1681 Ditto.
1682 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
1683 config/sparc/rtemself.h: Ditto.
1684 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
1685 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
1686 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
1687 more like arm-elf.
1688 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
1689 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
1690 target made more similar to i386-elf.
1691 * config/i386/t-rtems-i386: Added soft float support and multilibs.
1692 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
1693 be similar to config/m68k/t-m68kelf.
1694 * gthr-rtems.h: Encapsulate with extern "C" for C++.
1695
8686336f
JH
1696Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
1697
1698 * regmove.c (kill_value): Handle subregs.
1699
558740bf
JH
1700Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
1701
1702 * i386.md (mul patterns): Allow memory operand to be first;
1703 add expanders where needed; fix constraints.
1704 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
1705 Allow memory operand to be the first.
1706
1707 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
1708 operands.
1709
21117a17
JJ
17102002-02-13 Jakub Jelinek <jakub@redhat.com>
1711
1712 PR c/5681:
1713 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
1714 GET_MODE (x).
1715
ec65b2e3
JJ
17162002-02-13 Jakub Jelinek <jakub@redhat.com>
1717
1718 PR optimization/5547:
1719 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
1720 all valid IA-32 address modes involving non-scaled %ebx and
1721 GOT/GOTOFF as displacement.
1722
ce50cae8
UW
17232002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
1724
1725 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
1726 after emitting ltorg insns.
1727
1728 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
1729 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
1730 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
1731 *abssf2): Fix "op_type" attribute.
1732
09eb789b
DR
17332002-02-13 Douglas B Rupp <rupp@gnat.com>
1734
2dbe67bb
DR
1735 * mkconfig.sh: Avoid using a subshell redirect.
1736 ($output.T): Change to $(output)T.
1737 (ENABLE_NLS): Remove unneeded undef.
1738
ea5b9a1f
DR
1739 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
1740 * config/alpha/x-vms (libsubdir): Define.
1741
3deb00ce
DR
1742 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
1743 register frame procedures. Optimize retrieving context.
1744
09eb789b
DR
1745 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
1746 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
1747 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
1748
1abade85
RK
1749Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1750
1751 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
1752 Make same change as for find_base_value.
1753
c283e63f
KH
17542002-02-13 Kazu Hirata <kazu@hxi.com>
1755
1756 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
1757 of QImode and SImode.
1758
86039100
KH
17592002-02-13 Kazu Hirata <kazu@hxi.com>
1760
1761 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
1762 length computation of movsi.
1763 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
1764
e1429da0
KH
17652002-02-13 Kazu Hirata <kazu@hxi.com>
1766
1767 * config/h8300/h8300.md (subqi3): Tighten the predicate for
1768 operands[2] to register_operand.
1769
aebfea10
JH
1770Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
1771
1772 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
1773
0ec4e2a8
AH
17742002-02-12 Aldy Hernandez <aldyh@redhat.com>
1775
831c4e87
KC
1776 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
1777 for altivec_lvx* and altivec_stvx*.
1778 ("*movv4si_internal"): Add constraint for loading from GPRs.
1779 ("*movv8hi_internal1"): Same.
1780 ("*movv16qi_internal1"): Same.
1781 ("*movv4sf_internal1"): Same.
0ec4e2a8 1782
831c4e87 1783 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 1784
831c4e87
KC
1785 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
1786 altivec_register_operand.
0ec4e2a8 1787
b007569d
HPN
17882002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
1789
1790 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
1791 handle SYMBOL_REF.
1792
e6834654
SS
17932002-02-13 Stan Shebs <shebs@apple.com>
1794
831c4e87
KC
1795 * c-typeck.c (digest_init): Handle vectors.
1796 (really_start_incremental_init): Same.
1797 (pop_init_level): Same.
1798 (process_init_element): Same.
e6834654 1799
831c4e87 1800 * varasm.c (output_constant): Same.
e6834654 1801
831c4e87
KC
1802 * expr.c (clear_storage): Same.
1803 (store_constructor): Same.
e6834654 1804
d9b3eb63
EC
18052002-02-12 Eric Christopher <echristo@redhat.com>
1806
1807 * explow.c (hard_function_value): Add comment explaining
1808 signed/unsigned comparison.
1809
56d44285
JJ
18102002-02-12 Jakub Jelinek <jakub@redhat.com>
1811
1812 * jump.c (never_reached_warning): Add finish argument.
1813 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
1814 real insn after end.
1815 * rtl.h (never_reached_warning): Adjust prototype.
1816 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
1817 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
1818 never_reached_warning.
1819
fc209487
GS
18202002-02-12 Graham Stott <grahams@redhat.com>
1821
1822 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
1823
1e41e866
KH
18242002-02-12 Kazu Hirata <kazu@hxi.com>
1825
1826 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
1827 logical shifts on H8/300.
1828 (shift_alg_si): Improve several shifts on H8/300.
1829 (get_shift_alg): Likewise.
1830
a36a47ad
GS
18312002-02-12 Graham Stott <grahams@redhat.com>
1832
1833 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
1834
0aacc8ed
RK
1835Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1836
1837 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
1838 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
1839
a02ac966
HPN
18402002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
1841
1842 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
1843 non-CONST_INT through default_assemble_integer.
1844 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
1845 <case 8>: Abort for CONST_DOUBLE.
1846
d6e06ddc
JDA
18472002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1848
1849 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
1850 is specified.
1851 * config/pa/pa-linux.h (LIB_SPEC): Delete.
1852 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
1853
515342a8
AH
18542002-02-11 Andrew Haley <aph@cambridge.redhat.com>
1855
1856 * config/stormy16/stormy16.md (zero_extendqihi2): New.
1857
cddd8b72
AO
18582002-02-11 Alexandre Oliva <aoliva@redhat.com>
1859
66df7a98
AO
1860 * regrename.c (regrename_optimize): Don't accept a
1861 part-clobbered register if the replaced register is not part
1862 clobbered.
1863
841404cd
AO
1864 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
1865 take padding into account when computing the argument value.
1866
1d1ade42
AO
1867 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
1868
cddd8b72
AO
1869 * combine.c (try_combine): Apply substitutions in
1870 CALL_INSN_FUNCTION_USAGE too.
1871
5c665b88
AH
18722002-02-11 Aldy Hernandez <aldyh@redhat.com>
1873
77f6c1eb
RS
1874 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
1875 __builtin_altivec_abs*.
1876 (bdesc_abs): New.
5c665b88 1877
77f6c1eb
RS
1878 * config/rs6000/rs6000.h (rs6000_builtins): Add
1879 ALTIVEC_BUILTIN_ABS*.
5c665b88 1880
77f6c1eb
RS
1881 * config/rs6000/altivec.h: Use const char for builtins expecting
1882 literals.
1883 (vec_abs): New versions for C and C++.
1884 (vec_abss): Same.
5c665b88 1885
3494f1b4
KH
18862002-02-10 Kazu Hirata <kazu@hxi.com>
1887
1888 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
1889 using Pmode.
1890
72431aef
KH
18912002-02-10 Kazu Hirata <kazu@hxi.com>
1892
1893 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
1894 constant definition from h8300.md.
1895 (FRAME_POINTER_REGNUM): Likewise.
1896 * config/h8300/h8300.md (define_constants): Add FP_REG.
1897
87e4ee91
KH
18982002-02-10 Kazu Hirata <kazu@hxi.com>
1899
1900 * config/h8300/h8300.c (print_operand): Remove redundant code.
1901
9c188705
KH
19022002-02-10 Kazu Hirata <kazu@hxi.com>
1903
1904 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
1905 * config/h8300/h8300.c (byte_reg): Make it static.
1906
fba78abb
RH
19072002-02-10 Richard Henderson <rth@redhat.com>
1908
1909 PR c/5623
1910 * c-typeck.c (incomplete_type_error): Handle flexible array members.
1911
65739e62
RH
19122002-02-10 Richard Henderson <rth@redhat.com>
1913
1914 PR c++/5624
1915 * tree.c (append_random_chars): Don't abort if main_input_filename
1916 does not exist.
1917
247cb9df
HPN
19182002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
1919
1920 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
1921
232bd029
KH
19222002-02-10 Kazu Hirata <kazu@hxi.com>
1923
65739e62 1924 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
1925 (pushhi1): Likewise.
1926
276ef573
JDA
19272002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
1928
1929 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
1930 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
1931
617e9ee5
DB
19322002-02-09 David O'Brien <obrien@FreeBSD.org>
1933
1934 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
1935 remove MASK_VIS.
1936 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
1937
6dfa4005
KH
19382002-02-09 Kazu Hirata <kazu@hxi.com>
1939
1940 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
1941 a half of an SImode register on H8/300.
1942
749e7b80
JH
1943Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
1944
1945 * i386.md (movdi_2): Add missing '!'.
1946
ca77d87c
KH
19472002-02-09 Kazu Hirata <kazu@hxi.com>
1948
1949 * config/h8300/h8300.h: Fix formatting. Remove commented-out
1950 definitions.
1951
16c96304
KH
19522002-02-09 Kazu Hirata <kazu@hxi.com>
1953
1954 * config/h8300/h8300.md (length): Correct the distance valid
1955 for the short branch.
1956
a364bc90
KH
19572002-02-09 Kazu Hirata <kazu@hxi.com>
1958
1959 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
1960
e4ec2cac
AO
19612002-02-09 Alexandre Oliva <aoliva@redhat.com>
1962
a138247b
AO
1963 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
1964 registers in SImode.
1965 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
1966 part-clobbered.
1967
2b1fd83f
AO
1968 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
1969 patch.
d9b3eb63 1970
fa5322fa
AO
1971 Contribute sh64-elf.
1972 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
1973 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
1974 (sh_cannot_modify_jumps_p): New function.
1975 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
1976 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
1977 (sh_ms_bitfield_layout_p): New function.
1978 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1979 Zack Weinberg <zack@codesourcery.com>
1980 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
1981 expand_simple_binop instead of expand_binop.
1982 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
1983 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
1984 use of .quad and .uaquad.
1985 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
1986 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
1987 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1988 * config/sh/sh.md (movdi_const, movdi_const_32bit,
1989 movdi_const_16bit): Make sure all CONSTs have modes.
1990 (sym2PIC): Ditto, but by adjusting all callers.
1991 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
1992 if the prologue calls the SHmedia argument decoder or register
1993 saver.
1994 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1995 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
1996 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
1997 (sh_expand_epilogue): Don't emit USE of return target register.
1998 (prepare_move_operands): Legitimize DImode PIC addresses.
1999 (sh_media_register_for_return): Skip tr0, used to initialize the
2000 PIC register.
2001 (sh_expand_prologue): Remove explicit USE of return register.
2002 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
2003 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
2004 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
2005 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
2006 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
2007 EXTRA_CONSTRAINT_T.
2008 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
2009 (MOVI_SHORI_BASE_OPERAND_P): New.
2010 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
2011 (EXTRA_CONSTRAINT_T): Define in terms of them.
2012 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
2013 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
2014 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
2015 alternatives supporting TARGET_REGS.
2016 (UNSPEC_GOTPLT): New constant.
2017 (movdi split): Move incrementing of LABEL_NUSES...
2018 (movdi_const, movdi_const_32bit): Here. Use
2019 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
2020 (movdi_const_16bit): New.
2021 (call, call_value) [flag_pic]: Use GOTPLT.
2022 (call_pop, call_value_pop): New expands.
2023 (call_pop_compact, call_pop_rettramp): New insns.
2024 (call_value_pop_compact, call_value_pop_rettramp): New insns.
2025 (sibcall) [flag_pic]: Use GOT.
2026 (builtint_setjmp_receiver): Remove bogus, unused expand.
2027 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
2028 (*pt, *ptb, ptrel): New insns.
2029 (sym2GOT): Handle DImode GOT.
2030 (sym2GOTPLT, symGOTPLT2reg): New expands.
2031 (sym2PIC): New expand.
2032 (shcompact_return_tramp): Use GOTPLT to return trampoline.
2033 (shcompact_return_tramp_i): Use return register explicitly.
2034 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
2035 disable flag_reorder_blocks.
2036 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
2037 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
2038 clobbers, for clarity.
2039 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
2040 restoring of r0 in macl as MAYBE_DEAD.
2041 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2042 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
2043 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
2044 alter_subreg all over.
2045 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
2046 reload, instead of emitting instructions that would require
2047 reloading.
2048 (casesi_load_media): Add missing modes.
2049 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
2050 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
2051 as used if the argument decoder is called.
2052 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
2053 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
2054 Pmode, then extend it to DImode if necessary.
2055 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
2056 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
2057 constants in FPU-enabled SHmedia, let them be loaded from memory.
2058 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
2059 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
2060 Adjust whitespace in assembly output templates.
2061 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
2062 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
2063 mode of if_then_else.
2064 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
2065 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
2066 sh.h.
2067 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
2068 Joern Rennecke <amylaar@redhat.com>
2069 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
2070 (SUBTARGET_CPP_PTR_SPEC): New.
2071 (SUBTARGET_CPP_SPEC): Remove.
2072 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
2073 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
2074 Fix typo in previous checkin.
2075 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
2076 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
2077 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
2078 Alexandre Oliva <aoliva@redhat.com>
2079 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
2080 what single FP register can hold for SHmedia target.
2081 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
2082 Alexandre Oliva <aoliva@redhat.com>
2083 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
2084 Do not split into SUBREG.
2085 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
2086 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
2087 and added new functions as specified in SH5 ABI r9.
2088 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
2089 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
2090 8-byte boundary.
2091 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
2092 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
2093 gen_consttable_4 and gen_consttable_8. Emit multiple labels
2094 and consttable_window_ends.
2095 2001-06-03 Graham Stott <grahams@redhat,com>
2096 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
2097 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
2098 * config/sh/sh.c (print_operand): Handle floating-point pair,
2099 vector and matrix registers.
2100 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
2101 vector modes into account.
2102 * config/sh/sh.md (movv2sf): Split move between registers into
2103 movdf.
2104 (movv4sf, movv16sf): Introduce insns that get split only after
2105 reload.
2106 * config/sh/shmedia.h: Fix Copyright dates.
2107 * config/sh/ushmedia.h: Likewise. Move loop counter
2108 declarations into conditionals that uses them.
2109 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
2110 loop boundary.
2111 * config/sh/sshmedia.h: Fix Copyright dates.
2112 (sh_media_PUTCFG): Fix constraints.
2113 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
2114 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
2115 ptrmemfunc_vbit_in_delta for SH5.
2116 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
2117 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
2118 * invoke.texi: Likewise.
2119 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2120 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
2121 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
2122 GCC_pop_shmedia_regs_nofpu): New global symbols.
2123 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
2124 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
2125 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
2126 compact function with nonlocal labels.
2127 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
2128 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
2129 (initial_elimination_offset): Account for their stack space.
2130 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
2131 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
2132 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
2133 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
2134 least one of the operands to be a register.
2135 (movv2sf): Likewise. Renamed to movv2sf_i.
2136 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
2137 prepare_move_operands() before emitting SHmedia insns.
2138 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
2139 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
2140 Don't save nor initialize r12. Don't mis-align the stack.
2141 Pad the code with a nop.
2142 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
2143 stack.
2144 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
2145 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
2146 [__SHMEDIA__]: Implement.
2147 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
2148 * config/sh/sh.md: Set latency of `pt' closer to reality.
2149 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
2150 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
2151 Set move, load and store type attributes.
2152 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
2153 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
2154 profiling.
2155 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
2156 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
2157 * config/sh/sh.c (sh_media_register_for_return): New function.
2158 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
2159 branch-target register.
2160 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
2161 * config/sh/sh.md (return_media_i): Use any call-clobbered
2162 branch-target register.
2163 (return_media): If r18 wasn't copied in the prologue, copy it
2164 here.
2165 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
2166 Clear class FP0_REGS.
2167 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
2168 from elf.h.
2169 2001-03-08 DJ Delorie <dj@redhat.com>
2170 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
2171 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
2172 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
2173 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
2174 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
2175 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
2176 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
2177 return value correctly for call_cookie.
2178 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2179 * config/sh/crt1.asm (start): Modified so as to call
2180 ___setup_argv_and_call_main.
2181 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
2182 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
2183 SHmedia mode.
2184 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
2185 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
2186 (STRIP_NAME_ENCODING): Use it.
2187 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
2188 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
2189 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
2190 prepare_scc_operands().
2191 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
2192 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
2193 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
2194 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
2195 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
2196 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
2197 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
2198 used in shcompact_incoming_args.
2199 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
2200 change.
2201 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
2202 mode.
2203 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
2204 Adjust accordingly.
2205 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
2206 Simplify. Adjust. Add sanity check.
2207 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
2208 FPU_SINGLE_BIT.
2209 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
2210 TARGET_SHCOMPACT.
2211 (udivsi3, divsi3): Use them.
2212 (force_mode_for_call): New insn.
2213 (call, call_value, sibcall_value): Emit it before SHcompact
2214 calls.
2215 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
2216 * config/sh/sh.md (call, call_value, sibcall): Make sure the
2217 call cookie is non-NULL before taking its value.
2218 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
2219 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
2220 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2221 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
2222 block.
2223 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
2224 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
2225 temporary for stack adjusts. Use MACL and MACH to pass
2226 arguments to shcompact_incoming_args.
2227 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
2228 clobber r1.
2229 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
2230 (nested_trampoline): Load static chain address into r1.
2231 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
2232 2001-01-07 Alexandre Oliva <aoliva@redhat.com
2233 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
2234 fp_arith_reg_operand().
2235 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
2236 * config/sh/sh.md (casesi): Sign-extend the first two operands,
2237 and use signed compares for them.
2238 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
2239 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
2240 ones properly aligned.
2241 (find_barrier): Account for extra alignment needed for 8-byte wide
2242 constants.
2243 (machine_dependent_reorg): Require a label for the second 4-byte
2244 constant after an 8-byte one.
2245 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
2246 change.
2247 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
2248 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
2249 last_float when switching float modes.
2250 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
2251 auto-increment for general-purpose registers.
2252 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
2253 result.
2254 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
2255 for stack adjust.
2256 * config/sh/sh.c (sh_builtin_saveregs): Support using all
2257 registers for varargs.
2258 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
2259 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
2260 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
2261 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
2262 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
2263 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
2264 call_cookie accordingly.
2265 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
2266 (SHCOMPACT_BYREF): Likewise.
2267 (SHCOMPACT_FORCE_ON_STACK): New macro.
2268 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
2269 (sh_builtin_saveregs): Likewise.
2270 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
2271 shcompact_incoming_args): Use new shift values. Support
2272 sequences of consecutive and non-consecutive pushes/pops.
2273 * config/sh/sh.md (return): Don't explicitly use PR_REG.
2274 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
2275 * config/sh/sh.h (TEXT_SECTION): Define.
2276 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
2277 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
2278 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
2279 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
2280 return values on FPU-enabled SHmedia.
2281 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
2282 FPU-enabled SHmedia.
2283 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
2284 value is returned in a non-FP reg and is not returned by
2285 reference.
2286 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
2287 jump_ind.
2288 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
2289 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
2290 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
2291 quad-aligned to be passed by callee-copy reference.
2292 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
2293 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
2294 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
2295 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
2296 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
2297 copying low-numbered FP regs to r7 and r8.
2298 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
2299 FP regs to general-purpose regs only if the copy was passed on the
2300 stack.
2301 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
2302 copying FP reg to r9.
2303 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
2304 copy FP regs to general-purpose regs only in outgoing calls.
2305 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
2306 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
2307 HOST_WIDE_INT.
2308 * config/sh/sh.h (struct sh_args): Document all fields.
2309 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
2310 passed partially on the stack should not consider making
2311 sibcalls.
2312 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
2313 stack_regs only for incoming calls. When passing FP args,
2314 make sure there are FP regs available before modifying
2315 call_cookie.
2316 (SHCOMPACT_BYREF): Pass double args in general-purpose
2317 registers by reference.
2318 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
2319 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
2320 attempt to generate sibcalls if the caller got any arguments
2321 by reference.
2322 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
2323 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
2324 to 8-byte boundaries.
2325 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
2326 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
2327 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
2328 stored in the stack.
2329 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
2330 for the offsets to have the ISA bit set.
2331 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
2332 invocation. Use beq instead of bgt to mark end of sequence of
2333 loads.
2334 (shcompact_incoming_args): Fix store of r2. Use beq instead of
2335 bgt to mark end of sequence of stores.
2336 * config/sh/sh.c (arith_operand): Don't check whether
2337 CONST_OK_FOR_J for now.
2338 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
2339 instead of long for conversion.
2340 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
2341 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
2342 before passing it to fprintf.
2343 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
2344 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
2345 Call set_fpscr before reading/writing SR.
2346 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
2347 Call set_fpscr.
2348 * config/sh/lib1funcs.asm: Add `.align 2' directives before
2349 SHmedia code.
2350 (FMOVD_WORKS): Define on SH5 with FPU.
2351 (set_fpscr): Define on SH5. Remove separate _fpscr_values
2352 setting.
2353 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
2354 _fpscr_values.
2355 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
2356 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
2357 address.
2358 (ia_main_table): Ditto.
2359 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
2360 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
2361 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
2362 the definitions from sh.h.
2363 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
2364 TARGET_SH5.
2365 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
2366 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
2367 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
2368 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
2369 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
2370 Increment LABEL_NUSES.
d9b3eb63 2371
fa5322fa
AO
2372 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
2373 TARGET_SH5.
2374 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
2375 defined.
2376 * config/sh/elf.h (SIZE_TYPE): Likewise.
2377 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
2378 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
2379 shcompact_incoming_args): Load switch table addresses using
2380 datalabel.
2381 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
2382 (NO_BUILTIN_SIZE_TYPE): Define.
2383 (SIZE_TYPE): Don't define.
2384 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
2385 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
2386 definition of __SH5__=32 for -m5-compact-nofpu.
2387 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
2388 ADDR_DIFF_VEC.
2389 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
2390 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
2391 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
2392 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
2393 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
2394 (INSN_LENGTH_ALIGNMENT): Likewise.
2395 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
2396 * config/sh/sh.md (call, call_value, sibcall): Simplify
2397 copying of non-branch-target register.
2398 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
2399 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
2400 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
2401 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
2402 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
2403 floating-point values as structs.
2404 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
2405 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
2406 general-purpose register.
2407 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
2408 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
2409 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
2410 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
2411 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
2412 (ENCODE_SECTION_INFO): Enclose variables and constants in
2413 DATALABEL unspecs.
2414 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
2415 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
2416 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
2417 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
2418 only for LABEL_REFs. For SYMBOL_REFs, prepend
2419 SH_DATALABEL_ENCODING to the symbol name.
2420 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
2421 convert_mode().
2422 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
2423 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
2424 UNSPEC_DATALABEL.
2425 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
2426 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
2427 (DATALABEL_REF_P): Don't require CONST.
2428 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
2429 REL label.
2430 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
2431 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
2432 right.
2433 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
2434 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
2435 Use shallow_copy_rtx and PUT_MODE to change the mode of
2436 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
2437 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
2438 on SHmedia using GENERAL_REGs.
2439 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
2440 bltu_media_i): Fix reversion of conditions.
2441 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
2442 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
2443 * config/sh/sh.c (output_far_jump): Save r13 in macl.
2444 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
2445 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
2446 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
2447 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
2448 (GCC_nested_trampoline): Likewise.
2449 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
2450 * config/sh/sh.c (gen_datalabel_ref): Define.
2451 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
2452 (INITIALIZE_TRAMPOLINE): Likewise.
2453 (TRAMPOLINE_ADJUST_ADDRESS): Define.
2454 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
2455 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
2456 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
2457 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
2458 (ic_invalidate): Adjust for SH5.
2459 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
2460 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
2461 _nested_trampoline.
2462 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
2463 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
2464 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
2465 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
2466 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
2467 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
2468 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
2469 * config/sh/sh.c (target_reg_operand): Match only target-branch
2470 registers and pseudos that aren't virtual registers.
2471 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
2472 Copy operands that don't match target_reg_operand to pseudos.
2473 (call_media, call_value_media, sibcall_media): Use
2474 target_reg_operand instead of target_operand.
2475 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 2476 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
2477 * config/sh/sh.c (target_reg_operand): Match hardware registers
2478 other than branch-target registers.
2479 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
2480 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
2481 (fpscr_values) [SH5 == 32]: Define.
2482 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
2483 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
2484 Handle function addresses coming in SUBREGs.
2485 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
2486 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
2487 shcompact_return_trampoline): Use datalabel where appropriate.
2488 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
2489 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
2490 general-purpose register to copy one branch-target register to
2491 another.
2492 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
2493 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
2494 SYMBOL_REFs with VOIDmode.
2495 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
2496 bltu_media_i): New insns.
2497 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
2498 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
2499 (INIT_CUMULATIVE_ARGS): Likewise.
2500 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
2501 * machmode.def (V16SFmode): New mode.
2502 * c-common.c (type_for_mode): Support V2SF and V16SF.
2503 * tree.c (build_common_tree_nodes_2): Likewise.
2504 * tree.h (tree_index): Likewise.
2505 * calls.c (emit_call_1): Take args_so_far. Adjust all
2506 callers. Introduce CALL_POPS_ARGS.
2507 * tm.texi (CALL_POPS_ARGS): Document.
2508 * config/sh/crt1.asm: Implement in SHmedia mode.
2509 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
2510 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
2511 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
2512 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
2513 Implement divsi and udivsi in SHmedia mode. Introduce
2514 SHcompact trampolines.
2515 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
2516 only in SHmedia64.
2517 (regno_reg_class): Rewrite.
2518 (fp_reg_names): Remove.
2519 (sh_register_names, sh_additional_register_names): New.
2520 (print_operand): Added `u'. Support SUBREGs in addresses.
2521 Add parentheses around shifted CONSTs.
2522 (output_file_start): Output .mode and .abi directives.
2523 (shiftcosts, addsubcosts, multcosts): Adjust.
2524 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
2525 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
2526 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
2527 bytes, not registers. Take into account the need for the
2528 SHcompact incoming args trampoline. Adjust all callers.
2529 (sh_expand_prologue): Take stack_regs into account. Call
2530 incoming args trampoline. Keep stack aligned as per SH5 ABI.
2531 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
2532 stack aligned as per SH5 ABI.
2533 (sh_builtin_saveregs): Support SH5 ABI.
2534 (sh_build_va_list, sh_va_start): Likewise.
2535 (initial_elimination_offset): Take alignment into account.
2536 Compute location of PR according to the SH5 stack frame.
2537 (arith_reg_operand): Reject branch-target registers.
2538 (shmedia_6bit_operand): New.
2539 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
2540 (target_reg_operand): Match DImode only. Accept SUBREGs.
2541 (target_operand): New.
2542 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
2543 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
2544 SIBCALL_REGS for SHmedia.
2545 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
2546 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
2547 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
2548 (TARGET_SWITCHES): New SH5 flags.
2549 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
2550 VALID_REGISTER_P to disable unsupported registers.
2551 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
2552 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
2553 (FUNCTION_ARG_PADDING): Define.
2554 (FASTEST_ALIGNMENT): Adjust.
2555 (SH_REGISTER_NAMES_INITIALIZER): New.
2556 (sh_register_names): Declare.
2557 (DEBUG_REGISTER_NAMES): Define.
2558 (REGISTER_NAMES): Define based on sh_register_names.
2559 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
2560 (sh_additional_register_names): Declare.
2561 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
2562 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
2563 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
2564 (REGISTER_NATURAL_MODE): Define.
2565 (FIRST_PSEUDO_REGISTER): Adjust.
2566 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
2567 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
2568 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
2569 (VECTOR_MODE_SUPPORTED_P): Define.
2570 (REG_CLASS_CONTENTS): Adjust.
2571 (SMALL_REGISTER_CLASSES): Adjust.
2572 (REG_ALLOC_ORDER): Adjust.
2573 (INDEX_REG_CLASS): Adjust.
2574 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
2575 (CONST_OK_FOR_LETTER_P): Adjust.
2576 (PREFERRED_RELOAD_CLASS): Adjust.
2577 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
2578 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
2579 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
2580 (FIRST_FP_PARM_REG): Adjust.
2581 (CALL_POPS_ARGS): Define.
2582 (FUNCTION_ARG_REGNO_P): Adjust.
2583 (struct sh_args): New fields.
2584 (GET_SH_ARG_CLASS): Adjust.
2585 (INIT_CUMULATIVE_ARGS): Adjust.
2586 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
2587 (FUNCTION_ARG_ADVANCE): Adjust.
2588 (FUNCTION_ARG): Adjust.
2589 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
2590 (FUNCTION_ARG_CALLEE_COPIES): Define.
2591 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
2592 (STRICT_ARGUMENT_NAMING): Define.
2593 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
2594 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
2595 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
2596 (SETUP_INCOMING_VARARGS): Adjust.
2597 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
2598 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
2599 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
2600 (SUBREG_OK_FOR_INDEX_P): Adjust.
2601 (EXTRA_CONSTRAINT_S): Update.
2602 (EXTRA_CONSTRAINT_T): New.
2603 (EXTRA_CONSTRAINT): Adjust.
2604 (GO_IF_LEGITIMATE_INDEX): Adjust.
2605 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
2606 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
2607 (MOVE_MAX): Adjust.
2608 (MAX_MOVE_MAX): Define.
2609 (Pmode): Adjust.
2610 (CONST_COSTS): Adjust.
2611 (REGISTER_MOVE_COST): Adjust.
2612 (BRANCH_COST): Adjust.
2613 (TEXT_SECTION_ASM_OP): Adjust.
2614 (DBX_REGISTER_NUMBER): Adjust.
2615 (ASM_OUTPUT_DOUBLE_INT): New.
2616 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
2617 (PREDICATE_CODES): Adjust.
2618 (PROMOTE_MODE): Adjust.
2619 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
2620 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
2621 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
2622 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
2623 (DR0_REG, DR2_REG, DR4_REG): Renumber.
2624 (TR0_REG, TR1_REG, TR2_REG): New.
2625 (XD0_REG): Renumber.
2626 (UNSPEC_COMPACT_ARGS): New.
2627 (type): Added pt and ptabs.
2628 (length): Default to 4 on SHmedia. Default pt length to 12
2629 and 20 on SHmedia32 and SHmedia64, respectively.
2630 (pt): New function unit.
2631 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
2632 Add whitespace between operands of SHmedia instructions.
2633 (movdicc): Fix.
2634 (adddi3_media, addsi3_media): Adjust constraints.
2635 (subsi3) [SHmedia]: Force operand 1 into a register.
2636 (udivsi3_i1_media, udivsi3_i4_media): New.
2637 (udivsi3): Support SHmedia.
2638 (divsi3_i1_media, divsi3_i4_media): New.
2639 (divsi3): Support SHmedia.
2640 (anddi3, iordi3, xordi3): Adjust constraints.
2641 (zero_extendhidi2, zero_extendqidi2): New.
2642 (extendsidi2, extendhidi2, extendqidi2): New.
2643 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
2644 (pop_e, pop_fpul, pop_4): Likewise.
2645 (movsi_media): Support FP and BT registers.
2646 (movsi_media_nofpu): New. Adjust splits to DImode.
2647 (lduw, ldub): Renamed to zero_extend* above.
2648 (movqi_media): Fix typo.
2649 (movdi_media): Support FP and BT registers.
2650 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
2651 (movdi_const_32bit): New.
2652 (shori_media): Require immediate operand. Use `u' for output.
2653 (movdf_media, movsf_media): Simplified.
2654 (movdf_media_nofpu, movsf_media_nofpu): New.
2655 (movdf, movsf): Adjust
2656 (movv2sf, movv2sf, movv16sf): New.
2657 (beq_media, beq_media_i): Adjust constraints. Don't use
2658 scratch BT register.
2659 (bne_media, bne_media_i): Likewise.
2660 (bgt_media, bgt_media_i): Likewise.
2661 (bge_media, bge_media_i): Likewise.
2662 (bgtu_media, bgtu_media_i): Likewise.
2663 (bgeu_media, bgeu_media_i): Likewise.
2664 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
2665 bunordered): Emit jump insn. Force operands to registers when
2666 needed.
2667 (jump_media, jump): Simplify.
2668 (call_compact, call_compact_rettramp): New.
2669 (call_value_compact, call_value_compact_rettramp): New.
2670 (call_media, call_value_media): Simplify.
2671 (sibcall_compact, sibcall_media): New.
2672 (call, call_value): Adjust for SHmedia and SHcompact.
2673 (sibcall, sibcall_value, untyped_call): Likewise.
2674 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
2675 (indirect_jump): Adjust for SHmedia.
2676 (casesi_jump_media): New.
2677 (nop): Re-enable for SHmedia.
2678 (call_site): Restrict to SH1.
2679 (casesi): Adjust for SHmedia.
2680 (casesi_shift_media, casesi_load_media): New.
2681 (return): Explicitly use PR register. Call return trampoline
2682 on SHcompact.
2683 (return_i): Explicitly use PR register.
2684 (shcompact_return_tramp, shcompact_return_tramp_i): New.
2685 (return_media): Adjust.
2686 (shcompact_incoming_args): New.
2687 (epilogue): Adjust.
2688 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2689 (movstrsi): Disable on SH5.
2690 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
2691 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
2692 (subsf3, subsf3_media): Likewise.
2693 (mulsf3, mulsf3_media, mac_media): Likewise.
2694 (divsf3, divsf3_media): Likewise.
2695 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
2696 (floatsisf2, fux_truncsfsi2): Likewise.
2697 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
2698 constraints.
2699 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
2700 (cmpunsf_media, cmpsf): Likewise.
2701 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
2702 (abssf2, abssf2_media): Likewise.
2703 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
2704 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
2705 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
2706 (floatsidf2, fix_truncdfsi2): Likewise.
2707 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
2708 constraints.
2709 (cmpeqdf_media, cmpgtdf_media): Likewise.
2710 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
2711 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
2712 (absdf2, absdf2_media): Likewise.
2713 (extendsfdf2, extendsfdf2_media): Likewise.
2714 (truncsfdf2, truncsfdf2_media): Likewise.
2715 * config/sh/sh64.h: New file.
2716 * config/sh/t-sh64: New file.
2717 * config/sh/shmedia.h: New file.
2718 * config/sh/ushmedia.h: New file.
2719 * config/sh/sshmedia.h: New file.
2720 * configure.in: Added sh64-*-elf.
2721 * configure: Rebuilt.
2722 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
2723 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
2724 (reg_class_from_letter): Use `b' for TARGET_REGS.
2725 (print_operand): Support `%M', `%m', `AND' and
2726 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
2727 (andcosts): Adjust for SHmedia.
2728 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
2729 Likewise.
2730 (target_reg_operand): New function.
2731 * config/sh/sh-protos.h (target_reg_operand): Declare.
2732 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
2733 FP registers on SH5.
2734 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
2735 on SH4.
2736 (TARGET_REGISTER_P): New macro.
2737 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
2738 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
2739 (EXTRA_CONSTRAINT_S): New macro.
2740 (EXTRA_CONSTRAINT): Adjust.
2741 (FLOAT_TYPE_SIZE): Define to 32.
2742 (Pmode): DImode on SHmedia.
2743 (CONST_COSTS): Adjust for SHmedia literals.
2744 (PREDICATE_CODES): Added target_reg_operand.
2745 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
2746 * config/sh/sh.md: Remove all attrs from SHmedia insns.
2747 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
2748 (cmpdi): Accept SHmedia.
2749 (movdicc_false, movdicc_true): New insns.
2750 (movdicc): New expand.
2751 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
2752 no_new_pseudos.
2753 (addsi3_media): Match `S' constraint.
2754 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
2755 (negdi2): Expand for SHmedia.
2756 (one_cmpldi2): New expand.
2757 (zero_extendsidi2): Change from expand to insn.
2758 (extendsidi2): Add constraints.
2759 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
2760 LD/ST address. Fix SI immediate loading split.
2761 (movhi_media, movqi_media, lduw, ldub): New insns.
2762 (movhi, movqi): Accept SHmedia.
2763 (shori_media, movdi_media): Relax input constraints. Split
2764 symbolic constants.
2765 (movdf_media, movsf_media): New insn. New split to movdi.
2766 (movdf, movsf): Match on SHmedia.
2767 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
2768 bgeu_media): New insns and splits. New insns with `_i' suffix.
2769 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
2770 (bunordered): New expand.
2771 (jump_compact): Renamed from `jump'.
2772 (jump_media): New insn.
2773 (jump): New expand.
2774 (call_media, call_value_media): New insns.
2775 (call, call_value): Adjust.
2776 (indirect_jump_compact): Renamed from `indirect_jump'.
2777 (indirect_jump_media): New insn.
2778 (indirect_jump): New expand.
2779 (untyped_call, return): Accept SHmedia.
2780 (return_media): New insn.
2781 (prologue, epilogue, blockage): Accept SHmedia.
2782 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
2783 (sunordered): New expand.
2784 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
2785 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
2786 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
2787 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
2788 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
2789 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
2790 abssf2_media): New insns.
2791 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
2792 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
2793 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
2794 floatdidf2, floatsidf2_media, fix_truncdfdi2,
2795 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
2796 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
2797 absdf2_media): New insns.
2798 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
2799 (extendsfdf2_media, truncdfsf2_media): New insns.
2800 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
2801 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
2802 * config/sh/sh.h (CONST_OK_FOR_J): Document.
2803 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
2804 * config/sh/sh.md (adddi3): New expand.
2805 (adddi3_media, adddi3z_media): New insns.
2806 (adddi3_compact): Renamed from adddi3.
2807 (addsi3_media): Use add.l r63 to add constant zero.
2808 (subdi3): New expand.
2809 (subdi3_media): New insn.
2810 (subdi3_compact): Renamed from subdi3.
2811 (mulsidi3): New expand.
2812 (mulsidi3_media): New insn.
2813 (mulsidi3_compact): Renamed from mulsidi3.
2814 (umulsidi3): New expand.
2815 (umulsidi3_media): New insn.
2816 (umulsidi3_compact): Renamed from umulsidi3.
2817 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
2818 (ashlsi3, ashrsi3, lshrsi3): Use them.
2819 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
2820 (ashldi3, ashrdi3, lshrdi3): Use them.
2821 (zero_extendsidi2): New expand.
2822 (extendsidi2): New insn.
2823 (movsi_media): New insn. Split to movdi to load constants.
2824 (movsi): Enable for shmedia.
2825 (movdi_media): New insn. Use shori_media to load wide constants.
2826 (short_media): New insn.
2827 (movdi): Enable for shmedia.
2828 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
2829 * config/sh/sh.h (CPP_SPEC): Added `m5'.
2830 (SUBTARGET_CPP_SPEC): Added `!m5'.
2831 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
2832 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
2833 to all other SH variants.
2834 (TARGET_DEFAULT): Set to SH1_BIT.
2835 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
2836 (BITS_PER_WORD): Raise to 64 on shmedia.
2837 (MAX_BITS_PER_WORD): Change to 64.
2838 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
2839 (INT_TYPE_SIZE): Keep as 32.
2840 (UNITS_PER_WORD): Raise to 8 on shmedia.
2841 (MIN_UNITS_PER_WORD): Keep as 4.
2842 (POINTER_SIZE): Raise to 64 on shmedia.
2843 (CONST_OK_FOR_J): New macro.
2844 (CONST_OK_FOR_LETTER_P): Use it.
2845 (processor_type): Add PROCESSOR_SH5.
2846 * config/sh/sh.md: Conditionalize all expands, insns and
2847 splits to TARGET_SH1.
2848 (cpu): Added sh5.
2849 (addsi3_compact): Renamed from...
2850 (addsi3): Now an expand.
2851 (addsi3_media, subsi3_media): New insns.
2852 (subsi3): Don't negate constants with SHmedia.
2853
e4ec2cac
AO
2854 * hooks.c: New file.
2855 * hooks.h: New file.
2856 * Makefile.in (HOOKS_H): New.
2857 (TARGET_DEF_H): Added $(HOOKS_H).
2858 (OBJS): Added hooks.o.
2859 (cfgcleanup.o, bb-reorder.o): Added target.h.
2860 (hooks.o): Added dependencies.
2861 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
2862 (TARGET_INITIALIZER): this.
2863 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
2864 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
2865 * bb-reorder.c: Include target.h.
2866 (reorder_basic_blocks): Skip if cannot modify jumps.
2867 * cfgcleanup.c: Include target.h.
2868 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
2869
246a46e0
CD
28702002-02-08 Chris Demetriou <cgd@broadcom.com>
2871
831c4e87
KC
2872 * config/mips/mips.md (casesi_internal, casesi_internal_di):
2873 Protect jump delay slot instructions with .set noreorder and
2874 .set nomacro.
246a46e0
CD
2875
28762002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
2877
2878 * config/mips/mips.md (casesi_internal_di): Calculate
2879 the index into the target offset table correctly.
2880
fdf473ae
RH
28812002-02-08 Richard Henderson <rth@redhat.com>
2882
2883 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
2884 * final.c (output_addr_const): Accept and discard SUBREG.
2885 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
2886 mark them unknown instead.
2887 (simplify_subtraction): Handle RTX_UNKNOWN.
2888 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
2889
c50503ac
DE
28902002-02-08 David Edelsohn <edelsohn@gnu.org>
2891
2892 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
2893
3660d217
RH
28942002-02-08 Richard Henderson <rth@redhat.com>
2895
2896 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
2897
56547299
AJ
28982002-02-08 Andreas Jaeger <aj@suse.de>
2899
2900 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
2901 * config/i386/t-linux64: New file.
2902
1cf537c5
JJ
29032002-02-08 Jakub Jelinek <jakub@redhat.com>
2904
2905 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
2906 * c-parse.in (compstmt): Clear last_expr_type.
2907
5c7f5a5f
RH
29082002-02-07 Richard Henderson <rth@redhat.com>
2909
2910 * loop.c (strength_reduce): Sink final_value when not
2911 eliminating a biv.
2912
b1138bf3
DB
29132002-02-07 David O'Brien <obrien@FreeBSD.org>
2914
2915 * config/sparc/freebsd.h: Fix mismatched spec {.
2916
b6878a45
RH
29172002-02-07 Richard Henderson <rth@redhat.com>
2918
2919 * cfgrtl.c: Include recog.h and insn-config.h.
2920 (keep_with_call_p): Fix general_operand invocation.
2921 * Makefile.in (cfgrtl.o): Update dependencies.
2922
ae19f5ef
KH
29232002-02-07 Kazu Hirata <kazu@hxi.com>
2924
2925 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
2926 comment. Accept HImode only if TARGET_H8300.
2927
b137f9fc
EC
29282002-02-07 Eric Christopher <echristo@redhat.com>
2929
2930 * config/mips/crtn.asm: Cleanup #ifdefs.
2931
29322002-02-07 Eric Christopher <echristo@redhat.com>
2933
2934 * config/mips/crti.asm: Add changes for mips16. mips16 uses
2935 register 7 as RA instead of $31.
2936 * config/mips/crtn.asm: Ditto.
2937 * config/mips/mips.c (mips_move_2words): Add case for
2938 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
2939 (compute_frame_size): Fix typo.
2940 (save_restore_insns): Ditto. Make documentation about using
2941 register $7 as return register more precise.
2942 (mips_expand_epilogue): Fix comment. Add code to work around not
2943 being able to add to the stack pointer directly.
2944 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
2945 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
2946 epilogue.
2947
768070a0
TR
29482002-02-07 Tom Rix <trix@redhat.com>
2949
b137f9fc 2950 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
2951 immediates in ldu and stdu DS opcode field.
2952 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
2953 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
2954 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
2955
225909c3
JS
29562002-02-07 Jeff Sturm <jsturm@one-point.com>
2957
2958 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
2959 offset for stack bias.
2960
15fae023
L
29612002-02-07 H.J. Lu <hjl@gnu.org>
2962
2963 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
2964
fde5badd
UW
29652002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
2966
2967 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
2968
162f023b
JH
2969Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
2970
2971 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
2972 * i386.c (x86_order_regs_for_local_alloc): New global function.
2973 * i386.h (REG_ALLOC_ORDER): CLeanup.
2974 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
2975
9b462c42
RH
29762002-02-07 Richard Henderson <rth@redhat.com>
2977
85aa876c 2978 PR optimization/2463
9b462c42
RH
2979 * alias.c (find_base_value): Recall base values for fixed hard regs.
2980 * loop.c (loop_regs_update): Don't use single_set on non-insns.
2981
06e455a9
AO
29822002-02-07 Alexandre Oliva <aoliva@redhat.com>
2983
2984 * config/mips/mips.md (define_delay) [mips16]: Adjust required
2985 length.
2986
edd1967d
RH
29872002-02-06 Richard Henderson <rth@redhat.com>
2988
2989 PR c/5609
2990 * stmt.c (resolve_operand_name_1): Take more care with mixed
2991 named and unnamed operands.
2992
a2cd028f
JJ
29932002-02-06 Janis Johnson <janis187@us.ibm.com>
2994 Jan Hubicka <jh@suse.cz>
2995
2996 * loop.c (remove_constant_addition): Avoid clobbering a shared
2997 CONST expression.
2998
e8487c04
UW
29992002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
3000
3001 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
3002 * config/s390/t-linux64: New file.
3003 * config/s390/libgcc-glibc.ver: New file.
3004
58d10f89
UW
30052002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
3006
3007 * config/s390/linux64.h: Delete file.
3008 * config/s390/s390x.h: New file.
3009 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
3010 as target header file.
3011 * config/s390/linux.h (TARGET_VERSION): Define depending on
3012 DEFAULT_TARGET_64BIT.
3013 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
3014 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
3015 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
3016 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
3017 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
3018 (EXTRA_SPEC): New define.
3019 * config/s390/s390.h (TARGET_VERSION): Define depending on
3020 DEFAULT_TARGET_64BIT.
3021 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
3022
5ce89b2e
JM
30232002-02-06 Jason Merrill <jason@redhat.com>
3024
3025 * c-decl.c (finish_function): Warn about a non-void function with
3026 no return statement and no abnormal exit.
3027 (current_function_returns_abnormally): New variable.
3028 (start_function): Clear it.
3029 (struct c_language_function): Add returns_abnormally.
3030 (push_c_function_context): Save it.
3031 (pop_c_function_context): Restore it.
3032 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
3033 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
3034 an explicit return type.
3035 * c-tree.h: Declare current_function_returns_abnormally.
3036 (C_FUNCTION_IMPLICIT_INT): New macro.
3037 * c-typeck.c (build_function_call): Set it.
3038 (c_expand_return): Set current_function_returns_value even if the
3039 value is erroneous.
3040
caaf2272
JJ
30412002-02-06 Jakub Jelinek <jakub@redhat.com>
3042
3043 PR c/5420:
3044 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
3045 unsafe for reevaluation.
3046
d5129288
JJ
30472002-02-06 Jakub Jelinek <jakub@redhat.com>
3048
3049 PR c/5482:
3050 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
3051 EXPR_STMT, but COMPOUND_STMT, recurse into it.
3052
7fb75099
RH
30532002-02-06 Richard Henderson <rth@redhat.com>
3054
3055 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
3056 be a general_operand. Dest for function value must be a pseudo.
3057
d3a8b6a6
NC
30582002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
3059
3060 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
3061 as SYMBOL_REFs from the constant pool.
3062
3c1299c5
AO
30632002-02-06 Alexandre Oliva <aoliva@redhat.com>
3064
3065 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
3066 passed by invisible reference.
3067
c2c9f6c9
RH
30682002-02-05 Richard Henderson <rth@redhat.com>
3069
3070 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
3071
a824924d
HPN
30722002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
3073
3074 Implement using "base addresses" in insn operands as default.
3075 * config/mmix/mmix.c (mmix_conditional_register_usage): if
3076 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
3077 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
3078 used to read the rtx value.
3079 (mmix_target_asm_function_epilogue): Fix spacing.
3080 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
3081 (mmix_legitimate_address): Ditto.
3082 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
3083 should be loaded with a GETA insn. Don't allocate needless extra
3084 char for nul termination and fix misleading comment.
3085 (mmix_print_operand_address): Handle constants if
3086 TARGET_BASE_ADDRESSES.
3087 (mmix_output_register_setting): Use base addressing if
3088 TARGET_BASE_ADDRESSES and the number of insns is 3.
3089 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
3090 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
3091 to use R as constraint, add LDA to match s.
3092 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
3093 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
3094 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
3095 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
3096 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
3097 order with other fixed registers.
3098 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
3099 other parameter/call-clobbered registers.
3100 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
3101 -mbase-addresses, -mno-base-addresses.
3102 (MMIX Options): Ditto.
3103
73c342b9
JDA
31042002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
3105
3106 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
3107
ef238c58
AH
31082002-02-06 Aldy Hernandez <aldyh@redhat.com>
3109
831c4e87 3110 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 3111
ad08e60e
JT
31122002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
3113
3114 * config/netbsd.h (WCHAR_TYPE): Define.
3115 (WCHAR_TYPE_SIZE): Ditto.
3116 (WINT_TYPE): Ditto.
3117 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
3118 (WCHAR_UNSIGNED): Ditto.
3119 (WCHAR_TYPE_SIZE): Ditto.
3120 (WINT_TYPE): Ditto.
3121 * config/arm/netbsd.h: Likewise.
3122 * config/i386/netbsd-elf.h: Likewise.
3123 * config/i386/netbsd.h: Likewise.
3124 * config/m68k/netbsd-elf.h: Likewise.
3125 * config/m68k/netbsd.h: Likewise.
3126 * config/ns32k/netbsd.h: Likewise.
3127 * config/sparc/netbsd.h: Likewise.
3128 * config/vax/netbsd.: Likewise.
3129
f913c102
AO
31302002-02-05 Alexandre Oliva <aoliva@redhat.com>
3131
3132 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
3133 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
3134 (TARGET_INITIALIZER): this.
3135 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
3136 (BITFIELD_NBYTES_LIMITED): Markup fix.
3137 * tree.h (default_ms_bitfield_layout_p): Declare.
3138 (record_layout_info): Added prev_field.
3139 * tree.c (default_ms_bitfield_layout_p): New fn.
3140 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
3141 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
3142 * stor-layout.c: Include target.h.
3143 (start_record_layout): Initialize prev_field.
3144 (place_field): Handle MS bit-field layout, and disregard
3145 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
3146 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
3147 * Makefile.in (stor-layout.o): Adjust dependencies.
3148
c13db5d1
JM
31492002-02-05 Jason Merrill <jason@redhat.com>
3150
c13db5d1
JM
3151 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
3152
4505024e
AJ
31532002-02-05 Andreas Jaeger <aj@suse.de>
3154
3155 * crtstuff.c: Fix comments.
3156
794ad79d
RH
31572002-02-05 Richard Henderson <rth@redhat.com>
3158
2e279a9b
RH
3159 PR fortran/3393
3160 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
3161 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
3162
794ad79d
RH
3163 PR fortran/3392
3164 * config/mips/mips.c (function_arg): Handle TImode.
3165 (function_arg_advance): Likewise.
3166
8f909017
AH
31672002-02-05 Aldy Hernandez <aldyh@redhat.com>
3168
c13db5d1
JM
3169 * config/rs6000/altivec.h (vec_step_help): Rename to
3170 __vec_step_help.
8f909017 3171
66daa9e3
AH
31722002-02-05 Aldy Hernandez <aldyh@redhat.com>
3173
c13db5d1 3174 * config/rs6000/altivec.h: Fix typos.
66daa9e3 3175
2696e97b
JT
31762002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
3177
3178 * config/arm/netbsd.h: Correct a comment.
3179
3deb2758
AH
31802002-02-05 Aldy Hernandez <aldyh@redhat.com>
3181
c13db5d1
JM
3182 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
3183 building void typed builtins.
3deb2758 3184
c13db5d1
JM
3185 * config/rs6000/altivec.h (vec_ld*): Fix typos.
3186 (vec_step): Implement for C++.
3deb2758 3187
c13db5d1 3188Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
3189
3190 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
3191
ebbb0a63
RH
31922002-02-04 Richard Henderson <rth@redhat.com>
3193
3194 * combine.c (nonzero_bits): Re-introduce special case for
3195 sp/fp/ap wrt REGNO_POINTER_ALIGN.
3196
ae4b4a02
AH
31972002-02-05 Aldy Hernandez <aldyh@redhat.com>
3198
c13db5d1
JM
3199 * doc/extend.texi: Warn about unsupported usage of altivec
3200 builtins.
ae4b4a02 3201
c13db5d1
JM
3202 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
3203 (altivec_predicate_*): New.
ae4b4a02 3204
c13db5d1
JM
3205 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
3206 Add C++ version of vec_*() functions.
ae4b4a02 3207
c13db5d1
JM
3208 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
3209 (bdesc_2arg): Remove altivec predicates.
3210 (altivec_expand_builtin): Handle predicates.
3211 (altivec_init_builtins): Handle predicates.
3212 (altivec_expand_predicate_builtin): New.
ae4b4a02 3213
f6bcf44c
JDA
32142002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3215
3216 * pa.c (DO_FRAME_NOTES): Move forward.
3217 (store_reg): Revise handling of frame notes.
3218 (load_reg): Likewise.
3219 (set_reg_plus_d): Likewise.
3220 (hppa_expand_prologue): Likewise.
3221 (hppa_expand_epilogue): Likewise.
b137f9fc 3222
703b0080
JDA
32232002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3224
3225 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
3226
6f9fdf4d
JJ
32272002-02-04 Jakub Jelinek <jakub@redhat.com>
3228
3229 PR c/4475, c++/3780:
3230 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
3231 * c-common.h (SWITCH_TYPE): Define.
3232 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
3233 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
3234 Rename spareness variable to sparseness.
3235 (expand_end_case_type): Renamed from expand_end_case, use orig_type
3236 if non-NULL instead of TREE_TYPE (orig_index).
3237 * tree.h (expand_end_case_type): Renamed from expand_end_case.
3238 (expand_end_case): Define using expand_end_case_type.
3239 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
3240 to expand_end_case_type.
3241 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
3242
79109502
JDA
32432002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3244
3245 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
3246 (BIGGEST_ALIGNMENT): Change to 128.
3247
e62a5987
JDA
32482002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3249
3250 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
3251
219f24a4
JDA
32522002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
3253
3254 * pa.md (call_internal_reg_64bit): Remove unused variable.
3255
3cb66fd7
NC
32562002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
3257
3258 * config/arm/arm.h (machine_function): Add uses_anonymous_args
3259 field.
831c4e87 3260 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 3261 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
3262 replace uses with cfun->machine->uses_anonymous_args.
3263 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
3264
3265 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
3266 any geenral register.
b137f9fc 3267
24c545ff
BS
32682001-02-04 Bernd Schmidt <bernds@redhat.com>
3269
3270 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
3271 the entry block.
3272
563c12b0
RH
32732002-02-04 Richard Henderson <rth@redhat.com>
3274
3275 * combine.c (force_to_mode): Remove STACK_BIAS code.
3276 (nonzero_bits): Likewise. Replace sp/fp special case with
3277 REGNO_POINTER_ALIGN.
3278
3279 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
3280 (HARD_FRAME_POINTER_REGNUM): New.
3281 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
3282 (FIXED_REGS, CALL_USED_REGS): Update.
3283 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
3284 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
3285 (HARD_REGNO_NREGS): Update for SFP.
3286 (STACK_POINTER_OFFSET): Include bias here ...
3287 (FIRST_PARM_OFFSET): ... not here.
3288 (STACK_BIAS): Remove.
3289 (INIT_EXPANDERS): New.
3290 (STARTING_FRAME_OFFSET): Do not include bias.
3291 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
3292 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
3293 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
3294 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
3295 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
3296 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
3297 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
3298 (MUST_SAVE_REGISTER): Likewise.
3299 (sparc_flat_function_prologue): Likewise.
3300 (sparc_flat_function_epilogue): Likewise.
3301 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
3302 (sparc_init_modes): SFP is GENERAL_REGS.
3303 (sparc_builtin_saveregs): SFP does not have bias applied.
3304
14691f8d
RH
33052002-02-04 Richard Henderson <rth@redhat.com>
3306
3307 * config/alpha/alpha.c (current_function_is_thunk): Don't check
3308 current_function_is_thunk.
3309 (alpha_sa_mask): Distinguish between current_function_is_thunk
3310 called from ASM_OUTPUT_MI_THUNK and not.
3311 (alpha_does_function_need_gp): Thunks always need gp.
3312 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
3313 (alpha_output_mi_thunk_osf): New.
3314 * config/alpha/alpha-protos.h: Update.
3315 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
3316
af702de8
RS
33172002-02-04 Richard Sandiford <rsandifo@redhat.com>
3318
3319 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
3320 function types, not when they're taken away.
3321
5b1cacd8
JL
3322Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
3323
3324 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
3325 CODE_LABEL and jump table when replacing a table jump with a
3326 simple jump.
3327
f3e9edff
UW
33282002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3329
3330 * config/s390/s390-protos.h (legitimize_la_operand,
3331 s390_secondary_input_reload_class, s390_plus_operand,
3332 s390_expand_plus_operand): Add prototypes.
3333
3334 config/s390/s390.c (s390_secondary_input_reload_class,
3335 s390_plus_operand, s390_expand_plus_operand): New functions.
3336
3337 (struct s390_address): New member 'pointer'.
3338 (s390_decompose_address): Compute it.
3339 (legitimate_la_operand_p): Use it.
3340 (legitimize_la_operand): New function.
3341 (movti, movdi, movdf splitters): Call it.
3342
3343 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
3344 (PREDICATE_CODES): Add s390_plus_operand.
3345
3346 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
3347 (la_ccclobber): Allow GENERAL_REGS as output operand.
3348
3349 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
3350 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
3351 (*la_64, *la_31, reload_indi, reload_insi): ... these.
3352
3c9a08ec
UW
33532002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3354
3355 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
3356 register names for regular asm () construct.
3357
ac300a45
JJ
33582002-02-04 Jakub Jelinek <jakub@redhat.com>
3359
3360 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
3361 registers.
3362
fa852403
JJ
33632002-02-04 Jakub Jelinek <jakub@redhat.com>
3364
3365 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
3366 pat for recog.
3367
fecaac37
HP
33682002-02-04 Hartmut Penner <hpenner@de.ibm.com>
3369
831c4e87
KC
3370 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
3371 constant pool to be identical by string address and index.
fecaac37 3372
10c45943
AG
33732002-02-04 Anthony Green <green@redhat.com>
3374
3375 * output.h (SECTION_OVERRIDE): Define.
3376 * varasm.c (named_section): Obey SECTION_OVERRIDE.
3377
69474c3c
JT
33782002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
3379
3380 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
3381 by existing arm*-*-netbsd* (a.out) target.
3382 (ns32k-*-netbsdelf*): Likewise.
3383 (sparc-*-netbsdelf*): Likewise.
3384 (vax-*-netbsdelf*): Likewise.
3385
939a46f6 33862002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
3387
3388 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
3389 headers and libobjc headers.
3390
33912002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
3392
3393 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
3394 (_mingw.h): Remove duplicate include.
3395
2fd95d71
JT
33962002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
3397
3398 * config.gcc: Set cpu_type to m68k for 68010, as well.
3399 (m68010-*-netbsdelf*): New...
3400 (m68k*-*-netbsdelf*): ...targets.
3401 * config/m68k/netbsd-elf.h: New file.
3402
0ea6f6a0
KH
34032002-02-02 Kazu Hirata <kazu@hxi.com>
3404
3405 * config/h8300/h8300.c (hand_list): Move inside function_arg.
3406
cbf1b2da
KH
34072002-02-02 Kazu Hirata <kazu@hxi.com>
3408
3409 * config/h8300/h8300.c (h8_push_ops): Move inside
3410 h8300_init_once.
3411 (h8_pop_ops): Likewise.
3412 (h8_move_ops): Likewise.
3413
0869f126
KH
34142002-02-02 Kazu Hirata <kazu@hxi.com>
3415
3416 * config/h8300/h8300.c (os_task): Make it static.
3417 (monitor): Likewise.
3418 (pragma_saveall): Likewise.
3419
90e65b70
AO
34202002-02-02 Alexandre Oliva <aoliva@redhat.com>
3421
3422 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
3423 constant is a valid sign-extension for Pmode.
3424
9cbcd983
KH
34252002-02-02 Kazu Hirata <kazu@hxi.com>
3426
3427 * config/h8300/h8300.c: Fix formatting.
3428
7a27efc4
KH
34292002-02-02 Kazu Hirata <kazu@hxi.com>
3430
3431 * config/h8300/h8300.md: Fix formatting.
3432
54175a44
KH
34332002-02-02 Kazu Hirata <kazu@hxi.com>
3434
3435 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
3436 predicates of operands[1]. Split the patterns for each
3437 processor variant.
3438
eceb1755
KH
34392002-02-02 Kazu Hirata <kazu@hxi.com>
3440
3441 * config/h8300/h8300.md (xor patterns): Tighten the predicates
3442 of operands[1] to register_operand.
3443
0fef3fd0
NB
34442002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
3445
3446 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
3447 * cpphash.c (_cpp_init_hashtable): Similarly.
3448 * cppinit.c (cpp_create_reader): Default the signed_char flag.
3449 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
3450 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
3451 (cpp_handle_option): Handle the new options.
3452 * cpplex.c (cpp_interpret_charconst): Use new flag.
3453 * cpplib.h (struct cpp_options): New member signed_char.
3454 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
3455 (cpp_options): Handle -fsigned-char and -funsigned-char.
3456 (static_specs): Remove signed_char_spec.
3457 (do_spec1): Don't handle %c.
3458 * system.h: Poison SIGNED_CHAR_SPEC.
3459 * tradcif.y (yylex): Use flag_signed_char.
3460 * tradcpp.h (flag_signed_char): New.
3461 * tradcpp.c (flag_signed_char): New.
3462 (main): Handle new command-line options.
3463 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
3464config:
3465 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
3466 * avr/avr.h: Remove old comments.
3467 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
3468 (CC1_SPEC): Pass -fsigned-char if -mic*.
3469 (SIGNED_CHAR_SPEC): Remove.
3470doc:
3471 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
3472
0617ed52
EC
34732002-02-01 Eric Christopher <echristo@redhat.com>
3474
3475 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
3476 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
3477 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
3478 (ASM_OUTPUT_REG_POP): Ditto.
3479
dfd48d76
NB
34802002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
3481
3482 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
3483 patch.
3484
4a23409e
JJ
34852002-02-02 Jakub Jelinek <jakub@redhat.com>
3486
3487 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
3488
d3c52658
JJ
34892002-02-02 Jakub Jelinek <jakub@redhat.com>
3490
3491 PR c/5304:
3492 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
3493 unconditionally.
3494
02c5a3bd
JJ
34952002-02-01 Janis Johnson <janis187@us.ibm.com>
3496
3497 * cfganal.c: Include tm_p.h.
3498 (keep_with_call_p): Fix the test that determines if a register holds
3499 the return value of a call.
3500
3968de80
DD
35012002-02-01 DJ Delorie <dj@redhat.com>
3502
3503 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
3504 we are given conflicting registers, switch to the other one we
3505 had allocated for us.
3506 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
3507 as TImode so we know when the "other" register is available.
3508
1338ea6c
DB
35092002-02-01 David O'Brien <obrien@FreeBSD.org>
3510
3511 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
3512 sparc/sparc_bi.h.
3513
f015be23
JJ
35142002-02-01 Janis Johnson <janis187@us.ibm.com>
3515
3516 * cfganal.c (keep_with_call_p): New function.
3517 (flow_call_edges_add): Prevent splitting a block between a call and
3518 a single-set instruction that should be kept in the same block.
3519
63708ffc
CR
35202002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
3521
3522 * doc/install.texi (avr): Update outdated URL.
3523
5ee4950e
AH
35242002-01-30 Andrew Haley <aph@cambridge.redhat.com>
3525
831c4e87
KC
3526 * config/stormy16/stormy16.md (pushqi): New.
3527 (popqi): New.
3528 (pushhi): New.
3529 (pophi): New.
3530 (movhi): Remove stack operands.
3531 (movqi): Likewise.
3532 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
3533 nonimmediate_nonstack_operand.
3534 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
3535 New.
3536 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
3537 New.
5ee4950e 3538
b88c0704
JM
35392002-01-31 Jason Merrill <jason@redhat.com>
3540
3541 * Makefile.in (c-parse.c): Handle .output file.
3542 * objc/Make-lang.in (objc-parse.c): Likewise.
3543
ac282977
AO
35442002-02-01 Alexandre Oliva <aoliva@redhat.com>
3545
3546 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
3547 the -me[lb] option is given. Don't output the default flag
3548 twice.
3549
bebc7e8b
ZW
35502002-01-31 Zack Weinberg <zack@codesourcery.com>
3551
3552 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
3553 the primary source file; this has not been done yet.
3554 * c-decl.c (c_expand_body): Reset input_filename from
3555 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
3556
5809eb5f
KH
35572002-01-31 Kazu Hirata <kazu@hxi.com>
3558
3559 * rtlanal.c (subreg_regno_offset): Do not use
3560 SUBREG_REGNO_OFFSET.
3561 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
3562 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
3563
8512bbd7
JM
35642002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
3565
3566 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
3567 version rather than GNATS version in --version output.
3568
74cb3cc8
RS
35692002-01-31 Richard Sandiford <rsandifo@redhat.com>
3570
3571 * ifcvt.c (noce_process_if_block): Make a copy of the destination
3572 when copying back from a temporary.
3573
874b5b14
RH
35742002-01-30 Richard Henderson <rth@redhat.com>
3575
3576 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
3577 and new_dest are the same.
3578
e803a64b
RH
35792002-01-30 Richard Henderson <rth@redhat.com>
3580
89cf7be5 3581 PR opt/5076
e803a64b
RH
3582 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
3583 * rtl.c (note_insn_name): Update.
3584 * emit-rtl.c (remove_unnecessary_notes): Kill it.
3585 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
3586 to perform loop rotation.
3587 (expand_exit_loop_top_cond): New.
3588 * tree.h (expand_exit_loop_top_cond): Declare it.
3589 * c-semantics.c (genrtl_while_stmt): Use it.
3590 (genrtl_for_stmt): Likewise.
3591
0b51254d
AO
35922002-01-30 Alexandre Oliva <aoliva@redhat.com>
3593
3594 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
3595 arguments to 64-bit boundaries on 64-bit ABIs.
3596
71cef493
SE
35972002-01-30 Steve Ellcey <sje@cup.hp.com>
3598
3599 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
3600
6169e5fd
JM
36012002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
3602
3603 * c-decl.c (grokdeclarator): Handle type being a typedef for an
3604 invalid type.
3605
86f808dc
DB
36062002-01-30 David O'Brien <obrien@FreeBSD.org>
3607
3608 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
3609 * config/sparc/sparc_bi.h: Remove file.
3610 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
3611
5748ebeb
RH
36122002-01-30 Richard Henderson <rth@redhat.com>
3613
3614 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
3615
20d32cc2
ZW
36162002-01-30 Zack Weinberg <zack@codesourcery.com>
3617
3618 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
3619
b88c0704 36202002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
3621
3622 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
3623 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
3624 (reg_save): Use DW_CFA_offset_extended_sf instead.
3625
3626 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
3627
37060e78
JJ
36282002-01-29 Jakub Jelinek <jakub@redhat.com>
3629
3630 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
3631 in cselib_lookup.
3632
d18dba68
AH
36332002-01-29 Aldy Hernandez <aldyh@redhat.com>
3634
bebc7e8b
ZW
3635 * rs6000.md ("*call_value_local32"): Remove constraints.
3636 ("*call_value_local64"): Same.
3637 ("*call_value_indirect_nonlocal_aix32"): Same.
3638 ("*call_value_nonlocal_aix32"): Same.
3639 ("*call_value_indirect_nonlocal_aix64"): Same.
3640 ("*call_value_nonlocal_aix64"): Same.
3641 ("*call_value_nonlocal_sysv"): Same.
d18dba68 3642
80a8aac6
RH
36432002-01-29 Richard Henderson <rth@redhat.com>
3644
3645 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
3646
12beba6f
RH
36472002-01-29 Richard Henderson <rth@redhat.com>
3648
3649 * expr.c (force_operand): Ignore flag_pic for detecting pic
3650 address loads.
3651 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
3652 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
3653 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
3654 instead of open-coded loop.
3655 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
3656 be fixed when in use.
3657
2583081e
RH
36582002-01-29 Richard Henderson <rth@redhat.com>
3659
3660 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
3661 * sched-rgn.c (propagate_deps): Update them.
3662 * sched-deps.c (sched_analyze_insn): Update them. Flush the
3663 clobbers list when either gets too long.
3664
3b8d200e
JJ
36652002-01-29 Jakub Jelinek <jakub@redhat.com>
3666
3667 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
3668 and INDEX_REGS the same as GENERAL_REGS.
3669 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
3670
2d3115eb
NB
36712002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
3672
bebc7e8b 3673 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 3674
ecbe845e
UW
36752002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
3676
bebc7e8b 3677 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 3678 movstrsix_31): Remove, replace by ...
bebc7e8b 3679 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
3680 movstrsi_long): ... these. New.
3681 (movstrdi, movstrsi): Adapt.
3682
3683 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 3684 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
3685 Remove unnecessary CC clobber.
3686 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
3687 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
3688
3689 (divmoddi4): Don't partially initialize TImode register.
3690
0b32fca5
GK
36912002-01-29 Geoffrey Keating <geoffk@redhat.com>
3692
3693 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
3694
08ef5437
RH
36952002-01-29 Richard Henderson <rth@redhat.com>
3696
3697 * flow.c (print_rtl_and_abort): Remove.
3698 (print_rtl_and_abort_fcn): Remove.
3699 (verify_local_live_at_start): Use dump_bb instead.
3700 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
3701 (verify_wide_reg_1): Return 2 on mode test failure.
3702
8469e54e
NB
37032002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
3704
3705 PR c/3325, c/3326, c/2511, c/3347
3706 * c-decl.c (enum_decl_context): Remove BITFIELD.
3707 (grokdeclarator): Take bitfield width as an input.
3708 Ensure bitfields are given the correct type. Perform
3709 bitfield width validation with build_bitfield_integer_type
3710 rather than waiting for finish_struct.
3711 (grok_typename, grok_typename_in_parm_context, start_decl,
3712 push_parmdecl, grokfield, start_function): Update calls to
3713 grokdeclarator.
3714 (build_bitfield_integer_type): New function.
3715 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 3716 and build_bitfield_integer_type.
8469e54e
NB
3717 * tree.c (build_nonstandard_integer_type): New function.
3718 * tree.h (build_nonstandard_integer_type): New prototype.
3719objc:
3720 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
3721
ffdeea47
JJ
37222002-01-29 Jakub Jelinek <jakub@redhat.com>
3723
3724 PR other/1502:
3725 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
3726 don't ignore unrecognized -W* options.
3727 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
3728 * cpplib.h (cpp_handle_option): Adjust prototype.
3729 * c-decl.c (c_decode_options): Pass 0 as last argument to
3730 cpp_handle_option.
3731
3732 PR c/2896:
3733 * gcc.c (cpp_unique_options): Split from cpp_options.
3734 (cpp_options): Source cpp_unique_options.
3735 (default_compilers): Use cpp_unique_options instead of cpp_options
3736 when used together with cc1_options.
3737 (static_specs): Add cpp_unique_options.
3738 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
3739 when used together with cc1_options.
3740
1a275226
KH
37412002-01-29 Kazu Hirata <kazu@hxi.com>
3742
3743 * config/h8300/h8300-protos.h: Update the prototype of
3744 output_a_shift.
3745 * config/h8300/h8300.c (output_a_shift): Remove an unused
3746 argument 'insn'. Remove redundant code.
3747 * config/h8300/h8300.md: Adust to the new prototype of
3748 output_a_shift.
3749
a11d9dfc
KH
37502002-01-29 Kazu Hirata <kazu@hxi.com>
3751
3752 * config/h8300/h8300-protos.h: Update the prototypes of
3753 emit_a_rotate and expand_a_rotate.
3754 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
3755 first argument to 'enum rtx_code'.
3756 (expand_a_rotate): Likewise.
3757
871f73e3
KH
37582002-01-28 Kazu Hirata <kazu@hxi.com>
3759
3760 * config/h8300/h8300-protos.h: Update the prototype of
3761 output_simode_bld.
3762 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
3763 'log2'.
3764 * config/h8300/h8300.md: Adjust to the new prototype.
3765
5fc4b751
KH
37662002-01-28 Kazu Hirata <kazu@hxi.com>
3767
3768 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
3769 redundant code.
3770
2d67bd7b
JDA
37712002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
3772
3773 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
3774 is a fixed register before returning pic_offset_table_rtx.
3775 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
3776 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
3777
5a852b3e
JM
37782002-01-28 Jason Merrill <jason@redhat.com>
3779
6bb28965 3780 * dwarf2.h: Sync with src version.
5a852b3e 3781
3bca17dd
PK
37822002-01-28 Paul Koning <pkoning@equallogic.com>
3783
3784 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
3785 BT_FN_VOID_PTR_VAR.
3786 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
3787 * doc/extend.texi (__builtin_prefetch): Update documentation:
3788 first argument is now const void ptr.
3789
7dc3f8c0
KH
37902002-01-28 Kazu Hirata <kazu@hxi.com>
3791
3792 * config/h8300/h8300-protos.h: Remove an unused prototype.
3793
e83cb5f0
RZ
37942002-01-28 Roman Zippel <zippel@linux-m68k.org>
3795
3796 * toplev.c (lang_independent_init): Round up identifier size.
3797
5721cd84
RE
37982002-01-28 Richard Earnshaw <rearnsha@arm.com>
3799
3800 * config.gcc: Revert previous change.
3801
d534119e
AP
38022002-01-28 Andris Pavenis <pavenis@latnet.lv>
3803
3804 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
3805
5a721dab
RE
38062002-01-28 Richard Earnshaw <rearnsha@arm.com>
3807
3808 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
3809 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
3810 other non-elf netbsd config frags.
3811 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
3812 collect2 will does that.
3813 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
3814 shared-lib frobbing will work.
3815
da1775d6
KH
38162002-01-28 Kazu Hirata <kazu@hxi.com>
3817
3818 * config/h8300/h8300.h: Fix formatting.
3819 * config/h8300/h8300.md: Likewise.
3820
8f2e963b
LR
38212002-01-28 Loren J. Rittle <ljrittle@acm.org>
3822
3823 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
3824 the old, removed AAA_standards fix.
3825 * fixinc/fixincl.x: Rebuilt.
3826
fdae5767
HPN
38272002-01-28 Hans-Peter Nilsson <hp@axis.com>
3828
3829 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
3830 atexit call in crtbegin, hooked in after call to frame_dummy;
3831 register EH before registering __fini__start.
3832
2a2ecb63
AH
38332002-01-28 Aldy Hernandez <aldyh@redhat.com>
3834
3835 * config/rs6000/altivec.h: Remove spurious semicolons.
3836
8ed43adf
KH
38372002-01-27 Kazu Hirata <kazu@hxi.com>
3838
3839 * config/h8300/h8300.md: Replace dead bit extraction patterns
3840 with ones that work.
3841
917afb0c
RK
3842Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3843
3844 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
3845 if not STRICT_ALIGNMENT.
3846 * rtl.h (MEM_ALIGN): Likewise.
3847
f70a54cb
CR
38482002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
3849
3850 * doc/invoke.texi (-fdump-translation-unit): Revert this
3851 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
3852
d8fd4914
KH
38532002-01-27 Kazu Hirata <kazu@hxi.com>
3854
3855 * config/h8300/h8300.md (define_constants): New.
3856 (anonymous patterns) Use defined constants appropriately.
3857
15e0e275
KH
38582002-01-27 Kazu Hirata <kazu@hxi.com>
3859
3860 * config/h8300/h8300.c (function_arg): Remove redundant code.
3861
37a0f8a5
RH
38622002-01-26 Richard Henderson <rth@redhat.com>
3863
3864 * sched-deps.c (reg_pending_uses_head): New.
3865 (reg_pending_barrier): Rename from reg_pending_sets_all.
3866 (find_insn_list): Don't mark inline.
3867 (find_insn_mem_list): Remove.
3868 (add_dependence_list, add_dependence_list_and_free): New.
3869 (flush_pending_lists): Replace only_write param with separate
3870 for_read and for_write parameters. Update all callers. Use
3871 add_dependence_list_and_free.
3872 (sched_analyze_1): Do not add reg dependencies here; just set
3873 the pending bits. Use add_dependence_list.
3874 (sched_analyze_2): Likewise.
3875 (sched_analyze_insn): Replace schedule_barrier_found with
3876 reg_pending_barrier. Add all dependencies for pending reg
3877 uses, sets, and clobbers.
3878 (sched_analyze): Don't add reg dependencies for calls, just
3879 set pending bits. Use regs_invalidated_by_call. Treat
3880 sched_before_next_call as a normal list, not a fake insn.
3881 (init_deps): No funny init for sched_before_next_call.
3882 (free_deps): Free pending mems lists. Don't zero reg_last.
3883 (init_deps_global): Init reg_pending_uses.
3884 (finish_deps_global): Free it.
3885 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
3886 (find_insn_mem_list): Remove.
3887 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
3888 (propagate_deps): Use them. Zero temp mem lists.
3889
cea3bd3e
RH
38902002-01-26 Richard Henderson <rth@redhat.com>
3891
3892 * Makefile.in (CRTSTUFF_CFLAGS): New.
3893 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
3894 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
3895 crtstuff.c instead of alpha assembly version.
3896 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
3897 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
3898 not FORCE_{INIT,FINI}_SECTION_ALIGN.
3899 (__do_global_dtors_aux): Mark used.
3900 (frame_dummy, __do_global_ctors_aux): Mark used.
3901 (fini_dummy, init_dummy): Remove.
3902
3903 * config/alpha/crtbegin.asm: Remove file.
3904 * config/alpha/crtend.asm: Remove file.
3905 * config/alpha/t-crtbe: Remove file.
3906 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
3907 (LINK_EH_SPEC): New.
3908
3909 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
3910 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
3911 calling constructors.
3912 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
3913
3914 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
3915 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
3916 CRT_END_INIT_DUMMY hack.
3917 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
3918 FORCE_{INIT,FINI}_SECTION_ALIGN.
3919
3920 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
3921 FORCE_{INIT,FINI}_SECTION_ALIGN.
3922
3923 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
3924 invocation sequence.
3925 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
3926
3927 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
3928 (FORCE_CODE_SECTION_ALIGN): New.
3929
60ffa0e5
RH
39302002-01-26 Richard Henderson <rth@redhat.com>
3931
3932 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
3933
61334ebe
RH
39342002-01-26 Richard Henderson <rth@redhat.com>
3935
3936 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
3937 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
3938
1d788fb6
KH
39392002-01-26 Kazu Hirata <kazu@hxi.com>
3940
3941 * config/h8300/h8300.md: Remove bit extraction patterns that
3942 cannot be triggered.
3943 Restrict each bit extraction pattern to a variant on which the
3944 pattern is tested.
3945
87611f88
JM
39462002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
3947
3948 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
3949
cd74ec59
KH
39502002-01-26 Kazu Hirata <kazu@hxi.com>
3951
3952 * config/h8300/h8300.md: Remove bit test patterns that cannot
3953 be triggered.
3954 Restrict each bit test pattern to a variant on which the
3955 pattern is tested.
3956
93051e0f
KG
39572002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3958
3959 * builtins.c (expand_builtin_strncat): Remove redundant check for
3960 INTEGER_CST.
3961
216c995f
DB
39622002-01-25 David O'Brien <obrien@FreeBSD.org>
3963
3964 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
3965 default setting.
3966 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
3967 existing setting.
3968
33c7f925
GK
39692002-01-25 Geoffrey Keating <geoffk@redhat.com>
3970
3971 * dbxout.c (dbxout_init): Use assemble_name rather than just
3972 stripping off the first character.
3973 (dbxout_source_file): Likewise.
3974
6cd444b4
DD
39752002-01-25 DJ Delorie <dj@redhat.com>
3976
3977 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
3978 using rtx_equal_p, not by comparing pointers.
3979
751551d5
SE
39802002-01-25 Steve Ellcey <sje@cup.hp.com>
3981
3982 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
3983 for PIC_OFFSET_TABLE_REGNUM.
3984 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
3985
e564e618
DB
39862002-01-25 David O'Brien <obrien@FreeBSD.org>
3987
3988 * config.gcc (x86_64-*-freebsd*): New target.
3989 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
3990 value.
3991 (i[34567]86-*-freebsd*): Don't include svr4.h.
3992 * config/i386/freebsd64.h: New file.
3993
ff3aaf17
DR
39942002-01-25 Douglas B Rupp <rupp@gnat.com>
3995
4857d29d
DR
3996 * config/alpha/x-vms (version): Make static.
3997
3998 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
3999 in previous checkin.
4000
ff3aaf17
DR
4001 * Makefile.in (install-headers-cp): New target.
4002 * config.gcc (alpha-dec-*vms*): Install headers with
4003 install-headers-cp
4004
48d79c43
JH
4005Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
4006
4007 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
4008 avoid it's copies.
4009
995b5904
RK
4010Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4011
4012 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
4013 of compare_tree_int.
4014 (expand_builtin_strncat): Likewise.
4015 * c-decl.c (finish_struct): Use tree_low_cst.
4016 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
4017 * tree.c (compare_tree_int): Likewise.
4018
75eefe3f
UW
40192002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
4020
4021 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
4022 adjustments even if they are implemented by more than two insns.
4023
5a133afd
JH
4024Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
4025
995b5904 4026 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
4027 * df.h (struct ref): Kill B.
4028 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
4029
4030 * basic-block.h (PROP_EQUAL_NOTES): New flag.
4031 * flow.c (propagate_one_insn): Use it.
4032 (mark_used_regs): Handle NIL.
4033
ead39bdf 40342002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
4035
4036 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
4037 to help folding.
4038
01a2ccd0
DE
40392002-01-25 David Edelsohn <edelsohn@gnu.org>
4040
4041 * rs6000.md (prefetch): Make address V4SI mode so that the address
4042 is restricted to legitimate form for instruction.
4043
fd29f6ea
BW
40442002-01-25 Bob Wilson <bob.wilson@acm.org>
4045
4046 * doc/install.texi (xtensa-*-elf): New target.
4047 (xtensa-*-linux*): New target.
4048 * doc/contrib.texi: Add myself.
4049
55492b32
NC
40502002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
4051
4052 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
4053 purpose register to hold an SImode (or smaller) value.
4054
72c7c913
JJ
40552002-01-25 Jakub Jelinek <jakub@redhat.com>
4056
4057 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
4058 registry only.
4059 * crtstuff.c: Likewise.
4060
c4df4ceb
KH
40612002-01-25 Kazu Hirata <kazu@hxi.com>
4062
4063 * config/h8300/h8300.md (negation patterns): Tighten
4064 predicates to register_operand.
4065
70e531f5
AH
40662002-01-24 Aldy Hernandez <aldyh@redhat.com>
4067
3bca17dd
PK
4068 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
4069 mode, not Pmode.
70e531f5 4070
3bca17dd 4071 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 4072
a4f76ef9
AO
40732002-01-24 Alexandre Oliva <aoliva@redhat.com>
4074
4075 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
4076 modes.
4077
9bf25b09
KH
40782002-01-24 Kazu Hirata <kazu@hxi.com>
4079
4080 * config/h8300/h8300.c (print_operand): Remove support for
4081 operand character 'A'.
4082 * config/h8300/h8300.md (three anonymous patterns): Replace
4083 operand character 'A' with either 'T' or 'S'.
4084
974af6a5
KH
40852002-01-24 Kazu Hirata <kazu@hxi.com>
4086
4087 * config/h8300/h8300.c (print_operand): Remove support for
4088 operand character 'U'.
4089
7a5bb7b8
AP
40902002-01-24 Andris Pavenis <pavenis@latnet.lv>
4091
3bca17dd 4092 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 4093
92a4639e
NC
40942002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
4095
4096 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
4097 values to be assigned to the stack pointer.
4098
467cb2da
HP
40992002-01-14 Hartmut Penner <hpenner@de.ibm.com>
4100
bebc7e8b 4101 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
4102 to const_double needs to be done right for big-endian systems.
4103
3b6cb920
JM
41042002-01-24 Jason Merrill <jason@redhat.com>
4105
b08dd119 4106 PR c++/2432
3b6cb920
JM
4107 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
4108 to can_throw_internal.
4109
f3077311
RH
41102002-01-23 Richard Henderson <rth@redhat.com>
4111
4112 * fold-const.c (fold): Change UINT_MAX test to check vs precision
4113 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
4114
e1d71275
AO
41152002-01-24 Alexandre Oliva <aoliva@redhat.com>
4116
4117 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
4118 (symGOT2reg): Use them, then set as GOT value as unchanging.
4119 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
4120 as a temporary, if possible.
4121 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
4122 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
4123
dc271dbe
KH
41242002-01-23 Kazu Hirata <kazu@hxi.com>
4125
4126 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
4127 accept to accept 0x80 as operands[2].
4128
1a9017f9
AO
41292002-01-24 Alexandre Oliva <aoliva@redhat.com>
4130
4131 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
4132
6932f033
RH
41332002-01-23 Richard Henderson <rth@redhat.com>
4134
4135 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
4136
709619d9
AH
41372002-01-23 Aldy Hernandez <aldyh@redhat.com>
4138
3bca17dd
PK
4139 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
4140 (parmlist_or_identifiers_1): Verify that only a parmlist follows
4141 an attribute.
709619d9 4142
3d709fd3
RH
41432002-01-23 Richard Henderson <rth@redhat.com>
4144
4145 * expr.c (move_by_pieces_1): Extend size before negation.
4146
88a446c0
RH
4147 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
4148 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
4149 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
4150 * config/m68k/t-m68kelf: Likewise.
4151
03984308
BW
41522002-01-23 Bob Wilson <bob.wilson@acm.org>
4153
4154 * config/xtensa/elf.h: New file.
4155 * config/xtensa/lib1funcs.asm: New file.
4156 * config/xtensa/lib2funcs.S: New file.
4157 * config/xtensa/linux.h: New file.
4158 * config/xtensa/t-xtensa: New file.
4159 * config/xtensa/xtensa-config.h: New file.
4160 * config/xtensa/xtensa-protos.h: New file.
4161 * config/xtensa/xtensa.c: New file.
4162 * config/xtensa/xtensa.h: New file.
4163 * config/xtensa/xtensa.md: New file.
4164 * config.gcc (xtensa-*-elf*): New target.
4165 (xtensa-*-linux*): New target.
4166 * cse.c (canon_hash): Compare rtx pointers instead of register
4167 numbers. This is required for the Xtensa port.
4168 * integrate.c (copy_insn_list): Handle case where the static
4169 chain is in memory and the memory address has to be copied to
4170 a register.
4171 * doc/invoke.texi (Option Summary): Add Xtensa options.
4172 (Xtensa Options): New node.
4173 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
4174
c3d5c3fa
ZW
41752002-01-23 Zack Weinberg <zack@codesourcery.com>
4176
a63bea75
ZW
4177 * diagnostic.c (internal_error): Do ICE suppression only
4178 when ENABLE_CHECKING is not defined.
4179
c3d5c3fa
ZW
4180 * c-typeck.c (require_complete_type): Return error_mark_node
4181 if type is error_mark_node.
4182
1398974c
JJ
41832002-01-23 Janis Johnson <janis187@us.ibm.com>
4184
4185 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
4186 -Os and issue a warning.
4187
807633e5
ZW
41882002-01-23 Zack Weinberg <zack@codesourcery.com>
4189
4190 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
4191 current (lack of) need for host configuration by hand.
4192
4193 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
4194 references. Documentation of some target macros moved from
4195 hostconfig.texi to tm.texi.
4196
cf8002d0
WC
41972002-01-23 Will Cohen <wcohen@redhat.com>
4198
4199 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
4200 defined.
4201
d1e76310
KH
42022002-01-23 Kazu Hirata <kazu@hxi.com>
4203
4204 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
4205 operand[3].
4206
b2115575
JM
42072002-01-23 Jason Merrill <jason@redhat.com>
4208
f893c16e
JM
4209 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
4210
b2115575
JM
4211 * function.c (assign_parms): Don't put args of inline functions
4212 into registers when not optimizing.
4213
6bacc7b0
NC
42142002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
4215
4216 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
4217 (prologue_use): New pattern.
4218 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
4219 preference to gen_rtx_USE.
4220 (thumb_expand_prologue): Use gen_prologue_use in preference to
4221 gen_rtx_USE.
4222 (thumb_expand_epilogue): Use gen_prologue_use in preference to
4223 gen_rtx_USE.
4224
a415f7bc
HPN
42252002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
4226
4227 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
4228
5372b3fb
NB
42292002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
4230
4231 PR c/3504
4232 * doc/extend.texi: Correct documentation of __alignof__.
4233
bd571ffc
ZW
42342002-01-22 Zack Weinberg <zack@codesourcery.com>
4235
4236 * params.h: Rename arguments of DEFPARAM so that it will be
4237 recognized as a translation keyword.
4238
333c8841
AH
42392002-01-22 Aldy Hernandez <aldyh@redhat.com>
4240
bd571ffc
ZW
4241 * extend.texi: Document altivec functions.
4242 Fix N-bit adjectives in X86 builtin documentation.
333c8841 4243
38979c65
AO
42442002-01-22 Alexandre Oliva <aoliva@redhat.com>
4245
4246 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
4247 auto_inc_dec values.
4248
7458a9f0
RE
42492002-01-22 Richard Earnshaw <rearnsha@arm.com>
4250
4251 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
4252 after backslash.
4253 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
4254
129bd0c4
AO
42552002-01-22 Alexandre Oliva <aoliva@redhat.com>
4256
4257 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
4258
8b9b74a9
RH
42592002-01-22 Richard Henderson <rth@redhat.com>
4260
4261 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
4262 copy_insn not copy_rtx.
4263
d0c9db30
AM
42642002-01-23 Alan Modra <amodra@bigpond.net.au>
4265
4266 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
4267 "nonzero" as that might add "1" bits. Ensure "constop" is
4268 properly sign extened.
4269 (force_to_mode): Tweak for sign extended constop.
4270
1e7e480e
RH
42712002-01-22 Richard Henderson <rth@redhat.com>
4272
4273 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
4274 for_each_rtx instead of assuming we're already looking at the MEM.
4275 (split_small_symbolic_mem_operand): Likewise.
4276 * config/alpha/alpha.h (PREDICATE_CODES): Update.
4277 * config/alpha/alpha.md (small symbolic memory splitters): Update.
4278
42792002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
4280
4281 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
4282 sequence number for the literal.
4283 (divmoddi_internal_er): Likewise.
4284
b7f2fb96
CR
42852002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
4286
4287 PR java/4972
4288 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
4289 in LIBICONV variable.
4290 * configure: Regenerated.
4291
f66a0046
KW
42922002-01-22 Krister Walfridsson <cato@df.lth.se>
4293
4294 * dependence.c (build_def_use): Remove array_idx.
4295
e3b0efd1
KW
4296 * dwarfout.c (last_filename): Remove.
4297 (output_compile_unit_die): Remove last_filename.
4298
d8086cbb
RS
42992002-01-22 Roger Sayle <roger@eyesopen.com>
4300 Richard Henderson <rth@redhat.com>
4301
4302 PR opt/3640
4303 * fold-const.c (fold): Optimize unsigned comparisons against
4304 UINT_MAX (and similar unsigned constants).
4305
e8d52ba0
JJ
43062002-01-22 Janis Johnson <janis187@us.ibm.com>
4307
d8086cbb 4308 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 4309 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 4310 against the predicate.
11303d15 4311
e8d52ba0
JJ
4312 PR target/5379
4313 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
4314 for the address operand.
4315
cc7b420e
RH
43162002-01-22 Richard Henderson <rth@redhat.com>
4317
4318 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
4319
816e265a
CR
43202002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
4321
4322 PR other/5450
cc7b420e
RH
4323 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
4324 preprocessor flags.
816e265a 4325
7c884404
JT
43262002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
4327
4328 * config.gcc (x86_64-*-netbsd*): New target.
4329 * config/i386/netbsd64.h: New file.
4330
2b672c08
AH
43312002-01-22 Aldy Hernandez <aldyh@redhat.com>
4332
d8086cbb 4333 * regrename.c (kill_value): Fix typo.
2b672c08
AH
4334
43352002-01-22 Aldy Hernandez <aldyh@redhat.com>
4336
d8086cbb 4337 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 4338
d8086cbb 4339 * config/rs6000/rs6000.h: Same.
2b672c08 4340
d8086cbb
RS
4341 * function.c (instantiate_virtual_regs): Remove
4342 STARTING_FRAME_PHASE.
4343 (assign_stack_local_1): Same.
4344 Calculate frame phase.
2b672c08 4345
4b02997f
NC
43462002-01-22 Nick Clifton <nickc@redhat.com>
4347
4348 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
4349 variable declaration to outer scope in order to simplify
4350 future extensions.
4351 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
4352 arm_hard_regno_mode_ok.
4353 * config/arm/arm-protos.h: Add a prototype for
4354 arm_hard_regno_mode_ok.
4355 * config/arm/arm.c (soft_df_operand): Remove now redundant
4356 check for DImode values using IP_REGNUM.
4357 (nonimmediate_soft_df_operand): Remove now redundant check for
4358 DImode values using IP_REGNUM.
4359 (arm_hard_regno_mode_ok): New function. New check: make sure
4360 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
4361
4362 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
4363 note with a USE.
4364 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
4365
8a827ab2
JM
43662002-01-22 Jason Merrill <jason@redhat.com>
4367
4368 * c-semantics.c (genrtl_compound_stmt): Only check nesting
4369 consistency if this COMPOUND_STMT is scoped.
4370
cf403648
KH
43712002-01-22 Kazu Hirata <kazu@hxi.com>
4372
4373 * predict.c: Fix formatting.
4374 * print-tree.c: Likewise.
4375 * protoize.c: Likewise.
4376 * real.h: Likewise.
4377 * rtl.h: Likewise.
4378 * sbitmap.h: Likewise.
4379 * scan.c: Likewise.
4380 * sched-deps.c: Likewise.
4381 * sched-vis.c: Likewise.
4382 * sdbout.c: Likewise.
4383 * sibcall.c: Likewise.
4384 * ssa.c: Likewise.
4385 * ssa-ccp.c: Likewise.
4386 * ssa-dce.c: Likewise.
4387 * stmt.c: Likewise.
4388 * stor-layout.c: Likewise.
4389 * system.h: Likewise.
4390
aea9695c
RK
4391Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4392
a8765ae7
RK
4393 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
4394 if fits in bounds of base type.
4395
aea9695c
RK
4396 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
4397 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
4398 (add_bound_info, default): If can't find a context, make a
4399 SAVE_EXPR.
4400 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
4401
58bf601b
HPN
44022002-01-22 Hans-Peter Nilsson <hp@axis.com>
4403
4404 * c-typeck.c (parser_build_binary_op): If result from
4405 build_binary_op is ERROR_MARK just return error_mark_node without
4406 further processing.
4407
f982f805
JT
44082002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
4409
4410 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
4411 Split a.out-specific bits into...
4412 * config/netbsd-aout.h: ...this.
4413 * config/netbsd-elf.h: New file.
4414 * config/alpha/netbsd-elf.h: Remove.
4415 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
4416 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 4417 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
4418 (ENDFILE_SPEC): Likewise.
4419 (LINK_SPEC): Likewise.
4420 (CPP_SPEC): Likewise.
4421 (ASM_SPEC): Likewise.
4422 (LIB_SPEC): Likewise.
4423 (SWITCH_TAKES_ARG): Likewise.
4424 (TARGET_MEM_FUNCTIONS): Likewise.
4425 (CPP_PREDEFINES): Redefine.
4426 (ASM_FINAL_SPEC): Remove redefinition.
4427 (ASM_COMMENT_START): Redefine.
4428 (FUNCTION_PROFILER): Define.
4429 (TARGET_VERSION): Redefine.
4430 Comment and formatting cleanup.
4431 * config/i386/netbsd.h: Include <netbsd-aout.h>.
4432 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
4433 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
4434 big- or little-endian.
4435 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
4436 * config.gcc (*-*-netbsd*): Add definitions common to all
4437 NetBSD configs.
4438 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
4439 gnu_ld definitions. Add netbsd-elf.h to and remove
4440 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
4441 tmake_file, and don't lose previous tmake_file contents.
4442 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
4443 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
4444 gnu_ld definitions. Add netbsd-elf.h to tm_file.
4445 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
4446 (mipsel-*-netbsd*): Rename this to...
4447 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
4448 mips/little.h to tm_file for mips*el-*.
4449 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
4450 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
4451 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
4452
2e396476
JDA
44532002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
4454
4455 * pa-protos.h (reg_before_reload_operand): New function prototype.
4456 * pa.c (reg_before_reload_operand): New function implementation.
4457 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
4458 contraints to "*m".
4459
3b5708e7
FS
44602002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4461
4462 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
4463
85e79f96
JDA
44642002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
4465
4466 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
4467 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
4468 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
4469 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
4470 (ENDFILE_SPEC): Undefine.
4471 (STARTFILE_SPEC): Redefine for PA.
4472
38abadee
FS
44732002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4474
4475 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
4476
94f1d97c
DJ
44772002-01-21 Daniel Jacobowitz <drow@mvista.com>
4478
4479 * config.gcc: Add entries to supported PowerPC --with-cpu
4480 types.
4481
0333394e
JJ
44822002-01-21 Jakub Jelinek <jakub@redhat.com>
4483
4484 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
4485 true for 64-bit mode only SSE registers in 32-bit mode.
4486
e9d1b155
KH
44872002-01-21 Kazu Hirata <kazu@hxi.com>
4488
4489 * unwind-dw2.c: Fix formatting.
4490 * unwind-dw2-fde.c: Likewise.
4491 * unwind-dw2-fde.h: Likewise.
4492 * unwind-pe.h: Likewise.
4493 * varasm.c: Likewise.
4494 * varray.h: Likewise.
4495
07338cf8
HPN
44962002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
4497
4498 Remove workaround for register stack overwrite bug in mmix.
4499 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
4500 support for TARGET_REG_STACK_FILL_BUG.
4501 * config/mmix/mmix.h: Remove member has_call_without_parameters.
4502 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
4503 Delete.
4504 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
4505 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
4506 -mno-reg-stack-fill-bug-workaround.
4507 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
4508 machine member has_call_without_parameters.
4509 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
4510 -mreg-stack-fill-bug-workaround and
4511 -mno-reg-stack-fill-bug-workaround.
4512 (MMIX Options): Ditto.
4513
7192cbf1
KH
45142002-01-21 Kazu Hirata <kazu@hxi.com>
4515
4516 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
4517 as appropriate.
4518 Remove redundant code.
4519
d1552d7b
JM
45202002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
4521
4522 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
4523 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
4524 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
4525 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
4526 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
4527 out target macro definitions and non-target-specific comments
4528 mostly taken from old versions of the manual.
4529
ed168e45
KH
45302002-01-20 Kazu Hirata <kazu@hxi.com>
4531
4532 * config/h8300/h8300.h: Fix comment formatting.
4533 * config/ia64/aix.h: Likewise.
4534 * config/ia64/ia64-protos.h: Likewise.
4535 * config/ia64/ia64.c: Likewise.
4536 * config/ia64/ia64.h: Likewise.
4537 * config/ia64/ia64intrin.h: Likewise.
4538 * config/ia64/linux.h: Likewise.
4539 * config/ia64/unwind-aix.c: Likewise.
4540 * config/ia64/unwind-ia64.c: Likewise.
4541
005e3e05
KH
45422002-01-20 Kazu Hirata <kazu@hxi.com>
4543
4544 * config/h8300/h8300.c: Revise comments about shift code.
4545
64bead4c
KH
45462002-01-20 Kazu Hirata <kazu@hxi.com>
4547
4548 * config/h8300/h8300.c (function_arg): Update a comment.
4549
ed863595
KH
45502002-01-20 Kazu Hirata <kazu@hxi.com>
4551
4552 * config/h8300/h8300.md: Update the comments at the beginning
4553 of the file.
4554
5904dc87
KH
45552002-01-20 Kazu Hirata <kazu@hxi.com>
4556
4557 * config/i370/i370.c: Fix comment formatting.
4558 * config/i370/i370.h: Likewise.
4559 * config/i370/i370.md: Likewise.
4560 * config/i370/linux.h: Likewise.
4561
9702143f
RK
4562Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4563
cbafacd1
RK
4564 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
4565
9702143f
RK
4566 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
4567 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
4568 in incomplete case.
4569
6b6996b8
GS
45702002-01-20 Graham Stott <grahams@redhat.com>
4571
4572 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
4573
eab854f6
JDA
45742002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
4575
4576 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
4577
5b029315
TR
45782002-01-19 Tom Rix <trix@redhat.com>
4579
4580 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
4581
1d690052
AH
45822002-01-18 Aldy Hernandez <aldyh@redhat.com>
4583
d8086cbb 4584 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 4585
d8086cbb
RS
4586 * function.c (assign_stack_local_1): Adjust x_frame_offset with
4587 STARTING_FRAME_PHASE.
4588 (STARTING_FRAME_PHASE): New.
4589 (instantiate_virtual_regs): Check saneness of
4590 STARTING_FRAME_PHASE.
1d690052 4591
d8086cbb 4592 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 4593
4dd8c093
AO
45942002-01-19 Alexandre Oliva <aoliva@redhat.com>
4595
4596 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
4597
6f2a28d7
CR
45982002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
4599
4600 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
4601 be used for bootstrapping GCC 3.0.
4602
8763a465
KH
46032002-01-18 Kazu Hirata <kazu@hxi.com>
4604
4605 * config/h8300/h8300.md: Fix an insn length.
4606
3ef42a0c
KH
46072002-01-18 Kazu Hirata <kazu@hxi.com>
4608
4609 * bitmap.h: Fix comment formatting.
4610 * combine.c: Likewise.
4611 * cppfiles.c: Likewise.
4612 * c-pragma.h: Likewise.
4613 * c-typeck.c: Likewise.
4614 * df.c: Likewise.
4615 * dwarf2out.c: Likewise.
4616 * function.c: Likewise.
4617 * gcc.c: Likewise.
4618 * genattrtab.c: Likewise.
4619 * gthr-win32.h: Likewise.
4620 * haifa-sched.c: Likewise.
4621 * predict.c: Likewise.
4622 * rtlanal.c: Likewise.
4623 * rtl.h: Likewise.
4624 * unwind-dw2-fde.h: Likewise.
4625 * unwind-pe.h: Likewise.
4626 * vmsdbgout.c: Likewise.
4627
dd4dc3cd
RK
4628Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4629
4630 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
4631 if type_required and passed decl.
4632
5fb4cf24
AH
46332002-01-17 Aldy Hernandez <aldyh@redhat.com>
4634
d8086cbb
RS
4635 * config.gcc (cpu_type): Include altivec.h in powerpc
4636 extra_headers.
4637 Same for darwin.
5fb4cf24 4638
d8086cbb 4639 * config/rs6000/altivec.h: New.
5fb4cf24 4640
2705baf5
DE
46412002-01-17 David Edelsohn <edelsohn@gnu.org>
4642
4643 * doc/install.texi (*-ibm-aix*): Update assembler and exception
4644 handling information.
4645 * doc/trouble.texi (Interoperation): Add libstdc++ information
4646 for AIX.
4647 (Misunderstandings): Add template instantiation and static template
4648 member information for AIX.
4649
dbd680e1
JM
46502002-01-17 Jason Merrill <jason@redhat.com>
4651
821adc5e
JM
4652 * dbxout.c (dbxout_type): Support const and volatile.
4653
dbd680e1
JM
4654 * except.c (add_partial_entry): Remove backwards compatibility code.
4655 (end_protect_partials): Likewise.
4656
d0e82870
JJ
46572002-01-17 Jakub Jelinek <jakub@redhat.com>
4658
4659 * config/ia64/ia64.md (prologue_use): New.
4660 * config/ia64/ia64.c (ia64_expand_prologue): Use
4661 gen_prologue_use instead of gen_rtx_USE.
4662 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
4663 as CODE_FOR_pred_rel_mutex.
4664 (ia64_sched_reorder2): Likewise.
4665
f9f45c65
EC
46662002-01-16 Eric Christopher <echristo@redhat.com>
4667
4668 * config/mips/r3900.h: Reformat.
4669 (SUBTARGET_CPP_SIZE_SPEC): Remove.
4670 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
4671 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
4672 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
4673 * config/mips/t-elf: Remove mips3 multilib.
4674
c66c8b0e
L
46752002-01-16 H.J. Lu <hjl@gnu.org>
4676
4677 * config/mips/linux.h: Include "mips/abi64.h".
4678
5f083b72
L
46792002-01-16 H.J. Lu <hjl@gnu.org>
4680
4681 * config/mips/t-linux: New.
4682
4683 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
4684
4685 * config/mips/linux.h: Don't include "gofast.h".
4686 (INIT_SUBTARGET_OPTABS): Removed.
4687
af3c90a6
KH
46882002-01-16 Kazu Hirata <kazu@hxi.com>
4689
4690 * config/h8300/h8300-protos.h: Replace emit_a_shift with
4691 output_a_shift.
4692 * config/h8300/h8300.c: Likewise.
4693 * config/h8300/h8300.md: Likewise.
4694
a1bf0a16
KH
46952002-01-16 Kazu Hirata <kazu@hxi.com>
4696
4697 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
4698 spaces after an opcode name.
4699 (pushqi1_h8300hs): Likewise.
4700 (pushhi1_h8300hs): Likewise.
4701
88ab0d1c
KH
47022002-01-16 Kazu Hirata <kazu@hxi.com>
4703
4704 * doc/extend.texi: Replace "option" with "attribute"
4705 appropriately.
4706
51c561e3
JJ
47072002-01-16 Jakub Jelinek <jakub@redhat.com>
4708
4709 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
4710 (and:DI () (const_int -8)).
4711 (split_small_symbolic_mem_operand): Split
4712 (mem (and:DI () (const_int -8)).
4713
b8c1a6b8
JJ
47142002-01-16 Jakub Jelinek <jakub@redhat.com>
4715
4716 PR target/5309:
d8086cbb 4717 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
4718 same way as TYPE_IMUL.
4719 (ultrasparc_sched_reorder): Likewise.
4720 * config/sparc/sparc.md (type): Add comment to update
4721 ultrasparc_sched_reorder when making changes.
4722
1e4e4df2
KH
47232002-01-16 Kazu Hirata <kazu@hxi.com>
4724
4725 * doc/invoke.texi: Change the dump file name of block
4726 reordering pass from 28.bbro to 29.bbro.
4727 Mention -dk option.
4728
14d920c0
JH
4729Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
4730
4731 * i386.md (minsf splitter): Fix pasto.
4732
2e99323f
NC
47332002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4734
4735 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
4736 to frame pointer initialisation instruction.
4737 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
4738 initialisation instruction.
ab8081c1
NC
4739 (soft_df_operand): Do not accept the IP register.
4740 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 4741
c4031a04
JJ
47422002-01-16 Jakub Jelinek <jakub@redhat.com>
4743
4744 PR target/5357:
4745 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
4746 MASK_V8 being both set.
4747
44b8152b
UW
47482002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
4749
4750 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
4751 insn for GOT register; add REG_MAYBE_DEAD notes instead.
4752 config/s390/s390.md (call, call_value): Add GOT register to
4753 CALL_INSN_FUNCTION_USAGE where needed.
4754 (call_exp, call_value_exp): New.
4755
1d6e90ac
NC
47562002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
4757
4758 * config/arm/arm.c: General formatting tidy up.
4759
47602002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
4761
4762 * calls.c (try_to_integrate): Use "(size_t)" intermediate
4763 cast and when casting an integer literal to "rtx" pointer.
4764 (expand_call): Likewise.
4765 * flow.c (try_pre_increment): Likewise.
4766 (find_use_as_address): Likewise.
4767 * integrate.c (expand_iline_function): Likewise.
4768 * regmove.c (try_auto_increment): Likewise.
4769
1d6e90ac 47702002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
4771
4772 * sched-rgn.c (passed): Use sbitmap_free.
4773 (header): Likewise.
4774 (inner): Likewise.
4775 (in_queue): Likewise.
4776 (in_stack): Likewise.
4777
31fce3c4
EC
47782002-01-15 Eric Christopher <echristo@redhat.com>
4779
4780 * flow.c (propagate_one_insn): Change to use fatal_insn.
4781
c99d986a
KH
47822002-01-15 Kazu Hirata <kazu@hxi.com>
4783
4784 * expmed.c (extract_fixed_bit_field): Remove unused code.
4785 * system.h: Poison SLOW_ZERO_EXTEND.
4786 * doc/tm.texi: Remove.
4787 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
4788 * config/arm/arm.h: Likewise.
4789 * config/avr/avr.h: Likewise.
4790 * config/clipper/clipper.h: Likewise.
4791 * config/convex/convex.h: Likewise.
4792 * config/d30v/d30v.h: Likewise.
4793 * config/dsp16xx/dsp16xx.h: Likewise.
4794 * config/elxsi/elxsi.h: Likewise.
4795 * config/fr30/fr30.h: Likewise.
4796 * config/h8300/h8300.h: Likewise.
4797 * config/i370/i370.h: Likewise.
4798 * config/i386/i386.h: Likewise.
4799 * config/m68k/m68k.h: Likewise.
4800 * config/mips/mips.h: Likewise.
4801 * config/ns32k/ns32k.h: Likewise.
4802 * config/pdp11/pdp11.h: Likewise.
4803 * config/pj/pj.h: Likewise.
4804 * config/s390/s390.h: Likewise.
4805 * config/sh/sh.h: Likewise.
4806 * config/stormy16/stormy16.h: Likewise.
4807 * config/v850/v850.h: Likewise.
4808 * config/vax/vax.h: Likewise.
4809 * config/we32k/we32k.h: Likewise.
4810
acfab996
AH
48112002-01-15 Aldy Hernandez <aldyh@redhat.com>
4812
d8086cbb
RS
4813 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
4814 (altivec_lvsl): Change constraint to b.
4815 (altivec_lvsr): Same.
4816 (altivec_lvebx): Same.
4817 (altivec_lvehx): Same.
4818 (altivec_lvewx): Same.
4819 (altivec_lvxl): Same.
4820 (altivec_lvx): Same.
4821 (altivec_stvx): Add parallel.
4822 (altivec_stvxl): Same.
4823 (altivec_stvehx): Same.
4824 (altivec_stvebx): Same.
4825 (altivec_stvebx): Same.
acfab996 4826
5e505bc9
AH
48272002-01-15 Aldy Hernandez <aldyh@redhat.com>
4828
d8086cbb 4829 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 4830
d8086cbb 4831 * config/rs6000/altivec.h: Delete.
5e505bc9 4832
d8086cbb 4833 * config/rs6000/altivec-defs.h: Add.
5e505bc9 4834
5c41fdfb
JDA
48352002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4836
4837 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
4838 and UMOD modes.
4839
4840 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
4841 less than or equal to eight bytes.
4842
4843 * vax.md (andsi3): Remove constraints and change SET destination
4844 operand type to nonimmediate_operand.
4845 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
4846 when it is a CONST_INT.
4847
de097a2d
JM
48482002-01-15 Jason Merrill <jason@redhat.com>
4849
4850 * c-common.def (FILE_STMT): New code.
4851 * c-common.c (statement_code_p): It's a statement.
4852 * c-common.h (stmt_tree_s): Add x_last_filename.
4853 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
4854 (last_expr_filename): New macro.
4855 * c-semantics.c (begin_stmt_tree): Initialize it.
4856 (add_stmt): If the filename changed, also insert a
4857 FILE_STMT.
4858 (expand_stmt): Handle seeing one.
4859
4a913dd6
EC
48602002-01-15 Eric Christopher <echristo@redhat.com>
4861
4862 * flow.c (propagate_one_insn): Add error message and print out
4863 insn for debugging.
4864
006946e4
JM
48652002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4866
4867 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
4868 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
4869 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
4870 TRAMPOLINE_ALIGNMENT.
4871 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
4872 to be in bits.
4873 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
4874 PCC_BITFIELD_TYPE_MATTERS.
4875 * config/interix.h (STDC_VALUE): Remove. Use
4876 STDC_0_IN_SYSTEM_HEADERS.
4877 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
4878 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
4879 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
4880
751a1458
CR
48812002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
4882
4883 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
4884 not work on this platform currently.
4885
57771fe8
JM
48862002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
4887
4888 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
4889 readonly_warning in _().
4890
0e83ceb1 48912002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 4892
0e83ceb1 4893 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 4894
8e2e89f7
KH
48952002-01-15 Kazu Hirata <kazu@hxi.com>
4896
0e83ceb1
DR
4897 * config/h8300/h8300.c (print_operand): Remove support for
4898 unused operand characters.
4899
8e2e89f7
KH
4900 * read-rtl.c: Fix formatting.
4901 * real.c: Likewise.
4902 * recog.c: Likewise.
4903 * regclass.c: Likewise.
4904 * regmove.c: Likewise.
4905 * reg-stack.c: Likewise.
4906 * reload1.c: Likewise.
4907 * rtlanal.c: Likewise.
4908
b531087a
KH
49092002-01-15 Kazu Hirata <kazu@hxi.com>
4910
4911 * config/i386/i386.c: Fix formatting.
4912
7c94ce7f
JJ
49132002-01-15 Jakub Jelinek <jakub@redhat.com>
4914
4915 * c-typeck.c (process_init_element): Don't save_expr
4916 COMPOUND_LITERAL_EXPR if just its initializer will be used.
4917
6041bf2f
DE
49182002-01-15 David Edelsohn <edelsohn@gnu.org>
4919
4920 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
4921 emit optional traceback table if optimize_size or TARGET_ELF.
4922 * config/rs6000/rs6000.md (prefetch): New.
4923
8559c8c0
AJ
49242002-01-15 Andreas Jaeger <aj@suse.de>
4925
4926 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
4927
70f122f2
KH
49282002-01-15 Kazu Hirata <kazu@hxi.com>
4929
4930 * mips-tfile.c: Fix formatting.
4931
6a7b4ca6
JH
4932Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
4933
4934 * unroll.c (final_reg_note_copy): Fix previous commit.
4935
e7afe229
KH
49362002-01-14 Kazu Hirata <kazu@hxi.com>
4937
4938 * config/h8300/h8300-protos.h: Remove the prototype for
4939 eq_operator.
4940 * config/h8300/h8300.c (eq_operator): Remove.
4941
7d378549
RH
49422002-01-14 Richard Henderson <rth@redhat.com>
4943
4944 * config/i386/i386.md (prefetch): Tidy.
4945 (prefetch_3dnow): Fix locality operand.
4946
ab093b81
RH
49472002-01-14 Richard Henderson <rth@redhat.com>
4948
4949 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
4950 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
4951
d300f51f
HPN
49522002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
4953
4954 * reload1.c (reload_combine): Pass reg_sum replacement through
4955 copy_rtx in loop performing multiple changes.
4956
655dd289
JJ
49572002-01-14 Jakub Jelinek <jakub@redhat.com>
4958
4959 * except.c (remove_unreachable_regions): New.
4960 (free_eh_status): Clear exception_handler_labels.
4961 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
4962 (find_exception_handler_labels): Don't add the same label more than
4963 once.
4964 (remove_exception_handler_label): Don't die if
4965 find_exception_handler_labels hasn't been called for the current
4966 function yet.
4967
1fba46a7
JH
4968Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
4969
4970 * toplev.c (rest_of_compilation): Rebuild jump labels after
4971 gcse.
4972
0975678f
JM
49732002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
4974
4975 * doc/extend.texi: Move documentation of X86 built-in functions
4976 here.
4977 * doc/invoke.texi: From here.
4978 * doc/sourcebuild.texi: Document location of documentation for
4979 machine built-in functions.
4980
969815c7
CF
49812002-01-13 Christopher Faylor <cgf@redhat.com>
4982
4983 * cppfiles.c (TEST_THRESHOLD): New macro.
4984 (SHOULD_MMAP): Ditto.
4985 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
4986 be used.
4987
494c950b
JH
4988Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
4989
4990 * unroll.c (final_reg_note_copy): Properly handle
4991 REG_LABEL
4992 (unroll_loops): Fix LOOP_CONDITION heuristics.
4993
69a0611f
GK
49942002-01-14 Geoffrey Keating <geoffk@redhat.com>
4995
4996 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
4997 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
4998
b90e45ae
JH
4999Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
5000
5001 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
5002 threaded loop.
5003
8377288b
TR
50042002-01-14 Tom Rix <trix@redhat.com>
5005
5006 * config/rs6000/rs6000.md: Fix typo with sradi.
5007
9f37ccb1
UW
50082002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
5009
5010 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
5011 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
5012 (clrstrdi, clrstrsi): Adapt callers.
5013
5014 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
5015
8559c8c0 5016 (movti splitter): Never use register 0 as base register.
9f37ccb1 5017
6c2d03d0
HP
50182002-01-14 Hartmut Penner <hpenner@de.ibm.com>
5019
8559c8c0
AJ
5020 * combine.c (simplify_shift_const): Always generate new rtx
5021 for shift expression instead of reusing given expression.
6c2d03d0 5022
d3e98208
RK
5023Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5024
5025 * config/alpha/alpha.c (alpha_expand_mov): Don't call
5026 alpha_legitimize_address unless mode is Pmode.
5027
9f339dde
GK
50282002-01-13 Geoffrey Keating <geoffk@redhat.com>
5029
5030 * doc/md.texi (Modifiers): Document the '*' constraint for the
5031 user.
5032
5033 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
5034 * doc/extend.texi (Function Attributes): 'interrupt' is valid
5035 for xstormy16 too.
5036
02a10130
RH
50372002-01-13 Richard Henderson <rth@redhat.com>
5038
5039 * reload.c (find_reloads): Use a hard reg destination as reload reg
5040 for an input reload of the source.
5041
61d47787
GP
50422002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5043
5044 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
5045 more generic.
5046
f0df8029
DR
5047Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
5048
5049 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
5050 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
5051
d2a37256
DR
5052 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
5053
a9e8a5ee
RK
5054Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5055
5056 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
5057
bc06712d
TR
50582002-01-12 Tom Rix <trix@redhat.com>
5059
8559c8c0 5060 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
5061 TARGET_POWERPC64.
5062
7cbe9bb7
RH
50632002-01-12 Richard Henderson <rth@redhat.com>
5064
38b29e64
RH
5065 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
5066
58605ba0
RH
5067 * doc/invoke.texi: Update Alpha options.
5068
7cbe9bb7
RH
5069 * doc/invoke.texi: Update i386 built-in function lists.
5070
9d560860
JH
5071Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
5072
5073 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
5074 referencing outside.
5075
bb93b973
RK
5076Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5077
5078 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
5079 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
5080 offsets, and change line folding.
5081 * optabs.c (expand_binop): Remove warnings.
5082 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 5083
f9f6b7df
GS
50842002-01-12 Graham Stott <grahams@redhat.com>
5085
5086 * attribs.c (handle_deprecated_attribute): constify WHAT.
5087 * diagnostic.c (warn_deprecated_use): Add braces, fixes
5088 dangling else warning and constify WHAT.
5089 * except.h (struct function, struct inline_remap): Move
5090 struct tag forward defs before all prototypes.
5091 (duplicate_eh_regions): Whitespace.
5092
4a692617
NC
50932002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
5094
5095 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
5096 MODE_BASE_REG_CLASS.
5097 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
5098
e37af218
RH
50992002-01-12 Richard Henderson <rth@redhat.com>
5100
5101 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
5102 (ix86_expand_vector_move): New.
5103 (bdesc_2arg): Remove andps, andnps, orps, xorps.
5104 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
5105 Remove old prefetch builtins. Special case the logicals removed above.
5106 (ix86_expand_builtin): Likewise.
5107 (safe_vector_operand): Use V4SFmode, not TImode.
5108 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
5109 (ix86_expand_timode_binop_builtin): New.
5110 * config/i386/i386-protos.h: Update.
5111 * config/i386/i386.h (enum ix86_builtins): Update.
5112 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
5113 Use ix86_expand_vector_move in vector move expanders.
5114 (movti_internal, movti_rex64): Add xorps alternative.
5115 (sse_clrv4sf): Rename and adjust from sse_clrti.
5116 (prefetch): Don't work so hard.
5117 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
5118 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
5119 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
5120
6f1a6c5b
RH
51212002-01-11 Richard Henderson <rth@redhat.com>
5122
5123 * config/i386/mmintrin.h: New file.
5124 * config/i386/xmmintrin.h: New file.
5125 * config.gcc (i?86-*-*): Add extra_headers.
5126 * simplify-rtx.c (simplify_unary_operation): Handle saturating
5127 truncation codes.
5128 (simplify_binary_operation): Handle saturating arithmetic codes.
5129 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
5130 not the lowpart subreg.
5131 (ix86_expand_builtin): Return a TImode dummy register instead of 0
5132 on error.
5133 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
5134
cdb574d3
MH
51352002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5136
5137 * conflict.c (conflict_graph_compute): Free regsets when finished.
5138 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 5139
cf11ac55
HB
51402002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5141
5142 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
5143 every where we allocate a register.
5144
76ac938b
MH
51452002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5146
5147 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
5148 * lcm.c (compute_earliest, compute_farthest): Likewise.
5149
a84b4898
JJ
51502002-01-11 Janis Johnson <janis187@us.ibm.com>
5151
5152 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
5153
aaef1c12
JJ
51542002-01-11 Janis Johnson <janis187@us.ibm.com>
5155
5156 * doc/rtl.texi (Insns): Fix 2 typos.
5157
5d22c1a5
JM
51582002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
5159
5160 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
5161 options. Use @table @gcctabopt for MMIX options. Add index
5162 entries for MMIX options. Start new paragraph with first
5163 heading of the machine-dependent options.
5164
3e92902c
CR
51652002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
5166
5167 PR other/5299
5168 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
5169 * combine.c (force_to_mode): Same.
5170 * reload1.c (clear_reload_reg_in_use): Same.
5171
96ae8197
NC
51722002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
5173
5174 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
5175 and 'subtargets'.
5176
9b780582
AJ
51772002-01-11 Andreas Jaeger <aj@suse.de>,
5178 Brad Lucier <lucier@math.purdue.edu>
5179
5180 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
5181 mcpu.
5182
12300dad
DR
5183Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
5184
5185 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
5186 Protect with IN_LIBGCC.
5187 (LINK_EH_SPEC): Add required trailing space.
5188
27511a9a
NP
5189Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
5190
9b780582 5191 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
5192 under the filename which contains them.
5193 (check_identifier, finish_decl_top_level,
5194 lookup_name_current_level_global, shadow_record_fields): Remove.
5195
4daeab16
AJ
51962002-01-11 Andreas Jaeger <aj@suse.de>
5197
5198 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
5199 march.
5200
40571d67
RH
52012002-01-10 Richard Henderson <rth@redhat.com>
5202
5203 * config/alpha/alpha.c (print_operand): Add 'J'.
5204 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
5205 new operand with the sequence number for the lituse. When splitting
5206 the insns, use gen_movdi_er_high_g and generate a sequence number.
5207 (gen_movdi_er_high_g): Print the sequence number if non-zero.
5208
6525c0e7
AH
52092002-01-10 Aldy Hernandez <aldyh@redhat.com>
5210
d8086cbb
RS
5211 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
5212 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
5213 stvxl.
5214 (altivec_expand_builtin): Same.
5215 (altivec_expand_stv_builtin): New.
5216
5217 * config/rs6000/rs6000.h (rs6000_builtins): Same.
5218
5219 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
5220 ("altivec_lvehx"): New.
5221 ("altivec_lvewx"): New.
5222 ("altivec_lvxl"): New.
5223 ("altivec_lvx"): New.
5224 ("altivec_stvx"): New.
5225 ("altivec_stvebx"): New.
5226 ("altivec_stvehx"): New.
5227 ("altivec_stvewx"): New.
5228 ("altivec_stvxl"): New.
6525c0e7 5229
cda94cbb
RH
52302002-01-10 Richard Henderson <rth@redhat.com>
5231
5232 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
5233 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
5234 care not to delete instructions twice.
5235
df2c9a44
ZW
52362002-01-10 Zack Weinberg <zack@codesourcery.com>
5237
5238 * toplev.c: Don't declare environ (it's not used anywhere).
5239 * configure.in: Don't check for declaration of environ.
5240 * config/i386/xm-mingw32.h: Don't #define environ.
5241 * config.in, configure: Regenerate.
5242
5dd8a9b1
ZW
52432002-01-10 Zack Weinberg <zack@codesourcery.com>
5244
5245 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
5246 * configure: Regenerate.
5247
5248 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
5249 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
5250 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
5251 alpha/xm-vms.h.
5252 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
5253 LIMITS_H_TEST here, not in m68k/x-next.
5254 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
5255 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
5256
5257 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
5258 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
5259 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
5260
5261 * config/i386/x-djgpp: Renamed i386/t-djgpp.
5262 * config/m88k/x-dolph: Renamed m88k/t-dolph.
5263 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
5264 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
5265 replacement of quadlib.asm with quadlib.c.
5266
5267 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
5268 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
5269 config/rs6000/xm-beos.h: Delete file.
5270
5271 * config.gcc: Update to match above changes.
5272
d10dd44c
KH
52732002-01-10 Kazu Hirata <kazu@hxi.com>
5274
5275 * config/h8300/h8300.h: Fix comment typos.
5276 * config/h8300/h8300.md: Likewise.
5277 * config/h8300/lib1funcs.asm: Likewise.
5278
04894c5a
DJ
52792002-01-10 Dale Johannesen <dalej@apple.com>
5280
5281 PR optimization/5269
5282 * unroll.c (precondition_loop_p): Make *increment be the correct
5283 sign when n_iterations known, to avoid confusing caller.
5284
adc9fe67
KH
52852002-01-10 Kazu Hirata <kazu@hxi.com>
5286
5287 * doc/extend.texi (deprecated): Fix a typo.
5288
b446e5a2
JH
5289Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
5290
5291 * basic-block.h (update_br_prob_note): Declare.
5292 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
5293 (try_forward_edges): Care negative frequencies and update note.
5294 (outgoing_edges_match): Tweek conditional merging heuristics.
5295 (try_crossjump_to_edge): use update_br_prob_note.
5296 * cfglayout.c (fixup_reorder_chain): Likewise.
5297 * cfrtl.c (update_br_prob_note): New.
5298 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
5299
5300 * i386.c (ix86_decompose_address): Return -1 if address contains
5301 shift.
5302 (legitimate_address_p): Require ix86_decompose_address to return 1.
5303
5304 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
5305 (cprop_insn): Likewise.
5306
a01da83b
KH
53072002-01-10 Kazu Hirata <kazu@hxi.com>
5308
5309 * toplev.c: Fix formatting.
5310 * tree.c: Likewise.
5311 * tree-dump.c: Likewise.
5312 * unroll.c: Likewise.
5313 * unwind-dw2.c: Likewise.
5314 * unwind-dw2-fde.c: Likewise.
5315 * unwind-dw2-fde-glibc.c: Likewise.
5316 * unwind-sjlj.c: Likewise.
5317
9f85bca7
JM
53182002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5319
5320 * doc/invoke.texi: Document PDP-11 options.
5321
f48f56b1
KH
53222002-01-10 Kazu Hirata <kazu@hxi.com>
5323
5324 * config/h8300/h8300.h: Fix formatting.
5325
ead39bdf 53262002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
5327
5328 Add __attribute__ ((deprecated)).
5329 * extend.texi: Document __attribute__ ((deprecated)).
5330 * invoke.texi: Document -Wno-deprecated-declarations.
5331 * testsuite/g++.dg/other/deprecated.C: New C++ test.
5332 * testsuite/gcc.dg/deprecated.c: New C test.
5333 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
5334 (c_common_attribute_table): Add "deprecated" entry.
5335 (handle_deprecated_attribute): New function.
5336 * c-decl.c (deprecated_states): New enum.
5337 deprecated_state: State of "deprecated" handling.
5338 (start_decl): Set deprecated_state based on attributes.
5339 (grokdeclarator): Test for deprecated uses, propagate attribute.
5340 * c-typeck.c (build_component_ref): Test for deprecated fields.
5341 (build_external_ref): Test for deprecated primaries.
5342 * diagnostic.c (warn_deprecated_use) New function to issue
5343 warnings about __attribute__ ((depricated)) references.
5344 * flags.h (warn_deprecated_decl): Extern declared for
5345 -W[no-]deprecated-declarations option.
5346 * print-tree.c (print_node): Show deprecated flag status.
5347 * toplev.c (warn_deprecated_decl): Defined.
5348 (W_options): Added "deprecated-declaration".
5349 * toplev.h (warn_deprecated_use): Extern declared.
5350 * tree.h (struct tree_common): Define deprecated_flag.
5351 (TREE_DEPRECATED): New macro to access flag.
5352 * cp/call.c (build_call): Test for deprecated calls.
5353 * cp/class.c (add_implicitly_declared_members): Set global
5354 flag to tell grokdeclarator to not issue deprecated warnings.
5355 * cp/cp-tree.h: Add extern for adding_implicit_members.
5356 * cp/decl.c (deprecated_states): New enum.
5357 (start_decl): Set deprecated_state based on attributes.
5358 (grokdeclarator): Test for deprecated uses, propagate attribute.
5359 * cp/lex.c (do_identifier): Test for deprecated primaries.
5360 * cp/typeck.c (build_component_ref): Test for deprecated fields.
5361
ead39bdf 53622002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
5363
5364 Fix to assign attributes to inline member functions.
5365 * cp/decl.c (start_method): Handle attrlist.
5366
47073a38
KH
53672002-01-10 Kazu Hirata <kazu@hxi.com>
5368
5369 * combine.c (expand_field_assignment): Use subreg_lsb().
5370
d288e53d
DE
53712002-01-10 David Edelsohn <edelsohn@gnu.org>
5372
5373 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
5374 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
5375 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
5376 Recurse for any operand of AND as long as constant is non-zero.
5377
08a02ffa
KH
53782002-01-10 Kazu Hirata <kazu@hxi.com>
5379
5380 * config/h8300/h8300.md: Remove constraints from expanders.
5381
c203e7fe
KH
53822002-01-10 Kazu Hirata <kazu@hxi.com>
5383
5384 * varasm.c: Fix formatting.
5385 * varray.c: Likewise.
5386 * vmsdbgout.c: Likewise.
5387 * xcoffout.c: Likewise.
5388
bcb3bc6d
JH
5389Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
5390
5391 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 5392 update edge probabilities to match.
bcb3bc6d 5393
0a553c7e
JM
53942002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5395
5396 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
5397 dependencies.
5398 * doc/languages.texi, doc/sourcebuild.texi: New files.
5399 * doc/configfiles.texi: Make a subsubsection. Update.
5400 * doc/configterms.texi: Add @node. Remove warning that this isn't
5401 instructions for building GCC.
5402 * doc/makefile.texi: Make a subsection.
5403 * doc/gccint.texi: Update.
5404
adc7fcb8
JH
5405Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
5406
5407 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
5408
5a4dd0b3
NP
5409Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
5410
5411 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
5412
3987b9db
JH
5413Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
5414
5415 * optabs.c (expand_fix): Look for wider integer modes first.
5416
5417 * i386.md (mov?f): Avoid the fake const double trick for medium
5418 memory model.
5419 (min?f*/max?f*): Prohibit memory operands for i387 variant.
5420 (fop_df_4): Disable for SSE compilation.
5421
ceb15948 54222002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
5423
5424 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 5425 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 5426
e1623399
RH
54272002-01-10 Richard Henderson <rth@redhat.com>
5428
5429 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
5430
c4abb293
RH
54312002-01-10 Richard Henderson <rth@redhat.com>
5432
5433 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
5434 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
5435
d2604ae9
KH
54362002-01-10 Kazu Hirata <kazu@hxi.com>
5437
5438 * combine.c (can_combine_p): Fix a comment typo.
5439
766c7ad1
ZW
54402002-01-09 Zack Weinberg <zack@codesourcery.com>
5441
5442 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
5443 empty list correctly. Change loop index $t to $f for
5444 consistency with rest of Makefile.
5445
95385cbb
AH
54462002-01-08 Aldy Hernandez <aldyh@redhat.com>
5447
5448 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
5449 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
5450
5451 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
5452 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
5453 (altivec_init_builtins): Same.
5454 (altivec_expand_unop_builtin): Return NULL_RTX on error.
5455 (altivec_expand_binop_builtin): Same.
5456 (altivec_expand_ternop_builtin): Same.
5457 (bdesc_dst): New.
5458
5459 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
5460 ("altivec_vctuxs"): Fix typo.
5461 ("altivec_vnmsubfp"): Same.
5462 ("altivec_dssall"): New.
5463 ("altivec_mfvscr"): New.
5464 ("altivec_dss"): New.
5465 ("altivec_lvsl"): New.
5466 ("altivec_lvsr"): New.
5467 ("altivec_dstt"): New.
5468 ("altivec_dstst"): New.
5469 ("altivec_dststt"): New.
5470 ("altivec_dst"): New.
5471
5472 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
5473 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
5474
e4ac76b4
RH
54752002-01-09 Richard Henderson <rth@redhat.com>
5476
5477 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
5478
c893e4a4
HPN
54792002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
5480
5481 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
5482 function.
5483 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
5484 prototype.
7387c700 5485 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 5486
f4f4d0f8
KH
54872002-01-09 Kazu Hirata <kazu@hxi.com>
5488
5489 * read-rtl.c: Fix formatting.
5490 * real.c: Likewise.
5491 * regclass.c: Likewise.
5492 * regrename.c: Likewise.
5493 * reg-stack.c: Likewise.
5494 * reload1.c: Likewise.
5495 * reload.c: Likewise.
5496 * rtl.c: Likewise.
5497
cc863bea
KH
54982002-01-09 Kazu Hirata <kazu@hxi.com>
5499
5500 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
5501 to extract items in the expr_list chain.
5502
7b4dfe3d
RH
55032002-01-09 Richard Henderson <rth@redhat.com>
5504
5505 * config/vax/vax.c (vax_rtx_cost): Never abort.
5506
1d969638
RH
5507 * config/vax/vax.h (REAL_ARITHMETIC): Define.
5508
7d5ab30e
JH
55092002-01-09 Jan Hubicka <jh@suse.cz>
5510
5511 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
5512
9503f3d1
RH
55132002-01-09 Richard Henderson <rth@redhat.com>
5514
5515 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
5516 Unify code from various alternatives.
5517
42bd17b7
RH
55182002-01-09 Richard Henderson <rth@redhat.com>
5519
5520 * regrename.c (copy_value): Ignore the copy if the source register
5521 is present in the value chain with a narrower mode.
5522
bdca3c33
HB
55232002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5524
cda94cbb
RH
5525 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
5526 for the c4x target. Also improve layout.
bdca3c33 5527
c73a5e94
RH
55282002-01-09 Richard Henderson <rth@redhat.com>
5529
5530 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
5531 * config/m32r/m32r.md (and ior xor splitters): Swap operands
5532 to match insn patterns.
5533
dd0a18c0
RH
55342002-01-09 Richard Henderson <rth@redhat.com>
5535
5536 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
5537 (copyprop_hardreg_forward_1): Likewise.
5538
1fd9ac1e
JDA
55392002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
5540
5541 * pa.md (decrement_and_branch_until_zero): Change predicate for
5542 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
5543
5cb265ec
BM
55442002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
5545
5546 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
5547 gets undefined. For Darwin.
5548
fcd8fa8b
HB
55492002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5550
5551 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
5552
bd3ab23a
MH
55532002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5554
5555 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
5556
21e16bd6
RH
55572002-01-08 Richard Henderson <rth@redhat.com>
5558
5559 * regrename.c (copy_value): Ignore overlapping copies.
5560
a5376276
RH
55612002-01-08 Richard Henderson <rth@redhat.com>
5562
5563 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
5564 as needed to avoid shared structure.
5565
18cf8dda
KH
55662002-01-08 Kazu Hirata <kazu@hxi.com>
5567
5568 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
5569 H8/300H and H8/S.
5570
16c484c7
JM
55712002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5572
5573 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
5574 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
5575 documentation of obsolete macros.
5576 * system.h: Poison these macros.
5577 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
5578 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
5579 config/c4x/c4x.h, config/clipper/clipper.h,
5580 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
5581 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
5582 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
5583 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
5584 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
5585 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
5586 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
5587 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
5588 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
5589 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
5590 config/sparc/sparc.h, config/stormy16/stormy16.h,
5591 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
5592 definitions and commented out definitions of obsolete macros.
5593 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
5594 of MAX_INT_TYPE_SIZE.
5595
14b3e8ef
UW
55962002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
5597
5598 * config/s390/s390.c (s390_preferred_reload_class): Never
5599 return ADDR_REGS if it isn't a subset of the given class.
5600 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
5601 FP_REGS, but all superclasses as well.
5602
5603 * config/s390/s390.c (s390_function_profiler): Fix thinko.
5604
5605 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
5606 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
5607 must not be a const_int.
5608
a693284d
RH
56092002-01-08 Richard Henderson <rth@redhat.com>
5610
5611 * Makefile.in (toplev.o): Depend on options.h.
5612 (gcc.o): Depend on specs.h.
5613
b3ca30df
JJ
56142002-01-08 Jakub Jelinek <jakub@redhat.com>
5615
5616 * expr.c (store_expr): Convert VOIDmode constants back to target's
5617 mode.
5618
24dbb440
GP
56192002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5620
5621 * doc/invoke.texi: Markup gcc as @command. Refer to
5622 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
5623 of http://gcc.gnu.org/thanks.html.
5624
234e114c
DJ
56252002-01-08 Dale Johannesen <dalej@apple.com>
5626
5627 * config/rs6000/rs6000.md: Add missing int register
5628 target case to movdf_low.
5629
0d24f4d1
ZW
56302002-01-08 Zack Weinberg <zack@codesourcery.com>
5631
5632 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
5633 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
5634 (cppinit.o): Depend on except.h.
5635 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
5636 s-specs): New rules.
5637
5638 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
5639 Don't create specs.h/options.h/gencheck.h here. Remove
5640 unnecessary variable settings from last argument of AC_OUTPUT.
5641 * config.in, configure: Regenerate.
5642 * intl.c: Hardcode package name as "gcc".
5643
5644 * cppinit.c: Include except.h.
5645 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
5646 appropriate.
5647 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
5648 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
5649 (!)USING_SJLJ_EXCEPTIONS.
5650 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
5651
ed722f66
JM
56522002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5653
5654 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
5655 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
5656 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
5657 documentation of obsolete macros.
5658 * system.h: Poison these macros.
5659 * config/d30v/d30v.h, config/ns32k/encore.h,
5660 config/stormy16/stormy16.h: Remove definitions and commented out
5661 definitions of obsolete macros.
5662
31e5e29a
NP
5663Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
5664
5665 * objc/objc-act.c (handle_class_ref): Mark the declaration of
5666 %sobjc_class_ref_%s as used - to prevent unwanted compiler
5667 warnings.
5668
bc1fa59c
UW
56692002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
5670
5671 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
5672 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
5673 to insn adjusting stack/frame pointer.
0d24f4d1 5674 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
5675 accept operands that cause the insn to be non-splittable.
5676
a8086abf
GS
56772002-01-08 Graham Stott <grahams@redhat.com>
5678
5679 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
5680 (C_TYPE_FIELDS_VOLATILE): Likewise.
5681 (C_TYPE_BEING_DEFINED): Likewise.
5682 (C_IS_RESERVED_WORD): Likewise.
5683 (C_TYPE_VARIABLE_SIZE): Likewise.
5684 (C_DECL_VARIABLE_SIZE): Likewise.
5685 (C_MISSING_PROTOTYPE_WARNED): Likewise.
5686 (C_SET_EXP_ORIGINAL_CODE): Likewise.
5687 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
5688 parenthesis.
5689 (C_DECL_ANTICIPATED): Likewise.
5690 (c_build_type_variant): Add parenthesis.
5691
3f595aa1
JM
56922002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
5693
5694 * gcc.c (option_map): Remove --version.
5695 (process_command): Handle -fversion following the GNU Coding
5696 Standards. Partially addresses PR other/704.
5697
5bc5a8f9
GS
56982002-01-08 Graham Stott <grahams@redhat.com>
5699
5700 * combine.c (combine_instructions): Fix typo.
5701
16ec4ebf
GS
57022002-01-08 Graham Stott <grahams@redhat.com>
5703
5704 * debug.h: Use "tree" and "rtx" throughout.
5705
5706 * debug.c: Likewise.
5707
4b69f385
NC
57082002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
5709
5710 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
5711 constant pool, use the pool's version of the symbol instead.
5712
57d1019b
RH
57132002-01-07 Richard Henderson <rth@redhat.com>
5714
5715 * regrename.c (find_oldest_value_reg): Ignore the value chain if
5716 the original register was copied in a mode with a fewer number of
5717 hard registers than the desired mode.
5718 (copyprop_hardreg_forward_1): Likewise.
5719 (debug_value_data): Fix loop test.
5720 * toplev.c (parse_options_and_default_flags): Reenable
5721 -fcprop-registers at -O1.
5722
57232002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 5724
0d24f4d1
ZW
5725 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
5726 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 5727
0d24f4d1
ZW
5728 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
5729 predicates.
fa066a23 5730
0d24f4d1 5731 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 5732
8f949e7e
JDA
57332002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5734
5735 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
5736 (pa_output_function_prologue): Output local label at the beginning of
5737 the prologue when profiling.
5738 (hppa_profile_hook): Use the local label rather than the function label.
5739 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
5740
c62f2db5
AH
57412002-01-07 Aldy Hernandez <aldyh@redhat.com>
5742
0d24f4d1
ZW
5743 * config/rs6000/rs6000.c (print_operand): Remove extra space.
5744 (altivec_expand_unop_builtin): Fix thinko.
5745 (altivec_expand_binop_builtin): Same.
5746 (altivec_expand_ternop_builtin): Same.
5747 (altivec_expand_builtin): Same.
c62f2db5 5748
b5235ba7
RH
57492002-01-07 Richard Henderson <rth@redhat.com>
5750
5751 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
5752
7d8ac293
JM
57532002-01-07 Jason Merrill <jason@redhat.com>
5754
5755 * unwind-dw2.c (execute_cfa_program): Use < again.
5756
571a03b8
JJ
57572002-01-07 Jakub Jelinek <jakub@redhat.com>
5758
5759 * predict.c (combine_predictions_for_insn): Avoid division by zero.
5760
2e951384
JJ
57612002-01-07 Jakub Jelinek <jakub@redhat.com>
5762
5763 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
5764 Don't allow -1 - x -> ~x simplifications in the first pass.
5765
20e26713
AH
57662002-01-07 Aldy Hernandez <aldyh@redhat.com>
5767
0d24f4d1
ZW
5768 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
5769 arguments.
5770 (altivec_expand_binop_builtin): Same.
5771 (altivec_expand_unop_builtin): Same.
5772 (print_operand): Fix typo.
5773 (bdesc_1arg): Add vupk* variants.
20e26713 5774
0d24f4d1 5775 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 5776
0d24f4d1 5777 * rs6000.md: Add altivec_vupk* variants.
20e26713 5778
4dd57c18
JM
57792002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
5780
5781 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
5782 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
5783 and last update dates.
5784
0341c5d2
JJ
57852002-01-07 Janis Johnson <janis187@us.ibm.com>
5786
5787 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
5788
c7f3e0b0
MM
57892002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
5790
5791 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
5792 * config/avr/avr.h (CPP_SPEC): Likewise.
5793 (LINK_SPEC): Likewise.
5794 (CRT_BINUTILS_SPECS): Likewise.
5795 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
5796 * doc/invoke.texi (AVR Options): Document them.
5797
6ba4d630
JH
5798Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
5799
5800 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
5801 LABEL_NUSES.
5802
6253d571
GS
58032002-01-07 Graham Stott <grahams@redhat.com>
5804
0d24f4d1
ZW
5805 * config/i386/i386.h: Update copyright date.
5806 (HALF_PIC_PTR): Add parenthesis.
5807 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
5808 (CONSTANT_ALIGNMENT): Add parenthesis.
5809 (DATA_ALIGNMENT): Likewise.
5810 (LOCAL_ALIGNMENT): Likewise.
5811 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
5812 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
5813 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
5814 (HARD_REGNO_NREGS): Add paranethesis.
5815 (VALID_SSE_REG_MODE): Whitespace.
5816 (VALID_MMX_REG_MODE): Whitespace.
5817 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
5818 (ix86_hard_regno_mode_ok): Add parenthesis.
5819 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
5820 (RETURN_IN_MEMORY): Whitespace.
5821 (N_REG_CLASSES): Add parenthesis.
5822 (INTEGER_CLASS_P): Add parenthesis and wrap.
5823 (FLOAT_CLASS_P): Likewise.
5824 (SSE_CLASS_P): Likewise.
5825 (MMX_CLASS_P): Likewise.
5826 (MAYBE_INTEGER_CLASS_P): Likewise.
5827 (MAYBE_FLOAT_CLASS_P): Likewise.
5828 (MAYBE_SSE_CLASS_P): Likewise.
5829 (MAYBE_MMX_CLASS_P): Likewise.
5830 (Q_CLASS_P): Likewise.
5831 (GENERAL_REGNO_P): Uppercase macro parameter.
5832 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
5833 (FP_REGNO_P): Likewise.
5834 (ANY_FP_REGNO_P): Uppercase macro parameter.
5835 (SSE_REGNO_P): Likewise.
5836 (SSE_REGNO): Likewise.
5837 (SSE_REG_P): Likewise.
5838 (SSE_FLOAT_MODE_P): Likewise.
5839 (MMX_REGNO_P): Likewise.
5840 (MMX_REG_P):Likewise.
5841 (STACK_REG_P): Likewise.
5842 (NON_STACK_REG_P): Likewise.
5843 (STACK_TOP_P): Likewise.
5844 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
5845 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
5846 (SECONDARY_MEMORY_NEEDED): Likewise.
5847 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
5848 (MD_ASM_CLOBBERS): Whitespace and wrap.
5849 (MUST_PASS_IN_STACK): Whitespace and wrap.
5850 (RETURN_POPS_ARGS): Add parenthesis.
5851 (INIT_CUMULATIVE_ARGS): Likewise.
5852 (FUNCTION_ARG): Likewise.
5853 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
5854 (SETUP_INCOMING_VARARGS): Likewise.
5855 (BUILD_VA_LIST_TYPE): Add parenthesis.
5856 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
5857 parenthsis.
5858 (EXPAND_BUILTIN_VA_ARG): Likewise.
5859 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
5860 (INITIALIZE_TRAMPOLINE): Add parenthesis.
5861 (INITIAL_ELIMINATION_OFFSET): Likewise.
5862 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
5863 (REGNO_OK_FOR_BASE_P): Likewise.
5864 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
5865 (REGNO_OK_FOR_DIREG_P): Likewise.
5866 (REG_OK_FOR_INDEX_P): Whitespace.
5867 (REG_OK_FOR_BASE_P): Whitespace.
5868 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
5869 parenthesis.
5870 (FIND_BASE_TERM): Fix typo.
5871 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
5872 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
5873 (SYMBOLIC_CONST; Whitespace.
5874 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
5875 (ENCODE_SECTION_INFO): Whitespace.
5876 (FINALIZE_PIC): Remove do { ... } while (0).
5877 (PROMOTE_MODE): Wrap in do { ... } while (0).
5878 (CONST_COSTS): Whitespace.
5879 (RTX_COSTS): Add paramethesis, whitespace and wrap.
5880 (REGISTER_MOVE_COST): Add parenthesis.
5881 (MEMORY_MOVE_COST): Likewise.
5882 (EXTRA_CC_MODES): Whitespace.
5883 (SELECT_CC_MODE): Add parenthesis and whitespace.
5884 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
5885 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
5886 (ASM_OUTPUT_LABEL): Add paramethesis.
5887 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
5888 (ASM_OUTPUT_REG_POP): Likewise.
5889 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
5890 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 5891
07933f72
GS
5892 * config/i386/i386.c: Update copyright.
5893 (CHECK_STACK_LIMIT): Add parenthesis.
5894 (AT_BP): Uppercase macro parameter.
5895 (x86_64_int_parameter_registers): Constify.
5896 (x86_64_int_return_registers): Likewise.
5897 (ix86_compare_op0): Use rtx.
5898 (construct_container): Constify INTREG parameter.
5899 (function_arg): Use rtx.
5900
0b4d32c9
GS
5901 * diagnostic.h: Update copyright date.
5902 (output_buffer_state): Add parenthesis.
5903 (output_buffer_format_args): Likewise.
5904
6253d571
GS
5905 * combine.c (combine_instructions): Replace XEXP (links, 0)
5906 with link.
5907
68f3f6f1
L
59082002-01-06 H.J. Lu <hjl@gnu.org>
5909
5910 * cfgcleanup.c (thread_jump): Fix 2 typos.
5911
59122002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 5913
0d24f4d1 5914 * config.gcc: Add support for --enable-altivec.
480f7f3a 5915
13b8c631
CR
59162002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5917
5918 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
5919
58ad89b1
JJ
59202002-01-06 Jakub Jelinek <jakub@redhat.com>
5921
5922 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
5923 __objc_class_name_*.
5924
e403b4bc
CR
59252002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
5926
5927 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
5928
e41c7831
RH
59292002-01-06 Richard Henderson <rth@redhat.com>
5930
5931 * reorg.c (emit_delay_sequence): Remove death notes, not merely
5932 nop them out. Increment label reference count for REG_LABEL.
5933 (fill_slots_from_thread): Frob label reference count around
5934 delete_related_insns.
5935
3b3b1e32
RH
59362002-01-05 Richard Henderson <rth@redhat.com>
5937
5938 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
5939 jump threading.
5940
c28abdf0
RH
59412002-01-05 Richard Henderson <rth@redhat.com>
5942
5943 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
5944 * integrate.c (output_inline_function): Likewise.
5945 * toplev.c (rest_of_compilation): Do it here instead. Move call
5946 to remove_unnecessary_notes after emitting abstract instance.
5947 Force an emitted nested function to have its parent emited as well.
5948 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
5949 for null.
5950 (rtl_for_decl_location): Do not look at reload data structures
5951 before reload has run.
5952
c4f2c499
KH
59532002-01-05 Kazu Hirata <kazu@hxi.com>
5954
5955 * cse.c: Fix formatting.
5956 * dwarf2asm.c: Likewise.
5957 * dwarf2out.c: Likewise.
5958 * explow.c: Likewise.
5959 * expmed.c: Likewise.
5960 * function.c: Likewise.
5961 * gcov.c: Likewise.
5962 * gencheck.c: Likewise.
5963 * genrecog.c: Likewise.
5964 * ggc-common.c: Likewise.
5965 * ggc-page.c: Likewise.
5966 * global.c: Likewise.
5967
cf0d9408
KH
59682002-01-05 Kazu Hirata <kazu@hxi.com>
5969
5970 * combine.c: Fix formatting.
5971
bedca03a
CR
59722002-01-05 Craig Rodrigues <crodrigu@bbn.com>
5973
5974 PR middle-end/1557
5975 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
5976
0134bf2d
DE
59772002-01-05 David Edelsohn <edelsohn@gnu.org>
5978
5979 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
5980 as 1 for __powerpc64__ as well.
5981
5982 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
5983
5984 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
5985 return it.
5986
9ca88d5a
DB
59872002-01-05 Daniel Berlin <dan@dberlin.org>
5988
5989 * lcm.c: Revert change, due to performance regression it causes on
5990 SPEC because it's slightly more conservative (sigh, I hate
5991 edge-based LCM).
0d24f4d1 5992
1c570418
JH
5993Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
5994
5995 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
5996
d83bb9f7
NB
59972002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
5998
5999 * doc/cppinternals.texi: Update.
6000
3e0f61ac
HPN
60012002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
6002
6003 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
6004 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
6005 negatives.
6006 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
6007 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
6008 kludge for pre-october-14th mmix versions to handle new-found bug
6009 with PUSHJ/PUSHGO and the register stack.
6010 * config/mmix/mmix.h (struct machine_function): Rename member
6011 has_call_value_without_parameters to has_call_without_parameters.
6012 All referers changed.
6013 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
6014 TARGET_MASK_BRANCH_PREDICT): New macros.
6015 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
6016 -mno-reg-stack-fill-bug-workaround.
6017 * config/mmix/mmix.md ("call"): Set struct machine member
6018 has_call_without_parameters.
6019
4deaa2f8
JH
6020Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
6021
6022 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
6023
9f16e871
JH
6024Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
6025
6026 * cfgcleanup.c: Include tm_p.h
6027 (mark_effect): Fix handling of hard register; fix handling of SET
6028
96eb1157
KH
60292002-01-04 Kazu Hirata <kazu@hxi.com>
6030
6031 * config/h8300/h8300.md (anonymous patterns): Check that
6032 operands are registers before using REGNO on them.
6033
48180d68
RM
60342002-01-03 Roland McGrath <roland@frob.com>
6035
6036 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
6037
b0832fe1
JJ
60382002-01-04 Jakub Jelinek <jakub@redhat.com>
6039
6040 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
6041 * c-common.h (genrtl_expr_stmt_value): Likewise.
6042 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
6043 (expand_expr_stmt_value): Add maybe_last argument.
6044 Don't warn about statement with no effect if it is the last statement
6045 in expression statement.
6046 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
6047 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
6048 expand_expr_stmt_value.
6049 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
6050 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
6051 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
6052 as maybe_last to expand_expr_stmt_value.
6053
c1e14513
JL
6054Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
6055
0d24f4d1
ZW
6056 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
6057 be passed in, do not build it.
6058 (c_begin_if_stmt): New function.
6059 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
6060 * c-common.h (c_expand_start_cond): Update prototype.
6061 (c_begin_if_stmt): Prototype new function.
6062 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
6063 * c-parse.in (if_prefix): Use c_begin_if_stmt,
6064 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 6065
b6ec437a
WC
60662002-01-04 William Cohen <wcohen@redhat.com>
6067
6068 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
6069 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
6070 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
6071 * config/pa/som.h (ASM_FILE_START): Likewise.
6072
ead39bdf 60732002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
6074
6075 * lcm.c: Include df.h.
6076 Add available_transfer_function prototype.
6077 (compute_available): Rework to use iterative dataflow framework.
6078 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
6079 with bb_info in df.h
6080 (available_transfer_function): New function.
6081
6082 * Makefile.in (lcm.o): add df.h to dependencies.
6083
551cc6fd
RH
60842002-01-04 Richard Henderson <rth@redhat.com>
6085
6086 * config/alpha/alpha.c (some_operand): Accept HIGH.
6087 (input_operand): Likewise; accept simple references to globals.
6088 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
6089 (alpha_const_double_ok_for_letter_p): Likewise.
6090 (alpha_extra_constraint): Likewise.
6091 (alpha_preferred_reload_class): Likewise. Do not force
6092 symbolic constants to memory.
6093 (alpha_legitimate_address_p): Accept simple references
6094 to small_symbolic_operand.
6095 (alpha_legitimize_address): New arg scratch. Be prepared to be
6096 called when no_new_pseudos. Emit simple symbolic references.
6097 Split integers into low, high, and rest.
6098 (alpha_expand_mov): Use alpha_legitimize_address.
6099 (some_small_symbolic_mem_operand): New.
6100 (split_small_symbolic_mem_operand): New.
6101 * config/alpha/alpha-protos.h: Update.
6102 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
6103 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
6104 (EXTRA_CONSTRAINT): Likewise.
6105 (PREFERRED_RELOAD_CLASS): Likewise.
6106 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
6107 (PREDICATE_CODES): Update.
6108 * config/alpha/alpha.md: New post-reload splitters to convert
6109 simplfied symbolic operands to the form that references $29.
6110 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
6111 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
6112
1eaea054
RH
61132002-01-03 Richard Henderson <rth@redhat.com>
6114
6115 * local-alloc.c (function_invariant_p): Update commentary.
6116
c4cc12b7
L
61172002-01-04 H.J. Lu <hjl@gnu.org>
6118
6119 * toplev.c (rest_of_compilation): Fix a typo when calling
6120 cleanup_cfg.
6121
173bf5be
KH
61222002-01-03 Kazu Hirata <kazu@hxi.com>
6123
6124 * c-common.c: Fix formatting.
6125 * diagnostic.c: Likewise.
6126 * doloop.c: Likewise.
6127 * dwarf2out.c: Likewise.
6128
187462ac
KH
61292002-01-03 Kazu Hirata <kazu@hxi.com>
6130
6131 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
6132 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
6133
5d8ebbd8
NB
61342002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
6135
6136 * cpperror.c: Update comments and copyright.
6137 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
6138 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
6139
518c1311
JDA
61402002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
6141
6142 * collect2.c (main): Use strcmp when testing for "-shared".
6143
d15a58c0
NB
61442002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
6145
6146 * cppmacro.c: Don't include intl.h. Update comments.
6147 (new_number_token): Allocate enough buffer for 64-bit unsigned
6148 integers; update prototype.
6149 * cppmain.c: Update comments.
6150
70f4f91c
WC
61512002-01-03 William Cohen <wcohen@redhat.com>
6152
6153 * function.h (struct function): Add profile.
6154 (current_function_profile): New.
6155 doc/extend.texi: Update documentation.
6156 * final.c (final_start_function): Use current_function_profile
6157 instead of profile_flag.
6158 (profile_after_prologue): Likewise.
6159 * function.c (expand_function_start): Likewise.
6160 (expand_function_start): Likewise.
c4cc12b7 6161 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
6162 (alpha_does_function_need_gp): Likewise.
6163 (alpha_expand_prologue): Likewise.
6164 * config/arm/arm.c (arm_expand_prologue): Likewise.
6165 thumb_expand_prologue: Likewise.
6166 * config/d30v/d30v.c (d30v_stack_info): Likewise.
6167 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
6168 (fr30_expand_prologue): Likewise.
6169 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
6170 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
6171 * config/i386/i386.h (FINALIZE_PIC): Likewise.
6172 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
6173 * config/i960/i960.c (i960_output_function_prologue): Likewise.
6174 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
6175 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
6176 (m32r_expand_prologue): Likewise.
6177 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
6178 (m88k_expand_prologue): Likewise.
6179 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
6180 * config/mips/mips.c (compute_frame_size): Likewise.
6181 (mips_expand_prologue): Likewise.
6182 (mips_can_use_return_insn): Likewise.
6183 * config/pa/elf.h (ASM_FILE_START): Likewise.
6184 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
6185 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
6186 * config/pa/som.h (ASM_FILE_START): Likewise.
6187 * config/romp/romp.c (romp_using_r14): Likewise.
6188 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
6189 (rs6000_stack_info): Likewise.
6190 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 6191 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
6192 * config/v850/v850.c (compute_register_save_size): Likewise.
6193
cb1ac742
JJ
61942002-01-03 Jakub Jelinek <jakub@redhat.com>
6195
6196 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
6197 gen_lowpart_common fails, use gen_lowpart_SUBREG.
6198
61d951df 61992002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 6200
61d951df
TC
6201 * darwin.c (machopic_output_possible_stub_label): Don't generate
6202 stub routines for pseudo-stubs which we've just defined.
6203
505ddab6
KH
62042002-01-03 Kazu Hirata <kazu@hxi.com>
6205
6206 * builtins.c: Fix formatting.
6207 * c-typeck.c: Likewise.
6208 * combine.c: Likewise.
6209 * expr.c: Likewise.
6210 * loop.c: Likewise.
6211
b7e30d8a
AS
62122002-01-03 Andreas Schwab <schwab@suse.de>
6213
6214 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
6215 and return true if _cpp_push_next_buffer pushed a new include
6216 file.
6217 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
6218 _cpp_pop_file_buffer did not push a new file.
6219 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
6220
ff81832f
EC
62212002-01-02 Eric Christopher <echristo@redhat.com>
6222
6223 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
6224 FIND_REG_INC_NOTE call. Update copyright.
6225 * loop.c (canonicalize_condition): Ditto.
6226 * reorg.c (delete_scheduled_jump): Ditto.
6227
8e42ace1
KH
62282002-01-03 Kazu Hirata <kazu@hxi.com>
6229
6230 * gcse.c: Fix formatting.
6231
fb2bf631
GS
62322002-01-03 Graham Stott <grahams@redhat.com>
6233
6234 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
6235 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 6236 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
6237
6238 * system.h: Move forward defs for struct tags rtx_def, union_tree,
6239 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 6240 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
6241
62422002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
6243
6244 * tree.h: Update copyright date.
6245 (IS_EXPR_CODE_CLASS): Add parenthesis.
6246 (TREE_SET_CODE): Add whitespace.
6247 (TREE_CHECK): Add parenthesis.
6248 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
6249 (CST_OR_CONSTRUCTOR_CHECK):
6250 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
6251 (TREE_SYMBOL_REFERENCED): Whitespace.
6252 (INT_CST_LT): Likewise.
6253 (INT_CST_LT_UNSIGNED): Likewise.
6254 (tree_real_cst): Unwrap comment.
6255 (tree_string): Likewise.
6256 (tree_complex): Likewise.
6257 (IDENTIFIER_POINTER): correct cast.
6258 (SAVE_EXPR_CONTEXT): Whitespace.
6259 (EXPR_WFL_FILENAME_NODE): Likewise.
6260 (EXPR_WFL_FILENAME): Remove parenthesis.
6261 (DECL_ORIGIN): Add parenthesis.
6262 (DECL_FROM_INLINE): Use NULL_TREE.
6263 (build_int_2): Whitespace.
6264 (build_type_variant): Add parenthesis.
6265
6266 * gcc/jcf-parse.c: Update copyright date.
6267 (yyparse): Constify resource_filename.
6268
f52eda29
GS
62692002-01-03 Graham Stott <grahams@redhat.com>
6270
6271 * rtl.h: Update copyright date.
6272 (RTL_CHECK1): Wrap long line.
6273 (RTL_CHECK2): Likewise.
6274 (RTL_CHECKC1): Wrap long line and whitespace.
6275 (RTL_CHECKC2): Likewise.
6276 (XWINT): Whitespace.
6277 (XINT): Likewise.
6278 (XSTR): Likewise.
6279 (XEXP): Likewise.
6280 (XVEC): Likewise.
6281 (XMODE): Likewise.
6282 (XBITMAP): Likewise.
6283 (XTREE): Likewise.
6284 (XBBDEF): Likewise.
6285 (XTMPL): Likewise.
6286 (X0WINT): Likewise.
6287 (X0INT):Likewise.
6288 (X0UINT): Likewise.
6289 (X0STR): Likewise.
6290 (X0EXP): Likewise.
6291 (X0VEC): Likewise.
6292 (X0MODE): Likewise.
6293 (X0BITMAP): Likewise.
6294 (X0TREE): Likewise.
6295 (X0BBDEF): Likewise.
6296 (X0ADVFLAGS): Likewise.
6297 (X0CSELIB): Likewise.
6298 (X0MEMATTR): Likewise.
6299 (XCWINT): Likewise.
6300 (XCINT): Likewise.
6301 (XCUINT): Likewise.
6302 (XCSTR): Likewise.
6303 (XCEXP): Likewise.
6304 (XCVEC): Likewise.
6305 (XCMODE): Likewise.
6306 (XCBITMAP): Likewise.
6307 (XCTREE): Likewise.
6308 (XCBBDEF): Likewise.
6309 (XCADVFLAGS): Likewise.
6310 (XCCSELIB): Likewise.
6311 (XC2EXP): Likewise.
6312 (INSN_UID): Likewise.
6313 (PREV_INSN): Likewise.
6314 (PATTERN): Likewise.
6315 (INSN_CODE): Likewise.
6316 (PUT_REG_NOTE_KIND): Likewise.
6317 (CODE_LABEL_NUMBER): Likewise.
6318 (NOTE_SOURCE_FILE): Likewise.
6319 (NOTE_BLOCK): Likewise.
6320 (NOTE_EH_HANDLER): Likewise.
6321 (NOTE_RANGE_INFO): Likewise.
6322 (NOTE_LIVE_INFO): Likewise.
6323 (NOTE_BASIC_BLOCK): Likewise.
6324 (NOTE_EXPECTED_VALUE): Likewise.
6325 (NOTE_LINE_NUMBER): Likewise.
6326 (LABEL_NAME): Likewise.
6327 (LABEL_NUSES): Likewise.
6328 (LABEL_ALTERNATE_NAME): Likewise.
6329 (ADDRESSOF_DECL): Likewise.
6330 (JUMP_LABEL): Likewise.
6331 (LABEL_NEXTREF): Likewise.
6332 (REGNO): Likewise.
6333 (ORIGINAL_REGNO: Likewise.
6334 (HARD_REGISTER_NUM_P): Add parenthesis.
6335 (SUBREG_REG): Whitespace.
6336 (SUBREG_BYTE): Likewise.
6337 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
6338 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
6339 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
6340 (ASM_OPERANDS_INPUT_VEC): Likewise.
6341 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
6342 (ASM_OPERANDS_INPUT): Likewise.
6343 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
6344 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
6345 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
6346 (ASM_OPERANDS_INPUT_MODE): Likewise.
6347 (ASM_OPERANDS_SOURCE_FILE): Likewise.
6348 (ASM_OPERANDS_SOURCE_LINE): Likewise.
6349 (MEM_SET_IN_STRUCT_P): Minor reformat.
6350 (TRAP_CONDITION): Whitespace.
6351 (TRAP_CODE): Likewise.
6352 (COND_EXEC_TEST): Likewise.
6353 (COND_EXEC_CODE): Likewise.
6354 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
6355 (PHI_NODE_P): Add parenthesis.
6356 (plus_constant): Whitespace and add parenthesis.
6357
e03f5d43
KH
63582002-01-03 Kazu Hirata <kazu@hxi.com>
6359
6360 * config/avr/avr.c: Fix comment typos.
6361 * config/c4x/c4x.md: Likewise.
6362 * config/dsp16xx/dsp16xx.h: Likewise.
6363 * config/dsp16xx/dsp16xx.md: Likewise.
6364 * config/i386/i386.md: Likewise.
6365 * config/ia64/ia64.c: Likewise.
6366 * config/m32r/m32r.h: Likewise.
6367 * config/m68hc11/m68hc11.md: Likewise.
6368 * config/mmix/mmix.c: Likewise.
6369 * config/mn10200/mn10200.c: Likewise.
6370 * config/romp/romp.c: Likewise.
6371 * config/sh/sh.c: Likewise.
6372 * config/stormy16/stormy16.c: Likewise.
6373 * config/stormy16/stormy16.h: Likewise.
6374 * config/stormy16/stormy16.md: Likewise.
6375
97e300e9
GS
63762002-01-03 Graham Stott <grahams@redhat.com>
6377
6378 * loop.h: Update copyright date.
0d24f4d1
ZW
6379 (LOOP_MOVABLES): Fix typo.
6380 (LOOP_REGS): Likewise.
6381 (LOOP_IVS): Likewise.
ff81832f 6382
745b26b3
GS
63832002-01-03 Graham Stott <grahams@redhat.com>
6384
6385 * cppinit.c: Update copyright date.
6386 Don't include output.h
6387 * Makefile.in: Update copyright date.
6388 Update dependency.
6389
0a379b7a
CR
63902002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
6391
6392 PR c/5226
6393 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
6394 (-pthread) Add to RS/6000 options.
6395
a8154559
KH
63962002-01-02 Kazu Hirata <kazu@hxi.com>
6397
6398 * except.c: Fix comment typos.
6399 * loop.c: Likewise.
6400 * varasm.c: Likewise.
6401 * doc/tm.texi: Fix a typo.
6402
e6ecc89b
JJ
64032002-01-02 Jakub Jelinek <jakub@redhat.com>
6404
6405 * c-typeck.c (output_init_element): Allow initializing static storage
6406 duration objects with compound literals.
6407
d1094b40
RH
64082002-01-02 Richard Henderson <rth@redhat.com>
6409
6410 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
6411 after abusing it.
6412
0c5d8c82
KG
64132002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6414
5e65297b
KG
6415 * gcc.c (default_compilers): Const-ify.
6416 * mips-tdump.c (stab_names): Likewise.
6417 * mips-tfile.c (map_coff_types, map_coff_storage,
6418 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
6419 pseudo_ops_t, pseudo_ops): Likewise.
6420 * protoize.c (default_include): Likewise
6421
0c5d8c82
KG
6422 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
6423 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
6424 Add array size in declaration.
6425 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
6426 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
6427 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
6428 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
6429 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
6430 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
6431 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
6432 emtens, make_nan): Const-ify.
6433 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
6434 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
6435
817e13c4
JM
64362002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
6437
6438 * config.gcc (ia64-*-*): Set extra_headers.
6439 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
6440 * config/alpha/t-osf: Remove.
6441 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
6442
98095e2b
DE
64432002-01-02 David Edelsohn <edelsohn@gnu.org>
6444
6445 * config/rs6000/t-aix43: Revert previous change.
6446
a4200657
JM
64472002-01-02 Jason Merrill <jason@redhat.com>
6448
6449 * c-decl.c (c_expand_body): Call outlining_inline_function when
6450 emitting an inline function out of line.
6451
54ba1f0d
RH
64522002-01-02 Richard Henderson <rth@redhat.com>
6453
6454 * dwarf2out.c (limbo_die_node): Add created_for member.
6455 (new_die): New argument created_for. Update all callers.
6456 (mark_limbo_die_list): New.
6457 (dwarf2out_init): Register limbo_die_list as a root.
6458 (dwarf2out_finish): Force insert limbo dies into their function
6459 context.
6460
323728aa
NS
64612002-01-02 Nathan Sidwell <nathan@codesourcery.com>
6462
6463 PR c++/5089
6464 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
6465
aefc5826
KH
64662002-01-02 Kazu Hirata <kazu@hxi.com>
6467
6468 * config/h8300/fixunssfsi.c: Update copyright.
6469 Fix comment typos.
6470 Fix formatting.
6471 * config/h8300/h8300.c: Update copyright.
6472 Eliminate warnings.
6473
b1c9bc51
KH
64742002-01-02 Kazu Hirata <kazu@hxi.com>
6475
6476 * config/romp/romp.c: Fix comment formatting.
6477 * config/romp/romp.h: Likewise.
6478 * config/romp/romp.md: Likewise.
6479 * config/s390/s390.c: Likewise.
6480 * config/stormy16/stormy16.c: Likewise.
6481 * config/stormy16/stormy16.h: Likewise.
6482
1574ef13
AO
64832002-01-02 Alexandre Oliva <aoliva@redhat.com>
6484
6485 * c-common.h (genrtl_expr_stmt_value): Declare.
6486 * c-semantics.c (genrtl_goto_stmt): Redirect to...
6487 (genrtl_goto_stmt_value): ... this new function. Pass new
6488 argument down to expand_expr_stmt_value, taking
6489 TREE_ADDRESSABLE into account.
6490 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
6491 STMT_EXPR as addressable, i.e., one whose result we want.
6492 * expr.c (expand_expr): Don't save expression statement value
6493 of labeled_blocks or loop_exprs.
6494 * stmt.c (expand_expr_stmt): Redirect to...
6495 (expand_expr_stmt_value): ... this new function. Use new
6496 argument to tell whether to save expression value.
6497 (expand_end_stmt_expr): Reset last_expr_type and
6498 last_expr_value if we don't have either.
6499 * tree-inline.c (declare_return_variable): Mark its use
6500 statement as addressable.
6501 * tree.h: Document new use of TREE_ADDRESSABLE.
6502 (expand_expr_stmt_value): Declare.
6503
252b88f7
TR
65042002-01-01 Tom Rix <trix@redhat.com>
6505
6506 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
6507 rs6000_emit_allocate_stack.
6508
29f7a208
JM
65092002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
6510
6511 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
6512 ${srcdir}/ginclude/ to every entry in extra_headers.
6513 * configure: Regenerate.
6514 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
6515 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
6516 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
6517 * ginclude/proto.h: Rename to config/convex/proto.h.
6518
2cc2d4bb
RK
6519Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6520
6521 * attribs.c (handle_vector_size_attribute): Use host_integerp
6522 and tree_int_cst; remove warnings.
6523 * caller-save.c (insert_restore): Add cast to get rid of warning.
6524 (insert_save): Likewise.
6525 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
6526 * regmove.c (find_matches): Add temporary var to kill a warning.
6527
f01c9bcd
DR
65282002-01-01 Douglas B Rupp <rupp@gnat.com>
6529
16b61764
DR
6530 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
6531 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
6532 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
6533 (vms-dwarf2eh.o): Add Makefile rule.
6534 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
6535 * config/alpha/vms-dwarf2eh.asm: New file.
6536
f01c9bcd
DR
6537 * gcc.c (delete_if_ordinary): Delete all versions.
6538
91312b81
HPN
65392002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
6540
6541 * config/mmix/mmix.md: Update FIXME to not mention
6542 define_constants.
6543 (MMIX_rJ_REGNUM): New define_constants constant.
6544 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
6545 "*movdicc_real"): Adjust contraints formatting.
6546 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
6547 for branch prediction.
6548 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
6549 output template.
6550 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
6551 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
6552 number. Delete related FIXMEs.
6553 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
6554 from number to MMIX_rJ_REGNUM.
6555 (TARGET_MASK_BRANCH_PREDICT): New.
6556 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
6557 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
6558 value. Add -mbranch-predict and -mno-branch-predict.
6559 (TARGET_VERSION): Drop date.
6560 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
6561 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
6562 for finding out global symbols.
6563 (mmix_asm_output_labelref): Revert condition for global symbol.
6564 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
6565 (mmix_print_operand_punct_valid_p): A '+' is valid.
6566
619acae7 6567See ChangeLog.6 for earlier changes.
This page took 0.862546 seconds and 5 git commands to generate.