]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
gcc.c, [...]: Use American spelling in messages.
[gcc.git] / gcc / ChangeLog
CommitLineData
1737c953
JM
12001-12-15 Joseph S. Myers <jsm28@cam.ac.uk>
2
3 * gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
4 American spelling in messages.
5 * po/gcc.pot: Regenerate.
6
7fcd4787
KH
72001-12-15 Kazu Hirata <kazu@hxi.com>
8
9 * config/h8300/h8300.md: Adjust whitespacing. Remove
10 constraints from expanders. Replace \@ with @.
11
7b07d808
RE
122001-12-15 Richard Earnshaw <rearnsha@arm.com>
13
14 * arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.
15
22c56562
UW
162001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
17
18 * regrename.c (copyprop_hardreg_forward): Do not keep register
19 value data live across abnormal call or eh egdes.
20
3a531a8b
RK
21Sat Dec 15 08:29:45 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
22
23 * expr.c (highest_pow2_factor, case INTEGER_CST): Return
24 BIGGEST_ALIGNMENT for 0.
25
dcfcd436
JH
26Sat Dec 15 14:13:03 CET 2001 Jan Hubicka <jh@suse.cz>
27
3a531a8b
RK
28 * predict.def (PRED_NORETURN): Make probabilities match reality.
29 (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL, PRED_ERROR_RETURN):
30 Likewise.
dcfcd436 31
275b60d6
JJ
322001-12-15 Jakub Jelinek <jakub@redhat.com>
33
34 * configure.in: Check for ld.
35 (HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
36 * configure, config.in: Rebuilt.
37 * config.gcc: Add crtbeginT.o to extra_parts where needed.
38 * config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
39 frame unwinding on Linux.
40 * config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
41 frame unwinding.
42 * config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
43 (LINK_EH_SPEC): Define.
44 * config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
45 * config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
46 * config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
47 iterate further if pc falls into current library, but fde was not
48 found.
49 * config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
50 if using glibc.
51 (LINK_EH_SPEC): Define.
52 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
53 Use crtbeginT.o for -static.
54 (LINK_EH_SPEC): Define.
55 * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
56 * Makefile.in (crtbeginT.o): Add rule.
57 * gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
58 If neither -static-libgcc nor -shared-libgcc is passed and -shared,
59 use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
60 If none of the above switches are passed, use -lgcc -lgcc_eh.
61 (init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
62 * mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
63 creating libgcc_s.so, put them into separate libgcc_eh.a instead.
64 * unwind-dw2-fde.c: Don't include any headers if this file
65 is included from other .c file.
66 * unwind-dw2-fde-glibc.c: New file.
67 * crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
68 Use it instead of EH_FRAME_SECTION_NAME where appropriate.
69
88f92c0f
KG
702001-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
71
72 * builtins.c (expand_builtin_memcmp): Mark parameter with
73 ATTRIBUTE_UNUSED.
74 * cfgcleanup.c (insns_match_p): Likewise.
75 * regrename.c (mode_change_ok): Likewise.
76 * gcc.c (execute): Const-ify.
77
d3b4cd6f
AH
782001-12-14 Aldy Hernandez <aldyh@redhat.com>
79
80 * c-parse.in (typename): Do not split attributes.
81 Remove unsupported attributes warning.
82
83 * c-decl.c (groktypename): Apply attributes.
84
892a4e60
RH
852001-12-14 Richard Henderson <rth@redhat.com>
86
87 * config/ia64/ia64.c (spill_restore_mem): Mark iterator
88 initialization as possibly dead.
89
8610ba70
RH
902001-12-14 Richard Henderson <rth@redhat.com>
91
92 * regrename.c (mode_change_ok): New.
93 (find_oldest_value_reg): Use it.
94
752ae914
RH
952001-12-14 Richard Henderson <rth@redhat.com>
96
97 * regrename.c (struct value_data): Add max_value_regs.
98 (init_value_data): Initialize it.
99 (kill_value): Kill values that overlap the dying register.
100 (set_value_regno): New.
101 (kill_set_value, kill_autoinc_value, copy_value): Use it.
102 (copyprop_hardreg_forward_1): Kill earlyclobber operands
103 before looking at inputs.
104
ebd97b96
DE
1052001-12-14 David Edelsohn <edelsohn@gnu.org>
106
107 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Handle
108 DECL_WEAK for function descriptors.
109 * config/rs6000/xcoff.h (HANDLE_PRAGMA_WEAK): Define if assembler
110 weak support present.
111 (ASM_WEAKEN_LABEL): Same.
112
103c41c1
KH
1132001-12-14 Kazu Hirata <kazu@hxi.com>
114
115 * config/h8300/h8300.md (anonymous pattern): Add a missing
116 mode.
117
e32815aa
KH
1182001-12-14 Kazu Hirata <kazu@hxi.com>
119
120 * config/h8300/h8300.c (h8300_adjust_insn_length): Fix a
121 comment typo.
122
64378c91
KH
1232001-12-14 Kazu Hirata <kazu@hxi.com>
124
125 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
126 Remove the initialization requierment.
127 (h8300_handle_tiny_data_attribute): Likewise.
128
05fb1639
KH
1292001-12-14 Kazu Hirata <kazu@hxi.com>
130
131 * config/h8300/h8300.md (udivqi3): Remove.
132 (divqi3): Likewise.
133 (udivhi3): Likewise.
134 (divhi3): Likewise.
135 (umodqi3): Likewise.
136 (modqi3): Likewise.
137 (umodhi3): Likewise.
138 (modhi3): Likewise.
139 (udivmodqi3): New.
140 (divmodqi3): Likewise.
141 (udivmodhi3): Likewise.
142 (divmodhi3): Likewise.
143
08f7f057
JH
144Sat Dec 15 01:39:12 CET 2001 Jan Hubicka <jh@suse.cz>
145
146 * cfgcleanup.c (flow_find_cross_jump): Replace tests for note
147 by active_insn_p; count conditional jump as instruction.
148
aa28f076
DD
1492001-12-14 DJ Delorie <dj@redhat.com>
150 Danny Smith <dannysmith@users.sourceforge.net>
151
152 * config/i386/cygwin.h (I386_PE_STRIP_ENCODING): Handle '*'
153 at SYM_NAME[0] or SYM_NAME[3].
154 (STRIP_NAME_ENCODING): Don't check for leading '*'.
155
99f78cdd
IR
1562001-12-14 Ira Ruben <ira@apple.com>
157
158 Add -### option (displays driver-generated commands without
159 executing and quotes all arguments).
160 * doc/invoke.texi: Add -###.
161 * gcc.c (verbose_only_flag) - New flag.
162 * (execute): If -### write quoted arguments and return.
163 * (display_help): Print meaning of -###.
164 * (process_command): Handle -###.
165
1662001-12-14 Ira Ruben <ira@apple.com>
167
168 Fix to no allow -save-temps to clobber user's source file.
169 * gcc.c: Add static globals input_stat and input_stat_set.
170 (do_spec_1): For 'g', 'u', 'U' case with save_temps_flag
171 set, check that user's input file is not overwritten.
172 (set_input): Reset input_stat_set for each new file.
173
27b2c32e
JH
174Fri Dec 14 22:14:44 CET 2001 Jan Hubicka <jh@suse.cz>
175
176 * predict.c (estimate_probability): Fix LOOP_EXIT heuristic.
177
29655d3d
ZW
1782001-12-14 Zack Weinberg <zack@codesourcery.com>
179
180 * combine.c (record_dead_and_set_regs): Use
181 regs_invalidated_by_call. Don't note stores for CALL_INSNs.
182
dc6f4158
AJ
1832001-12-14 Roger Sayle <roger@eyesopen.com>
184
185 * builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
186 __builtin_fsqrt to __builtin_sqrt.
187
188 * builtins.c (expand_builtin_mathfn,expand_builtin): Same.
189 * doc/extend.texi: Simplify documentation to match patch.
190
f4365627
JH
191Fri Dec 14 21:23:54 CET 2001 Jan Hubicka <jh@suse.cz>
192
193 * config.gcc: Revamp target_cpu_default2 to strings;
194 support new x86 variants.
195 * i386.c (override_options): Default x86_cpu_string and x86_arch_string
196 properly; set prefetch_sse.
197 * i386.h (x86_prefetch_sse): Declare.
198 (TARGET_PREFETCH_SSE): New.
199 (CPP_CPU_DEFAULT_SPEC): Define according to the new macros.
200 (TARGET_CPU_DEFAULT_*): New.
201
202Thu Dec 13 21:57:13 CET 2001 Janis Johnson <janis187@us.ibm.com>
203 Jan Hubicka <jh@suse.cz>
204
205 * config/i386/i386.h (struct processor_costs): Add new members
206 prefetch_block and simultaneous_prefetches.
207 (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): New.
208 * config/i386/i386.c (processor_costs structs): Add values for
209 prefetch_block and simultaneous_prefetches.
210 * config/i386/i386.md (unspec values): Remove values for prefetch
211 operations, which now use the PREFETCH rtx code.
212 (prefetch_sse, prefetch_3dnow, prefetchw): Combine to use new
213 unified prefetch support.
214
4ff8507e
JM
2152001-12-14 Jason Merrill <jason@redhat.com>
216
217 * diagnostic.c (sorry): Increment sorrycount before saving the
218 buffer state.
219
abf80f8f
JH
220Fri Dec 14 19:53:23 CET 2001 Jan Hubicka <jh@suse.cz>
221
222 * i386.md (sqrt?f): Fix conditionals.
223
c1bd46a8
DR
224Fri Dec 14 07:29:52 2001 Douglas B. Rupp <rupp@gnat.com>
225
b6bfa876
DR
226 * config.gcc (alpha64-dec-*vms*): New case.
227 * config/alpha/t-vms64, config/alpha/vms-crt0-64.c: New files.
228 * config/alpha/vms-psxcrt0-64.c, config/alpha/vms64.h: Likewise.
229 * config/alpha/xm-vms64.h: Likewise.
230
c1bd46a8
DR
231 * config/alpha/alpha.c (vms_attribute_table): Add new attributes.
232 (alpha_write_linkage): Test for null alpha_links.
233 (SECTION_VMS_GLOBAL, SECTION_VMS_INITIALIZE): New section attributes.
234 (vms_section_type_flags, vms_asm_named_section): Handle them.
235
965f5423
JH
236Fri Dec 14 12:05:14 CET 2001 Jan Hubicka <jh@suse.cz>
237
238 * i386.c (ix86_fpmath, ix86_fpmath_string): New.
239 (override_option): Set ix86_fpmath.
240 * i386.h (MASK_MIX_SSE_I387): Remove.
241 (TARGET_SSE_MATH): New.
242 (TARGET_MIX_SSE_I387): Use ix86_fpmath.
243 (TARGET_SWITCHES): Remove "mix-sse-i387".
244 (fpmath_unit): New enum.
245 (ix86_fpmath, ix86_fpmath_string): Declare.
246 * i386.md (swapsf): Fix condition.
247 (add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
248 (fp_?f_*_nosse): New.
249 (fp_*): Use TARGET_SSE_MATH.
250 * invoke.texi (-mfpmath): Document.
251 (-msse2): Add.
252
a4cf1d85
JM
2532001-12-14 Jason Merrill <jason@redhat.com>
254
255 * dwarf2out.c (output_die): Print the string in the comment for
256 a DW_FORM_strp.
257
172270b3
RE
2582001-12-14 Richard Earnshaw <rearnsha@arm.com>
259
260 * netbsd.h (COLLECT_SHARED_INIT_FUNC)
261 (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
262 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
263 (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
264
3de23727
RH
2652001-12-13 Richard Henderson <rth@redhat.com>
266
267 * regrename.c (kill_value_regno): Simplify chain removal.
268 (kill_value): Kill all of HARD_REGNO_NREGS.
269 (kill_set_value): Use kill_value not kill_value_regno.
270 (kill_autoinc_value): Likewise.
271 (copyprop_hardreg_forward): Don't collect refresh_blocks.
272 Call delete_noop_moves.
273
c3f23a53 2742001-12-13 Aldy Hernandez <aldyh@redhat.com>
803e8894 275
a4cf1d85 276 * attribs.c (c_common_attribute_table): Swap decl_req and type_req
803e8894 277 for the mode attribute.
a4cf1d85 278 (handle_mode_attribute): Handle types, not decls.
803e8894 279
ade3dc07
JM
2802001-12-13 Jason Merrill <jason@redhat.com>
281
282 * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
283
466eb3e0
AH
2842001-12-13 Aldy Hernandez <aldyh@redhat.com>
285
286 * config/rs6000/rs6000.md (eh_set_lr_di): Change scratch
752ae914
RH
287 constraint to base register.
288 (eh_set_lr_si): Same.
466eb3e0 289
05c8e58b
HPN
2902001-12-13 Hans-Peter Nilsson <hp@axis.com>
291
292 * expr.c (expand_expr, case ADDR_EXPR): Don't honor
293 flag_force_addr for modifier != EXPAND_CONST_ADDRESS,
294 modifier != EXPAND_INITIALIZER and modifier != EXPAND_SUM.
295
1ed1b4fb
RK
296Thu Dec 13 20:30:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
297
298 * expr.c (copy_blkmode_from_reg): Add missing braces to eliminate
299 warning and reformat comments.
300 (expand_assignment): Don't pass EXPAND_WRITE if LHS is component.
301 (highest_pow2_factor, case INTEGER_CST): Return BIGGEST_ALIGNMENT
302 if overflow.
303
10baca6b
AH
3042001-12-12 Aldy Hernandez <aldyh@redhat.com>
305
ade3dc07
JM
306 * config/rs6000/rs6000.c (rs6000_override_options): Add
307 SUBSUBTARGET_OVERRIDE_OPTIONS.
10baca6b 308
ade3dc07 309 * config/rs6000/eabialtivec.h: New file.
10baca6b
AH
310
311 * config/rs6000/linuxaltivec.h: New file.
312
313 * config.gcc: Add powerpc-*-eabialtivec and
314 powerpc-*-linux-gnualtivec.
315
a32274ad
NB
3162001-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
317
318 * toplev.c (process_options, parse_options_and_default_flags):
319 Set flag_no_inline before the post_options hook.
320
4a78c787
RH
3212001-12-13 Richard Henderson <rth@redhat.com>
322
323 * emit-rtl.c (adjust_address_1): Don't adjust address if adjust
324 is false.
325
414e05cf
RE
3262001-12-13 Richard Earnshaw <rearnsha@arm.com>
327
328 * collect2.c (COLLECT_SHARED_INIT_FUNC)
329 (COLLECT_SHARD_FINI_FUNC): Define default values.
dc6f4158 330 (write_c_file_stat): Use them to call construtor and destructor
414e05cf
RE
331 functions in shared libraries.
332 * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
333 (COLLECT_SHARD_FINI_FUNC): Document them.
334 * config/netbsd.h (COLLECT_SHARED_INIT_FUNC)
335 (COLLECT_SHARD_FINI_FUNC): Define.
336
337 * config/netbsd.h (LINK_SPEC): Don't pull in estart if creating a
338 shared library. Pass -shared through to the linker.
339 * config/arm/netbsd.h (LINK_SPEC): Likewise.
340
341 * config/arm/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -fpic.
342 (SHLIB_EXT, SHLIB_NAME, SHLIB_SONAME, SHLIB_OBJS, SHLIB_LINK)
343 (SHLIB_INSTALL): Define.
344
a3c48721
RE
3452001-12-13 Richard Earnshaw <rearnsha@arm.com>
346
347 * arm.c (legitimize_pic_address): Handle LABEL_REFs in substantially
348 the same way as we handle SYMBOL_REFS.
349
62ab1caf
RK
350Thu Dec 13 07:47:24 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
351
352 * loop.c (remove_constant_addition): Fix prototype and whitespace.
353 (emit_prefetch_instructions): Remove warnings and whitespace
354 changes.
355
c48f792c
DR
356Thu Dec 13 06:48:38 2001 Douglas B. Rupp <rupp@gnat.com>
357
358 * config/alpha/vms-cc.c (preprocess_args): Fix forward
359 declaration.
360
0dd0e980
JH
361Thu Dec 13 12:31:07 CET 2001 Jan Hubicka <jh@suse.cz>
362
363 * predict.c (estimate_probability): Reorganize opcode heuristics.
364 * predict.def (PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
365 PRED_FPOPCODE): New.
366
367 * i386.c (override_options): Recognize various CPU variants and set
368 SSE/MMX/3dNOW flags accordingly.
369 * i386.h (MASK_MMX_SET, MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET,
370 MASK_3DNOW_A_SET): New.
371 (MASK_ACCUMULATE_OUTGOING_ARGS_SET): New.
372 (MASK_NO_ACCUMULATE_OUTGOING_ARGS): Delete.
373 (MASK_*): Renumber.
374 (TARGET_FLAGS): Use new masks.
375 (CPP_CPU_SPECS): Recognize new CPU variants.
376 * invoke.texi (-mcpu): Update documentation.
377
378 * flags.h (flag_prefetch_loop_arrays): Declare.
379 * loop.h (LOOP_PREFETCH): Define new constant.
380 * loop.c (strength_reduce): Call emit_prefetch_instructions.
381 (MAX_PREFETCHES, PREFETCH_BLOCKS_BEFORE_LOOP_MAX,
382 PREFETCH_BLOCKS_BEFORE_LOOP_MIN, PREFETCH_BLOCKS_IN_LOOP_MIN): New
383 constants.
384 (check_store_data): New structure.
385 (check_store, emit_prefetch_instructions, rtx_equal_for_prefetch_p):
386 New functions.
387 * toplev.c: Include insn-flags.h.
388 (flag_prefetch_loop_arrays): New global variable.
389 (lang_independent_option): Add -fprefetch-loop-arrays.
390 (rest_of_compilation) Pass LOOP_PREFETCH when flag_prefetch_loop_arrays
752ae914 391 is set.
0dd0e980
JH
392 * Makefile.in (toplev.c): Depend on insn-flags.h.
393 * invoke.texi (-fprefetch-loop-arrays): Document.
394
395 * predict.c (estimate_probability): Distribute the loop exit
396 probability according to number of exit edges.
397
398 * cfgcleanup.c (insns_match_p): Break out from ...;
399 (flow_find_cross_jump): ... here;
400 (outgoing_edges_match): Add parameter MODE; attempt to match everything
401 except for tablejumps.
402 (try_crossjump_to_edge): Accept complex edges.
403 (try_crossjump_bb): Likewise.
404
aff8a8d5
CM
4052001-11-29 Corey Minyard <minyard@acm.org>
406
407 * recog.c (validate_replace_rtx_1): Use simplify_gen_binary
408 instead of plus_constant.
409 * simplify-rtx.c (neg_const_int): New.
410 (simplify_gen_binary, simplify_plus_minus): Use it.
411
c2bd38e8
RS
4122001-12-12 Roger Sayle <roger@eyesopen.com>
413
414 * builtins.c (expand_builtin_memset, expand_builtin_memcpy,
415 expand_builtin_strcpy): Additional arguments TARGET and MODE.
416 (expand_builtin_bzero, expand_builtin_strcpy,
417 expand_builtin_strncpy, expand_builtin_bzero): Pass additional
418 TARGET and MODE parameters to the above functions.
419 (expand_builtin_memset, expand_builtin_memcpy): Optimize the
420 case where the LEN parameter is constant zero.
421 (expand_builtin_memcmp): No longer conditional on
422 HAVE_cmpstrsi. Take an additional mode parameter. Optimize
423 the cases where len is either constant zero or one.
424 Optimize to call to memcpy, even if the memcpy isn't inlined.
425 (expand_builtin_strncpy): Optimize to call memcpy, even if the
426 memcpy isn't inlined.
427 (expand_builtin_strcmp, expand_builtin_strncmp): Always attempt
428 to optimize to a call to memcmp.
429 (expand_builtin): expand_builtin_memcmp can always be called,
430 and pass the required parameters to expand_builtin_memcmp,
431 expand_builtin_memset, expand_builtin_memcpy and
432 expand_builtin_strcpy.
433
5742588d
DB
4342001-12-12 David O'Brien <obrien@FreeBSD.org>
435
436 * config.gcc (arm-*-freebsd*): Add target.
437 * config/arm/freebsd.h: New file.
438 * config/arm/arm.h (CPP_PREDEFINES): Do not define.
439 (CPP_SPEC): #undef before defining.
440 (CPP_CPU_ARCH_SPEC): Add -Acpu=arm -Amachine=arm.
441 * config/arm/conix-elf.h (CPP_PREDEFINES): Remove -Acpu=arm
442 -Amachine=arm.
443 * config/arm/linux-elf.h: Likewise.
444 * config/arm/netbsd.h: Likewise.
445 * config/arm/riscix.h: Likewise.
446 * config/arm/riscix1-1.h: Likewise.
447 * config/arm/semiaof.h: Likewise.
448
8582c27b
RH
4492001-12-12 Richard Henderson <rth@redhat.com>
450
451 * regrename.c (copyprop_hardreg_forward): New optimization.
452 (kill_value_regno, kill_value, init_value_data, kill_clobbered_value,
453 kill_set_value, kill_autoinc_value, copy_value, find_oldest_value_reg,
454 replace_oldest_value_reg, replace_oldest_value_addr,
455 replace_oldest_value_mem, copyprop_hardreg_forward_1,
456 debug_value_data, validate_value_data): New.
457 * rtl.h (copyprop_hardreg_forward): Declare.
458 * toplev.c (flag_cprop_registers): New.
459 (f_options): Add -fcprop-registers
460 (rest_of_compilation): Invoke it.
461 (parse_options_and_default_flags): Set it at -O1.
462 * doc/invoke.texi: Document it.
463
2bee6045
JJ
4642001-12-12 Jakub Jelinek <jakub@redhat.com>
465
466 * dwarf2out.c (dw_val_class): Add dw_val_class_range_list.
467 (DEBUG_RANGES_SECTION_LABEL): Define.
468 (ranges_section_label): Add.
469 (add_AT_range_list): New.
470 (print_die, sizeof_die, value_format): Handle dw_val_class_range_list.
471 (output_loc_list): Location expression length is always 2-byte.
472 (output_die): Handle dw_val_class_range_list.
473 (gen_lexical_block_die): Call add_AT_range_list.
474 (dwarf2out_init): Initialize ranges_section_label.
475 (dwarf2out_finish): Emit ranges_section_label.
476
59c83dbf
JJ
4772001-12-12 Jakub Jelinek <jakub@redhat.com>
478
479 * c-typeck.c (digest_init): Allow initializing
480 static storage duration objects with compound literals.
481 * doc/extend.texi (Compound literals): Document the extension.
482
d14419e4
RH
4832001-12-12 Richard Henderson <rth@redhat.com>
484
485 * emit-rtl.c (adjust_address_1): Always copy address to avoid
486 shared rtl.
487
2d9d49e4
OH
488Wed Dec 12 07:37:52 2001 Olivier Hainque <hainque@act-europe.fr>
489
490 * stmt.c (expand_end_case): Do subtraction of lower bound as trees
491 to avoid overflow.
492
cdb29058
DR
493Wed Dec 12 07:35:24 2001 Douglas B. Rupp <rupp@gnat.com>
494
495 * cppfiles.c (read_include_file): Set buffer size properly when
496 file is shorter than expected.
497
ce960d5a
NP
498Wed Dec 12 08:35:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
499
500 * objc/objc-act.c (encode_complete_bitfield): Fixed encoding
501 enumeral types - encode them using 'i'.
502
ad1a6d45
NS
5032001-12-12 Nathan Sidwell <nathan@codesourcery.com>
504
505 * doc/extend.texi (Deprecated Features): Deprecate implicit
506 typename. Document that named return and initializer lists are now
507 removed.
508
3f2c5d1a
RS
5092001-12-11 Roger Sayle <roger@eyesopen.com>
510
511 * except.c (reachable_next_level): Handle ERT_UNKNOWN to avoid
512 compiler warning about enumeration values not being handled.
513
4a696ca8 5142001-12-11 Momchil Velikov <velco@fadata.bg>
3f2c5d1a 515
4a696ca8
MV
516 * config/fp-bit.c (pack_d): Cast to ``fractype'' for long long
517 shifts.
518
14291bc7
RH
5192001-12-11 Richard Henderson <rth@redhat.com>
520
521 * config/alpha/alpha.h (TARGET_FIXUP_EV5_PREFETCH): New.
522 * config/alpha/linux.h (TARGET_FIXUP_EV5_PREFETCH): New.
523 * config/alpha/alpha.md (prefetch): New.
524
8deb7514
RH
5252001-12-11 Richard Henderson <rth@redhat.com>
526
527 * combine.c (simplify_and_const_int): Simplify (AND (PLUS X Y) C)
528 if C has only low bits set and doesn't intersect with X or Y.
529
3dba4251
JW
530Tue Dec 11 23:58:39 EST 2001 John Wehle (john@feith.com)
531
532 * basic-block.h (flow_preorder_transversal_compute): Declare.
533 * cfganal.c (flow_preorder_transversal_compute): Implement.
534
f5f53ae3
JW
535Tue Dec 11 23:54:27 EST 2001 John Wehle (john@feith.com)
536
537 * cfganal.c (flow_depth_first_order_compute): Always
538 increment dfsnum.
539
a13287e1
AM
5402001-11-30 Alan Matsuoka <alanm@redhat.com>
541
3f2c5d1a 542 * combine.c (combine_simplify_rtx) : Can't simplify
a13287e1
AM
543 cases that use mode class MODE_CC.
544
a8c7e72d
RH
5452001-12-11 Richard Henderson <rth@redhat.com>
546
547 * expmed.c (expand_divmod): Ignore sdiv_pow2_cheap for modes in
548 which there is no divide expander.
549
98ce21b3
RH
5502001-12-11 Richard Henderson <rth@redhat.com>
551
552 * except.c (sjlj_find_directly_reachable_regions): Don't
553 consider RNL_BLOCKED a directly reachable region.
554 (sjlj_assign_call_site_values): Trust directly_reachable.
555 (sjlj_emit_dispatch_table): Likewise.
556
eb15dedd
RH
5572001-12-11 Richard Henderson <rth@redhat.com>
558
559 * config/alpha/alpha.md (divmodsi_internal_er): Split, so that
560 we represent the address load's dependency on the gp.
561 (divmoddi_internal_er): Likewise.
562 (divmodsi_internal_er_1, divmoddi_internal_er_1): New.
563
e7dfe4bb
RH
5642001-12-11 Richard Henderson <rth@redhat.com>
565
566 * emit-rtl.c (widen_memory_access): New.
567 * expr.h (widen_memory_access): Declare it.
568 * config/alpha/alpha.c (get_aligned_mem): Use it.
569
0051b6ca
RH
5702001-12-11 Richard Henderson <rth@redhat.com>
571
572 * combine.c (simplify_shift_const): Move SHIFT_COUNT_TRUNCATED
573 simplification above out of range check.
574
f3bfd09c
DN
5752001-12-11 Dan Nicolaescu <dann@ics.uci.edu>
576
577 * config/sparc/sparc.md (prefetch): New.
578
e817125d
AH
5792001-12-11 Aldy Hernandez <aldyh@redhat.com>
580
98ce21b3 581 * output.h (regno_uninitialized): Make argument unsigned.
e817125d 582
98ce21b3 583 * flow.c (regno_uninitialized): Make regno unsigned.
e817125d 584
aa97fdf3
DB
5852001-12-11 David O'Brien <obrien@FreeBSD.org>
586
587 * elfos.h (ENDFILE_SPEC, STARTFILE_SPEC): Do not define.
588 * config/cris/cris.h (ENDFILE_SPEC): Define.
589 * config/i386/i386elf.h ((ENDFILE_SPEC, STARTFILE_SPEC): Define.
590 * config/pa/elf.h: Likewise.
591
c66c59d1
RH
5922001-12-11 Richard Henderson <rth@redhat.com>
593
594 * objc/objc-act.c (build_string_class_template): New.
595 (build_objc_string_object): Call it.
596
0d7839da
SE
5972001-12-11 Steve Ellcey <sje@cup.hp.com>
598
599 * doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
600 * defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): New.
601 * calls.c (store_unaligned_arguments_into_pseudos): Check
602 FUNCTION_ARG_REG_LITTLE_ENDIAN to see how structures
603 are passed/returned.
604 * expr.c (move_block_from_reg): Ditto.
605 (move_block_from_reg): Ditto.
606 (copy_blkmode_from_reg): Ditto.
607 * stmt.c (expand_return): Ditto.
608 * stor-layout.c (compute_record_mode): If
3f2c5d1a 609 FUNCTION_ARG_REG_LITTLE_ENDIAN is set then check
0d7839da
SE
610 MEMBER_TYPE_FORCES_BLK even if mode == VOIDmode.
611 * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set to true
612 so that Structures of one field are still treated as structures.
613 (FUNCTION_ARG_REG_LITTLE_ENDIAN): New, set it to true.
614 (FUNCTION_ARG_PADDING): Set to ia64_hpux_function_arg_padding().
615 (PAD_VARARGS_DOWN): Modify from default to not pad structures down.
616 * config/ia64/ia64-protos.h (ia64_hpux_function_arg_padding): New.
617 * config/ia64/ia64.c (ia64_hpux_function_arg_padding): New function
618 to special case handling of structure padding.
619
81217be9
DB
6202001-12-11 Daniel Berlin <dan@cgsoftware.com>
621
622 * sched-rgn.c (CONST_BASED_ADDRESS_P): CONST_INT -> CONSTANT_P.
623 (may_trap_exp): Stores only are risk if they trap, too, not just
624 if code == MEM.
625
448cad06
AH
6262001-12-11 Aldy Hernandez <aldyh@redhat.com>
627
98ce21b3
RH
628 * flow.c (find_regno_partial): Indent properly. Add a default to
629 switch.
448cad06 630
9aa8a1df
NB
6312001-12-11 Neil Booth <neil@daikokuya.demon.co.uk>
632
633 * c-common.c (combine_strings): Complain if concatenating
634 __FUNCTION__.
635 * c-parse.in (yylexname): Flag artificial strings.
636 * tree.h (TREE_ARTIFICIAL_STRING_P): New.
637doc:
638 * extend.texi: Update.
639
0afeef64
AH
6402001-12-11 Aldy Hernandez <aldyh@redhat.com>
641
642 * c-common.c (type_for_mode): Handle unsigned vectors.
643 (type_for_mode): Remove redundant calls to TYPE_MODE.
644
645 * tree.c (make_vector): New.
646 (build_common_tree_nodes_2): Use make_vector for vector types.
647 Add unsigned vector types.
648
649 * tree.h (tree_index): Add unsigned types for vectors.
650 (unsigned_V16QI_type_node): New.
651 (unsigned_V4SI_type_node): New.
652 (unsigned_V8QI_type_node): New.
653 (unsigned_V8HI_type_node): New.
654 (unsigned_V4HI_type_node): New.
655 (unsigned_V2SI_type_node): New.
656
4c594031
SS
6572001-12-11 Stan Shebs <shebs@apple.com>
658
659 * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a
660 test of class names.
661
91171315
DB
6622001-12-11 David O'Brien <obrien@FreeBSD.org>
663
664 * config.gcc (m68020-*-elf*): Expand tm_file to include all needed
665 cpu configuration headers.
666 * config/h8300/elf.h: Include dbxelf.h.
667 * config/m68k/linux.h: Likewise.
668 * config/m68k/m68020-elf.h: Likewise.
669 * config/m68k/m68kv4.h: Likewise.
670 * config/sh/elf.h: Likewise.
671 * config/m68k/m68kemb.h: Add comment about the its purpose.
672
ff1c8a1a
RH
6732001-12-11 Richard Henderson <rth@redhat.com>
674
675 * objc/objc-act.c (build_constructor): Cast initializer values
676 to the proper field types.
677
f0451e26
JJ
6782001-12-11 Jakub Jelinek <jakub@redhat.com>
679
680 * unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
681
8d51ecf8
RS
6822001-12-10 Roger Sayle <roger@eyesopen.com>
683
684 * builtins.c (expand_builtin): Use a switch statement to list
685 those functions not expanded without optimizations, instead of a
686 series of equality tests.
687
ee262b6f
DR
688Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
689
02f7da12
DR
690 * config/alpha/vms.h (LIB_SPEC): Define.
691 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Don't set component field.
692
32065bf2
DR
693 * libgcc2.c (_bb): Remove ctime declaration.
694
c926f674
DR
695 * Makefile.in (stage[1234]-start): $(LN_S) utilities in a manner
696 that works if LN_S = cp.
697
1ba35d3e
DR
698 * config/alpha/x-vms (version): Change "." to "_".
699
ee262b6f
DR
700 * configure.in: Hardcode that vfork works on VMS host.
701 * configure: Regenerated.
702
a9657ce8
DR
703Mon Dec 10 18:37:31 2001 Douglas B. Rupp <rupp@gnat.com>
704
705 * gcc.c (convert_filename): Add do_obj parameter. Don't convert
706 unless do_obj true.
707 (process_command): Modify calls to convert_filename.
708
cb375790
RO
7092001-12-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
710
711 * config/sparc/sol2-sld-64.h: Include dbxelf.h again.
712
805f1694
JL
713Mon Dec 10 15:54:27 2001 Jeffrey A Law (law@cygnus.com)
714
715 * combine.c (known_cond): Check mode of each operand to determine
716 if COND is comparing floating point values.
717
fe7f5677
DE
7182001-12-10 David Edelsohn <edelsohn@gnu.org>
719
720 * rs6000.h (processor_type): Add PPC405.
721 (RTX_COSTS): Add PPC405. Correct rs64 and ppc630 multiply costs.
722 * rs6000.md: Add PPC405 information. Utilize imul2 and imul3 for
723 rios1, rs64, and ppc630 processors.
d7a5e253 724 * rs6000.c (processor_target_table): Add PPC405.
fe7f5677 725
864962bd
RH
7262001-12-10 Richard Henderson <rth@redhat.com>
727
728 * config/alpha/alpha.md (unaligned_extendhidi): Call gen_lowpart
729 instead of hardcoding subregs into the _be and _le patterns.
730
a23c9413
NB
7312001-12-10 Neil Booth <neil@daikokuya.demon.co.uk>
732
733 * c-lex.c, c-parse.in, c-typeck.c: Revert concatenation changes.
734
6fc5dc67
RK
735Mon Dec 10 09:19:11 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
736
737 * config/i386/i386.md (leave, leave_rex64): Adjust pattern to match
738 what insn does.
739
01342a36
JM
7402001-12-10 Joseph S. Myers <jsm28@cam.ac.uk>
741
742 * doc/cpp.texi: Don't condition menus on @ifinfo. Condition the
743 copyright notice formerly conditioned on @ifinfo on @ifnottex
744 instead.
745
c6bc7526
RK
746Mon Dec 10 06:15:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
747
748 * vmsdbgout.c (lookup_filename): Remove warning.
749
ef057c45
DR
750Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
751
96a9c44f
DR
752 * Makefile.in: Add $(OUTPUT_OPTION) to compilation rules.
753
ef057c45
DR
754 * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*
755 (exeext, target_alias, prefix, local_prefix): Define.
756 * config/alpha/x-vms (USE_COLLECT2): Make empty.
757 * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style
758 file specifications. Remove ".".
759 (GCC_INCLUDE_DIR): Remove redefinition (redundant).
760 * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms*
761
bc524dd0
NS
7622001-12-09 Nathan Sidwell <nathan@codesourcery.com>
763
764 * Makefile.in (.po.gmo): Use POSIXLY_CORRECT argument ordering.
765
d7c23cdc
DR
766Sun Dec 9 21:57:24 2001 Douglas B. Rupp <rupp@gnat.com>
767
768 * config/alpha/t-vms (EXTRA_PARTS): Append $(VMS_EXTRA_PARTS)
769 Add rules for building [vp]crt0.o
770 * config/alpha/vms.h (START_FILE_SPEC): Define.
771 * config/alpha/x-vms (VMS_EXTRA_PARTS): Define
772 * config/alpha/vms-crt0.c, config/alpha/vms-psxcrt0.c: New files.
773 * doc/invoke.texi: Document special Alpha/VMS options.
774
6d08665a
RK
775Sun Dec 9 20:25:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
776
777 * hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
778 * vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64,
779 not GNUC.
780
0b6c426b
RK
781Sun Dec 9 20:19:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
782 Douglas B. Rupp <rupp@gnat.com>
783
784 * tree.c (append_random_char): Conditionalize INO for VMS.
785
ec10f7c7
RH
7862001-12-09 Richard Henderson <rth@redhat.com>
787
788 * cfgcleanup.c (label_is_jump_target_p): New function.
789 (try_optimize_cfg): Use label_is_jump_target_p to check if label is
790 target of a JUMP_INSN from the preceding block.
791
5a10f3cc
DR
792Sun Dec 9 18:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
793
794 * vmsdbgout.c (lookup_filename): Assign null string instead
795 of null pointer to fnam.
796
11cb1475
RH
7972001-12-09 Richard Henderson <rth@redhat.com>
798
799 * config/alpha/alpha.c (alpha_align_insns): Suppress realignment
800 immediately after a call; insert nops before a call.
801
30864e14
RH
8022001-12-09 Richard Henderson <rth@redhat.com>
803
804 * config/alpha/alpha.c (alpha_align_insns): Use align_functions,
805 not FUNCTION_BOUNDARY.
806 * config/alpha/alpha.h (TRAMPOLINE_ALIGNMENT): New.
807 * config/alpha/alpha32.h, config/alpha/vms.h: Likewise.
808 * config/alpha/unicosmk.h (FUNCTION_BOUNDARY): Remove.
809
e4171066
HPN
8102001-12-09 Hans-Peter Nilsson <hp@bitrange.com>
811
812 * config/mmix/mmix.c (mmix_function_block_profiler,
813 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
814 unused functions.
815 * config/mmix/mmix-protos.h (mmix_function_block_profiler,
816 mmix_block_profiler, mmix_function_block_profiler_exit): Delete
817 prototypes.
818
819 * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
820 Delete obsoleted macros.
821
d6a7951f
JM
8222001-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
823
c21cd8b1
JM
824 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
825 doc/md.texi, doc/rtl.texi, doc/tm.texi: Use American spelling.
826
d6a7951f
JM
827 * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
828 cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
829 function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
830 config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
831 config/i370/i370.c, config/i386/i386.c,
832 config/i386/i386-interix.h, config/i386/i386.md,
833 config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
834 config/m32r/m32r-protos.h, config/mcore/mcore.h,
835 config/rs6000/rs6000.h, config/sparc/linux64.h,
836 config/sparc/sparc.c, config/v850/v850-protos.h,
837 config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
838 spelling errors.
839
617e0e1d
DB
8402001-12-09 Daniel Berlin <dan@cgsoftware.com>
841
842 * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
843 altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
844
845 * config/rs6000/rs6000.c: Ditto.
846
847 * config/rs6000/rs6000.md: Ditto.
848
046b71ed
KG
8492001-12-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
850
b3656137
KG
851 * 1750a.md: Add default case in switch.
852 * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
853 if-else statement.
854 * dsp16xx.c (print_operand_address): Likewise.
855 * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
856 * ia64.md: Add missing braces.
857 * rs6000-protos.h (s8bit_cint_operand): Prototype.
858 * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
98ce21b3 859 if-else statement.
b3656137
KG
860 * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
861 * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
862 * dbxout.c (dbxout_source_file): Move a variable into the scope
863 where it is used.
864 * final.c (profile_function): Mark parameter with
865 ATTRIBUTE_UNUSED.
866 * genemit.c (gen_expand): Likewise for generated file.
867 * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
868
cadf4f29
KG
869 * vmsdbg.h: Delete spurious close-comment.
870 (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
871 * vmsdbgout.c (write_modbeg): Define return type.
872
046b71ed
KG
873 * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
874 * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
875 * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
876 * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
877 * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
878 * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
879 * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
880
09a625f7
TR
8812001-12-08 Tom Rix <trix@redhat.com>
882
883 * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
884 * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
8d51ecf8
RS
885 * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use
886 for powerpc64.
887 * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg,
888 movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
889 * config/rs6000/rs6000.c (expand_block_move): Do not use
09a625f7
TR
890 gen_movstrsi_2reg and powerpc64.
891
ecbcf7b3
AH
8922001-10-08 Aldy Hernandez <aldyh@redhat.com>
893
894 * c-common.h (rid): Add RID_CHOOSE_EXPR and
98ce21b3 895 RID_TYPES_COMPATIBLE_P.
ecbcf7b3 896
98ce21b3
RH
897 * c-parse.in (reswords): Add __builtin_choose_expr.
898 Add __builtin_types_compatible_p.
899 Add CHOOSE_EXPR token.
ecbcf7b3 900 Add TYPES_COMPATIBLE_P token.
98ce21b3
RH
901 Add production for CHOOSE_EXPR.
902 Add production for TYPES_COMPATIBLE_P.
ecbcf7b3 903
98ce21b3
RH
904 * doc/extend.texi (__builtin_choose_expr): Add documentation.
905 (__builtin_types_compatible_p): Likewise.
ecbcf7b3 906
79dc3d44
DE
9072001-12-08 David Edelsohn <edelsohn@gnu.org>
908
909 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
910 to unions.
911
78e78537
NB
9122001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
913
914 * c-parse.in: Take string literals in assembler constructs,
915 not expressions.
916 * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
917 check the strings are STRING_CSTs.
918
cb97d97d
NB
9192001-12-08 Neil Booth <neil@daikokuya.demon.co.uk>
920
921 * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
922 using combine_strings to do the concatenation.
923 * c-parse.in: Replace uses of the string non-terminal with STRING.
924 Don't attempt string concatenation.
925 (OBJC_STRING): New terminal.
926 (string): Remove non-terminal.
927 (_yylex): Call combine_strings on function names. Generate
928 OBJC_STRING terminals; don't pass '@' on to yacc.
929 * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
930 (build_asm_stmt): Similarly.
931
18d6067b
KG
9322001-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
933
934 * rtlanal.c (get_jump_table_offset): Delete unused variable.
935
fa980e6b
RE
9362001-12-08 Richard Earnshaw <rearnsha@arm.com>
937
938 * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
939 (prefetch): Rewrite using PREFETCH RTL primitive.
940 * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
941 * arm.c (arm_init_builtins): Don't initialize a builtin for
942 __builtin_prefetch here.
d6a7951f 943 (arm_expand_builtin): Don't expand __builtin_prefetch here.
fa980e6b 944
fd9245b7
RE
9452001-12-08 Richard Earnshaw <rearnsha@arm.com>
946
947 * final.c (cleanup_subreg_operands): Use recog_data.operand_loc
948 in test for a subreg.
949
be006382
JDA
9502001-12-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
951
952 * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
953 strings.
954
4b7b9007
RH
9552001-12-07 Richard Henderson <rth@redhat.com>
956
ad706f54
RH
957 * doc/extend.texi: Fix typo last change.
958
4b7b9007
RH
959 * c-decl.c (c_language): Remove duplicate.
960
c859cda6
DJ
9612001-12-07 Dale Johannesen <dalej@apple.com>
962
98ce21b3
RH
963 * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
964 * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
965 specific codegen, eliminate a register copy.
966 (print_operand_address): Add support for Darwin's lo16(constant)
c859cda6 967 syntax.
98ce21b3
RH
968 (rs6000_machopic_legitimize_pic_address): Fix darwin-specific
969 generation of addresses within very large data objects.
970 (s8bit_cint_operand): New.
971 * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
972 Move "mtjmpr" to correct functional unit for 750/7400/7450.
973 Add imul2 and imul3 insn types for multiplication by 16- and
c859cda6 974 8-bit constants.
98ce21b3 975 Change tablejump patterns to strongly discourage using LR
c859cda6
DJ
976 rather than CTR.
977 Add %lo16 patterns for Darwin loads and stores.
978
6246471c
KG
9792001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
980
981 * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
982
09ebda1b
SC
9832001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
984
985 * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
986 with %sp because it can cause the delayed instruction to load
987 below the stack.
988
595b6314
KG
9892001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
990
991 * alpha.c (alpha_expand_unaligned_store,
992 alpha_expand_unaligned_store_words): Use constm1_rtx in place of
993 call to immed_double_const.
994
1b9191d2
AH
9952001-12-07 Aldy Hernandez <aldyh@redhat.com>
996
997 * doc/extend.texi (Variable Attributes): Document vector_size.
998
98ce21b3 999 * attribs.c (c_common_attribute_table): Add vector_size.
1b9191d2 1000 (handle_vector_size_attribute): New.
98ce21b3 1001 (vector_size_helper): New.
1b9191d2
AH
1002 (decl_attributes): Relayout the decl after calculating attribs.
1003
73e2155a
JM
10042001-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1005
1006 * doc/gcc.texi: Don't include install-old.texi. Adjust menu
1007 description for Trouble section.
1008 * doc/install-old.texi: Adjust for inclusion as chapter of new
1009 installation manual.
1010 * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
1011 Adjust to include old installation chapter as chapter of new
1012 installation manual.
1013
d644189f
JW
1014Fri Dec 7 11:07:35 EST 2001 John Wehle (john@feith.com)
1015
1016 * rtl.h (get_jump_table_offset): Declare.
1017 * rtlanal.c (get_jump_table_offset): Implement.
1018
65a07688
RK
1019Fri Dec 7 07:06:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1020
5af0b89c
RK
1021 * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
1022 Deleted; were used only by BB profiler code.
1023 (sbb_head, sbb_tail, sbb_label_num): Likewise.
1024 (end_final): Delete now-unused vars I, PTR, and SPTR.
1025
65a07688
RK
1026 * expr.c (store_field): Remove warning.
1027 (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
1028 (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
1029 (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
1030 divisor constant power of 2.
1031 (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
1032
999c746f
KG
10332001-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1034
1035 * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
1036 shifting.
1037
7d5f33bc
AH
10382001-12-06 Aldy Hernandez <aldyh@redhat.com>
1039
1040 * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
98ce21b3 1041 (DWARF_FRAME_REGISTERS): Delete.
7d5f33bc 1042
e83d297b
JJ
10432001-12-06 Janis Johnson <janis187@us.ibm.com>
1044
1045 * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
1046 * builtins.def (BUILT_IN_PREFETCH): Change arguments.
1047 * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
1048 with defaults for read prefetch with high degree of locality.
1049 * doc/extend.texi (__builtin_prefetch): Update documentation.
1050 * doc/md.texi (prefetch): Add documentation.
1051
6d638aac
RO
10522001-12-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1053
1054 * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
1055 UNIX V5.1A stdio.h.
1056 * fixinc/fixincl.x: Regenerate.
1057 Fixes PR libf2c/4826.
1058
919543ab 10592001-12-06 Aldy Hernandez <aldyh@redhat.com>
98ce21b3 1060 Richard Henderson <rth@redhat.com>
919543ab
AH
1061
1062 * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
98ce21b3 1063 (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
919543ab 1064
98ce21b3
RH
1065 * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
1066 to PRE_GCC3_DWARF_FRAME_REGISTERS.
1067 (frame_state): Same.
919543ab
AH
1068 (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
1069
990290e8
KG
10702001-12-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1071
1072 * langhooks.c (lhd_staticp): Mark parameter with
1073 ATTRIBUTE_UNUSED.
1074
7227d624
L
10752001-12-06 H.J. Lu <hjl@gnu.org>
1076
1077 * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
1078 reduce noise.
1079 (.po.pox): Likewise.
1080 (o/$(PACKAGE).pot): Likewise.
1081
a1a0fd4e
AO
10822001-12-06 Alexandre Oliva <aoliva@redhat.com>
1083
1084 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
1085 * tree-inline.c (expand_call_inline): ... here.
1086
441f30d9
L
10872001-12-06 H.J. Lu <hjl@gnu.org>
1088
1089 * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
1090 (.po.pox): Likewise.
1091 (o/$(PACKAGE).pot): Likewise.
1092
c40409ce
DB
10932001-12-06 David O'Brien <obrien@FreeBSD.org>
1094
1095 * config.gcc: Include dbxelf.h before elfos.h.
1096 * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
1097
55485cd9
ZW
10982001-12-06 Zack Weinberg <zack@codesourcery.com>
1099
1100 * cppfiles.c (open_file): If we've opened a directory by
1101 mistake, close it.
1102 (find_include_file): Avoid turning / into // or // into ///.
1103
e04546dc
NC
11042001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
1105
1106 * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
1107 (STRUCT_VALUE_REGNUM): Restore definition.
1108
69da3e3a
AM
11092001-12-06 Andrew MacLeod <amacleod@redhat.com>
1110
1111 * flow.c (find_regno_partial): Return register, not the expression
1112 the register is in.
1113
f189c7ca
RK
1114Thu Dec 6 09:24:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1115
1116 * function.c (handle_epilogue_set): Check for FP setting case when
1117 SP is set from FP in same insn.
1118
4e26a7af
NC
11192001-12-06 Nick Clifton <nickc@cambridge.redhat.com>
1120
a8571098 1121 * config/arm/arm.c (load_multiple_sequence): Pass pointer to
98ce21b3 1122 RTX when calling alter_subreg().
a8571098 1123 (store_multiple_sequence): Pass pointer to RTX when calling
98ce21b3 1124 alter_subreg().
4e26a7af 1125
a57263bc
RK
1126Thu Dec 6 06:55:13 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1127
1128 * function.c (assing_parms): Fix typo in last change.
1129 * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
1130 * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
1131 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
1132 * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
1133
5b8c2356
AM
11342001-12-06 Alan Modra <amodra@bigpond.net.au>
1135
1136 * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
1137 correct code selecting section.
1138
8456b95a
JH
1139Thu Dec 6 12:45:33 CET 2001 Jan Hubicka <jh@suse.cz>
1140
1141 * final.c (count_basic_block, add_bb, add_bb_string):
1142 Kill.
1143 (end_final, final_start_function, final, final_scan_insn,
1144 leaf_function_p): Kill BB profiler related code.
1145 * flags.h (profile_block_flag): Kill.
1146 * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
1147 BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
1148 __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
1149 bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
1150 reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
1151 __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
1152 __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
1153 __bb_init_trace_func): Kill.
1154 * toplev.c (profile_block_flag): Kill.
1155 (indepdendent_decode_option, process_options): Kill -a related code.
1156 * alpha.c (direct_call_operand): Likewise.
1157 * arm.c (arm_expand_prologue, thumb_expand_prologue,
1158 thumb_expand_epilogue): Likewise.
1159 * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
1160 * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1161 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1162 MACHINE_STATE_RESTORE): Kill.
1163 * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1164 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1165 MACHINE_STATE_RESTORE): Kill.
1166 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
1167 * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
1168 ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
1169 code.
1170 (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
1171 * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1172 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1173 MACHINE_STATE_RESTORE): Kill.
1174 * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
1175 * i960.c (i960_output_function_prologue): Kill BB profiler related
1176 code.
1177 * ia64.c (ia64_compute_frame_size): Likewise.
1178 * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1179 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1180 MACHINE_STATE_RESTORE): Kill.
1181 * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
1182 * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1183 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1184 MACHINE_STATE_RESTORE): Kill.
1185 * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
1186 * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1187 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1188 MACHINE_STATE_RESTORE): Kill.
1189 * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
1190 Kill BB profiler related code.
1191 * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1192 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1193 MACHINE_STATE_RESTORE): Kill.
1194 * mips.c (mips_expand_prologue): Kill BB profiler related code.
1195 * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1196 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1197 MACHINE_STATE_RESTORE): Kill.
1198 * rs6000.c (rs6000_override_options): Kill BB profiler related code.
1199 * s960.c (s390_function_prologue): Kill BB profiler related code.
1200 * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1201 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1202 MACHINE_STATE_RESTORE): Kill.
1203 * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
1204 * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
1205 * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
1206 * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
1207 * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
1208 sparc_nonflat_function_epilogue): Kill BB profiler related code.
1209 (sparc_function_block_profiler, sparc_block_profiler,
1210 sparc_function_block_profiler_exit): Kill.
1211 * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
1212 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1213 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1214 MACHINE_STATE_RESTORE): Kill.
1215 * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
1216 * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
1217 * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1218 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1219 MACHINE_STATE_RESTORE): Kill.
1220 * doc/invoke.texi: Kill documentation of -a and -ax.
1221 * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
1222 FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
1223 MACHINE_STATE_RESTORE): Kill.
1224
a39353e0
SC
12252001-10-26 Steve Christiansen <smc@us.ibm.com>
1226
1227 * doc/rtl.texi: Use a table to display RTL format characters.
1228
26d04e79
BT
12292001-12-06 Bo Thorsen <bo@suse.co.uk>
1230
1231 * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
1232
b5ed05aa
RK
1233Wed Dec 5 19:18:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1234
1235 * function.c (keep_stack_depressed): Check global_live_at_start
1236 of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
1237
f3465a44
DB
12382001-12-05 David O'Brien <obrien@FreeBSD.org>
1239
1240 * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
1241 as set by the generic FreeBSD configure framework.
1242
742a37d5
JM
12432001-12-04 Jason Merrill <jason@redhat.com>
1244
1245 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
1246 start_inlining, end_inlining.
1247 * tree-inline.c (expand_call_inline): Call them.
1248 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
1249 (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
1250 (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
1251 * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
1252 (lhd_tree_inlining_end_inlining): New fn.
1253
26f943fd
NB
12542001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
1255
1256 * c-common.c (shadow_warning): New function, moved from cp/decl.c.
1257 * c-common.h (shadow_warning): New.
1258 * c-decl.c: Include c-common.h.
1259 (warn_if_shadowing): New, broken out of pushdecl.
1260 (pushdecl): Use warn_if_shadowing.
1261 (store_parm_decls): Prevent duplicate -Wshadow warnings.
1262
8ca8f9a7
DR
1263Wed Dec 5 17:59:19 2001 Douglas B. Rupp <rupp@gnat.com>
1264
1265 * config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
1266 (DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
1267 (LIB_SPEC): Remove.
8d51ecf8 1268
37a08a29
RK
1269Wed Dec 5 16:03:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1270
dc4ad668
RK
1271 * doc/c-tree.texi (RECORD_TYPE, UNION_TYPE): Expand on definition.
1272 (QUAL_UNION_TYPE): New type.
1273
0974a3b8
RK
1274 * varasm.c (output_constant, case ERROR_MARK): New case.
1275
37a08a29
RK
1276 * attribs.c (handle_no_check_memory_usage_atribute): Deleted.
1277 (c_com): Delete its reference.
1278 * builtins.c: Delete memory checking code.
1279 * calls.c, expr.c, function.c, stmt.c: Likewise.
1280 * builtins.c (expand_builtin_arg_info): Remove reference to
1281 EXPAND_MEMORY_USE_* modifiers.
1282 * explow.c (expr_size): Likewise.
1283 * expr.c (expand_expr, expand_increment): Likewise.
1284 * expr.h (ARGS_SIZE_RTX): Likewise.
1285 * function.c (assign_parms, expand_pending_sizeso): Likewise.
1286 * c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
1287 * expr.c (in_check_memory_usage): Delete.
1288 (get_push_address, get_memory_usage_from_modifier): Delete.
1289 (expand_assigment): Use EXPAND_WRITE on destination.
1290 (expand_expr): Delete ro_modifier.
1291 * expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
1292 add EXPAND_WRITE.
1293 (memory_use_mode): Delete.
1294 * flags.h (flag_check_memory_usage): Deleted.
1295 (flag_prefix_function_name): Likewise.
1296 * function.c (expand_function_start): Don't set
1297 current_function_check_memory_usage.
1298 * function.h (check_memory_usage): Delete.
1299 * libfuncs.h, optabs.c: Delete chkr_* stuff.
1300 * stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
1301 EXPAND_WRITE.
1302 * toplev.c (flag_check_memory_usage): Deleted.
1303 (flag_prefix_function_name): Likewise.
1304 (f_options, process_options): Delete references to above.
1305 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
1306 * varasm.c (CHKR_PREFIX): Deleted.
1307 (make_decl_rtl): Remove flag_prefix_function_name handling.
1308 (assemble_name): Likewise.
1309 * doc/extend.texi: Remove no_check_memory_usage attribute.
1310 * doc/invoke.texi: Remove -fcheck-memory-usage
1311 and -fprefix-function-name.
1312
0df47f66
AS
13132001-12-05 Andreas Schwab <schwab@suse.de>
1314
1315 * Makefile.in (STMP_FIXPROTO, STMP_FIXINC): Use substituted values
1316 from autoconf.
1317
578316b9
NC
13182001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1319
1320 * config.gcc: Include arm/xscale-coff.h before arm/arm.h.
1321
89632846
WC
13222001-12-05 William Cohen <wcohen@redhat.com>
1323
1324 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Correct typo in
1325 instruction.
1326
2212663f
DB
13272001-12-05 Daniel Berlin <dan@cgsoftware.com>
1328
1329 * config/rs6000/rs6000.h (enum rs6000_builtins): Add more altivec
8d51ecf8 1330 builtins.
2212663f
DB
1331
1332 * config/rs6000/rs6000.md: Modeling of 7450 altivec changed to
1333 better reflect reality (change from Apple's tree).
1334 Add more of altivec instructions.
1335 Add ftruncv4sf2 pattern.
1336 Remove more unspecs (vector merge instructions, etc).
1337
1338 * config/rs6000/rs6000.c (bdesc_3arg): New, for 3 argument altivec
8d51ecf8 1339 builtins.
2212663f
DB
1340 (bdesc_1arg): New, for 1 argument altivec builtins.
1341 (altivec_expand_builtin): Handle unary and ternary ops.
1342 (altivec_init_builtins): Ditto.
1343
1615c261
RK
1344Wed Dec 5 09:33:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1345
1346 * config/alpha/vms.h (ADA_LONG_TYPE_SIZE): New macro.
1347 * doc/tm.texi (ADA_LONG_TYPE_SIZE): Document it.
1348
1218665b
JJ
13492001-12-05 Jakub Jelinek <jakub@redhat.com>
1350
1351 * gcse.c (store_killed_in_insn): Consider pure calls
1352 as potential store killers in addition to normal calls.
1353
7254c5fa
JJ
13542001-12-05 Jakub Jelinek <jakub@redhat.com>
1355
1356 * expr.c (expand_expr): When checking promoted value, use
1357 DECL_MODE (exp) and not mode.
1358
822baa84
JJ
13592001-12-05 Jakub Jelinek <jakub@redhat.com>
1360
1361 * c-typeck.c (output_init_element): Call digest_init
1362 just once, not in each if branch and check its return value for
1363 error_mark_node.
1364
f79349c7
JJ
13652001-12-05 Jakub Jelinek <jakub@redhat.com>
1366
1367 * c-decl.c (pushdecl): Only increase n_incomplete if pushed decl's
1368 type is RECORD_TYPE, UNION_TYPE or ARRAY_TYPE thereof.
1369 (finish_struct): Break the loop if n_incomplete went to 0.
1370 For ARRAY_TYPE, if it is not TYPE_DECL, layout the decl too.
1371
f7130778
DR
1372Wed Dec 5 07:41:13 2001 Douglas B. Rupp <rupp@gnat.com>
1373
1374 * config/alpha/alpha.c (alpha_va_start): Update VMS case.
1375
5f98259a
RK
1376Wed Dec 5 07:27:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1377 Douglas B. Rupp <rupp@gnat.com>
8d51ecf8 1378
5f98259a
RK
1379 * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups.
1380 * doc/invoke.texi: Add -gvms.
1381 * doc/passes.texi: Add mention of vmsdbgout.c.
1382 * doc/tm.texi: Document VMS debugging output.
1383
c56e3582
RK
1384Wed Dec 5 06:26:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1385
a733bab5
RK
1386 * function.h (tree, rtx): Remove no-longer-needed definitions.
1387
53b6fb26
RK
1388 * function.c (keep_stack_depressed): Refine check for register
1389 clobbered over call.
1390
c24ae149
RK
1391 * expr.c (store_expr): When copying string constant into array,
1392 use functions that update memrefs instead of computations on
1393 addresses to better track MEMs. Also properly handle 32/64 pointers.
1394 (expand_expr): Use TARGET even if not reg for multi-word CONSTRUCTOR.
1395 (expand_expr, case CONSTRUCTOR): Fix errors in parms to assign_temp.
1396
c56e3582
RK
1397 * emit-rtl.c (component_ref_for_mem_expr): Try harder to find decl
1398 underneath COMPONENT_REFs.
1399 (set_mem_attributes): Also strip VIEW_CONVERT_EXPR.
1400
76306300
NB
14012001-12-05 Neil Booth <neil@daikokuya.demon.co.uk>
1402
1403 * toplev.c (display_target_options): Don't print twice.
1404
52488da1
JW
1405Wed Dec 5 00:42:16 EST 2001 John Wehle (john@feith.com)
1406
1407 * emit-rtl.c (set_unique_reg_note): Don't set
1408 a REG_EQUAL or REG_EQUIV note if multiple sets
1409 are present.
1410
32a6f30e
JDA
14112001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1412
1413 * cfgrtl.c (verify_flow_info): Allow jump table data in fallthru if
1414 CASE_DROPS_THROUGH.
1415
0626ef8a
AM
14162001-12-04 Andrew MacLeod <amacleod@redhat.com>
1417
1418 * rtl.h (initialize_uninitialized_subregs): New prototype.
1419 * toplev.c (rest_of_compilation): Call initialize_uninitialized_subregs
1420 when optimization is on.
1421 * flow.c (find_regno_partial): Find subregs within an expression.
1422 (initialize_uninitialized_subregs): Initialize live on entry registers
1423 which are used in subreg expressions.
1424
7c1e8336
PE
14252001-12-04 Phil Edwards <pme@gcc.gnu.org>
1426
1427 * Makefile.in: Add INSTALL_SCRIPT using INSTALL definition.
1428
ffe85584
DD
14292001-12-04 DJ Delorie <dj@redhat.com>
1430
1431 * fixinc/fixincl.c (initialize): Avoid problemsome macro
1432 parameter names (PR 3388).
1433
c3bb62b9
AM
14342001-12-05 Alan Modra <amodra@bigpond.net.au>
1435
1436 * config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
1437 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
1438
db3acfa5
JM
14392001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
1440
1441 * c-common.def (COMPOUND_LITERAL_EXPR): New.
1442 * c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
1443 (c_staticp): New function.
1444 * c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
1445 (c_staticp): Declare.
1446 * c-typeck.c (default_function_array_conversion, build_unary_op):
1447 Don't handle CONSTRUCTOR specially.
1448 (lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
1449 * c-decl.c (build_compound_literal): New function.
1450 * c-tree.h (build_compound_literal): Declare.
1451 * c-parse.in (primary): Use build_compound_literal.
1452 * c-lang.c (LANG_HOOKS_STATICP): Define.
1453 * objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
1454 * doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
1455 * doc/extend.texi: Update documentation of compound literals.
1456 Fixes PR c/4787.
1457
d062a680
JM
14582001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
1459
1460 * langhooks.h (struct lang_hooks): Add staticp.
1461 * langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
1462 (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
1463 * langhooks.c (lhd_staticp): New function.
1464 * tree.c (staticp): Call lang_hooks.staticp for language-specific
1465 tree codes.
1466
69927b59
NB
14672001-12-04 Neil Booth <neil@daikokuya.demon.co.uk>
1468
1469 * cppspec.c (lang_specific_driver): Set is_cpp_driver.
1470 * gcc.c (process_command): Ensure the cpp driver sees
1471 --help and --target-help, and that the help is printed
1472 exactly once.
1473
344c6d1f
DE
14742001-12-04 David Edelsohn <edelsohn@gnu.org>
1475
1476 * config/elfos.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
1477
ff524991
HPN
14782001-12-04 Hans-Peter Nilsson <hp@axis.com>
1479
1480 * config/cris/cris.h (OPTIMIZATION_OPTIONS): Don't unset
1481 flag_strict_aliasing. Use separate assignment statements.
1482
a078a589
ZW
14832001-12-04 Zack Weinberg <zack@codesourcery.com>
1484
1485 * build-make, cross-make: Delete file.
1486 * configure.in: Set and substitute CROSS, ALL,
1487 SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
1488 HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
1489 whether build == host and host == target. Do not
1490 AC_SUBST_FILE build_overrides or cross_overrides. Do not
1491 AC_SUBST cross_defines or extra_c_flags.
1492 * Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
1493 (SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
1494 HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
1495 partially or completely with autoconf-substituted @variable@
1496 notation.
1497 (INSTALL_TARGET, @cross_defines@, @cross_overrides@,
1498 @build_overrides@, @extra_c_flags@, all.build, install-build,
1499 install-cross-rest, install-float-h-cross): Deleted.
1500 (install-normal): Rename to install. Delete old "install"
1501 indirection rule.
1502
8a38ed86
AM
15032001-12-04 Andrew MacLeod <amacleod@redhat.com>
1504
8d51ecf8 1505 * stmt.c (expand_return): Clear destination instead of clobbering it
8a38ed86
AM
1506 when setting a return value via bitsets.
1507
d1bd43d9
AO
15082001-12-04 Alexandre Oliva <aoliva@redhat.com>
1509
be1bb2a4
AO
1510 * tree.c (get_callee_fndecl): Only use DECL_ABSTRACT_ORIGIN if
1511 it has DECL_SAVED_TREE.
8d51ecf8 1512
23700f65
AO
1513 * c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
1514 is in a different binding level, get its abstract origin to be
1515 olddecl.
1516 * tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
1517 check earlier.
1518 * tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
1519 DECL_INITIAL is NULL.
1520
b318748f
JJ
15212001-12-04 Jakub Jelinek <jakub@redhat.com>
1522
1523 * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
1524 Return correct value if one of the subexpressions was optimized to
1525 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
1526 (and_reg_cond): Similarly.
1527
108b7d3d
JJ
15282001-12-04 Jakub Jelinek <jakub@redhat.com>
1529
1530 * function.c (assign_parms): Set last_named only for last named
1531 argument.
1532
5402e639 15332001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
aed5964b
JM
1534
1535 * doc/install.texi: Use the GFDL. Include years from old install
1536 manual in copyright notice. Include copyright and GFDL notice on
1537 HTML index page. Include usual footer on testing.html.
1538 * doc/install.texi2html: Build gfdl.html. Use -I
1539 $SOURCEDIR/include.
1540 * doc/include/fdl.texi: Adapt for use in the install manual.
1541
635771af
JM
15422001-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
1543
1544 * doc/install.texi: Document that installed native compiler for
1545 building cross compilers should be GCC 2.95 or later.
1546
2ca2d9ee
EC
15472001-12-03 Eric Christopher <echristo@redhat.com>
1548
1549 * config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
1550 * config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
1551 patterns.
1552
cc164822
JJ
15532001-12-03 Janis Johnson <janis187@us.ibm.com>
1554
1555 * rtl.def (PREFETCH): New rtx code.
1556 * doc/rtl.texi (PREFETCH): Add documentation.
1557 * function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
1558 * rtlanal.c (reg_referenced_p): Ditto.
1559 * sched-vis.c (print_exp): Ditto.
1560 * ssa-dce.c (find_inherently_necessary): Ditto.
1561
1562 * config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
1563 (PREFETCH_BLOCK): Define.
1564 * config/ia64/ia64.md (itanium_class): Add lfetch.
1565 (prefetch, prefetch_internal): New.
1566
1567 * builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
1568 * builtins.def (BUILT_IN_PREFETCH): New.
1569 * builtins.c (expand_builtin_expect): New.
1570 (expand_builtin): Call it.
a5eb2838 1571 * doc/extend.texi: Document __builtin_prefetch.
cc164822
JJ
1572
1573 * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
1574 conflicts with new generic prefetch functionality.
1575 * config/i386/i386.c (ix86_expand_builtin): Use new name for
1576 prefetch_sse.
1577
4e089a75
ZL
15782001-12-02 Ziemowit Laski <zlaski@apple.com>
1579
1580 * objc/Make-lang.in: Update copyright.
1581 (OBJC_OBJS): Add objc-lang.o.
1582 (objc-lang.o): New rule.
1583 * objc/config-lang.in: Fix file description and update
1584 copyright.
1585 * objc/objc-act.c: Do not include langhooks.h and
1586 langhooks-def.h
1587 (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
1588 (objc_post_options): Move to objc-lang.c.
1589 (objc_init_options): Move to objc-lang.c.
1590 (objc_init): Make non-static.
1591 (objc_decode_option): Make non-static.
1592 (HASHFUNCTION): Remove macro.
1593 (hash_func): New function.
1594 (hash_enter): Replace HASHFUNCTION with hash_func.
1595 (hash_lookup): Replace HASHFUNCTION with hash_func.
1596 (maybe_objc_tree_codes): New function.
1597 (init_objc): Move ObjC tree code initialization to
1598 maybe_objc_tree_codes().
1599 * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
1600 (objc_init): New public prototype.
1601 (objc_decode_option): New public prototype.
1602 (maybe_add_objc_tree_codes): New public prototype.
1603 * objc/objc-lang.c: New file.
1604 (lang_hooks): Moved from objc-act.c.
1605 (objc_post_options): Moved from objc-act.c.
1606 (objc_init_options): Moved from objc-act.c.
1607
a76033a0
GK
16082001-12-03 Geoff Keating <geoffk@redhat.com>
1609
1610 * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
1611 of array elements.
1612
bdf41308
NB
16132001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
1614
1615 PR c/4988
69927b59 1616 * gcc.c (process_command): Don't add a preprocessor option for
bdf41308
NB
1617 --help and --target-help; cc1 is enough.
1618
c725bd79
NB
16192001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
1620
1621 * c-decl.c (grokdeclarator): Use ISO word.
1622 * cppinit.c: Remove leading capital from diagnostic messages, as
1623 per GNU coding standards.
1624 * emit-rtl.c: Similarly.
1625 * final.c: Similarly.
1626 * gcc.c: Similarly.
1627 * tradcpp.c: Similarly.
1628 * config/arm/arm.c: Similarly.
1629 * config/arm/arm.h: Similarly.
1630 * config/avr/avr.c: Similarly.
1631 * config/avr/avr.h: Similarly.
1632 * config/c4x/c4x.c: Similarly.
1633 * config/cris/cris.c: Similarly.
1634 * config/cris/cris.h: Similarly.
1635 * config/d30v/d30v.c: Similarly.
1636 * config/dsp16xx/dsp16xx.c: Similarly.
1637 * config/dsp16xx/dsp16xx.h: Similarly.
1638 * config/h8300/h8300.c: Similarly.
1639 * config/i386/i386.c: Similarly.
1640 * config/i386/xm-djgpp.h: Similarly.
1641 * config/i960/i960.h: Similarly.
1642 * config/m32r/m32r.c: Similarly.
1643 * config/m68hc11/m68hc11.c: Similarly.
1644 * config/m88k/m88k.c: Similarly.
1645 * config/m88k/m88k.h: Similarly.
1646 * config/mcore/mcore.c: Similarly.
1647 * config/mcore/mcore.h: Similarly.
1648 * config/mips/mips.c: Similarly.
1649 * config/mmix/mmix.c: Similarly.
1650 * config/pa/pa.c: Similarly.
1651 * config/rs6000/rs6000.c: Similarly.
1652 * config/rs6000/sysv4.h: Similarly.
1653 * config/s390/s390.c: Similarly.
1654 * config/sparc/sparc.c: Similarly.
1655 * config/v850/v850-c.c: Similarly.
1656 * config/v850/v850.c: Similarly.
1657
52acbdcb
ZW
16582001-12-03 Zack Weinberg <zack@codesourcery.com>
1659
1660 * rs6000.h (RETURN_IN_MEMORY): Cast result of
1661 int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
1662
97d52102
JL
1663Mon Dec 3 09:18:34 2001 Jeffrey A Law (law@cygnus.com)
1664
1665 * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
1666 bit twiddling constant.
1667
9cd56be1
JH
1668Mon Dec 3 16:16:37 CET 2001 Jan Hubicka <jh@suse.cz>
1669
97d52102 1670 * gcse.c (delete_null_pointer_checks_1): Do not use delete_list;
9cd56be1
JH
1671 call purge_dead_edges after removing.
1672 (delete_null_pointer_checks): Do not handle delete_list.
1673
1674 * cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
1675 (count_basic_blocks): ... here.
1676 (find_basic_blocks, find_bb_boundaries): Cleanup.
1677
1678 * stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
1679 overflow for types greater then 2 * HOST_WIDE_INT.
1680
1681 * reload.c (find_reloads): Update the duplicates after swapingg.
1682
5e2ce672
JH
1683Mon Dec 3 13:52:19 CET 2001 Jan Hubicka <jh@suse.cz>
1684
1685 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
1686
6fa3f289
ZW
16872001-12-02 Zack Weinberg <zack@codesourcery.com>
1688
1689 * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
1690 MASK_LONG_DOUBLE_128): Delete.
1691 (MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
1692 TARGET_AIX_STRUCT_RET): New flags.
1693 (TARGET_SWITCHES): Remove entries for -mlong-double-128 and
1694 -mlong-double-64. Add entries for -m(no-)aix-struct-return
1695 and -m(no-)svr4-struct-return.
1696 (TARGET_OPTIONS): Add entry for -mlong-double-.
1697 (rs6000_long_double_size_string, rs6000_long_double_type_size,
1698 rs6000_altivec_abi): Declare.
1699 (TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
1700 LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
1701 (RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
1702 structures of size <= 8 bytes in registers.
1703 (PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
1704
1705 * config/rs6000/rs6000.c (rs6000_long_double_size_string,
1706 rs6000_long_double_type_size, rs6000_altivec_abi): New
1707 globals.
1708 (rs6000_override_options): Set rs6000_long_double_type_size
1709 from rs6000_long_double_size_string, if nonzero. Set the
1710 MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
1711 not already set.
1712 (rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
1713 target_flags bit.
1714 (rs6000_init_builtins): This hook now takes no arguments.
1715
1716 * config/rs6000/netbsd.h, config/rs6000/linux.h: Define
1717 DRAFT_V4_STRUCT_RET to 1.
1718
39bc99c2
JM
17192001-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
1720
1721 * c-typeck.c (really_start_incremental_init, push_init_level):
1722 Avoid constructor_max_index being other than an INTEGER_CST.
1723
671f5733
DE
17242001-12-02 David Edelsohn <edelsohn@gnu.org>
1725
1726 * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
1727 unsigned.
1728 (ASM_GENERATE_INTERNAL_LABEL): Same.
1729 (UNIQUE_SECTION): Fix typo.
1730
385d4094
RH
17312001-12-02 Richard Henderson <rth@redhat.com>
1732
1733 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
1734
998d7deb
RH
17352001-12-02 Richard Henderson <rth@redhat.com>
1736
1737 * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
1738 (MEM_EXPR): Rename from MEM_DECL; adjust all users.
1739 * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
1740 * expr.h, final.c, reload1.c: Adjust users.
1741
1742 * alias.c (nonoverlapping_component_refs_p): New.
1743 (decl_for_component_ref, adjust_offset_for_component_ref): New.
1744 (nonoverlapping_memrefs_p): Use them.
1745 * emit-rtl.c (component_ref_for_mem_expr): New.
1746 (set_mem_attributes): Use it.
1747 (set_mem_offset): New.
6fa3f289 1748 * expr.c (expand_assignment): Call set_mem_attributes for
998d7deb
RH
1749 inner references; adjust the memory offset as needed.
1750 * print-rtl.c (print_mem_expr): New.
1751 (print_rtx): Use it.
1752
7a0c8d71
DR
1753Sun Dec 2 09:22:25 2001 Douglas B. Rupp <rupp@gnat.com>
1754
3d55d212
DR
1755 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
1756
7a0c8d71
DR
1757 * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
1758 (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
1759 (ASM_SPEC): Don't redefine.
1760 (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
1761 * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
1762 * config/alpha/vms-dwarf2.asm: New file.
1763
1764 * Makefile.in (OBJS): Add vmsdbgout.c and its rule.
1765 * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
1766 * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
1767 (vmsdbgout_after_prologue): New declaration.
1768 * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
1769 * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
1770 * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
1771 (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
1772 (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
1773 (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
1774 * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
1775 Test VMS_DEBUGGING_INFO.
1776 (final_end_function): Test for VMS_AND_DWARF2_DEBUG.
1777 (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
1778 * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
1779 * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
1780 VMS_AND_DWARF2_DEBUG.
1781 (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
1782 (decode_g_option): Add "vms" to debug_type_names.
1783 (process_options): Set vmsdbg_debug_hooks if -gvms.
1784 (lang_independent_init): Emit line number for VMS unless -g0.
1785 * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
1786 * vmsdbg.h, vmsdbgout.c: New files.
1787
fb67cb9f
RK
1788Sun Dec 2 09:03:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1789
1790 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
1791
710af899
KG
17922001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1793
1794 * cfgrtl.c (purge_all_dead_edges): Initialize variable.
1795 * dwarf2out.c (is_cxx): Prototype.
1796 * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
1797 warning.
1798 * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
1799
a1f04b2e
RK
1800Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1801
1802 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
1803
41543739
GK
18042001-12-02 Geoff Keating <geoffk@redhat.com>
1805
1806 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
1807 * config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
1808 rather than simplify_subreg. Check for volatile-ness. Check that
1809 we're not splitting one slow operation into two slow operations.
1810
931db8d2
DE
18112001-12-02 David Edelsohn <edelsohn@gnu.org>
1812
1813 * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
1814 before shifting.
1815
1f978f5f
NB
18162001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
1817
1818 * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
1819 capital from diagnostics.
1820 * c-lex.c (cb_file_change): Similarly.
1821 * c-parse.in : Similarly.
1822 * cfgrtl.c (verify_flow_info): Similarly.
1823 * collect2.c: Similarly.
1824 * cppfiles.c (find_include_file): Similarly.
1825 * cppinit.c (cpp_handle_option): Similarly.
1826 * cpplex.c (cpp_spell_token): Similarly.
1827 * cppmain.c (do_preprocessing): Similarly.
1828 * gcc.c (translate_options, process_command, do_spec1,
1829 main, pfatal_execute): Similarly.
1830 * genattr.c (main): Similarly.
1831 * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
1832 write_test_expr, main): Similarly.
1833 * gencodes.c (main): Similarly.
1834 * genconfig.c (main): Similarly.
1835 * genconstants.c (main): Similarly.
1836 * genemit.c (main): Similarly.
1837 * genextract.c (main): Similarly.
1838 * genflags.c (main): Similarly.
1839 * genopinit.c (main): Similarly.
1840 * genoutput.c (process_template, main): Similarly.
1841 * genpeep.c (main): Similarly.
1842 * genrecog.c (main): Similarly.
1843 * gensupport.c (is_predicable, identify_predicable_attribute,
1844 alter_predicate_for_insn, init_md_reader_args, main): Similarly.
1845 * ggc-page.c (alloc_anon): Similarly.
1846 * mips-tfile.c (add_string, add_procedure, add_file, read_line,
1847 parse_begin, parse_bend, parse_def, parse_end, parse_file,
1848 parse_stabs_common, parse_stabs, write_varray, write_object,
1849 read_seek, copy_object, main, error): Similarly.
1850 * profile.c (compute_branch_probabilities): Similarly.
1851 * reg-stack.c (check_asm_stack_operands): Similarly.
1852 * reload.c (find_reloads): Similarly.
1853 * reload1.c (spill_failure, failed_reload): Similarly.
1854 * rtl-error.c (_fatal_insn_not_found): Similarly.
1855 * toplev.c (read_integral_parameter, crash_signal,
1856 decode_f_option, set_target_switch, parse_options_and_default_flags)
1857 : Similarly.
1858 * tradcif.y (parse_number, yylex): Similarly.
1859 * tradcpp.c (main, fancy_abort): Similarly.
1860 * tree.c (tree_check_failed): Similarly.
1861 * varray.c (varray_check_failed): Similarly.
1862 * xcoffout.c (xcoff_output_standard_types): Similarly.
1863objc:
1864 * objc-act.c (get_object_ref, lookup_and_install_protocols,
1865 build_objc_string_object, objc_declare_alias, build_ivar_chain,
1866 finish_message_expr, build_protocol_expr, is_public,
1867 start_class): Similarly.
1868
357351e5
NB
18692001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
1870
1871 * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
1872 trailing period from diagnostics.
1873 * c-lex.c (cb_file_change): Similarly.
1874 * cppmacro.c (check_trad_stringification): Similarly.
1875 * gcc.c (do_spec_1): Similarly.
1876 * genattr.c (main): Similarly.
1877 * genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
1878 * gencodes.c (main): Similarly.
1879 * genconfig.c (main): Similarly.
1880 * genconstants.c (main): Similarly.
1881 * genemit.c (main): Similarly.
1882 * genextract.c (main): Similarly.
1883 * genopinit.c (main): Similarly.
1884 * genoutput.c (main): Similarly.
1885 * genpeep.c (main): Similarly.
1886 * genrecog.c (main): Similarly.
1887 * mips-tfile.c (add_file, error): Similarly.
1888 * profile.c (init_branch_prob): Similarly.
1889 * reload1.c (spill_failure): Similarly.
1890 * stmt.c (parse_output_constraint): Similarly.
1891 * varasm.c (assemble_variable): Similarly.
1892
ede75ee8
KG
18932001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1894
22036103
KG
1895 * m68k.c (init_FPA_table): Provide static prototype.
1896 * mips/abi64.h (mips_function_value): Move prototype to ...
1897 * mips-protos.h (mips_function_value): ... here.
1898 * mips.c: Include halfpic.h.
1899 * output.h (rdata_section): Prototype.
1900
ede75ee8
KG
1901 * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1902 * m88k.c (m88k_svr3_asm_out_constructor,
1903 m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
1904 !OBJECT_FORMAT_ELF.
1905 * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1906 * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
1907 * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
1908
6ac7bf2c
GK
19092001-12-01 Geoff Keating <geoffk@redhat.com>
1910
1911 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
1912 LO_SUM addresses less than word size are not legitimate,
1913 because they lead to invalid SUBREGs.
1914 * config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
1915
a22455df
OH
19162001-12-01 Olivier Hainque <hainque@act-europe.fr>
1917
1918 * unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
1919 while scanning for multiple back edges.
1920
8a155ecc
FS
19212001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1922
1923 * ginclude/ppc-asm.h (JUMP_TARGET): New macro.
1924 * config/rs6000/tramp.asm: Use it.
1925
cfc45fb4
ZW
19262001-12-01 Zack Weinberg <zack@codesourcery.com>
1927
1928 * gencheck.c, gengenrtl.c: Don't define xmalloc.
1929 * gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
1930 xmalloc.
1931
6b5ffd4e
JDA
19322001-11-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1933
1934 * pa.c (output_ascii): Cast `p' to unsigned char.
1935
f18c054f
DB
19362001-11-30 Daniel Berlin <dan@cgsoftware.com>
1937
6fa3f289
ZW
1938 * config/rs6000/rs6000.c (altivec_expand_builtin): add
1939 ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
f18c054f
DB
1940 *_16qi,_8hi, rename existing V4SI ones to *_4si.
1941 (altivec_init_builtins): Ditto.
1942 (bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
6fa3f289 1943
f18c054f 1944 * config/rs6000/rs6000.md: Add attribute types vecsimple,
6fa3f289 1945 veccomplex, vecfloat, and vecperm, for altivec instructions.
d6a7951f
JM
1946 Modify altivec patterns to use appropriate attribute type.
1947 Modify altivec patterns to match RTL operations where appropriate
f18c054f
DB
1948 (IE no unspec where we can avoid it).
1949 Add vector unit scheduling for ppc7450.
d6a7951f 1950 Rename patterns to what they are where appropriate
f18c054f
DB
1951 (altivec_vaddfp->addv4sf3, etc)
1952
1953 * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
1954 Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
1955
1956 * config/rs6000/sysv4.h: Add -mcpu=7450.
1957
6fa3f289 1958 * testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
f18c054f
DB
1959 _builtin_altivec_ld_interal function.
1960
6af8c740
KG
19612001-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1962
1963 * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
1964 strchr, strrchr, isascii, gettimeofday.
1965 * config.in, configure: Regenerate.
1966
671f5733 19672001-11-30 Zoltan Hidvegi <hzoli@hzoli.2y.net>
d2384b42
ZH
1968
1969 * unroll.c (unroll_loop): Correct special exit cases.
1970
38875aba
SC
19712001-11-30 Stephane Carrez <Stephane.Carrez@sun.com>
1972
1973 * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
1974 accept DFmode and DImode only.
1975
7b094d6e
AH
19762001-11-30 Aldy Hernandez <aldyh@redhat.com>
1977
1978 * config/rs6000/rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
6fa3f289 1979 (STACK_DYNAMIC_OFFSET): Same.
7b094d6e 1980
dd6bdc62
RH
19812001-11-30 Richard Henderson <rth@redhat.com>
1982
1983 * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
1984
289e96b2
AH
19852001-11-30 Aldy Hernandez <aldyh@redhat.com>
1986
6fa3f289
ZW
1987 * config/rs6000/rs6000.h (CALL_REALLY_USED_REGISTERS): New.
1988 (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
1989 the values in call_used_registers.
289e96b2 1990
c36b1123
JL
1991Fri Nov 30 12:48:26 2001 Jeffrey A Law (law@cygnus.com)
1992
1993 * gthr-dce.h: If _DCE_THREADS is not defined, then just include
1994 gthr-single.
1995
1d3d6b1e
JM
19962001-11-30 Jason Merrill <jason@redhat.com>
1997
1998 * dwarf2out.c (is_cxx): New fn.
1999 (add_data_member_location_attribute): Check it.
2000 * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
2001
3248917b
RK
2002Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2003
2004 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
2005
7d9e680f
DB
20062001-11-30 Daniel Berlin <dan@cgsoftware.com>
2007
2008 * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
2009 MODE_VECTOR_FLOAT as allowed.
2010
06f0b04c
ZW
20112001-11-29 Zack Weinberg <zack@codesourcery.com>
2012
2013 Purge cruft now we have build libiberty.
2014
2015 * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
2016 HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
2017 USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
2018 USE_HOST_STRSTR): Delete variables.
2019 (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
2020 hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
2021 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
2022 $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
2023 (LIBIBERTY, BUILD_LIBIBERTY): New variables.
2024 (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
2025 (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
2026 (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
2027 (HOST_LIBS): Ditto.
2028 (HOST_RTL): Remove hashtab.o safe-ctype.o.
2029 (OBJS): Remove splay-tree.o.
2030 (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
2031 (distclean): No need to delete splay-tree.c obstack.c
2032 hashtab.c safe-ctype.c.
2033 (mostlyclean): Delete build copies of print-rtl.c bitmap.c
2034 errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
2035 * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
2036 Delete.
2037 * configure.in: Don't use them.
2038 Set and substitute @FORBUILD@.
2039 * config.in, configure: Regenerate.
2040 * doprint.c: Move to libiberty/_doprnt.c.
2041 * doc/configterms.texi: Document that libiberty is now built
2042 up to three times. Fix typo.
2043
649ce3f2
JM
20442001-11-30 Jason Merrill <jason@redhat.com>
2045
2046 * dwarf2out.c (add_data_member_location_attribute): Do the
2047 right thing for virtual bases.
2048 * dbxout.c (dbxout_type): For a virtual base, print the offset
2049 within the vtable.
2050
c7c73736
ZH
20512001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
2052
2053 * doloop.c (doloop_valid_p): Check for LTU and GTU as well.
2054
20c29ebe
AH
20552001-11-29 Aldy Hernandez <aldyh@redhat.com>
2056
06f0b04c 2057 * config/rs6000/rs6000.c (function_arg): Unnamed vector arguments
20c29ebe
AH
2058 go in memory.
2059 Remove unused attribute for named.
2060
0d35f155
KG
20612001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2062
2063 * genattrtab.c (attr_rtx_1): New function containing the
2064 majority of `attr_rtx'. Move variable declarations into the
2065 scope where they are used. Eliminate unnecessary gotos.
2066 (attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
2067 VA_FIXEDARG, and VA_CLOSE.
2068
d3295e25
HPN
20692001-11-30 Hans-Peter Nilsson <hp@axis.com>
2070
2071 * config/cris/cris.c (cris_notice_update_cc): Check first
2072 destination also against overlap with cc_status.value2 and second
2073 destination against overlap with cc_status.value1. For overlaps,
2074 clear overlapped value, don't just CC_STATUS_INIT.
2075
2076 * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
45b677bc 2077 Fix typo in comment.
d3295e25 2078 (LINK_SPEC): Remove whitespace at end of line.
06f0b04c 2079
c65fd410
JJ
20802001-11-29 Jakub Jelinek <jakub@redhat.com>
2081
2082 * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
2083
b2ace8a4
JJ
20842001-11-29 Jakub Jelinek <jakub@redhat.com>
2085
2086 * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
2087 macros for the supported debugging types.
2088
c1d5afc4
CR
20892001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
2090
2091 PR other/4932
2092 * config/i386/i386.c (print_operand): Verify that the
2093 argument to %c is a constant and not a conditional which
2094 needs to be reversed.
2095
8125704b
GK
2096Thu Nov 29 11:12:59 2001 Geoffrey Keating (geoffk@redhat.com)
2097
06f0b04c
ZW
2098 * emit-rtl.c (gen_lowpart_common): Fix conversion of
2099 REAL_VALUE_TYPEs to an array of target integers. Fix extraction
2100 of low part of those arrays for 32bit and 64bit hosts.
8125704b 2101
298d914f
KG
21022001-11-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2103
2104 * Makefile.in (insn-output.o): Depend on insn-codes.h.
2105
d3945f0a
JM
21062001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2107
2108 * configure.in (target_list): Add generated-manpages.
2109 * configure: Regenerate.
2110 * Makefile.in (generated-manpages): Depend on
2111 lang.generated-manpages.
2112 * objc/Make-lang.in (objc.generated-manpages): New dummy target.
2113
38f90bec
NC
21142001-11-29 Nick Clifton <nickc@cambridge.redhat.com>
2115
2116 * config/arm/crti.asm (_init): Add .thumb_func if compiled
06f0b04c
ZW
2117 with -mthumb.
2118 (_fini): Add .thumb_func if compiled with -mthumb.
38f90bec 2119
4e0a5dc2
EC
21202001-11-28 Eric Christopher <echristo@redhat.com>
2121
2122 * config/mips/mips.c (override_options): Fix thinko in mips_tune
2123 for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
2124
a1fa5544
JW
2125Thu Nov 29 00:24:15 EST 2001 John Wehle (john@feith.com)
2126
2127 * alpha.md (tablejump): Use pic_offset_table_rtx
2128 instead of gen_rtx_REG.
2129
35a53991
JL
2130Wed Nov 28 15:36:13 2001 Jeffrey A Law (law@cygnus.com)
2131
2132 * expr.c (store_expr): When copying a string constant into an
2133 array, reset the known alignment of the MEM for the section to
2134 be cleared to BITS_PER_UNIT.
2135
117b0c0a
HPN
21362001-11-28 Hans-Peter Nilsson <hp@axis.com>
2137
2138 * config/cris/cris.c: Remove whitespace at end of line.
2139
04cec1a7
DR
2140Wed Nov 28 14:51:23 2001 Douglas B. Rupp <rupp@gnat.com>
2141
2142 * config.gcc (i[34567]86-*-interix3*): New case.
2143 * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
2144 New files.
4e0a5dc2 2145
391f61d9
RH
21462001-11-28 Richard Henderson <rth@redhat.com>
2147
2148 * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
2149 symbolic_operand as the predicate.
2150
e6dc3aa0
RH
21512001-11-28 Richard Henderson <rth@redhat.com>
2152
2153 * doloop.c (doloop_modify_runtime): Properly select induction
2154 variable; skip late entry test if biv initializer created by loop.
2155
5e74f966
RK
2156Wed Nov 28 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2157
f724a9d2
RK
2158 * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
2159 EXPR_WITH_FILE_LOCATION, so change checks and documentation.
2160
3e87ad4d
RK
2161 * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
2162
c46080ab
RK
2163 * tree.h: Add missing checks on some macros; make formatting more
2164 consistent.
2165
3874585e
RK
2166 * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
2167 level; only add to pending_sizes if find it.
2168
f80230c1
RK
2169 * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
2170
36221fc4
RK
2171 * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
2172 Add casts to remove warnings.
2173
033265ba
RK
2174 * Makefile.in (OBJS): Sort alphabetically.
2175
5e74f966
RK
2176 * print-rtl.c (print_rtx): If RTX code is bad, just say so.
2177 Also minor cleanups.
2178
f80230c1
RK
2179Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
2180
2181 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
2182 (FLAGS_TO_PASS): Add STAGE_PREFIX.
2183 (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
2184 to STAGE_PREFIX.
2185
db4a8254
JH
2186Wed Nov 28 10:42:19 CET 2001 Jan Hubicka <jh@suse.cz>
2187
2188 * cse.c (true_dependence_in_rtx): New function.
2189 (invalidate): Use it.
2190
2191 * c-common.h (GOTO_FAKE_P): New macro.
2192 * tree-inline.c (GOTO_FAKE_P): Set.
2193 * c-tree.texi (GOTO_FAKE_P): Document.
2194
2195 * varasm.c (assemble_variable): Set reloc to 3 for error_mark
2196 containing pointers.
2197 (output_addressed_constants): Check for local/external relocations.
2198 * elfos.h (SELECT_SECTION): Classify data section.
2199 * tm.texi (SELECT_SECTION): Update documentation.
2200
2201 * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
2202 (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
2203
59a64a46
KG
22042001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2205
2206 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
2207 UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
2208 OBJECT_FORMAT_ROSE.
2209
3d556836
HPN
22102001-11-28 Hans-Peter Nilsson <hp@axis.com>
2211
2212 * config/cris/cris.c: Tweak spacing for prototypes.
2213 (LOSE_AND_RETURN): New macro.
2214 (cris_operand_lossage): New function.
2215 (cris_print_index, cris_print_base): Use cris_operand_lossage
2216 rather than fatal_insn.
2217 (cris_print_operand, cris_print_operand_address): Use
2218 LOSE_AND_RETURN rather than fatal_insn and internal_error.
2219 (cris_output_addr_const): Use LOSE_AND_RETURN and
2220 output_operand_lossage rather than fatal_insn and internal_error
2221 for valid but unexpected rtx expressions.
2222
2223 * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
2224 for a SUBREG in src or dest, abort instead.
2225
215e1152
BM
22262001-11-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2227
2228 * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
2229 doc.
2230
8a63621f
JJ
22312001-11-27 Jakub Jelinek <jakub@redhat.com>
2232
2233 * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
2234 preprocessor define. If only DBX_DEBUGGING_INFO or only
2235 DWARF2_DEBUGGING_INFO is supported for the target, provide
2236 appropriate definitions.
2237
0abc6a6a
NB
22382001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
2239
2240 * Makefile.in: Update, and add c-objc-common.o dependencies.
2241 * c-lang.c: Remove unnecessary includes.
2242 (c_init): Move bulk of code to c_objc_common_init, and call it.
2243 (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
2244 inline_forbidden_p, c_cannot_inline_tree_fn): Move to
2245 c-objc-common.c.
2246 * c-objc-common.c: New. Mostly pulled from c-lang.c.
2247 * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
2248 c_objc_common_init, c_missing_noreturn_ok_p): New.
2249 * toplev.c: Update comment.
2250 * doc/passes.texi: Update.
2251objc:
931db8d2 2252 * objc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
0abc6a6a
NB
2253 LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
2254 LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
2255 (objc_init): Update to use c_objc_common_init.
2256
22572001-11-27 Neil Booth <neil@daikokuya.demon.co.uk>
2258
2259 * cpphash.c (_cpp_init_hashtable): Update.
2260 * cpphash.h (struct spec_nodes): Remove n_L.
2261 * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
2262
9827f778
RH
22632001-11-17 Richard Henderson <rth@redhat.com>
2264
2265 * unroll.c (loop_iterations): Move last change ...
2266 * doloop.c (doloop_modify_runtime): ... here.
2267
ec3fba56
CM
22682001-11-17 Corey Minyard <minyard@acm.org>
2269 Richard Henderson <rth@redhat.com>
2270
2271 * unroll.c (loop_iterations): Detect one situation in which we
2272 overestimate the number of iterations.
2273
b856c15d
RO
22742001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2275
2276 * gcc.c (set_input): Export.
2277 Move declaration ...
2278 gcc.h (set_input): ... here.
2279
22802001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2281
2282 * gcc.c (set_collect_gcc_options): New function, split out from
2283 main.
2284 Ignore elided switches.
2285 (do_spec): Invoke before executing command.
2286 (do_spec_1): Likewise.
2287 Fixes PR other/3968.
2288
ae08d4c0
HPN
22892001-11-27 Hans-Peter Nilsson <hp@axis.com>
2290
2291 * config/cris/cris.h (INT_ASM_OP): Remove.
2292
b9fbb936
RO
22932001-11-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2294
2295 * config/i386/sol2.h (WINT_TYPE): Redefine.
2296 (WINT_TYPE_SIZE): Likewise.
2297
ec8e621d
KG
22982001-11-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2299
475c267f
KG
2300 * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
2301 (dup2): Make static and add prototype.
2302 * m68k/plexus.h: Don't define NO_DUP2.
2303 * configure.in (AC_CHECK_FUNCS): Add dup2.
2304 * config.in, configure: Regenerate.
2305
ec8e621d
KG
2306 * ia64/aix.h (REG_SIZE): Don't #undef.
2307 * sparc.h (REG_SIZE): Delete.
2308 * flow.c (mark_used_regs): Don't use REG_SIZE.
2309 * regs.h (REG_SIZE): Delete.
2310
4a2fadae
AS
23112001-11-27 Andreas Schwab <schwab@suse.de>
2312
2313 * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
2314 PREFERRED_DEBUGGING_TYPE.
2315
ac79cd5a
RK
2316Tue Nov 27 08:21:47 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2317
2318 * Makefile.in (c-lang.o): Depends on langhooks-def.h.
2319 (expr.o, varasm.o): Depends on langhooks.h.
2320 * c-common.c (c_safe_from_p): Always declare.
2321 (c_expand_expr): Refine when declared.
2322 * c-lang.c (c-common.h): Now include.
2323 (LANG_HOOKS_SAFE_FROM_P): Define new hook.
2324 (c_init): Don't set lang_safe_from_expr.
2325 * expr.c (langhooks.h): Now include.
2326 (lang_safe_from_p): No longer define.
2327 (safe_from_p): Use lang hook.
2328 (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
2329 (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
2330 * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
2331 * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
2332 (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
2333 * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
2334 * langhooks.h (struct lang_hooks): New fields expand_constant
2335 and safe_from_p.
2336 * output.h (output_constant): Size arg is HOST_WIDE_INT.
2337 * stmt.c (expand_decl_init): No longer need to expand constant
2338 for CONST_DECL.
2339 * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
2340 * toplev.c (lang_expand_constant): Delete var.
2341 * tree.c (save_expr): Don't put another SAVE_EXPR around simple
2342 operations on SAVE_EXPR.
2343 * varasm.c (langhooks.h): Now include.
2344 (compare_constant_1): Use lang_hooks, not lang_expand_constant.
2345 (record_constant_1, output_addressed_constants): Likewise.
2346 (initializer_constant_valid_p, output_constant): Likewise.
2347 (output_constant_def): Process no-defer of string constant.
2348 (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
2349 (output_constant): Strip more conversions.
2350 Track our size and pad for the rest.
2351 (array_size_for_constructor): Remove code for non-byte STRING_CST.
2352 (output_constructor): SIZE now HOST_WIDE_INT.
2353
188235df
RH
23542001-11-27 Richard Henderson <rth@redhat.com>
2355
2356 * ifcvt.c (noce_try_store_flag_constants): Test for overflow
2357 in computing DIFF.
2358
07e96fc6
ZW
23592001-11-27 Zack Weinberg <zack@codesourcery.com>
2360
2361 * cppfiles.c (read_include_file): Add comment.
2362
5652450c
RH
23632001-11-26 Richard Henderson <rth@redhat.com>
2364
2365 * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
2366
89e6abff
RH
23672001-11-26 Richard Henderson <rth@redhat.com>
2368
2369 * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
2370 * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
2371 commented out override.
2372
4d6baafa
NB
23732001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
2374
2375 * cppfiles.c (stack_include_file): Don't optimize zero-length
2376 files.
2377 (read_include_file): NUL-terminate read files.
2378 * cpplex.c (handle_newline, skip_escaped_newlines,
2379 get_effective_char, skip_whitespace, parse_identifier,
2380 parse_identifier_slow, parse_number, parse_string,
2381 _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
2382 NUL-terminated.
2383 * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
2384 Be sure buffers are NUL terminated.
2385 * cppmacro.c (warn_of_redefinition): Kill compile warning.
2386
23872001-11-26 Neil Booth <neil@daikokuya.demon.co.uk>
2388
2389 * c-common.c: Include tree-inline.h.
2390 (c_language): Move separate definitions here.
2391 (c_common_init_options, c_common_post_options): New.
2392 (c_common_lang_init): Rename c_common_init.
2393 * c-common.h (c_common_lang_init): Similarly.
2394 (c_common_init_options, c_common_post_options): New.
2395 * c-lang.c (c_post_options): Move body to c_common_post_options.
2396 (c_init_options): Use c_common_init_options.
2397 (c_init): Update.
2398 * langhooks.def: Rearrange.
2399 * langhooks.h: Rearrange, and improve comments.
2400 * toplev.c (do_compile): New function.
2401 (toplev_main): Use it.
2402 (lang_independent_f_options, parse_options_and_default_flags,
2403 process_options): Remove trailing periods.
2404 * Makefile.in: Update.
2405objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
2406 functions.
2407 (ojbc_init): Update.
2408
d4b4b319
RH
24092001-11-26 Richard Henderson <rth@redhat.com>
2410
2411 * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
2412
8b6000fc
DD
24132001-11-26 DJ Delorie <dj@redhat.com>
2414
2415 * expr.c (store_constructor): Actually use the value computed
2416 if WORD_REGISTER_OPERATIONS.
2417
c70ebb68
RH
24182001-11-26 Richard Henderson <rth@redhat.com>
2419
2420 * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
2421 for CONSTRUCTOR.
2422
fa9b5c6b
DE
24232001-11-26 David Edelsohn <edelsohn@gnu.org>
2424
2425 * rs6000.c (output_mi_thunk): Handle minimal-toc and call
2426 correct function on AIX.
2427
8924f58b
AO
24282001-11-26 Alexandre Oliva <aoliva@redhat.com>
2429
2430 * toplev.c (process_options): Don't force
2431 flag_optimize_sibling_calls to zero just because exceptions are
2432 enabled.
2433
afb14002
JL
2434Mon Nov 26 12:37:05 2001 Jeffrey A Law (law@cygnus.com)
2435
2436 * df.h (transfer_function_sbitmap): Use PARAMS around argument
2437 list in function prototypes.
2438 (transfer_function_bitmap): Likewise.
2439
b0b3cf5e
LR
24402001-11-26 Loren J. Rittle <ljrittle@acm.org>
2441
2442 * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
2443 * config/i386/netbsd-elf.h: Likewise.
2444
79fde587
DE
24452001-11-26 David Edelsohn <edelsohn@gnu.org>
2446
2447 * doc/trouble.texi: Remove outdated RS/6000 comments.
2448
5bc72aeb
JH
2449Mon Nov 26 13:49:41 CET 2001 Jan Hubicka <jh@suse.cz>
2450
2451 * final.c (walk_alter_subreg): Fix return value.
2452
2453Mon Nov 26 11:36:20 CET 2001 Jan Hubicka <jh@suse.cz>
0e1638d4
JH
2454
2455 * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
2456 alter_subreg.
2457 * sparc.md (post-reload splitters): Do not call alter_subreg.
2458 * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
2459
78b583fe
AH
24602001-11-25 Aldy Hernandez <aldyh@redhat.com>
2461
2462 * regclass.c (choose_hard_reg_mode): Handle vector arguments.
2463
addd7df6
AM
24642001-11-26 Alan Modra <amodra@bigpond.net.au>
2465
2466 * final.c: (insn_lengths): Make it an int *, so that large jump
2467 tables don't overflow.
2468
7e5fb12f
JM
24692001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
2470
2471 * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
2472 (format_types): Use it for scanf.
2473 (dollar_arguments_pointer_p): New.
2474 (init_dollar_format_checking): Store details of which arguments
2475 are pointers.
2476 (maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
2477 (finish_dollar_format_checking): Take extra parameter
2478 pointer_gap_ok. Treat unused arguments differently if
2479 pointer_gap_ok and the unused arguments are pointers.
2480 (check_format_info_main): Pass extra argument to
2481 finish_dollar_format_checking.
2482 * doc/invoke.texi (-Wno-format-extra-args): Document behavior when
2483 unused arguments are present between used arguments with operand
2484 numbers.
2485
a6253d46
DB
24862001-11-25 Daniel Berlin <dan@cgsoftware.com>
2487
2488 * df.c: Add prototypes for hybrid_search_bitmap and
4e0a5dc2 2489 hybrid_search_sbitmap.
a6253d46
DB
2490 (hybrid_search_bitmap): New function.
2491 (hybrid_search_sbitmap): New function.
2492 (iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
2493 (iterative_dataflow_bitmap): Ditto.
4e0a5dc2 2494
4f81fba1
SC
24952001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2496
2497 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
2498 address computations.
2499
259ed6e2
SC
25002001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2501
2502 * config/m68hc11/m68hc11.c (d_register_operand): Must accept
2503 register b (low part of d).
2504
f4b00a9a
SC
25052001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2506
2507 * config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
2508 passed to mcount.
2509
d133777f
DR
2510Sun Nov 25 06:22:09 2001 Douglas B. Rupp <rupp@gnat.com>
2511
2512 * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
2513 * config/alpha/x-vms: New file, to compile the above.
2514 * config.gcc (alpha*-dec-vms*): Add x-vms.
2515
2dbbe435
HPN
25162001-11-24 Hans-Peter Nilsson <hp@axis.com>
2517
2518 * genextract.c (main): Set ro_loc for peepholes.
2519
7201ce79
DR
2520Sat Nov 24 17:04:10 2001 Douglas B. Rupp <rupp@gnat.com>
2521
e1c12209
DR
2522 * fix-header.c (main): Move inf_buffer termination and inf_limit
2523 calculation to after read.
2524
7201ce79
DR
2525 * config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
2526 (__UNIX_FOPEN): Define.
2527
08e42d8b
RK
2528Sat Nov 24 16:11:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2529
2530 * function.c (assign_stack_temp_for_type): Clear alias set before
2531 setting new one.
2532
134c32f6
DE
25332001-11-23 David Edelsohn <edelsohn@gnu.org>
2534
2535 * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
2536 format.
2537 * rs6000.md (cmptf): Fix typo.
2538
eac50d7a
RS
25392001-11-23 Richard Sandiford <rsandifo@redhat.com>
2540
2541 * final.c (output_addr_const): Output PC as '.' even if !flag_pic.
2542 * varasm.c (output_constructor): Use assemble_integer rather
2543 than ASM_OUTPUT_BYTE.
2544
e1e7d56b
AJ
25452001-11-23 Andreas Jaeger <aj@suse.de>
2546
2547 * cpplex.c (cpp_interpret_charconst): Use HOST_WIDE_INT for sign
2548 extension.
2549
56101178
NC
25502001-11-23 Nick Clifton <nickc@cambridge.redhat.com>
2551
2552 * config/arm/xscale-coff.h (SUBTARGET_CPU_DEFAULT): Override
2553 default definition.
2554 (SUBTARGET_EXTRA_ASM_SPEC): Remove previous definition.
2555 (MULTILIB_DEFAULTS): Remove previous definition.
2556
f26311c1
NB
25572001-11-23 Neil Booth <neil@daikokuya.demon.co.uk>
2558
2559 * cppmacro.c (warn_of_redefinition): Warn regardless of -pedantic.
2560 * gcc.dg/cpp/mi6.c, gcc.dg/cpp/redef2.c: Update.
2561
a338be44
KG
25622001-11-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2563
2564 * cris.h: Revert thinko in last patch.
2565
754d9299
JM
25662001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
2567
a1f300c0
JM
2568 * ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
2569 FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
2570 cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
2571 dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
2572 explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
2573 sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
2574
754d9299
JM
2575 * predict.c, reg-stack.c: Fix spelling errors.
2576
60f4621c
AH
25772001-10-09 Andrew Haley <aph@redhat.com>
2578
2579 * calls.c (check_sibcall_argument_overlap): Use slot_offset for
2580 start of stack slot.
2581
09eb1aab
GS
25822001-11-22 Graham Stott <grahams@redhat.com>
2583
2584 * cfgrtl.c (try_redirect_by_replacing_jump): Fix typo, emit
2585 replacement jump after original jump.
2586
2587 (verify_flow_info): Remove redundent initialisation.
2588 Handle reaching end of insn list before finding a BARRIER.
2589 Only issue one missing barrier diagnostic.
2590
44a5da09
GS
25912001-11-22 Graham Stott <grahams@redhat.com>
2592
2593 * local-alloc.c (combine_regs): Handle SUBREG_REG being a MEM.
2594
669fe758
RK
2595Thu Nov 22 06:49:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2596
2597 * config/i386/i386.md (leave, leave_rex64): Have RTL reflect what
2598 insn actually does.
2599
eb9601ab
NC
26002001-11-22 Nick Clifton <nickc@cambridge.redhat.com>
2601
98180123
NC
2602 * doc/invoke.texi (M32R/D Option Summary): Document -m32r switch.
2603 Fix typo -mm32rx=> -m32rx.
2604
ebe413e5
NC
2605 * config/arm/arm.c (arm_elf_asm_named_section): Only build for elf
2606 targets.
2607
eb9601ab 2608 * config.gcc (xscale-coff): Add necessary header files to
06f0b04c 2609 tm_file variable.
eb9601ab 2610
44518ddd
ZW
26112001-11-20 Zack Weinberg <zack@codesourcery.com>
2612
2613 * rs6000.c (output_cbranch): Use $, not %$, in output template.
2614
89d684bb
BM
26152001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2616
2617 * tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
2618 (lang_type_quals): Declare.
e1e7d56b
AJ
2619 (dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
2620 retrieve language-specific qualifiers for a type node, instead of
2621 C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
89d684bb
BM
2622 lang_dump_tree.
2623 * tree-dump.h: Rename from c-dump.h.
2624 * c-common.h (C_TYPE_QUALS): Removed.
2625 Move declarations for tree-dump.c interface to...
2626 * tree.h: ... here. Remove lang_dump_tree.
2627 * langhooks.h (struct lang_hooks_for_tree_dump): New.
2628 (struct lang_hooks): Add tree_dump hooks.
2629 * langhooks.c (lhd_tree_dump_dump_tree): New function.
2630 (lhd_tree_dump_type_quals): New function.
2631 * langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
2632 Declare.
2633 (LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
2634 * Makefile.in: Move tree-dump.o to language-independent back-end.
2635
4617e3b5
KG
26362001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2637
2638 * 1750a.h (DBX_REGISTER_NUMBER): Don't define.
2639 * alpha.h (DBX_REGISTER_NUMBER): Likewise.
2640 * arc.h (DBX_REGISTER_NUMBER): Likewise.
2641 * arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
2642 * avr.h (DBX_REGISTER_NUMBER): Likewise.
2643 * c4x.h (DBX_REGISTER_NUMBER): Likewise.
2644 * clipper.h (DBX_REGISTER_NUMBER): Likewise.
2645 * convex.h (DBX_REGISTER_NUMBER): Likewise.
2646 * cris.h (DBX_REGISTER_NUMBER): Likewise.
2647 * dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
2648 * elxsi.h (DBX_REGISTER_NUMBER): Likewise.
2649 * fr30.h (DBX_REGISTER_NUMBER): Likewise.
2650 * h8300.h (DBX_REGISTER_NUMBER): Likewise.
2651 * i370.h (DBX_REGISTER_NUMBER): Likewise.
2652 * i860.h (DBX_REGISTER_NUMBER): Likewise.
2653 * i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
2654 * i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
2655 * i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2656 * m32r.h (DBX_REGISTER_NUMBER): Likewise.
2657 * m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
2658 * m88k.h (DBX_REGISTER_NUMBER): Likewise.
2659 * mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
2660 * mcore.h (DBX_REGISTER_NUMBER): Likewise.
2661 * mn10200.h (DBX_REGISTER_NUMBER): Likewise.
2662 * mn10300.h (DBX_REGISTER_NUMBER): Likewise.
2663 * pdp11.h (DBX_REGISTER_NUMBER): Likewise.
2664 * romp.h (DBX_REGISTER_NUMBER): Likewise.
2665 * rs6000.h (DBX_REGISTER_NUMBER): Likewise.
2666 * rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
2667 * s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
2668 * stormy16.h (DBX_REGISTER_NUMBER): Likewise.
2669 * v850.h (DBX_REGISTER_NUMBER): Likewise.
2670 * vax.h (DBX_REGISTER_NUMBER): Likewise.
2671 * we32k.h (DBX_REGISTER_NUMBER): Likewise.
e1e7d56b 2672
4617e3b5
KG
2673 * defaults.h (DBX_REGISTER_NUMBER): Provide a default.
2674 * doc/tm.texi (DBX_REGISTER_NUMBER): Update.
2675
13422e9d
L
26762001-11-21 H.J. Lu <hjl@gnu.org>
2677
2678 * config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.
2679
40c13662
KG
26802001-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2681
2682 * s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
2683 emit_cmp_and_jump_insns.
2684
2685 * stormy16.c (xstormy16_expand_builtin_va_arg,
2686 xstormy16_expand_casesi): Likewise.
2687
c11c10d8
RK
2688Wed Nov 21 17:37:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2689
3258e996
RK
2690 * function.c (keep_stack_depressed): Major rework.
2691 (handle_epilogue_set, emit_equiv_load): New functions.
2692 (thread_prologue_and_epilogue_insns): keep_stack_depressed now
2693 has return value.
2694 * jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
2695 * rtl.h (SET_IS_RETURN_P): New macro.
2696
c11c10d8
RK
2697 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
2698 and also support TREE_ADDRESSABLE.
2699 * tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.
2700
2e7d5318
DE
27012001-11-21 David Edelsohn <edelsohn@gnu.org>
2702
2703 * rs6000.md (cmptf_internal1): Replace %$ with $.
2704
ca47c89e
DR
2705Wed Nov 21 16:44:01 2001 Douglas B. Rupp <rupp@gnat.com>
2706
ae1139f9
DR
2707 * cppfiles.c (STAT_SIZE_TOO_BIG): Define.
2708 (read_include_file): Use STAT_SIZE_TOO_BIG.
2709
ca47c89e
DR
2710 * cppinit.c (INO_T_COPY): Define.
2711 (INO_T_EQ): Uppercase parameters.
2712 (append_include_chain): Use INO_T_COPY.
2713
9d083c8c
RS
27142001-11-21 Richard Sandiford <rsandifo@redhat.com>
2715
2716 * cfg.c: Fix typos and formatting in the introductory comment.
2717
b9224c94
JH
2718Wed Nov 21 12:38:37 CET 2001 Jan Hubicka
2719
2720 * profile.c (compute_branch_probabilites): Compute probabilities
2721 for entry/exit edges; estimate probabilities for zero counts.
2722
1258ee80
JJ
27232001-11-21 Jakub Jelinek <jakub@redhat.com>
2724
2725 * explow.c (probe_stack_range): Use LCT_NORMAL as second argument
2726 to emit_library_call.
2727 * function.c (expand_main_function, expand_function_start,
2728 expand_function_end): Likewise.
2729 * profile.c (output_func_start_profiler): Likewise.
2730 * stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
2731 second argument to emit_library_call.
2732 * optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
2733 as second argument to emit_library_call.
2734 * calls.c (emit_library_call): Update fn_type description.
2735
83dea45d
JJ
27362001-11-21 Jakub Jelinek <jakub@redhat.com>
2737
2738 * c-decl.c (c_expand_deferred_function): Only call c_expand_body
2739 if fndecl is still DECL_INLINE and has DECL_RESULT.
2740
cd4c46f3
KG
27412001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2742
2743 * clipper.c (clipper_movstr): Avoid uninitialized warning.
2744 * i960.c (is_mask, legitimize_address): Likewise.
2745 * m88k.c (m88k_expand_prologue): Likewise.
2746 * m88k.md: Likewise.
2747 * mcore.c (emit_new_cond_insn): Likewise.
2748 * stormy16.c (xstormy16_emit_cbranch): Likewise.
2749
f607bc57
ZW
27502001-11-20 Zack Weinberg <zack@codesourcery.com>
2751
2752 * config.gcc: Delete powerpcle-*-solaris2* stanza.
2753 * config/rs6000/eabi.asm, config/rs6000/rs6000.c,
2754 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
2755 config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
2756 config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
2757 config/rs6000/t-ppcos: Expunge all references to Solaris.
2758
2759 * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.
2760
2761 * config/rs6000/rs6000.md: Replace '%$' with '$' in all
2762 output templates.
2763 * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
2764 and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.
2765
533f5e0f
KG
27662001-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2767
2768 * sh.md: Avoid uninitialized warnings.
2769 * vax.c (vax_rtx_cost): Likewise.
2770
00b960c7
AH
27712001-11-15 Aldy Hernandez <aldyh@redhat.com>
2772
2773 * rs6000.c (direct_return): Check if we are saving altivec
2774 registers.
2775 (first_altivec_reg_to_save): New.
2776 Updated stack frame layout comments.
2777 (rs6000_stack_info): Calculate altivec register save size.
2778 Save link register if we saved some altivec registers.
2779 (rs6000_stack_info): Align save size to 16 if altivec abi or
2780 abi_darwin.
2781 (rs6000_stack_info): Calculate altivec register offsets.
2782 (rs6000_stack_info): Add altivec info to save_size.
2783 (debug_stack_info): Add altivec debug info.
2784 (rs6000_emit_prologue): Save altivec registers and vrsave.
2785 (compute_vrsave_mask): New.
2786 (altivec_expand_builtin): Remove unused variables.
2787 (rs6000_parse_abi_options): Add static qualifier.
2788 (rs6000_expand_builtin): Remove unused parameters.
2789 (altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
2790 (altivec_init_builtins): Same.
2791 (is_altivec_return_reg): New.
2792 (vrsave_operation): New.
2793 (ALTIVEC_REG_BIT): New.
2794 (generate_set_vrsave): New.
2795
2796 * rs6000.md (get_vrsave): New.
2797 (set_vrsave): New.
2798 (*set_vrsave_internal): New.
2799
2800 * rs6000.h (rs6000_stack): Add first_altivec_reg_save,
2801 altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
2802 altivec_padding_size, vrsave_mask.
2803 (TOTAL_ALTIVEC_REGS): New.
2804 (EPILOGUE_USES): Add VRSAVE_REGNO.
2805
1b735a57
JL
28062001-11-20 Jeff Law <law@redhat.com>
2807
2808 * unroll.c (copy_loop_body): Update LABEL_NUSES for the
2809 exit label as necessary.
2810
92a21141 28112001-11-20 Brad Kaiser <bkaiser@acelink.net>
f607bc57 2812
92a21141
BK
2813 * reload1.c (elimination_effects): Use function_invariant_p
2814 instead of CONSTANT_P when considering register equivalences.
2815
b91da81f
DB
28162001-11-20 David O'Brien <obrien@FreeBSD.org>
2817
2818 * config.gcc: Add FreeBSD/PowerPC target.
2819 (powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
2820 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
2821 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
2822 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
2823 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
2824 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
2825 freebsd-spec.h to tm_file.
2826 (rs6000-*-lynxos*): Add lynx.h to tm_file.
2827 * config/freebsd.h: Tidy up.
2828 (USING_CONFIG_FREEBSD): Define.
2829 (FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
2830 FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
2831 FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
2832 (TARGET_HAS_F_SETLKW): Define.
2833 (ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
2834 * config/freebsd-spec.h: New file.
2835 * config/rs6000/freebsd.h: New file.
2836 * config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
2837 * config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
2838 USING_SVR4_H to know when to turn on ELF support.
2839 * config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
2840 define only if not already defined.
2841 Add FreeBSD support.
2842 * config/rs6000/aix.h (TARGET_VERSION): Define.
2843 * config/rs6000/beos.h: Likewise.
2844 * config/rs6000/darwin.h: Likewise.
2845 * config/rs6000/mach.h: Likewise.
2846 * config/rs6000/lynx.h (TARGET_VERSION): Likewise.
2847 Don't include lynx.h directly.
2848
5d393c8e
GS
28492001-11-20 Graham Stott <grahams@redhat.com>
2850
2851 * unwind-dw2-fde.c (__deregister_frame_info_bases):
2852 Fix lossage in last change return OB.
2853
a6e50ecb
DR
2854Tue Nov 20 11:56:12 2001 Douglas B. Rupp <rupp@gnat.com>
2855
2856 * config/alpha/xm-vms.h (_POSIX_EXIT): Define.
2857 Remove unneeded exit related macros.
2858
06f4e019
DE
28592001-11-20 David Edelsohn <edelsohn@gnu.org>
2860
2861 * rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
2862
2863 * rs6000.c (rs6000_emit_move): Add TFmode case.
2864 * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
2865 LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
2866 LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
2867 * rs6000.h: ... to here.
2868 * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
2869 trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
d6f99ca4 2870 fix_trunctfsi2, negtf2, abstf2, nabstf2, cmptf): New patterns.
06f4e019 2871
916f389b
RK
2872Tue Nov 20 06:41:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2873
2874 * emit-rtl.c (get_mem_attrs): Fix typo.
2875
2dbd62ff
JJ
28762001-11-20 Jakub Jelinek <jakub@redhat.com>
2877
2878 * c-lang.c (finish_file): Backout 2001-11-16
2879 changes, instead set DECL_DEFER_OUTPUT for static inline functions
2880 before calling c_expand_deferred_function.
2881
55fae1a9
JJ
28822001-11-20 Jakub Jelinek <jakub@redhat.com>
2883
2884 * unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
2885 Don't register empty .eh_frame sections.
2886 (__deregister_frame_info_bases, __deregister_frame): Don't
2887 unregister them either.
2888
5f0e9ea2
GK
28892001-11-19 Geoffrey Keating <geoffk@redhat.com>
2890
2891 * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
2892 (HAVE_AS_GSTABS_DEBUG_FLAG): Define.
2893 * configure: Regenerate.
2894 * config.in: Add dummy definitions of new flags.
2895 * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
2896 * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
2897 * gcc.c (ASM_DEBUG_SPEC): New macro.
2898 (asm_debug): New static variable.
2899 (default_compilers): Add asm_debug when assembling from
2900 user input.
2901 (static_specs): Add asm_debug.
2902
a5f4f16c
LR
29032001-11-20 Loren J. Rittle <ljrittle@acm.org>
2904
2905 * config.gcc (*-*-freebsd*): Remove configuration block.
2906
d8140df6
LR
29072001-11-19 Loren J. Rittle <ljrittle@acm.org>
2908
2909 bootstrap/4422
2910 * configure.in: Setup ability to run ./stage[1234]/xgcc in
2911 fixinc *as if* it were a proper lang subdirectory.
2912 * configure: Rebuilt.
2913
c185387d
LR
29142001-11-19 Loren J. Rittle <ljrittle@acm.org>
2915
2916 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
2917
79663a62
KG
29182001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2919
2920 * 1750a.md: Don't use hex format for a const_int.
2921
e98f90d3
GK
29222001-11-19 Geoffrey Keating <geoffk@redhat.com>
2923
2924 * expmed.c (extract_bit_field): Don't create invalid SUBREGs.
2925
497e89e1
ZW
29262001-11-19 Zack Weinberg <zack@codesourcery.com>
2927
2928 * mkconfig.sh: Undefine ENABLE_NLS if GENERATOR_FILE is
2929 defined (prevents link errors when gettext isn't in the system
2930 library).
2931
53c98b1f
DD
29322001-11-19 DJ Delorie <dj@redhat.com>
2933
2934 * read-rtl.c (ISDIGIT, ISSPACE): Make sure we have these.
2935 (validate_const_int): New.
2936 (read_rtx): Validate constant integers.
2937 * config/i386/i386.md (pmulhrwv4hi3): Use decimal constants.
2938
8b97450d
JJ
29392001-11-19 Jakub Jelinek <jakub@redhat.com>
2940
2941 * doc/hostconfig.texi (DUMPFILE_FORMAT): Move into the table.
2942
6baf9874
DR
2943Mon Nov 19 16:57:44 2001 Douglas B. Rupp <rupp@gnat.com>
2944
2945 * toplev.c (DUMPFILE_FORMAT): Define default.
2946 (open_dump_file): Use DUMPFILE_FORMAT in sprintf.
2947 (close_dump_file, compile_file): Likewise.
2948 * config/alpha/xm-vms.h (DUMPFILE_FORMAT): Define.
2949 * doc/hostconfig.texi (DUMPFILE_FORMAT): Document
2950
419fef71
JL
29512001-11-19 Jeff Law <law@redhat.com>
2952
2953 * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
2954 a nop-jump.
2955
29562000-11-19 Neil Booth <neil@daikokuya.demon.co.uk>
3293c3e3
NB
2957
2958 * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
2959 Don't fall off the base token run.
2960
c29593dc
JW
29612001-11-19 Jason Wilkins <fenix@io.com>
2962
2963 * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
2964
ed239f5a
RK
2965Mon Nov 19 15:13:43 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2966
2967 * tree.def (VIEW_CONVERT_EXPR): New tree code.
2968 * tree.h (handled_component_p): New declaration.
2969 * alias.c (handled_component_p): Move function from here ...
2970 * expr.c (handled_component_p): ... to here and non longer static.
2971 (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
2972 (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
2973 (get_inner_reference): Handle VIEW_CONVERT_EXPR.
2974 (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
2975 (expand_expr, case VIEW_CONVERT_EXPR): New case.
2976 (expand_expr, cse ADDR_EXPR): No need to copy if already
2977 BIGGEST_ALIGNMENT.
2978 * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
2979 * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
2980 (output_constant): Handle VIEW_CONVERT_EXPR.
2981 * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
2982 Add new case for VIEW_CONVERT_EXPR.
2983
a5a9cb26
KG
29842001-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2985
2986 * a29k/unix.h (ASM_FILE_START): Const-ify.
2987 * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
2988 * i386/isc.h (ASM_FILE_START): Const-ify.
2989 * i386/sun386.h (ASM_FILE_START): Likewise.
2990 * m32r.md: Likewise.
2991 * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
2992 * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
2993 * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
2994 * mn10200.md: Initialize variable.
2995
7fcd7218
JH
2996Mon Nov 19 18:06:21 CET 2001 Jan Hubicka <jh@suse.cz>
2997
2998 * gcse.c (try_replace_reg): Copy RTX before creating note.
2999
3000 * df.h (df_ref_flags): New uenum.
3001 (DF_REF_FLAGS): New macro.
3002 (struct ref): Add field "flags".
3003 * df.c (HANDLE_SUBREG): Remove.
3004 (df_ref_create): Likewise; set flags field of ref.
3005 (df_def_record_1): Strip down read_write subreg; remove
3006 commented out code; set READ_WRITE flag.
3007 (read_modify_subreg_p): New static function.
3008 (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
3009 new argument "flags".
3010 (df_insn_refs_record): Update call of df_uses_record.
3011 (df_insn_modify): Avoid #if 0 around comment.
3012 (df_dump): Dump the read/write flag.
3013
3014 * predict.c (propagate_freq): Make cyclic_probability and frequency
3015 volatile
3016
3017 * i386.c (ix86_cc_mode): Accept USE.
3018
3019 * cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
3020 jump is turned into simplejump.
3021
598f4c4c
JM
30222001-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
3023
3024 * doc/fragments.texi, doc/trouble.texi: Remove links to old
3025 installation chapter.
3026 * doc/gcc.texi: Don't claim that this manual documents
3027 installation. Mark Installation menu entry as being out of date.
3028
394f41b6
DR
3029Mon Nov 19 07:21:35 2001 Douglas B. Rupp <rupp@gnat.com>
3030
3031 * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
3032 (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
3033 * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
3034
aa6ad1a6
JM
30352001-11-19 Jason Merrill <jason@redhat.com>
3036
3037 * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
3038 cur_token, not after.
3039
3040 * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
3041 Lose ASM_OUTPUT_CONSTRUCTOR.
3042 * system.h: Poison it and INT_ASM_OP.
3043 * c-lang.c (finish_file): Don't check for it.
3044 * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
3045
75540760
KG
30462001-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3047
3048 * mmix.c (mmix_cc1_ignored_option): Const-ify.
3049 (mmix_init_machine_status): Make static to match declaration.
3050 (mmix_unique_section): Const-ify.
3051 (mmix_output_quoted_string): Avoid automatic aggregate
3052 initialization.
3053 (mmix_output_register_setting): Likewise.
3054 (mmix_output_shiftvalue_op_from_str): Likewise.
3055
3056 * mmix.h (mmix_cc1_ignored_option): Const-ify.
3057 (ASM_OUTPUT_BYTE): Fix format specifier warning.
3058 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3059
39244792
CR
30602001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3061
3062 PR c/4448
3063 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
f607bc57 3064 name __objc_thread_exit_status so that it matches the
39244792
CR
3065 variable defined in objc/thr.h.
3066
20266bb1
CR
30672001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
3068
3069 PR bootstrap/4020
3070 * mklibgcc.in: Add missing semi-colons.
3071 * Makefile.in: Same.
3072
e27cc84b
RK
3073Sun Nov 18 16:47:00 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3074
3075 * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
3076 after re-laying out decl in incomplete case.
3077 (expand_expr, case ADDR_EXPR): Fix typo in copy case.
3078
72170b22
JM
30792001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
3080
3081 * doc/install-old.texi: Move some sections out to ...
3082 * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
3083 ... here. New files. Make into chapters rather than sections.
3084 * doc/gcc.texi: Include the new files and add menu entries for
3085 them.
3086 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3087
69deb6e0
RK
3088Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3089
c3d32120
RK
3090 * tree.h (TYPE_ALIGN_OK): New flag.
3091 * emit-rtl.c (set_mem_attributes): Handle it.
3092 * expr.c (emit_single_push_insn): Only set to alias set 0 if
3093 doing sibcall optimization.
3094 (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
3095 when make temporary.
3096 (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
3097 (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
3098
69deb6e0
RK
3099 * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
3100
aa99bd09
JM
31012001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
3102
3103 * c-decl.c (c_decode_option): Give deprecation warning for
3104 -traditional.
3105 * doc/invoke.texi (-traditional): Note that this option is
3106 deprecated.
3107
5505dff9
DR
3108Sun Nov 18 07:40:07 2001 Douglas B. Rupp <rupp@gnat.com>
3109
6f4fdd10
DR
3110 * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
3111 arg to HOST_WIDE_INT, not long.
3112
5505dff9
DR
3113 * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
3114 (HAS_INIT_SECTION): Define.
3115 (REAL_ARITHMETIC): Don't undefine.
3116
bca0284a
ED
31172001-11-18 Egor Duda <deo@logos-m.ru>
3118
3119 * config/i386/cygwin.h: Strip leading '*' from name, if any.
3120
22703ccc
NB
31212001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
3122
3123 * Makefile.in (c-parse.o, c-common.o): Update dependencies.
3124 * c-common.c: Include diagnostic.h.
3125 (c_common_finish): New.
3126 * c-common.h (c_common_finish): New.
3127 * c-lang.c (LANG_HOOKS_FINISH): Override.
3128 * c-parse.in: Don't include diagnostic.h.
3129 (finish_parse): Remove.
3130 * langhooks.h: Update comments.
3131 * toplev.c (lang_dependent_init): New prototype.
3132 (finalize): New.
3133 (compile_file): Split cleanup code out to finalize.
3134 (lang_dependent_init): Stop if lang_hooks.init fails.
3135 (toplev_main): Update.
3136 * tree.h (finish_parse): Remove.
3137objc:
3138 * objc-act.c (LANG_HOOKS_FINISH): Override.
3139
6f684b53
DR
3140Sat Nov 17 23:30:44 2001 Douglas B. Rupp <rupp@gnat.com>
3141
3142 * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
3143 * config/alpha/vms_tramp.asm: New file.
3144 * config/alpha/vms-tramp.asm: Removed.
3145
7d14c755
JM
31462001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
3147
3148 * c-common.c (struct disabled_builtin, disabled_builtins,
3149 disable_builtin_function, builtin_function_disabled_p): New.
3150 (builtin_function_2): Check for disabled built-in functions.
3151 * c-common.h (disable_builtin_function): Declare.
3152 * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
3153 * doc/invoke.texi: Document -fno-builtin-FUNCTION.
3154 * doc/extend.texi: Mention -fno-builtin-FUNCTION.
3155
f3095b5f
CR
31562001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
3157
3158 PR target/4606
3159 * config.gcc: Remove reference to va-clipper.h.
3160
089a05b8
SS
31612001-11-17 Stan Shebs <shebs@apple.com>
3162
3163 * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
3164 AltiVec-related bitfields.
3165
572202a7
RK
3166Sat Nov 17 12:06:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3167
3168 * except.c (enum eh_region_type): Add ERT_UNKNOWN.
3169 (mark_eh_region, case ERT_UKNONW): New case.
3170
d0e06c90 31712001-11-17 Christopher Faylor <cgf@redhat.com>
c03dcc62 3172 Corinna Vinschen <vinschen@redhat.com>
d0e06c90
CF
3173
3174 * config/i386/cygwin.h: Search target specific include directory for
3175 w32api stuff, if appropriate.
3176
5370b45d
DR
3177Sat Nov 17 08:20:44 2001 Douglas Rupp <rupp@gnat.com>
3178
3179 * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
3180
f3fe2696
AH
31812001-11-16 Aldy Hernandez <aldyh@redhat.com>
3182
3183 * config/rs6000/rs6000.md: Change all ldvx to lvx.
3184
e13c5526
AO
31852001-11-16 Alexandre Oliva <aoliva@redhat.com>
3186
3187 * gensupport.c (process_rtx): Don't assume filename is the first
3188 argument of any rtl.
3189
268399cd
JDA
31902001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
3191
3192 * vax-protos.h (reg_was_0_p): New prototype.
3193 * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
3194 * vax.c (follows_p, reg_was_0_p): New functions.
3195
550b2951
JDA
31962001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
3197
3198 * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
3199 (casesi1): Likewise. Define new pattern which arises by simplification
3200 when operand 1 is a constant int. Correct pattern which arises by
3201 simplification when operand 1 is zero.
3202
f910b1bb
DB
32032001-11-16 David O'Brien <obrien@FreeBSD.org>
3204
3205 * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
3206 arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
3207 arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
3208 arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
3209 arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
3210 arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
3211 xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
3212 * config/arm/aof.h: Don't include arm.h.
3213 * config/arm/aout.h: Likewise.
3214 * config/arm/coff.h: Don't include semi.h and aout.h.
3215 * config/arm/elf.h: Don't include aout.h.
3216 * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
3217 (TARGET_VERSION): Undef before defining.
3218 (ARM_OS_NAME): Likewise
3219 (TARGET_DEFAULT): Likewise
3220 (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
3221 * config/arm/pe.h: Don't include arm/coff.h.
3222 * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
3223 SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
3224 * config/arm/riscix1-1.h: Likewise.
3225 * config/arm/rix-gas.h: Don't include riscix.h.
3226 (DBX_CONTIN_LENGTH): Undef before defining.
3227 * config/arm/semi.h: Don't include aout.h.
3228 * config/arm/semiaof.h: Don't include aof.h.
3229 * config/arm/strongarm-coff.h: Don't include coff.h.
3230 * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
3231 * config/arm/vxarm.h: Don't include arm/coff.h.
3232 * config/arm/xscale-coff.h: Don't include coff.h.
3233
847898f6
RK
3234Fri Nov 16 15:22:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3235
3236 * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
3237 emit_cmp_insn.
3238
d0225025
AJ
32392001-11-16 Andreas Jaeger <aj@suse.de>
3240
3241 * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
3242 to ....
3243 (fixup_fallthru_exit_predecessor): ... this.
3244 Change callers and prototype.
3245
29628f27
BS
32462001-11-16 Bernd Schmidt <bernds@redhat.com>
3247
f607bc57 3248 * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
29628f27
BS
3249 hand; don't use gen_setcc_2.
3250 (ix86_expand_builtin): Fix pshufw.
3251 * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
f607bc57 3252 case UNORDERED to emit the right assembler instruction.
29628f27
BS
3253 (mmx_pshufw): Lose operand 2.
3254 (cvtsi2ss): Fix representation.
3255 From Graham Stott:
3256 (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
3257
81bbae61
JM
32582001-11-16 Joseph S. Myers <jsm28@cam.ac.uk>
3259
3260 * doc/include/linux-and-gnu.texi: Remove.
3261 * doc/gnu.texi: New.
3262 * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
3263 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3264
6b857ce3
KH
32652001-11-16 Kazu Hirata <kazu@hxi.com>
3266
3267 * config/a29k/a29k.c: Fix comment formatting.
3268 * config/a29k/a29k.h: Likewise.
3269 * config/arc/arc.c: Likewise.
3270 * config/arc/arc.h: Likewise.
3271 * config/vax/vax.c: Likewise.
3272 * config/vax/vax.h: Likewise.
3273 * config/we32k/we32k.c: Likewise.
3274 * config/we32k/we32k.h: Likewise.
3275
bcb07710
JL
32762001-11-16 Jeff Law <law@redhat.com>
3277
3278 * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
3279 creating a new jump insn.
3280
3281Fri Nov 13 09:06:25 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
c952ff4b
RK
3282
3283 * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
3284 copy misaligned data.
3285 * varasm.c (assemble_variable): Set alignment into MEM when changed.
3286
f4dc10d1
GS
32872001-11-16 Graham Stott <grahams@redhat.com>
3288
3289 * optabs.c (prepare_cmp_insn): Correct lossage in last change fix
3290 OPALIGN type.
3291
6d41a92f
OH
32922001-11-16 Olivier Hainque <hainque@act-europe.fr>
3293
f607bc57
ZW
3294 * except.c: Support for catching a list of types with a single handler
3295 (struct eh_region): Change type and filter to lists for catch regions.
3296 (mark_eh_region): Mark the filter list for GC also.
3297 (expand_start_catch): Always build a list if argument not NULL and
3298 register each type of the list through add_type_for_runtime.
3299 (duplicate_eh_region_1): Change type into type_list for catch regions.
3300 (assign_filter_values): Assign a filter to each type associated with a
3301 catch region. Assign filter for NULL types in a unique entry in the
3302 filter list.
3303 (build_post_landing_pads): Emit compare and jump for each filter of
3304 the list associated with a catch region.
3305 (reachable_next_level): When the type thrown is known, stop the search
3306 as soon as one type within a catch list matches. Also, a handler is
3307 potentially reachable only if at least one of the types it catches
3308 has not been previously caught.
3309 (collect_one_action_chain): Retrieve the filter for a NULL type list
3310 from the first filter list entry. For non NULL type lists, add an
3311 action record for every filter assigned.
3312 * except.h: Reflect changes in comment before expand_start_catch.
6d41a92f 3313
a8ca89dc
RK
3314Fri Nov 16 07:12:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3315
3316 * expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
3317 BLKmode.
3318
3b2d1507
AT
3319Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch>
3320
3321 * config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
3322
25e7f439
JJ
33232001-11-16 Jakub Jelinek <jakub@redhat.com>
3324
3325 * c-lang.c (finish_file): Don't emit static inline functions if
3326 they weren't referenced.
3327
38b3baae
SS
33282001-11-15 Stan Shebs <shebs@apple.com>
3329
3330 * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
d0225025 3331
e790b36a
BM
33322001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3333
d0225025 3334 * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
e790b36a
BM
3335 call.
3336 * config/i386/i386.md: Likewise.
3337
5237fc07
RK
3338Thu Nov 15 21:40:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3339
3340 * timevar.c (rtl.h): Include so get fancy abort.
3341
9f1a9740
DJ
33422001-11-15 Dale Johannesen <dalej@apple.com>
3343
3344 * config/darwin.h (SELECT_RTX_SECTION): Force address
3345 initializers into 'const' section
3346 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
3347 if_then_else to match result, not operands
3348
a06ef755
RK
3349Thu Nov 15 17:57:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3350
3351 * alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
3352 * emit-rtl.c (change_address): Fix typo in default alignment.
3353 (adjust_address_1): Use mode of NEW, not MODE, when setting size.
3354 * expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
3355 * rtl.h (REGNO_PTR_FRAME_P): New macro.
3356
3357 * expr.c (store_field): Pass tree instead of max size; callers changed.
3358 Change handling of alignment.
3359 Only copy to_rtx if is TARGET.
3360 (expand_expr_unaligned): Delete; callers now use expand_expr.
3361 (emit_cmp_insn): No longer take ALIGN parm; all callers changed.
3362 (expand_assignment): Change handling of alignment.
3363 Only copy to_rtx if was original.
3364 (get_inner_reference): No longer return alginment; callers changed.
3365 (expand_expr, case COMPONENT_REF): Change handling of alignment.
3366 (expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
3367 (compare_from_rtx): Delete ALIGN parm; all callers changed.
3368 (do_compare_rtx_and_jump): Likewise.
3369 * expr.h: Reflect above changes.
3370 * tree.h: Likewise.
3371 * dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
3372 to get_inner_reference.
d43e0b7d
RK
3373 * builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
3374 * doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
a06ef755
RK
3375 * optabs.c: Likewise.
3376 (prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
3377 (emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
d43e0b7d
RK
3378 * expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
3379 compare_rtx_and_jump, and emit_cmp_jump_insns.
a06ef755
RK
3380 * fold-const.c: Remove PALIGN in calls to get_inner_reference.
3381 * function.c (assign_stack_temp_for_type): No longer static.
3382 * optabs.h (emit_cmp_insn): Remove ALIGN parm.
3383 (prepare_cmp_insn): Delete declaration.
3384 * rtl.h (assign_stack_temp_for_type): Add declaration.
d43e0b7d
RK
3385 * config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
3386 * config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
3387 * config/i386/i386.c,config/mips/mips.c: Likewise.
a06ef755
RK
3388 * config/i860/i860.c, config/ia64/ia64.c: Likewise.
3389 * config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
3390
7960cfbb
SS
33912001-11-15 Stan Shebs <shebs@apple.com>
3392
3393 * config/rs6000/rs6000.h: Fix a comment typo.
3394 (RTX_COSTS): Sort processor versions better.
3395
8d795882
KH
33962001-11-15 Kazu Hirata <kazu@hxi.com>
3397
3398 * config/h8300/h8300.md: Fix insn length of bit insns.
3399
18b5b8d6
JM
34002001-11-15 Jason Merrill <jason@redhat.com>
3401
3402 * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
3403 DIEs if there were errors in the source.
3404
3405 * config/alpha/alpha-interix.h, config/alpha/elf.h,
3406 config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
3407 config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
3408 config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
3409 config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
3410 config/elfos.h, config/lynx.h, config/netware.h,
3411 config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
3412 config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
3413 uses to use ASM_LONG.
3414
94414790
AM
34152001-11-15 Alan Matsuoka <alanm@redhat.com>
3416
3417 * gensupport.c process_include : Change call to alloca to
3418 xmalloc.
3419
9bddde52
AH
34202001-11-15 Aldy Hernandez <aldyh@redhat.com>
3421
3422 * config/rs6000/rs6000.md: Use spaces instead of tabs in output
3423 templates.
3424
fea54805
RK
3425Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3426
3427 * final.c (alter_subreg): If simplify_subreg can't do anything,
3428 handle REG ourselves and abort for others.
3429
768caa28
RH
34302001-11-15 Richard Hodson <hodsonr@dionecorp.com>
3431
3432 * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
3433 routines.
3434
56c2b525
NB
34352001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
3436
3437 * fix-header.c (read_scan_file): Update.
3438
a9915c78
RK
3439Thu Nov 15 08:36:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3440
3441 * toplev.c (toplev_main): Don't start timing until after
3442 command-line options are parsed.
3443
3cae5780
AS
34442001-11-15 Andreas Schwab <schwab@suse.de>
3445
fed7dc63
AS
3446 * config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
3447 makefile frag, not host makefile frag.
3448 (m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
3449 (hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
3450 used.
f607bc57 3451 (hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
fed7dc63
AS
3452 * config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
3453 * config/m88k/t-dgux (STMP_FIXPROTO): Define.
3454 * config/i386/t-cygwin (STMP_FIXPROTO): Define.
3455 * config/i386/t-dgux (STMP_FIXPROTO): Define.
3456 * config/x-interix: Don't define STMP_FIXPROTO and
3457 FIXPROTO_DEFINES.
3458 * config/t-interix: New file, define STMP_FIXPROTO.
3459 * config/i386/x-beos (STMP_FIXPROTO): Don't define here.
3460 * config/i386/t-beos (STMP_FIXPROTO): Define here instead.
3461 * config/t-svr4 (FIXPROTO_DEFINES): Define.
3462 * config/arm/t-riscix (FIXPROTO_DEFINES): Define.
3463 * config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
3464 * config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
3465 * config/m68k/t-hp3200: Renamed from x-hp3200.
3466 * config/i370/t-oe: Renamed from x-oe.
3467 * config/mips/t-iris: Renamed from x-iris.
3468 * config/pa/t-bsd: Renamed from x-pa.
3469 * config/pa/t-pa-hpux: Renamed from x-pa-hpux.
3470 * config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
3471 config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
3472 config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
3473 config/rs6000/x-cygwin: Remove files.
3474
3cae5780
AS
3475 * configure.in: Check for target objdump and use that in eh_frame
3476 optimization test.
3477 * configure: Regenerated.
3478
2b7d71b2
JJ
34792001-11-15 Jakub Jelinek <jakub@redhat.com>
3480
3481 * jump.c (squeeze_notes): Return true if no real insns were found.
3482 * rtl.h (squeeze_notes): Adjust prototype.
3483 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
3484 squeeze_notes finds no real instructions, abort.
3485 (merge_blocks_move_successor_nojumps): Likewise.
3486 * loop.c (find_and_verify_loops): Likewise.
3487 * stmt.c (expand_end_case): Likewise.
3488 * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
3489 find any real instructions.
3490
8f5a5db8
JJ
3491 * config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
3492
feb265ab
JJ
3493 * cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
3494 conditional jump, request updating life into for the block
3495 containing it. Fix a typo which prevented life info update.
3496 Clear blocks bitmap before using it.
3497
f5e99456
NB
34982001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
3499
3500 * c-common.c: Include c-lex.h.
3501 (c_common_lang_init): Change prototype. Call init_c_lex and
3502 init_pragma from here.
3503 * c-common.h (c_common_lang_init): Change prototype.
3504 * c-decl.c (init_decl_processing): Rename. Call c_parse_init.
3505 * c-lang.c (c_init): Change prototype. Update.
3506 (c_init_options): Update.
3507 * c-lex.c (cpp_filename): Remove.
3508 (init_c_lex): Update. Read the main file, and get the original
3509 file name.
3510 (yyparse): Finish the command line options.
3511 * c-parse.in (c_parse_init): Call init_reswords here.
3512 (init_parse): Remove.
3513 * c-tree.h (c_init_decl_processing): New.
3514 * cpphash.c (_cpp_init_hashtable): After initializing the hash
3515 table, populate it.
3516 * cppinit.c (read_original_filename, cpp_finish_options): New.
3517 (cpp_create_reader): New prototype. Defer hash table initialization.
3518 (cpp_start_read): Rename cpp_read_main_file. Initialize the
3519 hash table. Get the original filename.
3520 * cpplib.h (cpp_create_reader): Update.
3521 (cpp_start_read): Remove.
3522 (cpp_read_main_file, cpp_finish_options): New.
3523 * cppmain.c (main, do_preprocessing): Update.
3524 * langhooks.h (struct langhooks): Update init prototype.
3525 * toplev.c (general_init, parse_options_and_default_flags,
3526 process_options, lang_indpendent_init, lang_dependent_init,
3527 init_asm_output): New; perform the bulk of initialization.
3528 (compile_file): Move most of initialization to above functions.
3529 (debug_hooks): Initialize statically.
3530 (set_Wunused): Relocate.
3531 (toplev_main): Move most of initialization to other init functions.
3532 Have a clear logic flow.
3533 * tree.h (init_parse, init_decl_processing): Remove.
3534objc:
3535 * objc-act.c (objc_init): Update prototype, combine with old
3536 init_parse.
3537 (objc_init_options): Update.
3538
3539
00baba68
AJ
35402001-11-15 Andreas Jaeger <aj@suse.de>
3541
3542 * cfgrtl.c (purge_all_dead_edges): Use int as argument for
3543 portability.
3544 * basic-block.h: Adjust prototype.
3545
82e41834
KH
35462001-11-15 Kazu Hirata <kazu@hxi.com>
3547
3548 * config/rs6000/aix31.h: Fix comment formatting.
3549 * config/rs6000/beos.h: Likewise.
3550 * config/rs6000/darwin.h: Likewise.
3551 * config/rs6000/eabi.asm: Likewise.
3552 * config/rs6000/linux.h: Likewise.
3553 * config/rs6000/linux64.h: Likewise.
3554 * config/rs6000/lynx.h: Likewise.
3555 * config/rs6000/netbsd.h: Likewise.
3556 * config/rs6000/rs6000.c: Likewise.
3557 * config/rs6000/rs6000.h: Likewise.
3558 * config/rs6000/rs6000.md: Likewise.
3559 * config/rs6000/sol2.h: Likewise.
3560 * config/rs6000/tramp.asm: Likewise.
3561 * config/rs6000/xcoff.h: Likewise.
3562 * config/rs6000/xm-beos.h: Likewise.
3563
7a0f9993
AM
35642001-11-14 Alan Matsuoka <alanm@redhat.com>
3565
00baba68 3566 * rtl.def (INCLUDE) : Define.
7a0f9993
AM
3567 * gensupport.c (init_include_reader, process_include,
3568 save_string) : New functions to implement an include facility
3569 in .md files.
00baba68 3570 * gensupport.h : Add prototype for init_md_reader_args.
7a0f9993
AM
3571 * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c
3572 genextract.c genflags.c genopinit.c genoutput.c
3573 genpeep.c genrecog.c: Change call to init_md_reader to
3574 init_md_reader_args.
3575 * md.texi: Document (include "path") and -I directives for RTL
3576 generation tools.
3577
902197eb
DD
35782001-11-14 DJ Delorie <dj@redhat.com>
3579
3580 * integrate.c (get_hard_reg_initial_reg): New.
3581 * integrate.h (get_hard_reg_initial_reg): Prototype.
3582 * local-alloc.c (block_alloc): Don't tie pseudos that
3583 represent call-saved hard regs' initial values.
3584
9da85b16
KG
35852001-11-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3586
3587 * m68k/linux.h: Include <linux.h> not "linux.h" to avoid infinite
3588 recursion.
3589
d59b3b67
RS
35902001-11-14 Roger Sayle <roger@eyesopen.com>
3591
3592 * fold-const.c (fold): Optimize strlen comparisons against zero.
3593
0f7a7be7
DB
35942001-11-14 David O'Brien <obrien@FreeBSD.org>
3595
3596 * config.gcc (sparc64-wrs-vxworks*, sparc-*-netbsd*, sparc-*-openbsd*,
3597 sparc-*-chorusos*, sparc-*-elf*, sparc-*-linux*aout*,
3598 sparc-*-linux*libc1*, sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtems*,
3599 sparc-*-rtemself*, sparc-hal-solaris2*, sparc-*-solaris2*,
3600 sparc-*-sunos4.0*, sparc-*-sunos4*, sparc-*-sunos3*, sparc-*-sysv4*,
3601 sparc-*-vxsim*, sparclite-*-aout*, sparclite-*-elf*, sparc86x-*-aout*,
3602 sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*, sparc64-*-linux*):
3603 Include various CPU headers via tm_file. a.out based platforms now
3604 properly include sparc/aout.h. sol2.h usage now implies including
3605 elfos.h, svr4.h, and sparc/sysv4.h.
3606 * config/netbsd.h (TARGET_MEM_FUNCTIONS): Undef before defining it.
3607 Also define to '1'.
3608 * sparc/sparc.h (CPP_PREDEFINES, TARGET_VERSION, WORD_SWITCH_TAKES_ARG,
3609 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
3610 DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE):
3611 Remove. They are a.out specific and belong in sparc/aout.h.
3612 * sparc/aout.h (TARGET_VERSION, WORD_SWITCH_TAKES_ARG, SELECT_SECTION,
3613 ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
3614 DBX_REGISTER_NUMBER, ASM_OUTPUT_SOURCE_LINE): Define. Moved here from
3615 sparc/sparc.h.
3616 * sparc/litecoff.h (WORD_SWITCH_TAKES_ARG, ASM_DECLARE_FUNCTION_NAME,
3617 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, DBX_REGISTER_NUMBER): Define.
3618 Moved here from sparc/sparc.h.
3619 * config/sparc/linux-aout.h (DEFAULT_PCC_STRUCT_RETURN): Undef before
3620 defining.
3621 * config/sparc/linux64.h (UNALIGNED_DOUBLE_INT_ASM_OP): Undef before
3622 * config/sparc/lynx.h: Don't include lynx.h.
3623 (SELECT_SECTION): Do not undef.
3624 * config/sparc/openbsd.h: Don't include sparc/sparc.h.
3625 * config/sparc/sol2-sld-64.h: Include sparc/sparc.h, elfos.h, svr4.h,
3626 and sparc/sysv4.h.
3627 * config/sparc/sol2.h: Don't include sparc/sparc.h and sparc/sysv4.h.
3628 * config/sparc/sp64-aout.h (CPP_PREDEFINES): Don't define. Get from
3629 sparc/aout.h now.
3630 * config/sparc/sp64-elf.h (DWARF_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO):
3631 Don't undef, there is no need.
3632 * config/sparc/splet.h (CPP_PREDEFINES): Define.
3633 * config/sparc/sun4o3.h (CPP_PREDEFINES): Likewise.
3634 * config/sparc/sunos4.h (CPP_PREDEFINES): Likewise.
3635 Don't include sparc/sparc.h.
3636 * config/sparc/sysv4.h (WORD_SWITCH_TAKES_ARG, ASM_OUTPUT_SOURCE_LINE,
3637 SELECT_SECTION, ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP,
3638 DATA_SECTION_ASM_OP): Don't undef, there is no need now. Don't include
3639 elfos.h and svr4.h.
3640 (TARGET_VERSION): Define.
3641 * config/sparc/vxsim.h (TARGET_VERSION): Define.
3642
49778644
JH
3643Wed Nov 14 19:46:08 CET 2001 Jan Hubicka <jh@suse.cz>
3644
3645 * cfglayout.c (fixup_fallthru_exit_predecesor): New static function.
3646 (cfg_layout_finalize): Use it.
3647 * bb-reorder.c (HAVE_epilogue): Remove.
00baba68 3648 (make_reorder_chain): Do not care special placement of
49778644
JH
3649 last basic block.
3650
3651 * predict.c (expected_value_to_br_prob): Delete the note
3652 once transformed.
3653
3654 * c-decl.c (c_expand_body): Fix TV_EXPAND nesting problem;
3655 measure integration time separately.
3656
b5c02bff
RK
3657Wed Nov 14 12:30:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3658
3659 * function.c (struct temp_slot): ALIGN now unsigned.
3660
bf0e974b
KH
36612001-11-14 Kazu Hirata <kazu@hxi.com>
3662
3663 * config/dsp16xx/dsp16xx.c: Fix comment formatting.
3664 * config/dsp16xx/dsp16xx.h: Likewise.
3665 * config/dsp16xx/dsp16xx.md: Likewise.
3666
a77b1dbc
KH
36672001-11-14 Kazu Hirata <kazu@hxi.com>
3668
3669 * config/h8300/h8300.c (get_shift_alg): Reorganize the code
3670 that deals with 7-bit shifts in HImode.
3671
49d801d3
JH
3672Wed Nov 14 14:17:05 CET 2001 Jan Hubicka <jh@suse.cz>
3673
3674 * dbxout.c (dbxout_symbol_location): Update call of alter_subreg.
3675 * final.c (walk_alter_subreg): Take pointer; update call of alter_subreg.
3676 (final_scan_insn): Update call of alter_subreg.
3677 (cleanup_subreg_operands): Likewise.
3678 (alter_subreg): Rewrite using simplify_subreg.
3679 (output_address, output_operand): Update call of alter_subreg.
3680 * output.h (alter_subreg): Update prototype.
3681 * sdbout.c (sdbout_symbol): Update call of alter_subreg.
3682 * simplify-rtx.c (simplify_subreg): Copy ORIGINAL_REGNO.
a1f300c0 3683 * Makefile.in (final.o): Add dependency on expr.h
49d801d3 3684
b1bba9c0
RK
3685Wed Nov 14 06:37:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3686
3687 * c-lang.c (finish_file): Make I unsigned to eliminate warning.
3688
c6fa9728
JS
36892001-11-13 Jeff Sturm <jsturm@one-point.com>
3690
3691 * doc/install.texi (sparc-*-linux*): Mention requirements for
3692 binutils and glibc.
3693
77bd67cb
JM
36942001-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
3695
3696 * Makefile.in (POD2MAN): Don't include --section=1.
3697 (manext): Rename to man1ext. All users changed.
3698 (man7ext): New.
3699 (man7dir): New.
3700 (generated-manpages): Also depend on $(docdir)/gfdl.7,
3701 $(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
3702 ($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
3703 --section=1 in calls to $(POD2MAN).
3704 ($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
3705 (maintainer-clean, install, uninstall): Handle the new man pages.
3706 ($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
3707 (installdirs): Create man7dir.
3708 * doc/cpp.texi: Include GFDL in this manual. In the man page,
3709 refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
3710 texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
3711 the SEE ALSO man page section.
3712 * doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
3713 and fsf-funding(7) in the SEE ALSO man page section.
3714 * doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
3715 gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
3716 * doc/include/fdl.texi, doc/include/funding.texi,
3717 doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
3718 * doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
3719
a8988448
RH
37202001-11-13 Richard Henderson <rth@redhat.com>
3721
3722 * dwarf2asm.c (dw2_force_const_mem): Set PUBLIC or STATIC
3723 as appropriate for the artificial decl.
3724
7c380843
RH
37252001-11-13 Richard Henderson <rth@redhat.com>
3726
3727 * loop.c (combine_movables): Turn off combination until
3728 move_movables validation bugs are fixed.
3729
c19083d8
DD
37302001-11-13 DJ Delorie <dj@redhat.com>
3731
3732 * config.gcc (powerpc|rs6000): Set default cpp options based
3733 on --with-cpu settings.
3734 * config/rs6000/softfloat.h: New.
3735
4a4ae922
KH
37362001-11-13 Kazu Hirata <kazu@hxi.com>
3737
3738 * config/h8300/h8300.c (shift_alg_si): Use special code for
3739 25-bit shifts on H8/S.
3740 (get_shift_alg): Generate special code for 25-bit shifts on
3741 H8/S.
3742
630036c6
JJ
37432001-11-13 Jakub Jelinek <jakub@redhat.com>
3744
3745 * emit-rtl.c (adjust_address_1): Add ADJUST argument.
3746 (adjust_automodify_address_1): New.
3747 * expr.h (adjust_address, adjust_address_nv): Adjust.
3748 (adjust_automodify_address, adjust_automodify_address_nv): Define.
3749 (adjust_address_1): Update prototype.
3750 (adjust_automodify_address_1): Add prototype.
3751 * expr.c (move_by_pieces_1): Use adjust_automodify_address.
3752 (store_by_pieces_2): Likewise.
3753
047cd3df
RK
3754Tue Nov 13 05:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3755
1d974ca7
RK
3756 * Makefile.in (explow.o): Now depends on ggc.h.
3757 * explow.c (ggc.h): Include.
3758 (set_stack_check_libfunc): Mark stack_check_libfunc as ggc root.
3759
3760 * Makefile.in (expr.o): Depends on insn-attr.h.
3761 * expr.c (insn-attr.h): New include.
3762 (force_operand): If INSN_SCHEDULING, deal with paradoxical SUBREG
3763 of MEM.
3764 (highest_pow2_factor, case INTEGER_CST): Handle negative values.
3765 (expand_expr): Remove unneeded mark_temp_addr_taken calls and
3766 clean up related usage in ADDR_EXPR.
3767 (expand_expr_unaligned): Likewise.
3768
047cd3df
RK
3769 * emit-rtl.c (change_address): Fix typo in alias setting.
3770
9df9b76e
KG
37712001-11-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3772
3773 * Makefile.in (cfgcleanup.o): Depend on insn-config.h
3774
da4083c7
CR
37752001-11-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
3776
3777 PR bootstrap/3451
3778 * c-pragma.c: Rename macros BAD, BAD2, BAD_ACTION to
3779 GCC_BAD, GCC_BAD2, GCC_BAD_ACTION.
3780
0f658c83
DB
37812001-11-12 David O'Brien <obrien@FreeBSD.org>
3782
3783 * config.gcc (sparc-tti-*, sparc64-wrs-vxworks*, sparc-wrs-vxworks*,
3784 sparclite-wrs-vxworks*, sparc-*-aout*, sparc-*-netbsd*,
3785 sparc-*-chorusos*, sparc-*-linux*aout*, sparc-*-linux*libc1*,
3786 sparc-*-linux*, sparc-*-lynxos*, sparc-*-rtemsaout*, sparc-*-rtems*,
3787 sparc-*-rtemself*, sparc-*-solaris2*, sparc-*-sunos3*, sparc-*-sysv4*,
3788 sparc-*-vxsim*, sparclet-*-aout*, sparclite-*-coff*, sparclite-*-aout*,
3789 sparc86x-*-aout*, sparc86x-*-elf*, sparc64-*-aout*, sparc64-*-elf*,
3790 sparc64-*-linux*): Include various CPU headers via tm_file.
3791 * config/svr3.h (ASM_OUTPUT_IDENT): Undef before defining it.
3792 (SELECT_SECTION): Likewise.
3793 (SELECT_RTX_SECTION): Likewise.
3794 * config/sparc/sparc_bi.h: New file.
3795 * config/sparc/aout.h: Don't include sparc/sparc.h and aoutos.h.
3796 * config/sparc/linux-aout.h: Likewise.
3797 * config/sparc/linux.h: Don't include sparc/sysv4.h.
3798 * config/sparc/linux64.h: Likewise.
3799 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3800 * config/sparc/lite.h: Don't include sparc/sparc.h and gofast.h.
3801 * config/sparc/litecoff.h: Don't include sparc/lite.h, svr3.h,
3802 and dbxcoff.h
3803 (ASM_OUTPUT_IDENT): Do not #undef.
3804 (SELECT_SECTION): Likewise.
3805 (SELECT_RTX_SECTION): Likewise.
3806 * config/sparc/liteelf.h: Don't include gofast.h.
3807 * config/sparc/lynx-ng.h: Don't include sparc/sparc.h and lynx-ng.h.
3808 * config/sparc/lynx.h: Don't include sparc/sparc.h.
3809 * config/sparc/pbd.h: Likewise.
3810 * config/sparc/netbsd.h: Don't include sparc/sparc.h and netbsd.h.
3811 * config/sparc/rtems.h: Don't include sparc/aout.h and rtems.h.
3812 * config/sparc/rtemself.h: Don't include rtems.h.
3813 * config/sparc/sol2-64.h: Don't include sparc/sol2-sld-64.h.
3814 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Don't define, include
3815 sparc_bi.h instead.
3816 * config/sparc/sol2-sld.h: Don't include sparc/sol2.h.
3817 * config/sparc/sol2.h: Include sparc/sparc.h directly.
3818 * config/sparc/sp64-aout.h: Don't include sparc/sparc.h and aoutos.h.
3819 * config/sparc/sp64-elf.h: Don't include sparc/sol2.h.
3820 * config/sparc/sp86x-aout.h: Don't include sparc/sparc.h and gofast.h.
3821 * config/sparc/sp86x-elf.h: Don't include gofast.h.
3822 * config/sparc/splet.h: Don't include sparc/aout.h.
3823 * config/sparc/sun4o3.h: Don't include sparc/sparc.h.
3824 * config/sparc/sysv4.h: Don't include sparc/sparc.h directly.
3825 * config/sparc/vxsim.h: Don't include sparc/sysv4.h.
3826 * config/sparc/vxsparc.h: Don't include sparc/aout.h and gofast.h.
3827 * config/sparc/vxsparc64.h: Don't include gofast.h.
3828 (SPARC_BI_ARCH): Don't define. sparc_bi.h will do it instead.
3829
222bde43
JM
38302001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3831
3832 * doc/standards.texi: Mention C99 TC1.
3833
9b55553e
KG
38342001-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3835
3836 * mips-protos.h (mips_output_conditional_branch): Const-ify.
3837 * mips.c (mips_output_conditional_branch): Likewise.
3838
dd69e230
KH
38392001-11-12 Kazu Hirata <kazu@hxi.com>
3840
3841 * config/h8300/h8300.c (shift_alg_si): Use special code for
3842 15-bit logical shifts and 31-bit logical shifts.
3843 (get_shift_alg): Generate special code for 15-bit and 31-bit
3844 logical shifts.
3845
e0f19bd0
KH
38462001-11-12 Kazu Hirata <kazu@hxi.com>
3847
3848 * config/h8300/h8300.c (shift_alg_qi): Use rotations when
3849 doing 6-bit logical shifts on H8/S.
3850 (shift_alg_qi): Use special code for 21-bit shifts on H8/S.
3851 (get_shift_alg): Generate special code for 21-bit shifts on
3852 H8/S.
3853
692b7eb3
KH
38542001-11-12 Kazu Hirata <kazu@hxi.com>
3855
3856 * config/h8300/h8300.c (get_shift_alg): Remove a redundant
3857 label.
3858
0af5bc3e
RK
3859Mon Nov 12 11:58:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3860
3861 * alias.c (nonoverlapping_memrefs_p): Only update size from memref
3862 if both size and offset known.
3863
c6890454
DB
38642001-11-12 David O'Brien <obrien@FreeBSD.org>
3865
3866 * config/ia64/freebsd.h: Fix misspelling.
3867
73a8ed7e
JM
38682001-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
3869
3870 * doc/gcc.texi: Move several chapters out to ...
3871 * doc/configterms.texi, doc/fragments.texi, doc/hostconfig.texi,
3872 doc/include/linux-and-gnu.texi, doc/interface.texi,
3873 doc/makefile.texi, doc/passes.texi, doc/portability.texi:
3874 ... here. New files.
3875 * doc/gcc.texi, doc/contrib.texi: Move section headings into
3876 contrib.texi.
3877 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3878
285a5742
KH
38792001-11-12 Kazu Hirata <kazu@hxi.com>
3880
3881 * config/alpha/alpha-interix.h: Fix comment formatting.
3882 * config/alpha/alpha.c: Likewise.
3883 * config/alpha/alpha.h: Likewise.
3884 * config/alpha/alpha32.h: Likewise.
3885 * config/alpha/freebsd.h: Likewise.
3886 * config/alpha/unicosmk.h: Likewise.
3887 * config/alpha/vms.h: Likewise.
3888
96eaf358
KH
38892001-11-12 Kazu Hirata <kazu@hxi.com>
3890
3891 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
3892
e9716dc5
JJ
38932001-11-12 Jakub Jelinek <jakub@redhat.com>
3894
3895 * dbxout.c (dbxout_symbol_location): Avoid emitting invalid register
3896 numbers.
3897
1edcd60b
RK
3898Mon Nov 12 05:18:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3899
40c0668b
RK
3900 * emit-rtl.c (set_mem_attributes): If making object, can set alignment
3901 from type.
3902 (replace_equiv_address): Call update_temp_slot_address.
3903
749552c4
RK
3904 * dwarf2out.c (loc_descriptor_from_tree, case COMPOUND_EXPR): New case.
3905
1edcd60b
RK
3906 * alias.c (nonoverlapping_memrefs_p): Handle DECL_RTL being a CONCAT.
3907
769828ab
KH
39082001-11-12 Kazu Hirata <kazu@hxi.com>
3909
3910 * config/h8300/h8300.c (shift_alg_qi): New.
3911 (shift_alg_hi): Likewise.
3912 (shift_alg_si): Likewise.
3913 (get_shift_alg): Change the type of count to unsigned int.
3914 Use the tables.
3915
8b0e9a72
AO
39162001-11-11 Alexandre Oliva <aoliva@redhat.com>
3917
3918 * Makefile.in (c-lang.o): Depend on $(VARRAY_H).
3919 * c-decl.c (c_expand_body): Take argument can_defer_p. Use it
3920 to decide whether to defer a function.
3921 (finish_function): Adjust.
3922 (c_expand_deferred_function): New function.
3923 * c-lang.c (deferred_fns): New variable.
3924 (c_init): Initialize it, and mark it as a root.
3925 (defer_fn): New function.
3926 (finish_file): Expand all deferred functions.
3927 * c-tree.h (defer_fn): Declare.
3928 (c_expand_deferred_function): Likewise.
3929 * objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
3930 * objc-act.c (deferred_fns): New variable.
3931 (objc_init): Initialize it, and mark it as a root.
3932 (defer_fn): New function.
3933 (finish_file): Expand all deferred functions.
3934
950a3816
KG
39352001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3936
3937 * alpha.c (unicosmk_special_name): Prototype.
3938 (unicosmk_ssib_name): Delete unused variable.
3939 * alpha/unicosmk.h (common_section, ssib_section): Prototype.
3940 * alpha/vms.h (PREFIX): Undef before defining.
3941 * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
3942 * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
3943 controlling usage. Const-ify.
3944 (alias_number): Delete unused variable.
3945 * m32r/m32r.c (m32r_sched_init): Add missing argument.
3946 (m32r_expand_block_move): Fix uninitialized warnings.
3947 * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
3948 always true' warnings.
3949 * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
3950 * sh/sh.c: Include "integrate.h".
3951 (output_far_jump): Fix uninitialized warning.
3952 * final.c (shorten_branches): Avoid automatic aggregate
3953 initialization.
3954 * integrate.c (subst_constants): Likewise.
3955
0c50ee73
KH
39562001-11-11 Kazu Hirata <kazu@hxi.com>
3957
3958 * config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
3959 (get_shift_alg): Remove redundant code.
3960
fe19a83d
KH
39612001-11-11 Kazu Hirata <kazu@hxi.com>
3962
3963 * config/pa/milli64.S: Fix comment formatting.
3964 * config/pa/pa-64.h: Likewise.
3965 * config/pa/pa-linux.h: Likewise.
3966 * config/pa/pa-protos.h: Likewise.
3967 * config/pa/pa.c: Likewise.
3968 * config/pa/pa.h: Likewise.
3969 * config/pa/pa32-linux.h: Likewise.
3970 * config/pa/pa32-regs.h: Likewise.
3971 * config/pa/pa64-hpux.h: Likewise.
3972 * config/pa/pa64-regs.h: Likewise.
3973 * config/pa/som.h: Likewise.
3974
b64a6a11
JM
39752001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3976
3977 * doc/gcc.texi: Move several chapters out to ...
3978 * doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
3979 doc/service.texi, doc/standards.texi, doc/trouble.texi,
3980 doc/vms.texi: ... here. New files.
3981 * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
3982
eaec9b3d
JM
39832001-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
3984
3985 * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
3986 cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
3987 collect2.c, combine.c, config.in, configure, configure.in,
3988 conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
3989 genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
3990 reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
3991 spelling errors.
3992
d746694a
RK
3993Sun Nov 11 05:56:01 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3994
592bf28c
RK
3995 * config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
3996 Adjust operand number in CONST_DOUBLE.
3997
04050c69
RK
3998 * expmed.c (extract_bit_field): No longer pass in alignment.
3999 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4000 (store_bit_field, store_fixed_bit_field, store_split_bit_field):
4001 Likewise.
4002 * expr.c (store_constructor, store_constructor_field): Likewise.
4003 (store_field, emit_group_load, emit_group_store): Likewise.
4004 * expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
4005 (store_bit_field, extract_bit_field): Likewise.
4006 * calls.c, expr.c, function.c: Change calls to above functions.
4007 * ifcvt.c, stmt.c: Likewise.
00baba68 4008
d746694a
RK
4009 * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
4010 constant and one is on frame.
4011 If know memref offset, adjust size from decl.
4012
e59f7d3d
KG
40132001-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4014
4015 * alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
4016 format specifier warning.
4017 * convex.h (ASM_OUTPUT_BYTE): Likewise.
4018 * elfos.h (ALIGN_ASM_OP): Undef before defining.
4019 * i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
4020 warning.
4021 * i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4022 * i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4023 * i386-interix.h (gen_stdcall_suffix): Prototype.
4024 * i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4025 * i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4026 ASM_OUTPUT_LONG_DOUBLE): Likewise.
4027 * i386/interix.c (gen_stdcall_suffix): Const-ify.
4028 * i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
4029 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
4030 specifier warnings.
4031 * i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4032 * i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4033 ASM_OUTPUT_LONG_DOUBLE): Likewise.
4034 * i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4035 * i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4036 * i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4037 * i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4038 * m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
4039 ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
4040 * m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
4041 * m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
4042 Likewise.
4043 * m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
4044 Likewise.
4045 * m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
4046 * m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
4047 ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
4048 Likewise.
4049 * m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
4050 Likewise.
4051 * m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
4052 Likewise.
4053 * m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
4054 * m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
4055 * m68k/news.h (PRINT_OPERAND): Likewise.
4056 * m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
4057 ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
4058 * m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
4059 * m68k/plexus.h (ASM_SPEC): Insert space between macro name and
4060 definition.
4061 * m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
4062 ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
4063 ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
4064 * m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
4065 * m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
4066 ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
4067 PRINT_OPERAND): Likewise.
4068 * m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
4069 Likewise.
4070 * mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
4071 * mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
4072 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
4073 * mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
4074 * mips.c (mips_output_external_libcall): Mark parameter with
4075 ATTRIBUTE_UNUSED.
4076 (mips_asm_file_start): Move variable into the scope where it's
4077 used.
4078 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
4079 * mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
4080 * mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
4081 * ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4082 * ns32k.c (print_operand): Likewise.
4083 * pa.c (print_operand, output_div_insn): Likewise.
4084 * pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
4085 ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
4086 * pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
4087 * sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
4088 specifier warnings.
4089 * sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4090 * sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4091 (ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
4092 * sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
4093 specifier warnings.
4094 * svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4095
4096 * sdbout.c (sdbout_end_epilogue): Mark parameter with
4097 ATTRIBUTE_UNUSED.
4098 * varasm.c (assemble_global): Likewise.
4099
3e619f14
L
41002001-11-11 H.J. Lu <hjl@gnu.org>
4101
4102 * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
4103
2cca7283
JH
4104Sun Nov 11 01:26:00 CET 2001 Jan Hubicka <jh@suse.cz>
4105
4106 * final.c (*_MAX_SKIP): Use *_max_skip variables.
4107 * flags.h (align_loops_max_skip, align_jumps_max_skip,
4108 align_labels_max_skip): New global variables.
4109 * toplev.c (align_loops_max_skip, align_jumps_max_skip,
4110 align_labels_max_skip): New global variables.
4111 (toplev_main): Set new variables.
4112 * i386.c (override_options): Set max_skip values.
4113
2f0b7af6
GK
41142001-11-10 Geoffrey Keating <geoffk@redhat.com>
4115
4116 * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
4117 * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
4118 * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
4119 don't print an @fptr for labels either.
4120 (xstormy16_output_addr_vec): Don't print @fptr here.
4121 * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
4122
2c1ed626
JL
4123Sat Nov 10 08:50:50 2001 Jeffrey A Law (law@cygnus.com)
4124
4125 * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
4126 an ANSI/ISO definitino.
4127 (ssa_const_prop): Likewise.
4128
0cd5e3a1
AH
41292001-11-10 Aldy Hernandez <aldyh@redhat.com>
4130
4131 * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
4132 altivec registers.
4133
57870f8a
KG
41342001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4135
9e1ac915
KG
4136 * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
4137 * cpplex.c (hex_digit_value): Use hex_p/hex_value.
4138 * cppmain.c (general_init): Call hex_init.
57e9b915 4139 * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
9e1ac915 4140
57870f8a
KG
4141 * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
4142
4143 * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
4144 of dgux.c:output_file_start().
4145
4146 * i386/dgux.c: Delete file.
4147
62918bd3
RH
41482001-11-09 Richard Henderson <rth@redhat.com>
4149
4150 * config/alpha/alpha.c (decl_in_text_section): New.
4151 (current_file_function_operand): Use it.
4152 (alpha_encode_section_info, alpha_end_function): Likewise.
4153
243a7070
DB
41542001-11-07 David O'Brien <obrien@FreeBSD.org>
4155
4156 * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
4157 * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
4158 they are OS specific. Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
4159 so OS specific files and use CPP_PREDEFINES for their needs.
4160 * config/i64/elf.h (TARGET_VERSION): Add. Also, move inclusion of
4161 target headers to tm_file.
4162 * config/ia64/aix.h (TARGET_VERSION): Likewise.
4163 * config/ia64/hpux.h (TARGET_VERSION): Likewise.
4164 * config/ia64/linux.h (TARGET_VERSION): Likewise.
4165 (FUNCTION_PROFILER): Remove.
a1f300c0 4166 * config/ia64/ia64.h (FUNCTION_PROFILER): Update definition using the
243a7070
DB
4167 version in config/ia64/linux.h.
4168 * config/ia64/freebsd.h: New file.
4169 * config/freebsd.h: Tidy up.
4170 (_USING_CONFIG_FREEBSD): Define.
4171 (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
4172 (FBSD_CPP_SPEC): Define generic FreeBSD spec.
4173 (FBSD_STARTFILE_SPEC): Likewise.
4174 (FBSD_ENDFILE_SPEC): Likewise.
4175 (FBSD_LIB_SPEC): Likewise.
4176 (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
4177 (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
4178 set an ELF-improper one.
4179
b8e42321
JDA
41802001-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
4181
4182 * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
4183 constant can be loaded in a single instruction to a register. When
4184 loading immediate constants, use PLUS instead of HIGH/LO_SUM. Use
4185 depdi for insertion of most significant 32-bits on 64-bit hosts.
4186 * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
4187 with ldil/ldo/depdi instruction sequence on 64-bit hosts.
4188 * pa.md: New addmove pattern for adding constant_int to HImode
4189 register and moving result to HImode register. Remove HImode HIGH
4190 and LO_SUM patterns.
4191
5d69f816
NB
41922001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
4193
4194 * Makefile.in: Update.
4195 * c-decl.c (print_lang_decl, print_lang_type): Remove.
4196 (print_lang_identifier): Rename c_print_identifier.
4197 * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
4198 (print_lang_statistics, lang_print_xnode): Remove.
4199 * c-parse.in (set_yydebug): Rename c_set_yydebug.
4200 * c-tree.h (c_set_yydebug, c_print_identifier): New.
4201 * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
4202 LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
4203 LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
4204 LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
4205 (LANG_HOOKS_INITIALIZER): Update.
4206 * langhooks.h (struct lang_hooks): New members.
4207 (lang_print_tree_hook): New.
4208 * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
4209 * print-tree.c: Include langhooks.h.
4210 (print_node): Update.
4211 * toplev.c (decode_d_option): Update.
4212 * tree.c: Include langhooks.h.
4213 (dump_tree_statistics): Update.
4214 * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
4215 print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
4216objc:
4217 * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
4218 LANG_HOOKS_SET_YYDEBUG): Override.
4219 (lang_print_xnode, print_lang_statistics): Remove.
4220
1ee9fb20
RH
42212001-11-09 Richard Henderson <rth@redhat.com>
4222
4223 * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
4224 on the symbol string.
4225
137bb46a
KG
42262001-11-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4227
1e5cf796
KG
4228 * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
4229 ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
4230 * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
4231
137bb46a
KG
4232 * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
4233
4234 * tlink.c (recompile_files): Copy strings passed to `putenv'.
4235
4192f0d2
GK
42362001-11-09 Geoffrey Keating <geoffk@redhat.com>
4237
50e9f73a
GK
4238 * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
4239 (TYPE_READONLY): Likewise.
4240
ff6051b7
GK
4241 * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
4242
322fe6e1
GK
4243 * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
4244 don't pass --gdwarf2 to the assembler if the compiler will also
4245 provide debug info.
4246
00baba68 4247 * config/stormy16/stormy16.c (xstormy16_expand_casesi):
4192f0d2
GK
4248 Don't change INDEX.
4249
9ddfb1a7
RK
4250Fri Nov 9 17:51:09 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4251
a4311dfe
RK
4252 * alias.c (nonoverlapping_memrefs_p): New function.
4253 (true_dependence, canon_true_depenence, write_dependence_p): Call it.
4254
9ddfb1a7
RK
4255 * emit-rtl.c (set_mem_attributes): Get alignments for constants.
4256
2473ee11
AH
42572001-11-09 Aldy Hernandez <aldyh@redhat.com>
4258
f607bc57 4259 * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
2473ee11
AH
4260 (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
4261 generating altivec code.
4262 (FIXED_REGISTERS): VRSAVE is fixed.
4263 (CALL_USED_REGISTERS): VRSAVE is call used.
4264
1ee9fb20 42652001-11-09 Jason Eckhardt <jle@rice.edu>
53c12e8d
JE
4266
4267 * config/mips/mips.c (mips_output_conditional_branch): Do not hard
4268 code the branch target as ".+16/.+12", but rather use labels.
4269
512672fd
JL
4270Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com)
4271
00baba68 4272 * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
9db5bf71
JL
4273 to work around limitations of certain versions of GAS.
4274
512672fd
JL
4275 * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
4276 (muldi3): Update due to SUBREG_BYTE changes.
4277 (casesi): Similarly.
4278
2e7bb36b
ZW
42792001-11-09 Zack Weinberg <zack@codesourcery.com>
4280
4281 * doc/invoke.texi: Remove comment referring to -xf77-version.
4282
cde34caf
KH
42832001-11-09 Kazu Hirata <kazu@hxi.com>
4284
4285 * config/convex/convex.c: Fix comment formatting.
4286 * config/convex/convex.h: Likewise.
4287
359cd11e
ZW
42882001-11-08 Zack Weinberg <zack@codesourcery.com>
4289
4290 * Makefile.in (.po.pox): Look both in srcdir and builddir
4291 for $(PACKAGE).pot.
4292 (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
4293 to the source directory.
4294
de41e41c
BE
42952001-11-09 Ben Elliston <bje@redhat.com>
4296 Michael Meissner <meissner@redhat.com>
f607bc57 4297 Andrew MacLeod <amacleod@redhat.com>
de41e41c
BE
4298 Richard Henderson <rth@redhat.com>
4299 Nick Clifton <nickc@redhat.com>
4300 Catherine Moore <clm@redhat.com>
4301
4302 * m32r.c: Add support for m32rx processor.
4303 * m32r.h: Ditto.
4304 * m32r.md: Ditto.
4305 * t-m32r: Ditto.
4306 * m32r-protos.h: Add prototypes for m32rx functions.
4307 * doc/invoke.texi: Document -m32rx option.
4308
a3d87e92
JJ
43092001-11-09 Jakub Jelinek <jakub@redhat.com>
4310
4311 * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
4312 or after reload.
4313
7ade1c9c
GP
43142001-11-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4315
4316 * doc/install.texi2html: Use $MAKEINFO --no-split.
4317
66e918e5
AS
43182001-11-09 Andreas Schwab <schwab@suse.de>
4319
4320 * Makefile.in ($(HOST_PREFIX_1)rtl.o,
4321 $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
00baba68 4322 $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
66e918e5
AS
4323 $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
4324 $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
4325
2aae2cc7
L
43262001-11-09 H.J. Lu <hjl@gnu.org>
4327
4328 * config/mips/mips.c (mips_output_function_prologues): Cast
4329 `tsize' to long for output.
4330
3ac88239
NB
43312001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
4332
4333 * c-lang.c (LANG_HOOKS_NAME): New.
4334 (lang_hooks): Constify.
4335 (c_init_options): Update.
4336 (lang_identify): Remove.
4337 * c-parse.in (language_string): Remove.
4338 * dbxout.c: Include langhooks.h.
4339 (dbxout_symbol_location): Update.
4340 * dwarf2out.c: Include langhooks.h.
4341 (gen_compile_unit_die): Update.
4342 * dwarfout.c: Include langhooks.h.
4343 (prototyped_attribute, output_compile_unit_die): Update.
4344 * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
4345 (LANG_HOOKS_INITIALIZER): Update.
4346 * langhooks.h (struct lang_hooks): New members. Constify.
4347 * stringpool.c: Don't include toplev.h.
4348 (set_identifier_size): Remove.
4349 * toplev.c (toplev_main): Initialize identifier size.
4350 (print_version): Update.
4351 * tree.h (language_string, init_lex, lang_identify,
4352 set_identifier_size): Remove.
4353 * Makefile.in: Update dependencies.
4354 * config/darwin.c: Include langhooks.h.
4355 (func_name_maybe_scoped): Update.
4356 * config/darwin.h (ASM_END_FILE): Update.
4357 * config/nextstep.h (ASM_END_FILE): Update.
4358 * config/nextstep21.h (ASM_END_FILE): Update.
4359 * config/i386/sun386.h (ASM_END_FILE): Update.
4360 * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
4361 (rs6000_output_function_epilogue): Update.
4362objc:
4363 * objc-act.c (LANG_HOOKS_NAME): Override.
4364 (struct lang_hooks): Constify.
4365 (objc_init_options): Update.
4366 (lang_identify): Remove.
4367
11b161d0
JW
4368Fri Nov 9 00:25:18 EST 2001 John Wehle (john@feith.com)
4369
4370 * fold-const.c (lshift_double): Honor PREC.
4371 (rshift_double): Likewise.
4372
702020d6
KH
43732001-11-08 Kazu Hirata <kazu@hxi.com>
4374
4375 * config/1750a/1750a.c: Fix comment formatting.
4376 * config/1750a/1750a.h: Likewise.
4377
cc9a08e0
PE
43782001-11-08 Phil Edwards <pedwards@disaster.jaj.com>
4379
4380 * configure.in (--enable-languages): Be more permissive about
4381 syntax. Check for empty lists better. Warn about $LANGUAGES.
4382 * configure: Regenerated.
4383
aa1c9d38
RH
43842001-11-08 Richard Henderson <rth@redhat.com>
4385
4386 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
4387
c6243b4c
GK
43882001-11-08 Geoffrey Keating <geoffk@redhat.com>
4389
4390 * config.gcc: Rename stormy16 to xstormy16.
4391 * config/stormy16/stormy-abi: Likewise.
4392 * config/stormy16/stormy16-protos.h: Likewise.
4393 * config/stormy16/stormy16.c: Likewise.
4394 * config/stormy16/stormy16.h: Likewise.
4395 * config/stormy16/stormy16.md: Likewise.
4396
43972001-11-06 Geoffrey Keating <geoffk@redhat.com>
4398
4399 * tree.h (TYPE_VOLATILE): Add enable-checking code.
4400 (TYPE_READONLY): Likewise.
4401
66c60e67
RK
4402Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4403
78571511
RK
4404 * reload1.c (reload): Don't delete equiv insn if can throw.
4405
66c60e67
RK
4406 * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
4407 (clear_storage): Likewise, for OBJECT.
4408
99a2782c
JL
4409Thu Nov 8 16:23:51 2001 Jeffrey A Law (law@cygnus.com)
4410
4411 * pa.c (emit_move_sequence): Fix SUBREG expression to
4412 use proper byte offset when extending a constant from
4413 SImode to DImode.
4414
89753b3a
JJ
44152001-11-09 Jakub Jelinek <jakub@redhat.com>
4416
4417 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
4418 which cannot throw.
4419
6608bd4d
RK
4420Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4421
4422 * explow.c (convert_memory_address, case SUBREG): Only return
4423 inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
4424
f098ead2
RH
44252001-11-08 Richard Henderson <rth@redhat.com>
4426
4427 * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
4428 (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
4429 (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
4430
775db490
AH
44312001-11-08 Aldy Hernandez <aldyh@redhat.com>
4432
f607bc57 4433 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
775db490 4434
9eb4015a
JJ
44352001-11-08 Jakub Jelinek <jakub@redhat.com>
4436
4437 * dwarf2out.c (debug_str_hash): New.
4438 (struct indirect_string_node): New.
4439 (struct dw_val_struct): Change type of val_str to it.
4440 (DEBUG_STR_SECTION_FLAGS): Define.
4441 (add_AT_string): Push string into hashtable, increment reference
4442 counter.
4443 (AT_string): Return string from ht_identifier.
4444 (AT_string_form): New.
4445 (free_AT): For dw_val_class_str, just decrement reference counter.
4446 (size_of_string): Remove.
4447 (size_of_die): Use AT_string_form to decide what size the string
4448 occupies in DIE.
4449 (size_of_pubnames): Use strlen instead of size_of_string.
4450 (value_format): Use AT_string_form for dw_val_class_str.
4451 (output_die): Output DW_FORM_strp strings using
4452 dw2_asm_output_offset.
4453 (indirect_string_alloc, output_indirect_string): New.
4454 (dwarf2out_finish): Emit .debug_str strings if there are any.
4455
b21d216c
AF
44562001-11-08 Andreas Franck <afranck@gmx.de>
4457
4458 * configure.in: Add AC_ARG_PROGRAM to support program name
4459 transformation with --program-prefix, --program-suffix and
4460 --program-transform-name.
4461 * configure: Regenerated.
4462 * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
4463 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
4464 GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
4465 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
4466 program_transform_name the way suggested by autoconf.
4467 (GCC_TARGET_INSTALL_NAME): Define.
4468 (install-driver): Use the transformed target alias name.
4469
c8a14e0e
RH
44702001-11-08 Richard Henderson <rth@redhat.com>
4471
4472 * config/mips/mips.c (save_restore_insns): Remove GP from the
4473 restore registers mask early instead of special casing it inside
4474 the loop.
4475
8ac9ea61
NB
44762001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
4477
4478 * cp/decl.c (shadow_warning): New function.
4479 (pushdecl): Improve -Wshadow warnings. Don't give both a warning
4480 and an error when a block scope decl shadows a parameter.
4481
86724f7f
RH
44822001-11-08 Richard Henderson <rth@redhat.com>
4483
4484 * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
4485 case as well.
4486
8270e11f
JDA
44872001-11-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
4488
4489 * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
4490 to implement floating negation on processors prior to PA 2.0.
4491
d6d26764
JJ
44922001-11-08 Jakub Jelinek <jakub@redhat.com>
4493
4494 * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
4495 (USE_LINKONCE_INDIRECT): Define.
4496 (dw2_output_indirect_constant_1): Try to output indirect constants
4497 into linkonce sections if possible.
4498 (dw2_force_const_mem): Likewise. Register indirect_pool with GGC.
4499 (dw2_output_indirect_constants): Likewise.
4500
58568475
AH
45012001-11-07 Aldy Hernandez <aldyh@redhat.com>
4502
4503 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
4504
2916c085
NB
45052001-11-07 Neil Booth <neil@daikokuya.demon.co.uk>
4506
4507 * c-decl.c (pushdecl): Remove file and line.
4508 * c-typeck.c (pop_init_level): Remove size.
4509
83c6af99
AH
45102001-11-07 Aldy Hernandez <aldyh@redhat.com>
4511
4512 * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
4513 for rs6000.
4514
4515 * config/rs6000/rs6000.h (MASK_ALTIVEC): New.
4516 (TARGET_ALTIVEC): New.
4517 (TARGET_SWITCHES): Add altivec.
4518 (FIRST_PSEUDO_REGISTER): Change to 109.
4519 (CALL_USED_REGISTERS): Same.
4520 (FIRST_ALTIVEC_REGNO): New.
4521 (LAST_ALTIVEC_REGNO): New.
4522 (ALTIVEC_REGNO_P): New.
4523 (UNITS_PER_ALTIVEC_WORD): New.
4524 (ALTIVEC_VECTOR_MODE): New.
4525 (FIXED_REGISTERS): Add altivec registers.
4526 (REG_ALLOC_ORDER): Same.
4527 (HARD_REGNO_NREGS): Adjust for altivec registers.
4528 (HARD_REGNO_MODE_OK): Same.
4529 (MODES_TIEABLE_P): Same.
4530 (REGISTER_MOVE_COST): Same.
4531 (REGNO_REG_CLASS): Same.
4532 (reg_class): Add ALTIVEC_REGS.
4533 (REG_CLASS_NAMES): Same.
4534 (REG_CLASS_CONTENTS): Same.
4535 (REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
4536 (ALTIVEC_ARG_RETURN): New.
4537 (FUNCTION_VALUE): Handle VECTOR_TYPE.
4538 (LIBCALL_VALUE): Handle altivec vector modes.
4539 (VECTOR_MODE_SUPPORTED_P): New.
4540 (ALTIVEC_ARG_MIN_REG): New.
4541 (ALTIVEC_ARG_MAX_REG): New.
4542 (ALTIVEC_ARG_NUM_REG): New.
4543 (FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
4544 (FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
4545 (REGISTER_NAMES): Add altivec regs.
4546 (DEBUG_REGISTER_NAMES): Same.
4547 (ADDITIONAL_REGISTER_NAMES): Same.
4548 (rs6000_builtins): New.
4549 (MD_EXPAND_BUILTIN): New.
4550 (MD_INIT_BUILTINS): New.
4551 (LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
4552 for AltiVec instructions.
4553 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
4554 (HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
4555 registers.
4556 (SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
4557 (TARGET_SWITCHES): Add no-altivec.
4558 (DATA_ALIGNMENT): Align vectors to 128 bits.
4559 (TARGET_OPTIONS): Add abi= option.
4560 Add rs6000_abi_string extern.
4561 (LOCAL_ALIGNMENT): New.
4562 (CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
4563 (MASK_ALTIVEC_ABI): New.
4564 (TARGET_ALTIVEC_ABI): New.
4565 (CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
4566 call-saved.
4567 (STACK_BOUNDARY): Adjust for altivec.
4568 (BIGGEST_ALIGNMENT): Same.
4569 (rs6000_args): Add vregno.
4570 (USE_ALTIVEC_FOR_ARG_P): New.
4571 (FIXED_REGISTERS): Add vrsave register.
4572 (CALL_USED_REGISTERS): Same.
4573 (CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
4574 (VRSAVE_REGNO): New.
4575 (reg_class): Add VRSAVE_REGS.
4576 (REG_CLASS_NAMES): Same.
4577 (REG_CLASS_CONTENTS): Same.
4578 (REGNO_REG_CLASS): Same.
00baba68 4579
83c6af99
AH
4580 * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
4581 (ABI_STACK_BOUNDARY): Same.
4582 (BIGGEST_ALIGNMENT): Same.
4583 (ADJUST_FIELD_ALIGN): Remove undef. Define anew.
4584 (ROUND_TYPE_ALIGN): Same.
00baba68 4585
83c6af99 4586 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
216caa2b
AH
4587 to 64.
4588
4589 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
4590 to 64.
4591
4592 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
83c6af99
AH
4593 to 64.
4594
4595 * config/rs6000/rs6000.c (rs6000_expand_builtin): New.
4596 (altivec_expand_builtin): New.
4597 (altivec_init_builtins): New.
4598 (TARGET_EXPAND_BUILTIN): New.
4599 (TARGET_INIT_BUILTINS): New.
4600 (rs6000_init_builtins): New.
4601 (struct builtin_description): New.
4602 (bdesc_2arg): New.
4603 (rs6000_reg_names): Add altivec registers.
4604 (alt_reg_names): Same.
4605 (secondary_reload_class): Altivec regs can hold altivec regs and
4606 memory.
4607 (rs6000_emit_move): Force constants into memory for AltiVec moves.
4608 (print_operand): Add 'y' case for printing altivec memory
4609 operands.
4610 (rs6000_legitimize_address): Legitimize vector addresses into
4611 [REG+REG] or [REG].
4612 (altivec_expand_binop_builtin): New.
4613 New string rs6000_current_abi.
4614 (rs6000_override_options): Call rs6000_parse_abi_options.
4615 (rs6000_parse_abi_options): New.
4616 (function_arg_boundary): Vector arguments must be 16
4617 byte aligned.
4618 (function_arg_advance): Handle vector arguments.
4619 (function_arg_partial_nregs): Same.
4620 (init_cumulative_args): Same.
4621 (function_arg): Same.
4622
4623 * config/rs6000/rs6000.md (altivec_lvx): New.
4624 (type): Add altivec attribute.
4625 (movv4si): New.
4626 (*movv4si_internal): New.
4627 (movv16qi): New.
4628 (*movv16qi_internal): New.
4629 (movv8hi): New.
4630 (*movv8hi_internal1): New.
4631 (movv4sf): New.
4632 (*movv4sf_internal1): New.
4633 (altivec_stvx): New.
4634 (vaddubm): New.
4635 (vadduhm): New.
4636 (vadduwm): New.
4637 (vaddfp): New.
4638 (vaddcuw): New.
4639 (vaddubs): New.
4640 (vaddsbs): New.
4641 (vadduhs): New.
4642 (vaddshs): New.
4643 (vadduws): New.
4644 (vaddsws): New.
4645 (vand): New.
4646 (vandc): New.
4647 (vavgub): New.
4648 (vavgsb): New.
4649 (vavguh): New.
4650 (vavgsh): New.
4651 (vavguw): New.
4652 (vavgsw): New.
4653 (vcmpbfp): New.
4654 (vcmpequb): New.
4655 (vcmpequh): New.
4656 (vcmpequw): New.
4657 (vcmpeqfp): New.
4658 (vcmpgefp): New.
4659 (vcmpgtub): New.
4660 (vcmpgtsb): New.
4661 (vcmpgtuh): New.
4662 (vcmpgtsh): New.
4663 (vcmpgtuw): New.
4664 (vcmpgtsw): New.
4665 (vcmpgtfp): New.
4666 (vcmpgefp): New.
4667 (vcmpgtub): New.
4668 (vcmpgtsb): New.
4669 (vcmpgtuh): New.
4670 (vcmpgtsh): New.
4671 (vcmpgtuw): New.
4672 (vcmpgtsw): New.
4673 (vcmpgtfp): New.
4674 (vmaxub): New.
4675 (vmaxsb): New.
4676 (vmaxuh): New.
4677 (vmaxsh): New.
4678 (vmaxuw): New.
4679 (vmaxsw): New.
4680 (vmaxfp): New.
4681 (vmrghb): New.
4682 (vmrghh): New.
4683 (vmrghw): New.
4684 (vmrglb): New.
4685 (vmrglh): New.
4686 (vmrglw): New.
4687 (vminub): New.
4688 (vminsb): New.
4689 (vminuh): New.
4690 (vminsh): New.
4691 (vminuw): New.
4692 (vminsw): New.
4693 (vminfp): New.
4694 (vmuleub): New.
4695 (vmulesb): New.
4696 (vmuleuh): New.
4697 (vmulesh): New.
4698 (vmuloub): New.
4699 (vmulosb): New.
4700 (vmulouh): New.
4701 (vmulosh): New.
4702 (vnor): New.
4703 (vor): New.
4704 (vpkuhum): New.
4705 (vpkuwum): New.
4706 (vpkpx): New.
4707 (vpkuhss): New.
4708 (vpkshss): New.
4709 (vpkuwss): New.
4710 (vpkswss): New.
4711 (vpkuhus): New.
4712 (vpkshus): New.
4713 (vpkuwus): New.
4714 (vpkswus): New.
4715 (vrlb): New.
4716 (vrlh): New.
4717 (vrlw): New.
4718 (vslb): New.
4719 (vslh): New.
4720 (vslw): New.
4721 (vsl): New.
4722 (vslo): New.
4723 (vsrb): New.
4724 (vrsh): New.
4725 (vrsw): New.
4726 (vsrab): New.
4727 (vsrah): New.
4728 (vsraw): New.
4729 (vsr): New.
4730 (vsro): New.
4731 (vsububm): New.
4732 (vsubuhm): New.
4733 (vsubuwm): New.
4734 (vsubfp): New.
4735 (vsubcuw): New.
4736 (vsububs): New.
4737 (vsubsbs): New.
4738 (vsubuhs): New.
4739 (vsubshs): New.
4740 (vsubuws): New.
4741 (vsubsws): New.
4742 (vsum4ubs): New.
4743 (vsum4sbs): New.
4744 (vsum4shs): New.
4745 (vsum2sws): New.
4746 (vsumsws): New.
4747 (vxor): New.
4748
2a6f0eca
DB
47492001-11-07 Daniel Berlin <dan@cgsoftware.com>
4750
f607bc57
ZW
4751 * Makefile.in (df.o): Add fibheap.h to dependencies.
4752
4753 * df.h: Add prototypes for transfer functions, iterative_dataflow
4754 functions.
4755 (enum df_flow_dir): New enum.
4756 (enum df_confluence_op): New enum.
4757 (struct df): Add inverse_rts_map.
4758
4759 * df.c: Add sbitmap.h to the list of includes.
4760 (df_rd_global_compute): Removed.
4761 (df_ru_global_compute): Removed.
4762 (df_lr_global_compute): Removed.
4763 (df_rd_transfer_function): New function.
4764 (df_ru_transfer_function): New function.
4765 (df_lr_transfer_function): New function.
4766 (df_analyse_1): allocate/compute/free df->inverse_rts_map.
4767 Use iterative_dataflow_bitmap instead of df_*_global_compute.
4768 (iterative_dataflow_sbitmap): New function.
4769 (iterative_dataflow_bitmap): New function.
2a6f0eca 4770
526ca58c
JM
47712001-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4772
4773 * doc/gcc.texi: Move terminology and spelling conventions to
4774 htdocs/codingconventions.html.
4775
8fb1e50e
GS
47762001-11-07 Graham Stott <grahams@redhat.com>
4777
4778 * cse.c (cse_insn): Emit BARRIER after unconditional jump.
4779
b972dd02
JH
4780Wed Nov 7 13:33:34 CET 2001 Jan Hubicka <jh@suse.cz>
4781
4782 * expmed.c (expand_mult): Force operand to register before computing
4783 cost.
4784 * i386.c (x86_decompose_lea): New global vairable.
4785 * i386.h (x86_decompose_lea): Declare.
4786 (TARGET_DECOMPOSE_LEA): New macro.
4787 (RTX_COST): Handle leas properly.
4788
0d3f10e5
RH
47892001-11-06 Richard Henderson <rth@redhat.com>
4790
4791 * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
4792 defined for a CONSTRUCTOR; don't check it.
4793
4c259acf
DS
47942001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
4795
4796 * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
4797 test for absolute pathnames.
4798
90f4c415
OH
47992001-11-06 Olivier Hainque <hainque@act-europe.fr>
4800
4801 * unwind-dw2.c (execute_cfa_program): Evaluate call frame
4802 instructions up to the target pc inclusive.
4803
bc532bf7
SC
48042001-11-06 Steve Christiansen <smc@us.ibm.com>
4805
4806 * loop.c (loop_regs_scan): Don't invalidate PIC register.
4807
e0e00329
EC
48082001-11-06 Eric Christopher <echristo@redhat.com>
4809
4810 * config/mips/mips.md(movdf_internal2): Add constraints for float
4811 to general register move.
4812 * config/mips/elf64.h: Add default ABI.
4813
d23c55c2
NB
48142001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4815
4816 * alias.c:: Include langhooks.h.
4817 * emit-rtl.c: Similarly.
4818 * toplev.c: Similarly.
4819 * tree-inline.c: Similarly.
4820 * langhooks-def.h: New, the old langhooks.h. Give the default
4821 hooks a common prefix.
4822 * langhooks.h: Contents extracted from toplev.h.
4823 * toplev.h: Move langhook stuff to langhooks.h.
4824 * langhooks.c: Give default hooks a common prefix.
4825
4826 * c-lang.c: Include langhooks-def.h.
4827 * objc/objc-act.c: Similarly.
4828 * Makefile.in: Update.
4829 * objc/Make-lang.in: Update.
4830
80f9249a
JM
48312001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4832
4833 * doc/install.texi: Document that configure options not listed in
4834 this file are unsupported. Document --with-system-zlib.
4835
9e446a5c
RK
4836Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4837
03f54026
RK
4838 * rtl.h (mem_for_const_double): New declaration.
4839 * varasm.c (mem_for_const_double): New function.
4840 * config/convex/convex.md (movdf): Use it.
4841 * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
4842 * config/m68k/linux.h, config/m68k/m68k.h: Likewise.
4843 * config/m68k/m68kv4.h: Likewise.
4844
bfd82dbf
RK
4845 * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
4846 of new GP reg classes.
4847
9e446a5c
RK
4848 * expr.c (store_field): When making temp object for unaligned
4849 component, set it to alias set 0.
4850
207bf485
JM
48512001-11-06 Joseph S. Myers <jsm28@cam.ac.uk>
4852
4853 * c-common.c (c_expand_expr_stmt): Apply default conversions to
4854 non-lvalue arrays if C99.
4855 * c-typeck.c (default_conversion): Split out code handling
4856 array-to-pointer and function-to-pointer conversions into a
4857 separate default_function_array_conversion function.
4858 (default_function_array_conversion): New function. Keep track of
4859 whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue
4860 arrays unchanged outside C99 mode instead of giving an error for
4861 them.
4862 (build_component_ref): Use pedantic_non_lvalue when handling
4863 COMPOUND_EXPR. Don't handle COND_EXPR specially.
4864 (convert_arguments): Use default_function_array_conversion.
4865 (build_unary_op): For ADDR_EXPR, take a flag indicating whether
4866 non-lvalues are OK.
4867 (unary_complex_lvalue): Likewise.
4868 (internal_build_compound_expr): Use
4869 default_function_array_conversion. Apply default conversions to
4870 function in compound expression.
4871 (build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
4872 Use default_function_array_conversion.
4873 * doc/extend.texi: Update documentation of subscripting non-lvalue
4874 arrays.
4875 Fixes PR c/461.
4876
9f6682b7
ZW
48772001-11-05 Zack Weinberg <zack@codesourcery.com>
4878
4879 * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
4880 (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
4881 corresponding to the complete set of .po and .gmo files in
4882 the source directory's po subdir, modified by LINGUAS. Don't
4883 look at ALL_LINGUAS.
e0e00329 4884 * configure.in: Don't set ALL_LINGUAS.
9f6682b7
ZW
4885 * configure: Regenerate.
4886
4887 * Makefile.in (.po.gmo): Don't move into source directory.
4888 (.po.pox): Clarify comments.
4889 (install-po): Look for .gmo files in both srcdir and objdir;
e0e00329 4890 don't fail if a file is totally missing.
9f6682b7
ZW
4891 (distclean): rmdir ada subdirectory too.
4892
f3afc192
GK
48932001-11-05 Geoffrey Keating <geoffk@redhat.com>
4894
4895 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4896 CONSTRUCTORs _correctly_.
4897
e6ec164c
NB
48982001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4899
4900 * c-decl.c (delete_block): Remove.
4901 * c-tree.h (delete_block): Remove.
4902
63d75005
NB
49032001-11-05 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4904
4905 * cppexp.c (lex, parse_defined): Update warning about defined.
4906
ac4f7ad9
GK
49072001-11-05 Geoffrey Keating <geoffk@redhat.com>
4908
4909 * config/rs6000/rs6000.c (rs6000_select_section): Handle
4910 CONSTRUCTORs too.
4911
648f5f04
NC
49122001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
4913
e529bd42
NC
4914 * config/arm/arm.c (arm_return_in_memory): Cope with
4915 int_size_in_bytes returning -1.
4916
648f5f04
NC
4917 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
4918 DECL being NULL.
4919
d56a8211
JH
4920Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
4921
a1f300c0 4922 * Makefile.in (bb-reorder.o): Add dependency on cfglayout.h;
eaec9b3d 4923 remove unneeded dependencies;
d56a8211
JH
4924 (cfglayout.o): New.
4925 * cfglayout.c, cfglayout.h: New files; break out from ...
e0e00329 4926 * bb-reorder.c: ... here; Remove unneeded includes;
d56a8211 4927
46aaf10d
DE
49282001-11-04 Alan Modra <amodra@bigpond.net.au>
4929
4930 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.
4931
49322001-11-04 David Edelsohn <edelsohn@gnu.org>
4933
4934 * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
4935 mode as well. Do not explicitly create intermediate regs.
4936
5f37d07c
KG
49372001-11-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4938
4939 * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
4940 (common_section): Delete unused variable.
4941 (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
4942 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
4943 * arm-protos.h (arm_poke_function_name, aof_add_import,
4944 aof_delete_import): Const-ify.
4945 * arm.c (legitimize_pic_address): Wrap variables in the macro
4946 controlling their usage.
4947 (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
4948 (arm_poke_function_name, pic_chain, import, aof_add_import,
4949 aof_delete_import): Const-ify.
4950 * i386.c (ix86_osf_output_function_prologue): Const-ify.
4951 * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
4952 ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
4953 * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
4954 * i860/sysv3.h: Add missing comment closure.
4955 * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
4956 * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
4957 to symbolic_operand.
9f6682b7 4958
5f37d07c
KG
4959 * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
4960 (i960-*-*): Set tmake_file.
4961 (sparc86x-*-elf*): Fix typo in header name.
9f6682b7 4962
5f37d07c
KG
4963 * sched-rgn.c (schedule_insns): Delete unused variable.
4964
e9b2c823
NB
49652001-11-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
4966
4967 PR c/2820
4968 * c-typeck.c (lookup_field): Rework to return a chain down to
4969 the looked-up field.
4970 (build_component_ref): Use the new lookup_field to handle
4971 nested anonymous entities correctly.
4972
f2827474
RK
4973Sun Nov 4 11:53:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4974
4975 * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
4976 Change parameters to gen_rtx_CONST_DOUBLE.
4977 (GEN_INT64, sparc_emit_set_const64): Likewise.
4978 * config/sparc/sparc.md (movdf split): Likewise.
4979
52560c7b
GK
49802001-11-03 Geoffrey Keating <geoffk@redhat.com>
4981
27d80140
GK
4982 * unroll.c (calculate_giv_inc): Use find_last_value rather
4983 than just hoping the last instruction is the right SET.
4984 [Fixes 990604-1.c on stormy16.]
4985
3eaaf577
GK
4986 * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
4987 library at all if -T is used.
4988
e9818db2
GK
4989 * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
4990 some uses of uninitialized variables in error cases.
4991
5766e0ef
GK
4992 * config/stormy16/stormy16.c (stormy16_output_shift): Don't
4993 look at 'temp' if we won't be using it.
4994
3fdb2f71
GK
4995 * config/stormy16/stormy16.h (CONST_COSTS): Define.
4996 (RTX_COSTS): Define.
4997 (ADDRESS_COST): Define.
4998 (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.
4999
e06bc4e1
GK
5000 * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
5001
52560c7b
GK
5002 * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
5003 stormy16_asm_output_mi_thunk.
5004 * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
5005 function.
5006 * config/stormy16/stormy16-protos.h
5007 (stormy16_asm_output_mi_thunk): New prototype.
5008
f5143c46
JM
50092001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
5010
5011 * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
5012 FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
5013 caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
5014 cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
5015 sched-int.h, toplev.c, config/alpha/alpha.c,
5016 config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
5017 config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
5018 config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
5019 config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
5020 config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
5021 config/ns32k/ns32k.md, config/rs6000/rs6000.c,
5022 config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.
5023
55710451
KG
50242001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5025
c3fb23f4
KG
5026 * Makefile.in (dbxout.o): Depend on function.h.
5027 * collect2.c (is_in_list): Hide unused function.
5028 * dbxout.c: Include function.h.
5029 (source_label_number, dbxout_source_line, dbxout_source_file,
5030 dbxout_function_end, dbxout_begin_function): Wrap/move inside
5031 macros controlling usage.
5032 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
5033 * output.h (exports_section): Prototype.
5034
55710451
KG
5035 * convex.c (convex_output_function_prologue): Fix format specifier
5036 warning.
5037 (asm_declare_function_name): Fix signed/unsigned warning.
5038 (print_operand): Fix format specifier warning.
5039 * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
5040 * dsp16xx-protos.h (uns_comparison_operator,
5041 num_1600_core_shifts): Prototype.
5042 * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
5043 (frame_size, frame_pointer_offset): Delete.
5044 (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
5045 Make static. Fix format specifier warnings.
5046 * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
5047 (EXTRA_SECTION_FUNCTIONS): Prototype const_section.
5048 * dsp16xx.md: Add default case in switches.
5049 * fr30.h (IN_RANGE): Delete.
5050 * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
5051 * mcore-protos.h (mcore_output_cmov): Const-ify.
5052 * mcore.c (mcore_output_cmov): Likewise.
5053 * mcore.h (switch_to_section): Make static and prototype.
5054 * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
5055 unsigned>=0 warnings.
5056 * mn10300.h (REGNO_IN_RANGE_P): Likewise.
5057 * rs6000-protos.h (read_only_data_section,
5058 read_only_private_data_section): Prototype.
5059 * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
5060 * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
5061 * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.
5062
1943c2c1
KG
50632001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5064
40cdfca6
KG
5065 * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
5066 ATTRIBUTE_UNUSED.
5067 * final.c (final_scan_insn): Add brackets around body of if-stmt.
5068 * gcc.c (convert_filename): Add static prototype. Const-ify.
5069 Wrap variable in macros controlling its use.
5070 * output.h (sdata_section): Add prototype.
5071
1943c2c1
KG
5072 * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
5073 (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
5074 * c4x.h (INIT_SECTION_FUNCTION): Add prototype.
5075 (ASM_FILE_START): Const-ify.
5076 (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
5077 specifier warning.
5078 * c4x.md: Don't use the 'U' integer suffix.
5079 * clipper.md (clipper_movstr): Delete declaration.
5080 * d30v-protos.h (d30v_move_2words): Const-ify.
5081 (debug_stack_info): Add prototype.
5082 * d30v.c: Include "integrate.h".
5083 (d30v_function_arg_boundary, d30v_function_arg,
5084 d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
5085 signed/unsigned warnings.
5086 (d30v_print_operand_memory_reference, d30v_move_2words):
5087 Const-ify.
5088 * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
5089 * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
5090 * fr30.md: Const-ify.
5091 * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
5092 * i370.c (i370_label_scan, mvs_get_label): Make definition static.
5093 (mvs_get_label_page): Hide unused static function.
5094 * i860.c (current_function_original_name): Const-ify.
5095 * i860/sysv3.h (current_function_original_name): Likewise.
5096 * i860/sysv4.h (current_function_original_name): Likewise.
5097 * i960.md: Add default case in switches. Remove unused variable.
5098 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
5099 * m32r.md: Const-ify.
5100 * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
5101 * m68hc11.c: Include "reload.h".
5102 (static_chain_reg, print_options, m68hc11_asm_file_start):
5103 Const-ify.
5104 * m68hc11.md: Delete unused variable. Const-ify. Add parens
5105 around & in comparison.
5106 * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
5107 * mn10200.c (shift_mode): Remove trailing comma.
5108 * mn10300-protos.h (output_tst): Const-ify.
5109 * mn10300.c (output_tst): Likewise.
5110 * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
5111 warnings.
5112 * pa-protos.h (output_ascii): Use regular char *, not unsigned.
5113 * pa.c (output_ascii): Likewise.
5114 * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
5115 * pdp11.md (expand_unop): Delete declarations.
5116 * pj-protos.h (pj_output_addsi3): Const-ify.
5117 * pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
5118 pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
5119 unique_src_operand): Add prototypes.
5120 (pj_output_store_into_lval): Make definition static.
5121 (pj_function_incoming_arg): Don't use unary plus.
5122 (pj_output_addsi3): Const-ify.
5123 * romp.md (get_symref): Delete declarations.
5124 * v850-c.c (mark_current_function_as_interrupt): Don't return
5125 value from void function.
5126 * v850.c: Include "integrate.h".
5127 * v850.h (ASM_OUTPUT_LABELREF): Const-ify.
5128 * vax-protos.h (const_section): Add prototype.
5129
7ba2b35c
AH
51302001-11-03 Aldy Hernandez <aldyh@redhat.com>
5131
9f6682b7
ZW
5132 * machmode.def: Add documentation for the seventh argument in
5133 vector modes.
7ba2b35c 5134
7fba3293
HPN
51352001-11-04 Hans-Peter Nilsson <hp@bitrange.com>
5136
5137 * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
5138 consistently.
5139 <-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
5140 <-melf>: Don't have markup for ELF acronym.
5141
bcf684c7
HPN
51422001-11-03 Hans-Peter Nilsson <hp@bitrange.com>
5143
5144 * config.gcc (mmix-*-*): New target.
5145 * doc/invoke.texi: Document MMIX options.
5146 * doc/contrib.texi: Add note about MMIX port to my entry.
5147 * config/mmix/t-mmix: New file.
5148 * config/mmix/mmix.h: New file.
5149 * config/mmix/mmix-protos.h: New file.
5150 * config/mmix/mmix.c: New file.
5151 * config/mmix/mmix.md: New file.
5152 * config/mmix/crti.asm: New file.
5153 * config/mmix/crtn.asm: New file.
5154
80ffc95e
KH
51552001-11-03 Kazu Hirata <kazu@hxi.com>
5156
5157 * config/sparc/linux-aout.h: Fix comment formatting.
5158 * config/sparc/linux.h: Likewise.
5159 * config/sparc/linux64.h: Likewise.
5160 * config/sparc/lynx.h: Likewise.
5161 * config/sparc/pbd.h: Likewise.
5162 * config/sparc/sol2-sld-64.h: Likewise.
5163 * config/sparc/sol2.h: Likewise.
5164 * config/sparc/sparc.c: Likewise.
5165 * config/sparc/sparc.h: Likewise.
5166 * config/sparc/sparc.md: Likewise.
5167 * config/sparc/sunos4.h: Likewise.
5168 * config/sparc/vxsim.h: Likewise.
5169 * config/sparc/vxsparc.h: Likewise.
5170 * config/sparc/vxsparc64.h: Likewise.
5171
343fb412
RK
5172Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5173
a79e3a45 5174 * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
00baba68 5175 reference to CONST_DOUBLE_MEM in comment.
a79e3a45
RK
5176 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
5177 (gen_rtx, case CONST_DOUBLE): Call it with one less operand.
5178 (init_emit_once): Don't clear CONST_DOUBLE_MEM.
5179 * function.c (pop_function_context_from): Don't call
5180 restore_varasm_status.
5181 * function.h (restore_varasm_status): Delete declaration.
5182 * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
5183 * rtl.c: Likewise.
5184 * rtl.def (CONST_DOUBLE): Update comment.
5185 * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
5186 (CONST_DOUBLE_CHAIN): Likewise.
5187 (CONST_DOUBLE_MEM): Delete.
5188 (gen_rtx_CONST_DOUBLE): Update parameters.
5189 * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
5190 Remove reference to CONST_DOUBLE_MEM.
5191 (const_alias_set): New variable.
5192 (immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
5193 (immed_real_const_1): Adjust tests for 0, 1, and 2.
5194 Don't set CONST_DOUBLE_MEM.
5195 (clear_const_double_mem): Don't do anything with const_tiny_rtx.
5196 (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
5197 Put constant in const_alias_set.
5198 (struct pool_constant): ALIGN now unsigned.
5199 OFFSET now HOST_WIDE_INT.
5200 Delete LABEL.
5201 (restore_varasm_status): Deleted.
5202 (mark_pool_constant): Mark desc->rtl.
5203 (force_const_mem): Rework to store rtl in hash table,
5204 not CONST_DOUBLE_MEM.
5205 Put constant in const_alias_set.
5206 (find_pool_constant): Check desc->rtl.
5207 (mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
5208 (init_varasm_once): Initialize const_alias_set.
5209
d6b6783b
RK
5210 * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
5211 force_const_mem.
5212
6b3736a1
RK
5213 * reload.c (combine_reloads): Don't combine an output reload if there
5214 are other reloads around for part of the output.
5215
5216 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
5217 constant expression.
5218 (set_mem_decl): New function.
5219 * expr.h (set_mem_decl): New declaration.
5220 * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
5221 (output_asm_operand_names): Add tab.
5222 * reload1.c (alter_reg): Set decl of MEM from REG_DECL.
5223
343fb412
RK
5224 * builtins.c (get_memory_rtx): Properly set MEM alias set and
5225 attributes.
5226
13ba36b4
JM
52272001-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
5228
5229 * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
5230 Use "invalid" instead of "illegal". Use @r in comments in
5231 examples.
5232
234f46ae
NB
52332001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
5234
5235 * c-decl.c (pushdecl): Move block inside if conditional to remove
5236 possibility of a segfault. Lookup block-level extern
5237 variables in enclosing scopes correctly.
5238
5239 * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
5240
bb33f166
AH
52412001-11-02 Aldy Hernandez <aldyh@redhat.com>
5242
9f6682b7
ZW
5243 * expmed.c (store_bit_field): Use simplify_gen_subreg to make
5244 SUBREG so we avoid SUBREGing memory.
bb33f166 5245
9f6682b7 5246 * expmed.c (store_bit_field): Same.
bafe341a 5247
c9e8cb32
DD
52482001-11-02 DJ Delorie <dj@redhat.com>
5249
5250 * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
5251 using FP registers for DImode mem-mem moves is acceptable.
5252
720ea9b1
AH
52532001-11-02 Aldy Hernandez <aldyh@redhat.com>
5254
5255 * builtins.c (apply_args_size): Handle vector arguments.
5256 (apply_result_size): Same.
5257
9f6682b7 5258 * machmode.def: Set WIDER mode field for all vector entries.
720ea9b1 5259
f5a5ea4a
GS
52602001-11-02 Graham Stott <grahams@redhat.com>
5261
5262 * recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
5263
009da785
EC
52642001-11-01 Eric Christopher <echristo@redhat.com>
5265
9f6682b7
ZW
5266 * config.gcc: Revert part of earlier patch.
5267 * config/mips/linux.h: Ditto.
009da785 5268 * df.c: Include tm_p.h to avoid warnings.
9f6682b7 5269 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust
009da785
EC
5270 #if/#endif.
5271 * config/mips/mips.c: Define mips_abi regardless.
5272 (mips_output_function_prologues): Add long casts for .frame
5273 output.
5274 (override_options): Allow use of ABI_32.
5275
9caea35c
KH
52762001-11-01 Kazu Hirata <kazu@hxi.com>
5277
5278 * config/m68hc11/m68hc11.c: Fix comment formatting.
5279 * config/m68hc11/m68hc11.h: Likewise.
5280 * config/m68hc11/m68hc11.md: Likewise.
5281
157689c6
NB
52822001-11-01 Neil Booth <neil@daikokuya.demon.co.uk>
5283
5284 * c-typeck.c (default_conversion): Retain the original expression
5285 codes.
5286 * gcc.dg/Wparentheses.c: New tests.
5287
edf1c8df
DM
52882001-11-01 David S. Miller <davem@redhat.com>
5289
5290 * doc/install.texi (Specific, sparc-sun-solaris2*): Bring
5291 64-bit Sparc description more in line with reality.
5292
5735c3ea
JM
52932001-11-01 Joseph S. Myers <jsm28@cam.ac.uk>
5294
5295 * Makefile.in (GCOV_OBJS): Add version.o.
5296 * gcov.c: Include "version.h" and <getopt.h>.
5297 (gcov_version_string): Remove.
5298 (print_usage): Take a parameter to determine whether this is a
5299 call from --help or an error message. Give fuller output that
5300 follows the GNU Coding Standards for --help.
5301 (print_version): New function.
5302 (options): New.
5303 (process_args): Use getopt_long. Support long options. Follow
5304 GNU Coding Standards for --help and --version.
5305 * doc/gcov.texi: Document long options.
5306 Addresses part of PR other/704.
5307
6126a380
JDA
53082001-11-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
5309
5310 * pa.c (output_move_double): Fix typo in double load.
5311
93cacb72
KH
53122001-11-01 Kazu Hirata <kazu@hxi.com>
5313
5314 * config/h8300/h8300.c (h8300_encode_label): Compute a string
5315 before passing it to ggc_alloc_string.
5316
7a1929e1
KH
53172001-11-01 Kazu Hirata <kazu@hxi.com>
5318
5319 * config/m68k/3b1.h: Fix comment formatting.
5320 * config/m68k/3b1g.h: Likewise.
5321 * config/m68k/a-ux.h: Likewise.
5322 * config/m68k/amix.h: Likewise.
5323 * config/m68k/apollo68.h: Likewise.
5324 * config/m68k/atari.h: Likewise.
5325 * config/m68k/aux-exit.c: Likewise.
5326 * config/m68k/ccur-GAS.h: Likewise.
5327 * config/m68k/crds.h: Likewise.
5328 * config/m68k/dpx2.h: Likewise.
5329 * config/m68k/dpx2g.h: Likewise.
5330 * config/m68k/hp310.h: Likewise.
5331 * config/m68k/hp320.h: Likewise.
5332 * config/m68k/isi.h: Likewise.
5333 * config/m68k/linux.h: Likewise.
5334 * config/m68k/lynx.h: Likewise.
5335 * config/m68k/m68k-psos.h: Likewise.
5336 * config/m68k/m68k.c: Likewise.
5337 * config/m68k/m68k.h: Likewise.
5338 * config/m68k/m68k.md: Likewise.
5339 * config/m68k/m68kelf.h: Likewise.
5340 * config/m68k/m68kv4.h: Likewise.
5341 * config/m68k/mot3300.h: Likewise.
5342 * config/m68k/news.h: Likewise.
5343 * config/m68k/next.h: Likewise.
5344 * config/m68k/pbb.h: Likewise.
5345 * config/m68k/plexus.h: Likewise.
5346 * config/m68k/sgs.h: Likewise.
5347 * config/m68k/sun3.h: Likewise.
5348 * config/m68k/tower.h: Likewise.
5349 * config/m68k/vxm68k.h: Likewise.
5350
d490e8ad
DD
53512001-10-31 DJ Delorie <dj@redhat.com>
5352
5353 * config/mips/mips.h (mips_cache_flush_func): Prototype.
5354 (TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
5355 (INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
5356 * config/mips/mips.c (mips_cache_flush_func): New.
5357 * doc/invoke.texi: Document the new options.
5358
b4ac17fc
HPN
53592001-10-31 Hans-Peter Nilsson <hp@axis.com>
5360
5361 * config.gcc (cris-*-linux*, tm_file): Rearrange order.
5362 * config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
5363
2b371d25
HPN
5364 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
5365
78b14aa6
HPN
5366 * config/cris/cris.c: Include output.h after tree.h but before
5367 target.h.
5368
5b7874aa
ZW
53692001-10-31 Zack Weinberg <zack@codesourcery.com>
5370
5371 * Makefile.in (INTL_TARGETS, POSUB): Delete all references.
5372 (INTL_SUBDIRS): Just intl.
5373 (.SUFFIXES): Add .gmo .po .pox.
5374 (native): Also depend on build-@POSUB@.
5375 (intl.all, intl.install): Depend on config.h and things it includes.
5376 (po-generated): New target; depend on c-parse.c and tradcif.c.
5377 (install-normal): Also depend on install-@POSUB@.
5378 (XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
5379 (build-, install-, build-po, update-po, install-po,
5380 .po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
5381
5382 * aclocal.m4: Prefix each entry in CATALOGS with "po/"
5383 * configure.in: Don't munge XGETTEXT. Don't generate
5384 po/Makefile.in.
5385 * configure: Regenerate.
5386
5387 * exgettext: Delete.
5388 * config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
5389 * objc/Make-lang.in: Replace $(INTL_TARGETS) with po-generated.
5390
5fb56602
KH
53912001-10-31 Kazu Hirata <kazu@hxi.com>
5392
5393 * config/h8300/h8300.md (two anonymous patterns): New.
5394
b63781e9
AH
53952001-10-31 Aldy Hernandez <aldyh@redhat.com>
5396
5397 * tree.h (tree_index): Add support for V16QI and V8HI.
5398 (V8HI_type_node): New.
5399 (V16QI_type_node): New.
5400
5401 * tree.c (build_common_tree_nodes_2): Same.
5402
5403 * c-common.c (type_for_mode): Same.
5404
892a2d68
KH
54052001-10-31 Kazu Hirata <kazu@hxi.com>
5406
5407 * config/i386/att.h: Fix comment formatting.
5408 * config/i386/beos-elf.h: Likewise.
5409 * config/i386/bsd.h: Likewise.
5410 * config/i386/bsd386.h: Likewise.
5411 * config/i386/crtdll.h: Likewise.
5412 * config/i386/cygwin.asm: Likewise.
5413 * config/i386/cygwin.h: Likewise.
5414 * config/i386/djgpp.h: Likewise.
5415 * config/i386/freebsd-aout.h: Likewise.
5416 * config/i386/freebsd.h: Likewise.
5417 * config/i386/gas.h: Likewise.
5418 * config/i386/i386-interix.h: Likewise.
5419 * config/i386/i386-protos.h: Likewise.
5420 * config/i386/i386.c: Likewise.
5421 * config/i386/i386.h: Likewise.
5422 * config/i386/i386.md: Likewise.
5423 * config/i386/i386elf.h: Likewise.
5424 * config/i386/interix.c: Likewise.
5425 * config/i386/isc.h: Likewise.
5426 * config/i386/isccoff.h: Likewise.
5427 * config/i386/iscdbx.h: Likewise.
5428 * config/i386/linux.h: Likewise.
5429 * config/i386/lynx.h: Likewise.
5430 * config/i386/mingw32.h: Likewise.
5431 * config/i386/netbsd-elf.h: Likewise.
5432 * config/i386/next.h: Likewise.
5433 * config/i386/osf1elf.h: Likewise.
5434 * config/i386/osfrose.h: Likewise.
5435 * config/i386/sco5.h: Likewise.
5436 * config/i386/seq-gas.h: Likewise.
5437 * config/i386/seq-sysv3.h: Likewise.
5438 * config/i386/sequent.h: Likewise.
5439 * config/i386/sol2.h: Likewise.
5440 * config/i386/sun386.h: Likewise.
5441 * config/i386/uwin.asm: Likewise.
5442 * config/i386/uwin.h: Likewise.
5443 * config/i386/vxi386.h: Likewise.
5444 * config/i386/win32.h: Likewise.
5445 * config/i386/winnt.c: Likewise.
5446 * config/i386/xm-cygwin.h: Likewise.
5447 * config/i386/xm-mingw32.h: Likewise.
5448
5519a4f9
KH
54492001-10-31 Kazu Hirata <kazu@hxi.com>
5450
5451 * builtins.def: Fix comment typos.
5452 * config/alpha.c: Likewise.
5453 * config/arm/arm.c: Likewise.
5454 * config/avr/avr.h: Likewise.
5455 * config/d30v/d30v.c: Likewise.
5456 * config/d30v/d30v.h: Likewise.
5457 * config/d30v/d30v.md: Likewise.
5458 * config/dsp16xx/dsp16xx.c: Likewise.
5459 * config/fr30/fr30.c: Likewise.
5460 * config/fr30/fr30.md: Likewise.
5461 * config/i386/i386.c: Likewise.
5462 * config/i860/i860.c: Likewise.
5463 * config/i960/i960.c: Likewise.
5464 * config/ia64/ia64.c: Likewise.
5465 * config/mips/mips.c: Likewise.
5466 * config/pa/pa.c: Likewise.
5467 * config/rs6000/rs6000.c: Likewise.
5468 * config/s390/s390.c: Likewise.
5469 * config/sparc/sparc.c: Likewise.
5470
987ba558
KH
54712001-10-30 Kazu Hirata <kazu@hxi.com>
5472
54aa2c51
KH
5473 * config/mips/elf.h: Fix comment formatting.
5474 * config/mips/elf64.h: Likewise.
5475 * config/mips/iris5.h: Likewise.
5476 * config/mips/iris5gas.h: Likewise.
5477 * config/mips/iris6.h: Likewise.
5478 * config/mips/isa3264.h: Likewise.
5479 * config/mips/linux.h: Likewise.
5480 * config/mips/mips.c: Likewise.
5481 * config/mips/mips.h: Likewise.
5482 * config/mips/mips.md: Likewise.
5483 * config/mips/mips16.S: Likewise.
5484 * config/mips/netbsd.h: Likewise.
5485 * config/mips/osfrose.h: Likewise.
5486 * config/mips/r3900.h: Likewise.
5487 * config/mips/sni-svr4.h: Likewise.
5488 * config/mips/svr4-t.h: Likewise.
5489 * config/mips/ultrix.h: Likewise.
987ba558 5490
87a2e7a8
DB
54912001-10-30 Daniel Berlin <dan@cgsoftware.com>
5492
5493 * bitmap.c (bitmap_element_free): Don't forget to update head->indx
5494 when we update head->current.
5495
e7175247
NB
54962001-10-30 Neil Booth <neil@daikokuya.demon.co.uk>
5497
5498 * tree.c (id_string_size): Remove.
5499 (dump_tree_statistics): Update.
5500 * toplev.c (compile_file): If dumping stats, dump tree stats too.
5501
6bbdfefd
JH
5502Tue Oct 30 19:00:43 CET 2001 Jan Hubicka <jh@suse.cz>
5503
5504 * sched-rgn.c (schedule_insns): Fix comment.
5505
5fed851d
ZW
55062001-10-30 Zack Weinberg <zack@codesourcery.com>
5507
5508 * configure.in: Correct previous change: don't assume that
5509 gas's version number _isn't_ the last thing on the line, or
5510 isn't the only number on the line, either.
5511 * configure: Regenerate.
5512
79f5e6be
KH
55132001-10-30 Kazu Hirata <kazu@hxi.com>
5514
5515 * cfgcleanup.c: Fix a comment typo.
5516
e5837c07
KH
55172001-10-30 Kazu Hirata <kazu@hxi.com>
5518
5519 * alias.c: Fix comment formatting.
5520 * recog.c: Likewise.
5521 * config/cris/cris.c: Likewise.
5522 * config/cris/cris.h: Likewise.
5523 * config/i960/i960.c: Likewise.
5524 * config/i960/i960.h: Likewise.
5525
3569057d
KH
55262001-10-30 Kazu Hirata <kazu@hxi.com>
5527
bc70506b 5528 * config/arm/arm.c: Fix a comment typo.
3569057d
KH
5529 * config/arm/arm.h: Likewise.
5530 * config/ia64/ia64.c: Likewise.
5531
3d238248
JJ
55322001-10-30 Jakub Jelinek <jakub@redhat.com>
5533
5534 * emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
5535 REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
5536 * rtl.h (set_unique_reg_note): Change return value.
5537 * gcse.c (try_replace_reg): Use set_unique_reg_note.
5538 * cse.c (cse_insn): Likewise.
5539 * expr.c (emit_move_insn): Likewise.
5540 * explow.c (force_reg): Likewise.
5541 * local-alloc (update_equiv_regs): Likewise.
5542 * loop.c (move_moveables, load_mems): Likewise.
5543 * reload (find_reloads): Likewise.
5544
53fcdc76
PB
55452001-10-30 Paolo Bonzini <bonzini@gnu.org>
5546
5547 Localization fixes.
5548 * c-decl.c (parmlist_tags_warning, start_struct,
5549 check_for_loop_decls): Separate messages for struct, union and
5550 enum cases to allow for languages in which they have different
5551 genders.
5552 * c-format.c (scanf_flag_specs): Separate short and long name of
5553 the assignment suppression feature.
5554 (check_format_types): Localize "pointer" and "different types"
5555 strings.
5556 * c-lex.c (lex_number): Localize "an unsigned long int" and
5557 related strings.
5558 (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
5559 warning message.
5560 * c-typeck.c (build_unary_up): Separate messages for increment and
5561 decrement cases to allow for languages in which they use different
5562 articles. Localize the strings "increment" and "decrement" in one
5563 case.
5564
73991d6a
JH
5565Tue Oct 30 11:08:11 CET 2001 Jan Hubicka <jh@suse.cz>
5566
5567 * lcm.c (optimize_mode_switching): Do not rebuild liveness information
5568 when no changes has been made.
5569
5570 * gcse.c (reg_set_bitmap): Turn into reg_set.
5571 (modify_mem_list_set, canon_modify_mem_list_set)
5572 (clear_modify_mem_tables, free_modify_mem_tables): New.
5573 (gcse_main); Use free_modify_mem_tables.
5574 (free_gcse_mem): Likewise; free the bitmaps.
5575 (alloc_gcse_main): Initialize the bitmaps.
5576 (canon_list_insert): Set canon_modify_mem_list_set.
5577 (record_last_mem_set_info): Likewise; set modify_mem_list_set.
5578 (compute_hash_table): Use clear_modify_mem_tables.
5579 (reset_opr_set_tables): Likewise.
5580 (oprs_not_set_p): reg_set_bitmap is regset.
5581 (mark_set, mark_clobber): Likewise.
5582
5583 * df.h (DF_EQUIV_NOTES): New constant.
5584 (df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
5585 when asked for.
5586
5587 * sched-rgn.c (CHECK_DEAD_NOTES): New constant.
5588 (init_regions, schedule_insns): Conditionalize the checking
5589 code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
5590
4fe8523b
JH
5591Tue Oct 30 11:02:31 CET 2001 Jan Hubicka <jh@suse.cz>
5592
5593 * i386.md (movti_rex64 splitter): Fix condition.
5594
79e2e160
ZW
55952001-10-29 Zack Weinberg <zack@codesourcery.com>
5596
0461a052
ZW
5597 * configure.in: Do not assume that gas's version number is the
5598 last thing on the first line of as --version output.
5599 * configure: Regenerate.
5b7874aa 5600
79e2e160
ZW
5601 * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
5602 MT_WARNING, MT_ERROR, MT_FATAL.
5603 (main): Call gcc_init_libintl.
5604 (v_message): Call gettext on msgid and "warning: "
5605 * tradcif.y: Include intl.h.
5606 (yyerror): Make parameter definition consistent with
5607 prototype. Call gettext on msgid argument.
5608
1ac04695
KG
56092001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5610
b016d07e
KG
5611 * combine.c (num_sign_bit_copies): Avoid signed/unsigned
5612 warnings.
5613
1ac04695
KG
5614 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
5615
cd7c9015
RK
5616Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5617
5618 * reload1.c (eliminate_regs): Test for reg_renumber being allocated
5619 before referencing it.
5620
f3597919
DD
56212001-10-26 DJ Delorie <dj@redhat.com>
5622
5623 * config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
5624 override -G, and force -G0.
5625
affd4f33
JM
56262001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5627
684d9f3b
JM
5628 * ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
5629 FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
5630 c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
5631 timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
5632
affd4f33
JM
5633 * loop.h (struct induction): Rename ext_dependant to
5634 ext_dependent.
5635 * loop.c: Change all uses.
5636 (check_ext_dependant_givs): Rename to check_ext_dependent_givs.
5637 All callers changed.
5638 * timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
5639
686deecb
JM
56402001-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5641
5642 * c-parse.in (expr_no_commas, primary), c-typeck.c
5643 (parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
5644
54ee9799
DE
56452001-10-29 David Edelsohn <edelsohn@gnu.org>
5646
5647 Undo assemble_name change in earlier patch.
5648
92bcd93d 5649Mon Oct 29 21:11:40 2001 Nicola Pero <n.pero@mi.flashnet.it>
5b7874aa 5650
92bcd93d
NP
5651 * objc/objc-act.c (finish_message_expr): For the GNU runtime: when
5652 determining the type of the receiver, do not check that TREE_CODE
54ee9799
DE
5653 of receiver is CALL_EXPR before calling receiver_is_class_object().
5654 (receiver_is_class_object): For the GNU runtime: recognize
92bcd93d
NP
5655 the case that the receiver is self in a class method context.
5656 Check that TREE_CODE of receiver is CALL_EXPR when checking that
5657 the receiver is a call to objc_get_class.
5658
4ff3bd5f
JDA
56592001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
5660
5661 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
5662
94784fb9
RK
5663Mon Oct 29 07:23:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5664
15228eb6
RK
5665 * Makefile.in (OBJS): Put all files in alphabetical order.
5666
94784fb9
RK
5667 * dwarf2out.c (add_const_value_attribute): Fix error in last
5668 change.
5669
473fb060
JH
5670Mon Oct 29 12:43:06 CET 2001 Jan Hubicka <jh@suse.cz>
5671
5672 * basic-block.h (purge_all_dead_edges): Add update_life_p argument.
5673 * cfgcleanup.c (merge_blocks): Update the life flag after merging;
5674 fix warning.
5675 * cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
5676 (life_analysis): call purge_all_dead_edges after deleting noops.
5677 (delete_noop_move): Do not purge CFG.
5678 * toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
5679
d2574c50
DE
56802001-10-28 David Edelsohn <edelsohn@gnu.org>
5681
5682 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
5683 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
5684 (ASM_GLOBALIZE_LABEL): Use assemble_name.
5685 (ASM_OUTPUT_COMMON): Likewise.
5686 * config/rs6000/rs6000.c (print_operand): Use assemble_name.
5687 (rs6000_output_function_epilogue): Likewise.
5688 (output_mi_thunk): Fix typo.
5689 (rs6000_output_symbol_ref): Use assemble_name.
5690 (output_toc): Likewise.
5691 * config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
5692 * config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
5693 assemble_name calls STRIP_NAME_ENCODING.
5694 (ASM_OUTPUT_LABEL): Use assemble_name.
5695 (ASM_GLOBALIZE_LABEL): Likewise.
5696 (ASM_DECLARE_FUNCTION_NAME): Likewise.
5697 (ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
5698 (ASM_OUTPUT_LOCAL): Likewise.
5699
ce2d32cd
RK
5700Sun Oct 28 15:45:16 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5701
5702 * builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
5703 (expand_builtin_apply, expand_builtin_return): Likewise.
5704 (expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
5705
67dda4b5
JM
57062001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5707
ff7cc307
JM
5708 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5709 ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
5710 c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
5711 configure, configure.in, except.c, except.h, flow.c, function.c,
5712 gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
5713 predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
5714 sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
5715 unroll.c: Fix spelling errors.
5716
0c688a7d
JM
5717 * doc/extend.texi, doc/invoke.texi: Fix spelling.
5718
67dda4b5
JM
5719 * doc/gcc.texi: Document use of "dependent" and American spelling.
5720
58f69841
JH
5721Sun Oct 28 17:05:36 CET 2001 Jan Hubicka <jh@suse.cz>
5722
5723 * expr.c (emit_group_load): Support CONCATs by storing them to memory
5724 and reloading.
5725
61cb205c
RK
5726Sun Oct 28 09:59:54 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5727
5728 * expr.c (store_constructor_field): Only call adjust_address on MEM.
5729
9591d210
JH
5730Sun Oct 28 16:48:09 CET 2001 Jan Hubicka <jh@suse.cz>
5731
5732 * genrecog.c (write_switch): Output if before switch for
5733 DT_elt_zero_wide_safe.
5734
d506f649
KG
57352001-10-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5736
5737 * Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
5738 * i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
5739 (FUNCTION_PROFILER): Const-ify.
5740 * halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
5741 (eliminate_constant_term, assemble_name, output_addr_const):
5742 Remove declarations.
5743 (ptr_half_pic_address_p, half_pic_hash): Prototype.
5744 (all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
5745 half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
5746 * halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
5747 (half_pic_declare, half_pic_external): Const-ify.
5748 * toplev.c: Include "halfpic.h".
5749
f63d1bf7
JM
57502001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5751
f710504c
JM
5752 * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
5753 config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
5754 config/i386/i386.c, config/i386/i386-interix.h,
5755 config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
5756 config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
5757 config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
5758 config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
5759 config/sparc/sparc.c, config/m68hc11/m68hc11.c,
5760 config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
5761 config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
5762 spelling errors.
5763
f63d1bf7
JM
5764 * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
5765 ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
5766 c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
5767 collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
5768 haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
5769 regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
5770 system.h, toplev.c: Fix spelling errors.
5771
70072ed9
RK
5772Sat Oct 27 17:32:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5773
157bd2bb
RK
5774 * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
5775
e7af1d45
RK
5776 * dwarf2out.c (reg_number): Abort if pseudo.
5777 (reg_loc_descriptor): Return 0 if pseudo.
5778 (is_based_loc): Return 0 if pseudo.
5779 (mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
5780 recursive calls.
5781 (concat_loc_descriptor): Return 0 if either part's descriptor is 0.
5782 (loc_descriptor): Return 0 if can't find location and handle 0
5783 return from recursive calls.
5784 (loc_descriptor_from_tree): Likewise.
5785 Fix handling of indirect.
5786 Also return 0 for PLACEHOLDER_EXPR.
5787 Clean up COMPONENT_REF cases.
5788 (add_AT_location_descriptor): Simplify, but handle 0 return from
5789 loc_descriptor.
5790 (add_const_value_attribute): Avoid shift count warning.
5791 (add_bound_info): Remove test for PLACEHOLDER_EXPR here.
5792 Set comp_unit_die as context if not in function.
5793
6b7d57c7
RK
5794 * config/mips/mips-protos.h: Break up long lines.
5795 Remove needless #ifdef/#endif blocks.
5796 Don't declare functions declared in file made by genpreds or recog.h.
5797 * config/mips/mips.c (mips_output_function_prologue): TSIZE
5798 is now HOST_WIDE_INT; delete unneeded casts.
5799 * config/mips/mips.h: Don't use #elif.
5b7874aa 5800
70072ed9
RK
5801 * expr.c (stor_constructor_field): Always call adjust_address.
5802 Copy TARGET before changing its alias set.
5803 (store_field): Likewise, for TO_RTX.
5804 (get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
5805 replacement.
5806 (safe_from_p, case ADDR_EXPR): Properly check for conflict.
5807 (find_placeholder): Return 0 if can't find object.
5808 (expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
5809 returns 0.
5810
f4f17e7d
JH
5811Sat Oct 27 16:31:23 CEST 2001 Jan Hubicka <jh@suse.cz>
5812
5813 * ifcvt.c (if_convert): Call clear_aux_for_blocks.
5814
7dddfb65
JH
5815Sat Oct 27 12:12:09 CEST 2001 Jan Hubicka <jh@suse.cz>
5816
5817 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
5818 merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
5819 (merge_blocks): Properly udpate life after making edge nonfallthru.
5820 * cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.
5821
a7812c0b
KH
58222001-10-26 Kazu Hirata <kazu@hxi.com>
5823
5824 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
5825
a38b987a
NB
58262001-10-26 Neil Booth <neil@daikokuya.demon.co.uk>
5827
5828 * c-typeck.c (convert_arguments): When comparing for enumeral
5829 type equality, use TYPE_MAIN_VARIANT.
5830 * gcc.dg/Wconversion.c: New tests.
5831
d65f7478
KH
58322001-10-26 Kazu Hirata <kazu@hxi.com>
5833
5834 * s390/s390.c: Fix comment typos.
5835 * s390/s390.h: Likewise.
5836 * s390/s390.md: Likewise.
5837
6c624f7f
AO
58382001-10-26 Alexandre Oliva <aoliva@redhat.com>
5839
5840 * tree-inline.c (WALK_SUBTREE_TAIL): New macro.
5841 (walk_tree): Use it for tail calls where appropriate.
5842
45c23566
AO
58432001-10-26 Alexandre Oliva <aoliva@redhat.com>
5844
5845 * cse.c (check_for_label_ref): Don't require REG_LABEL notes for
5846 non-local label_refs.
5847
11a802bf
KH
58482001-10-26 Kazu Hirata <kazu@hxi.com>
5849
5850 * config/h8300/h8300.md (4 anonymous patterns): New.
5851
cb33eb17
KH
58522001-10-26 Kazu Hirata <kazu@hxi.com>
5853
5854 * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
5855 algorithm through the shift_info structure.
5856 (emit_a_shift): Update the use of get_shift_alg.
5857
bdfa170f
DB
58582001-10-27 Daniel Berlin <dan@cgsoftware.com>
5859
5b7874aa
ZW
5860 * sched-rgn.c: Remove bitset typedef.
5861 Change bitset to sbitmap in prototypes / variable types.
5862 Remove bbset_size.
5863 Remove edgeset_bits.
5864 Remove edgeset_size.
5865 s/BITSET_ADD/SET_BIT/g
5866 s/BITSET_INVERT/sbitmap_ones/g
5867 s/BITSET_INTER/sbitmap_a_and_b/g
5868 s/BITSET_UNION/sbitmap_a_or_b/g
5869 s/BITSET_DIFFER/sbitmap_difference/g
5870 s/bitset_member/TEST_BIT/g
5871 (BITSET_*): Removed.
5872 (bitset_member): Removed.
5873 (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
5874 EXECUTE_IF_SET_IN_SBITMAP.
5875 (split_edges): Rewrite, use sbitmap functions instead of bitset
5876 operations.
5877 (schedule_region): Allocate/free sbitmaps, rather than bitsets.
bdfa170f 5878
019d2e99
AS
58792001-10-26 Andreas Schwab <schwab@suse.de>
5880
5881 * reload1.c (emit_input_reload_insns): Fix parens in last
5882 (undocumented) change that was supposed to change only whitespace.
5883
6cf3f6e7
RK
5884Fri Oct 26 07:18:08 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5885
5886 * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
5887
5888 * local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
5889 ASM_OPERANDS.
5890
16e99e29
AJ
58912001-10-26 Andreas Jaeger <aj@suse.de>
5892
5893 * flow.c (clear_log_links): Remove unused variable.
5894 * cfgcleanup.c (cleanup_cfg): Likewise.
5895
350ebd54
AO
58962001-10-26 Alexandre Oliva <aoliva@redhat.com>
5897
5898 * tree-inline.c (remap_decl): Don't copy size and size_unit here.
5899 (remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.
5900
b73c0bc8
RH
59012001-10-26 Richard Henderson <rth@redhat.com>
5902
5903 * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
5904 rename PV_REG to R27_REG.
5905 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5906 (REG_CLASS_FROM_LETTER): Update.
5907 (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
5908 * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
5909 (udivsi3, modsi3, umodsi3): Likewise.
5910 (divdi3, udivdi3, moddi3, umoddi3): Likewise.
5911
108c1afc
RH
59122001-10-26 Richard Henderson <rth@redhat.com>
5913
5914 * cfg.c (clear_aux_for_blocks): Split out of ...
5915 (free_aux_for_blocks): here.
5916 (clear_aux_for_edges): Split from ...
5917 (free_aux_for_edges): here.
5918 * basic-block.h: Declare them.
5919 * lcm.c (compute_antinout_edge): Use them.
5920 (compute_laterin, compute_available, compute_nearerout): Likewise.
5921 (optimize_mode_switching): Likewise.
5922
4992fc7f
RH
59232001-10-26 Richard Henderson <rth@redhat.com>
5924
5925 * Makefile.in (unstage*): Remove as, ld, collect-ld before
5926 moving everything back to the main build directory.
5927
e742b08a
CF
59282001-10-26 Christopher Faylor <cgf@redhat.com>
5929
eaec9b3d 5930 * config/i386/cygwin.h: Search target specific include directory, if
e742b08a
CF
5931 appropriate.
5932
f3a8e4f5
KG
59332001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5934
5935 * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
5936 of macro guards. Fix #endif comment.
5937
5938 * output.h (default_exception_section, default_eh_frame_section):
5939 Move prototypes outside of macro guard.
16e99e29 5940
f3a8e4f5
KG
5941 * crtstuff.c: Fix #endif comment.
5942
8feb4e28
JL
5943Thu Oct 25 12:21:58 2001 Jeffrey A Law (law@cygnus.com)
5944
16e99e29 5945 * doc/md.texi (movMM): Clarify semantics of storing into a
8feb4e28
JL
5946 non-paradoxical SUBREG.
5947
37207ee7
ZW
59482001-10-25 Zack Weinberg <zack@codesourcery.com>
5949
5950 * langhooks.c (lang_hook_default_clear_binding_stack): New.
5951 (lang_hook_default_get_alias_set): Move next to other alias
5952 hooks.
5953 * langhooks.h: Prototype lang_hook_default_clear_binding_stack.
5954 (LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
5955 (LANG_HOOKS_INITIALIZER): Add it.
5956 * toplev.h (struct lang_hooks): Add clear_binding_stack.
5957 * toplev.c (compile_file): Call lang_hooks.clear_binding_stack
5958 instead of a loop calling poplevel.
5959
cdd90341
NC
59602001-10-25 Nick Clifton <nickc@cambridge.redhat.com>
5961
5962 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Replace
5963 occurrences of #elif with #if...#endif.
5964
1ec586ae
KG
59652001-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5966
5967 * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
5968
9fb60a0d
RK
5969Thu Oct 25 08:46:06 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5970
10b76d73
RK
5971 * alias.c (can_address_p): No longer static.
5972 * emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
5973 Return 0 if all parameters are default values.
5974 (set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
5975 (adjust_address_1): Try harder to compute a size.
5976 * expr.c (expand_assignment, store_constructor): If can't address,
5977 set MEM_KEEP_ALIAS_SET_P.
5978 (store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
5979 (store_field): Likewise.
5980 (store_constructor): Simplify call to store_constructor_field.
5981 * expr.h (can_address_p): New declaration.
5982 * gensupport.c (gen_rtx_CONST_INT): New function.
5983 * rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
5984 (MEM_SIZE): Get size from mode, if not set and not BLKmode.
5985 (MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.
5986
9fb60a0d
RK
5987 * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
5988
cf521102 59892001-10-24 Christopher Faylor <cgf@redhat.com>
356b0698 5990
cf521102
CF
5991 * config/i386/cygwin.h: Use proper path for mingw crt files when
5992 -mno-cygwin.
c307e6dd 5993
2ea792c2
JJ
5994Wed Oct 24 18:43:42 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5995
5996 * dwarf2out.c (file_info_cmp): Always return consistent results.
5997
59982001-10-24 Roger Sayle <roger@eyesopen.com>
37207ee7 5999
2ea792c2
JJ
6000 * stmt.c (expand_end_case): Index jumptables from zero for
6001 suitably small values of minval.
6002
60032001-10-24 Jakub Jelinek <jakub@redhat.com>
6004
6005 * stor-layout.c (place_union_field): If any field was aligned with
6006 attribute aligned, set record type's TYPE_USER_ALIGN.
6007 (place_field): Likewise.
6008 (finalize_record_size): Don't clear TYPE_USER_ALIGN.
6009 (layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.
6010
60112001-10-24 Zack Weinberg <zack@codesourcery.com>
6012
6013 * c-common.h (struct c_common_identifier): Remove rid_code field.
6014 (C_RID_CODE): Use ->node.rid_code instead of ->rid_code.
6015
6016 * c-typeck.c (constructor_designated): New local flag.
6017 (struct constructor_stack): Add "designated" field to match.
6018 (start_init): Clear it.
6019 (really_start_incremental_init, push_init_level): Push and
6020 clear it.
6021 (pop_init_level): Pop it.
6022 (set_designator): Set it.
6023
6024 (pop_init_level): Suppress "missing initializer" warnings if
6025 constructor_designated is true.
6026 (process_init_element): Suppress warning about union
6027 initialization under traditional C, if constructor_designated
6028 is true.
6029
6030Wed Oct 24 15:35:38 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6031
6032 * integrate.c (copy_rtx_and_substitute, case CALL): Fix error in last
6033 change.
6034
6035Wed Oct 24 13:26:12 2001 Jeffrey A Law (law@cygnus.com)
6036
6037 * h8300.h (RETURN_ADDR_RTX): Remove old, incorrect definition.
6038
60392001-10-24 Dan Nicolaescu <dann@ics.uci.edu>
6040
6041 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't do anything if
6042 the node was already a set to a constant.
6043
6044Wed Oct 24 12:41:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6045
6046 * emit-rtl.c (set_mem_attributes): Fix typo in last change.
6047 * print-rtl.c (print_rtx, case MEM): Improve display of MEM_DECL.
6048
60492001-10-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6050
6051 * s390/linux.h (ASM_OUTPUT_BYTE): Fix format specifier warnings.
6052 (ASM_OUTPUT_ASCII): Const-ify. Fix signed/unsigned warning.
6053 (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
6054 * s390.c (s390_final_chunkify): Don't use string concatenation.
6055 (s390_function_prologue, s390_function_epilogue): Const-ify.
6056 * s390.h (FUNCTION_PROFILER): Remove unused variable.
6057
60582001-10-24 Jakub Jelinek <jakub@redhat.com>
6059
6060 * c-decl.c (finish_decl): Don't add DECL_STMTs for nested function
6061 prototypes.
6062
60632001-10-23 Stan Shebs <shebs@apple.com>
6064
6065 * config/rs6000/x-darwin: Use -no-cpp-precomp instead of
6066 -traditional-cpp in first-stage compilation.
6067
6068Tue Oct 23 21:45:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6069
6070 * gensupport.c (target_flags): Add.
6071
6072Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.
6073
6074 * builtins.c (expand_builtin_setjmp): Only call convert_memory_address
6075 if needed.
6076 (expand_builtin_longjmp, expand_builtin_alloca): Likewise.
6077 * except.c (expand_builtin_frob_return_addr): Likewise.
6078 (expand_builtin_eh_return): Likewise.
6079 * stmt.c (expand_computed_goto): Likewise.
6080 * explow.c (memory_address): Likewise.
6081 (allocate_dynamic_stack_space): Clean up predicate testing.
6082 (probe_stack_range): Convert SIZE to Pmode.
6083 * calls.c (rtx_for_function_call): Only call convert_memory_address
6084 if needed.
6085 Pass function call operand as ptr_mode, not Pmode.
6086 * expr.c (expand_assignment): Clean up calls to convert_memory
6087 address by only doing so when needed and making offsets Pmode.
6088 (store_constructor, expand_expr, expand_expr_unaligned): Likewise.
6089 * function.c (assign_parms): Ensure address in MEM for RESULT_DECL
6090 is in Pmode, not ptr_mode.
6091
60922001-10-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6093
6094 * darwin-protos.h (constructor_section, destructor_section,
6095 mod_init_section, mod_term_section): Prototype.
6096 * darwin.c (machopic_finish, update_non_lazy_ptrs, update_stubs):
6097 Const-ify.
6098 * darwin.h (ASM_DECLARE_OBJECT_NAME, ASM_DECLARE_FUNCTION_NAME):
6099 Likewise.
6100 (SECTION_FUNCTION): Prototype `FUNCTION'. Delete
6101 objc_section_init declaration.
6102 (EXTRA_SECTION_FUNCTIONS): Prototype objc_section_init.
6103 (objc_section_init, try_section_alias): Make static.
6104 (alias_section): Make static and hide unused function.
6105 (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
6106
6107Tue Oct 23 13:05:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6108
6109 * alias.c (can_address_p): Compnonents are not addressable if
6110 the containing type has alias set 0.
6111 (get_alias_set): Rework to use STRIP_NOPS.
6112 Only call front-end routine on object, type, or object with
6113 NOPs stripped, not inner values.
6114 Use language hook to call front-end routine.
6115 * builtins.c (get_memory_rtx): Always call set_mem_attributes.
6116 (expand_builtin_apply): Call set_mem_align on MEMs we make.
6117 Don't pass alignment to emit_block_move.
6118 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
6119 (expand_builtin_memset): Likewise, but for clear_storage.
6120 * c-common.c (lang_get_alias_set): Renamed to c_common_alias_set
6121 and remove C++ specific parts.
6122 * c-common.h (c_common_get_alias_set): Add declaration.
6123 * c-lang.c (LANG_HOOKS_GET_ALIAS_SET): New macro.
6124 * calls.c (emit_call_1): Fix typo in sibcall_pop case.
6125 (save_fixed_argument_area): Call set_mem_align.
6126 Remove alignment in call to emit_block_move.
6127 (emit_library_call_value_1, store_one_arg): Likewise.
6128 (target_for_arg): Remove; disabled long ago.
6129 * emit-rtl.c (set_mem_attributes): Rework to only call get_mem_attrs
6130 once and similar cleanups.
6131 (offset_address): Use proper introductory comment.
6132 * expr.c (emit_block_move): Use alignment from that of MEM args, not
6133 from explicit operand; all callers changed.
6134 (clear_storage): Likewise.
6135 (expand_assignment): Don't call set_mem_alias_set on to_rtx.
6136 (store_field): Remove kludge on alias set used for to_rtx.
6137 (highest_pow2_factor, case *_DIV_EXPR): Never return 0.
6138 (expand_expr_unaligned): Call set_mem_attributes instead of
6139 set_mem_alias_set.
6140 * expr.h (emit_block_move, clear_storage): Remove ALIGN argument.
6141 * function.c (assign_stack_temp_for_type): Set MEM alignment.
6142 (expand_function_end): Track MEM attributes of trampolines.
6143 * ifcvt.c (noce_try_cmove_arith): Set alignment of new MEM.
6144 * integrate.c (copy_rtx_and_substitute, case CALL): Copy memory
6145 attributes from original.
6146 * langhooks.c (lang_hook_default_get_alias_set): New function.
6147 (hook_get_alias_set_0): New function.
6148 * langhooks.h (hook_get_alias_set_0): New declaration.
6149 (lang_hook_default_get_alias_set): Likewise.
6150 (LANG_HOOKS_GET_ALIAS_SET): New macro; add to initializer.
6151 * reload1.c (alter_reg): Use adjust_address_nv.
6152 * rtl.c (get_mode_alignment): Moved to here.
6153 * rtl.h (MEM_ALIGN): Take default from mode, if not BLKmode, and
6154 change default if unknown from 1 to BITS_PER_UNIT.
6155 * stor-layout.c (get_mode_alignment): Remove from here.
6156 * toplev.h (struct lang_hoks): Add get_alias_set field.
6157 * tree.h (lang_get_alias_set): Delete declaration.
6158 * config/arc/arc.c (arc_setup_incoming_varags): Set MEM alignment.
6159 * config/i386/i386.c (ix86_setup_incoming_varargs): Likewise.
6160 (ix86_va_arg): Likewise.
6161 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
6162 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
6163 * config/sparc/sparc.c (sparc_va_arg): Likewise.
6164 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
6165 (expand_block_move_mem): Remove dead code.
6166
61672001-10-22 Neil Booth <neil@daikokuya.demon.co.uk>
6168
6169 * c-common.c (warn_div_by_zero): New.
6170 * c-common.h (warn_div_by_zero): New.
6171 * c-decl.c (c_decode_option): Take it on the command line.
16e99e29 6172 * c-typeck.c (build_binary_op): Warn about division by zero.
2ea792c2
JJ
6173 * doc/invoke.texi: Document the new command line option, fix
6174 documentation of -Wmultichar.
16e99e29
AJ
6175 * testsuite/gcc.dg/divbyzero.c: New tests.
6176 * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
2ea792c2
JJ
6177
6178Tue Oct 23 15:30:23 CEST 2001 Jan Hubicka <jh@suse.cz>
6179
6180 * i386.c (ix86_expand_int_movcc): Cleanup; use expand_simple_*op.
6181
6182 * toplev.c (rest_of_compilation): Use CLEANUP_UPDATE_LIFE
6183 to avoid update_life_info call.
6184 * basic-block.h (CLEANUP_UPATE_LIFE): Define.
6185 * cfgcleanup.c (bb_flags): New enum.
6186 (BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG, FORWARDER_BLOCK_P): New macros.
6187 (notice_new_block, update_forwarder_flag): New functions.
6188 (try_simplify_condjump): Use FORWARDER_BLOCK_P.
6189 (try_forward_edges): Likewise; update flags.
6190 (merge_blocks): Likewise.
6191 (outgoing_edges_match): Likewise.
6192 (try_crossjump_to_edge): Likewise.
6193 (try_optimize_cfg): Likewise; initialize and clear the flags;
6194 recompute life info if needed.
6195 (cleanup_cfg): No need to clear aux pointers.
6196
61972001-10-23 Alexandre Oliva <aoliva@redhat.com>
6198
6199 * config/i386/i386.c (override_options): Default to minimum
6200 stack alignment when optimizing for code size.
6201 * doc/invoke.texi (-mpreferred-stack-boundary): Document the
6202 change.
6203
6204 * config/i386/i386.c (override_options): Set upper limit of
6205 -mpreferred-stack-boundary to 12.
6206
62072001-10-22 Zack Weinberg <zack@codesourcery.com>
6208
6209 * recog.c (peephole2_optimize): Add default case to switch.
6210
62112001-10-23 Joseph S. Myers <jsm28@cam.ac.uk>
6212
6213 * doc/gcc.texi (Sending Patches): Remove.
6214
62152001-10-22 Hans-Peter Nilsson <hp@bitrange.com>
6216
6217 * unwind-dw2-fde.c (fde_unencoded_compare): Derefer pc_begin
6218 fields when comparing.
6219
62202001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6221
6222 * arm.h (HOST_INT, HOST_UINT): Delete. Remove all uses.
6223 * arm.c (HOST_INT, HOST_UINT): Likewise.
6224
62252001-10-22 Stan Shebs <shebs@apple.com>
6226
6227 * config/darwin-protos.h (darwin_exception_section): Declare.
6228 (darwin_eh_frame_section): Declare.
6229
6230Mon Oct 22 18:21:25 CEST 2001 Jan Hubicka <jh@suse.cz>
6231
6232 * i386.md (movti_rex64): Fix mode.
6233
62342001-10-22 Stan Shebs <shebs@apple.com>
6235
6236 * target.h (struct gcc_target): Add asm_out.exception_section,
6237 asm_out.eh_frame_section.
6238 * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
6239 (TARGET_ASM_EH_FRAME_SECTION): New.
6240 (TARGET_INITIALIZER): Update.
6241 * output.h (default_exception_section): Declare.
6242 (default_eh_frame_section): Declare.
6243 * dwarf2out.c: Include target.h.
6244 (output_call_frame_info): Call target hook for eh frames.
6245 (default_eh_frame_section): New function.
6246 * except.c: Include target.h.
6247 (output_function_exception_table): Call target hook for exception
6248 section.
6249 * varasm.c (default_exception_section): Rename from
6250 exception_section, remove EXCEPTION_SECTION macro.
6251
6252 * config/darwin.h (darwin_eh_frame_section): New function.
6253 (EXCEPTION_SECTION): Remove.
6254 (TARGET_ASM_EXCEPTION_SECTION): Define.
6255 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
6256 (nextstep_exception_section): New function.
6257 (nextstep_eh_frame_section): New function.
6258 (TARGET_ASM_EXCEPTION_SECTION): Define.
6259 (TARGET_ASM_EH_FRAME_SECTION): Define.
6260
6261 * config/pa/som.h (EXCEPTION_SECTION): Remove.
6262 (TARGET_ASM_EXCEPTION_SECTION): Define.
6263 * config/rs6000/sysv4.h, config/rs6000/xcoff.h
6264 (EXCEPTION_SECTION): Remove.
6265 (TARGET_ASM_EXCEPTION_SECTION): Define.
6266 * config/stormy16/stormy16.h: Remove comments referencing
6267 EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.
6268
6269 * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
6270 TARGET_ASM_EH_FRAME_SECTION.
6271
62722001-10-22 Nick Clifton <nickc@cambridge.redhat.com>
6273
6274 * config/mips/mips.md (mul_acc_si): Fix precedence of conditional
6275 terms.
6276
6277 * c-format.c: Fix spelling typo in comment.
6278
6279 * sched-int.h: Fix typo in GCC preamble.
6280
62812001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
6282
6283 PR debug/4252
6284 * doc/invoke.texi: Remove references to -fdump-translation-unit.
6285
62862001-10-22 Richard Henderson <rth@redhat.com>
6287
6288 * config/i386/i386.c (ix86_expand_clear): New.
6289 * config/i386/i386-protos.h: Declare it.
6290 * config/i386/i386.md (setcc peep2s): Use it.
6291 (movsi_xor): Unexport.
6292
62932001-10-22 Richard Henderson <rth@redhat.com>
6294
6295 * flow.c (clear_log_links): Use free_INSN_LIST_list, not
6296 free_EXPR_LIST_list for LOG_LINKS.
6297
62982001-10-21 Robert Lipe <robertlipe@usa.net>
6299
6300 * config/i386/i386.c (sco_asm_named_section): Delete.
6301 (sco_asm_out_constructor): Delete.
6302 * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
6303 (ASM_OUTPUT_DOUBLE_INT): Likewise.
6304 (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
6305 (TARGET_ASM_NAMED_SECTION): Use default for ELF.
6306 (EXCEPTION_SECTION): Delete EH scn renaming hack.
6307
63082001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6309
6310 * c-format.c (maybe_read_dollar_number): Use safe-ctype macros
6311 and/or fold extra calls into fewer ones.
6312 * collect2.c (dump_file): Likewise.
6313 * cppexp.c (parse_number): Likewise.
6314 * cpplex.c (_cpp_lex_direct): Likewise.
6315 * final.c (output_asm_insn, asm_fprintf): Likewise.
6316 * fix-header.c (inf_scan_ident, main): Likewise.
6317 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
6318 Likewise.
6319 * fold-const.c (real_hex_to_f): Likewise.
6320 * gen-protos.c (parse_fn_proto): Likewise.
6321 * genattrtab.c (check_attr_test, check_attr_value): Likewise.
6322 * genrecog.c (change_state, write_action): Likewise.
6323 * gensupport.c (shift_output_template): Likewise.
6324 * local-alloc.c (requires_inout): Likewise.
6325 * mips-tfile.c (IS_ASM_IDENT): Likewise.
6326 * protoize.c (is_id_char, main): Likewise.
6327 * real.c (asctoeg): Likewise.
6328 * recog.c (asm_operand_ok): Likewise.
6329 * reload.c (find_reloads): Likewise.
6330 * scan.c (scan_identget_token): Likewise.
6331 * sched-vis.c (print_value): Likewise.
6332 * stringpool.c (ggc_alloc_string): Likewise.
6333 * toplev.c (read_integral_parameter, decode_g_option): Likewise.
6334 * tradcif.y (parse_number, yylex, parse_escape): Likewise.
6335 * tradcpp.c (rescan): Likewise.
6336 * tree.c (clean_symbol_name): Likewise.
6337 * varasm.c (decode_reg_name): Likewise.
6338
6339 * alpha.h (ASM_OUTPUT_ASCII): Likewise.
6340 * darwin.c (name_needs_quotes, func_name_maybe_scoped): Likewise.
6341 * dsp16xx.h (ASM_OUTPUT_ASCII): Likewise.
6342 * m88k.c (output_ascii): Likewise.
6343 * m88k.h (OVERRIDE_OPTIONS): Likewise.
6344 * mcore.h (REG_CLASS_FROM_LETTER): Likewise.
6345 * ns32k/encore.h (ASM_OUTPUT_ASCII): Likewise.
6346 * sh.h (REG_CLASS_FROM_LETTER): Likewise.
6347
63482001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
6349
6350 * langhooks.c (lang_hook_default_do_nothing,
6351 lang_hook_default_decode_option): New defaults.
6352 * langhooks.h: Make hooks unconditional and non-NULL.
6353 * toplev.c (compile_file, toplev_main): Update.
6354 * toplev.h: Update comments.
6355 * objc/objc-act.c (lang_hooks): Update to new paradigm.
6356
63572001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6358
6359 * arm.h (FUNCTION_ARG_REGNO_P): Use IN_RANGE.
6360
6361 * system.h (IN_RANGE): New macro.
6362
63632001-10-21 Zack Weinberg <zack@codesourcery.com>
6364
6365 * aclocal.m4 (AM_WITH_NLS): Also create and substitute
6366 INTLDEPS variable, which does not include $LIBICONV.
6367 * Makefile.in: Use INTLDEPS in LIBDEPS.
6368 * configure: Regenerate.
6369
63702001-10-21 Neil Booth <neil@daikokuya.demon.co.uk>
6371
6372 * cpphash.h (struct cpp_buffer): Delete read_ahead and extra_char.
6373 * cpplex.c (lex_percent, lex_dot): Remove.
6374 (get_effective_char, skip_block_comment, skip_line_comment,
6375 parse_identifier_slow, parse_number, parse_string, save_comment,
6376 _cpp_lex_direct): Update to do lookback freely.
6377 (IF_NEXT_IS, BACKUP): New macros.
6378 * cpplib.c (cpp_push_buffer): Don't set read_ahead and extra_char.
6379 * cppmacro.c (paste_tokens): Update.
6380
63812001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
6382
6383 * doc/invoke.texi (i386 and x86-64 Options): Fix typo.
6384
63852001-10-20 Hans-Peter Nilsson <hp@axis.com>
6386
6387 * reload1.c (reload): Check CONSTANT_P before calling
6388 LEGITIMATE_PIC_OPERAND_P.
6389 * config/cris/cris.c (cris_legitimate_pic_operand): Revert
6390 workaround of 2001-10-13.
6391
6392Sat Oct 20 15:16:10 CEST 2001 Jan Hubicka <jh@suse.cz>
6393
6394 * i386.c (split_di): Handle splitting of DFmode.
6395
6396Sat Oct 20 07:27:14 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6397
6398 * emit-rtl.c (set_mem_attributes): Alignment is in bits.
6399 (adjust_address_1, offset_address): Likewise.
6400
6401 * final.c (output_asm_operand_names): New fcn, from output_asm_insn.
6402 (output_asm_insn): Call it for each line output.
6403 Don't record an operand more than once.
6404
6405 * toplev.h (struct lang_hooks): HONOR_READONLY now bool.
6406 * main.c: Include config.h and system.h, but not ansidecl.h.
6407 * Makefile.in (main.o): Update accordingly.
6408
6409Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6410
6411 * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
6412
6413Sat Oct 20 12:01:07 CEST 2001 Jan Hubicka <jh@suse.cz>
6414
6415 * basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
6416 * cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
6417 Break out from ...
6418 (find_sub_basic_blocks): ... here;
6419 (find_many_sub_basic_blocks): New.
6420 * recog.c (split_all_insns): Update find_sub_basic_blocks call.
6421
6422 * i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
6423
6424 * i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
6425
6426 * i386.c (split_di, split_ti): Revamp to use simplify_subreg.
6427
6428 * timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
6429 * flow.c (update_life_info): Measure time.
6430 * c-decl.c: Include timevar.h
6431 (c_expand_body): Measure time.
6432 * toplev.c (rest_of_compilation): Measure time of mode switching
6433 separately.
ff7cc307 6434 * Makefile.in (c-decl.o, cfgcleanup.o): Add dependency.
2ea792c2
JJ
6435
6436 * toplev.c (flag_asynchronous_unwind_tables): New global variable.
6437 (lang_independent_options): Add asynchronous-unwind-tables
6438 (toplev_main): flag_asynchronous_unwind_tables implies
6439 flag_unwind_tables.
6440 * flags.h (flag_asynchronous_unwind_tables): Declare.
6441 * dwarf2out.c (dwarf2out_stack_adjust): Take into account
6442 flag_asynchronous_unwind_tables.
6443 (output_call_frame_info): Likewise.
6444 * invoke.texi (-fasynchronous-unwind-tables): Document.
6445 * i386.c (optimization_options): Enable
6446 flag_asynchronous_unwind_tables.
6447
6448 * i386.c (ix86_expand_setcc): Always expect target to be QImode.
6449 * i386.md (s* expanders): Destination is QImode.
6450
6451 * toplev.c (rest_of_compilation): Do not call clear_log_links.
6452 * rtl.h (clear_log_links): Kill.
6453 * flow.c (clear_log_links): Make static; accept blocks parameter;
6454 do no clear life info.
6455 (update_life_info): Call clear_log_links.
6456
6457 * cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
6458
64592001-10-20 Neil Booth <neil@daikokuya.demon.co.uk>
6460
6461 * cpplex.c (handle_newline, skip_escaped_newlines,
6462 get_effective_char, skip_block_comment, skip_line_comment,
6463 parse_identifier_slow, parse_number, parse_string,
6464 _cpp_lex_direct): Update to do more stepping back.
6465 (trigraph_ok): Similarly. Rename trigraph_p.
6466 (SAVE_STATE, RESTORE_STATE): Remove.
6467 (BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
6468
6469 * cpplib.c (destringize): Rename destringize_and_run, and
6470 call run_directive directly.
6471 (_cpp_do__Pragma): Simplify.
6472
64732001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6474
6475 * pe.c (arm_pe_unique_section): Const-ify.
6476 * pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
6477 (switch_to_section): Add static prototype.
6478
6479 * output.h (drectve_section): Prototype.
6480
64812001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6482
6483 * config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
6484 fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
6485 parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
6486 i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
6487 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6488 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
6489 i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
6490 i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
6491 i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
6492 i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
6493 i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
6494 i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
6495 ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
6496 mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
6497 powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
6498 powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
6499 powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
6500 powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
6501 powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
6502 powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
6503 rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
6504 sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
6505 v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
6506 cris-*-none, cris-*-linux*: Update ${tmfile} list.
6507 (c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
6508 i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
6509 mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
6510 powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
6511 v850-*-*): Delete superflous ${cpu_type} setting.
6512 * config/linux.h: Delete svr4.h include.
6513 (SET_ASM_OP): Delete.
6514 * config/netware.h (INT_ASM_OP): Undef before define.
6515 * config/ptx4.h: Delete elfos.h include.
6516 (PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
6517 * config/svr4.h: Delete elfos.h include. Update commentary.
6518 * config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
6519 config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
6520 config/mn10200/mn10300.h, config/stormy16/stormy16.h,
6521 config/v850/v850.h: Delete svr4.h include.
6522 * config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
6523 config/m68k/m68kv4.h, config/m88k/sysv4.h,
6524 config/sparc/sysv4.h: Update includes.
6525 * config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
6526 config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
6527 config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
6528 config/m88k/dguxbcs.h: Delete includes.
6529 * config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
6530 (PREFERRED_DEBUGGING_TYPE): Undef before defining it.
6531 * config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
6532 it.
6533 * config/m88k/dgux.h: Delete include.
6534 (SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
6535 defining it.
6536 * config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
6537 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
6538 * config/sh/elf.h: Update include.
6539 (SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
6540 DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
6541
65422001-10-19 Catherine Moore <clm@redhat.com>
6543
6544 * config/stormy16/stormy-abi: Updates to varargs descriptions.
6545 * config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
6546 base and count fields.
6547 (stormy16_expand_builtin_va_start): last_reg_count changed to
6548 size_of_reg_args. Use count + size in first comparison.
6549
6550Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6551
6552 * langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
6553 * toplev.h (struct lang_hooks): New field HONOR_READONLY.
6554 * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
6555 TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
6556 Set alignment from type if INDIRECT_REF.
6557 (adjust_address_1, offset_address): Simplify alignment compuitation.
6558 * expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
6559 here; done by set_mem_attributes.
6560
65612001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6562
6563 * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
6564 * arm-protos.h (rdata_section, zero_init_section, common_section):
6565 Prototype.
6566 * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
6567 * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
6568 traditional mode stringification.
6569 * function.c (thread_prologue_and_epilogue_insns): Wrap variable
6570 in macros controling its use.
6571 * rtlanal.c: Include tm_p.h.
6572 * varasm.c (asm_output_aligned_bss): Mark parameter with
6573 ATTRIBUTE_UNUSED.
6574 (assemble_constant_align, assemble_start_function, assemble_align,
6575 assemble_variable, assemble_trampoline_template,
6576 output_constant_def_contents): Wrap potentially empty if-stmt body
6577 in brackets.
6578
65792001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6580
6581 * a29k-protos.h (literal_section): Prototype.
6582 * a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
6583 * a29k.md: Ensure function pointers are prototyped.
6584 * genattrtab.c (write_eligible_delay): Mark parameter with
6585 ATTRIBUTE_UNUSED.
6586
65872001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6588
6589 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
6590 * 1750a.c (print_operand): Fix format specifier warning.
6591 * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
6592 * 1750a.md: Likewise.
6593 * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
6594 * genemit.c (output_add_clobbers): Mark parameter with
6595 ATTRIBUTE_UNUSED.
6596 * genrecog.c (write_subroutine): Likewise.
6597 * integrate.c (expand_inline_function): Delete unused variable.
6598 * varasm.c (remove_from_pending_weak_list): Wrap with
6599 ASM_WEAKEN_LABEL.
6600
66012001-10-19 Jakub Jelinek <jakub@redhat.com>
6602
6603 * simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
6604 field is different to previous argument's neg field.
6605
6606 * config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
6607
6608Fri Oct 19 15:24:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6609
6610 * final.c (get_decl_from_op): New function.
6611 (output_asm_insn): Call it; write "*" when item with decl is address.
6612
66132001-10-19 Janis Johnson <janis187@us.ibm.com>
6614
6615 * doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
6616 about 64-bit support from the 3.0_branch version.
6617
66182001-10-19 Zack Weinberg <zack@codesourcery.com>
6619
6620 * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
6621 USE_INCLUDED_LIBINTL when appropriate.
6622 * configure, config.in: Regenerate.
6623 * Makefile.in (datadir): Set to @datadir@.
6624 (intl.o): Also depend on $(CONFIG_H) and system.h.
6625
6626 * intl.c: Factor out common gettext initialization sequence.
6627 (gcc_init_libintl): New function.
6628 * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
6629 otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
6630 off NLS. Add multiple include guard. No need to #ifdef-guard
6631 an #undef. Prototype gcc_init_libintl here.
6632
6633 * collect2.c (main), cppmain.c (general_init), gcc.c (main),
6634 gcov.c (main), protoize.c (main), toplev.c (toplev_main):
6635 Use gcc_init_libintl.
6636
66372001-10-19 Catherine Moore <clm@redhat.com>
6638
6639 * config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
6640
6641 * config/stormy16/stormy16.c (stormy16_split_move): Make
6642 sure that REG_INC notes are present for auto_inc operands.
6643
66442001-10-19 Andreas Jaeger <aj@suse.de>
6645
6646 * configure: Regenerated.
6647 * configure.in: Add x86_64 to switch statements.
6648
b2c9c37e
RH
66492001-10-18 Richard Henderson <rth@redhat.com>
6650
2ea792c2 6651 * config/alpha/alpha.md (sibcall_osf_1): Load destination
b2c9c37e
RH
6652 address into $27 explicitly.
6653 (sibcall_value_osf_1): Likewise.
6654
0d4903b8
RK
6655Thu Oct 18 16:07:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6656
6657 * emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
6658 (offset_address): New function.
6659 (free_emit_status): Free regno_decl.
6660 (init_emit): Pass proper number of elements to xcalloc.
6661 Allocate regno_decl.
6662 (mark_emit_status): Mark regno_decl values.
6663 * expr.c (highest_pow2_factor): New function.
6664 (expand_assigment): Use it and offset_address.
6665 Properly handle ptr_mode vs. Pmode in offset calculation.
6666 (store_constructor, expand_expr_unaligned): Likewise.
6667 (expand_expr, case COMPONENT_EXPR): Likewise.
6668 * expr.h (offset_address): New decl.
6669 * function.h (struct emit_status): Add regno_decl.
6670 (REGNO_DECL): New macro.
6671 * final.c (output_asm_name): Move in file and don't conditionalize
6672 on flag_print_asm_name.
6673 (output_asm_insn): Only call output_asm_name if flag_print_asm_name.
6674 Output names of operands, if known.
6675 * function.c (assign_parms): Set REGNO_DECL.
6676 * integrate.c (integrate_decl_tree): Likewise.
6677 * stmt.c (expand_decl): Likewise.
6678 * regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
2ea792c2 6679
9162542e
AO
66802001-10-18 Alexandre Oliva <aoliva@redhat.com>
6681
6682 * attribs.c (handle_noinline_attribute): New function.
6683 (handle_used_attribute): Likewise.
6684 (c_common_attribute_table): Added noinline and used.
6685 * doc/extend.texi (Function Attributes): Document them.
6686 * c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
6687 Warn when merging inline with attribute noinline.
6688 (start_decl, start_function): Warn if inline and attribute
6689 noinline appear in the same declaration.
6690
51fabca5
NB
66912001-10-17 Neil Booth <neil@daikokuya.demon.co.uk>
6692
6693 * config.gcc: Update c4x and i370 for C front end-specific
6694 dependencies.
6695 * config/c4x/c4x-c.c: New.
6696 * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
6697 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6698 New declarations.
6699 * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
6700 (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
6701 Make extern.
6702 (c4x_init_pragma): Remove.
6703 (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
6704 c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
6705 c4x_pr_ignored): Move to c4x-c.c.
6706 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
6707 * config/c4x/t-c4x: Update.
6708 * config/i370/i370-c.c: New.
6709 * config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
6710 (i370_pr_map): Move to i370-c.c.
2ea792c2 6711 * config/i370/t-i370: New.
51fabca5
NB
6712
6713 * doc/tm.texi: Update.
6714
a4f6c312
SS
67152001-10-17 Stan Shebs <shebs@apple.com>
6716
6717 * config/rs6000/rs6000.c: Make assorted mechanical formatting and
6718 typo fixes throughout.
6719 (machopic_output_stub): Remove some dead code.
6720
34f5271d
RE
67212001-10-17 Richard Earnshaw <rearnsha@arm.com>
6722
6723 * cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
6724 leak.
6725
738cc472
RK
6726Wed Oct 17 05:26:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6727
6728 * Makefile.in (print-rtl.o): Depend on TREE_H.
6729 * alias.c (get_alias_set): Make two passes over objects to first
6730 see if inner object is access via restricted pointer.
6731 Defer allocating alias set for restricted pointer until here.
6732 Call find_placeholder with second arg nonzero.
6733 Minor cleanups.
3c5ad1ff
RK
6734 * c-common.c (c_apply_type_quals_to_decl): Defer getting alias
6735 set for restricted pointer types.
738cc472
RK
6736 * emit-rtl.c (set_mem_attributes): Set more attributes.
6737 (set_mem_align, change_address, adjust_address_1): New functions.
6738 (change_address_1): Now static.
6739 (adjust_address, adjust_address_nv): Deleted.
6740 (replace_equiv_address): Call change_address_1.
6741 * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
6742 (find_placeholder): Get starting point from PLIST arg.
6743 (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
6744 * expr.h (set_mem_align, change_address, adjust_address_1): New decls.
6745 (adjust_address, adjust_address_nv): New macros.
6746 * print-rtl.c (tree.h): New include.
6747 (print_rtx, case MEM): Print all memory attributes.
6748
4d8f669f
RH
67492001-10-17 Richard Henderson <rth@redhat.com>
6750
6751 * config/alpha/alpha.c (direct_call_operand): Don't fall off end.
6752
14976c58
MK
67532001-10-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
6754
6755 * c-tree.texi: Eliminate duplicated word.
6756 * cpp.texi: Likewise.
6757 * install.texi: Likewise.
6758 * invoke.texi: Likewise.
6759 * tm.texi: Likewise.
6760
808dbdd5
MC
67612001-10-17 Michael Collison <collison@isisinc.net>
6762
6763 * dsp16xx.c: Fix comment formatting to match GNU standards.
2ea792c2 6764 (dsp16xx_output_function_prologue): Change type of 'size'
808dbdd5
MC
6765 parameter from 'int' to HOST_WIDE_INT.
6766 (dsp16xx_output_function_epilogue): Change type of 'size'
6767 parameter from 'int' to HOST_WIDE_INT.
6768
f88c65f7
RH
67692001-10-16 Richard Henderson <rth@redhat.com>
6770
6771 * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
6772 * configure, config.in: Rebuild.
6773
6774 * config/i386/i386.c (ix86_output_addr_vec_elt): New.
6775 (ix86_output_addr_diff_elt): New.
6776 * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
6777 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
6778 (JUMP_TABLES_IN_TEXT_SECTION): New.
6779 * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
6780 * config/i386/i386-protos.h: Update.
6781
6782 * config/i386/386bsd.h, config/i386/beos-elf.h,
6783 config/i386/freebsd-aout.h, config/i386/freebsd.h,
6784 config/i386/i386-interix.h, config/i386/i386elf.h,
6785 config/i386/linux.h, config/i386/netbsd-elf.h,
6786 config/i386/netbsd.h, config/i386/openbsd.h,
6787 config/i386/ptx4-i.h, config/i386/rtemself.h,
6788 config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
6789 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
6790
2ec37136
FW
67912001-10-16 Florian Weimer <fw@deneb.enyo.de>
6792
6793 * stmt.c (expand_asm_operands): Update commentary.
6794
abe72dd8
SS
67952001-10-16 Stan Shebs <shebs@apple.com>
6796
6797 * config/darwin.h (GCC_NAME): Remove, no longer used.
6798 (NO_MATH_LIBRARY): Ditto.
6799 (MATH_LIBRARY): Define to emptiness.
6800 (DWARF2_DEBUGGING_INFO): Define.
6801 (PREFERRED_DEBUGGING_TYPE): Define.
6802 (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
6803 (EXCEPTION_SECTION): Define.
6804 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
6805 * config/darwin.c (darwin_encode_section_info): Handle case of
6806 DECL_INITIAL being error_mark_node.
6807
1afec8ad
RH
68082001-10-16 Richard Henderson <rth@redhat.com>
6809
6810 * alpha.c (current_file_function_operand): Don't fail for profiling.
6811 (direct_call_operand): New.
6812 * alpha-protos.h: Declare it.
6813 * alpha.h (EXTRA_CONSTRAINT): Use it.
6814 (PREDICATE_CODES): Add it.
6815 (ASM_OUTPUT_MI_THUNK): Remove.
6816 * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
6817 * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
6818
08777234 68192001-10-16 Krister Walfridsson <cato@df.lth.se>
2ea792c2 6820
08777234
KW
6821 * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
6822 (JUMP_TABLES_IN_TEXT_SECTION): Define.
6823
d39ac0fd
JH
6824Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
6825
6826 * cfg.c (free_edge): Break out from ....
6827 (remove_edge): ... here.
6828 (clear_edges): Use free_edge.
6829
6830 * att.h (ASM_QUAD): Add comment.
6831 * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
6832
44cf5b6a
JH
6833Wed Oct 17 00:01:02 CEST 2001 Jan Hubicka <jh@suse.cz>
6834
6835 * i386.c (split_ti): New function.
6836 (ix86_split_to_parts): Support TImodes.
6837 * i386.h (VALID_INT_MODE_P): Add TImode.
6838 * i386.md (movdi splitter): Fix.
6839 (movti): Support 64bit integer registers.
6840 (movti_rex64): New function and splitter.
6841
6842 * i386.c (*_cost): Add movsx/movzx cost.
6843 * i386.h (struct processor_costs): Add movsx/movzx fields.
6844 (RTX_COSTS): Handle zero/sign extend + avoid believing that
6845 64bit operations require split on 64bit machine.
6846 (CONST_COST): Make large 64bit constants expensive on 64bit compilation.
6847
ff7cc307 6848 * i386.c (ix86_setup_incoming_varargs): Fix mode of PLUS.
44cf5b6a
JH
6849 (ix86_expand_move): Avoid pushes of memory if size does not match;
6850 move long constants to register.
6851 (x86_initialize_trampoline): Fix mode.
6852 * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
6853 Use ASM_QUAD on 64bit.
6854 * i386.md (test pattern): Disallow impossible constants.
6855 (tablejump PIC expander): Fix emitting of sum.
6856 (movdicc_rex64): Rename to movdicc.
6857 * linux64.h (LINK_SPEC): Add missing '%'.
6858
e95301f5
AO
68592001-10-16 Alexandre Oliva <aoliva@redhat.com>
6860
6861 * tree-inline.c (inlinable_function_p): Leave it up to the
6862 front-end to turn -finline-functions into DECL_INLINE set for all
6863 functions.
6864
deb5bfcc
SS
68652001-10-16 Stan Shebs <shebs@apple.com>
6866
6867 * config/rs6000/darwin.h (ASM_COMMENT_START): Define.
6868
0936a455
AM
68692001-10-16 Alan Modra <amodra@bigpond.net.au>
6870
ffb5e2e2
AM
6871 * recog.c: Formatting and comment typo fixes.
6872
0936a455
AM
6873 * configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
6874 version in single tree build.
6875 * configure: Regenerate.
6876
2d4368e6
DE
68772001-10-15 David Edelsohn <edelsohn@gnu.org>
6878
6879 * config/rs6000/rs6000.md (cr_logical): Swap order of CODE and
6880 MODE arguments to gen_rtx and compare operand with const0_rtx.
6881
41441dc7
NB
68822001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6883
6884 * system.h: Poison old unused target macros.
6885 * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
6886 * config/stormy16/stormy16.c: Update references to obsolete macros.
6887 * config/stormy16/stormy16.h: Similarly.
6888 * config/stormy16/stormy16.md: Similarly.
6889 * config/cris/cris.h: Similarly.
6890
4b115ff0
NB
68912001-10-15 Neil Booth <neil@daikokuya.demon.co.uk>
6892
6893 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
6894 (lookup_pragma_entry, insert_pragma_entry, do_pragma,
6895 cpp_register_pragma): Update accordingly.
6896
a5da89c6
NB
68972001-10-14 Neil Booth <neil@daikokuya.demon.co.uk>
6898
6899 * c-pragma.h (cpp_register_pragma_space): Remove.
6900 * cpplib.h (cpp_register_pragma_space): Remove.
6901 * cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
6902 (cpp_register_pragma_space): Remove.
6903 (cpp_register_pragma): Simplify using lookup_pragma_entry,
6904 add sanity checks.
6905 (do_pragma): Similarly.
6906 (_cpp_init_internal_pragmas): Don't register namespaces.
6907
6908 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
6909 Don't register namespaces.
6910 * cp/lex.c (init_cp_pragma): Similarly.
6911 * doc/tm.texi: Update.
6912
0cb13cd2
CR
69132001-10-10 Craig Rodrigues <rodrigc@gcc.gnu.org>
6914
6915 PR c/4157
6916 * config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
6917
c54db4c9
MC
69182001-10-13 Michael Collison <collison@dhcp-12-114.townisp.com>
6919
2ea792c2 6920 * config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
c54db4c9
MC
6921 add scheduling support.
6922 * config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
6923 * config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
6924 * config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
6925
6926
5e3db92d
HPN
69272001-10-13 Hans-Peter Nilsson <hp@axis.com>
6928
6929 * config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
6930 missing CONSTANT_P test in core GCC.
6931
0c34509f
NB
69322001-10-12 Neil Booth <neil@daikokuya.demon.co.uk>
6933
6934 * cppmain.c (struct printer): New member source.
6935 (scan_translation_unit): Fix spacing at start of lines.
6936 (cb_line_change): Update.
6937
6938 * gcc.dg/cpp/spacing2.c: New test.
6939
44a4ca5e
HPN
69402001-10-12 Hans-Peter Nilsson <hp@axis.com>
6941
6942 * config/cris/arit.c: Use __builtin_labs, not abs.
6943
6944 * config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
6945
6946 * config/cris/cris.c (cris_target_asm_function_epilogue): Move
6947 misplaced sprintf and fprintf argument.
6948
71a94577
ZW
69492001-10-12 Zack Weinberg <zack@codesourcery.com>
6950
6951 * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
6952 * configure.in, Makefile.in: Take out obsolete check-po logic.
6953 * configure, config.in: Regenerate.
6954
7e21622e
ZL
69552001-10-12 Ziemowit Laski <zlaski@apple.com>
6956
6957 * objc/objc-act.c (finish_objc): Correct precondition for emitting
6958 symtab declarations.
6959
592696dd
SS
69602001-10-12 Stan Shebs <shebs@apple.com>
6961
6962 * config/rs6000/rs6000.c: Remove uses of "register" specifier in
6963 declarations of arguments and local variables.
6964
4717f6c1
CF
69652001-10-12 Christopher Faylor <cgf@redhat.com>
6966
6967 * config/i386/cygwin.h: Revert erroneous checkin of crtbegin and
6968 ENDFILE_SPEC definition.
6969
71287280
KH
69702001-10-12 Kazu Hirata <kazu@hxi.com>
6971
6972 * gthr-dce.h: Fix comment formatting.
6973 * gthr-posix.h: Likewise.
6974 * gthr-single.h: Likewise.
6975 * gthr-solaris.h: Likewise.
6976 * gthr-vxworks.h: Likewise.
6977 * gthr-win32.h: Likewise.
6978
8554d9a4
JJ
69792001-10-12 Jakub Jelinek <jakub@redhat.com>
6980
6981 * final.c (output_asm_insn): Make sure assembly dialects are
6982 terminated, not nested. Output `|' and `}' characters if they
6983 don't appear inside assembly dialect selection.
6984 * config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
6985 rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
6986 rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
6987 strsetsi_rex_1): Add {} braces.
6988
7cb4ff28
ZW
69892001-10-11 Zack Weinberg <zack@codesourcery.com>
6990
6991 * toplev.c (compile_file): Ignore return value from yyparse.
6992 Always pop any nested binding levels after yyparse returns.
6993
bcb913fb
RH
69942001-10-11 Richard Henderson <rth@redhat.com>
6995
6996 * doc/c-tree.texi (Expression trees): Add VTABLE_REF.
6997
5929a2f0
RH
69982001-10-11 Richard Henderson <rth@redhat.com>
6999
7000 * dwarf2out.c (add_const_value_attribute): If long < HOST_WIDE_INT,
7001 fall back to add_AT_long_long for large CONST_INT.
7002
10978207
RH
70032001-10-11 Richard Henderson <rth@redhat.com>
7004
7005 * config/i386/i386.md (setcc splitters): Add four splitters to
7006 simplify compound compares that simplify_comparison can't handle.
7007
8206c799
ZW
70082001-10-11 Zack Weinberg <zack@codesourcery.com>
7009
7010 * cpplex.c (digraph_spellings, token_spellings): Make static.
7011
a185c302
FS
70122001-10-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7013
7014 * unroll.c (loop_iterations): Fixup last patch.
7015
4a8d0c9c
RH
70162001-10-11 Richard Henderson <rth@redhat.com>
7017
7018 * rtl.h (REG_VTABLE_REF): New.
7019 * rtl.c (reg_note_name): Add it.
7020 * combine.c (distribute_notes): Handle it.
7021 * final.c (final_scan_insn): Handle it.
7022 * tree.def (VTABLE_REF): New.
7023 * expr.c (expand_expr): Handle it.
7024 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): New.
7025 * output.h: Declare them.
7026
8063ddcf
RH
70272001-10-11 Richard Henderson <rth@redhat.com>
7028
7029 * dwarf2out.c (rtl_for_decl_location): If no DECL_RTL, look
7030 for a DECL_INITIAL.
7031
0faae2f5
DE
70322001-10-11 David Edelsohn <edelsohn@gnu.org>
7033
7034 * config/rs6000/xcoff.h (UNALIGNED_DOUBLE_INT_ASM_OP): Only
7035 available in 64-bit mode.
7036
0b85d816
HPN
70372001-10-11 Hans-Peter Nilsson <hp@axis.com>
7038
7039 * config.gcc: Add cris-*-aout, cris-*-elf, cris-*-none,
7040 cris-*-linux* cases.
7041 * config/cris/cris-protos.h: New file.
7042 * config/cris/cris.c: New file.
7043 * config/cris/cris.h: New file.
7044 * config/cris/cris.md: New file.
7045 * config/cris/linux.h: New file.
7046 * config/cris/aout.h: New file.
7047 * config/cris/arit.c: New file.
7048 * config/cris/cris_abi_symbol.c: New file.
7049 * config/cris/mulsi3.asm: New file.
7050 * config/cris/t-aout: New file.
7051 * config/cris/t-cris: New file.
7052 * config/cris/t-elfmulti: New file.
7053 * config/cris/t-linux: New file.
7054 * doc/invoke.texi: Add CRIS options.
7055 * doc/install.texi (Specific): Add blurb for CRIS.
7056
6462eafa
HS
70572001-10-10 Hartmut Schirmer <SchirmerH@Innovative-Systems.de>
7058
7059 * config/float-i128.h: Make sure __STDC__VERSION__ is defined
7060 before using it.
7061 * config/float/i32.h: Likewise.
7062 * config/float-i386.h: Likewise.
7063 * config/float-i64.h: Likewise.
7064 * config/float-m68k.h: Likewise.
7065 * config/float-sh.h: Likewise.
7066 * config/float-sparc.h: Likewise.
7067
8647444e
HPN
70682001-10-11 Hans-Peter Nilsson <hp@axis.com>
7069
7070 * doc/contrib.texi: Add note about CRIS port to my entry.
7071
eebedaa5
KH
70722001-10-11 Kazu Hirata <kazu@hxi.com>
7073
7074 * basic-block.h: Fix formatting.
7075 * bitmap.h: Likewise.
7076 * cpplib.h: Likewise.
7077 * c-tree.h: Likewise.
7078 * diagnostic.h: Likewise.
7079 * flags.h: Likewise.
7080 * ggc.h: Likewise.
7081 * longlong.h: Likewise.
7082 * real.h: Likewise.
7083 * reload.h: Likewise.
7084 * rtl.h: Likewise.
7085 * tree.h: Likewise.
7086
84b72302
RH
70872001-10-10 Richard Henderson <rth@redhat.com>
7088
7089 * c-parse.in (asm_operand): Allow named operands.
7090 * genconfig.c (max_recog_operands): Set to 29.
7091 * local-alloc.c (requires_inout): Skip multiple digits.
7092 * recog.c (asm_operand_ok): Likewise.
7093 (preprocess_constraints): Use strtoul for matching constraints.
7094 (constrain_operands): Likewise.
7095 * regmove.c (find_matches): Likewise.
7096 * reload.c (find_reloads): Likewise.
7097 * stmt.c (parse_output_constraint): Don't reject in-out
7098 constraint on operands > 9. Reject '[' in constraint.
7099 (expand_asm_operands): Handle named operands. Use strtoul
7100 for matching constraints.
7101 (check_operand_nalternatives): Split out from expand_asm_operands.
7102 (check_unique_operand_names): New.
7103 (resolve_operand_names, resolve_operand_name_1): New.
7104
7105 * doc/extend.texi (Extended Asm): Document named operands.
7106 * doc/md.texi (Simple Constraints): Document matching constraints
7107 on operands > 9.
7108
7f16eed4
RH
71092001-10-10 Richard Henderson <rth@redhat.com>
7110
592188a5
RH
7111 * combine.c (try_combine): Handle a SEQUENCE of one insn.
7112
7113 * i386.c (test splitter): Narrow tests vs paradoxical subregs.
7114 (jcc splitters): Add two splitters to simplify compound compares
7115 that simplify_comparison can't handle.
7f16eed4
RH
7116
71172001-10-10 Richard Henderson <rth@redhat.com>
7118
7119 * langhooks.c: Include langhooks.h.
7120 * Makefile.in (langhooks.o): Depend on it.
7121
eb9d8e4d
JW
7122Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
7123
7124 * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
7125 should not be considered as a no-op.
7126 * flow.c (delete_noop_moves): Handle REG_LIBCALL notes.
7127
b3694847
SS
71282001-10-10 Stan Shebs <shebs@apple.com>
7129
7130 * alias.c: Remove uses of "register" specifier in declarations
7131 of arguments and local variables.
7132 * c-common.c: Ditto.
7133 * c-convert.c: Ditto.
7134 * c-decl.c: Ditto.
7135 * c-format.c: Ditto.
7136 * c-semantics.c: Ditto.
7137 * c-typeck.c: Ditto.
7138 * caller-save.c: Ditto.
7139 * calls.c: Ditto.
7140 * cfg.c: Ditto.
7141 * cfgbuild.c: Ditto.
7142 * cfgrtl.c: Ditto.
7143 * collect2.c: Ditto.
7144 * combine.c: Ditto.
7145 * convert.c: Ditto.
7146 * cppexp.c: Ditto.
7147 * cppfiles.c: Ditto.
7148 * cse.c: Ditto.
7149 * dbxout.c: Ditto.
7150 * defaults.h: Ditto.
7151 * df.c: Ditto.
7152 * dwarf2out.c: Ditto.
7153 * dwarfout.c: Ditto.
7154 * emit-rtl.c: Ditto.
7155 * explow.c: Ditto.
7156 * expmed.c: Ditto.
7157 * expr.c: Ditto.
7158 * final.c: Ditto.
7159 * fix-header.c: Ditto.
7160 * floatlib.c: Ditto.
7161 * flow.c: Ditto.
7162 * fold-const.c: Ditto.
7163 * function.c: Ditto.
7164 * gcc.c: Ditto.
7165 * gcse.c: Ditto.
7166 * gen-protos.c: Ditto.
7167 * genattrtab.c: Ditto.
7168 * gencheck.c: Ditto.
7169 * genconfig.c: Ditto.
7170 * genemit.c: Ditto.
7171 * genextract.c: Ditto.
7172 * genflags.c: Ditto.
7173 * gengenrtl.c: Ditto.
7174 * genoutput.c: Ditto.
7175 * genpeep.c: Ditto.
7176 * genrecog.c: Ditto.
7177 * gensupport.c: Ditto.
7178 * global.c: Ditto.
7179 * gmon.c: Ditto.
7180 * graph.c: Ditto.
7181 * haifa-sched.c: Ditto.
7182 * hard-reg-set.h: Ditto.
7183 * hash.c: Ditto.
7184 * integrate.c: Ditto.
7185 * jump.c: Ditto.
7186 * lists.c: Ditto.
7187 * local-alloc.c: Ditto.
7188 * loop.c: Ditto.
7189 * mips-tdump.c: Ditto.
7190 * mips-tfile.c: Ditto.
7191 * optabs.c: Ditto.
7192 * prefix.c: Ditto.
7193 * print-rtl.c: Ditto.
7194 * read-rtl.c: Ditto.
7195 * real.c: Ditto.
7196 * recog.c: Ditto.
7197 * reg-stack.c: Ditto.
7198 * regclass.c: Ditto.
7199 * regmove.c: Ditto.
7200 * reload.c: Ditto.
7201 * reload1.c: Ditto.
7202 * reorg.c: Ditto.
7203 * resource.c: Ditto.
7204 * rtl.c: Ditto.
7205 * rtlanal.c: Ditto.
7206 * scan.c: Ditto.
7207 * sched-deps.c: Ditto.
7208 * sched-rgn.c: Ditto.
7209 * sdbout.c: Ditto.
7210 * simplify-rtx.c: Ditto.
7211 * stmt.c: Ditto.
7212 * stor-layout.c: Ditto.
7213 * toplev.c: Ditto.
7214 * tradcif.y: Ditto.
7215 * tradcpp.c: Ditto.
7216 * tree.c: Ditto.
7217 * unroll.c: Ditto.
7218 * varasm.c: Ditto.
7219 * xcoffout.c: Ditto.
7220
ba3c4fbb
RH
72212001-10-10 Richard Henderson <rth@redhat.com>
7222
7223 * rtl.h (can_reverse_comparison_p): Remove.
7224
0a977123
CF
72252001-10-10 Christopher Faylor <cgf@redhat.com>
7226
7227 * config/i386/cygwin.h: Avoid adding include files if -nostdinc is
7228 used.
7229
72302001-10-10 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
7231
7232 * config/i386/mingw32.h (WIN32_NO_ABSOLUTE_INST_DIRS): New define.
7233 (Thanks to Chris Faylor for suggesting macro name).
7234 (CPP_PREDEFINES): Define __MINGW32__ but don't set value; add more
7235 WIN32 defines.
7236 (STANDARD_INCLUDE_DIR): Remove i386- from directory name.
7237 (STANDARD_INCLUDE_COMPONENT): Change to MINGW.
7238 (MATH_LIBRARY): Undef before definition.
7239 (OUTPUT_QUOTED_STRING): Likewise.
7240 * config/i386/cygwin.h: Use WIN32_NO_ABSOLUTE_INST_DIRS.
7241
bde257ff
RH
72422001-10-10 Richard Henderson <rth@redhat.com>
7243
7244 * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
7245 (fde_unencoded_compare): Likewise. Don't use subtraction to get
7246 a tristate comparison value.
7247 (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.
7248
c156ea30
FS
72492001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7250
e10f3d36
FS
7251 PR c++/4512
7252 * unroll.c (loop_iterations): Ignore insns generated by loop
7253 unrolling.
7254
c156ea30
FS
7255 * config.gcc (mips*-*-gnu*): Delete support.
7256 * config/mips/gnu.h: Remove.
7257
6d2f8887
KH
72582001-10-10 Kazu Hirata <kazu@hxi.com>
7259
7260 * calls.c: Fix formatting.
7261 * c-decl.c: Likewise.
7262 * cfgcleanup.c: Likewise.
7263 * combine.c: Likewise.
7264 * cppfiles.c: Likewise.
7265 * cpplib.c: Likewise.
7266 * cppmacro.c: Likewise.
7267 * crtstuff.c: Likewise.
7268 * cse.c: Likewise.
7269 * dwarf2out.c: Likewise.
7270 * expmed.c: Likewise.
7271 * expr.c: Likewise.
7272 * fold-const.c: Likewise.
7273 * function.c: Likewise.
7274 * gcse.c: Likewise.
7275 * genattrtab.c: Likewise.
7276 * ggc-page.c: Likewise.
7277 * integrate.c: Likewise.
7278 * libgcc2.c: Likewise.
7279 * loop.c: Likewise.
7280 * optabs.c: Likewise.
7281 * profile.c: Likewise.
7282 * protoize.c: Likewise.
7283 * real.c: Likewise.
7284 * recog.c: Likewise.
7285 * reload1.c: Likewise.
7286 * reload.c: Likewise.
7287 * reorg.c: Likewise.
7288 * resource.c: Likewise.
7289 * sched-rgn.c: Likewise.
7290 * sdbout.c: Likewise.
7291 * stmt.c: Likewise.
7292 * toplev.c: Likewise.
7293 * varasm.c: Likewise.
7294
1affb409
JJ
72952001-10-10 Janis Johnson <janis187@us.ibm.com>, Alexandre Oliva <aoliva@redhat.com>
7296
7297 * langhooks.c: Include rtl.h, insn-config.h and integrate.h.
7298 * Makefile.in (langhooks.o): Add dependencies.
7299
b999aaeb
JW
7300Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
7301
7302 * rs6000.c (rs6000_emit_load_toc_table): Don't
7303 strdup the toc label.
7304 (create_TOC_reference): Likewise.
7305
09eaf5a5
DS
73062001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
7307
7308 * config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
7309 version default.
7310
3da1eb0b
DS
73112001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
7312
2ea792c2 7313 * config/i386/i386.c (ix86_attribute_table): Correct
3da1eb0b
DS
7314 min_len, max_len fields for dllimport, dllexport and shared.
7315
df2a54e9
JM
73162001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
7317
7318 * doc/c-tree.texi, doc/cppinternals.texi, doc/extend.texi,
7319 doc/install.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi:
7320 Consistently use "nonzero" instead of "non-zero".
7321
19eb1ad7
KH
73222001-10-09 Kazu Hirata <kazu@hxi.com>
7323
7324 * acconfig.h: Fix comment formatting.
7325 * c-dump.h: Likewise.
7326 * c-tree.h: Likewise.
7327 * conditions.h: Likewise.
7328 * expr.h: Likewise.
7329 * function.h: Likewise.
7330 * gthr.h: Likewise.
7331 * hwint.h: Likewise.
7332 * integrate.h: Likewise.
7333 * intl.h: Likewise.
7334 * loop.h: Likewise.
7335 * optabs.h: Likewise.
7336
2ba84f36
KH
73372001-10-09 Kazu Hirata <kazu@hxi.com>
7338
7339 * c-common.h: Fix comment formatting.
7340 * c-dump.c: Likewise.
7341 * cfg.c: Likewise.
7342 * diagnostic.h: Likewise.
7343 * except.c: Likewise.
7344 * gcc.h: Likewise.
7345 * gcov-io.h: Likewise.
7346 * genattrtab.c: Likewise.
7347 * output.h: Likewise.
7348 * predict.h: Likewise.
7349 * reload1.c: Likewise.
7350 * reload.h: Likewise.
7351 * resource.h: Likewise.
7352 * scan.h: Likewise.
7353 * system.h: Likewise.
7354 * tree.h: Likewise.
7355 * tree-inline.c: Likewise.
7356 * tsystem.h: Likewise.
7357 * varasm.c: Likewise.
7358 * xcoffout.h: Likewise.
7359
77332b4e
JM
73602001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
7361
7362 * doc/gcc.texi: Document preference for "nonzero" over "non-zero".
7363
9f2f9eb6
JM
73642001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
7365
7366 * config/alpha/freebsd.h, config/alpha/lib1funcs.asm,
7367 config/i386/i386elf.h, config/i386/netbsd-elf.h,
7368 config/i386/netware.h, config/mcore/gfloat.h,
7369 config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md,
7370 config/netware.h, gccbug.in: Update FSF address.
7371
4fe9b91c
KH
73722001-10-09 Kazu Hirata <kazu@hxi.com>
7373
7374 * c-common.c: Fix comment typos.
7375 * cfgrtl.c: Likewise.
7376 * collect2.c: Likewise.
7377 * cpplex.c: Likewise.
7378 * doloop.c: Likewise.
7379 * dwarf2out.c: Likewise.
7380 * dwarfout.c: Likewise.
7381 * expr.c: Likewise.
7382 * fold-const.c: Likewise.
7383 * gcc.c: Likewise.
7384 * gcov.c: Likewise.
7385 * gcse.c: Likewise.
7386 * global.c: Likewise.
7387 * ifcvt.c: Likewise.
7388 * loop.c: Likewise.
7389 * optabs.c: Likewise.
7390 * protoize.c: Likewise.
7391 * regclass.c: Likewise.
7392 * reorg.c: Likewise.
7393 * rtl.h: Likewise.
7394 * stmt.c: Likewise.
7395 * tree.h: Likewise.
7396 * doc/cpp.texi: Likewise.
7397 * doc/c-tree.texi: Likewise.
7398 * doc/extend.texi: Likewise.
7399 * doc/invoke.texi: Likewise.
7400 * doc/objc.texi: Likewise.
7401 * doc/tm.texi: Likewise.
7402
8d2134aa
RH
74032001-10-08 Richard Henderson <rth@redhat.com>
7404
7405 * varasm.c (set_named_section_flags): Initialize "declared".
7406
a8c01a59
RL
74072001-10-08 Robert Lipe <robertlipe@usa.net>
7408
8d2134aa 7409 * varasm.c (struct in_named_entry): Add declared.
a8c01a59
RL
7410 (named_section_first_declaration): New function.
7411 (default_elf_asm_named_section): Use it.
7412 * output.h (named_section_first_declaration): New.
7413
646ded90
RH
74142001-10-08 Richard Henderson <rth@redhat.com>
7415
592188a5
RH
7416 * i386.md (movsi_xor): Export.
7417 (setcc peep2): Use it when available; add an alternative to
646ded90
RH
7418 match zero_extendhisi2_and.
7419
e052f1a9
KG
74202001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7421
7422 * romp-protos.h (romp_initialize_trampoline): New function.
7423 * romp.c (romp_initialize_trampoline): Likewise.
7424 * romp.h (INITIALIZE_TRAMPOLINE): Define in terms of
7425 romp_initialize_trampoline.
7426
da905677
KG
74272001-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7428
7429 * m68k/3b1.h (ASM_OUTPUT_SOURCE_LINE): Don't reference `last_linenum'.
7430 * m68k/auxas.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
7431 * m68k/crds.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
7432 * m68k/mot3300.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
7433
9d1e9f93
FS
74342001-10-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7435
7436 * unroll.c (loop_iterations): Extend check for multiple back edges.
7437
69dcadff
AO
74382001-10-08 Alexandre Oliva <aoliva@redhat.com>
7439
7440 * langhooks.h: New file.
7441 * Makefile.in (OBJS): Added langhooks.o.
7442 (c-lang.o): Depend on langhooks.h.
7443 (c-common.o): Don't depend on tree-inline.h.
7444 (tree-inline.o): Depend on toplev.h.
7445 (langhooks.o): New rule.
7446 * c-common.c: Don't include tree-inline.h.
7447 (c_mark_lang_decl): Mark argument c as unused.
7448 (c_common_lang_init): Don't initialize hooks here.
7449 * c-lang.c: Include langhooks.h, then override some macros.
7450 (lang_hooks): Initialize with macros in langhooks.h.
7451 (c_init): Don't initialize hooks here.
7452 * toplev.c (struct lang_hooks_for_tree_inlining): New struct.
7453 (struct lang_hooks): Add tree_inlining. Refer to langhooks.h.
7454 * tree-inline.c: Include toplev.h. Don't define hook variables.
7455 * tree-inline.h: Don't define hook types nor declare hook
7456 variables. Move macros to...
7457 * langhooks.c: ... new file, as functions. Adjust all callers.
7458
5a2ce672
JL
74592001-10-08 Jeffrey A Law <law@cygnus.com>
7460
7461 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
7462 purge_mem_unchanging_flag on all instructions, not just on those
7463 before NOTE_INSN_FUNCTION_BEG.
7464
bbb12d76
NB
74652001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
7466
7467 * cppmacro.c (_cpp_create_definition): Leave comments off.
7468
7469 * doc/cpp.texi: Update.
7470
3e96a2fd
DD
74712001-10-08 DJ Delorie <dj@redhat.com>
7472
7473 * c-decl.c (grokfield): Make sure the only unnamed fields
7474 we're allowing are either structs or unions.
7475 * doc/extend.texi: Add documentation for the unnamed field
7476 extension.
7477
67f28219
ZW
74782001-10-08 Zack Weinberg <zack@codesourcery.com>
7479
7480 * aclocal.m4 (gcc_AC_PROG_GNAT): New.
2ea792c2 7481 * configure.in: Use it.
67f28219
ZW
7482 * configure: Regenerated.
7483 * config/pa/t-linux, config/pa/t-pa, config/pa/t-pa64,
2ea792c2 7484 config/pa/t-pro: Set T_ADAFLAGS, not ADA_CFLAGS.
67f28219 7485
c0bfe993
NB
74862001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
7487
7488 * cppfiles.c (open_file): Don't mark zero-length files
7489 never-reread here. Don't output diagnostics here either.
7490 (stack_include_file): Mark them never-reread here.
7491 (_cpp_read_file): Update.
7492
d5d1b9e2
RH
74932001-10-08 Richard Henderson <rth@redhat.com>
7494
7495 * config/i386/sol2.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
7496
1f1b0541
RH
74972001-10-08 Richard Henderson <rth@redhat.com>
7498
7499 * expr.c (store_expr): When converting a CONST_INT for storage
7500 in a SUBREG, convert it to both SUBREG modes before stripping
7501 the SUBREG.
7502
6ba3b214
RH
75032001-10-08 Richard Henderson <rth@redhat.com>
7504
7505 * varasm.c (restore_varasm_status): New.
7506 * function.h: Declare it.
7507 * function.c (pop_function_context_from): Call it.
7508
31ed8fea
RH
75092001-10-08 Richard Henderson <rth@redhat.com>
7510
7511 * c-common.h (struct c_lang_decl): Add declared_inline.
7512 * c-tree.h (DECL_DECLARED_INLINE_P): New.
7513 * c-lang.c (c_disregard_inline_limits): Use it.
7514 * c-decl.c (duplicate_decls): Likewise.
7515 (pushdecl, redeclaration_error_message): Likewise.
7516 (pushdecl): Allocate DECL_LANG_SPECIFIC if needed.
7517 (grokdeclarator): Likewise. Set DECL_DECLARED_INLINE_P.
7518 Set DECL_INLINE if -finline-functions.
7519 (store_parm_decls): Don't allocate DECL_LANG_SPECIFIC here.
7520
d6da836d
NB
75212001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
7522
7523 * cppmacro.c (funlike_invocation_p): Move some logic to caller
7524 in enter_macro_context. Create a padding token in its own context
7525 if necessary when the search for '(' fails.
7526 (enter_macro_context): Update.
7527
cc712abf
JM
75282001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
7529
7530 * ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
7531 genmultilib, toplev.c: Fix spelling errors of "separate" as
7532 "seperate", and corresponding spelling errors of related words.
7533
8b60264b
KG
75342001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7535
7536 * builtins.c (expand_builtin_setjmp_receiver): Const-ify.
7537 * c-common.c (fname_var_t, c_tree_code_type, c_tree_code_length):
7538 Likewise.
7539 * c-dump.c (dump_option_value_info): Likewise.
7540 * c-format.c (format_length_info, format_char_info,
7541 format_flag_spec, format_flag_pair, format_kind_info): Likewise.
7542 * collect2.c (names): Likewise.
7543 * cppdefault.h (default_include): Likewise.
7544 * cppexp.c (suffix, vsuf_1, vsuf_2, vsuf_3): Likewise.
7545 * flow.c (life_analysis): Likewise.
7546 * gcc.c (dir_separator_str, modify_target, option_map,
7547 target_option_translations, spec_list_1, extra_specs_1,
7548 init_spec): Likewise.
7549 * gcov.c (gcov_version_string): Likewise.
7550 * genattr.c (write_units): Likewise.
7551 * genattrtab.c (make_length_attrs, write_function_unit_info): Likewise.
7552 * gengenrtl.c (rtx_definition, defs): Likewise.
7553 * genrecog.c (pred_table): Likewise.
7554 * global.c (global_alloc): Likewise.
7555 * lcm.c (optimize_mode_switching): Likewise.
7556 * local-alloc.c (find_free_reg): Likewise.
7557 * params.h (param_info): Likewise.
7558 * predict.c (predictor_info): Likewise.
7559 * protoize.c (unexpansion_struct): Likewise.
7560 * real.c (bmask): Likewise.
7561 * recog.h (insn_operand_data, insn_data): Likewise.
7562 * regclass.c (initial_fixed_regs, initial_call_used_regs): Likewise.
7563 * stmt.c (expand_nl_goto_receiver): Likewise.
7564 * toplev.c (da, debug_args, lang_opt, documented_lang_options,
7565 target_switches, target_options): Likewise.
7566 * tradcif.y (token, tokentab2, yylex): Likewise.
7567 * tree.h (attribute_spec): Likewise.
2ea792c2 7568
8b60264b
KG
7569 * alpha.c (override_options, alpha_lookup_xfloating_lib_func):
7570 Likewise.
7571 * arc.c (arc_output_function_epilogue): Likewise.
7572 * arm.c (processors, all_cores, all_architectures,
7573 arm_override_options, isr_attribute_arg, isr_attribute_args,
7574 arm_isr_value): Likewise.
7575 * avr.c (mcu_type_s, reg_class_tab, order_regs_for_local_alloc):
7576 Likewise.
7577 * c4x.c (c4x_int_reglist): Likewise.
7578 * d30v.c (override_options): Likewise.
7579 * h8300.c (shift_insn): Likewise.
7580 * i386.c (size_cost, i386_cost, i486_cost, pentium_cost,
7581 pentiumpro_cost, k6_cost, athlon_cost, pentium4_cost, ix86_cost,
7582 ix86_expand_sse_comi, ix86_expand_sse_compare, override_options,
7583 builtin_description, bdesc_comi, bdesc_2arg, bdesc_1arg,
7584 ix86_init_mmx_sse_builtins, ix86_expand_builtin): Likewise.
7585 * i386.h (processor_costs, ix86_cost): Likewise.
7586 * m68hc11.c (m68hc11_cost, m6811_cost, m6812_cost): Likewise.
7587 * m68hc11.h (processor_costs, m68hc11_cost): Likewise.
7588 * m68k.c (codes_68881, codes_FPA): Likewise.
7589 * m88k.c (mode_from_align, max_from_align, all_from_align,
7590 best_from_align, m_options): Likewise.
7591 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
7592 * mcore.c (mode_from_align): Likewise.
7593 * mips/elf64.h (UNIQUE_SECTION): Likewise.
7594 * mips/iris6gld.h (UNIQUE_SECTION): Likewise.
7595 * mips.c (mips_sw_reg_names, mips_regno_to_class): Likewise.
7596 * mips.h (mips_regno_to_class): Likewise.
7597 * ns32k.c (scales): Likewise.
7598 * pa.c (import_string, magic_milli): Likewise.
7599 * rs6000.c (alt_reg_names, rs6000_override_options): Likewise.
7600 * sparc.c (leaf_reg_remap, sparc_override_options,
7601 reg_leaf_alloc_order, reg_nonleaf_alloc_order, reg_alloc_orders):
7602 Likewise.
7603 * sparc.h (sparc_cpu_select, leaf_reg_remap): Likewise.
7604
d1d18b46
DJ
76052001-10-07 Dale Johannesen <dalej@apple.com>
7606
7607 * reload1.c (reload_reg_free_p): Teach register interference
7608 checking that multiple output reloads are emitted in
7609 reverse order.
7610 reload1.c (reload_reg_reaches_end_p): Ditto.
7611 reload1.c (reloads_conflict): Ditto.
7612
59d42021
JM
76132001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
7614
7615 * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
7616 NULL_TREE inside @code.
7617
96cd0e2d
JM
76182001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
7619
7620 * doc/gcc.texi: Document consistent style of "32-bit",
7621 "Objective-C", and "@code{NULL}".
7622
47ad4138
ZW
76232001-10-06 Zack Weinberg <zack@codesourcery.com>
7624
7625 * cpplex.c (enum spell_type): Add SPELL_NUMBER.
7626 (cpp_token_len, cpp_spell_token, cpp_output_token,
7627 _cpp_equiv_tokens): Handle it.
7628 * cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
7629 CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
7630 * cppexp.c (_cpp_parse_expr): Use the correct operator code in
7631 error messages.
7632
7fb56130
RK
7633Sat Oct 6 07:42:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7634
7635 * gcc.c (default_compilers): Remove .ada.
7636
5b810d3c
NB
76372001-10-06 Neil Booth <neil@daikokuya.demon.co.uk>
7638
7639 * doc/cppinternals.texi: Update.
7640
d644be7b
ZW
76412001-10-06 Zack Weinberg <zack@codesourcery.com>
7642
7643 * gcc.c (main): Set this_file_error if the appropriate
7644 compiler for a language has not been installed.
7645
3afb4581 76462001-10-06 Ulrich Weigand <uweigand@de.ibm.com>
2ea792c2 7647
592188a5 7648 * config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
3afb4581 7649
45b70dd4
JM
76502001-10-05 Joseph S. Myers <jsm28@cam.ac.uk>
7651
7652 * gccbug.in (CATEGORIES): Add ada.
7653
da6e254e
CM
76542001-10-05 Catherine Moore <clm@redhat.com>
7655
592188a5
RH
7656 * config/stormy16/stormy-abi: Document abi changes.
7657 * config/stormy16/stormy16.h (REG_ALLOC_ORDER): Redefine.
7658 (ICALL_REGS): New register class.
7659 (NUM_ARGUMENT_REGISTERS): Now 6.
7660 (DEFAULT_PCC_STRUCT_RETURN): Don't try to return structs
7661 in registers.
7662 (REG_CLASS_FROM_LETTER): Map 'z' to ICALL_REGS.
7663 * config/stormy16.md (call_internal, call_value_internal,
7664 indirect_jump): Use new 'z' constraint.
da6e254e 7665
9f1c2931
NB
76662001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
7667
7668 * doc/cppinternals.texi: Update.
7669
27d95cbe
RH
76702001-10-05 Richard Henderson <rth@redhat.com>
7671
7672 * dwarf2out.c (FRAME_BEGIN_LABEL): New.
7673 (output_call_frame_info): Use it instead of __FRAME_BEGIN__ and
7674 the gas section-name-as-label feature.
7675
591099cd
NB
76762001-10-05 Neil Booth <neil@daikokuya.demon.co.uk>
7677
7678 * doc/cppinternals.texi: Update.
7679
523fbd9d
RK
7680Fri Oct 5 08:17:46 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7681
7682 * config/i386/i386.c (ix86_split_to_parts): Use trunc_int_for_mode
7683 to ensure valid SImode constants.
7684
d4e4baa9
AO
76852001-10-05 Alexandre Oliva <aoliva@redhat.com>
7686
4838c5ee
AO
7687 * Makefile.in (c-decl.o): Depend on tree-inline.h.
7688 (c-lang.o): Likewise, as well as insn-config.h and integrate.h.
7689 * c-decl.c: Include tree-inline.h.
7690 (c_expand_body): Call optimize_inline_calls. Determine whether
7691 a function is inlinable upfront, and only clear
7692 DECL_SAVED_TREE, DECL_INITIAL and DECL_ARGUMENTS if it isn't.
7693 * c-lang.c: Include tree-inline.h, insn-config.h and integrate.h.
7694 (c_disregard_inline_limits): New function.
7695 (inline_forbidden_p, c_cannot_inline_tree_fn): Likewise.
7696 (c_post_options): Enable tree inlining if inlining is enabled.
7697 Don't inline trees when instrumenting functions.
7698 (c_init): Initialize lang_disregard_inline_limits and
7699 lang_cannot_inline_tree_fn.
7700 * tree-inline.c (initialize_inlined_parameters): Handle calls
7701 with fewer arguments than declared parameters, and fewer
7702 parameters than passed arguments. Don't assume value is a
7703 DECL.
7704 (declare_return_variable): Convert return value back to the
7705 original type, if it was promoted.
7706 (tree_inlinable_function_p): New function.
7707 (inlinable_function_p): Don't look at DECL_INLINE if we're
7708 inlining all functions. Make it work with a NULL id.
7709 Re-check DECL_UNINLINABLE after language-specific checks.
4838c5ee 7710 * tree-inline.h (tree_inlinable_function_p): Declare it.
6afed784
AO
7711 * integrate.c (save_for_inline): Don't bother to prepare argvec
7712 when not inlining.
4838c5ee
AO
7713 * cse.c (check_for_label_ref): Don't check deleted labels.
7714
d4e4baa9
AO
7715 * Makefile.in (tree-inline.o): Depend on newly-included headers.
7716 * tree-inline.c: Include headers needed for the functions moved in.
7717 (struct inline_data, INSNS_PER_STMT): Moved from cp/optimize.c.
7718 (remap_decl, remap_block, copy_scopy_stmt, copy_body_r): Likewise.
7719 (copy_body, initialize_inlined_parameters): Likewise.
7720 (declare_return_variable, inlinable_function_p): Likewise.
7721 (expand_call_inline, expand_calls_inline): Likewise.
7722 (optimize_inline_calls, clone_body): Likewise.
7723 (walk_tree, walk_tree_without_duplicates): Moved from cp/tree.c.
7724 (copy_tree_r, remap_save_expr): Likewise.
7725
588d3ade
AO
77262001-10-04 Alexandre Oliva <aoliva@redhat.com>
7727
7728 * Makefile.in (OBJS): Added tree-inline.o.
7729 (c-common.o): Depend on tree-inline.h.
7730 (tree-inline.o): New target.
7731 * c-common.c: Include tree-inline.h.
7732 (c_mark_lang_decl): Don't mark saved_tree.
7733 (c_common_lang_init): Set lang_anon_aggr_type_p.
7734 * c-common.h (walk_tree_fn, DECL_SAVED_TREE): Moved to tree.h.
7735 (struct c_lang_decl): Moved saved_tree to tree_decl.
7736 * ggc-common.c: Mark saved_tree and inlined_fns of FUNCTION_DECLs.
7737 * integrate.h (function_attribute_inlinable_p): Declare it.
7738 * integrate.c (function_attribute_inlinable_p): Export it.
7739 * tree-inline.c: New file. Define variables declared in...
7740 * tree-inline.h: New file. Declare functions to be moved to
7741 tree-inline.c. Define macros and declare types and hooks for
7742 language-specific tree inlining.
7743 (flag_inline_trees): Moved definition from cp/decl2.c.
7744 * tree.h (walk_tree_fn, DECL_SAVED_TREE): Moved from c-common.h.
7745 (TREE_READONLY_DECL_P, DECL_INLINED_FNS): Moved from cp/cp-tree.h.
7746 (struct tree_decl): Moved saved_tree from c_lang_decl and
7747 inlined_fns from C++'s lang_decl.
7748
d6c0ca38
LR
77492001-10-04 Loren J. Rittle <ljrittle@acm.org>
7750
7751 * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
7752 propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.
7753
d3d43aab
NB
77542001-10-04 Neil Booth <neil@daikokuya.demon.co.uk>
7755
7756 * doc/cppinternals.texi: Update.
7757
3054eeed
EC
77582001-10-04 Eric Christopher <echristo@redhat.com>
7759
7760 * config/mips/mips.c (init_cumulative_args): Remember to set
7761 cum->prototype.
7762 * config.gcc: Redo linux configuration. Add target_cpu_default
7763 of soft-float to all mipsisa32 combinations and tx39.
7764 * config/mips/linux.h: Remove include of mips.h.
7765
8276ed21
LR
77662001-10-03 Loren J. Rittle <ljrittle@acm.org>
7767
7768 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
7769 HOST_LDFLAGS and HOST_CPPFLAGS.
7770
8607f1bc
ZL
77712001-10-03 Ziemowit Laski <zlaski@apple.com>
7772
7773 * c-parse.in (objc_inherit_code, objc_pq_context,
7774 objc_public_flag): Make static.
7775 (objc_interface_context, objc_implementation_context,
7776 objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
7777 global tree array in objc/objc-act.[ch].
7778 (methoddef): Remove unnecessary code.
7779
7780 * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
7781 Hoist struct definitions to objc-act.h.
7782 (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
7783 cat_count): Place declaration in objc-act.h.
7784 (objc_tree_index): Move enumeration to objc-act.h.
7785 (objc_global_trees): Place declaration and macro accessors in
7786 objc-act.h.
7787 (implementation_context): Remove duplicate; use
7788 objc_implementation_context instead:
7789 (method_context): Remove duplicate; use objc_method_context
7790 instead.
7791 (objc_ellipsis_node, objc_method_prototype_template,
7792 implemented_classes, function_type): Move global vars to
7793 objc_global_trees.
7794 (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
7795 (build_message_expr): Move actual construction of ObjC message
7796 send nodes to finish_message_expr.
7797 (finish_message_expr): New routine, contains code formerly in
7798 build_message_expr.
7799 * objc/objc-act.h (finish_message_expr): New prototype.
7800 (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
7801 declarations; these vars are now part of objc_global_trees.
7802 (objc_tree_index, objc_global_trees): Move definitions from
7803 objc-act.c.
7804 * objc/objc-tree.def: Update copyright info.
7805
508fc646
JW
7806Wed Oct 3 12:22:11 EDT 2001 John Wehle (john@feith.com)
7807
7808 * dwarf2asm.c (unaligned_integer_asm_op): Abort if
7809 op is NULL.
7810 * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
7811 only if TARGET_ARCH64.
7812
80ebf43e
BS
78132001-10-02 Bernd Schmidt <bernds@redhat.com>
7814
7815 * doc/extend.texi: Fix some problems with previous checkin.
7816 * doc/invoke.texi: Likewise.
7817
644eddaa
NB
78182001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
7819
7820 * cpphash.h: Update comments.
7821 (cpp_context): Update.
7822 (spec_nodes): Remove n__Pragma.
7823 * cppinit.c (cpp_create_reader): Update.
7824 (builtin_array): Add _Pragma.
7825 * cpplib.h: Update comments.
7826 (NODE_DISABLED, BT_PRAGMA): New.
7827 (cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
7828 * cppmacro.c (struct cpp_macro): Remove disabled.
7829 (builtin_macro): Return int, handle _Pragma, push the new token
7830 on the context stack.
7831 (funlike_invocation_p): Unconstify, update.
7832 (enter_macro_context): Handle builtins here.
7833 (replace_args, push_token_context, push_ptoken_context):
7834 Update for prototype changes.
7835 (_cpp_pop_context): Update.
7836 (cpp_get_token): Don't handle buitins, nor _Pragma here.
7837 (cpp_sys_macro_p): Update.
7838 (_cpp_free_definition): Clear disabled flag.
7839 (_cpp_create_definition): Upate.
7840 * cppmain.c: Update comments.
7841
14f73b5a 7842Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
2ea792c2
JJ
7843 Andreas Jaeger <aj@suse.de>,
7844 Jan Hubicka <jh@suse.cz>
14f73b5a
JH
7845
7846 * doc/invoke.texi (i386 Options): Document x86-64 options.
7847 (i386 and x86-64 Options): Rename i386 options section.
7848
7849 * config/i386/i386.h (TARGET_UNWIND_INFO): New.
7850 (TARGET_SWITCHES): Add -munwind-info.
7851 (MASK_NO_UNWIND_INFO): New.
7852 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
7853 biarch compilation.
7854 (ASM_OUTPUT_DOUBLE_INT): New.
7855
7856 * config/i386/linux64.h: New spec file for Linux x86-64 support.
7857 * config.gcc: Fix tm_file settings for x86-64.
7858 * config/i386/x86-64.h: New file with OS independent x86-64
7859 definitions.
7860 * config/i386/biarch64.h: New file used to configure compiler
7861 to biarch/64bit compilation.
7862
7863 * config/i386/i386.c: (override_options): Set flags default
7864 for 64bit compilation.
7865
7866Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
7867
7868 * i386.c (legitimize_pic_address): Add missing bits of 64bit support.
3054eeed 7869 (ix86_expand_int_movcc): Optimize DImode conditional moves with
14f73b5a
JH
7870 constants on x86_64.
7871 (ix86_attr_length_immediate_default): Support MODE_DI.
7872 * i386.md (fixdi splitter): Add missing "&& 1" in splitter
7873 condition.
7874 (indirect_jump, tablejump): Turn into expander.
7875
80a497e4
JM
78762001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7877
7878 * c-common.c (c_format_attribute_table): Make format and
7879 format_arg attributes apply to function types rather than to
7880 decls.
7881 (is_valid_printf_arglist): Construct an attribute list and pass
7882 that to check_function_format rather than a name.
7883 * c-common.h (check_function_format): Adjust prototype.
7884 * c-decl.c (duplicate_decls): Preserve attributes from type of
7885 built-in decl when allowing for harmless conflict in types.
7886 * c-format.c (record_function_format,
7887 record_international_format, function_format_list,
7888 international_format_info, international_format_list): Remove.
7889 (function_format_info): Remove next, name and assembler_name.
7890 Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
7891 (decode_format_attr): New.
7892 (handle_format_attribute): Handle receiving a type rather than a
7893 decl. Call decode_format_attr. Store format information in a
7894 function_format_info.
7895 (handle_format_arg_attribute): Correct comment. Handle receiving
7896 a type rather than a decl. Use unsigned HOST_WIDE_INT for
7897 arg_num.
7898 (check_format_info_recurse, check_format_info_main): Take argument
7899 numbers as unsigned HOST_WIDE_INT.
7900 (check_function_format): Take a list of attributes from the
7901 function type rather than a name or assembler name. Check for
7902 format attributes in that list and the attributes on the type of
7903 the current function rather than looking through
7904 function_format_list.
7905 (check_format_info): Use unsigned HOST_WIDE_INT for argument
7906 numbers.
7907 (check_format_info_recurse): Take format_arg attributes from the
7908 type of the function calls rather than using
7909 international_format_list. Allow for multiple format_arg
7910 attributes.
7911 * c-typeck.c (build_function_call): Pass type attributes to
7912 check_function_format rather than name or assembler name. Don't
7913 require there to be a name or assembler name to check formats.
7914
6431177a
JM
79152001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7916
7917 * attribs.c (decl_attributes): Possibly call
7918 insert_default_attributes to insert default attributes on
7919 functions in a lazy manner.
7920 * builtin-attrs.def: New file; define the default format and
7921 format_arg attributes.
7922 * c-common.c (c_format_attribute_table): Move to earlier in the
7923 file.
7924 (c_common_nodes_and_builtins): Initialize format_attribute_table.
7925 (enum built_in_attribute, built_in_attributes,
7926 c_attrs_initialized, c_init_attributes,
7927 c_common_insert_default_attributes): New.
7928 (c_common_lang_init): Don't initialize format_attribute_table. Do
7929 call c_init_attributes.
7930 * Makefile.in (c-common.o): Depend on builtin-attrs.def.
7931 * c-common.h (init_function_format_info): Don't declare.
7932 (c_common_insert_default_attributes): Declare.
7933 * c-decl.c (implicitly_declare, builtin_function): Call
7934 decl_attributes.
7935 (init_decl_processing): Don't call init_function_format_info.
7936 (insert_default_attributes): New.
7937 * c-format.c (handle_format_attribute,
7938 handle_format_arg_attribute): Be quiet about inappropriate
7939 declaration when applying default attributes.
7940 (init_function_format_info): Remove.
7941 * tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
7942 (insert_default_attributes): Declare.
7943
ed0ea560
JM
79442001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
7945
7946 * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
7947
357e3f3d
JW
79482001-10-01 Jim Wilson <wilson@redhat.com>
7949
7950 * sched-deps.c (add_dependence): When elide conditional dependence,
7951 check that insn doesn't modify cond2.
7952
ed947a96
DJ
79532001-10-01 Dale Johannesen <dalej@apple.com>
7954
7955 * config/rs6000/rs6000.h (enum processor_type): Add support
7956 for 7400 (G4) and 7450.
7957 (RTX_COSTS): Ditto.
7958 * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
7959 (rs6000_issue_rate): Ditto.
7960 (rs6000_adjust_cost): Fix cycle counts for compares.
7961 (debug_stack_info): Fix an obvious typo.
7962 * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
7963 * doc/invoke.texi: Document.
7964 * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
7965 for Darwin.
7966 (PROCESSOR_DEFAULT): Ditto.
7967
d93f142f
LR
79682001-10-01 Loren J. Rittle <ljrittle@acm.org>
7969
7970 * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
7971 (fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
7972 later recursive make invocation.
7973
11e9ecc5
HB
79742001-10-01 Hans Boehm <boehm@acm.org>
7975
7976 * optabs.c (emit_libcall_block): When using non-call exceptions,
7977 don't add REG_LIBCALL reg notes to trapping calls.
7978
607a6500
DB
79792001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7980
7981 * flow.c (propagate_block_delete_libcall): Remove unused first arg
7982 (propagate_one_insn): Update for above change
7983
2adaabc6
DB
79842001-10-01 David Billinghurst <David.Billinghurst@riotinto.com>
7985
7986 * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
7987 _Unwind_GetTextRelBase): Argument is unused.
7988
f47e9b4e
RK
7989Mon Oct 1 19:20:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7990
7991 * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
7992 Loop through NOPs, placeholders, and components.
7993 Don't go through NOPs if change mode.
7994 (record_alias_subset): Do nothing if SUBSET and SET are the same.
7995 * emit-rtl.c (set_mem_alias_set): Enable check.
7996 * expr.c (find_placeholder): New function.
7997 (expand_expr, case PLACEHOLDER_EXPR): Use it.
7998 (expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
7999 to modify it and avoid unneeded copies.
8000 * expr.h (expand_expr): Always define.
8001 (find_placeholder): New declaration.
8002
d5d5ec45
SC
80032001-10-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8004
8005 * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
8006 operand 2 is the stack pointer.
8007 ("addr-peephole"): Fix address computation peephole when operand 2
8008 is the stack pointer.
8009
0692acba
RK
8010Mon Oct 1 09:26:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8011
8012 * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
8013 (ix86_setup_incoming_varargs): Likewise.
8014
55b3d665
JM
80152001-10-01 Jason Merrill <jason_merrill@redhat.com>
8016
8017 * stor-layout.c (layout_type): Don't complain about too-large
8018 array here.
8019
173b24b9
RK
8020Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8021
8022 * function.c (keep_stack_depressed): Don't use delete_insn.
8023
8024 * expr.h (set_mem_alias_set): Move decl to here.
8025 * rtl.h (mem_attrs): New typedef and struct.
8026 (union rtunion_def): Add field for mem_attrs.
8027 (X0MEMATTR, MEM_ATTRS): New macros.
8028 (MEM_ALIAS_SET): Use MEM_ATTRS.
8029 (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
8030 (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
8031 (set_mem_alias_set): Delete decl from here.
3054eeed 8032
173b24b9
RK
8033 * alias.c (set_mem_alias_set): Delete from here.
8034 * emit-rtl.c (mem_attrs_htab): New variable.
8035 (rtx_htab_mark, rtx_htab_mark_1): Deleted.
8036 (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
8037 (mem_attrs_mark, get_mem_attrs): Likewise.
8038 (gen_rtx_MEM): Clear MEM_ATTRS.
8039 (set_mem_attributes): Move to here.
8040 (set_mem_alias_set): Likewise, and call get_mem_attrs.
8041 (init_emit_once): const_int_htab now deletable htab.
8042 Initialize mem_attrs_htab.
8043 * explow.c (set_mem_attributes): Delete from here.
8044 * function.c (put_var_into_stack): Clear MEM_ATTRS.
8045 (gen_mem_addressof): Likewise; rework to use set_mem_attributes.
8046 * ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
8047 * reload1.c (reload): Rework changing REG to MEM.
8048
e9449401
L
80492001-09-30 H.J. Lu <hjl@gnu.org>
8050
8051 * acconfig.h (PREFIX_INCLUDE_DIR): New variable.
8052 * config.in: Rebuild.
8053
c9b9c05c
SC
80542001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8055
8056 * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
8057 ("tsthi_1"): Avoid allocation in register y.
8058 ("*movqi_68hc12"): Reorganize and fix constraints.
8059 ("zero_extendqisi2"): Prefer d over x and y for operand 1.
8060 ("addqi3"): Likewise.
8061 ("addhi3"): Fix constraints.
8062 ("*logicalhi3_zexthi"): Disparage soft registers.
8063
713b2058
SC
80642001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8065
8066 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
8067 to tmp reg.
8068
b5b4c48c
SC
80692001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8070
8071 * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
8072 that we use setjmp/longjmp exceptions.
8073
8c3b2693
NB
80742001-09-30 Neil Booth <neil@daikokuya.demon.co.uk>
8075
8076 * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
8077 POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
8078 struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
8079 _cpp_pool_alloc, _cpp_next_chunk): Remove.
8080 (_cpp_extend_buff, BUFF_ROOM): Update.
8081 (_cpp_append_extend_buff): New.
8082 (struct cpp_reader): Remove macro_pool, add a_buff.
8083 * cppinit.c (cpp_create_reader): Initialize a_buff, instead of
8084 macro_pool.
8085 (cpp_destroy): Free a_buff instead of macro_pool.
8086 * cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
8087 new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
8088 _cpp_pool_alloc, ): Remove.
8089 (parse_number, parse_string): Update use of _cpp_extend_buff.
8090 (_cpp_extend_buff): Update.
8091 (_cpp_append_extend_buff, cpp_aligned_alloc): New.
8092 * cpplib.c (glue_header_name, parse_answer):
8093 Update use of _cpp_extend_buff.
8094 (cpp_register_pragma, cpp_register_pragma_space): Use
8095 _cpp_aligned_alloc.
8096 (do_assert, do_unassert): Check for EOL, update.
8097 * cppmacro.c (stringify_arg, collect_args): Update to use
8098 _cpp_extend_buff and _cpp_append_extend_buff.
8099 (save_parameter, parse_params, alloc_expansion_token,
8100 _cpp_create_definition): Rework memory management.
8101
ed9fca3f
AP
81022001-09-29 Andris Pavenis <pavenis@lanet.lv>
8103
8104 * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
8105 update md_exec_prefix.
8106 (UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
8107 to string constant.
8108
ba956982
UW
81092001-09-30 Ulrich Weigand <uweigand@de.ibm.com>
8110
8111 * config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
8112 (SELECT_CC_MODE): Use s390_select_ccmode.
8113 * config/s390/s390-protos.h (s390_select_ccmode): Add.
8114 * config/s390/s390.c (s390_select_ccmode): New.
8115 (s390_match_ccmode): Add CCLmode.
8116 (s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
8117 (output_branch_condition, output_inverse_branch_condition): Removed.
8118 (print_operand): Use s390_branch_condition_mnemonic.
8119 * config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
8120 subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
8121 (bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.
8122
8123 * config/s390/s390.c (check_and_change_labels): Preserve CC mode
8124 when converting conditional branches to far branches.
8125 * config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
8126 cmpint_di): Use CCSmode instead of CCUmode.
8127
8128 * config/s390/s390.c (legitimate_la_operand_p): New.
8129 * config/s390/s390-protos.h (legitimate_la_operand_p): Add.
8130 * config/s390/s390.md (movsi): Convert load address patterns to
8131 arithmetic operations when necessary.
8132 (addaddr_picR, addaddr_picL, addaddr_picN): Removed.
8133 (do_la): Renamed to *do_la and use legitimate_la_operand_p.
8134 (*do_la_reg_0): Don't use before reload.
8135
8136 * config/s390/s390.c (legitimize_address): Make more efficient
8137 use of two-register addressing mode.
8138
8139 * config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
8140 with -mno-backchain in some corner cases.
8141
8142 * config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.
8143
3d17d93d
AO
81442001-09-29 Alexandre Oliva <aoliva@redhat.com>
8145
8146 * reload.c (find_reloads): Mark new USE insns with QImode.
8147 (find_reloads_toplev, find_reloads_address, subst_reg_equivs,
8148 find_reloads_subreg_address): Likewise.
8149 * regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
8150 encountered.
8151 * reload1.c (reload_combine_note_use): Likewise, inside USEs and
8152 CLOBBERs.
8153 (reload): Make sure there are no USEs with mode other than
8154 VOIDmode. At the end, remove those marked with QImode.
8155
793e9558
PB
81562001-09-29 Per Bothner <per@bothner.com>
8157
8158 * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
8159 * Makefile.in (includedir): Rename to local_includedir.
8160 (includedir): Define as $(prefix)/include.
8161 * config.in (PREFIX_INCLUDE_DIR): New variable.
8162 * configure.in (PREFIX_INCLUDE_DIR): Test for new variable.
8163
1255c85c
BS
81642001-09-29 Bernd Schmidt <bernds@redhat.com>
8165
8166 * config/i386/i386.c (init_mmx_sse_builtins): Fix type of storelps and
8167 storehps builtins.
8168 * doc/extend.texi (Vector Extensions): New node.
8169 * doc/invoke.texi (Machine Dependent Options): Add documentation for
592188a5 8170 i386 -mmmx, -msse, -m3dnow.
1255c85c 8171
86be733d
JH
8172Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
8173
8174 * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
8175
8d2cef84
HPN
81762001-09-29 Hans-Peter Nilsson <hp@axis.com>
8177
6dee7384
HPN
8178 * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
8179
8d2cef84
HPN
8180 * doc/invoke.texi (Optimize Options): Delete spurious @table.
8181
a3623c48
RH
81822001-09-28 Richard Henderson <rth@redhat.com>
8183
410ad077
RH
8184 * varasm.c (assemble_integer): Bound alignment check by
8185 BIGGEST_ALIGNMENT.
8186
a3623c48
RH
8187 * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
8188
5bc10877
RO
81892001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8190
8191 * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
8192
47f339cf
BS
81932001-09-25 Bernd Schmidt <bernds@redhat.com>
8194
8195 Mostly from Graham Stott <grahams@redhat.com>
8196 * c-common.c (type_for_mode): Add support for V2SFmode.
8197 * tree.c (build_common_tree_nodes_2): Likewise.
8198 * tree.h (enum tree_index, global_trees): Likewise.
8199 * config/i386/i386.c (x86_3dnow_a): New variable.
8200 (override_options): Support 3Dnow extensions.
8201 (bdesc_2arg, bdesc_1arg): Some SSE instructions are also part of
8202 Athlon's version of 3Dnow.
8203 (ix86_init_mmx_sse_builtins): Create 3Dnow builtins.
8204 (ix86_expand_builtin): Handle them.
8205 (ix86_hard_regno_mode_ok): Support V2SFmode if using 3Dnow.
8206 * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, TARGET_3DNOW,
8207 TARGET_3DNOW_A): New macros.
8208 (TARGET_SWITCHES): Add 3Dnow switches.
8209 (VALID_MMX_REG_MODE_3DNOW): New macro.
8210 (VECTOR_MODE_SUPPORTED_P): Use it.
8211 (enum ix86_builtins): Add entries for 3Dnow builtins.
8212 * config/i386/i386.md (movv2sf_internal, movv2sf, pushv2sf, pf2id,
8213 pf2iw, addv2sf3, subv2sf3, subrv2sf3, gtv2sf3, gev2sf3, eqv2sf3,
8214 pfmaxv23sf3, pfminv2sf3, mulv2sf3, femms, prefetch_3dnow, prefetchw,
8215 pfacc, pfnacc, pfpnacc, pi2fw, floatv2si2, pavgusb, pfrcpv2sf2,
8216 pfrcpit1v2sf3, pfrcpit2v2sf3, pfrsqrtv2sf2, pfrsqit1v2sf3,
8217 pmulhrwvhi3, pswapdv2si2, pswapdv2sf2): New patterns.
8218 (mmx_pmovmskb, mmx_maskmovq, sse_movntdi, umulv4hi3_highpart,
8219 mmx_uavgv8qi3, mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw,
8220 mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
8221 sfence_insn, prefetch): Make these available if TARGET_SSE or
8222 TARGET_3DNOW_A.
3054eeed 8223
ad919812
JH
8224Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
8225
8226 * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
8227 ix86_va_start, ix86_build_va_list): Declare.
8228 * i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
8229 ix86_va_start, ix86_build_va_list): New global functions.
8230 * i386.md (sse_prologue_save_insn): New insn.
8231 (sse_prologue_save): New expander.
8232 * i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
8233 BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.
8234
6142088c
NB
82352001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
8236
8237 * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
8238 Use size_t everywhere, make definitions consistent with
3054eeed 8239 prototypes.
6142088c 8240
49ce134f
JH
8241Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
8242
8243 * gcse.c (replace_store_insn): Use delete_insn.
8244 * loop.c (move_movables): Likewise; avoid delete_insn
8245 from clobbering notes moved elsewhere.
8246 (check_dbra_loop): Use delete_insn.
8247 * ssa.c (convert_from_ssa): Likewise.
8248 * cse.c (cse_insn): Use delete_insn.
8249
ece54d54
NB
82502001-09-28 Neil Booth <neil@daikokuya.demon.co.uk>
8251
8252 * cpphash.h (struct cpp_buff): Make unsigned.
8253 (_cpp_get_buff): Take length of size_t.
8254 (_cpp_unaligned_alloc): New.
8255 (BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
8256 (struct cpp_reader): Remove ident_pool. Add u_buff.
8257 * cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
8258 (cpp_destroy): Destroy u_buff, not ident_pool.
8259 * cpplex.c (parse_number, parse_string, save_comment,
8260 cpp_token_as_text): Update to use the unaligned buffer.
8261 (new_buff): Make unsigned.
8262 (_cpp_unaligned_alloc): New.
8263 * cpplib.c (glue_header_name): Update to use the unaligned buffer.
8264 * cppmacro.c (new_number_token, builtin_macro, stringify_arg):
8265 Similarly.
8266 (collect_args): Make unsigned.
8267
3b681e9d
ZW
82682001-09-27 Zack Weinberg <zack@codesourcery.com>
8269
8270 * cpplex.c (cpp_output_token): Use a putc loop for
8271 SPELL_OPERATOR, and fwrite for SPELL_IDENT.
8272
8273 * configure.in: Detect fwrite_unlocked and fprintf_unlocked.
8274 * configure, config.in: Regenerate.
8275 * system.h: Replace fwrite and fprintf with their unlocked
8276 variants if available.
8277
b97d4c0b
RH
82782001-09-27 Richard Henderson <rth@redhat.com>
8279
8280 * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
8281 in favour of .eh_frame.
8282
e9cf9523
AH
82832001-09-27 Aldy Hernandez <aldyh@redhat.com>
8284
3b681e9d 8285 * config/rs6000/rs6000.h (FUNCTION_VALUE): Change hardcoded 33 and 3
e9cf9523
AH
8286 to macros.
8287 (LIBCALL_VALUE): Likewise.
8288
c9e7a609
NB
82892001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
8290
8291 * cpphash.h: Update comment.
8292 * cpplex.c: Update comments.
8293 (_cpp_can_paste): Remove.
8294 * cpplib.h (_cpp_can_paste): Remove.
8295 * cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
8296 lexer rather than _cpp_can_paste.
8297
4cf817a7
NB
82982001-09-27 Neil Booth <neil@daikokuya.demon.co.uk>
8299
8300 * doc/cppinternals.texi: Update.
8301
1e013d2e
NB
83022001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
8303
8304 * cpphash.h (struct cpp_pool): Remove locks and locked.
8305 (struct cpp_context): Add member buff.
8306 (struct cpp_reader): Remove member argument_pool.
8307 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
8308 * cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
8309 * cpplex.c (chunk_suitable): Remove pool argument.
8310 (MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
8311 (new_buff, _cpp_extend_buff): Update.
8312 (_cpp_get_buff): Fix silly pointer bug. Be more selective about
8313 which buffer is returned.
8314 (_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
8315 (_cpp_lock_pool, _cpp_unlock_pool): Remove.
8316 * cppmacro.c (lock_pools, unlock_pools): Remove.
8317 (push_ptoken_context): Take a _cpp_buff.
8318 (enter_macro_context): Pool locking removed.
8319 (replace_args): Use a _cpp_buff for the replacement list with
8320 arguments replaced.
8321 (push_token_context): Clear buff.
8322 (expand_arg): Use _cpp_pop_context.
8323 (_cpp_pop_context): Free a context's buffer, if any.
8324
a63f73f8
DD
83252001-09-26 DJ Delorie <dj@redhat.com>
8326
8327 * c-typeck.c (digest_init): Check for sizeless arrays.
8328
9c2f7166
RH
83292001-09-26 Richard Henderson <rth@redhat.com>
8330
8331 * optabs.c (init_one_libfunc): Create a dummy function type
8332 instead of using error_mark_node.
8333
b8af0ca5
NB
83342001-09-26 Neil Booth <neil@daikokuya.demon.co.uk>
8335
8336 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
8337 _cpp_extend_buff, _cpp_free_buff): New.
8338 (struct cpp_reader): New member free_buffs.
8339 * cppinit.c (cpp_destroy): Free buffers.
8340 * cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
8341 _cpp_extend_buff, _cpp_free_buff): New.
8342 * cpplib.h (struct cpp_options): Remove unused member.
8343 * cppmacro.c (collect_args): New. Combines the old parse_arg
8344 and parse_args. Use _cpp_buff for memory allocation.
8345 (funlike_invocation_p, replace_args): Update.
8346
2e106602
JH
8347Wed Sep 26 13:20:51 CEST 2001 Jan Hubicka <jh@suse.cz>
8348
8349 * final.c (final_scan_insn): Use delete_insn instead of delete_note.
8350
fd2c57a9
AH
83512001-09-25 Andrew Haley <aph@cambridge.redhat.com>
8352
8353 * except.c (sjlj_mark_call_sites): Change address inside sequence.
8354
ee3d5b8e
AH
83552001-09-24 Andrew Haley <aph@cambridge.redhat.com>
8356
8357 * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
8358 glibc.
8359
b499d9ab
JJ
83602001-09-25 Janis Johnson <janis187@us.ibm.com>
8361 Jim Wilson <wilson@redhat.com>
8362
8363 * doc/install.texi (Specific, ia64-*-linux): Document.
8364
ca6c03ca
JH
8365Tue Sep 25 17:13:56 CEST 2001 Jan Hubicka <jh@suse.cz>
8366
8367 * Makefile.in (cfgrtl.o): Add.
8368 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
8369 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
8370 free_aux_for_edge): Declare.
8371 * cfg.c
8372 (HAVE_return): Undefine.
8373 * basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
8374 free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
8375 free_aux_for_edge): New global functions.
8376 (first_delete_block): New static variable.
8377 (init_flow): Clear first_delete_block.
8378 (basic_block_for_insn, label_value_list, tail_recursion_label_list,
8379 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
8380 try_redirect_by_replacing_jump, last_loop_beg_note,
8381 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
8382 delete_insn, delete_insn_chain, create_basic_block_structure,
8383 create_basic_block, flow_delete_block, compute_bb_for_insn,
8384 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
8385 set_block_for_new_insns, split_block, merge_blocks_nomove,
8386 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
8387 redirect_edge_and_branch, force_nonfallthru_and_redirect,
8388 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
8389 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
8390 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
8391 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
8392 purge_all_dead_edges): Move to ....
8393 * cfgrtl.c: New file; .... Here.
8394
8395 * bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
8396 (reroder_basic_block): Use alloc_aux_for_blocks.
8397 * predict.c (estimate_bb_frequencies): Likewise; use
8398 alloc_aux_for_edges.
8399 * profile.c (compute_branch_probabilities): Likewise.
8400 (branch_prob): Likewise.
8401 * reg-stack.c (reg_to_stack): Likewise.
8402
8403 * emit-rtl.c (emit_insns_after): Never return NULL.
8404
8405 * basic-block.h (set_block_for_new_insns): Delete.
8406 * cfgrtl.c (set_block_for_new_insns): Delete.
8407
8408 * cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
8409 calls when crossjumping.
8410
8411 * cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
8412 * unroll.c (copy_loop_body): Use delete_insn.
8413
8414 * final.c (final, final_scan_insn): Use delete_insn/delete_note.
8415 * function.c (fixup_var_refs_insn, fixup_var_refs_1,
8416 keep_stack_depressed): Likewise.
8417 * gcse.c (cprop_cc0_jump): Likewise.
8418 * local-alloc.c (update_equiv_regs): Likewise.
8419 * loop.c (scan_loop, loop_delete_insns): Likewise.
8420 * regmove.c (try_auto_increment, fixup_match_1): Likewise.
8421 * reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
8422 delete_output_reload, delete_address_reloads_1,
8423 reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
8424 Likewise.
8425 * sibcall.c (replace_call_placeholder): Likewise.
8426 * cse.c (cse_insn): Likewise.
8427
eeb06b1b
BS
84282001-09-25 Bernd Schmidt <bernds@redhat.com>
8429
8430 From Graham Stott <grahams@redhat.com>
8431 (def_builtin): Only define builtins appropriate for target_flags. All
8432 callers changed.
8433 (builtin_decsription): Add new field mask which is used to determine
8434 when to define the builtin via the macro def_builtin.
8435
8436 (bdesc_comi): Initialise new mask fields.
8437 (bdesc_2srg): Likewise.
8438 (bdesc_1arg): Likewise.
8439
3b681e9d 8440 * config/i386/i386.c (ix86_init_builtins): Correct return type
21e1b5f1
BS
8441 building v4hi_ftype_v4hi_int_int tree node.
8442 (ix86_expand_sse_comi): Fix typo swapping operands.
8443 Don't swap comparision condition, it is already swapped.
8444 (ix86_expand_sse_compare): Before swapping operands
8445 move operand 1 into new rtx and not the target rtx.
8446 Don't swap comparison condition, it is already swapped.
8447 Always check whether we need to create a new TARGET.
8448
8449 * config/i386/i386.md: (sse_comi) Fix typos.
8450 (sse_ucomi): Likewise.
8451 (cvtss2si): Fix operand 0 contraint.
8452 (cvttss2si): Likewise.
8453 (sse_unpckhps): Fix mode for operand 2.
8454 (sse_unpcklps): Likewise.
8455
87f8b15f
GS
84562001-09-25 Graham Stott <grahams@redhat.com>
8457
8458 * sibcall.c (skip_copy_to_return_value): Tighten return value
8459 copy check.
8460
6a40a9d6
DE
84612001-09-24 David Edelsohn <edelsohn@gnu.org>
8462
8463 * rs6000.c (lwa_operand): Address must be word aligned.
8464
6abba055
RK
8465Mon Sep 24 18:57:59 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8466
8467 * tree.c (type_hash_marked_p): Consider as marked if debug symbol
8468 number has been set.
8469 (type_hash_mark): Mark type itself.
8470
4ed5bcfb
NB
84712001-09-24 Neil Booth <neil@daikokuya.demon.co.uk>
8472
8473 * c-lex.c (cb_def_pragma): Update.
8474 (c_lex): Update, and skip padding.
8475 * cppexp.c (lex, parse_defined): Update, remove unused variable.
8476 * cpphash.h (struct toklist): Delete.
8477 (union utoken): New.
8478 (struct cpp_context): Update.
8479 (struct cpp_reader): New members eof, avoid_paste.
8480 (_cpp_temp_token): New.
8481 * cppinit.c (cpp_create_reader): Update.
8482 * cpplex.c (_cpp_temp_token): New.
8483 (_cpp_lex_direct): Add PREV_WHITE when parsing args.
8484 (cpp_output_token): Don't print leading whitespace.
8485 (cpp_output_line): Update.
8486 * cpplib.c (glue_header_name, parse_include, get__Pragma_string,
8487 do_include_common, do_line, do_ident, do_pragma,
8488 do_pragma_dependency, _cpp_do__Pragma, parse_answer,
8489 parse_assertion): Update.
8490 (get_token_no_padding): New.
8491 * cpplib.h (CPP_PADDING): New.
8492 (AVOID_LPASTE): Delete.
8493 (struct cpp_token): New union member source.
8494 (cpp_get_token): Update.
8495 * cppmacro.c (macro_arg): Convert to use pointers to const tokens.
8496 (builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
8497 replace_args, quote_string, stringify_arg, parse_arg, next_context,
8498 enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
8499 _cpp_backup_tokens, _cpp_create_definition): Update.
8500 (push_arg_context): Delete.
8501 (padding_token, push_token_context, push_ptoken_context): New.
8502 (make_string_token, make_number_token): Update, rename.
8503 (cpp_get_token): Update to handle tokens as pointers to const,
8504 and insert padding appropriately.
8505 * cppmain.c (struct printer): New member prev.
8506 (check_multiline_token): Constify.
8507 (do_preprocessing, cb_line_change): Update.
8508 (scan_translation_unit): Update to handle spacing.
8509 * scan-decls.c (get_a_token): New.
8510 (skip_to_closing_brace, scan_decls): Update.
8511 * fix-header.c (read_scan_file): Update.
8512
8513 * doc/cpp.texi: Update.
8514
ad43d46f
KG
85152001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8516
8517 * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
8518 leak by passing malloc'ed pointer to reconcat, not concat.
8519
b6fc7110
DD
85202001-09-24 DJ Delorie <dj@redhat.com>
8521
8522 * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
8523
967bd823
UW
85242001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
8525
8526 * flow.c (delete_dead_jumptables): Delete jumptable if the only
8527 reference is from the literal pool.
8528
b9da07da
JJ
85292001-09-24 Janis Johnson <janis187@us.ibm.com>
8530
8531 * doc/install.texi (Final install): Request additional information
3b681e9d 8532 in mail about successful builds.
b9da07da 8533
cf3735b8
JDA
85342001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8535
8536 * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
8537 initial value of return pointer register instead of value in frame-20.
8538 Revise comments.
8539
f3403757
JDA
85402001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8541
8542 * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
8543 (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
8544 the libcall if there isn't a referenced identifier for the symbol.
8545
8e1494b7
JDA
85462001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8547
8548 * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
8549 non 64-bit machines. Use these as a plabel for the trampoline.
8550 (TRAMPOLINE_SIZE): Adjust size for new words.
8551 (INITIALIZE_TRAMPOLINE): Initialize new words.
8552 (TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
8553 pointer to the plabel in the trampoline.
8554
b848dc65
JDA
85552001-09-24 John David Anglin <dave@hiauly1.hia.nrc.ca>
8556
8557 * pa.c (function_arg): Pass floating arguments in both general and
8558 floating registers in indirect (dynamic) calls when generating code
8559 for the 32 bit ABI and the HP assembler.
8560
250d5688
RO
85612001-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8562
8563 * doc/install.texi: Markup fixes.
8564 Use Solaris 2, SunOS 4 as appropriate.
8565 (Specific, *-*-solaris2*): Explain this.
8566 Unconditionally warn against /usr/ucb tools.
8567 Remove Sun as warning, obsolete.
8568 Move X11 header bug workaround here, update patches.
8569 (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
8570 (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
8571
749ced52
ZW
85722001-09-23 Zack Weinberg <zack@codesourcery.com>
8573
8574 * errors.h (warning, error, fatal, internal_error): Don't mark
8575 with ATTRIBUTE_PRINTF_n.
8576 * toplev.h (internal_error, fatal_io_error, warning, error,
8577 pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
8578 error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
8579 Likewise.
8580
a0fd557a
RK
8581Sun Sep 23 18:19:48 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8582
7a80cf9a
RK
8583 * function.c (pop_function_context_from): var_refs_queue
8584 and temp slots now in GC memory.
8585 (mark_function_status, free_after_compilation): Likewise;
8586 also struct function now in GC memory.
8587 (assign_stack_temp_for_type): struct temp_slot now in GC memory.
8588 (combine_temp_slots): Likewise.
8589 (schedule_fixup_var_refs): var_refs_queue now in GC memory.
8590 (prepare_function_start): Use GC memory for struct function.
8591 (mark_temp_slot): Deleted.
8592 (gcc_mark_struct_function): struct function now in GC memory.
8593
0629440f
RK
8594 * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
8595 code for division, not modulus.
8596
a0fd557a
RK
8597 * rtl.def (MEM): Remove obsolete part of comment.
8598
040cc071
JM
85992001-09-22 Joseph S. Myers <jsm28@cam.ac.uk>
8600
8601 * c-format.c (init_function_format_info): Check __builtin_printf
8602 and __builtin_fprintf even if -ffreestanding. Check C99 functions
8603 in gnu89 mode.
8604
bb9f8221
RK
8605Sat Sep 22 09:09:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8606
0c96e965
RK
8607 * c-common.c (format_attribute_table): Remove decl.
8608 * tree.h (format_attribute_table, lang_attribute_table): New decls.
8609 (lang_attribute_common): Likewise.
8610
6a1d250e
RK
8611 * function.c (fix_lexical_address): Use set_mem_alias_set.
8612 (expand_function_start): Likewise.
8613 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
8614
f42f3c2d
RK
8615 * varasm.c (output_constant): Fix unused variable warning.
8616
bb9f8221
RK
8617 * attribs.c: New file, from c-common.c.
8618 (attribute_tables): Now four elements.
8619 (format_attribute_table, lang_attribute_common): New variables.
8620 (init_attributes): Reflect above changes.
8621 (handle_mode_attribute): Delete check for wider than uintmax.
8622 * c-common.c: Delete parts moved to attribs.c.
8623 (enum attrs): Deleted; unused.
8624 (c_format_attribute_table): New variable.
8625 (c_common_lang_init): Initialize format_attribute_table with it.
8626 * c-common.h (decl_attributes): Remove decl.
8627 * tree.h (decl_attribute): Move it to here.
8628 * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
8629 (attribs.o): New rule.
8630
b8d323b1
AJ
86312001-09-22 Andreas Jaeger <aj@suse.de>
8632
8633 * builtins.c (c_getstr): Remove unused variable.
8634
e5eac8ef
RH
86352001-09-21 Richard Henderson <rth@redhat.com>
8636
8637 * reload1.c (reload): Use delete_insn instead of splatting
8638 NOTE_INSN_DELETED.
8639
8a9a857e
RH
86402001-09-21 Richard Henderson <rth@redhat.com>
8641
8642 * reload.c (push_secondary_reload): Don't check for "=" in output
8643 constraint after ""->ALL_REGS check.
8644
ee1315aa
RH
86452001-09-21 Richard Henderson <rth@redhat.com>
8646
24ee7cae
RH
8647 * predict.c (expected_value_to_br_prob): Use pc_set.
8648
ee1315aa
RH
8649 * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
8650 ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
8651
9defc9b7
RH
86522001-09-21 Richard Henderson <rth@redhat.com>
8653
8654 * rtl.h (LCT_RETURNS_TWICE): New.
8655 * calls.c (emit_call_1): Set current_function_calls_setjmp for
8656 ECF_RETURNS_TWICE.
8657 (emit_library_call_value_1): Map LCT_RETURNS_TWICE
8658 to ECF_RETURNS_TWICE.
8659 * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
8660 call to setjmp.
8661
8662 * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
8663
8664 * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
8665 (JMP_BUF_SIZE): New.
8666
1853547e
RH
86672001-09-21 Richard Henderson <rth@redhat.com>
8668
8669 * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
8670 to R8_REGS.
8671
67231816
RH
86722001-09-21 Richard Henderson <rth@redhat.com>
8673
8674 * tree.def (FDESC_EXPR): New.
8675 * expr.c (expand_expr): Handle it.
8676 * varasm.c (initializer_constant_valid_p): Likewise.
8677 (output_constant): Likewise.
8678 * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8679 * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
8680 (ASM_OUTPUT_FDESC): New.
8681 * doc/tm.texi: Document the new macros.
8682
f62ce55b
RE
868321-09-2001 Richard Earnshaw (reanrsha@arm.com)
8684
b8d323b1 8685 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
f62ce55b
RE
8686 ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
8687 once merging is complete.
8688
97a4f671
RK
8689Fri Sep 21 11:20:12 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8690
8691 * integrate.c (allocate_initial_values): Eliminate unused arg warning.
8692
7106d491
RE
869321-09-2001 Richard Earnshaw (reanrsha@arm.com)
8694
8695 * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
8696 that would be invalid after a merge.
8697
53c17031
JH
8698Fri Sep 21 14:24:29 CEST 2001 Jan Hubicka <jh@suse.cz>
8699
8700 * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
8701 * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
8702 remove some labels.
8703 (flow_delete_insn): This one.
8704 (delete_insn_chain): Rename from ...; do not care labels.
8705 (flow_delete_insn_chain): ... this one.
8706 (flow_delete_block): Remove the insns one BB has been expunged.
8707 (merge_blocks_nomove): Likewise.
8708 (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
8709 updating BB boundaries.
8710 (tidy_fallthru_edge): Likewise.
8711 (commit_one_edge_insertion): Likewise.
8712 * cfgbuild.c (find_basic_block): Likewise.
8713 (find_basic_blocks_1): Likewise.
8714 * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
8715 (try_crossjump_to_edge): Likewise.
8716 (try_optimize_cfg): Likewise.
8717 * cse.c (delete_trivially_dead_insns): Likewise.
8718 * df.c (df_insn_delete): Likewise.
8719 * doloop.c (doloop_modify): Use delete_related_insns.
8720 * emit-rtl.c (try_split): Likewise.
8721 (remove_insn): Update BB boundaries.
8722 * expect.c (connect_post_landing_pads): Use delete_related_insns.
8723 * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
8724 updating BB boundaries.
8725 (propagate_block_delete_insn): Likewise.
8726 (propagate_block_delete_libcall): Likewise.
8727 * function.c (delete_handlers): Use delete_related_insns.
8728 (thread_prologue_and_epilogue_insns): Likewise.
8729 * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
8730 * genpeep.c (gen_peephole): Use delete_related_insns.
8731 * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
8732 BB boundaries.
8733 (find_cond_trap): Likewise.
8734 * integrate.c (save_for_inline): Use delete_related_insns.
8735 (copy_insn_list): Likewise.
8736 * jump.c (pruge_linie_number_notes): Likewise.
8737 (duplicate_loop_exit_test): Likewise.
8738 (delete_computation): Likewise.
8739 (delete_related_insn): Rename from ...; use delete_insn
8740 (delete_insn): ... this one.
8741 (redirect_jump): Use delete_related_insns.
8742 * loop.c (scan_loop): Likewise.
8743 (move_movables): Likewise.
8744 (find_and_verify_loops): Likewise.
8745 (check_dbra_loop): Likewise.
8746 * recog.c (peephole2_optimize): Likewise.
8747 * reg-stack.c (delete_insn_for_stacker): Remove.
8748 (move_for_stack_reg): Use delete_insn.
8749 * regmove.c (combine_stack_adjustments_for_block): Likewise.
8750 * reload1.c (delete_address_reloads): Use delete_related_insns.
8751 (fixup_abnormal_edges): Use delete_insn.
8752 * recog.c (emit_delay_sequence): Use delete_related_insns.
8753 (delete_from-delay_slot): Likewise.
8754 (delete_scheduled_jump): likewise.
8755 (optimize_skip): Likewise.
8756 (try_merge_delay_insns): Likewise.
8757 (full_simple_delay_slots): Likewise.
8758 (fill_slots_from_thread): Likewise.
8759 (relax_delay_slots): Likewise.
8760 (make_return_insns): Likewise.
8761 (dbr_schedule): Likewise.
8762 * rtl.h (delete_insn): Rename to delete_related_insns.
8763 (delete_insn, delete_insn_chain): New prototypes.
8764 * ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
8765 by df_insn_delete already.
8766 * ssa-dce.c (delete_insn_bb): Use delete_insn.
8767 * ssa.c (convert_from_ssa): Use delete_related_insns.
8768 * unroll.c (unroll_loop): Likewise.
8769 (calculate_giv_inc): Likewise.
8770 (copy_loop_body): Likewise.
8771
8772 * i386-protos.h (ix86_libcall_value, ix86_function_value,
8773 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8774 ix86_return_in_memory, ix86_function_value): Declare.
8775 * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
8776 new static valurables.
8777 (x86_64_reg_class): New enum
8778 (x86_64_reg_class_name): New array.
8779 (classify_argument, examine_argument, construct_container,
8780 merge_classes): New static functions.
8781 (optimization_options): Enable flag_omit_frame_pointer and disable
8782 flag_pcc_struct_return on 64bit.
8783 (ix86_libcall_value, ix86_function_value,
8784 ix86_function_arg_regno_p, ix86_function_arg_boundary,
8785 ix86_return_in_memory, ix86_function_value): New global functions.
8786 (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
8787 (function_arg_advance): Handle x86_64 passing conventions.
8788 (function_arg): Likewise.
8789 * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
8790 (RETURN_IN_MEMORY): Move offline.
8791 (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
8792 (FUNCTION_VALUE_REGNO_P): New macro.
8793 (FUNCTION_ARG_REGNO_P): Move offline.
8794 (struct ix86_args): Add maybe_vaarg.
8795 * next.h (FUNCTION_VALUE_REGNO_P): Delete.
8796 * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
8797
f2d3c02a
HP
87982001-09-21 Hartmut Penner <hpenner@de.ibm.com>
8799
8800 * s390.md: Changed attributes for scheduling.
8801 * s390.c: (s390_adjust_cost, s390_adjust_priority)
8802 Changed scheduling
8803
91d231cb
JM
88042001-09-21 Joseph S. Myers <jsm28@cam.ac.uk>
8805
8806 Table-driven attributes.
8807 * c-decl.c, config/alpha/alpha.c, config/arc/arc.c,
8808 config/arm/arm.c, config/arm/pe.c, config/avr/avr.c,
8809 config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h,
8810 config/h8300/h8300.c, config/i386/cygwin.h, config/i386/winnt.c,
8811 config/m32r/m32r.c, config/mcore/mcore.c, config/sh/sh.c,
8812 config/stormy16/stormy16.h, config/v850/v850.c, doc/c-tree.texi,
8813 doc/tm.texi, ggc-common.c, integrate.c, print-tree.c, tree.c,
8814 tree.h: Rename DECL_MACHINE_ATTRIBUTES to DECL_ATTRIBUTES.
8815 * tree.h (struct tree_decl): Change machine_attributes to
8816 attributes.
8817 * doc/c-tree.texi: Document that all attributes are now attached
8818 to decls and types.
8819 * c-common.c (add_attribute, attrtab, attrtab_idx,
8820 default_valid_lang_attribute, valid_lang_attribute): Remove.
8821 (attribute_tables, attributes_initialized,
8822 c_common_attribute_table, default_lang_attribute_table): New
8823 variables.
8824 (handle_packed_attribute, handle_nocommon_attribute,
8825 handle_common_attribute, handle_noreturn_attribute,
8826 handle_unused_attribute, handle_const_attribute,
8827 handle_transparent_union_attribute, handle_constructor_attribute,
8828 handle_destructor_attribute, handle_mode_attribute,
8829 handle_section_attribute, handle_aligned_attribute,
8830 handle_weak_attribute, handle_alias_attribute,
8831 handle_no_instrument_function_attribute,
8832 handle_no_check_memory_usage_attribute, handle_malloc_attribute,
8833 handle_no_limit_stack_attribute, handle_pure_attribute): New
8834 functions.
8835 (init_attributes, decl_attributes): Rewrite to implement
8836 table-driven attributes.
8837 * c-common.h (enum attribute_flags): Move to tree.h.
8838 * c-format.c (decl_handle_format_attribute,
8839 decl_handle_format_arg_attribute): Rename to
8840 handle_format_attribute and handle_format_arg_attribute. Update
8841 for table-driven attributes.
8842 * c-common.h (decl_handle_format_attribute,
8843 decl_handle_format_arg_attribute): Remove prototypes.
8844 (handle_format_attribute, handle_format_arg_attribute): Add
8845 prototypes.
8846 * c-decl.c (grokdeclarator): Handle attributes nested inside
8847 declarators.
8848 * c-parse.in (setattrs, maybe_setattrs): Remove.
8849 (maybe_type_quals_setattrs): Rename to maybe_type_quals_attrs.
8850 Update to handle nested attributes properly.
8851 (maybe_resetattrs, after_type_declarator,
8852 parm_declarator_nostarttypename, notype_declarator, absdcl1_noea,
8853 absdcl1_ea, direct_absdcl1): Update to handle nested attributes
8854 properly.
8855 (make_pointer_declarator): Update to handle nested attributes
8856 properly.
8857 * doc/extend.texi: Update documentation of limits of attributes
8858 syntax. Warn about problems with attribute semantics in C++.
8859 * target.h (struct target): Remove valid_decl_attribute and
8860 valid_type_attribute. Add attribute_table and
8861 function_attribute_inlinable_p.
8862 * target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
8863 TARGET_VALID_TYPE_ATTRIBUTE): Remove.
8864 (TARGET_ATTRIBUTE_TABLE, TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P):
8865 Add.
8866 (TARGET_INITIALIZER): Update.
8867 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): Remove default
8868 definition.
8869 (function_attribute_inlinable_p): New function. Check for the
8870 presence of any machine attributes before using
8871 targetm.function_attribute_inlinable_p.
8872 (function_cannot_inline_p): Update.
8873 * Makefile.in (integrate.o): Update dependencies.
8874 * doc/tm.texi: Update documentation of target attributes and
8875 example definition of TARGET_VALID_TYPE_ATTRIBUTE.
8876 * tree.c (default_valid_attribute_p, valid_machine_attribute):
8877 Remove.
8878 (default_target_attribute_table,
8879 default_function_attribute_inlinable_p): New.
8880 (lookup_attribute): Update comment to clarify handling of multiple
8881 attributes with the same name.
8882 (merge_attributes, attribute_list_contained): Allow multiple
8883 attributes with the same name but different arguments to appear in
8884 the same attribute list.
8885 * tree.h (default_valid_attribute_p): Remove prototype.
8886 (struct attribute_spec): New.
8887 (default_target_attribute_table): Declare.
8888 (enum attribute_flags): Move from c-common.h. Add
8889 ATTR_FLAG_TYPE_IN_PLACE.
8890 (default_function_attribute_inlinable_p): Declare.
8891 * config/alpha/alpha.c (vms_valid_decl_attribute_p): Remove.
8892 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8893 (TARGET_ATTRIBUTE_TABLE): Define.
8894 (vms_attribute_table): New.
8895 * config/arc/arc.c (arc_valid_decl_attribute): Remove.
8896 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8897 (TARGET_ATTRIBUTE_TABLE): Define.
8898 (arc_attribute_table, arc_handle_interrupt_attribute): New.
8899 * config/arm/arm.c (arm_valid_type_attribute_p,
8900 arm_valid_decl_attribute_p, arm_pe_valid_decl_attribute_p):
8901 Remove.
8902 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8903 define.
8904 (TARGET_ATTRIBUTE_TABLE): Define.
8905 (arm_attribute_table, arm_handle_fndecl_attribute,
8906 arm_handle_isr_attribute): New.
8907 * config/avr/avr.c (avr_valid_type_attribute,
8908 avr_valid_decl_attribute): Remove.
8909 (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Don't
8910 define.
8911 (TARGET_ATTRIBUTE_TABLE): Define.
8912 (avr_attribute_table, avr_handle_progmem_attribute,
8913 avr_handle_fndecl_attribute): New.
8914 * config/c4x/c4x.c (c4x_valid_type_attribute_p): Remove.
8915 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8916 (TARGET_ATTRIBUTE_TABLE): Define.
8917 (c4x_attribute_table, c4x_handle_fntype_attribute): New.
8918 * config/h8300/h8300.c (h8300_valid_decl_attribute): Remove.
8919 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8920 (TARGET_ATTRIBUTE_TABLE): Define.
8921 (h8300_attribute_table, h8300_handle_fndecl_attribute,
8922 h8300_handle_eightbit_data_attribute,
8923 h8300_handle_tiny_data_attribute): New.
8924 * config/i386/i386-protos.h (ix86_valid_type_attribute_p,
8925 i386_pe_valid_decl_attribute_p, i386_pe_valid_type_attribute_p):
8926 Remove prototypes.
8927 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New
8928 declarations.
8929 * config/i386/i386.c (ix86_valid_type_attribute_p: Remove.
8930 (TARGET_VALID_TYPE_ATTRIBUTE, TARGET_VALID_DECL_ATTRIBUTE): Don't
8931 define.
8932 (TARGET_ATTRIBUTE_TABLE): Define.
8933 (ix86_attribute_table, ix86_handle_cdecl_attribute,
8934 ix86_handle_regparm_attribute): New.
8935 * config/i386/winnt.c (i386_pe_valid_decl_attribute_p,
8936 i386_pe_valid_type_attribute_p): Remove.
8937 (ix86_handle_dll_attribute, ix86_handle_shared_attribute): New.
8938 * config/ia64/ia64.c (ia64_valid_type_attribute): Remove.
8939 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8940 (TARGET_ATTRIBUTE_TABLE): Define.
8941 (ia64_attribute_table): New.
8942 * config/m32r/m32r.c (m32r_valid_decl_attribute, interrupt_ident1,
8943 interrupt_ident2, model_ident1, model_ident2): Remove.
8944 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8945 (TARGET_ATTRIBUTE_TABLE): Define.
8946 (init_idents): Update.
8947 (m32r_attribute_table, m32r_handle_model_attribute): New.
8948 * config/m68hc11/m68hc11.c (m68hc11_valid_type_attribute_p):
8949 Remove.
8950 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8951 (TARGET_ATTRIBUTE_TABLE): Define.
8952 (m68hc11_attribute_table, m68hc11_handle_fntype_attribute): New.
8953 * config/mcore/mcore.c (mcore_valid_decl_attribute): Remove.
8954 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8955 (TARGET_ATTRIBUTE_TABLE): Define.
8956 (mcore_attribute_table, mcore_handle_naked_attribute): New.
8957 * config/ns32k/ns32k.c (ns32k_valid_type_attribute_p): Remove.
8958 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8959 (TARGET_ATTRIBUTE_TABLE): Define.
8960 (ns32k_attribute_table, ns32k_handle_fntype_attribute): New.
8961 * config/rs6000/rs6000.c (rs6000_valid_type_attribute_p): Remove.
8962 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define.
8963 (TARGET_ATTRIBUTE_TABLE): Define.
8964 (rs6000_attribute_table, rs6000_handle_longcall_attribute): New.
8965 * config/sh/sh.c (sh_valid_decl_attribute): Remove.
8966 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8967 (TARGET_ATTRIBUTE_TABLE): Define.
8968 (sh_attribute_table, sh_handle_interrupt_handler_attribute,
8969 sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
8970 New.
8971 * config/stormy16/stormy16.c (stormy16_valid_type_attribute):
8972 Remove.
8973 (TARGET_VALID_TYPE_ATTRIBUTE): Don't define
8974 (TARGET_ATTRIBUTE_TABLE): Define.
8975 (stormy16_attribute_table, stormy16_handle_interrupt_attribute):
8976 New.
8977 * config/v850/v850.c (v850_valid_decl_attribute): Remove.
8978 (TARGET_VALID_DECL_ATTRIBUTE): Don't define.
8979 (TARGET_ATTRIBUTE_TABLE): Define.
8980 (v850_attribute_table, v850_handle_interrupt_attribute,
8981 v850_handle_data_area_attribute): New.
8982 * config/v850/v850-c.c (mark_current_function_as_interrupt):
8983 Return void. Call decl_attributes instead of
8984 valid_machine_attribute.
8985
3007d592
R
8986Fri Sep 21 01:49:41 2001 J"orn Rennecke <amylaar@redhat.com>
8987
8988 * sh-protos.h (sh_pr_n_sets): Declare.
8989 * sh.c (calc_live_regs): If the initial value for PR has been copied,
8990 look at the copy to determine if PR needs to be saved.
8991 sh_pr_n_sets: New function.
8992 * sh.h (RETURN_ADDR_RTX): Use get_hard_reg_initial_val.
8993 (ALLOCATE_INITIAL_VALUE): Define.
8994
8995 * sh.c (initial_elimination_offset):
8996 Fix RETURN_ADDRESS_POINTER_REGNUM case.
8997
385b6e2d
R
8998Fri Sep 21 01:13:56 2001 J"orn Rennecke <amylaar@redhat.com>
8999
9000 * integrate.c (allocate_initial_values): New function.
9001 * integrate.h (allocate_initial_values): Declare.
9002 * local-alloc.c (local_alloc): Move call to allocate_reg_info from
9003 here...
9004 * reload1.c (reload): And initialization of reg_equiv_memory_loc
9005 from here...
9006 * toplev.c (rest_of_compilation): To here.
9007 Call allocate_initial_values.
9008 * tm.texi: add description for ALLOCATE_INITIAL_VALUE.
9009
a4b5b2ae
RK
9010Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9011
9012 * ggc-page.c (ggc_marked_p): Properly convert return to boolean.
9013
e7b6a0ee
DD
90142001-09-20 DJ Delorie <dj@redhat.com>
9015
9016 * c-typeck.c (really_start_incremental_init): Discriminate
9017 between zero-length arrays and flexible arrays.
9018 (push_init_level): Detect zero-length arrays and handle them
9019 like fixed-sized arrays.
9020 * expr.c (store_constructor): Handle zero-length arrays and
9021 flexible arrays correctly.
9022 * doc/extend.texi: Update zero-length array notes.
9023
f5aee631
JW
90242001-09-20 Jim Wilson <wilson@redhat.com>
9025
9026 * config/ia64/ia64.c (itanium_split_issue): Allow max 2 FP per cycle.
9027 (insn_matches_slot): Handle TYPE_L and TYPE_X slots when checking
9028 for issue port conflicts.
9029 (cycle_end_fill_slots): TYPE_L instructions take two slots.
9030
91dc6f6e
AM
90312001-09-20 Andrew MacLeod <amacleod@redhat.com>
9032
9033 * testsuite/gcc.c-torture/execute/990208-1.x: New. XFAIL at -O3
9034 on ia64.
9035
4c160717
RK
9036Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9037
9038 * fold-const.c (hashtab.h): Include.
9039 (int_const_binop): Remove FORSIZE arg and compute from type; all
9040 callers changed.
9041 Call size_int_type_wide for all single-word constants.
9042 (size_htab_hash, size_htab_eq): New functions.
9043 (size_int_type_wide): Rework to use hash table.
9044 * ggc-common.c (hashtab.h): Include.
9045 (struct d_htab_root): New struct.
9046 (d_htab_roots): New variable.
9047 (ggc_add_deletable_htab, ggc_htab_delete): New functions
9048 (ggc_mark_roots): Handle deletable htabs.
9049 * ggc-page.c (ggc_marked_p): New function.
9050 * ggc-simple.c (ggc_marked_p): Likewise.
9051 * ggc.h: Reformatting throughout.
9052 (ggc_marked_p, ggc_add_deletable_htab): New declarations.
9053 * tree.c (init_obstacks): Make type_hash_table a deletable root.
9054 (type_hash_add): Allocate struct type_hash from GC memory.
9055 (mark_hash_entry, mark_type_hash): Deleted.
9056 (type_hash_marked_p, type_hash_mark): New functions.
9057 * Makefile.in (ggc-common.o, fold-const.o): Include hashtab.h.
9058
c762ab6e
R
9059Thu Sep 20 12:49:34 2001 J"orn Rennecke <amylaar@redhat.com>
9060
9061 * sh.c (shiftcosts): Don't use shiftcosts array for modes wider
9062 than SImode.
9063
ed1a150e
RK
9064Thu Sep 20 09:00:27 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9065
9066 * stor-layout.c (layout_type, case ARRAY_TYPE): Kludge to disable
9067 array-too-large test for signed sizetype.
9068
6eb791fc
JH
9069Thu Sep 20 12:19:36 CEST 2001 Jan Hubicka <jh@suse.cz>
9070
9071 * i386.md (indirect_jump): Allow Pmode operand.
9072 (tablejump): LIkewise; perform expansion to 64bit mode.
9073 * i386.c (symbolic_operand): Allow 64bit PIC references.
9074 (pic_symbolic_operand): Likewise.
9075 (ix86_find_base_term): Strip the 64bit PIC references.
9076 (legitimate_pic_address_disp_p): Handle 64bit PIC.
9077 (legitimize_pic_address): Likewise.
9078 (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
9079 * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
9080
4bad9e39
APB
90812001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
9082
9083 * stringpool.c (get_identifier_with_length): New function.
9084 * tree.h (get_identifier_with_length): New prototype.
9085
40501e5f
AM
90862001-09-19 Alan Modra <amodra@bigpond.net.au>
9087 David Edelsohn <edelsohn@gnu.org>
9088
9089 Revert:
9090 * config/rs6000/rs6000.c (logical_operand): CONST_INTs are
9091 already sign-extended.
9092
9093 * config/rs6000/aix.h (INIT_TARGET_OPTABS): Define TFmode handlers.
9094 * config/rs6000/rs6000.c (logical_operand): Always compare op as
9095 HOST_WIDE_INT.
9096 (rs6000_emit_set_long_const): Avoid unnecessary shift.
9097 (output_profile_hook): Declare label_name const.
9098 * config/rs6000/rs6000.md (boolcsi3, boolcdi3): Change predicates
9099 to match constraints.
9100
e3aafbad
SS
91012001-09-19 Stan Shebs <shebs@apple.com>
9102
9103 * alias.c: Fix typos in comments.
9104 * sched-rgn.c (init_ready_list): Ditto.
9105 * unwind-dw2.c (uw_frame_state_for): Ditto.
9106 * unwind-dw2-fde.c (_Unwind_Find_FDE): Ditto.
9107 * unwind.inc (_Unwind_RaiseException_Phase2): Ditto.
9108 * config/rs6000/rs6000.c (rs6000_adjust_priority): Ditto.
9109
3d9339a9
RH
91102001-09-19 Richard Henderson <rth@redhat.com>
9111
9112 * cfg.c (force_nonfallthru_and_redirect): Handle redirecting
9113 to the exit block.
9114 * Makefile.in (cfg.o): Depend on TM_P_H.
9115
e2c9fb9b
RH
91162001-09-19 Richard Henderson <rth@redhat.com>
9117
9118 * config/alpha/alpha.c (local_symbol_p): Split out from ...
9119 (local_symbolic_operand): ... here.
9120 (small_symbolic_operand): Check mode.
9121 (global_symbolic_operand): New.
9122 (input_operand): Reject symbolics if explicit relocs.
9123 (call_operand): Tidy.
9124 (alpha_legitimize_address): Use movdi_er_high_g.
9125 (alpha_expand_mov): Likewise.
9126 * config/alpha/alpha-protos.h: Update.
9127 * config/alpha/alpha.h (PREDICATE_CODES): Update.
9128 * config/alpha/alpha.md (UNSPEC_LITERAL, UNSPEC_LITUSE): New.
9129 (UNSPEC_LDGP2, UNSPECV_PLDGP2): New.
9130 (UNSPECV_LDGP2): Remove.
9131 (all call patterns): Use 's' not 'i' for symbolic constraint.
9132 (call_osf call_value_osf): Use call_operand.
9133 (all osf call patterns): Use $gp. New peepholes for explicit relocs.
9134 (movdi_er_nofix, movdi_er_fix): Remove symbolic alternative.
9135 (prologue_ldgp_1_er): Remove.
9136 (ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2): New.
9137 (builtin_setjmp_receiver_er patterns): Use them.
9138 (exception_receiver_er): Likewise.
9139
f068df3f
RH
91402001-09-19 Richard Henderson <rth@redhat.com>
9141
9142 * cfgbuild.c (find_sub_basic_blocks): Handle insns that can throw.
9143
216183ce
RH
9144 * emit-rtl.c (try_split): Copy NORETURN, SETJMP, ALWAYS_RETURN
9145 and NON_LOCAL_GOTO notes.
33593de7
RH
9146 * recog.c (peephole2_optimize): Likewise. Handle EH_REGION;
9147 copy over CALL_INSN_FUNCTION_USAGE.
216183ce 9148
784d7cce
CM
91492001-09-18 Catherine Moore <clm@redhat.com>
9150
b8d323b1 9151 * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
784d7cce
CM
9152 Define as 0.
9153
70eeb10b 91542001-09-18 Ulrich Weigand <uweigand@de.ibm.com>:
b8d323b1 9155
749ced52 9156 * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
b8d323b1
AJ
9157 new-style tm_file specification. Specify correct tm_p_file,
9158 md_file, and out_file for s390x.
70eeb10b
UW
9159
9160 * config/s390/linux.h, linux64.h: Don't include other target
9161 macro header files. Now handled via tm_file.
9162
b8d323b1 9163 * config/s390/linux.h, s390.h: (IEEE_FLOAT, TARGET_IEEE_FLOAT,
70eeb10b
UW
9164 TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
9165 are defined before use.
b8d323b1 9166
518b566f
EC
9167Tue Sep 18 09:51:11 2001 Eric Christopher <ecechristo@redhat.com>
9168
749ced52
ZW
9169 * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
9170 code generation only for Gnu assembler.
518b566f 9171
8086b53c
CM
91722001-09-18 Catherine Moore <clm@redhat.com>
9173
749ced52 9174 * config/stormy16 (LIB_SPEC): Remove -lnosys.
8086b53c 9175
1cbfdb1f
RS
91762001-09-18 Richard Sandiford <rsandifo@redhat.com>
9177
9178 * config/mips/mips.c (mips_frame_set): New.
9179 (mips_emit_frame_related_store): When storing two 32-bit FPRs, use
9180 a parallel frame-related expression with a set for each register.
9181
d71ebc32
PB
91822001-09-18 Philip Blundell <philb@gnu.org>
9183
9184 * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
9185 header files.
9186
5dead3e5
DJ
91872001-09-17 Dale Johannesen <dalej@apple.com>
9188
9189 * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
9190 * config/rs6000/aix.h (FIXED_R2): Define.
9191 * config/rs6000/darwin.h (FIXED_R2): Define.
9192 * config/rs6000/sysv4.h (FIXED_R2): Define.
9193
5c701bb1
JS
91942001-09-17 Jeff Sturm <jsturm@one-point.com>
9195
9196 * except.c (dw2_build_landing_pads): New local
9197 clobbers_hard_regs. Emit an ASM_INPUT as a scheduling
9198 barrier after clobbers. Fixes c++/4012.
9199
c793eea7
KG
92002001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9201
9202 * gcc.c (find_file): Use ACONCAT in lieu of alloca/strcpy/strcat.
9203
63fb6fc7
JM
92042001-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
9205
9206 * dostage2, dostage3, listing, make-l2.com, makefile.vms,
9207 patch-apollo-includes, vmsconfig.com: Remove obsolete files.
9208
c1d49704
KG
92092001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9210
9211 * c-aux-info.c (affix_data_type): Use ASTRDUP in lieu of
9212 alloca/strcpy.
9213
14baae01
NB
92142001-09-17 Neil Booth <neil@daikokuya.demon.co.uk>
9215
9216 * cpphash.h (_cpp_lex_direct): New.
9217 * cpplex.c (_cpp_lex_token): Update.
9218 (lex_token): Rename _cpp_lex_direct; lex into pfile->cur_token,
9219 and increment that pointer.
9220 * cppmacro.c (alloc_expansion_token): New.
9221 (lex_expansion_token): Lex macro expansion directly into
9222 macro storage.
9223
478c61b7
BL
92242001-09-16 Brad Lucier <lucier@math.purdue.edu>
9225
9226 * Makefile.in: Make rtl-error.o depend on $(CONFIG_H).
9227
3c030e88
JH
9228Sun Sep 16 21:59:46 CEST 2001 Jan hubicka <jh@suse.cz>
9229
9230 * basic-block.h (free_bb_for_insn): Declare.
9231 * bb-reorder.c (label_for_bb): Use block_label.
9232 (emit_jump_to_block_after): Remove.
9233 (insert_intra_1): Do not update block_for_insn.
9234 (insert_inter_bb_scope_notes): Likewise; update bb->end
9235 * cfg.c (free_bb_for_insn): New.
9236 (try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
9237 (force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
9238 (commit_one_edge_insertion): Likewise.
9239 (commit_one_edge_insertion): Do not update BB boundary.
9240 (commit_edge_insertions): Do not call compute_bb_for_insn.
9241 * cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
9242 * cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
9243 (merge_blocks_move_successor_nojumps): Likewise.
9244 (try_crossjump_to_edge): Do not update block_for_insn.
9245 * combine.c (combine_instructions): Remove compute_bb_for_insn call.
9246 * df.c (df_pattern_emit_later): Do not update BB boundary.
9247 (df_jump_pattern_emit_after): Likewise.
9248 (df_insn_move_before): Use emit_insn_before.
9249 * emit-rtl.c (try_split): Emit after trial to get bb boundary updated
9250 properly.
9251 (add_insn_after, add_insn_before, emit_insns_after): Update BB
9252 boundaries and basic_block_for_insn.
9253 (reorder_insns_nobb): Rename from reorder_insns.
9254 (reorder_insns): New.
9255 (emit_block_insn_before, emit_block_insn_after): Kill.
9256 * flow.c (check_function_return_warnings): Do not call
9257 compute_bb_for_insn; Do not free basic_block_for_insn.
9258 (attempt_auto_inc): Do not update basic_block_for_insn.
9259 * function.c (emit_return_into_block): Likewise;
9260 do not update BB boundaries.
9261 * gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
9262 (insert_insn_end_bb): Use emit_insn_before; Likewise.
9263 (pre_insert_copy_insn): Likewise.
9264 (update_ld_motion_notes): Likewise.
9265 (insert_insn_start_bb): Likewise.
9266 (replace_store_insn): Likewise.
9267 * ifcvt.c (noce_process_if_block): Likewise.
9268 (if_convert): Do not call compute_bb_for_insn.
9269 * lcm.c (optimize_mode_switching): Do not update BB boundaries.
9270 Use emit_insn_before and emit_insn_after.
9271 * recog.c (split_all_insns): Do not update BB boundaries;
9272 Do not call compute_bb_for_insn.
9273 (peephole2_optimize): Do not update BB boundaries.
9274 * reg-stack.c (emit_pop_insn): Use emit_insn_after and
9275 emit_insn_before.
9276 (emit_swap_insn): Likewise.
9277 (convert_regs_1): Likewise.
9278 * reload1.c (reload): Call compute_bb_for_insn.
9279 * rtl.h (reorder_insns_nobb): Declare.
9280 * ssa.c (rename_equivalent_regs): Use emit_insn_before.
9281 * toplev.c (rest_of_compilation): Call free_bb_for_insn
9282 at places CFG is invalidated; do not call compute_bb_for_insn.
9283
9284 * cfg.c (expunge_block): Invalidate BB structure.
9285
9286 * (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
9287 array.
9288
9289 * cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
9290
345894b4
NB
92912001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
9292
9293 * cpphash.h (_cpp_lex_token): Update prototype.
9294 * cpplex.c (_cpp_lex_token): New prototype.
9295 * cpplib.c (skip_rest_of_line, check_eol, _cpp_handle_directive,
9296 lex_macro_node, read_flag, do_pragma_poison): Update.
9297 * cppmacro.c (cpp_get_token, parse_params,
9298 lex_expansion_token): Update.
9299
18a9d8ff
NB
93002001-09-16 Neil Booth <neil@daikokuya.demon.co.uk>
9301
9302 * cppmain.c (scan_translation_unit): Don't worry about
9303 putting a space after hashes.
9304 * cpplib.c (directive_diagnostics): New.
9305 (_cpp_handle_directive): Update to use directive_diagnostics.
9306 (run_directive): Don't toggle prevent_expansion.
9307 (do_line): Backup in case of the line extension.
9308 * cpplib.h (cpp_lexer_pos): Remove.
9309 * cppmacro.c (_cpp_create_definition): Precede a leading #
9310 with whitespace.
9311
3f85558f
RH
93122001-09-15 Richard Henderson <rth@redhat.com>
9313
9314 * c-typeck.c (comptypes): Handle zero-length arrays properly.
9315
c6c04fca
RL
93162001-09-15 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9317
9318 * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
9319
69e47210
NB
93202001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
9321
9322 PR preprocessor/3571
9323 * tradcpp.c (handle_directive): Skip non-vertical space.
9324
f0581dc7
NB
93252001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
9326
9327 * cppmain.c (setup_callbacks): Set line callback only
9328 if outputting preprocessed source.
9329
cb6edbcb
KG
93302001-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9331
9332 * collect2.c (main): Const-ification.
9333 * gcc.c (translate_options, process_command): Use xstrdup in
9334 lieu of xmalloc/strcpy.
9335 (main): Use concat in lieu of xmalloc/strcpy/strcat.
9336
068e5714
RL
93372001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9338
9339 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Fix
9340 example.
9341
65813f56
NB
93422001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
9343
9344 * scan-decls.c (scan_decls): Fix typo.
9345
50410426
NB
93462001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
9347
9348 * cpphash.h (struct cpp_reader): Remove lexer_pos, directive_pos.
9349 Split mlstring_pos into mls_line and mls_col.
9350 * cppinit.c (cpp_create_reader): Initialize line to 1.
9351 (cpp_destroy): Free tokenruns.
9352 (push_include): Don't update lexer_pos.
9353 * cpplex.c (unterminated, parse_string): Update.
9354 (lex_token): Don't update lexer_pos, update.
9355 * cpplib.c (if_stack): Save line instead of line + col.
9356 (start_directive, _cpp_do__Pragma, do_else, do_elif,
9357 push_conditional, _cpp_pop_buffer): Update.
9358 * cppmacro.c (funlike_invocation_p): Don't save lexer_pos.
9359 (_cpp_create_definition): Update.
9360
6047ddc8
EC
93612001-09-15 Eric Christopher <echristo@redhat.com>
9362
9363 * config/mips/abi64.h: Add support for MEABI.
9364
0e5a4ad8
EC
93652001-09-15 Eric Christopher <echristo@redhat.com>
9366
9367 * config/mips/mips.md: Add unspec #2.
9368 (reload_indi): Use.
9369 (reload_outdi): Ditto.
9370 (reload_outsi): Ditto.
9371 (HILO_delay): New.
9372
93732001-09-15 Eric Christopher <echristo@redhat.com>
9374 Jason Eckhardt <jle@redhat.com>
9375
9376 * config.gcc: Add mipsisa32 target and mipsisa32-linux target.
9377 * config/mips/isa32-linux.h: New file.
9378 * config/mips/isa3264.h: Ditto.
9379 * config/mips/mips-protos.h: Add mips_hard_regno_nregs.
9380 * config/mips/mips.c (mips_hard_regno_nregs): Move here from mips.h.
9381 (output_block_mode): Support MEABI.
9382 (function_arg): Ditto. Fix floating point arg passing.
9383 (mips_va_start): Ditto.
9384 (override_options): Add isas 32 and 64, meabi, mips32 and mips64
9385 processors.
9386 (mips_asm_file_start): Add new section to pass abi to gdb.
9387 (function_arg_pass_by_reference): Support MEABI.
9388 (mips_parse_cpu): Support mips32 and mips64 processors.
9389 * config/mips/mips.h: Support ABI_MEABI, TARGET_MIPS4KC,
9390 TARGET_MIPS5KC. Support isa32 and isa64.
9391 (processor_type): Add r4kc, r5kc, r20kc.
9392 (GENERATE_MULT3_SI): New.
9393 (GENERATE_MULT3_DI): Ditto.
9394 (GENERATE_MULT3): Remove.
9395 (ISA_HAS_64BIT_REGS): Add isa == 64.
9396 (ISA_HAS_8CC): Add mips_isa = 32 and 64.
9397 (ISA_HAS_MADD_MSUB): New.
9398 (ISA_HAS_CLZ_CLO): Ditto.
9399 (ISA_HAS_DCLZ_DCLO): Ditto.
9400 (ABI_GAS_ASM_SPEC): New.
9401 (GAS_ASM_SPEC): Use. Add support for mips32, mips64.
9402 (ASM_SPEC): Ditto.
9403 (LINK_SPEC): Ditto.
9404 (SUBTARGET_CC1_SPEC): Ditto.
9405 (SUBTARGET_CPP_SIZE_SPEC): Ditto.
9406 (PAD_VARARGS_DOWN): Support MEABI.
9407 (HARD_REGNO_NREGS): Move to mips.c.
9408 (ASM_OUTPUT_IDENT): Add #undef.
9409 * config/mips/mips.md: Add r4kc, r5kc, r20kc.
9410 (mulsi3): Use GENERATE_MULT3_SI.
9411 (mulsi3_mult3): Ditto. Support mips32, mips64.
9412 (mul_acc_si): Use ISA_HAS_MADD_MSUB.
9413 (mul_sub_si): New pattern.
9414 (unnamed splitters): New.
9415 (muldi3): Use GENERATE_MULT3_DI.
9416 (muldi3_internal2): Ditto.
9417 (movdicc): Support mips32.
9418 * config/mips/t-isa3264: New file.
9419
e75ecd26
HPN
94202001-09-15 Hans-Peter Nilsson <hp@axis.com>
9421
9422 * rtl.h (FIND_REG_INC_NOTE) [HAVE_PRE_INCREMENT
9423 || HAVE_PRE_DECREMENT || HAVE_POST_INCREMENT
9424 || HAVE_POST_DECREMENT]: Call find_regno_note for REGs.
86c7007a
HPN
9425
9426 * reorg.c (fill_slots_from_thread): After call to
9427 steal_delay_list_from_target, update own_thread as new_thread may
9428 have branched.
9429
97293897
NB
94302001-09-14 Neil Booth <neil@daikokuya.demon.co.uk>
9431
9432 * cpperror.c (print_location): Take line and column, for
9433 default positioning use the previously lexed token.
9434 (_cpp_begin_message): Take line and column.
9435 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
9436 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
9437 * cpphash.h (_cpp_begin_message): Update prototype.
9438 * cppinit.c (push_include): Don't set output line.
9439 * cpplex.c (_cpp_lex_token): Callback for start of new output lines.
9440 * cpplib.c (do_diagnostic, _cpp_pop_buffer): Update.
9441 (do_pragma): Kludge for front ends. Don't expand macros at all.
9442 * cpplib.h (cpp_lookahead, cpp_token_with_pos, cpp_get_line): Remove.
9443 (struct cpp_token): Remove output_line.
9444 (struct cpp_callbacks): New member line_change.
9445 * cppmacro.c (builtin_macro, paste_all_tokens, replace_args,
9446 cpp_get_token): Preserve BOL flag.
9447 (cpp_get_line): Remove.
9448 (_cpp_backup_tokens): Remove useless abort().
9449 * cppmain.c (cb_line_change): New.
9450 (scan_translation_unit): Don't worry about starting new lines here.
9451 * scan-decls.c (scan_decls): Update.
9452 * c-lex.c (c_lex, init_c_lex): Update.
9453 (cb_line_change, src_lineno): New.
9454
13d7d58b
JW
9455Fri Sep 14 13:54:50 EDT 2001 John Wehle (john@feith.com)
9456
9457 * tree.c (append_random_chars): Generate the random
9458 characters in a reproducable fashion.
9459
623fe810
RH
94602001-09-14 Richard Henderson <rth@redhat.com>
9461
9462 * config/i386/i386.c (internal_label_prefix): New.
9463 (internal_label_prefix_len): New.
9464 (override_options): Set them.
9465 (local_symbolic_operand): New.
9466 (legitimate_pic_address_disp_p): Use it.
9467 (legitimize_pic_address): Likewise.
9468
95a37e3f 94692001-09-14 Marc Espie <espie@openbsd.org>
0e1f7b2a 9470
95a37e3f
ME
9471 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Generate reference to GOT
9472 correctly.
9473
e91c2a24
RL
94742001-09-14 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9475
9476 * config/alpha/alpha.md (unaligned_extendhidi_be): Fix.
9477 * config/alpha/unicosmk.h (INIT_TARGET_OPTABS): New.
9478
be393ecf
NC
94792001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9480
5de7e417
NC
9481 * rtlanal.c (subreg_regno_offset): Add semicolon to end of
9482 invocation of SUBREG_REGNO_OFFSET.
9483
bc591fb4
NC
9484 * haifa-sched.c: Fix typo in FSF copyright statement.
9485 * sched-deps.c: Fix typo in FSF copyright statement.
9486 * sched-ebb.c: Fix typo in FSF copyright statement.
9487 * sched-rgn.c: Fix typo in FSF copyright statement.
9488 * sched-vis.c: Fix typo in FSF copyright statement.
9489
be393ecf
NC
9490 * config.gcc: Move inclusion of arm elf specific header files
9491 from the files themselves into the tm_file variable. Make
9492 sure that elfos.h is included before target specific elf
9493 headers.
9494 * config/arm/aout.h (NO_DOLLAR_IN_LABEL): Only define if not
9495 already defined.
9496 (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Protect definition.
9497 * config/arm.arm.h (TARGET_MEM_FUNCTIONS,
9498 ASM_OUTPUT_CASE_LABEL): Protect definition.
9499 (CC1_SPEC, FP_DEFAULT, ARM_FUNCTION_PROFILE): Only define if
9500 not already defined.
9501 * config/arm/conix-elf.h: (USER_LABEL_PREFIX,
9502 LOCAL_LABEL_PREFIX, MAKE_DECL_ONE_ONLY, UNIQUE_SECTION):
0e5a4ad8 9503 Remove duplicate definition.
be393ecf
NC
9504 (READONLY_DATA_SECTION, SUBTARGET_EXTRA_SECTION,
9505 (SUBTARGET_EXTRA_SECTION_FUNCTION, RDATA_SECTION_ASM_OP,
9506 (RDATA_SECTION_FUNCTION): Remove redundant definition.
9507 (STARTFILE_SPEC, ENDFILE_SPEC): Protect definition.
9508 Remove inclusion of arm/elf.h.
9509 * config/arm/unknown-elf.h: as for conix-elf.h.
9510 (STARTFILE_SPEC): Include crti.o and crtn.o.
9511 * config/arm/linux-elf.h: as for conix-elf.h.
9512 * config/arm/ecos-elf.h: Remove inclusion of unknown-elf.h.
9513 * config/arm/strongarm-elf.h: Remove inclusion of
9514 unknown-elf.h.
9515 * config/arm/xscale-elf.h: Remove inclusion of unknown-elf.h.
9516 * config/arm/unknown-elf-oabi.h: Remove inclusion of
9517 unknown-elf.h and elf.h.
9518 * config/arm/uclinux-elf.h: Remove inclusion of linux-elf.h.
9519 * config/arm/linux-gas.h (DBX_DEBUGGING_INFO,
9520 ASM_WEAKEN_LABEL): Remove redundant definition.
9521 * config/arm/elf.h: Test for inclusion of elfos.h
9522 (USER_LABEL_PREFIX, ASM_DECLARE_RESULT, ASM_DECLARE_RESULT,
9523 ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT_NAME,
9524 SUBTARGET_EXTRA_SECTION, SUBTARGET_EXTRA_SECTION_FUNCTION,
9525 EXTRA_SECTIONS, INT_ASM_OP, ASM_WEAKEN_LABEL): Remove
9526 redundant definition.
9527 (TYPE_OPERAND_FMT, ASM_DECLARE_FUNCTION_NAME,
9528 ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_INTERNAL_LABEL,
9529 ASM_OUTPUT_ALIGNED_COMMON): Protect definition.
9530 * t-arm-elf (EXTRA_MULTILIB_PARTS): Add crti.o and crtn.o.
9531 Add rules to build crti.o and crtn.o
9532 * crti.asm: New file.
9533 * crtn.asm: New file.
9534
bdcbe496
NB
95352001-09-13 Neil Booth <neil@daikokuya.demon.co.uk>
9536
9537 * c-parse.in (_yylex): Use _cpp_backup_tokens.
9538 * cpphash.h (struct tokenrun): Add prev.
9539 (struct lexer_state): Remove bol.
9540 (struct cpp_reader): Remove old lookahead stuff, add lookaheads.
9541 (_cpp_free_lookaheads, _cpp_release_lookahead, _cpp_push_token)
9542 : Remove.
9543 * cppinit.c (cpp_create_reader): Don't set bol.
9544 (cpp_destroy): Don't free lookaheads.
9545 * cpplex.c (lex_directive): Remove.
9546 (next_tokenrun): Update.
9547 (_cpp_lex_token): Clean up logic.
9548 (lex_token): Update to return a pointer to lexed token, since it
9549 can move to the start of the buffer. Simpify newline handling.
9550 * cpplib.c (SEEN_EOL): Update.
9551 (skip_rest_of_line): Remove lookahead stuff.
9552 (end_directive): Line numbers are already incremented. Revert
9553 to start of lexed token buffer if we can.
9554 (_cpp_handle_directive, do_pragma, do_pragma_dependency,
9555 parse_answer): Use _cpp_backup_tokens.
9556 (run_directive, cpp_pop_buffer): Don't set bol, set saved_flags
9557 instead. Don't check for EOL.
9558 (do_include_common, do_line, do_pragma_system_header): Use
9559 skip_rest_of_line.
9560 * cpplib.h (BOL, _cpp_backup_tokens): New.
9561 * cppmacro.c (save_lookahead_token, take_lookahead_token,
9562 alloc_lookahead, free_lookahead, _cpp_free_lookaheads,
9563 cpp_start_lookahead, cpp_stop_lookahead, _cpp_push_token): Remove.
9564 (builtin_macro): Don't use cpp_get_line.
9565 (cpp_get_line): Short term kludge.
9566 (parse_arg): Handle directives in arguments here. Back up when
9567 appropriate. Store EOF at end of argument list.
9568 (funlike_invocation_p): Use _cpp_backup_tokens.
9569 (push_arg_context): Account for EOF at end of list.
9570 (cpp_get_token): Remove lookahead stuff. Update.
9571
83182544
KG
95722001-09-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9573
9574 * c-parse.in (yyerror): Const-ification and/or static-ization.
9575 * c-typeck.c (push_member_name): Likewise.
9576 * collect2.c (main): Likewise.
9577 * dbxout.c (dbxout_parms): Likewise.
9578 * diagnostic.c (format_with_decl): Likewise.
9579 * dwarf2out.c (output_ranges): Likewise.
9580 * dwarfout.c (fundamental_type_code): Likewise.
9581 * except.c (dw2_output_call_site_table): Likewise.
9582 * gcc.c (do_spec_1): Likewise.
9583 * genopinit.c (optabs): Likewise.
9584 * objc/objc-act.c (synth_id_with_class_suffix, start_class,
9585 gen_declaration_1, handle_impent): Likewise.
9586 * protoize.c (default_include, in_system_include_dir, abspath):
9587 Likewise.
9588 * sched-vis.c (visualize_stall_cycles): Likewise.
9589 * sdbout.c (plain_type_1, sdbout_end_function,
9590 sdbout_end_epilogue): Likewise.
9591 * varasm.c (decode_reg_name): Likewise.
0e5a4ad8 9592
83182544
KG
9593 * 1750a.c (mod_regno_adjust): Likewise.
9594 * alpha.c (alpha_write_one_linkage,
9595 unicosmk_output_default_externs): Likewise.
9596 * arm.c (arm_condition_codes): Likewise.
9597 * arm.h (arm_condition_codes): Likewise.
9598 * avr.c (output_movsisf, encode_section_info): Likewise.
9599 * darwin.h (GEN_BINDER_NAME_FOR_STUB, GEN_SYMBOL_NAME_FOR_SYMBOL):
9600 Likewise.
9601 * i386.c (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
9602 * i386.h (hi_reg_name, qi_reg_name, qi_high_reg_name): Likewise.
9603 * m88k.c (output_function_profiler): Likewise.
9604 * mips.c (mips_output_conditional_branch): Likewise.
9605 * ns32k.c (ns32k_out_reg_names): Likewise.
9606 * ns32k.h (ns32k_out_reg_names): Likewise.
9607 * pj.c (pj_output_rval): Likewise.
9608 * rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Likewise.
9609 * sparc.c (sparc_flat_function_prologue,
9610 sparc_flat_function_epilogue): Likewise.
9611
f404402c 96122001-09-13 Markus Werle <numerical.simulation@web.de>
623fe810 9613 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
f404402c
MW
9614
9615 * doc/install.texi (Binaries): Add "Binaries for HP-UX 11.00 at
9616 Aachen University of Technology".
9617
08ed72a9
AS
96182001-09-13 Andreas Schwab <schwab@suse.de>
9619
9620 * config/float-m68k.h: Define DECIMAL_DIG and FLT_EVAL_METHOD for
9621 C99.
9622
133d3133
RH
96232001-09-13 Richard Henderson <rth@redhat.com>
9624
9625 * config/alpha/alpha.c (small_symbolic_operand): New.
9626 (override_options): Set MASK_SMALL_DATA based on pic/PIC.
9627 (some_operand, input_operand): Don't handle HIGH.
9628 (alpha_legitimize_address): Use it. Emit HIGH with PLUS gp.
9629 (alpha_expand_mov): Likewise.
9630 (print_operand) [H]: Just print HIGH symbol.
9631 (print_operand_address): Handle small data.
9632 * config/alpha/alpha.h (MASK_SMALL_DATA, TARGET_SMALL_DATA): New.
9633 (TARGET_SWITCHES): Add -msmall-data/large-data.
9634 (PIC_OFFSET_TABLE_REGNUM): New.
9635 (PREFERRED_RELOAD_CLASS): Don't handle HIGH.
9636 (PREDICATE_COES): Update.
9637 * config/alpha/alpha.md (adddi_er_high): New.
9638 (adddi_er_low): Handle small data.
9639 * config/alpha/elf.h (DO_SELECT_SECTION): If SMALL_DATA,
9640 prefer .sdata to .rodata.
9641 (SELECT_RTX_SECTION): Likewise.
9642
34b3b0f6
JM
96432001-09-12 Josh Martin <josh.martin@abq.sc.philips.com>
9644
9645 * fixinc/inclhack.def(hpux11_size_t): Keep HP-UX headers from
9646 defining __size_t and leaving size_t undefined.
0e5a4ad8 9647
d5c768b8
DN
96482001-09-12 Diego Novillo <dnovillo@redhat.com>
9649
9650 * basic-block.h (expunge_block): Declare.
9651 * cfg.c (expunge_block): Remove static declaration.
9652
3bab2571
RH
96532001-09-12 Richard Henderson <rth@redhat.com>
9654
9655 * integrate.c (copy_insn_list): Copy label name from
9656 NOTE_INSN_DELETED_LABEL.
9657
27c38fbe
KG
96582001-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9659
9660 * c-common.c (c_tree_code_name): Const-ification.
9661 * c-decl.c (c_decode_option): Likewise.
9662 * c-typeck.c (warn_for_assignment): Likewise.
9663 * collect2.c (libexts, is_ctor_dtor, main, ignore_library):
9664 Likewise.
9665 * cppinit.c (output_deps): Likewise.
9666 * dependence.c (dependence_string, direction_string): Likewise.
9667 * dwarf2out.c (output_ranges): Likewise.
9668 * fixinc/fixfixes.c (emit_gnu_type): Likewise.
9669 * fixinc/gnu-regex.c (re_error_msgid): Likewise.
9670 * gcc.c (standard_exec_prefix, standard_exec_prefix_1,
9671 standard_startfile_prefix, standard_startfile_prefix_1,
9672 standard_startfile_prefix_2, tooldir_base_prefix,
9673 standard_bindir_prefix, find_a_file): Likewise.
9674 * genattrtab.c (make_length_attrs): Likewise.
9675 * gencheck.c (tree_codes): Likewise.
9676 * genemit.c (gen_split): Likewise.
9677 * genrecog.c (special_mode_pred_table): Likewise.
9678 * graph.c (graph_ext): Likewise.
9679 * protoize (default_include): Likewise.
9680 * reload.c (reload_when_needed_name): Likewise.
9681 * sched-vis.c (visualize_stall_cycles): Likewise.
9682 * tlink.c (recompile_files): Likewise.
9683 * toplev.c (decode_g_option): Likewise.
9684 * tradcpp.c (output_deps): Likewise.
9685 * varasm.c (decode_reg_name): Likewise.
0e5a4ad8 9686
27c38fbe
KG
9687 * arm.c (arm_condition_codes, strings_fpa, thumb_condition_code):
9688 Const-ification.
9689 * arm.md: Likewise.
9690 * avr.c (avr_regnames, encode_section_info): Likewise.
9691 * c4x.c (float_reg_names): Likewise.
9692 * darwin.h (ASM_GLOBALIZE_LABEL): Likewise.
9693 * elfos.h (const_section): Likewise.
9694 * i386.c (ix86_comp_type_attributes): Likewise.
9695 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
9696 * ia64/aix.h (UNIQUE_SECTION): Likewise.
9697 * ia64.c (type_names): Likewise.
9698 * m68hc11.c (reg_class_names): Likewise.
9699 * m88k.c (m_options): Likewise.
9700 * mips.c (mips_output_conditional_branch, mips_unique_section):
9701 Likewise.
9702 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
9703 * sparc.c (sparc_flat_function_prologue, sparc_flat_function_epilogue,
9704 ultra_code_names): Likewise.
9705 * sparc.h (OVERRIDE_OPTIONS): Likewise.
9706
a8b7afb9
JJ
97072001-09-12 Jakub Jelinek <jakub@redhat.com>
9708
9709 * configure.in (gcc_cv_as_shf_merge): Fix a typo.
9710 Use --fatal-warnings option for gas.
9711 * configure: Rebuilt.
9712
71b96724
RL
97132001-09-12 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9714
9715 * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
9716
4e1a4144
JW
97172001-09-11 Jim Wilson <wilson@redhat.com>
9718
9719 * alias.c (clear_reg_alias_info): Only handle pseudo registers.
9720
1de3d877
MK
97212001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
9722
9723 * builtins.c (c_strlen): Treat an offset too large for a
9724 HOST_WIDE_INT as out of range.
9725
4262e623
JH
9726Tue Sep 11 18:57:47 CEST 2001 Jan Hubicka <jh@suse.cz>
9727
9728 * basic-block.h (EDGE_CRITICAL): Remove; renumber other flags.
9729 (EDGE_CRITICAL_P): New predicate.
9730 * cfg.c (force_nonfallthru_and_redirect, split_edge): Kill EDGE_CRITICAL
9731 handling.
9732 (insert_insn_on_edge): Use EDGE_CRITICAL_P.
9733 (dump_edge_info): Remove "crit".
9734 * cfganal.c (mark_critical_edges): Kill.
9735 * cfgbuild.c (find_basic_blocks): Remove mark_critical_edges call.
9736 * cfgcleanup.c (cleanup_cfg): Likewise.
9737 * profile.c (instrument_edges): Use EDGE_CRITICAL_P.
9738 (find_spanning_tree): Likewise.
9739 * reg-stack.c (convert_regs_1): Likewise.
9740 * ssa.c (mark_regs_equivalent_over_bad_edges): Likewise.
9741
9742 * basic-block.h (create_basic_block_structure): New.
9743 (create_basic_block): Update prototype.
9744 (force_nonfallthru): New.
9745 * bb-reorder.c (fixup_reorder_chain): Fixup use force_nonfallthru.
9746 * cfg.c (create_basic_block_structure): Rename from create_basic_block;
9747 handle updating of block_for_insn, creating of empty BBs and BBs at
9748 the end of INSN chain.
9749 (create_basic_block): New function.
9750 (split_block): Use create_basic_block.
9751 (force_nonfallthru_and_redirect): Break out from ...; cleanup
9752 (redirect_edge_and_branch_force): ... here.
9753 (force_nonfallthru): New.
9754 (split_edge): Rewrite to use force_nonfallthru and create_block.
9755 * cfgbuild.c (find_basic_blocks_1): Use create_basic_block_structure.
9756 (find_basic_blocks): Free basic_block_for_insn.
9757 * cfgcleanup.c (merge_blocks): Use force_nonfallthru.
9758
9759 * cfg.c: Fix formating.
9760 * cfgcleanup.c: Fix formating.
9761 (merge_blocks, tail_recursion_label_p): Return bool.
9762 (merge_blocks_move_predecessor_nojumps,
9763 merge_blocks_move_successor_nojumps): Return void.
9764
201556f0
JJ
97652001-09-11 Jakub Jelinek <jakub@redhat.com>
9766
9767 * configure.in: Check whether assembler supports section merging.
9768 * config.in: Rebuilt.
9769 * configure: Rebuilt.
9770 * varasm.c (variable_section, output_constant_pool): Pass alignment
9771 to SELECT_SECTION and SELECT_RTX_SECTION.
9772 (mergeable_string_section): New.
9773 (mergeable_constant_section): New.
9774 (default_elf_asm_named_section): Output SECTION_MERGE and
9775 SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9776 * output.h (mergeable_string_section): New.
9777 (mergeable_constant_section): New.
9778 (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define.
9779 * toplev.c (flag_merge_constants): New.
9780 (f_options): Add -fmerge-constants and -fmerge-all-constants
9781 options.
9782 (toplev_main): Default to -fno-merge-constants if not optimizing.
9783 * flags.h (flag_merge_constants): Add extern.
9784 * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document.
9785 * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third
9786 argument.
9787 * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START):
9788 Define if assembler has working .subsection -1 support.
9789 (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument.
9790 Put constant into special SHF_MERGE sections if the linker should
9791 attempt to merge duplicates.
9792 * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third
9793 macro argument.
9794 Put constant into special SHF_MERGE sections if the linker should
9795 attempt to merge duplicates.
9796 * config/alpha/elf.h: Likewise.
9797 (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler
9798 has working .subsection -1 support.
9799 * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and
9800 SELECT_SECTION.
9801 * config/svr3.h: Likewise.
9802 * config/darwin.h: Likewise.
9803 * config/arm/aof.h: Likewise.
9804 * config/arm/linux-elf.h: Likewise.
9805 * config/avr/avr.h: Likewise.
9806 * config/c4x/c4x.h: Likewise.
9807 * config/d30v/d30v.h: Likewise.
9808 * config/i386/dgux.h: Likewise.
9809 * config/i386/osfrose.h: Likewise.
9810 * config/i386/sco5.h: Likewise.
9811 * config/i386/svr3gas.h: Likewise.
9812 * config/ia64/aix.h: Likewise.
9813 * config/m32r/m32r.h: Likewise.
9814 * config/m68k/m68k.h: Likewise.
9815 * config/m88k/dgux.h: Likewise.
9816 * config/m88k/m88k.h: Likewise.
9817 * config/mcore/mcore-pe.h: Likewise.
9818 * config/mips/mips.h: Likewise.
9819 * config/pa/pa.h: Likewise.
9820 * config/pa/pa-linux.h: Likewise.
9821 * config/romp/romp.h: Likewise.
9822 * config/rs6000/sysv4.h: Likewise.
9823 * config/rs6000/xcoff.h: Likewise.
9824 * config/s390/linux.h: Likewise.
9825 * config/sparc/sparc.h: Likewise.
9826 * config/sparc/sysv4.h: Likewise.
9827 * config/stormy16/stormy16.h: Likewise.
9828 * config/v850/v850.h: Likewise.
9829 * config/vax/vms.h: Likewise.
9830 * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE
9831 and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size.
9832 * config/sparc/sparc.c (sparc_elf_asm_named_section): Use
9833 default_elf_asm_named_section for SHF_MERGE sections.
9834
0a24446d
JH
9835Tue Sep 11 17:55:54 CEST 2001 Jan Hubicka <jh@suse.cz>
9836
9837 * bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
9838 is OK.
9839
1d30139d
JM
98402001-09-11 Joseph S. Myers <jsm28@cam.ac.uk>
9841
9842 * c-common.c (split_specs_attrs): Allow for empty attributes with
9843 empty TREE_PURPOSE. Fixes PR c/4294.
9844
7ded4467
JH
9845Tue Sep 11 11:37:52 CEST 2001 Jan Hubicka <jh@suse.cz>
9846
9847 * basic-block.h (cached_make_edge, make_single_succ): New.
9848 (make_edge): Remove first parameter.
9849 * bb-reroder.c (fixup_reorder_chain): Use make_single_succ_edge.
9850 * cfg.c (cached_make_edge): Rename from make_edge; return newly
9851 created edge; use obstack allocation.
9852 (make_edge, make_single_succ_edge): New.
9853 (first_removed_edge): New static variable.
9854 (init_flow): Initialize first_removed_edge and n_edges.
9855 (clear_edges): Use remove_edge.
9856 (flow_delete_block): Likewise.
9857 (remove_edge): Add removed edges to the removed edges list.
9858 (split_block, redirect_edge_and_branch_force, split_edge):
9859 Use make_edge.
9860 * cfganal.c (flow_call_edges_add): Updaet make_edge call.
9861 (add_noreturn_fake_exit_edges): Likewise.
9862 (connect_infinite_loops_to_exit): Liekwise.
9863 * cfgbuild.c (make_label_edge, make_edges, find_sub_basic_blocks):
9864 Use cached_make_edge.
9865 * cfgcleanup.c (try_crossjump_to_edge): Use make_single_succ_edge.
9866 * profile.c (branch_prob): Update make_edge call.
9867 * ssa-dce.c (ssa_eliminate_dead_code): Likewise.
9868
30102605
RH
98692001-09-11 Richard Henderson <rth@redhat.com>
9870
9871 * config/alpha/alpha.c: Tidy formatting.
9872 (local_symbolic_operand): Verify mode.
9873 (alpha_sa_mask): Ignore unicos for eh_return.
9874 (alpha_expand_epilogue): Handle sp_adj2 zero, not NULL.
9875 * config/alpha/alpha.md (umk divsi patterns): Remove.
9876 (extendsfdf2): Remove unicos check.
9877 (tablejump): Merge vms and unicos code; always use direct set
9878 plus label_ref use.
9879
98802001-09-11 Roman Lechtchinsky <rl@cs.tu-berlin.de>
9881
9882 * config.gcc (alpha*-*-unicosmk*): New target.
9883
9884 * config/alpha/alpha-protos.h (symbolic_operand,
9885 unicosmk_add_call_info_word, unicosmk_add_extern,
9886 unicosmk_defer_case_vector, unicosmk_unique_section,
9887 unicosmk_output_align, unicosmk_text_section, unicosmk_data_section,
9888 unicosmk_asm_file_start, unicosmk_asm_file_end,
9889 unicosmk_output_common): Declare.
9890
9891 * config/alpha/alpha.c (NUM_ARGS, override_options, call_operand,
9892 direct_return, function_arg, alpha_va_start, alpha_va_arg,
9893 alpha_does_function_need_gp, alpha_end_function): Support Cray
9894 Unicos/Mk.
9895 (alpha_init_machine_status, alpha_mark_machine_status,
9896 alpha_free_machine_status, unicosmk_output_deferred_case_vectors,
9897 unicosmk_gen_dsib, unicosmk_output_ssib, unicosmk_need_dex,
9898 unicosmk_asm_named_section, unicosmk_insert_attributes,
9899 unicosmk_section_type_flags, symbolic_operand,
9900 unicosmk_output_module_name, unicosmk_output_default_externs,
9901 unicosmk_output_dex, unicosmk_output_externs,
9902 unicosmk_output_addr_vec, unicosmk_ssib_name,
9903 unicosmk_initial_elimination_offset, unicosmk_asm_file_start,
9904 unicosmk_asm_file_end, unicosmk_output_common,
9905 unicosmk_section_type_flags, unicosmk_unique_section,
9906 unicosmk_add_call_info_word, unicosmk_text_section,
9907 unicosmk_data_section, unicosmk_extern_list, unicosmk_extern_head,
9908 unicosmk_add_extern, unicosmk_dex, unicosmk_dex_list,
9909 unicosmk_dex_count, unicosmk_special_name): New.
9910 (TARGET_INSERT_ATTRIBUTES, TARGET_SECTION_TYPE_FLAGS): Define for
9911 TARGET_ABI_UNICOSMK.
9912 (get_aligned_mem, alpha_expand_unaligned_load,
9913 alpha_expand_unaligned_store, alpha_expand_unaligned_load_words,
9914 alpha_expand_unaligned_store_words): Support big-endian mode.
9915 (print_operand): Likewise. New format specifier 't'. Use
9916 TARGET_AS_SLASH_BEFORE_SUFFIX.
9917 (alpha_is_stack_procedure): Rename from vms_is_stack_procedure.
9918 (alpha_pv_save_size): Update with above change.
9919 (alpha_sa_mask, alpha_sa_size, alpha_expand_prologue,
9920 alpha_start_function, alpha_expand_epilogue): Likewise. Support Cray
9921 Unicos/Mk.
9922
9923 * config/alpha/alpha.h (TARGET_ABI_UNICOSMK): New.
9924 (TARGET_ABI_OSF): Exclude TARGET_ABI_UNICOSMK.
9925 (TARGET_AS_SLASH_BEFORE_SUFFIX): New.
9926 (EXTRA_CONSTRAINT): New constraint 'U'.
9927 (PREDICATE_CODES): Add symbolic_operand.
9928
9929 * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM,
9930 UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): New constants.
9931 (mulsi3, *mulsi_se, mulvsi3): Disable for TARGET_ABI_UNICOSMK.
9932 (integer division and modulus patterns): Split in default and
9933 Unicos/Mk versions.
9934 (*divmodsi_internal, *divmoddi_internal): Disable for
9935 TARGET_ABI_UNICOSMK.
0e5a4ad8 9936 (unaligned_extend?idi, unaligned_load?i, unaligned_store?i): Split in
30102605
RH
9937 little-endian and big-endian versions.
9938 (ext, ins, msk): Likewise.
9939 (extv, extzv, insv): Support big-endian mode.
9940 (call, call_value, tablejump): Support TARGET_ABI_UNICOSMK.
9941 (call_umk, call_value_umk, *call_umk, tablejump_umk,
9942 *tablejump_umk_internal, *call_value_umk): New.
9943 (*movdi_nofix): Add pattern for loading an address into a register on
9944 TARGET_ABI_UNICOSMK.
9945 (umk_laum, umk_lal, umk_lalm, *umk_load_ciw): New.
9946 (umk_mismatch_args, arg_home_umk): New.
9947 (various insns): Don't use mov, fmov, nop, fnop and unop.
9948 (realign): Support TARGET_ABI_UNICOSMK.
9949
9950 * config/alpha/unicosmk.h: New file.
9951 * config/alpha/t-unicosmk: New file.
9952
9953 * fixinc/inclhack.def (unicosmk_restrict): New.
9954 * fixinc/fixincl.x: Regenerate.
9955
9956 * ginclude/stddef.h (size_t): Check for and define __SIZE_T__.
9957 (wchar_t): Check for and define __WCHAR_T__.
9958
b1c4394d
RS
99592001-09-11 Richard Sandiford <rsandifo@redhat.com>
9960
9961 * combine.c (simplify_shift_const): Treat shifts by the mode
9962 size as undefined.
9963
5fddcffc
NB
99642001-09-11 Neil Booth <neil@daikokuya.demon.co.uk>
9965
9966 * cpphash.h (struct tokenrun): New.
9967 (struct cpp_context): New member bol.
9968 (struct cpp_reader): New members.
9969 (_cpp_init_tokenrun): New.
9970 * cppinit.c (cpp_create_reader): Set up the token runs.
9971 * cpplex.c (lex_directive, lex_token, next_tokenrun): New.
9972 (lex_token): New internalised version of _cpp_lex_token. Don't
a1f300c0 9973 handle directives or the multiple include optimization here any
5fddcffc
NB
9974 more. Simply lex a token.
9975 * cpplib.c (run_directive): Clear bol.
9976 (_cpp_pop_buffer): Set bol.
9977 * cppmacro.c (funlike_invocation_p): Keep tokens whilst parsing
9978 arguments.
9979
75dcd8fe
MM
99802001-09-11 Michael Meissner <meissner@redhat.com>
9981
9982 * config/mips/mips.h (CC1_SPEC): If -mgp32 default to -mfp32, and
9983 give an error if the user uses -mfp32.
9984 (CPP_FPR_SPEC): Define __mips_fpr to be 32 or 64 depending on the
9985 default options.
9986 (CPP_SPEC): Define __mips_fpr to be 32 or 64, depending on the
9987 floating point register size.
9988 (EXTRA_SPECS): Add CPP_FPR_SPEC.
9989
9990 * config/mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Use
9991 HOST_WIDE_INT_PRINT_DEC to properly print the result of
9992 int_size_in_bytes.
9993 * config/mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9994 * config/mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Ditto.
9995
fb530c07
HPN
99962001-09-11 Hans-Peter Nilsson <hp@axis.com>
9997
9998 * dbxout.c (dbxout_parms): Fix typo in comment.
9999 * unroll.c (loop_find_equiv_value): Ditto.
10000 * toplev.c (rest_of_compilation): Ditto.
10001 * loop.c (scan_loop): Ditto.
fb530c07
HPN
10002 * dwarf2out.c (struct dw_fde_struct): Ditto.
10003
2c3fcba6
ZW
100042001-09-10 Zack Weinberg <zackw@panix.com>
10005
10006 * cpplex.c (parse_identifier): Fast-path optimize. Avoid
10007 copying identifier when we're just going to throw it away.
10008 (parse_identifier_slow): New routine to handle abnormal cases.
10009 (_cpp_lex_token): Update call site.
10010
10011 * hashtable.c (ht_lookup): Don't assume that the string we've
10012 been given is NUL-terminated.
10013 * system.h: #define __builtin_expect(a, b) to (a) if not
10014 GCC >=3.0.
10015
60acf24e
MM
100162001-09-10 Michael Meissner <meissner@redhat.com>
10017
10018 * config.gcc (sparc64-*-solaris2): Add alias to be compatible with
10019 binutils, gdb.
10020
51d3e7d6
DE
100212001-09-10 David Edelsohn <edelsohn@gnu.org>
10022
10023 * config/rs6000/t-aix43 (SHLIB_INSTALL): Use mode 751 (a+x,r-o).
10024
bf06b5d8
RK
10025Mon Sep 10 16:26:44 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10026
10027 * builtins.c (c_getstr): Correct thinko in last change and further
10028 cleanup.
10029
244a4af0
TF
100302001-09-10 Tim Freeman <tim@fungibole.com>
10031
10032 * dwarf2out.c (incomplete_types, decl_scope_table): Make them
10033 into varray's and register them as roots with the garbage
2c3fcba6 10034 collector so they are not collected too soon.
244a4af0 10035
402209ff
JH
10036Mon Sep 10 14:21:26 CEST 2001 Jan Hubicka <jh@suse.cz>
10037
10038 * Makefile.in (cfg.o, cfganal.o, cfgloop.o, cfgbuild.o, cfgcleanup.o):
10039 New.
10040 * basic-block.h (flow_obstack, label_value_list,
10041 tail_recursion_label_list): Declare
10042 (tidy_fallthru_edges): Declare.
10043 (expunge_block, last_loop_beg_note): Delete.
10044 (can_fallthru, flow_nodes_print, flow_edge_list_print): Declare.
10045 * cfg.c: New file
10046 (basic_block_for_insn, label_value_list): Move from flow.c; make global.
10047 (n_basic_blocks, n_edges, basic_block_info, entry_exit_blocks,
10048 init_flow, clear_edges, can_delete_note_p, can_delete_label_p,
2c3fcba6 10049 flow_delete_insn, flow_delete_insn_chain, create_basic_block,
402209ff
JH
10050 expunge_block, flow_delete_block, compute_bb_for_insn,
10051 update_bb_for_insn, set_block_for_insn, set_block_for_new_insns,
10052 make_edge, remove_edge, redirect_edge_succ, redirect_edge_succ_nodup,
10053 redirect_edge_pred, split_block, marge_blocks_nomove, block_label,
10054 try_redirect_by_replacing_jump, last_loop_beg_note,
10055 redirect_edge_and_branch, redirect_edge_and_branch_force,
10056 tidy_fallthru_edge, tidy_fallthru_edges, back_edge_of_syntactic_loop_p,
10057 split_edge, insert_insn_on_edge, commit_one_edge_insertion,
2c3fcba6 10058 commit_edge_insertions, dump_flow_info, debug_flow_info,
402209ff
JH
10059 dump_edge_info, dump_bb, debug_bb, debug_bb_n, print_rtl_with_bb,
10060 verify_flow_info, purge_dead_edges, purge_all_dead_edges):
10061 Move here from flow.c
10062 * cfganal.c: New file.
10063 (forwarder_block_p, can_fallthru, mark_critical_edges,
10064 mark_dfs_back_edges, need_fake_edge_p, flow_call_edges_add,
10065 find_unreachable_blocks, create_edge_list, free_edge_list,
10066 print_edge_list, verify_edge_list, find_edge_index, flow_nodes_print,
10067 flow_edge_list_print, remove_fake_successors, remove_fake_edges,
10068 add_noreturn_fake_exit_edges, connect_infinite_loops_to_exit,
10069 flow_reverse_top_sort_order_compute, flow_depth_first_order_compute,
10070 flow_dfs_compute_reverse_init, flow_dfs-compute_reverse_add_bb,
10071 flow_dfs-compute_reverse_execute, flow_dfs_compute_reverse_finish);
10072 Move here from flow.c
10073 * cfgbuild.c: New file
10074 (count_basic_blocks, find_label_refs, make_label_edge, make_eh_edge,
10075 make_edges, find_basic_blocks_1, find_basic_blocks,
10076 find_sub_basic_blocks): Move here from flow.c
10077 * cfgcleanup.c: New file.
10078 (try_simplify_condjump, try_forward_edges, tail_recursion_label_p,
10079 merge_blocks_move_predecessor_nojumps,
10080 merge_blocks_move_successor_nojumps, merge_blocks,
10081 flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
10082 try_crossjump_bb, try_optimize_cfg): Move here from flow.c
10083 (delete_unreachable_blocks, cleanup_cfg): Likewise; return true
10084 if succeeded.
10085 * cfgloop.c: New file
10086 (flow_loops_cfg_dump, flow_loop_nested_p, flow_loop_dump,
10087 flow_loops_dump, flow_loops_free, flow_loop_entry_edges_find,
10088 flow_loop_exit_edges_find, flow_loop_nodes_find,
10089 flow_loop_pre_header_scan, flow_loop_pre_header_find,
10090 flow_loop_tree_node_add, flow_loops_tree_build,
10091 flow_loop_level_compute, flow_loops_level_compute, flow_loop_scan,
10092 flow_loops_find, flow_loops_update, flow_loop_outside_edge_p):
10093 Move here from flow.c
10094 * flow.c: Remove everything moved elsewhere
10095 * output.h (cleanup_cfg): Return bool.
10096
10097 * bb-reorder.c (reorder_block_def): Remove 'index'.
10098 (insert_intra_1): Add argument BB, set block for new note.
10099 (make_reorder_chain): Do not depdent on BB indexes.
10100 (make_reorder_chain_1): Do not use BB indexes.
10101 (label_for_bb): Likewise; set BB for new insn.
10102 (emit_jump_to_block_after): Likewise.
a1f300c0 10103 (fixup_reorder_chain): Sanity check that all basic blocks
402209ff
JH
10104 are chained; verify newly created insn chain; remove
10105 undocnitional jump simplifying; Do not use BB indexes;
10106 properly initialize count and frequency information;
10107 dump reordered sequence.
10108 (insert_intra_bb_scope_notes): update call of insert_intra_1.
10109 (insert_inter_bb_scope_notes): Set block for new insn.
10110 (reorder_basic_blocks): Dump flow info before reoredering.
10111
5197bd50
RK
10112Mon Sep 10 06:47:35 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10113
10114 * alias.c (clear_reg_alias_info): Use K&R format definition.
10115 Avoid unsigned warning.
10116 * builtins.c: Use "unsigned int", not "unsigned".
10117 (target_char_cast): Use host_integerp and tree_low_cst.
10118 (expand_builtin_args_info, expand_builtin_frame_address): Likewise.
10119 (c_strlen): Likewise; OFFSET now HOST_WIDE_INT.
10120 (c_getstr): Likewise.
10121 (std_expand_builtin_va_arg): Use int_size_in_bytes.
10122 (builtin_memcpy_read_str): Avoid unsigned warning.
10123 (expand_builtin_memcpy): Alignments are unsigned.
10124 (expand_builtin_strncpy, expand_builtin_memset): Likewise.
10125 (expand_builtin_expect_jump): Use integer_zerop and integer_onep.
10126 * predict.c (expensive_function_p): LIMIT now unsigned.
10127 * resource.c (mark_target_live_regs): Make some vars unsigned.
10128 * sdbout.c: Use "unsigned int", not "unsigned".
10129 (MAKE_LINE_SAFE): Add cast to avoid unsigned warning.
10130 (sdbout_source_line): Likewise.
10131 (sdbout_record_type_name): Remove "const" for NAME declaration.
10132 * config/alpha/alpha.c (alpha_expand_block_move): Whitespace fixes.
10133
2e547b13
RS
101342001-09-10 Richard Sandiford <rsandifo@redhat.com>
10135
10136 * calls.c (store_one_arg): Expand comment.
10137
0df299ae
RL
101382001-09-10 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10139
10140 * calls.c (store_one_arg): Make sure that the entire argument is
10141 pushed if STACK_PARMS_IN_REG_PARM_AREA is defined.
10142
1650fcad
RH
101432001-09-09 Richard Henderson <rth@redhat.com>
10144
10145 * emit-rtl.c (adjust_address): Fix mode for LO_SUM.
10146
5bb08c84
JH
10147Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
10148
10149 * loop.c (combine_givs): Fix computing of benefit once giv is combined.
10150
1eb356b9
RH
101512001-09-09 Richard Henderson <rth@redhat.com>
10152
10153 * config/alpha/alpha.c (alpha_next_sequence_number): New.
10154 (alpha_this_literal_sequence_number): New.
10155 (alpha_this_gpdisp_sequence_number): New.
10156 (some_operand, input_operand): Add HIGH.
10157 (local_symbolic_operand): New.
10158 (alpha_encode_section_info): New.
10159 (alpha_legitimate_address_p): Allow LO_SUM.
10160 (alpha_legitimize_address): Generate HIGH+LO_SUM.
10161 (alpha_expand_mov): Likewise.
10162 (secondary_reload_class): Check memory_operand not general_operand
10163 for FP_REGS test.
10164 (alpha_expand_unaligned_load): Force LO_SUM addresses into a register.
10165 (alpha_expand_unaligned_store): Likewise.
10166 (alpha_expand_unaligned_load_words): Likewise.
10167 (alpha_expand_unaligned_store_words): Likewise.
10168 (alpha_expand_block_clear): Likewise.
10169 (print_operand): Handle %#, %*, %H.
10170 (print_operand_address): Handle LO_SUM.
10171 (find_lo_sum): New.
10172 (alpha_does_function_need_gp): Use it.
10173 (alpha_expand_block_move): Fix signed compare warnings.
10174 (alpha_sa_mask, alpha_align_insns): Likewise.
10175 * config/alpha/alpha-protos.h: Update.
10176 * config/alpha/alpha.h (TARGET_EXPLICIT_RELOCS): New.
10177 (MASK_EXPLICIT_RELOCS): New.
10178 (TARGET_SWITCHES): Add -mexplicit-relocs.
10179 (EXTRA_CONSTRAINT): Add 'T'.
10180 (PREFERRED_RELOAD_CLASS): HIGH goes in GENERAL_REGS.
10181 (ASM_APP_ON, ASM_APP_OFF): Turn on and off asm macro expansion.
10182 (ENCODE_SECTION_INFO): Out line.
10183 (REDO_SECTION_INFO_P): New.
10184 (STRIP_NAME_ENCODING): New.
10185 (ASM_OUTPUT_LABELREF): New.
10186 (PRINT_OPERAND_PUNCT_VALID_P): Add #, *.
10187 (PREDICATE_CODES): Update.
10188 * config/alpha/alpha.md (divmodsi_internal_er, divmoddi_internal_er,
10189 call_osf_1_er_noreturn, call_osf_1_er, movdi_er_low, movdi_er_nofix,
10190 movdi_er_fix, prologue_ldgp_1_er, builtin_setjmp_receiver_sub_label_er,
10191 builtin_setjmp_receiver_er, exception_receiver_1_er,
10192 call_value_osf_1_er): New patterns.
10193 (sibcall_osf_1, sibcall_value_osf_1): Remove register alternative.
10194 (movqi, movhi, movsi): Add explicit $31 base register to lda.
10195 * config/alpha/elf.h (ASM_FILE_START): Set nomacro if explicit relocs.
10196 (FINAL_PRESCAN_INSN): New.
10197
b74cf1ce
JH
10198Sat Sep 8 22:00:55 CEST 2001 Jan Hubicka <jh@suse.cz>
10199
10200 * reg-stack.c (subst_stack_regs_pat): Fix fcmov reversal code.
10201
2c36d070
AJ
102022001-09-08 Andreas Jaeger <aj@suse.de>
10203
10204 * i386.h (TARGET_SWITCHES): Fix description.
10205
4e2c1c44
DE
102062001-09-07 David Edelsohn <edelsohn@gnu.org>
10207
10208 * rs6000.c (num_insns_constant): Compute number of instructions
10209 more accurately.
10210
d5d8d540
DE
10211 * doc/install.texi: Explain AIX exception handling work-around.
10212 Update URL for AIX fixes.
10213
43fe47ca
JW
102142001-09-07 Jim Wilson <wilson@redhat.com>
10215
10216 * alias.c (clear_reg_alias_info): New.
10217 * flow.c (attempt_auto_inc): Call clear_reg_alias_info.
10218 * rtl.h (clear_reg_alias_info): Declare.
10219
177b41eb
RL
102202001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10221
10222 * real.c (EMUSHORT,EMUSHORT_SIZE): Use HImode if no 16-bit type is
10223 available.
10224 (UEMUSHORT): New. Use instead of unsigned EMUSHORT.
10225 (m16m,edivm,emulm): Change declaration to match definition.
10226
b4905cba
RL
102272001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10228
10229 * reload.c (push_reload): Check for subreg_lowpart_p instead of
10230 SUBREG_BYTE being 0 when determining if the inner part of a subreg
10231 can be reloaded.
10232
4a063bec
RH
102332001-09-07 Roman Lechtchinsky <rl@cs.tu-berlin.de>
10234
10235 * c-common.c (signed_or_unsigned_type): Handle machine mode types
10236 which have no corresponding C type.
10237 * fold_const.c (target_isinf,target_isnan,target_negative): Update
10238 the representation of 64-bit doubles to work with 64-bit ints.
10239
102402001-09-07 Aldy Hernandez <aldyh@redhat.com>
2fd7f0c1 10241
4a063bec
RH
10242 * config/mips/mips.c (override_options): Do not override ISA when ABI
10243 specified if MIPS_CPU_STRING_DEFAULT was specified.
2fd7f0c1 10244
9b3bd424
RH
102452001-09-07 Richard Henderson <rth@redhat.com>
10246
10247 * loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
10248 (express_from_1): Wrap lines.
10249 * rtlanal.c (commutative_operand_precedence): Rename from
10250 operand_preference; export.
10251 * rtl.h: Declare it.
10252 * simplify-rtx.c (simplify_gen_binary): Tidy +/- const_int handling.
10253 (simplify_binary_operation): Invoke simplify_plus_minus on
10254 (CONST (PLUS ...)) as well.
10255 (struct simplify_plus_minus_op_data): New.
10256 (simplify_plus_minus_op_data_cmp): New.
10257 (simplify_plus_minus): Use them. Avoid infinite recursion with
10258 simplify_binary_operation wrt CONST.
10259
5660465a
KH
10260Fri Sep 7 11:52:30 2001 Kazu Hirata <kazu@hxi.com>
10261
10262 * h8300-protos.h (general_operand_dst_push): Remove.
10263 * h8300.c (general_operand_dst_push): Likewise.
10264 * h8300.h (OK_FOR_T): Likewise.
10265 (EXTRA_CONSTRAINTS): Do not use OK_FOR_T.
10266 * h8300.md (pushqi_h8300): New.
10267 (pushqi_h8300hs): Likewise.
10268 (pushqi): Likewise.
10269 (pushhi_h8300): Likewise.
10270 (pushhi_h8300hs): Likewise.
10271 (pushhi): Likewise.
10272
7b9e1fcf
RK
10273Fri Sep 7 12:56:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10274
10275 * genattrtab.c (attr_printf): First arg is unsigned.
10276 Clean up formatting of callers.
10277
1dee47c3
AH
102782001-09-06 Aldy Hernandez <aldyh@redhat.com>
10279
10280 * config/mips/mips.c (override_options): Allow abi32 with 64 bit
10281 registers.
10282
4cba3b67
AJ
102832001-09-07 Andreas Jaeger <aj@suse.de>
10284
10285 * i386.h (TARGET_SWITCHES): Fix descriptions.
10286
6a9f6727
MK
102872001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
10288
10289 * stor-layout.c (compute_record_mode): Check DECL_SIZE is set.
10290
cffb2601
IR
102912001-09-06 Ira Ruben <ira@apple.com>
10292
10293 Remove OP_IDENTIFIER.
10294 * tree.def (OP_IDENTIFIER): Remove.
10295 * tree.c (tree_node_kind enum): Remove op_id_kind.
10296 (tree_node_kind_names): Remove "op_identifiers".
10297 (make_node): Remove OP_IDENTIFIER test.
10298 (build_op_identifier): Removed because it isn't being used.
10299 * print-tree.c (print_node): Remove OP_IDENTIFIER case.
10300 * cp/pt.c (tsubst): Remove OP_IDENTIFIER case.
10301
0615ed36
RH
103022001-09-06 Richard Henderson <rth@redhat.com>
10303
10304 * simplify-rtx.c (simplify_binary_operation): Revert last change.
10305
7d8be4da
RH
103062001-09-06 Richard Henderson <rth@redhat.com>
10307
10308 * simplify-rtx.c (simplify_binary_operation): Simplify contents
10309 of CONST.
10310
a1dc9455
FS
103112001-09-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10312
10313 * config/rs6000/rs6000.c (rs6000_emit_prologue): Fix DWARF2 register
10314 number used for CR register.
10315
1aae372e
JL
10316Thu Sep 6 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
10317 Joern Rennecke (amylaar@cygnus.com)
10318
10319 * h8300-protos.h (h8300_return_addr_rtx): New prototype.
10320 * h8300.c (initial_offset): Handle offset between RP and FP.
10321 (h8300_return_addr_rtx): New function.
10322 * h8300.h (FIRST_PSEUDO_REGISTER): Bump now that we have a
10323 return register.
10324 (FIXED_REGISTERS, CALL_USED_REGISTERS): Corresponding changes.
10325 (REG_ALLOC_ORDER, RETURN_ADDRESS_POINTER_REGNUM): Likewise.
10326 (REG_CLASS_CONTENTS, ELIMINABLE_REGS): Likewise.
10327 (CAN_ELIMINATE, REGISTER_NAMES):
10328 (RETURN_ADDR_RTX): Call h8300_return_addr_rtx.
10329
6d0a3f67
NS
103302001-09-06 Nathan Sidwell <nathan@codesourcery.com>
10331
10332 Remove TYPE_NONCOPIED_PARTS.
10333 * tree.h (TYPE_NONCOPIED_PARTS): Remove.
10334 (struct tree_type): Remove noncopied_parts.
10335 * c-tree.h (TYPE_ACTUAL_ARG_TYPES): Map onto TYPE_BINFO.
10336 * expr.c (save_noncopied_parts, init_noncopied_parts): Remove.
10337 (fixed_type_p): Remove.
10338 (expand_expr, INIT_EXPR): Don't deal with noncopied parts.
10339 (expand_expr, MODIFY_EXPR): Likewise.
10340 * ggc-common.c (ggc_mark_trees): Remove TYPE_NONCOPIED_PARTS.
10341 * doc/c-tree.texi: Remove TYPE_NONCOPIED_PARTS FIXME.
10342
02071907
AM
103432001-09-06 Alan Modra <amodra@bigpond.net.au>
10344
10345 * config/rs6000/rs6000.c (mask_operand): Use signed vars to avoid
10346 compiler warnings.
10347 (mask64_operand): Likewise.
10348 (includes_rldic_lshift_p): Likewise.
10349 (includes_rldicr_lshift_p): Likewise.
10350
89fc3605
ZL
103512001-09-05 Ziemowit Laski <zlaski@apple.com>
10352
4a063bec 10353 * objc/objc-act.c (build_message_expr): If a class method cannot
89fc3605
ZL
10354 be found, do not issue a warning if a corresponding instance
10355 method exists in the root class.
10356
666b0481
RH
103572001-09-05 Richard Henderson <rth@redhat.com>
10358
10359 * config/alpha/alpha.c (alpha_expand_mov): Initialize temp.
10360
ae6f2a1c
ZW
103612001-09-05 Zack Weinberg <zack@codesourcery.com>
10362
10363 * function.c (ggc_mark_struct_function): Mark f->outer.
10364 * toplev.c (rest_of_compilation): Clear DECL_SAVED_INSNS here...
10365 * integrate.c (output_inline_function): ... not here.
10366
2ab0437e
JH
10367Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka <jh@suse.cz>
10368
04ac5ee9
JH
10369 * profile.c (branch_prob): Call add_noreturn_fake_exit_edges.
10370
2ab0437e
JH
10371 * i386.c (size_cost): New static variable.
10372 (override_function): Use size_cost when -Os is specified.
10373
10374 * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue
10375 properly; Use current_function_calls_eh_return.
10376 (ix86_expand_epilogue): Avoid dummy optimize_size tests;
f5143c46 10377 use leave to avoid dependency chain.
2ab0437e
JH
10378
10379 * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream;
10380 get BB loop_depth instead of computing it from LOOP notes.
10381
10382 * reg-stack.c (subst_stack_reg_pat): Handle reversal of conditional moves.
10383
76f81d95
JDA
103842001-09-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
10385
10386 * som.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
10387 * pa.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
10388 UNALIGNED_DOUBLE_INT_ASM_OP): Define
10389
8db4c867
JL
103902001-09-05 Jeffrey A Law (law@cygnus.com)
10391 Jason Merrill (jason@redhat.com)
10392
10393 * stor-layout.c (layout_type): Complain if an array's size can
10394 not be represented in a size_t.
10395
10396 * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
10397
caa297fe
DB
103982001-09-05 David Billinghurst <David.Billinghurst@riotinto.com>
10399
4cba3b67 10400 * gcc.c: (process_command) Add parentheses around assignment
caa297fe
DB
10401 used as truth value.
10402
eecd6d9c
RS
104032001-09-05 Richard Sandiford <rsandifo@redhat.com>
10404
4cba3b67 10405 * config/mips/mips.c (save_restore_insns): Don't mark any register
eecd6d9c
RS
10406 save slots as unchanging if current_function_calls_eh_return.
10407
a39bdefc
RH
104082001-09-05 Richard Henderson <rth@redhat.com>
10409
10410 * config/alpha/alpha.c (alpha_legitimate_address_p): New.
10411 * config/alpha/alpha-protos.h: Declare it.
10412 * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
10413 (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
10414 (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
10415 (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
10416 (REG_OK_FOR_BASE_P): Select one of the above.
10417
662704e7
RS
104182001-09-05 Richard Sandiford <rsandifo@redhat.com>
10419
10420 * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
10421 (crti.o): Prefix name of object file with $(T).
10422 (crtn.o): Likewise.
10423
2be1602e
DM
104242001-09-05 David S. Miller <davem@redhat.com>
10425
10426 * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
10427 * config/sparc/linux64.h: Likewise.
10428
a7939b1d
AJ
104292001-09-05 Andreas Jaeger <aj@suse.de>
10430
10431 * doc/invoke.texi (i386 Options): -mwide-multiply is not
10432 available anymore, remove the documentation.
10433 (i386 Options): Fix typo, cleanup index entries.
10434
10435 * prefix.c (concat): Remove, we can use the version from liberty.
10436
23296a36
RH
104372001-09-05 Richard Henderson <rth@redhat.com>
10438
10439 * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
10440 New functions split out of md file expanders.
10441 * config/alpha/alpha-protos.h: Declare them.
10442 * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
10443
522d73ab
NB
104442001-09-05 Neil Booth <neil@daikokuya.demon.co.uk>
10445
10446 * cppmacro.c (funlike_invocation_p): No need to restore context.
10447
aead1ca3
RH
104482001-09-04 Richard Henderson <rth@redhat.com>
10449
10450 * reload.c (push_reload): Export.
10451 * reload.h (push_reload): Declare it.
10452
10453 * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
10454 (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
10455 * config/alpha/alpha.c (alpha_legitimize_address): New.
10456 (alpha_legitimize_reload_address): Likewise.
10457 * config/alpha/alpha-protos.h: Declare them.
10458
93913281
SS
104592001-09-04 Stan Shebs <shebs@apple.com>
10460
10461 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
10462 * config/darwin.c (machopic_stub_name): Account for internally
10463 generated lib calls such as memcpy.
10464
4c21ef03
RH
104652001-09-04 Richard Henderson <rth@redhat.com>
10466
10467 * unwind.h (_UA_END_OF_STACK): New flag.
10468 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
10469
9aa5ba97
JL
10470Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
10471
10472 * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
10473
58771ed1
RS
104742001-09-04 Richard Sandiford <rsandifo@redhat.com>
10475
10476 * config/mips/mips.c (save_restore_insns): Change base_offset to
10477 fp_offset in second call to mips_emit_frame_related_store.
10478
ba72e5a6
HPN
104792001-09-04 Hans-Peter Nilsson <hp@axis.com>
10480
10481 * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
10482 sometimes be represented as a NOTE of type
10483 NOTE_INSN_DELETED_LABEL.
10484 (Insns): Document NOTE_INSN_DELETED_LABEL.
10485
22367161
NS
104862001-09-04 Nathan Sidwell <nathan@codesourcery.com>
10487
10488 * c-common.h (tree_dump_index): Add more comments.
10489 * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
10490 (dump_option_value_info): New struct.
10491 (dump_options): New array.
10492 (dump_switch_p): Parse switch options symbolically.
10493 * doc/invoke.texi (-fdump-ast): Rename to ...
10494 (-fdump-tree): ... here. Document that options are symbolic, and
10495 not all are applicable.
10496
f7df2b9d
DM
104972001-09-04 David S. Miller <davem@redhat.com>
10498
10499 * config/sparc/sparc.md (define_splits): Kill constraints.
10500
7fbb2f84
DM
10501 Cleanup redundant and unused insn attributes.
10502 * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
10503 binary, and move. Mark ialu as default.
10504 (commented out define_function_unit "alu"): Kill.
10505 (define_attr "use_clobbered"): Kill.
10506 (whole file): Kill address insn type references. Replace
10507 all unary/binary/move references with ialu.
10508 * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
10509 references. Replace TYPE_{UNARY,BINARY,MOVE} references with
10510 TYPE_IALU.
a7939b1d 10511
24697ca0
DM
10512 Simplify length insn attribute and make more judicious use
10513 of insn attribute defaulting.
10514 * config/sparc/sparc.md (all insns with length > one): Mark as
10515 insn type multi if real instructions, else use default if
10516 it is a forced splitter.
10517 (all insns with length == one): Use default insn length.
10518 (all insns of type ialu): Use default insn type.
10519
10520 Fix erroneous insn attribute settings.
10521 (addx): Set insn type to misc.
10522 (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
10523 const_umulsidi3_sp64): Set insn type to imul.
a7939b1d 10524
24697ca0
DM
10525 Track SFmode vs DFmode insns according to UltraSPARC
10526 scheduling rules.
10527 * config/sparc/sparc.md ("fptype"): New attribute, default
10528 to "single".
10529 (all DFmode single insns): Mark as fptype "double".
10530
7743fdb9
JJ
105312001-09-03 Jakub Jelinek <jakub@redhat.com>
10532
10533 * loop.c (express_from_1): Fix CONSTANT_P(a) case.
10534
964be02f
RH
105352001-09-03 Richard Henderson <rth@redhat.com>
10536
10537 * function.h (struct function): Add arg_pointer_save_area_init.
10538 * function.c (expand_function_end): Init arg_pointer_save_area.
10539 (get_arg_pointer_save_area): Do not init arg_pointer_save_area
10540 when called from a nested function.
10541
86251d81
AMT
105422001-09-02 Angela Marie Thomas <angela@cygnus.com>
10543
10544 * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
10545 is enabled.
10546
0c4992b0
JH
10547Sun Sep 2 18:37:54 CEST 2001 Jan Hubicka <jh@suse.cz>
10548
10549 * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
10550
e27e731d
GK
105512001-09-01 Geoffrey Keating <geoffk@redhat.com>
10552
9e0e11bf
GK
10553 * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
10554 (emit_push_insn): Use specified padding direction when
10555 STACK_PUSH_CODE is POST_INC.
10556
e27e731d
GK
10557 * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
10558
a6ffcb2a
KG
105592001-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10560
10561 * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
10562
53aabfbc
NB
105632001-09-01 Neil Booth <neil@daikokuya.demon.co.uk>
10564
10565 * cppinit.c (cpp_start_read): Free the imacros list as we
10566 traverse it. Don't free the chains before returning.
10567 (_cpp_push_next_buffer): Only try pushing buffers if we've
10568 completed -imacros handling.
10569
4049df42
EC
105702001-08-31 Eric Christopher <echristo@redhat.com>
10571
10572 * gcc.c (handle_braces): Add explaination for abort.
10573
57bfa49a
RZ
105742001-08-30 Roman Zippel <zippel@linux-m68k.org>
10575
10576 * expmed.c (store_bit_field): Update to patch from 2001-08-27:
10577 move adjustment of bitpos instead.
10578
eb3ae3e1
ZW
105792001-08-31 Zack Weinberg <zack@codesourcery.com>
10580
10581 * function.c: Remove all_functions. Make outer_function_chain
10582 static.
10583 (init_function_start): Don't add new function structure to
10584 all_functions.
10585 (find_function_data, push_function_context_to,
10586 pop_function_context_from, put_var_into_stack,
10587 trampoline_address): Update for changed structure element names.
10588 (push_function_context_to): Disentangle.
10589 (free_after_compilation): Also free F.
10590 (expand_dummy_function_end): Don't free cfun here.
10591 (put_var_into_stack): Comment why we can't use find_function_data here.
10592 (fix_lexical_addr, trampoline_address, ): Use find_function_data.
10593 (mark_function_chain): Split into maybe_mark_struct_function and
10594 ggc_mark_struct_function. Export the latter.
10595 (init_function_once): Mark from cfun and outer_function_chain;
10596 not all_functions.
10597
10598 * function.h (struct function): Kill next_global. Rename next
10599 to outer. All users updated to match.
10600 (all_functions, outer_function_chain): Don't declare.
10601
10602 * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
10603 * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
10604 don't touch f->inlinable, after calling rest_of_compilation.
10605
10606 * tree.h: Forward-declare struct function. Prototype
10607 ggc_mark_struct_function.
10608
fb9282f9
KH
106092001-08-31 Kazu Hirata <kazu@hxi.com>
10610
10611 * config/h8300/h8300.md (*andorhi3): Fix typos.
10612
6268b922
KG
106132001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10614
10615 * calls.c (emit_library_call_value): Don't use a fixed
10616 argument after VA_CLOSE, i.e. out of scope in traditional C.
10617
10618 * emit-rtl.c (gen_rtvec): Likewise.
10619
78b41166
KG
106202001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10621
10622 * Makefile.in (c-pragma.o): Depend on output.h.
10623 (reorg.o): Depend on except.h.
10624
10625 * c-pragma.c: Include output.h.
10626
10627 * reorg.c: Include except.h.
10628
10629 * unwind-dw2.c: Call __builtin_alloca, not alloca.
10630
fe3e667f
RH
106312001-08-31 Richard Henderson <rth@redhat.com>
10632
ff7cc307 10633 * sched-deps.c (add_dependence): Don't elide dependency if the
fe3e667f
RH
10634 conditional used by insn is modified in elem.
10635
75b9045a
NC
106362001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
10637
10638 * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
10639
a8231a01
DN
106402001-08-31 Diego Novillo <dnovillo@redhat.com>
10641
10642 * c-decl.c (c_decode_option): Skip '-f' prefix before calling
10643 dump_switch_p.
10644
43898541
GK
106452001-08-31 Geoffrey Keating <geoffk@redhat.com>
10646
10647 * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
10648 function.
10649 (stormy16_asm_out_constructor): New function.
10650 (TARGET_ASM_CONSTRUCTOR): Define.
10651 (TARGET_ASM_DESTRUCTOR): Define.
10652
6b8c9327
AJ
106532001-08-31 Andreas Jaeger <aj@suse.de>
10654
10655 * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
10656 * loop.c (add_label_notes): Likewise.
10657 * reload.c (find_reloads): Likewise.
10658 * config/sh/sh.c (machine_dependent_reorg): Likewise.
10659
a9985a92
JM
106602001-08-31 Jason Merrill <jason_merrill@redhat.com>
10661
10662 * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
10663 code here. Take _Unwind_{W,Sw}ord*.
10664 (read_encoded_value_with_base): Use them.
10665 * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
10666 words.
10667 (extract_cie_info): Simplify read_?leb128 handling.
10668 (execute_stack_op, execute_cfa_program): Likewise.
10669 * unwind-dw2-fde.c (get_cie_encoding): Likewise.
10670
e2470e1b
GK
106712001-08-31 Geoffrey Keating <geoffk@redhat.com>
10672
10673 * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
10674 the frame pointer to pop the stack if convenient.
10675
10676 * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
10677 Don't use post-increment before combine.
10678 * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
10679 a call-saved register.
10680
f5dd47c4
AJ
106812001-08-31 Andreas Jaeger <aj@suse.de>
10682
10683 * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
10684 code was correct.
10685
ed09481d
GK
106862001-08-30 Geoffrey Keating <geoffk@redhat.com>
10687
10688 * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
10689 not DIV/MOD, of course.
10690
b8ec5764
VM
106912001-08-30 Vladimir Makarov <vmakarov@redhat.com>
10692
10693 * rtl.def: Undo my patch commited 2001-08-27.
10694
10695 * genattrtab.c: Ditto.
10696
10697 * rtl.h: Ditto.
10698
10699 * sched-int.h: Ditto.
10700
10701 * target-def.h: Ditto.
10702
10703 * target.h: Ditto.
10704
10705 * haifa-sched.c: Ditto.
10706
10707 * sched-rgn.c: Ditto.
10708
10709 * sched-vis.c: Ditto.
10710
10711 * Makefile.in: Ditto.
10712
10713 * doc/md.texi: Ditto.
10714
10715 * doc/tm.texi: Ditto.
10716
10717 * doc/contrib.texi: Ditto.
10718
10719 * doc/gcc.texi: Ditto.
10720
10721 * genattrtab.h: Remove it.
10722
10723 * genautomata.c: Remove it.
10724
10725 * genattr.c: Undo my patch and Richard Henderson's patch commited
10726 2001-08-27.
10727
9f5b774b 10728Thu Aug 30 19:22:15 2001 J"orn Rennecke <amylaar@redhat.com>
f4926e19
R
10729
10730 * config.gcc (h8300-*-elf*): New case.
10731 * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
10732 (SUBTARGET_CPP_SPEC): Define.
10733 (EXTRA_SPECS): Define.
10734 (SUBTARGET_EXTRA_SPECS): Define.
10735 * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
10736 * config/h8300/elf.h, config/h8300/t-elf: Likewise.
10737
8c062645
R
10738Thu Aug 30 18:50:37 2001 J"orn Rennecke <amylaar@redhat.com>
10739
10740 * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
10741 (LIB2FUNCS_EXTRA): Define.
10742 config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
10743 config/h8300/fixunssfsi.c: New file.
10744
6f41623f
KH
107452001-08-30 Kazu Hirata <kazu@hxi.com>
10746
10747 * config/h8300/h8300.md (zero_extendqihi2): Changes to
f63d1bf7 10748 define_expand to accommodate target-specific attributes.
6f41623f
KH
10749 (anonymous zero_extendqihi2 patterns): New.
10750
ee437932
R
10751Thu Aug 30 18:10:56 2001 J"orn Rennecke <amylaar@redhat.com>
10752
10753 * h8300.md (*andorhi3): New pattern.
10754
63a57e0f
R
10755Thu Aug 30 16:00:31 2001 J"orn Rennecke <amylaar@redhat.com>
10756
10757 * h8300.c (dosize): Fix test for "sub".
10758
95602da1
R
10759Thu Aug 30 10:21:43 2001 J"orn Rennecke <amylaar@redhat.com>
10760
10761 * c-typeck.c (pointer_diff): Try to eliminate common term before
10762 doing conversions.
10763
ef7112de
NC
107642001-08-30 Nick Clifton <nickc@cambridge.redhat.com>
10765
10766 * config/arm/arm.c (arm_compute_initial_elimination_offset):
10767 Account for the saves of the FP registers.
10768
10769 * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
10770 (TEXT_SECTION_ASM_OP): Define.
10771 (INIT_SECTION_ASM_OP): Define.
10772 (FINI_SECTION_ASM_OP): Define.
10773 (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
10774 (RDATA_SECTION_FUNCITON): Provide prototype.
10775
52fdbf26
GK
107762001-08-29 Geoffrey Keating <geoffk@redhat.com>
10777
10778 * reload1.c (move2add_note_store): Correct typo checking for
10779 argument pushes.
10780
c63b1ae8
AM
107812001-08-29 Andrew MacLeod <amacleod@redhat.com>
10782
10783 * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
10784 note should not be considered outside the libcall block.
10785
ec83eb53
KG
107862001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10787
10788 * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
10789
5965bbf8
KH
107902001-08-29 Kazu Hirata <kazu@hxi.com>
10791
10792 * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
10793
366a7b27
KH
107942001-08-29 Kazu Hirata <kazu@hxi.com>
10795
10796 * config/h8300/h8300-protos.h: Add a prototype for
10797 emit_logical_op.
10798 * config/h8300/h8300.c (emit_logical_op): New.
10799 * config/h8300/h8300.md (andhi3): Use emit_logical_op.
10800 (andsi3): Likewise.
10801 (iorhi3): Likewise.
10802 (iorsi3): Likewise.
10803 (xorhi3): Likewise.
10804 (xorsi3): Likewise.
10805
6e9c53b4
JDA
108062001-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
10807
10808 * pa.c (move_operand): Cast GET_MODE_SIZE results to HOST_WIDE_INT for
10809 comparison with rtx INTVAL.
10810 (pa_output_function_prologue): Don't mix signed and unsigned in `?'
10811 expression.
10812 * pa.h (FUNCTION_ARG_SIZE): Likewise.
10813
53251a55
KH
108142001-08-29 Kazu Hirata <kazu@hxi.com>
10815
10816 * config/h8300/lib1funcs.asm: Update the copyright. Fix
10817 comment typos.
10818
0cb3708d
KH
108192001-08-29 Kazu Hirata <kazu@hxi.com>
10820
07322342
KH
10821 * config/h8300/h8300.md (anonymous movhi pattern): Don't move
10822 (reg n) to (mem (pre_dec (reg n))
0cb3708d
KH
10823 (anonymous movsi pattern): Likewise.
10824
39fc3cc7
KH
108252001-08-29 Kazu Hirata <kazu@hxi.com>
10826
07322342 10827 * config/h8300/h8300.h (RETURN_ADDR_RTX): New.
39fc3cc7 10828
b3a68dba
KH
108292001-08-29 Kazu Hirata <kazu@hxi.com>
10830
07322342
KH
10831 * config/h8300/h8300.md (movsi_h8300hs): Optimize loading of
10832 several special constants.
b3a68dba 10833
45a4bc1d
KH
108342001-08-29 Kazu Hirata <kazu@hxi.com>
10835
10836 * config/h8300/lib1funcs.asm: Fix comment typos.
10837
c3d03e3a
KG
108382001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10839
10840 * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
10841 Fix format specifier warnings.
f5dd47c4 10842
c3d03e3a
KG
10843 * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
10844 inet_makeaddr, semctl): Prototype.
10845
10846 * mips.c (compute_frame_size): Fix signed/unsigned warnings.
10847 (save_restore_insns): Use base_offset, not gp_offset.
10848
10849 * mips.h (GP_REG_OR_PSEUDO_STRICT_P): Fix signed/unsigned warning.
10850 (ASM_OUTPUT_BYTE): Fix format specifier warning.
10851
a7b01a4b
RH
108522001-08-29 Richard Henderson <rth@redhat.com>
10853
10854 * bb-reorder.c (function_tail_eff_head): New.
10855 (record_effective_endpoints): Set it.
10856 (fixup_reorder_chain): Use it.
10857
c43f84d7
KG
108582001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10859
10860 * dwarf2asm.c (dw2_asm_output_nstring): Fix typo in previous change.
10861
c0cbc013
DJ
108622001-08-28 Dale Johannesen <dalej@apple.com>
10863
10864 * config/darwin.c (machopic_function_base_name): Add const
10865 qualifier to a string.
10866 (darwin_encode_section_info): Ditto.
10867
252cf812
KG
108682001-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10869
10870 * tree.c (default_valid_attribute_p): Don't use PARAMS on a
10871 function definition.
10872
d59c5346
DB
108732001-08-28 Daniel Berlin <dan@cgsoftware.com>
10874
10875 * df.h (struct df): Add rts_order variable.
10876
10877 * df.c (df_visit_next_rts): New function.
10878 (df_visit_next): Renamed to df_visit_next_rc
10879 (df_analyse_1): Allocate/compute/free rts_order as well.
10880 (df_rd_global_compute): Use df_visit_next_rc instead of
10881 df_visit_next.
10882 (df_ru_global_compute): Use df_visit_next_rts instead of
10883 df_visit_next.
f5dd47c4 10884
d59c5346
DB
10885 * flow.c (flow_reverse_top_sort_order_compute): New function.
10886
10887 * basic-block.h: Add prototype.
10888
e0c39f1b
DB
108892001-08-28 Daniel Berlin <dan@cgsoftware.com>
10890
10891 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
10892 blocks, the BB_REACHABLE is now set, rather than aux being
10893 non-NULL. Update the test to reflect this.
f5dd47c4 10894
a098df27
EC
108952001-08-28 Eric Christopher <echristo@redhat.com>
10896
10897 * config/mips/crtn.asm: Add comment explaining 16 byte alignment.
10898 config/mips/crti.asm: Ditto.
10899
46f9491e
EC
109002001-08-28 Eric Christopher <echristo@redhat.com>
10901 Richard Henderson <rth@redhat.com>
10902
10903 * c-pragma.h (add_weak): Move prototype from here...
10904 * output.h (add_weak): ... to here.
10905 * varasm.c (add_weak): Fix typo.
10906 * config/mips/crti.asm: New file.
10907 * config/mips/crtn.asm: Ditto.
10908 * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef.
10909 (CTOR_LISTS_DEFINED_EXTERNALLY): Remove.
10910 (INVOKE__main): Ditto.
10911 (INIT_SECTION_ASM_OP): New.
10912 (FINI_SECTION_ASM_OP): Ditto.
10913 (STARTFILE_SPEC): Add crti.
10914 (ENDFILE_SPEC): Add crtn.
10915 * config/mips/elf64.h: Same.
10916 * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN):
10917 Remove.
10918 * config/mips/vxworks.h: Ditto.
10919 * config/mips/t-elf: Support crti and crtn.
10920
5dde0143
AO
109212001-08-28 Alexandre Oliva <aoliva@redhat.com>
10922
10923 * jump.c (mark_jump_label): Fix typo: REG_LABEL is EXPR_LIST, not
10924 INSN_LIST.
10925
967603ef
RH
109262001-08-28 Richard Henderson <rth@redhat.com>
10927
10928 * config/ia64/ia64.md (andcmbi3, iorcmbi3): Fix typos.
10929 (one_cmplbi2 splitter): Remove redundant test.
10930
4f400cf6
DJ
109312001-08-28 Dale Johannesen <dalej@apple.com>
10932
10933 * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
10934
c976fa88
DS
109352001-08-28 Danny Smith <dannysmith@users.sourceforge.net>
10936
10937 * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
10938
1aef44a7
SS
109392001-08-28 Stan Shebs <shebs@apple.com>
10940
10941 * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
10942 (UNALIGNED_SHORT_ASM_OP): Define.
10943 (UNALIGNED_INT_ASM_OP): Define.
10944
68350f4f
WC
109452001-08-28 Will Cohen <wcohen@redhat.com>
10946
10947 * config/rs6000/rs6000.md (store_multiple): Correct RTL
10948 generation for first set.
10949
b5a696fb 109502001-08-27 Roman Zippel <zippel@linux-m68k.org>
c23bb84b
RH
10951
10952 * flow.c (redirect_edge_succ_nodup): Return new edge.
10953 (try_simplify_condjump): Use new edge.
10954 * basic-block.h (redirect_edge_succ_nodup): Update prototype.
10955
b5a696fb
RZ
10956 * cse.c (cse_basic_block): Skip note instructions.
10957
c05148e8
RH
109582001-08-27 Richard Henderson <rth@redhat.com>
10959
fa4e13e0
RH
10960 * combine.c (combine_simplify_rtx): Don't reverse condition
10961 if there is no reverse for the condition.
10962 (simplify_comparison): Don't simplify subregs from INT to FP.
10963
c05148e8
RH
10964 * config/m68k/m68k.md (sordered, sordered_1, sunordered, sunordered_1,
10965 suneq, suneq_1, sunge, sunge_1, sungt, sungt_1, sunle, sunle_1,
10966 sunlt, sunlt_1, sltgt, sltgt_1, fsogt_1, fsoge_1, fsolt_1, fsole_1,
10967 bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt,
10968 bordered_rev, bunordered_rev, buneq_rev, bunge_rev, bungt_rev,
10969 bunle_rev, bunlt_rev, bltgt_rev): New patterns.
46f9491e 10970
f21bdd05
RZ
109712001-08-27 Roman Zippel <zippel@linux-m68k.org>
10972
b7b59ff4
RZ
10973 * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
10974 bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
10975 (pushqi1): New.
10976 (adddi_dilshr32, adddi_dishl32): Only data register can be
10977 source for mem destination.
10978
f21bdd05
RZ
10979 * expmed.c (store_bit_field): Ignore adjustment to bitpos
10980 and use bitnum to decide about register move.
10981
a224278b
RH
109822001-08-27 Richard Henderson <rth@redhat.com>
10983
10984 * genattr.c (main): Emit state_t even when not doing scheduling.
10985
80c29cc4
RZ
109862001-08-27 Roman Zippel <zippel@linux-m68k.org>
10987 Richard Henderson <rth@redhat.com>
10988
10989 * gcse.c (reg_first_set, reg_last_set): Replace with ...
10990 (reg_avail_info, current_bb): ... these.
10991 (oprs_unchanged_p, record_last_reg_set_info): Use them.
10992 (compute_hash_table): Likewise.
10993
bce7bfe8
RZ
109942001-08-27 Roman Zippel <zippel@linux-m68k.org>
10995
10996 * flow.c (verify_flow_info): Use checksums to verify edges.
10997
ce4a5723
RH
109982001-08-27 Richard Henderson <rth@redhat.com>
10999
11000 * genautomata.c (expand_automata): Always create a description.
11001
859cb4d8
GK
110022001-08-27 Geoffrey Keating <geoffk@redhat.com>
11003
11004 * optabs.c (expand_binop): Correctly handle the carry in multiword
11005 add/subtract operations.
11006
b7a0c86f
FF
110072001-08-27 Fred Fish <fnf@be.com>
11008
11009 * ginclude/stddef.h: Fix typo, __SIZE__TYPE__ should be
11010 __SIZE_TYPE__.
11011
67a44b16
GK
110122001-08-27 Geoffrey Keating <geoffk@redhat.com>
11013
11014 * reload.c (find_reloads_toplev): Back out this change:
11015
11016 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
11017
11018 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
11019 mem if the address is a mode_dependent_address_p.
11020
acd7baf7
VM
110212001-08-27 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
11022
c23bb84b 11023 * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
acd7baf7
VM
11024 PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
11025 AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
11026 RTL constructions.
46f9491e 11027
acd7baf7
VM
11028 * genattr.c (main): New variable num_insn_reservations. Increase
11029 it if there is DEFINE_INSN_RESERVATION. Output automaton based
11030 pipeline hazard recognizer interface.
11031
11032 * genattrtab.h: New file.
46f9491e 11033
acd7baf7
VM
11034 * genattrtab.c: Include genattrtab.h.
11035 (attr_printf, check_attr_test, make_internal_attr,
11036 make_numeric_value): Move protypes into genattrtab.h. Define them
11037 as external.
11038 (num_dfa_decls): New global variable.
11039 (main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
11040 DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
11041 DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
11042 DEFINE_INSN_RESERVATION. Call expand_automata and write_automata.
11043
11044 * genautomata.c: New file.
11045
11046 * rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
46f9491e 11047
c23bb84b 11048 * sched-int.h: (curr_state): Add the external definition for
acd7baf7
VM
11049 automaton pipeline interface.
11050 (haifa_insn_data): Add comments for members blockage and units.
46f9491e 11051
acd7baf7
VM
11052 * target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
11053 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
11054 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
11055 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
11056 TARGET_SCHED_DFA_POST_CYCLE_INSN,
11057 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
11058 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
11059 macros.
11060 (TARGET_SCHED): Use the new macros.
11061
11062 * target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
11063 dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
11064 first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
11065 dfa_bubble): New members in gcc_target.sched.
46f9491e 11066
c23bb84b 11067 * haifa-sched.c (insert_schedule_bubbles_p): New variable.
acd7baf7
VM
11068 (MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
11069 (insn_queue): Redefine it as pointer to array.
11070 (NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
11071 INSN_QUEUE_SIZE.
11072 (max_insn_queue_index_macro_value): New variable.
11073 (curr_state, dfa_state_size, ready_try): New varaibles for
11074 automaton interface.
11075 (ready_element, ready_remove, max_issue): New function prototypes
11076 for automaton interface.
11077 (choose_ready): New function prototype.
11078 (insn_unit, blockage_range): Add comments.
11079 (unit_last_insn, unit_tick, unit_n_insns): Define them for case
11080 FUNCTION_UNITS_SIZE == 0.
11081 (insn_issue_delay, actual_hazard_this_instance, schedule_unit,
11082 actual_hazard, potential_hazard): Add comments.
11083 (insn_cost): Use cost -1 as undefined value. Remove
11084 LINK_COST_ZERO and LINK_COST_FREE. Add new code for automaton
11085 pipeline interface.
11086 (ready_element, ready_remove): New functions for automaton
11087 interface.
11088 (schedule_insn): Add new code for automaton pipeline interface.
11089 (queue_to_ready): Add new code for automaton pipeline interface.
11090 Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
11091 (debug_ready_list): Print newline when the queue is empty.
11092 (max_issue): New function for automaton pipeline interface.
11093 (choose_ready): New function.
11094 (schedule_block): Add new code for automaton pipeline interface.
11095 Print ready list before scheduling each insn.
11096 (sched_init): Add new code for automaton pipeline interface.
11097 Initiate insn cost by -1.
11098 (sched_finish): Free the current automaton state and finalize
11099 automaton pipeline interface.
46f9491e 11100
acd7baf7
VM
11101 * sched-rgn.c: Include target.h.
11102 (init_ready_list, new_ready, debug_dependencies): Add new code for
11103 automaton pipeline interface.
11104
11105 * sched-vis.c: Include target.h.
11106 (get_visual_tbl_length): Add code for automaton interface.
11107 (target_units, print_block_visualization): Add comments.
46f9491e 11108
c23bb84b 11109 * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
acd7baf7
VM
11110 USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
11111 (sched-rgn.o, sched-vis.o): Add new dependency file target.h.
11112 (getruntime.o, genautomata.o): New entries.
11113 (genattrtab.o): Add new dependency file genattrtab.h.
11114 (genattrtab): Add new dependencies. Link it with `libm.a'.
11115 (getruntime.o, hashtab.o): New entries for canadian cross.
11116
11117 * doc/md.texi: Description of automaton based model.
46f9491e 11118
acd7baf7
VM
11119 * doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
11120 Add comments.
11121 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
11122 TARGET_SCHED_DFA_PRE_CYCLE_INSN,
11123 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
11124 TARGET_SCHED_DFA_POST_CYCLE_INSN,
11125 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
11126 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
11127 TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
11128 hook descriptions.
11129 (TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
11130 MAX_DFA_ISSUE_RATE): New macro descriptions.
46f9491e 11131
acd7baf7
VM
11132 * doc/contrib.texi: Add dfa based scheduler contribution.
11133
11134 * doc/gcc.texi: Add more information about genattrtab.
11135
95005c21
DN
111362001-08-27 Diego Novillo <dnovillo@redhat.com>
11137
11138 * flow.c (flow_loop_dump): Do not display insn UIDs if this is not
11139 an RTL basic block.
11140
278ed218
RH
111412001-08-27 Richard Henderson <rth@redhat.com>
11142
11143 * function.c (expand_function_end): Don't init arg_pointer_save_area.
11144 (get_arg_pointer_save_area): New. Create an init it here.
11145 (fix_lexical_addr): Use it.
11146 * function.h: Declare it.
11147 * builtins.c (expand_builtin_setjmp_receiver): Use it.
11148 * stmt.c (expand_nl_goto_receiver): Use it.
11149
9f5cd0c5
RH
111502001-08-27 Richard Henderson <rth@redhat.com>
11151
36d7136e
RH
11152 * final.c (final_scan_insn): Don't enter APP_ON mode for
11153 empty asm strings.
11154
9f5cd0c5
RH
11155 * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
11156 alignment for assemble_integer for DW_EH_PE_aligned.
225b9cb9 11157 * except.c (output_function_exception_table): Likewise.
9f5cd0c5 11158
4a56401d
AJ
111592001-08-26 Andreas Jaeger <aj@suse.de>
11160
11161 * c-tree.h: Add prototyp for c_sizeof_nowarn.
11162
c96bd05e 111632001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
46f9491e 11164
278ed218 11165 * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
c96bd05e 11166
c5059423
AM
111672001-08-27 Alan Modra <amodra@bigpond.net.au>
11168
11169 * config/rs6000/rs6000.c (mask_operand): Rewrite without
11170 bit-shifting loop.
11171 (mask64_operand): Likewise.
11172 (rldic_operand): Delete.
11173 (includes_lshift64_p): Delete.
11174 (includes_rldic_lshift_p): New function.
11175 (includes_rldicr_lshift_p): New function.
11176 (print_operand): Don't call rldic_operand in case 'W'.
11177 * config/rs6000/rs6000-protos.h (rldic_operand): Remove.
11178 (includes_lshift64_p): Remove.
11179 (includes_rldic_lshift_p): Declare.
11180 (includes_rldicr_lshift_p): Declare.
11181 * config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
11182 * config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
11183 Replace match_operand rldic_operand predicate with
11184 const_int_operand. Replace includes_lshift64_p condition with
11185 includes_rldic_lshift_p.
11186 <ashldi3_internal 64 bit rldicr patterns>: New.
11187
7a75edb7
AJ
111882001-08-27 Andreas Jaeger <aj@suse.de>
11189
11190 * emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
11191 * errors.c: Likewise.
11192 * final.c: Likewise.
11193 * dwarf2asm.c: Likewise.
11194 * doprint.c (checkit): Likewise.
11195 * diagnostic.c: Likewise.
11196 * collect2.c: Likewise.
11197 * calls.c: Likewise.
11198 * c-semantics.c (build_stmt): Likewise.
11199 * c-format.c (status_warning): Likewise.
11200 * c-errors.c (pedwarn_c99): Likewise.
11201 * builtins.c (validate_arglist): Likewise.
11202 * config/pj/pj.c (pj_printf): Likewise.
11203 * fix-header.c: Likewise.
11204 * gcc.c: Likewise.
11205 * gcov.c (fnotice): Likewise.
11206 * gensupport.c (message_with_line): Likewise.
11207 * mips-tfile.c: Likewise.
11208 * protoize.c (notice): Likewise.
11209 * read-rtl.c (fatal_with_file_and_line): Likewise.
11210 * rtl-error.c: Likewise.
11211 * tradcpp.c: Likewise.
11212 * tree.c: Likewise.
11213 * cp/tree.c (build_min_nt): Likewise.
11214 (build_min): Likewise.
11215 * cp/lex.c: Likewise.
11216 * cp/errfn.c: Likewise.
11217 * cp/rtti.c (create_pseudo_type_info): Likewise.
11218
6baff4c1
DC
11219Sun Aug 26 20:25:44 2001 Denis Chertykov <denisc@overta.ru>
11220
11221 * df.c (df_uses_record): Return after recording all uses
11222 in ASM_OPERANDS.
11223
772b1404
DB
112242001-08-26 Daniel Berlin <dan@cgsoftware.com>
11225
11226 * df.c (df_insn_modify): Realloc the INSN table here, if
11227 necessary, here, too.
11228
f9ad2367
AH
112292001-08-26 Aldy Hernandez <aldyh@redhat.com>
11230
278ed218
RH
11231 * config/mips/mips.c (mips_function_value): Handle complex return
11232 values.
f9ad2367 11233
cf728d61
HPN
112342001-08-25 Hans-Peter Nilsson <hp@bitrange.com>
11235
11236 * reload1.c (reload): Make all entries in reg_equiv_memory_loc
11237 unshared.
11238 * reload.c (make_memloc): Copy result if it is still
11239 reg_equiv_memory_loc[regno] on return.
11240 (subst_reloads) [ENABLE_CHECKING]: Check that none of
11241 reg_equiv_constant, reg_equiv_memory_loc, reg_equiv_address and
11242 reg_equiv_mem are modified by the substitutions.
11243
6ab16dd9
JH
11244Sat Aug 25 23:07:35 CEST 2001 Jan Hubicka <jh@suse.cz>
11245
11246 * predict.c (expensive_function_p): New.
11247 * rtl.h (expensive_function_p): Declare.
11248 * i386.c (FAST_PROLOGUE_INSN_COUNT): New constant.
11249 (use_fast_prologue_epilogue): New static variable.
11250 (expand_prologue): Set it; emit short prologues if unset.
11251 (expand_epilogue): Likewise.
11252
4b58290f
GK
112532001-08-22 Geoffrey Keating <geoffk@redhat.com>
11254
11255 * config.gcc: Add stormy16-*-elf case.
11256 * config/stormy16/stormy-abi: New file.
11257 * config/stormy16/stormy16-lib2.c: New file.
11258 * config/stormy16/stormy16-protos.h: New file.
11259 * config/stormy16/stormy16.c: New file.
11260 * config/stormy16/stormy16.h: New file.
11261 * config/stormy16/stormy16.md: New file.
11262 * config/stormy16/t-stormy16: New file.
11263
d3fe11e6
JH
11264Sat Aug 25 15:46:51 CEST 2001 Jan Hubicka <jh@suse.cz>
11265
11266 * i386.h (no-accumulate-outgoing-args): Use proper mask.
11267
1cb18e3c
DE
112682001-08-24 David Edelsohn <edelsohn@gnu.org>
11269
11270 * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
11271 descriptor members are pointer size, not constant 4.
11272 * config/rs6000/rs6000.md (define_splits): Remove more unused
11273 constraints.
11274
c3bef1a9
KG
112752001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11276
11277 * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
11278
20787c01
AJ
112792001-08-24 Andreas Jaeger <aj@suse.de>, rkl@connect.org.uk
11280
11281 * cp/rtti.c (VPARAMS): Fix parameter.
11282
a242b083
ZW
112832001-08-24 Zack Weinberg <zackw@panix.com>
11284
11285 * expmed.c: Default-#define HAVE_insv, HAVE_extv, and HAVE_extzv
11286 to zero.
11287 (mode_for_extraction): No need for #ifdefs. Add default-case abort
11288 to switch.
11289 (store_bit_field): Eliminate insv_bitsize variable. Put HAVE_insv
11290 in if controlling use of insv.
11291 (extract_bit_field): Likewise, for extv and extzv.
11292
653753c5
JH
11293Fri Aug 24 17:27:46 CEST 2001 Jan Hubicka <jh@suse.cz>
11294
11295 * i386.md (movcc peep2): Fix load of 0.
11296
ada11335
KG
112972001-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11298
11299 * fold-const.c (tree_expr_nonnegative_p): Handle *_DIV_EXPR,
11300 *_MOD_EXPR, SAVE_EXPR and NON_LVALUE_EXPR.
11301
0213a355
JM
113022001-08-23 Jason Merrill <jason_merrill@redhat.com>
11303
4ae08f95
JM
11304 * c-pragma.h: Move weak_syms and weak_decls...
11305 * varasm.c: ...here. Now static.
11306 (declare_weak, weak_finish, remove_from_pending_weak_list): Don't
11307 depend on HANDLE_PRAGMA_WEAK.
11308
0213a355
JM
11309 * c-common.c (c_alignof, c_alignof_expr): Move here...
11310 * c-typeck.c: ...from here.
11311 * c-tree.h, c-common.h: Adjust.
11312
3e7c7805
BS
113132001-08-23 Bernd Schmidt <bernds@redhat.com>
11314
11315 * config/ia64/ia64.c (rws_update): If !pred, set write_count
11316 instead of incrementing it.
11317
3b63eac4
BS
11318 * config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
11319 asm ready, don't try to move them all into the same array element.
11320
ab75d1f1
JH
11321Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
11322
11323 * function.c (thread_prologue_and_epilogue_insns): Avoid
11324 fallthru flag on edge to exit.
11325
11326 * i386.md (trunc?fsi splitter): Conditionionize for non-sse.
11327
11328 * flow.c (delete_noop_moves, propagate_block_delete_insn): Purge
11329 dead edges.
11330
038c2f50
LB
113312001-08-23 Lars Brinkhoff <lars@nocrew.org>
11332
11333 * config/mcore/mcore.h (MACHINE_DEPENDENT_SIMPLIFY): Remove.
11334 * config/mcore/mcore.c (mcore_dependent_simplify_rtx): Likewise.
11335 * config/mcore/mcore-protos.h (mcore_dependent_simplify_rtx):
11336 Remove prototype.
11337
40803cd5
LB
113382001-08-23 Lars Brinkhoff <lars@nocrew.org>
11339
11340 * genconstants.c, genpreds.c, libfuncs.h, optabs.h, rtl-error.h:
11341 replace "GNU CC" with "GCC".
11342
7109d286
RH
113432001-08-23 Richard Henderson <rth@redhat.com>
11344
11345 * config/ia64/ia64.c (ia64_register_move_cost): Add mode arguemnt.
11346 Reorganize. Handle ADDL like GR, add GR_AND_BR. Handle TFmode.
11347 (ia64_secondary_reload_class): Need GR between AR/BR and anything.
11348 Need GR between FR and not GR_AND_FR.
11349 * config/ia64/ia64-protos.h (ia64_register_move_cost): Update.
11350 * config/ia64/ia64.h (reg_class): Add GR_AND_BR_REGS, move
11351 AR regs before GR regs.
11352 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
11353 (PREFERRED_RELOAD_CLASS): Tweak for reordered classes.
11354 (REGISTER_MOVE_COST): Update.
11355 (MEMORY_MOVE_COST): Add GR_AND_FR_REGS.
11356
26a952a8
RH
113572001-08-23 Richard Henderson <rth@redhat.com>
11358
11359 * regclass.c (init_reg_sets_1): Don't assume cost 2 within
11360 a register class.
11361
1558b970
GK
113622001-08-22 Geoffrey Keating <geoffk@redhat.com>
11363
11364 * reload1.c (emit_reload_insns): Don't look for notes
11365 on a NULL store_insn.
11366
0d587737
KG
113672001-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11368
11369 * sparc.c (uns_small_int): Don't reference a constant >32-bit.
11370 (addrs_ok_for_ldd_peep): Fix signed/unsigned warning.
11371 (sparc_flat_function_prologue, sparc_flat_function_epilogue): Fix
11372 format specifier warnings.
11373 (sparc_sched_reorder): Mark parameter with ATTRIBUTE_UNUSED.
11374
429e2a45
DB
113752001-08-22 David Billinghurst <David.Billinghurst@riotinto.com>
11376
11377 * config/i386/i386-protos.h: Correct declaration of
11378 i386_pe_asm_named_section.
11379
85f3e748
JDA
113802001-08-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
11381
11382 * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Add declaration for
11383 variable i.
11384 * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.
20787c01 11385
29401c30
NB
113862001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
11387
11388 * cpperror.c (print_location): Don't show _Pragma.
11389 * cppfiles.c (_cpp_pop_file_buffer): Handle -include file pushing
11390 and file change callback generation here.
11391 (stack_include_file): Update use of cpp_push_buffer.
11392 * cpphash.h (_cpp_pop_file_buffer): Update prototype.
11393 (struct cpp_buffer): Remove type, pfile members.
11394 * cppinit.c (cpp_handle_option): Use free_chain.
11395 * cpplex.c (_cpp_lex_token): Don't do -include file pushing here.
11396 (skip_escaped_newlines, get_effective_char, lex_percent): Take
11397 a cpp_reader rather than a cpp_buffer.
11398 (skip_escaped_newlines, get_effective_char, skip_block_comment,
11399 skip_line_comment, parse_string, lex_percent, lex_dot,
11400 _cpp_lex_token): Update accordingly.
11401 * cpplib.c (_cpp_pop_buffer): Don't do file change callback
11402 generation here.
11403 (cpp_push_buffer): Update prototype.
11404 (run_directive): Update use of cpp_push_buffer.
11405 (_cpp_do__Pragma, cpp_define, cpp_define_builtin, cpp_undef,
11406 handle_assertion): Update use of run_directive.
11407 * cpplib.h (enum cpp_buffer_type): Remove.
11408 (cpp_push_buffer): Update prototype.
11409 * fix-header.c (read_scan_file): Update.
11410
8060c8ee
MK
114112001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11412
11413 * gcc.c (struct prefix_list): Change prefix to const char *.
11414
3e4eece3
MK
114152001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11416
11417 * final.c (final_scan_insn): Call ADDR_VEC_ALIGN on next insn.
11418
2270623a
JM
114192001-08-22 Jason Merrill <jason_merrill@redhat.com>
11420
23ac7d7e
JM
11421 * explow.c (set_mem_attributes): Avoid returning a bogus alias set
11422 from a new MEM.
11423
2270623a
JM
11424 * jump.c (squeeze_notes): Take parms by reference. Handle END being
11425 a squeezable note.
11426 * rtl.h: Adjust.
11427 * ifcvt.c (dead_or_predicable): Adjust.
11428 * loop.c (find_and_verify_loops): Adjust.
11429 * stmt.c (expand_end_case): Adjust.
11430 * flow.c (merge_blocks_move_successor_nojumps): Adjust. Modify the
11431 head and end insn pointers in the basic block, not just local copies.
11432 (merge_blocks_move_predecessor_nojumps): Likewise.
11433
1322177d
LB
114342001-08-22 Lars Brinkhoff <lars@nocrew.org>
11435
11436 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
11437 bitmap.h, builtin-types.def, builtins.c, builtins.def,
11438 c-aux-info.c, c-common.c, c-common.def, c-common.h,
11439 c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
11440 c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
11441 c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
11442 caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
11443 conditions.h, config.gcc, configure.frag, configure.in,
11444 conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
11445 cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
11446 dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
11447 doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
11448 dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
11449 emit-rtl.c, errors.c, errors.h, except.c, except.h,
11450 exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
11451 fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
11452 function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
11453 gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
11454 gencheck.c, gencodes.c, genconfig.c, genemit.c,
11455 genextract.c, genflags.c, gengenrtl.c, genmultilib,
11456 genopinit.c, genoutput.c, genpeep.c, genrecog.c,
11457 gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
11458 ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
11459 graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
11460 gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
11461 gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
11462 hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
11463 integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
11464 libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
11465 machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
11466 mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
11467 mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
11468 params.h, predict.c, predict.def, predict.h, prefix.c,
11469 prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
11470 read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
11471 regclass.c, regmove.c, regrename.c, regs.h, reload.c,
11472 reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
11473 rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
11474 sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
11475 sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
11476 ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
11477 stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
11478 tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
11479 tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
11480 unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
11481 unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
11482 xcoffout.h: replace "GNU CC" with "GCC".
11483
340f7e7c
RH
114842001-08-21 Richard Henderson <rth@redhat.com>
11485
11486 * final.c (LABEL_ALIGN_AFTER_BARRIER): Default to no alignment.
11487 (final_scan_insn): Consider jump tables data even if we have no
f63d1bf7 11488 independent text section if !JUMP_TABLES_IN_TEXT_SECTION. Use
340f7e7c
RH
11489 ADDR_VEC_ALIGN.
11490 * config/ia64/ia64.h (JUMP_TABLES_IN_TEXT_SECTION): Remove.
11491 (ASM_OUTPUT_CASE_END): Remove.
11492 (ASM_OUTPUT_ADDR_DIFF_ELT): Emit pc-relative references.
11493 * config/ia64/ia64.md (tablejump): Decode pc-relative references.
11494 * config/ia64/sysv4.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
11495
d523b40e
RH
114962001-08-21 Richard Henderson <rth@redhat.com>
11497
bd7b9a0f
RH
11498 * config/ia64/ia64.c (emit_all_insn_group_barriers): Flush state
11499 at barrier insns. Emit stop bits before barriers.
11500
687eccc0
RH
11501 * flow.c (flow_find_cross_jump): Don't consider unconditional
11502 return insns for commoning.
11503
ba712955
RH
11504 * final.c (compute_alignments): Fix typo.
11505
d523b40e
RH
11506 * expmed.c (CODE_FOR_insv, gen_insv): Provide defaults.
11507 (CODE_FOR_extv, gen_extv, CODE_FOR_extzv, gen_extzv): Likewise.
11508 (store_bit_field): Use mode_for_extraction more places.
11509 (extract_bit_field): Likewise.
11510
e1b86c9e
ZW
115112001-08-21 Zack Weinberg <zackw@panix.com>
11512
11513 * caller-save.c: Don't include insn-codes.h.
11514 (reg_save_code, reg_restore_code): Make arrays of int.
11515 All uses updated to match.
11516 (insert_save, insert_restore): No need to initialize "code"
11517 variable upon declaration.
11518 * Makefile.in: update dependencies; fix typo in clean rule.
11519
b64d061e
RH
115202001-08-21 Richard Henderson <rth@redhat.com>
11521
11522 * ifcvt.c (find_if_block): Allow join_bb as EXIT.
11523 (merge_if_block): Handle fallout from same.
11524
91db4a92
KG
115252001-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11526
11527 * builtins.c (type_to_class): Fix typo in last change.
11528
45d29407
RH
115292001-08-21 Richard Henderson <rth@redhat.com>
11530
20787c01 11531 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if
45d29407
RH
11532 ia64_asm_output_label.
11533
209218a6
RH
11534 * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved
11535 copy of gp while the real gp register contains garbage.
11536
da920570
ZW
115372001-08-21 Zack Weinberg <zackw@panix.com>
11538
11539 * expmed.c (mode_for_extraction): New function.
11540 (store_bit_field, extract_bit_field): Use it.
11541 * expr.h: Prototype it and provide an enum for its first argument.
11542
11543 * combine.c, function.c, recog.c: Don't include insn-codes.h.
11544 Use mode_for_extraction rather than testing HAVE_insv/extv/extzv
11545 and digging through the insn_data tables.
11546 * Makefile.in: Update dependencies.
11547
d8693c6f
NB
115482001-08-22 Neil Booth <neil@daikokuya.demon.co.uk>
11549
11550 * cppfiles.c (stack_include_file): line-map.c now handles include
11551 depth.
11552 (handle_missing_handler): Similarly.
11553 (_cpp_execute_include): Similarly.
11554 (_cpp_pop_file_buffer): Similarly.
11555 * cpphash.h (struct cpp_reader): Remove system_include_depth,
11556 buffer_stack_depth and include_depth.
11557 * cpplib.c (do_include_common): line-map.c now handles include depth.
11558 (cpp_push_buffer): Similarly.
11559 (_cpp_pop_buffer): Similarly.
11560 * cppmacro.c (builtin_macro): Update.
11561 * line-map.c (init_line_maps): Set depth.
11562 (add_line_map): Increment "used" earlier. Update and use the
11563 include depth.
11564 (trace_include): Use the include depth.
11565 * line-map.h (struct line_maps): New member depth.
11566
5993019d
NB
115672001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
11568
11569 * cppfiles.c (stack_include_file): Don't handle -H here.
11570 * cppinit.c (cpp_start_read): Set include tracing after
11571 cpp_post_options and after stacking the main file.
11572 * line-map.c (trace_include): New.
11573 (init_line_maps, add_line_map): Update.
11574 * line-map.h (struct line_maps): New member trace_includes.
11575
e5eba70a
NB
115762001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
11577
11578 * cppfiles.c (stack_include_file): Harmonize system headerness tests.
11579 * cppfiles.c (stack_include_file): Only stack a file if there
11580 is something to do. Return a boolean indicating whether a
11581 buffer was stacked or not.
11582 (_cpp_execute_include): Similarly.
11583 (_cpp_read_file): Similarly.
11584 * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes.
11585
c1a6a8dc
SS
115862001-08-21 Sam Steingold <sds@gnu.org>
11587
11588 * tradcpp.c (rescan): define obufp_before_macroname before RECACHE
11589 (RECACHE): keep obufp_before_macroname up to date
11590
ad82abb8
ZW
115912001-08-21 Zack Weinberg <zackw@panix.com>
11592
11593 * stmt.c: Don't include insn-codes.h.
11594 (expand_end_case): Machine specific logic moved to expr.c.
11595 No need to worry about __builtin_classify_type.
11596 (check_for_full_enumeration_handling, emit_case_nodes):
11597 Kill #if 0 blocks.
11598
11599 * builtins.o (expand_builtin_classify_type): Split up so code
11600 can be shared with fold_builtin_classify_type.
11601 (type_to_class, fold_builtin_classify_type): New functions.
11602 (fold_builtins): Handle __builtin_classify_type.
11603
11604 * expr.c (do_tablejump): Now static.
11605 (case_values_threshold, try_casesi, try_tablejump): New;
11606 code mostly from stmt.c (expand_end_case).
11607 (expr.h): Update prototypes.
11608
11609 * Makefile.in (stmt.o): Update dependencies.
11610
e9e4208a
WC
116112001-08-21 Will Cohen <wcohen@redhat.com>
11612
ad82abb8
ZW
11613 * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local
11614 declaration of variable i.
11615 * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local
11616 declaration of variable i.
e9e4208a 11617
29d2c7a5
RH
116182001-08-21 Richard Henderson <rth@redhat.com>
11619
11620 * crtstuff.c: Fix thinko last change. Move list tails to start
11621 of CRT_END section. Tidy ifdefs.
11622 (__EH_FRAME_BEGIN__): Always static for ELF.
11623 (__do_global_ctors_1): Rename from __frame_dummy.
11624 * config/mips/iris6.h (LINK_SPEC): Update for __do_global_ctors_1
11625 name change; don't hide __EH_FRAME_BEGIN__.
11626
487b97e0
RH
116272001-08-21 Richard Henderson <rth@redhat.com>
11628
3aed1981
RH
11629 * gdbinit.in: Move break on exit after break on fancy_abort.
11630
487b97e0
RH
11631 * config/ia64/ia64.c (ia64_return_in_memory): True for variable
11632 sized types.
11633
d7bc7a98
NB
116342001-08-21 Neil Booth <neil@daikokuya.demon.co.uk>
11635
11636 * cpphash.h (_cpp_push_next_buffer): New.
11637 * cppinit.c (do_includes): Remove.
11638 (push_include, free_chain, _cpp_push_next_buffer): New.
11639 (cpp_start_read): Use them to rework command line option handling.
11640 (cpp_handle_option): Combine handling of -include and -imacros.
11641 * cpplex.c (_cpp_lex_token): Push a new -include buffer if
11642 appropriate. Always insert missing \n at EOF.
11643 * cpplib.c (start_directive): Get the directive position right.
11644 * cppmain.c (cb_file_change): Always print the first line, unless
11645 preprocessed.
11646
bb1a503c
AJ
116472001-08-20 Andreas Jaeger <aj@suse.de>
11648
11649 * profile.c (compute_branch_probabilities): Remove extra new-line
11650 in error message.
11651 * flow.c (verify_flow_info): Likewise.
11652
006844a3
DN
116532001-08-20 Diego Novillo <dnovillo@redhat.com>
11654
11655 * basic-block.h (basic_block): Add new field 'flags'.
11656 (BB_REACHABLE): Define.
11657 (expunge_block): Declare.
11658 * flow.c (ENTRY_BLOCK_PTR): Initialize field 'flags'.
11659 (EXIT_BLOCK_PTR): Ditto.
11660 (expunge_block): Remove static declaration.
11661 (cleanup_cfg): Clear bb->aux on every basic block.
11662 (find_unreachable_blocks): Set BB_REACHABLE bit in bb->flags when
11663 computing reachability.
11664 (delete_unreachable_blocks): Delete block b if b->flags has
11665 BB_REACHABLE unset.
11666
0760faf9
DN
116672001-08-20 Diego Novillo <dnovillo@redhat.com>
11668
11669 * doc/invoke.texi: Replace references to -fdump-tree with -fdump-ast.
11670
96bd19a7
KG
116712001-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11672
11673 * sparc.c (sparc_variable_issue): Fix typo in last change.
11674
a7b0c484
RH
116752001-08-20 Richard Henderson <rth@redhat.com>
11676
11677 * varasm.c (assemble_integer): Document ppc-eabi -mrelocatable losage.
11678
010dc908
JDA
116792001-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
11680
11681 * pa.h (RETURN_IN_MEMORY): Improve comment.
11682
3de87bf2
JJ
116832001-08-20 Janis Johnson <janis187@us.ibm.com>
11684
11685 * doc/invoke.texi (Profiling options): Clarify the interactions
11686 between -fprofile-arcs and -ftest-coverage, -fprofile-arcs.
11687
c8a6b916
JO
116882001-08-20 Jeffrey Oldham <oldham@codesourcery.com>
11689
11690 * crtstuff.c (__do_global_ctors): Fix typo in preprocessing
11691 command.
11692
27a14487
MK
116932001-08-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
11694
11695 * gcc.c (make_relative_prefix): Allocate a sufficiently large
11696 buffer.
11697
ca8264b4
RH
116982001-08-20 Richard Henderson <rth@redhat.com>
11699
11700 * final.c (end_final): Fix typo last change.
11701
51c04256
NB
117022001-08-20 Neil Booth <neil@daikokuya.demon.co.uk>
11703
11704 * cppinit.c (init_standard_includes): The returned buffer
11705 is already malloc-ed.
11706 * gcc.c (add_prefix): Similarly.
11707 * prefix.c (translate_name): Update to support clear buffer
11708 ownership rules.
11709 (update_path): Similarly. Be sure to free any newly allocated
11710 key. UPDATE_PATH_HOST_CANONICALIZE takes only one argument.
11711 (tr): New function.
11712 * prefix.h (update_path): Update prototype and document.
11713 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): Clean
11714 up and update to new buffer ownership rules.
11715 * doc/gcc.texi (UPDATE_PATH_HOST_CANONICALIZE): Update.
11716
247a370b
JH
11717Mon Aug 20 01:44:50 CEST 2001 Jan Hubicka <jh@suse.cz>
11718
11719 * final.c (compute_alignments): New function.
11720 (init_insn_lengths): Do not care label_align.
11721 (LABEL_ALIGN_AFTER_BARRIER): Default to 1.
11722 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to 0.
11723 (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): New.
11724 (shorted_branches): Realloc label_align array; do
11725 not call init_insn_lengths; Do not care about loop alignments.
11726 * output.h (compute_alignments): Declare.
11727 * toplev.c (rest_of_compilation): Call compute_alignments.
11728 * tm.texi (JUMP_ALIGN, JUMP_ALIGN_MAX_SKIP): Document.
11729
11730 * predict.c (block_info_def): Add npredecesors, remove nvisited;
11731 change visited to tovisit.
11732 (propagate_freq): Use faster traversing algorithm.
11733 (estimate_loops_at_level, estimate_bb_frequencies): Change visited
11734 to tovisit; reverse meaning.
11735
11736 * predict.c (struct block_info_def): Remove nvisited.
11737 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
11738 (estimate_bb_frequencies): Call mark_dfs_back_edges.
11739
13fac94a
GK
117402001-08-19 Geoffrey Keating <geoffk@redhat.com>
11741
11742 * doc/invoke.texi (MIPS Options): Document -mfused-madd.
11743 * config/mips/mips.h (MASK_NO_FUSED_MADD): New.
11744 (TARGET_FUSED_MADD): New.
11745 (TARGET_SWITCHES): Add -mfused-madd, -mno-fused-madd.
11746 * config/mips/mips.md: Add TARGET_FUSED_MADD as condition to
11747 the multiply-add instructions.
11748
2919600a
RH
117492001-08-19 Richard Henderson <rth@redhat.com>
11750
bb1a503c 11751 * dwarf2asm.c (dw2_output_indirect_constant_1): The symbol ref
2919600a
RH
11752 is aligned to pointer size.
11753
fd1a3f73
RH
117542001-08-19 Richard Henderson <rth@redhat.com>
11755
11756 * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
11757 display markers during final schedule.
11758
c49f511c
RH
117592001-08-19 Richard Henderson <rth@redhat.com>
11760
11761 * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
11762
c45632b7
RH
117632001-08-19 Richard Henderson <rth@redhat.com>
11764
11765 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Handle @ and *
11766 in the same string.
11767 (ASM_NAME_TO_STRING): Remove.
11768 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Handle @ and *
11769 in the same string. Remove support for expressions.
11770
90675921
RH
117712001-08-19 Richard Henderson <rth@redhat.com>
11772
11773 * config/i386/i386.md (tablejump): Make an expander; handle
11774 pic relative addressing here.
11775 (tablejump_1): Rename from tablejump_pic.
11776 (casesi): Remove.
11777
ec523c2f
RH
117782001-08-19 Richard Henderson <rth@redhat.com>
11779
11780 * regclass.c (fix_register): Fix typo.
11781
443621af
RH
117822001-08-18 Richard Henderson <rth@redhat.com>
11783
11784 * config/ia64/unwind-ia64.c (UNW_REG_B0): New.
11785 (struct _Unwind_Context): Expand br_loc to hold it.
11786 (uw_frame_state_for): Handle leaf functions better.
11787 (uw_update_reg_address): Update for br_loc change.
11788
213f974a
RH
117892001-08-18 Richard Henderson <rth@redhat.com>
11790
11791 * crtstuff.c: Move list heads before code that uses them.
11792 (__JCR_LIST__): Remove initial null.
11793 (frame_dummy, __frame_dummy): Do java registration here ...
11794 (__do_global_ctors_aux): ... not here.
11795
3dff7ed0
RH
11796 * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
11797 (__do_global_dtors_aux): Update to match.
11798 (__JCR_LIST__, __do_jv_register_classes): New.
11799 (.init): Call it.
11800 * config/ia64/crtend.asm (__JCR_END__): New.
11801 (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
11802 instead of an indirect LTOFF22 reloc.
11803
6ca3c22f
RH
118042001-08-18 Richard Henderson <rth@redhat.com>
11805
11806 * flow.c (mark_regs_live_at_end): Use regs_invalidated_by_call.
11807 * regclass.c (init_reg_sets_1): Fix typo.
11808 * config/ia64/ia64.c (ar_pfs_reg_operand): New.
11809 (ia64_expand_call): Pass ar.pfs to sibcall expanders.
11810 (ia64_compute_frame_size): Make ar.unat live when in use.
11811 (ia64_epilogue_uses): Reformat; do not check current_function_is_leaf
11812 for ar.pfs; remove ar.unat handling.
bb1a503c 11813 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): ar.unat is
6ca3c22f
RH
11814 call-saved.
11815 (PREDICATE_CODES): Add ar_pfs_reg_operand.
11816 * config/ia64/ia64-protos.h: Update decls.
11817 * config/ia64/ia64.md (sibcall_nopic): Use ar.pfs.
11818 (sibcall_pic): Likewise.
11819
f83594c4
RH
118202001-08-18 Richard Henderson <rth@redhat.com>
11821
b395ddbe
RH
11822 * config/ia64/ia64.c (ia64_sched_reorder2): Also skip past
11823 pred_rel_mutex when searching for insn_group_barrier.
8e8de254
RH
11824 * config/ia64/ia64.md (cycle_display): Combine the expander
11825 and insn patterns.
b395ddbe 11826
f83594c4
RH
11827 * config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
11828 bit before asm as needed.
11829
eced69b5
RH
118302001-08-18 Richard Henderson <rth@redhat.com>
11831
11832 * timevar.def (TV_MACH_DEP): New.
11833 * toplev.c (rest_of_compilation): Use it.
11834 * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
11835
5ed3149c
ZW
118362001-08-18 Zack Weinberg <zackw@panix.com>
11837
11838 * unwind-dw2.c (execute_stack_op): Add default aborts to
11839 the inner switches to prevent warnings.
11840
20cc76d5
RH
118412001-08-18 Richard Henderson <rth@redhat.com>
11842
11843 * timevar.h (struct timevar_time_def): Change element type to float.
11844 (ticks_to_msec, clocks_to_msec): Likewise.
11845 (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Rescale to seconds; use type float.
11846 (get_time): Likewise.
11847 (timevar_print): Adjust zero check and printing to match.
11848
b649398a
ZW
118492001-08-18 Zack Weinberg <zackw@panix.com>
11850
9c34dbbf
ZW
11851 * doc/extend.texi, doc/gcc.texi, doc/install-old.texi,
11852 doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/include/gpl.texi:
11853 Eliminate overfull or underfull hboxes.
11854
118552001-08-18 Zack Weinberg <zackw@panix.com>
11856
11857 * cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
b649398a 11858
76f4925a
ZW
118592001-08-18 Zack Weinberg <zackw@panix.com>
11860
11861 * haifa-sched.c: Convert to target hooks. Macros replaced
11862 are ISSUE_RATE, ADJUST_COST, ADJUST_PRIORITY, MD_SCHED_INIT,
11863 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_VARIABLE_ISSUE,
11864 MD_SCHED_FINISH, and HAVE_cycle_display.
11865 * target-def.h (TARGET_SCHED_ADJUST_COST,
11866 TARGET_SCHED_ADJUST_PRIORITY, TARGET_SCHED_ISSUE_RATE,
11867 TARGET_SCHED_VARIABLE_ISSUE, TARGET_SCHED_INIT,
11868 TARGET_SCHED_FINISH, TARGET_SCHED_REORDER,
9c34dbbf 11869 TARGET_SCHED_REORDER2, TARGET_SCHED_CYCLE_DISPLAY):
76f4925a
ZW
11870 New hook #defines to be overridden.
11871 (TARGET_SCHED): Bring them all together.
11872 (TARGET_INITIALIZER): Update.
11873 * target.h: Don't forward declare struct rtx_def. Use 'rtx'
9c34dbbf 11874 instead of 'struct rtx_def *' throughout.
76f4925a
ZW
11875 (struct sched): New set of hooks for the scheduler.
11876 * Makefile.in (haifa-sched.o): Depend on target.h.
11877 * doc/tm.texi: Document the new scheduler hooks, together in
11878 their own section, instead of scattered around.
11879 Fix a bunch of underfull/overfull hboxes.
11880
11881 * a29k.h, alpha.h, arm.h, c4x.h, convex.h, d30v.h, i386.h,
11882 ia64.h, m32r.h, m88k.h, mips.h, pa.h, rs6000.h, s390.h, sh.h,
11883 sparc.h: Don't define any of the old scheduler macros.
11884
11885 * a29k.c, alpha.c, arm.c, c4x.c, convex.c, d30v.c, i386.c,
11886 ia64.c, m32r.c, m88k.c, mips.c, pa.c, rs6000.c, s390.c, sh.c,
11887 sparc.c: Create hook functions from code extracted from
11888 corresponding target header, or make existing hooks static, as
11889 appropriate. Set the appropriate entries in targetm.
11890
11891 * alpha-protos.h, arm-protos.h, c4x-protos.h, d30v-protos.h,
11892 i386-protos.h, ia64-protos.h, m32r-protos.h, pa-protos.h,
11893 rs6000-protos.h, s390-protos.h, sparc-protos.h:
11894 Remove prototypes for functions which are now static.
11895
11896 * d30v.h, d30v.c, m32r.h, m32r.c: Remove #ifdef HAIFA and
11897 related gunk; the Haifa scheduler is now the only choice.
11898
ef89d648
ZW
118992001-08-18 Zack Weinberg <zackw@panix.com>
11900
11901 * optabs.h (OTI_flodiv, flodiv_optab): Kill.
11902 * genopinit.c: Put floating point divide insns in sdiv_optab.
11903 * expr.c (expand_expr): Use sdiv_optab, not flodiv_optab.
11904 * config/gofast.h, config/c4x/c4x.h,
11905 config/ia64/hpux_longdouble.h, config/mips/mips.h,
11906 config/pa/long_double.h, config/rs6000/sysv4.h,
11907 config/sparc/sparc.h: Put floating point divide libcalls in sdiv_optab.
11908 * optabs.c (init_optab): Break into new_optab, init_optab, init_optabv.
11909 (init_optabs): Use init_optabv for overflow-trapping optabs.
11910 Don't init flodiv_optab. Give mov_optab, movstrict_optab, and
11911 cmp_optab RTX codes so have_insn_for can find them.
11912
11913 * optabs.c (expand_simple_binop, expand_simple_unop,
11914 have_insn_for, gen_sub3_insn): New interfaces.
11915 * expr.h: Prototype new functions.
11916 (enum optab_methods): Move here from optabs.h.
11917
11918 * builtins.c, combine.c, doloop.c, function.c, ifcvt.c,
11919 loop.c, profile.c, simplify-rtx.c, stmt.c, unroll.c:
11920 Use new functions instead of working directly with optabs.
11921 * doloop.c, ifcvt.c, loop.c, profile.c, simplify-rtx.c,
11922 unroll.c: Don't include optabs.h.
11923 * caller-save.c, combine.c, function.c, stmt.c: Just include
11924 insn-codes.h, not optabs.h.
11925 * Makefile.in: Update dependencies.
11926
11927 * combine.c (make_compound_operation, simplify_comparison):
11928 Fix typos testing for this or that instruction.
11929
9e23c02d
HB
119302001-08-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11931
11932 * mklibgcc.in: Prefer LIB1ASMFUNCS over LIB2_DIVMOD_FUNCS when
11933 generating libgcc.a.
11934
1c0cc57e
KG
119352001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11936
11937 * except.c (TYPE_HASH): Delete.
9c34dbbf 11938
1c0cc57e
KG
11939 * objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
11940 HOST_WIDE_INT.
11941
11942 * tree.c (TYPE_HASH): Delete.
11943
11944 * tree.h (TYPE_HASH): Define.
11945
13c508d9
GS
119462001-08-18 Graham Stott <grahams@redhat.com>
11947
f63d1bf7 11948 * config/mips/mips.md (adddi3_internal_2+1): Remove constraints from
13c508d9
GS
11949 define_split.
11950 (adddi3_internal_2+2): Likewise.
11951 (eh_set_lr_di+1): Likewise.
11952
c8af3574
RH
119532001-08-17 Richard Henderson <rth@redhat.com>
11954
11955 * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11956 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Move from ...
11957 * dwarf2asm.c: ... here.
11958 * dwarfout.c: Remove them.
11959
11960 * varasm.c (assemble_integer): Add align parameter.
11961 (assemble_real, output_constant, output_constructor): Likewise.
11962 * output.h: Update decls.
11963 * dwarf2asm.c, final.c, varasm.c, config/darwin.c, config/nextstep.c,
11964 config/alpha/alpha.c, config/arm/arm.md, config/clipper/clipper.c,
11965 config/m88k/m88k.c, config/mcore/mcore.md, config/mips/mips.h,
11966 config/mips/mips.md, config/pa/pa.c, config/rs6000/rs6000.c,
11967 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.md:
11968 Update all callers.
11969
11970 * final.c (end_final): Abort profile block generation if we
a1f300c0 11971 haven't layed it out properly.
c8af3574
RH
11972 * output.h (assemble_eh_integer): Remove stale decl.
11973 * varasm.c (assemble_zeros): Tidy; use assemble_integer.
11974 (min_align): New.
11975 (assemble_integer): Handle unaligned data.
11976 (assemble_real): Abort on unaligned data.
11977 (output_constructor): Don't assume ASM_OUTPUT_ALIGN 0 does
11978 anything useful.
11979 (default_dtor_section_asm_out_destructor): Use assemble_align.
11980 (default_named_section_asm_out_constructor): Likewise.
11981 (default_ctor_section_asm_out_constructor): Likewise.
11982 * config/darwin.c (machopic_asm_out_constructor): Likewise.
11983 (machopic_asm_out_destructor): Likewise.
11984 * config/nextstep.c (nextstep_asm_out_constructor): Likewise.
11985 (nextstep_asm_out_destructor): Likewise.
11986 * config/alpha/alpha.c (vms_asm_out_constructor): Likewise.
11987 (vms_asm_out_destructor): Likewise.
11988
920ae24b
RH
119892001-08-17 Richard Henderson <rth@redhat.com>
11990
11991 * config/mips/iris6.h (TARGET_IRIX6): New.
11992 (current_section_name, current_section_flags): New.
11993 (ASM_OUTPUT_ALIGN, ASM_FILE_START, ASM_FILE_END): New.
11994 (MAX_OFILE_ALIGNMENT): New.
11995 (ASM_OUTPUT_ALIGNED_LOCAL): Use bss_section.
11996 * config/mips/mips.c (mips_make_temp_file, temp_filename): Remove.
9c34dbbf 11997 (copy_file_data): Split out from
920ae24b
RH
11998 (mips_asm_file_end): ... here.
11999 (mips_asm_file_start): Remove extra .section directive. Use
12000 tmpfile instead of mips_make_temp_file.
12001 (mips_unique_section): Use const char * as needed for warnings.
12002 (iris6_asm_named_section_1): Renamed from iris6_asm_named_section;
12003 re-add align parameter.
12004 (iris6_asm_named_section): New.
12005 (iris_section_align_entry_eq, iris_section_align_entry_hash): New.
12006 (iris6_asm_output_align, iris6_section_align_1): New.
12007 (iris6_asm_file_start, iris6_asm_file_end): New.
12008 * config/mips/mips-protos.h: Update decls.
12009
5cc3b0c7
JJ
120102001-08-17 Janis Johnson <janis187@us.ibm.com>
12011
12012 * doc/install.texi (Install GCC): Add links to build status pages.
12013 (Specific): Ditto.
12014 (Final install): Ditto; request updates for specific info
12015
bb74c963
NB
120162001-08-17 Neil Booth <neil@daikokuya.demon.co.uk>
12017
12018 * cpperror.c (print_location): Don't take a file name; use the
12019 line map instead.
12020 (_cpp_begin_message): Similarly.
12021 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
12022 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line): Update.
12023 (cpp_pedwarn_with_file_and_line): Remove.
12024 * cppfiles.c (stack_include_file): Update; set filename to stdin
12025 here when appropriate.
12026 * cpphash.h (struct cpp_buffer): Remove nominal_fname.
12027 (_cpp_begin_message): Don't take a file name.
12028 * cppinit.c: Add comment.
12029 * cpplex.c: Fix end-of-directive indicator.
12030 * cpplib.c: Don't include intl.h.
12031 (run_directive, do_diagnostic): Update.
12032 (do_line): Update to not use nominal_fname.
12033 (cpp_push_buffer): Don't take a filename.
12034 * cpplib.h (struct ht): Remove.
12035 (cpp_push_buffer): Don't take a filename.
12036 (cpp_pedwarn_with_file_and_line): Remove.
12037 * cppmacro.c (struct cpp_macro): Remove file.
12038 (builtin_macro): Update.
12039 (_cpp_create_definition): Update.
12040 * cppmain.c: Correct comment.
12041 * fix-header.c (read_scan_file): Update.
12042
2d76cb1a
KH
120432001-08-17 Kazu Hirata <kazu@hxi.com>
12044
12045 * sbitmap.c: Fix comment formatting.
12046 * sched-deps.c: Likewise.
12047 * sibcall.c: Likewise.
12048 * simplify-rtx.c: Likewise.
12049 * ssa.c: Likewise.
12050 * ssa-ccp.c: Likewise.
12051 * stor-layout.c: Likewise.
12052 * timevar.c: Likewise.
12053 * toplev.c: Likewise.
12054 * unwind-dw2.c: Likewise.
12055 * unwind-dw2-fde.c: Likewise.
12056 * varasm.c: Likewise.
12057
0779eeb2
JDA
120582001-08-17 John David Anglin <dave@hiauly1.hia.nrc.ca>
12059
12060 * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable
12061 or larger than an integer in memory.
12062
2f78c311
ZW
120632001-08-17 Zack Weinberg <zackw@panix.com>
12064
12065 * system.h: Forward-declare struct rtx_def, struct rtvec_def,
12066 and union tree_node. Typedef rtx, rtvec, and tree. Fix comment.
12067 * rtl.h: Don't forward-declare union tree_node here. Don't
12068 typedef rtx or rtvec here. Change all uses of struct rtx_def *,
12069 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
12070 and tree respectively.
12071 * tree.h: Don't forward-declare struct rtx_def here. Don't
12072 typedef tree here. Change all uses of struct rtx_def *,
12073 struct rtvec_def *, or union tree_node * to use rtx, rtvec,
12074 and tree respectively.
12075
32fa4d4a
RH
120762001-08-17 Richard Henderson <rth@redhat.com>
12077
12078 * config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h,
12079 config/mips/openbsd.h: Fix typos last change.
12080
93ee12c4
GP
120812001-08-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12082
2f78c311 12083 * doc/invoke.texi (Optimize Options): The default for
93ee12c4
GP
12084 -finline-limit is 600.
12085
f99ffb60
RH
120862001-08-17 Richard Henderson <rth@redhat.com>
12087
12088 * varasm.c (text_section): Allow TEXT_SECTION to override the
12089 printing of TEXT_SECTION_ASM_OP.
12090 * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION.
12091 (DATA_SECTION, BSS_SECTION): Remove.
12092 * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME,
12093 RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME):
12094 Rename from s/_NAME//.
12095 * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16.
12096 (ASM_DECLARE_FUNCTION_NAME): Move file switching ...
12097 (TEXT_SECTION): ... here. New.
12098 * config/mips/elf.h (TEXT_SECTION): New; no file switching.
12099 * config/mips/elf64.h, config/mips/netbsd.h: Likewise.
12100 * config/mips/openbsd.h: Likewise.
12101 * config/mips/mips.c (mips_asm_file_start): Tidy file switching test.
12102 (mips_asm_file_end): Likewise test.
12103 (mips_output_function_epilogue): Likewise. Switch back to data
12104 section after emitting the function.
12105
33c09f2f
RH
12106 * doc/tm.texi (Sections): Document TEXT_SECTION.
12107
b38a75e5
RH
121082001-08-17 Richard Henderson <rth@redhat.com>
12109
12110 * dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
12111 (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info.
12112
51084e13
RH
121132001-08-17 Richard Henderson <rth@redhat.com>
12114
12115 * varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.
12116 * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__,
12117 __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__):
12118 Add aligned attribute.
12119
121202001-08-17 Andrew Haley <aph@cambridge.redhat.com>
ff0a63e8
AH
12121
12122 * config/sh/sh.md: Add modes to unspecs in first insn to match
12123 those in the second.
12124
12125 * Makefile.in: Fix collect2 copy for Cygwin.
12126
abde42f7
JH
12127Fri Aug 17 15:48:57 CEST 2001 Jan Hubicka <jh@suse.cz>
12128
12129 Install the proper patch.
12130 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
12131 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
12132 (expand_function_start): Likewise.
12133 * stmt.c (expand_decl): Likewise.
12134 * varasm.c (make_decl_rtx): Likewise.
12135
3446405d
JH
12136Fri Aug 17 15:41:35 CEST 2001 Jan Hubicka <jh@suse.cz>
12137
12138 * final.c: Undo my previous accidental checkin.
12139 * output.h: Likewise.
12140 * tm.texi: Likewise.
12141
715bdd29
RH
121422001-08-16 Richard Henderson <rth@redhat.com>
12143
12144 * varasm.c (named_section_flags): Remove align parameter.
12145 * varasm.c, dwarf2out.c: Update all callers.
12146 * output.h: Update prototypes.
12147
12148 * target.h (target.asm_out.named_section): Remove align parameter.
2f78c311 12149 * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c,
715bdd29
RH
12150 config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c,
12151 config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c,
12152 config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c,
12153 config/sh/sh.c, config/sparc/sparc.c: Update implementations to match.
12154
12155 * varasm.c (in_named_entry_eq, in_named_entry_hash): New.
12156 (get_named_section_flags, set_named_section_flags): New.
12157 (named_section_flags): Use them.
12158 (named_section): Do decl vs section flags check here...
12159 (default_section_type_flags): ... not here.
12160 (init_varasm_once): Create in_named_htab.
12161 (resolve_unique_section): Mark reloc unused.
12162
09e07be6
RH
121632001-08-16 Richard Henderson <rth@redhat.com>
12164
12165 * varasm.c (force_const_mem): Keep pool alignment in bits.
12166 (output_constant_pool): Use assemble_align.
12167
8daaf93c
ZW
121682001-08-16 Zack Weinberg <zackw@panix.com>
12169
12170 * doc/tm.texi: Remove extra @table command.
2f78c311 12171
d9b6874b
ZW
121722001-08-16 Zack Weinberg <zackw@panix.com>
12173
12174 * final.c (shorten_branches): Clear the end of the label_align
12175 array only if we made it larger. Break up messy expressions
12176 for clarity.
12177
12178 * diagnostic.c (internal_error): Check for error recursion
12179 before doing ICE suppression.
12180
12181 * timevar.c: Timing variables now count in milliseconds.
12182 (init_timevar): Set up ticks_to_msec and clocks_to_msec here.
12183 (get_time): Not here.
12184 (timevar_print): Don't print any timer whose user, cpu, and
12185 wall times are all zero as displayed.
12186 * timevar.h: Update comment aboout units. Make timevar
12187 counters unsigned.
12188
25e22dc0
JH
12189Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>
12190
12191 * function.c (put_var_into_stack): Temporarily clear DECL_RTL.
12192 (assign_params): Avoid setting DECL_RTL to unfinished RTX.
12193 (expand_function_start): Likewise.
12194 * stmt.c (expand_decl): Likewise.
12195 * varasm.c (make_decl_rtx): Likewise.
12196
7256efa6
JM
121972001-08-16 Jason Merrill <jason_merrill@redhat.com>
12198
12199 * stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.
12200 (finalize_record_size): Don't set TYPE_USER_ALIGN.
12201
5972a110
MK
122022001-08-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12203
12204 * config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused
12205 variables.
12206
0d3c08b6
AJ
122072001-08-16 Andreas Jaeger <aj@suse.de>
12208
12209 * config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame
12210 prototype.
12211
44ce0063
JW
12212Wed Aug 15 15:22:52 EDT 2001 John Wehle (john@feith.com)
12213
12214 * rtl.h (only_sets_cc0_p): New prototype.
12215 * jump.c (sets_cc0_p): Handle INSN.
12216 (only_sets_cc0_p): New function.
12217 * flow.c (merge_blocks_nomove): Use only_sets_cc0_p.
12218 (tidy_fallthru_edge): Likewise.
12219 * integrate.c (copy_insn_list): Likewise.
12220 * unroll.c (unroll_loop): Likewise.
12221 (copy_loop_body): Likewise.
12222
cff27f1d
JE
122232001-08-15 Jason Eckhardt <jle@redhat.com>
12224
12225 * config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".
12226
6ad48e84
JH
12227Wed Aug 15 14:24:22 CEST 2001 Jan Hubicka <jh@suse.cz>
12228
12229 * predict.c (struct block_info_def): Remove nvisited.
12230 (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
12231 (estimate_bb_frequencies): Call mark_dfs_back_edges.
12232
a1f300c0 12233 * i386.c (ix86_agi_dependant): Lea causes AGI only on the Pentium
6ad48e84
JH
12234 (ix86_adjust_cost): Teach scheduler that latency to load operand can
12235 be masked.
12236
cc10816d
JH
12237Wed Aug 15 12:41:32 CEST 2001 Jan Hubicka <jh@suse.cz>
12238
12239 * predict.def: Update hitrates.
12240
fd7e958f
RH
122412001-08-15 Richard Henderson <rth@redhat.com>
12242
12243 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
12244
abb788ba
JL
12245Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com)
12246
12247 * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
12248 note from its associated jump.
12249
d9b761a9 122502001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
d9b6874b 12251
d9b761a9
UW
12252 * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__
12253 also on 64-bit s390x targets.
12254
095bb276
NC
122552001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
12256
12257 * config/arm/arm.c (arm_compute_initial_elimination_offset): New
12258 function.
12259 (arm_expand_prologue): Handled nested functions which take a
12260 variable argument list.
12261 * config/arm/arm.h (ARM_INITIAL_ELIMINATION_OFFSET): Replace
12262 macro with an invocation of
12263 arm_compute_initial_elimination_offset.
12264 * config/arm/arm-protos.h: Prototype
d9b6874b 12265 arm_compute_initial_elimination_offset.
095bb276 12266
98999d8b
GP
122672001-08-14 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12268
12269 * doc/install.texi (Specific, avr): Fix markup.
12270 (Specific, c4x): Ditto.
12271
b213a5ca
MK
122722001-08-14 Matt Kraai <kraai@alumni.carnegiemellon.edu>
12273
12274 * predict.c (dump_prediction): Change `bool' parameter to `int'.
12275
c895acf2
GDR
122762001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
12277
12278 * Makefile.in (OBJS): Add rtl-error.o
12279 (rtl-error.o): New rule.
12280 (diagnostic.o): Adjust dependency.
12281 diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
12282 error_for_asm, _fatal_insn, _fatal_insn_not_found,
12283 warning_for_asm): Move to...
12284 rtl-error.c: ...here. New file.
12285
ddee9e8d
RH
122862001-08-14 Richard Henderson <rth@redhat.com>
12287
12288 * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
12289 if USING_SJLJ_EXCEPTIONS.
12290
eb20f668
SE
122912001-08-14 Steve Ellcey <sje@cup.hp.com>
12292
12293 * tlink.c (scan_linker_output): Check string for unsatisfied in
12294 addition to undefined and unresolved.
12295
540ceb67
GS
122962001-08-14 Graham Stott <grahams@redhat.com>
12297
12298 * libgcc2.c (*): Replace EH_FRAME_SECTION with
12299 EH_FRAME_SECTION_NAME.
12300
2d515d60
JH
12301Tue Aug 14 14:57:07 CEST 2001 Jan Hubicka <jh@suse.cz>
12302
d9b6874b
ZW
12303 * genattrtab.c (simplify_test_exp_in_temp): New function.
12304 (simplify_test_exp): Avoid explicit use of temporary obstack.
12305 (simplify_cond, insert_right_side, evaluate_eq_attr,
12306 simplify_and_tree, simplify_or_tree, eliminate_known_true):
12307 Use simplify_test_exp_in_temp.
12308 (optimize_attrs): Iterate until expression stabilizes.
2d515d60 12309
881e8e29 123102001-08-13 Ulrich Weigand <uweigand@de.ibm.com>:
d9b6874b 12311
881e8e29
UW
12312 * glimits.h: Remove the __LONG_MAX__ special case for s390x.
12313 * config/s390/linux64.h: Define __LONG_MAX__ in CPP_PREDEFINES.
12314
f22db2ef
RH
123152001-08-13 Richard Henderson <rth@redhat.com>
12316
12317 * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
12318 (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
12319 * config/arm/conix-elf.h: Likewise.
12320
eb296bd9
GK
123212001-08-13 Geoffrey Keating <geoffk@redhat.com>
12322
51610b0a
GK
12323 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
12324 in gcc.c.
12325 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
12326
eb296bd9
GK
12327 * gcse.c (hash_scan_set): Expressions that are set as part of
12328 jump instructions are not available.
12329
7ee20eba
UW
123302001-08-13 Ulrich Weigand <uweigand@de.ibm.com>
12331
12332 * config/s390/s390.c (print_operand, s390_function_prologue,
12333 s390_va_start): Fixed HOST_WIDE_INT type mismatch.
12334
02c9b1ca
RH
123352001-08-13 Richard Henderson <rth@redhat.com>
12336
12337 * config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
12338 * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
12339 * doc/tm.texi (Exception Region Output): Document it.
12340
99e2a354
GK
123412001-08-13 Geoffrey Keating <geoffk@redhat.com>
12342
12343 * config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
12344 DWARF2 instead of stabs by default.
12345
2fc1c679
DE
123462001-08-13 David Edelsohn <edelsohn@gnu.org>
12347
12348 * config/rs6000/rs6000.c: Include optabs.h.
12349
710fdaad
DE
123502001-08-13 David Edelsohn <edelsohn@gnu.org>
12351
12352 * config/rs6000/eabi.asm: Define 64-bit versions of FPR
12353 save/restore routines.
12354 * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
12355
16757495
AJ
123562001-08-13 Andreas Jaeger <aj@suse.de>
12357
12358 * gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
12359 the english is correct.
12360
e78d8e51
ZW
123612001-08-13 Zack Weinberg <zackw@panix.com>
12362
12363 * expr.h: Split out optab- and libfunc-related code to...
12364 * optabs.h, libfuncs.h: ... these new headers.
12365
12366 * Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
12367 (OPTABS_H): New.
12368 (various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
12369 dependencies.
12370 * mkconfig.sh: Don't include insn-codes.h from config.h.
12371
12372 * reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
12373 enum insn_code is available. Move reload_in_optab and
12374 reload_out_optab array declarations to optabs.h.
12375 * regmove.c (gen_add3_insn): Move to optabs.c, export from
12376 there, prototype in expr.h.
12377 * gencodes.c: Cleanup: zap global variables, don't use
12378 printf where puts will do, don't bother defining MAX_INSN_CODE
12379 which nothing uses, let CODE_FOR_nothing get its value implicitly.
12380
12381 * genemit.c, genopinit.c: Include optabs.h in generated file.
12382 * genoutput.c: Include insn-codes.h in generated file.
12383 * builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
16757495
AJ
12384 expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
12385 reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
e78d8e51
ZW
12386 config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
12387 config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
12388 config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
12389 Include optabs.h.
16757495 12390 * builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
e78d8e51
ZW
12391 optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
12392 config/m88k/m88k.c, config/sparc/sparc.c:
12393 Include libfuncs.h.
12394 * reload.c: Include expr.h and optabs.h before reload.h.
12395 * config/alpha/alpha.c: Include tree.h before reload.h.
12396 * config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
12397 and reload.h in that order.
12398 * config/sparc/sparc.c: Include debug.h.
12399 * recog.c: Include insn-codes.h.
12400
050e4ca2
AJ
124012001-08-13 Andreas Jaeger <aj@suse.de>
12402
12403 * config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
12404 s390*linux.
12405
dd49a9ec
TP
124062000-08-13 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
12407
12408 * dwarf2out.c (output_cfa_loc): Fix typo in comment.
12409 * gcc.c (init_spec): Fix typo in comment.
12410 * varasm.c (data_section): Fix typo in comment.
12411
d195b46f
JH
12412Mon Aug 13 02:27:39 CEST 2001 Jan Hubicka <jh@suse.cz>
12413
12414 * predict.c (dump_prediction): New argument "USED".
12415 (combine_predictions_for_insn): Determine the used heuristics,
12416 output the case no heuristic applied.
12417 * predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
12418
afea8580
AJ
124192001-08-13 Andreas Jaeger <aj@suse.de>
12420
12421 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
12422 register %rip.
12423
5d0cab94
KH
124242001-08-13 Kazu Hirata <kazu@hxi.com>
12425
12426 * jump.c: Fix formatting.
12427
7ba7767b
KH
124282001-08-13 Kazu Hirata <kazu@hxi.com>
12429
12430 * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
12431 length.
12432
5fe2e41b
GK
124332001-08-12 Geoffrey Keating <geoffk@redhat.com>
12434
353df065
GK
12435 * loop.c (check_dbra_loop): Use condjump_label to compute
12436 jump_label.
12437
5fe2e41b
GK
12438 * rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
12439 to better document the files they're in.
12440
a2b498cb
ZW
124412001-08-12 Zack Weinberg <zackw@panix.com>
12442
12443 * recog.h (struct insn_operand_data): Shrink 'mode' field
12444 to 16 bits.
12445
dc297297
KH
124462001-08-12 Kazu Hirata <kazu@hxi.com>
12447
12448 * gcc.c: Fix comment formatting.
12449 * gccspec.c: Likewise.
12450 * gcov.c: Likewise.
12451 * gcse.c: Likewise.
12452 * genemit.c: Likewise.
12453 * gengenrtl.c: Likewise.
12454 * genrecog.c: Likewise.
12455 * gensupport.c: Likewise.
12456 * ggc-page.c: Likewise.
12457 * global.c: Likewise.
12458 * graph.c: Likewise.
12459 * ifcvt.c: Likewise.
12460 * integrate.c: Likewise.
12461 * lcm.c: Likewise.
12462 * libgcc2.c: Likewise.
12463 * loop.c: Likewise.
12464 * mbchar.c: Likewise.
12465 * optabs.c: Likewise.
12466 * predict.c: Likewise.
12467 * prefix.c: Likewise.
12468 * profile.c: Likewise.
12469 * protoize.c: Likewise.
12470 * real.c: Likewise.
12471 * recog.c: Likewise.
12472 * regclass.c: Likewise.
12473 * regmove.c: Likewise.
12474 * reg-stack.c: Likewise.
12475 * reload1.c: Likewise.
12476 * resource.c: Likewise.
12477 * rtlanal.c: Likewise.
12478 * rtl.c: Likewise.
12479
f0d1c3bd
KH
124802001-08-12 Kazu Hirata <kazu@hxi.com>
12481
12482 * doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
12483 a tree representing a constant is passed to the macro.
12484
d9f6800d
RH
124852001-08-12 Richard Henderson <rth@redhat.com>
12486
12487 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
12488 (rs6000_elf_asm_out_destructor): New.
12489 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
12490 (DTORS_SECTION_ASM_OP): Remove.
12491 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12492 (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
12493
6ba57472
DE
124942001-08-12 David Edelsohn <edelsohn@gnu.org>
12495
12496 Revert:
12497 2001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12498 * gcc.c (set_collect_gcc_options): New function, split out from
12499 main.
12500 Ignore elided switches.
12501 (do_spec_1): Invoke before executing command.
12502 (set_input): Export.
12503 Move declaration ...
12504 * gcc.h (set_input): ... here.
12505 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
12506 file.
12507
270fc29b
RH
125082001-08-12 Richard Henderson <rth@redhat.com>
12509
12510 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
12511 thinko wrt TARGET_RELOCATABLE.
12512
21c38ecb
NB
125132001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
12514
12515 * fix-header.c (cb_file_change): Update prototype.
12516
94aca342
ZW
125172001-08-11 Zack Weinberg <zackw@panix.com>
12518
12519 * toplev.c (set_float_handler): Make static.
12520 * toplev.h: Don't prototype set_float_handler.
12521
12522 * simplify-rtx.c: Don't include setjmp.h.
12523 (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
12524 New functions.
12525 (simplify_unary_operation, simplify_binary_operation): Use them,
12526 via do_float_handler.
12527
12528 * fold-const.c: Don't include setjmp.h.
12529 (exact_real_inverse_1): New function.
12530 (exact_real_inverse): Use it, via do_float_handler.
12531
12532 * varasm.c: Don't include setjmp.h.
12533 (assemble_real_1): New function.
12534 (assemble_real): Use it, via do_float_handler.
12535 Call internal_error if we get a trap here.
12536
12537 * c-parse.in, cse.c, cselib.c, config/i386/i386.c,
12538 config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
12539
31cdd499
ZW
125402001-08-11 Zack Weinberg <zackw@panix.com>
12541
12542 * defaults.h: Define PREFERRED_STACK_BOUNDARY to
12543 STACK_BOUNDARY if not already defined.
12544
12545 * calls.c, function.c, reload1.c, explow.c: Don't default
12546 PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
12547 PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
12548
12549 * explow.c (allocate_dynamic_stack_space): Change unsafe #if
12550 to run-time test.
12551
12552 * doc/tm.texi: Document that STACK_BOUNDARY is required;
12553 clarify difference between it and PREFERRED_STACK_BOUNDARY.
12554
2b220265
NB
125552001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
12556
12557 * cppmacro.c (enter_macro_context): Push macro expansions even
12558 if empty.
12559
d0101753
FS
125602001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12561
12562 * config/rs6000/rs6000.c: Include integrate.h to silence warning.
12563 (rs6000_elf_section_type_flags): Actually return a value.
12564
994fe660 125652001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
afea8580
AJ
12566
12567 * s390.c, s390.h, s390.md, s390-protos.h, linux.h, t-linux:
994fe660 12568 Clean up code: add missing comments and prototypes, fix warnings,
02c9b1ca 12569 remove obsolete code, fix spacing to conform to coding style.
994fe660 12570
f314b9b1 125712001-08-11 Ulrich Weigand <uweigand@de.ibm.com>
afea8580
AJ
12572
12573 * config/s390/s390.c (targetm): Define TARGET_ASM_OPEN_PAREN
f314b9b1
UW
12574 and TARGET_ASM_CLOSE_PAREN.
12575 (regclass_map): CC register belongs to class NO_REGS.
afea8580 12576 (legitimize_pic_address): Don't generate unnecessary moves
f314b9b1 12577 (to avoid confusing loop optimization).
afea8580
AJ
12578 (check_and_change_labels): Replace jump_long by indirect_jump.
12579 (s390_final_chunkify): Don't start a new literal pool on section
f314b9b1
UW
12580 switch in 64-bit code.
12581 (s390_va_start, s390_va_arg): Fixed incorrect sizes for 64-bit.
afea8580 12582
f314b9b1
UW
12583 * config/s390/s390.h (TARGET_SWITCHES): Renamed debug_arg to debug.
12584 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE): Set to 64 (for 64-bit).
afea8580 12585 (HARD_REGNO_MODE_OK, RETURN_IN_MEMORY): Support complex integer
f314b9b1
UW
12586 modes correctly.
12587 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Remove CC_REGS.
12588 (EH_RETURN_HANDLER_RTX): Fixed incorrect offset for 64-bit.
12589 (CONST_COSTS): Fixed incorrect costs.
12590
12591 * config/s390/s390.md (fixuns_trunc[sd]f[sd]i2, udivsi3, umodsi3):
12592 Use emit_jump instead of emit_jump_insn (gen_jump).
afea8580 12593 (divsi3, modsi3): Clobber low word of divmoddisi3 before shifting
f314b9b1
UW
12594 (to avoid confusing flow analysis).
12595 (tablejump, tablejump1, tablejump2): Removed. Replaced by casesi.
12596 (casesi, casesi_jump): New.
12597 (jump_long): Removed. Functionality merged into indirect_jump.
12598 (indirect_jump): Accept address_operand, not just register_operand.
12599 (cjump_long, icjump_long): Use same logic as indirect_jump.
12600 (builtin_setjmp_setup, builtin_setjmp_receiver, builtin_longjmp):
12601 Fixed broken setjmp/longjmp handling.
12602 (do_builtin_setjmp_setup): Removed.
12603
12604 * config/s390/linux.h (ASM_OUTPUT_DOUBLE_INT): Work around
12605 broken GNU as versions that don't accept .quad with large
12606 negative values. Use hexadecimal output instead.
12607 (ASM_OUTPUT_ADDR_DIFF_ELT): Adapt to new casesi insn.
12608 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN, FUNCTION_PROLOGUE,
12609 FUNCTION_EPILOGUE): Removed. Now in targetm.
12610
12611 * config/s390/linux64.h (CALL_USED_REGISTERS): Add CC register.
12612
12613 * config/s390/fixdfdi.h: Add missing copyright statement.
12614 Fix type conflicts on 64-bit. Add missing SFmode routines.
12615
12616 * s390.c, s390.h, s390.md, linux.h, linux64.h: Fixed incorrect
12617 email address.
12618
dddba205
RH
126192001-08-11 Richard Henderson <rth@redhat.com>
12620
12621 * rtl.h (REG_EH_RETHROW): Remove.
12622 * rtl.c (reg_note_name): Update.
12623 * combine.c (distribute_notes): Don't check for it.
12624
ab61c93f
RH
126252001-08-11 Richard Henderson <rth@redhat.com>
12626
12627 * combine.c (distribute_notes): Place REG_SETJMP.
12628
58f4de4f
RH
126292001-08-11 Richard Henderson <rth@redhat.com>
12630
12631 * doc/extend.texi (Arrays and pointers implementation): Discourage
12632 relying on sign-extension of pointers.
12633
f841565e
L
126342001-08-11 H.J. Lu <hjl@gnu.org>
12635
12636 * config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
12637 in_dtors.
12638 (EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
12639 RDATA_SECTION_ASM_OP.
12640
d8393f64
GP
126412001-08-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12642
12643 * doc/install.texi (Specific, c4x): Fix cross-reference to the
12644 main manual to work both for info and HTML versions.
afea8580 12645
bef985f3 126462001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
760a4879 12647 Matt Kraai <kraai@alumni.carnegiemellon.edu>
afea8580 12648
bef985f3
NB
12649 * cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
12650 * cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
12651 (struct cpp_pool): New member first.
12652 * cppinit.c (append_include_chain): Plug memory leaks.
12653 * cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
12654 Allocate pragma structures from the (aligned) macro pool to
12655 avoid leaking memory.
12656 * cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
12657 so we don't leak memory.
12658 * hashtable.c (ht_destroy): New.
12659 * hashtable.h (ht_destroy): New.
12660
f80f7e8c
NB
126612001-08-11 Neil Booth <neil@daikokuya.demon.co.uk>
12662 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12663
12664 * c-lex.c (map): Make const.
12665 (cb_file_change): Update for callback passing a line map.
12666 Don't assume we have a previous map. Remove sanity check
12667 about popping too many files.
12668 * cpperror.c (print_location): Make map const.
12669 * cppfiles.c (stack_include_file): Update; line maps now hold sysp.
12670 (cpp_make_system_header): Similarly.
12671 (search_from): Similarly.
12672 (_cpp_execute_include): Don't remember where we came from.
12673 * cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
12674 (struct cpp_reader): Make map const.
12675 (CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
12676 * cpplib.c (do_line): Update; line maps now hold sysp.
12677 (cpp_push_buffer): Similarly.
12678 (_cpp_do_file_change): Similarly; callback with map instead.
12679 (cpp_get_line_maps): Constify return value.
12680 (_cpp_pop_buffer): Update.
12681 * cpplib.h (struct cpp_file_change): Remove.
12682 (struct cpp_callbacks): Update.
12683 (cpp_get_line_maps): Constify return value.
12684 * cppmacro.c (_cpp_create_definition): Update.
12685 * cppmain.c (struct printer): Constify map.
12686 (maybe_print_line): Similarly.
12687 (print_line): Similarly. Deduce flags 1 and 2 here.
12688 (cb_file_change): Update.
12689 * line-map.c (free_line_maps): Warn regardless.
12690 (add_line_map): Return pointer to const. When passed NULL to_file
12691 with LC_LEAVE, use the obvious values for the return point so the
12692 caller doesn't have to figure them out.
12693 (lookup_line): Return pointer to const.
12694 (print_containing_files): Take pointer to const.
12695 * line-map.h (struct line_map): New members reason, sysp.
12696 (add_line_map): Return pointer to const.
12697 (lookup_line): Similarly.
12698 (print_containing_files): Take pointer to const.
12699
bb948ad3
RZ
127002001-08-10 Roman Zippel <zippel@linux-m68k.org>
12701 Richard Henderson <rth@redhat.com>
12702
12703 * regmove.c (regmove_optimize): Avoid setting a register twice in
12704 a parallel set.
12705
cbf4c36f
RH
127062001-08-10 Richard Henderson <rth@redhat.com>
12707
12708 * doc/extend.texi (Arrays and pointers implementation): Document
12709 behavior of pointer/integer conversion.
12710
db80cc1f 127112001-08-10 Ulrich Weigand <uweigand@de.ibm.com>
afea8580
AJ
12712
12713 * glimits.h (__LONG_MAX__): Add s390x as 64-bit architecture.
db80cc1f 12714
fe203faf
RH
127152001-08-10 Richard Henderson <rth@redhat.com>
12716
12717 * doc/extend.texi (C Implementation): New chapter.
12718 * doc/gcc.texi (Top): Link it in.
12719
894aeeb0
AC
127202001-08-10 Andrew Cagney <ac131313@redhat.com>
12721
12722 * doc/install.texi (Specific): Fix CVS merge botch.
12723
d67c7dd8
RH
127242001-08-10 Richard Henderson <rth@redhat.com>
12725
12726 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
12727 ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
12728
19652adf
ZW
127292001-08-10 Zack Weinberg <zackw@stanford.edu>
12730
12731 * calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
12732 if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
12733 this macro is now required.
12734
12735 * cselib.c (cselib_process_insn), flow.c (propagate_block),
12736 loop.c (find_and_verify_loops), reload.c (reload): Check
12737 for rtx code of CALL_INSN, not CALL, when deciding if we
12738 need to check for REG_SETJMP note.
12739
12740 * gcse.c (compute_hash_table, compute_store_table): Update
12741 the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
12742 logic.
12743
12744 * config/avr/avr.c: Fix typo.
12745 * config/convex/convex.c (expand_movstr): Use adjust_address.
12746 * config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
12747 variable.
12748 * config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
12749 * config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
12750 Fix typo.
12751 * config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
12752 Do define STACK_BOUNDARY.
12753 * config/i370/i370.c: Include expr.h.
12754 * config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
12755 config/pa/som.h, config/v850/v850.h: Take in_ctors and
12756 in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
12757 and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
12758 * config/m88k/m88k.c: Include c-tree.h after expr.h.
12759 * config/pdp11/pdp11.c: Include expr.h and toplev.h.
12760 * config/romp/romp.c: Include expr.h after tree.h.
12761 Include toplev.h.
12762 (output_fpop): Use xmalloc, not oballoc.
12763 * config/we32k/we32k.c: Include expr.h.
12764
cf35eebc
KH
127652001-08-10 Kazu Hirata <kazu@hxi.com>
12766
12767 * config/h8300/h8300.h: Fix formatting.
12768
07b2f2fd
JM
127692001-08-08 Jason Merrill <jason_merrill@redhat.com>
12770
12771 * c-common.h (RETURN_NULLIFIED_P): Lose.
12772 * c-semantics.c (genrtl_return_stmt): Don't check it.
12773
67070ffe
RS
127742001-08-10 Richard Sandiford <rsandifo@redhat.com>
12775
12776 * config/mips/mips.c (mips_add_large_offset_to_sp): New function.
12777 (mips_annotate_frame_insn): New function.
12778 (mips_emit_frame_related_store): New function.
12779 (save_restore_insns): Don't mark instructions that set up the base
12780 registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
12781 the store instructions instead.
12782 (mips_expand_prologue): If the stack size is moved into a temporary
12783 register, do not mark that move as frame-related. Add a
12784 REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
12785
a8205f03
RS
127862001-08-10 Richard Sandiford <rsandifo@redhat.com>
12787
12788 * config/mips/mips.c (save_restore_insns): Don't mark the RA's
12789 stack slot as unchanging if current_function_calls_eh_return.
12790
2359d013
RS
127912001-08-10 Richard Sandiford <rsandifo@redhat.com>
12792
2a895e44 12793 * config/mips/mips.md (reload_incc): Use HARD_REGNO_NREGS to
2359d013
RS
12794 access the second half of the TFmode scratch operand.
12795
ca11a2e9
AG
127962001-08-10 Anthony Green <green@redhat.com>
12797
12798 * java/class.c (emit_register_classes): Conditionalize code on
12799 JCR_SECTION_NAME.
12800
ca52d046
GP
128012001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12802
12803 * doc/install.texi (Specific, avr): Fix cross-reference to the
12804 main manual to work both for info and HTML versions.
12805
396ad517
JDA
128062001-08-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
12807
19652adf 12808 * stmt.c (expand_null_return_1): Remove code to generate simple returns
396ad517
JDA
12809 and "use_goto" argument.
12810 (expand_null_return, expand_value_return): Update all callers.
12811 * function.c (expand_function_end): Remove code to generate simple
12812 return.
12813 * config/vax/vax.md (epilogue): New expander for function return.
12814 * doc/md.texi (epilogue): Remove "if defined".
12815
e361dcd3
ZW
128162001-08-09 Zack Weinberg <zackw@stanford.edu>
12817
12818 * Makefile.in: Partially revert my previous change:
12819 put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
12820 of the hashtab.o and safe-ctype.o rules.
12821
2cc07db4
RH
128222001-08-09 Richard Henderson <rth@redhat.com>
12823
12824 * Makefile.in (MAYBE_USE_COLLECT2): Remove; purge all uses.
12825 (USE_COLLECT2): Remove duplicate definition.
12826 * config.gcc (a29k-udi, a29k-wrs-vxworks) [tm_file]: Remove a29k/udi.h.
12827 (use_collect2): Remove dead code.
12828 * configure.in (use_collect2): Remove will_use_collect2 and
12829 maybe_use_collect2; add USE_COLLECT2 to host_xm_defines and xm_defines.
12830 * configure: Rebuild.
12831
12832 * target.h (targetm.asm_out.constructor): New.
12833 (targetm.asm_out.destructor, targetm.have_ctors_dtors): New.
12834 * target-def.h (TARGET_ASM_CONSTRUCTOR): New.
12835 (TARGET_ASM_DESTRUCTOR, TARGET_HAVE_CTORS_DTORS): New.
12836 * varasm.c (in_ctors, in_dtors): New.
12837 (assemble_constructor, assemble_destructor): Remove.
12838 (default_stabs_asm_out_destructor): New.
12839 (default_named_section_asm_out_destructor): New.
12840 (dtors_section, default_dtor_section_asm_out_destructor): New.
12841 (default_stabs_asm_out_constructor): New.
12842 (default_named_section_asm_out_constructor): New.
12843 (ctors_section, default_ctor_section_asm_out_constructor): New.
12844 * output.h: Update declarations.
12845 * c-decl.c (c_expand_body): Use target hooks instead of
12846 assemble_constructor and assemble_destructor.
12847 * profile.c (output_func_start_profiler): Likewise.
12848 * objc/objc-act.c (finish_objc): Likewise.
12849 (build_module_descriptor): Tidy. Set TREE_PUBLIC properly
12850 for the constructor.
12851 * objc/Make-lang.in (objc-act.o): Depend on TARGET_H.
12852
12853 * crtstuff.c (CTORS_SECTION_ASM_OP): Don't define.
12854 (DTORS_SECTION_ASM_OP): Likewise.
12855 (__CTOR_LIST__): Use attribute section when possible.
12856 (__DTOR_LIST__, __CTOR_END__, __DTOR_END__): Likewise.
12857
12858 * defaults.h (EH_FRAME_SECTION_NAME): Don't depend on
12859 ASM_OUTPUT_CONSTRUCTOR.
12860
12861 * config/darwin.c (machopic_asm_out_constructor): New.
12862 (machopic_asm_out_destructor): New.
12863 * config/darwin-protos.h: Update declarations.
12864 * config/darwin.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12865 (ASM_OUTPUT_DESTRUCTOR): Remove.
12866 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12867 * config/nextstep.c (nextstep_asm_out_constructor): New.
12868 (nextstep_asm_out_destructor): New.
12869 * config/nextstep.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12870 (ASM_OUTPUT_DESTRUCTOR): Remove.
12871 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12872 * config/nextstep21.h: Undef TARGET_ASM_*STRUCTOR instead of
12873 ASM_OUTPUT_*STRUCTOR.
12874 * config/i386/aix386ng.h: Likewise.
12875
12876 * config/elfos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Remove.
12877 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): No ctors/dtors.
12878 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12879 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12880 * config/lynx.h: Likewise.
12881 * config/netware.h: Likewise.
12882 * config/psos.h: Likewise.
12883 * config/alpha/alpha-interix.h: Likewise.
12884 * config/alpha/elf.h: Likewise.
12885 * config/arc/arc.h: Likewise.
12886 * config/arm/aof.h: Likewise.
12887 * config/arm/coff.h: Likewise.
12888 * config/arm/elf.h: Likewise.
12889 * config/c4x/c4x.h: Likewise.
12890 * config/h8300/h8300.h: Likewise.
12891 * config/i386/cygwin.h: Likewise.
12892 * config/i386/djgpp.h: Likewise.
12893 * config/i386/i386-coff.h: Likewise.
12894 * config/i386/i386-interix.h: Likewise.
12895 * config/i386/sco5.h: Likewise.
12896 * config/i386/vsta.h: Likewise.
12897 * config/i386/win32.h: Likewise.
12898 * config/i960/i960-coff.h: Likewise.
12899 * config/ia64/sysv4.h: Likewise.
12900 * config/m68hc11/m68hc11.h: Likewise.
12901 * config/m68k/coff.h: Likewise.
12902 * config/m68k/mot3300.h: Likewise.
12903 * config/m88k/m88k.h: Likewise.
12904 * config/mcore/mcore-pe.h: Likewise.
12905 * config/mcore/mcore.h: Likewise.
12906 * config/mips/elf.h: Likewise.
12907 * config/mips/elf64.h: Likewise.
12908 * config/mips/iris6.h: Likewise.
12909 * config/pa/pa64-hpux.h: Likewise.
12910 * config/rs6000/sysv4.h: Likewise.
12911 * config/sh/sh.h: Likewise.
12912 * config/sparc/litecoff.h: Likewise.
12913
12914 * config/svr3.h (CTORS_SECTION_ASM_OP): Remove.
12915 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
12916 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12917 * config/1750a/1750a.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12918 (ASM_OUTPUT_DESTRUCTOR): Remove.
12919 * config/a29k/a29k.c: Move include of tree.h.
12920 * config/a29k/udi.h: Delete file.
12921 * config/alpha/alpha.c (vms_asm_out_constructor): New.
12922 (vms_asm_out_destructor): New.
12923 * config/alpha/vms.h (EXTRA_SECTIONS): No ctors/dtors.
12924 (EXTRA_SECTION_FUNCTIONS): Likewise.
12925 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12926 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12927 * config/c4x/c4x.c: Move include of tree.h.
19652adf 12928 * config/clipper/clipper.c (clix_asm_out_constructor): New.
2cc07db4
RH
12929 (clix_asm_out_destructor): New.
12930 * config/clipper/clix.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12931 (ASM_OUTPUT_DESTRUCTOR): Remove.
12932 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12933 * config/i386/aix386.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12934 (TARGET_ASM_CONSTRUCTOR): New.
12935 * config/i386/i386.c (ix86_svr3_asm_out_constructor): New.
12936 (sco_asm_out_constructor): New.
12937 * config/i386/sco5.h (TARGET_ASM_CONSTRUCTOR): New.
12938 * config/i386/svr3gas.h: Remove stack grows up code.
12939 Remove code duplicated from i386/sysv3.h.
12940 (TARGET_ASM_CONSTRUCTOR): New.
12941 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Remove.
12942 (DTORS_SECTION_FUNCTION, CTORS_SECTION_FUNCTION): Remove.
12943 * config/i386/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12944 (TARGET_ASM_CONSTRUCTOR): New.
12945 * config/m68hc11/m68hc11.c (m68hc11_asm_out_constructor): New.
12946 (m68hc11_asm_out_destructor): New.
12947 * config/m68hc11/m68hc11.h (TARGET_ASM_CONSTRUCTOR): New.
12948 (TARGET_ASM_DESTRUCTOR): New.
12949 * config/m68k/auxgas.h: Don't undef ASM_OUTPUT_*STRUCTOR.
12950 * config/m68k/dpx2.h: Properly undef all the bits inherited from
12951 config/svr3.h pertaining to section manipulation.
12952 * config/m68k/dpx2g.h: Remove #if 0 code.
12953 * config/m68k/m68k.c (m68k_svr3_asm_out_constructor): New.
12954 * config/m68k/tower-as.h (ASM_OUTPUT_SOURCE_LINE): Fix typo.
12955 (ASM_OUTPUT_CONSTRUCTOR): Remove.
12956 (TARGET_ASM_CONSTRUCTOR): New.
12957 * config/m88k/m88k.c (m88k_layout_frame): Don't use assign_stack_local.
12958 (m88k_svr3_asm_out_constructor): New.
12959 (m88k_svr3_asm_out_destructor): New.
12960 * config/m88k/sysv3.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12961 (ASM_OUTPUT_DESTRUCTOR): Remove.
12962 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12963 * config/mips/mips.h: Remove #if 0 ASM_OUTPUT_*STRUCTOR code.
12964 * config/rs6000/aix.h: Likewise.
12965 * config/mips/rtems64.h: Don't undef removed constructor related bits.
12966 * config/mips/vxworks.h: Likewise.
12967 * config/rs6000/lynx.h: Likewise.
12968 * config/sh/elf.h: Likewise.
12969 * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): New.
12970 (DTORS_SECTION_ASM_OP): New.
12971 * config/sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12972 (ASM_OUTPUT_DESTRUCTOR): Remove.
12973 * config/sparc/sol2-sld-64.h: Likewise.
12974 * config/vax/vax.c (vms_asm_out_constructor): New.
12975 (vms_asm_out_destructor): New.
12976 * config/vax/vms.h (ASM_OUTPUT_CONSTRUCTOR): Remove.
12977 (ASM_OUTPUT_DESTRUCTOR): Remove.
12978 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
12979
12980 * doc/tm.texi (@node Initialization): Update.
12981
ef8d8b89
RH
129822001-08-09 Richard Henderson <rth@redhat.com>
12983
12984 * config/alpha/crtbegin.asm (__JCR_LIST__): New.
12985 (__do_global_dtors_aux): Use gp-relative static data to avoid
12986 one dynamic relocation.
12987 (__do_frame_setup): Register Java classes.
12988 * config/alpha/crtend.asm (__JCR_END__): New.
12989
1b0c37d7
ZW
129902001-08-09 Zack Weinberg <zackw@stanford.edu>
12991
ef8d8b89
RH
12992 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
12993 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
12994 (GEN, STAGESTUFF): Add new files.
12995 (insn-constants.h, s-constants, tm-preds.h, s-preds,
12996 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
12997 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
12998 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
12999 as well as insn-codes.h and insn-flags.h in config.h; and no
13000 extra headers in tconfig.h and hconfig.h.
13001
13002 * gencodes.c: Eliminate code to generate predicate declarations
13003 or #defines for md-file constants.
13004 * genconstants.c, genpreds.c: New files.
13005
13006 * i386.md: Re-order guard expressions such that TARGET_64BIT
13007 comes first, when this permits better optimization. Add
13008 TARGET_64BIT to more x86-64 patterns. Add comment explaining
13009 why this is desirable.
1b0c37d7 13010
a734f2a3
JJ
130112001-08-09 Jakub Jelinek <jakub@redhat.com>
13012
13013 * config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
13014 (find_fde_for_dso): Remove.
13015 (_Unwind_IteratePhdrCallback): New.
13016 (_Unwind_FindTableEntry): Use dl_iterate_phdr.
13017 * config/ia64/crtbegin.asm (__ia64_app_header): Remove.
13018
21d93687
RK
13019Thu Aug 9 11:30:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13020
13021 * expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
13022 (move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
13023
b1b6b0cb
GS
130242001-08-09 Graham Stott <grahams@redhat.com>
13025
13026 * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
13027 (vis_no_unit): Use it.
13028 (visualize_no_unit): Add the insn only if room exists.
13029
a0e4ce74
GS
130302001-08-09 Graham Stott <grahams@redhat.com>
13031
1b0c37d7
ZW
13032 * predict.c (estimate_probability): Replace magic numbers with
13033 appropriate enumeration.
a4e11a5c
GS
13034
130352001-08-09 Graham Stott <grahams@redhat.com>
13036
13037 * cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
a0e4ce74
GS
13038 parameter.
13039 (EXTRACT_FLAGS): Likewise.
13040
77416b3d
AH
130412001-08-09 Aldy Hernandez <aldyh@redhat.com>
13042
1b0c37d7
ZW
13043 * config/mips/mips.c (mips_legitimate_address_p): Check for
13044 CONST_INT in last patch.
77416b3d 13045
6351543d
AG
130462001-08-08 Anthony Green <green@redhat.com>
13047
13048 * java/class.c (emit_register_classes): Use assemble_jcr if
13049 possible. Keep the original mechanism as a fallback.
13050 * defaults.h (JCR_SECTION_NAME): Define if we have named section
13051 and weak symbol support.
13052 * crtstuff.c (__JCR_LIST__): Define.
13053 (__JCR_END__): Define.
13054 (_Jv_RegiserClasses): Define weak symbol if possible.
13055 (__do_global_ctors_aux): Register classes for ELF targets with
13056 weak symbol support.
13057
30f7a378
KH
130582001-08-08 Kazu Hirata <kazu@hxi.com>
13059
13060 * dbxout.c: Fix comment formatting.
13061 * dependence.c: Likewise.
13062 * df.c: Likewise.
13063 * diagnostic.c: Likewise.
13064 * dominance.c: Likewise.
13065 * doprint.c: Likewise.
13066 * dwarf2out.c: Likewise.
13067 * dwarfout.c: Likewise.
13068 * emit-rtl.c: Likewise.
13069 * except.c: Likewise.
13070 * explow.c: Likewise.
13071 * expmed.c: Likewise.
13072 * expr.c: Likewise.
13073 * flow.c: Likewise.
13074 * fold-const.c: Likewise.
13075 * function.c: Likewise.
13076
35e17f7e
FS
130772001-08-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13078
13079 * global.c (retry_global_alloc): Avoid shadowing allocno.
13080
2b1e2382
MM
130812001-08-08 Mark Mitchell <mark@codesourcery.com>
13082
13083 * except.c (remove_fixup_regions): Fix typo.
13084
b9f22704
JM
130852001-08-08 Jan van Male <jan.vanmale@fenk.wau.nl>
13086
1b0c37d7 13087 * emit-rtl.c (adjust_address, adjust_address_nv): Cast offset to
b9f22704 13088 unsigned HOST_WIDE_INT to avoid warning.
1b0c37d7
ZW
13089 * final.c (final): Cast INSN_UID to unsigned to avoid warning.
13090 * flow.c (set_block_for_new_insns): Likewise.
b9f22704 13091
a4b07e7f
JH
13092Wed Aug 8 21:08:14 CEST 2001 Jan Hubicka <jh@suse.cz>
13093
13094 * sibcall.c (return_value_pseudo): New static variable.
13095 (skip_copy_to_return_value): Handle return_value_pseudo.
13096 (call_ends_block_p): Ensure that return_value_pseudo is set.
13097 (optimize_sibling_and_tail_recursive_call): Discover the
13098 load of pseudo return value in alternate exit block.
13099
9d98f8f9
JH
13100Wed Aug 8 21:06:43 CEST 2001 Jan Hubicka <jh@suse.cz>
13101
13102 * calls.c (ECF_ALWAYS_RETURN): New constant.
13103 (emit_call_1): Add REG_ALWAYS_RETURN note if needed.
13104 (expand_call): Use LCF_ALWAYS_RETURN for __bb_fork_func.
13105 (emit_library_call_value_1): Handle LCT_ALWAYS_RETRUN.
13106 * flow.c (need_fake_edge_p): Handle REG_ALWAYS_RETURN.
13107 * rtl.c (reg_note_name): New name.
13108 * rtl.h (enum reg_note): Add REG_ALWAYS_RETURN.
13109
82423cba
AH
131102001-08-07 Aldy Hernandez <aldyh@redhat.com>
13111
13112 * config/mips/mips.c (mips_legitimate_address_p): Limit "la" addresses.
13113
5755cd38
JM
131142001-08-08 Jason Merrill <jason_merrill@redhat.com>
13115
13116 * alias.c (get_alias_set): Return a previously calculated
13117 alias set for a VAR_DECL.
13118 * function.c (gen_mem_addressof): Calculate the alias set before
13119 touching the RTL.
13120
0f0138b6
JH
13121Wed Aug 8 18:44:37 CEST 2001 Jan Hubicka <jh@suse.cz>
13122
13123 * predict.def: Set hitrates according our experimental run.
13124
13125Wed Aug 8 18:01:58 CEST 2001 Jan Hubicka <jh@suse.cz>
13126
13127 * i386.h (HARD_REGNO_RENAME_OK): New macro.
13128
b2bcb32d
L
131292001-08-08 H.J. Lu <hjl@gnu.org>
13130
13131 * config/mips/mips.c (mips_unique_section): New. Copied from
13132 config/mips/elf.h.
13133
13134 * config/mips/mips-protos.h (mips_unique_section): New
13135 prototype.
13136
13137 * config/mips/elf.h (UNIQUE_SECTION): Use mips_unique_section.
13138
13139 * config/mips/little.h: New. Generic little endian mips
13140 targets. Only mips*-*-linux* is converted to use it so far.
13141
13142 * config/mips/linux.h: Include "gofast.h" and "mips/mips.h".
13143 (WCHAR_TYPE): Defined
13144 (WCHAR_TYPE_SIZE): Likewise.
13145 (INIT_SUBTARGET_OPTABS): Likewise.
13146 (BSS_SECTION_ASM_OP): Likewise.
13147 (SBSS_SECTION_ASM_OP): Likewise.
13148 (ASM_OUTPUT_ALIGNED_BSS): Likewise.
13149 (ASM_DECLARE_OBJECT_NAME): Likewise.
13150 (UNIQUE_SECTION): Likewise.
13151 (EXTRA_SECTIONS): Likewise.
13152 (ASM_OUTPUT_CONSTRUCTOR): Likewise.
13153 (ASM_OUTPUT_DESTRUCTOR): Likewise.
13154 (ASM_OUTPUT_DEF): Likewise.
13155 (HANDLE_SYSV_PRAGMA): Removed.
13156 (NO_IMPLICIT_EXTERN_C): Likewise.
13157 (TARGET_MEM_FUNCTIONS): Likewise.
13158 (STARTFILE_SPEC): Likewise.
13159 (ENDFILE_SPEC): Likewise.
13160 (LIB_SPEC): Likewise.
13161 (INVOKE__main): Likewise.
13162 (CTOR_LIST_BEGIN): Likewise.
13163 (CTOR_LIST_END): Likewise.
13164 (DTOR_LIST_BEGIN): Likewise.
13165 (DTOR_LIST_END): Likewise.
13166 (SET_ASM_OP): Likewise.
13167 (ASM_OUTPUT_SOURCE_LINE): Likewise.
13168 (ASM_OUTPUT_DEF): Likewise.
13169 (ASM_OUTPUT_IDENT): Likewise.
13170
13171 * config/mips/mips.h (ASM_SPEC): Undefine before define.
13172 (CPLUSPLUS_CPP_SPEC): Likewise.
13173 (ASM_APP_ON) Redefine only if not defined.
13174 (ASM_APP_OFF): Likewise.
13175 (ASM_OUTPUT_SOURCE_LINE): Likewise.
13176 (ASM_OUTPUT_IDENT): Likewise.
13177
13178 * config.gcc: Update tm_file for Linux/mips.
13179
b7933c21
BS
131802001-08-08 Bernd Schmidt <bernds@redhat.com>
13181
13182 * cselib.c (cselib_record_sets): If insn is predicated, turn
13183 sources into IF_THEN_ELSEs.
7dcc803e
BS
13184
13185 * config/ia64/ia64.md (cond_opsi2_internal, cond_opsi2_internal_b):
13186 Turn into define_insn_and_split.
b9f22704 13187
4b6c5340
BS
13188 * sched-deps.c: Include "cselib.h".
13189 (add_insn_mem_dependence, sched_analyze_1, sched_analyze_2):
13190 Use cselib to turn memory addresses into VALUEs.
13191 (sched_analyze): Call cselib_init/cselib_finish if necessary.
13192 * sched-int.h (struct sched_info): New member USE_CSELIB.
13193 * sched-ebb.c (ebb_sched_info): Initialize it.
13194 * sched-rgn.c (rgn_sched_info): Likewise.
13195 * Makefile.in (sched-deps.o): Update dependencies.
7dcc803e 13196
91700444
BS
13197 * cselib.h (cselib_subst_to_values): Declare.
13198 * cselib.c (cselib_subst_to_values): No longer static. Allow MEMs
13199 that have no value and autoincs to be handled by generating a new
13200 dummy value.
b9f22704 13201
674fc07d
GS
132022001-08-08 Graham Stott <grahams@redhat.com>
13203
13204 * final.c (shorten_branches): Update the INSN_ADDRESSES of insns
13205 within fixed length SEQUENCE.
13206
5f9689e5
GS
132072001-08-08 Graham Stott <grahams@redhat.com>
13208
13209 * diagnostic.h (diagnostic_format_decoder): Parenthesize macro parameter.
13210 (diagnostic_prefixing_rule): Likewise.
13211 (diagnostic_line_cutoff): Likewise.
13212 (diagnostic_kind_count): Likewise.
13213
6d8c73f7
GS
132142001-08-08 Graham Stott <grahams@redhat.com>
13215
13216 * alias.c (find_base_decl): Delete redundent assignment.
13217
8e0d15d4
GS
132182001-08-08 Graham Stott <grahams@redhat.com>
13219
13220 * dependence.c (INDEX_LIMIT_CHECK): Uppercase macro parameter.
13221 (abs): Uppercase and paranthesize macro parameter.
13222 (MEM_DEPENDENCY): Add whitespace.
13223
e5503743
GS
132242001-08-08 Graham Stott <grahams@redhat.com>
13225
13226 * config/mips/mips.c (mips_legitimate_address_p): Fix enable checking
13227 failure check for CONST_INT
13228
5b57e28b
GS
132292001-08-08 Graham Stott <grahams@redhat.com>
13230
13231 * flow.c (back_edge_of_syntactic_loop_p): Add whitespace.
13232 (libcall_dead_p): Likewise.
13233
13234 (mark_used_regs): Constify fmt.
13235 (find_use_as_address): Likewise.
13236
0f1e8126
GS
132372001-08-08 Graham Stott <grahams@redhat.com>
13238
13239 * c-typeck.c (RESTORE_SPELLING_DEPTH): Uppercase and parenthesize macro
13240 parameter.
13241
e61465ed
GS
132422001-08-08 Graham Stott <grahams@redhat.com>
13243
13244 * combine.c (combine_simplify_rtx): Update comment and
13245 remove erroneous test.
13246
7364fdd8
NB
132472001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
13248
13249 * cppinit.c (cpp_finish): Pop the final buffer without comment.
13250 * cpplex.c (_cpp_lex_token): Don't pop the final buffer; and
13251 take care to avoid multiple no-newline at EOF warnings in that
13252 case.
13253
570a98eb
JH
13254Tue Aug 7 22:18:06 CEST 2001 Jan Hubicka <jh@suse.cz>
13255
13256 * calls.c (expand_call): Do not emit INSN_SETJMP note.
13257 (emit_library_call_value_1): Likewise.
13258 (emit_call_1): Emit REG_SETJMP note.
13259 * cse.c (cse_end_of_basic_block): Use REG_SETJMP instead
13260 of INSN_SETJMP
13261 * cselib.c (cselib_process_insn): Likewise.
13262 * flow.c (propagate_block): Likewise.
13263 * loop.c (find_and_verify_loops): Likewise.
13264 * reload.c (find_equiv_regs): Likewise.
13265 * reload1.c (reload): Likewise.
13266 * resource.c (mark_referenced_resources,
13267 mark_set_resources): Likewise.
13268 * sched-deps (sched_analyze_insn, sched_analyze): Likewise.
13269 * final.c (final_scan_insn): Remove NOTE_INSN_SETJMP.
13270 * haifa-sched.c (unlink_other_notes): Likewise.
13271 (reemit_notes): Likewise.
13272 * sched-ebb.c (sched_ebb): Likewise.
13273 * sched-rgc.c (sched_region): Likewise.
13274 * rtl.c (note_insn_name): Likewise.
13275 (reg_note_name): Add REG_SETJMP
13276 * rtl.h (reg_note): Add REG_SETJMP.
13277 (insn_note): Remove NOTE_INSN_SETJMP.
13278
13279 * profile.c (branch_prob): Add fake edges for setjmp.
13280
ff25793c
DJ
132812001-08-07 Daniel Jacobowitz <drow@mvista.com>
13282
1b0c37d7
ZW
13283 * config.gcc: Quote target_cpu_default2 correctly for
13284 powerpc*-*-* targets.
ff25793c 13285
42dcba34
NB
132862001-08-07 Neil Booth <neil@daikokuya.demon.co.uk>
13287
13288 * cpplib.h, line-map.h: Update comments.
13289 * cppmain.c (printer_init): Move inline.
13290 (maybe_print_line, print_line): Take a map pointer.
13291 (cb_ident, cb_define, cb_undef, cb_include, cb_def_pragma): Update.
13292 (cb_file_change): Don't use prior value of print.map.
13293
e8515283
DE
132942001-08-07 David Edelsohn <edelsohn@gnu.org>
13295
13296 * doc/install.texi: Document fine-grained multilib configuration.
13297
0d025d43
JH
13298Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
13299
13300 * rtlanal.c (find_first_parameter_load): Call note_stores
13301 only on the instructions.
13302
24a28584
JH
13303Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
13304
13305 * alias.c (nonlocal_mentioned_p):
13306 Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
13307 * calls.c (emit_call_1): Likewise.
13308 * cse.c (cse_insn, invalidate_skipped_block): Likewise.
13309 * cselib.c (cselib_process_insn): Likewise.
13310 * df.c (df_insns_modify): Likewise.
13311 * flow.c (need_fake_edge_p): Likewise.
13312 (propagate_one_insn): Likewise.
13313 * haifa-sched.c (reemit_notes): Likewise.
13314 * integrate.c (copy_insn_list): Likewise.
13315 * jump.c (delete_prior_computation): Likewise.
13316 * local-alloc.c (validate_equiv_mem): Likewise.
13317 * loop.c (scan_loop): Likewise.
13318 * predict.c (estimate_probability): Likewise.
13319 * reload.c (reload): Likewise.
13320 * sched-deps (sched_analyze): Likewise.
13321 * rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
13322 * gcse.c (compute_hash_table): Likewise.
13323 (mark_call): Likewise.
13324 (store_killed_in_insn): Likewise.
13325
1b81b789
JM
133262001-08-07 Jason Merrill <jason_merrill@redhat.com>
13327
45dcf572
JM
13328 * c-semantics.c (make_rtl_for_local_static): Use DECL_RTL_SET_P.
13329
2d2e44d2
RH
133302001-08-06 Richard Henderson <rth@redhat.com>
13331
13332 * varasm.c (assemble_gc_entry): Remove.
13333 * output.h: Likewise.
13334
47907859
RH
133352001-08-06 Richard Henderson <rth@redhat.com>
13336
13337 * varasm.c (assemble_constructor): Take a symbol_ref and a
13338 priority instead of a bare string. Move priority handling
13339 here from cp/decl2.c.
13340 * output.h: Update decls.
13341
13342 * c-decl.c (c_expand_body): Update calls to assemble_constructor
13343 and assemble_destructor.
13344 * profile.c (output_func_start_profiler): Likewise.
13345 * objc/objc-act.c (finish_objc): Likewise.
13346 (build_module_descriptor): Return the symbol not the symbol name.
13347
362b68a8
DE
133482001-08-06 David Edelsohn <edelsohn@gnu.org>
13349
13350 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): Add whitespace.
13351 * config/rs6000/linux64.h (RS6000_MCOUNT): Define.
13352 ({SAVE,RESTORE}_FP_{PREFFIX,SUFFIX}): Define.
13353 * config/rs6000/rs6000.h (ASM_OUTPUT_DOUBLE_INT): Remove whitespace.
13354 * config/rs6000/sysv4.h (DOUBLE_INT_ASM_OP): Add whitespace.
13355 * config/rs6000/xcoff.h (DOUBLE_INT_ASM_OP): Add whitespace.
13356
fde84349
NB
133572001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
13358
13359 * cpperror.c (print_containing_files): Moved to line-map.c.
13360 (print_location): line-map.c handles re-listing or otherwise.
13361 * cpphash.h (struct lexer_state): Remove next_bol.
13362 (struct cpp_buffer): Remove include_stack_listed.
13363 * cpplib.c (do_line, cpp_push_buffer, _cpp_pop_buffer):
13364 Remove faked buffer handling.
13365 (_cpp_do_file_change): Tweak.
13366 * cpplib.h (enum cpp_buffer_type): Remove BUF_FAKE.
13367 * cppmain.c (struct printer): Remove filename.
13368 (print_line, cb_file_change): Update accordingly.
13369 * line-map.c: Include intl.h.
13370 (init_line_maps): Initialize last_listed.
13371 (free_line_maps): Sanity check, warn if ENABLED_CHECKING.
13372 (add_line_map): Sanity check inputs, warn if ENABLED_CHECKING.
13373 (print_containing_files): New.
13374 * line-map.h (struct line_maps): New member last_listed.
13375 (print_containing_files, INCLUDED_FROM): New.
13376 * Makefile.in: Update.
13377 * po/POTFILES.in: Add line-map.c.
13378
df4556a3
RH
133792001-08-06 Richard Henderson <rth@redhat.com>
13380
13381 * except.c (convert_from_eh_region_ranges_1): Never mark
13382 USE or CLOBBER insns as throwing.
13383
13384 * expr.c (store_constructor): Don't clobber memory targets.
13385
a4d3961a
AJ
133862001-08-06 Andreas Jaeger <aj@suse.de>
13387
13388 * profile.c (branch_prob): Remove unused variable insn.
13389
13390 * Makefile.in (local-alloc.o): Add dependency on except.h.
13391
13392 * local-alloc.c: Include except.h for can_throw_internal prototype.
13393
1d482056
RH
133942001-08-06 Richard Henderson <rth@redhat.com>
13395
13396 * config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
13397 * function.c (expand_main_function): Implement it.
13398 * doc/tm.texi: Document it.
13399
4f2b1139
SS
134002001-08-06 Stan Shebs <shebs@apple.com>
13401
13402 * doc/install.texi: Document powerpc-*-darwin* details.
13403
f984d8df
DB
134042001-08-06 Daniel Berlin <dan@cgsoftware.com>
13405
13406 * config/rs6000/aix.h (CPP_CPU_SPEC): Move back to rs6000.h
13407 (ASM_CPU_SPEC): Move back to rs6000.h
13408 #undef CPP_DEFAULT_SPEC and ASM_DEFAULT_SPEC before redefining them.
13409
13410 * config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
13411
13412 * config/rs6000/linux.h: Remove vtable thunks stuff we accidently
a4d3961a 13413 readded.
f984d8df
DB
13414
13415 * config/rs6000/linux64.h: Ditto.
13416
13417 * config/rs6000/rs6000.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
13418 to here. Define default ASM_DEFAULT_SPEC and CPP_DEFAULT SPEC to
13419 nothing.
13420
13421 Remove accidently readded definitions of FUNCTION_PROLOGUE,
13422 FUNCTION_EPILOGUE, ASM_OPEN_PAREN, ASM_CLOSE_PAREN
13423
13424 * config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
13425 to rs6000.h
a4d3961a 13426
78d56e8b
RH
134272001-08-05 Richard Henderson <rth@redhat.com>
13428
13429 * local-alloc.c (update_equiv_regs): Do not move insns that
13430 can throw.
13431
39f95a2c
JH
134322001-08-05 Jan Hubicka <jh@suse.cz>
13433
13434 * Makefile.in (reload1.o): Add dedendancy on except.h
13435 * basic-block.h (purge_all_dead_edges, purge_dead_edges): Update
13436 prototypes.
13437 * flow.c (purge_dead_edges, purge_all_dead_edges): Return bool
13438 indicating wehther edges has been cleaned up.
13439 * reload1.c: Inlucde except.h
13440 (fixup_abnormal_edges): Accept deleted insns.
13441 * toplev.c (rest_of_compilation): Purge dead edges unconditionally
13442 after combine.
13443
9765f972
NB
134442001-08-06 Neil Booth <neil@daikokuya.demon.co.uk>
13445
13446 * cpplib.c (do_line): Correct line number after pop_buffer.
13447
6604e6f3
NB
134482001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
13449
13450 PR preprocessor/3824
13451 * line-map.c: Update comments.
13452 * line-map.h: Update comments.
13453 * tradcif.y: Don't consider large numbers unsigned.
13454
67821e3a
NB
134552001-08-05 Neil Booth <neil@daikokuya.demon.co.uk>
13456
13457 PR preprocessor/3081
13458 * c-lex.c (map): New.
13459 (cb_file_change): Update map and use it.
13460 (cb_def_pragma, cb_define, cb_undef): Use map and line.
13461 (c_lex): Update to use map.
13462 * cpperror.c (print_location): Move to using logical line numbers.
13463 * cppfiles.c (stack_include_file): Update for new _cpp_do_file_change.
13464 (cpp_make_system_header): Similarly.
13465 (_cpp_execute_include): Stop line numbering hacks. Store the
13466 line we will return to.
13467 * cpphash.h (CPP_BUF_LINE): Remove.
13468 (struct cpp_buffer): Remove lineno and pseudo_newlines.
13469 Add map and return_to_line.
13470 (_cpp_do_file_change): Update.
13471 * cppinit.c (cpp_start_read): Update line kludge.
13472 * cpplex.c (handle_newline): Don't update lineno and pseudo_newlines.
13473 (trigraph_ok): Use logical line numbers for diagnostics.
13474 (skip_block_comment): Likewise.
13475 (skip_whitespace): Likewise.
13476 (skip_line_comment): Use pfile->line instead.
13477 (_cpp_lex_token): Update to use logical line numbering exclusively.
13478 Handle BOL locally. Accept new lines in directives, but keep
13479 pfile->line decremented. Diagnostics use logical lines. Update
13480 directive handling.
13481 * cpplib.c (SEEN_EOL): New.
13482 (skip_rest_of_line, check_eol): Use it.
13483 (end_directive): Increase line number when accepting the newline
13484 at the end of a directive.
13485 (run_directive): Simplify.
13486 (do_line): Bad LC_LEAVEs become LC_RENAMEs. Update.
13487 (_cpp_do_file_change): Update to take buffer line number as an
13488 argument, and store the current map in the cpp_reader. Remove
13489 line number kludges.
13490 (_cpp_do__Pragma): Restore output position after a _Pragma.
13491 (cpp_push_buffer): Don't set output line or lineno.
13492 (_cpp_pop_buffer): Transfer more info from a faked buffer.
13493 Remove line kludge. Set output_line.
13494 * cppmacro.c (builtin_macro): Update handling of __LINE__.
13495 (parse_arg): Use logical lines.
13496 (save_lookahead_token): Save EOFs too now.
13497 * cppmain.c (struct printer): Fix comments.
13498 (printer_init): Simplify, let caller do errors.
13499 (scan_translation_unit, check_multiline_token, dump_macro): Update.
13500 (maybe_print_line): Simplify.
13501 (print_line): Don't print a linemarker if -P.
13502 (cb_define, cb_undef, cb_def_pragma, cb_ident, cb_include): Update.
13503 (cb_file_change): Simplify.
13504 * line-map.h (LAST_SOURCE_LINE): Fix.
13505 (CURRENT_LINE_MAP): New.
13506
b05ecb16
BS
135072001-08-05 Bernd Schmidt <bernds@redhat.com>
13508
ab59db3c 13509 * doloop.c (doloop_modify_runtime): Properly compute number of
b05ecb16
BS
13510 iterations if loop was unrolled.
13511
ab59db3c
BS
13512 * alias.c (rtx_equal_for_memref_p): VALUEs are only identical
13513 if their CSELIB_VAL_PTRs are.
13514
703cf211
BS
13515 * config/ia64/ia64.c (struct spill_fill_data): New member prev_insn.
13516 (setup_spill_pointers): Initialize it.
13517 (spill_restore_mem): Set it.
13518 (do_spill, do_restore): Use it to add REG_INC note.
13519 * config/ia64/ia64.md (movti_internal): Add REG_INC notes as needed.
13520
1ad72cef
BS
13521 * config/ia64/ia64.c (ia64_sched_reorder): Defer scheduling of
13522 asms if other insns are available.
13523
acb0638d
BS
13524 * config/ia64/ia64.c (condop_operator): New predicate.
13525 * config/ia64/ia64.h (PREDICATE_CODES): Add it.
13526 * config/ia64/ia64.md (cond_opsi2_internal and splitters): New
13527 patterns.
13528
8125d7e9
BS
13529 * expr.c (expand_expr, case COND_EXPR): Prefer working with a
13530 temporary register than directly using a MEM.
13531
12355aec
HPN
135322001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
13533
13534 * config/sh/sh.c (sh_asm_named_section): Fix typo in align
13535 parameter in last change.
13536
98c0c681
ZW
135372001-08-04 Zack Weinberg <zackw@panix.com>
13538
13539 * sparc.md: Don't use #if inside C test expression.
13540
68c5782d
RH
135412001-08-04 Richard Henderson <rth@redhat.com>
13542
13543 * i386.c: Revert 07-30 ix86_output_main_function_alignment_hack.
13544
8bbbef34
NB
135452001-08-04 Neil Booth <neil@daikokuya.demon.co.uk>
13546
13547 * cpphash.h (struct cpp_reader): New member directive_line.
13548 * cpplib.h (struct cpp_callbacks): Update prototypes of callbacks.
13549 * cpplib.c (do_define, do_undef, do_ident, do_include_common,
13550 do_pragma): Pass line to callbacks.
13551 (start_directive): Record line of directive.
13552 * cppmain.c (cb_ident, cb_define, cb_undef, cb_def_pragma,
13553 cb_include): Similarly.
13554 * c-lex.c (cb_ident, cb_define, cb_undef, cb_def_pragma):
13555 Similarly.
13556
95146dd6
HPN
135572001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
13558
13559 * config/d30v/d30v.h: Fix typo in start of UNIQUE_SECTION
13560 comment.
13561
f1330226
JH
13562Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka <jh@suse.cz>
13563
13564 * loop.c (try_copy_prop); Kill invalidated REG_EQUAL notes.
13565
13566 * reload1.c (fixup_abnormal_edges): New static function.
13567 (reload): Use it.
13568
13569 * flow.c (need_fake_edge_p): New function.
f5143c46 13570 (flow_call_edges_add): Fix handling of noreturn and sibling calls;
f1330226
JH
13571 avoid call insn to be very last insn in the insn stream.
13572
13573 * profile.c (branch_prob): Call flow_call_edges_add instead of
13574 doing that by hand; cleanup cfg to re-merge basic blocks once
13575 we are done.
13576
ef6e958a
NB
135772001-08-04 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13578
13579 * Makefile.in (CPPLIB_H): New, so that dependencies on cpplib.h
13580 are also on line-map.h.
13581 * cppfiles.c (stack_include_file): Update.
13582 * cpphash.h (struct cpp_buffer): New member return_at_eof.
13583 (_cpp_pop_buffer): New.
13584 * cppinit.c (cpp_destroy, cpp_finish): Update.
13585 (do_includes): Mark each buffer to return at EOF.
13586 * cpplex.c (_cpp_lex_token): Pop buffers at EOF. Continue or
13587 return as requested.
13588 * cpplib.c (run_directive, do_line, cpp_push_buffer): Update.
13589 (cpp_pop_buffer): Rename _cpp_pop_buffer. Stop skipping.
13590 * cpplib.h (cpp_pop_buffer): Remove.
13591 (cpp_scan_buffer_nooutput): Rename cpp_scan_nooutput.
13592 * cppmacro.c (cpp_scan_buffer_nooutput): Similarly. No need to pop
13593 buffers.
13594 * cppmain.c (scan_buffer): Rename scan_translation_unit. No need
13595 to pop buffers.
13596 (do_preprocessing): Update.
13597 * fix-header.c (read_scan_file): Update. No need to pop buffers.
13598 * c-parse.in (_yylex): Similarly.
13599 * scan-decls.c (scan_decls): Similarly.
13600 * line-map.h: Update comments.
13601
13602 * objc/Make-lang.in (objc-act.o): Update dependencies.
13603
03997728
SC
136042001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13605
a4d3961a 13606 * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
03997728
SC
13607 and soft register for operand 0.
13608 ("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
13609
d8de89e8
SC
136102001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13611
13612 * config/m68hc11/m68hc11.md ("bitcmpqi"): Allow memory and soft
13613 register for operand 0.
13614 ("bitcmpqi_z_used"): Allow memory for operand 0.
13615 (split "bitcmpqi"): New split to handle address reg as operand 1.
13616
aaa4ca30
AJ
136172001-08-04 Andreas Jaeger <aj@suse.de>
13618
13619 * gcse.c: Revert Daniel's last patch.
13620
da9314d5
ZW
136212001-08-03 Zack Weinberg <zackw@stanford.edu>
13622
a4d3961a 13623 * sparc-protos.h: Add prototypes for fp_zero_operand and
da9314d5
ZW
13624 reg_or_0_operand.
13625 * sh-protos.h: Add prototype for fpul_operand.
13626
79323c50
HPN
136272001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
13628
13629 * doc/extend.texi (Other Builtins): Fix typo in last change.
13630
7c262518
RH
136312001-08-03 Richard Henderson <rth@redhat.com>
13632
a4d3961a 13633 * target.h (gcc_target): Add asm_out.named_section,
7c262518
RH
13634 section_type_flags, have_named_sections.
13635 * target-def.h (TARGET_ASM_NAMED_SECTION): New.
13636 (TARGET_HAVE_NAMED_SECTIONS): New.
13637 (TARGET_SECTION_TYPE_FLAGS): New.
13638
13639 * Makefile.in (toplev.o): Depend on TARGET_H.
13640 (varasm.o, dbxout.o): Likewise.
13641 * c-common.c (decl_attributes): Check targetm.have_named_sections
13642 instead of ifdef ASM_OUTPUT_SECTION_NAME.
13643 * dbxout.c (dbxout_function_decl): Likewise.
13644 (dbxout_function_end): Likewise.
13645 * toplev.c (compile_file): Likewise.
13646 * varasm.c (exception_section): Likewise.
13647 * cp/decl2.c (finish_objects): Likewise.
13648
13649 * defaults.h (EH_FRAME_SECTION): Remove.
13650 (EH_FRAME_SECTION_ASM_OP): Remove.
13651 (EH_FRAME_SECTION_NAME): New.
13652 (UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
13653 (UNIQUE_SECTION_P): Remove.
13654 * dwarf2out.c (SECTION_FORMAT): Remove.
13655 (ASM_OUTPUT_SECTION): Remove.
13656 (output_call_frame_info): Use named_section_flags.
13657 (output_comp_unit, dwarf2out_start_source_file): Likewise.
13658 (dwarf2out_end_source_file, dwarf2out_define): Likewise.
13659 (dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
13660 * varasm.c (in_eh_frame, eh_frame_section): Remove.
13661 (named_section_flags): New.
13662 (named_section): Use it and targetm.section_type_flags.
13663 (resolve_unique_section): New.
13664 (assemble_start_function): Use it.
13665 (asm_emit_uninitialised, assemble_variable): Likewise.
13666 (default_section_type_flags): New.
13667 (default_no_named_section, default_elf_asm_named_section): New.
13668 (default_coff_asm_named_section, default_pe_asm_named_section): New.
13669 * output.h: Update varasm.c decls.
13670 (SECTION_*): New flags.
13671
13672 * crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
13673 (__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
13674
13675 * config/elfos.h (UNIQUE_SECTION_P): Remove.
13676 * config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
13677 * config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
13678 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13679 * config/i386/i386-interix.h, config/i386/win32.h: Likewise.
13680 * config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
13681 * config/mips/elf.h, config/mips/elf64.h: Likewise.
13682 * config/mips/iris6gld.h, config/mips/mips.h: Likewise.
a4d3961a 13683 * config/pa/pa64-hpux.h,
7c262518
RH
13684
13685 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
13686 (TARGET_ASM_NAMED_SECTION): New.
13687 * config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
13688 * config/alpha/vms.h, config/arm/coff.h: Likewise.
13689 * config/arm/conix-elf.h, config/arm/elf.h: Likewise.
13690 * config/arm/linux-elf.h, config/arm/pe.h: Likewise.
13691 * config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
13692 * config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
13693 * config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
13694 * config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
13695 * config/i386/sco5.h, config/i386/win32.h: Likewise.
13696 * config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
13697 * config/mcore/mcore.h, config/mips/elf.h: Likewise.
13698 * config/mips/elf64.h, config/mips/iris6.h: Likewise.
13699 * config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
13700 * config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
13701 * config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
13702 * config/sparc/sysv4.h: Likewise.
13703
13704 * config/nextstep.h: Error until named sections implemented.
13705
13706 * config/a29k/a29k.c (a29k_asm_named_section): New.
13707 * config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
13708 (vms_section_type_flags, vms_asm_named_section): New.
13709 * config/arm/arm.c (arm_elf_asm_named_section): New.
13710 * config/avr/avr.c (asm_output_section_name): Remove.
13711 * config/avr/avr-protos.h: Update.
13712 * config/c4x/c4x.c (c4x_asm_named_section): New.
13713 * config/h8300/h8300.c (h8300_asm_named_section): New.
13714 * config/i386/i386.c (sco_asm_named_section): New.
13715 * config/i386/winnt.c (SECTION_PE_SHARED): New.
13716 (i386_pe_section_type_flags): New.
13717 (i386_pe_asm_named_section): New.
13718 * config/i386/i386-protos.h: Update.
13719 * config/m68k/m68k.c (m68k_coff_asm_named_section): New.
13720 * config/mcore/mcore.c (mcore_asm_named_section): New.
13721 * config/mips/mips.c (iris6_asm_named_section): New.
13722 * config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
13723 instead of UNIQUE_SECTION_P.
13724 * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
13725 (xcoff_asm_named_section): New.
13726 * config/sh/sh.c (sh_asm_named_section): New.
13727 * config/sparc/sparc.c (sparc_elf_asm_named_section): New.
13728
13729 * config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
13730 * config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
13731 (EH_FRAME_SECTION_NAME): New.
13732 (EXCEPTION_SECTION): New.
13733 * config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
13734 (DEBUG_*_SECTION): Remove.
13735 * config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
13736 * config/mips/iris6.h (DEBUG_*_SECTION): Remove.
13737 (EH_FRAME_SECTION_ASM_OP): Remove.
13738
13739 * doc/tm.texi (UNIQUE_SECTION_P): Remove.
13740 (ASM_OUTPUT_SECTION_NAME): Remove.
13741 (TARGET_ASM_NAMED_SECTION): New.
13742 (TARGET_HAVE_NAMED_SECTIONS): New.
13743 (TARGET_SECTION_TYPE_FLAGS): New.
13744 (EH_FRAME_SECTION_ASM_OP): Remove.
13745 (EH_FRAME_SECTION_NAME): New.
13746
13104975
ZW
137472001-08-03 Zack Weinberg <zackw@stanford.edu>
13748
13749 * builtins.c (fold_builtin_constant_p): Return integer_zero_node
13750 for complex expressions when cfun == 0.
13751 * doc/extend.texi: Document that __builtin_constant_p can be
13752 used in data initializers as well as functions.
13753
7335a349
AO
137542001-08-03 Alexandre Oliva <aoliva@redhat.com>
13755
13756 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Declare
13757 variable I locally, instead of expecting a declaration in the
13758 calling context.
13759
949f197f
RH
137602001-08-03 Richard Henderson <rth@redhat.com>
13761
13762 * except.c (collect_one_action_chain): Add an explicit cleanup
13763 action if regions surrounding a catch were encoded entirely
13764 within the call-site entry.
13765
c99fa40f
RH
137662001-08-03 Richard Henderson <rth@redhat.com>
13767
13768 * dbxout.c (dbxout_symbol_location): Flatten subregs first;
13769 don't take REGNO of a non-register.
13770
5241c227
JDA
137712001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13772
13773 * gthr-dce.h (__GTHREAD_MUTEX_INIT_FUNCTION and
13774 __GTHREAD_MUTEX_INIT_DEFAULT): New macros for mutex initialization.
13775 (__gthread_key_delete): Remove code for __PTHREAD_LIBRARY_VERSION_1 >= 1
13776 (__gthread_mutex_init_function): New function for mutex initialization.
13777
cbec6573 137782001-08-03 Daniel Berlin <dan@cgsoftware.com>
a4d3961a 13779
cbec6573
DB
13780 * Makefile.in: Revert screwed up commit.
13781
70a5787e
SC
137822001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13783
13784 * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
13785 * config/m68hc11/larith.asm (_exit): Split in several sub-sections
13786 merged by linker script to get a final _exit().
13787 (__do_global_dtors): New for destructor handling in specific exit
13788 section.
13789 (__do_global_ctors): New for constructors in specific install section.
13790 (__map_data_section): Map data sections before running constructors.
13791 * config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
13792 (CTORS_SECTION_ASM_OP): Define to put in readonly section.
13793 (DTORS_SECTION_ASM_OP): Likewise.
13794 (CTORS_SECTION_FUNCTION): Define to force a reference to
13795 __do_global_ctors.
13796 (DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
13797
9ebeebda 137982001-08-03 Daniel Berlin <dan@cgsoftware.com>
a4d3961a 13799
9ebeebda 13800 * ChangeLog: Fix date on previous ChangeLog entry for GCSE.
a4d3961a 13801
9ebeebda
DB
13802 * Makefile.in: Add df.h to gcse.c dependencies.
13803
c6b74046
JDA
138042001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
13805
13806 * varasm.c (output_constant_def_contents): Use for the length of a
13807 string constant either its TREE_STRING_LENGTH or its int_size_in_bytes
13808 depending on which is larger.
13809
9ebeebda 138102001-08-03 Daniel Berlin <dan@cgsoftware.com>
adfcce61 13811
39f95a2c
JH
13812 * gcse.c: Include df.h for use as a dataflow analyzer.
13813 Remove regvec.
13814 Declaration of reg_set_info: gone.
13815 New df_analyzer variable used by store motion.
13816 (reg_set_info): Deleted.
13817 (mark_mem_regs): New function, analyze regs used by a mem.
13818 (store_ops_ok): Use dataflow analyzer results to determine if
13819 necessary regs are changed in the block.
13820 (find_moveable_store): Remove check for symbol ref, we can handle
13821 much more complex expressions now.
13822 (compute_store_table): Remove most of the code, it's unnecessary
13823 now that the dataflow analyzer records the info for us.
13824 (store_killed_after): Add parameter to say whether to do the
13825 store_ops_okay test, used to speed up testing when we already know
13826 the answer, and just want to know if the store itself was killed.
13827 (build_store_vector): Largely rewritten to calculate the various
13828 vectors properly, and somewhat optimized.
a4d3961a 13829 (store_motion): Init the df_analyzer, get REG_DEF chains.
39f95a2c
JH
13830 Also handle trapping expressions (since mems almost always trap)
13831 (simple_mem): Redefine what a simple mem is.
adfcce61 13832
667ccf73
DD
138332001-08-03 DJ Delorie <dj@redhat.com>
13834
13835 * ifcvt.c (noce_get_alt_condition): Don't make an auxiliary
13836 set from a constant part of the condition.
13837
0821bff7
AC
138382001-08-01 Andrew Cagney <ac131313@redhat.com>
13839
13840 * mkdeps.c (deps_add_default_target): Make local variable
13841 ``start'' a const char pointer.
13842 * dwarf2out.c (compute_section_prefix): Localize use of ``p''.
13843
b953cc4b
RO
138442001-08-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13845
13846 * doc/install.texi (Configuration): Fix markup.
13847 (Specific, i?86-*-udk): Likewise.
13848 (Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
a4d3961a 13849 --with-gnu-ld.
b953cc4b
RO
13850 Document --enable-threads and --enable-libgcj status.
13851 (Specific, mips-sgi-irix*): Canonicalize triples.
13852 (Specific, mips-sgi-irix5): Warn about problems with this config.
13853 Mention required GNU as patch.
13854 Native assembler problems are fixed.
13855 (Specific, mips-sgi-irix6): Update O32 ABI support status.
13856 Document --enable-threads and --enable-libgcj status.
13857
ef1f96f0
NC
138582001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13859
13860 * Makefile.in, mklibgcc.in: Restore changes with fixed invocation
13861 of mkinstalldirs.
13862
6e5a6a6b
RH
138632001-08-03 Richard Henderson <rth@redhat.com>
13864
13865 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't write to
13866 constant data.
13867
dbc1a163
RH
138682001-08-03 Richard Henderson <rth@redhat.com>
13869
13870 * rtlanal.c (find_first_parameter_load): Stop if we
13871 reach a CODE_LABEL at BOUNDARY.
13872
54aaa4ea
RH
138732001-08-03 Richard Henderson <rth@redhat.com>
13874
13875 * config/alpha/alpha.md (force_movdi): New insn.
13876 * config/alpha/alpha.c (alpha_expand_prologue): Use it.
13877 Tweek FRP marking of VMS prologue insns.
13878 * config/alpha/vms.h (EPILOGUE_USES): New.
13879
0360b30d
RH
138802001-08-02 Richard Henderson <rth@redhat.com>
13881
13882 * Makefile.in, mklibgcc.in: Revert mkinstalldirs change.
13883
8aeea6e6
LB
138842001-08-02 Lars Brinkhoff <lars@nocrew.org>
13885
13886 * combine.c, config.gcc, cse.c, defaults.h, real.c, reload.c,
13887 simplify-rtx.c, config/alpha/alpha.h, config/avr/avr.h,
13888 config/convex/convex.h, config/d30v/d30v.c,
13889 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
13890 config/elxsi/elxsi.h, config/fr30/fr30.h, config/m88k/m88k.c,
13891 config/mips/mips.h, config/mn10200/mn10200.h,
13892 config/mn10300/mn10300.h, config/pdp11/pdp11.md,
13893 config/v850/v850.h, config/vax/openbsd.h,
13894 config/vax/openbsd1.h, config/vax/ultrix.h,
13895 config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h,
13896 config/vax/vax.md, config/vax/vaxv.h, config/vax/xm-vms.h,
13897 cp/decl2.c, doc/contrib.texi, doc/cpp.texi, doc/gcc.texi,
13898 doc/install.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi,
13899 doc/tm.texi: consistently use "VAX", "VAXen", and "MicroVAX"
39f95a2c 13900 in comments and documentation.
8aeea6e6 13901
d82fc108
NB
139022001-08-03 Neil Booth <neil@cat.daikokuya.demon.co.uk>
13903
13904 * line-map.c: New.
13905 * line-map.h: New.
13906 * Makefile.in (line-map.o): New.
13907 (LIBCPP_OBJS, LIBCPP_DEPS): Update.
13908 * c-lex.c (cb_file_change): Update for new cpp_file_change structure.
13909 * cpperror.c (print_containing_files): Similarly.
13910 (print_location): Update. Don't output a space before _Pragma.
13911 * cppfiles.c (stack_include_file): Set to line 1 immediately.
13912 (stack_include_filee, cpp_make_system_header): Update.
13913 (_cpp_execute_include): Get logical line number right for calling
13914 as-yet-unterminated #include.
13915 * cpphash.h (struct cpp_reader): Add line_maps.
13916 (_cpp_do_file_change): Update.
13917 * cppinit.c (cpp_create_reader): Initialize line maps.
13918 (cpp_destroy): Destroy line maps.
13919 (cpp_start_read): Get logical line number right.
13920 * cpplex.c (parse_string): Only warn once for multi-line strings.
13921 Use boolean variable for null warning.
13922 * cpplib.c (_cpp_handle_directive): End the directive if it isn't
13923 already.
13924 (do_include_common): End the directive early.
13925 (do_line): Don't warn about out-of-range lines in preprocessed
13926 source. Update. Remove unused variables.
13927 (_cpp_do_file_change): Update for new line mapping.
13928 (pragma_cb): New typedef.
13929 (cpp_register_pragma): Stop looking ahead before calling the
13930 handler. Clean up.
13931 (do_pragma_system_header): End directive early.
13932 (cpp_get_line_maps): New.
13933 (cpp_pop_buffer): Fudge logical line. Update.
13934 * cpplib.h: Include line-map.h
13935 (enum cpp_fc_reason): Remove.
13936 (struct cpp_file_change): Update.
13937 (cpp_get_line_maps): New.
13938 * cppmain.c (struct_printer): New member map.
13939 (cb_file_change): Update for new mappings.
13940 * fix-header.c (cb_file_change): Similarly.
13941
6dda00f0
NC
139422001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13943
13944 * Makefile.in (libgcc.mk): Define mkinstalldirs.
13945 * mklibgcc.in: Use mkinstalldirs instead of mkdir.
13946
215b48a7
LB
139472001-08-02 Lars Brinkhoff <lars@nocrew.org>
13948
13949 * config/vax/vax.c: include expr.h.
13950
e7f62dcf
NC
139512001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
13952
13953 * Makefile.in ($(srcdir)/configure): Only rebuild in
13954 maintainer mode.
13955 ($(srcdir)/config.in): Only define in maintainer mode.
13956 ($(srcdir)/cstamp-h.in): Only define in maintainer mode.
13957
4b5eb038
DE
139582001-08-02 David Edelsohn <edelsohn@gnu.org>
13959
13960 * doc/install.texi (Install GCC: Binaries): Update Bull info.
13961
578672a2
RO
139622001-08-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13963
13964 * gcc.c (set_collect_gcc_options): New function, split out from
13965 main.
13966 Ignore elided switches.
13967 (do_spec_1): Invoke before executing command.
13968 (set_input): Export.
13969 Move declaration ...
13970 * gcc.h (set_input): ... here.
13971 * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input
13972 file.
13973
1dbb6023
NS
139742001-08-02 Nathan Sidwell <nathan@codesourcery.com>
13975
13976 Kill -fhonor-std.
13977 * doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
13978 interaction.
13979 * doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
13980
d6b6ba29
RS
139812001-08-02 Richard Sandiford <rsandifo@redhat.com>
13982
13983 * mips.md (movdicc): Make conditional on TARGET_64BIT. Likewise
13984 for the unnamed instructions it expands to.
13985
d3259baa
RH
139862001-08-02 Richard Henderson <rth@redhat.com>
13987
13988 * regclass.c (call_really_used_regs): Conditionally define.
13989 (init_reg_sets_1): Don't use it if not defined.
13990 (fix_register): Similarly, don't set it.
13991
eb77eeb3
GP
139922001-08-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13993
13994 * params.def (PARAM_MAX_INLINE_INSNS): Change default to 600.
13995 Correct comment that had been missed in the previous change.
13996
4e08ba6c
SS
139972001-08-01 Stan Shebs <shebs@apple.com>
13998
13999 * config/darwin.c (machopic_stub_name): Try matching by name.
14000 (update_stubs): New function.
14001 (darwin_encode_section_info): Call it and update_non_lazy_ptrs
14002 unconditionally.
14003
7a900ebc
RH
140042001-08-01 Richard Henderson <rth@redhat.com>
14005
14006 * except.c (output_function_exception_table): Use assemble_align.
14007 * varasm.c (assemble_eh_label): Remove.
14008 (assemble_eh_align, assemble_eh_integer): Remove.
14009
551e8a74
RL
140102001-08-01 Robert Lipe <robertl@caldera.com>
14011
39f95a2c 14012 * dwarfout.c: Remove reference to README.DWARF.
551e8a74 14013
fc1296b7
AM
140142001-08-01 Andrew MacLeod <amacleod@redhat.com>
14015
14016 * regclass.c (call_really_used_regs): New array for registers which
14017 are actually used by a call.
14018 (init_reg_sets_1): Initialize regs_invalidated_by_call with the
14019 new array.
14020 (fix_register): Set call_really_used too.
14021 * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
14022 * doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
14023
b38b083a
RH
140242001-08-01 Richard Henderson <rth@redhat.com>
14025
14026 * read-rtl.c (read_name): Consider \r whitespace.
14027
edf1b3f3
AC
140282001-07-11 Andrew Cagney <ac131313@redhat.com>
14029
14030 * config.gcc: Recognize powerpc-*-netbsd*.
a4d3961a 14031
edf1b3f3
AC
14032 * doc/install.texi (Host/target specific installation notes for
14033 GCC): Mention powerpc-*-netbsd*.
14034
14035 * config/rs6000/netbsd.h: New file.
14036 (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine.
14037 (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine.
14038 (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine.
14039 (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine.
14040 (TARGET_VERSION): Redefine.
14041
14042 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize
14043 mcall-netbsd as a match for mcall-sysv.
14044 (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
14045 (ncrti.S, ncrtn.S): New targets.
14046 ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
a4d3961a 14047
edf1b3f3
AC
14048 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
14049 "netbsd' as a V4 ABI.
14050 (ASM_SPEC): Check for -mcall-netbsd.
14051 (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto.
14052 (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto.
14053 (LIB_SPEC, ENDFILE_SPEC): Ditto.
14054 (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define.
14055 (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define.
14056 (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define.
14057 (SUBTARGET_EXTRA_SPECS): Add NetBSD specs.
14058
14059 * doc/invoke.texi (Option Summary): Add -mcall-netbsd.
14060 (RS/6000 and PowerPC Options): Mention -mcall-netbsd.
14061
bda33a6e
MK
140622001-08-01 Mark Kettenis <kettenis@gnu.org>
14063
14064 * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
14065 only if NO_BASE_OF_ENCODED_VALUE isn't defined.
14066 * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
14067 including "unwind-pe.h".
14068
75540af0
JH
14069Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
14070
14071 * rs6000.md (define_splits): Kill unused constraints.
14072
14073Wed Aug 1 20:02:12 CEST 2001 Graham Stott <grahams@redhat.com>
14074 Jan Hubicka <jh@suse.cz>
14075
14076 * function.c (thread_prologue_and_epilogue_insns): Kill code
14077 dealing with non-existent CFG.
14078
ec5c56db
KH
140792001-08-01 Kazu Hirata <kazu@hxi.com>
14080
14081 * alias.c: Fix comment formatting.
14082 * bitmap.c: Likewise.
14083 * builtins.c: Likewise.
14084 * calls.c: Likewise.
14085 * c-common.c: Likewise.
14086 * c-decl.c: Likewise.
14087 * c-dump.c: Likewise.
14088 * c-lex.c: Likewise.
14089 * collect2.c: Likewise.
14090 * combine.c: Likewise.
14091 * conflict.c: Likewise.
14092 * cppfiles.c: Likewise.
14093 * cppinit.c: Likewise.
14094 * cpplex.c: Likewise.
14095 * cpplib.c: Likewise.
14096 * cppmacro.c: Likewise.
14097 * cppspec.c: Likewise.
14098 * c-pragma.c: Likewise.
14099 * crtstuff.c: Likewise.
14100 * cse.c: Likewise.
14101 * cselib.c: Likewise.
14102 * c-semantics.c: Likewise.
14103 * c-typeck.c: Likewise.
14104
2a25b23f
L
141052001-08-01 H.J. Lu <hjl@gnu.org>
14106
14107 * config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.
14108
a8329479
L
141092001-08-01 H.J. Lu <hjl@gnu.org>
14110
14111 * gcc/config/mips/linux.h (ASM_OUTPUT_SOURCE_LINE): Defined.
14112
f2e6e530
ZL
141132001-08-01 Ziemowit Laski <zlaski@apple.com>
14114
39f95a2c 14115 * c-parse.in (OBJC_NEED_RAW_IDENTIFIER): Define macro and flag for
f2e6e530
ZL
14116 contextualizing Objective-C class name lookup by the lexer.
14117 (typespec_reserved_nonattr): Disable ObjC class name lookup after
14118 seeing a TYPESPEC.
14119 (protocoldef): Add support for forward @protocol declarations.
14120 (yylexname): Suppress ObjC class name lookup in certain contexts;
14121 re-enable after lookup is complete.
14122 (_yylex): Re-enable ObjC class name lookup when certain
14123 punctuation marks are seen.
14124
14125 * objc/objc-act.c (check_protocol_recursively): New function used
14126 for finding circular dependencies in protocols.
14127 (objc_declare_protocols): New function for handling forward
14128 @protocol declarations.
14129 (receiver_is_class_object): Detect the case when 'self' is used
14130 inside of a class method.
14131 (build_message_expr): Issue a warning if class method is desired
14132 but instance method is found instead.
14133 (conforms_to_protocol): Streamline.
14134 (objc_comptypes): Detect the fact that 'Bar<Foo> foo' conforms to
14135 protocol Foo, even if 'Bar foo' does not.
14136 (check_protocols): Streamline.
14137 (start_protocol): Add checks for circular and duplicate protocol
14138 definitions.
14139 (encode_aggregate_within): For typedefs of structs, encode the
14140 underlying struct.
14141 * objc/objc-act.h (PROTOCOL_DEFINED): New tree accessor.
14142 (objc_declare_protocols): New prototype.
14143
1444f2ed
NB
141442001-08-01 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14145
14146 * cpphash.h (struct cpp_reader): New members line, pseudo_newlines.
14147 * cpplex.c (handle_newline): Update prototype. Maintain logical
14148 line number.
14149 (skip_escaped_newlines, skip_block_comment, parse_string):
14150 Update accordingly.
14151 (_cpp_lex_token): Update, and store token position within the token.
14152 * cpplib.h (struct cpp_token): Add line and column entries.
14153 * cppmacro.c (replace_args): Position stringified tokens correctly.
14154
7f8a2125
AJ
141552001-08-01 Andreas Jaeger <aj@suse.de>
14156
14157 * basic-block.h: Add prototype for last_loop_beg_note.
14158
6ad7895a
APB
141592001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
14160
14161 * expr.c (safe_from_p): Use WITH_CLEANUP_EXPR_RTL instead of
14162 RTL_EXPR_RTL while handling WITH_CLEANUP_EXPR nodes. Fixed typo in
14163 comment.
14164 (expand_expr): Use WITH_CLEANUP_EXPR_RTL instead of RTL_EXPR_RTL
14165 while handling WITH_CLEANUP_EXPR node. Use second operand calling
14166 expand_decl_cleanup.
14167 * tree.c (firt_rtl_op): The third operand of WITH_CLEANUP_EXPR is
14168 the first RTX.
14169 (simple_cst_equal): WITH_CLEANUP_EXPR node to use its second
14170 operand while calling simple_cst_equal.
14171 * tree.def (WITH_CLEANUP_EXPR): Switched operands: the second
14172 operand is the cleanup expression, the third is the RTL_EXPR.
7f8a2125 14173 * tree.h (WITH_CLEANUP_EXPR_RTL): New macro.
6ad7895a 14174
b24a9e88
JS
141752001-07-31 Jeff Sturm <jsturm@one-point.com>
14176
39f95a2c 14177 * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
b24a9e88 14178
6ea0279f
MG
141792001-07-31 matthew green <mrg@eterna.com.au>
14180
14181 * config.gcc (i386-*-netbsdelf): New description.
14182 * config/i386/netbsd-elf.h: New file.
14183
ae16bf15
GK
141842001-07-30 Geoffrey Keating <geoffk@redhat.com>
14185
14186 * loop.c (check_dbra_loop): Use single_set to compute
14187 jump_label.
14188
2bfcf297
DB
141892001-07-31 Daniel Berlin <dan@cgsoftware.com>
14190
14191 PowerPC reorg and support for powerpc64-*-linux*.
14192
14193 Also fixes emitting of constants on 32 bit and 64 bit
14194 platforms.
7f8a2125 14195
2bfcf297 14196 * config.gcc: powerpc64-*-linux* is a new target.
7f8a2125 14197 Things that needed aix.h now also include xcoff.h
2bfcf297
DB
14198
14199 * config/rs6000/rs6000.h: Split XCOFF specific stuff into
7f8a2125 14200 xcoff.h.
2bfcf297 14201 Move AIX specific stuff into aix.h.
2bfcf297
DB
14202 (TARGET_AIX): Renamed to TARGET_XCOFF, since the AIX ABI is used
14203 with more than just XCOFF now.
14204 (SET_ASM_OP): Remove, now defined where needed.
14205 (FUNCTION_PROLOGUE): New macro definition.
14206 (FUNCTION_EPILOGUE): New macro definition.
2bfcf297 14207 (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): New macro definition.
f96850af 14208
2bfcf297
DB
14209 * config/rs6000/xcoff.h: New file.
14210
14211 * config/rs6000/linux64.h: New file.
14212
14213 * config/rs6000/darwin.h: Copy needed AIX alignment definitions.
f96850af
DE
14214
142152001-07-31 Alan Modra <amodra@bigpond.net.au>
14216
14217 * rs6000.c (print_operand_address): Handle ELF syntax.
14218 (output_toc): Simplify. Use DOUBLE_INT_ASM_OP.
14219 * rs6000.md (load_toc_aix_di): Handle ELF syntax.
14220 * rs6000.h (ASM_OUTPUT_DOUBLE_INT, ASM_LONG): Use DOUBLE_INT_ASM_OP.
14221
142222001-07-31 David Edelsohn <edelsohn@gnu.org>
14223
14224 * rs6000.c (rs6000_override_options): Only disable
14225 flag_function_sections for XCOFF.
14226 (exact_log2_cint_operand): New predicate.
14227 (reg_or_{add,sub}_cint64_operand): New predicates.
14228 (add_operand): Compare CONST_INT with fewer function calls.
14229 (rs6000_emit_set_const, rs6000_emit_set_long_const): New functions.
14230 (print_operand, case 'p'): Ensure positive operand.
14231 (rs6000_emit_load_toc_table): No load_toc_v4_pic_di.
14232 * rs6000.h (CONST_OK_FOR_LETTER_P, case 'N'): Ensure positive value.
14233 (PREDICATE_CODES): Add new predicates.
14234 * rs6000.md (addsi3): Split 32-bit constants more correctly.
14235 (divsi3, modsi3): Ensure positive power-of-2.
14236 (adddi3): Use new predicate. Split 32-bit constants more
14237 correctly. Re-arrange splitter to handle any constant.
14238 (subdi3): Use new predicate.
14239 (divdi3, moddi3): Ensure positive power-of-2.
14240 (movdi): Use rs6000_emit_set_const.
14241 (load_toc_v4_pic_di): Delete.
2bfcf297 14242
dc56ceb7
GS
142432001-07-31 Graham Stott <grahams@redhat.com>
14244
14245 * function.c (pad_below): Revert 2001-07-26 patch.
14246
3e42ccd2
JH
14247Tue Jul 31 15:37:35 CEST 2001 Jan Hubicka <jh@suse.cz>
14248
14249 * reg-stack (convert_regs_1): Fix best edge condition.
14250
940b29aa
JH
14251Tue Jul 31 15:33:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14252
14253 * jump.c (duplicate_loop_exit_test): Better test for jumps
14254 entering the loop; create loop pre_header.
14255
91abf72d
HP
142562001-07-31 Hartmut Penner <hpenner@de.ibm.com>
14257
39f95a2c 14258 * doc/install.texi: Add s390 and s390x as new targets.
f63d1bf7 14259 * doc/invoke.texi: Add documentation of S/390 and zSeries
39f95a2c 14260 target options.
f63d1bf7 14261 * doc/md.texi: Add documentation of S/390 and zSeries constraints.
91abf72d 14262
8406d023
RZ
142632001-07-30 Roman Zippel <zippel@linux-m68k.org>
14264
14265 * config/m68k/m68k.md: Replace all general_operand with
14266 nonimmediate_operand for all destinations.
14267 * config/m68k/m68k.c (not_sp_operand): Likewise.
14268
4d494dfe
JW
14269Mon Jul 30 23:20:34 EDT 2001 John Wehle (john@feith.com)
14270
39f95a2c 14271 * flow.c (merge_blocks): Return 1 if an extra jump is inserted.
4d494dfe 14272
88828291
RH
142732001-07-30 Richard Henderson <rth@redhat.com>
14274
14275 * config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
14276 * config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
14277
f18bff15
RZ
142782001-07-30 Roman Zippel <zippel@linux-m68k.org>
14279
14280 * config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
14281 Add missing doc strings
14282 * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
14283 * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
14284
0ecf09f9
JH
14285Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
14286
14287 * i386.c (ix86_output_main_function_alignment_hack): New function.
14288 (TARGET_ASM_FUNCTION_PROLOGUE): Default to it.
14289
14290 * flow.c (mark_dfs_back_edges): Move from loop_p ; mark back
14291 edges by EDGE_DFS_BACK flag.
14292 (dump_edge_info): Add dfs_back flag.
14293 * basic-block.h (EDGE_DFS_BACK): New constant.
14294 (mark_dfs_back_edges): Declare.
14295 * alias.c (loop_p): Remove.
14296 (mark_constant_function): Use mark_dfs_back_edges.
14297
eaec9b3d
JM
14298 * reg-stack.c (block_info_def): Add predecessors counter and stack_out.
14299 (reg_to_stack): Call mark_dfs_back_edges; count the predecessors.
0ecf09f9
JH
14300 (compensate_edge): Break out from ...
14301 (convert_regs_1): ... here; do smart choosing of stack_out to copy.
14302 (convert_regs_2): Set block_done once block is really done;
eaec9b3d 14303 Do updating of the predecessors counts.
0ecf09f9
JH
14304
14305 * toplev.c (rest_of_compilation): Recompute block_for_insn
14306 before post-reload cfg_cleanup.
14307 * function.c (thread_prologue_epilogue_insns):
14308 Call set_block_for_new_insns when emitting prologue directly.
14309
1490f392
AJ
143102001-07-30 Andreas Jaeger <aj@suse.de>
14311
39f95a2c 14312 * jump.c: Add prototype for mark_modified_reg.
1490f392 14313
39f95a2c 14314 * cse.c (set_live_p): Add unused attribute.
1490f392 14315
39f95a2c
JH
14316 * gcov.c (calculate_branch_probs): Use gcov_type to avoid
14317 overflow.
14318 (scan_for_source_files): Use long for count to avoid overflow.
14319 (output_data): Likewise.
14320 (output_data): Don't use string concatatenation to silence gcc
14321 -traditional.
1490f392 14322
39f95a2c 14323 * predict.c: Fix typos and grammar.
1490f392
AJ
14324
14325 * gcse.c (insert_insn_end_bb): Remove unused variables.
14326
a08b2604
JH
14327Mon Jul 30 21:54:53 CEST 2001 Jan Hubicka <jh@suse.cz>
14328
14329 * flow.c (mark_set_1): Use REG_FREQ_FROM_BB.
14330 (attempt_auto_inc): LIkewise.
14331 (mark_used_reg): Likewise.
14332 (try_pre_increment_1): Likewise.
14333 * regclass.c (regclass): Likewise.
14334 * global.c (allocno_compare): Update comment; change scaling factor.
14335 * local-alloc.c (QTY_CMP_PRI): Likewise.
14336 * regs.h (REG_FREQ_FROM_BB): New.
14337 (REG_FREQ_MAX): Likewise.
14338
c2c0294a
L
143392001-07-30 H.J. Lu <hjl@gnu.org>
14340
14341 * config/mips/linux.h (CPLUSPLUS_CPP_SPEC): Add
14342 -D_GNU_SOURCE.
14343
8597f3dd
L
143442001-07-30 H.J. Lu (hjl@gnu.org)
14345
14346 * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
14347 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
14348 (FUNCTION_NAME_ALREADY_DECLARED): Likewise.
14349
b3026a92
NC
143502001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
14351
14352 * config/arm/t-arm-elf (MULTILIB_EXCEPTIONS): Skip -mthumb as well
14353 as -mthumb-interwork when -mcpu=arm7 is specified.
14354
8b7e92f9
JH
14355Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
14356
14357 * predict.def (noreturn, loop branch, loop exit): Mark as first
14358 match heuristics.
14359
592a6d1d
JH
14360Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
14361
14362 * combine.c (try_combine): Avoid barrier after noop jumps.
14363
09b82253
NB
143642001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14365
14366 * cpphash.h (struct cpp_reader): Remove import_warning.
14367 * cpplib.c (skip_rest_of_line): Don't bother turning off
14368 macro expansion.
14369 (parse_include): Move include handling to...
14370 (do_include_common): ... here. Move import warning from...
14371 (do_import): ... here.
14372 (do_pragma_poison): Don't do a callback for poison identifiers.
14373 * cpplib.h (struct cpp_callbacks): Don't do poison callbacks.
14374 * cppmain.c (setup_callbacks): Similarly.
14375
833366d6
JH
14376Sun Jul 29 23:26:50 CEST 2001 Jan Hubicka <jh@suse.cz>
14377
14378 * rtlanal.c (parms_set, find_first_parameter_load): Break out from...;
14379 handle multiple sets.
14380 * except.c (sjlj_mark_call_sites): .... here.
14381 * gcse.c (insert_insn_end_bb): Use find_first_parameter_load.
14382
b5832b43
JH
14383Sun Jul 29 21:38:45 CEST 2001 Jan Hubicka <jh@suse.cz>
14384
14385 Suggested by Richard Henderson and Richard Kenner:
14386 * combine.c (recog_for_combine): Use the fake recog
14387 only if instruction does not match.
14388 * rtl.h (NOOP_MOVE_INSN_CODE): New.
14389 * rtlanal.c (noop_move_p): Always return 1 for NOOP_MOVE_INSN_CODE.
14390
14391 * combine.c (try_combine): Discover noop jump as direct jump.
14392
12285d9d
DB
143932001-07-29 Daniel Berlin <dan@cgsoftware.com>
14394
14395 * df.c (df_rd_global_compute): Add successors to worklist, not
14396 current item.
14397 (df_ru_global_compute): Ditto.
14398
b2d57793
DB
143992001-07-27 Daniel Berlin <dan@cgsoftware.com>
14400
14401 * regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
14402 increment REG_N_SETS.
14403
144042001-07-26 Daniel Berlin <dan@cgsoftware.com>
14405
14406 * sbitmap.h: New prototype for sbitmap_a_xor_b.
14407
14408 * sbitmap.c (sbitmap_a_xor_b): New function.
14409 ifdef the basic block stuff on IN_GCC.
14410
6d18adbc
NB
144112001-07-29 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14412
14413 * cppexp.c (parse_defined): Always record the macro name.
14414 (lex): Don't worry about identifiers, or special-case
14415 CPP_NOT here.
14416 (_cpp_parse_expr): Figure out at the end of the routine
14417 whether we saw a valid !defined() expression.
14418 * cppfiles.c (stack_include_file): Update for mi_valid.
14419 (_cpp_pop_file_buffer): Similarly.
14420 * cpplex.c (_cpp_lex_token): Similarly.
14421 * cpphash.h (enum mi_state, enum mi_ind, mi_state,
14422 mi_if_not_defined, mi_lexed): Remove.
14423 (mi_valid): New.
14424 * cpplib.c (do_if): Simplify.
14425 (do_endif, push_conditional, _cpp_handle_directive): Update
14426 for renaming of mi_state to mi_valid.
14427doc:
14428 * cpp.texi: Add index entries for digraphs, and add comment
14429 that C++ refers to them as alternative tokens.
14430
0068fd96
JH
14431Sun Jul 29 18:59:13 CEST 2001 Jan Hubicka <jh@suse.cz>
14432
14433 * basic-block.h (CLEANUP_PRE_LOOP): New.
14434 * except.c (finish_eh_generation): Update call of cleanup_cfg.
14435 * sibcall.c (optimize_sibling_calls): Likewise.
14436 * toplev.c (rest_of_compilation): Likewise.
14437 * flow.c (try_forward_edges): Take argument MODE;
14438 do not forward over loop pre-headers if CLEANUP_PRE_LOOP.
14439 (try_optimize_cfg): Update call of try_forward_edges.
14440
14441Sun Jul 29 18:59:56 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
2ea792c2 14442 Jan Hubicka <jh@suse.cz>
0068fd96
JH
14443
14444 * (validate_replace_rtx_1): Fix simplification of MINUS.
14445
df07e07d
NB
144462001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
14447
14448 PR preprocessor/3669
14449 * cppinit.c (init_dependency_output): Turn off dump requests
14450 if sending dependencies to stdout.
14451
587f922a
RH
144522001-07-28 Richard Henderson <rth@redhat.com>
14453
14454 * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
14455 not optimizing.
14456
89f355bd
G
144572001-07-28 Golubev I. N. <gin@mo.msk.ru>
14458
14459 * config/i386/sco5.h (DWARF2_DEBUGGING_INFO): Define.
14460
391522e3
KH
144612001-07-28 Kazu Hirata <kazu@hxi.com>
14462
14463 * config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
14464 is VAR_DECL first to prevent an ICE.
14465
6681bc1f
RH
144662001-07-28 Richard Henderson <rth@redhat.com>
14467
14468 * varasm.c (immed_real_const_1): Don't elide special cases for
14469 nested functions.
14470 (clear_const_double_mem): Clear const_tiny_rtx too.
14471
a20612aa
RH
144722001-07-28 Richard Henderson <rth@redhat.com>
14473
14474 * dwarf2out.c (dw_val_class_offset): New.
14475 (struct dw_ranges_struct, dw_ranges_ref): New.
14476 (ranges_table, ranges_table_allocated): New.
14477 (ranges_table_in_use, RANGES_TABLE_INCREMENT): New.
14478 (add_AT_offset, add_ranges, output_ranges): New.
14479 (print_die, output_die): Handle dw_val_class_offset.
14480 (attr_checksum, size_of_die, value_format): Likewise.
14481 (gen_lexical_block_die): Handle non-contiguous blocks.
14482 (gen_block_die): Likewise.
14483 (dwarf2out_finish): Add a DW_AT_entry_pc to the compilation unit
14484 if needed. Dump the ranges table.
14485 * final.c (final_start_function): Remove unnecessary notes and
14486 rebuild the block tree before numbering the blocks.
14487 * function.c (reorder_blocks_0): Walk the existing block tree
14488 to unmark all blocks.
14489 (reorder_blocks_1): Create block fragments when duplicate block
14490 notes are seen.
14491 (reorder_fix_fragments): New.
14492 (reorder_blocks): Call it.
14493 * tree.h (BLOCK_FRAGMENT_ORIGIN, BLOCK_FRAGMENT_CHAIN): New.
14494
c2f7bcc3
RH
144952001-07-28 Richard Henderson <rth@redhat.com>
14496
14497 * emit-rtl.c (adjust_address): Make a copy of the memory address.
14498
91d84fad
RH
144992001-07-28 Richard Henderson <rth@redhat.com>
14500
14501 * flow.c (add_to_mem_set_list): New function.
14502 (init_propagate_block_info): Use it.
14503 (mark_set_1): Likewise.
14504 (insn_dead_p): Canonicalize memory address for dead store
14505 comparison. Allow wider mode stores to kill narrower mode stores.
14506 (invalidate_mems_from_autoinc): Use invalidate_mems_from_set.
14507 (invalidate_mems_from_set): Don't handle MEMs.
14508
0a02170f
KH
145092001-07-28 Kazu Hirata <kazu@hxi.com>
14510
14511 * config/h8300/h8300.h: Fix formatting.
14512
134d3a2e
JH
14513Sat Jul 28 23:35:22 CEST 2001 Jan Hubicka <jh@suse.cz>
14514
14515 * basic-block.h (EDGE_FREQUENCY): New macro.
14516 * bb-reorder (fixup_reorder_chain): Set counts and frequencies
14517 for new BB/edges.
14518 * flow.c (find_sub_basic_blocks): Likewise.
14519 (try_crossjump_to_edge): Likewise; use EDGE_FREQUENCY
14520 (redirect_edge_and_branch): Use EDGE_FREQUENCY.
14521
14522 * predict.c (DEF_PREDICTOR): New argument FLAGS.
14523 (HITRATE): New macro.
14524 (PRED_FLAG_FIRST_MATCH): New constant.
14525 (predictor_info): New field flgags.
14526 (combine_predictions_for_insn): Use DS theory to combine
14527 probabilities; set the edge probabilities when finished.
14528 (estimate_probability): Avoid duplicated matches
14529 of LOOP_BRANCH heuristics for nested loops; update comment.
14530 * predict.def: Add flags for each prediction, set probabilities
14531 according to B&L paper.
14532 * predict.h (DEF_PREDICTOR): New argument FLAGS.
14533
14534 * profile.c (compute_branch_probabilities): Cleanup way the edge
14535 probabilities are computed and REG_BR_PROB notes are dropped; if
14536 values does not match, emit error.
14537 (init_branch_prob): Do error instead of warning when profile driven
14538 feedback is missing or corrupt.
14539
7f646877
DD
145402001-07-27 DJ Delorie <dj@redhat.com>
14541
14542 * ifcvt.c (noce_get_alt_condition): If the condition is a compare
14543 against a constant, try to adjust the compare to have the desired
14544 constant in it so that min/max optimizations happen more often.
14545
d69d0316
JH
14546Fri Jul 27 17:53:00 CEST 2001 Jan Hubicka <jh@suse.cz>
14547
14548 * flow.c (last_loop_beg_note): New function.
14549 (redirect_edge_and_branch): Use it.
14550 (split_edge): Likewise.
14551
14552 * alias.c (loop_p): Avoid uninitialized memory access.
14553
14554 * flow.c (try_forward_edges): Avoid accessing freed memory.
14555
14556 * flow.c (backward_edge_of_syntactic_loop_p): Avoid uninitialized
14557 variable access.
14558
0dd99795
AH
145592001-07-26 Andrew Haley <aph@redhat.com>
14560 Joern Rennecke <amylaar@redhat.com>
14561
14562 * config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
14563 (SUBTARGET_CPP_ENDIAN_SPEC): New.
14564 (SUBTARGET_CPP_SPEC): New.
14565 (CPP_SPEC): Remove.
14566 * config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
14567 (SUBTARGET_CPP_PTR_SPEC): New.
14568 (CPP_DEFAULT_CPU_SPEC): New.
14569 (EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
14570 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
14571 (CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
14572 SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
14573 (SUBTARGET_CPP_SPEC): Define as an empty string.
14574
e69aa433
GP
145752001-07-27 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14576
14577 * doc/install.texi (Configuration): Properly link the host
14578 specific instructions also when generating HTML.
14579
a727094f
JW
14580Fri Jul 27 00:33:35 EDT 2001 John Wehle (john@feith.com)
14581
39f95a2c 14582 * flow.c (redirect_edge_and_branch_force): Test
a727094f
JW
14583 target->global_live_at_start.
14584
732910b9
RH
145852001-07-26 Richard Henderson <rth@redhat.com>
14586
14587 * simplify-rtx.c (avoid_constant_pool_reference): Export.
14588 * rtl.h (avoid_constant_pool_reference): Declare it.
14589 * dwarf2out.c (add_location_or_const_value_attribute): Use it.
14590 (add_const_value_attribute): Use add_AT_unsigned for unsigned values.
14591
01f62f01
JH
14592Thu Jul 26 22:30:22 CEST 2001 Jan Hubicka <jh@suse.cz>
14593
14594 * rtl.h (cleanup_barriers): Declare.
14595 * jump.c (cleanup_barriers): New function.
14596 * toplev.c (rest_of_compilation): Call cleanup_barriers
14597 before loop optimizer and after bb_reorder.
14598
14599 * flow.c (back_edge_of_syntactic_loop_p): New.
14600 (split_edge): Use it.
14601
aa069f77
RO
146022001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14603
14604 * glimits.h (_MACH_MACHLIMITS_H_): Delete.
14605
c96208fa
DC
14606Thu Jul 26 22:22:21 2001 Denis Chertykov <denisc@overta.ru>
14607
14608 * cse.c (cse_process_notes): Replace any registers if the address
14609 remains valid.
14610
11f68165
JW
14611Thu Jul 26 14:04:03 EDT 2001 John Wehle (john@feith.com)
14612
14613 * basic-block.h (PROP_ALLOW_CFG_CHANGES): Define.
14614 (PROP_FINAL): Include PROP_ALLOW_CFG_CHANGES.
14615 (propagate_block): Update prototype.
14616 * flow.c (update_life_info): Simplify the CFG and
14617 recalculate the global regs which are alive when
14618 removing dead code during a global update.
14619 (propagate_block): Return non-zero if an INSN is
14620 deleted.
14621
62c62a4f
RO
146222001-07-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14623
14624 * Makefile.in (LIBICONV): Define.
14625
06e937ed
CM
146262001-07-26 Catherine Moore <clm@redhat.com>
14627
39f95a2c
JH
14628 * config/v850/v850.h (ENCODE_SECTION_INFO): Change order
14629 of conditional to avoid tree checking errors.
06e937ed 14630
f3029065
KH
146312001-07-26 Kazu Hirata <kazu@hxi.com>
14632
14633 * regmove.c (regmove_optimize): Don't replace a reg with
14634 another reg of a different mode.
14635
4a121cc3
AM
146362001-07-26 Andrew MacLeod <amacleod@redhat.com>
14637
1490f392 14638 * params.def (PARAM_MAX_PENDING_LIST_LENGTH): Add parameter to
ff7cc307 14639 limit length of dependency flush list.
4a121cc3
AM
14640 * params.h (MAX_PENDING_LIST_LENGTH): Define.
14641 * sched-int.h (struct deps): Add pending_flush_length field.
14642 * sched-deps.c (flush_pending_lists): Last_pending_memory_flush now
14643 has 1 element in it.
14644 (sched_analyze_1): Use MAX_PENDING_LIST_LENGTH.
14645 (sched_analyze): After a jump, if the pending memory flush list is too
14646 large, flush the pending lists.
14647 (init_deps): Initialize pending_flush_length to 0.
14648 * doc/invoke.texi (max_pending_list_length): Document parameter.
14649
440aabf8
NB
146502001-07-26 Neil Booth <neil@daikokuya.demon.co.uk>
14651
14652 * toplev.c, varasm.c, final.c: Include xcoffout.h if appropriate.
14653 * dbxout.c (dbxout_global_decl): Move outside #ifdef.
14654 * Makefile.in (varasm.o, final.o, toplev.o): Update dependencies.
14655
cef0d199
NB
146562001-07-26 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14657
14658 * cpphash.h (struct_lexer_state): Delete was_skipping.
14659 Move skipping here from struct cpp_reader.
14660 * cpplex.c (parse_identifier): Update.
14661 (_cpp_lex_token): Don't skip tokens in a directive.
14662 * cpplib.c (struct if_stack): Update.
14663 (start_directive, end_directive): Don't change skipping state.
14664 (_cpp_handle_directive): Update.
14665 (do_ifdef, do_ifndef, do_if, do_elif): Similarly.
14666 (do_else, do_endif): Update; only check for excess tokens if not
14667 in a skipped conditional block.
14668 (push_conditional): Update for new struct if_stack.
14669
5b16f556
GS
146702001-07-26 Graham Stott <grahams@redhat.com>
14671
14672 * function.c (locate_and_pad_parm): Also pad initial offset
14673 so that the total argument size also includes the padding.
14674
146752001-07-26 Graham Stott <grahams@redhat.com>
14676
14677 * gensupport.c (alter_output_for_insn): Correct enable checking failure
14678 change XSTR to XTMPL.
14679
14680 (process_one_cond_exec): Likewise
14681
17eee61c
RH
146822001-07-25 Richard Henderson <rth@redhat.com>
14683
14684 * varasm.c (assemble_variable): Create DECL_RTL before setting
14685 TREE_ASM_WRITTEN.
14686
c4f81e4a
JH
14687Thu Jul 26 00:19:30 CEST 2001 Jan Hubicka <jh@suse.cz>
14688
14689 * predict.c (estimate_probability): Avoid duplicated predictions.
14690
14691 * loop.c (find_and_verify_loops): Grok multiple barriers.
14692
02e3f1a8
RK
14693Wed Jul 25 18:00:05 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14694
472385a2
RK
14695 * config/alpha/alpha.c (print_operand, case '/'): Don't write '/'.
14696
02e3f1a8 14697 * dbxout.c: Consistently use putc instead of fputc.
1490f392 14698 (print_wide_int): New function; call instead of direct fprintf.
02e3f1a8
RK
14699 (dbxout_type_index): Adjust calls of CHARS to be more accurate.
14700 (dbxout_type_fields, dbxout_type_method_1): Likewise.
14701 (dbxout_type_methods, dbxout_range_type, dbxout_type): Likewise.
14702 (print_int_cst_octal): Likewise.
14703 (print_octal): Show we wrote characters.
14704 (dbxout_type): Set have_used_extensions in more places.
14705
f2d28b14
CM
147062001-07-25 Catherine Moore <clm@redhat.com>
14707
39f95a2c
JH
14708 * config/v850/v850.c (v850_va_arg): Use addr
14709 instead of valist to build incr.
f2d28b14 14710
6e64a52a
JH
14711Wed Jul 25 22:48:59 CEST 2001 Jan Hubicka <jh@suse.cz>
14712
14713 * flow.c (delete_dead_jumptables): New function.
14714 (life_analyzis): Call it.
02e3f1a8
RK
14715 * bb-reorder.c (skip_insns_after_block): Handle contradictory
14716 sequences.
6e64a52a 14717
7f206d8f
RH
147182001-07-25 Richard Henderson <rth@redhat.com>
14719
14720 * except.c (reachable_handlers): Handle a region being removed
14721 out from under a RESX.
14722
56f19d92
RH
147232001-07-25 Richard Henderson <rth@redhat.com>
14724
14725 * config/alpha/alpha.c (alpha_emit_conditional_move): Always
02e3f1a8 14726 swap GE/GT if it is an fp comparison.
56f19d92
RH
14727
147282001-07-25 Andrew Haley <aph@cambridge.redhat.com>
3237ac18
AH
14729
14730 * alias.c (rtx_equal_for_memref_p): Allow strings as types in
14731 operands.
14732
42f28de9
JL
14733Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com)
14734
1490f392 14735 * ssa.c (rename_insn_1): Do not wrap an assignment to a
ea0eceb1
JL
14736 paradoxical SUBREG inside a SEQUENCE. Fix minor formatting
14737 glitch.
14738
42f28de9
JL
14739 * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can
14740 throw an exception.
14741 (visit_expression): When attempting to simplify an expression,
14742 retrieve any modes for arguments before they are simplified
14743 to constants.
14744
7c2b017c
AM
147452001-07-25 Andrew MacLeod <amacleod@redhat.com>
14746 Janis Johnson <janis@us.ibm.com>
14747
14748 * stmt.c (expand_goto): A nonlocal goto can be a call too.
14749 * builtins.c (expand_builtin_longjmp): Reverse label and static chain
14750 pointer parameters to match documented usage of nonlocal_goto.
14751 * config/ia64/ia64.md (nonlocal_goto): Revert label and static chain
14752 parameters to their correct order.
14753 * config/sparc/sparc.md (nonlocal_goto): Revert label and static chain
14754 parameters to their correct order.
14755
ff3daa88
AM
147562001-07-25 Andrew MacLeod <amacleod@redhat.com>
14757
14758 * config/ia64/ia64.h (STRIP_NAME_ENCODING): Strip out '*' as well.
14759
a368a2fa
JH
147602001-07-25 Jan Hubicka <jh@suse.cz>
14761 Richard Henderson <rth@redhat.com>
14762
14763 * flow.c (find_sub_basic_blocks): Fix handling of the last BB in
14764 the sequence.
14765 (make_edges): New argument update_p; populate the edge cache if set.
14766 (find_basic_blocks): Update make_edges invocation.
14767
303e979a
JS
147682001-07-24 Joel Sherrill <joel@OARcorp.com>
14769
14770 * config/i960/i960.h (CPP_SPEC): Define _SOFT_FLOAT for -msoft-float.
14771
7adb4be8
JS
147722001-07-24 Joel Sherrill <joel@OARcorp.com>
14773
39f95a2c 14774 * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
7adb4be8 14775 -Acpu and -Amachine.h.
39f95a2c
JH
14776 * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
14777 Corrected header to say ELF not a.out.
14778 * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
7adb4be8
JS
14779 when given -msoft-float.
14780
147812001-07-24 Joel Sherrill <joel@OARcorp.com>
bb8602be
JS
14782
14783 * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
14784 extra multilib parts like arm-elf.
14785 (i960-*-coff*, i960-*-rtems): Should not use collect2.
14786 (m68020-*-elf*, m68k-*-elf*, m68k-*-rtems*): Include crtinit.o and
14787 crtfini.o as extra multilib parts.
14788
e08f13ee
JS
147892001-07-24 Joel Sherrill <joel@OARcorp.com>
14790
14791 * configure.in: Add rtems as a supported thread model.
14792 * gthr-rtems.h: Add missing entry point __gthread_active_p.
14793 * configure: Rebuilt.
14794
0c237688
LB
147952001-07-24 Lars Brinkhoff <lars@nocrew.org>
14796
14797 * stor-layout.c (get_mode_alignment): make it work when
14798 BITS_PER_UNIT is not a power of two.
14799 * builtins.c (get_pointer_alignment): Likewise.
14800
5a2aa3bd
RH
148012001-07-24 Richard Henderson <rth@redhat.com>
14802
14803 * simplify-rtx.c (avoid_constant_pool_reference): Coerce
14804 the retrieved constant into the expected mode.
14805
ca9fef16
JH
14806Wed Jul 25 01:41:27 CEST 2001 Jan Hubicka <jh@suse.cz>
14807
14808 * flow.c (try_simplify_condjump): Avoid duplicated edges.
14809 (verify_flow_info): Check for duplicated edges; clarify
14810 error reporting.
14811
14812 * flow.c (block_label): Update basic_block_for_insn.
14813 (commit_edge_insertions): Call compute_bb_for_insn.
14814
14815 * flow.c (purge_dead_edges): Handle conditional jumps and conditional
14816 returns too.
14817
14818 * flow.c (redirect_edge_and_branch,
14819 try_optimize_cfg): Use redirect_edge_succ_nodup
14820 (redirect_edge_succ_nodup): New.
14821 * basic_block.h (redirect_edge_succ_nodup): Declare.
14822
14823 * toplev.c (rest_of_compilation): Rebuild CFG before cfg_cleanup
14824 after gcse.
14825
40fc4e6a
JH
14826Wed Jul 25 00:32:49 CEST 2001 Jan Hubicka <jh@suse.cz>
14827
14828 * flow.c (try_forward_edges): Accept fallthru edge; Update comment.
14829 (try_crossjump_to_edge): Update commetns.
14830 (try_crossjump_bb): Likewise.
14831
e7139885
RH
148322001-07-24 Richard Henderson <rth@redhat.com>
14833
14834 * combine.c (distribute_notes): Move set of need_refresh
14835 for noop_move_p down to catch all cases.
14836
6f862f2f
JH
14837Tue Jul 24 20:32:44 CEST 2001 Jan Hubicka <jh@suse.cz>
14838
14839 * recog.c (split_all_insns_noflow): New.
14840 * rtl.h (split_all_insns_noflow): Declare.
14841 * ia64.c (ia64_reorg): Use split_all_insns_noflow.
14842 * m68hc11.c (m68hc11_reorg): Likewise.
14843 * sh.c (machine_dependent_reorg): Likewise.
14844 * toplev.c (rest_of_compilation): Likewise for last split_all_insns
14845 call.
14846
615cd49b
AH
148472001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14848
bb8602be
JS
14849 * config/sh/sh.md (ashlsi3_std splitter): Split only after reload.
14850 (ashlsi3_n splitter): Likewise.
14851 (lshrsi3_n splitter): Likewise.
615cd49b 14852
bb8602be
JS
14853 (GOTaddr2picreg): Make const SImode.
14854 (sym_label2reg): Likewise.
14855 (symGOT2reg): Likewise.
14856 (symGOTOFF2reg) Likewise.
615cd49b 14857
bb8602be 14858 (casesi_worker_0): Make unspec SImode.
615cd49b 14859
2b9d17c7
AH
148602001-07-18 Andrew Haley <aph@cambridge.redhat.com>
14861
bb8602be
JS
14862 * config/sh/sh.c (barrier_align): Check that an operand really is
14863 an insn before extracting its INSN_CODE.
2b9d17c7 14864
cfe1cd40
AH
148652001-07-24 Andrew Haley <aph@cambridge.redhat.com>
14866
14867 * config/sh/sh.h (OVERRIDE_OPTIONS): Add braces to get rid of
14868 dangling else.
14869
14870 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Truncate operands
14871 for SImode to prevent overflow.
14872
46d2e8d7
RO
148732001-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14874
14875 * config/mips/irix6-libc-compat.c: New file.
14876 * config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Use it.
14877 * doc/install.texi (Specific, mips*-sgi-irix6): Mention structure
14878 passing workaround.
14879
cd6e5291
LB
148802001-07-24 lars brinkhoff <lars@nocrew.org>
14881
14882 * rtl.texi (REG_POINTER): Document.
14883 (Machine Modes): Document BImode, OImode, PQImode, PHImode,
14884 QFmode, HFmode, TQFmode, QCmode, and HCmode.
14885
8f54d2ff
JH
14886Tue Jul 24 10:49:40 CEST 2001 Jan Hubicka <jh@suse.cz>
14887
14888 * flow.c (delete_noop_moves): Do not confuse libcall regions.
14889
6a7ca996
RH
148902001-07-23 Richard Henderson <rth@redhat.com>
14891
14892 * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
14893
ba412630
KH
148942001-07-23 Kazu Hirata <kazu@hxi.com>
14895
14896 * config/h8300/h8300-protos.h: Add a prototype for
14897 general_operand_dst_push.
1490f392 14898 * config/h8300/h8300.c (general_operand_dst_push): New.
ba412630
KH
14899 * config/h8300/h8300.h (OK_FOR_T): New.
14900 (EXTRA_CONSTRAINT): Use it.
14901 * config/h8300/h8300.md (movqi_push): Remove and integrate into
14902 the existing movqi pattern.
14903 (movhi_push): Likewise.
14904
82efa2e5
KH
14905 * reload.c: Fix comment typos.
14906
21715220
JH
14907Mon Jul 23 23:34:07 CEST 2001 Jan Hubicka <jh@suse.cz>
14908
14909 * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
14910
dd96fbc5
L
149112001-07-23 H.J. Lu (hjl@gnu.org)
14912
14913 * doc/extend.texi: Update __builtin_return_address and
14914 __builtin_frame_address.
14915
c50e5bc0
RH
149162001-07-23 Richard Henderson <rth@redhat.com>
14917
14918 * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
14919 before CSE.
14920 * config/i386/i386.md: New setcc+movzbl peephole2.
14921
9099cc4f
NB
149222001-07-23 Neil Booth <neil@cat.daikokuya.demon.co.uk>
14923
14924 * objc/Make-lang.in (objc-act.o): Depend on debug.h.
14925 * objc/objc-act.c: Include debug.h.
14926 (synth_module_prologue): Save and restore debug hooks too.
14927
68eb4fb9
LB
149282001-07-23 lars brinkhoff <lars@nocrew.org>
14929
14930 * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
14931 and C4X_FLOAT_FORMAT.
14932 (BOOL_TYPE_SIZE): Document.
14933
57de7530
CP
14934Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
14935
14936 * unroll.c (loop_iterations): Fix miscalculation of initial
14937 giv offset.
14938
6e7b03e1
AH
149392001-07-13 Andrew Haley <aph@redhat.com>
14940
bb8602be
JS
14941 * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
14942 * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
14943 * config/sh/sh.c (sh_can_redirect_branch): New function.
14944 * config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
14945 * reorg.c (steal_delay_list_from_target): Use
14946 MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
6e7b03e1 14947
0dd94abd
JH
14948Mon Jul 23 17:20:18 CEST 2001 Jan Hubicka <jh@suse.cz>
14949
14950 * flow.c (try_simplify_condjump): Unlink insn chain on
14951 fallthru edge; use can_fallthru.
14952
0005550b
JH
14953Mon Jul 23 16:03:19 CEST 2001 Jan Hubicka <jh@suse.cz>
14954
14955 * basic-block.h (find_sub_basic_block): Declare.
14956 * flow.c (make_edges): New arguments MIN and MAX;
14957 (find_sub_basic_blocks): Revamp to use make_edges
14958 and purge_dead_edges.
14959 (find_basic_blocks): Update call of find_sub_basic_block.
14960
14961 * recog.c (split_all_insns): Always expect CFG to be consistent;
14962 call find_sub_basic_blocks in case something has changed.
14963 * toplev.c (rest_of_compilation): Always call split_all_insns once CFG
14964 has been built.
14965
14966 * basic-block.h (delete_noop_moves): Declare.
14967 * combine.c (combine_instructions): Call it.
14968 (recog_for_combine): Tolerate noop moves
14969 (distribute_notes): Force refresh when register dies at noop move.
14970 * flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
14971 too.
14972 (life_analysis): Update delete_noop_moves call.
14973 (set_noop_p): Move too ...
14974 * rtlanal.c (noop_move_p): ... here.
14975 * rtl.h (noop_move_p): Declare.
14976
14977 * basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
14978 * toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
14979 after combine.
14980 * gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
eaec9b3d 14981 (cprop_jump): Likewise; call purge_dead_edges if substitution succeeded.
0005550b 14982
e0120d6e
HPN
149832001-07-23 Hans-Peter Nilsson <hp@bitrange.com>
14984
14985 * reload.c (push_reload): Fix typo in comment.
14986 (find_reloads_address): Ditto.
14987 (reg_overlap_mentioned_for_reload_p): Ditto in head comment.
14988
b02eea61
RH
149892001-07-22 Richard Henderson <rth@redhat.com>
14990
14991 * flow.c: Grammar check and clarify a lot of comments.
14992 (try_simplify_condjump): Rename variables to be clearer.
14993 (try_forward_edges): Skip complex and fallthru edges.
14994 Rearrange tests to avoid duplicate checks.
14995 (flow_find_cross_jump): Likewise.
14996 (outgoing_edges_match): Allow match if neither branch has
14997 probability data. Loosen probability match to 5%.
1490f392 14998 (try_crossjump_to_edge): Hoist repeated indirection into
b02eea61
RH
14999 local variables.
15000 (try_crossjump_bb): Don't check complex edges. Eliminate
15001 redundant crossjump tests.
15002 (try_optimize_cfg): Fix use of bool. Reorganize cheaper
15003 checks before more expensive checks.
15004
1f2f8b29
RH
150052001-07-22 Richard Henderson <rth@redhat.com>
15006
15007 * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
15008 INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
15009 arguments.
15010
97660e20
RH
150112001-07-22 Richard Henderson <rth@redhat.com>
15012
15013 * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
15014 (const_sint32_operand): Likewise.
15015 * m68k.md (anon mulsi pattern): Use const_int_operand not
15016 const_sint32_operand.
15017 (umulsi3_highpart): Zero extend a constant input.
15018 (smulsi3_highpart): Don't bother checking SImode constant.
15019 (const_umulsi3_highpart): Give op3 DImode.
15020 (const_smulsi3_highpart): Likewise.
15021
0b6301ae
RH
150222001-07-22 Richard Henderson <rth@redhat.com>
15023
15024 * flow.c (split_block): Make sure bb_note is included in the
15025 new block when splitting before a label.
15026
6b24c259
JH
15027Sun Jul 22 23:28:56 CEST 2001 Jan Hubicka <jh@suse.cz>
15028
15029 * basic-block.h (redirect_edge_and_branch_force,
15030 redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
15031 * flow.c (redirect_edge_and_branch_force,
15032 redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
15033 (redirect_edge_and_branch_force): Fix copying of lifeness information.
15034 (block_label): Handle EXIT_BLOCK_PTR by returning NULL.
eaec9b3d 15035 * ifcvt.c (dead_or_predictable): Take BB as an new destination
6b24c259
JH
15036 instead of label; update CFG after transformation.
15037 (find_if_case_1): Update call, use redirect_edge_and_branch_force
15038 for finishing the transformation; handle even case where ELSE
15039 does not follow THEN.
15040 (find_if_case_2): Update call of dead_or_predictable; simplify
15041 CFG update.
15042
15043 * emit-rtl.c (split_branch_probability): New global variable.
15044 (try_split): Take care to set split_branch_probability and
15045 create REG_BR_PROB note for new jump insns.
15046 * md.texi (define_split): Document new feature.
15047
15048 * i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
15049
544f03b4
NB
150502001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
15051
15052 * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
15053 (asm_out_file): Remove redundant declaration.
15054 (assemble_asm): Remove old #if 0 block.
15055 (assemble_variable): Remove end of function; debug output is
15056 now handled with global_decl. Remove old #if 0 block. Update.
15057 Remove saved_in_section and associated no-op code.
15058 * Makefile.in (varasm.o): Correct dependencies.
15059
bad1f214
AO
15060Sun Jul 22 17:55:11 2001 Alexandre Oliva <aoliva@redhat.com>
15061
15062 * config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
15063 the definition in defaults.h.
15064
0045d504
JH
15065Sun Jul 22 21:31:04 CEST 2001 Jan Hubicka <jh@suse.cz>
15066
15067 * jump.c: Update comments.
15068 (delete_barrier_successors, delete_unreferenced_labels,
15069 delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
15070 delete_labelref_insn, redirect_tablejump, jump_optimize_1,
15071 jump_optimize, jump_optimize_minimal): Kill.
15072 (rebuild_jump_labels): Move code from jump_optimize_1.
15073 (purge_line_number_notes): Likewise.
15074 (copy_loop_headers): Likewise.
15075 * reg-stack.c: Update comment.
15076 * stmt.c: Likewise.
15077 * rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
15078 JUMP_AFTER_REGSCAN): Kill.
15079 * toplev.c (rest_of_compilation): Use cleanup_cfg, call
15080 purge_line_number_notes and copy_loop_headers.
15081
3914abb4
NB
150822001-07-22 Neil Booth <neil@daikokuya.demon.co.uk>
15083 Richard Henderson <rth@redhat.com>
15084
15085 * dbxout.c (dbxout_global_decl): New.
15086 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
15087 * sdbout.c (sdbout_finish): New.
15088 (sdbout_debug_hooks): Use it, add comments.
15089 (sdbout_global_decl): Defer initialised public vars to
15090 sdbout_finish.
15091 * varasm.c (assemble_variable): Don't output debug information
15092 for file-scope variables.
15093
be7560ea
RH
150942001-07-22 Richard Henderson <rth@redhat.com>
15095
15096 * config/alpha/alpha.c (get_trap_mode_suffix): New.
15097 (get_round_mode_suffix): New.
15098 (print_operand): Use them for [/]. Remove support for [&'`()+].
15099 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
15100 * config/alpha/alpha.md (attr round_suffix): New.
15101 (attr trap_suffix): New.
15102 (all insns): Set them appropriately. Use %/ instead of the
15103 myriad punctuators.
15104
65ecca65
NB
151052001-07-22 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15106
15107 * dbxout.c, sdbout.c, varasm.c: Revert most recent debug patch.
15108
4e812700
RH
151092001-07-22 Richard Henderson <rth@redhat.com>
15110
15111 * regrename.c (regrename_optimize): Compute nregs for each
15112 potential target register.
15113
f7e10587
NB
151142001-07-21 Neil Booth <neil@daikokuya.demon.co.uk>
15115 Richard Henderson <rth@redhat.com>
15116
15117 * dbxout.c (dbxout_global_decl): New.
15118 (xcoff_debug_hooks, dbx_debug_hooks): Use it.
15119 * sdbout.c (sdbout_finish): New.
15120 (sdbout_debug_hooks): Use it, add comments.
15121 (sdbout_global_decl): Defer initialised public vars to
15122 sdbout_finish.
15123 * varasm.c (assemble_variable): Don't output debug information
15124 for file-scope variables.
15125
919b1aec
L
151262001-07-21 H.J. Lu (hjl@gnu.org)
15127
15128 * config/mips/mips.c (mips_cpu): Moved into ...
15129 (override_options): Here.
15130
15131 * config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
15132 mips_tune.
15133 (mips_cpu): Removed.
15134
0477256c
SC
151352001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15136
15137 * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
15138 ("iorqi3"): Likewise.
15139 ("xorqi3"): Likewise.
15140 ("*addhi3"): Fix constraint to avoid reloading in a soft register.
15141 ("*subhi3_sp): Likewise.
15142 ("*subhi3"): Likewise.
1490f392 15143 ("extendhisi2"): Accept D, X and Y as source operand to avoid
0477256c
SC
15144 reload problems.
15145
c4372ef4
NS
151462001-07-21 Nathan Sidwell <nathan@codesourcery.com>
15147
15148 * doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
15149 * config/freebsd.h: Likewise.
15150 * config/linux.h: Likewise.
15151 * config/openbsd.h: Likewise.
15152 * config/alpha/linux-elf.h: Likewise.
15153 * config/arm/linux-elf.h: Likewise.
15154 * config/d30v/d30v.h: Likewise.
15155 * config/fr30/fr30.h: Likewise.
15156 * config/ia64/aix.h: Likewise.
15157 * config/ia64/ia64.h: Likewise.
15158 * config/mips/linux.h: Likewise.
15159 * config/pj/pj.h: Likewise.
15160 * config/rs6000/linux.h: Likewise.
15161 * config/sparc/linux.h: Likewise.
15162 * config/sparc/linux64.h: Likewise.
15163
90376ae2
BK
151642001-07-20 Bruce Korb <bkorb@gnu.org>
15165
15166 * fixinc/fixincl.c(test_for_changes): force unsigned char comparisons
15167 because getc() and char* may disagree on signedness.
15168
50b996bf
RH
151692001-07-20 Richard Henderson <rth@redhat.com>
15170
15171 * doc/rtl.texi (REG_DEAD): Update for current semantics.
15172
e9644cfe
RH
15173 * flow.c (try_redirect_by_replacing_jump): Correctly compute which
15174 insns to delete in the presence of cc0 in a jump insn.
15175
ed6ba1a5 15176Fri Jul 20 22:14:49 CEST 2001 Roman Zippel <zippel@linux-m68k.org>
2ea792c2 15177 Jan Hubicka <jh@suse.cz>
ed6ba1a5
RZ
15178
15179 * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
15180 of doing the change by hand.
15181
371b8fc0
JH
15182Fri Jul 20 21:59:42 CEST 2001 Jan Hubicka <jh@suse.cz>
15183
15184 * rtlanal.c (set_noop_p): Return true for noop jumps.
15185
15186 * expr.c (emit_single_push_insn): Add call to push expander.
15187 * expr.h (optab_index): Add OTI_push
15188 (push_optab): New constant.
15189 * genopinit.c (optabs): Add push_optab.
15190 * optabs.c (init_optab): Init push optab.
15191 * md.texi (push??1): Document
15192
00d0458c
SC
151932001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15194
15195 * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
1490f392 15196 expand to emit the pattern; put a REG_INC note for push/pop
00d0458c
SC
15197 instructions.
15198 ("movdf", "movdf_internal"): Likewise.
15199 ("movsi", "movsi_internal"): Likewise.
15200 ("movsf", "movsf_internal"): Likewise.
15201 ("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
15202
d74e9142
SC
152032001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15204
15205 * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
15206 gen_highpart.
15207
1c432a87
DB
152082001-07-20 Daniel Berlin <dan@cgsoftware.com>
15209
15210 * params.def: Change default max inline insns to 100.
15211
9def18da
DN
152122001-07-20 Diego Novillo <dnovillo@redhat.com>
15213
15214 * combine.c (combine_simplify_rtx): Generate a new shift operation
15215 when simplifying the first operand of a (neg (ashift)) expression.
15216
d4845339
RH
152172001-07-20 Roman Lechtchinsky <rl@cs.tu-berlin.de>
15218
15219 * regclass.c (N_REG_INTS): Use only 32 bits per element.
15220
152212001-07-20 Kelley Cook <kelley.cook@home.com>
dbd210ef
KC
15222
15223 * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
15224 information. Move rest into ...
15225 (*-*-solaris): ... here. Eliminate redundant information and
15226 reword necessary packages section. Delete 4.x assembler bug info.
15227 (sparc-sun-*): Merge into ...
15228 (sparc-sun-sunos*): here.
15229
3a97685a
CM
152302001-07-20 Catherine Moore <clm@redhat.com>
15231
97660e20
RH
15232 * config/v850/v850.md (casesi): Generate LABEL_REF
15233 with Pmode.
3a97685a 15234
d24b3457
JH
15235Fri Jul 20 14:12:57 CEST 2001 Jan Hubicka <jh@suse.cz>
15236
15237 * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
15238 * i386.c (ix86_zero_extend_to_Pmode): Make global.
15239 * i386.md (strclrsi expander): Use it.
15240
bc8d3f91
JH
15241Fri Jul 20 13:24:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15242
15243 * integrate.c (copy_insn_list): handle
15244 NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
15245 (copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
15246 identically as to CODE_LABEL.
15247
15248 * fold-const (fold): Convert A/B/C to A/(B*C) and
15249 A/(B/C) to (A/B)*C
15250
15251 * except.c (connect_post_landing_pads): Delete the RESX insns.
15252
1f28c666
AH
152532001-07-20 Aldy Hernandez <aldyh@redhat.com>
15254
97660e20 15255 * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
1f28c666
AH
15256
15257 * config/mips/mips.md (nmadd/nmsub): Use macro.
15258
002ee64f
NS
152592001-07-20 Nathan Sidwell <nathan@codesourcery.com>
15260
15261 * cppinit.c (remove_dup_dir): Make static.
15262 (remove_dup_dirs): Make static. Only warn about preempting a
15263 system directory with a non-system directory.
15264
038fb2bc
GK
152652001-07-19 Geoffrey Keating <geoffk@redhat.com>
15266
15267 * ifcvt.c (noce_try_store_flag_constants): Correct order
15268 of parameters to trunc_int_for_mode.
15269
be672de8
MM
152702001-07-19 Mark Mitchell <mark@codesourcery.com>
15271
15272 * reorg.c (fill_simple_delay_slots): If an instruction might throw
15273 an exception that will be caught within this function, do not fill
15274 its delay slot with any subsequent instruction.
15275
6dd12198
SE
152762001-07-19 Steve Ellcey <sje@cup.hp.com>
15277
15278 * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
15279 * optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
15280 pointer extension instruction.
15281 * combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
15282 * simplify-rtx.c (simplify_unary_operation) Likewise.
1490f392 15283 * explow.c (convert_memory_address) Check value of
6dd12198
SE
15284 POINTERS_EXTEND_UNSIGNED to avoid some conversions when
15285 less than zero.
15286 * config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
15287 MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
15288 * config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
15289 Add Multilib Support.
15290 (POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
15291 * config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
15292 Add Multilib Support.
15293 (POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
15294 support.
15295 * config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
15296 * config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
15297 a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
15298
0248ce05
AO
152992001-07-19 Alexandre Oliva <aoliva@redhat.com>
15300
15301 * simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
15302 old and new operands in `<', `3' and `b'.
15303
e1772ac0
NB
153042001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
15305
15306 * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
15307 (final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
15308 (toplev.o): Don't depend on xcoffout.h.
15309 * c-decl.c: Include debug.h
15310 (duplicate_decls): Use debug hook.
15311 * dbxout.c (dbxout_source_file, dbxout_args): Make static.
15312 (dbx_debug_hooks, xcoff_debug_hooks): Update.
15313 (dbxout_types): Remove.
15314 * dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
15315 * debug.c (do_nothing_debug_hooks): Update.
15316 (debug_true_tree, debug_nothing_rtx): New.
15317 * debug.h (struct rtx_def): New.
15318 (struct gcc_debug_hooks): New hooks ignore_block,
15319 outlining_inline_function and label.
15320 (debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
15321 dwarf2out_frame_finish): New.
15322 * dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
15323 Make static, update prototype.
15324 (dwarf2_debug_hooks): Update.
15325 * dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
15326 dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
15327 * dwarfout.c (dwarf_debug_hooks): Update.
15328 * emit-rtl.c: Include debug.h.
15329 (remove_unnecessary_notes): Use debug hook.
15330 * final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
15331 (final_scan_insn): Use debug hook.
15332 * integrate.c (output_inline_function): Use debug hook.
15333 * sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
15334 (sdb_debug_hooks): Update.
15335 * sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
15336 * toplev.c: Don't include xcoffout.h.
15337 (note_outlining_of_inline_function, debug_ignore_block): Remove.
15338 * toplev.h (note_outlining_of_inline_function, debug_ignore_block):
15339 Remove.
15340 * tree.h (dwarf2out_do_frame): Remove.
15341
77f43519
CM
153422001-07-19 Catherine Moore <clm@cygnus.com>
15343
1490f392 15344 * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
77f43519 15345
d54ef62c
GK
153462001-07-19 Geoffrey Keating <geoffk@redhat.com>
15347
c77fbfbe
GK
15348 * reload1.c (eliminate_regs_in_insn): When updating a set
15349 to the frame pointer to the hardware frame pointer, perform
15350 the update always not just when REPLACE is set.
15351
eb4d554e
GK
15352 * reload1.c (choose_reload_regs): Don't inherit a reload
15353 that crosses multiple registers if registers past the first
15354 don't fit in the desired class.
15355
d54ef62c
GK
15356 * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
15357 when negating constants.
15358
7d46d516
TM
153592001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
15360
15361 * tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
15362 * doc/tree.texi: Ditto.
15363
5442cf15
MK
153642001-07-19 Mark Kettenis <kettenis@wins.uva.nl>
15365 Jakub Jelinek <jakub@redhat.com>
15366
15367 * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
15368 (extract_cie_info): Handle "eh" augmentation properly,
15369 remember eh_ptr.
15370 (struct frame_state, __frame_state_for): New.
15371
432fa9f2
RO
153722001-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15373
15374 * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
15375 HANDLE_SYSV_PRAGMA): Define.
15376 * mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
15377 previous args.
15378 (copy_object): Caller changed.
15379
bfabbc3c
AS
153802001-07-19 Andreas Schwab <schwab@suse.de>
15381
15382 * configure.in (assembler dwarf2 debug_line support): Define nop
15383 insn for m68k.
15384 * configure: Regenerated.
15385
2b85879e
NB
153862001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
15387
15388 * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
15389 dwarfout.h.
15390 * dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
15391 to conditionally compiled block.
15392 (dbx_debug_hooks, xcoff_debug_hooks): Update.
15393 * dbxout.h (dbxout_function): Remove.
15394 * debug.c (do_nothing_debug_hooks): Update.
15395 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
15396 global_decl, deferred_inline_function.
15397 * dwarf2out.c (dwarf2_debug_hooks): Update.
15398 (dwarf2out_global_decl): New.
15399 * dwarfout.c: Don't include dwarfout.h.
15400 (dwarfout_global_decl, dwarfout_function_decl,
15401 dwarfout_deferred_inline_function): New.
15402 (dwarf_debug_hooks): Update.
15403 * dwarfout.h: Remove.
15404 * final.c: Don't include dwarfout.h.
15405 * sdbout.c (sdbout_global_decl): New.
15406 (sdbout_debug_hooks): Update.
15407 * toplev.c: Don't include dwarfout.h.
15408 (check_global_declarations, rest_of_compilation): Use new debug hooks.
15409 (note_deferral_of_defined_inline_function): Remove.
15410 * toplev.h (note_deferral_of_defined_inline_function): Remove.
15411 * ch/Makefile.in (lex.o): No dependence on dwarfout.h.
15412 * ch/lex.c: Don't include dwarfout.h.
15413 * cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
15414 (semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
15415 * cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
15416 * cp/optimize.c: Include debug.h.
15417 (maybe_clone_body): Use debug hook.
15418 * cp/semantics.c: Include debug.h.
15419 (expand_body): Use debug hook.
15420 * po/POTFILES.in: Remove dwarfout.h.
15421
c60e94a7
NB
154222001-07-19 Neil Booth <neil@daikokuya.demon.co.uk>
15423
15424 * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
15425 * c-parse.in (yyerror, _yylex): Similarly.
15426 * cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
15427 Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
15428 Update comments.
15429 * cpplib.h (CPP_INT, CPP_FLOAT): Remove.
15430 * cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
15431
8458e954
JS
154322001-07-18 Jeff Sturm <jsturm@one-point.com>
15433
15434 * dwarf2out.c (dwarf2out_abstract_function): Don't emit
15435 in-class declaration at -g1. Fixes c++/2814.
15436
d989f648
RH
154372001-07-18 Richard Henderson <rth@redhat.com>
15438
15439 * doc/md.texi (reload_in/out): Document restrictions in predicates
15440 and constraints for these patterns. Document empty string matching
15441 ALL_REGS.
15442
20c93f7c
RO
154432001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15444
15445 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
15446
dc42616f
JH
15447Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz>
15448
15449 * cse.c: Undo my previous patch.
15450
f91abfce
TT
154512001-07-18 Tom Tromey <tromey@redhat.com>
15452
15453 For PR java/2812:
15454 * configure: Rebuilt.
15455 * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
15456 instead.
15457 * aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
15458
0728902f 15459Wed Jul 18 18:46:30 CEST 2001 Richard Henderson <rth@cygnus.com>
2ea792c2 15460 Jan Hubicka <jh@suse.cz>
0728902f
RH
15461
15462 * flow.c (redirect_edge_and_branch): Bail out on complex edges.
15463 (try_optimize_cfg): Do not remove tail recursive labels before sibcall.
15464 * jump.c (mark_jump_label): Do not forward branches.
15465
f06fbeea
JH
15466Wed Jul 18 18:35:01 CEST 2001 Jan Hubicka <jh@suse.cz>
15467
15468 * cse.c (delete_trivially_dead_insns): Delete the libcall block
15469 when return value is unused.
15470
222f7ba9
JH
15471Wed Jul 18 18:28:16 CEST 2001 Jan Hubicka <jh@suse.cz>
15472
15473 * gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
15474
8b52df45
NP
15475Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it>
15476
15477 * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value
15478 on error. We can't blindly return the result of
15479 pthread_mutex_trylock because it returns a positive number on
15480 error, while we must return -1 on error.
15481 (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar
1490f392 15482 fixes.
8b52df45
NP
15483 Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>.
15484
895b2cfe
AJ
154852001-07-18 Andreas Jaeger <aj@suse.de>
15486
15487 * integrate.c (output_inline_function): Correct type of debug_hooks.
15488
493efd37
TM
154892001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
15490
15491 * combine.c (combine_simplify_rtx): DIV can be treated
15492 associatively for floats if unsafe math optimisations are enabled.
15493
a7c07f1e
RH
154942001-07-17 Richard Henderson <rth@redhat.com>
15495
15496 * reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
15497
3affaf29
RH
154982001-07-17 Richard Henderson <rth@redhat.com>
15499
15500 * calls.c (prepare_call_address): New parameter SIBCALLP. If true,
15501 don't force the function address into a register.
15502 (expand_call, emit_library_call_value_1): Update callers.
15503 * builtins.c (expand_builtin_apply): Likewise.
15504 * expr.h (prepare_call_address): Update decl.
15505
001da62a
CC
155062001-07-17 Chandrakala Chavva <cchavva@redhat.com>
15507
3affaf29
RH
15508 * config.gcc: For *-*-chorusos triplet, get chorus.h file from
15509 config directory.
15510 * config/i386/chorus.h: Move up.
15511 * config/sparc/chorus.h: Likewise.
15512 * config/rs6000/chorus.h: Likewise.
15513 * config/chorus.h: Moved here.
001da62a 15514
01efb963 155152001-07-17 Andreas Schwab <schwab@suse.de>
895b2cfe 15516
2ea792c2
JJ
15517 * configure.in (assembler eh_frame optimization): Handle big
15518 endian.
15519 * configure: Regenerated.
01efb963 15520
b7e9703c
JH
15521Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka <jh@suse.cz>
15522
15523 * expr.c (epxand_expr): Convert divisions into multiplications by
15524 reciprocals if -ffast-math.
15525
653e276c
NB
155262001-07-17 Neil Booth <neil@daikokuya.demon.co.uk>
15527
15528 * dbxout.c (dbxout_really_begin_function): Rename to
15529 dbxout_begin_function.
15530 (dbx_debug_hooks, xcoff_debug_hooks): Update.
15531 (dbxout_begin_function): Remove.
15532 (dbxout_function): Update.
15533 (dbxout_source_line): Update prototype.
15534 * dbxout.h (dbxout_begin_function): Remove.
15535 * debug.c (do_nothing_debug_hooks): Update.
15536 (debug_nothing_tree): Update.
15537 (debug_nothing_charstar_rtx): Remove.
15538 * debug.h (union tree_node): Declare.
15539 (struct rtx_def): Remove.
15540 (gcc_debug_hooks): New hooks begin_prologue, end_prologue,
15541 begin_function. Change source_line prototype.
15542 (debug_nothing_tree): New.
15543 (debug_nothing_charstar_rtx): Delete.
15544 (dwarf2out_begin_prologue): Moved from ...
15545 * tree.h: ... here.
15546 * dwarf2out.c (dwarf2_debug_hooks): Update.
15547 (dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
15548 debug info, call dwarf2out_source_line.
15549 (dwarf2out_souce_line): Update prototype.
15550 * dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
15551 Change prototype, make static.
15552 (dwarfout_source_line): Update prototype.
15553 (dwarf_debug_hooks): Update.
15554 * dwarfout.h (dwarfout_begin_function): Remove.
15555 * final.c (final_start_function, final_scan_insn): Use appropriate
15556 debug hooks, update to use notice_source_line.
15557 (output_source_line): Rename notice_source_line. Don't call the
15558 source_line debug hook.
15559 * sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
15560 make static, update prototype.
15561 (sdbout_mark_begin_function): Rename sdbout_begin_function, update
15562 prototype.
15563 (sdbout_end_prologue): New.
15564 (sdbout_source_line): Update prototype.
15565 (sdbout_debug_hooks): Update.
15566 (sdbout_symbol): Remove unused var.
15567 * sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
15568 Delete.
15569 * varasm.c: Include debug.h.
15570 (assemble_start_function): Use begin_function debug_hook.
15571 * xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
15572 update with prototype.
15573 (xcoffout_source_line): Update prototype.
15574 * xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
15575 update prototype.
15576 (xcoffout_source_line): Update prototype.
15577
91a18fe0
RH
155782001-07-17 Richard Henderson <rth@redhat.com>
15579
15580 * c-typeck.c (build_binary_op): Do not shorten unsigned
15581 right shift after sign extension.
15582
4ba5f925
JH
15583Tue Jul 17 16:56:05 CEST 2001 Jan Hubicka <jh@suse.cz>
15584
15585 * combine.c (combine_simplify_rtx): Attempt to simplify
15586 a*(b/c) as (a*b)/c for floats in unsafe_math mode.
15587
15588 * simplify-rtx.c (avoid_constatn_pool_reference): New static function.
15589 (simplify_binary_operation, simplify_unary_operation,
15590 simplify_relational_operation): Use it.
15591
15592 * combine.c (combine_simplify_rtx): Don't do associative law
15593 on divisions; allow associative law on floats.
15594
3aa8ab7b
L
155952001-07-17 H.J. Lu <hjl@gnu.org>
15596 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15597
15598 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
15599 ASM_OUTPUT_WEAK_ALIAS are defined.
15600 * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
15601 * config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
15602 Moved ...
15603 * config/mips/iris5.h: ... here.
15604 (HANDLE_SYSV_PRAGMA): Defined as 1.
15605 * varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
15606 * doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
15607 symbol.
15608
4b01f8d8
JM
156092001-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
15610
15611 * c-parse.in (all_prefix_attributes): New variable.
15612 (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
15613 (maybe_resetattrs): New production.
15614 (c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
15615 maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
15616 notype_initdcl, nested_function, notype_nested_function,
15617 component_decl, components, components_notype,
15618 component_declarator, component_notype_declarator,
15619 absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
15620 ivars, mydecl, myparm): Update. Avoid prefix attributes just
15621 after a comma being applied to more than one declarator.
15622 * doc/extend.texi (Attribute Syntax): Update. Remove
15623 documentation of bugs that are no longer present.
15624
7a38df19
EC
156252001-07-13 Eric Christopher <echristo@redhat.com>
15626
15627 * config/mips/mips.h: Change TUNE_MIPS* options to use
15628 mips_tune.
15629 (EXTRA_SPECS): Add cc1_cpu_spec.
15630 * config/mips/mips.md (muldf3): Fix typo.
15631
6d5f49b2
RH
156322001-07-16 Richard Henderson <rth@redhat.com>
15633
15634 * config/m68k/m68k.c: Include expr.h and reload.h.
15635 (print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
15636 [general int]: Use HOST_WIDE_INT_PRINT_DEC.
15637
0021de69
DB
156382001-07-16 Daniel Berlin <dan@cgsoftware.com>
15639 Richard Henderson <rth@redhat.com>
15640
15641 * cse.c (set_live_p): Take INSN argument for cc0; update callers.
15642 (insn_live_p): Fix fall off end of function.
15643 (dead_libcall_p): Remove COUNTS argument; update callers.
15644 (delete_trivially_dead_insns): Remove unused variables.
15645
b3bb6456
AJ
156462001-07-17 Andreas Jaeger <aj@suse.de>
15647
15648 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
15649 x86-64 pic support.
15650
15651 * lcm.c (optimize_mode_switching): Avoid warning for unused
51589632 15652 variable if !NORMAL_MODE.
b3bb6456
AJ
15653
15654 * flow.c (try_crossjump_to_edge): Remove unused variable.
15655
55105156
BK
156562001-07-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
15657
15658 * inclhack.def (ultrix_atexit_param): New hack to fix ultrix 4.3
15659 atexit declaration in stdlib.h.
15660
156612001-07-16 Richard Begg <Richard.Begg@colesmyer.com.au>
15662
15663 * fixinc/inclhack.def(hpux_vsnprintf): brokenness in stdio.h
15664
4793dca1
JH
15665Mon Jul 16 22:48:00 CEST 2001 Jan Hubicka <jh@suse.cz>
15666
15667 * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
15668 * except.c (finish_eh_generation): Update call of cleanup_cfg;
15669 do rebuild_jump_labels instead of jump_optimize
15670 * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
15671 * toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
15672 * flow.c (try_optimize_cfg): Remove unneeded code_labels.
15673
15674 * flow.c: Include timevar.h
15675 (find_basic_block): Push/pop timevar;
15676 (cleanup_cfg): Likewise.
15677 * timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
15678 * Makefile: Add dependencies on timevar.h
15679
15680 * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
15681 (copy_insn_list): Avoid killing of BASIC_BLOCK notes.
15682
15683 * rtl.h (delete_trivially_dead_insns): Add new parameter.
15684 * toplev.c (rest_of_compilation): Update calls.
15685 * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
15686 (delete_trivially_dead_insns): ... here; accept new argument
15687 preserve_basic_blocks; preserve basic blocks if set.
15688
15689 * reg-stack.c (stack_regs_mentioned): Return 0 if
15690 stack_regs_mentioned_data is not initialized.
15691 (reg_to_stack): Make stack_regs_mentioned survive after the
15692 reg-stack is completted; do not call cleanup_cfg.
15693 * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
15694 make cleanup_cfg after bb-reorder to output to debug file.
15695
b85946fc
RH
156962001-07-16 Richard Henderson <rth@redhat.com>
15697
15698 * regclass.c (init_reg_sets): Use only 32 bits per initializer
15699 from int_reg_class_contents.
15700
4e2db584
RH
157012001-07-16 Richard Henderson <rth@redhat.com>
15702
15703 * hard-reg-set.h (regs_invalidated_by_call): Declare.
15704 * regclass.c (regs_invalidated_by_call): Move from cse.c.
15705 (init_reg_sets_1): Move initialization from cse_main.
15706 * cse.c (regs_invalidated_by_call): Move to regclass.c.
15707 (cse_main): Move its initialization also.
15708 * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
15709 * flow.c (propagate_one_insn): Likewise.
15710 * gcse.c (compute_hash_table): Likewise.
15711 (compute_kill_rd, compute_store_table): Likewise.
15712 * sched-deps.c (sched_analyze_1): Likewise.
15713
cccf0ae8
R
15714Mon Jul 16 18:07:07 2001 J"orn Rennecke <amylaar@redhat.com>
15715
15716 * gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
15717 gen_rtx_SET.
15718
94fc7dea
SE
157192001-07-16 Steve Ellcey <sje@cup.hp.com>
15720
15721 * dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
15722 in if statement so we don't access undefined memory.
15723
978cf2fc
DB
157242001-07-16 Daniel Berlin <dan@cgsoftware.com>
15725
b3bb6456 15726 * gcse.c: Update comment at top.
ccef9ef5
DB
15727 Update comment on mem handling.
15728 mem_last_set, mem_first_set, mem_set_in_block: gone.
15729 Declaration of reg_set_info: gone.
15730 (oprs_unchanged_p): Don't use mem_*set_* anymore. They are
15731 pointless with load_killed_in_block_p (they are *more*
15732 conservative then it, not less, and less accurate).
b3bb6456 15733 (oprs_not_set_p): Ditto.
ccef9ef5
DB
15734 (alloc_gcse_mem): Don't allocate mem_set_in_block
15735 (free_gcse_mem): Don't free it, either.
15736 (record_last_mem_set_info): Update comment in front, remove
15737 mem_*set_* stuff. Note the reason we don't handle stores directly
15738 here.
15739 (compute_hash_table): Update comments to reflect reality. Remove
15740 mem_*set_* references.
15741 (reset_opr_set_tables): Remove mem_*set_* references.
15742 (mark_call): Ditto.
b3bb6456 15743 (mark_set): Ditto. Also remove double sets of bitmaps for REG's.
ccef9ef5
DB
15744 (mark_clobber): Ditto (on both parts, we double set here too).
15745 (expr_killed_p): Remove mem_set_in_block test.
15746 (compute_transp): Remove mem_set_in_block test.
15747
978cf2fc 15748 * ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
b3bb6456 15749 of edge, and removal of phi alternative to dump file.
978cf2fc
DB
15750 (ssa_ccp_substitute_constants): Add note about register now being
15751 constant, and which uses were replaced in what insns to dump file.
15752
23190837
AJ
157532001-07-16 Andreas Jaeger <aj@suse.de>
15754
15755 * gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
15756 variables of type HOST_WIDEST_INT.
15757
15758 * libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
15759 (__bb_exit_func): Correct type of count_max to avoid overflow.
15760 (num_digits): Handle long long argument.
15761
15762 * combine.c (gen_lowpart_for_combine): Remove unused variable.
15763
f4dc8d96
NB
157642001-07-16 Neil Booth <neil@cat.daikokuya.demon.co.uk>
15765
15766 * output.h (sdb_begin_function_line): Restore as an extern
15767 variable.
15768 * sdbout.c (sdb_begin_function_line): Make extern.
15769
9e9f3ede
RH
157702001-07-15 Richard Henderson <rth@redhat.com>
15771
15772 * machmode.def (Pmode): Redefine if GENERATOR_FILE.
15773 * genrecog.c (maybe_both_true_mode): New.
15774 (maybe_both_true_2): Use it.
15775 (write_switch): Don't put Pmode in a switch.
15776 * rtl.c (mode arrays): Don't explicitly size them.
15777
22fb740d
JH
15778Sun Jul 15 14:07:36 CEST 2001 Jan Hubicka <jh@suse.cz>
15779
15780 * toplev.c (rest_of_compilation): Fix register_life_up_to_date
15781 handling; move unconditional splitting before mode switching.
15782
15783 * i386.md (type): Add fistp type.
15784 (i387, length_attr, scheduling definitions): Handle this type.
15785 (fix_trunc?f?i2): Revamp to use mode switching.
15786 (fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
15787 * i386.h (fp_cw_mode): New enum
15788 (OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
15789 MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.
15790
135d50f1
RK
15791Sun Jul 15 12:53:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15792
15793 * Makefile.in (integrate.o): Add debug.h.
15794 * integrate.c (debug.h): Add.
15795 (output_inline_function): Save, reset, and restore debug_hooks.
15796
b762a0ef
RH
157972001-07-15 Richard Henderson <rth@redhat.com>
15798
15799 * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
15800 instead of COMPARE for the EQUIV expression.
15801
c319629b
RH
158022001-07-15 Richard Henderson <rth@redhat.com>
15803
15804 * flow.c (redirect_edge_and_branch_force): Initialize
15805 global_live_at_start and global_live_at_end.
15806 (allocate_bb_life_data): Export.
15807 * basic-block.h (allocate_bb_life_data): Declare.
15808 * toplev.c (rest_of_compilation): Call it.
15809
25e21aed
RH
158102001-07-15 Richard Henderson <rth@redhat.com>
15811
15812 * config/alpha/alpha.c (alpha_tablejump_addr_vec): New.
15813 (alpha_tablejump_best_label): New.
15814 * config/alpha/alpha-protos.h: Declare them.
15815 * config/alpha/alpha.md: Use braced strings for code blocks.
15816 (tablejump_osf): Break out add with r29.
15817 (tablejump_osf_internal): Remove.
15818 (tablejump_osf_nt_internal): Rename from tablejump_nt_internal,
15819 use alpha_tablejump_addr_vec and alpha_tablejump_best_label.
15820
03598dea
JH
15821Sun Jul 15 00:53:35 CEST 2001 Jan Hubicka <jh@suse.cz>
15822
15823 * loop.c (scan_loop): Add USEs inside PARALLELs into dependencies
15824 of the movable.
15825
15826 * toplev.c (rest_of_compilation): Allow new pseudoes for mode switching.
15827
15828 * i386-protos.h (ix86_split_fp_branch): Update prototype.
15829 (ix86_fp_jump_nontrivial_p): New.
15830 * i386.md (fp_jcc_?): Update call of split_fp_branch;
15831 use ix86_fp_jump_nontrivial_p.
15832 * i386.c (ix86_fp_jump_nontrivial_p): New.
15833 (ix86_split_fp_branch): Accept code instead of rtx.
15834 (ix86_expand_compare): Expand comparison early in case
15835 doing so is resonably cheap.
15836
b8313db6
NC
158372001-07-15 Nick Clifton <nickc@cambridge.redhat.com>
15838
15839 * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian'
15840 not 'machine'.
15841 (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'.
15842 (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'.
15843
e2a12aca
NB
158442001-07-15 Neil Booth <neil@daikokuya.demon.co.uk>
15845
15846 * dbxout.c (dbxout_source_line): Make static, update prototype.
15847 (dbx_debug_hooks, xcoff_debug_hooks): Add new hooks.
15848 (dbxout_init, dbxout_finish, dbxout_source_line,
15849 dbxout_begin_block, dbxout_end_block): Update for new prototypes.
15850 * dbxout.h (dbxout_source_line): Delete.
15851 * debug.c (debug_nothing_file, debug_nothing_file_int,
15852 debug_nothing_file_charstar_rtx): New.
15853 (do_nothing_debug_hooks): Update.
15854 (debug_nothing_void, debug_nothing_charstar_rtx,
15855 dwarf2out_end_epilogue): New.
15856 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15857 * debug.h (struct rtx_def): Declare.
15858 (gcc_debug_hooks): New hooks source_line, end_epilogue
15859 and end_function.
15860 (debug_nothing_void, debug_nothing_charstar_rtx,
15861 dwarf2out_end_epilogue): New.
15862 (debug_nothing_file_charstar, debug_nothing_file_int_int): Rename.
15863 * dwarf2out.c (dwarf2out_source_line): Make static, update prototype.
15864 (dwarf2_debug_hooks): Update.
15865 (dwarf2out_init, dwarf2out_finish, dwarf2out_source_line,
15866 dwarf2out_begin_block, dwarf2out_end_block): Update for new prototypes.
15867 * dwarf2out.h (dwarf2out_source_line): Remove.
15868 * dwarfout.c (dwarfout_end_epilogue, dwarfout_end_function):
15869 Make static, update prototype.
15870 (dwarfout_init, dwarfout_finish, dwarfout_source_line,
15871 dwarfout_begin_block, dwarfout_end_block): Update for new prototypes.
15872 (dwarf_debug_hooks): Update.
15873 * dwarfout.h (dwarfout_end_epilogue, dwarfout_source_line,
15874 dwarfout_end_function): Remove.
15875 * final.c (profile_function): Use debug hooks for ending functions
15876 and epilogues.
15877 (output_source_line, final_end_function): Update prototype,
15878 use debug hooks.
15879 (final_start_function, final_scan_insn): Update.
15880 * output.h (sdb_begin_function_line): Remove.
15881 (final_end_function): Update prototype.
15882 * sdbout.c (sdb_begin_function_line): Make static.
15883 (PUT_SDB_EPILOGUE_END): Move to sdbout_end_epilogue.
15884 (sdbout_source_line): New.
15885 (sdbout_end_epilogue, sdbout_end_function): Make static, update
15886 prototypes.
15887 (sdb_debug_hooks): Update.
15888 (sdbout_init, sdbout_source_line,
15889 sdbout_begin_block, sdbout_end_block): Update for new prototypes.
15890 * sdbout.h (sdbout_end_epilogue, sdbout_end_function): Remove.
15891 * toplev.c (compile_file, rest_of_compilation): Update.
15892 * tree.h (dwarf2out_end_epilogue): Move to debug.h.
15893 * xcoffout.c (xcoffout_source_line, xcoffout_begin_block,
15894 xcoffout_end_block, xcoffout_end_epilogue, xcoffout_end_function):
15895 Update for prototype changes.
15896 * xcoffout.h (xcoffout_source_line, xcoffout_begin_block,
15897 xcoffout_end_block, xcoffout_end_epilogue): Update prototypes.
15898
be7b80f4
RH
158992001-07-15 Richard Henderson <rth@redhat.com>
15900
15901 * config/alpha/alpha.h (TARGET_ABI_OSF): New.
15902 (TARGET_ABI_WINDOWS_NT, TARGET_ABI_OPEN_VMS): Rename; update users.
15903 * config/alpha/alpha-protos.h: Update TARGET_ABI_* users.
15904 * config/alpha/alpha.c: Likewise.
15905 * config/alpha/alpha.md: Likewise.
15906 * config/alpha/alpha32.h: Likewise.
15907 * config/alpha/vms.h: Likewise.
15908 (OPEN_VMS): Remove.
15909
736f566a
RH
159102001-07-14 Richard Henderson <rth@redhat.com>
15911
15912 * config/alpha/alpha.md: Use define_constants for unspec values.
15913 Substitute throughout.
15914
e6290e74
TJ
159152001-07-14 Tim Josling <tej@melbpc.org.au>
15916
15917 * tree.def (EXPON_EXPR) remove. Never supported anyway.
15918
3794967f
JDA
159192001-07-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
15920
15921 * pa.md: Remove unused constraints from define_split's.
15922
35cbdf6f
RH
159232001-04-14 Richard Henderson <rth@redhat.com>
15924
15925 * ifcvt.c (find_cond_trap): Test for exit block.
15926
1e5fd094
JH
15927Sun Jul 15 00:50:20 CEST 2001 Jan Hubicka <jh@suse.cz>
15928
15929 Re-install recently reverted patch.
15930 * emit-rtl.c (try_split): Update mark_jump_label call.
15931 * flow.c (find_sub_basic_blocks): Likewise.
15932 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
15933 jump_back_p): Kill.
15934 (mark_all_labels): Kill second parameter.
15935 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
15936 (rebuild_jump_labels, jump_optimize_minimal): Update call
15937 of jump_optimize_1.
15938 (jump_optimize_1): Kill crossjumping code.
15939 (mark_jump_label): Kill cross_jump parameter.
15940 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
15941 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
15942 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
15943 splitting.
15944 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
15945 DFI_bpro.
15946 (dump_file_info): Likewise.
15947 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
15948 reorganize passes to do reg-stack first, bb-reorder second.
15949 * invoke.texi (-d letters doc): Remove the jump2 pass.
15950
999c0669
RH
159512001-07-14 Richard Henderson <rth@redhat.com>
15952
15953 * ifcvt.c (find_cond_trap): New.
15954 (find_if_header): Call it.
15955 (merge_if_block): Relax existing jump sanity check.
15956 * jump.c (jump_optimize_1): Remove conditional trap handling.
15957
7d8b1412
AM
159582001-07-14 Alan Modra <amodra@bigpond.net.au>
15959
15960 * config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
15961 millicode.
15962 (insn_refs_are_delayed): Correct comment.
15963 * config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
15964 * config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
15965 instead of r31. Make associated insn !TARGET_64BIT, and
15966 provide an additional 64-bit insn that clobbers r2.
15967 (divsi3): Likewise.
15968 (udivsi3): Likewise.
15969 (modsi3): Likewise.
15970 (umodsi3): Likewise.
15971
1ed672dd
JH
15972Sat Jul 14 02:58:38 CEST 2001 Jan Hubicka <jh@suse.cz>
15973
15974 * bb-reorder.c (skip_insn_after_block): Get past the line number notes.
15975
15976 * flow.c (redirect_edge_and_branch_force, split_edge,
15977 try_crossjump_to_edge): Use set_block_for_new_insns.
15978 * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns.
15979
c51f3aa1
L
159802001-07-13 H.J. Lu (hjl@gnu.org)
15981
15982 * config/elfos.h (UNIQUE_SECTION): Enable .bss section with
15983 the correct patch.
15984
ca18be57
GK
159852001-07-13 Geoffrey Keating <geoffk@redhat.com>
15986
15987 Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
15988
59387d2e
JM
159892001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
15990
15991 * c-common.c (decl_attributes): Take a pointer to the node to
15992 which attributes are to be attached, and a flags argument.
15993 * c-common.h (enum attribute_flags): New.
15994 (decl_attributes): Update prototype.
15995 * c-decl.c (start_decl, push_parm_decl, finish_struct,
15996 finish_enum, start_function): Update calls to decl_attributes.
15997 * c-parse.in (component_declarator, component_notype_declarator,
15998 label): Update calls to decl_attributes.
15999
48ccfb40
DC
16000Fri Jul 13 23:04:00 2001 Denis Chertykov <denisc@overta.ru>
16001
16002 * config/avr/avr.md (strlenhi): PARALLEL keyword removed.
16003 * config/avr/avr.c (legitimate_address_p): Return value changed
16004 from letter to register classes. For better debugging.
16005
5a4aeb03
KH
160062001-07-13 Kazu Hirata <kazu@hxi.com>
16007
16008 * jump.c (reversed_comparison_code_parts): Fix comment typos.
16009
92e78e59
L
160102001-07-13 H.J. Lu (hjl@gnu.org)
16011
16012 * config/elfos.h (UNIQUE_SECTION): Enable .bss section.
16013
f1cf4606
ME
160142001-07-13 Marc Espie <espie@cvs.openbsd.org>
16015
16016 * config.gcc (*-*-openbsd*): Add fragment to compile libgcc
16017 correctly for shared configurations.
16018 * config/t-libgcc-pic: New.
16019 * config/{i386,m68k,sparc}/t-openbsd: New.
16020 * config/openbsd.h: Include cpu_spec in cpp_spec where needed.
16021 Support -shared. Support debugging libraries with -g.
16022 * config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
16023 frame information does not emit pointer diffs.
16024 * config/sparc/openbsd.h: Ensure dwarf2 frame information does not
16025 emit pointer diffs.
16026
998d20d2
GK
160272001-07-13 Geoffrey Keating <geoffk@redhat.com>
16028
16029 Revert Jan Hubicka's patch of Fri Jul 13 14:46:21 CEST 2001.
16030
1568d79b
DE
160312001-07-13 David Edelsohn <edelsohn@gnu.org>
16032
16033 * combine.c (try_combine): Ensure const_int pow2 is positive.
16034
9628a767
HP
160352001-07-13 Hartmut Penner <hpenner@de.ibm.com>
16036
23190837
AJ
16037 * config.gcc: Add configuration for s/390.
16038 * config/s390/s390.c: New. Subroutines for code generation.
9628a767
HP
16039 * config/s390/s390.h: New. Definitions for s/390.
16040 * config/s390/s390-protos.h: New. Prototypes.
16041 * config/s390/linux.h: New. Definitions for linux for s/390.
16042 * config/s390/linux64.h: New. Definitions for linux for zSeries.
23190837
AJ
16043 * config/s390/t-linux: New. Makefile fragment.
16044 * config/s390/s390.md: New. Machine description for s/390 and zSeries.
9628a767 16045 * config/s390/fixdfdi.h: New. Fix L_fix*di.
23190837 16046
f3ba35e4
JH
16047Fri Jul 13 14:46:21 CEST 2001 Jan Hubicka <jh@suse.cz>
16048
16049 * emit-rtl.c (try_split): Update mark_jump_label call.
16050 * flow.c (find_sub_basic_blocks): Likewise.
16051 * jump.c (cross_jump_death_matters, find_cross_jump, do_cross_jump,
16052 jump_back_p): Kill.
16053 (mark_all_labels): Kill second parameter.
16054 (jump_optimize, jump_optimize_1): Kill cross_jump parameter.
16055 (rebuild_jump_labels, jump_optimize_minimal): Update call
16056 of jump_optimize_1.
16057 (jump_optimize_1): Kill crossjumping code.
16058 (mark_jump_label): Kill cross_jump parameter.
16059 * rtl.h (mark_jump_label, jump_optimize): Update prototypes.
16060 (JUMP_CROSS_JUMP, JUMP_CROSS_JUMP_DEATH_MATTERS): Kill.
16061 * reg-stack.c (reg_to_stack): Do not rebuild if not needed; do
16062 splitting.
16063 * toplev.c (enum dump_file_index): Kill DFI_jump2; put DFI_stack before
16064 DFI_bpro.
16065 (rest_of_compilation): Update calls to jump_optimize; kill jump2 pass;
16066 reorganize passes to do reg-stack first, bb-reorder second.
16067 * invoke.texi (-d letters doc): Remove the jump2 pass.
16068
448d17f9
SE
160692001-07-12 Steve Ellcey <sje@cup.hp.com>
16070
16071 * toplev.c (compile_file): Put call of ASM_FILE_START inside ifdef.
16072
6691db8e
JH
16073Thu Jul 12 17:57:16 CEST 2001 Jan Hubicka <jh@suse.cz>
16074
16075 * flow.c (try_optimize_cfg): Delete whole chain of trivially dead
16076 basic blocks.
16077 (verify_flow_info): Make diagnostics prettier.
16078
c35e85f9
JH
16079Thu Jul 12 16:48:54 CEST 2001 Jan Hubicka <jh@suse.cz>
16080
16081 * flow.c (find_basic_blocks_1): Do not emit NOP after call.
16082
16083 * flow.c (outgoing_edges_match): Return early if condition reversal
16084 failed.
16085
51c6b247
RS
160862001-07-06 Richard Sandiford <rsandifo@redhat.com>
16087
16088 * config/mips/mips.c (print_operand): Extend '%D' to memory operands.
16089 (mips_move_2words): When splitting a move into two instructions,
16090 prefix the second address operand with '%D'.
16091
a5a42b92
NB
160922001-07-12 Neil Booth <neil@daikokuya.demon.co.uk>
16093
16094 * Makefile.in (final.o): Depend on debug.h.
16095 * dbxout.c (dbxout_begin_block, dbxout_end_block): New.
16096 (dbx_debug_hooks): Add new hooks.
16097 (xcoff_debug_hooks): New.
16098 * debug.c (debug_nothing_file_int_int): New.
16099 (do_nothing_debug_hooks): Update.
16100 * debug.h (gcc_debug_hooks): New hooks begin_block and end_block.
16101 (debug_nothing_file_int_int): New.
16102 * dwarf2out.c (dwarf2out_begin_block, dwarf2out_end_block): Make
16103 static, update prototype.
16104 (dwarf2_debug_hooks): Update.
16105 * dwarf2out.h (dwarf2out_begin_block, dwarf2out_end_block): Remove.
16106 * dwarfout.c (dwarfout_begin_block, dwarfout_end_block): Make
16107 static, update prototype.
16108 (dwarf_debug_hooks): Update.
16109 * dwarfout.h (dwarfout_begin_block, dwarfout_end_block): Remove.
16110 * final.c: Include debug.h.
16111 (final_scan_insn): Use debug hooks when beginning and ending blocks.
16112 * sdbout.c (sdbout_begin_block, sdbout_end_block): Make
16113 static, update prototype.
16114 (sdb_debug_hooks): Update.
16115 * sdbout.h (sdbout_begin_block, sdbout_end_block): Remove.
16116 * toplev.c: Distinguish between xcoff and dbx.
16117
16118 * f/lex.c (ffelex_file_pop_, ffelex_file_push_, ffelex_hash_):
16119 Call all debug hooks, not just dwarf ones.
16120
c177db4b
TW
161212001-07-11 Timothy Wall <twall@redhat.com>
16122
4e2db584
RH
16123 * config.gcc: Add configuration for AIX5/IA64.
16124 * config/ia64/aix.h: New. AIX5/IA64-specific configuration.
16125 * config/ia64/crt[in].asm: New. Generic static ctor/dtor
c177db4b 16126 support prefix/suffix code.
4e2db584
RH
16127 * config/ia64/t-aix: New. Makefile fragment.
16128 * config/ia64/unwind-aix.c: New. Unwind table entry lookup.
c177db4b 16129
4d893612
KH
161302001-07-11 Kazu Hirata <kazu@hxi.com>
16131
16132 * recog.c (validate_change): Fix a comment typo.
16133
7f905405
NB
161342001-07-11 Neil Booth <neil@daikokuya.demon.co.uk>
16135
16136 * Makefile.in (c-lex.o): Wrap long lines. Depend on debug.h.
16137 * c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
16138 hooks directly.
16139 * dbxout.c (dbx_debug_hooks): Add new hooks.
16140 (dbxout_start_new_source_file): Rename dbxout_start_source_file,
16141 make static.
16142 (dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
16143 make static.
16144 * dbxout.h (dbxout_start_new_source_file,
16145 dbxout_resume_previous_source_file): Delete.
16146 * debug.c (do_nothing_debug_hooks): Add new hooks.
16147 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
16148 (debug_nothing_int_charstar, debug_nothing_int): New.
16149 * debug.h (gcc_debug_hooks): New hooks define, undef,
16150 start_source_file and end_source_file.
16151 (debug_nothing_init_finish): Rename debug_nothing_file_charstar.
16152 (debug_nothing_int_charstar, debug_nothing_int): New.
16153 * dwarf2out.c (dwarf2_debug_hooks): Add new hooks. Move into
16154 the conditionally compiled section.
16155 (dwarf2out_start_source_file, dwarf2out_end_source_file,
16156 dwarf2out_define, dwarf2out_undef): Make static.
16157 * dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
16158 dwarf2out_define, dwarf2out_undef): Remove.
16159 * dwarfout.c (dwarf_debug_hooks): Add new hooks.
16160 (dwarfout_start_source_file, dwarfout_end_source_file,
16161 dwarfout_define, dwarfout_undef): Make static.
16162 (dwarfout_start_source_file_check,
16163 dwarfout_end_source_file_check): New.
16164 (dwarfout_define, dwarfout_finish): Update.
16165 * dwarfout.h (dwarfout_start_new_source_file,
16166 dwarfout_resume_previous_source_file, dwarfout_define,
16167 dwarfout_undef): Remove.
16168 * sdbout.c (sdb_debug_hooks): Add new hooks.
16169 (sdbout_start_new_source_file): Rename sdbout_start_source_file,
16170 make static.
16171 (sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
16172 make static, take an arg.
16173 * sdbout.h (sdbout_start_new_source_file,
16174 sdbout_resume_previous_source_file): Delete.
16175 * toplev.c (debug_start_source_file, debug_end_source_file,
16176 debug_define, debug_undef): Delete.
16177 * toplev.h (debug_start_source_file, debug_end_source_file,
16178 debug_define, debug_undef): Delete.
16179
16180 * java/jcf-parse.c: Include debug.h.
16181 (parse_class_file): Update to use debug hooks directly.
16182 * java/Make-lang.in (jcf-parse.o): Depend on debug.h.
16183
ba4828e0
RK
16184Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16185
16186 * alias.c (set_mem_alias_set): New function.
16187 * rtl.h (set_mem_alias_set): Declare it.
16188 * builtins.c (expand_builtin_return_addr): Call it instead of
16189 using MEM_ALIAS_SET accessor.
16190 (expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
16191 (get_memory_rtx, expand_builtin_va_arg): Likewise.
16192 (expand_builtin_va_copy):Likewise.
16193 * caller-save.c (setup_save_areas): Likewise.
16194 * calls.c (compute_argument_addresses): Likewise.
16195 * explow.c (set_mem_attributes): Likewise.
16196 * expr.c (emit_single_push_insn, emit_push_insn): Likewise.
16197 (expand_assignment, store_constructor_field, store_field): Likewise.
16198 (expand_expr_unaligned): Likewise.
16199 * function.c (assign_stack_temp_for_type): Likewise.
16200 (put_reg_into_stack, gen_mem_addressof): Likewise.
16201 * ifcvt.c (noce_try_cmove_arith): Likewise.
16202 * reload1.c (reload, alter_reg): Likewise.
16203 * config/alpha/alpha.c (get_aligned_mem): Likewise.
16204 (alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
16205 (alpha_expand_unaligned_store): Likewise
16206 (alpha_expand_unaligned_load_words): Likewise.
16207 (alpha_expand_unaligned_store_words): Likewise.
16208 (alpha_expand_block_clear, alpha_expand_prologue): Likewise.
16209 (alpha_expand_epilogue): Likewise.
16210 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
16211 * config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
16212 * config/i386/i386.c (legitimize_pic_address): Likewise.
16213 * config/i960/i960.c (setup_incoming_varargs): Likewise.
16214 * config/ia64/ia64.c (spill_restore_mem): Likewise.
16215 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
16216 * config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
16217 * config/mips/mips.c (mips_va_arg): Likewise.
16218 * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
16219 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
16220 * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
16221 (setup_incoming_varargs, rs6000_va_arg): Likewise.
16222 (rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
16223 (rs6000_emit_epilogue): Likewise.
16224 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
16225 * config/sparc/sparc.c (sparc_va_arg): Likewise.
16226 * config/v850/v850.c (v850_va_arg): Likewise.
16227
46fac664
JH
16228Wed Jul 11 21:27:25 CEST 2001 Jan Hubicka <jh@suse.cz>
16229
16230 * flow.c (merge_blocks_move_successor_nojumps): Do not crash
16231 when fallthru edge is present.
16232 (mege_blocks): Handle case where creation of jump insn
16233 is required.
16234
16235 * basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
16236 CLEANUP_POST_REGSTACK): New constants.
16237 * except.c (finish_eh_generation): Update call of cleanup_cfg,
16238 * jump.c (rtx_renumbered_equal_p): Handle 't' fields.
16239 * output.h (cleanup_cfg): Update prototype.
16240 * reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
23190837 16241 * sibcall.c (optimize_sibling_and_tail_recursive_call): Update
46fac664
JH
16242 cleanup_cfg call; kill missleading comment.
16243 * toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
16244 * flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
16245 parameter; control optimizations performed using it.
16246 (flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
16247 try_crossjump_bb): New functions.
16248
9acc24a5
JDA
162492001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
16250
16251 * pa.c (pa_output_function_prologue): Delete prototype. Make function
16252 extern.
16253 * pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
16254 pa_output_function_prologue.
16255 * pa-protos.h (pa_output_function_prologue): New prototype.
16256
9312aecc
JDA
162572001-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
16258
16259 * stmt.c (emit_case_nodes): Widen high and low instead of new_bound
16260 and low to get correct sign extension in low+high test.
16261
dec2b703
JJ
162622001-07-11 Janis Johnson <janis@us.ibm.com>
16263
4b9664e2
JJ
16264 * gcov.c (arcdata): Use gcov_type to fix branch percentage
16265 for large hit count.
16266
dec2b703
JJ
16267 * profile.c (branch_prob): Fix .bbg info for computed gotos
16268 and C++ EH code.
16269
40b18c0a
MM
162702001-07-11 Mark Mitchell <mark@codesourcery.com>
16271
23190837 16272 * stmt.c (parse_output_constraint): New function, split out
40b18c0a
MM
16273 from ...
16274 (expand_asm_operands): ... here. Use parse_output_constraint.
16275 * tree.h (parse_output_constraint): Declare it.
16276
a615c28a
RH
162772001-07-11 Richard Henderson <rth@redhat.com>
16278
16279 * bitmap.c: Comment some functions; fiddle whitespace.
16280 (bitmap_free): Don't export.
16281 (bitmap_element_allocate): Use memset.
16282 * bitmap.h (bitmap_free): Don't declare.
16283
5a660bff
DB
162842001-07-11 Daniel Berlin <dan@cgsoftware.com>
16285
16286 * gcse.c, lcm.c, sched-deps.c:
16287 s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
16288
16289 * flow.c (flow_loops_find): Free dom if we found no loops, since
16290 we aren't going to save it.
16291
16292 * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
16293 done.
16294
1a9485cf
JL
16295Wed Jul 11 09:00:48 2001 Jeffrey A Law (law@cygnus.com)
16296
16297 * ssa-ccp.c (ssa_fast_dce): Free worklist when completed.
16298
c8383050
RK
16299Wed Jul 11 10:07:18 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16300
16301 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
16302 #ifndef DWARF2_DEBUGGING_INFO.
16303
bd77ba51
RS
163042001-07-11 Richard Sandiford <rsandifo@redhat.com>
16305
16306 * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
16307
b5265b32
RS
163082001-07-11 Richard Sandiford <rsandifo@redhat.com>
16309
16310 * config/mips/mips.c (gen_int_relational): Tell the caller not to
16311 reverse a branch if a NE comparison is implemented with GTU.
16312
b87c8c8c
RS
163132001-07-11 Richard Sandiford <rsandifo@redhat.com>
16314 H.J. Lu <hjl@gnu.org>
16315
16316 * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
16317 constant addresses.
16318 (call_internal2): Likewise.
16319 (call_value_internal1): Likewise.
16320 (call_value_internal2): Likewise.
16321 (call_value_multiple_internal1): Likewise.
16322 (call_value_multiple_internal2): Likewise.
16323
0407c02b
KH
163242001-07-10 Kazu Hirata <kazu@hxi.com>
16325
16326 * calls.c (emit_library_call_value_1): Fix a comment typo.
16327 * dwarf2out.c (mem_loc_descriptor): Likewise.
16328 * config/i386/i386.c (ix86_expand_aligntest): Likewise.
16329
a1b2ebc0
DB
163302001-07-11 David Billinghurst <David.Billinghurst@riotinto.com>
16331
608fe35b 16332 * simplify-rtx.c (simplify_subreg): Fix typo in comment
a1b2ebc0 16333
07217645
RK
16334Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16335
16336 * recog.c (offsettable_address_p): Handle LO_SUM case.
16337 * config/mips/mips.c (double_memory_operand): Use adjust_address_nv
16338 instead of plus_constant.
23190837 16339
91667711
SC
163402001-07-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16341
16342 * reload1.c (merge_assigned_reloads): After a RELOAD_OTHER merge,
16343 fix setting of the reloads of that reload to RELOAD_FOR_OTHER_ADDRESS.
16344
d7624dc0
RK
16345Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16346
16347 * config/rs6000/rs6000.c (print_operand, case 'L', 'Y', 'Z'): Use
16348 adjust_address_nv instead of plus_constant.
16349
a51d908e
NB
163502001-07-10 Neil Booth <neil@daikokuya.demon.co.uk>
16351
16352 * Makefile.in (toplev.o, sdbout.o, dbxout.o, dwarfout.o,
16353 dwarf2out.o): Depend on debug.h, wrap long lines.
16354 * dbxout.c: Include debug.h.
16355 (dbx_debug_hooks): New.
16356 (dbxout_init): Make static, take just 2 args.
16357 (dbxout_finish): Make static.
16358 * dbxout.h (dbxout_init, dbxout_finish): Delete.
16359 * debug.c: New file.
16360 * debug.h: New file.
16361 * dwarf2out.c: Include debug.h.
16362 (dwarf2_debug_hooks): New.
16363 (dwarf2out_init): Make static.
16364 (dwarf2out_finish): Make static, take 2 args.
16365 * dwarf2out.h (dwarf2out_init, dwarf2out_finish): Delete.
16366 * dwarfout.c: Include debug.h.
16367 (dwarf_debug_hooks): New.
16368 (dwarfout_init): Make static.
16369 (dwarfout_finish): Make static, take 2 args.
16370 * dwarfout.h (dwarfout_init, dwarfout_finish): Delete.
16371 * sdbout.c: Include debug.h.
16372 (sdb_debug_hooks): New.
16373 (sdbout_init): Make static, take 2 args.
16374 * sdbout.h (sdbout_init): Delete.
16375 * toplev.c: Include debug.h.
16376 (debug_hooks): New.
16377 (compile_file): Set deubg_hooks based on command line options.
16378 Use the hooks unconditionally rather than conditional compilation.
16379
af5c573a
JL
16380Tue Jul 10 09:04:45 2001 Jeffrey A Law (law@cygnus.com)
16381
16382 * ssa-ccp.c (first_phi_node): Remove. Replace uses with calls to
16383 first_insn_after_basic_block_note instead.
16384
16385 * df.c (df_bb_refs_unlink): #if 0 out for now.
16386
163872001-07-10 David Billinghurst <David.Billinghurst@riotinto.com
16388
16389 * ssa.h: Add prototype for ssa_const_prop
16390 * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
16391 (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
16392 (ssa_fast_dce): Remove unused variable
16393
64dfaa76
GDR
163942001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
16395
16396 * diagnostic.c (finish_diagnostic): Rename to
16397 diagnostic_finish. Make it take an 'output_buffer *'. Adjust
16398 calls thourghout.
16399
84db136d
JM
164002001-07-10 Jason Merrill <jason_merrill@redhat.com>
16401
8aaf55ac
JM
16402 * dwarf2out.c (dwarf2out_line): Emit -dA comment even when we have
16403 .loc support.
16404
84db136d 16405 * collect2.c (main): Set COLLECT_NO_DEMANGLE for subprocesses.
23190837 16406 (dump_file): Only pad the demangled name with spaces if the
84db136d
JM
16407 mangled name was padded with spaces.
16408
fd052ec3
BS
164092001-07-10 Bernd Schmidt <bernds@redhat.com>
16410
16411 * bb-reorder.c (make_reorder_chain_1): Correct branch/fallthru
16412 edge detection.
16413
62926f0b
RK
16414Tue Jul 10 07:27:53 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16415
10c2a453
RK
16416 * expr.c (expand_expr, case COMPONENT_REF): Don't force using bitfield
16417 extraction if no direct load if either EXPAND_CONST_ADDRESS or
16418 EXPAND_INITIALIZER.
16419
62926f0b
RK
16420 * emit-rtl.c (adjust_address, adjust_address_nv): Change criteria for
16421 whether can put offset inside LO_SUM to check mode alignment, not size.
16422
acdcefcc
GDR
164232001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
16424
16425 * doc/tm.texi (Misc): Fix thinko.
16426
07167a18
JM
164272001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>
16428
16429 * regmove.c (replace_in_call_usage): Fix warnings.
16430 * sched-deps.c (add_dependence): Fix warnings.
16431 * simplify-rtx.c (simplify_subreg): Likewise.
16432 Return NULL_RTX instead of NULL.
16433
16434 * reg-stack.c (emit_swap_insn): Eliminate warnings.
16435 (subst_asm_stack_regs): Likewise.
16436
16437 * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
16438 warnings.
16439
16440 * dwarf2out.c (output_call_frame_info): Declare i as int.
16441 (build_abbrev_table): Declare n_alloc as int.
16442 (dwarf2out_finish): Initialize die.
16443 * except.c: Declare sjlj_funcdef_number as unsigned.
16444 (connect_post_landing_pads): Declare j as unsigned.
16445 (convert_to_eh_region_ranges): Initialize call_site.
16446 (output_function_exception_table): Initialize tt_format_size.
16447 * expr.c (move_by_pieces_1): Initialize to1.
16448 (store_constructor): Initialize minelt and maxelt.
16449 * flow.c (mark_regs_live_at_end): Declare i as unsigned.
16450 * function.c (instantiate_decls): Avoid signed/unsigned warning.
16451
16452 * c-decl.c (combine_parm_decls): Unused, remove.
16453 * c-tree.h: Remove prototype for combine_parm_decls.
16454
16455 * reload.c (push_reload): Fix warning.
16456 (regno_clobbered_p): Likewise.
16457 * reload1.c (replace_pseudos_in_call_usage): Likewise.
16458 (reload_combine): Likewise.
16459
16460 * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
16461 * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
16462 warnings.
16463 * bitmap.c (bitmap_operation): Change user.
16464 * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
16465
4608d36c
EC
164662001-07-10 Eric Christopher <echristo@redhat.com>
16467
16468 * config/mips/mips.c (override_options): Fix typo.
16469
f6155fda
SS
164702001-07-09 Stan Shebs <shebs@apple.com>
16471
16472 * target.h (struct gcc_target): New fields init_builtins and
16473 expand_builtin.
16474 * target-def.h (TARGET_INIT_BUILTINS): New macro.
16475 (TARGET_EXPAND_BUILTIN): New macro.
16476 (TARGET_INITIALIZER): Add them.
16477 * builtins.c: Include target.h.
16478 (expand_builtin): Use targetm.expand_builtin.
16479 (default_init_builtins): New function.
16480 (default_expand_builtin): New function.
16481 * expr.h (default_init_builtins): Declare.
16482 (default_expand_builtin): Declare.
16483 * c-common.c (c_common_nodes_and_builtins): Use
16484 targetm.init_builtins.
16485 * defaults.h (MD_INIT_BUILTINS): Remove.
16486 * Makefile.in (builtins.o): Depend on target.h.
16487
16488 * config/arm/arm.c (TARGET_INIT_BUILTINS): Define.
16489 (TARGET_EXPAND_BUILTIN): Define.
16490 * config/arm/arm.h (MD_INIT_BUILTINS): Remove.
16491 (MD_EXPAND_BUILTIN): Remove.
16492
16493 * config/c4x/c4x.c (TARGET_INIT_BUILTINS): Define.
16494 (TARGET_EXPAND_BUILTIN): Define.
16495 (c4x_init_builtins): Make endlink arg a local.
16496 (c4x_print_operand): Fix typos in adjust_address usages.
16497 * config/c4x/c4x-protos.h (c4x_init_builtins): Update decl.
16498 * config/c4x/c4x.h (MD_INIT_BUILTINS): Remove.
16499 (MD_EXPAND_BUILTIN): Remove.
16500
16501 * config/i386/i386.c (TARGET_INIT_BUILTINS): Define.
16502 (TARGET_EXPAND_BUILTIN): Define.
16503 (ix86_init_mmx_sse_builtins): New function, was ix86_init_builtins.
16504 (ix86_init_builtins): Call new function only if TARGET_MMX.
16505 * config/i386/i386-protos.h (ix86_init_mmx_sse_builtins): Declare.
16506 * config/i386/i386.h (MD_INIT_BUILTINS): Remove.
16507 (MD_EXPAND_BUILTIN): Remove.
16508
16509 * config/ia64/ia64.c (TARGET_INIT_BUILTINS): Define.
16510 (TARGET_EXPAND_BUILTIN): Define.
16511 * config/ia64/ia64.h (MD_INIT_BUILTINS): Remove.
16512 (MD_EXPAND_BUILTIN): Remove.
16513
16514 * doc/tm.texi: Document these changes.
16515
2b1d9dc0
DN
165162001-07-09 Diego Novillo <dnovillo@redhat.com>
16517
16518 * basic-block.h (tree_node): Forward declare if needed.
16519 (struct basic_block_def): Add fields 'head_tree' and 'end_tree'.
16520 (BLOCK_HEAD_TREE): Define.
16521 (BLOCK_END_TREE): Define.
16522 (struct loops): Rename field 'tree' to 'tree_root'.
4608d36c 16523 * flow.c (entry_exit_blocks): Add initializers for 'head_tree' and
2b1d9dc0
DN
16524 'end_tree'.
16525 (flow_loops_tree_build): Rename reference to field 'tree' to
16526 'tree_root'.
16527 (flow_loops_level_compute): Ditto.
16528 * predict.c (estimate_bb_frequencies): Ditto.
16529 * tree.h (struct tree_common): Add field 'aux'.
16530
70bdc2ff
SS
165312001-07-09 Stan Shebs <shebs@apple.com>
16532
16533 * config/darwin.c (darwin_encode_section_info): Don't mark any
16534 DECL_EXTERNAL node as defined.
16535
d777856d
JDA
165362001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
16537
16538 * pa.c (pa_init_machine_status, pa_mark_machine_status,
16539 pa_free_machine_status, hppa_init_pic_save): Delete.
16540 (hppa_pic_save_rtx): New. Use get_hard_reg_initial_val.
16541 (hppa_profile_hook): Use hppa_pic_save_rtx.
16542 * pa.h (struct machine_function, PIC_OFFSET_TABLE_SAVE_RTX,
16543 hppa_init_pic_save): Delete.
16544 (hppa_pic_save_rtx): Declare.
16545 * pa.md (call, call_value, sibcall, sibcall_value,
16546 builtin_setjmp_receiver): Use hppa_pic_save_rtx.
16547
aa3c0d59
KH
165482001-07-09 Kazu Hirata <kazu@hxi.com>
16549
16550 * config/h8300/t-h8300 (LIB1ASMFUNCS): Add _floatdisf and _fixsfdi.
16551 * config/mn10200/t-mn10200 (LIB1ASMFUNCS): Likewise.
16552
af076e58
AJ
165532001-07-09 Andreas Jaeger <aj@suse.de>
16554
16555 * output.h: Add declaration of final_forward_branch_p.
16556
16557 * config/i386/i386.c (output_fix_trunc): Remove unused variable.
16558
16559 * varray.c: Include errors.h for internal_error and trim_filename
16560 declarations.
16561
16562 * Makefile.in (varray.o): Add errors.h.
16563
fb7e77d7
TM
165642001-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
16565
16566 * expr.h: Adjust prototypes for have_add2_insn, have_sub2_insn.
16567 * optabs.c (have_add2_insn): Check whether the add insn chosen
16568 really accepts the operands. (have_sub2_insn): Ditto for sub insn.
16569 * reload1.c (reload_cse_move2add): Adjust calls of have_add2_insn.
16570
0b47e4c1
JL
16571Mon Jul 9 13:26:40 2001 Jeffrey A Law (law@cygnus.com)
16572
16573 * Makefile.in (OBJS): Add ssa-ccp.o
16574 (ssa-ccp.o): Add dependencies.
16575 * toplev.c (DFI_ssa_ccp): New dump file enum.
16576 (dump_file): Add entry for dumping after SSA CCP.
16577 (flag_ssa_ccp): New flag variable.
16578 (f_options): Add -fssa-ccp.
16579 (rest_of_compilation): Run SSA CCP if requested.
16580 * timevar.def (TV_SSA_CCP): New timevar.
16581 * ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
16582 * doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
16583 Fix minor typo in SSA DCE documentation.
16584 * doc/invoke.texi: Add documentation for new flag -fssa-ccp.
16585 Add documentation for new dump option. Renumber dump files
16586 appropriately.
16587
5222e470
JH
16588Mon Jul 9 21:36:00 CEST 2001 Jan Hubicka <jh@suse.cz>
16589
16590 * emit-rtl.c (gen_highpart_mode): New.
16591 * rtl.h (gen_highpart_mode): Declare.
16592 * sparc.md (insn splitters): Use gen_highpart_mode, whenever the
16593 operand can be VOIDmode constant.
16594
2b2c8b3e
JH
16595Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka <jh@suse.cz>
16596
16597 * flow.c (redirect_edge_and_branch_force): New.
16598 (can_fallthru): Ensure that basic blocks are succeeding.
16599 (try_optimize_cfg): Do not delete basic block if it is the last one.
16600
16601 * flow.c (try_redirect_by_replacing_jump): Do not remove
16602 jumps with side effects, unlink chain on fallthru edge;
16603 set block for new jump instruction; avoid basic block to
16604 over by line number note.
16605
16606 * flow.c (try_simplify_condjump): Verify that the condjump
f5143c46 16607 is not always falling through.
2b2c8b3e
JH
16608
16609 Re-install patch:
16610 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
16611
16612 * flow.c (forwarder_block_p): Fix for fallthru blocks.
16613 (try_redirect_by_replacing_jump): Update properly the count
16614 and frequency information.
16615
60a97cd4
RK
16616Mon Jul 9 06:41:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16617
823e3574
RK
16618 * emit-rtl.c (adjust_address, adjust_address_nv): Handle an
16619 address that is a LO_SUM specially.
16620 * explow.c (plus_constant_wide, case LO_SUM): Deleted.
16621
60a97cd4
RK
16622 * c-lang.c (start_cdtor): Remove extra parameter from start_function.
16623
16624 * emit-rtl.c (adjust_address_nv, replace_equiv_address_nv): New fcns.
16625 (operand_subword): Use them.
16626 (change_address_1): Renamed from change_address; new arg VALIDATE.
16627 * expr.h: Reflect above changes; change_address now macro.
16628 * alias.c (canon_rtx): Use replace_equiv_address_nv instead of
16629 making MEM.
16630 * cselib.c (add_mem_for_addr): Likewise.
16631 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
16632 * regmove.c (try_apply_stack_adjustment): Likewise.
16633 * reload.c (push_reload, make_memloc): Likewise.
16634 * reload1.c (eliminate_regs): Likewise.
16635 * simplify-rtx.c (simplify_replace_rtx): Likewise.
16636 * caller-save.c (setup_save_areas): Use adjust_address_nv instead of
16637 adjust_addess.
16638 * combine.c (make_extraction, simplify_shift_const): Likewise.
16639 (gen_lowpart_for_combine): Likewise.
16640 * cse.c (gen_lowpart_if_possible): Likewise.
16641 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
16642 * expr.c (expand_expr, case COMPONENT_REF): Likewise.
16643 * optabs.c (gen_move_insn): Likewise.
16644 * reload1.c (alter_reg): Likewise.
16645 * simplify-rtx.c (simplify_subreg): Likewise.
16646 * stmt.c (expand_anon_union_decl): Likewise.
16647 * recog.c (validate_replace_rtx_1): Likewise.
16648 (expr.h): Include.
16649 * Makefile.in (recog.o): Add $(EXPR_H).
16650 * explow.c (stabilize): Call replace_equiv_address.
16651 * expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
16652 * final.c (alter_subreg): OFFSET is HOST_WIDE_INT.
16653
053a35af
AH
166542001-07-03 Andrew Haley <aph@redhat.com>
16655
16656 * expmed.c (store_fixed_bit_field): Don't use a mode bigger than
16657 the mode of the memory location.
16658
db42058b
BT
166592001-07-09 Bo Thorsen <bo@suse.co.uk>
16660
16661 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix x86-64 vtable support.
16662
17b53c33
NB
166632001-07-09 Neil Booth <neil@daikokuya.demon.co.uk>
16664
16665 * final.c (output_addr_const): Use target opening and
16666 closing parentheses.
16667 * target-def.h: Define TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN
16668 defaults, add to TARGET_ASM_OUT.
16669 * target.h (struct gcc_target): Add open_paren and close_paren.
16670 * doc/md.texi: Update.
16671 * doc/tm.texi: Document TARGET_ASM_FUNCTION_END_PROLOGUE,
16672 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, TARGET_ASM_OPEN_PAREN and
16673 TARGET_ASM_CLOSE_PAREN.
60a97cd4 16674 * config/i386/i386.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
17b53c33 16675 Override.
60a97cd4 16676 * config/pdp11/pdp11.c (TARGET_ASM_OPEN_PAREN, TARGET_ASM_CLOSE_PAREN):
17b53c33 16677 Override.
60a97cd4
RK
16678 * config/1750a/1750a.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
16679 * config/a29k/a29k.h: Similarly.
16680 * config/alpha/alpha.h: Similarly.
16681 * config/arc/arc.h: Similarly.
16682 * config/arm/aof.h: Similarly.
16683 * config/arm/aout.h: Similarly.
16684 * config/avr/avr.h: Similarly.
16685 * config/c4x/c4x.h: Similarly.
16686 * config/clipper/clipper.h: Similarly.
16687 * config/convex/convex.h: Similarly.
16688 * config/d30v/d30v.h: Similarly.
16689 * config/dsp16xx/dsp16xx.h: Similarly.
16690 * config/elxsi/elxsi.h: Similarly.
16691 * config/fr30/fr30.h: Similarly.
16692 * config/h8300/h8300.h: Similarly.
16693 * config/i370/i370.h: Similarly.
16694 * config/i386/i386.h: Similarly.
16695 * config/i860/i860.h: Similarly.
16696 * config/i960/i960.h: Similarly.
16697 * config/ia64/ia64.h: Similarly.
16698 * config/m32r/m32r.h: Similarly.
16699 * config/m68hc11/m68hc11.h: Similarly.
16700 * config/m68k/m68k.h: Similarly.
16701 * config/m88k/m88k.h: Similarly.
16702 * config/mcore/mcore.h: Similarly.
16703 * config/mips/mips.h: Similarly.
16704 * config/mn10200/mn10200.h: Similarly.
16705 * config/mn10300/mn10300.h: Similarly.
16706 * config/ns32k/ns32k.h: Similarly.
16707 * config/pa/pa.h: Similarly.
16708 * config/pdp11/pdp11.h: Similarly.
16709 * config/pj/pj.h: Similarly.
16710 * config/romp/romp.h: Similarly.
16711 * config/rs6000/rs6000.h: Similarly.
16712 * config/sh/sh.h: Similarly.
16713 * config/sparc/sparc.h: Similarly.
16714 * config/v850/v850.h: Similarly.
16715 * config/vax/vax.h: Similarly.
16716 * config/we32k/we32k.h: Similarly.
17b53c33 16717
b41df7f6
JM
167182001-07-09 Joseph S. Myers <jsm28@cam.ac.uk>
16719
16720 * doc/c-tree.texi: Document representation of attributes.
16721
648c546a
JM
167222001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16723
16724 * doc/tm.texi: Update some places for the rename of target to
16725 targetm. Fix typo.
16726
12a68f1f
JM
167272001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16728
16729 * target.h (struct gcc_target): Add insert_attributes.
16730 * target-def.h (TARGET_INSERT_ATTRIBUTES): Define.
16731 (TARGET_INITIALIZER): Update.
16732 * tree.c, tree.h (default_insert_attributes): New function.
16733 Update comments on other default functions to refer to targetm,
16734 not target.
16735 * doc/tm.texi (INSERT_ATTRIBUTES): Update to document
16736 TARGET_INSERT_ATTRIBUTES.
16737 (SET_DEFAULT_DECL_ATTRIBUTES): Remove.
16738 * c-common.c (decl_attributes): Use targetm.insert_attributes.
16739 Don't use PRAGMA_INSERT_ATTRIBUTES.
16740 * Makefile.in (c-common.o): Depend on $(TARGET_H).
16741 * c-decl.c (start_decl, start_function): Don't call
16742 SET_DEFAULT_DECL_ATTRIBUTES.
16743 * config/c4x/c4x.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16744 * config/c4x/c4x-protos.h (c4x_set_default_attributes): Don't
16745 declare.
16746 * config/c4x/c4x.c (TARGET_INSERT_ATTRIBUTES): Define.
16747 (c4x_check_attribute): Avoid modifying attribute list itself.
16748 (c4x_set_default_attributes): Rename to c4x_insert_attributes.
16749 Make static.
16750 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Don't define.
16751 * config/sh/sh-protos.h (sh_pragma_insert_attributes): Don't
16752 declare.
16753 * config/sh/sh.c (TARGET_INSERT_ATTRIBUTES): Define.
16754 (sh_pragma_insert_attributes): Rename to sh_insert_attributes.
16755 Make static.
16756 * config/v850/v850.h (SET_DEFAULT_DECL_ATTRIBUTES): Don't define.
16757 * config/v850/v850-protos.h (v850_set_default_decl_attr): Don't
16758 declare.
16759 * config/v850/v850.c (TARGET_INSERT_ATTRIBUTES): Define.
16760 (v850_set_default_decl_attr): Rename to v850_insert_attributes.
16761 Adjust parameters. Make static.
16762
f7a4cec0
JM
167632001-07-08 Joseph S. Myers <jsm28@cam.ac.uk>
16764
16765 * c-common.c (decl_attributes): Only take a single attributes
16766 parameter.
16767 * c-common.h (decl_attributes): Update prototype.
16768 * c-decl.c (start_decl, start_function): Only take a single
16769 attributes parameter. Update calls to decl_attributes.
16770 (finish_struct, finish_enum): Update calls to decl_attributes.
16771 (push_parm_decl): Expect unified list of attributes. Update call
16772 to decl_attributes.
16773 * c-parse.in (fndef, initdcl, notype_initdcl, nested_function,
16774 notype_nested_function, component_declarator,
16775 component_notype_declarator, label): Update calls to
16776 decl_attributes.
16777 (absdcl_maybe_attribute, parm, firstparm, myparm): Unify attribute
16778 lists that are passed to push_parm_decl.
16779 * c-tree.h (start_function, start_decl): Update prototypes.
16780 * config/sh/sh-protos.h, config/sh/sh.c
16781 (sh_pragma_insert_attributes): Only take a single attributes
16782 parameter.
16783 * config/sh/sh.h (PRAGMA_INSERT_ATTRIBUTES): Likewise.
16784 * doc/tm.texi (INSERT_ATTRIBUTES): Update.
16785 * objc/objc-act.c (define_decl, generate_objc_symtab_decl,
16786 build_module_descriptor, generate_static_references,
16787 generate_strings, build_selector_translation_table,
16788 generate_descriptor_table, generate_protocols,
16789 generate_ivars_list, generate_dispatch_table,
16790 generate_protocol_list, generate_category,
16791 generate_shared_structures, really_start_method, add_objc_decls,
16792 generate_classref_translation_entry): Update calls to start_decl
16793 and start_function.
16794 (build_tmp_function_decl, start_method_def): Unify attribute lists
16795 that are passed to push_parm_decl.
16796
b4c25db2
NB
167972001-07-08 Neil Booth <neil@daikokuya.demon.co.uk>
16798
16799 * final.c (no_asm_to_stream): New.
16800 (final_scan_insn): Use target structures for prologue ends
16801 and epilogue starts.
16802 * output.h (no_asm_to_stream): New.
16803 * target-def.h (TARGET_ASM_FUNCTION_END_PROLOGUE,
16804 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): New.
16805 (TARGET_ASM_OUT): Update.
16806 * target.h (struct gcc_target): New members function_end_prologue
16807 and function_begin_epilogue.
60a97cd4
RK
16808 * config/1750/1750.h (ASM_OUTPUT_FUNNAM): Delete as unused.
16809 * config/alpha/alpha-protos.h (output_end_prologue): Delete.
16810 * config/alpha/alpha.c (output_end_prologue): Rename to
b4c25db2
NB
16811 alpha_output_function_end_prologue. Use in target struct
16812 and make static.
60a97cd4
RK
16813 * config/alpha/alpha.h (FUNCTION_END_PROLOGUE): Delete.
16814 * config/ia64/ia64-protos.h (ia64_output_end_prologue): Delete.
16815 * config/ia64/ia64.c (ia64_output_end_prologue): Rename to
b4c25db2
NB
16816 ia64_output_function_end_prologue. Use in target struct
16817 and make static.
16818 (ia64_function_prologue, ia64_funciton_epilogue): Rename
16819 mistyped prototypes.
60a97cd4
RK
16820 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Delete.
16821 * config/m88k/m88k-protos.h (m88k_end_prologue, m88k_begin_epilogue):
16822 Delete.
16823 * config/m88k/m88k.c (m88k_end_prologue, m88k_begin_epilogue): Rename
b4c25db2 16824 an use in target struct, make static.
60a97cd4
RK
16825 * config/ia64/ia64.h (FUNCTION_END_PROLOGUE, FUNCTION_BEGIN_EPILOGUE):
16826 Delete.
b4c25db2 16827
45c8268d
RH
168282001-07-08 Richard Henderson <rth@redhat.com>
16829
16830 * stmt.c (emit_case_nodes): Convert modes properly in low+high test.
16831
d5d6a58b
RH
168322001-07-08 Richard Henderson <rth@redhat.com>
16833
16834 * config/i386/i386.md: Remove constraints strings from define_split
16835 and define_peephole2 patterns.
16836 (eh_return_si, eh_return_di): Split eh_return_1 for modes.
16837 (eh_return): Use them.
16838
7c16328b
RH
168392001-07-08 Richard Henderson <rth@redhat.com>
16840
16841 * doc/tm.texi (Exception Handling): New subnode of Stack and Calling.
16842 Document MD_FALLBACK_FRAME_STATE_FOR.
16843
8dd5d49d
SC
168442001-07-07 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16845
16846 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset):
16847 Take into account m68hc11_sp_correction for FRAME_POINTER_REGNUM
16848 elimination.
16849 * config/m68hc11/m68hc11.h (STARTING_FRAME_OFFSET): Use 0.
16850
13daf3c1
NC
168512001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
16852
16853 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Append # to end
16854 of the label inside NAME as opposed to just the end of NAME.
16855
8289c43b
NB
168562001-07-07 Neil Booth <neil@daikokuya.demon.co.uk>
16857
16858 * config/alpha/alpha-protos.h (vms_valid_decl_attribute_p): Delete.
16859 * config/alpha/alpha.c (alpha_init_machine_status,
16860 alpha_mark_machine_status, alpha_free_machine_status): Delete.
16861 (TARGET_VALID_DECL_ATTRIBUTE): Define for VMS.
16862 (vms_valid_decl_attribute_p): Make static, conditionally compile.
16863 * config/alpha/alpha.h (VALID_MACHINE_DECL_ATTRIBUTE): Delete.
16864
f6897b10
SS
168652001-07-06 Stan Shebs <shebs@apple.com>
16866
16867 * target.h (targetm): Rename global from "target", so as not to
16868 conflict with local variables.
16869 * c-decl.c: Ditto.
16870 * c-typeck.c: Ditto.
16871 * final.c: Ditto.
16872 * tree.c: Ditto.
16873 * cp/decl.c: Ditto.
16874 * cp/decl2.c: Ditto.
16875 * cp/typeck.c: Ditto.
16876 * 1750a/1750a.c: Ditto.
16877 * a29k/a29k.c: Ditto.
16878 * arc/arc.c: Ditto.
16879 * arm/arm.c: Ditto.
16880 * avr/avr.c: Ditto.
16881 * clipper/clipper.c: Ditto.
16882 * convex/convex.c: Ditto.
16883 * d30v/d30v.c: Ditto.
16884 * dsp16xx/dsp16xx.c: Ditto.
16885 * elxsi/elxsi.c: Ditto.
16886 * fr30/fr30.c: Ditto.
16887 * h8300/h8300.c: Ditto.
16888 * i370/i370.c: Ditto.
16889 * i386/i386.c: Ditto.
16890 * i860/i860.c: Ditto.
16891 * i960/i960.c: Ditto.
16892 * ia64/ia64.c: Ditto.
16893 * m32r/m32r.c: Ditto.
16894 * m68hc11/m68hc11.c: Ditto.
16895 * m68k/m68k.c: Ditto.
16896 * m88k/m88k.c: Ditto.
16897 * mips/mips.c: Ditto.
16898 * ns32k/ns32k.c: Ditto.
16899 * pa/pa.c: Ditto.
16900 * pdp11/pdp11.c: Ditto.
16901 * romp/romp.c: Ditto.
16902 * rs6000/rs6000.c: Ditto.
16903 * sh/sh.c: Ditto.
16904 * sparc/sparc.c: Ditto.
16905 * vax/vax.c: Ditto.
16906 * we32k/we32k.c: Ditto.
16907 * doc/tm.texi: Update the manual to match.
16908
84fc8b47
RH
169092001-07-06 Richard Henderson <rth@redhat.com>
16910
16911 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Examine the value of
16912 DWARF2_UNWIND_INFO not just whether it is defined.
16913
4531c1c7
DN
169142001-07-06 Diego Novillo <dnovillo@redhat.com>
16915
16916 * combine.c (combine_simplify_rtx): Also recompute 'mode' if the
16917 call to simplify_binary_operation returns a new pattern.
16918
39bd2948
RL
169192001-07-06 Roman Lechtchinsky <rl@cs.tu-berlin.de>
16920
16921 * glimits.h (__SHRT_MAX__): New.
16922 (SHRT_MIN, USHRT_MAX): Define in terms of SHRT_MAX.
16923 (SHRT_MAX): Define in terms of __SHRT_MAX__.
16924
8fa2140d
JM
169252001-07-06 Jan van Male <jan.vanmale@fenk.wau.nl>
16926
16927 * alias.c (base_alias_check): Cast GET_MODE_UNIT_SIZE to int to
16928 avoid warnings.
16929
87e08c69
RH
169302001-07-06 Richard Henderson <rth@redhat.com>
16931
16932 * bitmap.c (bitmap_release_memory): Move adjacent to the
16933 allocation functions.
16934 (bitmap_first_set_bit, bitmap_last_set_bit): Streamline knowing
16935 the implementation. Binary search for the set bit.
16936 (bitmap_union_of_diff): Allocate the temporary on the stack
16937 instead of using xmalloc.
16938
0dab343a
RH
169392001-07-06 Richard Henderson <rth@redhat.com>
16940
16941 * genrecog.c (validate_pattern): Warn for constraints in
16942 define_{expand,split,peephole2}. Remove strict_low_part
16943 before looking up match_dup.
16944
15c0d35d
DD
169452001-07-06 DJ Delorie <dj@redhat.com>
16946
16947 * doc/gcc.texi (Makefile): Rename to be a more general purpose
16948 chapter about various build hints and history. Add section
16949 talking about the various types of native and cross builds.
16950
00478a05
NB
169512001-07-06 Neil Booth <neil@daikokuya.demon.co.uk>
16952
16953 * Makefile.in (final.o): Depend on target.h.
16954 * final.c: Include target.h.
16955 (default_function_pro_epilogue): New.
16956 (final_start_function): Use target structure for function prologues.
16957 (final_end_function): Use target structure for function epilogues.
16958 * fold-const.c (real_hex_to_f): Constify s and p.
16959 * output.h (default_function_pro_epilogue): New.
16960 * real.h (real_hex_to_f): Update prototype.
16961 * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE,
16962 TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New.
16963 (TARGET_INITIALIZER): Update.
16964 * target.h (gcc_target): Add struct asm_out.
16965 * doc/tm.texi: Update.
16966
16967config:
16968 Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and
16969 TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions
16970 in cpu/cpu.c, or rename old functions consistently. Take
16971 a HOST_WIDE INT not an int as the SIZE parameter. Remove now
16972 redundant macros and prototypes. Make new functions static.
16973
16974 * 1750a/1750a.c: Similarly.
16975 * 1750a/1750a.h: Similarly.
16976 * a29k/a29k-protos.h: Similarly.
16977 * a29k/a29k.c: Similarly.
16978 * a29k/a29k.h: Similarly.
16979 * arc/arc-protos.h: Similarly.
16980 * arc/arc.c: Similarly.
16981 * arc/arc.h: Similarly.
16982 * arm/arm-protos.h: Similarly.
16983 * arm/arm.c: Similarly.
16984 * arm/arm.h: Similarly.
16985 * avr/avr-protos.h: Similarly.
16986 * avr/avr.c: Similarly.
16987 * avr/avr.h: Similarly.
16988 * clipper/clipper-protos.h: Similarly.
16989 * clipper/clipper.c: Similarly.
16990 * clipper/clipper.h: Similarly.
16991 * convex/convex.c: Similarly.
16992 * convex/convex.h: Similarly.
16993 * d30v/d30v-protos.h: Similarly.
16994 * d30v/d30v.c: Similarly.
16995 * d30v/d30v.h: Similarly.
16996 * d30v/d30v.md: Similarly.
16997 * dsp16xx/dsp16xx-protos.h: Similarly.
16998 * dsp16xx/dsp16xx.c: Similarly.
16999 * dsp16xx/dsp16xx.h: Similarly.
17000 * elxsi/elxsi.c: Similarly.
17001 * elxsi/elxsi.h: Similarly.
17002 * fr30/fr30.c: Similarly.
17003 * fr30/fr30.md: Similarly.
17004 * h8300/h8300-protos.h: Similarly.
17005 * h8300/h8300.c: Similarly.
17006 * h8300/h8300.h: Similarly.
17007 * i370/i370-protos.h: Similarly.
17008 * i370/i370.c: Similarly.
17009 * i370/i370.h: Similarly.
17010 * i386/i386.c: Similarly.
17011 * i386/osf1elf.h: Similarly.
17012 * i386/osfrose.h: Similarly.
17013 * i860/i860-protos.h: Similarly.
17014 * i860/i860.c: Similarly.
17015 * i860/i860.h: Similarly.
17016 * i960/i960-protos.h: Similarly.
17017 * i960/i960.c: Similarly.
17018 * i960/i960.h: Similarly.
17019 * ia64/ia64-protos.h: Similarly.
17020 * ia64/ia64.c: Similarly.
17021 * ia64/ia64.h: Similarly.
17022 * m32r/m32r-protos.h: Similarly.
17023 * m32r/m32r.c: Similarly.
17024 * m32r/m32r.h: Similarly.
17025 * m68hc11/m68hc11-protos.h: Similarly.
17026 * m68hc11/m68hc11.c: Similarly.
17027 * m68hc11/m68hc11.h: Similarly.
17028 * m68k/crds.h: Similarly.
17029 * m68k/dpx2.h: Similarly.
17030 * m68k/m68k-protos.h: Similarly.
17031 * m68k/m68k.c: Similarly.
17032 * m68k/m68k.h: Similarly.
17033 * m68k/news.h: Similarly.
17034 * m88k/m88k-protos.h: Similarly.
17035 * m88k/m88k.c: Similarly.
17036 * m88k/m88k.h: Similarly.
17037 * mips/mips-protos.h: Similarly.
17038 * mips/mips.c: Similarly.
17039 * mips/mips.h: Similarly.
17040 * ns32k/merlin.h: Similarly.
17041 * ns32k/ns32k.c: Similarly.
17042 * ns32k/ns32k.h: Similarly.
17043 * ns32k/tek6000.h: Similarly.
17044 * pa/pa-protos.h: Similarly.
17045 * pa/pa.c: Similarly.
17046 * pa/pa.h: Similarly.
17047 * pdp11/2bsd.h: Similarly.
17048 * pdp11/pdp11-protos.h: Similarly.
17049 * pdp11/pdp11.c: Similarly.
17050 * pdp11/pdp11.h: Similarly.
17051 * romp/romp-protos.h: Similarly.
17052 * romp/romp.c: Similarly.
17053 * romp/romp.h: Similarly.
17054 * rs6000/rs6000-protos.h: Similarly.
17055 * rs6000/rs6000.c: Similarly.
17056 * rs6000/rs6000.h: Similarly.
17057 * rs6000/sysv4.h: Similarly.
17058 * sh/sh-protos.h: Similarly.
17059 * sh/sh.c: Similarly.
17060 * sh/sh.h: Similarly.
17061 * sparc/sparc-protos.h: Similarly.
17062 * sparc/sparc.c: Similarly.
17063 * sparc/sparc.h: Similarly.
17064 * vax/vax.c: Similarly.
17065 * vax/vax.h: Similarly.
17066 * vax/vms.h: Similarly.
17067 * we32k/we32k.c: Similarly.
17068 * we32k/we32k.h: Similarly.
17069
b62c8881
JL
17070Fri Jul 6 11:47:59 2001 Jeffrey A Law (law@cygnus.com)
17071
17072 * basic-block.h (first_insn_after_basic_block_note): Declare.
17073 * flow.c (first_insn_after_basic_block_note): Define. Moved
17074 from...
17075 * ssa.c (first_insn_after_basic_block_note): Remove.
17076 * ssa-dce.c (find_inherently_necessary): Consider BARRIERs
17077 necessary.
17078 (ssa_eliminate_dead_code): Properly update the CFG and PHI
17079 nodes when we find a dead conditional branch. Insert BARRIERs
17080 after any blocks with no successors, but which do not have
17081 any BARRIERs.
17082
9d99ca5b
ZW
170832001-07-06 Zack Weinberg <zackw@stanford.edu>
17084
17085 * varray.c (varray_check_failed): Use internal_error.
17086
fc6aa0a9
AH
170872001-07-05 Andrew Haley <aph@redhat.com>
17088
17089 * Makefile.in (LIB2_DIVMOD_FUNCS): New.
17090 (LIB2FUNCS): Move divmod functions to LIB2_DIVMOD_FUNCS.
17091 * mklibgcc.in: Compile LIB2_DIVMOD_FUNCS.
17092
6331d1c1
JM
170932001-07-02 Jason Merrill <jason_merrill@redhat.com>
17094
17095 * dwarf2out.c (mem_loc_descriptor): Only look through a constant pool
17096 reference if the target constant is also a SYMBOL_REF.
17097
7dac2f89
EC
170982001-07-05 Eric Christopher <echristo@redhat.com>
17099
6331d1c1
JM
17100 * config/mips/mips.h (MASK_MIPS3900): Remove.
17101 (MASK_MIPS16,MASK_NO_CHECK_ZERO_DIV,MASK_CHECK_RANGE_DIV,
17102 MASK_UNINIT_CONST_IN_RODATA): Change for 3900 mask removal.
17103 (TARGET_MIPS3900): Change to use mips_arch.
17104 (TARGET_MIPS4000): New.
17105 (TARGET_MIPS4100): New.
17106 (TARGET_MIPS4300): New.
17107 (TARGET_SWITCHES): Change 3900 and 4650 options to NULL.
17108 (SUBTARGET_TARGET_OPTIONS): Add -march. Change help text
17109 for -mipsX.
17110 (GENERATE_BRANCHLIKELY): Move TARGET_MIPS3900.
17111 (ISA_HAS_BRANCHLIKELY): To here.
17112 (CC1_CPU_SPEC): New.
17113 (CC1_SPEC): Use here. Remove 4650 and 3900 options.
17114 (mips_arch_string): Declare.
17115 (mips_arch): Declare.
17116 (TARGET_OPTIONS): Add -march and -mtune.
17117
17118 * config/mips/mips.c (mips_arch_string): New.
17119 (mips_arch): New.
17120 (override_options): Handle -march for codegen and -mtune
17121 for scheduling. Use mips_arch. Move tx39 target default here.
17122 (mips_parse_cpu): Move error message to override_options.
17123
17124 * config/mips/r3900.h (TARGET_DEFAULT): Remove.
17125
17126 * config/mips/mips.md: Use TARGET_MIPS4000 and TARGET_MIPS4300.
17127
17128 * doc/invoke.texi (Option Summary): Add -march and -mtune entries.
17129 (MIPS Options): Ditto. Change mcpu entry to historical text.
7dac2f89
EC
17130
171312001-07-05 H.J. Lu (hjl@gnu.org)
17132
4e2db584
RH
17133 * config/mips/mips.c (mips_parse_cpu): New function to parse
17134 -march=*/-mcpu=*.
7dac2f89 17135
a2497896
JW
171362001-07-05 Jim Wilson <wilson@redhat.com>
17137
17138 * config/ia64/lib1funcs.asm: Revert 2001-07-02 change.
17139 * config/ia64/t-ia64: Likewise.
17140 (LIB1ASMFUNCS): Update comment.
17141
9da6e781
DE
171422001-07-05 David Edelsohn <edelsohn@gnu.org>
17143
17144 * doc/install.texi (Install GCC: Binaries): Fix typo.
17145
43a72755
SC
171462001-07-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17147
7dac2f89
EC
17148 * config/m68hc11/m68hc11.md ("*ashlsi3"): Operand 1 can be a memory
17149 reference using the stack pointer, adjust it since we push Y
43a72755
SC
17150 temporarily.
17151 ("*ashrsi3"): Likewise.
17152 ("*lshrsi3"): Likewise.
17153
35f0a736
SC
171542001-07-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17155
17156 * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Fix return address
17157 when -fomit-frame-pointer is used.
17158
35428bb9
JO
171592001-07-05 Jeffrey Oldham <oldham@codesourcery.com>
17160
17161 * flow.c: Reverse Jan Hubicka's patch of 02July2001.
17162 (try_redirect_by_replacing_jump): Reverse updating properly the
17163 count and frequency information. Reverse removing cc0 setter.
17164 (forwarder_block_p): Reverse fixing for fallthru blocks.
17165
0259b07a
DD
171662001-07-05 DJ Delorie <dj@redhat.com>
17167
17168 * gcc.c (TARGET_OPTION_TRANSLATE_TABLE): New.
17169 (translate_options): If the above is defined, use it to map
17170 given options to new options.
17171 * doc/tm.texi: Document it.
17172
081ca317
BL
171732001-07-05 Brad Lucier <lucier@math.purdue.edu>
17174 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17175
17176 * doc/invoke.texi (Optimize Options): Document that -fgcse may
17177 cause programs using computed gotos to run more slowly.
17178
021c4bfd
RO
171792001-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17180
17181 * doc/install.texi (Specific): Markup, spelling and typo fixes.
17182 Fixed sorting.
17183 Consistently require binutils 2.11.2, not prereleases.
17184 (Specific, decstation-*): Canonicalize as mips-dec-*.
17185 (Specific, i?86-*-sco3.2v5*): Remove make bootstrap requirement,
17186 always necessary.
17187 (Specific, m68k-altos): Removed reference to README.altos, deleted.
17188 (Specific, mips-*): Reword MIPS C compiler requirements.
17189 (Specific, powerpc*-*-*): New, mention --with-cpu once.
17190 (Specific, sunv5): Removed, obsolete.
17191
aafdcfcd
NS
171922001-07-05 Nathan Sidwell <nathan@codesourcery.com>
17193
17194 * dwarf2out.c (output_loc_list): Use an all ones mask for
17195 .text asm output and don't rely on long long
17196 literals. Reformat some long lines.
17197
6c7f693e
AJ
171982001-07-05 Andreas Jaeger <aj@suse.de>
17199
17200 * doc/gcc.texi (GNU/Linux): Remove accidental re-add of GPL
17201 section.
17202
cc260610
DB
172032001-07-04 Daniel Berlin <dan@cgsoftware.com>
17204
17205 * dwarf2out.c (dwarf2out_define): Update comment.
17206 (dwarf2out_undef): Ditto.
17207 (dwarf2out_start_source_file): Ditto.
17208 (dwarf2out_end_source_file): Ditto.
17209 (dwarf2out_finish): Output DW_MACINFO_end_file for primary file,
17210 since we never call the start/end debug hook for the primary file.
17211
cc32b876
KH
172122001-07-04 Kazu Hirata <kazu@hxi.com>
17213
17214 * config/h8300/h8300.c (get_shift_alg): Remove an extra operand
17215 from shll.
17216
dbead49c
NS
172172001-07-04 Nathan Sidwell <nathan@codesourcery.com>
17218
17219 * cppinit.c (remove_dup_dirs): Inform if a system include
4e2db584 17220 directory is being reordered.
dbead49c
NS
17221 * doc/invoke.texi (Directory Options): GCC warns if you hide a
17222 system include.
17223 * doc/cpp.texi (Search Paths): Likewise.
17224 * doc/gcc.texi (Interoperation): Remove information about
17225 -I/usr/include.
17226
0cf97c8b
NS
172272001-07-04 Nathan Sidwell <nathan@codesourcery.com>
17228
17229 * varray.h (VARRAY_TOP_GENERIC_PTR): Remove spurious parameter.
17230 (VARRAY_TOP_CHAR_PTR): Likewise.
17231
bbed13b1
KG
172322001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17233
17234 * gcc.c (process_command): Don't assign elements of a const char*.
17235
2b1b6bf9
RK
17236Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17237
17238 * emit-rtl.c (change_address): Don't abort if invalid address while
17239 reload is in progress.
17240
84a5b4f8
DB
172412001-07-04 Daniel Berlin <dan@cgsoftware.com>
17242
17243 * c-lex.c (cb_file_change): Pass line number to
6c7f693e 17244 debug_start_source_file.
84a5b4f8
DB
17245 (cb_undefine): Pass correct line number to debug_undef.
17246
17247 * toplev.c (debug_start_source_file): Add line number to
17248 parameters. Pass it along to dwarf2out_start_source_file.
17249 (decode_g_option): Stop resetting debug level back to normal when
17250 we change debug formats, unless the current level is
17251 none. (Before, -g3 -gdwarf-2 would use debug level 2, rather than
17252 3).
6c7f693e 17253
84a5b4f8
DB
17254 * toplev.h (debug_start_source_file): Add line number to
17255 parameters.
6c7f693e 17256
2b1b6bf9
RK
17257 * dwarf2out.h (dwarf2out_start_source_file): Add line number to
17258 parameters.
84a5b4f8
DB
17259
17260 * dwarf2out.c (dwarf2out_start_source_file): Add line number to
17261 parameters.
6c7f693e 17262 Output debug_macinfo data for starting file if requested.
84a5b4f8
DB
17263 (dwarf2out_end_source_file): Output debug_macinfo data for ending
17264 file if requested.
2b1b6bf9
RK
17265 (dwarf2out_define): Output debug_macinfo data for defining a macro
17266 if requested.
84a5b4f8
DB
17267 (dwarf2out_undef): Output debug_macinfo data for undefining a
17268 macro if requested.
17269 (DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
17270 (DEBUG_MACINFO_SECTION_LABEL): New. DWARF2 macro info section label.
17271 (macinfo_section_label): New. DWARF2 macro info section label.
17272 (dwarf2out_init): If we want macro info, output the start label
17273 for the section.
17274 (dwarf2out_finish): If we want macro info, add a DW_AT_macro_info
17275 attribute to the compilation unit die pointing to the macro info.
17276
172772001-07-04 Daniel Berlin <dan@cgsoftware.com>
17278
17279 * dwarf2out.c (new_loc_list): Move to inside #ifdef
17280 DWARF2_DEBUGGING_INFO.
17281 (add_loc_descr_to_loc_list): Ditto.
17282 (output_loc_list): Ditto.
17283 Also, fix thinko in curr not being initialized.
17284 (gen_internal_sym): Ditto.
6c7f693e 17285
792760b9
RK
17286Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17287
17288 * emit-rtl.c (replace_equiv_address): New function.
17289 * expr.h (replace_equiv_address): New declaration.
17290 * explow.c (validize_mem): Call it instead of change_address and
17291 also call if -fforce-addr and address is constant.
17292 * expr.c: Replace more calls to change_address with adjust_address
17293 and/or replace_equiv_address or to validize_mem.
17294 * function.c, regmove.c, config/alpha/alpha.c: Likewise.
17295 * config/arm/arm.md, config/clipper/clipper.md: Likewise.
17296 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
17297 * config/i370/i370.md, config/i860/i860.md: Likewise.
17298 * config/i960/i960.md, config/mips/mips.c: Likewise.
17299 * config/mips/mips.md, config/pa/pa.md: Likewise.
17300 * config/pdp11/pdp11.md, config/rs6000/rs6000.c: Likewise.
17301 * config/rs6000/rs6000.md, config/sh/sh.md: Likewise.
17302
266aae9b
KG
173032001-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17304
17305 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.
17306
17307 * bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a
17308 function.
17309
0671eaf6
JM
173102001-07-04 Joseph S. Myers <jsm28@cam.ac.uk>
17311
17312 * doc/include: New directory.
17313 * doc/fdl.texi: Move to doc/include/fdl.texi.
17314 * doc/texinfo.tex: Move to doc/include/texinfo.tex.
17315 * doc/include/funding.texi, doc/include/gpl.texi: New files.
17316 * doc/gcc.texi: Use funding.texi and gpl.texi.
17317 * Makefile.in ($(docdir)/cpp.info, $(docdir)/gcc.info,
17318 $(docdir)/cppinternals.info, cpp.dvi. gcc.dvi. cppinternals.dvi):
17319 Update dependencies and use -I $(docdir)/include.
17320
77b6797a
AG
173212001-07-04 Anthony Green <green@redhat.com>
17322
17323 * config/v850/t-v850 (v850-c.o): Add missing dependencies.
17324
e9d21442
GP
173252001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17326
17327 * doc/install.texi (sparc64-*-*): Remove garbage.
17328
d2037d01
JM
17329Wed Jul 4 09:07:44 2001 Jan van Male <jan.vanmale@fenk.wau.nl>
17330
17331 * i386.c (ix86_expand_builtin, case IX86_BUILTIN_SETPS):
17332 Fix typo in last change to use adjust_address.
17333
37324a54
GP
173342001-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17335
17336 * doc/install.texi (Specific): Update information for *-*-solaris*.
17337
17ab7c59
RK
17338Tue Jul 3 22:33:15 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17339
17340 * explow.c (plus_constant_wide): Reinitialize Y for restart.
17341
70fb5453
SS
173422001-07-03 Stan Shebs <shebs@apple.com>
17343
0cf97c8b 17344 * config/darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
70fb5453
SS
17345 case for flag_no_mach_text_sections.
17346 (EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
0cf97c8b
NS
17347 * config/darwin.c (flag_no_mach_text_sections): Remove.
17348 * config/darwin-protos.h (darwin_init_pragma): Remove decl.
70fb5453 17349
b72f00af
RK
17350Tue Jul 3 15:35:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17351
17352 * explow.c (plus_constant_wide, case PLUS): Call find_constant_term
17353 and avoid checking for constant as first operand.
17354 * recog.c (find_constant_term_loc): No longer static.
17355 (adj_offettable_operand): Delete.
17356 * rtl.h (adj_offsettable_operand): Delete declaration.
17357 (find_constant_term): Add declaration.
17358 * caller-save.c: Replace calls to adj_offsettable_operand with calls
17359 to adjust_address.
17360 * config/arm/arm.c, config/c4x/c4x.c: Likewise.
17361 * config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
17362 * config/i386/i386.c, config/i386/i386.md: Likewise.
17363 * config/i860/i860.c, config/i960/i960.c: Likewise.
17364 * config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
17365 * config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
17366 * config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
17367 * config/mips/mips.c, config/mips/mips.md: Likewise.
17368 * config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
17369 * config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
17370 * config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
17371 * config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
17372 * config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
17373 * config/ns32k/ns32k.md: Likewise.
17374
3b324340
ZW
173752001-07-03 Zack Weinberg <zackw@stanford.edu>
17376
17377 * rtl.c (copy_rtx): Handle 'T' format letter.
17378 * gensupport.c (collect_insn_data): Likewise.
17379 * print-rtl.c (print_rtx): Print 'T' slots like 's'.
17380
bf4eebe0
NC
173812001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
17382
17383 * doc/invoke.texi (Directory Options): Specifiy range for <N> in
17384 -B option. Use 'dir' not 'foo' as example directory name.
17385
c1911346
RO
173862001-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17387
17388 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
17389 Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
17390
f89dec57
JM
173912001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
17392
17393 * doc/cppinternals.texi: Improve formatting and logical markup.
17394
5b7c7046
AJ
173952001-07-03 Andreas Jaeger <aj@suse.de>
17396
17397 * Makefile.in (insn-recog.o): Add dependency on reload.h.
17398
17399 * genrecog.c (write_header): Include reload.h for prototypes in
17400 insn-recog.c.
17401
f5f4be42
NB
174022001-07-03 Neil Booth <neil@daikokuya.demon.co.uk>
17403
17404config:
17405 * i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
17406 VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
17407 * i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
17408 i386_pe_valid_type_attribute_p): Add.
17409 * i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
17410 * i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
17411
ed8908e7
RK
17412Mon Jul 2 21:52:19 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17413
17414 * explow.c (plus_constant_wide, case LO_SUM): New case.
17415 (plus_constant_for_output_wide): Delete.
17416 * rtl.h (plus_constant_for_output): Delete.
17417 * alias.c (canon_rtx, init_alias_analysis): Call plus_constant
17418 instead of plus_constant_for_output.
17419 * recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
17420 * config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
17421 * config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
17422 * config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
17423 * config/sparc/sparc.md: Likewise.
17424 Convert some change_address calls to adjust_address.
17425
aee96fe9
JM
174262001-07-03 Joseph S. Myers <jsm28@cam.ac.uk>
17427
17428 * doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
17429 doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
17430 documentation of -std and -Wwrite-strings.
17431
8bf4dfc2
GK
174322001-07-02 Geoffrey Keating <geoffk@redhat.com>
17433
17434 * cse.c (canon_hash): Don't register registers in very small
17435 register classes, as extending their lifetime might cause
17436 reload to fail.
17437
f8d1529b
JH
17438Mon Jul 2 23:14:00 CEST 2001 Jan Hubicka <jh@suse.cz>
17439
17440 * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
17441
17442 * flow.c (forwarder_block_p): Fix for fallthru blocks.
17443 (try_redirect_by_replacing_jump): Update properly the count
17444 and frequency information.
17445
0826f1d8
JL
17446Mon Jul 2 14:20:13 2001 Jeffrey A Law (law@cygnus.com)
17447
17448 * toplev.c (dump_file_index): Move SSA dumps just after first
17449 jump dump.
17450 (dump_file): Corresponding changes.
17451 (rest_of_compilation): Move SSA path to just after the first
17452 jump pass.
17453 * doc/gcc.texi (Passes): Update due to movement of SSA path.
17454 * doc/invoke.texi: Update dump file #s as they were completely
17455 out of date with reality.
17456
918a6124
GK
174572001-07-02 Geoffrey Keating <geoffk@redhat.com>
17458
17459 * doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
17460
17461 * expr.c (emit_move_insn_1): Deal with non-default
17462 STACK_PUSH_CODE.
17463
17464 * expr.c (emit_single_push_insn): Fix warning.
17465
174662001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
17467
17468 * expr.c (emit_move_insn_1): Avoid modifying
17469 cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
17470
f4ef873c
RK
17471Mon Jul 2 15:33:31 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17472
17473 * emit-rtl.c (adjust_address): New function.
17474 * expr.h (adjust_address): Add declaration.
17475 * builtins.c: Replace some calls to change_address with calls to it
17476 or to validize_mem.
17477 * caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
17478 * function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
17479 * config/arm/arm.c, config/convex/convex.c: Likewise.
17480 * config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
17481 * config/i386/i386.c, config/i386/i386.md: Likewise.
17482 * config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
17483 * config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
17484 * config/m88k/m88k.c, config/mips/mips.md: Likewise.
17485 * config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
17486 * config/sh/sh.c, config/sparc/sparc.md: Likewise.
17487
becbcf96
JW
174882001-07-02 Jim Wilson <wilson@redhat.com>
17489
17490 * config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
17491
174922001-07-02 Steve Ellcey <sje@cup.hp.com>
17493
4e2db584
RH
17494 * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
17495 * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
becbcf96 17496
a01eb545
ZW
174972001-07-02 Zack Weinberg <zackw@stanford.edu>
17498
17499 * cppinit.c (lang_defaults): New table.
17500 (set_lang): Just read from lang_defaults into the live options
17501 structure.
17502
51817b10
ZW
175032001-07-02 Zack Weinberg <zackw@stanford.edu>
17504
17505 * Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
17506 * doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
17507 * doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
17508
eea81d3e
RO
175092001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17510
17511 * doc/install.texi: Various spelling and markup fixes.
17512 (Installing GCC): Component specific installation instructions are
17513 gone.
17514 Fix reference.
17515 Warn about removing old install dir in the presence of shared libs.
17516 (Configuration): Invoke with options target to match configure
17517 --help.
17518 Consistently refer to gas, gld pathnames.
17519 Invert --enable-multilib documentation.
17520 Remove references to old compiler versions.
17521
faf041ed
RK
17522Mon Jul 2 12:50:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17523
17524 * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
17525
213ba345
RO
175262001-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17527
17528 * doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
17529 section.
17530 (Specific, mips*-sgi-irix5): Note IDO download.
17531 Reworded MIPS C hints.
17532 Use GNU as instead of GAS.
17533 Markup fixes.
17534 Removed SGI Freeware reference, IRIX 6 only.
17535 (Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
17536 Note N64 library requirement/workaround.
17537 Update O32 hints.
17538 Complete list of structure passing bug victims.
17539
b9063b3d
GP
175402001-07-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17541
17542 * doc/install.texi: Remove CVS Id.
17543
766890e1
AJ
175442001-07-02 Andreas Jaeger <aj@suse.de>
17545
17546 * ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
17547 (find_inherently_necessary): Remove unused variable.
17548
6be77748
NS
175492001-07-02 Nathan Sidwell <nathan@codesourcery.com>
17550
17551 * c-common.h (TDI_inlined): New ast dump phase.
17552 (dump_flag_name): New function.
17553 * c-dump.c (dump_files): Add inlined phase.
17554 (dump_flag_name): Define.
17555 * doc/invoke.texi (-fdump-ast-inlined): Document.
17556
3aa12a58
RK
17557Mon Jul 2 06:29:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17558
17559 * stor-layout.c (layout_decl): Revert change to handling of alignment
17560 in packed types.
17561
21266f81
RK
17562Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17563
17564 * c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
17565 for FIELD_DECL.
17566
1cc5e432
GK
175672001-07-01 Geoffrey Keating <geoffk@redhat.com>
17568
17569 * doc/tm.texi (FUNCTION_ARG): Document that the last call
17570 is special.
17571
3746c4a2
NS
175722001-07-01 Nathan Sidwell <nathan@codesourcery.com>
17573
17574 * tlink.c (recompile_files): Remove COMPILER_PATH and
17575 LIBRARY_PATH from the environment.
17576
b8363a24
ZW
175772001-07-01 Zack Weinberg <zackw@stanford.edu>
17578
17579 * c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
17580 RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
17581 enumerators.
17582 (OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
17583
17584 * c-parse.in (OBJC_STRING): Kill.
17585 (objc_string): Decompose to [objc_string] '@' STRING.
17586 (reswords): Take the leading '@' off all the Objective C keywords.
17587 (objc_rid_sans_at): Kill.
17588 (init_reswords): Don't initialize it.
17589 (yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
17590 (_yylex): Kill reconsider label. Look ahead one token after
17591 an '@'; if we get an identifier, check whether it's an
17592 Objective C @-keyword. If so, return the keyword. Otherwise,
17593 put back the token and return the '@' as a terminal.
17594
17595 * cpplib.c (lex_macro_node): Remove unnecessary check for
17596 leading '@' on identifier. Clarify control flow and commentary.
17597
be8ac49a
RK
17598Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17599
17600 * cse.c (new_label_ref): Variable deleted.
17601 (insert): Remove set of new_label_ref.
17602 (check_for_label_ref): New function.
17603 (cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
17604
528aeb48 17605See ChangeLog.5 for earlier changes.
This page took 2.197427 seconds and 5 git commands to generate.