]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
som.h (ASM_IDENTIFY_GCC): Define.
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
791f5e8d
BS
12001-03-01 Bernd Schmidt <bernds@redhat.com>
2
3 Fix a problem introduced by Kenner's Feb 18 change.
4 * toplev.c (rest_of_compilation): Disable flag_cse_follow_jumps and
5 flag_cse_skip_blocks only temporarily, not for ever.
6
9c1eed37
JL
7Thu Mar 1 09:49:58 2001 Jeffrey A Law (law@cygnus.com)
8
913553ce
JL
9 * config/pa/som.h (ASM_IDENTIFY_GCC): Define.
10 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.
11
9c1eed37
JL
12 * pa.c (emit_move_sequence): Verify operand0 is a hard register
13 before determining its register class.
14
21e4c9a8
BS
152001-03-01 Bernd Schmidt <bernds@redhat.com>
16
8cb71435
BS
17 * config/ia64/ia64.c (ia64_hard_regno_rename_ok): Disallow renaming
18 from reg 4 if current_function_calls_setjmp.
7a87c39c
BS
19 (gen_nop_type): New function.
20 (ia64_emit_nops): New function.
21 (ia64_reorg): Call it.
2d1b811d 22 (ia64_sched_reorder): Move code that rotates bundles up a bit.
8cb71435 23
1abdf5e7
BS
24 * reload1.c (eliminate_regs_in_insn): Restrict the special case
25 code not to try to optimize adds with anything but a REG destination.
26
21e4c9a8
BS
27 * sched-int.h (struct haifa_insn_data): Add new member priority_known.
28 (INSN_PRIORITY_KNOWN): New accessor macro.
29 * haifa-sched.c (priority): Use it instead of testing priority against
30 zero.
31
d676911f
DD
322001-02-28 DJ Delorie <dj@redhat.com>
33
34 * config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
35 since that doesn't work the way gcc wants on a generic m68k.
36
d448e3e9
RH
372001-02-28 Richard Henderson <rth@redhat.com>
38
39 * caller-save.c (save_call_clobbered_regs): Fix typo in
40 comparison last change.
41
b4e89e2d
JH
42Wed Feb 28 19:31:42 CET 2001 Jan Hubicka <jh@suse.cz>
43
44 * i386.c (pentium4_cost): New.
45 (m_PENT4): New macro.
46 (x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
47 x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
48 x86_integer_DFmode_moves, x86_partial_reg_dependency,
49 x86_memory_mismatch_stall): Add Pentium4
50 (x86_use_q_reg, x86_use_any_reg): Kill.
51 (override_options): Add pentium4.
52 (incdec_operand): Return 0 for pentium4.
53 (ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
54 * i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
55 (TARGET_PENTIUM4): Define.
56 (enum processor_type): Add PROCESSOR_PENTIUM4.
57 (CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
58 * i386.md (attribute "cpu"): Add pentium4.
59 * invoke.texi (march): Add pentium4.
60
0073023d
JH
61Wed Feb 28 19:28:06 CET 2001 Jan Hubicka <jh@suse.cz>
62
63 * i386.md (sse_mov?fcc*): New patterns and splitters.
64 * i386.c (ix86_expand_movcc): Work post-reload; recognize
65 the SSE based conditional moves.
66
2b04e52b
JH
67Wed Feb 28 19:18:23 CET 2001 Jan Hubicka <jh@suse.cz>
68
69 * i386.md (attribute mode): Add "TI".
70 (movsf_1): Add pxor support; remove constant propagation splitter.
71 (movdf_integer): Likewise.
72 (movdf_nointeger): Likewise.
73 (movxf constant prop splitter): Handle all modes; update for SSE.
74 * i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
75 * i386.c (standard_80387_constant_p): Rewrite.
76 (standard_sse_constant_p): New.
77 * i386-protos.h (standard_sse_constant_p): New.
78
a46d1d38
JH
79Wed Feb 28 19:05:37 CET 2001 Jan Hubicka <jh@suse.cz>
80
81 * i386.md (sse_setccsf, sse_setccdf): New.
82 (sse_cmp* patterns): Use '%D' instead of outputtting condition
83 flag directly.
84 * i386.c (sse_comparison_operator): Accept the supported unordered
85 comparses; be ready for fast_math.
86 (print_operand): Support 'D'.
87
91afe941
JH
88Wed Feb 28 18:54:51 CET 2001 Jan Hubicka <jh@suse.cz>
89
90 * jump.c (reversed_comparison_code): Kill.
91
6f45f005
JH
92Wed Feb 28 18:50:15 CET 2001 Jan Hubicka <jh@suse.cz>
93
94 * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
95 for STACK_REGS
96
c679d048
JH
97Wed Feb 28 18:47:37 CET 2001 Jan Hubicka <jh@suse.cz>
98
99 * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
100 add missing '%' in constraints.
101
4ae31003
JH
102Wed Feb 28 17:24:24 CET 2001 Jan Hubicka <jh@suse.cz>
103
104 * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
105 for HOST_BITS_PER_WIDE_INT == 32 too.
106
787dc842
JH
107Wed Feb 28 17:22:35 CET 2001 Jan Hubicka <jh@suse.cz>
108
109 * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not
110 NREGS.
111 (insert_save, insert_restore): New parameter save_mode.
112 (init_caller_save): Update initialization of reg_save_code
113 and reg_restore_code.
114 (save_call_clobbered_regs): Compute save_modes and update calls to
115 reg_save_code and reg_restore_code.
116 (insert_restore): Unsignetize numbers; use save_modes to choose mode
117 of spill; update use of reg_restore_code.
118 (insert_save): Likewise.
119 * i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
120 * c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
121 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
122
123Wed Feb 28 17:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
dc2698bc
JH
124
125 * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
126 noce_try_store_flag_inc, noce_try_store_flag_mask,
127 noce_try_cmove_arith):
128 Use reversed_comparison_code instead of reverse_comparison and
129 can_reverse_comparison_p.
130
2450703c
JH
131Wed Feb 28 17:17:29 CET 2001 Jan Hubicka <jh@suse.cz>
132
133 * jump.c (reversed_comparison_code_parts): Allow reversal of
134 unordered compares in -ffast-math mode; reverse ordered compares
135 for FP even w/o -ffast-math.
136
25cff714
RH
1372001-02-27 Richard Henderson <rth@redhat.com>
138
139 * print-rtl.c (print_rtx) [i]: Don't print field five on
140 NOTEs other than NOTE_INSN_DELETED_LABEL.
141
26029fe2
ZW
1422001-02-27 Zack Weinberg <zackw@stanford.edu>
143
144 * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
145 * pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.
146
87aee676
DN
1472001-02-27 Diego Novillo <dnovillo@redhat.com>
148
149 * c-common.c (walk_stmt_tree): Visit the chain of the current tree
150 even if walk_subtrees is 0.
151 * c-semantics.c (prune_unused_decls): Return a non-null value to
152 stop traversing the tree chain.
153
67935d3f
DD
1542001-02-27 DJ Delorie <dj@redhat.com>
155
156 * config/m68k/m68k.c (output_function_prologue): Save the new CFA
157 register, *then* define it as the new CFA.
158
7ee72796
JL
159Tue Feb 27 16:49:13 2001 Jeffrey A Law (law@cygnus.com)
160
161 * pa.c (override_options): Promote -fpic to -fPIC.
162 (legitimize_pic_address): Simplify due to removal of
163 small PIC as a code generation option.
164 (secondary_reload_class): Similarly.
165 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
166 (PRINT_OPERAND_ADDRESS): Similarly.
167 * pa.md (various patterns): Similarly.
168 (small pic lo_sum pattern): Remove.
169
b71b019a
JH
170Tue Feb 27 16:01:13 CET 2001 Jan Hubicka <jh@suse.cz>
171 Fergus Henderson
172
173 * md.texi (min, max): Document
174
79005df5
JH
175Tue Feb 27 15:51:35 CET 2001 Jan Hubicka <jh@suse.cz>
176
177 * i386.md (movsf, movdf): Use movaps for reg-reg moves if
178 TARGET_PARTIAL_REG_DEPENDENCY.
179 (truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.
180
7ada6625
JH
181Tue Feb 27 15:36:48 CET 2001 Jan Hubicka <jh@suse.cz>
182
183 * i386.md (mins*, maxs*): New patterns, expanders and splitters.
184
8bb3dc77
JO
1852001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
186
187 * mips.c (mips_make_temp_file): Fix thinko in last change.
188
ac4cdf40
JE
1892001-02-26 Jason Eckhardt <jle@redhat.com>
190
191 * combine.c (known_cond): Do not reverse the condition when
192 SMAX/UMAX is being considered and the condition is for equality
193 or inequality.
194
195 * testsuite/gcc.c-torture/execute/20010221-1.c: New test.
196
14879e76
PB
1972001-02-26 Philip Blundell <philb@gnu.org>
198
199 * config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
200 "armv2-*-linux".
201 * config/arm/linux-elf.h: Remove historical relics related to
202 above configurations.
203 * config/arm/linux-oldld.h: Delete.
204 * config/arm/linux-elf26.h: Delete.
205
8cf8d8a2
JM
2062001-02-26 Jason Merrill <jason@redhat.com>
207
208 * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
209 definitions.
210 * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
211 recognize a tentative definition. Lose obsolete code.
212
213 * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
214 variables unless necessary, either.
215
05cc23e8
RH
2162001-02-25 Richard Henderson <rth@redhat.com>
217
218 * ifcvt.c (struct noce_if_info): Add test_bb.
219 (noce_get_alt_condition): New.
220 (noce_try_minmax, noce_try_abs): New.
221 (noce_operand_ok): New.
222 (noce_process_if_block): Use them.
223 * rtlanal.c (may_trap_p): NEG and ABS can never trap.
224
052d4b6c
CF
225Sun Feb 25 14:26:17 2001 Christopher Faylor <cgf@cygnus.com>
226
227 * config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api
228 include.
229
e1b71de9
ZW
2302001-02-25 Zack Weinberg <zackw@stanford.edu>
231
232 * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
233 * config/mips/mips.c (mips_make_temp_file): Set temp_filename
234 properly.
235 (mips_asm_file_end): Free temp_filename here.
236
4ddb47b3
RK
237Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
238
397be6cf
RK
239 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
240 * config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.
241
4ddb47b3
RK
242 * config/i386/i386.md (movstrsi): Handle FAIL case.
243
618cdda7
NB
2442001-02-25 Neil Booth <neil@daikokuya.demon.co.uk>
245
05cc23e8
RH
246 * cppinit.c (builtin_array): Update.
247 (init_builtins): Flag builtins to warn if redefined or
248 undefined. Define __GXX_WEAK as a normal macro.
249 * cpplib.c (do_undef): Warn if flagged NODE_WARN.
250 * cpplib.h (NODE_WARN): New flag.
251 * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
252 Handle __STDC__ as a builtin only on Solaris.
253 (warn_of_redefinition): Renamed from check_macro_definition.
254 Reverse sense of test. Always warn if NODE_WARN.
255 (_cpp_create_definition): Use warn_of_redefinition. Flag
256 any macro beginning with "__STDC_" to require a mandatory
257 warning if redefined or undefined.
618cdda7 258
000b5f54
ZW
2592001-02-24 Zack Weinberg <zackw@stanford.edu>
260
261 * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
262 i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
263 i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
264 i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
265 m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
266 mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
267 Don't define any of:
268 USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
269 P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
270 NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
271 index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
272 STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
273
274 * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
275 fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
276 definitions.
277
278 * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
279 Delete now-empty file.
280
281 * alpha/vms.h: Define NEED_ATEXIT here...
282 * alpha/xm-vms.h: ...not here.
283
284 * i386/cygwin.h: Don't define PARAMS.
285 * mips/mips.c: Don't prototype mktemp. Don't define
286 P_tmpdir. Use make_temp_file to create temporary files.
287 Don't be clever and delete temporary files early.
288 * config.gcc: Drop references to deleted files. Don't define
289 FULL_PROTOTYPES.
290 * gcc.texi: Don't mention USE_PROTOTYPES.
291
0e4970d7
RK
292Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
293
294 * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
295 (ix86_set_move_mem_attrs_1): Likewise.
296 * config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
297 * config/i386/i386.md (movstrsi): Call it.
298
a59b81be
ZW
2992001-02-24 Zack Weinberg <zackw@stanford.edu>
300
301 * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
302 x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
303 ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
304 rs6000/x-aix41-gld. These are nonexistent, empty, or obsolete.
305
306 (i750a-*-*): Error here if hosting on i750a.
307 (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.
308
309 * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
310 Remove (empty modulo comments).
311
312 * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
313 alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
314 i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
315 i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
316 mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
317 rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)
318
319 * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
320 Remove reference to winnt.h in comment.
321 * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.
322
c7b30677
FS
3232001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
324
325 * loop.c (check_dbra_loop): A biv has uses besides counting if it is
326 used to set another biv.
327
f900ecd8
RK
328Sat Feb 24 06:45:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
329
bd015d37
RK
330 * tree.h (BLOCK_DEAD): New macro.
331 (struct tree_block): New flag, dead_flag.
332 * print-tree.c (print_node, case 'b'): Print missing fields.
333 * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
334 * function.c (identify_blocks): Enable test for misplaced notes.
335 (all_blocks): Skip BLOCK_DEAD blocks.
336 * integrate.c (integrate_decl_tree): Likewise.
337
f900ecd8
RK
338 * errors.c (internal_error, trim_filename): New functions.
339 (fancy_abort): Call internal_error.
340 * errors.h (internal_error, trim_filename): New declarations.
341
0651fbc0
AO
3422001-02-24 Alexandre Oliva <aoliva@redhat.com>
343
344 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
345 2000-08-26's patch.
346 (EXTRA_CONSTRAINT): Formatting changes.
347
5ea1bc0e
KG
3482001-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
349
350 * rtl.c (rtl_check_failed_code2): Fix typo in last change.
351
1aed31b6
PB
3522001-02-23 Per Bothner <per@bothner.com>
353
354 * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
355 so they can be called from java/jvspec.c.
356 * gcc.h (record_temp_file, pfatal_with_name, error): Declare.
357
4dd2ac2c
JH
358Sat Feb 24 03:32:50 CET 2001 Jan Hubicka <jh@suse.cz>
359
360 * i386.c (ix86_frame): New structure.
361 (ix86_compute_frame_size): Kill.
362 (ix86_compute_frame_layout): New.
363 (ix86_save_reg): New.
364 (ix86_can_use_return_insn_p): Use frame layout stuff.
365 (ix86_expand_prologue): Likewise.
366 (ix86_expand_epilogue): Likewise.
367 (ix86_initial_elimination_offset): Likewise.
368 (ix86_nsaved_regs): Use ix86_save_reg.
369 (ix86_emit_save_regs): Likewise.
370
a686dbf8
JH
371Sat Feb 24 03:30:38 CET 2001 Jan Hubicka <jh@suse.cz>
372
373 * flow.c (find_sub_basic_blocks): New function.
374 (split_block): Be ready for basic block introduced by CODE_LABEL.
375 (commit_one_edge_insertion): Call find_sub_basic_block.
376
377 * flow.c (make_edges): Add edge from entry for blocks starting with
378 label having ALTERNATE_NAME
379
016030fe
JH
380Sat Feb 24 03:19:42 CET 2001 Jan Hubicka <jh@suse.cz>
381
382 * function.c (epilogue_done): Be ready for first basic block not
383 containing PROLOGUE_END note.
384 (reposition_prologue_and_epilogue_notes): Avoid placing
385 PROLOGUE_END note between BASIC_BLOCK.
386
c9212f33
JH
387Sat Feb 24 03:17:09 CET 2001 Jan Hubicka <jh@suse.cz>
388
389 * loop.c (canonicalize_condition): Move to reversed_comparison_code.
390
4f0a3098
DD
3912001-02-21 DJ Delorie <dj@redhat.com>
392
393 * config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
394 check for current_function_has_nonlocal_goto from 1999-11-12.
395
e82a84c4
RK
396Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
397
fce687f8
RK
398 * diagnostic.c (trim_filename): No longer static.
399 * toplev.h (trim_filename): Declare.
400 * rtl.c (rtl_check_failed_bounds): Call internal_error.
401 (rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
402 (rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
403 (rtvec_check_failed_bounds): Likewise.
404 * tree.c (tree_check_failed, tree_class_check_failed): Likewise.
405
3cc247a8
RK
406 * convert.c (convert_to_integer): Don't do unsigned unless result or
407 both inputs are unsigned.
408
ac50176d
RK
409 * fold-const.c (fold_convert): Don't call size_int_type_wide if
410 input overflows.
411
9b58f739
RK
412 * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
413
e82a84c4
RK
414 * varasm.c (output_constant): Recompute CODE after lang-specific fn.
415
d5d063d7
JO
4162001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
417
418 * Makefile.in (resource.o): Add params.h dependence.
419 * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
420 * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
421 * resource.c: Add dependence on params.h.
422 (current_live_regs): Fix explanatory comment.
423 (find_basic_block): Add new parameter to permit limiting search
424 for a BARRIER.
425 (mark_target_live_regs): Add new argument to find_basic_block call.
426 (incr_ticks_for_insn): Likewise.
427
3d7c9b7e
GDR
4282001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
429
430 * diagnostic.c (output_to_stream): Rename to
431 output_buffer_to_stream. Loses the stream parameter.
432 (init_output_buffer): Set diagnosic_buffer's stream.
433 (flush_diagnostic_buffer): Adjust.
434 (default_print_error_function): Likewise.
435 (finish_diagnostic): Likewise.
436 (verbatim): Likewise.
437
438 * diagnostic.h (struct output_buffer): Add `stream' field.
439 (output_buffer_attached_stream): New macro.
440
fba2c0cd
JJ
4412001-02-23 Jakub Jelinek <jakub@redhat.com>
442
443 * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
444 check if either operand is divisible by C.
445 (multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
446 If type is signed, consider negative numbers as well.
447
515edc9b
RH
4482001-02-22 Richard Henderson <rth@redhat.com>
449
450 * config/ia64/crtbegin.asm (.fini): Use pc-relative relocs to
451 reach .text instead of gp-relative relocs.
452 * config/ia64/crtend.asm (.init): Likewise.
453
3844cd2e
AJ
4542001-02-22 Andreas Jaeger <aj@suse.de>
455
456 * extend.texi (C++ Attributes): Fix typo.
457
3f67ac08
DM
4582001-02-21 David Mosberger <davidm@hpl.hp.com>
459
460 * config/ia64/ia64.c (ia64_epilogue_uses): For syscall_linkage
461 functions, drop current_function_args_info.words test.
462 (ia64_compute_frame_size): Mark syscall_linkage functions as
463 using eight input registers.
464
89647e8a
LR
4652001-02-21 Loren J. Rittle <ljrittle@acm.org>
466 Bruce Korb <bkorb@gnu.org>
467
468 * fixinc/inclhack.def (freebsd_gcc3_breakage): new fix
469 * fixinc/README: Document how to convert sed substitutions
470 to format style c_fix-es.
471 * fixinc/fixincl.x: regen
472
e889f41a
JO
4732001-02-21 Jeffrey D. Oldham <oldham@codesourcery.com>
474
475 * gcc.c: Add comment explaining how to add a command-line option.
476 Add title to specs language comment.
477
7521b913
JO
4782001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
479
480 * gcc.c (cc1_options): Add "-param".
481 (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
482 (option_map): Likewise.
483 * toplev.c (display_help): Add entry for "--param".
484 (independent_decode_option): Fix typographical error.
485
82a127a9
CM
486Wed Feb 21 18:57:28 CET 2001 Catherine Moore <clm@redhat.com>
487 Bernd Schmidt <bernds@redhat.com>
488 Jan Hubicka <jh@suse.cz>
489
a59b81be 490 * i386.c (function_arg_advance): Pass SSE arguments in registers.
82a127a9
CM
491 (function_arg): Likewise.
492
2b71bf37
JH
493Wed Feb 21 18:12:41 CET 2001 Jan Hubicka <jh@suse.cz>
494
495 * i386.md (mmx_lshrdi3, mmx_ashldi3): Guard by unspec.
496
eb57ffec
KH
4972001-02-21 Kazu Hirata <kazu@hxi.com>
498
499 * config/h8300/h8300.md (iorsi3): Do not output an extra newline
500 character.
501 (xorsi3): Likewise.
502
ccfce8d2
JH
503Wed Feb 21 17:35:24 CET 2001 Jan Hubicka <jh@suse.cz>
504
505 * flow.c (init_propagate_block_info): Canon address and use single_set
506 for killing dead memory stores.
507
0443f602
JO
5082001-02-21 Jeffrey Oldham <oldham@codesourcery.com>
509
510 * Makefile.in (reorg.o): Add params.h dependence.
511 * params.def: Fix typographical error in comment.
512 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
513 * params.h: Modify introductory comment.
514 (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
515 * reorg.c: Add dependence on params.h.
516 (redundant_insn): Add parameterized throttle for search.
517 (fill_simple_delay_slots): Add a comment explaining a variable.
518 Move conditional out of loop, simplifying code.
519 (fill_eager_delay_slots): Fix typographical error in comment.
520
7e6d8ba1
AH
5212001-02-20 Aldy Hernandez <aldyh@redhat.com>
522
a59b81be 523 * tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
7e6d8ba1 524
a59b81be
ZW
525 * flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
526 (REVERSE_CONDEXEC_PREDICATES_P): Define macro.
7e6d8ba1 527
5daf7c0a
JM
5282001-02-21 Jason Merrill <jason@redhat.com>
529
530 * tree.h (DECL_UNINLINABLE): Move from C++ frontend.
531 (struct tree_decl): Add uninlinable bitfield.
532 * c-decl.c (duplicate_decls): Set it.
533 * integrate.c (function_cannot_inline_p): Check it.
534
3844cd2e 535 * dwarf2out.c (add_name_and_src_coords_attributes): Don't add
5daf7c0a
JM
536 DW_AT_MIPS_linkage_name to abstract methods.
537 (dwarf2out_abstract_function): Emit class context before calling
538 set_decl_abstract_flags. Don't clear DECL_ABSTRACT.
539 (gen_subprogram_die): Remove obsolete code.
540 (gen_member_die): Don't include clones in the member list.
541 (gen_decl_die): Emit abstract info for clone origin.
542 * dwarfout.c (output_type): Don't include clones in the member list.
543 * dbxout.c (dbxout_type_methods): Ignore abstract methods.
544 * toplev.c (note_deferral_of_defined_inline_function): Don't clear
545 DECL_ABSTRACT on a function that already has it set.
546
547 * dwarf2out.c (gen_formal_types_die): Also accept a FUNCTION_DECL.
548 (get_subprogram_die): Pass it in.
549
3c88f366
RE
5502001-02-21 Richard Earnshaw <rearnsha@arm.com>
551
552 * flow.c (mark_set_1): Make not_dead unsigned long. For
3844cd2e 553 non-pseudos, use it as a bitmask of the hard regs that
3c88f366
RE
554 don't die.
555
373e2177
NB
5562001-02-21 Neil Booth <neil@daikokuya.demon.co.uk>
557
a59b81be
ZW
558 * cppfiles.c: Update comments.
559 (_cpp_read_file): Don't check for NULL filenames any more.
560 * cppinit.c (cpp_start_read): Don't do canonicalization of
561 in_fname and out_fname. Use the passed file name exclusively.
562 (_cpp_handle_options): Don't treat "-" as a command line option,
563 but as a normal filename.
564 (_cpp_post_options): Canonicalize in_fname and out_fname.
565 * cppmain.c (printer_init): Don't check out_fname for NULL.
566 * c-lex.c (orig_filename): Rename cpp_filename for clarity.
567 (init_c_lex): Update, and use "" to represent stdin to CPP.
568 (yyparse): Update.
373e2177 569
75beacf8 5702001-02-20 Will Cohen <wcohen@redhat.com>
3844cd2e 571
75beacf8
WC
572 * config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_usgl): New function.
573 * config/pa/long_double.h (FIXUNS_TRUNCTFSI2_LIBCALL): Added.
574 (INIT_TARGET_OPTABS): Use FIXUNS_TRUNCTFSI2_LIBCALL for
575 fixunstfsi_libfunc.
576
33011c35
SS
5772001-02-20 Stan Shebs <shebs@apple.com>
578
579 * config/rs6000/rs6000.c (output_cbranch): Output branches
580 on separate lines instead of using ';' to separate.
581
c740cee2
NB
5822001-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
583
a59b81be 584 * cppinit.c (set_lang): Move builtin handling to...
c740cee2
NB
585 (init_builtins): ...here.
586 (_cpp_create_reader): Move call to set_lang.
587
c9407e4c
MM
5882001-02-20 Mark Mitchell <mark@codesourcery.com>
589
590 * stmt.c (expand_return): If an attempt is made to return the
591 error_mar_node, treat the return like a return without a value.
592
cd5a58e5
ZW
5932001-02-19 Zack Weinberg <zackw@stanford.edu>
594
595 * sibcall.c (skip_copy_to_return_value): Call
596 identify_call_return_value here, and return orig_insn if it
597 returns zero. Hardret and softret arguments now unnecessary.
598 (call_ends_block_p): Don't call identify_call_return_value here.
599
600 * ggc-common.c (ggc_mark_rtx_children): No need to mark 'S' or
601 's' slots in RTXen.
602 * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete function.
603 * ggc.h (ggc_mark_if_gcable): Delete prototype.
604
f8eb41cc
JL
605Mon Feb 19 20:30:16 2001 Jeffrey A Law (law@cygnus.com)
606
607 * pa.c (move_operand): Accept code to load the address of a
608 symbol out of the DLT as a valid move operand.
609 (print_operand, case 'A'): New to handle generating a DLT
610 reference for a LO_SUM expression.
611 * pa.h (EXTRA_CONSTRAINT): Handle 'A' for DLT LO_SUM references.
612 * pa.md (movsi, movdi patterns): Allow DLT LO_SUM references.
613
75393169
JM
6142001-02-19 Joseph S. Myers <jsm28@cam.ac.uk>
615
616 * README, cpp.texi, gcc.texi, version.c: Update version number to
617 3.1.
618 * cpp.1, gcov.1, gcc.1: Regenerate.
619
51d0f328
NB
6202001-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
621
a59b81be
ZW
622 * cppfiles.c (stack_include_file): Generate dependencies
623 here, and manage include_count here too.
624 (PRINT_THIS_DEP): Delete.
625 (_cpp_execute_include): Do not generate dependencies here,
626 apart from the case of a missing header. Do not manage
627 include_count.
628 (_cpp_read_file): Leave dependency generation to
629 stack_include_file.
51d0f328 630
c81460e4
JL
631Mon Feb 19 10:17:47 2001 Jeffrey A Law (law@cygnus.com)
632
633 * config.gcc (hppa*64*-*-hpux11*): Add MASK_GAS to
634 target_cpu_default. Remove dead assignment to
635 target_cpu_default.
636
6df26b8f
JH
637Mon Feb 19 16:47:39 CET 2001 Jan Hubicka <jh@suse.cz>
638
639 * regclass.c (contains_reg_of_mode): Make global.
640 (init_reg_sets): Remove contains_reg_of_mode; take into account
641 CLASS_MAX_NREGS when looking for the proper mode.
642 (dump_regclass): Dump only classes considered for the pseudo.
643 (regclass): Use contains_reg_of_mode.
644
4a88a060
JH
645Mon Feb 19 16:45:42 CET 2001 Jan Hubicka <jh@suse.cz>
646
647 * gcc.c (do_spec_1): 'n' for printing notices.
648 * i386.h (CC1_CPU_SPEC): Notice deprecated options as deprecated.
649
0eac0e81
JH
650Mon Feb 19 15:51:30 CET 2001 Jan Hubicka <jh@suse.cz>
651
652 * reg-stack.c (next_flags_user): Use current_block->end
653 (swap_rtx_condition): Look for next user if flags don't die;
654 give up on CALL_INSNs; use current_block->end.
655
e5c617ff
RK
656Mon Feb 19 08:27:21 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
657
658 * sibcall.c (call_ends_block_p): New function.
659 (optimize_sibling_and_tail_recursive_call): Use it.
660
55de49e3
KH
6612001-02-18 Kazu Hirata <kazu@hxi.com>
662
63a262f1
KH
663 * config/h8300/h8300.md: Update copyright.
664 (andsi3): Do not output an extra newline character.
55de49e3 665
48aba75b
RK
666Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
667
668 * toplev.c (note_deferral_of_defined_inlined_function): Argument
669 FNDECL may be unused.
670
671 * toplev.c (rest_of_compilation): Don't have CSE skip blocks or
672 follow jumps after first run.
673 If -fexpensive-optimizations rerun CSE after GCSE and iterate until
674 it doesn't change any jumps.
675
3335f1d9
JL
676Sun Feb 18 17:05:50 2001 Jeffrey A Law (law@cygnus.com)
677
678 * Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
679 ($HOST_PREFIX_1)rtlanal.o: Remove rules for building
680 (mostlyclean): Corresponding changes.
681 * rtlanal.c (hard-reg-set.h): Include.
682 (rtx_unstable_p): Do not treat the argument pointer specially
683 if it is not a fixed register.
684 (rtx_varies_p, rtx_addr_can_trap_p): Similarly.
685
651a788e
RK
686Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
687
021921d0
RK
688 * sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
689 against last real insn in basic block.
690 Rework to avoid gotos.
691
fb0c0a12
RK
692 * Makefile.in (gcse.o): Now includes ggc.h.
693 * gcse.c: Include ggc.h.
694 (want_to_gcse_p): Verify expression can be in SET as valid insn.
695 (try_replace_reg): Remove warning of uninitialize variable.
696 (process_insert_insn): Call invalid_insn_p to validate insn.
697 * recog.c (insn_invalid_p): Now global.
698 See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
699 * recog.h (insn_invalid_p): New declaration.
700
d659de97
RK
701 * jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
702
3ec6f1a9 703 * config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
20636516 704 assignments from FP constants since 'Y' output code can't handle it.
3ec6f1a9
RK
705 (eligible_for_sibcall_delay): Likewise.
706
63c499dc
RK
707 * flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
708 Call fancy_abort directly, passing args.
709 (print_rtl_and_abort): Now a macro, like fancy_abort.
710
651a788e
RK
711 * final.c (output_operand_lossage): Use internal_error, not error.
712
71641c15
RH
7132001-02-18 Shane Nay <shane@agendacomputing.com>
714
3844cd2e 715 * mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
71641c15
RH
716 structure shift insns.
717
7182001-02-18 Mark Mitchell <mark@codesourcery.com>
8fa33dfa
MM
719
720 * invoke.texi (-fsquangle): Remove documentation.
721 (-fname-mangling-version): Likewise.
722
e1078cfc
LB
7232001-02-18 Lars Brinkhoff <lars@nocrew.org>
724
725 * optabs.c (expand_abs): Remove reference to
726 HAVE_contitional_arithmetic.
727 * combine.c (simplify_set): Likewise.
728
3bd24117
RH
7292001-02-18 Richard Henderson <rth@redhat.com>
730
731 * ifcvt.c (dead_or_predicable): Don't move code if eh regions
732 would be disrupted.
733
5cada064
RH
7342001-02-18 Richard Henderson <rth@redhat.com>
735
31189758
RH
736 * config/ns32k/ns32k.h (ADJSP): Upcase arguments.
737
e491fe9a
RH
738 * config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
739
5cada064
RH
740 * reload1.c (reload_cse_simplify_set): Fix typo.
741
751aa7cc
RK
742Sun Feb 18 09:30:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
743
e28a09a4
RK
744 * diagnostic.c (_fatal_insn): Decrement errorcount.
745
d0a5eb32
RK
746 * invoke.texi (-I): Add note avoiding use for system header files.
747
751aa7cc
RK
748 * rtl.h (add_clobbers): Remove duplicate declaration.
749 * recog.h (added_clobbers_hard_reg_p): New declaration.
750 * genemit.c (struct clobber_pat): New field has_hard_reg.
751 (gen_insn): Record if added clobbers clobber hard reg.
752 (gen_split): Avoid unused warning if number of operands is 0.
753 (output_added_clobbers_hard_reg_p): New function.
754 (main): Call it.
755
4096479e
AM
7562001-02-18 Alan Modra <alan@linuxcare.com.au>
757
3844cd2e
AJ
758 * pa.c (hppa_expand_prologue): Simplify code storing return
759 pointer. For large (>=8k) frames with a post_store, adjust stack
760 pointer by 8k-64 first rather than by 64. When testing with
761 VAL_14_BITS_P, always use the actual value rather than the value
762 negated. Add blockage to prevent scheduling of spills before
763 stack frame has been created.
764 (hppa_expand_epilogue): Simplify code loading return pointer.
765 Allow a slightly larger range for merge_sp_adjust_with_load case.
766 When testing with VAL_14_BITS_P, always use the actual value.
31d68947 767
4096479e
AM
768 * pa.c (pa_adjust_insn_length): Check that block move
769 pattern is a set before looking at operands.
770
9c2c54dc
MM
7712001-02-17 Mark Mitchell <mark@codesourcery.com>
772
68626d4f
MM
773 * fold-const.c (fold_binary_op_with_conditional_arg): New
774 function, split out from ...
775 (fold): ... here.
776 * tree.def (COND_EXPR): Document the use of VOID_TYPE for
777 conditional arms that throw exceptions.
778
9c2c54dc
MM
779 * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
780 looking at a BLOCK.
781
7afe8c41
KG
7822001-02-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
783
784 * aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
785 define HAVE_DECL_* to 1 to mask potential backup declarations.
786 * configure: Regenerated.
787
3747f3dc
MM
7882001-02-17 Mark Mitchell <mark@codesourcery.com>
789
790 * invoke.texi (-Woverloaded-virtual): Clarify documentation.
791
78adc5a0
RH
7922001-02-17 Richard Henderson <rth@redhat.com>
793
794 * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
795 when replacing a memory load with a register.
796
e2373f95
RK
797Sat Feb 17 14:48:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
798 Jan Hubicka <jh@suse.cz>
799
800 * recog.c (validate_replace_src_1): New.
801 (validate_replace_src_data): Likewise.
802 (validate_replace_src): Use note_uses.
803 * rtl.h (note_uses): Declare.
804 * rtlanal.c (note_uses): New.
805
b00b2cc2
JH
806Sat Feb 17 10:52:34 CET 2001 Jan Hubicka <jh@suse.cz>
807
808 * reg-stack.c (stack_def): Make field reg unsigned.
809 (remove_regno_note): Unsignetize parameter.
810
f5bbdc0c
JS
8112001-02-16 Jes Sorensen <jes@linuxcare.com>
812
813 * ia64.c (errata_emit_nops): Add VOIDmode as second argument to
814 shladd_operand() call.
815
6ee71e49 8162001-02-16 Bruce Korb <bkorb@gnu.org>
a59b81be 817 Rodney Brown <RodneyBrown@mynd.com>
6ee71e49
BK
818
819 * fixinc/mkfixinc.sh: Use C fixincludes for UnixWare 7.
820 * fixinc/inclhack.def: Add fixinc.svr4 patterns with matching
821 machine restrictions
822 * fixinc/fixincl.x: regen
823
f85cc4cb
RK
824Fri Feb 16 12:41:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
825
172890a2
RK
826 * gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
827 Don't CSE a nop.
828 (hash_scan_insn): Clean up calls to hash_scan_set.
829 (compute_kill_rd): REGNO now unsigned.
830 (try_replace_reg): Rework to use simplify_replace_rtx.
831 (cprop_jump, cprop_cc0_jump): Likewise.
832 (cprop_insn): Call find_reg_equal_equiv_note.
833 Reflect changes to cprop_jump and cprop_cc0_jump.
834
d6447708 835 * recog.c (validate_replace_src): Replace in operands of
b71e8e84
RK
836 ZERO_EXTRACT in SET_DEST.
837
f85cc4cb
RK
838 * cse.c (new_label_ref): New variable.
839 (insert): Set it instead of recorded_label_ref.
840 (cse_basic_block): Set recorded_label_ref if new_label_ref use, has
841 CODE_LABEL for this function, and not already in REG_LABEL note.
842
f5df2e8c
JO
8432001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
844
845 * resource.c (mark_referenced_resources): Fix typo in introductory
846 comment.
847 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
848 string constant.
849
a901fa64
JM
8502001-02-16 Jason Merrill <jason@redhat.com>
851
1edf43d6
JM
852 * dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
853 NULL.
3844cd2e 854 (gen_subprogram_die): Don't abort on seeing a second definition if
1edf43d6
JM
855 the previous one was abstract. Don't replace an abstract instance
856 in the lookup table.
857
858 * dwarf2out.c (dwarf2out_abstract_function): Rename from
859 gen_abstract_function.
860 * dwarf2out.h: Declare it.
861 * toplev.c (note_outlining_of_inline_function): New fn.
862 * toplev.h: Declare it.
863 * integrate.c (output_inline_function): Call it.
864 * c-decl.c (duplicate_decls): Call it when redefining an extern
865 inline. Don't inline the new defn.
866
a901fa64
JM
867 * tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
868
cc06d68c
GP
8692001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
870
871 * .gdbinit: Rename to gdbinit.in.
3844cd2e 872 * gdbinit.in: New file,
cc06d68c
GP
873 * configure.in: Generate .gdbinit from gdbinit.in.
874 * configure: Regenerated.
875 * Makefile.in (distclean): Always remove .gdbinit.
876
4f6bcad0
JJ
8772001-02-16 Jakub Jelinek <jakub@redhat.com>
878
879 * objc/objc-act.c (start_class): Register implemented_classes with
880 GC.
881
e4a345f8
NB
8822001-02-16 Neil Booth <neil@daikokuya.demon.co.uk>
883
a59b81be
ZW
884 * cppfiles.c (_cpp_make_system_header): Generate a file
885 change callback.
e4a345f8 886
fd48c9b5 8872001-02-15 Jim Meyering <meyering@lucent.com>
e658449e 888
fd48c9b5
DD
889 * Makefile.in (install-common): Don't depend on installdirs here.
890 Instead, make each of the lang.install-common targets (e.g.,
891 c++.install-common in cp/Make-lang.in) depend on it.
e658449e
JM
892 (install-driver): Depend on installdirs.
893
d64236b4
RK
894Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
895
a8b94b40
RK
896 * flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
897
d64236b4
RK
898 * function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
899 do in memory.
900
3af64fd6
MM
9012001-02-15 Mark Mitchell <mark@codesourcery.com>
902
903 * invoke.texi (--param): Document.
904
ba21a8a8
AO
905Thu Feb 15 15:16:38 2001 Alexandre Oliva <aoliva@redhat.com>
906
907 * config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
908
ff78d082
JH
909Thu Feb 15 10:52:31 CET 2001 Jan Hubicka <jh@suse.cz>
910
911 * i386.md (extendsfdf2_2): Fix constraints.
912
2b66da3c
JH
913Thu Feb 15 09:46:21 CET 2001 Jan Hubicka <jh@suse.cz>
914
915 * i386.md (fop_df_3 splitter): Fix operand number.
916
266da7a2
JH
917Wed Feb 14 12:37:37 CET 2001 Jan Hubicka <jh@suse.cz>
918
919 * invoke.texi (-mreg-alloc): Nuke.
920 * i386.c (ix86_reg_alloc_order, regs_allocated,
921 order_regs_for_local_alloc): Nuke.
922 (override_options): Kill reg_alloc code.
923 * i386.h (TARGET_OPTIONS): Kill reg-alloc.
924 (REG_ALLOC_ORDER): SSE goes before I387.
925 (ORDER_REGS_FOR_LOCAL_ALLOC): Kill.
926 (ix86_reg_alloc_order): Likewise.
927 * i386-protos.h (ix86_reg_alloc_order): Kill.
928
121bc96b
RH
9292001-02-14 Richard Henderson <rth@redhat.com>
930
931 * toplev.c (f_options): Clarify -fschedule-insns2 documentation.
932
04b1a223
JH
933Wed Feb 14 11:59:58 CET 2001 Jan Hubicka <jh@suse.cz>
934
935 * i386.h (RETURN_IN_MEMORY): Fix formating; reject TFmodes
936
fa79946e
JH
937Wed Feb 14 11:12:38 CET 2001 Jan Hubicka <jh@suse.cz>
938
939 * i386-protos.h (ix86_memory_move_cost): Move offline.
940 * i386.c (ix86_register_move_cost): Compute properly cost of
941 SSE, MMX and i387 instructions.
942 (*_cost): Add costs of SSE/MMX moves.
943 (ix86_memory_move_cost): Move offline from ....; Likewise.
944 * i386.h (MEMORY_MOVE_COST): .... here;
945 (struct processor costs): Add new fields to represent costs
946 of SSE/MMX moves.
947
6836e024
JH
948Wed Feb 14 10:08:26 CET 2001 Jan Hubicka <jh@suse.cz>
949
950 * regclass.c (init_reg_sets_1): Reinstall the optimization of
951 move_cost together with Matt Kraai's fix.
952
d3fb92b8
JO
9532001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
954
955 * Makefile.in (OBJS): Add params.o.
956
8e0b124e
RH
9572001-02-14 Richard Henderson <rth@redhat.com>
958 DJ Delorie <dj@redhat.com>
959
960 * jump.c (jump_optimize_1): When we delete a conditional jump
961 preceeding a non-conditional jump to effectively the same place,
962 make sure that the combined jump skips any clobber insns between
963 the two labels.
964
55bd9f24
JO
9652001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
966
967 * gcc.c (do_spec_1): Fix off-by-one error for '%M' case.
968
c6d9a88c
MM
9692001-02-14 Mark Mitchell <mark@codesourcery.com>
970
971 * Makefile.in (toplev.o): Depend on params.h.
972 (intergate.o): Likewise.
973 (params.o): New target.
974 * flags.h (inline_max_insns): Remove.
975 * integrate.c: Include params.h.
976 Use MAX_INLINE_INSNS instead of inline_max_insns.
977 * params.c: New file.
978 * params.h: Likewise.
979 * params.def: Likewise.
980 * toplev.c: Include params.h.
981 (lang_independent_params): New variable.
3844cd2e 982 (decode_f_option): Use the param machinery instead of setting
c6d9a88c
MM
983 max_inline_insns.
984 (independent_decode_option): Handle "--param name=value".
985 (main): Register language-independent parameters.
986
c6e95f34
JH
987Wed Feb 14 11:13:45 CET 2001 Jan Hubicka <jh@suse.cz>
988
989 * i386.md (pushsf, pushdf_nointeger): Fix constraint.
990
c7c0ae3d
RH
9912001-02-14 Richard Henderson <rth@redhat.com>
992
993 * regclass.c (init_reg_sets_1): Revert last two changes.
994
fe375cf1
JJ
9952001-02-14 Jakub Jelinek <jakub@redhat.com>
996
997 * stor-layout.c (is_pending_size, put_pending_size): New functions.
998 (variable_size): Call put_pending_size.
999 * tree.h (is_pending_size, put_pending_size): Add prototypes.
1000 * fold-const.c (extract_muldiv): If SAVE_EXPR is on the pending
1001 sizes list, put newly created SAVE_EXPR there as well.
1002
10032001-02-14 Jakub Jelinek <jakub@redhat.com>
1004
1005 * config/ia64/ia64.c (last_group): Only 2 entries are needed.
1006 (errata_find_address_regs): load_group has only 2 entries.
1007 (errata_emit_nops): Likewise. shladd is not problematic.
1008 Clear last_group if nop was emitted.
1009 (fixup_errata): load_group has only 2 entries.
1010 Optimize.
1011
7065e130
NB
10122001-02-14 Neil Booth <neil@daikokuya.demon.co.uk>
1013
fe375cf1
JJ
1014 * c-lex.c (lex_number): Only warn traditionally for U suffix
1015 outside system macros.
1016 * cppexp.c (parse_number): Similarly.
1017 * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
1018 * cppmacro.c (struct cpp_macro): New member node.
1019 (parse_args): Only warn about missing rest args if not
1020 a system macro.
1021 (funlike_invocation_p): Similarly for uninvoked funlike macros.
1022 (cpp_sys_objmacro_p): New.
1023 (_cpp_create_definition): Store the node with the macro defn.
1024 Remember if the macro is defined in a system header.
7065e130 1025
cbc59f01
DD
10262001-02-13 DJ Delorie <dj@redhat.com>
1027
1028 * configure.in (check_languages): determine languages to check
1029 * Makefile.in (check-c++): alias for check-g++
1030 (check-f77): alias for check-g77
1031 (CHECK_TARGETS): depend on configured languages
1032
ca9a9b12
JH
1033Wed Feb 14 01:13:59 CET 2001 Jan Hubicka <jh@suse.cz>
1034
1035 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
1036 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
1037 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
1038 (sqrtextendsfdf2): Disable for SSE2.
1039
1040Wed Feb 14 00:19:28 CET 2001 Jan Hubicka <jh@suse.cz>
1041
1042 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch again.
1043 (sqrtsf2): Use TARGET_SSE instead of TARGET_SSE2)
1044 (sqrtsf2 patterns): Use 'x' instead of 'Y'.
1045 (sqrtextendsfdf2): Disable for SSE2.
1046
7093c9ea
JH
1047Wed Feb 14 00:11:20 CET 2001 Jan Hubicka <jh@suse.cz>
1048
1049 * i386.md (movsfcc_1): Support integer cmove instruction.
1050 (movdfcc_1): Likewise; new splitter.
1051
0644b628
JH
1052Tue Feb 13 23:19:27 CET 2001 Jan Hubicka <jh@suse.cz>
1053
1054 * i386.c (output_fp_compare): Support SSE.
1055 (prepare_fp_compare_args): SSE comparisons always support memory.
1056 * i386.h (TARGET_CMOVE): SSE imply cmove.
1057 * i386.md (cmp?f2): Enable for SSE too.
1058 (cmpfp_i*): Support SSE.
1059 (cmpfp_i_sse): New.
1060 (cmpfp_i_sse_only): New.
1061 (s*, b* fp expanters): Enable for SSE too.
1062 (fp_jcc_1_sse, fp_jcc_1_sse_only, fp_jcc_2_sse, fp_jcc_2_sse_only):
1063 New patterns.
1064
1464632b
JH
1065Tue Feb 13 23:05:42 CET 2001 Jan Hubicka <jh@suse.cz>
1066
a901fa64 1067 * regclass.c (init_reg_sets_1): Silence warning.
1464632b 1068
a8083431
JH
1069Tue Feb 13 22:03:07 CET 2001 Jan Hubicka <jh@suse.cz>
1070
1071 * i386.md (sqrt?f2): Change to expander.
1072 (sqrt?f2_1, sqrt?f2_sse_only, sqrt?f2_i387): New.
1073
d9c695ff
RK
1074Tue Feb 13 15:42:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1075
1076 * rtlanal.c (find_reg_equal_equiv_note): New function.
1077 * simplify-rtx.c (simplify_gen_unary, simplify_gen_ternary): New fns.
1078 (simplify_gen_relational, simplify_replace_rtx): Likewise.
1079 * rtl.h: Add declarations for above functions.
1080
848e0190
JH
1081Tue Feb 13 21:09:11 CET 2001 Jan Hubicka <jh@suse.cz>
1082
1083 * cse.c (cse_main): Converts ifdefs on PIC_OFFSET_TABLE_REGNUM to
1084 conditionals.
1085 * defaults.h (PIC_OFFSET_TABLE_REGNUM): Default to INVALID_REGNUM.
1086 * emit-rtl.c (init_emit_once): Convert ifdefs to conditionals.
1087 * flow.c (mark_regs_live_at_end): Likewise.
1088 (calculate_global_regs_live): Likewise.
1089 * gcse.c (compute_hash_table): Likewise.
1090 (compute_kill_rd): Likewise.
1091 * resource.c (mark_target_live_regs): Likewise.
1092 * rtl.h (INVALID_REGNUM): New macro.
1093
b1675dbd
JH
1094Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
1095
1096 * i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
1097
1698bba1
JH
1098Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
1099
1100 * i386.md (fixsfsi2, fixdfdi2): Force operand to register
1101 for SSE.
1102
1deaa899
JH
1103Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
1104
1105 * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
1106 too.
1107 (fop_sf_comm, fop_df_comm, fop_sf_1, fop_df_1): Support SSE.
1108 (fop_sf_comm_sse, fop_df_comm_sse): New patterns.
1109 (fop_sf_1_sse, fop_df_1_sse): New patterns
1110 (fop_*): Disable float_extend and float patterns for SSE compilation.
1111 * i386.c (output_387_binary_op): Support SSE.
1112
42a0aa6f
JH
1113Tue Feb 13 14:16:34 CET 2001 Jan Hubicka <jh@suse.cz>
1114
1115 * i386.md (dummy_extendsfdf2): Support SSE2
1116 (extendsfdf2): Enable if 80387 or SSE2.
1117 (extendsfdf2_1): Support SSE2. Disable if SSE2 is avialble
1118 and no MIX_I387_SSE2
1119 (extendsfdf2_1_sse_only): New pattern.
1120 (truncdfsf2): Enable if SSE2 or 80387; Always use SSE only version
1121 of SSE.
1122 (truncdfsf2_1): Support SSE.
1123 (truncdfsf2_2): Support SSE.
1124 (truncdfsf2_2_1_sse): New pattern.
1125 (fixtruncsfsi2): Always use SSE if available.
1126 (fix_truncsfsi_sse): New pattern.
1127 (fix_truncdfsi_sse): New pattern.
1128 (floatsis?f2): Support SSE.
1129 (floatsidf2_i387): New pattern.
1130 (floatsidf2_sse): Likewise.
1131
8a7199ad
RK
1132Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1133
1ffc5c6e
RK
1134 * configure.in: Use "have_gnat" variable, not "gnat".
1135 * configure: Regenerated.
1136
8a7199ad
RK
1137 * config/sparc/sparc.c (function_value): Treat all non-record
1138 aggregate types like used to treat UNION_TYPE.
1139
446988df
JH
1140Tue Feb 13 13:31:33 CET 2001 Jan Hubicka <jh@suse.cz>
1141
1142 * i386.c (print_reg): Use ANY_FP_REG instead of FP_REG
1143 * i386.h (MASK_128BIT_LONG_DOUBLE): Renumber
1144 (MASK_SSE2): New.
1145 (MASK_MIX_SSE_I387): New.
1146 (TARGET_SSE): SSE2 imply SSE.
1147 (TARGET_SSE2, TARGET_MIX_SSE_I387): New.
1148 (TARGET_SWITCHES): Add "sse2", "mix-sse-i387".
1149 (enum reg_class): Add new classes.
1150 (REG_CLASS_NAMES): Likewise.
1151 (REG_CLASS_CONTENTS): Likewise.
1152 (ANY_FP_REG_P, ANY_FP_REGNO_P, SSE_REG_P, SSE_FLOAT_MODE): New macros.
1153 (REG_CLASS_FROM_LETTER): 'x' and 'y' is SSE_REGS only when SSE is
1154 supported. Add 'Y' to be SSE_REGS when SSE2 is supported.
1155 (CLASS_MAX_NREGS): Use new macros.
1156 (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_MAYBE_NEEDED.
1157 * i386.md (pushsf, movsf): Support SSE.
1158 (pushdf_nointeger, pushdf_integer, pushdf): Support SSE, update
1159 splitters to use ANY_FP_REGNO_P.
1160 (movdf_nointeger, movdf_integer): Likewise.
1161
42a6ff51
AO
11622001-02-13 Alexandre Oliva <aoliva@redhat.com>
1163
1164 * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): New macro.
1165 (try_combine): Use it.
1166
f84aa48a
JH
1167Tue Feb 13 11:37:06 CET 2001 Jan Hubicka <jh@suse.cz>
1168
1169 * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
1170 MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
1171 (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
1172 (REGISTER_MOVE_COST): Likewise.
1173 * i386-protos.h (ix86_secondary_memory_needed,
1174 ix86_preferred_reload_class, ix86_register_move_cost): Declare.
1175 * i386.c (ix86_secondary_memory_needed,
1176 ix86_preferred_reload_class, ix86_register_move_cost): New function.
1177
a946dd00
JH
1178Die Feb 13 11:04:25 CET 2001 Jan Hubicka <jh@suse.cz>
1179
1180 * i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
1181 (HARD_REGNO_MODE_OK): Move offline to ....
1182 * i386.c (ix86_hard_regno_mode_ok) ... here;
1183 refuse all incorrect modes.
1184 * i386-protos.h (ix86_hard_regno_mode_ok): Declare.
1185
1b9ea8eb
RH
11862001-02-13 Richard Henderson <rth@redhat.com>
1187
1188 * sparc.md (cmp_cc_arith_op_set): Don't use match_dup on the
1189 entire operator; replicate that and match_dup the operands.
1190 (cmp_ccx_arith_op_set): Likewise.
1191 (cmp_cc_arith_op_not_set): Likewise.
1192 (cmp_ccx_arith_op_not_set): Likewise.
1193
5b0d91c3
AO
11942001-02-13 Alexandre Oliva <aoliva@redhat.com>
1195
1196 * explow.c (trunc_int_for_mode): Sign-extend value to mode.
1197
9a155f91
GK
11982001-02-12 Geoffrey Keating <geoffk@redhat.com>
1199
1200 * config/rs6000/sysv4.h (MASK_NO_BITFIELD_WORD): New macro.
1201 (TARGET_NO_BITFIELD_WORD): New macro.
1202 (SUBTARGET_SWITCHES): Add -mbit-word, -mno-bit-word options.
1203 (BITFIELD_NBYTES_LIMITED): Define based on TARGET_NO_BITFIELD_WORD.
1204
fa49fd0f
RK
1205Mon Feb 12 18:13:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1206
1207 * cselib.c: New file, from simplify-rtx.c.
1208 * simplify-rtx.c: Remove cselib parts.
1209 * Makefile.in: Add cselib.o.
1210
c36ae96c
GK
12112001-02-12 Geoffrey Keating <geoffk@redhat.com>
1212
ca5adc63
GK
1213 * config/rs6000/rs6000.c (rs6000_float_const): Remove warning.
1214 (setup_incoming_varargs): Remove warning.
1215
1216 * config/rs6000/rs6000.c (validate_condition_mode): When
1217 flag_fast_math, allow floating-point conditionals to be reversed.
1218 (rs6000_generate_compare): When flag_fast_math, don't generate
1219 cror operations for FP conditionals.
1220
c36ae96c
GK
1221 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Handle
1222 -mcall-i960.
1223 (ASM_SPEC): Likewise.
1224 (CC1_ENDIAN_LITTLE_SPEC): Likewise.
1225 (CC1_SPEC): Likewise.
1226 (LINK_TARGET_SPEC): Likewise.
1227 (CPP_ENDIAN_SPEC): Likewise.
1228 * Makefile.in (check-consistency): New target.
1229
f43b2795
JM
12302001-02-12 Joseph S. Myers <jsm28@cam.ac.uk>
1231
1232 * c-decl.c (grokdeclarator): In C99 mode, give the more specific
1233 "return type defaults" warning for functions with return type
1234 defaulting to int.
1235 * c-lang.c (c_init): In C99 mode, enable warnings for implicit
1236 function declarations by default rather than only when pedantic.
1237
7004b11b
JH
1238Mon Feb 12 17:28:48 CET 2001 Jan Hubicka <jh@suse.cz>
1239
1240 * regclass.c (init_reg_sets_1): Optimize calculation of move_cost
1241 arrays.
1242
82c18d5c
NS
12432001-02-12 Nathan Sidwell <nathan@codesourcery.com>
1244
1245 * extend.texi (Deprecated): Deprecate new initializer lists.
1246
48ce6bbb
NS
12472001-02-12 Nathan Sidwell <nathan@codesourcery.com>
1248
1249 * mkdeps.c (deps_add_default_target): Robustify. Add
1250 basename component only.
1251 * cpp.texi (-M): Describe how default target is generated.
1252 * invoke.texi (-M): Likewise.
1253
823a9919
KH
12542001-02-12 Kazu Hirata <kazu@hxi.com>
1255
1256 * toplev.c (push_float_handler): Remove.
1257 (pop_float_handler): Remove.
1258 * toplev.h: Remove prototypes for the above functions.
1259
d02b54f6
JJ
12602001-02-12 Jakub Jelinek <jakub@redhat.com>
1261
1262 * c-common.c (constant_fits_type_p): New function.
1263 (convert_and_check): Use it.
1264
b1012f1b
MM
12652001-02-11 Mark Mitchell <mark@codesourcery.com>
1266
1267 * Makefile.in (GXX_ABI_FLAG): Don't define.
1268 * configure.in (--enable-new-gxx-abi): Remove option.
1269 * config.in: Regenerated.
1270 * configure: Likewise.
1271
e8eacc3f
AO
12722001-02-12 Alexandre Oliva <aoliva@redhat.com>
1273
1274 * lcm.c (compute_earliest): Let EXIT_BLOCK be handled as a regular
1275 basic block.
1276 (optimize_mode_switching) [NORMAL_MODE]: Set up EXIT_BLOCK as a
1277 regular basic block, and arrange for all edges into it to switch
1278 to normal mode.
1279
e065341b
GP
12802001-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1281
1282 * Makefile.in (distclean): Do not remove .gdbinit.
1283
8c310e3f
MM
12842001-02-11 Mark Mitchell <mark@codesourcery.com>
1285
1286 * Makefile.in (gcc.o): Fix typos.
1287 (protize.o): Likewise.
1288 (unprotoize.o): Likewise.
1289
258835c7
RH
12902001-02-11 Richard Henderson <rth@redhat.com>
1291
1292 * tree.c (build1): Check for null operand in last change.
1293
1796dff4
RH
12942001-02-11 Richard Henderson <rth@redhat.com>
1295
1296 * fold-const.c (split_tree): Don't assume a constant isn't splittable.
1297 (fold): Don't assume a constant isn't foldable.
1298 * tree.c (build): Set TREE_CONSTANT for an expression with no
1299 side-effects and constant operands.
1300 (build1): Likewise.
1301
7f437481
RH
13022001-02-10 Richard Henderson <rth@redhat.com>
1303
1304 * jump.c (squeeze_notes): Revert 2000-05-12 change.
1305
3220116f
AG
13062001-02-10 Anthony Green <green@redhat.com>
1307
1308 * cpp.texi (Standard Predefined): Add documentation for
1309 __OPTIMIZE_SIZE__.
1310
1311 * c-common.c (combine_strings): Improve warning message.
1312
36b8ffbe
GK
13132001-02-10 Geoffrey Keating <geoffk@redhat.com>
1314
1315 * config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for
1316 --oformat.
1317 * config/rs6000/sysv4le.h (LINK_TARGET_SPEC): Likewise.
1318
ce675456
CF
1319Fri Feb 9 15:05:27 2001 Christopher Faylor <cgf@cygnus.com>
1320
1321 * config/i386/t-cygwin (T_CPPFLAGS): Use correct location for
1322 CYGWIN_CROSS_DIR.
1323
cc0744d1
AO
13242001-02-09 Alexandre Oliva <aoliva@redhat.com>
1325
1326 * config/sh/sh.md (sibcalli, sibcalli_pcrel, sibcalli): Set
1327 fp_mode attribute.
1328
ab51eb25
NC
13292001-02-09 Nick Clifton <nickc@redhat.com>
1330
1331 * config/arm/arm.md: Change output contraint on post inc
1332 load/store multiple patterns to be a read/write contraint.
1333
58e31b83
NB
13342001-02-09 Neil Booth <neil@daikokuya.demon.co.uk>
1335
1b9ea8eb
RH
1336 * gcc.c (cpp_options): Delete .d files on error. Don't delete
1337 .o files when using the -M options.
58e31b83 1338
db9473af 13392001-02-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
02a4ec28
FS
1340 David Edelsohn <edelsohn@gnu.org>
1341
1342 * config/rs6000/rs6000.c (output_toc): Allow 32-bit targets to
1343 handle DImode constants. Use one TOC entry for SImode and smaller
1344 constants, aligned properly.
1345
34ce3d7b
JM
13462001-02-08 Jason Merrill <jason@redhat.com>
1347
1348 * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
1349 about the SP adjustment for saving the static chain pointer.
1350 * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
1351 offset when setting a temporary CFA register.
1352
8da6d80e
CC
13532001-02-08 Chandrakala Chavva <cchavva@redhat.com>
1354
1355 * config.gcc : New targets, i386-*-chorusos*, sparc-*-chorusos*,
1356 powerpc-*-chorusos* .
1357 * config/rs6000/chorus.h : New file.
1358 * config/i386/chorus.h : New file.
1359 * config/sparc/chorus.h : New file.
1360 * config/sparc/t-chorus-elf : New file.
1361
7841642f
DE
13622001-02-08 David Edelsohn <edelsohn@gnu.org>
1363
1364 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Move from here ...
1365 * config/rs6000/aix.h (ASM_OUTPUT_SYMBOL_REF): ... to here.
1366 * config/rs6000/aix51.h (CPLUSCPLUS_CPP_SPEC): Define it.
1367 (__WCHAR_TYPE__): Correct macro name.
3844cd2e 1368
6fca22eb
RH
13692001-02-08 Richard Henderson <rth@redhat.com>
1370
1371 * config/i386/i386.c (ix86_frame_pointer_required): New.
1372 (ix86_setup_frame_addresses): New.
1373 (struct machine_funciton): Add accesses_prev_frame.
1374 * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
1375 ix86_frame_pointer_required.
1376 (SUBTARGET_FRAME_POINTER_REQUIRED): New.
1377 (SETUP_FRAME_ADDRESSES): New.
1378 * config/i386/i386-protos.h: Update.
1379 * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
1380 from FRAME_POINTER_REQUIRED.
1381 * config/i386/svr3gas.h: Likewise.
1382 * config/i386/sysv3.h: Likewise.
1383 * config/i386/v3gas.h: Likewise.
1384
0020b823
RH
13852001-02-08 Richard Henderson <rth@redhat.com>
1386
1387 * config/sparc/sparc.c (function_arg_record_value_3): Fix
1388 calculation of the number of integer registers required.
1389 (function_arg_record_value): Likewise.
1390
00a42e21
JM
13912001-02-08 Jason Merrill <jason@redhat.com>
1392
33c4f174
JM
1393 * diagnostic.c (internal_error): Say "confused" after 1 error, not
1394 two. Print file and line with "confused" message.
1395
00a42e21
JM
1396 * dwarf2out.c (dwarf2out_line): Include filename in -dA output.
1397
dd248abd
RK
1398Thu Feb 8 11:21:28 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1399
1400 * rtlanal.c (remove_node_from_expr_list): Correctly update PREV.
1401
04337620
BS
14022001-02-08 Bernd Schmidt <bernds@redhat.com>
1403
1404 * final.c (cleanup_subreg_operands): The address of a MEM can
1405 contain SUBREGs.
1406
0c1cf241
BS
1407 * config/ia64/ia64.c (ia64_variable_issue): Call group_barrier_needed_p
1408 for asms, too.
1409
14baf6b5
JM
14102001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
1411
1412 * gcc.texi (Incompatibilities): Update documentation of
1413 preprocessing numbers.
1414
1ada4cd0
JJ
14152001-02-07 Jakub Jelinek <jakub@redhat.com>
1416
1417 * c-decl.c (finish_enum): Revert part of 2000-01-05 change.
1418
a9374841
MM
14192001-02-07 Mark Mitchell <mark@codesourcery.com>
1420
830a95f8
MM
1421 * config/rs6000/aix43.h (CPLUSCPLUS_CPP_SPEC): Define it.
1422
a9374841
MM
1423 * defaults.h (CPLUSPLUS_CPP_SPEC): New macro.
1424 * gcc.c (struct compiler): Add cpp_spec field.
1425 (input_file_compiler): New variable.
3844cd2e 1426 (do_spec_1): Allow a particular compiler to handle `%C'
a9374841
MM
1427 specially.
1428 (main): Store the current compiler in input_file_compiler.
1429 * tm.texi (CPLUSPLUS_CPP_SPEC): Document.
3844cd2e 1430
7d4918a2
ZW
14312001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
1432
1433 * cpphash.h (struct spec_nodes): Add n_true and n_false.
1434 * cppinit.c (cpp_create_reader): Initialize them.
1435 (append_include_chain): cxx_aware arg might be unused.
1436 * cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
1437 keywords and give them their phase 7 meaning. Pedwarn about
1438 this unless '__bool_true_false_are_defined' is defined.
1439
09d84e04
AO
14402001-02-07 Alexandre Oliva <aoliva@redhat.com>
1441
1442 * lcm.c (optimize_mode_switching): Emit mode_set before the
1443 JUMP_INSN of an abnormal edge.
1444
bcd7edfe
BS
14452001-02-07 Bernd Schmidt <bernds@redhat.com>
1446
1447 * builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
1448 a scheduling barrier at the end.
1449
4a1d48f6
BS
1450 * tm.texi (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Document.
1451
3dbd1134
AO
14522001-02-07 Alexandre Oliva <aoliva@redhat.com>
1453
c2d10707
AO
1454 * config/sh/sh.md (reload_outsf): Removed.
1455 (movsf_ie): Introduce constraints for FPUL loads and stores.
1456 (reload_insf): Broaden the output constraint.
1457
3dbd1134
AO
1458 * config/elfos.h (INT_ASM_OP): Don't define it if it's already
1459 defined.
1460 * config/sh/sh.h (INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
1461 ASM_OUTPUT_DESTRUCTOR): Copy definitions from config/elfos.h.
1462
8480e480
CC
14632001-02-06 Chandrakala Chavva <cchavva@redhat.com>
1464
8da6d80e 1465 * final.c: Revert my previous changes.
8480e480
CC
1466 * output.h: Make profile_label_no extern.
1467 * config/rs6000/rs6000.c (output_profile_hook): Use standard functions
1468 for generating label.
1469
df447210
LB
14702001-02-06 Laurynas Biveinis <lauras@softhome.net>
1471
1472 * config/i386/djgpp.h: Add comments about standard paths.
1473 (MD_EXEC_PREFIX): Undefine before defining.
1474 (MD_STARTFILE_PREFIX): New.
1475
ca21b4a5
BK
14762001-01-30 Bruce Korb <bkorb@gnu.org>
1477
6fca22eb
RH
1478 fixinc/fixincl.c(process): Emit error message only if appropriate :)
1479 (load_file): do not rely on load_file_data() to close file pointer
1480 fixinc/fixlib.c(load_file_data): do not close passed in file pointer
ca21b4a5
BK
1481 fixinc/inclhack.def(irix_limits_const): add test_text
1482
3c8465d0
NB
14832001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
1484
6fca22eb
RH
1485 * cppexp.c (parse_defined): Improve diagnostics for invalid
1486 syntax.
3c8465d0 1487
b7a0a5fa
NB
14882001-02-06 Neil Booth <neil@daikokuya.demon.co.uk>
1489
6fca22eb 1490 * cppmacro.c (cpp_get_token): Avoid pasting after a builtin.
b7a0a5fa 1491
28e510bd
MM
14922001-02-06 Mark Mitchell <mark@codesourcery.com>
1493
1494 * config/rs6000/rs6000.h (ASM_OUTPUT_SYMBOL_REF): Define.
1495 * config/rs6000/rs6000-protos.h (rs6000_output_symbol_ref): Declare.
1496 * config/rs6000/rs6000.c (VTABLE_NAME_P): New macro.
1497 (rs6000_output_symbol_ref): New function.
1498 (output_toc): Use VTABLE_NAME_P.
3844cd2e 1499
05bd3d41
RK
1500Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1501
df10e9ec
RK
1502 * print-tree.c (print_node, case PARM_DECL):
1503 Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
1504
b5d6a2ff
RK
1505 * stor-layout.c (reference_types_internal): New variable.
1506 (internal_reference_types): New function.
1507 (layout_type, case REFERENCE_TYPE): Make Pmode if internal.
1508 * tree.h (internal_reference_types): New declaration.
1509
05bd3d41
RK
1510 * cse.c (find_best_addr): Fix typo in computing cost.
1511
d1405722
RK
1512Mon Feb 5 21:56:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1513
1514 * combine.c (nonzero_bits, case PLUS): If pointers extend unsigned
1515 and this is the sum of a pointer and a constant, we know the result
1516 did not overflow.
1517 (num_sign_bit_copies, case PLUS): Likewise.
1518 * explow.c (convert_memory_address): Remove opposite SUBREG.
1519 * function.c (instantiate_new_reg): New function (from common code).
1520 (instantiate_virtual_regs_1): Call it.
1521 For PLUS, handle if (plus (subreg (virt-reg) (const_int))
1522 if pointers sign- or zero-extend.
1523 * simplify-rtx.c (simplify_unary_operation, case ZERO_EXTEND):
1524 If pointers extend unsigned, use inside of SUBREG.
1525 (simplify_unary_operation, case SIGN_EXTEND): Likewise, if sign extend.
1526
3e897b66
BK
15272001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1528
1529 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
1530 subdir of gcc_gxx_include_dir.
1531 (gcc_gxx_target_include_dir): Remove.
1532
a401107d
JO
15332001-02-05 Jeffrey Oldham <oldham@codesourcery.com>
1534
1535 * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
1536 (dwarf2out_frame_debug_expr): Revise introductory comments to add
1537 a high-level description.
1538
411707f4
CC
15392001-02-05 Chandrakala Chavva <cchavva@redhat.com>
1540
d6706c51 1541 * final.c: Move the declaration of profile_label_no to ...
6fca22eb
RH
1542 * output.h: ... here.
1543 * function.c (expand_function_start): Call PROFILE_HOOK.
1544 * config/rs6000/aix.h: Define PROFILE_HOOK.
1545 * config/rs6000/rs6000-protos.h: output_profile_hook new.
1546 * config/rs6000/rs6000.c (output_profile_hook): Define.
1547 (output_prolog): Do nothing for ABI_AIX as it is taken care by
1548 output_profile_hook.
411707f4
CC
1549 tm.texi : Explain new macro PROFILE_HOOK.
1550
8720914b
HPN
15512001-02-06 Hans-Peter Nilsson <hp@axis.com>
1552
1553 * extend.texi (Extended Asm): Do not say that semicolon is always
1554 a valid line-breaking character for GNU assemblers. Use
1555 newline-tab as the most commonly supported syntax. Use
1556 newline-tab rather than semicolon in multi-insn examples.
1557
56cf87e7
FS
15582001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1559
1560 * Makefile.in (gcc_gxx_target_include_dir): Use $(target_alias).
1561
9638617e 15622001-02-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6fca22eb 1563 David Edelsohn <edelsohn@gnu.org>
9638617e 1564
3844cd2e 1565 * config/rs6000/rs6000.c (rs6000_return_addr): Use PIC
9638617e
FS
1566 code for AIX, even without flag_pic.
1567
2f4e8f2b
JJ
15682001-02-05 Jakub Jelinek <jakub@redhat.com>
1569
1570 * c-typeck.c (common_type): push and pop binding level around
1571 calling common_type on function parameters.
1572
45677496
CF
1573Mon Feb 5 14:30:37 2001 Christopher Faylor <cgf@cygnus.com>
1574
1575 * config/i386/cygwin.h (CPP_SPEC): Add missing space after -idirafter.
1576
789c026d
RK
1577Mon Feb 5 11:23:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1578
1579 * config/mips/mips.c (override_options): Fix typo in last change.
e2bbb660
RK
1580 (mips_make_temp_file): Call fatal_io_error, not pfatal_with_name.
1581 (mips_asm_file_end): Likewise; also pass more args to fatal_io_error.
789c026d 1582
9965d119
NS
15832001-02-05 Nathan Sidwell <nathan@codesourcery.com>
1584
1585 * invoke.texi (-fdump-class-layout): Document.
1586 (-fdump-translation-unit): Use `=' as filename separator.
1587
39d6f2e8
MM
15882001-02-05 Mark Mitchell <mark@codesourcery.com>
1589
1590 * Makefile.in (s-mlib): Don't build multilibs if
1591 --disable-multilib.
1592 (DRIVER_DEFINES): Adjust accordingly.
1593 (gcc.o): Likewise.
1594 (protoize.o): Likewise.
1595 (unprotoize.o): Likewise.
1596 * configure.in: Recognize --enable-multilib.
3844cd2e 1597
22fdd65e
MM
15982001-02-04 Mark Mitchell <mark@codesourcery.com>
1599
9f8bf073
MM
1600 * Makefile.in (DRIVER_DEFINES): Fix quoting.
1601
22fdd65e
MM
1602 * Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
1603 * configure.in: Remove --enable-libstdcxx_v3 support.
1604 * configure: Regenerated.
1605
400500c4
RK
1606Sun Feb 4 15:52:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1607
c4636dd1
RK
1608 * config/avr/avr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP):
1609 Call abort instead of fatal.
1610 (TRAMPOLINE_TEMPLATE): Call internal_error instead of fatal.
1611 * config/dsp16xx/dsp16xx.h (FUNCTION_PROFILER): Likewise.
1612 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Likewise.
1613 (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Likewise.
1614 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
1615 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Likewise.
1616
400500c4
RK
1617 * diagnostic.h (set_internal_error_function): Renamed.
1618 * toplev.h (internal_error): Renamed from fatal.
1619 (pfatal_with_name): Deleted.
1620 (fatal_io_error): Now has printf-style arguments.
1621 * diagnostic.c (pfatal_with_name): Deleted.
1622 (fatal_io_error): Rework to have args in printf-style.
1623 (set_internal_error_function): Renamed from set_fatal_function.
1624 (internal_error): Renamed from fatal.
1625 (error_recursion, fancy_abort): Call internal_error instead of fatal.
1626 * dwarf2out.c (get_cfa_from_loc_descr): Likewise.
1627 * emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
1628 * expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
1629 * flow.c (verify_flow_info): Likewise.
1630 * config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
1631 * config/mips/mips.c (save_restore_insns): Likewise.
1632
1633 * except.c (duplicate_eh_handlers): Call abort instead of fatal.
3844cd2e 1634 * flow.c (verify_flow_info): Likewise.
400500c4
RK
1635 * config/arm/arm.c (thumb_load_double_from_address): Likewise.
1636 * config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
1637 (avr_normalize_condition): Likewise.
1638 * config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
1639 * config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
1640 (limit_reload_class, double_reg_to_memory): Likewise.
1641 (print_operand_address, emit_1600_code_shift): Likewise.
1642 (gen_tst_reg, gen_compare_reg): Likewise.
1643 * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
1644 * config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
1645 Deleted.
1646 * config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
1647
1648 * c-parse.in (methoddef): Call fatal_error instead of fatal.
1649 * objc/objc-act.c (build_ivar_chain): Likewise.
1650 * dwarfout.c (dwarfout_init): Call fatal_io_error instead of
1651 pfatal_with_name.
1652 * graph.c (clean_graph_dump_file): Likewise.
1653 * profile.c (init_branch_prob): Likewise.
1654 * objc/objc-act.c (objc_init): Likewise.
3844cd2e 1655
400500c4 1656 * config/arm/arm.c (arm_override_options): Make errors non-fatal.
3844cd2e 1657 * config/avr/avr.c (avr_override_options): Likewise.
400500c4
RK
1658 * config/c4x/c4x.c (c4x_expand_prologue): Likewise.
1659 * config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
1660 * config/h8300/h8300.c (h8300_init_once): Likewise.
1661 * config/mips/mips.c (override_options): Likewise.
1662 * config/i386/i386.c (override_options): Likewise, rework.
1663 * config/m68k/m68k.c (override_options): Likewise.
1664
1665 * config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
1666 instead of fatal.
1667 * config/mips/mips.c (print_operand): Likewise.
1668 * hash.c (hash_allocate): Don't check for failure returns from
1669 obstack functions that can't fail.
1670 (hash_table_init_n, hash_table_init): Likewise; also now return void.
1671 * hash.h (hash_table_init_n, hash_table_init): Now return void.
1672 * objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
1673 (get_object_reference): Likewise.
1674
eab4abeb
NC
16752001-02-04 Nick Clifton <nickc@redhat.com>
1676
1677 * config/arm/arm.c (all_cores): Add 710T, 720T, 740T, 940T, 9e,
1678 StrongARM1110, 10TDMI, and 1020T.
1679
7ce2fcb9
KG
16802001-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1681
1682 * mips.h (MULTILIB_ISA_DEFAULT): Don't use #elif.
1683
b6c02328
AO
16842001-02-04 Alexandre Oliva <aoliva@redhat.com>
1685
1686 * config/sh/sh.md (movdf load split): Pass register number to
1687 FP_OR_XD_REGISTER_P.
1688
1ca894a0
MM
16892001-02-04 Mark Mitchell <mark@codesourcery.com>
1690
1691 * cppinit.c (BC): New macro.
1692 (builtin_array): Add __GXX_WEAK__.
1693 * cpplib.h (builtin_type): Add BT_WEAK.
1694 * cppmacro.c (builtin_macro): Handle BT_WEAK.
1695 * defaults.h (SUPPORTS_ONE_ONLY): Define.
1696 * varasm.c (SUPPORTS_ONE_ONLY): Do not define.
1697
52b357ea
JJ
16982001-02-03 Jakub Jelinek <jakub@redhat.com>
1699
1700 * cppinit.c (append_include_chain): Honor NO_IMPLICIT_EXTERN_C.
1701
269592a8
NB
17022001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
1703
6fca22eb 1704 * cpphash.h: Rename _ALIGN POOL_ALIGN.
3844cd2e 1705 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
269592a8 1706
2da6090f
NB
17072001-02-03 Neil Booth <neil@daikokuya.demon.co.uk>
1708
6fca22eb 1709 * cpphash.h: Rename ALIGN _ALIGN.
3844cd2e 1710 * cpplex.c (new_chunk, _cpp_pool_reserve): Update.
2da6090f 1711
4e190cf3
CF
1712Fri Feb 2 23:15:29 2001 Christopher Faylor <cgf@cygnus.com>
1713
1714 * config/i386/cygwin.h (CPP_SPEC): Reorganize YA to better handle cross
1715 compilation environment.
1716 * config/i386/t-cygwin (T_CPPFLAGS): Define CYGWIN_CROSS_DIR to allow
1717 control over location of cygwin includes and libs.
1718
c98f0cdb
MH
17192001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
1720
1721 * c4x.h (HARD_REGNO_CALL_PART_CLOBBERED): Fix typo.
1722
39ed8974
LB
17232001-02-02 lars brinkhoff <lars@nocrew.org>
1724
1725 * md.texi (Standard Names): remove reference to spur.md.
1726
0b53f039
MH
17272001-02-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz)
1728
1729 * c4x.h (IS_INT_CALL_SAVED_REG, IS_FLOAT_CALL_SAVED_REG): Define.
1730 (HARD_REGNO_CALL_PART_CLOBBERED): Use IS_FLOAT_CALL_SAVED_REG.
1731 (INITIAL_FRAME_POINTER_OFFSET, INITIAL_ELIMINATION_OFFSET): Likewise.
1732 * c4x.c (c4x_hard_regno_rename_ok): Use IS_XXX_CALL_SAVED_REG.
1733 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
1734
d001969e
HB
17352001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1736
1737 * c4x.c (group1_reg_operand, group1_mem_operand, arx_reg_operand,
1738 c4x_arn_reg_operand, c4x_arn_mem_operand): Do not check register
1739 number before reload.
1740 (c4x_adjust_cost): Return zero before reload.
1741 * c4x.md (load_immed_address+1, load_immed_address+2): Do not
1742 split before reload.
1743
40eef757
HB
17442001-02-03 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1745
1746 * c4x.c (c4x_hard_regno_rename_ok): New.
1747 * c4x-protos.h (c4x_hard_regno_rename_ok): New.
1748 * c4x.h (HARD_REGNO_RENAME_OK): Define.
1749
0d6882a0
RK
1750Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1751
1752 * diagnostic.h: Add missing "extern" in all declarations.
1753
362f2295
AS
17542001-02-02 Alex Samuel <samuel@codesourcery.com>
1755
1756 * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
1757 as for gcc_gxx_include_dir.
1758
da312b55
NB
17592001-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
1760
1761 * cpp.texi, invoke.texi: Update -Wtraditional documentation.
1762
38df95a4
AO
17632001-02-02 Alexandre Oliva <aoliva@redhat.com>
1764
e6dfd05f
AO
1765 * config/sh/sh.c (output_far_jump): Don't use braf on SH1. Emit
1766 label before alignment to be used as the braf base address.
1767 * config/sh/sh.md (length): Use longer lengths for SH1 PIC far
1768 branches.
1769 (casesi_jump_2): Require at least TARGET_SH2.
1770
38df95a4
AO
1771 * config/float-sh.h (LDBL_EPSILON, LDBL_MIN, LDBL_MAX): Prevent
1772 truncation to 32-bit doubles on -m3e and -m4-single-only.
1773
049f6ec9
MM
17742001-02-02 Mark Mitchell <mark@codesourcery.com>
1775
3844cd2e 1776 * gcc.c (init_gcc_specs): New function. Make -shared-libgcc
049f6ec9
MM
1777 the default when building a shared object.
1778 (init_spec): Use it.
1779 * testsuite/lib/g++.exp: Include the directory where libgcc
1780 is located to the LD_LIBRARY_PATH list.
1ca894a0 1781 * invoke.texi (-shared-libgcc): Document the cases in which
049f6ec9 1782 GCC defaults to using the shared libgcc.
3844cd2e 1783
483b9fd0
AO
17842001-02-02 Alexandre Oliva <aoliva@redhat.com>
1785
1786 * config/fp-bit.h (MAX_USI_INT, MAX_SI_INT): Don't assume
1787 unsigned is wide enough.
1788 (BITS_PER_SI): New.
1789 * config/fp-bit.c (_fpmul_parts): Don't assume 32-bits SI.
1790 (si_to_float): Likewise.
1791 (float_to_si, float_to_usi): Use BITS_PER_SI.
1792
770ca8c6
JO
17932001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
1794
1795 * dwarf2out.c: Added explanation of abbreviations.
1796 (def_cfa_1): Added comments listing DWARF2 instructions.
1797 (cfa_temp_reg): Removed in favor of cfa_temp.
1798 (cfa_temp_value): Removed in favor of cfa_temp.
1799 (cfa_temp): New global variable.
1800 (dwarf2out_frame_debug_expr): Added extensive introductory
1801 comments explaining the function's transformations. Revised to
1802 use cfa_temp. Added some rtx checking. Generalize IOR case.
1803 (dwarf2out_frame_debug): Revised to use cfa_temp.
1804 (output_aranges): Cast as "unsigned" to avoid warning.
1805 * rtl.texi (RTX_FRAME_RELATED_P): Revise entry to emphasize better
1806 explain which instructions must be marked.
1807
cad33336
RH
18082001-02-01 Richard Henderson <rth@redhat.com>
1809
1810 * local-alloc.c (update_equiv_regs): Copy INSN_CODE to the
1811 new instruction.
1812
8a5d897f
AO
18132001-02-01 Alexandre Oliva <aoliva@redhat.com>
1814
1815 * config/sh/crt1.asm (main_k): Modified so that start calls
1816 ___setup_argv_and_call_main.
1817
bd969772
NB
18182001-02-01 Neil Booth <neil@daikokuya.demon.co.uk>
1819
6fca22eb
RH
1820 * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
1821 * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
1822 and AVOID_LPASTE is cleared on meeting an unescaped newline.
1823 * cppmacro.c (builtin_macro): Set builtin flags here.
1824 (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
1825 (replace_args): Clarify intent.
1826 (cpp_get_token): Macro expansion tokens get the saved flags.
1827 Update.
1828 * cppmain.c (scan_buffer): Remove now-redundant print.printed
1829 check.
bd969772 1830
8c0abc88
JO
18312001-02-01 Jeffrey Oldham <oldham@codesourcery.com>
1832
1833 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Reverse change of
1834 2001-Jan-29.
1835
fcbfaa65
RK
1836Thu Feb 1 07:22:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1837
d5457140
RK
1838 * builtins.c (expand_builtin_alloca): allocate_dynamic_stack_space
1839 returns Pmode pseudo, but we need ptr_mode.
1840 * explow.c (allocate_dynamic_stack_space): Use plus_constant.
1841 Remove bogus conversions; use HOST_WIDE_INT for size.
1842 Don't use TARGET if wrong mode.
1843
fcbfaa65
RK
1844 * config/i386/i386.c (ix86_compute_frame_size): Allow
1845 stack_alignment_needed to be non-default even if size is zero.
1846
10d17cb7
AM
18472001-01-31 Alan Modra <alan@linuxcare.com.au>
1848
824e7605
AM
1849 * (hppa_init_pic_save): Emit the pic offset table
1850 reg save after last_parm_insn.
1851 * pa.c (hppa_init_pic_save): New function.
1852 * pa.h (hppa_init_pic_save): Declare.
1853 * pa.md (call, call_value, sibcall, sibcall_value): Use
1854 the above instead of duplicated code.
1855
10d17cb7
AM
1856 * pa.c (hppa_encode_label): Correct size of alloca buffer
1857 so we don't overrun it. Correct leading `*' case.
1858 * pa.h (STRIP_NAME_ENCODING): Simplify now that we don't
1859 need to handle `*@'.
1860 (FUNCTION_NAME_P): Likewise.
1861
b9e6ebe9
RH
18622001-01-31 Richard Henderson <rth@redhat.com>
1863
c3e5f9fa
RH
1864 * config.gcc (alpha-osf5): Use float-i128.h.
1865
b9e6ebe9
RH
1866 * config/float-i128.h (FLT_EVAL_METHOD, DECIMAL_DIG): Define.
1867 * config/float-i32.h: Likewise.
1868 * config/float-i64.h: Likewise.
1869 * config/float-sh.h: Likewise.
1870 * config/float-sparc.h: Likewise.
1871
dbac5d0d 18722001-01-31 DJ Delorie <dj@redhat.com>
aac280fb
DD
1873
1874 * expmed.c (extract_bit_field): allow non-integral modes if we
1875 want to extract a whole register from itself.
1876
ce662d4c
JJ
18772001-01-31 Jakub Jelinek <jakub@redhat.com>
1878
1879 * c-typeck.c (set_init_index): If first is equal to last, assume as
1880 if it was not a range at all.
1881
8b1065f1
AO
18822001-01-31 Alexandre Oliva <aoliva@redhat.com>
1883
3cb95a7d 1884 * config/fp-bit.c: Include tm.h.
8b1065f1
AO
1885 (float_to_si): Don't assume SImode is 32-bits wide.
1886 (float_to_usi): Likewise.
1887
0aca1a4f
JM
18882001-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
1889
1890 * c-parse.in (structsp): Pedwarn when "enum foo" refers to an
1891 incomplete type.
1892 (typename): Call pending_xref_error after parsing typed_typespecs.
1893 * c-decl.c (lookup_tag): Give error immediately rather than
1894 leaving it pending if the tag of the wrong type is in the same
1895 binding level.
1896 (xref_tag): Don't pedwarn for forward declarations of enum types
1897 here.
1898 * gcc.texi (Actual Bugs): Remove entry for misuse of struct, union
1899 and enum tags.
1900
92fa350a
AO
19012001-01-31 Alexandre Oliva <aoliva@redhat.com>
1902
1903 * config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.
1904
f000294d
NB
19052001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
1906
6fca22eb
RH
1907 * cpplib.c (T_ELIF): Move to STDC89, not that it matters.
1908 (_cpp_handle_directive): Suggest not using #elif with -Wtraditional.
f000294d 1909
ec1a23e6
NB
19102001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
1911
6fca22eb
RH
1912 * cpphash.h (struct cpp_reader): New saved_flags.
1913 * cppmacro.c (cpp_get_token): Use saved_flags to remember
1914 to avoid a paste after a pasted token.
3844cd2e 1915
5d0e6486
AO
19162001-01-31 Alexandre Oliva <aoliva@redhat.com>
1917
1918 * libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
1919 * libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
1920 Wtype_MIN instead of LONG_MIN.
1921
b2321b26
JO
19222001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
1923
1924 * fixinc/fixincl.tpl: Add 2001 to copyright. Change name of
1925 README file.
1926 * fixinc/fixincl.x: Regenerated.
1927 * fixinc/inclhack.def (irix_limits_const): New definition to
1928 convert "const" to "__const" in limits.h.
1929
4989b020
JO
19302001-01-30 Jeffrey Oldham <oldham@codesourcery.com>
1931
1932 * fixinc/genfixes (AG): Fix "autogen4" thinko.
1933
2f33c635
HB
19342001-01-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1935
1936 * regmove.c (try_auto_increment): Change REG_DEAD into REG_UNUSED
1937 when register dies in the insn.
1938
bdda3325
NB
19392001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
1940
1941 * diagnostic.c (fatal): Fix word wrap.
1942
48b4d901
AO
19432001-01-30 Alexandre Oliva <aoliva@redhat.com>
1944
1945 * combine.c (try_combine): Fix SUBREG setting for
1946 HOST_BITS_PER_WIDE_INT >= 2 * BITS_PER_WORD.
1947
1e738f74
FS
19482001-01-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1949
1950 * jump.c (comparison_dominates_p): Don't try to handle UNKNOWN
1951 comparison codes.
1952
e9770d51
NB
19532001-01-30 Neil Booth <neil@daikokuya.demon.co.uk>
1954
6fca22eb
RH
1955 * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
1956 is not NULL.
1957 * toplev.c (decode_W_option): Update warn_larger_than
1958 unconditionally for each processed switch.
e9770d51 1959
d966ae60
JDA
19602001-01-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1961
1962 * pa.c (pa_init_machine_status): Initialize pic_offset_table_save_rtx
1963 to NULL_RTX.
1964 (hppa_expand_prologue): Delete code to save pic offset table register
1965 in the function prologue.
1966 * pa.h (PIC_OFFSET_TABLE_SAVE_RTX): Correct type in comment.
1967 * pa.md (call, call_value, sibcall, sibcall_value): Save the pic offset
1968 table register at the beginning of the function after the prologue.
1969
f25561bb
LB
19702001-01-29 lars brinkhoff <lars@nocrew.org>
1971
6fca22eb 1972 * tm.texi (PUSH_ROUNDING): Remove duplicate lines.
f25561bb 1973
7ea9fcc6
JDA
19742001-01-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
1975 Jeff Law <law@redhat.com>
1976
1977 * pa.md (return): Revise comment for trivial return.
1978 (return_internal): Non-trivial return pattern for non-PIC code.
1979 (return_internal_pic): Non-trivial return pattern for PIC code.
1980 It uses the PIC register to ensure it is restored after
1981 function calls.
1982 (epilogue): Generate appropriate return for PIC and non-PIC code.
1983
05d9f8b0
CF
1984Mon Jan 29 23:53:14 2001 Christopher Faylor <cgf@cygnus.com>
1985
1986 * config/i386/cygwin.h: Fix -mno-cygwin search path for link.
1987
80c8b1aa
DD
19882001-01-29 DJ Delorie <dj@redhat.com>
1989
1990 * combine.c (if_then_else_cond): Pass the correct mode to
1991 operand_subword() for constants.
1992
f6fc3552
CF
1993Mon Jan 29 20:38:19 2001 Christopher Faylor <cgf@cygnus.com>
1994
1995 * config/i386/cygwin.h: Add w32api to include search. Search different
1996 directories in a cross-build environment.
1997
2b5f2501
RH
19982001-11-29 Tim Josling <tej@melbpc.org.au>
1999
2000 * tree.h (TYPE_STUB_DECL): Add documentation.
2001
20022001-11-29 Laurynas Biveinis <lauras@softhome.net>
1270a9b3
LB
2003
2004 * sdbout.c (sdbout_one_type): Skip types with indeterminate size.
2005 (sdbout_field_types): Likwise. Fix use of host_integerp.
2006
9c7c6e6c
TP
20072001-01-29 Thomas Pfaff <tpfaff@gmx.net>
2008
2009 * mingw32.h: Override STARTFILE_SPEC and LINK_SPEC declared in
2010 cygwin.h.
2011
f1e9980a
JO
20122001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
2013
2014 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
2015 to use flag_gnu_linker.
2016
766ee681
NB
20172001-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
2018
6fca22eb
RH
2019 * cpplib.c (T_BAD_DIRECTIVE): Remove.
2020 (_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
766ee681 2021
718b8ea5
JM
20222001-01-29 Joseph S. Myers <jsm28@cam.ac.uk>
2023
2024 * tree.c, tree.h (build_parse_node): Remove; was identical to
2025 build_nt.
2026 * c-lang.c (start_cdtor), objc/objc-act.c
2027 (build_module_descriptor): Use build_nt instead of
2028 build_parse_node.
2029
adc88131
JJ
20302001-01-29 Jakub Jelinek <jakub@redhat.com>
2031
2032 * config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
2033 (testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
2034 not have any upper bits set.
2035
42c0c80a
PE
20362001-01-29 Phil Edwards <pme@sources.redhat.com>
2037
2038 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
2039
f2d1f0ba
KG
20402001-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2041
2042 * stmt.c (estimate_case_costs): Use integer_minus_one_node.
2043
2044 * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
2045
2046 * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
2047 (integer_minus_one_node): Define.
2048
4f92461a
AO
20492001-01-28 Alexandre Oliva <aoliva@redhat.com>
2050
2051 * Makefile.in (bootstrap2-lean): Fix typo.
2052
26ec42ee
NB
20532001-01-28 Neil Booth <neil@daikokuya.demon.co.uk>
2054
6fca22eb
RH
2055 * cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
2056 : Don't set fe_value.
3844cd2e 2057 * cpplib.h (AVOID_LPASTE): New flag.
6fca22eb
RH
2058 (struct cpp_hashnode): Remove fe_value.
2059 * cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
2060 * cppmacro.c (builtin_macro): Don't set flags here.
2061 (replace_args): Set AVOID_LPASTE flag on first token of an
2062 argument, and the token following it.
2063 (cpp_get_token): Set AVOID_LPASTE flag on first token of a
2064 macro expansion, and on the token following it. Do it for
2065 builtins too.
2066 * cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
26ec42ee 2067
0be25992
RH
20682001-01-27 Richard Henderson <rth@redhat.com>
2069
2070 * config/alpha/t-ieee: Remove multilibbing.
2071 (TARGET_LIBGCC2_CFLAGS): Add -mieee.
2072
c913b6f1
KG
20732001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2074
2075 * configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
2076
2077 * Makefile.in: Remove all dependencies on defaults.h.
2078 * builtins.c: Don't include defaults.h.
2079 * c-common.c: Likewise.
2080 * c-decl.c: Likewise.
2081 * c-pragma.c: Likewise.
2082 * c-typeck.c: Likewise.
2083 * combine.c: Likewise.
2084 * i386.c: Likewise.
2085 * frame-ia64.c: Likewise.
2086 * cppexp.c: Likewise.
2087 * crtstuff.c: Likewise.
2088 * dbxout.c: Likewise.
2089 * dwarf2out.c: Likewise.
2090 * dwarfout.c: Likewise.
2091 * emit-rtl.c: Likewise.
2092 * except.c: Likewise.
2093 * expr.c: Likewise.
2094 * final.c: Likewise.
2095 * frame-dwarf2.c: Likewise.
2096 * libgcc2.c: Likewise.
2097 * optabs.c: Likewise.
2098 * profile.c: Likewise.
2099 * sdbout.c: Likewise.
2100 * toplev.c: Likewise.
2101 * tradcif.y: Likewise.
2102 * tree.c: Likewise.
2103 * varasm.c: Likewise.
2104
013dea40
KG
21052001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2106
2107 * builtins.c (expand_builtin_fputs): Use size_one_node when
2108 transforming into fwrite.
2109
2c5e91d2
JM
21102001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
2111
2112 * extend.texi (Attribute Syntax): New section.
2113
825ac704
MS
21142001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2115
2116 * fixproto: Correctly install synthesised unistd.h and stdlib.h when
2117 they didn't need fixing.
2118
70305f2b
RH
21192001-01-27 Janis Johnson <janis@us.ibm.com>
2120
2121 * config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
2122 if appropriate.
2123 * config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
2124 to remove macro definitions that are duplicated from elfos.h.
2125
21262001-01-27 Richard Henderson <rth@redhat.com>
2127
2128 * config/i386/sco5gas.h: Move ...
2129 * config/usegas.h: ... here.
2130 * config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
2131
940ff66d
JJ
21322001-01-27 Jakub Jelinek <jakub@redhat.com>
2133
2134 * c-typeck.c (struct constructor_stack): Add range_stack member.
2135 (really_start_incremental_init): Clear it.
2136 (push_init_level): Save constructor_range_stack and clear it if
2137 pushing explicit braces.
2138 (pop_init_level): abort if constructor_range_stack is non-zero at
2139 explicit closing brace. Restore saved constructor_range_stack if
2140 not implicit.
2141
de1b33dd
AO
21422001-01-27 Alexandre Oliva <aoliva@redhat.com>
2143
2144 * expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
2145 into register was forced into memory.
2146
3d84f80f
AO
21472001-01-27 Alexandre Oliva <aoliva@redhat.com>
2148
2149 * Makefile.in: Remove uses of + before $(MAKE).
2150
2a2137c4
RH
21512001-01-26 Richard Henderson <rth@redhat.com>
2152
2153 * stmt.c (cost_table): Remove.
2154 (COST_TABLE, cost_table_initialized): New.
2155 (estimate_case_costs): Use the later instead of the former.
2156 (balance_case_nodes): Likewise.
2157
66cce54d
RH
21582001-01-26 Richard Henderson <rth@redhat.com>
2159
2160 * alias.c (objects_must_conflict_p): Read-only slots may not
2161 conflict despite having the same type.
2162
616fde53
MH
21632001-01-27 Michael Hayes <mhayes@redhat.com>
2164
2165 * loop.c (loop_giv_reduce_benefit): Copy mode size into
2166 int variable.
2167 (check_ext_dependant_givs): Initialise u_start_val and
2168 u_end_val.
2169 (load_mems): Make last_max_reg unsigned.
2170 (try_swap_copy_prop): Use INSN_P and initialise set.
2171
b63471e9
DC
2172Fri Jan 26 23:22:58 2001 Denis Chertykov <denisc@overta.ru>
2173
2174 * README.AVR : Removed.
2175
d1ebd58d
JL
2176Fri Jan 26 11:37:26 2001 Jeffrey A Law (law@cygnus.com)
2177
2178 * pa-64.h (text_section): Remove declaration.
2179
2180 * pa.md (return_internal): Remove mode on PIC register use.
2181
a8d1550a
LB
21822001-01-25 lars brinkhoff <lars@nocrew.org>
2183
2184 * tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
2185 ASM_CLOSE_PAREN): fix typos.
2186
78e0ba39
MM
21872001-01-25 Mark Mitchell <mark@codesourcery.com>
2188
2189 * acconfig.h: Define `const' to the empty string if neither
2190 __STDC__ nor __cplusplus is defined.
2191 * config.in: Regenerated.
2192
05dba9ee
DE
21932001-01-25 David Edelsohn <edelsohn@gnu.org>
2194
2195 * config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
2196 * collect2.c (main): Delete importf. Add ".obj" file extension.
2197 (GCC_CHECK_HDR): Handle AIX V5 new magic number.
2198 (aix_std_libs): Add additional AIX libraries to skip.
2199 * config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
2200 * config/rs6000/aix51.h: New file.
2201
86e21212
MH
22022001-01-25 Michael Hayes <mhayes@redhat.com>
2203
2204 * loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
2205 (loop_insn_emit_before): No longer static.
2206 (move_movables): Replace emit_insn_after with loop_insn_emit_after.
2207 (loop_givs_rescan, load_mems): Likewise.
2208 (check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
2209 (maybe_eliminate_biv_1):
2210 (move_movables): Replace emit_call_insn_before with
2211 loop_call_insn_hoist.
2212 * loop.h (loop_insn_emit_before): Add.
3844cd2e 2213 * unroll.c (copy_loop_body): Replace emit_insn_before with
86e21212
MH
2214 loop_insn_emit_before.
2215
7fa531a6
NB
22162001-01-25 Neil Booth <neil@daikokuya.demon.co.uk>
2217
70305f2b 2218 * diagnostic.c (fatal): Request preprocessed source.
7fa531a6 2219
91239b93
R
2220Thu Jan 25 02:01:16 2001 J"orn Rennecke <amylaar@redhat.com>
2221
2222 * c-decl.c (duplicate_decls): If different_binding_level is nonzero,
2223 olddecl has argument types and newdecl has none, use the argument
2224 types from olddecl.
2225
e57cabac
UD
22262001-01-24 Ulrich Drepper <drepper@redhat.com>
2227
2228 * dwarf2out.c (prefix_of): New function. Determine longest common
2229 prefix of the two arguments. The units are whole path components.
2230 (output_file_names): When adding a new directory find the one entry
2231 with the longest common prefix already in the list. Artificially
2232 generate entry if there is none for this prefix.
2233 Fix test to check whether the zeroth directory entry is used.
2234
304a22dd
R
2235Wed Jan 24 23:51:55 2001 J"orn Rennecke <amylaar@redhat.com>
2236
2237 * reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
2238 Changed all callers. Take it into account when deciding if a
2239 previously loaded value matches.
2240
0a28aef9
RH
22412001-01-24 Richard Henderson <rth@redhat.com>
2242
2243 * reload.c (find_reloads_subreg_address): Fail the substitution
2244 if the resulting address is insufficiently aligned.
2245
1cac8785
DD
22462001-01-24 DJ Delorie <dj@redhat.com>
2247
2248 * combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
2249 check the original operand's mode also.
2250 * simplify-rtx.c (simplify_ternary_operation): Ditto.
2251
cedd825f
JM
22522001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
2253
2254 * c-parse.in (cast_expr): Move compound literals from here ...
2255 (primary): ... to here. Use standard terminology "compound
2256 literal" instead of "constructor expression".
2257
445c435a
JM
22582001-01-24 Joseph S. Myers <jsm28@cam.ac.uk>
2259
2260 * gcc.1, cpp.1: Regenerate.
2261
4cfc6042
AO
22622001-01-24 Alexandre Oliva <aoliva@redhat.com>
2263
2264 * calls.c (emit_library_call_value_1): Memory slot for
2265 pass-by-reference argument should have the mode of the argument,
2266 not of the pointer to it.
2267
597dba19
TT
22682001-01-24 Tom Tromey <tromey@redhat.com>
2269
2270 * gcc.texi (G++ and GCC): Mention gcj manual.
2271 (Standards): Link to section of manual mentioning gcj/Java
2272 compatibility.
2273
7855db7c
JJ
22742001-01-24 Jakub Jelinek <jakub@redhat.com>
2275
2276 * cppfiles.c (_cpp_read_file): Add to dependencies if requested.
2277 * cppinit.c (cpp_start_read): Remove deps_add_dep call.
2278 * tradcpp.c (main): Add -imacros or -include'd dependencies
2279 for -M*.
2280 * cpp.texi (-M, -MM): Document -M -include behaviour.
2281
6a40fc2b 22822001-01-24 Roger Collins <roger@ProProject.com>
e57cabac 2283
70305f2b 2284 * config/i386/xm-i386.h: Make __i386__ a boolean macro.
6a40fc2b 2285
2f3fdc52
WC
22862001-01-24 Will Cohen <wcohen@redhat.com>
2287
2288 * config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
2289 whether registers are 32 bits or 64 bits in size.
2290
a941b588
BE
22912001-01-24 Ben Elliston <bje@redhat.com>
2292
2293 * config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
2294
64b4ab5a
RH
22952001-01-24 Richard Henderson <rth@redhat.com>
2296
2297 * config/alpha/alpha.md (builtin_longjmp_internal): New.
2298 (builtin_longjmp): Use it instead of emit_indirect_jump.
2299
b0cc7919
JDA
23002001-01-23 John David Anglin <dave@hiauly1.hia.nrc.ca>
2301
2302 * bb-reorder.c (make_reorder_chain_1): Handle case where
2303 jump edge goes to the same block as the fallthru edge.
e57cabac 2304
0024a804
JW
23052001-01-23 Jim Wilson <wilson@redhat.com>
2306
2307 * dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
2308 * frame.h (__ia64_personality_v1): Add prototype.
2309 * libgcc2.c (ia64_throw_helper): Change personality declaration to
2310 prototype form. Add void * cast to first argument to personality
2311 call.
2312 * real.c (e113toe): Surround with INTEL_EXTENDED_IEEE_FORMAT ifdefs.
2313 (asctoe113): Likewise.
2314 * config/ia64/frame-ia64.c: Include eh-common.h.
2315 * config/ia64/ia64-protos.h (sdata_section, sbbs_section): Add
2316 prototypes.
2317 * config/ia64/ia64.c (emit_insn_group_barriers): Add ATTRIBUTE_UNUSED
2318 to dump parameter.
2319 (itanium_split_issue): Add prototype.
2320 (gen_nop_type): Ifdef out.
2321 (find_best_packet): Initialize best_packet.
2322 (ia64_encode_section_info): New local string. Use for ggc_alloc_string
2323 result.
2324 * config/ia64/ia64.h (ASM_OUTPUT_LONG_DOUBLE): Use 0L not 0.
2325 * config/ia64/ia64.md (bsp_value): Add explicit stop bit at start.
2326 (flushrs): Add explicit stop bit at end.
2327 * config/ia64/lib1funcs.asm (__ia64_restore_stack_nonlocal): Change
2328 trailing \ to >.
e57cabac 2329
8a1894ac
CD
23302001-01-23 Chris Demetriou <cgd@broadcom.com>
2331
2332 * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
2333 of EH symbols.
2334 * libgcc2.c (__terminate_func): Make variable static.
2335 (__terminate_set_func): New function to set __terminate_func.
2336 * libgcc2.h (__terminate_func_ptr): New typedef.
2337 (__terminate_set_func): New function.
2338
240f9c2b
RH
23392001-01-23 Richard Henderson <rth@redhat.com>
2340
2341 * flow.c (init_propagate_block_info): Don't consider unchanging
2342 memories for dead frame store elimination.
2343
fc9f395a
RH
23442001-01-23 Richard Henderson <rth@redhat.com>
2345
2346 * varasm.c (UNIQUE_SECTION): Move default implementation ...
2347 * defaults.h: ... here.
2348
860b3499
MH
23492001-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2350
2351 * c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.
2352
955dc84a
NB
23532001-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
2354
70305f2b 2355 * c-lex.c (lex_charconst): Fix typo: s/p/str.
955dc84a 2356
608ab802
FS
23572001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2358
2359 * rs6000.h (rs6000_return_addr): Move prototype from here...
2360 * rs6000-protos.h (rs6000_return_addr): ...to here.
2361 (rs6000_init_expanders): Delete prototype.
2362
371e300b
NC
23632001-01-23 Nick Clifton <nickc@redhat.com>
2364
2365 * invoke.texi: Replace , with \, inside @gccoptlist macros.
2366 (Spec Files): Document %B and %j and %. and %v3 and %M and
2367 %{S*&T} spec switches.
2368
4a1f52a8
HB
23692001-01-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2370
2371 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
2372
c933c209
CD
23732001-01-23 Chris Demetriou <cgd@sibyte.com>
2374 Neil Booth <neil@daikokuya.demon.co.uk>
2375
70305f2b
RH
2376 * cpperror.c: Merge handlers of PEDWARN and WARNING.
2377 Have -Werror make pedantic warnings errors, like the
2378 rest of GCC.
c933c209 2379
3fb74b82
PE
23802001-01-23 Phil Edwards <pme@sources.redhat.com>
2381
2382 * c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
2383
96e60f0c
JJ
23842001-01-23 Jakub Jelinek <jakub@redhat.com>
2385
2386 * integrate.h (struct inline_remap): Add compare_src, compare_mode.
2387 * integrate.c (expand_inline_function): Initialize them.
2388 (subst_constants): If changing COMPARE so that both its arguments
2389 will be VOIDmode and the comparison mode will be lost, note
2390 compare_mode. Use the recorded compare_mode to optimize
2391 IF_THEN_ELSE.
2392
3f4907a6
JM
23932001-01-23 Jason Merrill <jason@redhat.com>
2394
2395 * dwarf2out.c (new_die): Use xcalloc.
2396 (output_die): Abort rather than emit a local reference to offset 0.
2397
44f715c8
AH
23982001-01-17 Andrew Haley <aph@redhat.com>
2399
2400 * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
2401 of a saved register; return NULL instead.
2402 (copy_reg): Take a pointer to a source register rather than a
2403 frame_state.
2404 (next_stack_level): Remember the address in the stack frame of all
2405 saved registers.
2406 Use the saved register pointer array as the source of the CFA.
2407 (throw_helper): Rewrite. Unwind once rather than twice and keep
2408 track of saved registers as we go.
e57cabac 2409
eb253d90
HB
24102001-01-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2411
2412 * c4x-protos.h (c4x_legitimize_reload_address): Remove.
2413 * c4x.c (c4x_legitimize_reload_address): Remove.
2414 * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
2415 reload address for ldp(k) insn.
2416
2caa0ddf
JL
2417Mon Jan 22 20:53:47 2001 Jeffrey A Law (law@cygnus.com)
2418
2419 * pa.md (return_internal): Add a USE of the PIC register to ensure
2420 it is restored after each call.
2421 (return expander): Corresponding changes.
2422
71f123ca
FS
24232001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2424
2425 * rs6000.h (INIT_EXPANDERS): Delete.
2426 (RETURN_ADDR_RTX): Call rs6000_return_addr().
2427 * rs6000.c (rs6000_override_options): Call *_machine_status from
2428 here...
2429 (rs6000_init_expanders): ...instead of here. Delete.
2430 (rs6000_mark_machine_status): New function.
2431 (rs6000_init_machine_status): Use xcalloc.
2432 (rs6000_return_addr): Generate RTX for the return address.
2433 (rs6000_ra_ever_killed): New, check if LR was ever destroyed.
2434 (rs6000_stack_info): Use it.
2435
5dab7f92
TP
24362001-01-22 Thomas Pfaff <tpfaff@gmx.net>
2437
2438 * gthr-win32.h: Include errno.h to get a declaration for
2439 EINVAL and _mingw.h if the target is mingw32.
2440
586964a7
AFV
24412001-01-22 Andres Felipe Vargas <avargas@teletulua.com.co>
2442
2443 * cpp.texi: Correct typos.
2444
f5f5363f
RK
2445Mon Jan 22 13:59:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2446
2447 * explow.c (probe_stack_range): Ensure value passed to
2448 stack_check_libfunc is ptr_mode, not Pmode.
2449
44e4159d
R
2450Mon Jan 22 16:53:06 2001 J"orn Rennecke <amylaar@redhat.com>
2451
2452 * recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
2453 case, don't use operand_subword to calculate a SUBREG that is
2454 wider than a word.
2455
2456 * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
2457
0bbcfbaf
HB
24582001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2459
2460 * c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
2461 (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
2462 valid. If not replace it by equivalent insns.
2463
5078f5eb
HB
24642001-01-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2465
2466 * c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
2467 contains SYMBOL_REF, LABEL_REF and CONST_INT.
2468 (c4x_U_constraint, symbolic_address_operand): Likewise.
2469 (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
2470 memory.
2471 (c4x_r11_set_p, c4x_check_laj_p): New functions.
2472 * c4x-protos.h (c4x_check_laj_p): Add prototype.
e57cabac 2473 * c4x.md (in_annul_slot_3): Do not allow auto-increment in last
5078f5eb
HB
2474 anulling slot because of silicon bug.
2475 (laj, lajv): Call c4x_check_laj_p to check for silicon bug.
2476
6dc0d164
AM
24772001-01-22 Alan Modra <alan@linuxcare.com.au>
2478
70305f2b
RH
2479 * cppexp.c (parse_charconst): Change `mask' type to agree
2480 with parse_escape.
6dc0d164 2481
c7f0da1d
RH
24822001-01-21 Richard Henderson <rth@redhat.com>
2483
2484 * config/i386/i386.c (ix86_asm_file_end): Disable putting
2485 pic_label_name in a linkonce section.
2486
380a627a
PT
24872001-01-17 Philipp Thomas <pthomas@suse.de>
2488
2489 * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
2490 found in libintl.
2491 * configure: Regenerate.
2492
02a65aef
R
2493Sun Jan 21 02:38:56 2001 J"orn Rennecke <amylaar@redhat.com>
2494
2495 * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
2496 uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
2497
56b871c1
DC
2498Sun Jan 21 09:44:17 2001 Denis Chertykov <denisc@overta.ru>
2499
2500 * config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
2501 If REVERSE nonzero then condition code in X must be reversed.
2502 (encode_section_info): Optimise if/else.
2503 (avr_function_value): Fix formatting.
2504
2505 * config/avr/avr.md (branch): Call to ret_cond_branch changed.
2506 (difficult_branch): Likewise.
2507 (rvbranch): Likewise.
2508 (difficult_rvbranch): Likewise.
2509
2510 * config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
2511
2512 * config/avr/libgcc.S: Fix comment.
2513
04e91ffb
MS
25142001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2515
2516 * sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
2517
3943e756
MS
25182001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2519
2520 * cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
2521
b3e1e64f
MS
25222001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2523
2524 * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
2525 * configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
2526 * configure, config.in: Regenerate.
2527 * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
2528 (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
2529 (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
2530 (doprint.o): New rule.
2531
47f8b473
JM
25322001-01-20 Joseph S. Myers <jsm28@cam.ac.uk>
2533
2534 * c-typeck.c (digest_init): Handle boolean types as scalars.
2535
2954d7db
RK
2536Sat Jan 20 12:46:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2537
2538 * stmt.c (expand_return): Don't return anything if size is zero.
2539 Delete redundant assignment to BYTES.
2540 * expr.c (move_block_from_reg): Do nothing if NREGS is zero.
2541
1d26ac96
MM
25422001-01-20 Marek Michalkiewicz <marekm@linux.org.pl>
2543
2544 * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
2545 the same as the default library function names.
2546 * config/avr/avr.md: Document special characters after '%'.
2547 (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
2548 knowing which of the call-used registers are really clobbered.
2549 (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
2550 New. Both quotient and remainder from one libgcc.S call.
2551 * config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
2552 clobber as few registers as possible.
2553 * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
2554
673b13e2
NB
25552001-01-20 Neil Booth <neil@daikokuya.demon.co.uk>
2556
70305f2b
RH
2557 * cppmacro.c (funlike_invocation_p): Don't move back up to the
2558 context of the top of the stack.
673b13e2 2559
a42a5f59
ZW
25602001-01-20 Jakub Jelinek <jakub@redhat.com>
2561
2562 * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
2563 (fixup_var_refs_insns): ...here.
2564
a42a5f59
ZW
25652001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
2566
2567 * function.c (fixup_var_refs_insns): Break up into
2568 fixup_var_refs_insn [body of loop], fixup_var_refs_insns
2569 [loop over entire insn list], and fixup_var_refs_insns_with_hash
2570 [loop over hash table entries].
2571 (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
2572 fixup_var_refs_insns_with_hash, to match above changes.
2573
03bbd83f
JDA
25742001-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
2575
2576 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
2577 (libgcc.a): Likewise.
2578 (stmp-multilib): Likewise.
2579 (STAGE2_FLAGS_TO_PASS): Likewise.
2580
68c37dc9
AO
25812001-01-19 Alexandre Oliva <aoliva@redhat.com>
2582
2583 * config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
2584 temporary if no_new_pseudos.
2585
111e0469
NB
25862001-01-19 Neil Booth <neil@daikokuya.demon.co.uk>
2587
a42a5f59 2588 * cppinternals.texi: Update.
111e0469 2589
55cf7bb9
RE
25902001-01-19 Richard Earnshaw <rearnsha@arm.com>
2591
2592 * arm.c (arm_init_builtins): Re-enable builtins.
2593
831ecbd4
RK
2594Fri Jan 19 13:02:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2595
7193d1dc
RK
2596 * rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
2597 * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
2598 element to be null, and always expect an EXPR_LIST.
2599 * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
2600 * sched-deps.c (sched_analyze_1): Likewise.
2601 * sched-rgn.c (check_live_1, update_live_1): Likewise.
2602
79b9ec0d
RK
2603 * regclass.c (max_set_parallel): New variable.
2604 (reg_scan): Take it into account in computation of max_parallel.
2605 (reg_scan_mark_refs, case SET): Compute it.
2606
831ecbd4
RK
2607 * alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
2608 args are REG.
2609 * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
2610 * function.c (assign_parms): Use INTVAL for a CONST_INT.
2611
cb9e9d8d
JM
26122001-01-19 Jason Merrill <jason@redhat.com>
2613
2614 * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
2615 for the abstract instance of an inline function.
2616
831ecbd4
RK
2617Fri Jan 19 14:31:35 2001 Alexandre Oliva <aoliva@redhat.com>
2618 J"orn Rennecke <amylaar@redhat.com>
61f5625b 2619
20342a6b
AO
2620 * reload1.c (move2add_note_store): Treat all registers directly or
2621 indirectly derived from a base register as members of the same set
2622 of values.
2623 (reload_cse_move2add): Adjust accordingly. Take mode and offset
2624 of base register into account.
61f5625b 2625
61f0131c
R
2626Fri Jan 19 09:18:42 2001 J"orn Rennecke <amylaar@redhat.com>
2627
2628 * alias.c (find_base_value): Recognize TRUNCATE.
2629 (record_set): In PLUS case, invalidate if other summand is also a
2630 base value.
2631
8eeb855e
RK
2632Thu Jan 18 06:43:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2633
831ecbd4 2634 * flow.c (mark_set_1, case PARALLEL): New case; rework to allow
90d036a0
RK
2635 entry to be EXPR_LIST.
2636 * rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
2637 be an EXPR_LIST (but not null, which other code doesn't allow).
2638 (note_stores): Properly handle PARALLEL in SET.
2639 Recursively call for top-level PARALLEL.
2640 * sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
2641 * sched-rgn.c (check_live_1, update_live_1): Likewise.
2642
8eeb855e
RK
2643 * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
2644
6fe349a9
NB
26452001-01-18 Neil Booth <neil@daikokuya.demon.co.uk>
2646
a42a5f59
ZW
2647 * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
2648 not pfile->skipping (== 0).
6fe349a9 2649
988144ce
NC
26502001-01-17 Nick Clifton <nickc@redhat.com>
2651
2652 * config/rs6000/rs6000.c: Add prototypes for {init|free}_
2653 machine_status.
2654
15d3a111
JW
26552001-01-17 Jim Wilson <wilson@redhat.com>
2656
2657 * invoke.texi (IA-64 options): Improve.
2658
2bab2366
TT
26592001-01-17 Tom Tromey <tromey@redhat.com>
2660
2661 * invoke.texi (Optimize Options): Use `{}' to around @samp
2662 argument.
2663
454d0cc7
AH
26642001-01-17 Aldy Hernandez <aldyh@redhat.com>
2665
a42a5f59 2666 * invoke.texi (-fno-guess-branch-probability): New option.
454d0cc7 2667
c7be4f66
RK
2668Wed Jan 17 13:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2669
2670 * combine.c (try_combine): Don't set i3_subst_into_i2 for
2671 case of making new double-word constant.
2672 Revert last change: instead just test i3_subst_into_i2.
2673
5efdd890
JJ
26742001-01-17 Jakub Jelinek <jakub@redhat.com>
2675
2676 * config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.
d70401eb 2677 Use q constraints instead of r.
5efdd890 2678
5dfcd8e1
AM
2679Tue Jan 16 22:23:04 2001 Alan Modra (alan@linuxcare.com.au)
2680
2681 * config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
2682 (machine_function): Define.
2683 (PIC_OFFSET_TABLE_SAVE_RTX) : Define.
2684 * config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
2685 pa_free_machine_status): New functions.
2686 (override_options): Set {init,mark,free}_machine_status to above.
2687 (hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
2688 PIC_OFFSET_TABLE_REGNUM_SAVED.
2689 * config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
2690 PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
2691 * config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
2692 references to PIC_OFFSET_TABLE_REGNUM_SAVED.
2693 * config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
2694
ce3b8848
DD
26952001-01-15 DJ Delorie <dj@redhat.com>
2696
2697 * Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
2698 (cpp.1): Ditto.
2699 (gcc.1): Ditto.
2700
6953fdb4
RK
2701Tue Jan 16 17:20:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2702
50e9b3f1
RK
2703 * flow.c (propagate_on_insn): Make trying to delete a prologue
2704 or epilogue insn an ICE, not a warning. Allow doing this if
2705 the current function returns with stack pointer depressed.
2706
6953fdb4
RK
2707 * combine.c (try_combine): If i3_subst_into_i2, properly check for
2708 I3 having more than one SET.
2709
aebf2462
JW
27102001-01-16 Jim Wilson <wilson@redhat.com>
2711
df6194d4
JW
2712 * invoke.texi: Document IA-64 options.
2713
aebf2462
JW
2714 * config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
2715 (fixup_errata): Delete TARGET_A_STEP use.
2716 * config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
2717 (TARGET_SWITCHES): Delete -ma-step option.
2718 * config/ia64/ia64.md (all FP patterns): Delete %B0.
2719 (movqicc_astep, movqi_internal_astep, movhicc_astep,
2720 movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
2721 movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
2722 movdfcc_astep, movdf_internal_astep, movtfcc_astep,
2723 movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
2724 Delete.
2725 (movqi_internal, movhi_internal, movsi_internal, movdi_internal,
2726 movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
2727 cmovsi_internal): Delete ! TARGET_A_STEP check.
a42a5f59 2728
aebb127a
GP
27292001-01-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2730
2731 * gcc.texi (Bug Lists): Do not mention newsgroups nor the
2732 possibility to report bugs via postal mail. Change a URL and
2733 merge in a nearly duplicate statement...
2734 (Bug Reporting): ...from here.
2735 (Service): Refer to the Bug Reporting section instead of
2736 duplicating an URL.
2737 (Contributing): Remove trivial explanations concerning snapshots.
2738
95f4ac8b
AM
27392001-01-16 Alan Modra <alan@linuxcare.com.au>
2740
a42a5f59 2741 * cppmain.c (general_init): Don't use ANSI prototype.
95f4ac8b 2742
c32ee81e
TT
27432001-01-16 Tom Tromey <tromey@redhat.com>
2744
2745 * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
2746
2c873473
RH
27472001-01-16 Richard Henderson <rth@redhat.com>
2748
2749 * config/i386/i386.h: Fix comment typo.
2750 * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
2751 (ashr+compare patterns): Match CCGOCmode not CCNOmode.
2752
76e5b312
PE
27532001-01-16 Phil Edwards <pme@sources.redhat.com>
2754
2755 * gcc.c: Revert previous -fsyntax-only-related change; move
2756 to cp/g++spec.c.
2757
b62d22a2
JJ
27582001-01-16 Jakub Jelinek <jakub@redhat.com>
2759
2760 * config/i386/i386.c (fcmov_comparison_operator): Only initialize
2761 inmode after checking GET_CODE (op).
2762
0875baa0
RH
27632001-01-16 Richard Henderson <rth@redhat.com>
2764
2765 * flow.c (struct propagate_block_info): Add mem_set_list_len.
2766 (MAX_MEM_SET_LIST_LEN): New.
2767 (propagate_one_insn): Update mem_set_list_len.
2768 (invalidate_mems_from_autoinc): Likewise.
2769 (invalidate_mems_from_set): Likewise.
2770 (mark_used_regs): Likewise.
2771 (init_propagate_block_info): Likewise. Stop collecting memories
2772 when we reach MAX_MEM_SET_LIST_LEN.
2773 (mark_set_1): Likewise.
2774
c55fa4d6
RH
27752001-01-16 Richard Henderson <rth@redhat.com>
2776
2777 * unroll.c (precondition_loop_p): Fail if no iteration
2778 variable found.
2779
6488ac06
PE
27802001-01-16 Phil Edwards <pme@sources.redhat.com>
2781
2782 * gcc.c: When -fsyntax-only is given, do not complain about
2783 unused libraries.
2784
4cf12e7e
RH
27852001-01-15 Richard Henderson <rth@redhat.com>
2786
2787 * config/i386/i386.c (asm_output_function_prefix): Remove.
2788 (ix86_asm_file_end): New.
2789 (load_pic_register): Generate pic_label_name into a
2790 staticly allocated buffer.
2791 * config/i386/i386-protos.h: Update.
2792 * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
2793 (ASM_FILE_END): New.
2794 * config/i386/i386afe.h: New file.
2795 * config.gcc (i?86-*-elf) [tm_file]: Use it.
2796 (i?86-*-{freebsd,linux*,moss*}): Likewise.
2797 * config/elfos.h (ASM_FILE_END): Undef before redefinition.
2798 * config/i386/cygwin.h (ASM_FILE_END): Likewise.
2799 * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
2800 * config/i386/sco5.h (ASM_FILE_END): Likewise.
2801 * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.
2802
3f896fc2
JM
28032001-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
2804
ad3b5aff
JM
2805 * Makefile.in (install-man): Remove explicit dependency on
2806 $(srcdir)/gcc.1.
2807
3f896fc2
JM
2808 * configure.in, configure: Revert previous patch requiring perl
2809 5.6.0.
2810
3ff51205
AH
28112001-01-12 Aldy Hernandez <aldyh@redhat.com>
2812
2813 * toplev.c (flag_guess_branch_prob): New.
2814 (f_options): Add guess-branch-probability option.
2815 (rest_of_decl_compilation): Only estimate branch probability if
2816 flag set.
2817 (main): set flag_guess_branch_prob.
2818
2819 * flags.h (flag_guess_branch_prob): New.
2820
b8dea7e0
DD
28212001-01-15 DJ Delorie <dj@redhat.com>
2822
2823 * gcc.texi (Makefile): Add documentation for Makefile targets.
2824
c1163e75
PB
28252001-01-15 Philip Blundell <philb@gnu.org>
2826
2827 * config/arm/arm.c (arm_finalize_pic): New arg "prologue".
2828 (is_pic): Delete.
2829 * config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
2830 (is_pic): Delete declaration.
3cf96b52 2831 * config/arm/arm.h (FINALIZE_PIC): Update call to arm_finalize_pic.
c1163e75 2832 (OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
3cf96b52 2833 * config/arm/arm.md (builtin_setjmp_receiver): New.
c1163e75 2834
9b598fa0
RE
28352001-01-15 Richard Earnshaw <rearnsha@arm.com>
2836
2837 * arm.c (use_return_insn): Don't try to determine the function type
2838 until after reload has completed.
2839 (arm_output_epilogue): Don't adjust the sp value recovered from the
2840 stack.
2841 (emit_multi_reg_push): Don't record dwarf information for the pc.
2842 * arm.md (eh_epilogue): The function type may have changed, so it
2843 needs to be recalculated.
a42a5f59 2844 * arm/netbsd.h (DWARF2_UNWIND_INFO): Delete. Can now use dwarf2
9b598fa0
RE
2845 unwind tables on arm/netbsd.
2846
6c98269c
RE
28472001-01-15 Richard Earnshaw <rearnsha@arm.com>
2848
2849 * arm.md (cbranchsi4): Correct calculation of branch ranges.
2850 (negated_cbranchsi4): Likewise.
2851
fa13446b
RE
28522001-01-15 Richard Earnshaw <rearnsha@arm.com>
2853
2854 * config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
2855 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
b3c5b2be
RE
2856 (ASM_SPEC): Call subtarget_extra_asm_spec. Don't
2857 pass -mapcs-* options to assembler.
fa13446b
RE
2858 * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
2859 (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
2860 (ASM_SPEC): Call subtarget_extra_asm_spec.
2861
77ebd435
AJ
28622001-01-15 Andreas Jaeger <aj@suse.de>
2863
a42a5f59 2864 * config/i386/i386.c (ix86_init_builtins): Make i size_t to remove
fa13446b 2865 warnings.
77ebd435
AJ
2866 (ix86_expand_builtin): Likewise.
2867
2868 * gencodes.c (output_predicate_decls): Make i size_t to avoid
2869 warning about comparison between signed and unsigned.
2870
998a298e
GK
28712001-01-14 Geoffrey Keating <geoffk@redhat.com>
2872
2873 * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
2874
1b26cad7
RB
28752001-01-14 Ralf Baechle <ralf@gnu.org>
2876
a42a5f59
ZW
2877 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
2878 SUBTARGET_CPP_SPEC apropriatly.
1b26cad7 2879
e3406b2a
MM
28802001-01-12 Mark Mitchell <mark@codesourcery.com>
2881
2882 * varasm.c (make_decl_rtl): Fix typo in last change.
2883
ea4f1fce
JO
28842001-01-14 Jeffrey Oldham <oldham@codesourcery.com>
2885
2886 * defaults.h (SUPPORTS_INIT_PRIORITY): New macro to indicate the
2887 linker supports the init_priority C++ attribute.
2888 * tm.texi (SUPPORTS_INIT_PRIORITY): Documentation for new macro.
2889 * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Indicate Irix
2890 linker does not support init_priority C++ attribute.
2891
3e854cf7
R
2892Sun Jan 14 22:31:30 2001 J"orn Rennecke <amylaar@redhat.com>
2893
2894 * Makefile.in (libgcc1-test.o): Depends on stmp-int-hdrs.
2895
400023a3
NB
28962001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
2897
a42a5f59
ZW
2898 * c-parse.in (finish_parse): Add comment about cpp_destroy.
2899 * cp/lex.c (finish_parse): Similarly.
2900 * cppinit.c (cpp_cleanup): Rename cpp_destroy for clarity.
2901 Return the number of errors encountered.
2902 * cpplib.h (cpp_cleanup): Rename cpp_destroy, return int.
2903 * cppmain.c (main): Don't call cpp_destroy.
400023a3 2904
150d3c00
JM
29052001-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
2906
2907 * configure.in: Require at least perl 5.6.0 to regenerate
2908 manpages.
2909 * configure: Regenerate.
2910
521b9224
RH
29112001-01-14 Richard Henderson <rth@redhat.com>
2912
2913 * genrecog.c (DT_veclen_ge): New.
2914 (add_to_sequence) [MATCH_PARALLEL]: Generate one.
2915 (maybe_both_true_2): Simplify DT_veclen vs DT_veclen_ge.
2916 (nodes_identical_1): Handle DT_veclen_ge.
2917 (write_cond, debug_decision_2): Likewise.
2918
d6c5a763
RE
29192001-01-14 Richard Earnshaw <rearnsha@arm.com>
2920
2921 * arm.md (ldmsi_postinc, ldmsi, stmsi_postinc, smsi): Delete. Replace
2922 with ...
2923 (ldmsi_postinc[432], ldmsi[432], stmsi_postinc[432], stmsi[432]): New.
2924
6de8f7fc
NB
29252001-01-14 Neil Booth <neil@daikokuya.demon.co.uk>
2926
a42a5f59
ZW
2927 * cppmain.c (do_preprocessing): New function; most of the old
2928 main.
2929 (main): Call it to do most of the work.
2930 (cb): Move from global scope to set_callbacks ().
2931 (setup_callbacks): Get the callback pointer.
2932 (general_init, printer_init): Clean up code and comments.
6de8f7fc 2933
17879734
RE
29342001-01-14 Richard Earnshaw <rearnsha@arm.com>
2935
1b26cad7 2936 * config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
17879734
RE
2937 compiling PIC.
2938
c009a745
KH
29392001-01-14 Kazu Hirata <kazu@hxi.com>
2940
2941 * config/h8300/h8300.c (get_shift_alg): Update comments.
2942
bd0f0717
RK
2943Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2944
2945 * ggc-page.c (alloc_annon): Call perror and correctly call exit.
2946 (alloc_page, ggc_alloc): Add casts to remove warnings.
2947
aa6683f7
GK
29482001-01-14 Geoffrey Keating <geoffk@redhat.com>
2949
2950 * combine.c (simplify_comparison): Don't change `code' when
2951 can't reverse comparison.
2952
fce7e199
RH
29532001-01-14 Richard Henderson <rth@redhat.com>
2954
2955 * rtlanal.c (computed_jump_p_1): Rename from jmp_uses_reg_or_mem;
2956 update all call sites. Return true for all non-label constants.
2957
a1b8572c
JH
2958Sun Jan 14 10:09:48 MET 2001 Jan hubicka <jh@suse.cz>
2959
2960 * i386.c (ix86_expand_compare): Add bypass_test and second_test
2961 parameters.
2962 (ix86_expand_branch): Update.
2963 (ix86_expand_setcc): Update to handle multiple test conditions.
2964 (expand_int_movcc): Likewise.
2965 (expand_fp_movcc): Likewise.
2966 * i386-protos.h (ix86_expand_compare): New.
2967 * i386.md (andqi_?_slp, orqi_?_slp): New.
2968 (conditional trap expander): Update call to ix86_expand_compare.
2969
17ad4377
RH
29702001-01-14 Richard Henderson <rth@redhat.com>
2971
2972 * config/vax/vax.md: Use nonimmediate_operand instead of
2973 general_operand in destinations.
2974
5b9b177a
RH
2975 * config/vax/vax.md (indirect_jump): Use register_operand.
2976
264ddbaa
RH
2977 * config/vax/vax.h (RETURN_POPS_ARGS): Max at 255 arguments.
2978 * config/vax/vax.md (call_pop): Turn into an expander.
2979 (call_value_pop): Likewise.
2980 (call, call_value): New.
2981
8752c357
AJ
29822001-01-14 Andreas Jaeger <aj@suse.de>
2983
2984 * config/i386/i386.c (ix86_split_fp_branch): Remove unused
2985 variables.
2986 (ix86_fp_compare_mode): Add unused attribute.
2987 (ix86_expand_fp_movcc): Remove unused variable.
2988 (ix86_expand_builtin): Make fcode unsigned.
2989
2990 * expr.c (MOVE_BY_PIECES_P): Cast MOVE_RATIO to unsigned.
2991 (expand_expr): Add cast to avoid signed warning.
2992 (store_field): Likewise.
2993 (store_constructor_field): Likewise.
2994 (store_constructor): Likewise.
2995 (store_expr): Likewise.
2996 (clear_storage): Likewise.
2997 (emit_group_store): Likewise.
2998 (emit_group_load): Likewise.
2999
1312c143
JM
30002001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
3001
3002 * c-common.c: Move format checking code to ...
3003 * c-format.c: ... here. New file. Reorder some functions and
3004 declarations.
3005 (decl_handle_format_attribute, decl_handle_format_arg_attribute):
3006 New functions.
3007 * c-common.h (decl_handle_format_attribute,
3008 decl_handle_format_arg_attribute): Declare.
3009 * Makefile.in (C_AND_OBJC_OBJS): Add c-format.o.
3010 (c-common.o): Adjust dependencies.
3011 (c-format.o): New list of dependencies.
3012
9e2adb2a
JJ
30132001-01-13 Jakub Jelinek <jakub@redhat.com>
3014
3015 * unroll.c (loop_iterations): If we cannot prove iteration variable
3016 is set once in each iteration, punt.
3017
63eaee71
DC
3018Sun Jan 14 00:23:15 2001 Denis Chertykov <denisc@overta.ru>
3019
3020 * config/avr/avr.md ("strlenhi"): Remove clobber of input address.
3021 (*strlenhi): Remove clobber (which was buggy) of output address.
3022
4bc1997b
JM
30232001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
3024
3025 * Makefile.in (generated-manpages): Add gcc.1
3026 ($(srcdir)/gcc.1): New target.
3027 (maintainer-clean): Delete $(srcdir)/gcc.1.
3028 * gcc.texi: Add macros @gccoptlist and @gol.
3029 * invoke.texi: Include option summary in manpage. Mark up option
3030 summary with @gccoptlist and @gol. Use @r in one place where
3031 appropriate.
3032 * texinfo.tex: Update to version 2000-12-11.07 from ftp.gnu.org.
3033 * gcc.1: Generate from invoke.texi.
3034
130fadbb
RH
30352001-01-13 Richard Henderson <rth@redhat.com>
3036
3037 * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
3038 (struct page_entry): Add group member.
3039 (struct page_group): New.
3040 (struct globals): Add page_groups member.
3041 (alloc_anon): Only define for using mmap; remove valloc call.
3042 (page_group_index): New.
3043 (set_page_group_in_use): New.
3044 (clear_page_group_in_use): New.
3045 (alloc_page): Implement USING_MALLOC_PAGE_GROUPS.
3046 (free_page, release_pages): Likewise.
3047 * configure.in (with-gc): Default to ggc-page always.
3048
086fef9e
AO
30492001-01-13 Alexandre Oliva <aoliva@redhat.com>
3050
3051 * reload1.c (replace_pseudos_in_call_usage): Use
3052 reg_equiv_constant and reg_equiv_address, and don't try
3053 regno_reg_rtx first.
3054
ca79429a
RH
30552001-01-13 Richard Henderson <rth@redhat.com>
3056
3057 * ggc-page.c (alloc_page): Round up allocation size to one page.
3058 Set e->order on extra pages.
3059
2cec75a1
RH
30602001-01-13 Richard Henderson <rth@redhat.com>
3061
3062 * genrecog.c (nodes_identical): Expand commentary.
3063 (write_switch): Watch out for identical nodes.
3064
d6d52dd6
NB
30652001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3066
a42a5f59
ZW
3067 * cppfiles.c (_cpp_fake_include): New function.
3068 * cpphash.h (_cpp_fake_include): New.
3069 * cpplib.c (do_line): Call _cpp_fake_include when entering
3070 header files in preprocessed input.
3071 * cppmain.c (cb_pragma_implementation): Remove handling.
d6d52dd6
NB
3072 (setup_callbacks): Don't register pragmas.
3073
ccd96f0a
NB
30742001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3075
3076 * extend.texi: Udate for CPP.
3077
174fa2c4
AJ
30782001-01-13 Andreas Jaeger <aj@suse.de>
3079
3080 * reload1.c: Add prototype for replace_pseudos_in_call_usage.
3081
3082 * regmove.c: Add prototype for replace_in_call_usage.
3083
8121d2c3
NB
30842001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3085
a42a5f59
ZW
3086 * cpplib.h (cpp_pool, mi_state, mi_ind, struct cpp_macro,
3087 struct cpp_chunk, struct htab, struct toklist,
3088 struct cpp_context, CPP_STACK_MAX, struct lexer_state,
3089 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
3090 CPP_BUF_LINE, CPP_BUF_COL, CPP_BUF_COLUMN, U, ustrcmp, ustrncmp,
3091 ustrlen, uxstrdup, ustrchr, ufputs): Move to cpphash.h.
3092 (struct macro_args): Delete.
3093 * cpphash.h: See above.
8121d2c3 3094
620ef26c
NB
30952001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3096
a42a5f59
ZW
3097 * cppmain.c (struct printer): Remove no_line_dirs.
3098 (options, cb): New.
3099 (main, setup_callbacks, scan_buffer, printer_init, cb_define)
3100 : Use options rather than CPP_OPTION.
3101 (setup_callbacks): Use cb rather than pfile->cb.
3102 (main): No need to check for a buffer. Use cpp_errors.
3103 (printer_init): Don't set no_line_dirs.
3104 (maybe_print_line): Use options not no_line_dirs.
3105 (cb_file_change): Don't call print_line if -P.
620ef26c 3106
b61c5ed0
NB
31072001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3108
a42a5f59
ZW
3109 * c-lex.c (init_c_lex): Use cpp_get_callbacks to set
3110 callbacks.
3111 * c-parse.in (finish_parse): Use cpp_errors.
3112 (__yylex): Use return value of cpp_pop_buffer.
3113 * cp/lex.c (finish_parse): Use cpp_errors.
3114 * cp/spew.c (read_token): Use return value of cpp_pop_buffer.
b61c5ed0 3115
f14269a0
DC
3116Sat Jan 13 16:57:40 2001 Denis Chertykov <denisc@overta.ru>
3117
3118 * README.AVR: URLs corrected.
3119
757e6639
RK
3120Sat Jan 13 07:30:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3121
3122 * c-decl.c (start_function): Don't warn if old prototype is builtin
3123 that's not in C's namespace.
3124 * libgcc2.c (_varargs): Update definition of __builtin_saveregs.
3125 (_bb): Add prototype for ctime.
3126 * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos.
3127
9e7adcb3
JH
3128Sat Jan 13 09:53:32 MET 2001 Jan Hubicka <jh@suse.cz>
3129
3130 * i386.c (ix86_fp_comparison_arithmetics_cost,
3131 ix86_fp_comparison_fcomi_cost, ix86_fp_comparison_sahf_cost,
3132 ix86_fp_comparison_cost): New functions.
3133 (ix86_expand_fp_compare): Use the costs to choose best bethod; add
3134 two new parameters SECOND_TEST and BYPASS_TEST; allow generating
3135 two-branch sequences; make static.
3136 (ix86_use_fcomi_compare): Do decision according to the costs.
3137 (split_fp_branch): New.
3138 * i386.md (compare-and-branch patterns): Use split_fp_branch.
3139 * i386-protos.h (ix86_expand_fp_compare): Remove
3140 (ix86_split_fp_branch): Declare.
3141
3142 * i386.h (PREDICATE_CODES): Update codes from fcmov_comparison_operand
3143 and ix86_comparison_operator.
3144
3145 * i386.c (ix86_prepare_fp_compare_args): Try to rearange the comparison
3146 to make it cheaper.
3147
3148 * i386.c (put_condition_code): Output properly the unordered/ordered
3149 compares in fp case.
3150 (ix86_expand_fp_movcc): Use ix86_expand_compare infrastructure.
3151
3152 * tm.texi (REVERSE_CONDITION): Document.
3153 * i386.c (ix86_fp_compare_mode): Simplify; return always CCFPmode
3154 in -ffast-math mode.
3155 * i386.h (REVERSE_CONDITION, REVERSIBLE_CC_MODE): New macro.
3156
35ef2880
AO
31572001-01-13 Alexandre Oliva <aoliva@redhat.com>
3158
89d4bc35
AO
3159 * config/sh/sh.c (sh_expand_epilogue): Use PR explicitly.
3160
b90dbca6
AO
3161 * config/sh/sh.c (sh_expand_prologue): Let the second toggle_sz be
3162 optimized away.
3163
35ef2880
AO
3164 * config/sh/sh.c (mova_p): Fix test for mova_const.
3165
f85c14ee
NB
31662001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3167
a42a5f59
ZW
3168 * fix-header.c (read_scan_file): Use cpp_get_callbacks and
3169 cpp_get_options rather than dereferencing pfile and using
3170 CPP_OPTION.
3171 * scan-decls.c (scan_decls): Use return value of
3172 cpp_pop_buffer rather than CPP_BUFFER.
174fa2c4 3173
7e96d768
NB
31742001-01-13 Neil Booth <neil@daikokuya.demon.co.uk>
3175
a42a5f59
ZW
3176 * cppinit.c (cpp_handle_option): help_only is now part of the
3177 cpp_options structure.
3178 * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks,
3179 cpp_set_callbacks): New functions.
3180 * cpplib.h (cpp_callbacks): Break out as a named structure.
3181 (cpp_options): Move help_only here from cpp_reader.
3182 (CPP_FATAL_ERRORS): Update to use cpp_errors.
3183 (cpp_errors, cpp_get_options, cpp_get_callbacks,
3184 cpp_set_callbacks): New prototypes.
3185 * cppmain.c (main): Update for help_only.
7e96d768 3186
23de1fbf
JM
31872001-01-13 Joseph S. Myers <jsm28@cam.ac.uk>
3188
3189 * Makefile.in (info, maintainer-clean, install-info, uninstall):
3190 Also build and remove and install and uninstall c-tree.info and
3191 cppinternals.info.
3192 ($(srcdir)/gcc.info): Add dependency on contrib.texi.
3193 ($(srcdir)/cppinternals.info): New target.
3194 * c-tree.texi: Change file name used when makeinfo used without -o
3195 from ir.info to c-tree.info. Add info directory entry.
3196 * cppinternals.texi: Add info directory entry.
3197 * .cvsignore: Update.
3198
8b6a5902
JJ
31992001-01-12 Jakub Jelinek <jakub@redhat.com>
3200
3201 * c-typeck.c (store_init_value): Don't require constant initializer
3202 elements with -pedantic -std=c99.
3203 (digest_init): Change error about non-constant initializer elements
3204 into pedwarn.
3205 (constructor_range_end): Remove.
3206 (constructor_incremental, designator_depth,
3207 designator_errorneous): New variables.
3208 (struct constructor_stack): Remove range_end, add incremental.
3209 (struct constructor_range_stack, constructor_range_stack): New.
3210 (struct initializer_stack): Add constructor_range_stack.
3211 (finish_init): Set it.
3212 (start_init): Likewise. require_constant_elements for non-static
3213 trees only if not flag_isoc99.
3214 (really_start_incremental_init): Remove constructor_range_end, add
3215 constructor_incremental.
3216 (pop_init_level): Likewise.
3217 (push_init_level): Likewise. If implicit and the subobject had some
3218 value set already, preinitialize the level with it.
3219 Warn about missing braces only if not pushing due to designators.
3220 (set_designator, push_range_stack): New functions.
3221 (set_init_label): Use them.
3222 (set_init_index): Likewise. Remove constructor_range_end.
3223 Error if designator index is outside of array bounds.
3224 (add_pending_init): Compare values of purpose index trees, not the
3225 trees themselves. Allow overwriting of already initialized element.
3226 Issue a warning if it had side-effects.
3227 (set_nonincremental_init, set_nonincremental_init_from_string): New
3228 functions.
3229 (pending_init_member): Rename to...
3230 (find_init_member): ...this function. Call set_nonincremental_init
3231 if necessary. Compare values of purpose index trees, not the trees
3232 themselves. Return the actual value, not just non-zero if something
3233 is found.
3234 (output_init_element): Remove checks for duplicates.
3235 If field has zero size, only check the initializer for correctness.
3236 Call set_nonincremental_init if necessary. Push RECORD/ARRAY into AVL
3237 if constructor_incremental is zero. Change error about initializers
3238 not computable at load time into pedwarn.
3239 (output_pending_init_elements): Compare bit positions, not
3240 FIELD_DECLs to take into account zero-sized fields.
3241 (process_init_element): Use constructor_range_stack to fill all
3242 ranges in the designator lists from current level up.
3243 * extend.texi: Update documentation for labeled elements.
3244
7dd232a8
AO
32452001-01-12 Alexandre Oliva <aoliva@redhat.com>
3246
f474c6f8
AO
3247 * calls.c (emit_library_call_value_1): Add USEs and CLOBBERs
3248 to function usage for arguments passed by reference. Optimize
3249 callee-copied arguments.
ec7c0481 3250 * regmove.c (replace_in_call_usage): New function.
f474c6f8
AO
3251 (fixup_match_1): Call it.
3252 * cse.c (cse_insn): Canonicalize registers in function usage.
3253 * reload1.c (replace_pseudos_in_call_usage): New function.
3254 (reload): Call it.
3255
7dd232a8
AO
3256 * Makefile.in: Reverted yesterday's wrong patch. Installed the
3257 right version.
3258
d0285326
JJ
32592001-01-12 Jakub Jelinek <jakub@redhat.com>
3260
3261 * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
3262 not XEXP (tmp, 0).
3263
770861f3
DD
32642001-01-12 DJ Delorie <dj@redhat.com>
3265
3266 * Makefile.in (bootstrap): rename stages to be mnemonic. Add
3267 restageN, unstageN, bubblestrap, quickstrap, and cleanstrap
3268 targets.
3269
5490d604
JM
32702001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3271
3272 * cpp.texi, extend.texi, gcc.texi, install.texi, invoke.texi,
3273 tm.texi: Consistently refer to ISO C instead of ANSI C. Refer to
3274 -std options alongside references to -ansi. Update some
3275 documentation for C99.
3276 * cpp.1: Regenerate.
3277
d24b8f53
AJ
32782001-01-12 Andreas Jaeger <aj@suse.de>
3279
14052b68
AJ
3280 * haifa-sched.c (restore_line_notes): Remove argument block B
3281 since it's unused.
3282 * sched-ebb.c (schedule_ebb): Change caller.
3283 * sched-rgn.c (schedule_region): Likewise.
3284 * sched-int.h (restore_line_notes): Adjust prototype.
3285
d24b8f53
AJ
3286 * loop.h: Remove wrong declaration of doloop_condition_get.
3287
e6f3b89d
PE
32882001-01-12 Phil Edwards <pme@sources.redhat.com>
3289
3290 * extend.texi: Move C++-extension-related node from the C section
3291 into the C++ section.
3292
89aed483
JM
32932001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3294
3295 * extend.texi: Refer to an array of pointers to functions instead
3296 of one of functions.
3297
c3ffea50
AJ
3298Fri Jan 12 12:08:12 MET 2001 Andreas Jaeger <aj@suse.de>
3299 Jan Hubicka <jh@suse.cz>
3300
d24b8f53 3301 * combine.c (reversed_comparison): Fix typo in last patch.
c3ffea50 3302 Check X for NULL.
d24b8f53
AJ
3303 (combine_reversed_comparison_code): Make static to follow
3304 prototype declaration.
c3ffea50 3305
159227d5
PE
33062001-01-12 Phil Edwards <pme@sources.redhat.com>
3307
3308 * install.texi: Remove misplaced duplicate entry.
3309
ac70ce21
UD
33102001-01-11 Ulrich Drepper <drepper@redhat.com>
3311
3312 * config/float-i386.h: Define FLT_EVAL_METHOD and DECIMAL_DIG for C99.
3313
b660f82f
JW
3314Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
3315
3316 * final.c: (leaf_function_p): Fix typo.
3317
825b6926
ZW
33182001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
3319
3320 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
3321 Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending
3322 which you have.
3323 (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE.
3324 * configure.in: Set GGC to ggc-page if any of mmap_dev_zero,
3325 mmap_anon, and valloc is available.
3326 * ggc-page.c: Restructure ifdef logic to match new autoconf
3327 spec. Don't throw away the test page in init_ggc.
3328
3329 * configure, config.in: Regenerate.
3330
099f0f3f
MH
33312001-01-12 Michael Hayes <mhayes@redhat.com>
3332
3333 * loop.h (total_biv_increment): Constify iv_class pointer.
3334 (struct induction): Replace `mem_mode' with `mem' rtx.
3335 * unroll.c (total_biv_increment): Constify iv_class pointer.
3336 * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx.
3337 (find_mem_givs, combine_givs_p): Likewise.
3338 (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New.
3339
69e905c8
TP
33402001-01-10 Thomas Pfaff <tpfaff@gmx.net>
3341
3342 * gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32
3343 LastError.
3344 (__gthread_getspecific): Ditto.
3345
9a915772
JH
3346Fri Jan 12 00:04:00 MET 2001 Jan Hubicka <jh@suse.cz>
3347
3348 * i386.c (ix86_comparison_operator, fcmov_comparison_operator,
3349 put_condition_code): Convert fp comparison codes to integer
3350 before handling.
3351 (ix86_expand_fp_compare): Postnote the fp comparison code converison
3352 to final.
3353
3354 * i386.c (unsigned_comparison, no_comparison_operator): Kill.
3355 * i386-protos.h (no_comparison_operator): Kill.
3356
3357 * i386.c (ix86_expand_fp_compare): Fix ordered/unordered confussion.
3358
3359 * combine.c (REVERSIBLE_CC_MODE): Remove.
3360 (reversible_comparison_p): Remove.
3361 (combine_reversed_comparison_code): New.
3362 (reversed_comparison): New.
3363 (combine_simplify_rtx): Use
3364 combine_reversed_comparison_code/reversed_comparison instead
3365 of reversible_comparison_p.
3366 (simplify_if_then_else): Likewise.
3367 (simplify_set): Likewise.
3368 (simplify_logical): Likewise.
3369 (if_then_else_cond): Likewise.
3370 (known_cond): Likewise.
3371 (simplify_comparison): Likewise.
3372
bbc7fda9
AL
33732001-01-11 Alan Lehotsky <lehotsky@tiac.net>
3374
3375 * builtins.c (std_expand_builtin_va_start): Handle varargs when
3376 sizeof (int) is larger than sizeof(__word__).
825b6926 3377
a4299d07
NB
33782001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
3379
825b6926 3380 * cppinit.c (do_includes): Fix typo.
a4299d07 3381
76028b1f
SC
33822001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3383
3384 * config/m68hc11/m68hc11.md (cmphi_1): Make sure reloading
3385 in S_REGS does not occur because not all sources are possible
3386 when a S_REGS is a destination (sometimes needs a clobber).
3387 (movqi_const0, zero_extendhisi2, zero_extendqisi2): Likewise.
3388 (zero_extendhidi2, extendqisi2, extendqihi2, extendhisi2): Likewise.
3389 (anddi3, iordi3, xordi3, negqi2, one_cmplhi2, one_cmplqi2: Likewise.
3390 (ashldi3_const32, ashldi3_const1, ashlsi3_const16): Likewise.
3391 (ashlsi3_const1, ashlhi3_2, ashlqi3_const1, ashrhi3): Likewise.
3392 (ashrqi3_const1, lshrdi3_const32, lshrdi3_const63): Likewise.
3393 (lshrdi_const1, lshrsi3_const16): Likewise.
3394 (*addhi3, lshrsi3_const1, lshrqi3_const1): Likewise.
3395 (*movhi_68hc12, *movqi_68hc12): Likewise.
825b6926 3396 (movstrictqi): Make sure reloading in D_REGS as a destination
76028b1f
SC
3397 does not happen.
3398
d3956766
NB
33992001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
3400
825b6926 3401 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
d3956766 3402
05e81724
NB
34032001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
3404
825b6926
ZW
3405 * cppinit.c (cpp_start_read): If -fpreprocessed, ignore
3406 -D, -U and -A, and don't initialize the builtins.
a4299d07 3407 (do_includes): Error if -include or -imacros with -fpreprocessed.
825b6926
ZW
3408 * cppmain.c (cb_define, cb_undef): Unconditionally process
3409 the callback.
3410 * tradcpp.c (main): Fix typo.
05e81724
NB
3411
34122000-01-11 Mark Elbrecht <snowball3@bigfoot.com>
825b6926 3413
05e81724
NB
3414 * cppfiles.c (cpp_included, find_include_file, _cpp_execute_include)
3415 (read_name_map): Use IS_ABSOLUTE_PATH.
825b6926 3416 * tradcpp.c (get_filename): Likewise.
05e81724 3417
76d06edc
SC
34182001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3419
3420 * config/m68hc11/m68hc11.md (*adcq, *subcq): Fix operand numbers.
3421 (*ashlsi3_const16_zexthi, *ashlsi3_const1): Likewise.
3422 (*lshrsi3_const, *lshrsi3_const1, *lshrsi3_const16): Likewise.
3423 (*ashrsi3, *ashrsi3_const, *ashlsi3, *ashlsi3_const): Likewise.
3424 (*ashlsi3_const1, *lshrsi3, *ashlsi3_const16): Likewise.
3425 (cmphi_z_used): Don't use '@' for the output.
3426 (tstqi_z_used): Likewise.
3427 (cmpqi_z_used): Likewise.
3428 (one_cmplsi2): Likewise.
3429
1594c6bc
AO
34302001-01-11 Alexandre Oliva <aoliva@redhat.com>
3431
3432 * config/sh/sh.c (barrier_align): Recognize branch around far
3433 branch and redundant insn.
3434
7da723ef
NB
34352001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
3436
825b6926 3437 * invoke.texi: Restore documentation of the drivers' switches -MD
7da723ef
NB
3438 and -MMD.
3439
a738a85c
AO
34402001-01-11 Alexandre Oliva <aoliva@redhat.com>
3441
f6f1dc95
AO
3442 * config/sh/sh.h (LABEL_ALIGN): Use UNSPECV_ALIGN instead of 1.
3443
a738a85c
AO
3444 * Makefile.in (check-gcc//%, check-g++//%, check-g77//%,
3445 check-objc//%): Support parallel testing of multilibs.
3446 (TESTSUITEDIR): Set to testsuite by default, but override for
3447 parallel testing.
3448 (check-gcc, check-g++, check-g77, check-objc): Enter
3449 $(TESTSUITEDIR).
3450
fb6754f0
BS
34512001-01-11 Bernd Schmidt <bernds@redhat.com>
3452
3453 * alias.c (throughout): Use REGNO, rather than ORIGINAL_REGNO.
3454 * sched-deps.c (deps_may_trap_p): Likewise.
3455 * basic-block.h: Remove a comment.
3456 * flow.c (PROP_POSTRELOAD): Remove.
3457 (update_life_info): Don't add it to prop_flags.
3458 (mark_set_1): Lose the code that was enabled by it.
3459
0ab409ed
MH
34602001-01-11 Michael Hayes <mhayes@redhat.com>
3461
3462 * flow.c (flow_call_edges_add): New.
3463 * basic_block.h (flow_call_edges_add): New.
3464
ada6635f
R
34652001-01-11 J"orn Rennecke <amylaar@redhat.com>
3466
3467 * reload1.c (move2add_note_store): Update reg_set_luid even if
3468 base reg remains the same.
3469
73d771f0
NC
34702001-01-10 Nick Clifton <nickc@redhat.com>
3471
3472 * config/d30v/d30v.c (d30v_init_machine_status): Initialise
3473 machine_function structure to zero.
3474 Add prototypes for machine_status functions.
3475
cbd5937a
MM
34762001-01-10 Mark Mitchell <mark@codesourcery.com>
3477
3478 * c-common.h (CTI_VOID_LIST): Remove.
3479 (void_list_node): Likewise.
3480 * tree.h (TI_VOID_LIST_NODE): New enumeral.
3481 (void_list_node): New macro.
3482 * config/arm/arm.c (arm_init_builtins): Use void_list_node.
3483 * config/i386/i386.c (ix86_init_builtins): Likewise.
3484 * config/ia64a/ia64.c (ia64_init_builtins): Likewise.
3485
2f638f96
NB
34862001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
3487
825b6926
ZW
3488 * Makefile.in (tradcpp0): Depend on mkdeps.h. Link mkdeps.o
3489 * cppinit.c (cpp_start_read): Update comment, remove unneeded
3490 if statement.
3491 * tradcpp.c: Include mkdeps.h.
3492 (deps, print_deps_phony_targets, deps_append, output_deps,
3493 init_dependency_output, output_deps): New.
3494 (deps_buffer, deps_allocated_size, deps_size, deps_column,
3495 deps_output): Delete.
3496 (print_deps_missing_files): Rename deps_missing_files.
3497 (inhibit_output): Make global.
3498 (main): Delete inhibit_output, deps_stream, deps_target.
3499 Use mkdeps functionality in the same way as cpplib. Remove
3500 -g3 handling. Handle -MF, -MP, -MQ, -MT. Update handling of
3501 -M and -MM. Remove old handling of deps via deps_out, and
3502 old reading of environment variables.
3503 (get_filename): Update to use deps_add_dep.
2f638f96 3504
6c418184
MM
35052001-01-10 Mark Mitchell <mark@codesourcery.com>
3506
3507 * output.h (make_function_rtl): Remove prototype.
3508 (make_decl_rtl): Likewise.
3509 * varasm.c (make_function_rtl): Remove.
3510 (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather
3511 than from a third parameter.
3512 * tree.h (make_decl_rtl): Remove last parameter.
3513 * c-decl.c (builtin_function): Remove last argument in call to
3514 make_decl_rtl; use make_function_rtl instead of make_decl_rtl.
3515 (start_function): Likewise.
3516 * except.c (call_get_eh_context): Likewise.
3517 * expr.c (emit_block_move): Likewise.
3518 (clear_storage): Likewise.
3519 * profile.c (output_func_start_profiler): Likewise.
3520 * toplev.c (rest_of_decl_compilation): Likewise.
3521 * objc/objc-act.c (create_builtin_decl): Likewise.
3522 (synth_module_prologue): Likewise.
3523 (generate_static_reference): Likewise.
3524 (build_selector_reference_decl): Likewise.
3525 (build_class_reference_decl): Likewise.
3526 (build_objc_string_decl): Likewise.
3527 (build_protocol_reference): Likewise.
3528
4621c640
RH
35292001-01-10 Richard Henderson <rth@redhat.com>
3530
3531 * hwint.h: Revert yesterday's change.
3532
414c4dc4
NC
35332001-01-10 Nick Clifton <nickc@redhat.com>
3534
3535 * function.h (save_machine_status): Delete.
3536 (restore_machine_status): Delete.
3537 Amend comment describing {init|mark|free}_machine_status.
3538
3539 * function.c (save_machine_status): Delete.
3540 (restore_machine_status): Delete.
3541 Amend comment describing {init|mark|free}_machine_status.
3542 (push_function_context_to): Remove invocation of
3543 save_machine_status.
3544 (pop_function_context_from): Remove invocation of
3545 restore_machine_status.
3546
3547 * emit-rtl.c (init_emit_once): Amend comment describing
825b6926 3548 {init|mark|free}_machine_status.
414c4dc4
NC
3549
3550 * tm.texi (Per-Function Data): New node. Describe the
3551 INIT_EXPANDERS macro and the {init|mark|free}_machine_status
3552 function pointers.
3553
5c5d1ea0
NB
35542001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
3555
825b6926
ZW
3556 * cppinit.c (OPT_g): Remove.
3557 (cpp_handle_option): Update for removed -g3.
3558 (print_help): Update.
3559 * cpplib.h (struct cpp_options): Remove debug_output.
3560 * cppmain.c (setup_callbacks, cb_define): Update.
3561 * gcc.c (cpp_options): Translate -g3 to -dD.
5c5d1ea0 3562
d9271ccc
AH
35632001-01-10 Aldy Hernandez <aldyh@redhat.com>
3564
3565 * config/i960/i960.md: Change modifier to + on the zero_extract
825b6926 3566 pattern after the (rotate -2 reg) canonicalization pattern.
d9271ccc 3567
37b15744
RH
35682001-01-10 Richard Henderson <rth@redhat.com>
3569
3570 * config/alpha/alpha.c (alpha_free_machine_status): New.
3571 (override_options): Install it.
3572 (alpha_mark_machine_status): Verify machine non-null.
3573 * config/i386/i386.c (ix86_free_machine_status): New.
3574 (override_options): Install it.
3575 (ix86_init_machine_status): Use xcalloc.
3576 (ix86_mark_machine_status): Verify machine non-null.
3577 * config/ia64/ia64.c (ia64_free_machine_status): New.
3578 (ia64_override_options): Install it.
3579 (ia64_mark_machine_status): Verify machine non-null.
3580
87c61e2d
JL
3581Wed Jan 10 11:34:39 2001 Jeffrey A Law (law@cygnus.com)
3582
3583 * function.c (instantiate_virtual_regs): Instantiate virtual
3584 registers found in CALL_INSN_FUNCTION_USAGE.
3585
930bbdd2
JM
35862001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3587
3588 * i386.h (CPP_CPU_SPEC): Allow for -std=c* and -std=i* as
3589 equivalent to -ansi in disabling -Di386.
3590
c0c102a9
JH
3591Wed Jan 10 16:38:31 MET 2001 Jan Hubicka <jh@suse.cz>
3592
3593 * i386.c (ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes):
3594 new functions.
3595 (ix86_expand_fp_compare): Make trivial use of new infrastructure.
3596
78053907
RE
35972001-01-10 Richard Earnshaw <rearnsha@arm.com>
3598
3599 * arm.c (arm_init_builtins): Temporarily disable xscale builtins.
3600
a7537031
JM
36012001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3602
3603 * invoke.texi: Document that -fcond-mismatch isn't supported for
3604 C++.
3605
2642624b
JM
36062001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
3607
3608 * gcc.texi: Define macro gcctabopt.
3609 * invoke.texi: Add manpage sections BUGS and AUTHOR. Use
3610 @command, @env and @option in some places where appropriate. Use
3611 @gcctabopt where appropriate. Put URLs and email addresses inside
3612 @w.
3613
11972f66 36142001-01-10 Nathan Sidwell <nathan@codesourcery.com>
825b6926
ZW
3615
3616 * gcc.c (cpp_options): Set MD file name from output
3617 filename, if specified.
3618 (suffix_subst): New static variable.
3619 (do_spec): Clear it.
3620 (do_spec_1, case '.'): Handle new `%.suffix' spec.
3621 Clear it.
3622 (give_switch): Handle suffix_subst.
11972f66 3623
0a75e5c3
PE
36242001-01-10 Phil Edwards <pme@sources.redhat.com>
3625
3626 * invoke.texi: Fix another typo.
3627
9169269f
PE
36282001-01-10 Phil Edwards <pme@sources.redhat.com>
3629
3630 * invoke.texi: Fix typo.
3631
ee811cfd
NB
36322001-01-10 Neil Booth <neil@daikokuya.demon.co.uk>
3633
825b6926
ZW
3634 * c-lang.c (lang_hooks): Update.
3635 (lang_decode_option): Remove.
3636 (lang_init_options): Rename c_init_options.
3637 * toplev.c (main): Use lang_hooks for lang_init_options
3638 and lang_decode_option.
3639 * toplev.h (lang_hooks): Add 2 new hooks.
3640 * tree.h: Remove lang_init_options and lang_decode_option.
3641 * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
3642 * cp/decl2.c: Similarly.
3643 * cp/lex.c (lang_init_options): Rename cxx_init_options.
3644 (lang_hooks): Update.
3645 * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
3646 for consistency.
3647 (lang_init_options): Rename ffe_init_options.
3648 (lang_hooks): Update.
3649 (lang_decode_option): Remove.
3650 * java/lang.c (lang_init_options): Rename java_init_options.
3651 (lang_decode_option): Rename java_decode_option.
3652 (lang_hooks): Update.
3653 * objc/objc-act.c (lang_init_options): Rename objc_init_options.
3654 (lang_decode_option): Rename objc_decode_option.
3655 (lang_hooks): Update.
ee811cfd 3656
8541c24b
NC
36572001-01-09 Nick Clifton <nickc@redhat.com>
3658
3659 * config/d30v/d30v.c (d30v_eh_epilogue_sp_ofs): Delete.
3660 (d30v_return_addr_rtx): Delete.
3661 (d30v_expand_epilogue): Use eh_epilogue_sp_ofs field in the
3662 cfun->machine structure.
3663 (struct machine_function): Move to d30v.h
3664 (d30v_save_machine_status): Delete.
3665 (d30v_restore_machine_status): Delete.
3666 (d30v_init_machine_status): New Function.
3667 (d30v_mark_machine_status): New Function.
3668 (d30v_free_machine_status): New Function.
3669 (d30v_init_expanders): Use new functions.
3670 (d30v_return_addr): Use ra_rtx field in cfun->machine.
3671 (d30v_add_gc_roots): Remove d30v_eh_epilogue_sp_ofs and
3672 d30v_return_addr_rtx.
3673
3674 * config/d30v/d30v.h (struct_machine): Move here.
3675 Add eh_epilogue_sp_ofs field.
3676
3677 *config/d30v/d30v.md (epilogue): Initialise eh_epilogue_sp_ofs
3678 field in cfun->machine structure.
3679
4d5a6f78
JDA
3680Tue Jan 9 21:34:57 2001 John David Anglin <dave@hiauly1.hia.nrc.ca>
3681
3682 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
3683 PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
3684 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
3685
ecb7e784
JL
3686Tue Jan 9 21:25:19 2001 Jeffrey A Law (law@cygnus.com)
3687
3688 * objc/lang-options.h: Remove bogus reference to
3689 Java trademark.
3690
35fb3d1f
KH
36912001-01-09 Kazu Hirata <kazu@hxi.com>
3692
3693 * config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
3694 return the result.
3695
4971426b
AL
36962001-01-09 Alan Lehotsky <lehotsky@tiac.net>
3697
3698 * reload.c (find_reloads_address): Check for eliminable registers
3699 when substituting a constant expression for a pseudo.
825b6926 3700
10a4c7ac
JM
37012001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
3702
3703 * c-common.c (enum format_type): Add format_type_error.
3704 (decode_format_type): New function.
3705 (decl_attributes): Use it.
3706 (format_kind_info): Adjust comment.
3707
f6e0c56c
DB
37082001-01-09 David O'Brien <obrien@BSDi.com>
3709
3710 * config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
3711 i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
3712 files in tm_file.
3713 * config/i386/gnu.h: Don't include required platform specific .h files,
3714 tm.h will do it instead.
3715 * config/i386/i386elf.h: Likewise.
3716 * config/i386/linux.h: Likewise.
3717 * config/i386/moss.h: Likewise.
3718 * config/mips/gnu.h: Likewise.
3719
e556ad19
FS
37202001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3721
3722 * config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
3723 (rs6000-ibm-aix3.[01]*): Likewise.
3724 (rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
3725 (rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
3726 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
3727 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3728 (powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
3729 (powerpc-*-eabiaix*): Likewise.
3730 (powerpc-*-eabisim*): Likewise.
3731 (powerpc-*-elf*): Likewise.
3732 (powerpc-*-eabi*): Likewise.
3733 (powerpc-*-rtems*): Likewise.
3734 (powerpc-*-linux*libc1): Likewise.
3735 (powerpc-*-linux*): Likewise.
3736 (powerpc-wrs-vxworks*): Likewise.
3737 (powerpcle-wrs-vxworks*): Likewise.
3738 (powerpcle-*-sysv*): Likewise.
3739 (powerpcle-*-elf*): Likewise.
3740 (powerpcle-*-eabisim*): Likewise.
3741 (powerpcle-*-eabi*): Likewise.
3742 (powerpcle-*-solaris2*): Likewise.
3743 * config/rs6000/aix31.h: Delete includes.
3744 * config/rs6000/aix3newas.h: Likewise.
3745 * config/rs6000/aix41.h: Likewise.
3746 * config/rs6000/aix43.h: Likewise.
3747 * config/rs6000/beos.h: Likewise.
3748 * config/rs6000/rtems.h: Likewise.
3749 * config/rs6000/sysv4.h: Likewise.
3750
9789584b
KH
37512001-01-09 Kazu Hirata <kazu@hxi.com>
3752
3753 * config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
3754 Change an argument mode of machine_mode to shift_mode of
3755 shift_mode. Remove an extra error check.
3756 (emit_a_shift): Adopt to the new calling prototype of
3757 get_shift_alg.
46d00fef
KH
3758 (function_prologue): Fix code for a monitor
3759 function. Support H8/S.
3760 (function_epilogue): Do not output pop for a monitor function.
9789584b 3761
a2e11fd9
NC
37622001-01-09 Nick Clifton <nickc@redhat.com>
3763
3764 * config/rs6000/rs6000.c (rs6000_sysv_varargs_p): Delete.
3765 (setup_incoming_varargs): Use sysv_varargs_p field of the
3766 cfun->machine structure.
3767 (struct machine_function): Move to rs6000.h
3768 (rs6000_save_machine_status): Delete.
3769 (rs6000_restore_machine_status): Delete.
3770 (rs6000_init_machine_status): New Function.
3771 (rs6000_free_machine_status): New Function.
3772 (rs6000_init_expanders): Use new functions.
3773
3774 * config/rs6000/rs6000.h (rs6000_sysv_varargs_p): Delete
3775 export.
3776 (struct machine_function): Move here.
3777
3778 * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use
3779 sysv_varargs_p field of the cfun->machine structure.
3780
3781 * config/rs6000/rs6000-protos.h (rs6000_save_machine_status):
3782 Remove prototype.
3783 (rs6000_restore_machine_status): Remove prototype.
3784
4ba478b8
RH
37852001-01-09 Richard Henderson <rth@redhat.com>
3786
3787 * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
3788 reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
3789 * sched-deps.c (sched_analyze_1): Update uses of struct deps.
3790 (sched_analyze_2, sched_analyze_insn): Likewise.
3791 (sched_analyze, init_deps): Likewise.
3792 (free_deps): Likewise. Iterate with EXECUTE_IF_SET_IN_REG_SET.
3793 * sched-rgn.c (propagate_deps): Likewise. Remove max_reg argument.
3794 (compute_block_backward_dependences): Update propagate_deps call.
3795
9c1fcbfb
ME
37962001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
3797
3798 * gcc.c (process_command): Set switches[n_switches].ordering to 0.
3799
e582248c
NB
38002001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
3801
825b6926
ZW
3802 * cppinit.c (OPT_MD, OPT_MMD): Restore.
3803 (cpp_handle_option): Handle them.
3804 (cpp_post_options): Ensure one of -M or -MM is specified with
3805 any other -M? option.
3806 (init_dependency_output): Suppress output with -MG.
e582248c
NB
3807
38082001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
3809
825b6926
ZW
3810 * cpp.texi: Update.
3811 * invoke.texi: Update.
e582248c 3812
7894cb27
BS
38132001-01-09 Bernd Schmidt <bernds@redhat.com>
3814
3815 * sh.md (reload_outsf): Generate recognizable patterns for
3816 TARGET_SH3E.
3817
9f56ed15
NB
38182001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
3819
3820 * c-lang.c (lang_hooks): Update.
825b6926
ZW
3821 (lang_init): Rename c_init.
3822 (lang_finish): Remove.
3823 * toplev.c (compile_file): Use lang_hooks for lang_init ()
3824 and lang_finish ().
3825 * toplev.h (lang_hooks): Add init () and finish ().
3826 * tree.h (lang_init, lang_finish): Remove.
3827 * cp/tree.h (lang_init, lang_finish): Remove.
3828 * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
3829 * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
3830 lang_hooks): New.
3831 (lang_init, lang_finish): Remove.
3832 * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
3833 (lang_hooks): Update.
3834 * java/lang.c (lang_init): Rename java_init.
3835 (lang_finish): Remove.
3836 (lang_hooks): Update.
3837 * objc/objc-act.c (lang_init): Rename objc_init.
3838 (lang_finish): Remove.
3839 (lang_hoooks): Update.
9f56ed15 3840
fb83deef
GS
384120001-01-09 Graham Stott <grahams@redhat.com>
3842
3843 * cppfiles.c (_cpp_execute_include): Move `len` initialisation
3844 after `ptr` is initialised.
3845
ec4ad0f9
AO
38462001-01-09 Alexandre Oliva <aoliva@redhat.com>
3847
3848 * config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
3849 (INITIALIZE_TRAMPOLINE): Adjust accordingly.
3850 * config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
3851 stack adjusts, instead of r3.
3852
eab02feb
MH
38532001-01-09 Michael Hayes <mhayes@redhat.com>
3854
3855 * flow.c (flow_loop_scan): Break out of ...
3856 (flow_loops_find) ... here.
3857 * basic-block.h (flow_loop_scan): New.
3858 (LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
3859 (LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.
3860
bad48d7e
AO
38612001-01-09 Alexandre Oliva <aoliva@redhat.com>
3862
4b49c365
AO
3863 * cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
3864 macro_buffer_len.
3865 * cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
3866 realloc()ing macro_buffer.
3867
bad48d7e
AO
3868 * hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
3869 if it's wider than long and the target's long is wider than the
3870 host's.
3871
34fa3e7d
MM
38722001-01-09 Mark Mitchell <mark@codesourcery.com>
3873
3874 Remove support for using UWIN as a host machine.
3875 * configure.in: Issue an error message.
3876 * configure: Regenerated.
3877 * config.gcc: Remove xm_* UWIN configury.
3878 * config/i386/xm-uwin.h: Remove.
3879
61db4608
NC
38802001-01-08 Nick Clifton <nickc@redhat.com>
3881
3882 * config/v850/v850.c (ra_rtx): Delete.
825b6926 3883 (v850_save_machine_status): Delete.
61db4608
NC
3884 (v850_restore_machine_status): Delete.
3885 (v850_init_machine_status): New function.
3886 (v850_mark_machine_status): New function.
3887 (v850_free_machine_status): New function.
3888 (v850_return_addr): Use ra_rtx field in machine structure.
3889 (v850_init_expanders): Use new functions.
3890
3891 * config/v850/v850-protos.h: Fix prototypes for v850_output_*
3892 * config/v850/v850.c: Change arguments to v850_output+* functions
3893 to take a const char *, to avoid compile time warning.
3894 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Undefine, not needed.
3895 (USER_LABEL_PREFIX): Redefine.
825b6926 3896
9c8fad33
JW
38972000-01-08 Jim Wilson <wilson@redhat.com>
3898
3899 * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
3900 1 to unsigned HOST_WIDE_INT before left shift.
3901
f7a80099
NC
39022001-01-08 Nick Clifton <nickc@redhat.com>
3903
3904 * config/arm/arm.c (arm_mark_machine_status): Check to see if
3905 the machine structure has been allocated.
3906 (arm_free_machine_status): New function: Free the machine
3907 specific function structure.
3908
3c74f8f9
RH
39092001-01-08 Richard Henderson <rth@redhat.com>
3910
3911 * jump.c (simplejump_p): Revert last change.
3912
674c3b40
NB
39132001-01-08 Neil Booth <neil@daikokuya.demon.co.uk>
3914
825b6926
ZW
3915 * cppinit.c (init): Rename init_library.
3916 (cpp_create_reader): Update.
3917 * gcc.c (cpp_options): If -o given, use it as the target of
3918 any -M options.
674c3b40 3919
b15bca31
RE
39202001-01-08 Richard Earnshaw <rearnsha@arm.com>
3921
3922 * arm.c (arm_arch5e): New variable.
3923 (all_cores): XScale is a 5TE device.
3924 (arm_override_options): Set arm_arch5e.
3925 (arm_init_builtins): __builtin_prefetch is in arch5e.
3926 * arm.h (arm_arch5e): Declare it.
3927
3928 * arm.h (PREDICATE_CODES): Add arm_hard_register_operand.
3929
3930 * arm.md (define_constants): Add defines for UNSPEC and
3931 UNSPEC_VOLATILE insns. Update all users.
3932 (define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
3933 * arm.c (multi_register_push, note_invalid_constants)
3934 (emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
3935 * arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
3936 (STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.
825b6926 3937
261efdef
JH
3938Mon Jan 8 16:14:56 MET 2001 Jan Hubicka <jh@suse.cz>
3939
3940 * jump.c (jump_optimize_1): Use reversed_comparison_code
3941 instead of can_reverse_comparison_p.
3942 (jump_back_p): Likewise.
3943 (invert_exp_1): Likewise.
3944 (thread_jumps): Likewise.
3945 * simplify-rtx.c (simplify_unary_operation): Likewise.
3946 (simplify_ternary_operation): Likewise.
3947 * cse.c (find_comparison_args): Convert to use
3948 can_reverse_comparison_p.
3949 (record_jump_equiv): Likewise.
3950
c7861455
RE
39512001-01-08 Richard Earnshaw <rearnsha@arm.com>
3952
3953 * arm.h (HARD_REGNO_RENAME_OK): Delete.
3954 (EPILOGUE_USES): Define.
825b6926 3955 (INITIAL_ELIMINATION_OFFSET): Current prologue code does not
c7861455
RE
3956 automatically stack the LR if it isn't live.
3957
734dba19
JH
3958Mon Jan 8 13:46:02 MET 2001 Jan Hubicka <jh@suse.cz>
3959
3960 * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
3961 properly.
3962
b1095f9c
MM
3963Sun Jan 7 18:37:43 2001 Mark P Mitchell <mark@codesourcery.com>
3964
3965 * ggc-page.c (max_alignment): New structure.
3966 (MAX_ALIGNMENT): New macro.
3967 (init_ggc): Use it to round up the sizes in the
3968 extra_order_size_table.
3969
a701949a
FS
39702001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3971
3972 * config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
3973 after reload.
3974
18f988a0
KG
39752001-01-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3976
3977 * builtins.def (BUILT_IN_FPRINTF): New entry.
3978
3979 * c-common.c (c_expand_builtin_fprintf): New function.
3980 (init_function_format_info): Handle __builtin_fprintf.
3981 (c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
3982 (c_expand_builtin): Handle BUILT_IN_FPRINTF.
3983
3984 * c-decl.c (duplicate_decls): Adjust comment.
3985
3986 * extend.texi (fprintf): Document new builtin.
3987
8cd0792f
RH
39882001-01-07 Richard Henderson <rth@redhat.com>
3989
3990 * jump.c (simplejump_p): Recognize any single_set jump
3991 of the proper form.
3992
5b15f277
RH
39932001-01-07 Richard Henderson <rth@redhat.com>
3994
3995 * configure.in (slibdir): Accept an --with-slibdir option.
3996 Use "test" not "[" in configure. Default to $(libdir).
3997
9c2e06d9
RH
3998 * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
3999 fix typo in rm -f.
4000 * config/t-aix43 (SHLIB_INSTALL): Likewise.
4001 * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
4002 (SHLIB_LINK): Create links for the soname.
4003 * config/mips/t-iris6: Likewise.
4004 * config/sparc/t-slibgcc: Likewise.
4005 * config/sparc/t-slibgcc-sld: Likewise.
4006
eaf19aba
JJ
40072001-01-07 Jakub Jelinek <jakub@redhat.com>
4008
4009 * config/i386/i386.c (constant_call_address_operand): Accept
4010 (const (plus (symbol_ref) (const_int))).
4011 * config/i386/i386.h (PREDICATE_CODES): Add CONST for
4012 constant_call_address_operand.
4013
a8b462be
MH
40142001-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4015
4016 * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
4017 and LONG_LONG_TYPE_SIZE > 32.
4018
3799607a
GP
40192001-01-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4020
4021 * jump.c (reversed_comparison_code_parts): Fix typo introduced by
4022 the previous change.
4023
ab94bc48
JH
4024Sun Jan 7 19:37:48 MET 2001 Jan Hubicka <jh@suse.cz>
4025
4026 * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
4027 New.
4028 (can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
4029 (reverse_condition_maybe_unordered): Abort on unsigned comparisons.
4030 * rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
4031 Declare.
4032
f6a13bff
NB
40332001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4034
825b6926 4035 * fix-header.c (read_scan_file): s/pfile/scan_in/.
f6a13bff 4036
96302433
NB
40372001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4038
825b6926 4039 * c-lang.c (c_post_options): Call cpp_post_options.
96302433
NB
4040 * objc/objc-act.c (objc_post_options): Similarly.
4041 * cppmain.c (main): Similarly.
825b6926
ZW
4042 * fix-header.c (read_scan_file): Similarly.
4043 * cppinit.c (cpp_start_read): Move option consistency checks
4044 to cpp_post_options. Don't call init_dependency_output.
4045 If needed, add default target and main file dependency.
4046 (OPT_MD, OPT_MMD): Remove.
4047 (OPT_MF): New.
4048 (cpp_handle_option): Update for OPT_* changes.
4049 (cpp_post_options): New.
4050 (init_dependency_output): Command line -MF overrides environment
4051 variables. Don't set default target etc. Suppress output
4052 if dependencies are going to stdout.
4053 (print_help): Update.
4054 * cpplib.h (cpp_post_options): New.
4055 * gcc.c (cpp_options): Update for -MD, -MMD, -MF.
4056
b34878a3
JH
4057Sun Jan 7 14:44:19 MET 2001 Jan Hubicka <jh@suse.cz>
4058
4059 * jump.c (comparison_dominates_p): Support unordered compares.
4060
1f36a2dd
JH
4061Sun Jan 7 14:39:07 MET 2001 Jan Hubicka <jh@suse.cz>
4062
4063 * simplify-rtx.c (simplify_relational_operation): Always simplify
4064 ORDERED and UNORDERED when FLAG_FAST_MATH. Handle properly UNLE
4065 and UNGE.
4066
69bc0a1f
JH
4067Sun Jan 7 14:35:13 MET 2001 Jan Hubicka <jh@suse.cz>
4068
4069 * combine.c (combine_simplify_rtx): Recognize the unordered compares.
4070 (nonzero_bits): Likewise.
4071 (simplify_comparison): Likewise.
4072 (num_sign_bit_copies): Likewise; return more sane value depending
4073 on STORE_FLAG_VALUE.
4074 (known_cond): Do not assume EQ to be always true for equivalent
4075 operands.
4076
fd13313f
JH
4077Sun Jan 7 14:31:57 MET 2001 Jan Hubicka <jh@suse.cz>
4078
4079 * cse.c (fold_rtx): Handle unordered comparisons.
4080
91b2d119
JH
4081Sun Jan 7 13:49:19 MET 2001 Jan Hubicka <jh@suse.cz>
4082
4083 * rtlanal.c (set_of_1): New static function.
4084 (reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
4085 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
4086 reg_set_last_last_regno): Remove.
4087 (set_of): New global function.
4088 (set_of_data): New structure.
4089 (reg_set_p, reg_set_last): Revamp for set_of.
4090 * rtl.h (set_of): New.
4091
796cdb65
JM
40922001-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
4093
4094 * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
4095 * extend.texi: Document _Exit builtin.
4096
7ca3d2b1
NB
40972001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4098
825b6926
ZW
4099 * (initialize, initialize_builtins,
4100 initialize_dependency_output, initialize_standard_includes):
4101 Rename s/initialize/init. Update.
4102 (init_dependency_output): Move to after
4103 cpp_handle_options, the correct location temporally at least.
4104 (opt_comp): Move next to init (), its caller. Fix prototype.
4105 (init): Make "initialized" local scope.
4106 (cpp_create_reader): Always call init ().
4107 (cpp_start_read): Update.
4108 (output_deps): New function, broken out of cpp_finish.
4109 (cpp_finish): Break out output_deps.
7ca3d2b1 4110
34445094
RH
41112001-01-07 Richard Henderson <rth@redhat.com>
4112
4113 * collect2.c (COFF specific stuff): Revert 12-06 patch
4114 to prototype system functions.
4115
96a45535
MH
41162001-01-07 Michael Hayes <mhayes@redhat.com>
4117
4118 * hard-reg-set.h: Add multiple include guard.
4119 * basic-block.h (struct loop): Add `sink' field.
4120 * loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
4121 (emit_iv_add_mult): Delete.
4122 (loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
4123 (loop_iv_add_mult_emit_before, loop_insn_sink): Define.
4124 (unroll_loop): Remove end_insert_before argument.
4125 * loop.c (loop_givs_rescan): Remove end_insert_before argument.
4126 (maybe_eliminate_biv_1): Likewise.
4127 (emit_iv_add_mult): Delete.
4128 (gen_add_mult, loop_regs_update): New.
4129 (loop_insn_emit_after, loop_insn_emit_before): New.
4130 (loop_insn_sink, loop_insn_sink_or_swim): New.
4131 (emit_iv_add_mult): Delete.
4132 (scan_loop): Set loop->sink.
4133 (loop_givs_reduce): Use loop_insn_sink and its ilk.
4134 (loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
4135 (maybe_eliminate_biv_1): Likewise.
4136 (maybe_eliminate_biv_1): Add basic block argument.
4137 * unroll.c (unroll_loop): Remove end_insert_before argument.
4138 (find_splittable_regs): Likewise.
4139 (find_splittable_regs): Use loop_insn_sink and its ilk.
4140 (find_splittable_givs, final_biv_value, final_giv_value): Likewise.
4141
804a718a
MH
41422001-01-07 Michael Hayes <mhayes@redhat.com>
4143
4144 * loop.h (loop_insn_hoist): New prototype.
4145 * loop.c (loop_insn_hoist, loop_insn_emit_before): New.
4146 (move_movables, loop_givs_rescan): Use loop_insn_hoist.
4147 (check_dbra_loop, load_mems): Likewise.
4148 * unroll.c (unroll_loop, find_splittable_regs): Likewise.
4149 (find_splittable_givs): Likewise.
4150
30a1181a
MH
41512001-01-07 Michael Hayes <mhayes@redhat.com>
4152
4153 * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
4154
cabf3891
RH
41552001-01-07 Richard Henderson <rth@redhat.com>
4156
4157 * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
4158
9db0819e
RH
41592001-01-07 Richard Henderson <rth@redhat.com>
4160
4161 * Makefile.in (DRIVER_DEFINES): Define ENABLE_SHARED_LIBGCC and
4162 NO_SHARED_LIBGCC_MULTILIB as required for the target.
4163 * gcc.c (init_spec): Massage the existing libgcc_spec into a
4164 variant that handles a shared libgcc.
4165 (process_command): Always validate -{static,shared}-libgcc.
4166 (do_spec_1): New 'M' case.
4167 * invoke.text (Link Options): Document -{static,shared}-libgcc.
4168
2bbea3a6
RH
41692001-01-07 Richard Henderson <rth@redhat.com>
4170
4171 * Makefile.in (slibdir): New variable.
4172 (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
4173 (installdirs): Create slibdir.
4174 (install-libgcc, install-multilib): Defer to libgcc.mk.
4175 * configure.in (slibdir): Substitute.
4176 * mklibgcc.in (install): New target.
4177
4178 * config/t-linux (SHLIB_LINK): Create links for the soname.
4179 (SHLIB_INSTALL): New.
4180 * config/alpha/t-osf4 (SHLIB_INSTALL): New.
4181 * config/mips/t-iris6 (SHLIB_INSTALL): New.
4182 * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
4183 * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
4184 * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.
4185
fc51424c
RH
41862001-01-07 Richard Henderson <rth@redhat.com>
4187
4188 * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
4189 * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
4190 * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
4191
1d7ae250
MH
41922001-01-07 Michael Hayes <mhayes@redhat.com>
4193
4194 * loop.c (count_loop_regs_set): Delete.
4195 (load_mems_and_recount_loop_regs_set): Delete.
4196 (loop_regs_scan): Merge common code from count_loop_regs_set,
4197 scan_loop, and load_mems_and_recount_loop_regs_set.
4198 (scan_loop): Call load_mems directly and loop_regs_scan
4199 again if new registers created.
4200
cd2a3ba2
NB
42012001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4202
825b6926
ZW
4203 * toplev.c (main): Call the front-end specific post_options
4204 hook if one is given.
4205 * toplev.h (struct_lang_hooks, lang_hooks): New.
4206 * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
4207 for the C front end.
4208 * cp/decl2.c (cxx_post_options, lang_hooks): Implement
4209 lang_hooks for the C++ front end.
4210 * objc/objc-act.c (objc_post_options, lang_hooks): Implement
4211 lang_hooks for the ObjC front end.
4212 * f/com.c (lang_hooks): Hooks for the Fortran front end.
4213 * java/lang.c (lang_hooks): Hooks for the Java front end.
cd2a3ba2 4214
65289a3a
NB
42152001-01-07 Neil Booth <neil@daikokuya.demon.co.uk>
4216
825b6926
ZW
4217 * c-lex.c (init_c_lex): Request #define / #undef callbacks
4218 for verbose DWARF[2] debugging.
4219 (cb_define, cb_undef): The new callbacks.
4220 * toplev.h (debug_define, debug_undef): Make const correct.
4221 * toplev.c (debug_define, debug_undef): Similarly. Do not
4222 perform the verbosity tests here anymore.
65289a3a 4223
f759eb8b
AO
42242001-01-07 Alexandre Oliva <aoliva@redhat.com>
4225
4226 * reload.c (subst_reloads): Take INSN argument. When
4227 replacing a LABEL_REF in a JUMP_INSN, add a REG_LABEL note.
4228 * reload.h (subst_reloads): Adjust prototype.
4229 * reload1.c (reload_as_needed): Pass INSN to subst_reloads.
4230 * jump.c (mark_all_labels): Canonicalize any REG_LABEL notes
4231 present in JUMP_INSNs and copy them to JUMP_LABEL.
4232 * flow.c (find_label_refs, find_basic_blocks_1): Skip
4233 JUMP_INSNs and insns with REG_LABELs that are followed by
4234 JUMP_INSNs with the same REG_LABEL.
4235 * sched-rgn.c (is_cfg_nonregular): Likewise.
4236 * rtlanal.c (computed_jump_p): Make it false if a REG_LABEL
4237 note is available.
4238 * unroll.c (unroll_loop): Look for REG_LABEL notes in
4239 JUMP_INSNs too.
4240 * rtl.texi (REG_LABEL): Document usage in JUMP_INSNs.
4241
587f56c2
RH
42422001-01-06 Richard Henderson <rth@redhat.com>
4243
4244 * loop.c (scan_loop): Use xcalloc for the regs array.
4245 (load_mems_and_recount_loop_regs_set): Zero the new memory
4246 received from xrealloc.
4247
fa6f74f6
NB
42482001-01-06 Neil Booth <neil@daikokuya.demon.co.uk>
4249
4250 * mkdeps.c (deps_add_dep): Fix vector re-allocation.
4251
ea55fa7a
R
4252Sat Jan 6 00:09:34 2001 J"orn Rennecke <amylaar@redhat.com>
4253
4254 * integrate.c (copy_rtx_and_substitute): When copying
4255 an ignored return value, strip REG_FUNCTION_VALUE_P.
4256
c804f3f8
MH
42572001-01-06 Michael Hayes <mhayes@redhat.com>
4258
4259 * loop.c (debug_biv, debug_giv): New.
4260 (loop_biv_dump): Break out from ...
4261 (record_biv): ... here.
4262 (loop_giv_dump): Break out from ...
4263 (record_giv): ... here.
4264 (loop_bivs_check): Use print_simple_rtl.
4265 * unroll.c (loop_iterations): Use print_simple_rtl.
4266
d492b096
JDA
42672000-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4268
4269 * pa.md (return, return_internal): Modify patterns to prevent regrename
4270 mucking with the return pointer.
4271
f7d2b0ed
RH
42722001-01-05 Richard Henderson <rth@redhat.com>
4273
4274 * dwarf2out.c (mem_loc_descriptor) [case MEM]: Revert 10-31 change.
4275
0426e049
NC
4276Fri Jan 5 16:34:18 2001 Nick Clifton <nickc@redhat.com>
4277
4278 * config/v850/lib1funcs.asm: Replace __mulsi3 routine with faster
4279 version supplied by Matteo Frigo.
4280
f7114e17
NB
42812001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
4282
825b6926
ZW
4283 * cpp.texi: Update for -MQ.
4284 * cppinit.c (cpp_create_reader): Always create pfile->deps.
4285 (cpp_cleanup): Always free pfile->deps.
4286 (initialize_dependency_output): Don't create pfile->deps.
4287 (cpp_handle_option): Similarly.
4288 (OPT_MQ): New.
4289 * gcc.c (cpp_options): Handle -MQ.
4290 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -MQ.
4291 * mkdeps.c (base_name): Remove.
4292 (deps_init): Don't allocate vector space until it's needed.
4293 (deps_free): Only free vectors if allocated.
4294 (deps_add_target, deps_add_dep): Update for initial allocation.
4295 (deps_add_default_target): Don't strip to the base_name.
f7114e17 4296
a64761a3
DD
42972001-01-05 DJ Delorie <dj@redhat.com>
4298
4299 * config/v850/v850.h (RETURN_ADDR_RTX): Define.
4300 (INIT_EXPANDERS): Define.
4301
4302 * config/v850/v850.c (struct machine_function): Define.
4303 (v850_save_machine_status): New function.
4304 (v850_restore_machine_status): New function.
4305 (v850_return_addr): New function.
4306 (v850_init_expanders): New function.
4307
4308 * config/v850/v850-protos.h: Add prototypes for v850_return_addr
4309 and v850_init_expanders.
825b6926 4310
f4cdc368
ZW
43112001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
4312
4313 * cpplib.h (struct cpp_reader): Add help_only field.
4314 * cppinit.c (COMMAND_LINE_OPTIONS): Add OPT_version.
4315 (cpp_handle_option): Set pfile->help_only if we see -h,
4316 --help, -target-help, or --version. Print version string but
4317 do not set help_only if we see -v or -version. Make text
4318 printed by -v match that printed by (-)-version.
4319
4320 * cppmain.c (main): Exit after option parsing if
4321 pfile->help_only is true.
4322
4323 * toplev.c (independent_decode_option): Call print_version,
4324 then exit, if we see --version (but not -version).
4325 (print_version): Split lengthy message into two lines.
4326
3326b760
NC
43272001-01-05 Nick Clifton <nickc@redhat.com>
4328
4329 * config/v850/v850.c (v850_encode_data_area): Use alloca to create
4330 temporary string for initialisation before calling ggc_alloc_string.
4331
75b7557d
MH
43322001-01-06 Michael Hayes <mhayes@redhat.com>
4333
4334 * rtl.h (print_simple_rtl): New.
4335 * print-rtl.c (print_simple_rtl): New.
4336 (flag_simple): New.
4337 (print_rtx): Disable printing of flags and modes, etc.,
825b6926 4338 if `flag_simple` nonzero.
75b7557d 4339
b05467dc
ZW
43402001-01-05 Zack Weinberg <zack@wolery.stanford.edu>
4341
4342 * function.c (fixup_var_refs): Use push_to_full_sequence where
4343 possible.
4344
b883f801
MM
43452001-01-05 Michael Meissner <meissner@redhat.com>
4346
4347 * flags.h (flag_reorder_blocks): Add declaration.
4348 (flag_rename_block): Ditto.
4349
cc1fe44f
DD
43502001-01-05 DJ Delorie <dj@redhat.com>
4351
4352 * function.c (reorder_blocks): Make sure the flags are all reset
4353 before using them to mark blocks, else a second invocation will
4354 corrupt the block chain.
4355 (reorder_blocks_0): New, resets the flags.
4356
8b03b984
R
4357Fri Jan 5 20:34:06 2001 J"orn Rennecke <amylaar@redhat.com>
4358
4359 * cse.c (find_comparison_args): Stop if the argument is known to
4360 be constant.
4361
18a7c2a7
AO
43622001-01-05 Alexandre Oliva <aoliva@redhat.com>
4363
4364 * config/sh/sh.md (movdf): When splitting load into pair of
4365 registers, don't clobber the register used in the address too
4366 early.
4367
fcbd8ef2
JO
43682001-01-05 Jeffrey Oldham <oldham@codesourcery.com>
4369
4370 * varasm.c (mark_constant_pool): Improve initial comments.
4371 (mark_constants): Move marking of constants to mark_constant.
4372 (mark_constant): New function to recursively mark all constants
4373 referred to by a constant.
4374
ebb0cdf3
CM
43752001-01-05 Catherine Moore <clm@redhat.com>
4376
4377 * dbxout.c ((dbxout_parms): Handle invisible ref where decl is a REG.
4378
3b4e6a16
PE
43792001-01-05 Phil Edwards <pme@sources.redhat.com>
4380
4381 * cp/lang-options.h: Bring comment in line with reality.
4382 * f/lang-options.h: Likewise.
4383 * java/lang-options.h: Likewise.
4384 * objc/lang-options.h: Likewise.
4385 * ch/lang-options.h: Likewise.
4386 * f/g77.texi: And update the manual.
4387
dcfb1a36
MM
43882001-01-05 Marek Michalkiewicz <marekm@linux.org.pl>
4389 Denis Chertykov <denisc@overta.ru>
4390
4391 * config/avr/avr-protos.h (avr_peep2_scratch_safe): Prototype.
4392 * config/avr/avr.c (avr_peep2_scratch_safe): New function.
4393 * config/avr/avr.md (all peepholes that request a scratch register):
4394 Call it, FAIL the peephole if not safe (in interrupt functions).
4395
cef3d50c
MM
43962001-01-05 Mark Mitchell <mark@codesourcery.com>
4397
4398 * ggc-page.c (NUM_EXTRA_ORDERS): Hardwire to zero for now.
4399
341e3d11
JM
44002001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
4401
4402 * builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
4403 Define.
4404 * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ,
4405 BUILT_IN_CREAL and BUILT_IN_CIMAG.
4406 * c-common.c (c_common_nodes_and_builtins): Create builtin conjf,
4407 conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl.
4408 (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and
4409 BUILT_IN_CIMAG.
4410 * extend.texi: Document these builtins.
4411
604bb87d
DB
44122001-01-05 Daniel Berlin <dberlin@redhat.com>
4413
4414 * c-common.c (lang_get_alias_set): Say we know nothing of
825b6926 4415 VECTOR_TYPE aliasing.
604bb87d
DB
4416
4417 * dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
4418
15fe1a7e
BK
44192001-01-05 Bruce Korb <bkorb@gnu.org>
4420
4421 * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
4422 their x* equivalent versions for atexit-less systems
4423 * fixinc/fixincl.c(main): do not return from main() on atexit-less
4424 systems (or any other system any more).
4425
b0888988
RE
44262001-01-05 Richard Earnshaw <rearnsha@arm.com>
4427
4428 * arm.md (ldmsi_postinc): Avoid use of match_dup between input and
4429 output operands. Use arm_hard_register_operand for operand 4.
4430 (stmsi_postinc): Similarly.
4431 (ldmsi): Use arm_hard_register_operand for opernand 2.
4432 (stmsi): Similarly.
4433 * arm.c (arm_hard_register_operand): New function.
4434 * arm-protos.h (arm_hard_register_operand): Prototype it.
4435
4436 * arm.h (HARD_REGNO_RENAME_OK): Define.
4437
90a74703
JH
4438Fri Jan 5 16:29:49 MET 2001 Jan Hubicka <jh@suse.cz>
4439
4440 * simplify-rtx.c (cfc_args): add "unordered" field.
4441 (check_fold_consts): Set unordered field.
4442 (simplify_relational_operation): Simplify the unordered
4443 comparisons.
4444
4445 * reg-stack.c (swap_rtx_condition): Ensure that the transformation
4446 is valid.
4447
4448 * emit-rtl.c (try_split): Fix code to mark labels.
4449 * jump.c (mark_jump_label): Make global.
4450 * rtl.h (mark_jump_label): Declare.
4451
4452 * predict.c (estimate_probability): Handle unordred comparisons.
4453
a5a4ce3c
NB
44542001-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
4455
825b6926
ZW
4456 * cpp.texi: Update for -MP. Clarify behaviour of -MT.
4457 * cppinit.c (initialize_dependency_output): Update.
4458 (cpp_finish): Output dummy targets for -MP.
4459 (OPT_MP): New.
4460 (cpp_handle_option): Handle -MP. Don't quote -MT options.
4461 * cpplib.h (struct cpp_options): Add deps_phony_targets.
4462 * gcc.c (cpp_options): Update to handle -MP.
4463 * mkdeps.c (deps_add_target, deps_add_default_target): Update
4464 to quote only the default target.
4465 (deps_phony_targets): Insert a preceding newline. Rename from
4466 deps_dummy_targets for consistency.
4467 * mkdeps.h: Update
a5a4ce3c 4468
97fc4caf
AO
44692001-01-05 Alexandre Oliva <aoliva@redhat.com>
4470
4471 * calls.c (emit_library_call_value_1): Support
4472 INIT_CUMULATIVE_LIBCALL_ARGS.
4473 * tm.texi (INIT_CUMULATIVE_LIBCALL_ARGS): Document it.
4474
ffc5c6a9
RH
44752001-01-04 Richard Henderson <rth@redhat.com>
4476
4477 * c-decl.c (finish_struct): Detect flexible array members
4478 used in an inappropriate context.
4479 * c-typeck.c (really_start_incremental_init): Special case
4480 constructor_max_index for zero length arrays.
4481 (pop_init_level): Allow initialization of flexible array
4482 members. Deprecate initialization of zero length arrays.
4483 Don't issue missing initializer warning for flexible array
4484 members or zero length arrays.
4485 (process_init_element): Don't dereference null DECL_SIZE.
4486 * varasm.c (array_size_for_constructor): Return a HOST_WIDE_INT.
4487 Don't abort for empty constructors. Use size_binop
825b6926 4488 (output_constructor): Add commentary regarding zero length
ffc5c6a9
RH
4489 array futures. Abort if we try to initialize an array of
4490 unspecified length with a non-empty constructor in the middle
4491 of a structure.
4492
4493 * extend.texi (Zero Length): Update and clarify documentation
4494 on static initialization.
4495
69f6e760
MH
44962001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4497
4498 * config/c4x/c4x.c (c4x_expand_prologue): Don't compile an ISR
4499 with more than 32767 words of local storage.
4500
06dd70c6
MH
45012001-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4502
4503 * config/c4x/c4x.c (c4x_init_builtins): Remove builtin support
4504 for 'abs', 'labs', and 'fabs'.
4505 (c4x_expand_builtin): Likewise.
4506 * config/c4x/c4x.h (enum c4x_builtins): Likewise.
4507
99e87c10
AO
45082001-01-05 Alexandre Oliva <aoliva@redhat.com>
4509
4510 * config/sh/sh.md (prget, prset): New insn types.
4511 (return delay slot): Dont' allow prset.
4512 (call, sfunc delay slot): Don't allow prget.
4513 (movsi_i, movsi_ie, movsi_i_lowpart): Create separate alternatives
4514 for prset and prget.
4515
576d0b54 45162001-01-05 Michael Hayes <mhayes@redhat.com>
825b6926 4517
f1d4ac80
MH
4518 * loop.h (struct loop_reg): New.
4519 (struct loop_regs): Change to use array of `struct loop_reg'.
4520 * loop.c: Replace assortment of varrays with single regs array.
4521 (count_one_set): Delete may_not_move array argument
4522 and use regs array instead. All caller's changed.
4523 (count_loop_regs_set): Delete may_not_move and single_usage
4524 arguments and use regs array instead. All caller's changed.
4525 (find_single_use_in_loop): Replace usage array argument with pointer
4526 to regs structure. All caller's changed.
4527 (loop_optimize): Delete `moved_once' array.
4528
45292001-01-05 Michael Hayes <mhayes@redhat.com>
825b6926 4530
576d0b54
MH
4531 * loop.c (prescan_loop): Set loop_info->has_nonconst_call.
4532 Use it instead of loop_info->has_call for scanning loop mems.
4533 (check_dbra_loop): Replace loop_info->has_call test with
4534 loop_info->has_nonconst_call.
4535
616af7ee
MH
45362000-01-04 Matthew Hiller <hiller@redhat.com>
4537
4538 * config/sh/sh.h (EPILOGUE_USES): Recognize fpscr as epilogue-used
4539 for TARGET_SH3E.
4540
32812a40
JM
45412001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
4542
4543 * fold-const.c (fold): When folding a CONJ_EXPR of a COMPLEX_CST,
4544 use TREE_REALPART and TREE_IMAGPART instead of TREE_OPERAND.
4545
eaa7c03f
JM
45462001-01-04 Joseph S. Myers <jsm28@cam.ac.uk>
4547
4548 * c-common.c (SIZE_TYPE, WCHAR_TYPE): Define.
4549 (flag_short_double, flag_short_wchar): Define.
4550 (c_common_nodes_and_builtins): Create many tree nodes shared
4551 between C and C++ here instead of in cp/decl.c and ...
4552 * c-decl.c (init_decl_processing): ... here.
4553 (SIZE_TYPE, WCHAR_TYPE): Don't define.
4554 (flag_short_double, flag_short_wchar): Don't define.
4555 (record_builtin_type): New function.
4556 (build_void_list_node): New function.
4557 * c-common.h (flag_short_double, flag_short_wchar,
4558 record_builtin_type, build_void_list_node): Declare.
4559
e2a5f96b
R
4560Thu Jan 4 21:09:47 2001 J"orn Rennecke <amylaar@redhat.com>
4561
4562 * integrate.c (expand_inline_function): Don't put a virtual
4563 register into the reg map.
4564
4565 * function.c (fixup_var_refs_1): If force_operand didn't put
4566 the address into the target, move it there.
4567
2be510b8
MM
45682001-01-04 Mark Mitchell <mark@codesourcery.com>
4569
4570 Special-case tree_decl/tree_list allocations.
4571 * ggc-page.c (OBJECT_PER_PAGE): Reimplement.
4572 (OBJECT_SIZE): New macro.
4573 (NUM_EXTRA_ORDER): Likewise.
4574 (extra_order_size_table): New variable.
4575 (NUM_ORDERS): New macro.
4576 (objects_per_page_table): New variable.
4577 (object_size_table): New variable.
4578 (G.pages): Use NUM_ORDERS to bound the array.
4579 (G.page_tails): Likewise.
4580 (DIV_ROUND_UP): Remove.
4581 (BITMAP_SIZE): Use CEIL, instead of DIV_ROUND_UP.
4582 (alloc_page): Use OBJECT_SIZE.
4583 (size_lookup): Don't make it const.
4584 (ggc_alloc): Use OBJECT_SIZE.
4585 (ggc_set_mark): Likewise.
4586 (ggc_get_size): Likewise.
4587 (init_ggc): Set up the object_size_table, objects_per_page_table,
4588 and adjust size_lookup.
4589 (ggc_recalculate_in_use_p): Use CEIL, not DIV_ROUND_UP.
4590 (ggc_pop_context): Use NUM_ORDERS.
4591 (clear_marks): Likewise.
4592 (sweep_pages): Likewise.
4593 (poison_pages): Likewise.
4594 (ggc_print_statistics): Use OBJECT_SIZE.
4595
bf1aaf0a
RK
4596Thu Jan 4 15:54:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4597
4598 * varasm.c (output_constructor): Use HOST_WIDE_INT for sizes.
4599 Only call array_size_for_constructor if last field and array type
4600 with no upper bound.
4601
ceebdb09
PB
46022001-01-04 Philip Blundell <philb@gnu.org>
4603
4604 * config/arm/arm.c (arm_gen_constant): Prefer to emit constants
4605 from bit 31 downwards, if this requires no more insns.
4606 (count_insns_for_constant): New helper function for above.
4607
1fd4f141
AO
46082001-01-04 Alexandre Oliva <aoliva@redhat.com>
4609
4610 * gencodes.c (output_predicate_decls): Remove empty initializer.
4611
3af4c257
MM
46122001-01-04 Mark Mitchell <mark@codesourcery.com>
4613
4614 * tree.c (copy_node): Remove documentation about obstacks.
4615 (buidl1): Check that nobody tries to build 2-argument nodes this
4616 way.
4617
30472f46
KG
46182001-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4619
a41d0855
KG
4620 * sparc.h (PREDICATE_CODES): Delete fp_sethi_p, fp_mov_p and
4621 fp_high_losum_p.
4622
30472f46
KG
4623 * gencodes.c (output_predicate_decls): Fill empty initializer
4624 braces.
4625
c3843cea
JJ
46262001-01-04 Jakub Jelinek <jakub@redhat.com>
4627
4628 * tradcpp.c (deps_file, print_deps_missing_files): New variables.
4629 (main): Handle -MG, -MD, -MMD. Bail out if -MG is given without -M
4630 or -MM.
4631 (do_include): Handle missing headers like cpp0.
4632 * cppfiles.c (_cpp_execute_include): Don't prefix absolute header
4633 paths with first include pathname. Don't strcat to uninitialized
4634 string.
4635
f4d578da
BS
46362001-01-04 Bernd Schmidt <bernds@redhat.com>
4637
4638 * regrename.c (regrename_optimize): Don't rename from frame pointer
4639 if frame_pointer_needed.
4640 (do_replace): Don't set ORIGINAL_REGNO to a hard register number.
4641 * config/ia64/ia64.c (emit_all_group_insn_barriers): New function.
4642 (ia64_reorg): Use it instead of scheduling if ! optimize.
4643 (errata_emit_nops): Properly call asm_noperands.
4644 (ia64_sched_reorder): Finish cycle if we see an asm.
4645 (ia64_variable_issue): Clear scheduling state after asms.
4646
03b9ab42
NB
46472001-01-04 Neil Booth <neil@daikokuya.demon.co.uk>
4648
825b6926
ZW
4649 * cpp.texi: Update for -MT.
4650 * cppinit.c (initialize_dependency_output): Add a default
4651 target if none has been given already.
4652 (no_tgt, OPT_MT): New.
4653 (cpp_handle_option): Handle -MT. Update -M etc.
4654 * cpplib.h (struct cpp_options): Remove deps_target.
4655 * gcc.c (cpp_options): Handle -MT.
4656 * mkdeps.c (struct deps): Move from mkdeps.h.
4657 (deps_calc_target): Rename deps_add_default_target. Add a
4658 default target if none has been specified already.
4659 * mkdeps.h (struct deps): Move to mkdeps.c.
4660 (deps_calc_target): Rename deps_add_default_target.
03b9ab42 4661
584ef5fe
RH
46622000-01-03 Richard Henderson <rth@redhat.com>
4663
4664 * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
4665 Remove dead code.
4666 * c-typeck.c (push_init_level): Move checks for flexible array
4667 members and zero length arrays ...
4668 (pop_init_level): ... here. Silently discard empty initializations.
4669 Remove dead code.
4670 * varasm.c (output_constructor): Update for sizeof change to
4671 zero-length arrays.
4672
4673 * extend.texi (Zero Length): Clarify semantics.
4674
04d430b8
AO
46752001-01-03 Alexandre Oliva <aoliva@redhat.com>
4676
4677 * configure.in (tm.h): Include isns-codes.h last.
4678 * configure: Rebuilt.
4679
e55a9a6e
RH
46802001-01-03 Richard Henderson <rth@redhat.com>
4681
4682 * config/alpha/alpha.md (addvsi3, addvdi3): New.
4683 (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.
825b6926 4684
fa5db828
FS
46852001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4686
4687 * tradcpp.c (main): Make sure finclude() is called with a valid
4688 indepth value while handling -include.
4689
975d393a
AO
46902001-01-03 Alexandre Oliva <aoliva@redhat.com>
4691
4692 * gencodes.c (output_predicate_decls): New function.
4693 (main): Call it.
4694 * machmode.h (GET_MODE_MASK): Arrange for it to be defined
4695 even if it is not the first time machmode.h is #included.
4696 * config/sh/sh.c (fpul_operand): Declare MODE argument.
4697 * tm.texi (PREDICATE_CODES): Document predicate declarations.
4698 * gcc.texi (Copyright): Added 2001.
4699
03dc0325
JM
47002001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
4701
4702 * c-common.c (c_common_lang_init): New function. Warn if format
4703 warning options which only have effects when used with -Wformat
4704 are used without -Wformat.
4705 * c-common.h (c_common_lang_init): Declare.
4706 * c-lang.c (lang_init): Call c_common_lang_init.
4707 * objc/objc-act.c (lang_init): Call c_common_lang_init.
4708
955be633
JM
47092001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
4710
4711 * configure.in: Check for the mktemp command.
4712 * configure: Regenerate.
4713 * gccbug.in: Use a separate temporary file $TEMP0 for one use of
4714 $TEMP. Create temporary files with mktemp, if available at
4715 configure time; otherwise use set -C. Remove temporary files
4716 before exit.
4717
fd939e46
JM
47182001-01-03 Joseph S. Myers <jsm28@cam.ac.uk>
4719
4720 * configure.in: Require at least texinfo 4.0. Check for whether
4721 Pod::Man is sufficiently recent to regenerate GCC manpages.
4722 * configure: Regenerate.
4723 * Makefile.in (TEXI2POD): Call perl explicitly rather than relying
4724 on #!.
4725 (GENERATED_MANPAGES): Define.
4726 (generated-manpages): New target. Depend on cpp.1 as well as
4727 gcov.1.
4728 (install-man): Depend on $(GENERATED_MANPAGES) (defined by
4729 configure to generated-manpages or empty) rather than on the
4730 manpages directly. Remove execute permission from installed
4731 gcov.1 as well as cpp.1.
4732 * cpp.1, gcov.1: Regenerate.
4733
819c1488
KG
47342001-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4735
4736 * builtins.c (expand_builtin_strncmp): Use host_integerp and
4737 tree_low_cst. Allow using cmpstrsi in more cases.
4738
f07d22aa
RK
4739Wed Jan 3 10:48:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4740
4741 * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
4742 sized types.
4743
7ccb4206
AO
4744Wed Jan 3 12:22:32 2001 Alexandre Oliva <aoliva@redhat.com>
4745
4746 * build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
4747 * Makefile.in (HOST_CFLAGS): Mention build-make.
4748
a338321e
RK
4749Wed Jan 3 08:53:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4750
4751 * config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
4752 as JUMP_INSN.
4753
432fd734
BS
47542001-01-01 Bernd Schmidt <bernds@redhat.com>
4755
4756 * builtins.c (expand_builtin_return_addr): Don't use MEM_ALIAS_SET on
4757 a REG rtx.
4758
2be28ee2
BS
4759 * cse.c (cse_rtx_varies_p): Accept additional FROM_ALIAS arg. All
4760 callers changed.
4761
713f41f9
BS
4762 * alias.c (throughout): Use ORIGINAL_REGNO when accessing
4763 reg_base_value and reg_known_value arrays.
4764 (init_alias_analysis): Add more cases to detect known values.
4765 * sched-deps.c (deps_may_trap_p): New function.
4766 (sched_analyze_2): Use it.
4767
8f8d8d6e
AO
47682001-01-03 Alexandre Oliva <aoliva@redhat.com>
4769
4770 * combine.c (simplify_shift_const): Even if we're sign-extracting,
4771 don't discard an ASHIFTRT if we're shifting in a wider mode.
4772
232a132f
JDA
47732000-01-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
4774
4775 * toplev.c (rest_of_compilation): Don't print basic block information
4776 when CFG isn't up to date.
4777
19723541
ME
47782001-01-02 Mark Elbrecht <snowball3@bigfoot.com>
4779
4780 * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
4781 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
4782 (UNALIGNED_SHORT_ASM_OP): Define.
4783 (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.
4784
55560b9d
MM
47852001-01-02 Mark Mitchell <mark@codesourcery.com>
4786
4787 * fold-const.c (fold_convert): Fix typo.
4788
4f78b9a8
RH
47892001-01-02 Richard Henderson <rth@redhat.com>
4790
4791 * c-common.h (ASM_INPUT_P): New.
4792 * c-parse.in (asm): Set it when needed.
825b6926 4793 * c-semantics.c (genrtl_asm_stmt): Test it instead of the
4f78b9a8
RH
4794 existance of an operand.
4795
e2134eea
JH
4796Tue Jan 2 20:27:07 MET 2001 Jan Hubicka <jh@suse.cz>
4797
4798 * dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
4799 (dwarf2out_frame_debug_expr): Likewise.
4800 (mem_loc_descriptor): Handle PRE and POST_MODIFY.
4801
2b589241
JH
4802Tue Jan 2 20:21:31 MET 2001 Jan Hubicka <jh@suse.cz>
4803
4804 * i386.c (ix86_split_to_parts): Return number of part required;
4805 handle TFmodes.
4806 (print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
4807 TFmodes.
4808 (ix86_split_long_move): Use number of part returned
4809 by ix86_split_to_parts
4810 * i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
4811 New macros.
4812 (TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
4813 (LONG_DOUBLE_TYPE_SIZE): Change from constant.
4814 (MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
4815 (INTEL_EXTENDED_IEEE_FORMAT): Likewise.
4816 (ALIGN_MODE_128): Add TFmode.
4817 (IS_STACK_MODE): Likewise.
4818 (HARD_REGNO_NREGS): TFmode needs 3 registers.
4819 (HARD_REGNO_OK): Support TFmodes.
4820 (ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
4821 * i386.md (scheduler definitions): Use memory operand to determine
4822 fst/fld instructions; use mode attribute to determine real mode of
4823 the instruction.
4824 (*tf): New patterns, expanders and splitters; based on XFmode patterns.
4825 * invoke.texi (128bit-long-double, 96bit-long-double): Document.
4826
330aa9a3
MM
48272001-01-02 Mark Mitchell <mark@codesourcery.com>
4828
4829 * tree.def (TRUTH_NOT_EXPR): Improve documentation.
4830
e0339ef7
RK
4831Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
4832
4833 * expr.c (store_constructor_field): Update ALIGN before calling
4834 store_constructor.
4835
d07bec95
JO
48362001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
4837
4838 * config/mips/mips.c (function_arg): Don't pass NULL_TREE to
4839 host_integerp.
4840
3719d27b
JO
48412001-01-02 Jeffrey Oldham <oldham@codesourcery.com>
4842
4843 * tm.texi (FUNCTION_ARG): Document that @var{type} can be an
4844 incomplete type.
4845
6d1c15cc
RK
4846Tue Jan 2 10:47:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
4847
4848 * c-decl.c (start_function): Don't warn on third parameter to main.
4849
16b97540
KG
48502001-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4851
4852 * tsystem.h: Define HAVE_DECL_GETOPT.
4853
8515dc81
PB
48542001-01-02 Philip Blundell <pb@futuretv.com>
4855
825b6926 4856 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber
8515dc81
PB
4857 of input operand.
4858
6f85e02b
RH
48592001-01-02 Richard Henderson <rth@redhat.com>
4860
4861 * alpha.md (*ze_and_ne): Duplicate insn condition to split.
4862
21c7361e
AJ
48632001-01-02 Andreas Jaeger <aj@suse.de>
4864
4865 * c-decl.c (c_decode_option): Remove support of
4866 -Wmissing-noreturn.
4867
4868 * toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
4869 (W_options): Add -Wmissing-noreturn here.
4870
4871 * flow.c: Define lang_missing_noreturn_ok_p.
4872 (check_function_return_warnings): Use it.
4873
4874 * c-common.h: Declare lang_missing_noreturn_ok_p.
4875
4876 * c-lang.c (c_missing_noreturn_ok_p): New function.
4877 (lang_init): Set lang_missing_noreturn_ok_p.
4878
4879 * invoke.texi (Warning Options): Document this.
4880
5c25e11d
PE
48812000-12-27 Phil Edwards <pme@sources.redhat.com>
4882
4883 * extend.texi (C++ Extensions): New node for C++ attributes;
4884 describe init_priority and com_interface.
4885 * invoke.texi: Remove -finit-priority as it now has zero effect.
4886 * install.texi: Fix xref syntax.
4887 * md.texi: Likewise.
4888
d1608933
RK
4889Mon Jan 1 21:28:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4890
e428b937
RK
4891 * config.gcc (sparc64-wrs-vxworks*): New case.
4892 * config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.
4893
3276910d
RK
4894 * config/sparc/sparc.c (sparc_override_options): Do support different
4895 pointer and architecture size.
4896 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
4897 (POINTERS_EXTEND_UNSIGNED): Define.
4898 (Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
4899 (FUNCTION_MODE): Define to be Pmode.
4900 * config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.
4901
d1608933
RK
4902 * function.c (expand_function_end): Properly handle DECL_RESULT
4903 and copy when ptr_mode != Pmode.
4904 * expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.
4905
c2e42aab
KG
49062001-01-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4907
4908 * c-common.c (c_common_nodes_and_builtins): Set prototype
4909 parameters for __builtin_fputs, __builtin_fputc and
4910 __builtin_fwrite. Don't declare plain fputc as a builtin.
4911
5b1ef594
JDA
49122001-01-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
4913
825b6926
ZW
4914 * loop.c (add_label_notes): Increment the label usage count when
4915 a note is added to an insn which refers to a CODE_LABEL.
4916 * gcse.c (add_label_notes): Likewise.
5b1ef594 4917
021d7b26
AJ
49182001-01-01 Andreas Jaeger <aj@suse.de>
4919
4920 * loop.c (scan_loop): Use xmalloc to allocate movables.
4921
cf011243
AO
49222001-01-01 Alexandre Oliva <aoliva@redhat.com>
4923
4924 * tm.texi (REGISTER_MOVE_COST): Add a mode argument.
4925 * reload.c (REGISTER_MOVE_COST): Likewise. Adjust all callers.
4926 * reload1.c (REGISTER_MOVE_COST): Likewise.
4927 * regclass.c (REGISTER_MOVE_COST): Likewise.
4928 (move_cost, may_move_in_cost, may_move_out_cost): Add mode
4929 dimension. Adjust all users.
4930 (init_reg_sets_1): Iterate on all modes.
4931 * config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
4932 * config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
4933 * config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
4934 * config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
4935 * config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
4936 * config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
4937 * config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
4938 * config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
4939 * config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
4940 * config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
4941 * config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
4942 * config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
4943 * config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
4944 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
4945 * config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
4946 * config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
4947 * config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
4948 * config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
4949 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
4950 * config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
4951 * config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
4952 * config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
4953 * config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
4954 * config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
4955 * config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
4956 * config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
4957 * config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.
4958
e38fe8e0
BS
49592001-01-01 Bernd Schmidt <bernds@redhat.com>
4960
4961 * alias.c (fixed_scalar_and_varying_struct): Adjust prototype of
4962 arg VARIES_P. Call it with extra arg.
4963 (true_dependence): Likewise.
4964 * rtl.h (rtx_addr_can_trap_p): Declare.
4965 (rtx_varies_p, rtx_addr_varies_p, true_dependence): Update
4966 prototypes.
4967 * rtlanal.c (rtx_addr_can_trap_p): No longer static.
4968 (rtx_varies_p): Accept extra arg FOR_ALIAS; only disallow
4969 pic offset table register if it's zero. All callers changed.
4970 (rtx_addr_varies_p): Accept extra arg FOR_ALIAS; all callers changed.
4971
7a2bf7af
RK
4972Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4973
7d797311
RK
4974 * explow.c (convert_memory_address, case SYMBOL_REF): Copy
4975 STRING_POOL_ADDRESS_P.
4976
4746e0fe
RK
4977 * config/sparc/sparc.c (input_operand): Properly test for short op.
4978
fbd68e5d
RK
4979 * config.gcc (sparc-*-elf): Include sparc/sol2.h.
4980 (sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
4981 (sparclite-*-elf*, sparc86x-*-elf*): Likewise.
4982 * config/sparc/elf.h: No longer include sol2.h.
4983 * config/sparc/lifeelf.h: No longer include sparc/elf.h.
4984 * config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
4985
7a2bf7af
RK
4986 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
4987
14be28e5
MH
49882001-01-01 Michael Hayes <mhayes@redhat.com>
4989
86fee241
MH
4990 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
4991 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
4992 (record_initial): Likewise.
4993 * unroll.c (copy_loop_body, loop_iterations): Likewise.
4994 (remap_split_bivs): Likewise.
4995
21c7361e 49962001-01-01 Michael Hayes <mhayes@redhat.com>
86fee241 4997
b2735d9a
MH
4998 * loop.c (loop_ivs_free): New function.
4999 (strength_reduce): Break out from...
5000
50012001-01-01 Michael Hayes <mhayes@redhat.com>
21c7361e 5002
14be28e5
MH
5003 * loop.h (struct iv): New.
5004 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
5005 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
5006 'reg_biv_class' fields with 'regs' and 'n_regs'.
5007 (struct ivs): Rename 'loop_iv_list' field to 'list'.
5008 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
5009 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
5010
1d2215fe
AO
50112000-12-31 Alexandre Oliva <aoliva@redhat.com>
5012
5013 * resource.c (mark_referenced_resources): Abort() before
5014 attempting to mark a pseudo register.
5015 (mark_set_resources): Likewise.
5016
8b634749
MH
50172001-01-01 Michael Hayes <mhayes@redhat.com>
5018
5019 * loop.h (REG_IV_CLASS): New accessor macro.
5020 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
5021 * unroll.c (REG_IV_CLASS): Likewise.
21c7361e 5022
38fd12ea 5023See ChangeLog.4 for earlier changes.